@sentio/api 1.0.3-rc.8 → 1.0.3
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/client.gen.js +1 -1
- package/dist/src/sdk.gen.d.ts +134 -68
- package/dist/src/sdk.gen.js +307 -21
- package/dist/src/sdk.gen.js.map +1 -1
- package/dist/src/types.gen.d.ts +3655 -2993
- package/package.json +1 -1
- package/src/client.gen.ts +1 -1
- package/src/sdk.gen.ts +434 -135
- package/src/types.gen.ts +3672 -3482
package/dist/src/client.gen.js
CHANGED
|
@@ -4,6 +4,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.client = void 0;
|
|
5
5
|
const client_fetch_1 = require("@hey-api/client-fetch");
|
|
6
6
|
exports.client = (0, client_fetch_1.createClient)((0, client_fetch_1.createConfig)({
|
|
7
|
-
baseUrl: 'https://
|
|
7
|
+
baseUrl: 'https://api.sentio.xyz'
|
|
8
8
|
}));
|
|
9
9
|
//# sourceMappingURL=client.gen.js.map
|
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, google, move_service, price_service, processor_service, solidity_service, 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,134 +89,162 @@ 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>;
|
|
76
108
|
/**
|
|
77
109
|
* Save Refreshable Materialized View
|
|
78
110
|
* Save or update a refreshable materialized view in a project.
|
|
79
111
|
*/
|
|
80
|
-
static saveRefreshableMaterializedView<ThrowOnError extends boolean = false>(options: Options<SaveRefreshableMaterializedViewData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
112
|
+
static saveRefreshableMaterializedView<ThrowOnError extends boolean = false>(options: Options<analytic_service.SaveRefreshableMaterializedViewData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<analytic_service.SaveRefreshableMaterializedViewResponse, unknown, ThrowOnError>;
|
|
81
113
|
/**
|
|
82
114
|
* Delete Refreshable Materialized View
|
|
83
115
|
* Delete a refreshable materialized view in a project.
|
|
84
116
|
*/
|
|
85
|
-
static deleteRefreshableMaterializedView<ThrowOnError extends boolean = false>(options: Options<DeleteRefreshableMaterializedViewData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<{
|
|
117
|
+
static deleteRefreshableMaterializedView<ThrowOnError extends boolean = false>(options: Options<analytic_service.DeleteRefreshableMaterializedViewData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<{
|
|
86
118
|
[key: string]: unknown;
|
|
87
119
|
}, unknown, ThrowOnError>;
|
|
88
120
|
/**
|
|
89
121
|
* Get Refreshable Materialized View Status
|
|
90
122
|
* Get the status of a refreshable materialized view in a project.
|
|
91
123
|
*/
|
|
92
|
-
static getRefreshableMaterializedStatus<ThrowOnError extends boolean = false>(options: Options<GetRefreshableMaterializedStatusData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
124
|
+
static getRefreshableMaterializedStatus<ThrowOnError extends boolean = false>(options: Options<analytic_service.GetRefreshableMaterializedStatusData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<analytic_service.GetRefreshableMaterializedViewStatusResponse, unknown, ThrowOnError>;
|
|
93
125
|
/**
|
|
94
126
|
* List Refreshable Materialized Views
|
|
95
127
|
* List all refreshable materialized views in a project.
|
|
96
128
|
*/
|
|
97
|
-
static listRefreshableMaterializedViews<ThrowOnError extends boolean = false>(options: Options<ListRefreshableMaterializedViewsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
129
|
+
static listRefreshableMaterializedViews<ThrowOnError extends boolean = false>(options: Options<analytic_service.ListRefreshableMaterializedViewsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<analytic_service.ListRefreshableMaterializedViewResponse, unknown, ThrowOnError>;
|
|
98
130
|
/**
|
|
99
131
|
* Save SQL
|
|
100
132
|
* Save or update a SQL query in a project.
|
|
101
133
|
*/
|
|
102
|
-
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>;
|
|
103
135
|
/**
|
|
104
136
|
* Save SQL
|
|
105
137
|
* Save or update a SQL query in a project.
|
|
106
138
|
*/
|
|
107
|
-
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>;
|
|
108
145
|
/**
|
|
109
146
|
* Query event logs
|
|
110
147
|
*/
|
|
111
|
-
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>;
|
|
112
149
|
/**
|
|
113
150
|
* Query event logs
|
|
114
151
|
*/
|
|
115
|
-
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>;
|
|
116
153
|
/**
|
|
117
154
|
* List coins
|
|
118
155
|
* Get a list of coins in a project.
|
|
119
156
|
*/
|
|
120
|
-
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>;
|
|
121
158
|
/**
|
|
122
159
|
* List coins
|
|
123
160
|
* Get a list of coins in a project.
|
|
124
161
|
*/
|
|
125
|
-
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>;
|
|
126
163
|
/**
|
|
127
164
|
* Insight Query
|
|
128
165
|
* Query for metrics,event logs and coin prices in a project.
|
|
129
166
|
*/
|
|
130
|
-
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>;
|
|
131
168
|
/**
|
|
132
169
|
* Get a list of metrics in a project
|
|
133
170
|
*/
|
|
134
|
-
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>;
|
|
135
172
|
/**
|
|
136
173
|
* Metric instant queries
|
|
137
174
|
*/
|
|
138
|
-
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>;
|
|
139
176
|
/**
|
|
140
177
|
* Metric range queries
|
|
141
178
|
* The easiest way to build query is through UI, you could first create an insight chart, and then **Export as cURL**.
|
|
142
179
|
*
|
|
143
180
|
* .png)
|
|
144
181
|
*/
|
|
145
|
-
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>;
|
|
183
|
+
/**
|
|
184
|
+
* Query Table By Name
|
|
185
|
+
* Query table schema by name.
|
|
186
|
+
*/
|
|
187
|
+
static queryTable2<ThrowOnError extends boolean = false>(options?: Options<analytic_service.QueryTable2Data, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<analytic_service.QueryTableResponse, unknown, ThrowOnError>;
|
|
188
|
+
/**
|
|
189
|
+
* List Tables
|
|
190
|
+
*/
|
|
191
|
+
static listTables2<ThrowOnError extends boolean = false>(options?: Options<analytic_service.ListTables2Data, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<analytic_service.ListTablesResponse, unknown, ThrowOnError>;
|
|
192
|
+
/**
|
|
193
|
+
* Query Table By Name
|
|
194
|
+
* Query table schema by name.
|
|
195
|
+
*/
|
|
196
|
+
static queryTable<ThrowOnError extends boolean = false>(options: Options<analytic_service.QueryTableData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<analytic_service.QueryTableResponse, unknown, ThrowOnError>;
|
|
197
|
+
/**
|
|
198
|
+
* List Tables
|
|
199
|
+
*/
|
|
200
|
+
static listTables<ThrowOnError extends boolean = false>(options: Options<analytic_service.ListTablesData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<analytic_service.ListTablesResponse, unknown, ThrowOnError>;
|
|
146
201
|
}
|
|
147
202
|
export declare class WebService {
|
|
148
203
|
/**
|
|
149
204
|
* List all dashboards in a project
|
|
150
205
|
*/
|
|
151
|
-
static listDashboards<ThrowOnError extends boolean = false>(options?: Options<ListDashboardsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
206
|
+
static listDashboards<ThrowOnError extends boolean = false>(options?: Options<web_service.ListDashboardsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<web_service.GetDashboardResponse, unknown, ThrowOnError>;
|
|
152
207
|
/**
|
|
153
208
|
* Import a dashboard to another dashboard
|
|
154
209
|
*/
|
|
155
|
-
static importDashboard<ThrowOnError extends boolean = false>(options: Options<ImportDashboardData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
210
|
+
static importDashboard<ThrowOnError extends boolean = false>(options: Options<web_service.ImportDashboardData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<web_service.ImportDashboardResponse, unknown, ThrowOnError>;
|
|
156
211
|
/**
|
|
157
212
|
* Delete a dashboard by id
|
|
158
213
|
*/
|
|
159
|
-
static deleteDashboard<ThrowOnError extends boolean = false>(options: Options<DeleteDashboardData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
214
|
+
static deleteDashboard<ThrowOnError extends boolean = false>(options: Options<web_service.DeleteDashboardData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<web_service.Dashboard, unknown, ThrowOnError>;
|
|
160
215
|
/**
|
|
161
216
|
* Get a dashboard by id
|
|
162
217
|
*/
|
|
163
|
-
static getDashboard<ThrowOnError extends boolean = false>(options: Options<GetDashboardData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
218
|
+
static getDashboard<ThrowOnError extends boolean = false>(options: Options<web_service.GetDashboardData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<web_service.GetDashboardResponse, unknown, ThrowOnError>;
|
|
164
219
|
/**
|
|
165
|
-
*
|
|
220
|
+
* Get dashboard history by dashboard id
|
|
166
221
|
*/
|
|
167
|
-
static
|
|
222
|
+
static getDashboardHistory<ThrowOnError extends boolean = false>(options: Options<web_service.GetDashboardHistoryData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<web_service.GetDashboardHistoryResponse, unknown, ThrowOnError>;
|
|
168
223
|
/**
|
|
169
|
-
*
|
|
224
|
+
* Export a dashboard to json
|
|
170
225
|
*/
|
|
171
|
-
static
|
|
226
|
+
static exportDashboard<ThrowOnError extends boolean = false>(options: Options<web_service.ExportDashboardData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<web_service.ExportDashboardResponse, unknown, ThrowOnError>;
|
|
172
227
|
/**
|
|
173
|
-
*
|
|
228
|
+
* List all dashboards in a project
|
|
174
229
|
*/
|
|
175
|
-
static
|
|
230
|
+
static listDashboards2<ThrowOnError extends boolean = false>(options: Options<web_service.ListDashboards2Data, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<web_service.GetDashboardResponse, unknown, ThrowOnError>;
|
|
176
231
|
/**
|
|
177
|
-
* Get
|
|
232
|
+
* Get a dashboard by id
|
|
178
233
|
*/
|
|
179
|
-
static
|
|
234
|
+
static getDashboard2<ThrowOnError extends boolean = false>(options: Options<web_service.GetDashboard2Data, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<web_service.GetDashboardResponse, unknown, ThrowOnError>;
|
|
235
|
+
static createLinkSession<ThrowOnError extends boolean = false>(options?: Options<web_service.CreateLinkSessionData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<web_service.LinkAccountSession, unknown, ThrowOnError>;
|
|
236
|
+
}
|
|
237
|
+
export declare class MoveService {
|
|
180
238
|
/**
|
|
181
|
-
*
|
|
239
|
+
* Get Aptos transaction call trace
|
|
240
|
+
* Retrieves the detailed call trace for an Aptos transaction
|
|
182
241
|
*/
|
|
183
|
-
static
|
|
242
|
+
static getCallTrace<ThrowOnError extends boolean = false>(options?: Options<google.GetCallTraceData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<google.ApiHttpBody, unknown, ThrowOnError>;
|
|
184
243
|
/**
|
|
185
|
-
* Get
|
|
244
|
+
* Get Sui transaction call trace
|
|
245
|
+
* Retrieves the detailed call trace for a Sui transaction
|
|
186
246
|
*/
|
|
187
|
-
static
|
|
247
|
+
static getSuiCallTrace<ThrowOnError extends boolean = false>(options?: Options<move_service.GetSuiCallTraceData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<move_service.GetSuiCallTraceResponse, unknown, ThrowOnError>;
|
|
188
248
|
}
|
|
189
249
|
export declare class PriceService {
|
|
190
250
|
/**
|
|
@@ -194,7 +254,7 @@ export declare class PriceService {
|
|
|
194
254
|
* If we have at least one price data for the given coin, we will return it with the actual timestamp.
|
|
195
255
|
* Client is responsible for checking the timestamp and decide whether to use the price or not.
|
|
196
256
|
*/
|
|
197
|
-
static getPrice<ThrowOnError extends boolean = false>(options?: Options<GetPriceData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
257
|
+
static getPrice<ThrowOnError extends boolean = false>(options?: Options<price_service.GetPriceData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<price_service.GetPriceResponse, unknown, ThrowOnError>;
|
|
198
258
|
/**
|
|
199
259
|
* Add coin by Gecko
|
|
200
260
|
* adds a coin by its coingecko id.
|
|
@@ -205,66 +265,72 @@ export declare class PriceService {
|
|
|
205
265
|
*
|
|
206
266
|
* 
|
|
207
267
|
*/
|
|
208
|
-
static addCoinByGecko<ThrowOnError extends boolean = false>(options: Options<AddCoinByGeckoData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
268
|
+
static addCoinByGecko<ThrowOnError extends boolean = false>(options: Options<price_service.AddCoinByGeckoData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<price_service.AddCoinByGeckoResponse, unknown, ThrowOnError>;
|
|
209
269
|
/**
|
|
210
270
|
* Batch get prices
|
|
211
271
|
*/
|
|
212
|
-
static batchGetPrices<ThrowOnError extends boolean = false>(options: Options<BatchGetPricesData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
272
|
+
static batchGetPrices<ThrowOnError extends boolean = false>(options: Options<price_service.BatchGetPricesData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<price_service.BatchGetPricesResponse, unknown, ThrowOnError>;
|
|
213
273
|
/**
|
|
214
274
|
* Check latest price
|
|
215
275
|
*/
|
|
216
|
-
static checkLatestPrice<ThrowOnError extends boolean = false>(options?: Options<CheckLatestPriceData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
276
|
+
static checkLatestPrice<ThrowOnError extends boolean = false>(options?: Options<price_service.CheckLatestPriceData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<price_service.CheckLatestPriceResponse, unknown, ThrowOnError>;
|
|
217
277
|
/**
|
|
218
278
|
* List coins
|
|
219
279
|
*/
|
|
220
|
-
static priceListCoins<ThrowOnError extends boolean = false>(options?: Options<PriceListCoinsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
280
|
+
static priceListCoins<ThrowOnError extends boolean = false>(options?: Options<price_service.PriceListCoinsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<price_service.ListCoinsResponse2, unknown, ThrowOnError>;
|
|
221
281
|
}
|
|
222
282
|
export declare class ProcessorService {
|
|
283
|
+
/**
|
|
284
|
+
* activate the pending version of a processor
|
|
285
|
+
*/
|
|
286
|
+
static activatePendingVersion<ThrowOnError extends boolean = false>(options: Options<processor_service.ActivatePendingVersionData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<{
|
|
287
|
+
[key: string]: unknown;
|
|
288
|
+
}, unknown, ThrowOnError>;
|
|
223
289
|
/**
|
|
224
290
|
* Get processor status
|
|
225
291
|
*/
|
|
226
|
-
static getProcessorStatusV2<ThrowOnError extends boolean = false>(options: Options<GetProcessorStatusV2Data, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
292
|
+
static getProcessorStatusV2<ThrowOnError extends boolean = false>(options: Options<processor_service.GetProcessorStatusV2Data, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<processor_service.GetProcessorStatusResponse, unknown, ThrowOnError>;
|
|
227
293
|
}
|
|
228
294
|
export declare class DebugAndSimulationService {
|
|
229
295
|
/**
|
|
230
296
|
* Estimate gas price
|
|
231
297
|
*/
|
|
232
|
-
static getEstimatedGasPrice<ThrowOnError extends boolean = false>(options?: Options<GetEstimatedGasPriceData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
298
|
+
static getEstimatedGasPrice<ThrowOnError extends boolean = false>(options?: Options<solidity_service.GetEstimatedGasPriceData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<solidity_service.GetEstimatedGasPriceResponse, unknown, ThrowOnError>;
|
|
233
299
|
/**
|
|
234
300
|
* Search transactions
|
|
235
301
|
*/
|
|
236
|
-
static searchTransactions<ThrowOnError extends boolean = false>(options: Options<SearchTransactionsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
302
|
+
static searchTransactions<ThrowOnError extends boolean = false>(options: Options<solidity_service.SearchTransactionsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<solidity_service.EvmSearchTransactionsResponse, unknown, ThrowOnError>;
|
|
237
303
|
/**
|
|
238
304
|
* Get list of simulations
|
|
239
305
|
*/
|
|
240
|
-
static getSimulations<ThrowOnError extends boolean = false>(options: Options<GetSimulationsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
306
|
+
static getSimulations<ThrowOnError extends boolean = false>(options: Options<solidity_service.GetSimulationsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<solidity_service.GetSimulationsResponse, unknown, ThrowOnError>;
|
|
241
307
|
/**
|
|
242
308
|
* Get simulation by ID
|
|
243
309
|
*/
|
|
244
|
-
static getSimulation<ThrowOnError extends boolean = false>(options: Options<GetSimulationData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
310
|
+
static getSimulation<ThrowOnError extends boolean = false>(options: Options<solidity_service.GetSimulationData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<solidity_service.GetSimulationResponse, unknown, ThrowOnError>;
|
|
245
311
|
/**
|
|
246
312
|
* Get bundle simulation by ID
|
|
247
313
|
*/
|
|
248
|
-
static getSimulationBundleInProject<ThrowOnError extends boolean = false>(options: Options<GetSimulationBundleInProjectData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
314
|
+
static getSimulationBundleInProject<ThrowOnError extends boolean = false>(options: Options<solidity_service.GetSimulationBundleInProjectData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<solidity_service.GetSimulationBundleResponse, unknown, ThrowOnError>;
|
|
249
315
|
/**
|
|
250
316
|
* Get trace by bundle simulation
|
|
251
317
|
*/
|
|
252
|
-
static getCallTraceByBundle<ThrowOnError extends boolean = false>(options: Options<GetCallTraceByBundleData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
318
|
+
static getCallTraceByBundle<ThrowOnError extends boolean = false>(options: Options<google.GetCallTraceByBundleData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<google.ApiHttpBody, unknown, ThrowOnError>;
|
|
253
319
|
/**
|
|
254
320
|
* Run simulation
|
|
255
321
|
* Create a new transaction simulation. The simulation body should be included in the request body.
|
|
256
322
|
* 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.
|
|
257
323
|
*/
|
|
258
|
-
static simulateTransaction<ThrowOnError extends boolean = false>(options: Options<SimulateTransactionData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
324
|
+
static simulateTransaction<ThrowOnError extends boolean = false>(options: Options<solidity_service.SimulateTransactionData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<solidity_service.SimulateTransactionResponse, unknown, ThrowOnError>;
|
|
259
325
|
/**
|
|
260
326
|
* Get trace by simulation
|
|
261
327
|
*/
|
|
262
|
-
static getCallTraceBySimulation<ThrowOnError extends boolean = false>(options: Options<GetCallTraceBySimulationData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
328
|
+
static getCallTraceBySimulation<ThrowOnError extends boolean = false>(options: Options<google.GetCallTraceBySimulationData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<google.ApiHttpBody, unknown, ThrowOnError>;
|
|
263
329
|
/**
|
|
264
330
|
* Run bundle simulation
|
|
265
331
|
* 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.
|
|
266
332
|
*/
|
|
267
|
-
static simulateTransactionBundle<ThrowOnError extends boolean = false>(options: Options<SimulateTransactionBundleData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
333
|
+
static simulateTransactionBundle<ThrowOnError extends boolean = false>(options: Options<solidity_service.SimulateTransactionBundleData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<solidity_service.SimulateTransactionBundleResponse, unknown, ThrowOnError>;
|
|
268
334
|
/**
|
|
269
335
|
* Get trace by transaction
|
|
270
336
|
* 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.
|
|
@@ -275,53 +341,53 @@ export declare class DebugAndSimulationService {
|
|
|
275
341
|
*
|
|
276
342
|
* %20(1)%20(1)%20(1).png)
|
|
277
343
|
*/
|
|
278
|
-
static getCallTraceByTransaction<ThrowOnError extends boolean = false>(options: Options<GetCallTraceByTransactionData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
344
|
+
static getCallTraceByTransaction<ThrowOnError extends boolean = false>(options: Options<google.GetCallTraceByTransactionData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<google.ApiHttpBody, unknown, ThrowOnError>;
|
|
279
345
|
}
|
|
280
346
|
export declare class ForksService {
|
|
281
347
|
/**
|
|
282
348
|
* List all forks
|
|
283
349
|
*/
|
|
284
|
-
static listForks<ThrowOnError extends boolean = false>(options: Options<ListForksData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
350
|
+
static listForks<ThrowOnError extends boolean = false>(options: Options<solidity_service.ListForksData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<solidity_service.ListForksResponse, unknown, ThrowOnError>;
|
|
285
351
|
/**
|
|
286
352
|
* Create a fork
|
|
287
353
|
*/
|
|
288
|
-
static createFork<ThrowOnError extends boolean = false>(options: Options<CreateForkData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
354
|
+
static createFork<ThrowOnError extends boolean = false>(options: Options<solidity_service.CreateForkData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<solidity_service.CreateForkResponse, unknown, ThrowOnError>;
|
|
289
355
|
/**
|
|
290
356
|
* Get trace by bundle simulation
|
|
291
357
|
*/
|
|
292
|
-
static getCallTraceOnForkBundle<ThrowOnError extends boolean = false>(options: Options<GetCallTraceOnForkBundleData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
358
|
+
static getCallTraceOnForkBundle<ThrowOnError extends boolean = false>(options: Options<google.GetCallTraceOnForkBundleData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<google.ApiHttpBody, unknown, ThrowOnError>;
|
|
293
359
|
/**
|
|
294
360
|
* Run Simulation
|
|
295
361
|
*/
|
|
296
|
-
static simulateTransactionOnFork<ThrowOnError extends boolean = false>(options: Options<SimulateTransactionOnForkData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
362
|
+
static simulateTransactionOnFork<ThrowOnError extends boolean = false>(options: Options<solidity_service.SimulateTransactionOnForkData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<solidity_service.SimulateTransactionResponse, unknown, ThrowOnError>;
|
|
297
363
|
/**
|
|
298
364
|
* Get trace by simulation
|
|
299
365
|
*/
|
|
300
|
-
static getCallTraceOnForkSimulation<ThrowOnError extends boolean = false>(options: Options<GetCallTraceOnForkSimulationData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
366
|
+
static getCallTraceOnForkSimulation<ThrowOnError extends boolean = false>(options: Options<google.GetCallTraceOnForkSimulationData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<google.ApiHttpBody, unknown, ThrowOnError>;
|
|
301
367
|
/**
|
|
302
368
|
* Run bundle simulation
|
|
303
369
|
*/
|
|
304
|
-
static simulateTransactionBundleOnFork<ThrowOnError extends boolean = false>(options: Options<SimulateTransactionBundleOnForkData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
370
|
+
static simulateTransactionBundleOnFork<ThrowOnError extends boolean = false>(options: Options<solidity_service.SimulateTransactionBundleOnForkData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<solidity_service.SimulateTransactionBundleResponse, unknown, ThrowOnError>;
|
|
305
371
|
/**
|
|
306
372
|
* Get trace by transaction
|
|
307
373
|
*/
|
|
308
|
-
static getCallTraceOnForkTransaction<ThrowOnError extends boolean = false>(options: Options<GetCallTraceOnForkTransactionData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
374
|
+
static getCallTraceOnForkTransaction<ThrowOnError extends boolean = false>(options: Options<google.GetCallTraceOnForkTransactionData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<google.ApiHttpBody, unknown, ThrowOnError>;
|
|
309
375
|
/**
|
|
310
376
|
* Delete fork by id
|
|
311
377
|
*/
|
|
312
|
-
static deleteFork<ThrowOnError extends boolean = false>(options: Options<DeleteForkData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<{
|
|
378
|
+
static deleteFork<ThrowOnError extends boolean = false>(options: Options<solidit_service.DeleteForkData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<{
|
|
313
379
|
[key: string]: unknown;
|
|
314
380
|
}, unknown, ThrowOnError>;
|
|
315
381
|
/**
|
|
316
382
|
* Get fork by id
|
|
317
383
|
*/
|
|
318
|
-
static getFork<ThrowOnError extends boolean = false>(options: Options<GetForkData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
384
|
+
static getFork<ThrowOnError extends boolean = false>(options: Options<solidity_service.GetForkData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<solidity_service.GetForkResponse, unknown, ThrowOnError>;
|
|
319
385
|
/**
|
|
320
386
|
* Update fork by id
|
|
321
387
|
*/
|
|
322
|
-
static updateFork<ThrowOnError extends boolean = false>(options: Options<UpdateForkData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
388
|
+
static updateFork<ThrowOnError extends boolean = false>(options: Options<solidity_service.UpdateForkData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<solidity_service.UpdateForkResponse, unknown, ThrowOnError>;
|
|
323
389
|
/**
|
|
324
390
|
* Get fork info by id
|
|
325
391
|
*/
|
|
326
|
-
static getForkInfo<ThrowOnError extends boolean = false>(options: Options<GetForkInfoData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<
|
|
392
|
+
static getForkInfo<ThrowOnError extends boolean = false>(options: Options<solidity_service.GetForkInfoData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<solidity_service.GetForkInfoResponse, unknown, ThrowOnError>;
|
|
327
393
|
}
|