squarefi-bff-api-module 1.36.11 → 1.36.12

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.
@@ -1688,6 +1688,7 @@ export declare namespace API {
1688
1688
  updated_at: string;
1689
1689
  deleted_at?: string | null;
1690
1690
  is_deleted?: boolean | null;
1691
+ internal_wallet_data_id?: string | null;
1691
1692
  counterparty_account: CounterpartyAccount;
1692
1693
  external_banking_data?: ExternalBankingData | null;
1693
1694
  external_crypto_data?: ExternalCryptoData | null;
@@ -1702,12 +1703,6 @@ export declare namespace API {
1702
1703
  postal_code: string;
1703
1704
  country_code: string;
1704
1705
  }
1705
- interface VirtualAccountAccountDetails {
1706
- rail_account_id: string;
1707
- rail_asset_type: string;
1708
- rail_product_id: string;
1709
- rail_customer_id: string;
1710
- }
1711
1706
  interface VirtualAccountDetails {
1712
1707
  id: string;
1713
1708
  created_at: string;
@@ -1726,20 +1721,32 @@ export declare namespace API {
1726
1721
  asset_type_id: string;
1727
1722
  deposit_type: string;
1728
1723
  meta?: Record<string, unknown>;
1729
- account_details: VirtualAccountAccountDetails;
1724
+ is_deposit_enabled?: boolean;
1730
1725
  deposit_instructions?: API.VirtualAccounts.VirtualAccount.DepositInstruction.DepositInstruction[];
1731
1726
  account_currency_details: API.Currencies.SimplifiedCurrency;
1732
1727
  destination_currency_details: API.Currencies.SimplifiedCurrency;
1733
1728
  integration_vendor: IntegrationVendorExtended;
1734
1729
  }
1735
1730
  type OrderDetails = API.Orders.V2.List.ByWallet.OrderItem & {
1736
- request_id: string;
1731
+ request_id?: string | null;
1737
1732
  updated_at: string;
1738
- wallet: API.Wallets.SimplifiedWallet;
1733
+ fee?: number | null;
1734
+ fee_currency_id?: string | null;
1735
+ network_fee?: number | null;
1736
+ network_fee_currency_id?: string | null;
1737
+ exchange_rate?: number | null;
1738
+ from_currency_id?: string | null;
1739
+ to_currency_id?: string | null;
1740
+ workflow_run_id?: string | null;
1741
+ wallet: {
1742
+ uuid: string;
1743
+ tenant_id: string;
1744
+ };
1739
1745
  from_currency: API.Currencies.SimplifiedCurrency;
1740
1746
  to_currency: API.Currencies.SimplifiedCurrency;
1741
1747
  virtual_account?: VirtualAccountDetails | null;
1742
1748
  counterparty_destination?: CounterpartyDestination | null;
1749
+ documents?: unknown[];
1743
1750
  };
1744
1751
  type Response = OrderDetails;
1745
1752
  }
@@ -1932,28 +1939,6 @@ export declare namespace API {
1932
1939
  name: string;
1933
1940
  address: string;
1934
1941
  }
1935
- interface AccountDetails {
1936
- bankName: string;
1937
- bankAddress: string;
1938
- beneficiary: API.VirtualAccounts.VirtualAccount.Beneficiary;
1939
- swiftCode: string;
1940
- ach?: {
1941
- accountNumber: string;
1942
- routingNumber: string;
1943
- };
1944
- rtp?: {
1945
- accountNumber: string;
1946
- routingNumber: string;
1947
- };
1948
- wire?: {
1949
- accountNumber: string;
1950
- routingNumber: string;
1951
- };
1952
- swift?: {
1953
- accountNumber: string;
1954
- routingNumber: string;
1955
- };
1956
- }
1957
1942
  interface PaymentRail {
1958
1943
  currency: string;
1959
1944
  paymentRail: string[];
@@ -2042,13 +2027,11 @@ export declare namespace API {
2042
2027
  destination_address: string;
2043
2028
  integration_vendor_id: string;
2044
2029
  vendor_account_id: string;
2045
- account_details: API.VirtualAccounts.VirtualAccount.AccountDetails;
2046
2030
  virtual_accounts_program: API.VirtualAccounts.Programs.Program;
2047
2031
  deposit_instructions?: API.VirtualAccounts.VirtualAccount.DepositInstruction.DepositInstruction[];
2048
2032
  }
2049
2033
  interface VirtualAccountDetailItem {
2050
2034
  account_currency: string;
2051
- account_details: API.VirtualAccounts.VirtualAccount.AccountDetails;
2052
2035
  balance: number;
2053
2036
  crypto_deposit_details: {
2054
2037
  currency_id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "squarefi-bff-api-module",
3
- "version": "1.36.11",
3
+ "version": "1.36.12",
4
4
  "description": "Squarefi BFF API client module",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",