@sentio/api 1.0.3-rc.60 → 1.0.3-rc.62
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/client.gen.js.map +1 -1
- package/dist/src/sdk.gen.d.ts +32 -29
- package/dist/src/sdk.gen.js +87 -87
- package/dist/src/sdk.gen.js.map +1 -1
- package/dist/src/types.gen.d.ts +236 -185
- package/package.json +1 -1
- package/src/client.gen.ts +1 -1
- package/src/sdk.gen.ts +92 -92
- package/src/types.gen.ts +237 -185
package/dist/src/types.gen.d.ts
CHANGED
|
@@ -180,6 +180,11 @@ export declare namespace alert_service {
|
|
|
180
180
|
time?: string;
|
|
181
181
|
state?: AlertRuleState;
|
|
182
182
|
queryTimeRange?: common.TimeRangeLite;
|
|
183
|
+
sqlCondition?: SqlCondition;
|
|
184
|
+
sqlSamples?: Array<{
|
|
185
|
+
[key: string]: unknown;
|
|
186
|
+
}>;
|
|
187
|
+
sqlMatchCount?: number;
|
|
183
188
|
};
|
|
184
189
|
type AlertRule = {
|
|
185
190
|
id?: string;
|
|
@@ -200,8 +205,10 @@ export declare namespace alert_service {
|
|
|
200
205
|
lastQueryTime?: string;
|
|
201
206
|
mute?: boolean;
|
|
202
207
|
interval?: common.Duration;
|
|
208
|
+
error?: string;
|
|
209
|
+
sqlCondition?: SqlCondition;
|
|
203
210
|
};
|
|
204
|
-
type AlertRuleState = 'NO_DATA' | 'FIRING' | 'NORMAL';
|
|
211
|
+
type AlertRuleState = 'NO_DATA' | 'FIRING' | 'NORMAL' | 'ERROR';
|
|
205
212
|
type AlertServiceSaveAlertRuleBody = {
|
|
206
213
|
rule?: {
|
|
207
214
|
projectId?: string;
|
|
@@ -221,9 +228,11 @@ export declare namespace alert_service {
|
|
|
221
228
|
lastQueryTime?: string;
|
|
222
229
|
mute?: boolean;
|
|
223
230
|
interval?: common.Duration;
|
|
231
|
+
error?: string;
|
|
232
|
+
sqlCondition?: SqlCondition;
|
|
224
233
|
};
|
|
225
234
|
};
|
|
226
|
-
type AlertType = 'METRIC' | 'LOG';
|
|
235
|
+
type AlertType = 'METRIC' | 'LOG' | 'SQL';
|
|
227
236
|
type Condition = {
|
|
228
237
|
queries?: Array<common.Query>;
|
|
229
238
|
formula?: common.Formula;
|
|
@@ -232,6 +241,7 @@ export declare namespace alert_service {
|
|
|
232
241
|
eventsQueries?: Array<common.SegmentationQuery>;
|
|
233
242
|
priceQueries?: Array<common.PriceSegmentationQuery>;
|
|
234
243
|
insightQueries?: Array<ConditionInsightQuery>;
|
|
244
|
+
threshold2?: number;
|
|
235
245
|
};
|
|
236
246
|
type ConditionInsightQuery = {
|
|
237
247
|
metricsQuery?: common.Query;
|
|
@@ -251,6 +261,7 @@ export declare namespace alert_service {
|
|
|
251
261
|
query?: string;
|
|
252
262
|
comparisonOp?: string;
|
|
253
263
|
threshold?: number;
|
|
264
|
+
threshold2?: number;
|
|
254
265
|
};
|
|
255
266
|
type Mute = {
|
|
256
267
|
id?: string;
|
|
@@ -261,6 +272,23 @@ export declare namespace alert_service {
|
|
|
261
272
|
endTime?: string;
|
|
262
273
|
updateTime?: string;
|
|
263
274
|
};
|
|
275
|
+
type SqlCondition = {
|
|
276
|
+
columnCondition?: SqlConditionColumnCondition;
|
|
277
|
+
rowCondition?: SqlConditionRowCondition;
|
|
278
|
+
sqlQuery?: string;
|
|
279
|
+
};
|
|
280
|
+
type SqlConditionAggregation = 'COUNT' | 'SUM' | 'AVG' | 'MAX' | 'MIN' | 'LAST';
|
|
281
|
+
type SqlConditionColumnCondition = {
|
|
282
|
+
valueColumn?: string;
|
|
283
|
+
timeColumn?: string;
|
|
284
|
+
comparisonOp?: string;
|
|
285
|
+
threshold?: number;
|
|
286
|
+
threshold2?: number;
|
|
287
|
+
aggregation?: SqlConditionAggregation;
|
|
288
|
+
};
|
|
289
|
+
type SqlConditionRowCondition = {
|
|
290
|
+
[key: string]: unknown;
|
|
291
|
+
};
|
|
264
292
|
type Sample = {
|
|
265
293
|
metric?: {
|
|
266
294
|
[key: string]: string;
|
|
@@ -443,6 +471,10 @@ export declare namespace analytic_service {
|
|
|
443
471
|
name?: string;
|
|
444
472
|
sql?: string;
|
|
445
473
|
};
|
|
474
|
+
type ListTablesResponse = {
|
|
475
|
+
names?: Array<string>;
|
|
476
|
+
computeStats?: common.ComputeStats;
|
|
477
|
+
};
|
|
446
478
|
type LogQueryRequestFilter = {
|
|
447
479
|
field?: string;
|
|
448
480
|
value?: string;
|
|
@@ -456,6 +488,7 @@ export declare namespace analytic_service {
|
|
|
456
488
|
entries?: Array<common.EventLogEntry>;
|
|
457
489
|
after?: Array<common.Any>;
|
|
458
490
|
total?: string;
|
|
491
|
+
computeStats?: common.ComputeStats;
|
|
459
492
|
};
|
|
460
493
|
type QuerySqlExecutionDetailResponse = {
|
|
461
494
|
computeStats?: common.ComputeStats;
|
|
@@ -474,6 +507,10 @@ export declare namespace analytic_service {
|
|
|
474
507
|
computeStats?: common.ComputeStats;
|
|
475
508
|
color?: string;
|
|
476
509
|
};
|
|
510
|
+
type QueryTableResponse = {
|
|
511
|
+
table?: Table;
|
|
512
|
+
computeStats?: common.ComputeStats;
|
|
513
|
+
};
|
|
477
514
|
type QueryTablesResponse = {
|
|
478
515
|
tables?: {
|
|
479
516
|
[key: string]: Table;
|
|
@@ -521,6 +558,8 @@ export declare namespace analytic_service {
|
|
|
521
558
|
offset?: number;
|
|
522
559
|
filters?: Array<LogQueryRequestFilter>;
|
|
523
560
|
version?: number;
|
|
561
|
+
source?: string;
|
|
562
|
+
cachePolicy?: common.CachePolicy;
|
|
524
563
|
};
|
|
525
564
|
type SegmentationRequest = {
|
|
526
565
|
projectOwner?: string;
|
|
@@ -534,7 +573,7 @@ export declare namespace analytic_service {
|
|
|
534
573
|
limit?: number;
|
|
535
574
|
offset?: number;
|
|
536
575
|
};
|
|
537
|
-
type Source = 'SQL_EDITOR' | 'DASHBOARD' | 'ASYNC_TRIGGER' | 'CURL' | 'ENDPOINT';
|
|
576
|
+
type Source = 'SQL_EDITOR' | 'DASHBOARD' | 'ASYNC_TRIGGER' | 'CURL' | 'ENDPOINT' | 'EXPORT' | 'USER_MATERIALIZED_VIEW_CREATOR' | 'SQL_ALERT';
|
|
538
577
|
type SyncExecuteSqlResponse = {
|
|
539
578
|
runtimeCost?: string;
|
|
540
579
|
result?: common.TabularData;
|
|
@@ -556,7 +595,7 @@ export declare namespace analytic_service {
|
|
|
556
595
|
isBuiltin?: boolean;
|
|
557
596
|
};
|
|
558
597
|
type TableColumnColumnType = 'STRING' | 'NUMBER' | 'BOOLEAN' | 'LIST' | 'TIME' | 'JSON' | 'TOKEN';
|
|
559
|
-
type TableTableType = 'RESERVED' | 'EVENT' | 'METRICS' | 'SUBGRAPH' | 'MATERIALIZED_VIEW' | 'IMPORTED_EVENT' | 'SYSTEM' | 'ENTITY' | 'IMPORTED_ENTITY' | 'IMPORTED_SUBGRAPH' | 'USER_REFRESHABLE_VIEW' | 'DASH_COMMUNITY_EVENT' | 'DASH_COMMUNITY_SUBGRAPH' | 'DASH_COMMUNITY_ENTITY' | 'DASH_CURATED_EVENT' | 'DASH_CURATED_SUBGRAPH' | 'DASH_CURATED_ENTITY' | 'DASH_COMMUNITY_MATERIALIZED_VIEW' | 'DASH_CURATED_MATERIALIZED_VIEW';
|
|
598
|
+
type TableTableType = 'RESERVED' | 'EVENT' | 'METRICS' | 'SUBGRAPH' | 'MATERIALIZED_VIEW' | 'IMPORTED_EVENT' | 'SYSTEM' | 'ENTITY' | 'IMPORTED_ENTITY' | 'IMPORTED_SUBGRAPH' | 'USER_REFRESHABLE_VIEW' | 'DASH_COMMUNITY_EVENT' | 'DASH_COMMUNITY_SUBGRAPH' | 'DASH_COMMUNITY_ENTITY' | 'DASH_CURATED_EVENT' | 'DASH_CURATED_SUBGRAPH' | 'DASH_CURATED_ENTITY' | 'DASH_COMMUNITY_MATERIALIZED_VIEW' | 'DASH_CURATED_MATERIALIZED_VIEW' | 'IMPORTED_METRICS' | 'DASH_COMMUNITY_METRICS' | 'DASH_CURATED_METRICS';
|
|
560
599
|
type ViewRefreshSettings = {
|
|
561
600
|
refreshInterval?: string;
|
|
562
601
|
strategy?: ViewRefreshSettingsRefreshStrategy;
|
|
@@ -971,6 +1010,23 @@ export declare namespace analytic_service {
|
|
|
971
1010
|
limit?: number;
|
|
972
1011
|
offset?: number;
|
|
973
1012
|
version?: number;
|
|
1013
|
+
source?: string;
|
|
1014
|
+
/**
|
|
1015
|
+
* how long the cache will be stored before it is evicted
|
|
1016
|
+
*/
|
|
1017
|
+
'cachePolicy.cacheTtlSecs'?: number;
|
|
1018
|
+
/**
|
|
1019
|
+
* how long the cache will be refreshed in the background
|
|
1020
|
+
*/
|
|
1021
|
+
'cachePolicy.cacheRefreshTtlSecs'?: number;
|
|
1022
|
+
/**
|
|
1023
|
+
* force refresh the cache now
|
|
1024
|
+
*/
|
|
1025
|
+
'cachePolicy.forceRefresh'?: boolean;
|
|
1026
|
+
/**
|
|
1027
|
+
* do not use cache
|
|
1028
|
+
*/
|
|
1029
|
+
'cachePolicy.noCache'?: boolean;
|
|
974
1030
|
};
|
|
975
1031
|
url: '/api/v1/eventlogs/{owner}/{slug}/query';
|
|
976
1032
|
};
|
|
@@ -981,6 +1037,82 @@ export declare namespace analytic_service {
|
|
|
981
1037
|
200: analytic_service.LogQueryResponse;
|
|
982
1038
|
};
|
|
983
1039
|
type QueryLog2Response = QueryLog2Responses[keyof QueryLog2Responses];
|
|
1040
|
+
type QueryTable2Data = {
|
|
1041
|
+
body?: never;
|
|
1042
|
+
path?: never;
|
|
1043
|
+
query?: {
|
|
1044
|
+
projectOwner?: string;
|
|
1045
|
+
projectSlug?: string;
|
|
1046
|
+
projectId?: string;
|
|
1047
|
+
version?: number;
|
|
1048
|
+
name?: string;
|
|
1049
|
+
};
|
|
1050
|
+
url: '/api/v1/sql/table';
|
|
1051
|
+
};
|
|
1052
|
+
type QueryTable2Responses = {
|
|
1053
|
+
/**
|
|
1054
|
+
* A successful response.
|
|
1055
|
+
*/
|
|
1056
|
+
200: analytic_service.QueryTableResponse;
|
|
1057
|
+
};
|
|
1058
|
+
type QueryTable2Response = QueryTable2Responses[keyof QueryTable2Responses];
|
|
1059
|
+
type ListTables2Data = {
|
|
1060
|
+
body?: never;
|
|
1061
|
+
path?: never;
|
|
1062
|
+
query?: {
|
|
1063
|
+
projectOwner?: string;
|
|
1064
|
+
projectSlug?: string;
|
|
1065
|
+
projectId?: string;
|
|
1066
|
+
version?: number;
|
|
1067
|
+
};
|
|
1068
|
+
url: '/api/v1/sql/tables';
|
|
1069
|
+
};
|
|
1070
|
+
type ListTables2Responses = {
|
|
1071
|
+
/**
|
|
1072
|
+
* A successful response.
|
|
1073
|
+
*/
|
|
1074
|
+
200: analytic_service.ListTablesResponse;
|
|
1075
|
+
};
|
|
1076
|
+
type ListTables2Response = ListTables2Responses[keyof ListTables2Responses];
|
|
1077
|
+
type QueryTableData = {
|
|
1078
|
+
body?: never;
|
|
1079
|
+
path: {
|
|
1080
|
+
owner: string;
|
|
1081
|
+
slug: string;
|
|
1082
|
+
name: string;
|
|
1083
|
+
};
|
|
1084
|
+
query?: {
|
|
1085
|
+
projectId?: string;
|
|
1086
|
+
version?: number;
|
|
1087
|
+
};
|
|
1088
|
+
url: '/api/v1/sql/{owner}/{slug}/table/{name}';
|
|
1089
|
+
};
|
|
1090
|
+
type QueryTableResponses = {
|
|
1091
|
+
/**
|
|
1092
|
+
* A successful response.
|
|
1093
|
+
*/
|
|
1094
|
+
200: analytic_service.QueryTableResponse;
|
|
1095
|
+
};
|
|
1096
|
+
type QueryTableResponse2 = QueryTableResponses[keyof QueryTableResponses];
|
|
1097
|
+
type ListTablesData = {
|
|
1098
|
+
body?: never;
|
|
1099
|
+
path: {
|
|
1100
|
+
owner: string;
|
|
1101
|
+
slug: string;
|
|
1102
|
+
};
|
|
1103
|
+
query?: {
|
|
1104
|
+
projectId?: string;
|
|
1105
|
+
version?: number;
|
|
1106
|
+
};
|
|
1107
|
+
url: '/api/v1/sql/{owner}/{slug}/tables';
|
|
1108
|
+
};
|
|
1109
|
+
type ListTablesResponses = {
|
|
1110
|
+
/**
|
|
1111
|
+
* A successful response.
|
|
1112
|
+
*/
|
|
1113
|
+
200: analytic_service.ListTablesResponse;
|
|
1114
|
+
};
|
|
1115
|
+
type ListTablesResponse2 = ListTablesResponses[keyof ListTablesResponses];
|
|
984
1116
|
}
|
|
985
1117
|
export declare namespace common {
|
|
986
1118
|
type Aggregate = {
|
|
@@ -1176,11 +1308,6 @@ export declare namespace common {
|
|
|
1176
1308
|
name?: string;
|
|
1177
1309
|
arguments?: Array<Argument>;
|
|
1178
1310
|
};
|
|
1179
|
-
type ImportedProject = {
|
|
1180
|
-
name?: string;
|
|
1181
|
-
project?: Project;
|
|
1182
|
-
imported?: Project;
|
|
1183
|
-
};
|
|
1184
1311
|
type JoinOperator = 'AND' | 'OR' | 'THEN';
|
|
1185
1312
|
type Matrix = {
|
|
1186
1313
|
samples?: Array<MatrixSample>;
|
|
@@ -1253,6 +1380,7 @@ export declare namespace common {
|
|
|
1253
1380
|
enableMaterializedView?: boolean;
|
|
1254
1381
|
defaultTimerange?: TimeRangeLite;
|
|
1255
1382
|
communityProject?: CommunityProject;
|
|
1383
|
+
sentioNetwork?: boolean;
|
|
1256
1384
|
};
|
|
1257
1385
|
type ProjectProjectMember = {
|
|
1258
1386
|
user?: UserInfo;
|
|
@@ -1497,6 +1625,8 @@ export declare namespace common {
|
|
|
1497
1625
|
accountStatus?: UserAccountStatus;
|
|
1498
1626
|
tier?: Tier;
|
|
1499
1627
|
isOrganization?: boolean;
|
|
1628
|
+
walletAddress?: string;
|
|
1629
|
+
identities?: Array<string>;
|
|
1500
1630
|
};
|
|
1501
1631
|
type UserAccountStatus = 'PENDING' | 'SET_USERNAME' | 'BANNED' | 'ACTIVE';
|
|
1502
1632
|
/**
|
|
@@ -1510,21 +1640,6 @@ export declare namespace common {
|
|
|
1510
1640
|
picture?: string;
|
|
1511
1641
|
username?: string;
|
|
1512
1642
|
};
|
|
1513
|
-
type GetProjectByIdData = {
|
|
1514
|
-
body?: never;
|
|
1515
|
-
path: {
|
|
1516
|
-
projectId: string;
|
|
1517
|
-
};
|
|
1518
|
-
query?: never;
|
|
1519
|
-
url: '/api/v1/project/{projectId}';
|
|
1520
|
-
};
|
|
1521
|
-
type GetProjectByIdResponses = {
|
|
1522
|
-
/**
|
|
1523
|
-
* A successful response.
|
|
1524
|
-
*/
|
|
1525
|
-
200: common.ProjectInfo;
|
|
1526
|
-
};
|
|
1527
|
-
type GetProjectByIdResponse = GetProjectByIdResponses[keyof GetProjectByIdResponses];
|
|
1528
1643
|
}
|
|
1529
1644
|
export declare namespace evm {
|
|
1530
1645
|
type AccessListItem = {
|
|
@@ -1697,6 +1812,22 @@ export declare namespace google {
|
|
|
1697
1812
|
* - NULL_VALUE: Null value.
|
|
1698
1813
|
*/
|
|
1699
1814
|
type ProtobufNullValue = 'NULL_VALUE';
|
|
1815
|
+
type GetCallTraceData = {
|
|
1816
|
+
body?: never;
|
|
1817
|
+
path?: never;
|
|
1818
|
+
query?: {
|
|
1819
|
+
networkId?: string;
|
|
1820
|
+
txHash?: string;
|
|
1821
|
+
};
|
|
1822
|
+
url: '/api/v1/move/call_trace';
|
|
1823
|
+
};
|
|
1824
|
+
type GetCallTraceResponses = {
|
|
1825
|
+
/**
|
|
1826
|
+
* A successful response.
|
|
1827
|
+
*/
|
|
1828
|
+
200: google.ApiHttpBody;
|
|
1829
|
+
};
|
|
1830
|
+
type GetCallTraceResponse = GetCallTraceResponses[keyof GetCallTraceResponses];
|
|
1700
1831
|
type GetCallTraceOnForkBundleData = {
|
|
1701
1832
|
body?: never;
|
|
1702
1833
|
path: {
|
|
@@ -1896,6 +2027,7 @@ export declare namespace insights_service {
|
|
|
1896
2027
|
offset?: number;
|
|
1897
2028
|
bypassCache?: boolean;
|
|
1898
2029
|
cachePolicy?: common.CachePolicy;
|
|
2030
|
+
enableExperimentalFeatures?: boolean;
|
|
1899
2031
|
};
|
|
1900
2032
|
type ListCoinsResponse = {
|
|
1901
2033
|
coins?: Array<common.CoinId>;
|
|
@@ -1989,6 +2121,7 @@ export declare namespace insights_service {
|
|
|
1989
2121
|
export declare namespace metrics_service {
|
|
1990
2122
|
type GetMetricsResponse = {
|
|
1991
2123
|
metrics?: Array<MetricInfo>;
|
|
2124
|
+
computeStats?: common.ComputeStats;
|
|
1992
2125
|
};
|
|
1993
2126
|
type MetricInfo = {
|
|
1994
2127
|
name?: string;
|
|
@@ -2004,6 +2137,7 @@ export declare namespace metrics_service {
|
|
|
2004
2137
|
};
|
|
2005
2138
|
type MetricInfoLabelValues = {
|
|
2006
2139
|
values?: Array<string>;
|
|
2140
|
+
totalCount?: string;
|
|
2007
2141
|
};
|
|
2008
2142
|
type MetricMetadata = {
|
|
2009
2143
|
type?: string;
|
|
@@ -2050,6 +2184,7 @@ export declare namespace metrics_service {
|
|
|
2050
2184
|
version?: number;
|
|
2051
2185
|
timezone?: string;
|
|
2052
2186
|
samplesOffset?: number;
|
|
2187
|
+
enableExperimentalFeatures?: boolean;
|
|
2053
2188
|
};
|
|
2054
2189
|
type ObservabilityServiceQueryRangeBody = {
|
|
2055
2190
|
queries?: Array<common.Query>;
|
|
@@ -2059,6 +2194,7 @@ export declare namespace metrics_service {
|
|
|
2059
2194
|
projectId?: string;
|
|
2060
2195
|
version?: number;
|
|
2061
2196
|
samplesOffset?: number;
|
|
2197
|
+
enableExperimentalFeatures?: boolean;
|
|
2062
2198
|
};
|
|
2063
2199
|
type QueryValueResponse = {
|
|
2064
2200
|
results?: Array<QueryValueResponseResult>;
|
|
@@ -2077,6 +2213,8 @@ export declare namespace metrics_service {
|
|
|
2077
2213
|
projectId?: string;
|
|
2078
2214
|
name?: string;
|
|
2079
2215
|
version?: number;
|
|
2216
|
+
labelLimit?: string;
|
|
2217
|
+
labelSearchQuery?: string;
|
|
2080
2218
|
};
|
|
2081
2219
|
url: '/api/v1/metrics';
|
|
2082
2220
|
};
|
|
@@ -2132,6 +2270,53 @@ export declare namespace metrics_service {
|
|
|
2132
2270
|
};
|
|
2133
2271
|
type QueryRangeResponse = QueryRangeResponses[keyof QueryRangeResponses];
|
|
2134
2272
|
}
|
|
2273
|
+
export declare namespace move_service {
|
|
2274
|
+
type GetSuiCallTraceResponse = {
|
|
2275
|
+
result?: Array<SuiCallTrace>;
|
|
2276
|
+
};
|
|
2277
|
+
type SuiCallTrace = {
|
|
2278
|
+
from?: string;
|
|
2279
|
+
to?: string;
|
|
2280
|
+
contractName?: string;
|
|
2281
|
+
functionName?: string;
|
|
2282
|
+
inputs?: Array<unknown>;
|
|
2283
|
+
returnValue?: Array<unknown>;
|
|
2284
|
+
typeArgs?: Array<string>;
|
|
2285
|
+
calls?: Array<SuiCallTrace>;
|
|
2286
|
+
location?: unknown;
|
|
2287
|
+
pc?: number;
|
|
2288
|
+
gasUsed?: string;
|
|
2289
|
+
error?: SuiCallTraceError;
|
|
2290
|
+
};
|
|
2291
|
+
type SuiCallTraceError = {
|
|
2292
|
+
majorStatus?: string;
|
|
2293
|
+
subStatus?: string;
|
|
2294
|
+
message?: string;
|
|
2295
|
+
location?: SuiCallTraceErrorModuleId;
|
|
2296
|
+
functionName?: string;
|
|
2297
|
+
codeOffset?: number;
|
|
2298
|
+
};
|
|
2299
|
+
type SuiCallTraceErrorModuleId = {
|
|
2300
|
+
address?: string;
|
|
2301
|
+
name?: string;
|
|
2302
|
+
};
|
|
2303
|
+
type GetSuiCallTraceData = {
|
|
2304
|
+
body?: never;
|
|
2305
|
+
path?: never;
|
|
2306
|
+
query?: {
|
|
2307
|
+
networkId?: string;
|
|
2308
|
+
txDigest?: string;
|
|
2309
|
+
};
|
|
2310
|
+
url: '/api/v1/move/sui_call_trace';
|
|
2311
|
+
};
|
|
2312
|
+
type GetSuiCallTraceResponses = {
|
|
2313
|
+
/**
|
|
2314
|
+
* A successful response.
|
|
2315
|
+
*/
|
|
2316
|
+
200: move_service.GetSuiCallTraceResponse;
|
|
2317
|
+
};
|
|
2318
|
+
type GetSuiCallTraceResponse2 = GetSuiCallTraceResponses[keyof GetSuiCallTraceResponses];
|
|
2319
|
+
}
|
|
2135
2320
|
export declare namespace price_service {
|
|
2136
2321
|
type AddCoinByGeckoRequest = {
|
|
2137
2322
|
coingeckoId?: string;
|
|
@@ -2337,9 +2522,6 @@ export declare namespace processor_service {
|
|
|
2337
2522
|
type GetProcessorResponse = {
|
|
2338
2523
|
processor?: Processor;
|
|
2339
2524
|
};
|
|
2340
|
-
type GetProcessorSourceFilesResponse = {
|
|
2341
|
-
sourceFiles?: Array<ProcessorSourceFile>;
|
|
2342
|
-
};
|
|
2343
2525
|
type GetProcessorStatusRequestV2VersionSelector = 'ACTIVE' | 'PENDING' | 'ALL';
|
|
2344
2526
|
type GetProcessorStatusResponse = {
|
|
2345
2527
|
processors?: Array<GetProcessorStatusResponseProcessorEx>;
|
|
@@ -2363,7 +2545,11 @@ export declare namespace processor_service {
|
|
|
2363
2545
|
referenceProjectId?: string;
|
|
2364
2546
|
warnings?: Array<string>;
|
|
2365
2547
|
pause?: boolean;
|
|
2548
|
+
pauseAt?: string;
|
|
2549
|
+
pauseReason?: string;
|
|
2366
2550
|
networkOverrides?: Array<NetworkOverride>;
|
|
2551
|
+
driverVersion?: string;
|
|
2552
|
+
numWorkers?: string;
|
|
2367
2553
|
};
|
|
2368
2554
|
type GetProcessorStatusResponseProcessorStatus = {
|
|
2369
2555
|
state?: GetProcessorStatusResponseProcessorStatusState;
|
|
@@ -2431,12 +2617,14 @@ export declare namespace processor_service {
|
|
|
2431
2617
|
eventlogMigrateStatus?: number;
|
|
2432
2618
|
eventlogVersion?: number;
|
|
2433
2619
|
pause?: boolean;
|
|
2620
|
+
pauseAt?: string;
|
|
2621
|
+
pauseReason?: string;
|
|
2434
2622
|
entitySchemaVersion?: number;
|
|
2623
|
+
driverVersion?: number;
|
|
2624
|
+
numWorkers?: number;
|
|
2435
2625
|
isBinary?: boolean;
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
path?: string;
|
|
2439
|
-
content?: string;
|
|
2626
|
+
chainId?: string;
|
|
2627
|
+
requiredChains?: Array<string>;
|
|
2440
2628
|
};
|
|
2441
2629
|
type ProcessorVersionState = 'UNKNOWN' | 'PENDING' | 'ACTIVE' | 'OBSOLETE';
|
|
2442
2630
|
type UpdateChainProcessorStatusResponse = {
|
|
@@ -2460,27 +2648,6 @@ export declare namespace processor_service {
|
|
|
2460
2648
|
};
|
|
2461
2649
|
};
|
|
2462
2650
|
type ActivatePendingVersionResponse = ActivatePendingVersionResponses[keyof ActivatePendingVersionResponses];
|
|
2463
|
-
type GetProcessorSourceFilesData = {
|
|
2464
|
-
body?: never;
|
|
2465
|
-
path: {
|
|
2466
|
-
owner: string;
|
|
2467
|
-
slug: string;
|
|
2468
|
-
};
|
|
2469
|
-
query?: {
|
|
2470
|
-
/**
|
|
2471
|
-
* Optional version to fetch. If omitted, use latest active version.
|
|
2472
|
-
*/
|
|
2473
|
-
version?: number;
|
|
2474
|
-
};
|
|
2475
|
-
url: '/api/v1/processors/{owner}/{slug}/source_files';
|
|
2476
|
-
};
|
|
2477
|
-
type GetProcessorSourceFilesResponses = {
|
|
2478
|
-
/**
|
|
2479
|
-
* A successful response.
|
|
2480
|
-
*/
|
|
2481
|
-
200: processor_service.GetProcessorSourceFilesResponse;
|
|
2482
|
-
};
|
|
2483
|
-
type GetProcessorSourceFilesResponse2 = GetProcessorSourceFilesResponses[keyof GetProcessorSourceFilesResponses];
|
|
2484
2651
|
type GetProcessorStatusV2Data = {
|
|
2485
2652
|
body?: never;
|
|
2486
2653
|
path: {
|
|
@@ -3103,6 +3270,7 @@ export declare namespace web_service {
|
|
|
3103
3270
|
sqlQuery?: string;
|
|
3104
3271
|
sqlQueryId?: string;
|
|
3105
3272
|
sqlExecuteEngine?: analytic_service.ExecuteEngine;
|
|
3273
|
+
enableExperimentalFeatures?: boolean;
|
|
3106
3274
|
};
|
|
3107
3275
|
type ChartDataSourceType = 'METRICS' | 'NOTES' | 'ANALYTICS' | 'INSIGHTS' | 'EVENTS' | 'RETENTION' | 'SQL';
|
|
3108
3276
|
type ChartConfig = {
|
|
@@ -3368,15 +3536,6 @@ export declare namespace web_service {
|
|
|
3368
3536
|
dashboards?: Array<Dashboard>;
|
|
3369
3537
|
permissions?: Array<common.Permission>;
|
|
3370
3538
|
};
|
|
3371
|
-
type GetProjectListResponse = {
|
|
3372
|
-
projects?: Array<common.Project>;
|
|
3373
|
-
sharedProjects?: Array<common.Project>;
|
|
3374
|
-
orgProjects?: Array<common.Project>;
|
|
3375
|
-
};
|
|
3376
|
-
type GetProjectResponse = {
|
|
3377
|
-
project?: common.Project;
|
|
3378
|
-
permissions?: Array<common.Permission>;
|
|
3379
|
-
};
|
|
3380
3539
|
type ImportDashboardRequest = {
|
|
3381
3540
|
/**
|
|
3382
3541
|
* The id of the target dashboard to import into.
|
|
@@ -3396,8 +3555,8 @@ export declare namespace web_service {
|
|
|
3396
3555
|
type ImportDashboardResponse = {
|
|
3397
3556
|
dashboard?: Dashboard;
|
|
3398
3557
|
};
|
|
3399
|
-
type
|
|
3400
|
-
|
|
3558
|
+
type LinkAccountSession = {
|
|
3559
|
+
sessionId?: string;
|
|
3401
3560
|
};
|
|
3402
3561
|
type Note = {
|
|
3403
3562
|
content?: string;
|
|
@@ -3418,19 +3577,10 @@ export declare namespace web_service {
|
|
|
3418
3577
|
creator?: common.UserInfo;
|
|
3419
3578
|
updater?: common.UserInfo;
|
|
3420
3579
|
};
|
|
3421
|
-
type ProjectOwnerAndSlug = {
|
|
3422
|
-
ownerName?: string;
|
|
3423
|
-
slug?: string;
|
|
3424
|
-
};
|
|
3425
3580
|
type SharingConfig = {
|
|
3426
3581
|
isReadonly?: boolean;
|
|
3427
3582
|
hideModifiers?: boolean;
|
|
3428
3583
|
};
|
|
3429
|
-
type WebServiceImportProjectBody = {
|
|
3430
|
-
name?: string;
|
|
3431
|
-
importProject?: ProjectOwnerAndSlug;
|
|
3432
|
-
importProjects?: Array<ProjectOwnerAndSlug>;
|
|
3433
|
-
};
|
|
3434
3584
|
type ListDashboardsData = {
|
|
3435
3585
|
body?: never;
|
|
3436
3586
|
path?: never;
|
|
@@ -3569,118 +3719,6 @@ export declare namespace web_service {
|
|
|
3569
3719
|
200: ExportDashboardResponse;
|
|
3570
3720
|
};
|
|
3571
3721
|
type ExportDashboardResponse2 = ExportDashboardResponses[keyof ExportDashboardResponses];
|
|
3572
|
-
type GetProjectData = {
|
|
3573
|
-
body?: never;
|
|
3574
|
-
path: {
|
|
3575
|
-
/**
|
|
3576
|
-
* username or organization name
|
|
3577
|
-
*/
|
|
3578
|
-
owner: string;
|
|
3579
|
-
/**
|
|
3580
|
-
* project slug
|
|
3581
|
-
*/
|
|
3582
|
-
slug: string;
|
|
3583
|
-
};
|
|
3584
|
-
query?: never;
|
|
3585
|
-
url: '/api/v1/project/{owner}/{slug}';
|
|
3586
|
-
};
|
|
3587
|
-
type GetProjectResponses = {
|
|
3588
|
-
/**
|
|
3589
|
-
* A successful response.
|
|
3590
|
-
*/
|
|
3591
|
-
200: GetProjectResponse;
|
|
3592
|
-
};
|
|
3593
|
-
type GetProjectResponse2 = GetProjectResponses[keyof GetProjectResponses];
|
|
3594
|
-
type GetImportedProjectData = {
|
|
3595
|
-
body?: never;
|
|
3596
|
-
path: {
|
|
3597
|
-
/**
|
|
3598
|
-
* username or organization name
|
|
3599
|
-
*/
|
|
3600
|
-
owner: string;
|
|
3601
|
-
/**
|
|
3602
|
-
* project slug
|
|
3603
|
-
*/
|
|
3604
|
-
slug: string;
|
|
3605
|
-
};
|
|
3606
|
-
query?: never;
|
|
3607
|
-
url: '/api/v1/project/{owner}/{slug}/importprojects';
|
|
3608
|
-
};
|
|
3609
|
-
type GetImportedProjectResponses = {
|
|
3610
|
-
/**
|
|
3611
|
-
* A successful response.
|
|
3612
|
-
*/
|
|
3613
|
-
200: ImportProjectResponse;
|
|
3614
|
-
};
|
|
3615
|
-
type GetImportedProjectResponse = GetImportedProjectResponses[keyof GetImportedProjectResponses];
|
|
3616
|
-
type ImportProjectData = {
|
|
3617
|
-
body: WebServiceImportProjectBody;
|
|
3618
|
-
path: {
|
|
3619
|
-
/**
|
|
3620
|
-
* username or organization name
|
|
3621
|
-
*/
|
|
3622
|
-
owner: string;
|
|
3623
|
-
/**
|
|
3624
|
-
* project slug
|
|
3625
|
-
*/
|
|
3626
|
-
slug: string;
|
|
3627
|
-
};
|
|
3628
|
-
query?: never;
|
|
3629
|
-
url: '/api/v1/project/{owner}/{slug}/importprojects';
|
|
3630
|
-
};
|
|
3631
|
-
type ImportProjectResponses = {
|
|
3632
|
-
/**
|
|
3633
|
-
* A successful response.
|
|
3634
|
-
*/
|
|
3635
|
-
200: ImportProjectResponse;
|
|
3636
|
-
};
|
|
3637
|
-
type ImportProjectResponse2 = ImportProjectResponses[keyof ImportProjectResponses];
|
|
3638
|
-
type UnImportProjectData = {
|
|
3639
|
-
body?: never;
|
|
3640
|
-
path: {
|
|
3641
|
-
/**
|
|
3642
|
-
* username or organization name
|
|
3643
|
-
*/
|
|
3644
|
-
owner: string;
|
|
3645
|
-
/**
|
|
3646
|
-
* project slug
|
|
3647
|
-
*/
|
|
3648
|
-
slug: string;
|
|
3649
|
-
/**
|
|
3650
|
-
* username or organization name of the imported project
|
|
3651
|
-
*/
|
|
3652
|
-
unimportOwner: string;
|
|
3653
|
-
/**
|
|
3654
|
-
* slug of the imported project
|
|
3655
|
-
*/
|
|
3656
|
-
unimportSlug: string;
|
|
3657
|
-
};
|
|
3658
|
-
query?: never;
|
|
3659
|
-
url: '/api/v1/project/{owner}/{slug}/unimportprojects/{unimportOwner}/{unimportSlug}';
|
|
3660
|
-
};
|
|
3661
|
-
type UnImportProjectResponses = {
|
|
3662
|
-
/**
|
|
3663
|
-
* A successful response.
|
|
3664
|
-
*/
|
|
3665
|
-
200: ImportProjectResponse;
|
|
3666
|
-
};
|
|
3667
|
-
type UnImportProjectResponse = UnImportProjectResponses[keyof UnImportProjectResponses];
|
|
3668
|
-
type GetProjectListData = {
|
|
3669
|
-
body?: never;
|
|
3670
|
-
path?: never;
|
|
3671
|
-
query?: {
|
|
3672
|
-
userId?: string;
|
|
3673
|
-
organizationId?: string;
|
|
3674
|
-
};
|
|
3675
|
-
url: '/api/v1/projects';
|
|
3676
|
-
};
|
|
3677
|
-
type GetProjectListResponses = {
|
|
3678
|
-
/**
|
|
3679
|
-
* A successful response.
|
|
3680
|
-
*/
|
|
3681
|
-
200: GetProjectListResponse;
|
|
3682
|
-
};
|
|
3683
|
-
type GetProjectListResponse2 = GetProjectListResponses[keyof GetProjectListResponses];
|
|
3684
3722
|
type ListDashboards2Data = {
|
|
3685
3723
|
body?: never;
|
|
3686
3724
|
path: {
|
|
@@ -3743,6 +3781,19 @@ export declare namespace web_service {
|
|
|
3743
3781
|
200: GetDashboardResponse;
|
|
3744
3782
|
};
|
|
3745
3783
|
type GetDashboard2Response = GetDashboard2Responses[keyof GetDashboard2Responses];
|
|
3784
|
+
type CreateLinkSessionData = {
|
|
3785
|
+
body?: never;
|
|
3786
|
+
path?: never;
|
|
3787
|
+
query?: never;
|
|
3788
|
+
url: '/api/v1/users/link';
|
|
3789
|
+
};
|
|
3790
|
+
type CreateLinkSessionResponses = {
|
|
3791
|
+
/**
|
|
3792
|
+
* A successful response.
|
|
3793
|
+
*/
|
|
3794
|
+
200: LinkAccountSession;
|
|
3795
|
+
};
|
|
3796
|
+
type CreateLinkSessionResponse = CreateLinkSessionResponses[keyof CreateLinkSessionResponses];
|
|
3746
3797
|
}
|
|
3747
3798
|
export declare namespace solidit_service {
|
|
3748
3799
|
type DeleteForkData = {
|
|
@@ -3766,5 +3817,5 @@ export declare namespace solidit_service {
|
|
|
3766
3817
|
type DeleteForkResponse = DeleteForkResponses[keyof DeleteForkResponses];
|
|
3767
3818
|
}
|
|
3768
3819
|
export type ClientOptions = {
|
|
3769
|
-
baseUrl: 'https://api.sentio.xyz
|
|
3820
|
+
baseUrl: 'https://api.sentio.xyz' | (string & {});
|
|
3770
3821
|
};
|
package/package.json
CHANGED
package/src/client.gen.ts
CHANGED
|
@@ -14,5 +14,5 @@ import { type Config, type ClientOptions as DefaultClientOptions, createClient,
|
|
|
14
14
|
export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
|
|
15
15
|
|
|
16
16
|
export const client = createClient(createConfig<ClientOptions>({
|
|
17
|
-
baseUrl: 'https://api.sentio.xyz
|
|
17
|
+
baseUrl: 'https://api.sentio.xyz'
|
|
18
18
|
}));
|