squarefi-bff-api-module 1.31.1 → 1.31.3

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.
@@ -1219,6 +1219,10 @@ export declare namespace API {
1219
1219
  }
1220
1220
  }
1221
1221
  namespace V2 {
1222
+ interface Document {
1223
+ url: string;
1224
+ description: string;
1225
+ }
1222
1226
  namespace Calc {
1223
1227
  interface CommonRequestParams {
1224
1228
  from_currency_id: string;
@@ -1268,6 +1272,7 @@ export declare namespace API {
1268
1272
  is_reverse: boolean;
1269
1273
  reference?: string;
1270
1274
  note?: string;
1275
+ documents?: Document[];
1271
1276
  }
1272
1277
  interface OrderWithCounterpartyParams extends BaseOrderParams {
1273
1278
  counterparty_destination_id: string;
@@ -1276,7 +1281,7 @@ export declare namespace API {
1276
1281
  wallet_account_id: string;
1277
1282
  }
1278
1283
  interface OrderWithVirtualAccountParams extends BaseOrderParams {
1279
- virtual_account_id?: string;
1284
+ virtual_account_id: string;
1280
1285
  }
1281
1286
  interface OrderWithSubAccountParams extends BaseOrderParams {
1282
1287
  sub_account_id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "squarefi-bff-api-module",
3
- "version": "1.31.1",
3
+ "version": "1.31.3",
4
4
  "description": "Squarefi BFF API client module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1662,6 +1662,10 @@ export namespace API {
1662
1662
  // }
1663
1663
  // }
1664
1664
  export namespace V2 {
1665
+ export interface Document {
1666
+ url: string;
1667
+ description: string;
1668
+ }
1665
1669
  export namespace Calc {
1666
1670
  interface CommonRequestParams {
1667
1671
  from_currency_id: string;
@@ -1718,6 +1722,7 @@ export namespace API {
1718
1722
  is_reverse: boolean;
1719
1723
  reference?: string;
1720
1724
  note?: string;
1725
+ documents?: Document[];
1721
1726
  }
1722
1727
 
1723
1728
  export interface OrderWithCounterpartyParams extends BaseOrderParams {
@@ -1729,7 +1734,7 @@ export namespace API {
1729
1734
  }
1730
1735
 
1731
1736
  export interface OrderWithVirtualAccountParams extends BaseOrderParams {
1732
- virtual_account_id?: string;
1737
+ virtual_account_id: string;
1733
1738
  }
1734
1739
 
1735
1740
  export interface OrderWithSubAccountParams extends BaseOrderParams {