squarefi-bff-api-module 1.26.10 → 1.26.12
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.
|
@@ -1995,13 +1995,13 @@ export declare namespace API {
|
|
|
1995
1995
|
wallet_id: string;
|
|
1996
1996
|
va_programs_id: string;
|
|
1997
1997
|
}
|
|
1998
|
-
type Response = API.VirtualAccounts.VirtualAccount.
|
|
1998
|
+
type Response = API.VirtualAccounts.VirtualAccount.VirtualAccountDetailItem;
|
|
1999
1999
|
}
|
|
2000
2000
|
namespace GetByUuid {
|
|
2001
2001
|
interface Request {
|
|
2002
2002
|
uuid: string;
|
|
2003
2003
|
}
|
|
2004
|
-
type Response = API.VirtualAccounts.VirtualAccount.
|
|
2004
|
+
type Response = API.VirtualAccounts.VirtualAccount.VirtualAccountDetailItem;
|
|
2005
2005
|
}
|
|
2006
2006
|
namespace GetAll {
|
|
2007
2007
|
interface Request {
|
|
@@ -2012,7 +2012,7 @@ export declare namespace API {
|
|
|
2012
2012
|
type Response = {
|
|
2013
2013
|
count: number;
|
|
2014
2014
|
has_more: boolean;
|
|
2015
|
-
data: API.VirtualAccounts.VirtualAccount.
|
|
2015
|
+
data: API.VirtualAccounts.VirtualAccount.VirtualAccountListItem[];
|
|
2016
2016
|
};
|
|
2017
2017
|
}
|
|
2018
2018
|
namespace VirtualAccount {
|
|
@@ -2083,7 +2083,7 @@ export declare namespace API {
|
|
|
2083
2083
|
interface OrderType {
|
|
2084
2084
|
order_type_id: string;
|
|
2085
2085
|
}
|
|
2086
|
-
interface
|
|
2086
|
+
interface VirtualAccountListItem {
|
|
2087
2087
|
id: string;
|
|
2088
2088
|
created_at: string;
|
|
2089
2089
|
wallet_id: string;
|
|
@@ -2098,6 +2098,31 @@ export declare namespace API {
|
|
|
2098
2098
|
account_details: API.VirtualAccounts.VirtualAccount.AccountDetails;
|
|
2099
2099
|
virtual_accounts_program: API.VirtualAccounts.Programs.Program;
|
|
2100
2100
|
}
|
|
2101
|
+
interface VirtualAccountDetailItem {
|
|
2102
|
+
account_currency: string;
|
|
2103
|
+
account_currency_details: API.Currencies.Currency;
|
|
2104
|
+
account_details: API.VirtualAccounts.VirtualAccount.AccountDetails;
|
|
2105
|
+
balance: number;
|
|
2106
|
+
crypto_deposit_details: {
|
|
2107
|
+
currency_id: string;
|
|
2108
|
+
deposit_address: string;
|
|
2109
|
+
chain_id: number;
|
|
2110
|
+
}[];
|
|
2111
|
+
created_at: string;
|
|
2112
|
+
destination_address: string;
|
|
2113
|
+
destination_currency: string;
|
|
2114
|
+
destination_currency_details: API.Currencies.Currency;
|
|
2115
|
+
id: string;
|
|
2116
|
+
integration_vendor_id: string;
|
|
2117
|
+
meta: API.VirtualAccounts.VirtualAccount.Meta.Meta;
|
|
2118
|
+
order_types: string[];
|
|
2119
|
+
status: string;
|
|
2120
|
+
total_balance: number;
|
|
2121
|
+
va_programs_id: string;
|
|
2122
|
+
vendor_account_id: string;
|
|
2123
|
+
virtual_accounts_program: API.VirtualAccounts.Programs.Program;
|
|
2124
|
+
wallet_id: string;
|
|
2125
|
+
}
|
|
2101
2126
|
}
|
|
2102
2127
|
namespace Programs {
|
|
2103
2128
|
interface OrderType {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { API } from './types/types';
|
|
2
2
|
export declare const virtualAccounts: {
|
|
3
|
-
create: (data: API.VirtualAccounts.Create.Request) => Promise<API.VirtualAccounts.VirtualAccount.
|
|
3
|
+
create: (data: API.VirtualAccounts.Create.Request) => Promise<API.VirtualAccounts.VirtualAccount.VirtualAccountDetailItem>;
|
|
4
4
|
getAll: ({ wallet_uuid, ...params }: API.VirtualAccounts.GetAll.Request) => Promise<API.VirtualAccounts.GetAll.Response>;
|
|
5
|
-
getByUuid: ({ uuid }: API.VirtualAccounts.GetByUuid.Request) => Promise<API.VirtualAccounts.VirtualAccount.
|
|
5
|
+
getByUuid: ({ uuid }: API.VirtualAccounts.GetByUuid.Request) => Promise<API.VirtualAccounts.VirtualAccount.VirtualAccountDetailItem>;
|
|
6
6
|
programs: {
|
|
7
7
|
list: (params: API.VirtualAccounts.Programs.List.Request) => Promise<API.VirtualAccounts.Programs.List.Response>;
|
|
8
8
|
};
|
package/package.json
CHANGED
package/src/api/types/types.ts
CHANGED
|
@@ -2538,7 +2538,8 @@ export namespace API {
|
|
|
2538
2538
|
va_programs_id: string;
|
|
2539
2539
|
}
|
|
2540
2540
|
|
|
2541
|
-
export type Response =
|
|
2541
|
+
export type Response =
|
|
2542
|
+
API.VirtualAccounts.VirtualAccount.VirtualAccountDetailItem;
|
|
2542
2543
|
}
|
|
2543
2544
|
|
|
2544
2545
|
export namespace GetByUuid {
|
|
@@ -2546,7 +2547,8 @@ export namespace API {
|
|
|
2546
2547
|
uuid: string;
|
|
2547
2548
|
}
|
|
2548
2549
|
|
|
2549
|
-
export type Response =
|
|
2550
|
+
export type Response =
|
|
2551
|
+
API.VirtualAccounts.VirtualAccount.VirtualAccountDetailItem;
|
|
2550
2552
|
}
|
|
2551
2553
|
|
|
2552
2554
|
export namespace GetAll {
|
|
@@ -2559,7 +2561,7 @@ export namespace API {
|
|
|
2559
2561
|
export type Response = {
|
|
2560
2562
|
count: number;
|
|
2561
2563
|
has_more: boolean;
|
|
2562
|
-
data: API.VirtualAccounts.VirtualAccount.
|
|
2564
|
+
data: API.VirtualAccounts.VirtualAccount.VirtualAccountListItem[];
|
|
2563
2565
|
};
|
|
2564
2566
|
}
|
|
2565
2567
|
|
|
@@ -2640,7 +2642,7 @@ export namespace API {
|
|
|
2640
2642
|
order_type_id: string;
|
|
2641
2643
|
}
|
|
2642
2644
|
|
|
2643
|
-
export interface
|
|
2645
|
+
export interface VirtualAccountListItem {
|
|
2644
2646
|
id: string;
|
|
2645
2647
|
created_at: string;
|
|
2646
2648
|
wallet_id: string;
|
|
@@ -2655,6 +2657,31 @@ export namespace API {
|
|
|
2655
2657
|
account_details: API.VirtualAccounts.VirtualAccount.AccountDetails;
|
|
2656
2658
|
virtual_accounts_program: API.VirtualAccounts.Programs.Program;
|
|
2657
2659
|
}
|
|
2660
|
+
export interface VirtualAccountDetailItem {
|
|
2661
|
+
account_currency: string;
|
|
2662
|
+
account_currency_details: API.Currencies.Currency;
|
|
2663
|
+
account_details: API.VirtualAccounts.VirtualAccount.AccountDetails;
|
|
2664
|
+
balance: number;
|
|
2665
|
+
crypto_deposit_details: {
|
|
2666
|
+
currency_id: string;
|
|
2667
|
+
deposit_address: string;
|
|
2668
|
+
chain_id: number;
|
|
2669
|
+
}[];
|
|
2670
|
+
created_at: string;
|
|
2671
|
+
destination_address: string;
|
|
2672
|
+
destination_currency: string;
|
|
2673
|
+
destination_currency_details: API.Currencies.Currency;
|
|
2674
|
+
id: string;
|
|
2675
|
+
integration_vendor_id: string;
|
|
2676
|
+
meta: API.VirtualAccounts.VirtualAccount.Meta.Meta;
|
|
2677
|
+
order_types: string[];
|
|
2678
|
+
status: string;
|
|
2679
|
+
total_balance: number;
|
|
2680
|
+
va_programs_id: string;
|
|
2681
|
+
vendor_account_id: string;
|
|
2682
|
+
virtual_accounts_program: API.VirtualAccounts.Programs.Program;
|
|
2683
|
+
wallet_id: string;
|
|
2684
|
+
}
|
|
2658
2685
|
}
|
|
2659
2686
|
export namespace Programs {
|
|
2660
2687
|
export interface OrderType {
|