squarefi-bff-api-module 1.27.0 → 1.27.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.
|
@@ -1393,15 +1393,15 @@ export declare namespace API {
|
|
|
1393
1393
|
from_currency_id: string;
|
|
1394
1394
|
to_currency_id: string;
|
|
1395
1395
|
is_subtract: boolean;
|
|
1396
|
+
is_reverse: boolean;
|
|
1396
1397
|
reference?: string;
|
|
1397
1398
|
note?: string;
|
|
1398
1399
|
}
|
|
1399
1400
|
interface OrderWithCounterpartyParams extends BaseOrderParams {
|
|
1400
1401
|
counterparty_destination_id: string;
|
|
1401
1402
|
}
|
|
1402
|
-
interface
|
|
1403
|
+
interface OrderWithWalletAccountParams extends BaseOrderParams {
|
|
1403
1404
|
wallet_account_id: string;
|
|
1404
|
-
note?: string;
|
|
1405
1405
|
}
|
|
1406
1406
|
interface OrderWithVirtualAccountParams extends BaseOrderParams {
|
|
1407
1407
|
virtual_account_id: string;
|
|
@@ -1470,7 +1470,7 @@ export declare namespace API {
|
|
|
1470
1470
|
};
|
|
1471
1471
|
}
|
|
1472
1472
|
interface L2FResponse extends BaseOrderResponse {
|
|
1473
|
-
order_type:
|
|
1473
|
+
order_type: 'L2F_SEPA_OFFRAMP' | 'L2F_SWIFT_OFFRAMP' | 'L2F_ACH_OFFRAMP' | 'L2F_WIRE_OFFRAMP';
|
|
1474
1474
|
meta: {
|
|
1475
1475
|
request_id: string;
|
|
1476
1476
|
virtual_account_id: string;
|
|
@@ -1539,7 +1539,9 @@ export declare namespace API {
|
|
|
1539
1539
|
type Response = Common.Response.CryptoTransferResponse;
|
|
1540
1540
|
}
|
|
1541
1541
|
namespace SEGREGATED_CRYPTO_TRANSFER {
|
|
1542
|
-
type Request = Common.Request.OrderWithCounterpartyParams
|
|
1542
|
+
type Request = Common.Request.OrderWithWalletAccountParams & Common.Request.OrderWithCounterpartyParams & {
|
|
1543
|
+
to_currency_id?: never;
|
|
1544
|
+
};
|
|
1543
1545
|
type Response = Common.Response.CryptoTransferResponse;
|
|
1544
1546
|
}
|
|
1545
1547
|
namespace RN_CARDS_OFFRAMP {
|
package/package.json
CHANGED
package/src/api/types/types.ts
CHANGED
|
@@ -1848,6 +1848,7 @@ export namespace API {
|
|
|
1848
1848
|
from_currency_id: string;
|
|
1849
1849
|
to_currency_id: string;
|
|
1850
1850
|
is_subtract: boolean;
|
|
1851
|
+
is_reverse: boolean;
|
|
1851
1852
|
reference?: string;
|
|
1852
1853
|
note?: string;
|
|
1853
1854
|
}
|
|
@@ -1856,9 +1857,8 @@ export namespace API {
|
|
|
1856
1857
|
counterparty_destination_id: string;
|
|
1857
1858
|
}
|
|
1858
1859
|
|
|
1859
|
-
export interface
|
|
1860
|
+
export interface OrderWithWalletAccountParams extends BaseOrderParams {
|
|
1860
1861
|
wallet_account_id: string;
|
|
1861
|
-
note?: string;
|
|
1862
1862
|
}
|
|
1863
1863
|
|
|
1864
1864
|
export interface OrderWithVirtualAccountParams extends BaseOrderParams {
|
|
@@ -1934,7 +1934,7 @@ export namespace API {
|
|
|
1934
1934
|
}
|
|
1935
1935
|
|
|
1936
1936
|
export interface L2FResponse extends BaseOrderResponse {
|
|
1937
|
-
order_type:
|
|
1937
|
+
order_type: 'L2F_SEPA_OFFRAMP' | 'L2F_SWIFT_OFFRAMP' | 'L2F_ACH_OFFRAMP' | 'L2F_WIRE_OFFRAMP';
|
|
1938
1938
|
meta: {
|
|
1939
1939
|
request_id: string;
|
|
1940
1940
|
virtual_account_id: string;
|
|
@@ -1998,7 +1998,10 @@ export namespace API {
|
|
|
1998
1998
|
export type Response = Common.Response.CryptoTransferResponse;
|
|
1999
1999
|
}
|
|
2000
2000
|
export namespace SEGREGATED_CRYPTO_TRANSFER {
|
|
2001
|
-
export type Request = Common.Request.
|
|
2001
|
+
export type Request = Common.Request.OrderWithWalletAccountParams &
|
|
2002
|
+
Common.Request.OrderWithCounterpartyParams & {
|
|
2003
|
+
to_currency_id?: never;
|
|
2004
|
+
};
|
|
2002
2005
|
export type Response = Common.Response.CryptoTransferResponse;
|
|
2003
2006
|
}
|
|
2004
2007
|
export namespace RN_CARDS_OFFRAMP {
|