squarefi-bff-api-module 1.36.23 → 1.36.24

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.
@@ -611,26 +611,6 @@ export interface paths {
611
611
  patch?: never;
612
612
  trace?: never;
613
613
  };
614
- "/exchange/rates": {
615
- parameters: {
616
- query?: never;
617
- header?: never;
618
- path?: never;
619
- cookie?: never;
620
- };
621
- /**
622
- * List of exchange rates from fiat to crypto
623
- * @deprecated
624
- */
625
- get: operations["ExchangeRatesController_findAll"];
626
- put?: never;
627
- post?: never;
628
- delete?: never;
629
- options?: never;
630
- head?: never;
631
- patch?: never;
632
- trace?: never;
633
- };
634
614
  "/kyc/init/{wallet_id}/{type}": {
635
615
  parameters: {
636
616
  query?: never;
@@ -663,22 +643,6 @@ export interface paths {
663
643
  patch?: never;
664
644
  trace?: never;
665
645
  };
666
- "/kyc/forms/{rail_id}": {
667
- parameters: {
668
- query?: never;
669
- header?: never;
670
- path?: never;
671
- cookie?: never;
672
- };
673
- get: operations["KycFormsController_getFormConfigByType"];
674
- put?: never;
675
- post?: never;
676
- delete?: never;
677
- options?: never;
678
- head?: never;
679
- patch?: never;
680
- trace?: never;
681
- };
682
646
  "/kyc/{wallet_id}/entity": {
683
647
  parameters: {
684
648
  query?: never;
@@ -693,8 +657,7 @@ export interface paths {
693
657
  delete?: never;
694
658
  options?: never;
695
659
  head?: never;
696
- /** Update kyc entity data */
697
- patch: operations["KycEntitiesController_update"];
660
+ patch?: never;
698
661
  trace?: never;
699
662
  };
700
663
  "/kyc/{wallet_id}/rails": {
@@ -749,26 +712,6 @@ export interface paths {
749
712
  patch?: never;
750
713
  trace?: never;
751
714
  };
752
- "/countries": {
753
- parameters: {
754
- query?: never;
755
- header?: never;
756
- path?: never;
757
- cookie?: never;
758
- };
759
- /**
760
- * List of countries
761
- * @deprecated
762
- */
763
- get: operations["CountriesController_findAll"];
764
- put?: never;
765
- post?: never;
766
- delete?: never;
767
- options?: never;
768
- head?: never;
769
- patch?: never;
770
- trace?: never;
771
- };
772
715
  "/persona/inquiries/init/{wallet_id}/{type}": {
773
716
  parameters: {
774
717
  query?: never;
@@ -778,6 +721,10 @@ export interface paths {
778
721
  };
779
722
  get?: never;
780
723
  put?: never;
724
+ /**
725
+ * Deprecated. Use POST /kyc/init/{wallet_id}/{type} instead
726
+ * @deprecated
727
+ */
781
728
  post: operations["PersonaController_initInquiry"];
782
729
  delete?: never;
783
730
  options?: never;
@@ -794,6 +741,10 @@ export interface paths {
794
741
  };
795
742
  get?: never;
796
743
  put?: never;
744
+ /**
745
+ * Deprecated. Use POST /kyc/resume/{wallet_id}/{verification_ref} instead
746
+ * @deprecated
747
+ */
797
748
  post: operations["PersonaController_resumeInquiry"];
798
749
  delete?: never;
799
750
  options?: never;
@@ -801,40 +752,6 @@ export interface paths {
801
752
  patch?: never;
802
753
  trace?: never;
803
754
  };
804
- "/kyc/integration-persona-templates": {
805
- parameters: {
806
- query?: never;
807
- header?: never;
808
- path?: never;
809
- cookie?: never;
810
- };
811
- /** Get KYC integration Persona templates */
812
- get: operations["IntegrationPersonaTemplateController_findAll"];
813
- put?: never;
814
- post?: never;
815
- delete?: never;
816
- options?: never;
817
- head?: never;
818
- patch?: never;
819
- trace?: never;
820
- };
821
- "/kyc/integration-sumsub-levels": {
822
- parameters: {
823
- query?: never;
824
- header?: never;
825
- path?: never;
826
- cookie?: never;
827
- };
828
- /** Get KYC integration Sumsub levels */
829
- get: operations["IntegrationSumsubLevelController_findAll"];
830
- put?: never;
831
- post?: never;
832
- delete?: never;
833
- options?: never;
834
- head?: never;
835
- patch?: never;
836
- trace?: never;
837
- };
838
755
  "/counterparties/{wallet_id}": {
839
756
  parameters: {
840
757
  query?: never;
@@ -1011,140 +928,6 @@ export interface paths {
1011
928
  patch?: never;
1012
929
  trace?: never;
1013
930
  };
1014
- "/persona-admin/{wallet_id}": {
1015
- parameters: {
1016
- query?: never;
1017
- header?: never;
1018
- path?: never;
1019
- cookie?: never;
1020
- };
1021
- get?: never;
1022
- put?: never;
1023
- post: operations["PersonaAdminController_syncKycEntityWithPersona"];
1024
- delete?: never;
1025
- options?: never;
1026
- head?: never;
1027
- patch?: never;
1028
- trace?: never;
1029
- };
1030
- "/persona-admin/{wallet_id}/init": {
1031
- parameters: {
1032
- query?: never;
1033
- header?: never;
1034
- path?: never;
1035
- cookie?: never;
1036
- };
1037
- get?: never;
1038
- put?: never;
1039
- post: operations["PersonaAdminController_initInquiry"];
1040
- delete?: never;
1041
- options?: never;
1042
- head?: never;
1043
- patch?: never;
1044
- trace?: never;
1045
- };
1046
- "/persona-admin/{wallet_id}/resume": {
1047
- parameters: {
1048
- query?: never;
1049
- header?: never;
1050
- path?: never;
1051
- cookie?: never;
1052
- };
1053
- get?: never;
1054
- put?: never;
1055
- post: operations["PersonaAdminController_resumeInquiry"];
1056
- delete?: never;
1057
- options?: never;
1058
- head?: never;
1059
- patch?: never;
1060
- trace?: never;
1061
- };
1062
- "/wallets/{wallet_id}/users": {
1063
- parameters: {
1064
- query?: never;
1065
- header?: never;
1066
- path?: never;
1067
- cookie?: never;
1068
- };
1069
- /** Get wallet users list */
1070
- get: operations["WalletsUsersController_all"];
1071
- put?: never;
1072
- post?: never;
1073
- delete?: never;
1074
- options?: never;
1075
- head?: never;
1076
- patch?: never;
1077
- trace?: never;
1078
- };
1079
- "/wallets/{wallet_id}/users/{user_data_id}": {
1080
- parameters: {
1081
- query?: never;
1082
- header?: never;
1083
- path?: never;
1084
- cookie?: never;
1085
- };
1086
- /** View wallet user */
1087
- get: operations["WalletsUsersController_view"];
1088
- put?: never;
1089
- post?: never;
1090
- /** Delete wallet user */
1091
- delete: operations["WalletsUsersController_remove"];
1092
- options?: never;
1093
- head?: never;
1094
- patch?: never;
1095
- trace?: never;
1096
- };
1097
- "/wallets/{wallet_id}/users/{user_data_id}/role": {
1098
- parameters: {
1099
- query?: never;
1100
- header?: never;
1101
- path?: never;
1102
- cookie?: never;
1103
- };
1104
- get?: never;
1105
- put?: never;
1106
- post?: never;
1107
- delete?: never;
1108
- options?: never;
1109
- head?: never;
1110
- /** Change role of wallet user */
1111
- patch: operations["WalletsUsersController_updateRole"];
1112
- trace?: never;
1113
- };
1114
- "/wallets/{wallet_id}/users/{user_data_id}/activate": {
1115
- parameters: {
1116
- query?: never;
1117
- header?: never;
1118
- path?: never;
1119
- cookie?: never;
1120
- };
1121
- get?: never;
1122
- put?: never;
1123
- /** Activate wallet user */
1124
- post: operations["WalletsUsersController_activate"];
1125
- delete?: never;
1126
- options?: never;
1127
- head?: never;
1128
- patch?: never;
1129
- trace?: never;
1130
- };
1131
- "/wallets/{wallet_id}/users/{user_data_id}/deactivate": {
1132
- parameters: {
1133
- query?: never;
1134
- header?: never;
1135
- path?: never;
1136
- cookie?: never;
1137
- };
1138
- get?: never;
1139
- put?: never;
1140
- /** Deactivate wallet user */
1141
- post: operations["WalletsUsersController_deactivate"];
1142
- delete?: never;
1143
- options?: never;
1144
- head?: never;
1145
- patch?: never;
1146
- trace?: never;
1147
- };
1148
931
  }
1149
932
  export type webhooks = Record<string, never>;
1150
933
  export interface components {
@@ -1584,16 +1367,6 @@ export interface components {
1584
1367
  total: number;
1585
1368
  data: (components["schemas"]["CryptoCurrencyDto"] | components["schemas"]["FiatCurrencyDto"])[];
1586
1369
  };
1587
- ExchangeRateDto: {
1588
- from: string;
1589
- from_uuid: string | null;
1590
- inverted_rate: number;
1591
- rate: number;
1592
- /** @enum {string|null} */
1593
- rate_source: "cryptomus" | "coingecko" | null;
1594
- to: string;
1595
- to_uuid: string | null;
1596
- };
1597
1370
  InitKycDataCollectionResponseDto: {
1598
1371
  providerType: string;
1599
1372
  verificationId: string;
@@ -1604,44 +1377,6 @@ export interface components {
1604
1377
  verificationId: string;
1605
1378
  verificationToken?: string;
1606
1379
  };
1607
- KycFormFieldOptionDto: {
1608
- label: string;
1609
- value: string;
1610
- };
1611
- KycFormFieldValidationDto: {
1612
- pattern?: string;
1613
- message?: string;
1614
- minLength?: number;
1615
- maxLength?: number;
1616
- min?: number;
1617
- max?: number;
1618
- };
1619
- KycFormFieldDto: {
1620
- name: string;
1621
- /** @enum {string} */
1622
- type: "text" | "email" | "password" | "radio" | "select" | "checkbox" | "textarea" | "number" | "date" | "switch" | "file";
1623
- label: string;
1624
- placeholder?: string;
1625
- required?: boolean;
1626
- order?: number;
1627
- options?: components["schemas"]["KycFormFieldOptionDto"][];
1628
- validation?: components["schemas"]["KycFormFieldValidationDto"];
1629
- rows?: number;
1630
- value?: string;
1631
- accept?: string;
1632
- };
1633
- KycFormFieldContainerDto: {
1634
- /** @enum {string} */
1635
- type: "field" | "group";
1636
- field?: components["schemas"]["KycFormFieldDto"];
1637
- group?: components["schemas"]["KycFormFieldGroupDto"];
1638
- };
1639
- KycFormFieldGroupDto: {
1640
- name?: string;
1641
- isArray?: boolean;
1642
- fields: components["schemas"]["KycFormFieldContainerDto"][];
1643
- label: string;
1644
- };
1645
1380
  GeneralInfo: Record<string, never>;
1646
1381
  ContactPersonInfo: Record<string, never>;
1647
1382
  LegalRepresentativeInfo: Record<string, never>;
@@ -1886,158 +1621,22 @@ export interface components {
1886
1621
  physical_address?: components["schemas"]["KycAddressDto"] | null;
1887
1622
  beneficial_owners?: components["schemas"]["KycBeneficialOwnerDto"][] | null;
1888
1623
  };
1889
- CreateOrUpdateKycEntityDto: {
1624
+ WalletKycRailExtraActionDto: {
1890
1625
  /** @enum {string} */
1891
- type: "individual" | "business" | "universal";
1892
- id_number?: string | null;
1893
- /** @enum {string|null} */
1894
- id_type?: "PASSPORT" | "ID_CARD" | "DRIVERS" | "NIN" | null;
1895
- additional_id_number?: string | null;
1896
- additional_id_type?: string | null;
1897
- articles_of_association_url?: string | null;
1898
- business_description?: string | null;
1899
- business_industry?: string[] | null;
1900
- business_industry_other?: string | null;
1901
- business_name?: string | null;
1902
- business_name_local?: string | null;
1903
- business_registration_doc_url?: string | null;
1904
- /** @enum {string|null} */
1905
- business_type?: "cooperative" | "s_corporation" | "b_corporation" | "c_corporation" | "close_corporation" | "nonprofit_corporation" | "general_partnership" | "limited_partnership" | "limited_liability_company" | "other" | "sole_proprietorship" | "trust" | null;
1906
- certificate_number?: string | null;
1907
- certificate_of_incumbency_url?: string | null;
1908
- /** @enum {string|null} */
1909
- certificate_of_registration_doc_type?: "ACRA" | "GST" | "MSME" | "CERTIFICATE_OF_REGISTRATION" | null;
1910
- certificate_of_registration_doc_url?: string | null;
1911
- compliance_screening_explanation?: string | null;
1912
- constitution_or_annual_report_url?: string | null;
1913
- country_of_birth?: string | null;
1914
- /** @default false */
1915
- dao_status: boolean | null;
1916
- date_of_birth?: string | null;
1917
- due_diligence_form?: components["schemas"]["KycEntityDueDiligenceFormEntity"] | null;
1918
- email?: string | null;
1919
- export_country?: string | null;
1920
- first_name?: string | null;
1921
- first_name_local?: string | null;
1922
- formation_date?: string | null;
1923
- formation_doc_url?: string | null;
1924
- gov_id_back_url?: string | null;
1925
- gov_id_country?: string | null;
1926
- gov_id_expiration_date?: string | null;
1927
- gov_id_front_url?: string | null;
1928
- gov_id_hand_hold_url?: string | null;
1929
- gov_id_issuance_authority?: string | null;
1930
- gov_id_issuance_date?: string | null;
1931
- gov_id_number?: string | null;
1932
- /** @enum {string|null} */
1933
- gov_id_type?: "PASSPORT" | "ID_CARD" | "DRIVERS" | null;
1934
- incorporation_number?: string | null;
1935
- last_name?: string | null;
1936
- last_name_local?: string | null;
1937
- license_expiration_date?: string | null;
1938
- middle_name?: string | null;
1939
- middle_name_local?: string | null;
1940
- nationality?: string | null;
1941
- partnership_deed_url?: string | null;
1942
- partnership_mins_of_meeting_url?: string | null;
1943
- phone?: string | null;
1944
- product_service_category?: string | null;
1945
- /** @enum {string|null} */
1946
- proof_of_address_type?: "UTILITY_BILL" | "BANK_STATEMENT" | "RENTAL_AGREEMENT" | "TAX_DOCUMENT" | null;
1947
- proof_of_address_url?: string | null;
1948
- proof_of_ownership_url?: string | null;
1949
- /** @enum {string|null} */
1950
- purpose?: "charitable_donations" | "ecommerce_retail_payments" | "investment_purposes" | "other" | "payments_to_friends_or_family_abroad" | "payroll" | "personal_or_living_expenses" | "protect_wealth" | "purchase_goods_and_services" | "receive_payments_for_goods_and_services" | "tax_optimization" | "third_party_money_transmission" | "treasury_management" | "operating_a_company" | "receive_payment_for_freelancing" | "receive_salary" | null;
1951
- purpose_other?: string | null;
1952
- registration_number?: string | null;
1953
- share_structure_url?: string | null;
1954
- /** @enum {string|null} */
1955
- source_of_funds?: "employment" | "savings" | "winnings" | "marital" | "real_estate" | "trust" | "investment" | "other" | "sales_of_goods_and_services" | "owners_capital" | "business_loans" | "private_capital" | "grant" | null;
1956
- supplementary_info?: string | null;
1957
- supplementary_url?: string | null;
1958
- tax_identification_number?: string | null;
1959
- /** @enum {string|null} */
1960
- tax_identification_number_type?: "EIN" | "SSN" | "VAT" | "TIN" | "UTR" | null;
1961
- trade_name?: string | null;
1962
- /** @enum {string|null} */
1963
- trade_type?: "00" | "01" | "02" | "03" | "04" | "05" | "06" | "07" | "08" | "09" | "10" | "11" | "12" | "13" | "14" | "15" | "16" | "17" | "18" | "19" | "20" | "21" | "22" | "23" | "24" | "25" | "26" | "27" | "28" | "29" | "30" | "31" | "32" | "33" | "34" | "35" | "36" | "37" | "38" | "39" | "40" | "41" | null;
1964
- /** @default false */
1965
- transmits_customer_funds: boolean | null;
1966
- ubo_declaration_url?: string | null;
1967
- website?: string | null;
1968
- selfie_url?: string | null;
1969
- regulatory_license_url?: string | null;
1970
- annual_salary?: string | null;
1971
- expected_monthly_volume?: string | null;
1972
- monthly_crypto_deposits?: string | null;
1973
- monthly_crypto_investment_deposit?: string | null;
1974
- monthly_crypto_investment_withdrawal?: string | null;
1975
- monthly_crypto_withdrawals?: string | null;
1976
- monthly_investment_deposit?: string | null;
1977
- monthly_investment_withdrawal?: string | null;
1978
- monthly_withdrawals?: string | null;
1979
- usd_value_of_crypto?: string | null;
1980
- usd_value_of_fiat?: string | null;
1981
- occupation?: string | null;
1982
- occupation_other?: string | null;
1983
- /** @enum {string|null} */
1984
- employment_status?: "EMPLOYEE" | "SELF_EMPLOYED" | "RETIRED" | "UNEMPLOYED" | "OTHER" | null;
1985
- employment_description?: string | null;
1986
- description_of_business_nature?: string | null;
1987
- /** @enum {string|null} */
1988
- primary_business?: "ACCOUNTANCY" | "ADULT_ENTERTAINMENT" | "ADULT_PRODUCTS" | "ADVERTISING_MARKETING_PR" | "ADVISOR" | "AEROSPACE" | "AGRICULTURE" | "ALCOHOL" | "ARCHITECTURE" | "ARTS_ANTIQUES" | "ASSET_WEALTH_MANAGEMENT" | "ATM" | "AUTOMOBILE_CAR_PARTS" | "AUTOMOBILE_LUXURY" | "BANK_FOREIGN" | "BANK_US" | "BARS_RESTAURANTS" | "BIO_SCIENCE" | "BOOKS_MAGAZINES_NEWSPAPERS" | "BROADCASTERS_RADIO_TV" | "BROKER" | "BUILDING_MATERIALS" | "CALL_CENTER" | "CASINO_GAMBLING" | "CHARITY" | "CHEMICAL_MANUFACTURING" | "CLOTHING_TEXTILES" | "COMMODITIES" | "COMPANY_FORMATION" | "CONSTRUCTION_TRADES" | "CRYPTO_MSB_FOREIGN" | "CRYPTO_MSB_US" | "CYBER_SECURITY" | "DATA_STORAGE_PROCESSING" | "DEFI_EXCHANGE" | "ECOMMERCE" | "ELECTRONICS_MOBILE_PHONES" | "ENGINEERING" | "EVENT_PLANNING" | "FITNESS_EQUIPMENT" | "FOOD_BEVERAGE" | "FOUNDATION" | "FREIGHT_LOGISTICS_SHIPPING" | "GOVERNMENT_FOREIGN" | "GOVERNMENT_US" | "HEALTH_SUPPLEMENTS" | "HEAVY_EQUIPMENT" | "HISTORICAL_CULTURAL_ARTIFACTS" | "HNWI" | "HOSPITALITY" | "HOSPITALS_CARE_FACILITIES" | "IMPORT_EXPORT" | "INDUSTRIAL_EQUIPMENT" | "INFLUENCER_SOCIAL_MEDIA" | "INSURANCE" | "INSURANCE_INSURANCE_COMPANIES" | "INVESTMENT_FIRMS" | "IT_MANAGED_SERVICES" | "LEGAL_SERVICES" | "LOAN" | "LOGGING_TIMBER_PAPER_MILLS" | "LUXURY_GOODS" | "LUXURY_GOODS_BROKER" | "MINER" | "MINING_EXTRACTION" | "MULTILEVEL_MARKETING" | "MUSIC_PRODUCTION" | "NFT" | "NON_BANK_CUSTODIAN" | "NON_CRYPTO_MSB_FOREIGN" | "NON_CRYPTO_MSB_US" | "OIL_GAS" | "PAWN_BROKERS" | "PAYMENT_PROCESSOR" | "PAYROLL" | "PENSION" | "POLITICAL_PARTY_GROUP" | "POOLED_INVESTMENT" | "PRECIOUS_METALS" | "PRIVATE_EQUITY" | "PRIVATE_JET_CHARTER" | "PROP_TRADING" | "PUBLIC" | "REAL_ESTATE_INVESTMENT" | "RETAILER_DURABLE" | "RETAILER_NON_DURABLE" | "SCHOOL_UNIVERSITY" | "SECURITY" | "SOFTWARE" | "SOFTWARE_BLOCKCHAIN_CRYPTO" | "SPORTING_PROFESSIONAL_CLUB" | "SPV" | "STATE_FOREIGN" | "STATE_US" | "SUPRANATIONAL_BODY" | "TAX_ADVISORS" | "TAXI_PRIVATE_TRANSPORT" | "TELECOMMUNICATIONS" | "TOBACCO" | "TOKEN_PROJECT" | "TRAVEL" | "TRUST_CORP" | "TRUST_PERSONAL" | "UTILITIES_WATER_GAS_ELECTRIC" | "VENTURE_CAPITAL" | "VIDEO_GAMES" | "WASTE_MANAGEMENT_RECYCLING" | "WEAPONS_MANUFACTURER" | "WEAPONS_MILITARY_SERVICES" | "WHV" | "WHOLESALER_DURABLE" | "WHOLESALER_NON_DURABLE" | null;
1989
- business_jurisdictions?: string[] | null;
1990
- funds_send_receive_jurisdictions?: string[] | null;
1991
- engage_in_activities?: ("NONE" | "ADULT_ENTERTAINMENT" | "DRUGS" | "FIREARMS" | "GAMBLING" | "MARIJUANA" | "TUMBLING")[] | null;
1992
- monthly_deposits?: string | null;
1993
- /** @enum {string|null} */
1994
- regulated_status?: "REGULATED" | "REGISTERED" | "LICENSED" | "NONE" | "NOT_REQUIRED" | null;
1995
- total_assets?: string | null;
1996
- vendors_and_counterparties?: ("SELF" | "MERCHANTS_SUPPLIERS" | "CUSTOMERS" | "EMPLOYEES" | "CONTRACTORS" | "FRIENDS" | "FAMILY")[] | null;
1997
- stablecoin_primary_purpose?: string[] | null;
1998
- stablecoin_primary_purpose_other?: string | null;
1999
- stablecoin_activity?: string | null;
2000
- pep_declaration?: boolean | null;
2001
- pep_full_name?: string | null;
2002
- pep_relationship?: string | null;
2003
- pep_country?: string | null;
2004
- terms_and_conditions?: boolean | null;
2005
- expected_monthly_transactions_count?: number | null;
2006
- outgoing_payment_purposes?: string[] | null;
2007
- incoming_payment_purposes?: string[] | null;
2008
- supplier_names?: string | null;
2009
- customer_names?: string | null;
2010
- business_activity_type?: string | null;
2011
- primary_account_currency?: string | null;
2012
- regulatory_authority_name?: string | null;
2013
- regulatory_authority_country?: string | null;
2014
- regulatory_license_number?: string | null;
2015
- regulatory_license_urls?: string[] | null;
2016
- state_registry_doc_url?: string | null;
2017
- good_standing_cert_url?: string | null;
2018
- business_proof_of_address_url?: string | null;
2019
- /** @enum {string|null} */
2020
- business_proof_of_address_type?: "UTILITY_BILL" | "BANK_STATEMENT" | "RENTAL_AGREEMENT" | "TAX_DOCUMENT" | null;
2021
- address?: components["schemas"]["KycAddressDto"] | null;
2022
- physical_address?: components["schemas"]["KycAddressDto"] | null;
2023
- beneficial_owners?: components["schemas"]["KycBeneficialOwnerDto"][] | null;
2024
- };
2025
- WalletKycRailExtraActionDto: {
2026
- /** @enum {string} */
2027
- action: "verification";
2028
- type: string;
2029
- full_name: string | null;
2030
- url: string;
2031
- };
2032
- WalletKycRailTermsAndConditionsDto: {
2033
- description: string | null;
2034
- link: string;
2035
- title: string;
2036
- };
2037
- WalletKycRailDto: {
2038
- message: string | null;
2039
- /** @enum {string} */
2040
- readonly status: "APPROVED" | "DECLINED" | "PENDING" | "PROCESSING" | "HOLD" | "DOUBLE" | "SOFT_REJECT" | "REJECT" | "UNVERIFIED" | "WAITING_ON_UBOS" | "WAITING_ON_REVIEW";
1626
+ action: "verification";
1627
+ type: string;
1628
+ full_name: string | null;
1629
+ url: string;
1630
+ };
1631
+ WalletKycRailTermsAndConditionsDto: {
1632
+ description: string | null;
1633
+ link: string;
1634
+ title: string;
1635
+ };
1636
+ WalletKycRailDto: {
1637
+ message: string | null;
1638
+ /** @enum {string} */
1639
+ readonly status: "APPROVED" | "DECLINED" | "PENDING" | "PROCESSING" | "HOLD" | "DOUBLE" | "SOFT_REJECT" | "REJECT" | "UNVERIFIED" | "WAITING_ON_UBOS" | "WAITING_ON_REVIEW";
2041
1640
  /** @default false */
2042
1641
  terms_confirmed: boolean;
2043
1642
  extra_actions?: components["schemas"]["WalletKycRailExtraActionDto"][];
@@ -2061,33 +1660,6 @@ export interface components {
2061
1660
  /** @description Has more data flag */
2062
1661
  readonly has_more: boolean;
2063
1662
  };
2064
- CountryDto: {
2065
- id: number;
2066
- capital: string | null;
2067
- currency: string | null;
2068
- currency_name: string | null;
2069
- currency_symbol: string | null;
2070
- emoji: string | null;
2071
- emojiU: string | null;
2072
- flag: number;
2073
- iso2: string | null;
2074
- iso3: string | null;
2075
- latitude: number | null;
2076
- longitude: number | null;
2077
- name: string;
2078
- nationality: string | null;
2079
- native: string | null;
2080
- numeric_code: string | null;
2081
- phonecode: string | null;
2082
- region: string | null;
2083
- region_id: number | null;
2084
- subregion: string | null;
2085
- subregion_id: number | null;
2086
- timezones: components["schemas"]["CountryTimezone"][] | null;
2087
- tld: string | null;
2088
- translations: components["schemas"]["CountryTranslations"][] | null;
2089
- wikiDataId: string | null;
2090
- };
2091
1663
  InitInquiryResponseDto: {
2092
1664
  /** @example inq_E6U4KitBucNKpfrDMb997AaTkQTt */
2093
1665
  inquiryId: string;
@@ -2096,24 +1668,6 @@ export interface components {
2096
1668
  inquiryId: string;
2097
1669
  sessionId: string;
2098
1670
  };
2099
- IntegrationPersonaTemplateEntityDto: Record<string, never>;
2100
- FindAllIntegrationPersonaTemplatesResponseDto: {
2101
- /** @example 20 */
2102
- total: number;
2103
- /** @description Data */
2104
- data: components["schemas"]["IntegrationPersonaTemplateEntityDto"][];
2105
- /** @description Has more data flag */
2106
- readonly has_more: boolean;
2107
- };
2108
- IntegrationSumsubLevelEntityDto: Record<string, never>;
2109
- FindAllIntegrationSumsubLevelsResponseDto: {
2110
- /** @example 20 */
2111
- total: number;
2112
- /** @description Data */
2113
- data: components["schemas"]["IntegrationSumsubLevelEntityDto"][];
2114
- /** @description Has more data flag */
2115
- readonly has_more: boolean;
2116
- };
2117
1671
  CounterpartiesFilter: {
2118
1672
  email?: string | null;
2119
1673
  /** @description Phone number */
@@ -2332,6 +1886,33 @@ export interface components {
2332
1886
  total: number;
2333
1887
  data: (components["schemas"]["CryptoCurrencyDto"] | components["schemas"]["FiatCurrencyDto"])[];
2334
1888
  };
1889
+ CountryDto: {
1890
+ id: number;
1891
+ capital: string | null;
1892
+ currency: string | null;
1893
+ currency_name: string | null;
1894
+ currency_symbol: string | null;
1895
+ emoji: string | null;
1896
+ emojiU: string | null;
1897
+ flag: number;
1898
+ iso2: string | null;
1899
+ iso3: string | null;
1900
+ latitude: number | null;
1901
+ longitude: number | null;
1902
+ name: string;
1903
+ nationality: string | null;
1904
+ native: string | null;
1905
+ numeric_code: string | null;
1906
+ phonecode: string | null;
1907
+ region: string | null;
1908
+ region_id: number | null;
1909
+ subregion: string | null;
1910
+ subregion_id: number | null;
1911
+ timezones: components["schemas"]["CountryTimezone"][] | null;
1912
+ tld: string | null;
1913
+ translations: components["schemas"]["CountryTranslations"][] | null;
1914
+ wikiDataId: string | null;
1915
+ };
2335
1916
  SystemCountriesResponseDto: {
2336
1917
  total: number;
2337
1918
  data: components["schemas"]["CountryDto"][];
@@ -2358,44 +1939,20 @@ export interface components {
2358
1939
  total: number;
2359
1940
  data: components["schemas"]["StateDto"][];
2360
1941
  };
1942
+ ExchangeRateDto: {
1943
+ from: string;
1944
+ from_uuid: string | null;
1945
+ inverted_rate: number;
1946
+ rate: number;
1947
+ /** @enum {string|null} */
1948
+ rate_source: "cryptomus" | "coingecko" | null;
1949
+ to: string;
1950
+ to_uuid: string | null;
1951
+ };
2361
1952
  SystemExchangeRatesResponseDto: {
2362
1953
  total: number;
2363
1954
  data: components["schemas"]["ExchangeRateDto"][];
2364
1955
  };
2365
- PersonaAdminInitInquiryRequestDto: {
2366
- /**
2367
- * @example individual
2368
- * @enum {string}
2369
- */
2370
- type: "individual" | "business" | "universal";
2371
- };
2372
- PersonaAdminResumeInquiryRequestDto: {
2373
- inquiry_id: string;
2374
- };
2375
- WalletUserInfoDto: {
2376
- /** @deprecated */
2377
- id: number;
2378
- first_name?: string | null;
2379
- last_name?: string | null;
2380
- logo_url?: string | null;
2381
- readonly email: string | null;
2382
- };
2383
- WalletUserDto: {
2384
- /** @enum {string} */
2385
- readonly role: "owner" | "admin" | "user" | "auditor";
2386
- is_active: boolean;
2387
- user_info?: components["schemas"]["WalletUserInfoDto"][];
2388
- };
2389
- WalletUsersFilterDto: {
2390
- is_active?: boolean;
2391
- /** @enum {string} */
2392
- role?: "owner" | "admin" | "user" | "auditor";
2393
- search?: string;
2394
- };
2395
- UpdateWalletUserRoleDto: {
2396
- /** @enum {string} */
2397
- role: "user" | "auditor";
2398
- };
2399
1956
  };
2400
1957
  responses: never;
2401
1958
  parameters: never;
@@ -3742,39 +3299,12 @@ export interface operations {
3742
3299
  };
3743
3300
  };
3744
3301
  };
3745
- ExchangeRatesController_findAll: {
3746
- parameters: {
3747
- query: {
3748
- 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";
3749
- from_uuid?: string;
3750
- to_uuid?: string;
3751
- };
3752
- header?: never;
3753
- path?: never;
3754
- cookie?: never;
3755
- };
3756
- requestBody?: never;
3757
- responses: {
3758
- 200: {
3759
- headers: {
3760
- [name: string]: unknown;
3761
- };
3762
- content: {
3763
- "application/json": components["schemas"]["ExchangeRateDto"][];
3764
- };
3765
- };
3766
- /** @description Unauthorized */
3767
- 401: {
3768
- headers: {
3769
- [name: string]: unknown;
3770
- };
3771
- content?: never;
3772
- };
3773
- };
3774
- };
3775
3302
  KycController_initDataCollection: {
3776
3303
  parameters: {
3777
- query?: never;
3304
+ query?: {
3305
+ /** @description Whether to prefill the provider verification with the current user data (email, phone, name). Defaults to true. */
3306
+ prefill?: boolean;
3307
+ };
3778
3308
  header?: never;
3779
3309
  path: {
3780
3310
  wallet_id: string;
@@ -3851,12 +3381,12 @@ export interface operations {
3851
3381
  };
3852
3382
  };
3853
3383
  };
3854
- KycFormsController_getFormConfigByType: {
3384
+ KycEntitiesController_findOne: {
3855
3385
  parameters: {
3856
3386
  query?: never;
3857
3387
  header?: never;
3858
3388
  path: {
3859
- rail_id: string;
3389
+ wallet_id: string;
3860
3390
  };
3861
3391
  cookie?: never;
3862
3392
  };
@@ -3867,73 +3397,7 @@ export interface operations {
3867
3397
  [name: string]: unknown;
3868
3398
  };
3869
3399
  content: {
3870
- "application/json": components["schemas"]["KycFormFieldContainerDto"][];
3871
- };
3872
- };
3873
- };
3874
- };
3875
- KycEntitiesController_findOne: {
3876
- parameters: {
3877
- query?: never;
3878
- header?: never;
3879
- path: {
3880
- wallet_id: string;
3881
- };
3882
- cookie?: never;
3883
- };
3884
- requestBody?: never;
3885
- responses: {
3886
- 200: {
3887
- headers: {
3888
- [name: string]: unknown;
3889
- };
3890
- content: {
3891
- "application/json": components["schemas"]["KycEntityDto"];
3892
- };
3893
- };
3894
- /** @description Unauthorized */
3895
- 401: {
3896
- headers: {
3897
- [name: string]: unknown;
3898
- };
3899
- content?: never;
3900
- };
3901
- /** @description You don`t have access to current wallet */
3902
- 403: {
3903
- headers: {
3904
- [name: string]: unknown;
3905
- };
3906
- content?: never;
3907
- };
3908
- 404: {
3909
- headers: {
3910
- [name: string]: unknown;
3911
- };
3912
- content?: never;
3913
- };
3914
- };
3915
- };
3916
- KycEntitiesController_update: {
3917
- parameters: {
3918
- query?: never;
3919
- header?: never;
3920
- path: {
3921
- wallet_id: string;
3922
- };
3923
- cookie?: never;
3924
- };
3925
- requestBody: {
3926
- content: {
3927
- "application/json": components["schemas"]["CreateOrUpdateKycEntityDto"];
3928
- };
3929
- };
3930
- responses: {
3931
- 200: {
3932
- headers: {
3933
- [name: string]: unknown;
3934
- };
3935
- content: {
3936
- "application/json": components["schemas"]["KycEntityDto"];
3400
+ "application/json": components["schemas"]["KycEntityDto"];
3937
3401
  };
3938
3402
  };
3939
3403
  /** @description Unauthorized */
@@ -4134,32 +3598,6 @@ export interface operations {
4134
3598
  };
4135
3599
  };
4136
3600
  };
4137
- CountriesController_findAll: {
4138
- parameters: {
4139
- query?: never;
4140
- header?: never;
4141
- path?: never;
4142
- cookie?: never;
4143
- };
4144
- requestBody?: never;
4145
- responses: {
4146
- 200: {
4147
- headers: {
4148
- [name: string]: unknown;
4149
- };
4150
- content: {
4151
- "application/json": components["schemas"]["CountryDto"][];
4152
- };
4153
- };
4154
- /** @description Unauthorized */
4155
- 401: {
4156
- headers: {
4157
- [name: string]: unknown;
4158
- };
4159
- content?: never;
4160
- };
4161
- };
4162
- };
4163
3601
  PersonaController_initInquiry: {
4164
3602
  parameters: {
4165
3603
  query?: never;
@@ -4239,70 +3677,6 @@ export interface operations {
4239
3677
  };
4240
3678
  };
4241
3679
  };
4242
- IntegrationPersonaTemplateController_findAll: {
4243
- parameters: {
4244
- query?: never;
4245
- header?: never;
4246
- path?: never;
4247
- cookie?: never;
4248
- };
4249
- requestBody?: never;
4250
- responses: {
4251
- 200: {
4252
- headers: {
4253
- [name: string]: unknown;
4254
- };
4255
- content: {
4256
- "application/json": components["schemas"]["FindAllIntegrationPersonaTemplatesResponseDto"];
4257
- };
4258
- };
4259
- /** @description Unauthorized */
4260
- 401: {
4261
- headers: {
4262
- [name: string]: unknown;
4263
- };
4264
- content?: never;
4265
- };
4266
- 404: {
4267
- headers: {
4268
- [name: string]: unknown;
4269
- };
4270
- content?: never;
4271
- };
4272
- };
4273
- };
4274
- IntegrationSumsubLevelController_findAll: {
4275
- parameters: {
4276
- query?: never;
4277
- header?: never;
4278
- path?: never;
4279
- cookie?: never;
4280
- };
4281
- requestBody?: never;
4282
- responses: {
4283
- 200: {
4284
- headers: {
4285
- [name: string]: unknown;
4286
- };
4287
- content: {
4288
- "application/json": components["schemas"]["FindAllIntegrationSumsubLevelsResponseDto"];
4289
- };
4290
- };
4291
- /** @description Unauthorized */
4292
- 401: {
4293
- headers: {
4294
- [name: string]: unknown;
4295
- };
4296
- content?: never;
4297
- };
4298
- 404: {
4299
- headers: {
4300
- [name: string]: unknown;
4301
- };
4302
- content?: never;
4303
- };
4304
- };
4305
- };
4306
3680
  CounterpartyAccountsController_findAll: {
4307
3681
  parameters: {
4308
3682
  query?: {
@@ -4922,316 +4296,4 @@ export interface operations {
4922
4296
  };
4923
4297
  };
4924
4298
  };
4925
- PersonaAdminController_syncKycEntityWithPersona: {
4926
- parameters: {
4927
- query?: never;
4928
- header?: never;
4929
- path: {
4930
- wallet_id: string;
4931
- };
4932
- cookie?: never;
4933
- };
4934
- requestBody?: never;
4935
- responses: {
4936
- /** @description Invalid tenant */
4937
- 401: {
4938
- headers: {
4939
- [name: string]: unknown;
4940
- };
4941
- content?: never;
4942
- };
4943
- };
4944
- };
4945
- PersonaAdminController_initInquiry: {
4946
- parameters: {
4947
- query?: never;
4948
- header?: never;
4949
- path: {
4950
- wallet_id: string;
4951
- };
4952
- cookie?: never;
4953
- };
4954
- requestBody: {
4955
- content: {
4956
- "application/json": components["schemas"]["PersonaAdminInitInquiryRequestDto"];
4957
- };
4958
- };
4959
- responses: {
4960
- 200: {
4961
- headers: {
4962
- [name: string]: unknown;
4963
- };
4964
- content: {
4965
- "application/json": components["schemas"]["InitInquiryResponseDto"];
4966
- };
4967
- };
4968
- /** @description Invalid tenant */
4969
- 401: {
4970
- headers: {
4971
- [name: string]: unknown;
4972
- };
4973
- content?: never;
4974
- };
4975
- };
4976
- };
4977
- PersonaAdminController_resumeInquiry: {
4978
- parameters: {
4979
- query?: never;
4980
- header?: never;
4981
- path: {
4982
- wallet_id: string;
4983
- };
4984
- cookie?: never;
4985
- };
4986
- requestBody: {
4987
- content: {
4988
- "application/json": components["schemas"]["PersonaAdminResumeInquiryRequestDto"];
4989
- };
4990
- };
4991
- responses: {
4992
- 200: {
4993
- headers: {
4994
- [name: string]: unknown;
4995
- };
4996
- content: {
4997
- "application/json": components["schemas"]["ResumeInquiryResponseDto"];
4998
- };
4999
- };
5000
- /** @description Invalid tenant */
5001
- 401: {
5002
- headers: {
5003
- [name: string]: unknown;
5004
- };
5005
- content?: never;
5006
- };
5007
- };
5008
- };
5009
- WalletsUsersController_all: {
5010
- parameters: {
5011
- query?: {
5012
- /** @description Number of records to skip */
5013
- offset?: number;
5014
- /** @description Number of records to return */
5015
- limit?: number;
5016
- sort_order?: "ASC" | "DESC";
5017
- sort_by?: null;
5018
- filter?: components["schemas"]["WalletUsersFilterDto"];
5019
- };
5020
- header?: never;
5021
- path: {
5022
- wallet_id: string;
5023
- };
5024
- cookie?: never;
5025
- };
5026
- requestBody?: never;
5027
- responses: {
5028
- 200: {
5029
- headers: {
5030
- [name: string]: unknown;
5031
- };
5032
- content: {
5033
- "application/json": components["schemas"]["PaginationResponseDto"] & {
5034
- data?: unknown;
5035
- };
5036
- };
5037
- };
5038
- /** @description Unauthorized */
5039
- 401: {
5040
- headers: {
5041
- [name: string]: unknown;
5042
- };
5043
- content?: never;
5044
- };
5045
- /** @description You don`t have access to current wallet */
5046
- 403: {
5047
- headers: {
5048
- [name: string]: unknown;
5049
- };
5050
- content?: never;
5051
- };
5052
- };
5053
- };
5054
- WalletsUsersController_view: {
5055
- parameters: {
5056
- query?: never;
5057
- header?: never;
5058
- path: {
5059
- wallet_id: string;
5060
- user_data_id: string;
5061
- };
5062
- cookie?: never;
5063
- };
5064
- requestBody?: never;
5065
- responses: {
5066
- 200: {
5067
- headers: {
5068
- [name: string]: unknown;
5069
- };
5070
- content: {
5071
- "application/json": components["schemas"]["WalletUserDto"];
5072
- };
5073
- };
5074
- /** @description Unauthorized */
5075
- 401: {
5076
- headers: {
5077
- [name: string]: unknown;
5078
- };
5079
- content?: never;
5080
- };
5081
- /** @description You don`t have access to current wallet */
5082
- 403: {
5083
- headers: {
5084
- [name: string]: unknown;
5085
- };
5086
- content?: never;
5087
- };
5088
- };
5089
- };
5090
- WalletsUsersController_remove: {
5091
- parameters: {
5092
- query?: never;
5093
- header?: never;
5094
- path: {
5095
- wallet_id: string;
5096
- user_data_id: string;
5097
- };
5098
- cookie?: never;
5099
- };
5100
- requestBody?: never;
5101
- responses: {
5102
- /** @description User removed from wallet user */
5103
- 200: {
5104
- headers: {
5105
- [name: string]: unknown;
5106
- };
5107
- content?: never;
5108
- };
5109
- /** @description Unauthorized */
5110
- 401: {
5111
- headers: {
5112
- [name: string]: unknown;
5113
- };
5114
- content?: never;
5115
- };
5116
- /** @description You don`t have access to current wallet */
5117
- 403: {
5118
- headers: {
5119
- [name: string]: unknown;
5120
- };
5121
- content?: never;
5122
- };
5123
- };
5124
- };
5125
- WalletsUsersController_updateRole: {
5126
- parameters: {
5127
- query?: never;
5128
- header?: never;
5129
- path: {
5130
- wallet_id: string;
5131
- user_data_id: string;
5132
- };
5133
- cookie?: never;
5134
- };
5135
- requestBody: {
5136
- content: {
5137
- "application/json": components["schemas"]["UpdateWalletUserRoleDto"];
5138
- };
5139
- };
5140
- responses: {
5141
- 200: {
5142
- headers: {
5143
- [name: string]: unknown;
5144
- };
5145
- content: {
5146
- "application/json": components["schemas"]["WalletUserDto"];
5147
- };
5148
- };
5149
- /** @description Unauthorized */
5150
- 401: {
5151
- headers: {
5152
- [name: string]: unknown;
5153
- };
5154
- content?: never;
5155
- };
5156
- /** @description You don`t have access to current wallet */
5157
- 403: {
5158
- headers: {
5159
- [name: string]: unknown;
5160
- };
5161
- content?: never;
5162
- };
5163
- };
5164
- };
5165
- WalletsUsersController_activate: {
5166
- parameters: {
5167
- query?: never;
5168
- header?: never;
5169
- path: {
5170
- wallet_id: string;
5171
- user_data_id: string;
5172
- };
5173
- cookie?: never;
5174
- };
5175
- requestBody?: never;
5176
- responses: {
5177
- 200: {
5178
- headers: {
5179
- [name: string]: unknown;
5180
- };
5181
- content: {
5182
- "application/json": components["schemas"]["WalletUserDto"];
5183
- };
5184
- };
5185
- /** @description Unauthorized */
5186
- 401: {
5187
- headers: {
5188
- [name: string]: unknown;
5189
- };
5190
- content?: never;
5191
- };
5192
- /** @description You don`t have access to current wallet */
5193
- 403: {
5194
- headers: {
5195
- [name: string]: unknown;
5196
- };
5197
- content?: never;
5198
- };
5199
- };
5200
- };
5201
- WalletsUsersController_deactivate: {
5202
- parameters: {
5203
- query?: never;
5204
- header?: never;
5205
- path: {
5206
- wallet_id: string;
5207
- user_data_id: string;
5208
- };
5209
- cookie?: never;
5210
- };
5211
- requestBody?: never;
5212
- responses: {
5213
- 200: {
5214
- headers: {
5215
- [name: string]: unknown;
5216
- };
5217
- content: {
5218
- "application/json": components["schemas"]["WalletUserDto"];
5219
- };
5220
- };
5221
- /** @description Unauthorized */
5222
- 401: {
5223
- headers: {
5224
- [name: string]: unknown;
5225
- };
5226
- content?: never;
5227
- };
5228
- /** @description You don`t have access to current wallet */
5229
- 403: {
5230
- headers: {
5231
- [name: string]: unknown;
5232
- };
5233
- content?: never;
5234
- };
5235
- };
5236
- };
5237
4299
  }