@ecency/sdk 1.0.55 → 1.1.0

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/index.d.ts CHANGED
@@ -1,7 +1,6 @@
1
1
  export * from './modules/accounts';
2
2
  export * from './modules/operations';
3
3
  export * from './modules/core';
4
- export * from './modules/hive-engine';
5
4
  export * from './modules/keychain';
6
5
  export * from './modules/posts';
7
6
  export * from './modules/analytics';
@@ -1,15 +1,12 @@
1
+ import { AccountProfile } from '../types';
1
2
  interface Payload {
2
- profile: Record<string, any>;
3
+ profile: Partial<AccountProfile>;
3
4
  tokens: {
4
5
  symbol: string;
5
6
  meta: {
6
7
  address: string;
7
8
  };
8
9
  }[];
9
- beneficiary: {
10
- username: string;
11
- reward: number;
12
- };
13
10
  }
14
11
  export declare function useAccountUpdate(username: string): import('@tanstack/react-query').UseMutationResult<any, Error, Partial<Payload>, unknown>;
15
12
  export {};
@@ -1,344 +1,224 @@
1
1
  import { AccountFollowStats } from '../types';
2
2
  export declare function getAccountFullQueryOptions(username: string): import('@tanstack/query-core').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<{
3
- readonly follow_stats: AccountFollowStats | undefined;
4
- readonly reputation: number;
5
- readonly profile: any;
6
- readonly vesting_balance: string | import('@hiveio/dhive').Asset;
7
- readonly transfer_history: any[];
8
- readonly market_history: any[];
9
- readonly post_history: any[];
10
- readonly vote_history: any[];
11
- readonly other_history: any[];
12
- readonly witness_votes: string[];
13
- readonly tags_usage: string[];
14
- readonly guest_bloggers: string[];
15
- readonly open_orders?: any[];
16
- readonly comments?: any[];
17
- readonly blog?: any[];
18
- readonly feed?: any[];
19
- readonly recent_replies?: any[];
20
- readonly recommended?: any[];
21
- readonly id: number;
22
- readonly name: string;
23
- readonly owner: import('@hiveio/dhive').Authority;
24
- readonly active: import('@hiveio/dhive').Authority;
25
- readonly posting: import('@hiveio/dhive').Authority;
26
- readonly memo_key: string;
27
- readonly json_metadata: string;
28
- readonly posting_json_metadata: string;
29
- readonly proxy: string;
30
- readonly last_owner_update: string;
31
- readonly last_account_update: string;
32
- readonly created: string;
33
- readonly mined: boolean;
34
- readonly owner_challenged: boolean;
35
- readonly active_challenged: boolean;
36
- readonly last_owner_proved: string;
37
- readonly last_active_proved: string;
38
- readonly recovery_account: string;
39
- readonly reset_account: string;
40
- readonly last_account_recovery: string;
41
- readonly comment_count: number;
42
- readonly lifetime_vote_count: number;
43
- readonly post_count: number;
44
- readonly can_vote: boolean;
45
- readonly voting_power: number;
46
- readonly last_vote_time: string;
47
- readonly voting_manabar: {
48
- current_mana: string | number;
49
- last_update_time: number;
3
+ name: any;
4
+ owner: any;
5
+ active: any;
6
+ posting: any;
7
+ memo_key: any;
8
+ post_count: any;
9
+ created: any;
10
+ posting_json_metadata: any;
11
+ last_vote_time: any;
12
+ last_post: any;
13
+ json_metadata: any;
14
+ reward_hive_balance: any;
15
+ reward_hbd_balance: any;
16
+ reward_vesting_hive: any;
17
+ reward_vesting_balance: any;
18
+ balance: any;
19
+ hbd_balance: any;
20
+ savings_balance: any;
21
+ savings_hbd_balance: any;
22
+ savings_hbd_last_interest_payment: any;
23
+ savings_hbd_seconds_last_update: any;
24
+ savings_hbd_seconds: any;
25
+ next_vesting_withdrawal: any;
26
+ pending_claimed_accounts: any;
27
+ vesting_shares: any;
28
+ delegated_vesting_shares: any;
29
+ received_vesting_shares: any;
30
+ vesting_withdraw_rate: any;
31
+ to_withdraw: any;
32
+ withdrawn: any;
33
+ witness_votes: any;
34
+ proxy: any;
35
+ recovery_account: any;
36
+ proxied_vsf_votes: any;
37
+ voting_manabar: any;
38
+ voting_power: any;
39
+ downvote_manabar: any;
40
+ follow_stats: AccountFollowStats | undefined;
41
+ reputation: number;
42
+ profile: {
43
+ reputation: number;
44
+ about?: string;
45
+ cover_image?: string;
46
+ location?: string;
47
+ name?: string;
48
+ profile_image?: string;
49
+ website?: string;
50
+ pinned?: string;
51
+ beneficiary?: {
52
+ account: string;
53
+ weight: number;
54
+ };
50
55
  };
51
- readonly balance: string | import('@hiveio/dhive').Asset;
52
- readonly savings_balance: string | import('@hiveio/dhive').Asset;
53
- readonly hbd_balance: string | import('@hiveio/dhive').Asset;
54
- readonly hbd_seconds: string;
55
- readonly hbd_seconds_last_update: string;
56
- readonly hbd_last_interest_payment: string;
57
- readonly savings_hbd_balance: string | import('@hiveio/dhive').Asset;
58
- readonly savings_hbd_seconds: string;
59
- readonly savings_hbd_seconds_last_update: string;
60
- readonly savings_hbd_last_interest_payment: string;
61
- readonly savings_withdraw_requests: number;
62
- readonly reward_hbd_balance: string | import('@hiveio/dhive').Asset;
63
- readonly reward_hive_balance: string | import('@hiveio/dhive').Asset;
64
- readonly reward_vesting_balance: string | import('@hiveio/dhive').Asset;
65
- readonly reward_vesting_hive: string | import('@hiveio/dhive').Asset;
66
- readonly curation_rewards: number | string;
67
- readonly posting_rewards: number | string;
68
- readonly vesting_shares: string | import('@hiveio/dhive').Asset;
69
- readonly delegated_vesting_shares: string | import('@hiveio/dhive').Asset;
70
- readonly received_vesting_shares: string | import('@hiveio/dhive').Asset;
71
- readonly vesting_withdraw_rate: string | import('@hiveio/dhive').Asset;
72
- readonly next_vesting_withdrawal: string;
73
- readonly withdrawn: number | string;
74
- readonly to_withdraw: number | string;
75
- readonly withdraw_routes: number;
76
- readonly proxied_vsf_votes: number[];
77
- readonly witnesses_voted_for: number;
78
- readonly average_bandwidth: number | string;
79
- readonly lifetime_bandwidth: number | string;
80
- readonly last_bandwidth_update: string;
81
- readonly average_market_bandwidth: number | string;
82
- readonly lifetime_market_bandwidth: number | string;
83
- readonly last_market_bandwidth_update: string;
84
- readonly last_post: string;
85
- readonly last_root_post: string;
86
56
  }, Error, {
87
- readonly follow_stats: AccountFollowStats | undefined;
88
- readonly reputation: number;
89
- readonly profile: any;
90
- readonly vesting_balance: string | import('@hiveio/dhive').Asset;
91
- readonly transfer_history: any[];
92
- readonly market_history: any[];
93
- readonly post_history: any[];
94
- readonly vote_history: any[];
95
- readonly other_history: any[];
96
- readonly witness_votes: string[];
97
- readonly tags_usage: string[];
98
- readonly guest_bloggers: string[];
99
- readonly open_orders?: any[];
100
- readonly comments?: any[];
101
- readonly blog?: any[];
102
- readonly feed?: any[];
103
- readonly recent_replies?: any[];
104
- readonly recommended?: any[];
105
- readonly id: number;
106
- readonly name: string;
107
- readonly owner: import('@hiveio/dhive').Authority;
108
- readonly active: import('@hiveio/dhive').Authority;
109
- readonly posting: import('@hiveio/dhive').Authority;
110
- readonly memo_key: string;
111
- readonly json_metadata: string;
112
- readonly posting_json_metadata: string;
113
- readonly proxy: string;
114
- readonly last_owner_update: string;
115
- readonly last_account_update: string;
116
- readonly created: string;
117
- readonly mined: boolean;
118
- readonly owner_challenged: boolean;
119
- readonly active_challenged: boolean;
120
- readonly last_owner_proved: string;
121
- readonly last_active_proved: string;
122
- readonly recovery_account: string;
123
- readonly reset_account: string;
124
- readonly last_account_recovery: string;
125
- readonly comment_count: number;
126
- readonly lifetime_vote_count: number;
127
- readonly post_count: number;
128
- readonly can_vote: boolean;
129
- readonly voting_power: number;
130
- readonly last_vote_time: string;
131
- readonly voting_manabar: {
132
- current_mana: string | number;
133
- last_update_time: number;
57
+ name: any;
58
+ owner: any;
59
+ active: any;
60
+ posting: any;
61
+ memo_key: any;
62
+ post_count: any;
63
+ created: any;
64
+ posting_json_metadata: any;
65
+ last_vote_time: any;
66
+ last_post: any;
67
+ json_metadata: any;
68
+ reward_hive_balance: any;
69
+ reward_hbd_balance: any;
70
+ reward_vesting_hive: any;
71
+ reward_vesting_balance: any;
72
+ balance: any;
73
+ hbd_balance: any;
74
+ savings_balance: any;
75
+ savings_hbd_balance: any;
76
+ savings_hbd_last_interest_payment: any;
77
+ savings_hbd_seconds_last_update: any;
78
+ savings_hbd_seconds: any;
79
+ next_vesting_withdrawal: any;
80
+ pending_claimed_accounts: any;
81
+ vesting_shares: any;
82
+ delegated_vesting_shares: any;
83
+ received_vesting_shares: any;
84
+ vesting_withdraw_rate: any;
85
+ to_withdraw: any;
86
+ withdrawn: any;
87
+ witness_votes: any;
88
+ proxy: any;
89
+ recovery_account: any;
90
+ proxied_vsf_votes: any;
91
+ voting_manabar: any;
92
+ voting_power: any;
93
+ downvote_manabar: any;
94
+ follow_stats: AccountFollowStats | undefined;
95
+ reputation: number;
96
+ profile: {
97
+ reputation: number;
98
+ about?: string;
99
+ cover_image?: string;
100
+ location?: string;
101
+ name?: string;
102
+ profile_image?: string;
103
+ website?: string;
104
+ pinned?: string;
105
+ beneficiary?: {
106
+ account: string;
107
+ weight: number;
108
+ };
134
109
  };
135
- readonly balance: string | import('@hiveio/dhive').Asset;
136
- readonly savings_balance: string | import('@hiveio/dhive').Asset;
137
- readonly hbd_balance: string | import('@hiveio/dhive').Asset;
138
- readonly hbd_seconds: string;
139
- readonly hbd_seconds_last_update: string;
140
- readonly hbd_last_interest_payment: string;
141
- readonly savings_hbd_balance: string | import('@hiveio/dhive').Asset;
142
- readonly savings_hbd_seconds: string;
143
- readonly savings_hbd_seconds_last_update: string;
144
- readonly savings_hbd_last_interest_payment: string;
145
- readonly savings_withdraw_requests: number;
146
- readonly reward_hbd_balance: string | import('@hiveio/dhive').Asset;
147
- readonly reward_hive_balance: string | import('@hiveio/dhive').Asset;
148
- readonly reward_vesting_balance: string | import('@hiveio/dhive').Asset;
149
- readonly reward_vesting_hive: string | import('@hiveio/dhive').Asset;
150
- readonly curation_rewards: number | string;
151
- readonly posting_rewards: number | string;
152
- readonly vesting_shares: string | import('@hiveio/dhive').Asset;
153
- readonly delegated_vesting_shares: string | import('@hiveio/dhive').Asset;
154
- readonly received_vesting_shares: string | import('@hiveio/dhive').Asset;
155
- readonly vesting_withdraw_rate: string | import('@hiveio/dhive').Asset;
156
- readonly next_vesting_withdrawal: string;
157
- readonly withdrawn: number | string;
158
- readonly to_withdraw: number | string;
159
- readonly withdraw_routes: number;
160
- readonly proxied_vsf_votes: number[];
161
- readonly witnesses_voted_for: number;
162
- readonly average_bandwidth: number | string;
163
- readonly lifetime_bandwidth: number | string;
164
- readonly last_bandwidth_update: string;
165
- readonly average_market_bandwidth: number | string;
166
- readonly lifetime_market_bandwidth: number | string;
167
- readonly last_market_bandwidth_update: string;
168
- readonly last_post: string;
169
- readonly last_root_post: string;
170
110
  }, string[]>, "queryFn"> & {
171
111
  queryFn?: import('@tanstack/query-core').QueryFunction<{
172
- readonly follow_stats: AccountFollowStats | undefined;
173
- readonly reputation: number;
174
- readonly profile: any;
175
- readonly vesting_balance: string | import('@hiveio/dhive').Asset;
176
- readonly transfer_history: any[];
177
- readonly market_history: any[];
178
- readonly post_history: any[];
179
- readonly vote_history: any[];
180
- readonly other_history: any[];
181
- readonly witness_votes: string[];
182
- readonly tags_usage: string[];
183
- readonly guest_bloggers: string[];
184
- readonly open_orders?: any[];
185
- readonly comments?: any[];
186
- readonly blog?: any[];
187
- readonly feed?: any[];
188
- readonly recent_replies?: any[];
189
- readonly recommended?: any[];
190
- readonly id: number;
191
- readonly name: string;
192
- readonly owner: import('@hiveio/dhive').Authority;
193
- readonly active: import('@hiveio/dhive').Authority;
194
- readonly posting: import('@hiveio/dhive').Authority;
195
- readonly memo_key: string;
196
- readonly json_metadata: string;
197
- readonly posting_json_metadata: string;
198
- readonly proxy: string;
199
- readonly last_owner_update: string;
200
- readonly last_account_update: string;
201
- readonly created: string;
202
- readonly mined: boolean;
203
- readonly owner_challenged: boolean;
204
- readonly active_challenged: boolean;
205
- readonly last_owner_proved: string;
206
- readonly last_active_proved: string;
207
- readonly recovery_account: string;
208
- readonly reset_account: string;
209
- readonly last_account_recovery: string;
210
- readonly comment_count: number;
211
- readonly lifetime_vote_count: number;
212
- readonly post_count: number;
213
- readonly can_vote: boolean;
214
- readonly voting_power: number;
215
- readonly last_vote_time: string;
216
- readonly voting_manabar: {
217
- current_mana: string | number;
218
- last_update_time: number;
112
+ name: any;
113
+ owner: any;
114
+ active: any;
115
+ posting: any;
116
+ memo_key: any;
117
+ post_count: any;
118
+ created: any;
119
+ posting_json_metadata: any;
120
+ last_vote_time: any;
121
+ last_post: any;
122
+ json_metadata: any;
123
+ reward_hive_balance: any;
124
+ reward_hbd_balance: any;
125
+ reward_vesting_hive: any;
126
+ reward_vesting_balance: any;
127
+ balance: any;
128
+ hbd_balance: any;
129
+ savings_balance: any;
130
+ savings_hbd_balance: any;
131
+ savings_hbd_last_interest_payment: any;
132
+ savings_hbd_seconds_last_update: any;
133
+ savings_hbd_seconds: any;
134
+ next_vesting_withdrawal: any;
135
+ pending_claimed_accounts: any;
136
+ vesting_shares: any;
137
+ delegated_vesting_shares: any;
138
+ received_vesting_shares: any;
139
+ vesting_withdraw_rate: any;
140
+ to_withdraw: any;
141
+ withdrawn: any;
142
+ witness_votes: any;
143
+ proxy: any;
144
+ recovery_account: any;
145
+ proxied_vsf_votes: any;
146
+ voting_manabar: any;
147
+ voting_power: any;
148
+ downvote_manabar: any;
149
+ follow_stats: AccountFollowStats | undefined;
150
+ reputation: number;
151
+ profile: {
152
+ reputation: number;
153
+ about?: string;
154
+ cover_image?: string;
155
+ location?: string;
156
+ name?: string;
157
+ profile_image?: string;
158
+ website?: string;
159
+ pinned?: string;
160
+ beneficiary?: {
161
+ account: string;
162
+ weight: number;
163
+ };
219
164
  };
220
- readonly balance: string | import('@hiveio/dhive').Asset;
221
- readonly savings_balance: string | import('@hiveio/dhive').Asset;
222
- readonly hbd_balance: string | import('@hiveio/dhive').Asset;
223
- readonly hbd_seconds: string;
224
- readonly hbd_seconds_last_update: string;
225
- readonly hbd_last_interest_payment: string;
226
- readonly savings_hbd_balance: string | import('@hiveio/dhive').Asset;
227
- readonly savings_hbd_seconds: string;
228
- readonly savings_hbd_seconds_last_update: string;
229
- readonly savings_hbd_last_interest_payment: string;
230
- readonly savings_withdraw_requests: number;
231
- readonly reward_hbd_balance: string | import('@hiveio/dhive').Asset;
232
- readonly reward_hive_balance: string | import('@hiveio/dhive').Asset;
233
- readonly reward_vesting_balance: string | import('@hiveio/dhive').Asset;
234
- readonly reward_vesting_hive: string | import('@hiveio/dhive').Asset;
235
- readonly curation_rewards: number | string;
236
- readonly posting_rewards: number | string;
237
- readonly vesting_shares: string | import('@hiveio/dhive').Asset;
238
- readonly delegated_vesting_shares: string | import('@hiveio/dhive').Asset;
239
- readonly received_vesting_shares: string | import('@hiveio/dhive').Asset;
240
- readonly vesting_withdraw_rate: string | import('@hiveio/dhive').Asset;
241
- readonly next_vesting_withdrawal: string;
242
- readonly withdrawn: number | string;
243
- readonly to_withdraw: number | string;
244
- readonly withdraw_routes: number;
245
- readonly proxied_vsf_votes: number[];
246
- readonly witnesses_voted_for: number;
247
- readonly average_bandwidth: number | string;
248
- readonly lifetime_bandwidth: number | string;
249
- readonly last_bandwidth_update: string;
250
- readonly average_market_bandwidth: number | string;
251
- readonly lifetime_market_bandwidth: number | string;
252
- readonly last_market_bandwidth_update: string;
253
- readonly last_post: string;
254
- readonly last_root_post: string;
255
165
  }, string[], never> | undefined;
256
166
  } & {
257
167
  queryKey: string[] & {
258
168
  [dataTagSymbol]: {
259
- readonly follow_stats: AccountFollowStats | undefined;
260
- readonly reputation: number;
261
- readonly profile: any;
262
- readonly vesting_balance: string | import('@hiveio/dhive').Asset;
263
- readonly transfer_history: any[];
264
- readonly market_history: any[];
265
- readonly post_history: any[];
266
- readonly vote_history: any[];
267
- readonly other_history: any[];
268
- readonly witness_votes: string[];
269
- readonly tags_usage: string[];
270
- readonly guest_bloggers: string[];
271
- readonly open_orders?: any[];
272
- readonly comments?: any[];
273
- readonly blog?: any[];
274
- readonly feed?: any[];
275
- readonly recent_replies?: any[];
276
- readonly recommended?: any[];
277
- readonly id: number;
278
- readonly name: string;
279
- readonly owner: import('@hiveio/dhive').Authority;
280
- readonly active: import('@hiveio/dhive').Authority;
281
- readonly posting: import('@hiveio/dhive').Authority;
282
- readonly memo_key: string;
283
- readonly json_metadata: string;
284
- readonly posting_json_metadata: string;
285
- readonly proxy: string;
286
- readonly last_owner_update: string;
287
- readonly last_account_update: string;
288
- readonly created: string;
289
- readonly mined: boolean;
290
- readonly owner_challenged: boolean;
291
- readonly active_challenged: boolean;
292
- readonly last_owner_proved: string;
293
- readonly last_active_proved: string;
294
- readonly recovery_account: string;
295
- readonly reset_account: string;
296
- readonly last_account_recovery: string;
297
- readonly comment_count: number;
298
- readonly lifetime_vote_count: number;
299
- readonly post_count: number;
300
- readonly can_vote: boolean;
301
- readonly voting_power: number;
302
- readonly last_vote_time: string;
303
- readonly voting_manabar: {
304
- current_mana: string | number;
305
- last_update_time: number;
169
+ name: any;
170
+ owner: any;
171
+ active: any;
172
+ posting: any;
173
+ memo_key: any;
174
+ post_count: any;
175
+ created: any;
176
+ posting_json_metadata: any;
177
+ last_vote_time: any;
178
+ last_post: any;
179
+ json_metadata: any;
180
+ reward_hive_balance: any;
181
+ reward_hbd_balance: any;
182
+ reward_vesting_hive: any;
183
+ reward_vesting_balance: any;
184
+ balance: any;
185
+ hbd_balance: any;
186
+ savings_balance: any;
187
+ savings_hbd_balance: any;
188
+ savings_hbd_last_interest_payment: any;
189
+ savings_hbd_seconds_last_update: any;
190
+ savings_hbd_seconds: any;
191
+ next_vesting_withdrawal: any;
192
+ pending_claimed_accounts: any;
193
+ vesting_shares: any;
194
+ delegated_vesting_shares: any;
195
+ received_vesting_shares: any;
196
+ vesting_withdraw_rate: any;
197
+ to_withdraw: any;
198
+ withdrawn: any;
199
+ witness_votes: any;
200
+ proxy: any;
201
+ recovery_account: any;
202
+ proxied_vsf_votes: any;
203
+ voting_manabar: any;
204
+ voting_power: any;
205
+ downvote_manabar: any;
206
+ follow_stats: AccountFollowStats | undefined;
207
+ reputation: number;
208
+ profile: {
209
+ reputation: number;
210
+ about?: string;
211
+ cover_image?: string;
212
+ location?: string;
213
+ name?: string;
214
+ profile_image?: string;
215
+ website?: string;
216
+ pinned?: string;
217
+ beneficiary?: {
218
+ account: string;
219
+ weight: number;
220
+ };
306
221
  };
307
- readonly balance: string | import('@hiveio/dhive').Asset;
308
- readonly savings_balance: string | import('@hiveio/dhive').Asset;
309
- readonly hbd_balance: string | import('@hiveio/dhive').Asset;
310
- readonly hbd_seconds: string;
311
- readonly hbd_seconds_last_update: string;
312
- readonly hbd_last_interest_payment: string;
313
- readonly savings_hbd_balance: string | import('@hiveio/dhive').Asset;
314
- readonly savings_hbd_seconds: string;
315
- readonly savings_hbd_seconds_last_update: string;
316
- readonly savings_hbd_last_interest_payment: string;
317
- readonly savings_withdraw_requests: number;
318
- readonly reward_hbd_balance: string | import('@hiveio/dhive').Asset;
319
- readonly reward_hive_balance: string | import('@hiveio/dhive').Asset;
320
- readonly reward_vesting_balance: string | import('@hiveio/dhive').Asset;
321
- readonly reward_vesting_hive: string | import('@hiveio/dhive').Asset;
322
- readonly curation_rewards: number | string;
323
- readonly posting_rewards: number | string;
324
- readonly vesting_shares: string | import('@hiveio/dhive').Asset;
325
- readonly delegated_vesting_shares: string | import('@hiveio/dhive').Asset;
326
- readonly received_vesting_shares: string | import('@hiveio/dhive').Asset;
327
- readonly vesting_withdraw_rate: string | import('@hiveio/dhive').Asset;
328
- readonly next_vesting_withdrawal: string;
329
- readonly withdrawn: number | string;
330
- readonly to_withdraw: number | string;
331
- readonly withdraw_routes: number;
332
- readonly proxied_vsf_votes: number[];
333
- readonly witnesses_voted_for: number;
334
- readonly average_bandwidth: number | string;
335
- readonly lifetime_bandwidth: number | string;
336
- readonly last_bandwidth_update: string;
337
- readonly average_market_bandwidth: number | string;
338
- readonly lifetime_market_bandwidth: number | string;
339
- readonly last_market_bandwidth_update: string;
340
- readonly last_post: string;
341
- readonly last_root_post: string;
342
222
  };
343
223
  [dataTagErrorSymbol]: Error;
344
224
  };
@@ -0,0 +1,14 @@
1
+ export interface AccountProfile {
2
+ about?: string;
3
+ cover_image?: string;
4
+ location?: string;
5
+ name?: string;
6
+ profile_image?: string;
7
+ website?: string;
8
+ pinned?: string;
9
+ reputation?: number;
10
+ beneficiary?: {
11
+ account: string;
12
+ weight: number;
13
+ };
14
+ }
@@ -0,0 +1,52 @@
1
+ import { Authority } from '@hiveio/dhive';
2
+ import { AccountFollowStats } from './account-follow-stats';
3
+ import { AccountProfile } from './account-profile';
4
+ export interface FullAccount {
5
+ name: string;
6
+ owner: Authority;
7
+ active: Authority;
8
+ posting: Authority;
9
+ memo_key: string;
10
+ post_count: number;
11
+ created: string;
12
+ reputation: string | number;
13
+ json_metadata: string;
14
+ posting_json_metadata: string;
15
+ last_vote_time: string;
16
+ last_post: string;
17
+ reward_hbd_balance: string;
18
+ reward_vesting_hive: string;
19
+ reward_hive_balance: string;
20
+ reward_vesting_balance: string;
21
+ balance: string;
22
+ vesting_shares: string;
23
+ hbd_balance: string;
24
+ savings_balance: string;
25
+ savings_hbd_balance: string;
26
+ savings_hbd_seconds: string;
27
+ savings_hbd_last_interest_payment: string;
28
+ savings_hbd_seconds_last_update: string;
29
+ next_vesting_withdrawal: string;
30
+ pending_claimed_accounts: number;
31
+ delegated_vesting_shares: string;
32
+ received_vesting_shares: string;
33
+ vesting_withdraw_rate: string;
34
+ to_withdraw: string;
35
+ withdrawn: string;
36
+ witness_votes: string[];
37
+ proxy: string;
38
+ recovery_account: string;
39
+ proxied_vsf_votes: number[] | string[];
40
+ voting_manabar: {
41
+ current_mana: string | number;
42
+ last_update_time: number;
43
+ };
44
+ voting_power: number;
45
+ downvote_manabar: {
46
+ current_mana: string | number;
47
+ last_update_time: number;
48
+ };
49
+ profile?: AccountProfile;
50
+ follow_stats?: AccountFollowStats;
51
+ proxyVotes?: [];
52
+ }
@@ -1,5 +1,7 @@
1
1
  export * from './account-follow-stats';
2
2
  export * from './account-reputation';
3
+ export * from './full-account';
3
4
  export * from './account-relationship';
4
5
  export * from './account-bookmark';
5
6
  export * from './account-favourite';
7
+ export * from './account-profile';