wapi-client 0.10.6 → 0.10.11
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/dist/api/ws-client.cjs +1 -1
- package/dist/api/ws-client.js +1 -1
- package/dist/client.cjs +1 -1
- package/dist/client.js +1 -1
- package/dist/fns/create-access-token/create-access-token.browser.cjs +6 -1
- package/dist/fns/create-access-token/create-access-token.browser.js +6 -1
- package/dist/fns/create-access-token/create-access-token.cjs +6 -1
- package/dist/fns/create-access-token/create-access-token.enums.d.ts +1 -1
- package/dist/fns/create-access-token/create-access-token.js +6 -1
- package/dist/fns/create-access-token/create-access-token.schema.input.json +14 -1
- package/dist/fns/get-balance-history/get-balance-history.browser.cjs +2 -1
- package/dist/fns/get-balance-history/get-balance-history.browser.js +2 -1
- package/dist/fns/get-balance-history/get-balance-history.cjs +2 -1
- package/dist/fns/get-balance-history/get-balance-history.enums.d.ts +5 -1
- package/dist/fns/get-balance-history/get-balance-history.js +2 -1
- package/dist/fns/get-balance-history/get-balance-history.schema.input.json +5 -0
- package/dist/txs/create-access-token/create-access-token.enums.d.ts +1 -1
- package/dist/txs/create-access-token/create-access-token.schema.input.json +9 -1
- package/dist/txs/get-token/get-token.enums.d.ts +5 -1
- package/dist/txs/get-token/get-token.schema.output.json +3 -0
- package/dist/types/index.d.ts +12 -4
- package/dist/wapi-client-web.iife.js +1 -1
- package/dist/wapi-client.iife.js +1 -1
- package/package.json +1 -1
package/dist/api/ws-client.cjs
CHANGED
|
@@ -61,7 +61,7 @@ var import_base_client = require('./base-client.cjs');
|
|
|
61
61
|
var import_connection = require('./connection/connection.enums.cjs');
|
|
62
62
|
var import__ = require('../index.cjs');
|
|
63
63
|
var _a;
|
|
64
|
-
var CLIENT_VERSION = (_a = '0.10.
|
|
64
|
+
var CLIENT_VERSION = (_a = '0.10.11') != null ? _a : "";
|
|
65
65
|
function createWsClient(opts, config) {
|
|
66
66
|
const initialConnection = createConnection(opts, {
|
|
67
67
|
timeout: config == null ? void 0 : config.connectingTimeout
|
package/dist/api/ws-client.js
CHANGED
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
} from "./connection/connection.enums";
|
|
32
32
|
import { WapiClientType } from "../index";
|
|
33
33
|
var _a;
|
|
34
|
-
var CLIENT_VERSION = (_a = '0.10.
|
|
34
|
+
var CLIENT_VERSION = (_a = '0.10.11') != null ? _a : "";
|
|
35
35
|
function createWsClient(opts, config) {
|
|
36
36
|
const initialConnection = createConnection(opts, {
|
|
37
37
|
timeout: config == null ? void 0 : config.connectingTimeout
|
package/dist/client.cjs
CHANGED
|
@@ -63,7 +63,7 @@ var import_errors = require('./lib/errors.cjs');
|
|
|
63
63
|
var import_fns = require('./fns/index.cjs');
|
|
64
64
|
var import_import_data = require('./fns/import-data/import-data.guards.cjs');
|
|
65
65
|
var _a;
|
|
66
|
-
var CLIENT_VERSION = (_a = '0.10.
|
|
66
|
+
var CLIENT_VERSION = (_a = '0.10.11') != null ? _a : "";
|
|
67
67
|
var Client = class {
|
|
68
68
|
/**
|
|
69
69
|
* @internal
|
package/dist/client.js
CHANGED
|
@@ -28,11 +28,16 @@ var import_validator = require('../../lib/validator.cjs');
|
|
|
28
28
|
var clientFnToTxMap = new Map(
|
|
29
29
|
Object.entries({
|
|
30
30
|
aggregateTransfers: "aggregateTransferMany",
|
|
31
|
+
exportTokens: "exportTokenMany",
|
|
32
|
+
exportTransferGroups: "exportTransferGroupMany",
|
|
33
|
+
exportTransfers: "exportTransferMany",
|
|
34
|
+
exportWallets: "exportWalletMany",
|
|
31
35
|
findBalances: "findBalanceMany",
|
|
32
36
|
findTokens: "findTokenMany",
|
|
33
37
|
findTransferGroups: "findTransferGroupMany",
|
|
34
38
|
findTransfers: "findTransferMany",
|
|
35
|
-
findWallets: "findWalletMany"
|
|
39
|
+
findWallets: "findWalletMany",
|
|
40
|
+
listExports: "listExportMany"
|
|
36
41
|
})
|
|
37
42
|
);
|
|
38
43
|
var validate = (0, import_validator.getValidator)(import_validator.SchemaNames.CreateAccessTokenFnInput);
|
|
@@ -4,11 +4,16 @@ import { getValidator, SchemaNames } from "../../lib/validator.browser.js";
|
|
|
4
4
|
var clientFnToTxMap = new Map(
|
|
5
5
|
Object.entries({
|
|
6
6
|
aggregateTransfers: "aggregateTransferMany",
|
|
7
|
+
exportTokens: "exportTokenMany",
|
|
8
|
+
exportTransferGroups: "exportTransferGroupMany",
|
|
9
|
+
exportTransfers: "exportTransferMany",
|
|
10
|
+
exportWallets: "exportWalletMany",
|
|
7
11
|
findBalances: "findBalanceMany",
|
|
8
12
|
findTokens: "findTokenMany",
|
|
9
13
|
findTransferGroups: "findTransferGroupMany",
|
|
10
14
|
findTransfers: "findTransferMany",
|
|
11
|
-
findWallets: "findWalletMany"
|
|
15
|
+
findWallets: "findWalletMany",
|
|
16
|
+
listExports: "listExportMany"
|
|
12
17
|
})
|
|
13
18
|
);
|
|
14
19
|
var validate = getValidator(SchemaNames.CreateAccessTokenFnInput);
|
|
@@ -28,11 +28,16 @@ var import_validator = require('../../lib/validator.cjs');
|
|
|
28
28
|
var clientFnToTxMap = new Map(
|
|
29
29
|
Object.entries({
|
|
30
30
|
aggregateTransfers: "aggregateTransferMany",
|
|
31
|
+
exportTokens: "exportTokenMany",
|
|
32
|
+
exportTransferGroups: "exportTransferGroupMany",
|
|
33
|
+
exportTransfers: "exportTransferMany",
|
|
34
|
+
exportWallets: "exportWalletMany",
|
|
31
35
|
findBalances: "findBalanceMany",
|
|
32
36
|
findTokens: "findTokenMany",
|
|
33
37
|
findTransferGroups: "findTransferGroupMany",
|
|
34
38
|
findTransfers: "findTransferMany",
|
|
35
|
-
findWallets: "findWalletMany"
|
|
39
|
+
findWallets: "findWalletMany",
|
|
40
|
+
listExports: "listExportMany"
|
|
36
41
|
})
|
|
37
42
|
);
|
|
38
43
|
var validate = (0, import_validator.getValidator)(import_validator.SchemaNames.CreateAccessTokenFnInput);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CreateAccessTokenAdmin, CreateAccessTokenTxOptions, CreateAccessTokenForcedFilters, CreateAccessTokenTxOutput } from '../../txs/create-access-token/create-access-token.enums';
|
|
2
2
|
export interface CreateAccessTokenFnLimited {
|
|
3
3
|
type: 'limited';
|
|
4
|
-
scopes: ('aggregateTransfers' | 'findBalances' | 'findTokens' | 'findTransferGroups' | 'findTransfers' | 'findWallets' | 'aggregateTransferMany' | 'findBalanceMany' | 'findTokenMany' | 'findTransferGroupMany' | 'findTransferMany' | 'findWalletMany' | 'getBalance' | 'getBalanceHistory' | 'getStatistics' | 'getToken' | 'getTokenMany' | 'getTransfer' | 'getTransferGroup' | 'getWallet' | 'getWalletMany')[];
|
|
4
|
+
scopes: ('aggregateTransfers' | 'exportBalanceHistory' | 'exportTokens' | 'exportTransferGroups' | 'exportTransfers' | 'exportWallets' | 'findBalances' | 'findTokens' | 'findTransferGroups' | 'findTransfers' | 'findWallets' | 'aggregateTransferMany' | 'exportTokenMany' | 'exportTransferGroupMany' | 'exportTransferMany' | 'exportWalletMany' | 'findBalanceMany' | 'findTokenMany' | 'findTransferGroupMany' | 'findTransferMany' | 'findWalletMany' | 'getBalance' | 'getBalanceHistory' | 'getExport' | 'getStatistics' | 'getToken' | 'getTokenMany' | 'getTransfer' | 'getTransferGroup' | 'getWallet' | 'getWalletMany' | 'healthcheck' | 'listExportMany' | 'listExports')[];
|
|
5
5
|
/**
|
|
6
6
|
* JWT expiration time in minutes
|
|
7
7
|
*/
|
|
@@ -4,11 +4,16 @@ import { getValidator, SchemaNames } from "../../lib/validator";
|
|
|
4
4
|
var clientFnToTxMap = new Map(
|
|
5
5
|
Object.entries({
|
|
6
6
|
aggregateTransfers: "aggregateTransferMany",
|
|
7
|
+
exportTokens: "exportTokenMany",
|
|
8
|
+
exportTransferGroups: "exportTransferGroupMany",
|
|
9
|
+
exportTransfers: "exportTransferMany",
|
|
10
|
+
exportWallets: "exportWalletMany",
|
|
7
11
|
findBalances: "findBalanceMany",
|
|
8
12
|
findTokens: "findTokenMany",
|
|
9
13
|
findTransferGroups: "findTransferGroupMany",
|
|
10
14
|
findTransfers: "findTransferMany",
|
|
11
|
-
findWallets: "findWalletMany"
|
|
15
|
+
findWallets: "findWalletMany",
|
|
16
|
+
listExports: "listExportMany"
|
|
12
17
|
})
|
|
13
18
|
);
|
|
14
19
|
var validate = getValidator(SchemaNames.CreateAccessTokenFnInput);
|
|
@@ -42,6 +42,11 @@
|
|
|
42
42
|
"type": "string",
|
|
43
43
|
"enum": [
|
|
44
44
|
"aggregateTransfers",
|
|
45
|
+
"exportBalanceHistory",
|
|
46
|
+
"exportTokens",
|
|
47
|
+
"exportTransferGroups",
|
|
48
|
+
"exportTransfers",
|
|
49
|
+
"exportWallets",
|
|
45
50
|
"findBalances",
|
|
46
51
|
"findTokens",
|
|
47
52
|
"findTransferGroups",
|
|
@@ -49,6 +54,10 @@
|
|
|
49
54
|
"findWallets",
|
|
50
55
|
|
|
51
56
|
"aggregateTransferMany",
|
|
57
|
+
"exportTokenMany",
|
|
58
|
+
"exportTransferGroupMany",
|
|
59
|
+
"exportTransferMany",
|
|
60
|
+
"exportWalletMany",
|
|
52
61
|
"findBalanceMany",
|
|
53
62
|
"findTokenMany",
|
|
54
63
|
"findTransferGroupMany",
|
|
@@ -56,13 +65,17 @@
|
|
|
56
65
|
"findWalletMany",
|
|
57
66
|
"getBalance",
|
|
58
67
|
"getBalanceHistory",
|
|
68
|
+
"getExport",
|
|
59
69
|
"getStatistics",
|
|
60
70
|
"getToken",
|
|
61
71
|
"getTokenMany",
|
|
62
72
|
"getTransfer",
|
|
63
73
|
"getTransferGroup",
|
|
64
74
|
"getWallet",
|
|
65
|
-
"getWalletMany"
|
|
75
|
+
"getWalletMany",
|
|
76
|
+
"healthcheck",
|
|
77
|
+
"listExportMany",
|
|
78
|
+
"listExports"
|
|
66
79
|
]
|
|
67
80
|
}
|
|
68
81
|
},
|
|
@@ -44,7 +44,8 @@ function getBalanceHistory(options, input, fnOptions) {
|
|
|
44
44
|
return client.api.getBalanceHistory({
|
|
45
45
|
balance: {
|
|
46
46
|
wallet: (0, import_utils.getForeign)(inputCopy.wallet),
|
|
47
|
-
token: (0, import_utils.getForeign)(token)
|
|
47
|
+
token: (0, import_utils.getForeign)(token),
|
|
48
|
+
datetime: inputCopy.datetime
|
|
48
49
|
},
|
|
49
50
|
options: inputCopy.options
|
|
50
51
|
});
|
|
@@ -20,7 +20,8 @@ function getBalanceHistory(options, input, fnOptions) {
|
|
|
20
20
|
return client.api.getBalanceHistory({
|
|
21
21
|
balance: {
|
|
22
22
|
wallet: getForeign(inputCopy.wallet),
|
|
23
|
-
token: getForeign(token)
|
|
23
|
+
token: getForeign(token),
|
|
24
|
+
datetime: inputCopy.datetime
|
|
24
25
|
},
|
|
25
26
|
options: inputCopy.options
|
|
26
27
|
});
|
|
@@ -44,7 +44,8 @@ function getBalanceHistory(options, input, fnOptions) {
|
|
|
44
44
|
return client.api.getBalanceHistory({
|
|
45
45
|
balance: {
|
|
46
46
|
wallet: (0, import_utils.getForeign)(inputCopy.wallet),
|
|
47
|
-
token: (0, import_utils.getForeign)(token)
|
|
47
|
+
token: (0, import_utils.getForeign)(token),
|
|
48
|
+
datetime: inputCopy.datetime
|
|
48
49
|
},
|
|
49
50
|
options: inputCopy.options
|
|
50
51
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GetBalanceHistoryTxOptions, GetBalanceHistoryTxOutput } from '../../txs/get-balance-history/get-balance-history.enums';
|
|
2
|
-
export type GetBalanceHistoryFnInputStringFields = 'token' | 'wallet';
|
|
2
|
+
export type GetBalanceHistoryFnInputStringFields = 'token' | 'wallet' | 'datetime';
|
|
3
3
|
/**
|
|
4
4
|
* Optional flags for input
|
|
5
5
|
*/
|
|
@@ -18,6 +18,10 @@ export interface GetBalanceHistoryFnInput {
|
|
|
18
18
|
* Id of the wallet to get balance from
|
|
19
19
|
*/
|
|
20
20
|
wallet: string | number;
|
|
21
|
+
/**
|
|
22
|
+
* Select entries that are older than
|
|
23
|
+
*/
|
|
24
|
+
datetime?: string;
|
|
21
25
|
options?: GetBalanceHistoryFnOptions;
|
|
22
26
|
}
|
|
23
27
|
/**
|
|
@@ -20,7 +20,8 @@ function getBalanceHistory(options, input, fnOptions) {
|
|
|
20
20
|
return client.api.getBalanceHistory({
|
|
21
21
|
balance: {
|
|
22
22
|
wallet: getForeign(inputCopy.wallet),
|
|
23
|
-
token: getForeign(token)
|
|
23
|
+
token: getForeign(token),
|
|
24
|
+
datetime: inputCopy.datetime
|
|
24
25
|
},
|
|
25
26
|
options: inputCopy.options
|
|
26
27
|
});
|
|
@@ -13,6 +13,11 @@
|
|
|
13
13
|
"description": "Id of the wallet to get balance from",
|
|
14
14
|
"type": ["string", "integer"]
|
|
15
15
|
},
|
|
16
|
+
"datetime": {
|
|
17
|
+
"description": "Select entries that are older than",
|
|
18
|
+
"type": ["string"],
|
|
19
|
+
"format": "date-time"
|
|
20
|
+
},
|
|
16
21
|
"options": {
|
|
17
22
|
"$ref": "#/definitions/get_balance_history_fn_options"
|
|
18
23
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ITxGeneralOptions } from '../tx-consts.enums';
|
|
2
2
|
export interface CreateAccessTokenLimited {
|
|
3
3
|
type: 'limited';
|
|
4
|
-
scopes: ('aggregateTransferMany' | 'findBalanceMany' | 'findTokenMany' | 'findTransferGroupMany' | 'findTransferMany' | 'findWalletMany' | 'getBalance' | 'getBalanceHistory' | 'getStatistics' | 'getToken' | 'getTokenMany' | 'getTransfer' | 'getTransferGroup' | 'getWallet' | 'getWalletMany')[];
|
|
4
|
+
scopes: ('aggregateTransferMany' | 'exportBalanceHistory' | 'exportTokenMany' | 'exportTransferGroupMany' | 'exportTransferMany' | 'exportWalletMany' | 'findBalanceMany' | 'findTokenMany' | 'findTransferGroupMany' | 'findTransferMany' | 'findWalletMany' | 'getBalance' | 'getBalanceHistory' | 'getExport' | 'getStatistics' | 'getToken' | 'getTokenMany' | 'getTransfer' | 'getTransferGroup' | 'getWallet' | 'getWalletMany' | 'healthcheck' | 'listExportMany')[];
|
|
5
5
|
/**
|
|
6
6
|
* JWT expiration time in minutes
|
|
7
7
|
*/
|
|
@@ -32,6 +32,11 @@
|
|
|
32
32
|
"type": "string",
|
|
33
33
|
"enum": [
|
|
34
34
|
"aggregateTransferMany",
|
|
35
|
+
"exportBalanceHistory",
|
|
36
|
+
"exportTokenMany",
|
|
37
|
+
"exportTransferGroupMany",
|
|
38
|
+
"exportTransferMany",
|
|
39
|
+
"exportWalletMany",
|
|
35
40
|
"findBalanceMany",
|
|
36
41
|
"findTokenMany",
|
|
37
42
|
"findTransferGroupMany",
|
|
@@ -39,13 +44,16 @@
|
|
|
39
44
|
"findWalletMany",
|
|
40
45
|
"getBalance",
|
|
41
46
|
"getBalanceHistory",
|
|
47
|
+
"getExport",
|
|
42
48
|
"getStatistics",
|
|
43
49
|
"getToken",
|
|
44
50
|
"getTokenMany",
|
|
45
51
|
"getTransfer",
|
|
46
52
|
"getTransferGroup",
|
|
47
53
|
"getWallet",
|
|
48
|
-
"getWalletMany"
|
|
54
|
+
"getWalletMany",
|
|
55
|
+
"healthcheck",
|
|
56
|
+
"listExportMany"
|
|
49
57
|
]
|
|
50
58
|
}
|
|
51
59
|
},
|
|
@@ -100,6 +100,10 @@ export interface Token {
|
|
|
100
100
|
* Type of the token
|
|
101
101
|
*/
|
|
102
102
|
type?: 'value' | 'share' | 'group' | 'contract';
|
|
103
|
+
/**
|
|
104
|
+
* Status of the token
|
|
105
|
+
*/
|
|
106
|
+
status?: 'active' | 'dw-only' | 'disabled';
|
|
103
107
|
/**
|
|
104
108
|
* Foreign of the belongs_to wallet if exists
|
|
105
109
|
*/
|
|
@@ -141,7 +145,7 @@ export interface TokenWithBalance extends Token {
|
|
|
141
145
|
/**
|
|
142
146
|
* Last modification date of balance
|
|
143
147
|
*/
|
|
144
|
-
balance_updated_at:
|
|
148
|
+
balance_updated_at: string | null;
|
|
145
149
|
}
|
|
146
150
|
/**
|
|
147
151
|
* Output of getToken
|
|
@@ -50,6 +50,9 @@
|
|
|
50
50
|
"type": {
|
|
51
51
|
"$ref": "/db/token/token.schema.json#/properties/type"
|
|
52
52
|
},
|
|
53
|
+
"status": {
|
|
54
|
+
"$ref": "/db/token/token.schema.json#/properties/status"
|
|
55
|
+
},
|
|
53
56
|
"belongs_to_foreign": {
|
|
54
57
|
"description": "Foreign of the belongs_to wallet if exists",
|
|
55
58
|
"type": ["string", "null"]
|
package/dist/types/index.d.ts
CHANGED
|
@@ -3492,6 +3492,10 @@ declare module 'wapi-client/txs/get-token/get-token.enums' {
|
|
|
3492
3492
|
* Type of the token
|
|
3493
3493
|
*/
|
|
3494
3494
|
type?: 'value' | 'share' | 'group' | 'contract';
|
|
3495
|
+
/**
|
|
3496
|
+
* Status of the token
|
|
3497
|
+
*/
|
|
3498
|
+
status?: 'active' | 'dw-only' | 'disabled';
|
|
3495
3499
|
/**
|
|
3496
3500
|
* Foreign of the belongs_to wallet if exists
|
|
3497
3501
|
*/
|
|
@@ -3533,7 +3537,7 @@ declare module 'wapi-client/txs/get-token/get-token.enums' {
|
|
|
3533
3537
|
/**
|
|
3534
3538
|
* Last modification date of balance
|
|
3535
3539
|
*/
|
|
3536
|
-
balance_updated_at:
|
|
3540
|
+
balance_updated_at: string | null;
|
|
3537
3541
|
}
|
|
3538
3542
|
/**
|
|
3539
3543
|
* Output of getToken
|
|
@@ -4280,7 +4284,7 @@ declare module 'wapi-client/txs/create-access-token/create-access-token.enums' {
|
|
|
4280
4284
|
import { ITxGeneralOptions } from 'wapi-client/txs/tx-consts.enums';
|
|
4281
4285
|
export interface CreateAccessTokenLimited {
|
|
4282
4286
|
type: 'limited';
|
|
4283
|
-
scopes: ('aggregateTransferMany' | 'findBalanceMany' | 'findTokenMany' | 'findTransferGroupMany' | 'findTransferMany' | 'findWalletMany' | 'getBalance' | 'getBalanceHistory' | 'getStatistics' | 'getToken' | 'getTokenMany' | 'getTransfer' | 'getTransferGroup' | 'getWallet' | 'getWalletMany')[];
|
|
4287
|
+
scopes: ('aggregateTransferMany' | 'exportBalanceHistory' | 'exportTokenMany' | 'exportTransferGroupMany' | 'exportTransferMany' | 'exportWalletMany' | 'findBalanceMany' | 'findTokenMany' | 'findTransferGroupMany' | 'findTransferMany' | 'findWalletMany' | 'getBalance' | 'getBalanceHistory' | 'getExport' | 'getStatistics' | 'getToken' | 'getTokenMany' | 'getTransfer' | 'getTransferGroup' | 'getWallet' | 'getWalletMany' | 'healthcheck' | 'listExportMany')[];
|
|
4284
4288
|
/**
|
|
4285
4289
|
* JWT expiration time in minutes
|
|
4286
4290
|
*/
|
|
@@ -4333,7 +4337,7 @@ declare module 'wapi-client/fns/create-access-token/create-access-token.enums' {
|
|
|
4333
4337
|
import { CreateAccessTokenAdmin, CreateAccessTokenTxOptions, CreateAccessTokenForcedFilters, CreateAccessTokenTxOutput } from 'wapi-client/txs/create-access-token/create-access-token.enums';
|
|
4334
4338
|
export interface CreateAccessTokenFnLimited {
|
|
4335
4339
|
type: 'limited';
|
|
4336
|
-
scopes: ('aggregateTransfers' | 'findBalances' | 'findTokens' | 'findTransferGroups' | 'findTransfers' | 'findWallets' | 'aggregateTransferMany' | 'findBalanceMany' | 'findTokenMany' | 'findTransferGroupMany' | 'findTransferMany' | 'findWalletMany' | 'getBalance' | 'getBalanceHistory' | 'getStatistics' | 'getToken' | 'getTokenMany' | 'getTransfer' | 'getTransferGroup' | 'getWallet' | 'getWalletMany')[];
|
|
4340
|
+
scopes: ('aggregateTransfers' | 'exportBalanceHistory' | 'exportTokens' | 'exportTransferGroups' | 'exportTransfers' | 'exportWallets' | 'findBalances' | 'findTokens' | 'findTransferGroups' | 'findTransfers' | 'findWallets' | 'aggregateTransferMany' | 'exportTokenMany' | 'exportTransferGroupMany' | 'exportTransferMany' | 'exportWalletMany' | 'findBalanceMany' | 'findTokenMany' | 'findTransferGroupMany' | 'findTransferMany' | 'findWalletMany' | 'getBalance' | 'getBalanceHistory' | 'getExport' | 'getStatistics' | 'getToken' | 'getTokenMany' | 'getTransfer' | 'getTransferGroup' | 'getWallet' | 'getWalletMany' | 'healthcheck' | 'listExportMany' | 'listExports')[];
|
|
4337
4341
|
/**
|
|
4338
4342
|
* JWT expiration time in minutes
|
|
4339
4343
|
*/
|
|
@@ -7966,7 +7970,7 @@ declare module 'wapi-client/fns/get-balance/get-balance' {
|
|
|
7966
7970
|
}
|
|
7967
7971
|
declare module 'wapi-client/fns/get-balance-history/get-balance-history.enums' {
|
|
7968
7972
|
import { GetBalanceHistoryTxOptions, GetBalanceHistoryTxOutput } from 'wapi-client/txs/get-balance-history/get-balance-history.enums';
|
|
7969
|
-
export type GetBalanceHistoryFnInputStringFields = 'token' | 'wallet';
|
|
7973
|
+
export type GetBalanceHistoryFnInputStringFields = 'token' | 'wallet' | 'datetime';
|
|
7970
7974
|
/**
|
|
7971
7975
|
* Optional flags for input
|
|
7972
7976
|
*/
|
|
@@ -7985,6 +7989,10 @@ declare module 'wapi-client/fns/get-balance-history/get-balance-history.enums' {
|
|
|
7985
7989
|
* Id of the wallet to get balance from
|
|
7986
7990
|
*/
|
|
7987
7991
|
wallet: string | number;
|
|
7992
|
+
/**
|
|
7993
|
+
* Select entries that are older than
|
|
7994
|
+
*/
|
|
7995
|
+
datetime?: string;
|
|
7988
7996
|
options?: GetBalanceHistoryFnOptions;
|
|
7989
7997
|
}
|
|
7990
7998
|
/**
|