@sentio/api 1.0.2 → 1.0.3-rc.2

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.
@@ -53,7 +53,7 @@ export declare class DataService {
53
53
  * Execute SQL
54
54
  * Execute SQL in a project. Go to "Data Studio" -> "SQL Editor", write your query and then click "Export as cURL"
55
55
  *
56
- * ![screenshot](https://raw.githubusercontent.com/sentioxyz/docs/main/.gitbook/assets/image%20(102).png)
56
+ * ![screenshot](https://raw.githubusercontent.com/sentioxyz/docs/v1.0/assets/image%20(102).png)
57
57
  *
58
58
  * Find more: https://docs.sentio.xyz/reference/data#sql-api
59
59
  */
@@ -118,7 +118,7 @@ export declare class DataService {
118
118
  * Metric range queries
119
119
  * The easiest way to build query is through UI, you could first create an insight chart, and then **Export as cURL**.
120
120
  *
121
- * ![screenshot](https://raw.githubusercontent.com/sentioxyz/docs/main/.gitbook/assets/image%20(101).png)
121
+ * ![screenshot](https://raw.githubusercontent.com/sentioxyz/docs/v1.0/assets/image%20(101).png)
122
122
  */
123
123
  static queryRange<ThrowOnError extends boolean = false>(options: Options<QueryRangeData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").MetricsServiceMetricsQueryResponse, unknown, ThrowOnError>;
124
124
  }
@@ -181,7 +181,7 @@ export declare class PriceService {
181
181
  *
182
182
  * please AWARE that the coingecko id is NOT the same as the symbol of the coin.
183
183
  *
184
- * ![screenshot](https://raw.githubusercontent.com/sentioxyz/docs/main/.gitbook/assets/coingecko_apiid.png)
184
+ * ![screenshot](https://raw.githubusercontent.com/sentioxyz/docs/v1.0/assets/coingecko_apiid.png)
185
185
  */
186
186
  static addCoinByGecko<ThrowOnError extends boolean = false>(options: Options<AddCoinByGeckoData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").PriceServiceAddCoinByGeckoResponse, unknown, ThrowOnError>;
187
187
  /**
@@ -247,11 +247,11 @@ export declare class DebugAndSimulationService {
247
247
  * Get trace by transaction
248
248
  * API to get Sentio call trace. It takes `txId.txHash` and `chainSpec.chainId` arguments, where the first is transaction hash, and the second is the numeric ethereum chain ID.
249
249
  *
250
- * The results looks very similar to the normal [Ethereum call trace](https://raw.githubusercontent.com/sentioxyz/docs/main/.gitbook/assets/image%20(2)%20(1)%20(1)%20(1).png). But we have an additional `startIndex` and `startIndex` on each trace entry even for the LOG, representing the execution order in the trace.
250
+ * The results looks very similar to the normal [Ethereum call trace](https://raw.githubusercontent.com/sentioxyz/docs/v1.0/assets/image%20(2)%20(1)%20(1)%20(1).png). But we have an additional `startIndex` and `startIndex` on each trace entry even for the LOG, representing the execution order in the trace.
251
251
  *
252
252
  * This allows you to build chart that marks the order of fund flow.
253
253
  *
254
- * ![screenshot](https://raw.githubusercontent.com/sentioxyz/docs/main/.gitbook/assets/image%20(2)%20(1)%20(1)%20(1).png)
254
+ * ![screenshot](https://raw.githubusercontent.com/sentioxyz/docs/v1.0/assets/image%20(2)%20(1)%20(1)%20(1).png)
255
255
  */
256
256
  static getCallTraceByTransaction<ThrowOnError extends boolean = false>(options: Options<GetCallTraceByTransactionData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").GoogleApiHttpBody, unknown, ThrowOnError>;
257
257
  }
@@ -140,7 +140,7 @@ class DataService {
140
140
  * Execute SQL
141
141
  * Execute SQL in a project. Go to "Data Studio" -> "SQL Editor", write your query and then click "Export as cURL"
142
142
  *
143
- * ![screenshot](https://raw.githubusercontent.com/sentioxyz/docs/main/.gitbook/assets/image%20(102).png)
143
+ * ![screenshot](https://raw.githubusercontent.com/sentioxyz/docs/v1.0/assets/image%20(102).png)
144
144
  *
145
145
  * Find more: https://docs.sentio.xyz/reference/data#sql-api
146
146
  */
@@ -441,7 +441,7 @@ class DataService {
441
441
  * Metric range queries
442
442
  * The easiest way to build query is through UI, you could first create an insight chart, and then **Export as cURL**.
443
443
  *
444
- * ![screenshot](https://raw.githubusercontent.com/sentioxyz/docs/main/.gitbook/assets/image%20(101).png)
444
+ * ![screenshot](https://raw.githubusercontent.com/sentioxyz/docs/v1.0/assets/image%20(101).png)
445
445
  */
446
446
  static queryRange(options) {
447
447
  return (options.client ?? client_gen_1.client).post({
@@ -706,7 +706,7 @@ class PriceService {
706
706
  *
707
707
  * please AWARE that the coingecko id is NOT the same as the symbol of the coin.
708
708
  *
709
- * ![screenshot](https://raw.githubusercontent.com/sentioxyz/docs/main/.gitbook/assets/coingecko_apiid.png)
709
+ * ![screenshot](https://raw.githubusercontent.com/sentioxyz/docs/v1.0/assets/coingecko_apiid.png)
710
710
  */
711
711
  static addCoinByGecko(options) {
712
712
  return (options.client ?? client_gen_1.client).post({
@@ -1014,11 +1014,11 @@ class DebugAndSimulationService {
1014
1014
  * Get trace by transaction
1015
1015
  * API to get Sentio call trace. It takes `txId.txHash` and `chainSpec.chainId` arguments, where the first is transaction hash, and the second is the numeric ethereum chain ID.
1016
1016
  *
1017
- * The results looks very similar to the normal [Ethereum call trace](https://raw.githubusercontent.com/sentioxyz/docs/main/.gitbook/assets/image%20(2)%20(1)%20(1)%20(1).png). But we have an additional `startIndex` and `startIndex` on each trace entry even for the LOG, representing the execution order in the trace.
1017
+ * The results looks very similar to the normal [Ethereum call trace](https://raw.githubusercontent.com/sentioxyz/docs/v1.0/assets/image%20(2)%20(1)%20(1)%20(1).png). But we have an additional `startIndex` and `startIndex` on each trace entry even for the LOG, representing the execution order in the trace.
1018
1018
  *
1019
1019
  * This allows you to build chart that marks the order of fund flow.
1020
1020
  *
1021
- * ![screenshot](https://raw.githubusercontent.com/sentioxyz/docs/main/.gitbook/assets/image%20(2)%20(1)%20(1)%20(1).png)
1021
+ * ![screenshot](https://raw.githubusercontent.com/sentioxyz/docs/v1.0/assets/image%20(2)%20(1)%20(1)%20(1).png)
1022
1022
  */
1023
1023
  static getCallTraceByTransaction(options) {
1024
1024
  return (options.client ?? client_gen_1.client).get({
@@ -114,6 +114,9 @@ export type AnalyticServiceAnalyticServiceExecuteSqlAsyncBody = {
114
114
  projectId?: string;
115
115
  version?: number;
116
116
  sqlQuery?: AnalyticServiceSqlQuery;
117
+ /**
118
+ * The pagination cursor for the next page of results. If present, use this value in the `cursor` field of the next request to retrieve subsequent data. If null or empty, there are no more results.
119
+ */
117
120
  cursor?: string;
118
121
  cachePolicy?: CommonCachePolicy;
119
122
  };
@@ -121,6 +124,9 @@ export type AnalyticServiceAnalyticServiceExecuteSqlBody = {
121
124
  projectId?: string;
122
125
  version?: number;
123
126
  sqlQuery?: AnalyticServiceSqlQuery;
127
+ /**
128
+ * The pagination cursor for the next page of results. If present, use this value in the `cursor` field of the next request to retrieve subsequent data. If null or empty, there are no more results.
129
+ */
124
130
  cursor?: string;
125
131
  cachePolicy?: CommonCachePolicy;
126
132
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentio/api",
3
- "version": "1.0.2",
3
+ "version": "1.0.3-rc.2",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
package/src/sdk.gen.ts CHANGED
@@ -161,7 +161,7 @@ export class DataService {
161
161
  * Execute SQL
162
162
  * Execute SQL in a project. Go to "Data Studio" -> "SQL Editor", write your query and then click "Export as cURL"
163
163
  *
164
- * ![screenshot](https://raw.githubusercontent.com/sentioxyz/docs/main/.gitbook/assets/image%20(102).png)
164
+ * ![screenshot](https://raw.githubusercontent.com/sentioxyz/docs/v1.0/assets/image%20(102).png)
165
165
  *
166
166
  * Find more: https://docs.sentio.xyz/reference/data#sql-api
167
167
  */
@@ -475,7 +475,7 @@ export class DataService {
475
475
  * Metric range queries
476
476
  * The easiest way to build query is through UI, you could first create an insight chart, and then **Export as cURL**.
477
477
  *
478
- * ![screenshot](https://raw.githubusercontent.com/sentioxyz/docs/main/.gitbook/assets/image%20(101).png)
478
+ * ![screenshot](https://raw.githubusercontent.com/sentioxyz/docs/v1.0/assets/image%20(101).png)
479
479
  */
480
480
  public static queryRange<ThrowOnError extends boolean = false>(options: Options<QueryRangeData, ThrowOnError>) {
481
481
  return (options.client ?? _heyApiClient).post<QueryRangeResponse, unknown, ThrowOnError>({
@@ -752,7 +752,7 @@ export class PriceService {
752
752
  *
753
753
  * please AWARE that the coingecko id is NOT the same as the symbol of the coin.
754
754
  *
755
- * ![screenshot](https://raw.githubusercontent.com/sentioxyz/docs/main/.gitbook/assets/coingecko_apiid.png)
755
+ * ![screenshot](https://raw.githubusercontent.com/sentioxyz/docs/v1.0/assets/coingecko_apiid.png)
756
756
  */
757
757
  public static addCoinByGecko<ThrowOnError extends boolean = false>(options: Options<AddCoinByGeckoData, ThrowOnError>) {
758
758
  return (options.client ?? _heyApiClient).post<AddCoinByGeckoResponse, unknown, ThrowOnError>({
@@ -1074,11 +1074,11 @@ export class DebugAndSimulationService {
1074
1074
  * Get trace by transaction
1075
1075
  * API to get Sentio call trace. It takes `txId.txHash` and `chainSpec.chainId` arguments, where the first is transaction hash, and the second is the numeric ethereum chain ID.
1076
1076
  *
1077
- * The results looks very similar to the normal [Ethereum call trace](https://raw.githubusercontent.com/sentioxyz/docs/main/.gitbook/assets/image%20(2)%20(1)%20(1)%20(1).png). But we have an additional `startIndex` and `startIndex` on each trace entry even for the LOG, representing the execution order in the trace.
1077
+ * The results looks very similar to the normal [Ethereum call trace](https://raw.githubusercontent.com/sentioxyz/docs/v1.0/assets/image%20(2)%20(1)%20(1)%20(1).png). But we have an additional `startIndex` and `startIndex` on each trace entry even for the LOG, representing the execution order in the trace.
1078
1078
  *
1079
1079
  * This allows you to build chart that marks the order of fund flow.
1080
1080
  *
1081
- * ![screenshot](https://raw.githubusercontent.com/sentioxyz/docs/main/.gitbook/assets/image%20(2)%20(1)%20(1)%20(1).png)
1081
+ * ![screenshot](https://raw.githubusercontent.com/sentioxyz/docs/v1.0/assets/image%20(2)%20(1)%20(1)%20(1).png)
1082
1082
  */
1083
1083
  public static getCallTraceByTransaction<ThrowOnError extends boolean = false>(options: Options<GetCallTraceByTransactionData, ThrowOnError>) {
1084
1084
  return (options.client ?? _heyApiClient).get<GetCallTraceByTransactionResponse, unknown, ThrowOnError>({
package/src/types.gen.ts CHANGED
@@ -130,6 +130,9 @@ export type AnalyticServiceAnalyticServiceExecuteSqlAsyncBody = {
130
130
  projectId?: string;
131
131
  version?: number;
132
132
  sqlQuery?: AnalyticServiceSqlQuery;
133
+ /**
134
+ * The pagination cursor for the next page of results. If present, use this value in the `cursor` field of the next request to retrieve subsequent data. If null or empty, there are no more results.
135
+ */
133
136
  cursor?: string;
134
137
  cachePolicy?: CommonCachePolicy;
135
138
  };
@@ -138,6 +141,9 @@ export type AnalyticServiceAnalyticServiceExecuteSqlBody = {
138
141
  projectId?: string;
139
142
  version?: number;
140
143
  sqlQuery?: AnalyticServiceSqlQuery;
144
+ /**
145
+ * The pagination cursor for the next page of results. If present, use this value in the `cursor` field of the next request to retrieve subsequent data. If null or empty, there are no more results.
146
+ */
141
147
  cursor?: string;
142
148
  cachePolicy?: CommonCachePolicy;
143
149
  };