@sentio/api 1.0.3-rc.9 → 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 +79 -13
- package/dist/src/sdk.gen.js +307 -21
- package/dist/src/sdk.gen.js.map +1 -1
- package/dist/src/types.gen.d.ts +742 -104
- package/package.json +1 -1
- package/src/client.gen.ts +1 -1
- package/src/sdk.gen.ts +322 -23
- package/src/types.gen.ts +744 -104
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 { alert_service, analytic_service, web_service, insights_service, metrics_service,
|
|
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,6 +13,23 @@ 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
|
|
@@ -42,6 +59,21 @@ export declare class AlertsService {
|
|
|
42
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.
|
|
@@ -105,6 +137,11 @@ export declare class DataService {
|
|
|
105
137
|
* Save or update a SQL query in a project.
|
|
106
138
|
*/
|
|
107
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
|
*/
|
|
@@ -143,6 +180,24 @@ export declare class DataService {
|
|
|
143
180
|
* .png)
|
|
144
181
|
*/
|
|
145
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
|
/**
|
|
@@ -162,21 +217,13 @@ export declare class WebService {
|
|
|
162
217
|
*/
|
|
163
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
|
-
*
|
|
166
|
-
*/
|
|
167
|
-
static exportDashboard<ThrowOnError extends boolean = false>(options: Options<web_service.ExportDashboardData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<web_service.ExportDashboardResponse, unknown, ThrowOnError>;
|
|
168
|
-
/**
|
|
169
|
-
* Get project details
|
|
220
|
+
* Get dashboard history by dashboard id
|
|
170
221
|
*/
|
|
171
|
-
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>;
|
|
172
223
|
/**
|
|
173
|
-
*
|
|
174
|
-
*/
|
|
175
|
-
static getProjectById<ThrowOnError extends boolean = false>(options: Options<common.GetProjectByIdData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<common.ProjectInfo, unknown, ThrowOnError>;
|
|
176
|
-
/**
|
|
177
|
-
* Get project list
|
|
224
|
+
* Export a dashboard to json
|
|
178
225
|
*/
|
|
179
|
-
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>;
|
|
180
227
|
/**
|
|
181
228
|
* List all dashboards in a project
|
|
182
229
|
*/
|
|
@@ -185,6 +232,19 @@ export declare class WebService {
|
|
|
185
232
|
* Get a dashboard by id
|
|
186
233
|
*/
|
|
187
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 {
|
|
238
|
+
/**
|
|
239
|
+
* Get Aptos transaction call trace
|
|
240
|
+
* Retrieves the detailed call trace for an Aptos transaction
|
|
241
|
+
*/
|
|
242
|
+
static getCallTrace<ThrowOnError extends boolean = false>(options?: Options<google.GetCallTraceData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<google.ApiHttpBody, unknown, ThrowOnError>;
|
|
243
|
+
/**
|
|
244
|
+
* Get Sui transaction call trace
|
|
245
|
+
* Retrieves the detailed call trace for a Sui transaction
|
|
246
|
+
*/
|
|
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
|
/**
|
|
@@ -220,6 +280,12 @@ export declare class PriceService {
|
|
|
220
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
|
*/
|
package/dist/src/sdk.gen.js
CHANGED
|
@@ -1,8 +1,82 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.ForksService = exports.DebugAndSimulationService = exports.ProcessorService = exports.PriceService = exports.WebService = exports.DataService = exports.AlertsService = void 0;
|
|
4
|
+
exports.ForksService = exports.DebugAndSimulationService = exports.ProcessorService = exports.PriceService = exports.MoveService = exports.WebService = exports.DataService = exports.AlertsService = exports.AiService = void 0;
|
|
5
5
|
const client_gen_1 = require("./client.gen");
|
|
6
|
+
class AiService {
|
|
7
|
+
/**
|
|
8
|
+
* Create Chat Session
|
|
9
|
+
* 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.
|
|
10
|
+
*/
|
|
11
|
+
static createChatSession(options) {
|
|
12
|
+
return (options.client ?? client_gen_1.client).post({
|
|
13
|
+
security: [
|
|
14
|
+
{
|
|
15
|
+
name: 'api-key',
|
|
16
|
+
type: 'apiKey'
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
in: 'query',
|
|
20
|
+
name: 'api-key',
|
|
21
|
+
type: 'apiKey'
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
url: '/api/v1/ai/chat',
|
|
25
|
+
...options,
|
|
26
|
+
headers: {
|
|
27
|
+
'Content-Type': 'application/json',
|
|
28
|
+
...options?.headers
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Query Chat Session
|
|
34
|
+
* Retrieve information about an existing chat session, returning only messages after the specified cursor position. Messages include run_id to identify generation runs.
|
|
35
|
+
*/
|
|
36
|
+
static queryChatSession(options) {
|
|
37
|
+
return (options.client ?? client_gen_1.client).get({
|
|
38
|
+
security: [
|
|
39
|
+
{
|
|
40
|
+
name: 'api-key',
|
|
41
|
+
type: 'apiKey'
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
in: 'query',
|
|
45
|
+
name: 'api-key',
|
|
46
|
+
type: 'apiKey'
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
url: '/api/v1/ai/chat/{sessionId}',
|
|
50
|
+
...options
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Post Session Message
|
|
55
|
+
* 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.
|
|
56
|
+
*/
|
|
57
|
+
static postSessionMessage(options) {
|
|
58
|
+
return (options.client ?? client_gen_1.client).post({
|
|
59
|
+
security: [
|
|
60
|
+
{
|
|
61
|
+
name: 'api-key',
|
|
62
|
+
type: 'apiKey'
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
in: 'query',
|
|
66
|
+
name: 'api-key',
|
|
67
|
+
type: 'apiKey'
|
|
68
|
+
}
|
|
69
|
+
],
|
|
70
|
+
url: '/api/v1/ai/chat/{sessionId}/message',
|
|
71
|
+
...options,
|
|
72
|
+
headers: {
|
|
73
|
+
'Content-Type': 'application/json',
|
|
74
|
+
...options?.headers
|
|
75
|
+
}
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
exports.AiService = AiService;
|
|
6
80
|
class AlertsService {
|
|
7
81
|
/**
|
|
8
82
|
* Save an alert rule
|
|
@@ -115,6 +189,73 @@ class AlertsService {
|
|
|
115
189
|
}
|
|
116
190
|
exports.AlertsService = AlertsService;
|
|
117
191
|
class DataService {
|
|
192
|
+
/**
|
|
193
|
+
* Save Sharing SQL
|
|
194
|
+
* Save or update sharing settings for a SQL query.
|
|
195
|
+
*/
|
|
196
|
+
static saveSharingSql(options) {
|
|
197
|
+
return (options.client ?? client_gen_1.client).post({
|
|
198
|
+
security: [
|
|
199
|
+
{
|
|
200
|
+
name: 'api-key',
|
|
201
|
+
type: 'apiKey'
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
in: 'query',
|
|
205
|
+
name: 'api-key',
|
|
206
|
+
type: 'apiKey'
|
|
207
|
+
}
|
|
208
|
+
],
|
|
209
|
+
url: '/api/v1/analytics/sql/sharing',
|
|
210
|
+
...options,
|
|
211
|
+
headers: {
|
|
212
|
+
'Content-Type': 'application/json',
|
|
213
|
+
...options?.headers
|
|
214
|
+
}
|
|
215
|
+
});
|
|
216
|
+
}
|
|
217
|
+
/**
|
|
218
|
+
* Get Sharing SQL
|
|
219
|
+
* Get sharing settings for a SQL query.
|
|
220
|
+
*/
|
|
221
|
+
static getSharingSql(options) {
|
|
222
|
+
return (options.client ?? client_gen_1.client).get({
|
|
223
|
+
security: [
|
|
224
|
+
{
|
|
225
|
+
name: 'api-key',
|
|
226
|
+
type: 'apiKey'
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
in: 'query',
|
|
230
|
+
name: 'api-key',
|
|
231
|
+
type: 'apiKey'
|
|
232
|
+
}
|
|
233
|
+
],
|
|
234
|
+
url: '/api/v1/analytics/sql/sharing/{id}',
|
|
235
|
+
...options
|
|
236
|
+
});
|
|
237
|
+
}
|
|
238
|
+
/**
|
|
239
|
+
* Query Tables
|
|
240
|
+
* Query tables in a project. use flag to control which type of tables to include.
|
|
241
|
+
*/
|
|
242
|
+
static queryTables2(options) {
|
|
243
|
+
return (options?.client ?? client_gen_1.client).get({
|
|
244
|
+
security: [
|
|
245
|
+
{
|
|
246
|
+
name: 'api-key',
|
|
247
|
+
type: 'apiKey'
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
in: 'query',
|
|
251
|
+
name: 'api-key',
|
|
252
|
+
type: 'apiKey'
|
|
253
|
+
}
|
|
254
|
+
],
|
|
255
|
+
url: '/api/v1/analytics/sql/tables',
|
|
256
|
+
...options
|
|
257
|
+
});
|
|
258
|
+
}
|
|
118
259
|
/**
|
|
119
260
|
* Cancel SQL Query
|
|
120
261
|
* Cancel a SQL query by execution_id.
|
|
@@ -370,6 +511,27 @@ class DataService {
|
|
|
370
511
|
}
|
|
371
512
|
});
|
|
372
513
|
}
|
|
514
|
+
/**
|
|
515
|
+
* Query Tables
|
|
516
|
+
* Query tables in a project. use flag to control which type of tables to include.
|
|
517
|
+
*/
|
|
518
|
+
static queryTables(options) {
|
|
519
|
+
return (options.client ?? client_gen_1.client).get({
|
|
520
|
+
security: [
|
|
521
|
+
{
|
|
522
|
+
name: 'api-key',
|
|
523
|
+
type: 'apiKey'
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
in: 'query',
|
|
527
|
+
name: 'api-key',
|
|
528
|
+
type: 'apiKey'
|
|
529
|
+
}
|
|
530
|
+
],
|
|
531
|
+
url: '/api/v1/analytics/{owner}/{slug}/sql/tables',
|
|
532
|
+
...options
|
|
533
|
+
});
|
|
534
|
+
}
|
|
373
535
|
/**
|
|
374
536
|
* Query event logs
|
|
375
537
|
*/
|
|
@@ -552,6 +714,88 @@ class DataService {
|
|
|
552
714
|
}
|
|
553
715
|
});
|
|
554
716
|
}
|
|
717
|
+
/**
|
|
718
|
+
* Query Table By Name
|
|
719
|
+
* Query table schema by name.
|
|
720
|
+
*/
|
|
721
|
+
static queryTable2(options) {
|
|
722
|
+
return (options?.client ?? client_gen_1.client).get({
|
|
723
|
+
security: [
|
|
724
|
+
{
|
|
725
|
+
name: 'api-key',
|
|
726
|
+
type: 'apiKey'
|
|
727
|
+
},
|
|
728
|
+
{
|
|
729
|
+
in: 'query',
|
|
730
|
+
name: 'api-key',
|
|
731
|
+
type: 'apiKey'
|
|
732
|
+
}
|
|
733
|
+
],
|
|
734
|
+
url: '/api/v1/sql/table',
|
|
735
|
+
...options
|
|
736
|
+
});
|
|
737
|
+
}
|
|
738
|
+
/**
|
|
739
|
+
* List Tables
|
|
740
|
+
*/
|
|
741
|
+
static listTables2(options) {
|
|
742
|
+
return (options?.client ?? client_gen_1.client).get({
|
|
743
|
+
security: [
|
|
744
|
+
{
|
|
745
|
+
name: 'api-key',
|
|
746
|
+
type: 'apiKey'
|
|
747
|
+
},
|
|
748
|
+
{
|
|
749
|
+
in: 'query',
|
|
750
|
+
name: 'api-key',
|
|
751
|
+
type: 'apiKey'
|
|
752
|
+
}
|
|
753
|
+
],
|
|
754
|
+
url: '/api/v1/sql/tables',
|
|
755
|
+
...options
|
|
756
|
+
});
|
|
757
|
+
}
|
|
758
|
+
/**
|
|
759
|
+
* Query Table By Name
|
|
760
|
+
* Query table schema by name.
|
|
761
|
+
*/
|
|
762
|
+
static queryTable(options) {
|
|
763
|
+
return (options.client ?? client_gen_1.client).get({
|
|
764
|
+
security: [
|
|
765
|
+
{
|
|
766
|
+
name: 'api-key',
|
|
767
|
+
type: 'apiKey'
|
|
768
|
+
},
|
|
769
|
+
{
|
|
770
|
+
in: 'query',
|
|
771
|
+
name: 'api-key',
|
|
772
|
+
type: 'apiKey'
|
|
773
|
+
}
|
|
774
|
+
],
|
|
775
|
+
url: '/api/v1/sql/{owner}/{slug}/table/{name}',
|
|
776
|
+
...options
|
|
777
|
+
});
|
|
778
|
+
}
|
|
779
|
+
/**
|
|
780
|
+
* List Tables
|
|
781
|
+
*/
|
|
782
|
+
static listTables(options) {
|
|
783
|
+
return (options.client ?? client_gen_1.client).get({
|
|
784
|
+
security: [
|
|
785
|
+
{
|
|
786
|
+
name: 'api-key',
|
|
787
|
+
type: 'apiKey'
|
|
788
|
+
},
|
|
789
|
+
{
|
|
790
|
+
in: 'query',
|
|
791
|
+
name: 'api-key',
|
|
792
|
+
type: 'apiKey'
|
|
793
|
+
}
|
|
794
|
+
],
|
|
795
|
+
url: '/api/v1/sql/{owner}/{slug}/tables',
|
|
796
|
+
...options
|
|
797
|
+
});
|
|
798
|
+
}
|
|
555
799
|
}
|
|
556
800
|
exports.DataService = DataService;
|
|
557
801
|
class WebService {
|
|
@@ -639,6 +883,26 @@ class WebService {
|
|
|
639
883
|
...options
|
|
640
884
|
});
|
|
641
885
|
}
|
|
886
|
+
/**
|
|
887
|
+
* Get dashboard history by dashboard id
|
|
888
|
+
*/
|
|
889
|
+
static getDashboardHistory(options) {
|
|
890
|
+
return (options.client ?? client_gen_1.client).get({
|
|
891
|
+
security: [
|
|
892
|
+
{
|
|
893
|
+
name: 'api-key',
|
|
894
|
+
type: 'apiKey'
|
|
895
|
+
},
|
|
896
|
+
{
|
|
897
|
+
in: 'query',
|
|
898
|
+
name: 'api-key',
|
|
899
|
+
type: 'apiKey'
|
|
900
|
+
}
|
|
901
|
+
],
|
|
902
|
+
url: '/api/v1/dashboards/{dashboardId}/history',
|
|
903
|
+
...options
|
|
904
|
+
});
|
|
905
|
+
}
|
|
642
906
|
/**
|
|
643
907
|
* Export a dashboard to json
|
|
644
908
|
*/
|
|
@@ -660,9 +924,9 @@ class WebService {
|
|
|
660
924
|
});
|
|
661
925
|
}
|
|
662
926
|
/**
|
|
663
|
-
*
|
|
927
|
+
* List all dashboards in a project
|
|
664
928
|
*/
|
|
665
|
-
static
|
|
929
|
+
static listDashboards2(options) {
|
|
666
930
|
return (options.client ?? client_gen_1.client).get({
|
|
667
931
|
security: [
|
|
668
932
|
{
|
|
@@ -675,14 +939,14 @@ class WebService {
|
|
|
675
939
|
type: 'apiKey'
|
|
676
940
|
}
|
|
677
941
|
],
|
|
678
|
-
url: '/api/v1/
|
|
942
|
+
url: '/api/v1/projects/{owner}/{slug}/dashboards',
|
|
679
943
|
...options
|
|
680
944
|
});
|
|
681
945
|
}
|
|
682
946
|
/**
|
|
683
|
-
* Get
|
|
947
|
+
* Get a dashboard by id
|
|
684
948
|
*/
|
|
685
|
-
static
|
|
949
|
+
static getDashboard2(options) {
|
|
686
950
|
return (options.client ?? client_gen_1.client).get({
|
|
687
951
|
security: [
|
|
688
952
|
{
|
|
@@ -695,14 +959,11 @@ class WebService {
|
|
|
695
959
|
type: 'apiKey'
|
|
696
960
|
}
|
|
697
961
|
],
|
|
698
|
-
url: '/api/v1/
|
|
962
|
+
url: '/api/v1/projects/{owner}/{slug}/dashboards/{dashboardId}',
|
|
699
963
|
...options
|
|
700
964
|
});
|
|
701
965
|
}
|
|
702
|
-
|
|
703
|
-
* Get project list
|
|
704
|
-
*/
|
|
705
|
-
static getProjectList(options) {
|
|
966
|
+
static createLinkSession(options) {
|
|
706
967
|
return (options?.client ?? client_gen_1.client).get({
|
|
707
968
|
security: [
|
|
708
969
|
{
|
|
@@ -715,15 +976,19 @@ class WebService {
|
|
|
715
976
|
type: 'apiKey'
|
|
716
977
|
}
|
|
717
978
|
],
|
|
718
|
-
url: '/api/v1/
|
|
979
|
+
url: '/api/v1/users/link',
|
|
719
980
|
...options
|
|
720
981
|
});
|
|
721
982
|
}
|
|
983
|
+
}
|
|
984
|
+
exports.WebService = WebService;
|
|
985
|
+
class MoveService {
|
|
722
986
|
/**
|
|
723
|
-
*
|
|
987
|
+
* Get Aptos transaction call trace
|
|
988
|
+
* Retrieves the detailed call trace for an Aptos transaction
|
|
724
989
|
*/
|
|
725
|
-
static
|
|
726
|
-
return (options
|
|
990
|
+
static getCallTrace(options) {
|
|
991
|
+
return (options?.client ?? client_gen_1.client).get({
|
|
727
992
|
security: [
|
|
728
993
|
{
|
|
729
994
|
name: 'api-key',
|
|
@@ -735,15 +1000,16 @@ class WebService {
|
|
|
735
1000
|
type: 'apiKey'
|
|
736
1001
|
}
|
|
737
1002
|
],
|
|
738
|
-
url: '/api/v1/
|
|
1003
|
+
url: '/api/v1/move/call_trace',
|
|
739
1004
|
...options
|
|
740
1005
|
});
|
|
741
1006
|
}
|
|
742
1007
|
/**
|
|
743
|
-
* Get
|
|
1008
|
+
* Get Sui transaction call trace
|
|
1009
|
+
* Retrieves the detailed call trace for a Sui transaction
|
|
744
1010
|
*/
|
|
745
|
-
static
|
|
746
|
-
return (options
|
|
1011
|
+
static getSuiCallTrace(options) {
|
|
1012
|
+
return (options?.client ?? client_gen_1.client).get({
|
|
747
1013
|
security: [
|
|
748
1014
|
{
|
|
749
1015
|
name: 'api-key',
|
|
@@ -755,12 +1021,12 @@ class WebService {
|
|
|
755
1021
|
type: 'apiKey'
|
|
756
1022
|
}
|
|
757
1023
|
],
|
|
758
|
-
url: '/api/v1/
|
|
1024
|
+
url: '/api/v1/move/sui_call_trace',
|
|
759
1025
|
...options
|
|
760
1026
|
});
|
|
761
1027
|
}
|
|
762
1028
|
}
|
|
763
|
-
exports.
|
|
1029
|
+
exports.MoveService = MoveService;
|
|
764
1030
|
class PriceService {
|
|
765
1031
|
/**
|
|
766
1032
|
* Get price
|
|
@@ -884,6 +1150,26 @@ class PriceService {
|
|
|
884
1150
|
}
|
|
885
1151
|
exports.PriceService = PriceService;
|
|
886
1152
|
class ProcessorService {
|
|
1153
|
+
/**
|
|
1154
|
+
* activate the pending version of a processor
|
|
1155
|
+
*/
|
|
1156
|
+
static activatePendingVersion(options) {
|
|
1157
|
+
return (options.client ?? client_gen_1.client).put({
|
|
1158
|
+
security: [
|
|
1159
|
+
{
|
|
1160
|
+
name: 'api-key',
|
|
1161
|
+
type: 'apiKey'
|
|
1162
|
+
},
|
|
1163
|
+
{
|
|
1164
|
+
in: 'query',
|
|
1165
|
+
name: 'api-key',
|
|
1166
|
+
type: 'apiKey'
|
|
1167
|
+
}
|
|
1168
|
+
],
|
|
1169
|
+
url: '/api/v1/processors/{owner}/{slug}/activate_pending',
|
|
1170
|
+
...options
|
|
1171
|
+
});
|
|
1172
|
+
}
|
|
887
1173
|
/**
|
|
888
1174
|
* Get processor status
|
|
889
1175
|
*/
|