@sentio/api 1.0.3-rc.7 → 1.0.3-rc.9
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/sdk.gen.d.ts +62 -62
- package/dist/src/sdk.gen.js.map +1 -1
- package/dist/src/types.gen.d.ts +3019 -2990
- package/package.json +1 -1
- package/src/sdk.gen.ts +123 -123
- package/src/types.gen.ts +3035 -3479
package/src/sdk.gen.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
2
|
|
|
3
3
|
import type { Options as ClientOptions, TDataShape, Client } from '@hey-api/client-fetch';
|
|
4
|
-
import type {
|
|
4
|
+
import type { alert_service, analytic_service, web_service, insights_service, metrics_service, price_service, processor_service, common, solidity_service, google, solidit_service } from './types.gen';
|
|
5
5
|
import { client as _heyApiClient } from './client.gen';
|
|
6
6
|
|
|
7
7
|
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = ClientOptions<TData, ThrowOnError> & {
|
|
@@ -22,8 +22,8 @@ export class AlertsService {
|
|
|
22
22
|
/**
|
|
23
23
|
* Save an alert rule
|
|
24
24
|
*/
|
|
25
|
-
public static saveAlertRule<ThrowOnError extends boolean = false>(options: Options<SaveAlertRuleData, ThrowOnError>) {
|
|
26
|
-
return (options.client ?? _heyApiClient).post<SaveAlertRuleResponse, unknown, ThrowOnError>({
|
|
25
|
+
public static saveAlertRule<ThrowOnError extends boolean = false>(options: Options<alert_service.SaveAlertRuleData, ThrowOnError>) {
|
|
26
|
+
return (options.client ?? _heyApiClient).post<alert_service.SaveAlertRuleResponse, unknown, ThrowOnError>({
|
|
27
27
|
security: [
|
|
28
28
|
{
|
|
29
29
|
name: 'api-key',
|
|
@@ -47,8 +47,8 @@ export class AlertsService {
|
|
|
47
47
|
/**
|
|
48
48
|
* List all alert rules for a project
|
|
49
49
|
*/
|
|
50
|
-
public static getAlertRules<ThrowOnError extends boolean = false>(options: Options<GetAlertRulesData, ThrowOnError>) {
|
|
51
|
-
return (options.client ?? _heyApiClient).get<
|
|
50
|
+
public static getAlertRules<ThrowOnError extends boolean = false>(options: Options<alert_service.GetAlertRulesData, ThrowOnError>) {
|
|
51
|
+
return (options.client ?? _heyApiClient).get<alert_service.GetAlertRulesResponse2, unknown, ThrowOnError>({
|
|
52
52
|
security: [
|
|
53
53
|
{
|
|
54
54
|
name: 'api-key',
|
|
@@ -68,8 +68,8 @@ export class AlertsService {
|
|
|
68
68
|
/**
|
|
69
69
|
* Delete an alert rule
|
|
70
70
|
*/
|
|
71
|
-
public static deleteAlertRule<ThrowOnError extends boolean = false>(options: Options<DeleteAlertRuleData, ThrowOnError>) {
|
|
72
|
-
return (options.client ?? _heyApiClient).delete<DeleteAlertRuleResponse, unknown, ThrowOnError>({
|
|
71
|
+
public static deleteAlertRule<ThrowOnError extends boolean = false>(options: Options<alert_service.DeleteAlertRuleData, ThrowOnError>) {
|
|
72
|
+
return (options.client ?? _heyApiClient).delete<alert_service.DeleteAlertRuleResponse, unknown, ThrowOnError>({
|
|
73
73
|
security: [
|
|
74
74
|
{
|
|
75
75
|
name: 'api-key',
|
|
@@ -89,8 +89,8 @@ export class AlertsService {
|
|
|
89
89
|
/**
|
|
90
90
|
* Save an alert rule
|
|
91
91
|
*/
|
|
92
|
-
public static saveAlertRule2<ThrowOnError extends boolean = false>(options: Options<SaveAlertRule2Data, ThrowOnError>) {
|
|
93
|
-
return (options.client ?? _heyApiClient).put<SaveAlertRule2Response, unknown, ThrowOnError>({
|
|
92
|
+
public static saveAlertRule2<ThrowOnError extends boolean = false>(options: Options<alert_service.SaveAlertRule2Data, ThrowOnError>) {
|
|
93
|
+
return (options.client ?? _heyApiClient).put<alert_service.SaveAlertRule2Response, unknown, ThrowOnError>({
|
|
94
94
|
security: [
|
|
95
95
|
{
|
|
96
96
|
name: 'api-key',
|
|
@@ -114,8 +114,8 @@ export class AlertsService {
|
|
|
114
114
|
/**
|
|
115
115
|
* Find an alert rule by id, and list all alerts for this rule
|
|
116
116
|
*/
|
|
117
|
-
public static getAlert<ThrowOnError extends boolean = false>(options: Options<GetAlertData, ThrowOnError>) {
|
|
118
|
-
return (options.client ?? _heyApiClient).get<
|
|
117
|
+
public static getAlert<ThrowOnError extends boolean = false>(options: Options<alert_service.GetAlertData, ThrowOnError>) {
|
|
118
|
+
return (options.client ?? _heyApiClient).get<alert_service.GetAlertResponse2, unknown, ThrowOnError>({
|
|
119
119
|
security: [
|
|
120
120
|
{
|
|
121
121
|
name: 'api-key',
|
|
@@ -139,8 +139,8 @@ export class DataService {
|
|
|
139
139
|
* Cancel SQL Query
|
|
140
140
|
* Cancel a SQL query by execution_id.
|
|
141
141
|
*/
|
|
142
|
-
public static cancelSqlQuery<ThrowOnError extends boolean = false>(options: Options<CancelSqlQueryData, ThrowOnError>) {
|
|
143
|
-
return (options.client ?? _heyApiClient).put<CancelSqlQueryResponse, unknown, ThrowOnError>({
|
|
142
|
+
public static cancelSqlQuery<ThrowOnError extends boolean = false>(options: Options<analytic_service.CancelSqlQueryData, ThrowOnError>) {
|
|
143
|
+
return (options.client ?? _heyApiClient).put<analytic_service.CancelSqlQueryResponse, unknown, ThrowOnError>({
|
|
144
144
|
security: [
|
|
145
145
|
{
|
|
146
146
|
name: 'api-key',
|
|
@@ -165,8 +165,8 @@ export class DataService {
|
|
|
165
165
|
*
|
|
166
166
|
* Find more: https://docs.sentio.xyz/reference/data#sql-api
|
|
167
167
|
*/
|
|
168
|
-
public static executeSql<ThrowOnError extends boolean = false>(options: Options<ExecuteSqlData, ThrowOnError>) {
|
|
169
|
-
return (options.client ?? _heyApiClient).post<ExecuteSqlResponse, unknown, ThrowOnError>({
|
|
168
|
+
public static executeSql<ThrowOnError extends boolean = false>(options: Options<analytic_service.ExecuteSqlData, ThrowOnError>) {
|
|
169
|
+
return (options.client ?? _heyApiClient).post<analytic_service.ExecuteSqlResponse, unknown, ThrowOnError>({
|
|
170
170
|
security: [
|
|
171
171
|
{
|
|
172
172
|
name: 'api-key',
|
|
@@ -191,8 +191,8 @@ export class DataService {
|
|
|
191
191
|
* Execute SQL by Async
|
|
192
192
|
* Execute SQL in a project asynchronously.
|
|
193
193
|
*/
|
|
194
|
-
public static executeSqlAsync<ThrowOnError extends boolean = false>(options: Options<ExecuteSqlAsyncData, ThrowOnError>) {
|
|
195
|
-
return (options.client ?? _heyApiClient).post<ExecuteSqlAsyncResponse, unknown, ThrowOnError>({
|
|
194
|
+
public static executeSqlAsync<ThrowOnError extends boolean = false>(options: Options<analytic_service.ExecuteSqlAsyncData, ThrowOnError>) {
|
|
195
|
+
return (options.client ?? _heyApiClient).post<analytic_service.ExecuteSqlAsyncResponse, unknown, ThrowOnError>({
|
|
196
196
|
security: [
|
|
197
197
|
{
|
|
198
198
|
name: 'api-key',
|
|
@@ -217,8 +217,8 @@ export class DataService {
|
|
|
217
217
|
* Query SQL Execution Detail
|
|
218
218
|
* Query the execution detail of a SQL query by execution_id.
|
|
219
219
|
*/
|
|
220
|
-
public static querySqlExecutionDetail<ThrowOnError extends boolean = false>(options: Options<QuerySqlExecutionDetailData, ThrowOnError>) {
|
|
221
|
-
return (options.client ?? _heyApiClient).get<
|
|
220
|
+
public static querySqlExecutionDetail<ThrowOnError extends boolean = false>(options: Options<analytic_service.QuerySqlExecutionDetailData, ThrowOnError>) {
|
|
221
|
+
return (options.client ?? _heyApiClient).get<analytic_service.QuerySqlExecutionDetailResponse2, unknown, ThrowOnError>({
|
|
222
222
|
security: [
|
|
223
223
|
{
|
|
224
224
|
name: 'api-key',
|
|
@@ -239,8 +239,8 @@ export class DataService {
|
|
|
239
239
|
* Query SQL Result
|
|
240
240
|
* Query the result of a SQL query by execution_id.
|
|
241
241
|
*/
|
|
242
|
-
public static querySqlResult<ThrowOnError extends boolean = false>(options: Options<QuerySqlResultData, ThrowOnError>) {
|
|
243
|
-
return (options.client ?? _heyApiClient).get<
|
|
242
|
+
public static querySqlResult<ThrowOnError extends boolean = false>(options: Options<analytic_service.QuerySqlResultData, ThrowOnError>) {
|
|
243
|
+
return (options.client ?? _heyApiClient).get<analytic_service.QuerySqlResultResponse2, unknown, ThrowOnError>({
|
|
244
244
|
security: [
|
|
245
245
|
{
|
|
246
246
|
name: 'api-key',
|
|
@@ -261,8 +261,8 @@ export class DataService {
|
|
|
261
261
|
* Save Refreshable Materialized View
|
|
262
262
|
* Save or update a refreshable materialized view in a project.
|
|
263
263
|
*/
|
|
264
|
-
public static saveRefreshableMaterializedView<ThrowOnError extends boolean = false>(options: Options<SaveRefreshableMaterializedViewData, ThrowOnError>) {
|
|
265
|
-
return (options.client ?? _heyApiClient).post<
|
|
264
|
+
public static saveRefreshableMaterializedView<ThrowOnError extends boolean = false>(options: Options<analytic_service.SaveRefreshableMaterializedViewData, ThrowOnError>) {
|
|
265
|
+
return (options.client ?? _heyApiClient).post<analytic_service.SaveRefreshableMaterializedViewResponse2, unknown, ThrowOnError>({
|
|
266
266
|
security: [
|
|
267
267
|
{
|
|
268
268
|
name: 'api-key',
|
|
@@ -287,8 +287,8 @@ export class DataService {
|
|
|
287
287
|
* Delete Refreshable Materialized View
|
|
288
288
|
* Delete a refreshable materialized view in a project.
|
|
289
289
|
*/
|
|
290
|
-
public static deleteRefreshableMaterializedView<ThrowOnError extends boolean = false>(options: Options<DeleteRefreshableMaterializedViewData, ThrowOnError>) {
|
|
291
|
-
return (options.client ?? _heyApiClient).delete<DeleteRefreshableMaterializedViewResponse, unknown, ThrowOnError>({
|
|
290
|
+
public static deleteRefreshableMaterializedView<ThrowOnError extends boolean = false>(options: Options<analytic_service.DeleteRefreshableMaterializedViewData, ThrowOnError>) {
|
|
291
|
+
return (options.client ?? _heyApiClient).delete<analytic_service.DeleteRefreshableMaterializedViewResponse, unknown, ThrowOnError>({
|
|
292
292
|
security: [
|
|
293
293
|
{
|
|
294
294
|
name: 'api-key',
|
|
@@ -309,8 +309,8 @@ export class DataService {
|
|
|
309
309
|
* Get Refreshable Materialized View Status
|
|
310
310
|
* Get the status of a refreshable materialized view in a project.
|
|
311
311
|
*/
|
|
312
|
-
public static getRefreshableMaterializedStatus<ThrowOnError extends boolean = false>(options: Options<GetRefreshableMaterializedStatusData, ThrowOnError>) {
|
|
313
|
-
return (options.client ?? _heyApiClient).get<GetRefreshableMaterializedStatusResponse, unknown, ThrowOnError>({
|
|
312
|
+
public static getRefreshableMaterializedStatus<ThrowOnError extends boolean = false>(options: Options<analytic_service.GetRefreshableMaterializedStatusData, ThrowOnError>) {
|
|
313
|
+
return (options.client ?? _heyApiClient).get<analytic_service.GetRefreshableMaterializedStatusResponse, unknown, ThrowOnError>({
|
|
314
314
|
security: [
|
|
315
315
|
{
|
|
316
316
|
name: 'api-key',
|
|
@@ -331,8 +331,8 @@ export class DataService {
|
|
|
331
331
|
* List Refreshable Materialized Views
|
|
332
332
|
* List all refreshable materialized views in a project.
|
|
333
333
|
*/
|
|
334
|
-
public static listRefreshableMaterializedViews<ThrowOnError extends boolean = false>(options: Options<ListRefreshableMaterializedViewsData, ThrowOnError>) {
|
|
335
|
-
return (options.client ?? _heyApiClient).get<ListRefreshableMaterializedViewsResponse, unknown, ThrowOnError>({
|
|
334
|
+
public static listRefreshableMaterializedViews<ThrowOnError extends boolean = false>(options: Options<analytic_service.ListRefreshableMaterializedViewsData, ThrowOnError>) {
|
|
335
|
+
return (options.client ?? _heyApiClient).get<analytic_service.ListRefreshableMaterializedViewsResponse, unknown, ThrowOnError>({
|
|
336
336
|
security: [
|
|
337
337
|
{
|
|
338
338
|
name: 'api-key',
|
|
@@ -353,8 +353,8 @@ export class DataService {
|
|
|
353
353
|
* Save SQL
|
|
354
354
|
* Save or update a SQL query in a project.
|
|
355
355
|
*/
|
|
356
|
-
public static saveSql<ThrowOnError extends boolean = false>(options: Options<SaveSqlData, ThrowOnError>) {
|
|
357
|
-
return (options.client ?? _heyApiClient).post<
|
|
356
|
+
public static saveSql<ThrowOnError extends boolean = false>(options: Options<analytic_service.SaveSqlData, ThrowOnError>) {
|
|
357
|
+
return (options.client ?? _heyApiClient).post<analytic_service.SaveSqlResponse2, unknown, ThrowOnError>({
|
|
358
358
|
security: [
|
|
359
359
|
{
|
|
360
360
|
name: 'api-key',
|
|
@@ -379,8 +379,8 @@ export class DataService {
|
|
|
379
379
|
* Save SQL
|
|
380
380
|
* Save or update a SQL query in a project.
|
|
381
381
|
*/
|
|
382
|
-
public static saveSql2<ThrowOnError extends boolean = false>(options: Options<SaveSql2Data, ThrowOnError>) {
|
|
383
|
-
return (options.client ?? _heyApiClient).put<SaveSql2Response, unknown, ThrowOnError>({
|
|
382
|
+
public static saveSql2<ThrowOnError extends boolean = false>(options: Options<analytic_service.SaveSql2Data, ThrowOnError>) {
|
|
383
|
+
return (options.client ?? _heyApiClient).put<analytic_service.SaveSql2Response, unknown, ThrowOnError>({
|
|
384
384
|
security: [
|
|
385
385
|
{
|
|
386
386
|
name: 'api-key',
|
|
@@ -404,8 +404,8 @@ export class DataService {
|
|
|
404
404
|
/**
|
|
405
405
|
* Query event logs
|
|
406
406
|
*/
|
|
407
|
-
public static queryLog<ThrowOnError extends boolean = false>(options: Options<QueryLogData, ThrowOnError>) {
|
|
408
|
-
return (options.client ?? _heyApiClient).post<QueryLogResponse, unknown, ThrowOnError>({
|
|
407
|
+
public static queryLog<ThrowOnError extends boolean = false>(options: Options<analytic_service.QueryLogData, ThrowOnError>) {
|
|
408
|
+
return (options.client ?? _heyApiClient).post<analytic_service.QueryLogResponse, unknown, ThrowOnError>({
|
|
409
409
|
security: [
|
|
410
410
|
{
|
|
411
411
|
name: 'api-key',
|
|
@@ -429,8 +429,8 @@ export class DataService {
|
|
|
429
429
|
/**
|
|
430
430
|
* Query event logs
|
|
431
431
|
*/
|
|
432
|
-
public static queryLog2<ThrowOnError extends boolean = false>(options: Options<QueryLog2Data, ThrowOnError>) {
|
|
433
|
-
return (options.client ?? _heyApiClient).get<QueryLog2Response, unknown, ThrowOnError>({
|
|
432
|
+
public static queryLog2<ThrowOnError extends boolean = false>(options: Options<analytic_service.QueryLog2Data, ThrowOnError>) {
|
|
433
|
+
return (options.client ?? _heyApiClient).get<analytic_service.QueryLog2Response, unknown, ThrowOnError>({
|
|
434
434
|
security: [
|
|
435
435
|
{
|
|
436
436
|
name: 'api-key',
|
|
@@ -451,8 +451,8 @@ export class DataService {
|
|
|
451
451
|
* List coins
|
|
452
452
|
* Get a list of coins in a project.
|
|
453
453
|
*/
|
|
454
|
-
public static listCoins2<ThrowOnError extends boolean = false>(options?: Options<ListCoins2Data, ThrowOnError>) {
|
|
455
|
-
return (options?.client ?? _heyApiClient).get<ListCoins2Response, unknown, ThrowOnError>({
|
|
454
|
+
public static listCoins2<ThrowOnError extends boolean = false>(options?: Options<insights_service.ListCoins2Data, ThrowOnError>) {
|
|
455
|
+
return (options?.client ?? _heyApiClient).get<insights_service.ListCoins2Response, unknown, ThrowOnError>({
|
|
456
456
|
security: [
|
|
457
457
|
{
|
|
458
458
|
name: 'api-key',
|
|
@@ -473,8 +473,8 @@ export class DataService {
|
|
|
473
473
|
* List coins
|
|
474
474
|
* Get a list of coins in a project.
|
|
475
475
|
*/
|
|
476
|
-
public static listCoins<ThrowOnError extends boolean = false>(options: Options<ListCoinsData, ThrowOnError>) {
|
|
477
|
-
return (options.client ?? _heyApiClient).get<
|
|
476
|
+
public static listCoins<ThrowOnError extends boolean = false>(options: Options<insights_service.ListCoinsData, ThrowOnError>) {
|
|
477
|
+
return (options.client ?? _heyApiClient).get<insights_service.ListCoinsResponse3, unknown, ThrowOnError>({
|
|
478
478
|
security: [
|
|
479
479
|
{
|
|
480
480
|
name: 'api-key',
|
|
@@ -495,8 +495,8 @@ export class DataService {
|
|
|
495
495
|
* Insight Query
|
|
496
496
|
* Query for metrics,event logs and coin prices in a project.
|
|
497
497
|
*/
|
|
498
|
-
public static query<ThrowOnError extends boolean = false>(options: Options<QueryData, ThrowOnError>) {
|
|
499
|
-
return (options.client ?? _heyApiClient).post<
|
|
498
|
+
public static query<ThrowOnError extends boolean = false>(options: Options<insights_service.QueryData, ThrowOnError>) {
|
|
499
|
+
return (options.client ?? _heyApiClient).post<insights_service.QueryResponse2, unknown, ThrowOnError>({
|
|
500
500
|
security: [
|
|
501
501
|
{
|
|
502
502
|
name: 'api-key',
|
|
@@ -520,8 +520,8 @@ export class DataService {
|
|
|
520
520
|
/**
|
|
521
521
|
* Get a list of metrics in a project
|
|
522
522
|
*/
|
|
523
|
-
public static getMetrics<ThrowOnError extends boolean = false>(options?: Options<GetMetricsData, ThrowOnError>) {
|
|
524
|
-
return (options?.client ?? _heyApiClient).get<
|
|
523
|
+
public static getMetrics<ThrowOnError extends boolean = false>(options?: Options<metrics_service.GetMetricsData, ThrowOnError>) {
|
|
524
|
+
return (options?.client ?? _heyApiClient).get<metrics_service.GetMetricsResponse2, unknown, ThrowOnError>({
|
|
525
525
|
security: [
|
|
526
526
|
{
|
|
527
527
|
name: 'api-key',
|
|
@@ -541,8 +541,8 @@ export class DataService {
|
|
|
541
541
|
/**
|
|
542
542
|
* Metric instant queries
|
|
543
543
|
*/
|
|
544
|
-
public static queryInstant<ThrowOnError extends boolean = false>(options: Options<QueryInstantData, ThrowOnError>) {
|
|
545
|
-
return (options.client ?? _heyApiClient).post<QueryInstantResponse, unknown, ThrowOnError>({
|
|
544
|
+
public static queryInstant<ThrowOnError extends boolean = false>(options: Options<metrics_service.QueryInstantData, ThrowOnError>) {
|
|
545
|
+
return (options.client ?? _heyApiClient).post<metrics_service.QueryInstantResponse, unknown, ThrowOnError>({
|
|
546
546
|
security: [
|
|
547
547
|
{
|
|
548
548
|
name: 'api-key',
|
|
@@ -569,8 +569,8 @@ export class DataService {
|
|
|
569
569
|
*
|
|
570
570
|
* .png)
|
|
571
571
|
*/
|
|
572
|
-
public static queryRange<ThrowOnError extends boolean = false>(options: Options<QueryRangeData, ThrowOnError>) {
|
|
573
|
-
return (options.client ?? _heyApiClient).post<QueryRangeResponse, unknown, ThrowOnError>({
|
|
572
|
+
public static queryRange<ThrowOnError extends boolean = false>(options: Options<metrics_service.QueryRangeData, ThrowOnError>) {
|
|
573
|
+
return (options.client ?? _heyApiClient).post<metrics_service.QueryRangeResponse, unknown, ThrowOnError>({
|
|
574
574
|
security: [
|
|
575
575
|
{
|
|
576
576
|
name: 'api-key',
|
|
@@ -597,8 +597,8 @@ export class WebService {
|
|
|
597
597
|
/**
|
|
598
598
|
* List all dashboards in a project
|
|
599
599
|
*/
|
|
600
|
-
public static listDashboards<ThrowOnError extends boolean = false>(options?: Options<ListDashboardsData, ThrowOnError>) {
|
|
601
|
-
return (options?.client ?? _heyApiClient).get<ListDashboardsResponse, unknown, ThrowOnError>({
|
|
600
|
+
public static listDashboards<ThrowOnError extends boolean = false>(options?: Options<web_service.ListDashboardsData, ThrowOnError>) {
|
|
601
|
+
return (options?.client ?? _heyApiClient).get<web_service.ListDashboardsResponse, unknown, ThrowOnError>({
|
|
602
602
|
security: [
|
|
603
603
|
{
|
|
604
604
|
name: 'api-key',
|
|
@@ -618,8 +618,8 @@ export class WebService {
|
|
|
618
618
|
/**
|
|
619
619
|
* Import a dashboard to another dashboard
|
|
620
620
|
*/
|
|
621
|
-
public static importDashboard<ThrowOnError extends boolean = false>(options: Options<ImportDashboardData, ThrowOnError>) {
|
|
622
|
-
return (options.client ?? _heyApiClient).post<
|
|
621
|
+
public static importDashboard<ThrowOnError extends boolean = false>(options: Options<web_service.ImportDashboardData, ThrowOnError>) {
|
|
622
|
+
return (options.client ?? _heyApiClient).post<web_service.ImportDashboardResponse2, unknown, ThrowOnError>({
|
|
623
623
|
security: [
|
|
624
624
|
{
|
|
625
625
|
name: 'api-key',
|
|
@@ -643,8 +643,8 @@ export class WebService {
|
|
|
643
643
|
/**
|
|
644
644
|
* Delete a dashboard by id
|
|
645
645
|
*/
|
|
646
|
-
public static deleteDashboard<ThrowOnError extends boolean = false>(options: Options<DeleteDashboardData, ThrowOnError>) {
|
|
647
|
-
return (options.client ?? _heyApiClient).delete<DeleteDashboardResponse, unknown, ThrowOnError>({
|
|
646
|
+
public static deleteDashboard<ThrowOnError extends boolean = false>(options: Options<web_service.DeleteDashboardData, ThrowOnError>) {
|
|
647
|
+
return (options.client ?? _heyApiClient).delete<web_service.DeleteDashboardResponse, unknown, ThrowOnError>({
|
|
648
648
|
security: [
|
|
649
649
|
{
|
|
650
650
|
name: 'api-key',
|
|
@@ -664,8 +664,8 @@ export class WebService {
|
|
|
664
664
|
/**
|
|
665
665
|
* Get a dashboard by id
|
|
666
666
|
*/
|
|
667
|
-
public static getDashboard<ThrowOnError extends boolean = false>(options: Options<GetDashboardData, ThrowOnError>) {
|
|
668
|
-
return (options.client ?? _heyApiClient).get<
|
|
667
|
+
public static getDashboard<ThrowOnError extends boolean = false>(options: Options<web_service.GetDashboardData, ThrowOnError>) {
|
|
668
|
+
return (options.client ?? _heyApiClient).get<web_service.GetDashboardResponse2, unknown, ThrowOnError>({
|
|
669
669
|
security: [
|
|
670
670
|
{
|
|
671
671
|
name: 'api-key',
|
|
@@ -685,8 +685,8 @@ export class WebService {
|
|
|
685
685
|
/**
|
|
686
686
|
* Export a dashboard to json
|
|
687
687
|
*/
|
|
688
|
-
public static exportDashboard<ThrowOnError extends boolean = false>(options: Options<ExportDashboardData, ThrowOnError>) {
|
|
689
|
-
return (options.client ?? _heyApiClient).get<
|
|
688
|
+
public static exportDashboard<ThrowOnError extends boolean = false>(options: Options<web_service.ExportDashboardData, ThrowOnError>) {
|
|
689
|
+
return (options.client ?? _heyApiClient).get<web_service.ExportDashboardResponse2, unknown, ThrowOnError>({
|
|
690
690
|
security: [
|
|
691
691
|
{
|
|
692
692
|
name: 'api-key',
|
|
@@ -706,8 +706,8 @@ export class WebService {
|
|
|
706
706
|
/**
|
|
707
707
|
* Get project details
|
|
708
708
|
*/
|
|
709
|
-
public static getProject<ThrowOnError extends boolean = false>(options: Options<GetProjectData, ThrowOnError>) {
|
|
710
|
-
return (options.client ?? _heyApiClient).get<
|
|
709
|
+
public static getProject<ThrowOnError extends boolean = false>(options: Options<web_service.GetProjectData, ThrowOnError>) {
|
|
710
|
+
return (options.client ?? _heyApiClient).get<web_service.GetProjectResponse2, unknown, ThrowOnError>({
|
|
711
711
|
security: [
|
|
712
712
|
{
|
|
713
713
|
name: 'api-key',
|
|
@@ -727,8 +727,8 @@ export class WebService {
|
|
|
727
727
|
/**
|
|
728
728
|
* Get project details
|
|
729
729
|
*/
|
|
730
|
-
public static getProjectById<ThrowOnError extends boolean = false>(options: Options<GetProjectByIdData, ThrowOnError>) {
|
|
731
|
-
return (options.client ?? _heyApiClient).get<GetProjectByIdResponse, unknown, ThrowOnError>({
|
|
730
|
+
public static getProjectById<ThrowOnError extends boolean = false>(options: Options<common.GetProjectByIdData, ThrowOnError>) {
|
|
731
|
+
return (options.client ?? _heyApiClient).get<common.GetProjectByIdResponse, unknown, ThrowOnError>({
|
|
732
732
|
security: [
|
|
733
733
|
{
|
|
734
734
|
name: 'api-key',
|
|
@@ -748,8 +748,8 @@ export class WebService {
|
|
|
748
748
|
/**
|
|
749
749
|
* Get project list
|
|
750
750
|
*/
|
|
751
|
-
public static getProjectList<ThrowOnError extends boolean = false>(options?: Options<GetProjectListData, ThrowOnError>) {
|
|
752
|
-
return (options?.client ?? _heyApiClient).get<
|
|
751
|
+
public static getProjectList<ThrowOnError extends boolean = false>(options?: Options<web_service.GetProjectListData, ThrowOnError>) {
|
|
752
|
+
return (options?.client ?? _heyApiClient).get<web_service.GetProjectListResponse2, unknown, ThrowOnError>({
|
|
753
753
|
security: [
|
|
754
754
|
{
|
|
755
755
|
name: 'api-key',
|
|
@@ -769,8 +769,8 @@ export class WebService {
|
|
|
769
769
|
/**
|
|
770
770
|
* List all dashboards in a project
|
|
771
771
|
*/
|
|
772
|
-
public static listDashboards2<ThrowOnError extends boolean = false>(options: Options<ListDashboards2Data, ThrowOnError>) {
|
|
773
|
-
return (options.client ?? _heyApiClient).get<ListDashboards2Response, unknown, ThrowOnError>({
|
|
772
|
+
public static listDashboards2<ThrowOnError extends boolean = false>(options: Options<web_service.ListDashboards2Data, ThrowOnError>) {
|
|
773
|
+
return (options.client ?? _heyApiClient).get<web_service.ListDashboards2Response, unknown, ThrowOnError>({
|
|
774
774
|
security: [
|
|
775
775
|
{
|
|
776
776
|
name: 'api-key',
|
|
@@ -790,8 +790,8 @@ export class WebService {
|
|
|
790
790
|
/**
|
|
791
791
|
* Get a dashboard by id
|
|
792
792
|
*/
|
|
793
|
-
public static getDashboard2<ThrowOnError extends boolean = false>(options: Options<GetDashboard2Data, ThrowOnError>) {
|
|
794
|
-
return (options.client ?? _heyApiClient).get<GetDashboard2Response, unknown, ThrowOnError>({
|
|
793
|
+
public static getDashboard2<ThrowOnError extends boolean = false>(options: Options<web_service.GetDashboard2Data, ThrowOnError>) {
|
|
794
|
+
return (options.client ?? _heyApiClient).get<web_service.GetDashboard2Response, unknown, ThrowOnError>({
|
|
795
795
|
security: [
|
|
796
796
|
{
|
|
797
797
|
name: 'api-key',
|
|
@@ -818,8 +818,8 @@ export class PriceService {
|
|
|
818
818
|
* If we have at least one price data for the given coin, we will return it with the actual timestamp.
|
|
819
819
|
* Client is responsible for checking the timestamp and decide whether to use the price or not.
|
|
820
820
|
*/
|
|
821
|
-
public static getPrice<ThrowOnError extends boolean = false>(options?: Options<GetPriceData, ThrowOnError>) {
|
|
822
|
-
return (options?.client ?? _heyApiClient).get<
|
|
821
|
+
public static getPrice<ThrowOnError extends boolean = false>(options?: Options<price_service.GetPriceData, ThrowOnError>) {
|
|
822
|
+
return (options?.client ?? _heyApiClient).get<price_service.GetPriceResponse2, unknown, ThrowOnError>({
|
|
823
823
|
security: [
|
|
824
824
|
{
|
|
825
825
|
name: 'api-key',
|
|
@@ -846,8 +846,8 @@ export class PriceService {
|
|
|
846
846
|
*
|
|
847
847
|
* 
|
|
848
848
|
*/
|
|
849
|
-
public static addCoinByGecko<ThrowOnError extends boolean = false>(options: Options<AddCoinByGeckoData, ThrowOnError>) {
|
|
850
|
-
return (options.client ?? _heyApiClient).post<
|
|
849
|
+
public static addCoinByGecko<ThrowOnError extends boolean = false>(options: Options<price_service.AddCoinByGeckoData, ThrowOnError>) {
|
|
850
|
+
return (options.client ?? _heyApiClient).post<price_service.AddCoinByGeckoResponse2, unknown, ThrowOnError>({
|
|
851
851
|
security: [
|
|
852
852
|
{
|
|
853
853
|
name: 'api-key',
|
|
@@ -871,8 +871,8 @@ export class PriceService {
|
|
|
871
871
|
/**
|
|
872
872
|
* Batch get prices
|
|
873
873
|
*/
|
|
874
|
-
public static batchGetPrices<ThrowOnError extends boolean = false>(options: Options<BatchGetPricesData, ThrowOnError>) {
|
|
875
|
-
return (options.client ?? _heyApiClient).post<
|
|
874
|
+
public static batchGetPrices<ThrowOnError extends boolean = false>(options: Options<price_service.BatchGetPricesData, ThrowOnError>) {
|
|
875
|
+
return (options.client ?? _heyApiClient).post<price_service.BatchGetPricesResponse2, unknown, ThrowOnError>({
|
|
876
876
|
security: [
|
|
877
877
|
{
|
|
878
878
|
name: 'api-key',
|
|
@@ -896,8 +896,8 @@ export class PriceService {
|
|
|
896
896
|
/**
|
|
897
897
|
* Check latest price
|
|
898
898
|
*/
|
|
899
|
-
public static checkLatestPrice<ThrowOnError extends boolean = false>(options?: Options<CheckLatestPriceData, ThrowOnError>) {
|
|
900
|
-
return (options?.client ?? _heyApiClient).get<
|
|
899
|
+
public static checkLatestPrice<ThrowOnError extends boolean = false>(options?: Options<price_service.CheckLatestPriceData, ThrowOnError>) {
|
|
900
|
+
return (options?.client ?? _heyApiClient).get<price_service.CheckLatestPriceResponse2, unknown, ThrowOnError>({
|
|
901
901
|
security: [
|
|
902
902
|
{
|
|
903
903
|
name: 'api-key',
|
|
@@ -917,8 +917,8 @@ export class PriceService {
|
|
|
917
917
|
/**
|
|
918
918
|
* List coins
|
|
919
919
|
*/
|
|
920
|
-
public static priceListCoins<ThrowOnError extends boolean = false>(options?: Options<PriceListCoinsData, ThrowOnError>) {
|
|
921
|
-
return (options?.client ?? _heyApiClient).get<PriceListCoinsResponse, unknown, ThrowOnError>({
|
|
920
|
+
public static priceListCoins<ThrowOnError extends boolean = false>(options?: Options<price_service.PriceListCoinsData, ThrowOnError>) {
|
|
921
|
+
return (options?.client ?? _heyApiClient).get<price_service.PriceListCoinsResponse, unknown, ThrowOnError>({
|
|
922
922
|
security: [
|
|
923
923
|
{
|
|
924
924
|
name: 'api-key',
|
|
@@ -941,8 +941,8 @@ export class ProcessorService {
|
|
|
941
941
|
/**
|
|
942
942
|
* Get processor status
|
|
943
943
|
*/
|
|
944
|
-
public static getProcessorStatusV2<ThrowOnError extends boolean = false>(options: Options<GetProcessorStatusV2Data, ThrowOnError>) {
|
|
945
|
-
return (options.client ?? _heyApiClient).get<GetProcessorStatusV2Response, unknown, ThrowOnError>({
|
|
944
|
+
public static getProcessorStatusV2<ThrowOnError extends boolean = false>(options: Options<processor_service.GetProcessorStatusV2Data, ThrowOnError>) {
|
|
945
|
+
return (options.client ?? _heyApiClient).get<processor_service.GetProcessorStatusV2Response, unknown, ThrowOnError>({
|
|
946
946
|
security: [
|
|
947
947
|
{
|
|
948
948
|
name: 'api-key',
|
|
@@ -965,8 +965,8 @@ export class DebugAndSimulationService {
|
|
|
965
965
|
/**
|
|
966
966
|
* Estimate gas price
|
|
967
967
|
*/
|
|
968
|
-
public static getEstimatedGasPrice<ThrowOnError extends boolean = false>(options?: Options<GetEstimatedGasPriceData, ThrowOnError>) {
|
|
969
|
-
return (options?.client ?? _heyApiClient).get<
|
|
968
|
+
public static getEstimatedGasPrice<ThrowOnError extends boolean = false>(options?: Options<solidity_service.GetEstimatedGasPriceData, ThrowOnError>) {
|
|
969
|
+
return (options?.client ?? _heyApiClient).get<solidity_service.GetEstimatedGasPriceResponse2, unknown, ThrowOnError>({
|
|
970
970
|
security: [
|
|
971
971
|
{
|
|
972
972
|
name: 'api-key',
|
|
@@ -986,8 +986,8 @@ export class DebugAndSimulationService {
|
|
|
986
986
|
/**
|
|
987
987
|
* Search transactions
|
|
988
988
|
*/
|
|
989
|
-
public static searchTransactions<ThrowOnError extends boolean = false>(options: Options<SearchTransactionsData, ThrowOnError>) {
|
|
990
|
-
return (options.client ?? _heyApiClient).get<SearchTransactionsResponse, unknown, ThrowOnError>({
|
|
989
|
+
public static searchTransactions<ThrowOnError extends boolean = false>(options: Options<solidity_service.SearchTransactionsData, ThrowOnError>) {
|
|
990
|
+
return (options.client ?? _heyApiClient).get<solidity_service.SearchTransactionsResponse, unknown, ThrowOnError>({
|
|
991
991
|
security: [
|
|
992
992
|
{
|
|
993
993
|
name: 'api-key',
|
|
@@ -1007,8 +1007,8 @@ export class DebugAndSimulationService {
|
|
|
1007
1007
|
/**
|
|
1008
1008
|
* Get list of simulations
|
|
1009
1009
|
*/
|
|
1010
|
-
public static getSimulations<ThrowOnError extends boolean = false>(options: Options<GetSimulationsData, ThrowOnError>) {
|
|
1011
|
-
return (options.client ?? _heyApiClient).get<
|
|
1010
|
+
public static getSimulations<ThrowOnError extends boolean = false>(options: Options<solidity_service.GetSimulationsData, ThrowOnError>) {
|
|
1011
|
+
return (options.client ?? _heyApiClient).get<solidity_service.GetSimulationsResponse2, unknown, ThrowOnError>({
|
|
1012
1012
|
security: [
|
|
1013
1013
|
{
|
|
1014
1014
|
name: 'api-key',
|
|
@@ -1028,8 +1028,8 @@ export class DebugAndSimulationService {
|
|
|
1028
1028
|
/**
|
|
1029
1029
|
* Get simulation by ID
|
|
1030
1030
|
*/
|
|
1031
|
-
public static getSimulation<ThrowOnError extends boolean = false>(options: Options<GetSimulationData, ThrowOnError>) {
|
|
1032
|
-
return (options.client ?? _heyApiClient).get<
|
|
1031
|
+
public static getSimulation<ThrowOnError extends boolean = false>(options: Options<solidity_service.GetSimulationData, ThrowOnError>) {
|
|
1032
|
+
return (options.client ?? _heyApiClient).get<solidity_service.GetSimulationResponse2, unknown, ThrowOnError>({
|
|
1033
1033
|
security: [
|
|
1034
1034
|
{
|
|
1035
1035
|
name: 'api-key',
|
|
@@ -1049,8 +1049,8 @@ export class DebugAndSimulationService {
|
|
|
1049
1049
|
/**
|
|
1050
1050
|
* Get bundle simulation by ID
|
|
1051
1051
|
*/
|
|
1052
|
-
public static getSimulationBundleInProject<ThrowOnError extends boolean = false>(options: Options<GetSimulationBundleInProjectData, ThrowOnError>) {
|
|
1053
|
-
return (options.client ?? _heyApiClient).get<GetSimulationBundleInProjectResponse, unknown, ThrowOnError>({
|
|
1052
|
+
public static getSimulationBundleInProject<ThrowOnError extends boolean = false>(options: Options<solidity_service.GetSimulationBundleInProjectData, ThrowOnError>) {
|
|
1053
|
+
return (options.client ?? _heyApiClient).get<solidity_service.GetSimulationBundleInProjectResponse, unknown, ThrowOnError>({
|
|
1054
1054
|
security: [
|
|
1055
1055
|
{
|
|
1056
1056
|
name: 'api-key',
|
|
@@ -1070,8 +1070,8 @@ export class DebugAndSimulationService {
|
|
|
1070
1070
|
/**
|
|
1071
1071
|
* Get trace by bundle simulation
|
|
1072
1072
|
*/
|
|
1073
|
-
public static getCallTraceByBundle<ThrowOnError extends boolean = false>(options: Options<GetCallTraceByBundleData, ThrowOnError>) {
|
|
1074
|
-
return (options.client ?? _heyApiClient).get<GetCallTraceByBundleResponse, unknown, ThrowOnError>({
|
|
1073
|
+
public static getCallTraceByBundle<ThrowOnError extends boolean = false>(options: Options<google.GetCallTraceByBundleData, ThrowOnError>) {
|
|
1074
|
+
return (options.client ?? _heyApiClient).get<google.GetCallTraceByBundleResponse, unknown, ThrowOnError>({
|
|
1075
1075
|
security: [
|
|
1076
1076
|
{
|
|
1077
1077
|
name: 'api-key',
|
|
@@ -1093,8 +1093,8 @@ export class DebugAndSimulationService {
|
|
|
1093
1093
|
* Create a new transaction simulation. The simulation body should be included in the request body.
|
|
1094
1094
|
* Your simulations will be saved, and a unique ID for each simulation is included in the response. It will be useful for fetching simulation details.
|
|
1095
1095
|
*/
|
|
1096
|
-
public static simulateTransaction<ThrowOnError extends boolean = false>(options: Options<SimulateTransactionData, ThrowOnError>) {
|
|
1097
|
-
return (options.client ?? _heyApiClient).post<
|
|
1096
|
+
public static simulateTransaction<ThrowOnError extends boolean = false>(options: Options<solidity_service.SimulateTransactionData, ThrowOnError>) {
|
|
1097
|
+
return (options.client ?? _heyApiClient).post<solidity_service.SimulateTransactionResponse2, unknown, ThrowOnError>({
|
|
1098
1098
|
security: [
|
|
1099
1099
|
{
|
|
1100
1100
|
name: 'api-key',
|
|
@@ -1118,8 +1118,8 @@ export class DebugAndSimulationService {
|
|
|
1118
1118
|
/**
|
|
1119
1119
|
* Get trace by simulation
|
|
1120
1120
|
*/
|
|
1121
|
-
public static getCallTraceBySimulation<ThrowOnError extends boolean = false>(options: Options<GetCallTraceBySimulationData, ThrowOnError>) {
|
|
1122
|
-
return (options.client ?? _heyApiClient).get<GetCallTraceBySimulationResponse, unknown, ThrowOnError>({
|
|
1121
|
+
public static getCallTraceBySimulation<ThrowOnError extends boolean = false>(options: Options<google.GetCallTraceBySimulationData, ThrowOnError>) {
|
|
1122
|
+
return (options.client ?? _heyApiClient).get<google.GetCallTraceBySimulationResponse, unknown, ThrowOnError>({
|
|
1123
1123
|
security: [
|
|
1124
1124
|
{
|
|
1125
1125
|
name: 'api-key',
|
|
@@ -1140,8 +1140,8 @@ export class DebugAndSimulationService {
|
|
|
1140
1140
|
* Run bundle simulation
|
|
1141
1141
|
* You could also create bundle simulations so that one transaction could be executed one after another. For `blockNumber` `transactionIndex` `networkId` `stateOverrides` and `blockOverrides` fields, only the first simulation takes effect.
|
|
1142
1142
|
*/
|
|
1143
|
-
public static simulateTransactionBundle<ThrowOnError extends boolean = false>(options: Options<SimulateTransactionBundleData, ThrowOnError>) {
|
|
1144
|
-
return (options.client ?? _heyApiClient).post<
|
|
1143
|
+
public static simulateTransactionBundle<ThrowOnError extends boolean = false>(options: Options<solidity_service.SimulateTransactionBundleData, ThrowOnError>) {
|
|
1144
|
+
return (options.client ?? _heyApiClient).post<solidity_service.SimulateTransactionBundleResponse2, unknown, ThrowOnError>({
|
|
1145
1145
|
security: [
|
|
1146
1146
|
{
|
|
1147
1147
|
name: 'api-key',
|
|
@@ -1172,8 +1172,8 @@ export class DebugAndSimulationService {
|
|
|
1172
1172
|
*
|
|
1173
1173
|
* %20(1)%20(1)%20(1).png)
|
|
1174
1174
|
*/
|
|
1175
|
-
public static getCallTraceByTransaction<ThrowOnError extends boolean = false>(options: Options<GetCallTraceByTransactionData, ThrowOnError>) {
|
|
1176
|
-
return (options.client ?? _heyApiClient).get<GetCallTraceByTransactionResponse, unknown, ThrowOnError>({
|
|
1175
|
+
public static getCallTraceByTransaction<ThrowOnError extends boolean = false>(options: Options<google.GetCallTraceByTransactionData, ThrowOnError>) {
|
|
1176
|
+
return (options.client ?? _heyApiClient).get<google.GetCallTraceByTransactionResponse, unknown, ThrowOnError>({
|
|
1177
1177
|
security: [
|
|
1178
1178
|
{
|
|
1179
1179
|
name: 'api-key',
|
|
@@ -1196,8 +1196,8 @@ export class ForksService {
|
|
|
1196
1196
|
/**
|
|
1197
1197
|
* List all forks
|
|
1198
1198
|
*/
|
|
1199
|
-
public static listForks<ThrowOnError extends boolean = false>(options: Options<ListForksData, ThrowOnError>) {
|
|
1200
|
-
return (options.client ?? _heyApiClient).get<
|
|
1199
|
+
public static listForks<ThrowOnError extends boolean = false>(options: Options<solidity_service.ListForksData, ThrowOnError>) {
|
|
1200
|
+
return (options.client ?? _heyApiClient).get<solidity_service.ListForksResponse2, unknown, ThrowOnError>({
|
|
1201
1201
|
security: [
|
|
1202
1202
|
{
|
|
1203
1203
|
name: 'api-key',
|
|
@@ -1217,8 +1217,8 @@ export class ForksService {
|
|
|
1217
1217
|
/**
|
|
1218
1218
|
* Create a fork
|
|
1219
1219
|
*/
|
|
1220
|
-
public static createFork<ThrowOnError extends boolean = false>(options: Options<CreateForkData, ThrowOnError>) {
|
|
1221
|
-
return (options.client ?? _heyApiClient).post<
|
|
1220
|
+
public static createFork<ThrowOnError extends boolean = false>(options: Options<solidity_service.CreateForkData, ThrowOnError>) {
|
|
1221
|
+
return (options.client ?? _heyApiClient).post<solidity_service.CreateForkResponse2, unknown, ThrowOnError>({
|
|
1222
1222
|
security: [
|
|
1223
1223
|
{
|
|
1224
1224
|
name: 'api-key',
|
|
@@ -1242,8 +1242,8 @@ export class ForksService {
|
|
|
1242
1242
|
/**
|
|
1243
1243
|
* Get trace by bundle simulation
|
|
1244
1244
|
*/
|
|
1245
|
-
public static getCallTraceOnForkBundle<ThrowOnError extends boolean = false>(options: Options<GetCallTraceOnForkBundleData, ThrowOnError>) {
|
|
1246
|
-
return (options.client ?? _heyApiClient).get<GetCallTraceOnForkBundleResponse, unknown, ThrowOnError>({
|
|
1245
|
+
public static getCallTraceOnForkBundle<ThrowOnError extends boolean = false>(options: Options<google.GetCallTraceOnForkBundleData, ThrowOnError>) {
|
|
1246
|
+
return (options.client ?? _heyApiClient).get<google.GetCallTraceOnForkBundleResponse, unknown, ThrowOnError>({
|
|
1247
1247
|
security: [
|
|
1248
1248
|
{
|
|
1249
1249
|
name: 'api-key',
|
|
@@ -1263,8 +1263,8 @@ export class ForksService {
|
|
|
1263
1263
|
/**
|
|
1264
1264
|
* Run Simulation
|
|
1265
1265
|
*/
|
|
1266
|
-
public static simulateTransactionOnFork<ThrowOnError extends boolean = false>(options: Options<SimulateTransactionOnForkData, ThrowOnError>) {
|
|
1267
|
-
return (options.client ?? _heyApiClient).post<SimulateTransactionOnForkResponse, unknown, ThrowOnError>({
|
|
1266
|
+
public static simulateTransactionOnFork<ThrowOnError extends boolean = false>(options: Options<solidity_service.SimulateTransactionOnForkData, ThrowOnError>) {
|
|
1267
|
+
return (options.client ?? _heyApiClient).post<solidity_service.SimulateTransactionOnForkResponse, unknown, ThrowOnError>({
|
|
1268
1268
|
security: [
|
|
1269
1269
|
{
|
|
1270
1270
|
name: 'api-key',
|
|
@@ -1288,8 +1288,8 @@ export class ForksService {
|
|
|
1288
1288
|
/**
|
|
1289
1289
|
* Get trace by simulation
|
|
1290
1290
|
*/
|
|
1291
|
-
public static getCallTraceOnForkSimulation<ThrowOnError extends boolean = false>(options: Options<GetCallTraceOnForkSimulationData, ThrowOnError>) {
|
|
1292
|
-
return (options.client ?? _heyApiClient).get<GetCallTraceOnForkSimulationResponse, unknown, ThrowOnError>({
|
|
1291
|
+
public static getCallTraceOnForkSimulation<ThrowOnError extends boolean = false>(options: Options<google.GetCallTraceOnForkSimulationData, ThrowOnError>) {
|
|
1292
|
+
return (options.client ?? _heyApiClient).get<google.GetCallTraceOnForkSimulationResponse, unknown, ThrowOnError>({
|
|
1293
1293
|
security: [
|
|
1294
1294
|
{
|
|
1295
1295
|
name: 'api-key',
|
|
@@ -1309,8 +1309,8 @@ export class ForksService {
|
|
|
1309
1309
|
/**
|
|
1310
1310
|
* Run bundle simulation
|
|
1311
1311
|
*/
|
|
1312
|
-
public static simulateTransactionBundleOnFork<ThrowOnError extends boolean = false>(options: Options<SimulateTransactionBundleOnForkData, ThrowOnError>) {
|
|
1313
|
-
return (options.client ?? _heyApiClient).post<SimulateTransactionBundleOnForkResponse, unknown, ThrowOnError>({
|
|
1312
|
+
public static simulateTransactionBundleOnFork<ThrowOnError extends boolean = false>(options: Options<solidity_service.SimulateTransactionBundleOnForkData, ThrowOnError>) {
|
|
1313
|
+
return (options.client ?? _heyApiClient).post<solidity_service.SimulateTransactionBundleOnForkResponse, unknown, ThrowOnError>({
|
|
1314
1314
|
security: [
|
|
1315
1315
|
{
|
|
1316
1316
|
name: 'api-key',
|
|
@@ -1334,8 +1334,8 @@ export class ForksService {
|
|
|
1334
1334
|
/**
|
|
1335
1335
|
* Get trace by transaction
|
|
1336
1336
|
*/
|
|
1337
|
-
public static getCallTraceOnForkTransaction<ThrowOnError extends boolean = false>(options: Options<GetCallTraceOnForkTransactionData, ThrowOnError>) {
|
|
1338
|
-
return (options.client ?? _heyApiClient).get<GetCallTraceOnForkTransactionResponse, unknown, ThrowOnError>({
|
|
1337
|
+
public static getCallTraceOnForkTransaction<ThrowOnError extends boolean = false>(options: Options<google.GetCallTraceOnForkTransactionData, ThrowOnError>) {
|
|
1338
|
+
return (options.client ?? _heyApiClient).get<google.GetCallTraceOnForkTransactionResponse, unknown, ThrowOnError>({
|
|
1339
1339
|
security: [
|
|
1340
1340
|
{
|
|
1341
1341
|
name: 'api-key',
|
|
@@ -1355,8 +1355,8 @@ export class ForksService {
|
|
|
1355
1355
|
/**
|
|
1356
1356
|
* Delete fork by id
|
|
1357
1357
|
*/
|
|
1358
|
-
public static deleteFork<ThrowOnError extends boolean = false>(options: Options<DeleteForkData, ThrowOnError>) {
|
|
1359
|
-
return (options.client ?? _heyApiClient).delete<DeleteForkResponse, unknown, ThrowOnError>({
|
|
1358
|
+
public static deleteFork<ThrowOnError extends boolean = false>(options: Options<solidit_service.DeleteForkData, ThrowOnError>) {
|
|
1359
|
+
return (options.client ?? _heyApiClient).delete<solidit_service.DeleteForkResponse, unknown, ThrowOnError>({
|
|
1360
1360
|
security: [
|
|
1361
1361
|
{
|
|
1362
1362
|
name: 'api-key',
|
|
@@ -1376,8 +1376,8 @@ export class ForksService {
|
|
|
1376
1376
|
/**
|
|
1377
1377
|
* Get fork by id
|
|
1378
1378
|
*/
|
|
1379
|
-
public static getFork<ThrowOnError extends boolean = false>(options: Options<GetForkData, ThrowOnError>) {
|
|
1380
|
-
return (options.client ?? _heyApiClient).get<
|
|
1379
|
+
public static getFork<ThrowOnError extends boolean = false>(options: Options<solidity_service.GetForkData, ThrowOnError>) {
|
|
1380
|
+
return (options.client ?? _heyApiClient).get<solidity_service.GetForkResponse2, unknown, ThrowOnError>({
|
|
1381
1381
|
security: [
|
|
1382
1382
|
{
|
|
1383
1383
|
name: 'api-key',
|
|
@@ -1397,8 +1397,8 @@ export class ForksService {
|
|
|
1397
1397
|
/**
|
|
1398
1398
|
* Update fork by id
|
|
1399
1399
|
*/
|
|
1400
|
-
public static updateFork<ThrowOnError extends boolean = false>(options: Options<UpdateForkData, ThrowOnError>) {
|
|
1401
|
-
return (options.client ?? _heyApiClient).put<
|
|
1400
|
+
public static updateFork<ThrowOnError extends boolean = false>(options: Options<solidity_service.UpdateForkData, ThrowOnError>) {
|
|
1401
|
+
return (options.client ?? _heyApiClient).put<solidity_service.UpdateForkResponse2, unknown, ThrowOnError>({
|
|
1402
1402
|
security: [
|
|
1403
1403
|
{
|
|
1404
1404
|
name: 'api-key',
|
|
@@ -1422,8 +1422,8 @@ export class ForksService {
|
|
|
1422
1422
|
/**
|
|
1423
1423
|
* Get fork info by id
|
|
1424
1424
|
*/
|
|
1425
|
-
public static getForkInfo<ThrowOnError extends boolean = false>(options: Options<GetForkInfoData, ThrowOnError>) {
|
|
1426
|
-
return (options.client ?? _heyApiClient).get<
|
|
1425
|
+
public static getForkInfo<ThrowOnError extends boolean = false>(options: Options<solidity_service.GetForkInfoData, ThrowOnError>) {
|
|
1426
|
+
return (options.client ?? _heyApiClient).get<solidity_service.GetForkInfoResponse2, unknown, ThrowOnError>({
|
|
1427
1427
|
security: [
|
|
1428
1428
|
{
|
|
1429
1429
|
name: 'api-key',
|