squarefi-bff-api-module 1.26.8 → 1.26.10

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.
Files changed (81) hide show
  1. package/dist/api/auth.d.ts +0 -0
  2. package/dist/api/auth.js +0 -0
  3. package/dist/api/config.d.ts +0 -0
  4. package/dist/api/config.js +0 -0
  5. package/dist/api/counterparties.d.ts +0 -0
  6. package/dist/api/counterparties.js +0 -0
  7. package/dist/api/developer.d.ts +0 -0
  8. package/dist/api/developer.js +0 -0
  9. package/dist/api/exchange.d.ts +0 -0
  10. package/dist/api/exchange.js +0 -0
  11. package/dist/api/fetch_api.d.ts +0 -0
  12. package/dist/api/fetch_api.js +0 -0
  13. package/dist/api/fiat_accounts.d.ts +0 -0
  14. package/dist/api/fiat_accounts.js +0 -0
  15. package/dist/api/frontend.d.ts +0 -0
  16. package/dist/api/frontend.js +0 -0
  17. package/dist/api/index.d.ts +0 -0
  18. package/dist/api/index.js +0 -0
  19. package/dist/api/issuing.d.ts +0 -0
  20. package/dist/api/issuing.js +0 -0
  21. package/dist/api/kyc.d.ts +0 -0
  22. package/dist/api/kyc.js +0 -0
  23. package/dist/api/list.d.ts +0 -0
  24. package/dist/api/list.js +0 -0
  25. package/dist/api/location.d.ts +0 -0
  26. package/dist/api/location.js +0 -0
  27. package/dist/api/orders.d.ts +0 -0
  28. package/dist/api/orders.js +0 -0
  29. package/dist/api/persona.d.ts +0 -0
  30. package/dist/api/persona.js +0 -0
  31. package/dist/api/tenants.d.ts +0 -0
  32. package/dist/api/tenants.js +0 -0
  33. package/dist/api/totp.d.ts +0 -0
  34. package/dist/api/totp.js +0 -0
  35. package/dist/api/types/autogen/apiV2.types.d.ts +60 -0
  36. package/dist/api/types/autogen/apiV2.types.js +0 -0
  37. package/dist/api/types/types.d.ts +93 -90
  38. package/dist/api/types/types.js +0 -0
  39. package/dist/api/types.d.ts +0 -0
  40. package/dist/api/types.js +0 -0
  41. package/dist/api/user.d.ts +0 -0
  42. package/dist/api/user.js +0 -0
  43. package/dist/api/virtual-accounts.d.ts +0 -0
  44. package/dist/api/virtual-accounts.js +0 -0
  45. package/dist/api/wallets.d.ts +0 -0
  46. package/dist/api/wallets.js +0 -0
  47. package/dist/constants.d.ts +0 -0
  48. package/dist/constants.js +0 -0
  49. package/dist/hooks/index.d.ts +0 -0
  50. package/dist/hooks/index.js +0 -0
  51. package/dist/hooks/useCalc.d.ts +0 -0
  52. package/dist/hooks/useCalc.js +0 -0
  53. package/dist/hooks/useSupabaseSubscription/config.d.ts +0 -0
  54. package/dist/hooks/useSupabaseSubscription/config.js +0 -0
  55. package/dist/hooks/useSupabaseSubscription/index.d.ts +0 -0
  56. package/dist/hooks/useSupabaseSubscription/index.js +0 -0
  57. package/dist/hooks/useSupabaseSubscription/specialized.d.ts +0 -0
  58. package/dist/hooks/useSupabaseSubscription/specialized.js +0 -0
  59. package/dist/hooks/useSupabaseSubscription/types.d.ts +0 -0
  60. package/dist/hooks/useSupabaseSubscription/types.js +0 -0
  61. package/dist/hooks/useSupabaseSubscription/useSupabaseSubscription.d.ts +0 -0
  62. package/dist/hooks/useSupabaseSubscription/useSupabaseSubscription.js +0 -0
  63. package/dist/index.d.ts +0 -0
  64. package/dist/index.js +0 -0
  65. package/dist/utils/apiClientFactory.d.ts +0 -0
  66. package/dist/utils/apiClientFactory.js +0 -0
  67. package/dist/utils/common.d.ts +0 -0
  68. package/dist/utils/common.js +0 -0
  69. package/dist/utils/converters.d.ts +0 -0
  70. package/dist/utils/converters.js +0 -0
  71. package/dist/utils/encrypt.d.ts +0 -0
  72. package/dist/utils/encrypt.js +0 -0
  73. package/dist/utils/storage.d.ts +0 -0
  74. package/dist/utils/storage.js +0 -0
  75. package/dist/utils/supabase.d.ts +0 -0
  76. package/dist/utils/supabase.js +0 -0
  77. package/dist/utils/tokensFactory.d.ts +0 -0
  78. package/dist/utils/tokensFactory.js +0 -0
  79. package/package.json +1 -1
  80. package/src/api/types/autogen/apiV2.types.ts +60 -0
  81. package/src/api/types/types.ts +165 -112
package/dist/index.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
File without changes
File without changes
File without changes
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "squarefi-bff-api-module",
3
- "version": "1.26.8",
3
+ "version": "1.26.10",
4
4
  "description": "Squarefi BFF API client module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -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: {