@tatumio/flow 2.0.1-alpha.326 → 2.0.1-alpha.328
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.
- package/package.json +6 -6
- package/src/lib/flow.sdk.d.ts +59 -0
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tatumio/flow",
|
|
3
|
-
"version": "2.0.1-alpha.
|
|
3
|
+
"version": "2.0.1-alpha.328",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "./src/index.js",
|
|
6
6
|
"types": "./src/index.d.ts",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@tatumio/shared-testing-common": "2.0.1-alpha.
|
|
9
|
-
"@tatumio/api-client": "2.0.1-alpha.
|
|
8
|
+
"@tatumio/shared-testing-common": "2.0.1-alpha.328",
|
|
9
|
+
"@tatumio/api-client": "2.0.1-alpha.328",
|
|
10
10
|
"axios": "^0.26.0",
|
|
11
11
|
"form-data": "^4.0.0",
|
|
12
|
-
"@tatumio/shared-core": "2.0.1-alpha.
|
|
12
|
+
"@tatumio/shared-core": "2.0.1-alpha.328",
|
|
13
13
|
"dedent-js": "^1.0.1",
|
|
14
|
-
"@tatumio/shared-abstract-sdk": "2.0.1-alpha.
|
|
14
|
+
"@tatumio/shared-abstract-sdk": "2.0.1-alpha.328",
|
|
15
15
|
"bignumber.js": "^9.0.2",
|
|
16
|
-
"@tatumio/shared-blockchain-abstract": "2.0.1-alpha.
|
|
16
|
+
"@tatumio/shared-blockchain-abstract": "2.0.1-alpha.328",
|
|
17
17
|
"bip32": "^2.0.5",
|
|
18
18
|
"bip39": "^3.0.2",
|
|
19
19
|
"hdkey": "^2.0.1",
|
package/src/lib/flow.sdk.d.ts
CHANGED
|
@@ -119,4 +119,63 @@ export declare const TatumFlowSDK: (args: SDKArguments) => {
|
|
|
119
119
|
delete: typeof import("@tatumio/api-client").CustodialManagedWalletsService.custodialDeleteWallet;
|
|
120
120
|
get: typeof import("@tatumio/api-client").CustodialManagedWalletsService.custodialGetWallet;
|
|
121
121
|
};
|
|
122
|
+
ledger: {
|
|
123
|
+
customer: {
|
|
124
|
+
get: typeof import("@tatumio/api-client").CustomerService.getCustomerByExternalOrInternalId;
|
|
125
|
+
getAll: typeof import("@tatumio/api-client").CustomerService.findAllCustomers;
|
|
126
|
+
update: typeof import("@tatumio/api-client").CustomerService.updateCustomer;
|
|
127
|
+
activate: typeof import("@tatumio/api-client").CustomerService.activateCustomer;
|
|
128
|
+
deactivate: typeof import("@tatumio/api-client").CustomerService.deactivateCustomer;
|
|
129
|
+
enable: typeof import("@tatumio/api-client").CustomerService.enableCustomer;
|
|
130
|
+
disable: typeof import("@tatumio/api-client").CustomerService.disableCustomer;
|
|
131
|
+
};
|
|
132
|
+
orderBook: {
|
|
133
|
+
getHistorical: typeof import("@tatumio/api-client").OrderBookService.getHistoricalTradesBody;
|
|
134
|
+
getActiveBuyTrades: typeof import("@tatumio/api-client").OrderBookService.getBuyTradesBody;
|
|
135
|
+
getActiveSellTrades: typeof import("@tatumio/api-client").OrderBookService.getSellTradesBody;
|
|
136
|
+
newTrade: typeof import("@tatumio/api-client").OrderBookService.storeTrade;
|
|
137
|
+
get: typeof import("@tatumio/api-client").OrderBookService.getTradeById;
|
|
138
|
+
cancel: typeof import("@tatumio/api-client").OrderBookService.deleteTrade;
|
|
139
|
+
cancelByAccount: typeof import("@tatumio/api-client").OrderBookService.deleteAccountTrades;
|
|
140
|
+
};
|
|
141
|
+
transaction: {
|
|
142
|
+
send: typeof import("@tatumio/api-client").TransactionService.sendTransaction;
|
|
143
|
+
sendMultiple: typeof import("@tatumio/api-client").TransactionService.sendTransactionBatch;
|
|
144
|
+
getAll: typeof import("@tatumio/api-client").TransactionService.getTransactions;
|
|
145
|
+
getAllByAccount: typeof import("@tatumio/api-client").TransactionService.getTransactionsByAccountId;
|
|
146
|
+
getAllByCustomer: typeof import("@tatumio/api-client").TransactionService.getTransactionsByCustomerId;
|
|
147
|
+
getAllByReference: typeof import("@tatumio/api-client").TransactionService.getTransactionsByReference;
|
|
148
|
+
countByAccount: (filter: import("@tatumio/api-client").TransactionFilter) => import("@tatumio/api-client").CancelablePromise<number | import("@tatumio/api-client").Transaction[]>;
|
|
149
|
+
countByCustomer: (filter: import("@tatumio/api-client").TransactionFilterCustomer) => import("@tatumio/api-client").CancelablePromise<number | import("@tatumio/api-client").Transaction[]>;
|
|
150
|
+
};
|
|
151
|
+
virtualCurrency: {
|
|
152
|
+
create: typeof import("@tatumio/api-client").VirtualCurrencyService.createCurrency;
|
|
153
|
+
mint: typeof import("@tatumio/api-client").VirtualCurrencyService.mintCurrency;
|
|
154
|
+
revoke: typeof import("@tatumio/api-client").VirtualCurrencyService.revokeCurrency;
|
|
155
|
+
getByName: typeof import("@tatumio/api-client").VirtualCurrencyService.getCurrency;
|
|
156
|
+
update: typeof import("@tatumio/api-client").VirtualCurrencyService.updateCurrency;
|
|
157
|
+
};
|
|
158
|
+
blockAmount: {
|
|
159
|
+
block: typeof import("@tatumio/api-client").AccountService.blockAmount;
|
|
160
|
+
unblock: typeof import("@tatumio/api-client").AccountService.deleteBlockAmount;
|
|
161
|
+
unblockWithTransaction: typeof import("@tatumio/api-client").AccountService.unblockAmountWithTransaction;
|
|
162
|
+
};
|
|
163
|
+
account: {
|
|
164
|
+
get: typeof import("@tatumio/api-client").AccountService.getAccountByAccountId;
|
|
165
|
+
getAll: typeof import("@tatumio/api-client").AccountService.getAccounts;
|
|
166
|
+
getByCustomerId: typeof import("@tatumio/api-client").AccountService.getAccountsByCustomerId;
|
|
167
|
+
getBalance: typeof import("@tatumio/api-client").AccountService.getAccountBalance;
|
|
168
|
+
create: typeof import("@tatumio/api-client").AccountService.createAccount;
|
|
169
|
+
createMultiple: typeof import("@tatumio/api-client").AccountService.createAccountBatch;
|
|
170
|
+
update: typeof import("@tatumio/api-client").AccountService.updateAccountByAccountId;
|
|
171
|
+
getBlockedAmountsByAccountId: typeof import("@tatumio/api-client").AccountService.getBlockAmountById;
|
|
172
|
+
activate: typeof import("@tatumio/api-client").AccountService.activateAccount;
|
|
173
|
+
deactivate: typeof import("@tatumio/api-client").AccountService.deactivateAccount;
|
|
174
|
+
freeze: typeof import("@tatumio/api-client").AccountService.freezeAccount;
|
|
175
|
+
unfreeze: typeof import("@tatumio/api-client").AccountService.unfreezeAccount;
|
|
176
|
+
generate: (account: import("@tatumio/api-client").CreateAccount & {
|
|
177
|
+
xpub?: string;
|
|
178
|
+
}, generateNewWalletFn: any, generateNewWallet?: boolean, testnet?: boolean, webhookUrl?: string) => Promise<any>;
|
|
179
|
+
};
|
|
180
|
+
};
|
|
122
181
|
};
|