@sentio/api 1.0.3-rc.4 → 1.0.3-rc.41
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 +131 -58
- package/dist/src/sdk.gen.js +328 -1
- package/dist/src/sdk.gen.js.map +1 -1
- package/dist/src/types.gen.d.ts +3415 -2847
- package/package.json +1 -1
- package/src/sdk.gen.ts +457 -115
- package/src/types.gen.ts +3420 -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,76 @@ 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>;
|
|
60
|
+
}
|
|
61
|
+
export declare class DefaultService {
|
|
62
|
+
static getSqlQueueStatus<ThrowOnError extends boolean = false>(options?: Options<analytic_service.GetSqlQueueStatusData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<analytic_service.SqlQueueStatus, unknown, ThrowOnError>;
|
|
63
|
+
static getProjectChains<ThrowOnError extends boolean = false>(options?: Options<processor_service.GetProjectChainsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<processor_service.GetProjectChainsResponse, unknown, ThrowOnError>;
|
|
43
64
|
}
|
|
44
65
|
export declare class DataService {
|
|
66
|
+
/**
|
|
67
|
+
* Save Sharing SQL
|
|
68
|
+
* Save or update sharing settings for a SQL query.
|
|
69
|
+
*/
|
|
70
|
+
static saveSharingSql<ThrowOnError extends boolean = false>(options: Options<analytic_service.SaveSharingSqlData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<analytic_service.SaveSharingSqlResponse, unknown, ThrowOnError>;
|
|
71
|
+
/**
|
|
72
|
+
* Get Sharing SQL
|
|
73
|
+
* Get sharing settings for a SQL query.
|
|
74
|
+
*/
|
|
75
|
+
static getSharingSql<ThrowOnError extends boolean = false>(options: Options<analytic_service.GetSharingSqlData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<analytic_service.GetSharingSqlResponse, unknown, ThrowOnError>;
|
|
76
|
+
/**
|
|
77
|
+
* Query Tables
|
|
78
|
+
* Query tables in a project. use flag to control which type of tables to include.
|
|
79
|
+
*/
|
|
80
|
+
static queryTables2<ThrowOnError extends boolean = false>(options?: Options<analytic_service.QueryTables2Data, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<analytic_service.QueryTablesResponse, unknown, ThrowOnError>;
|
|
45
81
|
/**
|
|
46
82
|
* Cancel SQL Query
|
|
47
83
|
* Cancel a SQL query by execution_id.
|
|
48
84
|
*/
|
|
49
|
-
static cancelSqlQuery<ThrowOnError extends boolean = false>(options: Options<CancelSqlQueryData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<{
|
|
85
|
+
static cancelSqlQuery<ThrowOnError extends boolean = false>(options: Options<analytic_service.CancelSqlQueryData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<{
|
|
50
86
|
[key: string]: unknown;
|
|
51
87
|
}, unknown, ThrowOnError>;
|
|
52
88
|
/**
|
|
@@ -57,112 +93,139 @@ export declare class DataService {
|
|
|
57
93
|
*
|
|
58
94
|
* Find more: https://docs.sentio.xyz/reference/data#sql-api
|
|
59
95
|
*/
|
|
60
|
-
static executeSql<ThrowOnError extends boolean = false>(options: Options<ExecuteSqlData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
96
|
+
static executeSql<ThrowOnError extends boolean = false>(options: Options<analytic_service.ExecuteSqlData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<analytic_service.SyncExecuteSqlResponse, unknown, ThrowOnError>;
|
|
61
97
|
/**
|
|
62
98
|
* Execute SQL by Async
|
|
63
99
|
* Execute SQL in a project asynchronously.
|
|
64
100
|
*/
|
|
65
|
-
static executeSqlAsync<ThrowOnError extends boolean = false>(options: Options<ExecuteSqlAsyncData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
101
|
+
static executeSqlAsync<ThrowOnError extends boolean = false>(options: Options<analytic_service.ExecuteSqlAsyncData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<analytic_service.AsyncExecuteSqlResponse, unknown, ThrowOnError>;
|
|
66
102
|
/**
|
|
67
103
|
* Query SQL Execution Detail
|
|
68
104
|
* Query the execution detail of a SQL query by execution_id.
|
|
69
105
|
*/
|
|
70
|
-
static querySqlExecutionDetail<ThrowOnError extends boolean = false>(options: Options<QuerySqlExecutionDetailData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
106
|
+
static querySqlExecutionDetail<ThrowOnError extends boolean = false>(options: Options<analytic_service.QuerySqlExecutionDetailData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<analytic_service.QuerySqlExecutionDetailResponse, unknown, ThrowOnError>;
|
|
71
107
|
/**
|
|
72
108
|
* Query SQL Result
|
|
73
109
|
* Query the result of a SQL query by execution_id.
|
|
74
110
|
*/
|
|
75
|
-
static querySqlResult<ThrowOnError extends boolean = false>(options: Options<QuerySqlResultData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
111
|
+
static querySqlResult<ThrowOnError extends boolean = false>(options: Options<analytic_service.QuerySqlResultData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<analytic_service.QuerySqlResultResponse, unknown, ThrowOnError>;
|
|
112
|
+
/**
|
|
113
|
+
* Save Refreshable Materialized View
|
|
114
|
+
* Save or update a refreshable materialized view in a project.
|
|
115
|
+
*/
|
|
116
|
+
static saveRefreshableMaterializedView<ThrowOnError extends boolean = false>(options: Options<analytic_service.SaveRefreshableMaterializedViewData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<analytic_service.SaveRefreshableMaterializedViewResponse, unknown, ThrowOnError>;
|
|
117
|
+
/**
|
|
118
|
+
* Delete Refreshable Materialized View
|
|
119
|
+
* Delete a refreshable materialized view in a project.
|
|
120
|
+
*/
|
|
121
|
+
static deleteRefreshableMaterializedView<ThrowOnError extends boolean = false>(options: Options<analytic_service.DeleteRefreshableMaterializedViewData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<{
|
|
122
|
+
[key: string]: unknown;
|
|
123
|
+
}, unknown, ThrowOnError>;
|
|
124
|
+
/**
|
|
125
|
+
* Get Refreshable Materialized View Status
|
|
126
|
+
* Get the status of a refreshable materialized view in a project.
|
|
127
|
+
*/
|
|
128
|
+
static getRefreshableMaterializedStatus<ThrowOnError extends boolean = false>(options: Options<analytic_service.GetRefreshableMaterializedStatusData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<analytic_service.GetRefreshableMaterializedViewStatusResponse, unknown, ThrowOnError>;
|
|
129
|
+
/**
|
|
130
|
+
* List Refreshable Materialized Views
|
|
131
|
+
* List all refreshable materialized views in a project.
|
|
132
|
+
*/
|
|
133
|
+
static listRefreshableMaterializedViews<ThrowOnError extends boolean = false>(options: Options<analytic_service.ListRefreshableMaterializedViewsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<analytic_service.ListRefreshableMaterializedViewResponse, unknown, ThrowOnError>;
|
|
76
134
|
/**
|
|
77
135
|
* Save SQL
|
|
78
136
|
* Save or update a SQL query in a project.
|
|
79
137
|
*/
|
|
80
|
-
static saveSql<ThrowOnError extends boolean = false>(options: Options<SaveSqlData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
138
|
+
static saveSql<ThrowOnError extends boolean = false>(options: Options<analytic_service.SaveSqlData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<analytic_service.SaveSqlResponse, unknown, ThrowOnError>;
|
|
81
139
|
/**
|
|
82
140
|
* Save SQL
|
|
83
141
|
* Save or update a SQL query in a project.
|
|
84
142
|
*/
|
|
85
|
-
static saveSql2<ThrowOnError extends boolean = false>(options: Options<SaveSql2Data, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
143
|
+
static saveSql2<ThrowOnError extends boolean = false>(options: Options<analytic_service.SaveSql2Data, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<analytic_service.SaveSqlResponse, unknown, ThrowOnError>;
|
|
144
|
+
/**
|
|
145
|
+
* Query Tables
|
|
146
|
+
* Query tables in a project. use flag to control which type of tables to include.
|
|
147
|
+
*/
|
|
148
|
+
static queryTables<ThrowOnError extends boolean = false>(options: Options<analytic_service.QueryTablesData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<analytic_service.QueryTablesResponse, unknown, ThrowOnError>;
|
|
86
149
|
/**
|
|
87
150
|
* Query event logs
|
|
88
151
|
*/
|
|
89
|
-
static queryLog<ThrowOnError extends boolean = false>(options: Options<QueryLogData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
152
|
+
static queryLog<ThrowOnError extends boolean = false>(options: Options<analytic_service.QueryLogData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<analytic_service.LogQueryResponse, unknown, ThrowOnError>;
|
|
90
153
|
/**
|
|
91
154
|
* Query event logs
|
|
92
155
|
*/
|
|
93
|
-
static queryLog2<ThrowOnError extends boolean = false>(options: Options<QueryLog2Data, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
156
|
+
static queryLog2<ThrowOnError extends boolean = false>(options: Options<analytic_service.QueryLog2Data, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<analytic_service.LogQueryResponse, unknown, ThrowOnError>;
|
|
94
157
|
/**
|
|
95
158
|
* List coins
|
|
96
159
|
* Get a list of coins in a project.
|
|
97
160
|
*/
|
|
98
|
-
static listCoins2<ThrowOnError extends boolean = false>(options?: Options<ListCoins2Data, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
161
|
+
static listCoins2<ThrowOnError extends boolean = false>(options?: Options<insights_service.ListCoins2Data, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<insights_service.ListCoinsResponse, unknown, ThrowOnError>;
|
|
99
162
|
/**
|
|
100
163
|
* List coins
|
|
101
164
|
* Get a list of coins in a project.
|
|
102
165
|
*/
|
|
103
|
-
static listCoins<ThrowOnError extends boolean = false>(options: Options<ListCoinsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
166
|
+
static listCoins<ThrowOnError extends boolean = false>(options: Options<insights_service.ListCoinsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<insights_service.ListCoinsResponse, unknown, ThrowOnError>;
|
|
104
167
|
/**
|
|
105
168
|
* Insight Query
|
|
106
169
|
* Query for metrics,event logs and coin prices in a project.
|
|
107
170
|
*/
|
|
108
|
-
static query<ThrowOnError extends boolean = false>(options: Options<QueryData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
171
|
+
static query<ThrowOnError extends boolean = false>(options: Options<insights_service.QueryData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<insights_service.QueryResponse, unknown, ThrowOnError>;
|
|
109
172
|
/**
|
|
110
173
|
* Get a list of metrics in a project
|
|
111
174
|
*/
|
|
112
|
-
static getMetrics<ThrowOnError extends boolean = false>(options?: Options<GetMetricsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
175
|
+
static getMetrics<ThrowOnError extends boolean = false>(options?: Options<metrics_service.GetMetricsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<metrics_service.GetMetricsResponse, unknown, ThrowOnError>;
|
|
113
176
|
/**
|
|
114
177
|
* Metric instant queries
|
|
115
178
|
*/
|
|
116
|
-
static queryInstant<ThrowOnError extends boolean = false>(options: Options<QueryInstantData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
179
|
+
static queryInstant<ThrowOnError extends boolean = false>(options: Options<metrics_service.QueryInstantData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<metrics_service.QueryValueResponse, unknown, ThrowOnError>;
|
|
117
180
|
/**
|
|
118
181
|
* Metric range queries
|
|
119
182
|
* The easiest way to build query is through UI, you could first create an insight chart, and then **Export as cURL**.
|
|
120
183
|
*
|
|
121
184
|
* .png)
|
|
122
185
|
*/
|
|
123
|
-
static queryRange<ThrowOnError extends boolean = false>(options: Options<QueryRangeData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
186
|
+
static queryRange<ThrowOnError extends boolean = false>(options: Options<metrics_service.QueryRangeData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<metrics_service.MetricsQueryResponse, unknown, ThrowOnError>;
|
|
124
187
|
}
|
|
125
188
|
export declare class WebService {
|
|
126
189
|
/**
|
|
127
190
|
* List all dashboards in a project
|
|
128
191
|
*/
|
|
129
|
-
static listDashboards<ThrowOnError extends boolean = false>(options?: Options<ListDashboardsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
192
|
+
static listDashboards<ThrowOnError extends boolean = false>(options?: Options<web_service.ListDashboardsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<web_service.GetDashboardResponse, unknown, ThrowOnError>;
|
|
130
193
|
/**
|
|
131
194
|
* Import a dashboard to another dashboard
|
|
132
195
|
*/
|
|
133
|
-
static importDashboard<ThrowOnError extends boolean = false>(options: Options<ImportDashboardData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
196
|
+
static importDashboard<ThrowOnError extends boolean = false>(options: Options<web_service.ImportDashboardData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<web_service.ImportDashboardResponse, unknown, ThrowOnError>;
|
|
134
197
|
/**
|
|
135
198
|
* Delete a dashboard by id
|
|
136
199
|
*/
|
|
137
|
-
static deleteDashboard<ThrowOnError extends boolean = false>(options: Options<DeleteDashboardData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
200
|
+
static deleteDashboard<ThrowOnError extends boolean = false>(options: Options<web_service.DeleteDashboardData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<web_service.Dashboard, unknown, ThrowOnError>;
|
|
138
201
|
/**
|
|
139
202
|
* Get a dashboard by id
|
|
140
203
|
*/
|
|
141
|
-
static getDashboard<ThrowOnError extends boolean = false>(options: Options<GetDashboardData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
204
|
+
static getDashboard<ThrowOnError extends boolean = false>(options: Options<web_service.GetDashboardData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<web_service.GetDashboardResponse, unknown, ThrowOnError>;
|
|
142
205
|
/**
|
|
143
206
|
* Export a dashboard to json
|
|
144
207
|
*/
|
|
145
|
-
static exportDashboard<ThrowOnError extends boolean = false>(options: Options<ExportDashboardData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
208
|
+
static exportDashboard<ThrowOnError extends boolean = false>(options: Options<web_service.ExportDashboardData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<web_service.ExportDashboardResponse, unknown, ThrowOnError>;
|
|
146
209
|
/**
|
|
147
210
|
* Get project details
|
|
148
211
|
*/
|
|
149
|
-
static getProject<ThrowOnError extends boolean = false>(options: Options<GetProjectData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
212
|
+
static getProject<ThrowOnError extends boolean = false>(options: Options<web_service.GetProjectData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<web_service.GetProjectResponse, unknown, ThrowOnError>;
|
|
150
213
|
/**
|
|
151
214
|
* Get project details
|
|
152
215
|
*/
|
|
153
|
-
static getProjectById<ThrowOnError extends boolean = false>(options: Options<GetProjectByIdData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
216
|
+
static getProjectById<ThrowOnError extends boolean = false>(options: Options<common.GetProjectByIdData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<common.ProjectInfo, unknown, ThrowOnError>;
|
|
154
217
|
/**
|
|
155
218
|
* Get project list
|
|
156
219
|
*/
|
|
157
|
-
static getProjectList<ThrowOnError extends boolean = false>(options?: Options<GetProjectListData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
220
|
+
static getProjectList<ThrowOnError extends boolean = false>(options?: Options<web_service.GetProjectListData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<web_service.GetProjectListResponse, unknown, ThrowOnError>;
|
|
158
221
|
/**
|
|
159
222
|
* List all dashboards in a project
|
|
160
223
|
*/
|
|
161
|
-
static listDashboards2<ThrowOnError extends boolean = false>(options: Options<ListDashboards2Data, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
224
|
+
static listDashboards2<ThrowOnError extends boolean = false>(options: Options<web_service.ListDashboards2Data, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<web_service.GetDashboardResponse, unknown, ThrowOnError>;
|
|
162
225
|
/**
|
|
163
226
|
* Get a dashboard by id
|
|
164
227
|
*/
|
|
165
|
-
static getDashboard2<ThrowOnError extends boolean = false>(options: Options<GetDashboard2Data, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
228
|
+
static getDashboard2<ThrowOnError extends boolean = false>(options: Options<web_service.GetDashboard2Data, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<web_service.GetDashboardResponse, unknown, ThrowOnError>;
|
|
166
229
|
}
|
|
167
230
|
export declare class PriceService {
|
|
168
231
|
/**
|
|
@@ -172,7 +235,7 @@ export declare class PriceService {
|
|
|
172
235
|
* If we have at least one price data for the given coin, we will return it with the actual timestamp.
|
|
173
236
|
* Client is responsible for checking the timestamp and decide whether to use the price or not.
|
|
174
237
|
*/
|
|
175
|
-
static getPrice<ThrowOnError extends boolean = false>(options?: Options<GetPriceData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
238
|
+
static getPrice<ThrowOnError extends boolean = false>(options?: Options<price_service.GetPriceData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<price_service.GetPriceResponse, unknown, ThrowOnError>;
|
|
176
239
|
/**
|
|
177
240
|
* Add coin by Gecko
|
|
178
241
|
* adds a coin by its coingecko id.
|
|
@@ -183,66 +246,76 @@ export declare class PriceService {
|
|
|
183
246
|
*
|
|
184
247
|
* 
|
|
185
248
|
*/
|
|
186
|
-
static addCoinByGecko<ThrowOnError extends boolean = false>(options: Options<AddCoinByGeckoData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
249
|
+
static addCoinByGecko<ThrowOnError extends boolean = false>(options: Options<price_service.AddCoinByGeckoData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<price_service.AddCoinByGeckoResponse, unknown, ThrowOnError>;
|
|
187
250
|
/**
|
|
188
251
|
* Batch get prices
|
|
189
252
|
*/
|
|
190
|
-
static batchGetPrices<ThrowOnError extends boolean = false>(options: Options<BatchGetPricesData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
253
|
+
static batchGetPrices<ThrowOnError extends boolean = false>(options: Options<price_service.BatchGetPricesData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<price_service.BatchGetPricesResponse, unknown, ThrowOnError>;
|
|
191
254
|
/**
|
|
192
255
|
* Check latest price
|
|
193
256
|
*/
|
|
194
|
-
static checkLatestPrice<ThrowOnError extends boolean = false>(options?: Options<CheckLatestPriceData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
257
|
+
static checkLatestPrice<ThrowOnError extends boolean = false>(options?: Options<price_service.CheckLatestPriceData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<price_service.CheckLatestPriceResponse, unknown, ThrowOnError>;
|
|
195
258
|
/**
|
|
196
259
|
* List coins
|
|
197
260
|
*/
|
|
198
|
-
static priceListCoins<ThrowOnError extends boolean = false>(options?: Options<PriceListCoinsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
261
|
+
static priceListCoins<ThrowOnError extends boolean = false>(options?: Options<price_service.PriceListCoinsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<price_service.ListCoinsResponse2, unknown, ThrowOnError>;
|
|
199
262
|
}
|
|
200
263
|
export declare class ProcessorService {
|
|
264
|
+
/**
|
|
265
|
+
* activate the pending version of a processor
|
|
266
|
+
*/
|
|
267
|
+
static activatePendingVersion<ThrowOnError extends boolean = false>(options: Options<processor_service.ActivatePendingVersionData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<{
|
|
268
|
+
[key: string]: unknown;
|
|
269
|
+
}, unknown, ThrowOnError>;
|
|
270
|
+
/**
|
|
271
|
+
* Get the source files of a processor
|
|
272
|
+
*/
|
|
273
|
+
static getProcessorSourceFiles<ThrowOnError extends boolean = false>(options: Options<processor_service.GetProcessorSourceFilesData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<processor_service.GetProcessorSourceFilesResponse, unknown, ThrowOnError>;
|
|
201
274
|
/**
|
|
202
275
|
* Get processor status
|
|
203
276
|
*/
|
|
204
|
-
static getProcessorStatusV2<ThrowOnError extends boolean = false>(options: Options<GetProcessorStatusV2Data, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
277
|
+
static getProcessorStatusV2<ThrowOnError extends boolean = false>(options: Options<processor_service.GetProcessorStatusV2Data, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<processor_service.GetProcessorStatusResponse, unknown, ThrowOnError>;
|
|
205
278
|
}
|
|
206
279
|
export declare class DebugAndSimulationService {
|
|
207
280
|
/**
|
|
208
281
|
* Estimate gas price
|
|
209
282
|
*/
|
|
210
|
-
static getEstimatedGasPrice<ThrowOnError extends boolean = false>(options?: Options<GetEstimatedGasPriceData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
283
|
+
static getEstimatedGasPrice<ThrowOnError extends boolean = false>(options?: Options<solidity_service.GetEstimatedGasPriceData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<solidity_service.GetEstimatedGasPriceResponse, unknown, ThrowOnError>;
|
|
211
284
|
/**
|
|
212
285
|
* Search transactions
|
|
213
286
|
*/
|
|
214
|
-
static searchTransactions<ThrowOnError extends boolean = false>(options: Options<SearchTransactionsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
287
|
+
static searchTransactions<ThrowOnError extends boolean = false>(options: Options<solidity_service.SearchTransactionsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<solidity_service.EvmSearchTransactionsResponse, unknown, ThrowOnError>;
|
|
215
288
|
/**
|
|
216
289
|
* Get list of simulations
|
|
217
290
|
*/
|
|
218
|
-
static getSimulations<ThrowOnError extends boolean = false>(options: Options<GetSimulationsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
291
|
+
static getSimulations<ThrowOnError extends boolean = false>(options: Options<solidity_service.GetSimulationsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<solidity_service.GetSimulationsResponse, unknown, ThrowOnError>;
|
|
219
292
|
/**
|
|
220
293
|
* Get simulation by ID
|
|
221
294
|
*/
|
|
222
|
-
static getSimulation<ThrowOnError extends boolean = false>(options: Options<GetSimulationData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
295
|
+
static getSimulation<ThrowOnError extends boolean = false>(options: Options<solidity_service.GetSimulationData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<solidity_service.GetSimulationResponse, unknown, ThrowOnError>;
|
|
223
296
|
/**
|
|
224
297
|
* Get bundle simulation by ID
|
|
225
298
|
*/
|
|
226
|
-
static getSimulationBundleInProject<ThrowOnError extends boolean = false>(options: Options<GetSimulationBundleInProjectData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
299
|
+
static getSimulationBundleInProject<ThrowOnError extends boolean = false>(options: Options<solidity_service.GetSimulationBundleInProjectData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<solidity_service.GetSimulationBundleResponse, unknown, ThrowOnError>;
|
|
227
300
|
/**
|
|
228
301
|
* Get trace by bundle simulation
|
|
229
302
|
*/
|
|
230
|
-
static getCallTraceByBundle<ThrowOnError extends boolean = false>(options: Options<GetCallTraceByBundleData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
303
|
+
static getCallTraceByBundle<ThrowOnError extends boolean = false>(options: Options<google.GetCallTraceByBundleData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<google.ApiHttpBody, unknown, ThrowOnError>;
|
|
231
304
|
/**
|
|
232
305
|
* Run simulation
|
|
233
306
|
* Create a new transaction simulation. The simulation body should be included in the request body.
|
|
234
307
|
* 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
308
|
*/
|
|
236
|
-
static simulateTransaction<ThrowOnError extends boolean = false>(options: Options<SimulateTransactionData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
309
|
+
static simulateTransaction<ThrowOnError extends boolean = false>(options: Options<solidity_service.SimulateTransactionData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<solidity_service.SimulateTransactionResponse, unknown, ThrowOnError>;
|
|
237
310
|
/**
|
|
238
311
|
* Get trace by simulation
|
|
239
312
|
*/
|
|
240
|
-
static getCallTraceBySimulation<ThrowOnError extends boolean = false>(options: Options<GetCallTraceBySimulationData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
313
|
+
static getCallTraceBySimulation<ThrowOnError extends boolean = false>(options: Options<google.GetCallTraceBySimulationData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<google.ApiHttpBody, unknown, ThrowOnError>;
|
|
241
314
|
/**
|
|
242
315
|
* Run bundle simulation
|
|
243
316
|
* 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
317
|
*/
|
|
245
|
-
static simulateTransactionBundle<ThrowOnError extends boolean = false>(options: Options<SimulateTransactionBundleData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
318
|
+
static simulateTransactionBundle<ThrowOnError extends boolean = false>(options: Options<solidity_service.SimulateTransactionBundleData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<solidity_service.SimulateTransactionBundleResponse, unknown, ThrowOnError>;
|
|
246
319
|
/**
|
|
247
320
|
* Get trace by transaction
|
|
248
321
|
* 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 +326,53 @@ export declare class DebugAndSimulationService {
|
|
|
253
326
|
*
|
|
254
327
|
* %20(1)%20(1)%20(1).png)
|
|
255
328
|
*/
|
|
256
|
-
static getCallTraceByTransaction<ThrowOnError extends boolean = false>(options: Options<GetCallTraceByTransactionData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
329
|
+
static getCallTraceByTransaction<ThrowOnError extends boolean = false>(options: Options<google.GetCallTraceByTransactionData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<google.ApiHttpBody, unknown, ThrowOnError>;
|
|
257
330
|
}
|
|
258
331
|
export declare class ForksService {
|
|
259
332
|
/**
|
|
260
333
|
* List all forks
|
|
261
334
|
*/
|
|
262
|
-
static listForks<ThrowOnError extends boolean = false>(options: Options<ListForksData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
335
|
+
static listForks<ThrowOnError extends boolean = false>(options: Options<solidity_service.ListForksData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<solidity_service.ListForksResponse, unknown, ThrowOnError>;
|
|
263
336
|
/**
|
|
264
337
|
* Create a fork
|
|
265
338
|
*/
|
|
266
|
-
static createFork<ThrowOnError extends boolean = false>(options: Options<CreateForkData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
339
|
+
static createFork<ThrowOnError extends boolean = false>(options: Options<solidity_service.CreateForkData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<solidity_service.CreateForkResponse, unknown, ThrowOnError>;
|
|
267
340
|
/**
|
|
268
341
|
* Get trace by bundle simulation
|
|
269
342
|
*/
|
|
270
|
-
static getCallTraceOnForkBundle<ThrowOnError extends boolean = false>(options: Options<GetCallTraceOnForkBundleData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
343
|
+
static getCallTraceOnForkBundle<ThrowOnError extends boolean = false>(options: Options<google.GetCallTraceOnForkBundleData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<google.ApiHttpBody, unknown, ThrowOnError>;
|
|
271
344
|
/**
|
|
272
345
|
* Run Simulation
|
|
273
346
|
*/
|
|
274
|
-
static simulateTransactionOnFork<ThrowOnError extends boolean = false>(options: Options<SimulateTransactionOnForkData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
347
|
+
static simulateTransactionOnFork<ThrowOnError extends boolean = false>(options: Options<solidity_service.SimulateTransactionOnForkData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<solidity_service.SimulateTransactionResponse, unknown, ThrowOnError>;
|
|
275
348
|
/**
|
|
276
349
|
* Get trace by simulation
|
|
277
350
|
*/
|
|
278
|
-
static getCallTraceOnForkSimulation<ThrowOnError extends boolean = false>(options: Options<GetCallTraceOnForkSimulationData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
351
|
+
static getCallTraceOnForkSimulation<ThrowOnError extends boolean = false>(options: Options<google.GetCallTraceOnForkSimulationData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<google.ApiHttpBody, unknown, ThrowOnError>;
|
|
279
352
|
/**
|
|
280
353
|
* Run bundle simulation
|
|
281
354
|
*/
|
|
282
|
-
static simulateTransactionBundleOnFork<ThrowOnError extends boolean = false>(options: Options<SimulateTransactionBundleOnForkData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
355
|
+
static simulateTransactionBundleOnFork<ThrowOnError extends boolean = false>(options: Options<solidity_service.SimulateTransactionBundleOnForkData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<solidity_service.SimulateTransactionBundleResponse, unknown, ThrowOnError>;
|
|
283
356
|
/**
|
|
284
357
|
* Get trace by transaction
|
|
285
358
|
*/
|
|
286
|
-
static getCallTraceOnForkTransaction<ThrowOnError extends boolean = false>(options: Options<GetCallTraceOnForkTransactionData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
359
|
+
static getCallTraceOnForkTransaction<ThrowOnError extends boolean = false>(options: Options<google.GetCallTraceOnForkTransactionData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<google.ApiHttpBody, unknown, ThrowOnError>;
|
|
287
360
|
/**
|
|
288
361
|
* Delete fork by id
|
|
289
362
|
*/
|
|
290
|
-
static deleteFork<ThrowOnError extends boolean = false>(options: Options<DeleteForkData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<{
|
|
363
|
+
static deleteFork<ThrowOnError extends boolean = false>(options: Options<solidit_service.DeleteForkData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<{
|
|
291
364
|
[key: string]: unknown;
|
|
292
365
|
}, unknown, ThrowOnError>;
|
|
293
366
|
/**
|
|
294
367
|
* Get fork by id
|
|
295
368
|
*/
|
|
296
|
-
static getFork<ThrowOnError extends boolean = false>(options: Options<GetForkData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
369
|
+
static getFork<ThrowOnError extends boolean = false>(options: Options<solidity_service.GetForkData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<solidity_service.GetForkResponse, unknown, ThrowOnError>;
|
|
297
370
|
/**
|
|
298
371
|
* Update fork by id
|
|
299
372
|
*/
|
|
300
|
-
static updateFork<ThrowOnError extends boolean = false>(options: Options<UpdateForkData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
373
|
+
static updateFork<ThrowOnError extends boolean = false>(options: Options<solidity_service.UpdateForkData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<solidity_service.UpdateForkResponse, unknown, ThrowOnError>;
|
|
301
374
|
/**
|
|
302
375
|
* Get fork info by id
|
|
303
376
|
*/
|
|
304
|
-
static getForkInfo<ThrowOnError extends boolean = false>(options: Options<GetForkInfoData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
377
|
+
static getForkInfo<ThrowOnError extends boolean = false>(options: Options<solidity_service.GetForkInfoData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<solidity_service.GetForkInfoResponse, unknown, ThrowOnError>;
|
|
305
378
|
}
|