@sentio/api 1.0.3-rc.3 → 1.0.3-rc.31
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/src/sdk.gen.d.ts +124 -58
- package/dist/src/sdk.gen.js +288 -1
- package/dist/src/sdk.gen.js.map +1 -1
- package/dist/src/types.gen.d.ts +3359 -2846
- package/package.json +1 -1
- package/src/sdk.gen.ts +415 -115
- package/src/types.gen.ts +3365 -3305
package/dist/src/sdk.gen.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Options as ClientOptions, TDataShape, Client } from '@hey-api/client-fetch';
|
|
2
|
-
import type {
|
|
2
|
+
import type { ai_service, alert_service, analytic_service, web_service, insights_service, metrics_service, price_service, processor_service, common, solidity_service, google, solidit_service } from './types.gen';
|
|
3
3
|
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = ClientOptions<TData, ThrowOnError> & {
|
|
4
4
|
/**
|
|
5
5
|
* You can provide a client instance returned by `createClient()` instead of
|
|
@@ -13,40 +13,72 @@ export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends
|
|
|
13
13
|
*/
|
|
14
14
|
meta?: Record<string, unknown>;
|
|
15
15
|
};
|
|
16
|
+
export declare class AiService {
|
|
17
|
+
/**
|
|
18
|
+
* Create Chat Session
|
|
19
|
+
* Initialize a new AI chat session. Returns a session_id that can be used with PostSessionMessage to have a conversation with the AI. Messages are generated as part of runs, with is_final indicating run completion.
|
|
20
|
+
*/
|
|
21
|
+
static createChatSession<ThrowOnError extends boolean = false>(options: Options<ai_service.CreateChatSessionData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<ai_service.CreateChatSessionResponse, unknown, ThrowOnError>;
|
|
22
|
+
/**
|
|
23
|
+
* Query Chat Session
|
|
24
|
+
* Retrieve information about an existing chat session, returning only messages after the specified cursor position. Messages include run_id to identify generation runs.
|
|
25
|
+
*/
|
|
26
|
+
static queryChatSession<ThrowOnError extends boolean = false>(options: Options<ai_service.QueryChatSessionData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<ai_service.ChatSession, unknown, ThrowOnError>;
|
|
27
|
+
/**
|
|
28
|
+
* Post Session Message
|
|
29
|
+
* Add a new message to an existing chat session. This will trigger AI message generation as a run. check is_final to know when all messages for the run have been generated.
|
|
30
|
+
*/
|
|
31
|
+
static postSessionMessage<ThrowOnError extends boolean = false>(options: Options<ai_service.PostSessionMessageData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<ai_service.PostSessionMessageResponse, unknown, ThrowOnError>;
|
|
32
|
+
}
|
|
16
33
|
export declare class AlertsService {
|
|
17
34
|
/**
|
|
18
35
|
* Save an alert rule
|
|
19
36
|
*/
|
|
20
|
-
static saveAlertRule<ThrowOnError extends boolean = false>(options: Options<SaveAlertRuleData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<{
|
|
37
|
+
static saveAlertRule<ThrowOnError extends boolean = false>(options: Options<alert_service.SaveAlertRuleData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<{
|
|
21
38
|
[key: string]: unknown;
|
|
22
39
|
}, unknown, ThrowOnError>;
|
|
23
40
|
/**
|
|
24
41
|
* List all alert rules for a project
|
|
25
42
|
*/
|
|
26
|
-
static getAlertRules<ThrowOnError extends boolean = false>(options: Options<GetAlertRulesData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
43
|
+
static getAlertRules<ThrowOnError extends boolean = false>(options: Options<alert_service.GetAlertRulesData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<alert_service.GetAlertRulesResponse, unknown, ThrowOnError>;
|
|
27
44
|
/**
|
|
28
45
|
* Delete an alert rule
|
|
29
46
|
*/
|
|
30
|
-
static deleteAlertRule<ThrowOnError extends boolean = false>(options: Options<DeleteAlertRuleData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<{
|
|
47
|
+
static deleteAlertRule<ThrowOnError extends boolean = false>(options: Options<alert_service.DeleteAlertRuleData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<{
|
|
31
48
|
[key: string]: unknown;
|
|
32
49
|
}, unknown, ThrowOnError>;
|
|
33
50
|
/**
|
|
34
51
|
* Save an alert rule
|
|
35
52
|
*/
|
|
36
|
-
static saveAlertRule2<ThrowOnError extends boolean = false>(options: Options<SaveAlertRule2Data, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<{
|
|
53
|
+
static saveAlertRule2<ThrowOnError extends boolean = false>(options: Options<alert_service.SaveAlertRule2Data, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<{
|
|
37
54
|
[key: string]: unknown;
|
|
38
55
|
}, unknown, ThrowOnError>;
|
|
39
56
|
/**
|
|
40
57
|
* Find an alert rule by id, and list all alerts for this rule
|
|
41
58
|
*/
|
|
42
|
-
static getAlert<ThrowOnError extends boolean = false>(options: Options<GetAlertData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
59
|
+
static getAlert<ThrowOnError extends boolean = false>(options: Options<alert_service.GetAlertData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<alert_service.GetAlertResponse, unknown, ThrowOnError>;
|
|
43
60
|
}
|
|
44
61
|
export declare class DataService {
|
|
62
|
+
/**
|
|
63
|
+
* Save Sharing SQL
|
|
64
|
+
* Save or update sharing settings for a SQL query.
|
|
65
|
+
*/
|
|
66
|
+
static saveSharingSql<ThrowOnError extends boolean = false>(options: Options<analytic_service.SaveSharingSqlData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<analytic_service.SaveSharingSqlResponse, unknown, ThrowOnError>;
|
|
67
|
+
/**
|
|
68
|
+
* Get Sharing SQL
|
|
69
|
+
* Get sharing settings for a SQL query.
|
|
70
|
+
*/
|
|
71
|
+
static getSharingSql<ThrowOnError extends boolean = false>(options: Options<analytic_service.GetSharingSqlData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<analytic_service.GetSharingSqlResponse, unknown, ThrowOnError>;
|
|
72
|
+
/**
|
|
73
|
+
* Query Tables
|
|
74
|
+
* Query tables in a project. use flag to control which type of tables to include.
|
|
75
|
+
*/
|
|
76
|
+
static queryTables2<ThrowOnError extends boolean = false>(options?: Options<analytic_service.QueryTables2Data, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<analytic_service.QueryTablesResponse, unknown, ThrowOnError>;
|
|
45
77
|
/**
|
|
46
78
|
* Cancel SQL Query
|
|
47
79
|
* Cancel a SQL query by execution_id.
|
|
48
80
|
*/
|
|
49
|
-
static cancelSqlQuery<ThrowOnError extends boolean = false>(options: Options<CancelSqlQueryData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<{
|
|
81
|
+
static cancelSqlQuery<ThrowOnError extends boolean = false>(options: Options<analytic_service.CancelSqlQueryData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<{
|
|
50
82
|
[key: string]: unknown;
|
|
51
83
|
}, unknown, ThrowOnError>;
|
|
52
84
|
/**
|
|
@@ -57,112 +89,139 @@ export declare class DataService {
|
|
|
57
89
|
*
|
|
58
90
|
* Find more: https://docs.sentio.xyz/reference/data#sql-api
|
|
59
91
|
*/
|
|
60
|
-
static executeSql<ThrowOnError extends boolean = false>(options: Options<ExecuteSqlData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
92
|
+
static executeSql<ThrowOnError extends boolean = false>(options: Options<analytic_service.ExecuteSqlData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<analytic_service.SyncExecuteSqlResponse, unknown, ThrowOnError>;
|
|
61
93
|
/**
|
|
62
94
|
* Execute SQL by Async
|
|
63
95
|
* Execute SQL in a project asynchronously.
|
|
64
96
|
*/
|
|
65
|
-
static executeSqlAsync<ThrowOnError extends boolean = false>(options: Options<ExecuteSqlAsyncData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
97
|
+
static executeSqlAsync<ThrowOnError extends boolean = false>(options: Options<analytic_service.ExecuteSqlAsyncData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<analytic_service.AsyncExecuteSqlResponse, unknown, ThrowOnError>;
|
|
66
98
|
/**
|
|
67
99
|
* Query SQL Execution Detail
|
|
68
100
|
* Query the execution detail of a SQL query by execution_id.
|
|
69
101
|
*/
|
|
70
|
-
static querySqlExecutionDetail<ThrowOnError extends boolean = false>(options: Options<QuerySqlExecutionDetailData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
102
|
+
static querySqlExecutionDetail<ThrowOnError extends boolean = false>(options: Options<analytic_service.QuerySqlExecutionDetailData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<analytic_service.QuerySqlExecutionDetailResponse, unknown, ThrowOnError>;
|
|
71
103
|
/**
|
|
72
104
|
* Query SQL Result
|
|
73
105
|
* Query the result of a SQL query by execution_id.
|
|
74
106
|
*/
|
|
75
|
-
static querySqlResult<ThrowOnError extends boolean = false>(options: Options<QuerySqlResultData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
107
|
+
static querySqlResult<ThrowOnError extends boolean = false>(options: Options<analytic_service.QuerySqlResultData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<analytic_service.QuerySqlResultResponse, unknown, ThrowOnError>;
|
|
108
|
+
/**
|
|
109
|
+
* Save Refreshable Materialized View
|
|
110
|
+
* Save or update a refreshable materialized view in a project.
|
|
111
|
+
*/
|
|
112
|
+
static saveRefreshableMaterializedView<ThrowOnError extends boolean = false>(options: Options<analytic_service.SaveRefreshableMaterializedViewData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<analytic_service.SaveRefreshableMaterializedViewResponse, unknown, ThrowOnError>;
|
|
113
|
+
/**
|
|
114
|
+
* Delete Refreshable Materialized View
|
|
115
|
+
* Delete a refreshable materialized view in a project.
|
|
116
|
+
*/
|
|
117
|
+
static deleteRefreshableMaterializedView<ThrowOnError extends boolean = false>(options: Options<analytic_service.DeleteRefreshableMaterializedViewData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<{
|
|
118
|
+
[key: string]: unknown;
|
|
119
|
+
}, unknown, ThrowOnError>;
|
|
120
|
+
/**
|
|
121
|
+
* Get Refreshable Materialized View Status
|
|
122
|
+
* Get the status of a refreshable materialized view in a project.
|
|
123
|
+
*/
|
|
124
|
+
static getRefreshableMaterializedStatus<ThrowOnError extends boolean = false>(options: Options<analytic_service.GetRefreshableMaterializedStatusData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<analytic_service.GetRefreshableMaterializedViewStatusResponse, unknown, ThrowOnError>;
|
|
125
|
+
/**
|
|
126
|
+
* List Refreshable Materialized Views
|
|
127
|
+
* List all refreshable materialized views in a project.
|
|
128
|
+
*/
|
|
129
|
+
static listRefreshableMaterializedViews<ThrowOnError extends boolean = false>(options: Options<analytic_service.ListRefreshableMaterializedViewsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<analytic_service.ListRefreshableMaterializedViewResponse, unknown, ThrowOnError>;
|
|
76
130
|
/**
|
|
77
131
|
* Save SQL
|
|
78
132
|
* Save or update a SQL query in a project.
|
|
79
133
|
*/
|
|
80
|
-
static saveSql<ThrowOnError extends boolean = false>(options: Options<SaveSqlData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
134
|
+
static saveSql<ThrowOnError extends boolean = false>(options: Options<analytic_service.SaveSqlData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<analytic_service.SaveSqlResponse, unknown, ThrowOnError>;
|
|
81
135
|
/**
|
|
82
136
|
* Save SQL
|
|
83
137
|
* Save or update a SQL query in a project.
|
|
84
138
|
*/
|
|
85
|
-
static saveSql2<ThrowOnError extends boolean = false>(options: Options<SaveSql2Data, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
139
|
+
static saveSql2<ThrowOnError extends boolean = false>(options: Options<analytic_service.SaveSql2Data, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<analytic_service.SaveSqlResponse, unknown, ThrowOnError>;
|
|
140
|
+
/**
|
|
141
|
+
* Query Tables
|
|
142
|
+
* Query tables in a project. use flag to control which type of tables to include.
|
|
143
|
+
*/
|
|
144
|
+
static queryTables<ThrowOnError extends boolean = false>(options: Options<analytic_service.QueryTablesData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<analytic_service.QueryTablesResponse, unknown, ThrowOnError>;
|
|
86
145
|
/**
|
|
87
146
|
* Query event logs
|
|
88
147
|
*/
|
|
89
|
-
static queryLog<ThrowOnError extends boolean = false>(options: Options<QueryLogData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
148
|
+
static queryLog<ThrowOnError extends boolean = false>(options: Options<analytic_service.QueryLogData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<analytic_service.LogQueryResponse, unknown, ThrowOnError>;
|
|
90
149
|
/**
|
|
91
150
|
* Query event logs
|
|
92
151
|
*/
|
|
93
|
-
static queryLog2<ThrowOnError extends boolean = false>(options: Options<QueryLog2Data, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
152
|
+
static queryLog2<ThrowOnError extends boolean = false>(options: Options<analytic_service.QueryLog2Data, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<analytic_service.LogQueryResponse, unknown, ThrowOnError>;
|
|
94
153
|
/**
|
|
95
154
|
* List coins
|
|
96
155
|
* Get a list of coins in a project.
|
|
97
156
|
*/
|
|
98
|
-
static listCoins2<ThrowOnError extends boolean = false>(options?: Options<ListCoins2Data, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
157
|
+
static listCoins2<ThrowOnError extends boolean = false>(options?: Options<insights_service.ListCoins2Data, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<insights_service.ListCoinsResponse, unknown, ThrowOnError>;
|
|
99
158
|
/**
|
|
100
159
|
* List coins
|
|
101
160
|
* Get a list of coins in a project.
|
|
102
161
|
*/
|
|
103
|
-
static listCoins<ThrowOnError extends boolean = false>(options: Options<ListCoinsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
162
|
+
static listCoins<ThrowOnError extends boolean = false>(options: Options<insights_service.ListCoinsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<insights_service.ListCoinsResponse, unknown, ThrowOnError>;
|
|
104
163
|
/**
|
|
105
164
|
* Insight Query
|
|
106
165
|
* Query for metrics,event logs and coin prices in a project.
|
|
107
166
|
*/
|
|
108
|
-
static query<ThrowOnError extends boolean = false>(options: Options<QueryData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
167
|
+
static query<ThrowOnError extends boolean = false>(options: Options<insights_service.QueryData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<insights_service.QueryResponse, unknown, ThrowOnError>;
|
|
109
168
|
/**
|
|
110
169
|
* Get a list of metrics in a project
|
|
111
170
|
*/
|
|
112
|
-
static getMetrics<ThrowOnError extends boolean = false>(options?: Options<GetMetricsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
171
|
+
static getMetrics<ThrowOnError extends boolean = false>(options?: Options<metrics_service.GetMetricsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<metrics_service.GetMetricsResponse, unknown, ThrowOnError>;
|
|
113
172
|
/**
|
|
114
173
|
* Metric instant queries
|
|
115
174
|
*/
|
|
116
|
-
static queryInstant<ThrowOnError extends boolean = false>(options: Options<QueryInstantData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
175
|
+
static queryInstant<ThrowOnError extends boolean = false>(options: Options<metrics_service.QueryInstantData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<metrics_service.QueryValueResponse, unknown, ThrowOnError>;
|
|
117
176
|
/**
|
|
118
177
|
* Metric range queries
|
|
119
178
|
* The easiest way to build query is through UI, you could first create an insight chart, and then **Export as cURL**.
|
|
120
179
|
*
|
|
121
180
|
* .png)
|
|
122
181
|
*/
|
|
123
|
-
static queryRange<ThrowOnError extends boolean = false>(options: Options<QueryRangeData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
182
|
+
static queryRange<ThrowOnError extends boolean = false>(options: Options<metrics_service.QueryRangeData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<metrics_service.MetricsQueryResponse, unknown, ThrowOnError>;
|
|
124
183
|
}
|
|
125
184
|
export declare class WebService {
|
|
126
185
|
/**
|
|
127
186
|
* List all dashboards in a project
|
|
128
187
|
*/
|
|
129
|
-
static listDashboards<ThrowOnError extends boolean = false>(options?: Options<ListDashboardsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
188
|
+
static listDashboards<ThrowOnError extends boolean = false>(options?: Options<web_service.ListDashboardsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<web_service.GetDashboardResponse, unknown, ThrowOnError>;
|
|
130
189
|
/**
|
|
131
190
|
* Import a dashboard to another dashboard
|
|
132
191
|
*/
|
|
133
|
-
static importDashboard<ThrowOnError extends boolean = false>(options: Options<ImportDashboardData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
192
|
+
static importDashboard<ThrowOnError extends boolean = false>(options: Options<web_service.ImportDashboardData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<web_service.ImportDashboardResponse, unknown, ThrowOnError>;
|
|
134
193
|
/**
|
|
135
194
|
* Delete a dashboard by id
|
|
136
195
|
*/
|
|
137
|
-
static deleteDashboard<ThrowOnError extends boolean = false>(options: Options<DeleteDashboardData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
196
|
+
static deleteDashboard<ThrowOnError extends boolean = false>(options: Options<web_service.DeleteDashboardData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<web_service.Dashboard, unknown, ThrowOnError>;
|
|
138
197
|
/**
|
|
139
198
|
* Get a dashboard by id
|
|
140
199
|
*/
|
|
141
|
-
static getDashboard<ThrowOnError extends boolean = false>(options: Options<GetDashboardData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
200
|
+
static getDashboard<ThrowOnError extends boolean = false>(options: Options<web_service.GetDashboardData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<web_service.GetDashboardResponse, unknown, ThrowOnError>;
|
|
142
201
|
/**
|
|
143
202
|
* Export a dashboard to json
|
|
144
203
|
*/
|
|
145
|
-
static exportDashboard<ThrowOnError extends boolean = false>(options: Options<ExportDashboardData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
204
|
+
static exportDashboard<ThrowOnError extends boolean = false>(options: Options<web_service.ExportDashboardData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<web_service.ExportDashboardResponse, unknown, ThrowOnError>;
|
|
146
205
|
/**
|
|
147
206
|
* Get project details
|
|
148
207
|
*/
|
|
149
|
-
static getProject<ThrowOnError extends boolean = false>(options: Options<GetProjectData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
208
|
+
static getProject<ThrowOnError extends boolean = false>(options: Options<web_service.GetProjectData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<web_service.GetProjectResponse, unknown, ThrowOnError>;
|
|
150
209
|
/**
|
|
151
210
|
* Get project details
|
|
152
211
|
*/
|
|
153
|
-
static getProjectById<ThrowOnError extends boolean = false>(options: Options<GetProjectByIdData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
212
|
+
static getProjectById<ThrowOnError extends boolean = false>(options: Options<common.GetProjectByIdData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<common.ProjectInfo, unknown, ThrowOnError>;
|
|
154
213
|
/**
|
|
155
214
|
* Get project list
|
|
156
215
|
*/
|
|
157
|
-
static getProjectList<ThrowOnError extends boolean = false>(options?: Options<GetProjectListData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
216
|
+
static getProjectList<ThrowOnError extends boolean = false>(options?: Options<web_service.GetProjectListData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<web_service.GetProjectListResponse, unknown, ThrowOnError>;
|
|
158
217
|
/**
|
|
159
218
|
* List all dashboards in a project
|
|
160
219
|
*/
|
|
161
|
-
static listDashboards2<ThrowOnError extends boolean = false>(options: Options<ListDashboards2Data, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
220
|
+
static listDashboards2<ThrowOnError extends boolean = false>(options: Options<web_service.ListDashboards2Data, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<web_service.GetDashboardResponse, unknown, ThrowOnError>;
|
|
162
221
|
/**
|
|
163
222
|
* Get a dashboard by id
|
|
164
223
|
*/
|
|
165
|
-
static getDashboard2<ThrowOnError extends boolean = false>(options: Options<GetDashboard2Data, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
224
|
+
static getDashboard2<ThrowOnError extends boolean = false>(options: Options<web_service.GetDashboard2Data, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<web_service.GetDashboardResponse, unknown, ThrowOnError>;
|
|
166
225
|
}
|
|
167
226
|
export declare class PriceService {
|
|
168
227
|
/**
|
|
@@ -172,7 +231,7 @@ export declare class PriceService {
|
|
|
172
231
|
* If we have at least one price data for the given coin, we will return it with the actual timestamp.
|
|
173
232
|
* Client is responsible for checking the timestamp and decide whether to use the price or not.
|
|
174
233
|
*/
|
|
175
|
-
static getPrice<ThrowOnError extends boolean = false>(options?: Options<GetPriceData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
234
|
+
static getPrice<ThrowOnError extends boolean = false>(options?: Options<price_service.GetPriceData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<price_service.GetPriceResponse, unknown, ThrowOnError>;
|
|
176
235
|
/**
|
|
177
236
|
* Add coin by Gecko
|
|
178
237
|
* adds a coin by its coingecko id.
|
|
@@ -183,66 +242,73 @@ export declare class PriceService {
|
|
|
183
242
|
*
|
|
184
243
|
* 
|
|
185
244
|
*/
|
|
186
|
-
static addCoinByGecko<ThrowOnError extends boolean = false>(options: Options<AddCoinByGeckoData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
245
|
+
static addCoinByGecko<ThrowOnError extends boolean = false>(options: Options<price_service.AddCoinByGeckoData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<price_service.AddCoinByGeckoResponse, unknown, ThrowOnError>;
|
|
187
246
|
/**
|
|
188
247
|
* Batch get prices
|
|
189
248
|
*/
|
|
190
|
-
static batchGetPrices<ThrowOnError extends boolean = false>(options: Options<BatchGetPricesData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
249
|
+
static batchGetPrices<ThrowOnError extends boolean = false>(options: Options<price_service.BatchGetPricesData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<price_service.BatchGetPricesResponse, unknown, ThrowOnError>;
|
|
191
250
|
/**
|
|
192
251
|
* Check latest price
|
|
193
252
|
*/
|
|
194
|
-
static checkLatestPrice<ThrowOnError extends boolean = false>(options?: Options<CheckLatestPriceData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
253
|
+
static checkLatestPrice<ThrowOnError extends boolean = false>(options?: Options<price_service.CheckLatestPriceData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<price_service.CheckLatestPriceResponse, unknown, ThrowOnError>;
|
|
195
254
|
/**
|
|
196
255
|
* List coins
|
|
197
256
|
*/
|
|
198
|
-
static priceListCoins<ThrowOnError extends boolean = false>(options?: Options<PriceListCoinsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
257
|
+
static priceListCoins<ThrowOnError extends boolean = false>(options?: Options<price_service.PriceListCoinsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<price_service.ListCoinsResponse2, unknown, ThrowOnError>;
|
|
199
258
|
}
|
|
200
259
|
export declare class ProcessorService {
|
|
260
|
+
static activatePendingVersion<ThrowOnError extends boolean = false>(options: Options<processor_service.ActivatePendingVersionData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<{
|
|
261
|
+
[key: string]: unknown;
|
|
262
|
+
}, unknown, ThrowOnError>;
|
|
263
|
+
/**
|
|
264
|
+
* Get the source files of a processor
|
|
265
|
+
*/
|
|
266
|
+
static getProcessorSourceFiles<ThrowOnError extends boolean = false>(options: Options<processor_service.GetProcessorSourceFilesData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<processor_service.GetProcessorSourceFilesResponse, unknown, ThrowOnError>;
|
|
201
267
|
/**
|
|
202
268
|
* Get processor status
|
|
203
269
|
*/
|
|
204
|
-
static getProcessorStatusV2<ThrowOnError extends boolean = false>(options: Options<GetProcessorStatusV2Data, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
270
|
+
static getProcessorStatusV2<ThrowOnError extends boolean = false>(options: Options<processor_service.GetProcessorStatusV2Data, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<processor_service.GetProcessorStatusResponse, unknown, ThrowOnError>;
|
|
205
271
|
}
|
|
206
272
|
export declare class DebugAndSimulationService {
|
|
207
273
|
/**
|
|
208
274
|
* Estimate gas price
|
|
209
275
|
*/
|
|
210
|
-
static getEstimatedGasPrice<ThrowOnError extends boolean = false>(options?: Options<GetEstimatedGasPriceData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
276
|
+
static getEstimatedGasPrice<ThrowOnError extends boolean = false>(options?: Options<solidity_service.GetEstimatedGasPriceData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<solidity_service.GetEstimatedGasPriceResponse, unknown, ThrowOnError>;
|
|
211
277
|
/**
|
|
212
278
|
* Search transactions
|
|
213
279
|
*/
|
|
214
|
-
static searchTransactions<ThrowOnError extends boolean = false>(options: Options<SearchTransactionsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
280
|
+
static searchTransactions<ThrowOnError extends boolean = false>(options: Options<solidity_service.SearchTransactionsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<solidity_service.EvmSearchTransactionsResponse, unknown, ThrowOnError>;
|
|
215
281
|
/**
|
|
216
282
|
* Get list of simulations
|
|
217
283
|
*/
|
|
218
|
-
static getSimulations<ThrowOnError extends boolean = false>(options: Options<GetSimulationsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
284
|
+
static getSimulations<ThrowOnError extends boolean = false>(options: Options<solidity_service.GetSimulationsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<solidity_service.GetSimulationsResponse, unknown, ThrowOnError>;
|
|
219
285
|
/**
|
|
220
286
|
* Get simulation by ID
|
|
221
287
|
*/
|
|
222
|
-
static getSimulation<ThrowOnError extends boolean = false>(options: Options<GetSimulationData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
288
|
+
static getSimulation<ThrowOnError extends boolean = false>(options: Options<solidity_service.GetSimulationData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<solidity_service.GetSimulationResponse, unknown, ThrowOnError>;
|
|
223
289
|
/**
|
|
224
290
|
* Get bundle simulation by ID
|
|
225
291
|
*/
|
|
226
|
-
static getSimulationBundleInProject<ThrowOnError extends boolean = false>(options: Options<GetSimulationBundleInProjectData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
292
|
+
static getSimulationBundleInProject<ThrowOnError extends boolean = false>(options: Options<solidity_service.GetSimulationBundleInProjectData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<solidity_service.GetSimulationBundleResponse, unknown, ThrowOnError>;
|
|
227
293
|
/**
|
|
228
294
|
* Get trace by bundle simulation
|
|
229
295
|
*/
|
|
230
|
-
static getCallTraceByBundle<ThrowOnError extends boolean = false>(options: Options<GetCallTraceByBundleData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
296
|
+
static getCallTraceByBundle<ThrowOnError extends boolean = false>(options: Options<google.GetCallTraceByBundleData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<google.ApiHttpBody, unknown, ThrowOnError>;
|
|
231
297
|
/**
|
|
232
298
|
* Run simulation
|
|
233
299
|
* Create a new transaction simulation. The simulation body should be included in the request body.
|
|
234
300
|
* Your simulations will be saved, and a unique ID for each simulation is included in the response. It will be useful for fetching simulation details.
|
|
235
301
|
*/
|
|
236
|
-
static simulateTransaction<ThrowOnError extends boolean = false>(options: Options<SimulateTransactionData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
302
|
+
static simulateTransaction<ThrowOnError extends boolean = false>(options: Options<solidity_service.SimulateTransactionData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<solidity_service.SimulateTransactionResponse, unknown, ThrowOnError>;
|
|
237
303
|
/**
|
|
238
304
|
* Get trace by simulation
|
|
239
305
|
*/
|
|
240
|
-
static getCallTraceBySimulation<ThrowOnError extends boolean = false>(options: Options<GetCallTraceBySimulationData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
306
|
+
static getCallTraceBySimulation<ThrowOnError extends boolean = false>(options: Options<google.GetCallTraceBySimulationData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<google.ApiHttpBody, unknown, ThrowOnError>;
|
|
241
307
|
/**
|
|
242
308
|
* Run bundle simulation
|
|
243
309
|
* You could also create bundle simulations so that one transaction could be executed one after another. For `blockNumber` `transactionIndex` `networkId` `stateOverrides` and `blockOverrides` fields, only the first simulation takes effect.
|
|
244
310
|
*/
|
|
245
|
-
static simulateTransactionBundle<ThrowOnError extends boolean = false>(options: Options<SimulateTransactionBundleData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
311
|
+
static simulateTransactionBundle<ThrowOnError extends boolean = false>(options: Options<solidity_service.SimulateTransactionBundleData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<solidity_service.SimulateTransactionBundleResponse, unknown, ThrowOnError>;
|
|
246
312
|
/**
|
|
247
313
|
* Get trace by transaction
|
|
248
314
|
* API to get Sentio call trace. It takes `txId.txHash` and `chainSpec.chainId` arguments, where the first is transaction hash, and the second is the numeric ethereum chain ID.
|
|
@@ -253,53 +319,53 @@ export declare class DebugAndSimulationService {
|
|
|
253
319
|
*
|
|
254
320
|
* %20(1)%20(1)%20(1).png)
|
|
255
321
|
*/
|
|
256
|
-
static getCallTraceByTransaction<ThrowOnError extends boolean = false>(options: Options<GetCallTraceByTransactionData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
322
|
+
static getCallTraceByTransaction<ThrowOnError extends boolean = false>(options: Options<google.GetCallTraceByTransactionData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<google.ApiHttpBody, unknown, ThrowOnError>;
|
|
257
323
|
}
|
|
258
324
|
export declare class ForksService {
|
|
259
325
|
/**
|
|
260
326
|
* List all forks
|
|
261
327
|
*/
|
|
262
|
-
static listForks<ThrowOnError extends boolean = false>(options: Options<ListForksData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
328
|
+
static listForks<ThrowOnError extends boolean = false>(options: Options<solidity_service.ListForksData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<solidity_service.ListForksResponse, unknown, ThrowOnError>;
|
|
263
329
|
/**
|
|
264
330
|
* Create a fork
|
|
265
331
|
*/
|
|
266
|
-
static createFork<ThrowOnError extends boolean = false>(options: Options<CreateForkData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
332
|
+
static createFork<ThrowOnError extends boolean = false>(options: Options<solidity_service.CreateForkData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<solidity_service.CreateForkResponse, unknown, ThrowOnError>;
|
|
267
333
|
/**
|
|
268
334
|
* Get trace by bundle simulation
|
|
269
335
|
*/
|
|
270
|
-
static getCallTraceOnForkBundle<ThrowOnError extends boolean = false>(options: Options<GetCallTraceOnForkBundleData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
336
|
+
static getCallTraceOnForkBundle<ThrowOnError extends boolean = false>(options: Options<google.GetCallTraceOnForkBundleData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<google.ApiHttpBody, unknown, ThrowOnError>;
|
|
271
337
|
/**
|
|
272
338
|
* Run Simulation
|
|
273
339
|
*/
|
|
274
|
-
static simulateTransactionOnFork<ThrowOnError extends boolean = false>(options: Options<SimulateTransactionOnForkData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
340
|
+
static simulateTransactionOnFork<ThrowOnError extends boolean = false>(options: Options<solidity_service.SimulateTransactionOnForkData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<solidity_service.SimulateTransactionResponse, unknown, ThrowOnError>;
|
|
275
341
|
/**
|
|
276
342
|
* Get trace by simulation
|
|
277
343
|
*/
|
|
278
|
-
static getCallTraceOnForkSimulation<ThrowOnError extends boolean = false>(options: Options<GetCallTraceOnForkSimulationData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
344
|
+
static getCallTraceOnForkSimulation<ThrowOnError extends boolean = false>(options: Options<google.GetCallTraceOnForkSimulationData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<google.ApiHttpBody, unknown, ThrowOnError>;
|
|
279
345
|
/**
|
|
280
346
|
* Run bundle simulation
|
|
281
347
|
*/
|
|
282
|
-
static simulateTransactionBundleOnFork<ThrowOnError extends boolean = false>(options: Options<SimulateTransactionBundleOnForkData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
348
|
+
static simulateTransactionBundleOnFork<ThrowOnError extends boolean = false>(options: Options<solidity_service.SimulateTransactionBundleOnForkData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<solidity_service.SimulateTransactionBundleResponse, unknown, ThrowOnError>;
|
|
283
349
|
/**
|
|
284
350
|
* Get trace by transaction
|
|
285
351
|
*/
|
|
286
|
-
static getCallTraceOnForkTransaction<ThrowOnError extends boolean = false>(options: Options<GetCallTraceOnForkTransactionData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
352
|
+
static getCallTraceOnForkTransaction<ThrowOnError extends boolean = false>(options: Options<google.GetCallTraceOnForkTransactionData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<google.ApiHttpBody, unknown, ThrowOnError>;
|
|
287
353
|
/**
|
|
288
354
|
* Delete fork by id
|
|
289
355
|
*/
|
|
290
|
-
static deleteFork<ThrowOnError extends boolean = false>(options: Options<DeleteForkData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<{
|
|
356
|
+
static deleteFork<ThrowOnError extends boolean = false>(options: Options<solidit_service.DeleteForkData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<{
|
|
291
357
|
[key: string]: unknown;
|
|
292
358
|
}, unknown, ThrowOnError>;
|
|
293
359
|
/**
|
|
294
360
|
* Get fork by id
|
|
295
361
|
*/
|
|
296
|
-
static getFork<ThrowOnError extends boolean = false>(options: Options<GetForkData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
362
|
+
static getFork<ThrowOnError extends boolean = false>(options: Options<solidity_service.GetForkData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<solidity_service.GetForkResponse, unknown, ThrowOnError>;
|
|
297
363
|
/**
|
|
298
364
|
* Update fork by id
|
|
299
365
|
*/
|
|
300
|
-
static updateFork<ThrowOnError extends boolean = false>(options: Options<UpdateForkData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
366
|
+
static updateFork<ThrowOnError extends boolean = false>(options: Options<solidity_service.UpdateForkData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<solidity_service.UpdateForkResponse, unknown, ThrowOnError>;
|
|
301
367
|
/**
|
|
302
368
|
* Get fork info by id
|
|
303
369
|
*/
|
|
304
|
-
static getForkInfo<ThrowOnError extends boolean = false>(options: Options<GetForkInfoData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
370
|
+
static getForkInfo<ThrowOnError extends boolean = false>(options: Options<solidity_service.GetForkInfoData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<solidity_service.GetForkInfoResponse, unknown, ThrowOnError>;
|
|
305
371
|
}
|