squarefi-bff-api-module 1.31.0 → 1.31.2

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.
@@ -1276,7 +1276,7 @@ export declare namespace API {
1276
1276
  wallet_account_id: string;
1277
1277
  }
1278
1278
  interface OrderWithVirtualAccountParams extends BaseOrderParams {
1279
- virtual_account_id?: string;
1279
+ virtual_account_id: string;
1280
1280
  }
1281
1281
  interface OrderWithSubAccountParams extends BaseOrderParams {
1282
1282
  sub_account_id: string;
@@ -1407,7 +1407,7 @@ export declare namespace API {
1407
1407
  };
1408
1408
  }
1409
1409
  namespace OMNIBUS_CRYPTO_TRANSFER {
1410
- type Request = Common.Request.OrderWithCounterpartyParams;
1410
+ type Request = Omit<Common.Request.OrderWithWalletAccountParams, 'to_currency_id'> & Omit<Common.Request.OrderWithCounterpartyParams, 'to_currency_id'>;
1411
1411
  type Response = Common.Response.CryptoTransferResponse;
1412
1412
  }
1413
1413
  namespace SEGREGATED_CRYPTO_TRANSFER {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "squarefi-bff-api-module",
3
- "version": "1.31.0",
3
+ "version": "1.31.2",
4
4
  "description": "Squarefi BFF API client module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1729,7 +1729,7 @@ export namespace API {
1729
1729
  }
1730
1730
 
1731
1731
  export interface OrderWithVirtualAccountParams extends BaseOrderParams {
1732
- virtual_account_id?: string;
1732
+ virtual_account_id: string;
1733
1733
  }
1734
1734
 
1735
1735
  export interface OrderWithSubAccountParams extends BaseOrderParams {
@@ -1861,7 +1861,8 @@ export namespace API {
1861
1861
  }
1862
1862
 
1863
1863
  export namespace OMNIBUS_CRYPTO_TRANSFER {
1864
- export type Request = Common.Request.OrderWithCounterpartyParams;
1864
+ export type Request = Omit<Common.Request.OrderWithWalletAccountParams, 'to_currency_id'> &
1865
+ Omit<Common.Request.OrderWithCounterpartyParams, 'to_currency_id'>;
1865
1866
  export type Response = Common.Response.CryptoTransferResponse;
1866
1867
  }
1867
1868
  export namespace SEGREGATED_CRYPTO_TRANSFER {