chia-agent 9.0.0 → 9.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/CHANGELOG.md +63 -0
- package/README.md +5 -5
- package/api/chia/data_layer/data_layer_util.d.ts +30 -0
- package/api/chia/data_layer/data_layer_util.js +2 -0
- package/api/chia/data_layer/data_layer_wallet.d.ts +21 -0
- package/api/chia/data_layer/data_layer_wallet.js +2 -0
- package/api/chia/server/outbound_message.d.ts +1 -1
- package/api/chia/wallet/lineage_proof.d.ts +7 -0
- package/api/chia/wallet/lineage_proof.js +2 -0
- package/api/chia/wallet/util/wallet_types.d.ts +2 -0
- package/api/chia/wallet/util/wallet_types.js +2 -0
- package/api/rpc/common/index.d.ts +6 -6
- package/api/rpc/crawler/index.d.ts +2 -2
- package/api/rpc/data_layer/index.d.ts +290 -0
- package/api/rpc/data_layer/index.js +196 -0
- package/api/rpc/farmer/index.d.ts +13 -13
- package/api/rpc/full_node/index.d.ts +25 -25
- package/api/rpc/harvester/index.d.ts +6 -6
- package/api/rpc/index.d.ts +10 -7
- package/api/rpc/index.js +60 -19
- package/api/rpc/wallet/index.d.ts +200 -78
- package/api/rpc/wallet/index.js +85 -1
- package/api/ws/wallet/index.d.ts +2 -2
- package/package.json +1 -1
- package/rpc/index.d.ts +6 -2
- package/rpc/index.js +3 -0
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.verify_offer_command = exports.take_offer = exports.take_offer_command = exports.make_offer = exports.make_offer_command = exports.add_missing_files = exports.add_missing_files_command = exports.get_root_history = exports.get_root_history_command = exports.get_kv_diff = exports.get_kv_diff_command = exports.subscriptions = exports.subscriptions_command = exports.remove_subscriptions = exports.remove_subscriptions_command = exports.get_mirrors = exports.get_mirrors_command = exports.delete_mirror = exports.delete_mirror_command = exports.add_mirror = exports.add_mirror_command = exports.unsubscribe = exports.unsubscribe_command = exports.subscribe = exports.subscribe_command = exports.insert = exports.insert_command = exports.delete_key = exports.delete_key_command = exports.get_roots = exports.get_roots_command = exports.get_local_root = exports.get_local_root_command = exports.get_root = exports.get_root_command = exports.get_ancestors = exports.get_ancestors_command = exports.get_keys_values = exports.get_keys_values_command = exports.get_keys = exports.get_keys_command = exports.get_value = exports.get_value_command = exports.batch_update = exports.batch_update_command = exports.get_owned_stores = exports.get_owned_stores_command = exports.create_data_store = exports.create_data_store_command = exports.chia_data_layer_service = void 0;
|
|
13
|
+
exports.cancel_offer = exports.cancel_offer_command = exports.verify_offer = void 0;
|
|
14
|
+
exports.chia_data_layer_service = "chia_data_layer";
|
|
15
|
+
exports.create_data_store_command = "create_data_store";
|
|
16
|
+
function create_data_store(agent, params) {
|
|
17
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
18
|
+
return agent.sendMessage(exports.chia_data_layer_service, exports.create_data_store_command, params);
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
exports.create_data_store = create_data_store;
|
|
22
|
+
exports.get_owned_stores_command = "get_owned_stores";
|
|
23
|
+
function get_owned_stores(agent) {
|
|
24
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
25
|
+
return agent.sendMessage(exports.chia_data_layer_service, exports.get_owned_stores_command);
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
exports.get_owned_stores = get_owned_stores;
|
|
29
|
+
exports.batch_update_command = "batch_update";
|
|
30
|
+
function batch_update(agent, params) {
|
|
31
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
32
|
+
return agent.sendMessage(exports.chia_data_layer_service, exports.batch_update_command, params);
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
exports.batch_update = batch_update;
|
|
36
|
+
exports.get_value_command = "get_value";
|
|
37
|
+
function get_value(agent, params) {
|
|
38
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
39
|
+
return agent.sendMessage(exports.chia_data_layer_service, exports.get_value_command, params);
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
exports.get_value = get_value;
|
|
43
|
+
exports.get_keys_command = "get_keys";
|
|
44
|
+
function get_keys(agent, params) {
|
|
45
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
46
|
+
return agent.sendMessage(exports.chia_data_layer_service, exports.get_keys_command, params);
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
exports.get_keys = get_keys;
|
|
50
|
+
exports.get_keys_values_command = "get_keys_values";
|
|
51
|
+
function get_keys_values(agent, params) {
|
|
52
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
53
|
+
return agent.sendMessage(exports.chia_data_layer_service, exports.get_keys_values_command, params);
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
exports.get_keys_values = get_keys_values;
|
|
57
|
+
exports.get_ancestors_command = "get_ancestors";
|
|
58
|
+
function get_ancestors(agent, params) {
|
|
59
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
60
|
+
return agent.sendMessage(exports.chia_data_layer_service, exports.get_ancestors_command, params);
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
exports.get_ancestors = get_ancestors;
|
|
64
|
+
exports.get_root_command = "get_root";
|
|
65
|
+
function get_root(agent, params) {
|
|
66
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
67
|
+
return agent.sendMessage(exports.chia_data_layer_service, exports.get_root_command, params);
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
exports.get_root = get_root;
|
|
71
|
+
exports.get_local_root_command = "get_local_root";
|
|
72
|
+
function get_local_root(agent, params) {
|
|
73
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
74
|
+
return agent.sendMessage(exports.chia_data_layer_service, exports.get_local_root_command, params);
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
exports.get_local_root = get_local_root;
|
|
78
|
+
exports.get_roots_command = "get_roots";
|
|
79
|
+
function get_roots(agent, params) {
|
|
80
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
81
|
+
return agent.sendMessage(exports.chia_data_layer_service, exports.get_roots_command, params);
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
exports.get_roots = get_roots;
|
|
85
|
+
exports.delete_key_command = "delete_key";
|
|
86
|
+
function delete_key(agent, params) {
|
|
87
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
88
|
+
return agent.sendMessage(exports.chia_data_layer_service, exports.delete_key_command, params);
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
exports.delete_key = delete_key;
|
|
92
|
+
exports.insert_command = "insert";
|
|
93
|
+
function insert(agent, params) {
|
|
94
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
95
|
+
return agent.sendMessage(exports.chia_data_layer_service, exports.insert_command, params);
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
exports.insert = insert;
|
|
99
|
+
exports.subscribe_command = "subscribe";
|
|
100
|
+
function subscribe(agent, params) {
|
|
101
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
102
|
+
return agent.sendMessage(exports.chia_data_layer_service, exports.subscribe_command, params);
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
exports.subscribe = subscribe;
|
|
106
|
+
exports.unsubscribe_command = "unsubscribe";
|
|
107
|
+
function unsubscribe(agent, params) {
|
|
108
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
109
|
+
return agent.sendMessage(exports.chia_data_layer_service, exports.unsubscribe_command, params);
|
|
110
|
+
});
|
|
111
|
+
}
|
|
112
|
+
exports.unsubscribe = unsubscribe;
|
|
113
|
+
exports.add_mirror_command = "add_mirror";
|
|
114
|
+
function add_mirror(agent, params) {
|
|
115
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
116
|
+
return agent.sendMessage(exports.chia_data_layer_service, exports.add_mirror_command, params);
|
|
117
|
+
});
|
|
118
|
+
}
|
|
119
|
+
exports.add_mirror = add_mirror;
|
|
120
|
+
exports.delete_mirror_command = "delete_mirror";
|
|
121
|
+
function delete_mirror(agent, params) {
|
|
122
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
123
|
+
return agent.sendMessage(exports.chia_data_layer_service, exports.delete_mirror_command, params);
|
|
124
|
+
});
|
|
125
|
+
}
|
|
126
|
+
exports.delete_mirror = delete_mirror;
|
|
127
|
+
exports.get_mirrors_command = "get_mirrors";
|
|
128
|
+
function get_mirrors(agent, params) {
|
|
129
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
130
|
+
return agent.sendMessage(exports.chia_data_layer_service, exports.get_mirrors_command, params);
|
|
131
|
+
});
|
|
132
|
+
}
|
|
133
|
+
exports.get_mirrors = get_mirrors;
|
|
134
|
+
exports.remove_subscriptions_command = "remove_subscriptions";
|
|
135
|
+
function remove_subscriptions(agent, params) {
|
|
136
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
137
|
+
return agent.sendMessage(exports.chia_data_layer_service, exports.remove_subscriptions_command, params);
|
|
138
|
+
});
|
|
139
|
+
}
|
|
140
|
+
exports.remove_subscriptions = remove_subscriptions;
|
|
141
|
+
exports.subscriptions_command = "subscriptions";
|
|
142
|
+
function subscriptions(agent) {
|
|
143
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
144
|
+
return agent.sendMessage(exports.chia_data_layer_service, exports.subscriptions_command);
|
|
145
|
+
});
|
|
146
|
+
}
|
|
147
|
+
exports.subscriptions = subscriptions;
|
|
148
|
+
exports.get_kv_diff_command = "get_kv_diff";
|
|
149
|
+
function get_kv_diff(agent, params) {
|
|
150
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
151
|
+
return agent.sendMessage(exports.chia_data_layer_service, exports.get_kv_diff_command, params);
|
|
152
|
+
});
|
|
153
|
+
}
|
|
154
|
+
exports.get_kv_diff = get_kv_diff;
|
|
155
|
+
exports.get_root_history_command = "get_root_history";
|
|
156
|
+
function get_root_history(agent, params) {
|
|
157
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
158
|
+
return agent.sendMessage(exports.chia_data_layer_service, exports.get_root_history_command, params);
|
|
159
|
+
});
|
|
160
|
+
}
|
|
161
|
+
exports.get_root_history = get_root_history;
|
|
162
|
+
exports.add_missing_files_command = "add_missing_files";
|
|
163
|
+
function add_missing_files(agent, params) {
|
|
164
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
165
|
+
return agent.sendMessage(exports.chia_data_layer_service, exports.add_missing_files_command, params);
|
|
166
|
+
});
|
|
167
|
+
}
|
|
168
|
+
exports.add_missing_files = add_missing_files;
|
|
169
|
+
exports.make_offer_command = "make_offer";
|
|
170
|
+
function make_offer(agent, params) {
|
|
171
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
172
|
+
return agent.sendMessage(exports.chia_data_layer_service, exports.make_offer_command, params);
|
|
173
|
+
});
|
|
174
|
+
}
|
|
175
|
+
exports.make_offer = make_offer;
|
|
176
|
+
exports.take_offer_command = "take_offer";
|
|
177
|
+
function take_offer(agent, params) {
|
|
178
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
179
|
+
return agent.sendMessage(exports.chia_data_layer_service, exports.take_offer_command, params);
|
|
180
|
+
});
|
|
181
|
+
}
|
|
182
|
+
exports.take_offer = take_offer;
|
|
183
|
+
exports.verify_offer_command = "verify_offer";
|
|
184
|
+
function verify_offer(agent, params) {
|
|
185
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
186
|
+
return agent.sendMessage(exports.chia_data_layer_service, exports.verify_offer_command, params);
|
|
187
|
+
});
|
|
188
|
+
}
|
|
189
|
+
exports.verify_offer = verify_offer;
|
|
190
|
+
exports.cancel_offer_command = "cancel_offer";
|
|
191
|
+
function cancel_offer(agent, params) {
|
|
192
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
193
|
+
return agent.sendMessage(exports.chia_data_layer_service, exports.cancel_offer_command, params);
|
|
194
|
+
});
|
|
195
|
+
}
|
|
196
|
+
exports.cancel_offer = cancel_offer;
|
|
@@ -23,14 +23,14 @@ export declare type TGetSignagePointResponse = {
|
|
|
23
23
|
};
|
|
24
24
|
proofs: [string, ProofOfSpace];
|
|
25
25
|
};
|
|
26
|
-
export declare function get_signage_point(agent: TRPCAgent, params: TGetSignagePointRequest): Promise<TGetSignagePointResponse>;
|
|
26
|
+
export declare function get_signage_point(agent: TRPCAgent, params: TGetSignagePointRequest): Promise<TGetSignagePointResponse | import("../../../rpc/index").ErrorResponse>;
|
|
27
27
|
export declare const get_signage_points_command = "get_signage_points";
|
|
28
28
|
export declare type get_signage_points_command = typeof get_signage_points_command;
|
|
29
29
|
export declare type TGetSignagePointsRequest = {};
|
|
30
30
|
export declare type TGetSignagePointsResponse = {
|
|
31
31
|
signage_points: TGetSignagePointResponse[];
|
|
32
32
|
};
|
|
33
|
-
export declare function get_signage_points(agent: TRPCAgent): Promise<TGetSignagePointsResponse>;
|
|
33
|
+
export declare function get_signage_points(agent: TRPCAgent): Promise<TGetSignagePointsResponse | import("../../../rpc/index").ErrorResponse>;
|
|
34
34
|
export declare const get_reward_targets_command = "get_reward_targets";
|
|
35
35
|
export declare type get_reward_targets_command = typeof get_reward_targets_command;
|
|
36
36
|
export declare type TGetRewardTargetRequest = {
|
|
@@ -46,7 +46,7 @@ export declare type TGetRewardTargetResponse = {
|
|
|
46
46
|
farmer_target: str;
|
|
47
47
|
pool_target: str;
|
|
48
48
|
};
|
|
49
|
-
export declare function get_reward_targets(agent: TRPCAgent, params: TGetRewardTargetRequest): Promise<TGetRewardTargetResponse>;
|
|
49
|
+
export declare function get_reward_targets(agent: TRPCAgent, params: TGetRewardTargetRequest): Promise<TGetRewardTargetResponse | import("../../../rpc/index").ErrorResponse>;
|
|
50
50
|
export declare const set_reward_targets_command = "set_reward_targets";
|
|
51
51
|
export declare type set_reward_targets_command = typeof set_reward_targets_command;
|
|
52
52
|
export declare type TSetRewardTargetRequest = {
|
|
@@ -54,14 +54,14 @@ export declare type TSetRewardTargetRequest = {
|
|
|
54
54
|
pool_target?: str;
|
|
55
55
|
};
|
|
56
56
|
export declare type TSetRewardTargetResponse = {};
|
|
57
|
-
export declare function set_reward_targets(agent: TRPCAgent, params: TSetRewardTargetRequest): Promise<TSetRewardTargetResponse>;
|
|
57
|
+
export declare function set_reward_targets(agent: TRPCAgent, params: TSetRewardTargetRequest): Promise<TSetRewardTargetResponse | import("../../../rpc/index").ErrorResponse>;
|
|
58
58
|
export declare const get_pool_state_command = "get_pool_state";
|
|
59
59
|
export declare type get_pool_state_command = typeof get_pool_state_command;
|
|
60
60
|
export declare type TGetPoolStateRequest = {};
|
|
61
61
|
export declare type TGetPoolStateResponse = {
|
|
62
62
|
pool_state: PoolState[];
|
|
63
63
|
};
|
|
64
|
-
export declare function get_pool_state(agent: TRPCAgent): Promise<TSetRewardTargetResponse>;
|
|
64
|
+
export declare function get_pool_state(agent: TRPCAgent): Promise<TSetRewardTargetResponse | import("../../../rpc/index").ErrorResponse>;
|
|
65
65
|
export declare const set_payout_instructions_command = "set_payout_instructions";
|
|
66
66
|
export declare type set_payout_instructions_command = typeof set_payout_instructions_command;
|
|
67
67
|
export declare type TSetPayoutInstructionsRequest = {
|
|
@@ -69,20 +69,20 @@ export declare type TSetPayoutInstructionsRequest = {
|
|
|
69
69
|
payout_instructions: str;
|
|
70
70
|
};
|
|
71
71
|
export declare type TSetPayoutInstructionsResponse = {};
|
|
72
|
-
export declare function set_pool_payout_instructions(agent: TRPCAgent, params: TSetPayoutInstructionsRequest): Promise<TSetPayoutInstructionsResponse>;
|
|
72
|
+
export declare function set_pool_payout_instructions(agent: TRPCAgent, params: TSetPayoutInstructionsRequest): Promise<TSetPayoutInstructionsResponse | import("../../../rpc/index").ErrorResponse>;
|
|
73
73
|
export declare const get_harvesters_command = "get_harvesters";
|
|
74
74
|
export declare type get_harvesters_command = typeof get_harvesters_command;
|
|
75
75
|
export declare type TGetHarvestersRequest = {};
|
|
76
76
|
export declare type TGetHarvestersResponse = {
|
|
77
77
|
harvesters: Receiver[];
|
|
78
78
|
};
|
|
79
|
-
export declare function get_harvesters(agent: TRPCAgent): Promise<TGetHarvestersResponse>;
|
|
79
|
+
export declare function get_harvesters(agent: TRPCAgent): Promise<TGetHarvestersResponse | import("../../../rpc/index").ErrorResponse>;
|
|
80
80
|
export declare const get_harvesters_summary_command = "get_harvesters_summary";
|
|
81
81
|
export declare type get_harvesters_summary_command = typeof get_harvesters_summary_command;
|
|
82
82
|
export declare type TGetHarvestersSummaryResponse = {
|
|
83
83
|
harvesters: Receiver<true>[];
|
|
84
84
|
};
|
|
85
|
-
export declare function get_harvesters_summary(agent: TRPCAgent): Promise<TGetHarvestersSummaryResponse>;
|
|
85
|
+
export declare function get_harvesters_summary(agent: TRPCAgent): Promise<TGetHarvestersSummaryResponse | import("../../../rpc/index").ErrorResponse>;
|
|
86
86
|
export declare const get_harvester_plots_valid_command = "get_harvester_plots_valid";
|
|
87
87
|
export declare type get_harvester_plots_valid_command = typeof get_harvester_plots_valid_command;
|
|
88
88
|
export declare type TGetHarvesterPlotsValidRequest = {
|
|
@@ -103,7 +103,7 @@ export declare type TGetHarvesterPlotsValidResponse = {
|
|
|
103
103
|
total_count: int;
|
|
104
104
|
plots: Plot[];
|
|
105
105
|
};
|
|
106
|
-
export declare function get_harvester_plots_valid(agent: TRPCAgent, param: TGetHarvesterPlotsValidRequest): Promise<TGetHarvesterPlotsValidResponse>;
|
|
106
|
+
export declare function get_harvester_plots_valid(agent: TRPCAgent, param: TGetHarvesterPlotsValidRequest): Promise<TGetHarvesterPlotsValidResponse | import("../../../rpc/index").ErrorResponse>;
|
|
107
107
|
export declare const get_harvester_plots_invalid_command = "get_harvester_plots_invalid";
|
|
108
108
|
export declare type get_harvester_plots_invalid_command = typeof get_harvester_plots_invalid_command;
|
|
109
109
|
export declare type TGetHarvesterPlotsInvalidRequest = {
|
|
@@ -120,7 +120,7 @@ export declare type TGetHarvesterPlotsInvalidResponse = {
|
|
|
120
120
|
total_count: int;
|
|
121
121
|
plots: str[];
|
|
122
122
|
};
|
|
123
|
-
export declare function get_harvester_plots_invalid(agent: TRPCAgent, param: TGetHarvesterPlotsInvalidRequest): Promise<TGetHarvesterPlotsInvalidResponse>;
|
|
123
|
+
export declare function get_harvester_plots_invalid(agent: TRPCAgent, param: TGetHarvesterPlotsInvalidRequest): Promise<TGetHarvesterPlotsInvalidResponse | import("../../../rpc/index").ErrorResponse>;
|
|
124
124
|
export declare const get_harvester_plots_keys_missing_command = "get_harvester_plots_keys_missing";
|
|
125
125
|
export declare type get_harvester_plots_keys_missing_command = typeof get_harvester_plots_keys_missing_command;
|
|
126
126
|
export declare type TGetHarvesterPlotsKeysMissingRequest = {
|
|
@@ -137,7 +137,7 @@ export declare type TGetHarvesterPlotsKeysMissingResponse = {
|
|
|
137
137
|
total_count: int;
|
|
138
138
|
plots: str[];
|
|
139
139
|
};
|
|
140
|
-
export declare function get_harvester_plots_keys_missing(agent: TRPCAgent, param: TGetHarvesterPlotsKeysMissingRequest): Promise<TGetHarvesterPlotsKeysMissingResponse>;
|
|
140
|
+
export declare function get_harvester_plots_keys_missing(agent: TRPCAgent, param: TGetHarvesterPlotsKeysMissingRequest): Promise<TGetHarvesterPlotsKeysMissingResponse | import("../../../rpc/index").ErrorResponse>;
|
|
141
141
|
export declare const get_harvester_plots_duplicates_command = "get_harvester_plots_duplicates";
|
|
142
142
|
export declare type get_harvester_plots_duplicates_command = typeof get_harvester_plots_duplicates_command;
|
|
143
143
|
export declare type TGetHarvesterPlotsDuplicatesRequest = {
|
|
@@ -154,7 +154,7 @@ export declare type TGetHarvesterPlotsDuplicatesResponse = {
|
|
|
154
154
|
total_count: int;
|
|
155
155
|
plots: str[];
|
|
156
156
|
};
|
|
157
|
-
export declare function get_harvester_plots_duplicates(agent: TRPCAgent, param: TGetHarvesterPlotsDuplicatesRequest): Promise<TGetHarvesterPlotsDuplicatesResponse>;
|
|
157
|
+
export declare function get_harvester_plots_duplicates(agent: TRPCAgent, param: TGetHarvesterPlotsDuplicatesRequest): Promise<TGetHarvesterPlotsDuplicatesResponse | import("../../../rpc/index").ErrorResponse>;
|
|
158
158
|
export declare const get_pool_login_link_command = "get_pool_login_link";
|
|
159
159
|
export declare type get_pool_login_link_command = typeof get_pool_login_link_command;
|
|
160
160
|
export declare type TGetPoolLinkRequest = {
|
|
@@ -163,4 +163,4 @@ export declare type TGetPoolLinkRequest = {
|
|
|
163
163
|
export declare type TGetPoolLinkResponse = {
|
|
164
164
|
login_link: str;
|
|
165
165
|
};
|
|
166
|
-
export declare function get_pool_login_link(agent: TRPCAgent, params: TGetPoolLinkRequest): Promise<TGetPoolLinkResponse>;
|
|
166
|
+
export declare function get_pool_login_link(agent: TRPCAgent, params: TGetPoolLinkRequest): Promise<TGetPoolLinkResponse | import("../../../rpc/index").ErrorResponse>;
|
|
@@ -38,7 +38,7 @@ export declare type TGetBlockchainStateResponse = {
|
|
|
38
38
|
node_id: str;
|
|
39
39
|
};
|
|
40
40
|
};
|
|
41
|
-
export declare function get_blockchain_state(agent: TRPCAgent): Promise<TGetBlockchainStateResponse>;
|
|
41
|
+
export declare function get_blockchain_state(agent: TRPCAgent): Promise<TGetBlockchainStateResponse | import("../../../rpc").ErrorResponse>;
|
|
42
42
|
export declare const get_block_command = "get_block";
|
|
43
43
|
export declare type get_block_command = typeof get_block_command;
|
|
44
44
|
export declare type TGetBlockRequest = {
|
|
@@ -47,7 +47,7 @@ export declare type TGetBlockRequest = {
|
|
|
47
47
|
export declare type TGetBlockResponse = {
|
|
48
48
|
block: FullBlock;
|
|
49
49
|
};
|
|
50
|
-
export declare function get_block(agent: TRPCAgent, data: TGetBlockRequest): Promise<TGetBlockResponse>;
|
|
50
|
+
export declare function get_block(agent: TRPCAgent, data: TGetBlockRequest): Promise<TGetBlockResponse | import("../../../rpc").ErrorResponse>;
|
|
51
51
|
export declare const get_blocks_command = "get_blocks";
|
|
52
52
|
export declare type get_blocks_command = typeof get_blocks_command;
|
|
53
53
|
export declare type TGetBlocksRequest = {
|
|
@@ -61,7 +61,7 @@ export declare type TGetBlocksResponse = {
|
|
|
61
61
|
header_hash: str;
|
|
62
62
|
}>;
|
|
63
63
|
};
|
|
64
|
-
export declare function get_blocks(agent: TRPCAgent, data: TGetBlocksRequest): Promise<TGetBlocksResponse>;
|
|
64
|
+
export declare function get_blocks(agent: TRPCAgent, data: TGetBlocksRequest): Promise<TGetBlocksResponse | import("../../../rpc").ErrorResponse>;
|
|
65
65
|
export declare const get_block_count_metrics_command = "get_block_count_metrics";
|
|
66
66
|
export declare type get_block_count_metrics_command = typeof get_block_count_metrics_command;
|
|
67
67
|
export declare type TGetBlockCountMetricsResponse = {
|
|
@@ -71,7 +71,7 @@ export declare type TGetBlockCountMetricsResponse = {
|
|
|
71
71
|
"hint_count": int;
|
|
72
72
|
};
|
|
73
73
|
};
|
|
74
|
-
export declare function get_block_count_metrics(agent: TRPCAgent): Promise<TGetBlockCountMetricsResponse>;
|
|
74
|
+
export declare function get_block_count_metrics(agent: TRPCAgent): Promise<TGetBlockCountMetricsResponse | import("../../../rpc").ErrorResponse>;
|
|
75
75
|
export declare const get_block_record_by_height_command = "get_block_record_by_height";
|
|
76
76
|
export declare type get_block_record_by_height_command = typeof get_block_record_by_height_command;
|
|
77
77
|
export declare type TGetBlockRecordByHeightRequest = {
|
|
@@ -80,7 +80,7 @@ export declare type TGetBlockRecordByHeightRequest = {
|
|
|
80
80
|
export declare type TGetBlockRecordByHeightResponse = {
|
|
81
81
|
block_record: Optional<BlockRecord>;
|
|
82
82
|
};
|
|
83
|
-
export declare function get_block_record_by_height(agent: TRPCAgent, data: TGetBlockRecordByHeightRequest): Promise<TGetBlockRecordByHeightResponse>;
|
|
83
|
+
export declare function get_block_record_by_height(agent: TRPCAgent, data: TGetBlockRecordByHeightRequest): Promise<TGetBlockRecordByHeightResponse | import("../../../rpc").ErrorResponse>;
|
|
84
84
|
export declare const get_block_record_command = "get_block_record";
|
|
85
85
|
export declare type get_block_record_command = typeof get_block_record_command;
|
|
86
86
|
export declare type TGetBlockRecordRequest = {
|
|
@@ -89,7 +89,7 @@ export declare type TGetBlockRecordRequest = {
|
|
|
89
89
|
export declare type TGetBlockRecordResponse = {
|
|
90
90
|
block_record: BlockRecord;
|
|
91
91
|
};
|
|
92
|
-
export declare function get_block_record(agent: TRPCAgent, data: TGetBlockRecordRequest): Promise<TGetBlockRecordResponse>;
|
|
92
|
+
export declare function get_block_record(agent: TRPCAgent, data: TGetBlockRecordRequest): Promise<TGetBlockRecordResponse | import("../../../rpc").ErrorResponse>;
|
|
93
93
|
export declare const get_block_records_command = "get_block_records";
|
|
94
94
|
export declare type get_block_records_command = typeof get_block_records_command;
|
|
95
95
|
export declare type TGetBlockRecordsRequest = {
|
|
@@ -99,7 +99,7 @@ export declare type TGetBlockRecordsRequest = {
|
|
|
99
99
|
export declare type TGetBlockRecordsResponse = {
|
|
100
100
|
block_records: BlockRecord[];
|
|
101
101
|
};
|
|
102
|
-
export declare function get_block_records(agent: TRPCAgent, data: TGetBlockRecordsRequest): Promise<TGetBlockRecordsResponse>;
|
|
102
|
+
export declare function get_block_records(agent: TRPCAgent, data: TGetBlockRecordsRequest): Promise<TGetBlockRecordsResponse | import("../../../rpc").ErrorResponse>;
|
|
103
103
|
export declare const get_block_spends_command = "get_block_spends";
|
|
104
104
|
export declare type get_block_spends_command = typeof get_block_spends_command;
|
|
105
105
|
export declare type TGetBlockSpendsRequest = {
|
|
@@ -108,14 +108,14 @@ export declare type TGetBlockSpendsRequest = {
|
|
|
108
108
|
export declare type TGetBlockSpendsResponse = {
|
|
109
109
|
block_spends: CoinSpend[];
|
|
110
110
|
};
|
|
111
|
-
export declare function get_block_spends(agent: TRPCAgent, data: TGetBlockSpendsRequest): Promise<TGetBlockSpendsResponse>;
|
|
111
|
+
export declare function get_block_spends(agent: TRPCAgent, data: TGetBlockSpendsRequest): Promise<TGetBlockSpendsResponse | import("../../../rpc").ErrorResponse>;
|
|
112
112
|
export declare const get_unfinished_block_headers_command = "get_unfinished_block_headers";
|
|
113
113
|
export declare type get_unfinished_block_headers_command = typeof get_unfinished_block_headers_command;
|
|
114
114
|
export declare type TGetUnfinishedBlockHeadersRequest = {};
|
|
115
115
|
export declare type TGetUnfinishedBlockHeadersResponse = {
|
|
116
116
|
headers: UnfinishedHeaderBlock[];
|
|
117
117
|
};
|
|
118
|
-
export declare function get_unfinished_block_headers(agent: TRPCAgent): Promise<TGetUnfinishedBlockHeadersResponse>;
|
|
118
|
+
export declare function get_unfinished_block_headers(agent: TRPCAgent): Promise<TGetUnfinishedBlockHeadersResponse | import("../../../rpc").ErrorResponse>;
|
|
119
119
|
export declare const get_network_space_command = "get_network_space";
|
|
120
120
|
export declare type get_network_space_command = typeof get_network_space_command;
|
|
121
121
|
export declare type TGetNetworkSpaceRequest = {
|
|
@@ -125,7 +125,7 @@ export declare type TGetNetworkSpaceRequest = {
|
|
|
125
125
|
export declare type TGetNetworkSpaceResponse = {
|
|
126
126
|
space: uint128;
|
|
127
127
|
};
|
|
128
|
-
export declare function get_network_space(agent: TRPCAgent, data: TGetNetworkSpaceRequest): Promise<TGetNetworkSpaceResponse>;
|
|
128
|
+
export declare function get_network_space(agent: TRPCAgent, data: TGetNetworkSpaceRequest): Promise<TGetNetworkSpaceResponse | import("../../../rpc").ErrorResponse>;
|
|
129
129
|
export declare const get_additions_and_removals_command = "get_additions_and_removals";
|
|
130
130
|
export declare type get_additions_and_removals_command = typeof get_additions_and_removals_command;
|
|
131
131
|
export declare type TGetAdditionsAndRemovalsRequest = {
|
|
@@ -135,14 +135,14 @@ export declare type TGetAdditionsAndRemovalsResponse = {
|
|
|
135
135
|
additions: CoinRecordBackwardCompatible[];
|
|
136
136
|
removals: CoinRecordBackwardCompatible[];
|
|
137
137
|
};
|
|
138
|
-
export declare function get_additions_and_removals(agent: TRPCAgent, data: TGetAdditionsAndRemovalsRequest): Promise<TGetAdditionsAndRemovalsResponse>;
|
|
138
|
+
export declare function get_additions_and_removals(agent: TRPCAgent, data: TGetAdditionsAndRemovalsRequest): Promise<TGetAdditionsAndRemovalsResponse | import("../../../rpc").ErrorResponse>;
|
|
139
139
|
export declare const get_initial_freeze_period_command_of_full_node = "get_initial_freeze_period";
|
|
140
140
|
export declare type get_initial_freeze_period_command_of_full_node = typeof get_initial_freeze_period_command_of_full_node;
|
|
141
141
|
export declare type TGetInitialFreezePeriodRequestOfFullNode = {};
|
|
142
142
|
export declare type TGetInitialFreezePeriodResponseOfFullNode = {
|
|
143
143
|
INITIAL_FREEZE_END_TIMESTAMP: uint64;
|
|
144
144
|
};
|
|
145
|
-
export declare function get_initial_freeze_period_of_full_node(agent: TRPCAgent): Promise<TGetInitialFreezePeriodResponseOfFullNode>;
|
|
145
|
+
export declare function get_initial_freeze_period_of_full_node(agent: TRPCAgent): Promise<TGetInitialFreezePeriodResponseOfFullNode | import("../../../rpc").ErrorResponse>;
|
|
146
146
|
export declare const get_network_info_command_of_full_node = "get_network_info";
|
|
147
147
|
export declare type get_network_info_command_of_full_node = typeof get_network_info_command_of_full_node;
|
|
148
148
|
export declare type TGetNetworkInfoRequestOfFullNode = {};
|
|
@@ -150,7 +150,7 @@ export declare type TGetNetworkInfoResponseOfFullNode = {
|
|
|
150
150
|
network_name: str;
|
|
151
151
|
network_prefix: str;
|
|
152
152
|
};
|
|
153
|
-
export declare function get_network_info_of_full_node(agent: TRPCAgent): Promise<TGetNetworkInfoResponseOfFullNode>;
|
|
153
|
+
export declare function get_network_info_of_full_node(agent: TRPCAgent): Promise<TGetNetworkInfoResponseOfFullNode | import("../../../rpc").ErrorResponse>;
|
|
154
154
|
export declare const get_recent_signage_point_or_eos_command = "get_recent_signage_point_or_eos";
|
|
155
155
|
export declare type get_recent_signage_point_or_eos_command = typeof get_recent_signage_point_or_eos_command;
|
|
156
156
|
export declare type TGetRecentSignagePointOrEOSCommandRequest = {
|
|
@@ -167,7 +167,7 @@ export declare type TGetRecentSignagePointOrEOSCommandResponse = {
|
|
|
167
167
|
time_received: float;
|
|
168
168
|
reverted: bool;
|
|
169
169
|
};
|
|
170
|
-
export declare function get_recent_signage_point_or_eos(agent: TRPCAgent, data: TGetRecentSignagePointOrEOSCommandRequest): Promise<TGetRecentSignagePointOrEOSCommandResponse>;
|
|
170
|
+
export declare function get_recent_signage_point_or_eos(agent: TRPCAgent, data: TGetRecentSignagePointOrEOSCommandRequest): Promise<TGetRecentSignagePointOrEOSCommandResponse | import("../../../rpc").ErrorResponse>;
|
|
171
171
|
export declare const get_coin_records_by_puzzle_hash_command = "get_coin_records_by_puzzle_hash";
|
|
172
172
|
export declare type get_coin_records_by_puzzle_hash_command = typeof get_coin_records_by_puzzle_hash_command;
|
|
173
173
|
export declare type TGetCoinRecordsByPuzzleHashRequest = {
|
|
@@ -179,7 +179,7 @@ export declare type TGetCoinRecordsByPuzzleHashRequest = {
|
|
|
179
179
|
export declare type TGetCoinRecordsByPuzzleHashResponse = {
|
|
180
180
|
coin_records: CoinRecordBackwardCompatible[];
|
|
181
181
|
};
|
|
182
|
-
export declare function get_coin_records_by_puzzle_hash(agent: TRPCAgent, data: TGetCoinRecordsByPuzzleHashRequest): Promise<TGetCoinRecordsByPuzzleHashResponse>;
|
|
182
|
+
export declare function get_coin_records_by_puzzle_hash(agent: TRPCAgent, data: TGetCoinRecordsByPuzzleHashRequest): Promise<TGetCoinRecordsByPuzzleHashResponse | import("../../../rpc").ErrorResponse>;
|
|
183
183
|
export declare const get_coin_records_by_puzzle_hashes_command = "get_coin_records_by_puzzle_hashes";
|
|
184
184
|
export declare type get_coin_records_by_puzzle_hashes_command = typeof get_coin_records_by_puzzle_hashes_command;
|
|
185
185
|
export declare type TGetCoinRecordsByPuzzleHashesRequest = {
|
|
@@ -191,7 +191,7 @@ export declare type TGetCoinRecordsByPuzzleHashesRequest = {
|
|
|
191
191
|
export declare type TGetCoinRecordsByPuzzleHashesResponse = {
|
|
192
192
|
coin_records: CoinRecordBackwardCompatible[];
|
|
193
193
|
};
|
|
194
|
-
export declare function get_coin_records_by_puzzle_hashes(agent: TRPCAgent, data: TGetCoinRecordsByPuzzleHashesRequest): Promise<TGetCoinRecordsByPuzzleHashesResponse>;
|
|
194
|
+
export declare function get_coin_records_by_puzzle_hashes(agent: TRPCAgent, data: TGetCoinRecordsByPuzzleHashesRequest): Promise<TGetCoinRecordsByPuzzleHashesResponse | import("../../../rpc").ErrorResponse>;
|
|
195
195
|
export declare const get_coin_record_by_name_command = "get_coin_record_by_name";
|
|
196
196
|
export declare type get_coin_record_by_name_command = typeof get_coin_record_by_name_command;
|
|
197
197
|
export declare type TGetCoinRecordByNameRequest = {
|
|
@@ -200,7 +200,7 @@ export declare type TGetCoinRecordByNameRequest = {
|
|
|
200
200
|
export declare type TGetCoinRecordByNameResponse = {
|
|
201
201
|
coin_record: CoinRecordBackwardCompatible;
|
|
202
202
|
};
|
|
203
|
-
export declare function get_coin_record_by_name(agent: TRPCAgent, data: TGetCoinRecordByNameRequest): Promise<TGetCoinRecordByNameResponse>;
|
|
203
|
+
export declare function get_coin_record_by_name(agent: TRPCAgent, data: TGetCoinRecordByNameRequest): Promise<TGetCoinRecordByNameResponse | import("../../../rpc").ErrorResponse>;
|
|
204
204
|
export declare const get_coin_records_by_names_command = "get_coin_records_by_names";
|
|
205
205
|
export declare type get_coin_records_by_names_command = typeof get_coin_records_by_names_command;
|
|
206
206
|
export declare type TGetCoinRecordsByNamesRequest = {
|
|
@@ -212,7 +212,7 @@ export declare type TGetCoinRecordsByNamesRequest = {
|
|
|
212
212
|
export declare type TGetCoinRecordsByNamesResponse = {
|
|
213
213
|
coin_records: CoinRecordBackwardCompatible[];
|
|
214
214
|
};
|
|
215
|
-
export declare function get_coin_records_by_names(agent: TRPCAgent, data: TGetCoinRecordsByNamesRequest): Promise<TGetCoinRecordsByNamesResponse>;
|
|
215
|
+
export declare function get_coin_records_by_names(agent: TRPCAgent, data: TGetCoinRecordsByNamesRequest): Promise<TGetCoinRecordsByNamesResponse | import("../../../rpc").ErrorResponse>;
|
|
216
216
|
export declare const get_coin_records_by_parent_ids_command = "get_coin_records_by_parent_ids";
|
|
217
217
|
export declare type get_coin_records_by_parent_ids_command = typeof get_coin_records_by_parent_ids_command;
|
|
218
218
|
export declare type TGetCoinRecordsByParentIdsRequest = {
|
|
@@ -224,7 +224,7 @@ export declare type TGetCoinRecordsByParentIdsRequest = {
|
|
|
224
224
|
export declare type TGetCoinRecordsByParentIdsResponse = {
|
|
225
225
|
coin_records: CoinRecordBackwardCompatible[];
|
|
226
226
|
};
|
|
227
|
-
export declare function get_coin_records_by_parent_ids(agent: TRPCAgent, data: TGetCoinRecordsByParentIdsRequest): Promise<TGetCoinRecordsByParentIdsResponse>;
|
|
227
|
+
export declare function get_coin_records_by_parent_ids(agent: TRPCAgent, data: TGetCoinRecordsByParentIdsRequest): Promise<TGetCoinRecordsByParentIdsResponse | import("../../../rpc").ErrorResponse>;
|
|
228
228
|
export declare const get_coin_records_by_hint_command = "get_coin_records_by_hint";
|
|
229
229
|
export declare type get_coin_records_by_hint_command = typeof get_coin_records_by_hint_command;
|
|
230
230
|
export declare type TGetCoinRecordsByHintRequest = {
|
|
@@ -236,7 +236,7 @@ export declare type TGetCoinRecordsByHintRequest = {
|
|
|
236
236
|
export declare type TGetCoinRecordsByHintResponse = {
|
|
237
237
|
coin_records: CoinRecordBackwardCompatible[];
|
|
238
238
|
};
|
|
239
|
-
export declare function get_coin_records_by_hint(agent: TRPCAgent, data: TGetCoinRecordsByHintRequest): Promise<TGetCoinRecordsByHintResponse>;
|
|
239
|
+
export declare function get_coin_records_by_hint(agent: TRPCAgent, data: TGetCoinRecordsByHintRequest): Promise<TGetCoinRecordsByHintResponse | import("../../../rpc").ErrorResponse>;
|
|
240
240
|
export declare const push_tx_command = "push_tx";
|
|
241
241
|
export declare type push_tx_command = typeof push_tx_command;
|
|
242
242
|
export declare type TPushTxRequest = {
|
|
@@ -245,7 +245,7 @@ export declare type TPushTxRequest = {
|
|
|
245
245
|
export declare type TPushTxResponse = {
|
|
246
246
|
status: str;
|
|
247
247
|
};
|
|
248
|
-
export declare function push_tx(agent: TRPCAgent, data: TPushTxRequest): Promise<TPushTxResponse>;
|
|
248
|
+
export declare function push_tx(agent: TRPCAgent, data: TPushTxRequest): Promise<TPushTxResponse | import("../../../rpc").ErrorResponse>;
|
|
249
249
|
export declare const get_puzzle_and_solution_command = "get_puzzle_and_solution";
|
|
250
250
|
export declare type get_puzzle_and_solution_command = typeof get_puzzle_and_solution_command;
|
|
251
251
|
export declare type TGetPuzzleAndSolutionRequest = {
|
|
@@ -255,21 +255,21 @@ export declare type TGetPuzzleAndSolutionRequest = {
|
|
|
255
255
|
export declare type TGetPuzzleAndSolutionResponse = {
|
|
256
256
|
coin_solution: CoinSpend;
|
|
257
257
|
};
|
|
258
|
-
export declare function get_puzzle_and_solution(agent: TRPCAgent, data: TGetPuzzleAndSolutionRequest): Promise<TGetPuzzleAndSolutionResponse>;
|
|
258
|
+
export declare function get_puzzle_and_solution(agent: TRPCAgent, data: TGetPuzzleAndSolutionRequest): Promise<TGetPuzzleAndSolutionResponse | import("../../../rpc").ErrorResponse>;
|
|
259
259
|
export declare const get_all_mempool_tx_ids_command = "get_all_mempool_tx_ids";
|
|
260
260
|
export declare type get_all_mempool_tx_ids_command = typeof get_all_mempool_tx_ids_command;
|
|
261
261
|
export declare type TGetAllMempoolTxIdsRequest = {};
|
|
262
262
|
export declare type TGetAllMempoolTxIdsResponse = {
|
|
263
263
|
tx_ids: bytes32[];
|
|
264
264
|
};
|
|
265
|
-
export declare function get_all_mempool_tx_ids(agent: TRPCAgent): Promise<TGetAllMempoolTxIdsResponse>;
|
|
265
|
+
export declare function get_all_mempool_tx_ids(agent: TRPCAgent): Promise<TGetAllMempoolTxIdsResponse | import("../../../rpc").ErrorResponse>;
|
|
266
266
|
export declare const get_all_mempool_items_command = "get_all_mempool_items";
|
|
267
267
|
export declare type get_all_mempool_items_command = typeof get_all_mempool_items_command;
|
|
268
268
|
export declare type TGetAllMempoolItemsRequest = {};
|
|
269
269
|
export declare type TGetAllMempoolItemsResponse = {
|
|
270
270
|
mempool_items: Record<string, MempoolItem>;
|
|
271
271
|
};
|
|
272
|
-
export declare function get_all_mempool_items(agent: TRPCAgent): Promise<TGetAllMempoolItemsResponse>;
|
|
272
|
+
export declare function get_all_mempool_items(agent: TRPCAgent): Promise<TGetAllMempoolItemsResponse | import("../../../rpc").ErrorResponse>;
|
|
273
273
|
export declare const get_mempool_item_by_tx_id_command = "get_mempool_item_by_tx_id";
|
|
274
274
|
export declare type get_mempool_item_by_tx_id_command = typeof get_mempool_item_by_tx_id_command;
|
|
275
275
|
export declare type TGetMempoolItemByTxIdRequest = {
|
|
@@ -278,4 +278,4 @@ export declare type TGetMempoolItemByTxIdRequest = {
|
|
|
278
278
|
export declare type TGetMempoolItemByTxIdResponse = {
|
|
279
279
|
mempool_item: MempoolItem;
|
|
280
280
|
};
|
|
281
|
-
export declare function get_mempool_item_by_tx_id(agent: TRPCAgent, data: TGetMempoolItemByTxIdRequest): Promise<TGetMempoolItemByTxIdResponse>;
|
|
281
|
+
export declare function get_mempool_item_by_tx_id(agent: TRPCAgent, data: TGetMempoolItemByTxIdRequest): Promise<TGetMempoolItemByTxIdResponse | import("../../../rpc").ErrorResponse>;
|
|
@@ -11,37 +11,37 @@ export declare type TGetPlotsResponse = {
|
|
|
11
11
|
failed_to_open_filenames: str[];
|
|
12
12
|
not_found_filenames: str[];
|
|
13
13
|
};
|
|
14
|
-
export declare function get_plots(agent: TRPCAgent): Promise<TGetPlotsResponse>;
|
|
14
|
+
export declare function get_plots(agent: TRPCAgent): Promise<TGetPlotsResponse | import("../../../rpc").ErrorResponse>;
|
|
15
15
|
export declare const refresh_plots_command = "refresh_plots";
|
|
16
16
|
export declare type refresh_plots_command = typeof refresh_plots_command;
|
|
17
17
|
export declare type TRefreshPlotsRequest = {};
|
|
18
18
|
export declare type TRefreshPlotsResponse = {};
|
|
19
|
-
export declare function refresh_plots(agent: TRPCAgent): Promise<TRefreshPlotsResponse>;
|
|
19
|
+
export declare function refresh_plots(agent: TRPCAgent): Promise<TRefreshPlotsResponse | import("../../../rpc").ErrorResponse>;
|
|
20
20
|
export declare const delete_plot_command = "delete_plot";
|
|
21
21
|
export declare type delete_plot_command = typeof delete_plot_command;
|
|
22
22
|
export declare type TDeletePlotRequest = {
|
|
23
23
|
filename: str;
|
|
24
24
|
};
|
|
25
25
|
export declare type TDeletePlotResponse = {};
|
|
26
|
-
export declare function delete_plot(agent: TRPCAgent, data: TDeletePlotRequest): Promise<TDeletePlotResponse>;
|
|
26
|
+
export declare function delete_plot(agent: TRPCAgent, data: TDeletePlotRequest): Promise<TDeletePlotResponse | import("../../../rpc").ErrorResponse>;
|
|
27
27
|
export declare const add_plot_directory_command = "add_plot_directory";
|
|
28
28
|
export declare type add_plot_directory_command = typeof add_plot_directory_command;
|
|
29
29
|
export declare type TAddPlotDirectoryRequest = {
|
|
30
30
|
dirname: str;
|
|
31
31
|
};
|
|
32
32
|
export declare type TAddPlotDirectoryResponse = {};
|
|
33
|
-
export declare function add_plot_directory(agent: TRPCAgent, data: TAddPlotDirectoryRequest): Promise<TAddPlotDirectoryResponse>;
|
|
33
|
+
export declare function add_plot_directory(agent: TRPCAgent, data: TAddPlotDirectoryRequest): Promise<TAddPlotDirectoryResponse | import("../../../rpc").ErrorResponse>;
|
|
34
34
|
export declare const get_plot_directories_command = "get_plot_directories";
|
|
35
35
|
export declare type get_plot_directories_command = typeof get_plot_directories_command;
|
|
36
36
|
export declare type TGetPlotDirectoriesRequest = {};
|
|
37
37
|
export declare type TGetPlotDirectoriesResponse = {
|
|
38
38
|
directories: str[];
|
|
39
39
|
};
|
|
40
|
-
export declare function get_plot_directories(agent: TRPCAgent): Promise<TGetPlotDirectoriesResponse>;
|
|
40
|
+
export declare function get_plot_directories(agent: TRPCAgent): Promise<TGetPlotDirectoriesResponse | import("../../../rpc").ErrorResponse>;
|
|
41
41
|
export declare const remove_plot_directory_command = "remove_plot_directory";
|
|
42
42
|
export declare type remove_plot_directory_command = typeof remove_plot_directory_command;
|
|
43
43
|
export declare type TRemovePlotDirectoryRequest = {
|
|
44
44
|
dirname: str;
|
|
45
45
|
};
|
|
46
46
|
export declare type TRemovePlotDirectoryResponse = {};
|
|
47
|
-
export declare function remove_plot_directory(agent: TRPCAgent, data: TRemovePlotDirectoryRequest): Promise<TRemovePlotDirectoryResponse>;
|
|
47
|
+
export declare function remove_plot_directory(agent: TRPCAgent, data: TRemovePlotDirectoryRequest): Promise<TRemovePlotDirectoryResponse | import("../../../rpc").ErrorResponse>;
|