@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.
@@ -1,3 +1,163 @@
1
+ export declare namespace ai_service {
2
+ type AiServicePostSessionMessageBody = {
3
+ message?: Message;
4
+ };
5
+ type AutoConfig = {
6
+ executeQuery?: boolean;
7
+ };
8
+ /**
9
+ * - CHART_TYPE_UNSPECIFIED: Default unspecified type
10
+ * - CHART_TYPE_TABLE: Tabular data visualization
11
+ * - CHART_TYPE_LINE: Line chart
12
+ * - CHART_TYPE_BAR: Bar chart
13
+ * - CHART_TYPE_PIE: Pie chart
14
+ */
15
+ type ChartType = 'CHART_TYPE_UNSPECIFIED' | 'CHART_TYPE_TABLE' | 'CHART_TYPE_LINE' | 'CHART_TYPE_BAR' | 'CHART_TYPE_PIE';
16
+ /**
17
+ * ChatSession represents an interactive conversation session with the AI. Messages in the session are ordered and accessed via cursor positions.
18
+ */
19
+ type ChatSession = {
20
+ messages?: Array<Message>;
21
+ context?: Context;
22
+ streaming?: boolean;
23
+ preserveSession?: boolean;
24
+ };
25
+ type Context = {
26
+ projectOwner?: string;
27
+ projectSlug?: string;
28
+ version?: number;
29
+ scenario?: ContextScenario;
30
+ sqlConfig?: SqlConfig;
31
+ insightConfig?: InsightConfig;
32
+ autoConfig?: AutoConfig;
33
+ };
34
+ type ContextScenario = 'SCENARIO_UNSPECIFIED' | 'SCENARIO_SQL' | 'SCENARIO_INSIGHT' | 'SCENARIO_AUTO';
35
+ type CreateChatSessionResponse = {
36
+ sessionId?: string;
37
+ currentCursorPosition?: number;
38
+ };
39
+ type ErrorContent = {
40
+ code?: string;
41
+ message?: string;
42
+ };
43
+ type InsightConfig = {
44
+ executeQuery?: boolean;
45
+ };
46
+ type InsightQueryContent = {
47
+ explanation?: string;
48
+ chartType?: ChartType;
49
+ queries?: Array<common.Query>;
50
+ formulas?: Array<common.Formula>;
51
+ samplesLimit?: number;
52
+ timeRange?: common.TimeRangeLite;
53
+ results?: Array<InsightQueryResult>;
54
+ title?: string;
55
+ };
56
+ type InsightQueryResult = {
57
+ id?: string;
58
+ alias?: string;
59
+ matrix?: common.Matrix;
60
+ error?: string;
61
+ };
62
+ /**
63
+ * Message represents a single message in an AI conversation with either text or structured content. Messages are generated as part of a 'run' (identified by run_id), and the is_final flag indicates when all messages for a run have been generated.
64
+ */
65
+ type Message = {
66
+ role?: MessageRole;
67
+ text?: string;
68
+ structured?: StructuredContent;
69
+ isFinal?: boolean;
70
+ runId?: string;
71
+ resources?: Array<Resource>;
72
+ };
73
+ type MessageRole = 'ROLE_UNSPECIFIED' | 'ROLE_USER' | 'ROLE_ASSISTANT' | 'ROLE_SYSTEM' | 'AI_ROLE_TOOL';
74
+ type PostSessionMessageResponse = {
75
+ currentCursorPosition?: number;
76
+ };
77
+ type Resource = {
78
+ uri?: string;
79
+ name?: string;
80
+ description?: string;
81
+ mimeType?: string;
82
+ text?: string;
83
+ blob?: string;
84
+ };
85
+ type SqlConfig = {
86
+ executeQuery?: boolean;
87
+ };
88
+ type SqlContent = {
89
+ query?: string;
90
+ explanation?: string;
91
+ chartType?: ChartType;
92
+ title?: string;
93
+ result?: common.TabularData;
94
+ error?: string;
95
+ };
96
+ type StructuredContent = {
97
+ type?: StructuredContentContentType;
98
+ sql?: SqlContent;
99
+ insightQuery?: InsightQueryContent;
100
+ error?: ErrorContent;
101
+ };
102
+ type StructuredContentContentType = 'CONTENT_TYPE_UNSPECIFIED' | 'CONTENT_TYPE_SQL' | 'CONTENT_TYPE_INSIGHT_QUERY' | 'CONTENT_TYPE_ERROR';
103
+ type CreateChatSessionData = {
104
+ /**
105
+ * ChatSession represents an interactive conversation session with the AI. Messages in the session are ordered and accessed via cursor positions.
106
+ */
107
+ body: ai_service.ChatSession;
108
+ path?: never;
109
+ query?: never;
110
+ url: '/api/v1/ai/chat';
111
+ };
112
+ type CreateChatSessionResponses = {
113
+ /**
114
+ * A successful response.
115
+ */
116
+ 200: ai_service.CreateChatSessionResponse;
117
+ };
118
+ type CreateChatSessionResponse2 = CreateChatSessionResponses[keyof CreateChatSessionResponses];
119
+ type QueryChatSessionData = {
120
+ body?: never;
121
+ path: {
122
+ /**
123
+ * Unique identifier for the session
124
+ */
125
+ sessionId: string;
126
+ };
127
+ query?: {
128
+ /**
129
+ * Start cursor position - only messages after this position will be returned
130
+ */
131
+ cursorPosition?: number;
132
+ };
133
+ url: '/api/v1/ai/chat/{sessionId}';
134
+ };
135
+ type QueryChatSessionResponses = {
136
+ /**
137
+ * A successful response.
138
+ */
139
+ 200: ai_service.ChatSession;
140
+ };
141
+ type QueryChatSessionResponse = QueryChatSessionResponses[keyof QueryChatSessionResponses];
142
+ type PostSessionMessageData = {
143
+ body: ai_service.AiServicePostSessionMessageBody;
144
+ path: {
145
+ /**
146
+ * Unique identifier for the session
147
+ */
148
+ sessionId: string;
149
+ };
150
+ query?: never;
151
+ url: '/api/v1/ai/chat/{sessionId}/message';
152
+ };
153
+ type PostSessionMessageResponses = {
154
+ /**
155
+ * A successful response.
156
+ */
157
+ 200: ai_service.PostSessionMessageResponse;
158
+ };
159
+ type PostSessionMessageResponse2 = PostSessionMessageResponses[keyof PostSessionMessageResponses];
160
+ }
1
161
  export declare namespace alert_service {
2
162
  type Alert = {
3
163
  id?: string;
@@ -20,6 +180,11 @@ export declare namespace alert_service {
20
180
  time?: string;
21
181
  state?: AlertRuleState;
22
182
  queryTimeRange?: common.TimeRangeLite;
183
+ sqlCondition?: SqlCondition;
184
+ sqlSamples?: Array<{
185
+ [key: string]: unknown;
186
+ }>;
187
+ sqlMatchCount?: number;
23
188
  };
24
189
  type AlertRule = {
25
190
  id?: string;
@@ -40,8 +205,10 @@ export declare namespace alert_service {
40
205
  lastQueryTime?: string;
41
206
  mute?: boolean;
42
207
  interval?: common.Duration;
208
+ error?: string;
209
+ sqlCondition?: SqlCondition;
43
210
  };
44
- type AlertRuleState = 'NO_DATA' | 'FIRING' | 'NORMAL';
211
+ type AlertRuleState = 'NO_DATA' | 'FIRING' | 'NORMAL' | 'ERROR';
45
212
  type AlertServiceSaveAlertRuleBody = {
46
213
  rule?: {
47
214
  projectId?: string;
@@ -61,9 +228,11 @@ export declare namespace alert_service {
61
228
  lastQueryTime?: string;
62
229
  mute?: boolean;
63
230
  interval?: common.Duration;
231
+ error?: string;
232
+ sqlCondition?: SqlCondition;
64
233
  };
65
234
  };
66
- type AlertType = 'METRIC' | 'LOG';
235
+ type AlertType = 'METRIC' | 'LOG' | 'SQL';
67
236
  type Condition = {
68
237
  queries?: Array<common.Query>;
69
238
  formula?: common.Formula;
@@ -72,6 +241,7 @@ export declare namespace alert_service {
72
241
  eventsQueries?: Array<common.SegmentationQuery>;
73
242
  priceQueries?: Array<common.PriceSegmentationQuery>;
74
243
  insightQueries?: Array<ConditionInsightQuery>;
244
+ threshold2?: number;
75
245
  };
76
246
  type ConditionInsightQuery = {
77
247
  metricsQuery?: common.Query;
@@ -91,6 +261,7 @@ export declare namespace alert_service {
91
261
  query?: string;
92
262
  comparisonOp?: string;
93
263
  threshold?: number;
264
+ threshold2?: number;
94
265
  };
95
266
  type Mute = {
96
267
  id?: string;
@@ -101,6 +272,23 @@ export declare namespace alert_service {
101
272
  endTime?: string;
102
273
  updateTime?: string;
103
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
+ };
104
292
  type Sample = {
105
293
  metric?: {
106
294
  [key: string]: string;
@@ -204,6 +392,7 @@ export declare namespace analytic_service {
204
392
  */
205
393
  cursor?: string;
206
394
  cachePolicy?: common.CachePolicy;
395
+ engine?: ExecuteEngine;
207
396
  };
208
397
  type AnalyticServiceExecuteSqlBody = {
209
398
  projectId?: string;
@@ -214,6 +403,7 @@ export declare namespace analytic_service {
214
403
  */
215
404
  cursor?: string;
216
405
  cachePolicy?: common.CachePolicy;
406
+ engine?: ExecuteEngine;
217
407
  };
218
408
  type AnalyticServiceSaveRefreshableMaterializedViewBody = {
219
409
  projectId?: string;
@@ -233,6 +423,7 @@ export declare namespace analytic_service {
233
423
  queueLength?: number;
234
424
  computeStats?: common.ComputeStats;
235
425
  };
426
+ type ExecuteEngine = 'ULTRA' | 'SMALL' | 'MEDIUM' | 'LARGE';
236
427
  type ExecutionInfo = {
237
428
  queryId?: string;
238
429
  executionId?: string;
@@ -263,6 +454,15 @@ export declare namespace analytic_service {
263
454
  computeStats?: common.ComputeStats;
264
455
  exception?: string;
265
456
  };
457
+ type GetSharingSqlResponse = {
458
+ query?: GetSharingSqlResponseQuery;
459
+ project?: common.Project;
460
+ };
461
+ type GetSharingSqlResponseQuery = {
462
+ sqlQuery?: SqlQuery;
463
+ createdAt?: string;
464
+ updatedAt?: string;
465
+ };
266
466
  type ListRefreshableMaterializedViewResponse = {
267
467
  total?: string;
268
468
  views?: Array<ListRefreshableMaterializedViewResponseRefreshableMaterializedView>;
@@ -271,6 +471,10 @@ export declare namespace analytic_service {
271
471
  name?: string;
272
472
  sql?: string;
273
473
  };
474
+ type ListTablesResponse = {
475
+ names?: Array<string>;
476
+ computeStats?: common.ComputeStats;
477
+ };
274
478
  type LogQueryRequestFilter = {
275
479
  field?: string;
276
480
  value?: string;
@@ -284,6 +488,7 @@ export declare namespace analytic_service {
284
488
  entries?: Array<common.EventLogEntry>;
285
489
  after?: Array<common.Any>;
286
490
  total?: string;
491
+ computeStats?: common.ComputeStats;
287
492
  };
288
493
  type QuerySqlExecutionDetailResponse = {
289
494
  computeStats?: common.ComputeStats;
@@ -302,6 +507,16 @@ export declare namespace analytic_service {
302
507
  computeStats?: common.ComputeStats;
303
508
  color?: string;
304
509
  };
510
+ type QueryTableResponse = {
511
+ table?: Table;
512
+ computeStats?: common.ComputeStats;
513
+ };
514
+ type QueryTablesResponse = {
515
+ tables?: {
516
+ [key: string]: Table;
517
+ };
518
+ computeStats?: common.ComputeStats;
519
+ };
305
520
  type SqlQuery = {
306
521
  sql?: string;
307
522
  size?: number;
@@ -322,6 +537,17 @@ export declare namespace analytic_service {
322
537
  type SaveSqlResponse = {
323
538
  queryId?: string;
324
539
  };
540
+ type SaveSharingSqlRequest = {
541
+ queryId?: string;
542
+ isPublic?: boolean;
543
+ };
544
+ type SaveSharingSqlResponse = {
545
+ sharingId?: string;
546
+ queryId?: string;
547
+ isPublic?: boolean;
548
+ createdAt?: string;
549
+ updatedAt?: string;
550
+ };
325
551
  type SearchServiceQueryLogBody = {
326
552
  projectId?: string;
327
553
  query?: string;
@@ -332,6 +558,8 @@ export declare namespace analytic_service {
332
558
  offset?: number;
333
559
  filters?: Array<LogQueryRequestFilter>;
334
560
  version?: number;
561
+ source?: string;
562
+ cachePolicy?: common.CachePolicy;
335
563
  };
336
564
  type SegmentationRequest = {
337
565
  projectOwner?: string;
@@ -341,18 +569,33 @@ export declare namespace analytic_service {
341
569
  timeRange?: common.TimeRangeLite;
342
570
  queries?: Array<common.SegmentationQuery>;
343
571
  formulas?: Array<common.Formula>;
344
- systemSqlQueries?: Array<common.SystemSqlQuery>;
345
572
  debug?: boolean;
346
573
  limit?: number;
347
574
  offset?: number;
348
575
  };
349
- 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';
350
577
  type SyncExecuteSqlResponse = {
351
578
  runtimeCost?: string;
352
579
  result?: common.TabularData;
353
580
  error?: string;
354
581
  computeStats?: common.ComputeStats;
355
582
  };
583
+ type Table = {
584
+ name?: string;
585
+ columns?: {
586
+ [key: string]: TableColumn;
587
+ };
588
+ tableType?: TableTableType;
589
+ relatedProjectId?: string;
590
+ };
591
+ type TableColumn = {
592
+ name?: string;
593
+ columnType?: TableColumnColumnType;
594
+ clickhouseDataType?: string;
595
+ isBuiltin?: boolean;
596
+ };
597
+ type TableColumnColumnType = 'STRING' | 'NUMBER' | 'BOOLEAN' | 'LIST' | 'TIME' | 'JSON' | 'TOKEN';
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';
356
599
  type ViewRefreshSettings = {
357
600
  refreshInterval?: string;
358
601
  strategy?: ViewRefreshSettingsRefreshStrategy;
@@ -361,6 +604,56 @@ export declare namespace analytic_service {
361
604
  orderBy?: string;
362
605
  };
363
606
  type ViewRefreshSettingsRefreshStrategy = 'EVERY' | 'AFTER';
607
+ type SaveSharingSqlData = {
608
+ body: analytic_service.SaveSharingSqlRequest;
609
+ path?: never;
610
+ query?: never;
611
+ url: '/api/v1/analytics/sql/sharing';
612
+ };
613
+ type SaveSharingSqlResponses = {
614
+ /**
615
+ * A successful response.
616
+ */
617
+ 200: analytic_service.SaveSharingSqlResponse;
618
+ };
619
+ type SaveSharingSqlResponse2 = SaveSharingSqlResponses[keyof SaveSharingSqlResponses];
620
+ type GetSharingSqlData = {
621
+ body?: never;
622
+ path: {
623
+ id: string;
624
+ };
625
+ query?: never;
626
+ url: '/api/v1/analytics/sql/sharing/{id}';
627
+ };
628
+ type GetSharingSqlResponses = {
629
+ /**
630
+ * A successful response.
631
+ */
632
+ 200: analytic_service.GetSharingSqlResponse;
633
+ };
634
+ type GetSharingSqlResponse2 = GetSharingSqlResponses[keyof GetSharingSqlResponses];
635
+ type QueryTables2Data = {
636
+ body?: never;
637
+ path?: never;
638
+ query?: {
639
+ projectOwner?: string;
640
+ projectSlug?: string;
641
+ projectId?: string;
642
+ version?: number;
643
+ includeChains?: boolean;
644
+ includeViews?: boolean;
645
+ includeExternals?: boolean;
646
+ includeDash?: boolean;
647
+ };
648
+ url: '/api/v1/analytics/sql/tables';
649
+ };
650
+ type QueryTables2Responses = {
651
+ /**
652
+ * A successful response.
653
+ */
654
+ 200: analytic_service.QueryTablesResponse;
655
+ };
656
+ type QueryTables2Response = QueryTables2Responses[keyof QueryTables2Responses];
364
657
  type CancelSqlQueryData = {
365
658
  body?: never;
366
659
  path: {
@@ -654,6 +947,29 @@ export declare namespace analytic_service {
654
947
  200: analytic_service.SaveSqlResponse;
655
948
  };
656
949
  type SaveSql2Response = SaveSql2Responses[keyof SaveSql2Responses];
950
+ type QueryTablesData = {
951
+ body?: never;
952
+ path: {
953
+ owner: string;
954
+ slug: string;
955
+ };
956
+ query?: {
957
+ projectId?: string;
958
+ version?: number;
959
+ includeChains?: boolean;
960
+ includeViews?: boolean;
961
+ includeExternals?: boolean;
962
+ includeDash?: boolean;
963
+ };
964
+ url: '/api/v1/analytics/{owner}/{slug}/sql/tables';
965
+ };
966
+ type QueryTablesResponses = {
967
+ /**
968
+ * A successful response.
969
+ */
970
+ 200: analytic_service.QueryTablesResponse;
971
+ };
972
+ type QueryTablesResponse2 = QueryTablesResponses[keyof QueryTablesResponses];
657
973
  type QueryLogData = {
658
974
  body: analytic_service.SearchServiceQueryLogBody;
659
975
  path: {
@@ -694,6 +1010,23 @@ export declare namespace analytic_service {
694
1010
  limit?: number;
695
1011
  offset?: number;
696
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;
697
1030
  };
698
1031
  url: '/api/v1/eventlogs/{owner}/{slug}/query';
699
1032
  };
@@ -704,6 +1037,82 @@ export declare namespace analytic_service {
704
1037
  200: analytic_service.LogQueryResponse;
705
1038
  };
706
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];
707
1116
  }
708
1117
  export declare namespace common {
709
1118
  type Aggregate = {
@@ -818,6 +1227,9 @@ export declare namespace common {
818
1227
  type CommunityProject = {
819
1228
  dashAlias?: string;
820
1229
  curated?: boolean;
1230
+ chain?: {
1231
+ [key: string]: StringList;
1232
+ };
821
1233
  };
822
1234
  type ComputeStats = {
823
1235
  computedAt?: string;
@@ -968,6 +1380,7 @@ export declare namespace common {
968
1380
  enableMaterializedView?: boolean;
969
1381
  defaultTimerange?: TimeRangeLite;
970
1382
  communityProject?: CommunityProject;
1383
+ sentioNetwork?: boolean;
971
1384
  };
972
1385
  type ProjectProjectMember = {
973
1386
  user?: UserInfo;
@@ -1138,11 +1551,7 @@ export declare namespace common {
1138
1551
  operator?: SelectorOperatorType;
1139
1552
  value?: Array<Any>;
1140
1553
  };
1141
- /**
1142
- * - GT: Numeric operators
1143
- * - CONTAINS: String operators
1144
- */
1145
- type SelectorOperatorType = 'EQ' | 'NEQ' | 'EXISTS' | 'NOT_EXISTS' | 'GT' | 'GTE' | 'LT' | 'LTE' | 'BETWEEN' | 'NOT_BETWEEN' | 'CONTAINS' | 'NOT_CONTAINS' | 'IN_COHORTS' | 'NOT_IN_COHORTS';
1554
+ type SelectorOperatorType = 'EQ' | 'NEQ' | 'EXISTS' | 'NOT_EXISTS' | 'GT' | 'GTE' | 'LT' | 'LTE' | 'BETWEEN' | 'NOT_BETWEEN' | 'CONTAINS' | 'NOT_CONTAINS' | 'IN' | 'NOT_IN' | 'IN_COHORTS' | 'NOT_IN_COHORTS';
1146
1555
  type SelectorExpr = {
1147
1556
  selector?: Selector;
1148
1557
  logicExpr?: SelectorExprLogicExpr;
@@ -1154,32 +1563,6 @@ export declare namespace common {
1154
1563
  type StringList = {
1155
1564
  values?: Array<string>;
1156
1565
  };
1157
- type SystemSqlQuery = {
1158
- id?: string;
1159
- alias?: string;
1160
- name?: string;
1161
- tableName?: string;
1162
- aggregation?: SystemSqlQueryAggregation;
1163
- selectorExpr?: SelectorExpr;
1164
- groupBy?: Array<string>;
1165
- disabled?: boolean;
1166
- };
1167
- type SystemSqlQueryAggregation = {
1168
- total?: SystemSqlQueryAggregationTotal;
1169
- countUnique?: SystemSqlQueryAggregationCountUnique;
1170
- aggregateProperties?: SystemSqlQueryAggregationAggregateProperties;
1171
- };
1172
- type SystemSqlQueryAggregationAggregateProperties = {
1173
- type?: SystemSqlQueryAggregationAggregatePropertiesAggregationType;
1174
- propertyName?: string;
1175
- };
1176
- type SystemSqlQueryAggregationAggregatePropertiesAggregationType = 'SUM' | 'AVG' | 'MEDIAN' | 'MIN' | 'MAX' | 'DISTINCT_COUNT';
1177
- type SystemSqlQueryAggregationCountUnique = {
1178
- duration?: Duration;
1179
- };
1180
- type SystemSqlQueryAggregationTotal = {
1181
- [key: string]: unknown;
1182
- };
1183
1566
  type TabularData = {
1184
1567
  columns?: Array<string>;
1185
1568
  columnTypes?: {
@@ -1241,6 +1624,9 @@ export declare namespace common {
1241
1624
  username?: string;
1242
1625
  accountStatus?: UserAccountStatus;
1243
1626
  tier?: Tier;
1627
+ isOrganization?: boolean;
1628
+ walletAddress?: string;
1629
+ identities?: Array<string>;
1244
1630
  };
1245
1631
  type UserAccountStatus = 'PENDING' | 'SET_USERNAME' | 'BANNED' | 'ACTIVE';
1246
1632
  /**
@@ -1254,21 +1640,6 @@ export declare namespace common {
1254
1640
  picture?: string;
1255
1641
  username?: string;
1256
1642
  };
1257
- type GetProjectByIdData = {
1258
- body?: never;
1259
- path: {
1260
- projectId: string;
1261
- };
1262
- query?: never;
1263
- url: '/api/v1/project/{projectId}';
1264
- };
1265
- type GetProjectByIdResponses = {
1266
- /**
1267
- * A successful response.
1268
- */
1269
- 200: common.ProjectInfo;
1270
- };
1271
- type GetProjectByIdResponse = GetProjectByIdResponses[keyof GetProjectByIdResponses];
1272
1643
  }
1273
1644
  export declare namespace evm {
1274
1645
  type AccessListItem = {
@@ -1311,11 +1682,152 @@ export declare namespace google {
1311
1682
  data?: string;
1312
1683
  extensions?: Array<ProtobufAny>;
1313
1684
  };
1685
+ /**
1686
+ * `Any` contains an arbitrary serialized protocol buffer message along with a
1687
+ * URL that describes the type of the serialized message.
1688
+ *
1689
+ * Protobuf library provides support to pack/unpack Any values in the form
1690
+ * of utility functions or additional generated methods of the Any type.
1691
+ *
1692
+ * Example 1: Pack and unpack a message in C++.
1693
+ *
1694
+ * Foo foo = ...;
1695
+ * Any any;
1696
+ * any.PackFrom(foo);
1697
+ * ...
1698
+ * if (any.UnpackTo(&foo)) {
1699
+ * ...
1700
+ * }
1701
+ *
1702
+ * Example 2: Pack and unpack a message in Java.
1703
+ *
1704
+ * Foo foo = ...;
1705
+ * Any any = Any.pack(foo);
1706
+ * ...
1707
+ * if (any.is(Foo.class)) {
1708
+ * foo = any.unpack(Foo.class);
1709
+ * }
1710
+ * // or ...
1711
+ * if (any.isSameTypeAs(Foo.getDefaultInstance())) {
1712
+ * foo = any.unpack(Foo.getDefaultInstance());
1713
+ * }
1714
+ *
1715
+ * Example 3: Pack and unpack a message in Python.
1716
+ *
1717
+ * foo = Foo(...)
1718
+ * any = Any()
1719
+ * any.Pack(foo)
1720
+ * ...
1721
+ * if any.Is(Foo.DESCRIPTOR):
1722
+ * any.Unpack(foo)
1723
+ * ...
1724
+ *
1725
+ * Example 4: Pack and unpack a message in Go
1726
+ *
1727
+ * foo := &pb.Foo{...}
1728
+ * any, err := anypb.New(foo)
1729
+ * if err != nil {
1730
+ * ...
1731
+ * }
1732
+ * ...
1733
+ * foo := &pb.Foo{}
1734
+ * if err := any.UnmarshalTo(foo); err != nil {
1735
+ * ...
1736
+ * }
1737
+ *
1738
+ * The pack methods provided by protobuf library will by default use
1739
+ * 'type.googleapis.com/full.type.name' as the type URL and the unpack
1740
+ * methods only use the fully qualified type name after the last '/'
1741
+ * in the type URL, for example "foo.bar.com/x/y.z" will yield type
1742
+ * name "y.z".
1743
+ *
1744
+ * JSON
1745
+ * ====
1746
+ * The JSON representation of an `Any` value uses the regular
1747
+ * representation of the deserialized, embedded message, with an
1748
+ * additional field `@type` which contains the type URL. Example:
1749
+ *
1750
+ * package google.profile;
1751
+ * message Person {
1752
+ * string first_name = 1;
1753
+ * string last_name = 2;
1754
+ * }
1755
+ *
1756
+ * {
1757
+ * "@type": "type.googleapis.com/google.profile.Person",
1758
+ * "firstName": <string>,
1759
+ * "lastName": <string>
1760
+ * }
1761
+ *
1762
+ * If the embedded message type is well-known and has a custom JSON
1763
+ * representation, that representation will be embedded adding a field
1764
+ * `value` which holds the custom JSON in addition to the `@type`
1765
+ * field. Example (for message [google.protobuf.Duration][]):
1766
+ *
1767
+ * {
1768
+ * "@type": "type.googleapis.com/google.protobuf.Duration",
1769
+ * "value": "1.212s"
1770
+ * }
1771
+ */
1314
1772
  type ProtobufAny = {
1773
+ /**
1774
+ * A URL/resource name that uniquely identifies the type of the serialized
1775
+ * protocol buffer message. This string must contain at least
1776
+ * one "/" character. The last segment of the URL's path must represent
1777
+ * the fully qualified name of the type (as in
1778
+ * `path/google.protobuf.Duration`). The name should be in a canonical form
1779
+ * (e.g., leading "." is not accepted).
1780
+ *
1781
+ * In practice, teams usually precompile into the binary all types that they
1782
+ * expect it to use in the context of Any. However, for URLs which use the
1783
+ * scheme `http`, `https`, or no scheme, one can optionally set up a type
1784
+ * server that maps type URLs to message definitions as follows:
1785
+ *
1786
+ * * If no scheme is provided, `https` is assumed.
1787
+ * * An HTTP GET on the URL must yield a [google.protobuf.Type][]
1788
+ * value in binary format, or produce an error.
1789
+ * * Applications are allowed to cache lookup results based on the
1790
+ * URL, or have them precompiled into a binary to avoid any
1791
+ * lookup. Therefore, binary compatibility needs to be preserved
1792
+ * on changes to types. (Use versioned type names to manage
1793
+ * breaking changes.)
1794
+ *
1795
+ * Note: this functionality is not currently available in the official
1796
+ * protobuf release, and it is not used for type URLs beginning with
1797
+ * type.googleapis.com. As of May 2023, there are no widely used type server
1798
+ * implementations and no plans to implement one.
1799
+ *
1800
+ * Schemes other than `http`, `https` (or the empty scheme) might be
1801
+ * used with implementation specific semantics.
1802
+ */
1315
1803
  '@type'?: string;
1316
1804
  [key: string]: unknown | string | undefined;
1317
1805
  };
1806
+ /**
1807
+ * `NullValue` is a singleton enumeration to represent the null value for the
1808
+ * `Value` type union.
1809
+ *
1810
+ * The JSON representation for `NullValue` is JSON `null`.
1811
+ *
1812
+ * - NULL_VALUE: Null value.
1813
+ */
1318
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];
1319
1831
  type GetCallTraceOnForkBundleData = {
1320
1832
  body?: never;
1321
1833
  path: {
@@ -1515,6 +2027,7 @@ export declare namespace insights_service {
1515
2027
  offset?: number;
1516
2028
  bypassCache?: boolean;
1517
2029
  cachePolicy?: common.CachePolicy;
2030
+ enableExperimentalFeatures?: boolean;
1518
2031
  };
1519
2032
  type ListCoinsResponse = {
1520
2033
  coins?: Array<common.CoinId>;
@@ -1608,6 +2121,7 @@ export declare namespace insights_service {
1608
2121
  export declare namespace metrics_service {
1609
2122
  type GetMetricsResponse = {
1610
2123
  metrics?: Array<MetricInfo>;
2124
+ computeStats?: common.ComputeStats;
1611
2125
  };
1612
2126
  type MetricInfo = {
1613
2127
  name?: string;
@@ -1623,6 +2137,7 @@ export declare namespace metrics_service {
1623
2137
  };
1624
2138
  type MetricInfoLabelValues = {
1625
2139
  values?: Array<string>;
2140
+ totalCount?: string;
1626
2141
  };
1627
2142
  type MetricMetadata = {
1628
2143
  type?: string;
@@ -1669,6 +2184,7 @@ export declare namespace metrics_service {
1669
2184
  version?: number;
1670
2185
  timezone?: string;
1671
2186
  samplesOffset?: number;
2187
+ enableExperimentalFeatures?: boolean;
1672
2188
  };
1673
2189
  type ObservabilityServiceQueryRangeBody = {
1674
2190
  queries?: Array<common.Query>;
@@ -1678,6 +2194,7 @@ export declare namespace metrics_service {
1678
2194
  projectId?: string;
1679
2195
  version?: number;
1680
2196
  samplesOffset?: number;
2197
+ enableExperimentalFeatures?: boolean;
1681
2198
  };
1682
2199
  type QueryValueResponse = {
1683
2200
  results?: Array<QueryValueResponseResult>;
@@ -1696,6 +2213,8 @@ export declare namespace metrics_service {
1696
2213
  projectId?: string;
1697
2214
  name?: string;
1698
2215
  version?: number;
2216
+ labelLimit?: string;
2217
+ labelSearchQuery?: string;
1699
2218
  };
1700
2219
  url: '/api/v1/metrics';
1701
2220
  };
@@ -1751,6 +2270,53 @@ export declare namespace metrics_service {
1751
2270
  };
1752
2271
  type QueryRangeResponse = QueryRangeResponses[keyof QueryRangeResponses];
1753
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
+ }
1754
2320
  export declare namespace price_service {
1755
2321
  type AddCoinByGeckoRequest = {
1756
2322
  coingeckoId?: string;
@@ -1767,6 +2333,7 @@ export declare namespace price_service {
1767
2333
  type BatchGetPricesRequest = {
1768
2334
  timestamps?: Array<string>;
1769
2335
  coinIds?: Array<CoinId2>;
2336
+ experimentalFlag?: ExperimentalFlag;
1770
2337
  };
1771
2338
  type BatchGetPricesResponse = {
1772
2339
  prices?: Array<BatchGetPricesResponseCoinPrice>;
@@ -1803,6 +2370,9 @@ export declare namespace price_service {
1803
2370
  address?: string;
1804
2371
  chain?: string;
1805
2372
  };
2373
+ type ExperimentalFlag = {
2374
+ enablePythSource?: boolean;
2375
+ };
1806
2376
  /**
1807
2377
  * GetPriceResponse is the response for GetPrice.
1808
2378
  */
@@ -1815,6 +2385,7 @@ export declare namespace price_service {
1815
2385
  * The actual timestamp of the price returned.
1816
2386
  */
1817
2387
  timestamp?: string;
2388
+ source?: string;
1818
2389
  };
1819
2390
  type ListCoinsResponse2 = {
1820
2391
  coins?: Array<CoinId2>;
@@ -1836,6 +2407,7 @@ export declare namespace price_service {
1836
2407
  'coinId.address.address'?: string;
1837
2408
  'coinId.address.chain'?: string;
1838
2409
  source?: string;
2410
+ 'experimentalFlag.enablePythSource'?: boolean;
1839
2411
  };
1840
2412
  url: '/api/v1/prices';
1841
2413
  };
@@ -1973,7 +2545,11 @@ export declare namespace processor_service {
1973
2545
  referenceProjectId?: string;
1974
2546
  warnings?: Array<string>;
1975
2547
  pause?: boolean;
2548
+ pauseAt?: string;
2549
+ pauseReason?: string;
1976
2550
  networkOverrides?: Array<NetworkOverride>;
2551
+ driverVersion?: string;
2552
+ numWorkers?: string;
1977
2553
  };
1978
2554
  type GetProcessorStatusResponseProcessorStatus = {
1979
2555
  state?: GetProcessorStatusResponseProcessorStatusState;
@@ -2041,12 +2617,37 @@ export declare namespace processor_service {
2041
2617
  eventlogMigrateStatus?: number;
2042
2618
  eventlogVersion?: number;
2043
2619
  pause?: boolean;
2620
+ pauseAt?: string;
2621
+ pauseReason?: string;
2044
2622
  entitySchemaVersion?: number;
2623
+ driverVersion?: number;
2624
+ numWorkers?: number;
2625
+ isBinary?: boolean;
2626
+ chainId?: string;
2627
+ requiredChains?: Array<string>;
2045
2628
  };
2046
2629
  type ProcessorVersionState = 'UNKNOWN' | 'PENDING' | 'ACTIVE' | 'OBSOLETE';
2047
2630
  type UpdateChainProcessorStatusResponse = {
2048
2631
  [key: string]: unknown;
2049
2632
  };
2633
+ type ActivatePendingVersionData = {
2634
+ body?: never;
2635
+ path: {
2636
+ owner: string;
2637
+ slug: string;
2638
+ };
2639
+ query?: never;
2640
+ url: '/api/v1/processors/{owner}/{slug}/activate_pending';
2641
+ };
2642
+ type ActivatePendingVersionResponses = {
2643
+ /**
2644
+ * A successful response.
2645
+ */
2646
+ 200: {
2647
+ [key: string]: unknown;
2648
+ };
2649
+ };
2650
+ type ActivatePendingVersionResponse = ActivatePendingVersionResponses[keyof ActivatePendingVersionResponses];
2050
2651
  type GetProcessorStatusV2Data = {
2051
2652
  body?: never;
2052
2653
  path: {
@@ -2152,12 +2753,6 @@ export declare namespace solidity_service {
2152
2753
  error?: string;
2153
2754
  reason?: string;
2154
2755
  };
2155
- type FetchAndCompileInternalResponse = {
2156
- compiledAddresses?: Array<string>;
2157
- failures?: {
2158
- [key: string]: Failure;
2159
- };
2160
- };
2161
2756
  type Fork = {
2162
2757
  id?: string;
2163
2758
  type?: ForkType;
@@ -2358,7 +2953,7 @@ export declare namespace solidity_service {
2358
2953
  type SolidityApiServiceSimulateTransactionOnForkBody = {
2359
2954
  simulation: Simulation;
2360
2955
  };
2361
- type SourceFetcherType = 'ETHERSCAN' | 'BLOCKSCOUT' | 'OKLINK';
2956
+ type SourceFetcherType = 'ETHERSCAN' | 'BLOCKSCOUT' | 'OKLINK' | 'ETHERSCAN_V2';
2362
2957
  type SourceInfo = {
2363
2958
  contractName?: string;
2364
2959
  options?: CompilerOptions;
@@ -2662,7 +3257,7 @@ export declare namespace solidity_service {
2662
3257
  }
2663
3258
  export declare namespace web_service {
2664
3259
  type Chart = {
2665
- type?: ChartChartType;
3260
+ type?: ChartType2;
2666
3261
  queries?: Array<common.Query>;
2667
3262
  formulas?: Array<common.Formula>;
2668
3263
  config?: ChartConfig;
@@ -2674,8 +3269,9 @@ export declare namespace web_service {
2674
3269
  retentionQuery?: common.RetentionQuery;
2675
3270
  sqlQuery?: string;
2676
3271
  sqlQueryId?: string;
3272
+ sqlExecuteEngine?: analytic_service.ExecuteEngine;
3273
+ enableExperimentalFeatures?: boolean;
2677
3274
  };
2678
- type ChartChartType = 'LINE' | 'AREA' | 'BAR' | 'BAR_GAUGE' | 'TABLE' | 'QUERY_VALUE' | 'PIE' | 'NOTE' | 'SCATTER';
2679
3275
  type ChartDataSourceType = 'METRICS' | 'NOTES' | 'ANALYTICS' | 'INSIGHTS' | 'EVENTS' | 'RETENTION' | 'SQL';
2680
3276
  type ChartConfig = {
2681
3277
  yAxis?: ChartConfigYAxisConfig;
@@ -2690,6 +3286,8 @@ export declare namespace web_service {
2690
3286
  xAxis?: ChartConfigXAxisConfig;
2691
3287
  labelConfig?: ChartConfigLabelConfig;
2692
3288
  scatterConfig?: ChartConfigScatterConfig;
3289
+ seriesConfig?: ChartConfigSeriesConfig;
3290
+ dataConfig?: ChartConfigDataConfig;
2693
3291
  };
2694
3292
  type ChartConfigBarGaugeConfig = {
2695
3293
  direction?: ChartConfigDirection;
@@ -2709,9 +3307,13 @@ export declare namespace web_service {
2709
3307
  type ChartConfigCompareTime = {
2710
3308
  ago?: common.Duration;
2711
3309
  };
3310
+ type ChartConfigDataConfig = {
3311
+ seriesLimit?: number;
3312
+ };
2712
3313
  type ChartConfigDirection = 'HORIZONTAL' | 'VERTICAL';
2713
3314
  type ChartConfigLabelConfig = {
2714
3315
  columns?: Array<ChartConfigLabelConfigColumn>;
3316
+ alias?: string;
2715
3317
  };
2716
3318
  type ChartConfigLabelConfigColumn = {
2717
3319
  name?: string;
@@ -2720,6 +3322,7 @@ export declare namespace web_service {
2720
3322
  };
2721
3323
  type ChartConfigLineConfig = {
2722
3324
  style?: ChartConfigLineConfigStyle;
3325
+ smooth?: boolean;
2723
3326
  };
2724
3327
  type ChartConfigLineConfigStyle = 'Solid' | 'Dotted';
2725
3328
  type ChartConfigMappingRule = {
@@ -2741,6 +3344,7 @@ export declare namespace web_service {
2741
3344
  showPercent?: boolean;
2742
3345
  showValue?: boolean;
2743
3346
  calculation?: ChartConfigCalculation;
3347
+ absValue?: boolean;
2744
3348
  };
2745
3349
  type ChartConfigPieConfigPieType = 'Pie' | 'Donut';
2746
3350
  type ChartConfigQueryValueConfig = {
@@ -2751,6 +3355,17 @@ export declare namespace web_service {
2751
3355
  };
2752
3356
  type ChartConfigScatterConfig = {
2753
3357
  symbolSize?: string;
3358
+ color?: string;
3359
+ minSize?: number;
3360
+ maxSize?: number;
3361
+ };
3362
+ type ChartConfigSeriesConfig = {
3363
+ series?: {
3364
+ [key: string]: ChartConfigSeriesConfigSeries;
3365
+ };
3366
+ };
3367
+ type ChartConfigSeriesConfigSeries = {
3368
+ type?: ChartType2;
2754
3369
  };
2755
3370
  type ChartConfigSort = {
2756
3371
  sortBy?: ChartConfigSortBy;
@@ -2791,6 +3406,9 @@ export declare namespace web_service {
2791
3406
  maxFractionDigits?: number;
2792
3407
  precision?: number;
2793
3408
  currencySymbol?: string;
3409
+ tooltipTotal?: boolean;
3410
+ prefix?: string;
3411
+ suffix?: string;
2794
3412
  };
2795
3413
  type ChartConfigValueConfigStyle = 'Standard' | 'Compact' | 'Scientific' | 'Percent' | 'Currency' | 'None';
2796
3414
  type ChartConfigValueFormatter = 'NumberFormatter' | 'DateFormatter' | 'StringFormatter';
@@ -2812,6 +3430,7 @@ export declare namespace web_service {
2812
3430
  column?: string;
2813
3431
  name?: string;
2814
3432
  };
3433
+ type ChartType2 = 'LINE' | 'AREA' | 'BAR' | 'BAR_GAUGE' | 'TABLE' | 'QUERY_VALUE' | 'PIE' | 'NOTE' | 'SCATTER';
2815
3434
  type Dashboard = {
2816
3435
  id?: string;
2817
3436
  name?: string;
@@ -2826,12 +3445,15 @@ export declare namespace web_service {
2826
3445
  extra?: DashboardExtra;
2827
3446
  sharing?: DashboardSharing;
2828
3447
  default?: boolean;
3448
+ isPinned?: boolean;
2829
3449
  visibility?: DashboardDashboardVisibility;
2830
3450
  ownerId?: string;
2831
3451
  tags?: Array<string>;
2832
3452
  url?: string;
2833
3453
  projectOwner?: string;
2834
3454
  projectSlug?: string;
3455
+ createPanels?: Array<string>;
3456
+ editPanels?: Array<string>;
2835
3457
  };
2836
3458
  type DashboardDashboardVisibility = 'INTERNAL' | 'PRIVATE' | 'PUBLIC';
2837
3459
  type DashboardExtra = {
@@ -2866,11 +3488,30 @@ export declare namespace web_service {
2866
3488
  [key: string]: DashboardLayouts;
2867
3489
  };
2868
3490
  };
3491
+ type DashboardHistory = {
3492
+ id?: number;
3493
+ dashboardId?: string;
3494
+ version?: number;
3495
+ name?: string;
3496
+ description?: string;
3497
+ projectId?: string;
3498
+ layouts?: DashboardResponsiveLayouts;
3499
+ extra?: DashboardExtra;
3500
+ tags?: Array<string>;
3501
+ url?: string;
3502
+ default?: boolean;
3503
+ isPinned?: boolean;
3504
+ ownerId?: string;
3505
+ visibility?: DashboardDashboardVisibility;
3506
+ createdAt?: string;
3507
+ createdById?: string;
3508
+ };
2869
3509
  type DashboardSharing = {
2870
3510
  id?: string;
2871
3511
  dashboardId?: string;
2872
3512
  isPublic?: boolean;
2873
3513
  viewers?: Array<string>;
3514
+ config?: SharingConfig;
2874
3515
  };
2875
3516
  type EventLogsConfig = {
2876
3517
  columnsConfig?: common.EventLogConfig;
@@ -2887,19 +3528,14 @@ export declare namespace web_service {
2887
3528
  [key: string]: unknown;
2888
3529
  };
2889
3530
  };
3531
+ type GetDashboardHistoryResponse = {
3532
+ histories?: Array<DashboardHistory>;
3533
+ total?: number;
3534
+ };
2890
3535
  type GetDashboardResponse = {
2891
3536
  dashboards?: Array<Dashboard>;
2892
3537
  permissions?: Array<common.Permission>;
2893
3538
  };
2894
- type GetProjectListResponse = {
2895
- projects?: Array<common.Project>;
2896
- sharedProjects?: Array<common.Project>;
2897
- orgProjects?: Array<common.Project>;
2898
- };
2899
- type GetProjectResponse = {
2900
- project?: common.Project;
2901
- permissions?: Array<common.Permission>;
2902
- };
2903
3539
  type ImportDashboardRequest = {
2904
3540
  /**
2905
3541
  * The id of the target dashboard to import into.
@@ -2919,6 +3555,9 @@ export declare namespace web_service {
2919
3555
  type ImportDashboardResponse = {
2920
3556
  dashboard?: Dashboard;
2921
3557
  };
3558
+ type LinkAccountSession = {
3559
+ sessionId?: string;
3560
+ };
2922
3561
  type Note = {
2923
3562
  content?: string;
2924
3563
  fontSize?: NoteFontSize;
@@ -2935,6 +3574,12 @@ export declare namespace web_service {
2935
3574
  name?: string;
2936
3575
  dashboardId?: string;
2937
3576
  chart?: Chart;
3577
+ creator?: common.UserInfo;
3578
+ updater?: common.UserInfo;
3579
+ };
3580
+ type SharingConfig = {
3581
+ isReadonly?: boolean;
3582
+ hideModifiers?: boolean;
2938
3583
  };
2939
3584
  type ListDashboardsData = {
2940
3585
  body?: never;
@@ -3041,59 +3686,39 @@ export declare namespace web_service {
3041
3686
  200: GetDashboardResponse;
3042
3687
  };
3043
3688
  type GetDashboardResponse2 = GetDashboardResponses[keyof GetDashboardResponses];
3044
- type ExportDashboardData = {
3689
+ type GetDashboardHistoryData = {
3045
3690
  body?: never;
3046
3691
  path: {
3047
3692
  dashboardId: string;
3048
3693
  };
3049
- query?: never;
3050
- url: '/api/v1/dashboards/{dashboardId}/json';
3694
+ query?: {
3695
+ limit?: number;
3696
+ offset?: number;
3697
+ };
3698
+ url: '/api/v1/dashboards/{dashboardId}/history';
3051
3699
  };
3052
- type ExportDashboardResponses = {
3700
+ type GetDashboardHistoryResponses = {
3053
3701
  /**
3054
3702
  * A successful response.
3055
3703
  */
3056
- 200: ExportDashboardResponse;
3704
+ 200: GetDashboardHistoryResponse;
3057
3705
  };
3058
- type ExportDashboardResponse2 = ExportDashboardResponses[keyof ExportDashboardResponses];
3059
- type GetProjectData = {
3706
+ type GetDashboardHistoryResponse2 = GetDashboardHistoryResponses[keyof GetDashboardHistoryResponses];
3707
+ type ExportDashboardData = {
3060
3708
  body?: never;
3061
3709
  path: {
3062
- /**
3063
- * username or organization name
3064
- */
3065
- owner: string;
3066
- /**
3067
- * project slug
3068
- */
3069
- slug: string;
3710
+ dashboardId: string;
3070
3711
  };
3071
3712
  query?: never;
3072
- url: '/api/v1/project/{owner}/{slug}';
3073
- };
3074
- type GetProjectResponses = {
3075
- /**
3076
- * A successful response.
3077
- */
3078
- 200: GetProjectResponse;
3079
- };
3080
- type GetProjectResponse2 = GetProjectResponses[keyof GetProjectResponses];
3081
- type GetProjectListData = {
3082
- body?: never;
3083
- path?: never;
3084
- query?: {
3085
- userId?: string;
3086
- organizationId?: string;
3087
- };
3088
- url: '/api/v1/projects';
3713
+ url: '/api/v1/dashboards/{dashboardId}/json';
3089
3714
  };
3090
- type GetProjectListResponses = {
3715
+ type ExportDashboardResponses = {
3091
3716
  /**
3092
3717
  * A successful response.
3093
3718
  */
3094
- 200: GetProjectListResponse;
3719
+ 200: ExportDashboardResponse;
3095
3720
  };
3096
- type GetProjectListResponse2 = GetProjectListResponses[keyof GetProjectListResponses];
3721
+ type ExportDashboardResponse2 = ExportDashboardResponses[keyof ExportDashboardResponses];
3097
3722
  type ListDashboards2Data = {
3098
3723
  body?: never;
3099
3724
  path: {
@@ -3156,6 +3781,19 @@ export declare namespace web_service {
3156
3781
  200: GetDashboardResponse;
3157
3782
  };
3158
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];
3159
3797
  }
3160
3798
  export declare namespace solidit_service {
3161
3799
  type DeleteForkData = {
@@ -3179,5 +3817,5 @@ export declare namespace solidit_service {
3179
3817
  type DeleteForkResponse = DeleteForkResponses[keyof DeleteForkResponses];
3180
3818
  }
3181
3819
  export type ClientOptions = {
3182
- baseUrl: 'https://app.sentio.xyz' | (string & {});
3820
+ baseUrl: 'https://api.sentio.xyz' | (string & {});
3183
3821
  };