squarefi-bff-api-module 1.26.9 → 1.26.11
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.d.ts +0 -0
- package/dist/api/auth.js +0 -0
- package/dist/api/config.d.ts +0 -0
- package/dist/api/config.js +0 -0
- package/dist/api/counterparties.d.ts +0 -0
- package/dist/api/counterparties.js +0 -0
- package/dist/api/developer.d.ts +0 -0
- package/dist/api/developer.js +0 -0
- package/dist/api/exchange.d.ts +0 -0
- package/dist/api/exchange.js +0 -0
- package/dist/api/fetch_api.d.ts +0 -0
- package/dist/api/fetch_api.js +0 -0
- package/dist/api/fiat_accounts.d.ts +0 -0
- package/dist/api/fiat_accounts.js +0 -0
- package/dist/api/frontend.d.ts +0 -0
- package/dist/api/frontend.js +0 -0
- package/dist/api/index.d.ts +0 -0
- package/dist/api/index.js +0 -0
- package/dist/api/issuing.d.ts +0 -0
- package/dist/api/issuing.js +0 -0
- package/dist/api/kyc.d.ts +0 -0
- package/dist/api/kyc.js +0 -0
- package/dist/api/list.d.ts +0 -0
- package/dist/api/list.js +0 -0
- package/dist/api/location.d.ts +0 -0
- package/dist/api/location.js +0 -0
- package/dist/api/orders.d.ts +0 -0
- package/dist/api/orders.js +0 -0
- package/dist/api/persona.d.ts +0 -0
- package/dist/api/persona.js +0 -0
- package/dist/api/tenants.d.ts +0 -0
- package/dist/api/tenants.js +0 -0
- package/dist/api/totp.d.ts +0 -0
- package/dist/api/totp.js +0 -0
- package/dist/api/types/autogen/apiV2.types.d.ts +60 -0
- package/dist/api/types/autogen/apiV2.types.js +0 -0
- package/dist/api/types/types.d.ts +121 -94
- package/dist/api/types/types.js +0 -0
- package/dist/api/types.d.ts +0 -0
- package/dist/api/types.js +0 -0
- package/dist/api/user.d.ts +0 -0
- package/dist/api/user.js +0 -0
- package/dist/api/virtual-accounts.d.ts +2 -2
- package/dist/api/virtual-accounts.js +0 -0
- package/dist/api/wallets.d.ts +0 -0
- package/dist/api/wallets.js +0 -0
- package/dist/constants.d.ts +0 -0
- package/dist/constants.js +0 -0
- package/dist/hooks/index.d.ts +0 -0
- package/dist/hooks/index.js +0 -0
- package/dist/hooks/useCalc.d.ts +0 -0
- package/dist/hooks/useCalc.js +0 -0
- package/dist/hooks/useSupabaseSubscription/config.d.ts +0 -0
- package/dist/hooks/useSupabaseSubscription/config.js +0 -0
- package/dist/hooks/useSupabaseSubscription/index.d.ts +0 -0
- package/dist/hooks/useSupabaseSubscription/index.js +0 -0
- package/dist/hooks/useSupabaseSubscription/specialized.d.ts +0 -0
- package/dist/hooks/useSupabaseSubscription/specialized.js +0 -0
- package/dist/hooks/useSupabaseSubscription/types.d.ts +0 -0
- package/dist/hooks/useSupabaseSubscription/types.js +0 -0
- package/dist/hooks/useSupabaseSubscription/useSupabaseSubscription.d.ts +0 -0
- package/dist/hooks/useSupabaseSubscription/useSupabaseSubscription.js +0 -0
- package/dist/index.d.ts +0 -0
- package/dist/index.js +0 -0
- package/dist/utils/apiClientFactory.d.ts +0 -0
- package/dist/utils/apiClientFactory.js +0 -0
- package/dist/utils/common.d.ts +0 -0
- package/dist/utils/common.js +0 -0
- package/dist/utils/converters.d.ts +0 -0
- package/dist/utils/converters.js +0 -0
- package/dist/utils/encrypt.d.ts +0 -0
- package/dist/utils/encrypt.js +0 -0
- package/dist/utils/storage.d.ts +0 -0
- package/dist/utils/storage.js +0 -0
- package/dist/utils/supabase.d.ts +0 -0
- package/dist/utils/supabase.js +0 -0
- package/dist/utils/tokensFactory.d.ts +0 -0
- package/dist/utils/tokensFactory.js +0 -0
- package/package.json +1 -1
- package/src/api/types/autogen/apiV2.types.ts +60 -0
- package/src/api/types/types.ts +211 -132
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { API } from './types/types';
|
|
2
2
|
export declare const virtualAccounts: {
|
|
3
|
-
create: (data: API.VirtualAccounts.Create.Request) => Promise<API.VirtualAccounts.VirtualAccount.
|
|
3
|
+
create: (data: API.VirtualAccounts.Create.Request) => Promise<API.VirtualAccounts.VirtualAccount.VirtualAccountDetailItem>;
|
|
4
4
|
getAll: ({ wallet_uuid, ...params }: API.VirtualAccounts.GetAll.Request) => Promise<API.VirtualAccounts.GetAll.Response>;
|
|
5
|
-
getByUuid: ({ uuid }: API.VirtualAccounts.GetByUuid.Request) => Promise<API.VirtualAccounts.VirtualAccount.
|
|
5
|
+
getByUuid: ({ uuid }: API.VirtualAccounts.GetByUuid.Request) => Promise<API.VirtualAccounts.VirtualAccount.VirtualAccountDetailItem>;
|
|
6
6
|
programs: {
|
|
7
7
|
list: (params: API.VirtualAccounts.Programs.List.Request) => Promise<API.VirtualAccounts.Programs.List.Response>;
|
|
8
8
|
};
|
|
File without changes
|
package/dist/api/wallets.d.ts
CHANGED
|
File without changes
|
package/dist/api/wallets.js
CHANGED
|
File without changes
|
package/dist/constants.d.ts
CHANGED
|
File without changes
|
package/dist/constants.js
CHANGED
|
File without changes
|
package/dist/hooks/index.d.ts
CHANGED
|
File without changes
|
package/dist/hooks/index.js
CHANGED
|
File without changes
|
package/dist/hooks/useCalc.d.ts
CHANGED
|
File without changes
|
package/dist/hooks/useCalc.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/index.d.ts
CHANGED
|
File without changes
|
package/dist/index.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/utils/common.d.ts
CHANGED
|
File without changes
|
package/dist/utils/common.js
CHANGED
|
File without changes
|
|
File without changes
|
package/dist/utils/converters.js
CHANGED
|
File without changes
|
package/dist/utils/encrypt.d.ts
CHANGED
|
File without changes
|
package/dist/utils/encrypt.js
CHANGED
|
File without changes
|
package/dist/utils/storage.d.ts
CHANGED
|
File without changes
|
package/dist/utils/storage.js
CHANGED
|
File without changes
|
package/dist/utils/supabase.d.ts
CHANGED
|
File without changes
|
package/dist/utils/supabase.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1020,6 +1020,22 @@ export interface paths {
|
|
|
1020
1020
|
patch?: never;
|
|
1021
1021
|
trace?: never;
|
|
1022
1022
|
};
|
|
1023
|
+
"/persona-admin/{wallet_id}": {
|
|
1024
|
+
parameters: {
|
|
1025
|
+
query?: never;
|
|
1026
|
+
header?: never;
|
|
1027
|
+
path?: never;
|
|
1028
|
+
cookie?: never;
|
|
1029
|
+
};
|
|
1030
|
+
get?: never;
|
|
1031
|
+
put?: never;
|
|
1032
|
+
post: operations["PersonaAdminController_syncKycEntityWithPersona"];
|
|
1033
|
+
delete?: never;
|
|
1034
|
+
options?: never;
|
|
1035
|
+
head?: never;
|
|
1036
|
+
patch?: never;
|
|
1037
|
+
trace?: never;
|
|
1038
|
+
};
|
|
1023
1039
|
"/bank-data": {
|
|
1024
1040
|
parameters: {
|
|
1025
1041
|
query?: never;
|
|
@@ -1790,12 +1806,24 @@ export interface components {
|
|
|
1790
1806
|
selfie_url?: string | null;
|
|
1791
1807
|
annual_salary?: string | null;
|
|
1792
1808
|
expected_monthly_volume?: string | null;
|
|
1809
|
+
monthly_crypto_deposits?: string | null;
|
|
1810
|
+
monthly_crypto_investment_deposit?: string | null;
|
|
1811
|
+
monthly_crypto_investment_withdrawal?: string | null;
|
|
1812
|
+
monthly_crypto_withdrawals?: string | null;
|
|
1813
|
+
monthly_investment_deposit?: string | null;
|
|
1814
|
+
monthly_investment_withdrawal?: string | null;
|
|
1815
|
+
monthly_withdrawals?: string | null;
|
|
1816
|
+
usd_value_of_crypto?: string | null;
|
|
1817
|
+
usd_value_of_fiat?: string | null;
|
|
1793
1818
|
occupation?: string | null;
|
|
1794
1819
|
/**
|
|
1795
1820
|
* @default UNVERIFIED
|
|
1796
1821
|
* @enum {string}
|
|
1797
1822
|
*/
|
|
1798
1823
|
status: "APPROVED" | "DECLINED" | "PENDING" | "HOLD" | "DOUBLE" | "SOFT_REJECT" | "REJECT" | "UNVERIFIED" | "WAITING_ON_UBOS" | "WAITING_ON_REVIEW";
|
|
1824
|
+
/** @enum {string|null} */
|
|
1825
|
+
employment_status?: "EMPLOYEE" | "SELF_EMPLOYED" | "RETIRED" | "UNEMPLOYED" | "OTHER" | null;
|
|
1826
|
+
employment_description?: string | null;
|
|
1799
1827
|
address?: components["schemas"]["KycAddressDto"] | null;
|
|
1800
1828
|
beneficial_owners?: components["schemas"]["KycBeneficialOwnerDto"][] | null;
|
|
1801
1829
|
};
|
|
@@ -1881,7 +1909,19 @@ export interface components {
|
|
|
1881
1909
|
selfie_url?: string | null;
|
|
1882
1910
|
annual_salary?: string | null;
|
|
1883
1911
|
expected_monthly_volume?: string | null;
|
|
1912
|
+
monthly_crypto_deposits?: string | null;
|
|
1913
|
+
monthly_crypto_investment_deposit?: string | null;
|
|
1914
|
+
monthly_crypto_investment_withdrawal?: string | null;
|
|
1915
|
+
monthly_crypto_withdrawals?: string | null;
|
|
1916
|
+
monthly_investment_deposit?: string | null;
|
|
1917
|
+
monthly_investment_withdrawal?: string | null;
|
|
1918
|
+
monthly_withdrawals?: string | null;
|
|
1919
|
+
usd_value_of_crypto?: string | null;
|
|
1920
|
+
usd_value_of_fiat?: string | null;
|
|
1884
1921
|
occupation?: string | null;
|
|
1922
|
+
/** @enum {string|null} */
|
|
1923
|
+
employment_status?: "EMPLOYEE" | "SELF_EMPLOYED" | "RETIRED" | "UNEMPLOYED" | "OTHER" | null;
|
|
1924
|
+
employment_description?: string | null;
|
|
1885
1925
|
address?: components["schemas"]["KycAddressDto"] | null;
|
|
1886
1926
|
beneficial_owners?: components["schemas"]["KycBeneficialOwnerDto"][] | null;
|
|
1887
1927
|
};
|
|
@@ -4746,6 +4786,26 @@ export interface operations {
|
|
|
4746
4786
|
};
|
|
4747
4787
|
};
|
|
4748
4788
|
};
|
|
4789
|
+
PersonaAdminController_syncKycEntityWithPersona: {
|
|
4790
|
+
parameters: {
|
|
4791
|
+
query?: never;
|
|
4792
|
+
header?: never;
|
|
4793
|
+
path: {
|
|
4794
|
+
wallet_id: string;
|
|
4795
|
+
};
|
|
4796
|
+
cookie?: never;
|
|
4797
|
+
};
|
|
4798
|
+
requestBody?: never;
|
|
4799
|
+
responses: {
|
|
4800
|
+
/** @description Invalid tenant */
|
|
4801
|
+
401: {
|
|
4802
|
+
headers: {
|
|
4803
|
+
[name: string]: unknown;
|
|
4804
|
+
};
|
|
4805
|
+
content?: never;
|
|
4806
|
+
};
|
|
4807
|
+
};
|
|
4808
|
+
};
|
|
4749
4809
|
BankDataController_getBankDataByAccountNumber: {
|
|
4750
4810
|
parameters: {
|
|
4751
4811
|
query: {
|