squarefi-bff-api-module 1.36.11 → 1.36.13

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.
@@ -1312,10 +1312,7 @@ export interface paths {
1312
1312
  /** Delete destination */
1313
1313
  delete: {
1314
1314
  parameters: {
1315
- query: {
1316
- /** @description OTP verification request ID */
1317
- request_id: string;
1318
- };
1315
+ query?: never;
1319
1316
  header?: never;
1320
1317
  path: {
1321
1318
  id: string;
@@ -1340,7 +1337,7 @@ export interface paths {
1340
1337
  };
1341
1338
  };
1342
1339
  };
1343
- /** @description Access denied or verification failed */
1340
+ /** @description Access denied */
1344
1341
  403: {
1345
1342
  headers: {
1346
1343
  [name: string]: unknown;
@@ -7695,6 +7692,13 @@ export interface paths {
7695
7692
  };
7696
7693
  content?: never;
7697
7694
  };
7695
+ /** @description Operation already in progress — a concurrent accept/decline for this invite code is being processed */
7696
+ 409: {
7697
+ headers: {
7698
+ [name: string]: unknown;
7699
+ };
7700
+ content?: never;
7701
+ };
7698
7702
  };
7699
7703
  };
7700
7704
  delete?: never;
@@ -7777,6 +7781,13 @@ export interface paths {
7777
7781
  };
7778
7782
  content?: never;
7779
7783
  };
7784
+ /** @description Operation already in progress — a concurrent accept/decline for this invite code is being processed */
7785
+ 409: {
7786
+ headers: {
7787
+ [name: string]: unknown;
7788
+ };
7789
+ content?: never;
7790
+ };
7780
7791
  };
7781
7792
  };
7782
7793
  delete?: never;
@@ -9875,6 +9886,13 @@ export interface paths {
9875
9886
  };
9876
9887
  content?: never;
9877
9888
  };
9889
+ /** @description Operation already in progress — a concurrent invite for the same email is being processed */
9890
+ 409: {
9891
+ headers: {
9892
+ [name: string]: unknown;
9893
+ };
9894
+ content?: never;
9895
+ };
9878
9896
  };
9879
9897
  };
9880
9898
  delete?: never;
@@ -9992,6 +10010,13 @@ export interface paths {
9992
10010
  };
9993
10011
  content?: never;
9994
10012
  };
10013
+ /** @description Operation already in progress — a concurrent cancel for this invite is being processed */
10014
+ 409: {
10015
+ headers: {
10016
+ [name: string]: unknown;
10017
+ };
10018
+ content?: never;
10019
+ };
9995
10020
  };
9996
10021
  };
9997
10022
  options?: never;
@@ -595,11 +595,6 @@ export interface paths {
595
595
  requestBody: {
596
596
  content: {
597
597
  "application/json": {
598
- /**
599
- * Format: uuid
600
- * @description OTP verification request ID
601
- */
602
- request_id: string;
603
598
  /** Format: uuid */
604
599
  counterparty_account_id: string;
605
600
  /** @enum {string} */
@@ -730,10 +725,7 @@ export interface paths {
730
725
  /** Delete destination */
731
726
  delete: {
732
727
  parameters: {
733
- query: {
734
- /** @description OTP verification request ID */
735
- request_id: string;
736
- };
728
+ query?: never;
737
729
  header?: never;
738
730
  path: {
739
731
  id: string;
@@ -449,8 +449,9 @@ export declare namespace API {
449
449
  type Response = Detail.DestinationDetailItem;
450
450
  }
451
451
  namespace Delete {
452
- type Request = NonNullable<pathsV1Frontend['/frontend/counterparty/destinations/{id}']['delete']['parameters']['query']> & {
452
+ type Request = {
453
453
  counterparty_destination_id: string;
454
+ request_id?: string;
454
455
  wallet_id?: string;
455
456
  counterparty_account_id?: string;
456
457
  };
@@ -1688,6 +1689,7 @@ export declare namespace API {
1688
1689
  updated_at: string;
1689
1690
  deleted_at?: string | null;
1690
1691
  is_deleted?: boolean | null;
1692
+ internal_wallet_data_id?: string | null;
1691
1693
  counterparty_account: CounterpartyAccount;
1692
1694
  external_banking_data?: ExternalBankingData | null;
1693
1695
  external_crypto_data?: ExternalCryptoData | null;
@@ -1702,12 +1704,6 @@ export declare namespace API {
1702
1704
  postal_code: string;
1703
1705
  country_code: string;
1704
1706
  }
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
1707
  interface VirtualAccountDetails {
1712
1708
  id: string;
1713
1709
  created_at: string;
@@ -1726,20 +1722,32 @@ export declare namespace API {
1726
1722
  asset_type_id: string;
1727
1723
  deposit_type: string;
1728
1724
  meta?: Record<string, unknown>;
1729
- account_details: VirtualAccountAccountDetails;
1725
+ is_deposit_enabled?: boolean;
1730
1726
  deposit_instructions?: API.VirtualAccounts.VirtualAccount.DepositInstruction.DepositInstruction[];
1731
1727
  account_currency_details: API.Currencies.SimplifiedCurrency;
1732
1728
  destination_currency_details: API.Currencies.SimplifiedCurrency;
1733
1729
  integration_vendor: IntegrationVendorExtended;
1734
1730
  }
1735
1731
  type OrderDetails = API.Orders.V2.List.ByWallet.OrderItem & {
1736
- request_id: string;
1732
+ request_id?: string | null;
1737
1733
  updated_at: string;
1738
- wallet: API.Wallets.SimplifiedWallet;
1734
+ fee?: number | null;
1735
+ fee_currency_id?: string | null;
1736
+ network_fee?: number | null;
1737
+ network_fee_currency_id?: string | null;
1738
+ exchange_rate?: number | null;
1739
+ from_currency_id?: string | null;
1740
+ to_currency_id?: string | null;
1741
+ workflow_run_id?: string | null;
1742
+ wallet: {
1743
+ uuid: string;
1744
+ tenant_id: string;
1745
+ };
1739
1746
  from_currency: API.Currencies.SimplifiedCurrency;
1740
1747
  to_currency: API.Currencies.SimplifiedCurrency;
1741
1748
  virtual_account?: VirtualAccountDetails | null;
1742
1749
  counterparty_destination?: CounterpartyDestination | null;
1750
+ documents?: unknown[];
1743
1751
  };
1744
1752
  type Response = OrderDetails;
1745
1753
  }
@@ -1932,28 +1940,6 @@ export declare namespace API {
1932
1940
  name: string;
1933
1941
  address: string;
1934
1942
  }
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
1943
  interface PaymentRail {
1958
1944
  currency: string;
1959
1945
  paymentRail: string[];
@@ -2042,13 +2028,11 @@ export declare namespace API {
2042
2028
  destination_address: string;
2043
2029
  integration_vendor_id: string;
2044
2030
  vendor_account_id: string;
2045
- account_details: API.VirtualAccounts.VirtualAccount.AccountDetails;
2046
2031
  virtual_accounts_program: API.VirtualAccounts.Programs.Program;
2047
2032
  deposit_instructions?: API.VirtualAccounts.VirtualAccount.DepositInstruction.DepositInstruction[];
2048
2033
  }
2049
2034
  interface VirtualAccountDetailItem {
2050
2035
  account_currency: string;
2051
- account_details: API.VirtualAccounts.VirtualAccount.AccountDetails;
2052
2036
  balance: number;
2053
2037
  crypto_deposit_details: {
2054
2038
  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.13",
4
4
  "description": "Squarefi BFF API client module",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",