@sentio/api 1.0.3-rc.61 → 1.0.3-rc.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/client.gen.js +1 -1
- package/dist/src/client.gen.js.map +1 -1
- package/dist/src/sdk.gen.d.ts +32 -29
- package/dist/src/sdk.gen.js +87 -87
- package/dist/src/sdk.gen.js.map +1 -1
- package/dist/src/types.gen.d.ts +236 -185
- package/package.json +1 -1
- package/src/client.gen.ts +1 -1
- package/src/sdk.gen.ts +92 -92
- package/src/types.gen.ts +237 -185
package/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 { ai_service, alert_service, analytic_service, web_service, insights_service, metrics_service,
|
|
4
|
+
import type { ai_service, alert_service, analytic_service, web_service, insights_service, metrics_service, google, move_service, price_service, processor_service, solidity_service, solidit_service } from './types.gen';
|
|
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> & {
|
|
@@ -760,14 +760,12 @@ export class DataService {
|
|
|
760
760
|
});
|
|
761
761
|
}
|
|
762
762
|
|
|
763
|
-
}
|
|
764
|
-
|
|
765
|
-
export class WebService {
|
|
766
763
|
/**
|
|
767
|
-
*
|
|
764
|
+
* Query Table By Name
|
|
765
|
+
* Query table schema by name.
|
|
768
766
|
*/
|
|
769
|
-
public static
|
|
770
|
-
return (options?.client ?? _heyApiClient).get<
|
|
767
|
+
public static queryTable2<ThrowOnError extends boolean = false>(options?: Options<analytic_service.QueryTable2Data, ThrowOnError>) {
|
|
768
|
+
return (options?.client ?? _heyApiClient).get<analytic_service.QueryTable2Response, unknown, ThrowOnError>({
|
|
771
769
|
security: [
|
|
772
770
|
{
|
|
773
771
|
name: 'api-key',
|
|
@@ -779,16 +777,16 @@ export class WebService {
|
|
|
779
777
|
type: 'apiKey'
|
|
780
778
|
}
|
|
781
779
|
],
|
|
782
|
-
url: '/api/v1/
|
|
780
|
+
url: '/api/v1/sql/table',
|
|
783
781
|
...options
|
|
784
782
|
});
|
|
785
783
|
}
|
|
786
784
|
|
|
787
785
|
/**
|
|
788
|
-
*
|
|
786
|
+
* List Tables
|
|
789
787
|
*/
|
|
790
|
-
public static
|
|
791
|
-
return (options
|
|
788
|
+
public static listTables2<ThrowOnError extends boolean = false>(options?: Options<analytic_service.ListTables2Data, ThrowOnError>) {
|
|
789
|
+
return (options?.client ?? _heyApiClient).get<analytic_service.ListTables2Response, unknown, ThrowOnError>({
|
|
792
790
|
security: [
|
|
793
791
|
{
|
|
794
792
|
name: 'api-key',
|
|
@@ -800,20 +798,17 @@ export class WebService {
|
|
|
800
798
|
type: 'apiKey'
|
|
801
799
|
}
|
|
802
800
|
],
|
|
803
|
-
url: '/api/v1/
|
|
804
|
-
...options
|
|
805
|
-
headers: {
|
|
806
|
-
'Content-Type': 'application/json',
|
|
807
|
-
...options?.headers
|
|
808
|
-
}
|
|
801
|
+
url: '/api/v1/sql/tables',
|
|
802
|
+
...options
|
|
809
803
|
});
|
|
810
804
|
}
|
|
811
805
|
|
|
812
806
|
/**
|
|
813
|
-
*
|
|
807
|
+
* Query Table By Name
|
|
808
|
+
* Query table schema by name.
|
|
814
809
|
*/
|
|
815
|
-
public static
|
|
816
|
-
return (options.client ?? _heyApiClient).
|
|
810
|
+
public static queryTable<ThrowOnError extends boolean = false>(options: Options<analytic_service.QueryTableData, ThrowOnError>) {
|
|
811
|
+
return (options.client ?? _heyApiClient).get<analytic_service.QueryTableResponse2, unknown, ThrowOnError>({
|
|
817
812
|
security: [
|
|
818
813
|
{
|
|
819
814
|
name: 'api-key',
|
|
@@ -825,16 +820,16 @@ export class WebService {
|
|
|
825
820
|
type: 'apiKey'
|
|
826
821
|
}
|
|
827
822
|
],
|
|
828
|
-
url: '/api/v1/
|
|
823
|
+
url: '/api/v1/sql/{owner}/{slug}/table/{name}',
|
|
829
824
|
...options
|
|
830
825
|
});
|
|
831
826
|
}
|
|
832
827
|
|
|
833
828
|
/**
|
|
834
|
-
*
|
|
829
|
+
* List Tables
|
|
835
830
|
*/
|
|
836
|
-
public static
|
|
837
|
-
return (options.client ?? _heyApiClient).get<
|
|
831
|
+
public static listTables<ThrowOnError extends boolean = false>(options: Options<analytic_service.ListTablesData, ThrowOnError>) {
|
|
832
|
+
return (options.client ?? _heyApiClient).get<analytic_service.ListTablesResponse2, unknown, ThrowOnError>({
|
|
838
833
|
security: [
|
|
839
834
|
{
|
|
840
835
|
name: 'api-key',
|
|
@@ -846,16 +841,19 @@ export class WebService {
|
|
|
846
841
|
type: 'apiKey'
|
|
847
842
|
}
|
|
848
843
|
],
|
|
849
|
-
url: '/api/v1/
|
|
844
|
+
url: '/api/v1/sql/{owner}/{slug}/tables',
|
|
850
845
|
...options
|
|
851
846
|
});
|
|
852
847
|
}
|
|
853
848
|
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
export class WebService {
|
|
854
852
|
/**
|
|
855
|
-
*
|
|
853
|
+
* List all dashboards in a project
|
|
856
854
|
*/
|
|
857
|
-
public static
|
|
858
|
-
return (options
|
|
855
|
+
public static listDashboards<ThrowOnError extends boolean = false>(options?: Options<web_service.ListDashboardsData, ThrowOnError>) {
|
|
856
|
+
return (options?.client ?? _heyApiClient).get<web_service.ListDashboardsResponse, unknown, ThrowOnError>({
|
|
859
857
|
security: [
|
|
860
858
|
{
|
|
861
859
|
name: 'api-key',
|
|
@@ -867,16 +865,16 @@ export class WebService {
|
|
|
867
865
|
type: 'apiKey'
|
|
868
866
|
}
|
|
869
867
|
],
|
|
870
|
-
url: '/api/v1/dashboards
|
|
868
|
+
url: '/api/v1/dashboards',
|
|
871
869
|
...options
|
|
872
870
|
});
|
|
873
871
|
}
|
|
874
872
|
|
|
875
873
|
/**
|
|
876
|
-
*
|
|
874
|
+
* Import a dashboard to another dashboard
|
|
877
875
|
*/
|
|
878
|
-
public static
|
|
879
|
-
return (options.client ?? _heyApiClient).
|
|
876
|
+
public static importDashboard<ThrowOnError extends boolean = false>(options: Options<web_service.ImportDashboardData, ThrowOnError>) {
|
|
877
|
+
return (options.client ?? _heyApiClient).post<web_service.ImportDashboardResponse2, unknown, ThrowOnError>({
|
|
880
878
|
security: [
|
|
881
879
|
{
|
|
882
880
|
name: 'api-key',
|
|
@@ -888,16 +886,20 @@ export class WebService {
|
|
|
888
886
|
type: 'apiKey'
|
|
889
887
|
}
|
|
890
888
|
],
|
|
891
|
-
url: '/api/v1/dashboards/
|
|
892
|
-
...options
|
|
889
|
+
url: '/api/v1/dashboards/json',
|
|
890
|
+
...options,
|
|
891
|
+
headers: {
|
|
892
|
+
'Content-Type': 'application/json',
|
|
893
|
+
...options?.headers
|
|
894
|
+
}
|
|
893
895
|
});
|
|
894
896
|
}
|
|
895
897
|
|
|
896
898
|
/**
|
|
897
|
-
*
|
|
899
|
+
* Delete a dashboard by id
|
|
898
900
|
*/
|
|
899
|
-
public static
|
|
900
|
-
return (options.client ?? _heyApiClient).
|
|
901
|
+
public static deleteDashboard<ThrowOnError extends boolean = false>(options: Options<web_service.DeleteDashboardData, ThrowOnError>) {
|
|
902
|
+
return (options.client ?? _heyApiClient).delete<web_service.DeleteDashboardResponse, unknown, ThrowOnError>({
|
|
901
903
|
security: [
|
|
902
904
|
{
|
|
903
905
|
name: 'api-key',
|
|
@@ -909,16 +911,16 @@ export class WebService {
|
|
|
909
911
|
type: 'apiKey'
|
|
910
912
|
}
|
|
911
913
|
],
|
|
912
|
-
url: '/api/v1/
|
|
914
|
+
url: '/api/v1/dashboards/{dashboardId}',
|
|
913
915
|
...options
|
|
914
916
|
});
|
|
915
917
|
}
|
|
916
918
|
|
|
917
919
|
/**
|
|
918
|
-
* Get
|
|
920
|
+
* Get a dashboard by id
|
|
919
921
|
*/
|
|
920
|
-
public static
|
|
921
|
-
return (options.client ?? _heyApiClient).get<web_service.
|
|
922
|
+
public static getDashboard<ThrowOnError extends boolean = false>(options: Options<web_service.GetDashboardData, ThrowOnError>) {
|
|
923
|
+
return (options.client ?? _heyApiClient).get<web_service.GetDashboardResponse2, unknown, ThrowOnError>({
|
|
922
924
|
security: [
|
|
923
925
|
{
|
|
924
926
|
name: 'api-key',
|
|
@@ -930,16 +932,16 @@ export class WebService {
|
|
|
930
932
|
type: 'apiKey'
|
|
931
933
|
}
|
|
932
934
|
],
|
|
933
|
-
url: '/api/v1/
|
|
935
|
+
url: '/api/v1/dashboards/{dashboardId}',
|
|
934
936
|
...options
|
|
935
937
|
});
|
|
936
938
|
}
|
|
937
939
|
|
|
938
940
|
/**
|
|
939
|
-
*
|
|
941
|
+
* Get dashboard history by dashboard id
|
|
940
942
|
*/
|
|
941
|
-
public static
|
|
942
|
-
return (options.client ?? _heyApiClient).
|
|
943
|
+
public static getDashboardHistory<ThrowOnError extends boolean = false>(options: Options<web_service.GetDashboardHistoryData, ThrowOnError>) {
|
|
944
|
+
return (options.client ?? _heyApiClient).get<web_service.GetDashboardHistoryResponse2, unknown, ThrowOnError>({
|
|
943
945
|
security: [
|
|
944
946
|
{
|
|
945
947
|
name: 'api-key',
|
|
@@ -951,20 +953,16 @@ export class WebService {
|
|
|
951
953
|
type: 'apiKey'
|
|
952
954
|
}
|
|
953
955
|
],
|
|
954
|
-
url: '/api/v1/
|
|
955
|
-
...options
|
|
956
|
-
headers: {
|
|
957
|
-
'Content-Type': 'application/json',
|
|
958
|
-
...options?.headers
|
|
959
|
-
}
|
|
956
|
+
url: '/api/v1/dashboards/{dashboardId}/history',
|
|
957
|
+
...options
|
|
960
958
|
});
|
|
961
959
|
}
|
|
962
960
|
|
|
963
961
|
/**
|
|
964
|
-
*
|
|
962
|
+
* Export a dashboard to json
|
|
965
963
|
*/
|
|
966
|
-
public static
|
|
967
|
-
return (options.client ?? _heyApiClient).
|
|
964
|
+
public static exportDashboard<ThrowOnError extends boolean = false>(options: Options<web_service.ExportDashboardData, ThrowOnError>) {
|
|
965
|
+
return (options.client ?? _heyApiClient).get<web_service.ExportDashboardResponse2, unknown, ThrowOnError>({
|
|
968
966
|
security: [
|
|
969
967
|
{
|
|
970
968
|
name: 'api-key',
|
|
@@ -976,16 +974,16 @@ export class WebService {
|
|
|
976
974
|
type: 'apiKey'
|
|
977
975
|
}
|
|
978
976
|
],
|
|
979
|
-
url: '/api/v1/
|
|
977
|
+
url: '/api/v1/dashboards/{dashboardId}/json',
|
|
980
978
|
...options
|
|
981
979
|
});
|
|
982
980
|
}
|
|
983
981
|
|
|
984
982
|
/**
|
|
985
|
-
*
|
|
983
|
+
* List all dashboards in a project
|
|
986
984
|
*/
|
|
987
|
-
public static
|
|
988
|
-
return (options.client ?? _heyApiClient).get<
|
|
985
|
+
public static listDashboards2<ThrowOnError extends boolean = false>(options: Options<web_service.ListDashboards2Data, ThrowOnError>) {
|
|
986
|
+
return (options.client ?? _heyApiClient).get<web_service.ListDashboards2Response, unknown, ThrowOnError>({
|
|
989
987
|
security: [
|
|
990
988
|
{
|
|
991
989
|
name: 'api-key',
|
|
@@ -997,16 +995,16 @@ export class WebService {
|
|
|
997
995
|
type: 'apiKey'
|
|
998
996
|
}
|
|
999
997
|
],
|
|
1000
|
-
url: '/api/v1/
|
|
998
|
+
url: '/api/v1/projects/{owner}/{slug}/dashboards',
|
|
1001
999
|
...options
|
|
1002
1000
|
});
|
|
1003
1001
|
}
|
|
1004
1002
|
|
|
1005
1003
|
/**
|
|
1006
|
-
* Get
|
|
1004
|
+
* Get a dashboard by id
|
|
1007
1005
|
*/
|
|
1008
|
-
public static
|
|
1009
|
-
return (options
|
|
1006
|
+
public static getDashboard2<ThrowOnError extends boolean = false>(options: Options<web_service.GetDashboard2Data, ThrowOnError>) {
|
|
1007
|
+
return (options.client ?? _heyApiClient).get<web_service.GetDashboard2Response, unknown, ThrowOnError>({
|
|
1010
1008
|
security: [
|
|
1011
1009
|
{
|
|
1012
1010
|
name: 'api-key',
|
|
@@ -1018,16 +1016,38 @@ export class WebService {
|
|
|
1018
1016
|
type: 'apiKey'
|
|
1019
1017
|
}
|
|
1020
1018
|
],
|
|
1021
|
-
url: '/api/v1/projects',
|
|
1019
|
+
url: '/api/v1/projects/{owner}/{slug}/dashboards/{dashboardId}',
|
|
1022
1020
|
...options
|
|
1023
1021
|
});
|
|
1024
1022
|
}
|
|
1025
1023
|
|
|
1024
|
+
public static createLinkSession<ThrowOnError extends boolean = false>(options?: Options<web_service.CreateLinkSessionData, ThrowOnError>) {
|
|
1025
|
+
return (options?.client ?? _heyApiClient).get<web_service.CreateLinkSessionResponse, unknown, ThrowOnError>({
|
|
1026
|
+
security: [
|
|
1027
|
+
{
|
|
1028
|
+
name: 'api-key',
|
|
1029
|
+
type: 'apiKey'
|
|
1030
|
+
},
|
|
1031
|
+
{
|
|
1032
|
+
in: 'query',
|
|
1033
|
+
name: 'api-key',
|
|
1034
|
+
type: 'apiKey'
|
|
1035
|
+
}
|
|
1036
|
+
],
|
|
1037
|
+
url: '/api/v1/users/link',
|
|
1038
|
+
...options
|
|
1039
|
+
});
|
|
1040
|
+
}
|
|
1041
|
+
|
|
1042
|
+
}
|
|
1043
|
+
|
|
1044
|
+
export class MoveService {
|
|
1026
1045
|
/**
|
|
1027
|
-
*
|
|
1046
|
+
* Get Aptos transaction call trace
|
|
1047
|
+
* Retrieves the detailed call trace for an Aptos transaction
|
|
1028
1048
|
*/
|
|
1029
|
-
public static
|
|
1030
|
-
return (options
|
|
1049
|
+
public static getCallTrace<ThrowOnError extends boolean = false>(options?: Options<google.GetCallTraceData, ThrowOnError>) {
|
|
1050
|
+
return (options?.client ?? _heyApiClient).get<google.GetCallTraceResponse, unknown, ThrowOnError>({
|
|
1031
1051
|
security: [
|
|
1032
1052
|
{
|
|
1033
1053
|
name: 'api-key',
|
|
@@ -1039,16 +1059,17 @@ export class WebService {
|
|
|
1039
1059
|
type: 'apiKey'
|
|
1040
1060
|
}
|
|
1041
1061
|
],
|
|
1042
|
-
url: '/api/v1/
|
|
1062
|
+
url: '/api/v1/move/call_trace',
|
|
1043
1063
|
...options
|
|
1044
1064
|
});
|
|
1045
1065
|
}
|
|
1046
1066
|
|
|
1047
1067
|
/**
|
|
1048
|
-
* Get
|
|
1068
|
+
* Get Sui transaction call trace
|
|
1069
|
+
* Retrieves the detailed call trace for a Sui transaction
|
|
1049
1070
|
*/
|
|
1050
|
-
public static
|
|
1051
|
-
return (options
|
|
1071
|
+
public static getSuiCallTrace<ThrowOnError extends boolean = false>(options?: Options<move_service.GetSuiCallTraceData, ThrowOnError>) {
|
|
1072
|
+
return (options?.client ?? _heyApiClient).get<move_service.GetSuiCallTraceResponse2, unknown, ThrowOnError>({
|
|
1052
1073
|
security: [
|
|
1053
1074
|
{
|
|
1054
1075
|
name: 'api-key',
|
|
@@ -1060,7 +1081,7 @@ export class WebService {
|
|
|
1060
1081
|
type: 'apiKey'
|
|
1061
1082
|
}
|
|
1062
1083
|
],
|
|
1063
|
-
url: '/api/v1/
|
|
1084
|
+
url: '/api/v1/move/sui_call_trace',
|
|
1064
1085
|
...options
|
|
1065
1086
|
});
|
|
1066
1087
|
}
|
|
@@ -1216,27 +1237,6 @@ export class ProcessorService {
|
|
|
1216
1237
|
});
|
|
1217
1238
|
}
|
|
1218
1239
|
|
|
1219
|
-
/**
|
|
1220
|
-
* Get the source files of a processor
|
|
1221
|
-
*/
|
|
1222
|
-
public static getProcessorSourceFiles<ThrowOnError extends boolean = false>(options: Options<processor_service.GetProcessorSourceFilesData, ThrowOnError>) {
|
|
1223
|
-
return (options.client ?? _heyApiClient).get<processor_service.GetProcessorSourceFilesResponse2, unknown, ThrowOnError>({
|
|
1224
|
-
security: [
|
|
1225
|
-
{
|
|
1226
|
-
name: 'api-key',
|
|
1227
|
-
type: 'apiKey'
|
|
1228
|
-
},
|
|
1229
|
-
{
|
|
1230
|
-
in: 'query',
|
|
1231
|
-
name: 'api-key',
|
|
1232
|
-
type: 'apiKey'
|
|
1233
|
-
}
|
|
1234
|
-
],
|
|
1235
|
-
url: '/api/v1/processors/{owner}/{slug}/source_files',
|
|
1236
|
-
...options
|
|
1237
|
-
});
|
|
1238
|
-
}
|
|
1239
|
-
|
|
1240
1240
|
/**
|
|
1241
1241
|
* Get processor status
|
|
1242
1242
|
*/
|