@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/src/types.gen.ts CHANGED
@@ -183,6 +183,11 @@ export namespace alert_service {
183
183
  time?: string;
184
184
  state?: AlertRuleState;
185
185
  queryTimeRange?: common.TimeRangeLite;
186
+ sqlCondition?: SqlCondition;
187
+ sqlSamples?: Array<{
188
+ [key: string]: unknown;
189
+ }>;
190
+ sqlMatchCount?: number;
186
191
  };
187
192
  export type AlertRule = {
188
193
  id?: string;
@@ -203,8 +208,10 @@ export namespace alert_service {
203
208
  lastQueryTime?: string;
204
209
  mute?: boolean;
205
210
  interval?: common.Duration;
211
+ error?: string;
212
+ sqlCondition?: SqlCondition;
206
213
  };
207
- export type AlertRuleState = 'NO_DATA' | 'FIRING' | 'NORMAL';
214
+ export type AlertRuleState = 'NO_DATA' | 'FIRING' | 'NORMAL' | 'ERROR';
208
215
  export type AlertServiceSaveAlertRuleBody = {
209
216
  rule?: {
210
217
  projectId?: string;
@@ -224,9 +231,11 @@ export namespace alert_service {
224
231
  lastQueryTime?: string;
225
232
  mute?: boolean;
226
233
  interval?: common.Duration;
234
+ error?: string;
235
+ sqlCondition?: SqlCondition;
227
236
  };
228
237
  };
229
- export type AlertType = 'METRIC' | 'LOG';
238
+ export type AlertType = 'METRIC' | 'LOG' | 'SQL';
230
239
  export type Condition = {
231
240
  queries?: Array<common.Query>;
232
241
  formula?: common.Formula;
@@ -235,6 +244,7 @@ export namespace alert_service {
235
244
  eventsQueries?: Array<common.SegmentationQuery>;
236
245
  priceQueries?: Array<common.PriceSegmentationQuery>;
237
246
  insightQueries?: Array<ConditionInsightQuery>;
247
+ threshold2?: number;
238
248
  };
239
249
  export type ConditionInsightQuery = {
240
250
  metricsQuery?: common.Query;
@@ -254,6 +264,7 @@ export namespace alert_service {
254
264
  query?: string;
255
265
  comparisonOp?: string;
256
266
  threshold?: number;
267
+ threshold2?: number;
257
268
  };
258
269
  export type Mute = {
259
270
  id?: string;
@@ -264,6 +275,23 @@ export namespace alert_service {
264
275
  endTime?: string;
265
276
  updateTime?: string;
266
277
  };
278
+ export type SqlCondition = {
279
+ columnCondition?: SqlConditionColumnCondition;
280
+ rowCondition?: SqlConditionRowCondition;
281
+ sqlQuery?: string;
282
+ };
283
+ export type SqlConditionAggregation = 'COUNT' | 'SUM' | 'AVG' | 'MAX' | 'MIN' | 'LAST';
284
+ export type SqlConditionColumnCondition = {
285
+ valueColumn?: string;
286
+ timeColumn?: string;
287
+ comparisonOp?: string;
288
+ threshold?: number;
289
+ threshold2?: number;
290
+ aggregation?: SqlConditionAggregation;
291
+ };
292
+ export type SqlConditionRowCondition = {
293
+ [key: string]: unknown;
294
+ };
267
295
  export type Sample = {
268
296
  metric?: {
269
297
  [key: string]: string;
@@ -447,6 +475,10 @@ export namespace analytic_service {
447
475
  name?: string;
448
476
  sql?: string;
449
477
  };
478
+ export type ListTablesResponse = {
479
+ names?: Array<string>;
480
+ computeStats?: common.ComputeStats;
481
+ };
450
482
  export type LogQueryRequestFilter = {
451
483
  field?: string;
452
484
  value?: string;
@@ -460,6 +492,7 @@ export namespace analytic_service {
460
492
  entries?: Array<common.EventLogEntry>;
461
493
  after?: Array<common.Any>;
462
494
  total?: string;
495
+ computeStats?: common.ComputeStats;
463
496
  };
464
497
  export type QuerySqlExecutionDetailResponse = {
465
498
  computeStats?: common.ComputeStats;
@@ -478,6 +511,10 @@ export namespace analytic_service {
478
511
  computeStats?: common.ComputeStats;
479
512
  color?: string;
480
513
  };
514
+ export type QueryTableResponse = {
515
+ table?: Table;
516
+ computeStats?: common.ComputeStats;
517
+ };
481
518
  export type QueryTablesResponse = {
482
519
  tables?: {
483
520
  [key: string]: Table;
@@ -525,6 +562,8 @@ export namespace analytic_service {
525
562
  offset?: number;
526
563
  filters?: Array<LogQueryRequestFilter>;
527
564
  version?: number;
565
+ source?: string;
566
+ cachePolicy?: common.CachePolicy;
528
567
  };
529
568
  export type SegmentationRequest = {
530
569
  projectOwner?: string;
@@ -538,7 +577,7 @@ export namespace analytic_service {
538
577
  limit?: number;
539
578
  offset?: number;
540
579
  };
541
- export type Source = 'SQL_EDITOR' | 'DASHBOARD' | 'ASYNC_TRIGGER' | 'CURL' | 'ENDPOINT';
580
+ export type Source = 'SQL_EDITOR' | 'DASHBOARD' | 'ASYNC_TRIGGER' | 'CURL' | 'ENDPOINT' | 'EXPORT' | 'USER_MATERIALIZED_VIEW_CREATOR' | 'SQL_ALERT';
542
581
  export type SyncExecuteSqlResponse = {
543
582
  runtimeCost?: string;
544
583
  result?: common.TabularData;
@@ -560,7 +599,7 @@ export namespace analytic_service {
560
599
  isBuiltin?: boolean;
561
600
  };
562
601
  export type TableColumnColumnType = 'STRING' | 'NUMBER' | 'BOOLEAN' | 'LIST' | 'TIME' | 'JSON' | 'TOKEN';
563
- export 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';
602
+ export 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';
564
603
  export type ViewRefreshSettings = {
565
604
  refreshInterval?: string;
566
605
  strategy?: ViewRefreshSettingsRefreshStrategy;
@@ -975,6 +1014,23 @@ export namespace analytic_service {
975
1014
  limit?: number;
976
1015
  offset?: number;
977
1016
  version?: number;
1017
+ source?: string;
1018
+ /**
1019
+ * how long the cache will be stored before it is evicted
1020
+ */
1021
+ 'cachePolicy.cacheTtlSecs'?: number;
1022
+ /**
1023
+ * how long the cache will be refreshed in the background
1024
+ */
1025
+ 'cachePolicy.cacheRefreshTtlSecs'?: number;
1026
+ /**
1027
+ * force refresh the cache now
1028
+ */
1029
+ 'cachePolicy.forceRefresh'?: boolean;
1030
+ /**
1031
+ * do not use cache
1032
+ */
1033
+ 'cachePolicy.noCache'?: boolean;
978
1034
  };
979
1035
  url: '/api/v1/eventlogs/{owner}/{slug}/query';
980
1036
  };
@@ -985,6 +1041,82 @@ export namespace analytic_service {
985
1041
  200: analytic_service.LogQueryResponse;
986
1042
  };
987
1043
  export type QueryLog2Response = QueryLog2Responses[keyof QueryLog2Responses];
1044
+ export type QueryTable2Data = {
1045
+ body?: never;
1046
+ path?: never;
1047
+ query?: {
1048
+ projectOwner?: string;
1049
+ projectSlug?: string;
1050
+ projectId?: string;
1051
+ version?: number;
1052
+ name?: string;
1053
+ };
1054
+ url: '/api/v1/sql/table';
1055
+ };
1056
+ export type QueryTable2Responses = {
1057
+ /**
1058
+ * A successful response.
1059
+ */
1060
+ 200: analytic_service.QueryTableResponse;
1061
+ };
1062
+ export type QueryTable2Response = QueryTable2Responses[keyof QueryTable2Responses];
1063
+ export type ListTables2Data = {
1064
+ body?: never;
1065
+ path?: never;
1066
+ query?: {
1067
+ projectOwner?: string;
1068
+ projectSlug?: string;
1069
+ projectId?: string;
1070
+ version?: number;
1071
+ };
1072
+ url: '/api/v1/sql/tables';
1073
+ };
1074
+ export type ListTables2Responses = {
1075
+ /**
1076
+ * A successful response.
1077
+ */
1078
+ 200: analytic_service.ListTablesResponse;
1079
+ };
1080
+ export type ListTables2Response = ListTables2Responses[keyof ListTables2Responses];
1081
+ export type QueryTableData = {
1082
+ body?: never;
1083
+ path: {
1084
+ owner: string;
1085
+ slug: string;
1086
+ name: string;
1087
+ };
1088
+ query?: {
1089
+ projectId?: string;
1090
+ version?: number;
1091
+ };
1092
+ url: '/api/v1/sql/{owner}/{slug}/table/{name}';
1093
+ };
1094
+ export type QueryTableResponses = {
1095
+ /**
1096
+ * A successful response.
1097
+ */
1098
+ 200: analytic_service.QueryTableResponse;
1099
+ };
1100
+ export type QueryTableResponse2 = QueryTableResponses[keyof QueryTableResponses];
1101
+ export type ListTablesData = {
1102
+ body?: never;
1103
+ path: {
1104
+ owner: string;
1105
+ slug: string;
1106
+ };
1107
+ query?: {
1108
+ projectId?: string;
1109
+ version?: number;
1110
+ };
1111
+ url: '/api/v1/sql/{owner}/{slug}/tables';
1112
+ };
1113
+ export type ListTablesResponses = {
1114
+ /**
1115
+ * A successful response.
1116
+ */
1117
+ 200: analytic_service.ListTablesResponse;
1118
+ };
1119
+ export type ListTablesResponse2 = ListTablesResponses[keyof ListTablesResponses];
988
1120
  }
989
1121
 
990
1122
  export namespace common {
@@ -1181,11 +1313,6 @@ export namespace common {
1181
1313
  name?: string;
1182
1314
  arguments?: Array<Argument>;
1183
1315
  };
1184
- export type ImportedProject = {
1185
- name?: string;
1186
- project?: Project;
1187
- imported?: Project;
1188
- };
1189
1316
  export type JoinOperator = 'AND' | 'OR' | 'THEN';
1190
1317
  export type Matrix = {
1191
1318
  samples?: Array<MatrixSample>;
@@ -1258,6 +1385,7 @@ export namespace common {
1258
1385
  enableMaterializedView?: boolean;
1259
1386
  defaultTimerange?: TimeRangeLite;
1260
1387
  communityProject?: CommunityProject;
1388
+ sentioNetwork?: boolean;
1261
1389
  };
1262
1390
  export type ProjectProjectMember = {
1263
1391
  user?: UserInfo;
@@ -1502,6 +1630,8 @@ export namespace common {
1502
1630
  accountStatus?: UserAccountStatus;
1503
1631
  tier?: Tier;
1504
1632
  isOrganization?: boolean;
1633
+ walletAddress?: string;
1634
+ identities?: Array<string>;
1505
1635
  };
1506
1636
  export type UserAccountStatus = 'PENDING' | 'SET_USERNAME' | 'BANNED' | 'ACTIVE';
1507
1637
  /**
@@ -1515,21 +1645,6 @@ export namespace common {
1515
1645
  picture?: string;
1516
1646
  username?: string;
1517
1647
  };
1518
- export type GetProjectByIdData = {
1519
- body?: never;
1520
- path: {
1521
- projectId: string;
1522
- };
1523
- query?: never;
1524
- url: '/api/v1/project/{projectId}';
1525
- };
1526
- export type GetProjectByIdResponses = {
1527
- /**
1528
- * A successful response.
1529
- */
1530
- 200: common.ProjectInfo;
1531
- };
1532
- export type GetProjectByIdResponse = GetProjectByIdResponses[keyof GetProjectByIdResponses];
1533
1648
  }
1534
1649
 
1535
1650
  export namespace evm {
@@ -1704,6 +1819,22 @@ export namespace google {
1704
1819
  * - NULL_VALUE: Null value.
1705
1820
  */
1706
1821
  export type ProtobufNullValue = 'NULL_VALUE';
1822
+ export type GetCallTraceData = {
1823
+ body?: never;
1824
+ path?: never;
1825
+ query?: {
1826
+ networkId?: string;
1827
+ txHash?: string;
1828
+ };
1829
+ url: '/api/v1/move/call_trace';
1830
+ };
1831
+ export type GetCallTraceResponses = {
1832
+ /**
1833
+ * A successful response.
1834
+ */
1835
+ 200: google.ApiHttpBody;
1836
+ };
1837
+ export type GetCallTraceResponse = GetCallTraceResponses[keyof GetCallTraceResponses];
1707
1838
  export type GetCallTraceOnForkBundleData = {
1708
1839
  body?: never;
1709
1840
  path: {
@@ -1904,6 +2035,7 @@ export namespace insights_service {
1904
2035
  offset?: number;
1905
2036
  bypassCache?: boolean;
1906
2037
  cachePolicy?: common.CachePolicy;
2038
+ enableExperimentalFeatures?: boolean;
1907
2039
  };
1908
2040
  export type ListCoinsResponse = {
1909
2041
  coins?: Array<common.CoinId>;
@@ -1998,6 +2130,7 @@ export namespace insights_service {
1998
2130
  export namespace metrics_service {
1999
2131
  export type GetMetricsResponse = {
2000
2132
  metrics?: Array<MetricInfo>;
2133
+ computeStats?: common.ComputeStats;
2001
2134
  };
2002
2135
  export type MetricInfo = {
2003
2136
  name?: string;
@@ -2013,6 +2146,7 @@ export namespace metrics_service {
2013
2146
  };
2014
2147
  export type MetricInfoLabelValues = {
2015
2148
  values?: Array<string>;
2149
+ totalCount?: string;
2016
2150
  };
2017
2151
  export type MetricMetadata = {
2018
2152
  type?: string;
@@ -2059,6 +2193,7 @@ export namespace metrics_service {
2059
2193
  version?: number;
2060
2194
  timezone?: string;
2061
2195
  samplesOffset?: number;
2196
+ enableExperimentalFeatures?: boolean;
2062
2197
  };
2063
2198
  export type ObservabilityServiceQueryRangeBody = {
2064
2199
  queries?: Array<common.Query>;
@@ -2068,6 +2203,7 @@ export namespace metrics_service {
2068
2203
  projectId?: string;
2069
2204
  version?: number;
2070
2205
  samplesOffset?: number;
2206
+ enableExperimentalFeatures?: boolean;
2071
2207
  };
2072
2208
  export type QueryValueResponse = {
2073
2209
  results?: Array<QueryValueResponseResult>;
@@ -2086,6 +2222,8 @@ export namespace metrics_service {
2086
2222
  projectId?: string;
2087
2223
  name?: string;
2088
2224
  version?: number;
2225
+ labelLimit?: string;
2226
+ labelSearchQuery?: string;
2089
2227
  };
2090
2228
  url: '/api/v1/metrics';
2091
2229
  };
@@ -2142,6 +2280,54 @@ export namespace metrics_service {
2142
2280
  export type QueryRangeResponse = QueryRangeResponses[keyof QueryRangeResponses];
2143
2281
  }
2144
2282
 
2283
+ export namespace move_service {
2284
+ export type GetSuiCallTraceResponse = {
2285
+ result?: Array<SuiCallTrace>;
2286
+ };
2287
+ export type SuiCallTrace = {
2288
+ from?: string;
2289
+ to?: string;
2290
+ contractName?: string;
2291
+ functionName?: string;
2292
+ inputs?: Array<unknown>;
2293
+ returnValue?: Array<unknown>;
2294
+ typeArgs?: Array<string>;
2295
+ calls?: Array<SuiCallTrace>;
2296
+ location?: unknown;
2297
+ pc?: number;
2298
+ gasUsed?: string;
2299
+ error?: SuiCallTraceError;
2300
+ };
2301
+ export type SuiCallTraceError = {
2302
+ majorStatus?: string;
2303
+ subStatus?: string;
2304
+ message?: string;
2305
+ location?: SuiCallTraceErrorModuleId;
2306
+ functionName?: string;
2307
+ codeOffset?: number;
2308
+ };
2309
+ export type SuiCallTraceErrorModuleId = {
2310
+ address?: string;
2311
+ name?: string;
2312
+ };
2313
+ export type GetSuiCallTraceData = {
2314
+ body?: never;
2315
+ path?: never;
2316
+ query?: {
2317
+ networkId?: string;
2318
+ txDigest?: string;
2319
+ };
2320
+ url: '/api/v1/move/sui_call_trace';
2321
+ };
2322
+ export type GetSuiCallTraceResponses = {
2323
+ /**
2324
+ * A successful response.
2325
+ */
2326
+ 200: move_service.GetSuiCallTraceResponse;
2327
+ };
2328
+ export type GetSuiCallTraceResponse2 = GetSuiCallTraceResponses[keyof GetSuiCallTraceResponses];
2329
+ }
2330
+
2145
2331
  export namespace price_service {
2146
2332
  export type AddCoinByGeckoRequest = {
2147
2333
  coingeckoId?: string;
@@ -2348,9 +2534,6 @@ export namespace processor_service {
2348
2534
  export type GetProcessorResponse = {
2349
2535
  processor?: Processor;
2350
2536
  };
2351
- export type GetProcessorSourceFilesResponse = {
2352
- sourceFiles?: Array<ProcessorSourceFile>;
2353
- };
2354
2537
  export type GetProcessorStatusRequestV2VersionSelector = 'ACTIVE' | 'PENDING' | 'ALL';
2355
2538
  export type GetProcessorStatusResponse = {
2356
2539
  processors?: Array<GetProcessorStatusResponseProcessorEx>;
@@ -2374,7 +2557,11 @@ export namespace processor_service {
2374
2557
  referenceProjectId?: string;
2375
2558
  warnings?: Array<string>;
2376
2559
  pause?: boolean;
2560
+ pauseAt?: string;
2561
+ pauseReason?: string;
2377
2562
  networkOverrides?: Array<NetworkOverride>;
2563
+ driverVersion?: string;
2564
+ numWorkers?: string;
2378
2565
  };
2379
2566
  export type GetProcessorStatusResponseProcessorStatus = {
2380
2567
  state?: GetProcessorStatusResponseProcessorStatusState;
@@ -2442,12 +2629,14 @@ export namespace processor_service {
2442
2629
  eventlogMigrateStatus?: number;
2443
2630
  eventlogVersion?: number;
2444
2631
  pause?: boolean;
2632
+ pauseAt?: string;
2633
+ pauseReason?: string;
2445
2634
  entitySchemaVersion?: number;
2635
+ driverVersion?: number;
2636
+ numWorkers?: number;
2446
2637
  isBinary?: boolean;
2447
- };
2448
- export type ProcessorSourceFile = {
2449
- path?: string;
2450
- content?: string;
2638
+ chainId?: string;
2639
+ requiredChains?: Array<string>;
2451
2640
  };
2452
2641
  export type ProcessorVersionState = 'UNKNOWN' | 'PENDING' | 'ACTIVE' | 'OBSOLETE';
2453
2642
  export type UpdateChainProcessorStatusResponse = {
@@ -2471,27 +2660,6 @@ export namespace processor_service {
2471
2660
  };
2472
2661
  };
2473
2662
  export type ActivatePendingVersionResponse = ActivatePendingVersionResponses[keyof ActivatePendingVersionResponses];
2474
- export type GetProcessorSourceFilesData = {
2475
- body?: never;
2476
- path: {
2477
- owner: string;
2478
- slug: string;
2479
- };
2480
- query?: {
2481
- /**
2482
- * Optional version to fetch. If omitted, use latest active version.
2483
- */
2484
- version?: number;
2485
- };
2486
- url: '/api/v1/processors/{owner}/{slug}/source_files';
2487
- };
2488
- export type GetProcessorSourceFilesResponses = {
2489
- /**
2490
- * A successful response.
2491
- */
2492
- 200: processor_service.GetProcessorSourceFilesResponse;
2493
- };
2494
- export type GetProcessorSourceFilesResponse2 = GetProcessorSourceFilesResponses[keyof GetProcessorSourceFilesResponses];
2495
2663
  export type GetProcessorStatusV2Data = {
2496
2664
  body?: never;
2497
2665
  path: {
@@ -3116,6 +3284,7 @@ export namespace web_service {
3116
3284
  sqlQuery?: string;
3117
3285
  sqlQueryId?: string;
3118
3286
  sqlExecuteEngine?: analytic_service.ExecuteEngine;
3287
+ enableExperimentalFeatures?: boolean;
3119
3288
  };
3120
3289
  export type ChartDataSourceType = 'METRICS' | 'NOTES' | 'ANALYTICS' | 'INSIGHTS' | 'EVENTS' | 'RETENTION' | 'SQL';
3121
3290
  export type ChartConfig = {
@@ -3381,15 +3550,6 @@ export namespace web_service {
3381
3550
  dashboards?: Array<Dashboard>;
3382
3551
  permissions?: Array<common.Permission>;
3383
3552
  };
3384
- export type GetProjectListResponse = {
3385
- projects?: Array<common.Project>;
3386
- sharedProjects?: Array<common.Project>;
3387
- orgProjects?: Array<common.Project>;
3388
- };
3389
- export type GetProjectResponse = {
3390
- project?: common.Project;
3391
- permissions?: Array<common.Permission>;
3392
- };
3393
3553
  export type ImportDashboardRequest = {
3394
3554
  /**
3395
3555
  * The id of the target dashboard to import into.
@@ -3409,8 +3569,8 @@ export namespace web_service {
3409
3569
  export type ImportDashboardResponse = {
3410
3570
  dashboard?: Dashboard;
3411
3571
  };
3412
- export type ImportProjectResponse = {
3413
- imports?: Array<common.ImportedProject>;
3572
+ export type LinkAccountSession = {
3573
+ sessionId?: string;
3414
3574
  };
3415
3575
  export type Note = {
3416
3576
  content?: string;
@@ -3431,19 +3591,10 @@ export namespace web_service {
3431
3591
  creator?: common.UserInfo;
3432
3592
  updater?: common.UserInfo;
3433
3593
  };
3434
- export type ProjectOwnerAndSlug = {
3435
- ownerName?: string;
3436
- slug?: string;
3437
- };
3438
3594
  export type SharingConfig = {
3439
3595
  isReadonly?: boolean;
3440
3596
  hideModifiers?: boolean;
3441
3597
  };
3442
- export type WebServiceImportProjectBody = {
3443
- name?: string;
3444
- importProject?: ProjectOwnerAndSlug;
3445
- importProjects?: Array<ProjectOwnerAndSlug>;
3446
- };
3447
3598
  export type ListDashboardsData = {
3448
3599
  body?: never;
3449
3600
  path?: never;
@@ -3582,118 +3733,6 @@ export namespace web_service {
3582
3733
  200: ExportDashboardResponse;
3583
3734
  };
3584
3735
  export type ExportDashboardResponse2 = ExportDashboardResponses[keyof ExportDashboardResponses];
3585
- export type GetProjectData = {
3586
- body?: never;
3587
- path: {
3588
- /**
3589
- * username or organization name
3590
- */
3591
- owner: string;
3592
- /**
3593
- * project slug
3594
- */
3595
- slug: string;
3596
- };
3597
- query?: never;
3598
- url: '/api/v1/project/{owner}/{slug}';
3599
- };
3600
- export type GetProjectResponses = {
3601
- /**
3602
- * A successful response.
3603
- */
3604
- 200: GetProjectResponse;
3605
- };
3606
- export type GetProjectResponse2 = GetProjectResponses[keyof GetProjectResponses];
3607
- export type GetImportedProjectData = {
3608
- body?: never;
3609
- path: {
3610
- /**
3611
- * username or organization name
3612
- */
3613
- owner: string;
3614
- /**
3615
- * project slug
3616
- */
3617
- slug: string;
3618
- };
3619
- query?: never;
3620
- url: '/api/v1/project/{owner}/{slug}/importprojects';
3621
- };
3622
- export type GetImportedProjectResponses = {
3623
- /**
3624
- * A successful response.
3625
- */
3626
- 200: ImportProjectResponse;
3627
- };
3628
- export type GetImportedProjectResponse = GetImportedProjectResponses[keyof GetImportedProjectResponses];
3629
- export type ImportProjectData = {
3630
- body: WebServiceImportProjectBody;
3631
- path: {
3632
- /**
3633
- * username or organization name
3634
- */
3635
- owner: string;
3636
- /**
3637
- * project slug
3638
- */
3639
- slug: string;
3640
- };
3641
- query?: never;
3642
- url: '/api/v1/project/{owner}/{slug}/importprojects';
3643
- };
3644
- export type ImportProjectResponses = {
3645
- /**
3646
- * A successful response.
3647
- */
3648
- 200: ImportProjectResponse;
3649
- };
3650
- export type ImportProjectResponse2 = ImportProjectResponses[keyof ImportProjectResponses];
3651
- export type UnImportProjectData = {
3652
- body?: never;
3653
- path: {
3654
- /**
3655
- * username or organization name
3656
- */
3657
- owner: string;
3658
- /**
3659
- * project slug
3660
- */
3661
- slug: string;
3662
- /**
3663
- * username or organization name of the imported project
3664
- */
3665
- unimportOwner: string;
3666
- /**
3667
- * slug of the imported project
3668
- */
3669
- unimportSlug: string;
3670
- };
3671
- query?: never;
3672
- url: '/api/v1/project/{owner}/{slug}/unimportprojects/{unimportOwner}/{unimportSlug}';
3673
- };
3674
- export type UnImportProjectResponses = {
3675
- /**
3676
- * A successful response.
3677
- */
3678
- 200: ImportProjectResponse;
3679
- };
3680
- export type UnImportProjectResponse = UnImportProjectResponses[keyof UnImportProjectResponses];
3681
- export type GetProjectListData = {
3682
- body?: never;
3683
- path?: never;
3684
- query?: {
3685
- userId?: string;
3686
- organizationId?: string;
3687
- };
3688
- url: '/api/v1/projects';
3689
- };
3690
- export type GetProjectListResponses = {
3691
- /**
3692
- * A successful response.
3693
- */
3694
- 200: GetProjectListResponse;
3695
- };
3696
- export type GetProjectListResponse2 = GetProjectListResponses[keyof GetProjectListResponses];
3697
3736
  export type ListDashboards2Data = {
3698
3737
  body?: never;
3699
3738
  path: {
@@ -3756,6 +3795,19 @@ export namespace web_service {
3756
3795
  200: GetDashboardResponse;
3757
3796
  };
3758
3797
  export type GetDashboard2Response = GetDashboard2Responses[keyof GetDashboard2Responses];
3798
+ export type CreateLinkSessionData = {
3799
+ body?: never;
3800
+ path?: never;
3801
+ query?: never;
3802
+ url: '/api/v1/users/link';
3803
+ };
3804
+ export type CreateLinkSessionResponses = {
3805
+ /**
3806
+ * A successful response.
3807
+ */
3808
+ 200: LinkAccountSession;
3809
+ };
3810
+ export type CreateLinkSessionResponse = CreateLinkSessionResponses[keyof CreateLinkSessionResponses];
3759
3811
  }
3760
3812
 
3761
3813
  export namespace solidit_service {
@@ -3781,5 +3833,5 @@ export namespace solidit_service {
3781
3833
  }
3782
3834
 
3783
3835
  export type ClientOptions = {
3784
- baseUrl: 'https://api.sentio.xyz/v1' | (string & {});
3836
+ baseUrl: 'https://api.sentio.xyz' | (string & {});
3785
3837
  };