squarefi-bff-api-module 1.30.3 → 1.30.5

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.
@@ -1445,14 +1445,19 @@ export declare namespace API {
1445
1445
  }
1446
1446
  }
1447
1447
  namespace OrderTypes {
1448
+ type OrderTypeKycRail = {
1449
+ id: string;
1450
+ kyc_rail_id: string;
1451
+ };
1448
1452
  interface OrderInfo {
1449
1453
  id: OrderType | string;
1450
1454
  transaction_type: string;
1451
1455
  description: string | null;
1452
1456
  direction: string | null;
1453
1457
  is_internal: boolean;
1454
- kyc_rails_id: string | null;
1455
1458
  payment_method: OrderPaymentMethod | string;
1459
+ is_trusted: boolean;
1460
+ order_types_kyc_rails: OrderTypeKycRail[];
1456
1461
  }
1457
1462
  namespace List {
1458
1463
  type Response = OrderInfo[];
@@ -1511,6 +1516,7 @@ export declare namespace API {
1511
1516
  fee?: number;
1512
1517
  fee_currency?: string;
1513
1518
  from_currency_id?: string;
1519
+ from_crypto_address?: string | null;
1514
1520
  to_currency_id?: string;
1515
1521
  chain_id?: number | null;
1516
1522
  counterparty_destination_id?: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "squarefi-bff-api-module",
3
- "version": "1.30.3",
3
+ "version": "1.30.5",
4
4
  "description": "Squarefi BFF API client module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1901,14 +1901,20 @@ export namespace API {
1901
1901
  }
1902
1902
 
1903
1903
  export namespace OrderTypes {
1904
+ export type OrderTypeKycRail = {
1905
+ id: string;
1906
+ kyc_rail_id: string;
1907
+ };
1904
1908
  export interface OrderInfo {
1905
1909
  id: OrderType | string;
1906
1910
  transaction_type: string;
1907
1911
  description: string | null;
1908
1912
  direction: string | null;
1909
1913
  is_internal: boolean;
1910
- kyc_rails_id: string | null;
1914
+ // kyc_rails_id: string | null; // deprecated use order_types_kyc_rails instead
1911
1915
  payment_method: OrderPaymentMethod | string;
1916
+ is_trusted: boolean;
1917
+ order_types_kyc_rails: OrderTypeKycRail[];
1912
1918
  }
1913
1919
 
1914
1920
  export namespace List {
@@ -1977,6 +1983,7 @@ export namespace API {
1977
1983
  fee?: number;
1978
1984
  fee_currency?: string;
1979
1985
  from_currency_id?: string;
1986
+ from_crypto_address?: string | null;
1980
1987
  to_currency_id?: string;
1981
1988
  chain_id?: number | null;
1982
1989
  counterparty_destination_id?: string | null;