@sentio/api 1.0.2-rc.1 → 1.0.2-rc.10

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.
Files changed (96) hide show
  1. package/README.md +48 -1
  2. package/dist/src/apis/DataApi.d.ts +3 -29
  3. package/dist/src/apis/DataApi.js +14 -76
  4. package/dist/src/apis/DataApi.js.map +1 -1
  5. package/dist/src/apis/DebugAndSimulationApi.d.ts +2 -1
  6. package/dist/src/apis/DebugAndSimulationApi.js +10 -10
  7. package/dist/src/apis/DebugAndSimulationApi.js.map +1 -1
  8. package/dist/src/apis/PriceApi.d.ts +60 -0
  9. package/dist/src/apis/PriceApi.js +141 -0
  10. package/dist/src/apis/PriceApi.js.map +1 -0
  11. package/dist/src/apis/WebApi.js +9 -9
  12. package/dist/src/apis/index.d.ts +1 -0
  13. package/dist/src/apis/index.js +1 -0
  14. package/dist/src/apis/index.js.map +1 -1
  15. package/dist/src/models/CommonTimeRangeLite.d.ts +1 -1
  16. package/dist/src/models/GoogleProtobufAny.d.ts +2 -1
  17. package/dist/src/models/GoogleProtobufAny.js.map +1 -1
  18. package/dist/src/models/PriceServiceBatchGetPricesResponse.d.ts +32 -0
  19. package/dist/src/models/PriceServiceBatchGetPricesResponse.js +40 -0
  20. package/dist/src/models/PriceServiceBatchGetPricesResponse.js.map +1 -0
  21. package/dist/src/models/PriceServiceBatchGetPricesResponseCoinPrice.d.ts +45 -0
  22. package/dist/src/models/PriceServiceBatchGetPricesResponseCoinPrice.js +45 -0
  23. package/dist/src/models/PriceServiceBatchGetPricesResponseCoinPrice.js.map +1 -0
  24. package/dist/src/models/PriceServiceBatchGetPricesResponseCoinPricePrice.d.ts +32 -0
  25. package/dist/src/models/PriceServiceBatchGetPricesResponseCoinPricePrice.js +40 -0
  26. package/dist/src/models/PriceServiceBatchGetPricesResponseCoinPricePrice.js.map +1 -0
  27. package/dist/src/models/PriceServiceCheckLatestPriceResponse.d.ts +38 -0
  28. package/dist/src/models/PriceServiceCheckLatestPriceResponse.js +42 -0
  29. package/dist/src/models/PriceServiceCheckLatestPriceResponse.js.map +1 -0
  30. package/dist/src/models/PriceServiceCheckLatestPriceResponseCoinPrice.d.ts +44 -0
  31. package/dist/src/models/PriceServiceCheckLatestPriceResponseCoinPrice.js +44 -0
  32. package/dist/src/models/PriceServiceCheckLatestPriceResponseCoinPrice.js.map +1 -0
  33. package/dist/src/models/PriceServiceCoinID.d.ts +38 -0
  34. package/dist/src/models/PriceServiceCoinID.js +42 -0
  35. package/dist/src/models/PriceServiceCoinID.js.map +1 -0
  36. package/dist/src/models/PriceServiceCoinIDAddressIdentifier.d.ts +38 -0
  37. package/dist/src/models/PriceServiceCoinIDAddressIdentifier.js +41 -0
  38. package/dist/src/models/PriceServiceCoinIDAddressIdentifier.js.map +1 -0
  39. package/dist/src/models/PriceServiceGetPriceResponse.d.ts +37 -0
  40. package/dist/src/models/PriceServiceGetPriceResponse.js +41 -0
  41. package/dist/src/models/PriceServiceGetPriceResponse.js.map +1 -0
  42. package/dist/src/models/PriceServiceListCoinsResponse.d.ts +40 -0
  43. package/dist/src/models/PriceServiceListCoinsResponse.js +43 -0
  44. package/dist/src/models/PriceServiceListCoinsResponse.js.map +1 -0
  45. package/dist/src/models/SolidityServiceSimulation.d.ts +16 -10
  46. package/dist/src/models/SolidityServiceSimulation.js +29 -9
  47. package/dist/src/models/SolidityServiceSimulation.js.map +1 -1
  48. package/dist/src/models/SolidityServiceTxIdentifier.d.ts +2 -2
  49. package/dist/src/models/SolidityServiceTxIdentifier.js +1 -3
  50. package/dist/src/models/SolidityServiceTxIdentifier.js.map +1 -1
  51. package/dist/src/models/WebServiceChartConfig.d.ts +7 -0
  52. package/dist/src/models/WebServiceChartConfig.js +3 -0
  53. package/dist/src/models/WebServiceChartConfig.js.map +1 -1
  54. package/dist/src/models/WebServiceChartConfigLineConfig.d.ts +32 -0
  55. package/dist/src/models/WebServiceChartConfigLineConfig.js +40 -0
  56. package/dist/src/models/WebServiceChartConfigLineConfig.js.map +1 -0
  57. package/dist/src/models/WebServiceChartConfigLineConfigStyle.d.ts +24 -0
  58. package/dist/src/models/WebServiceChartConfigLineConfigStyle.js +34 -0
  59. package/dist/src/models/WebServiceChartConfigLineConfigStyle.js.map +1 -0
  60. package/dist/src/models/index.d.ts +11 -2
  61. package/dist/src/models/index.js +11 -2
  62. package/dist/src/models/index.js.map +1 -1
  63. package/dist/src/runtime.js +1 -1
  64. package/dist/src/runtime.js.map +1 -1
  65. package/package.json +1 -1
  66. package/src/apis/DataApi.ts +13 -111
  67. package/src/apis/DebugAndSimulationApi.ts +13 -15
  68. package/src/apis/PriceApi.ts +212 -0
  69. package/src/apis/WebApi.ts +9 -9
  70. package/src/apis/index.ts +1 -0
  71. package/src/models/CommonTimeRangeLite.ts +1 -1
  72. package/src/models/GoogleProtobufAny.ts +2 -1
  73. package/src/models/PriceServiceBatchGetPricesResponse.ts +67 -0
  74. package/src/models/PriceServiceBatchGetPricesResponseCoinPrice.ts +89 -0
  75. package/src/models/PriceServiceBatchGetPricesResponseCoinPricePrice.ts +67 -0
  76. package/src/models/PriceServiceCheckLatestPriceResponse.ts +75 -0
  77. package/src/models/PriceServiceCheckLatestPriceResponseCoinPrice.ts +83 -0
  78. package/src/models/PriceServiceCoinID.ts +75 -0
  79. package/src/models/PriceServiceCoinIDAddressIdentifier.ts +69 -0
  80. package/src/models/PriceServiceGetPriceResponse.ts +68 -0
  81. package/src/models/PriceServiceListCoinsResponse.ts +75 -0
  82. package/src/models/SolidityServiceSimulation.ts +36 -19
  83. package/src/models/SolidityServiceTxIdentifier.ts +3 -4
  84. package/src/models/WebServiceChartConfig.ts +14 -0
  85. package/src/models/WebServiceChartConfigLineConfig.ts +67 -0
  86. package/src/models/WebServiceChartConfigLineConfigStyle.ts +42 -0
  87. package/src/models/index.ts +11 -2
  88. package/src/runtime.ts +1 -1
  89. package/dist/src/models/AnalyticServiceSyncExecuteSQLRequest.d.ts +0 -75
  90. package/dist/src/models/AnalyticServiceSyncExecuteSQLRequest.js +0 -55
  91. package/dist/src/models/AnalyticServiceSyncExecuteSQLRequest.js.map +0 -1
  92. package/dist/src/models/InsightsServiceQueryRequest.d.ts +0 -95
  93. package/dist/src/models/InsightsServiceQueryRequest.js +0 -63
  94. package/dist/src/models/InsightsServiceQueryRequest.js.map +0 -1
  95. package/src/models/AnalyticServiceSyncExecuteSQLRequest.ts +0 -129
  96. package/src/models/InsightsServiceQueryRequest.ts +0 -165
@@ -67,7 +67,7 @@ export interface SolidityServiceSimulation {
67
67
  * @type {string}
68
68
  * @memberof SolidityServiceSimulation
69
69
  */
70
- networkId?: string;
70
+ networkId: string;
71
71
  /**
72
72
  *
73
73
  * @type {string}
@@ -79,43 +79,43 @@ export interface SolidityServiceSimulation {
79
79
  * @type {string}
80
80
  * @memberof SolidityServiceSimulation
81
81
  */
82
- to?: string;
82
+ to: string;
83
83
  /**
84
84
  *
85
85
  * @type {string}
86
86
  * @memberof SolidityServiceSimulation
87
87
  */
88
- input?: string;
88
+ input: string;
89
89
  /**
90
- *
90
+ * Can be "latest".
91
91
  * @type {string}
92
92
  * @memberof SolidityServiceSimulation
93
93
  */
94
- blockNumber?: string;
94
+ blockNumber: string;
95
95
  /**
96
96
  *
97
97
  * @type {string}
98
98
  * @memberof SolidityServiceSimulation
99
99
  */
100
- transactionIndex?: string;
100
+ transactionIndex: string;
101
101
  /**
102
102
  *
103
103
  * @type {string}
104
104
  * @memberof SolidityServiceSimulation
105
105
  */
106
- from?: string;
106
+ from: string;
107
107
  /**
108
108
  *
109
109
  * @type {string}
110
110
  * @memberof SolidityServiceSimulation
111
111
  */
112
- gas?: string;
112
+ gas: string;
113
113
  /**
114
114
  *
115
115
  * @type {string}
116
116
  * @memberof SolidityServiceSimulation
117
117
  */
118
- gasPrice?: string;
118
+ gasPrice: string;
119
119
  /**
120
120
  *
121
121
  * @type {string}
@@ -133,7 +133,7 @@ export interface SolidityServiceSimulation {
133
133
  * @type {string}
134
134
  * @memberof SolidityServiceSimulation
135
135
  */
136
- value?: string;
136
+ value: string;
137
137
  /**
138
138
  *
139
139
  * @type {Array<EvmAccessListItem>}
@@ -146,6 +146,12 @@ export interface SolidityServiceSimulation {
146
146
  * @memberof SolidityServiceSimulation
147
147
  */
148
148
  originTxHash?: string;
149
+ /**
150
+ *
151
+ * @type {string}
152
+ * @memberof SolidityServiceSimulation
153
+ */
154
+ label?: string;
149
155
  /**
150
156
  *
151
157
  * @type {{ [key: string]: SolidityServiceStateOverride; }}
@@ -182,6 +188,15 @@ export interface SolidityServiceSimulation {
182
188
  * Check if a given object implements the SolidityServiceSimulation interface.
183
189
  */
184
190
  export function instanceOfSolidityServiceSimulation(value: object): boolean {
191
+ if (!('networkId' in value)) return false;
192
+ if (!('to' in value)) return false;
193
+ if (!('input' in value)) return false;
194
+ if (!('blockNumber' in value)) return false;
195
+ if (!('transactionIndex' in value)) return false;
196
+ if (!('from' in value)) return false;
197
+ if (!('gas' in value)) return false;
198
+ if (!('gasPrice' in value)) return false;
199
+ if (!('value' in value)) return false;
185
200
  return true;
186
201
  }
187
202
 
@@ -198,20 +213,21 @@ export function SolidityServiceSimulationFromJSONTyped(json: any, ignoreDiscrimi
198
213
  'id': json['id'] == null ? undefined : json['id'],
199
214
  'createAt': json['createAt'] == null ? undefined : json['createAt'],
200
215
  'bundleId': json['bundleId'] == null ? undefined : json['bundleId'],
201
- 'networkId': json['networkId'] == null ? undefined : json['networkId'],
216
+ 'networkId': json['networkId'],
202
217
  'chainId': json['chainId'] == null ? undefined : json['chainId'],
203
- 'to': json['to'] == null ? undefined : json['to'],
204
- 'input': json['input'] == null ? undefined : json['input'],
205
- 'blockNumber': json['blockNumber'] == null ? undefined : json['blockNumber'],
206
- 'transactionIndex': json['transactionIndex'] == null ? undefined : json['transactionIndex'],
207
- 'from': json['from'] == null ? undefined : json['from'],
208
- 'gas': json['gas'] == null ? undefined : json['gas'],
209
- 'gasPrice': json['gasPrice'] == null ? undefined : json['gasPrice'],
218
+ 'to': json['to'],
219
+ 'input': json['input'],
220
+ 'blockNumber': json['blockNumber'],
221
+ 'transactionIndex': json['transactionIndex'],
222
+ 'from': json['from'],
223
+ 'gas': json['gas'],
224
+ 'gasPrice': json['gasPrice'],
210
225
  'maxFeePerGas': json['maxFeePerGas'] == null ? undefined : json['maxFeePerGas'],
211
226
  'maxPriorityFeePerGas': json['maxPriorityFeePerGas'] == null ? undefined : json['maxPriorityFeePerGas'],
212
- 'value': json['value'] == null ? undefined : json['value'],
227
+ 'value': json['value'],
213
228
  'accessList': json['accessList'] == null ? undefined : ((json['accessList'] as Array<any>).map(EvmAccessListItemFromJSON)),
214
229
  'originTxHash': json['originTxHash'] == null ? undefined : json['originTxHash'],
230
+ 'label': json['label'] == null ? undefined : json['label'],
215
231
  'stateOverrides': json['stateOverrides'] == null ? undefined : (mapValues(json['stateOverrides'], SolidityServiceStateOverrideFromJSON)),
216
232
  'sourceOverrides': json['sourceOverrides'] == null ? undefined : json['sourceOverrides'],
217
233
  'blockOverride': json['blockOverride'] == null ? undefined : SolidityServiceBlockOverridesFromJSON(json['blockOverride']),
@@ -243,6 +259,7 @@ export function SolidityServiceSimulationToJSON(value?: SolidityServiceSimulatio
243
259
  'value': value['value'],
244
260
  'accessList': value['accessList'] == null ? undefined : ((value['accessList'] as Array<any>).map(EvmAccessListItemToJSON)),
245
261
  'originTxHash': value['originTxHash'],
262
+ 'label': value['label'],
246
263
  'stateOverrides': value['stateOverrides'] == null ? undefined : (mapValues(value['stateOverrides'], SolidityServiceStateOverrideToJSON)),
247
264
  'sourceOverrides': value['sourceOverrides'],
248
265
  'blockOverride': SolidityServiceBlockOverridesToJSON(value['blockOverride']),
@@ -20,11 +20,11 @@ import { mapValues } from '../runtime.js';
20
20
  */
21
21
  export interface SolidityServiceTxIdentifier {
22
22
  /**
23
- *
23
+ * One of txHash, simulationId, bundleId is required.
24
24
  * @type {string}
25
25
  * @memberof SolidityServiceTxIdentifier
26
26
  */
27
- txHash: string;
27
+ txHash?: string;
28
28
  /**
29
29
  *
30
30
  * @type {string}
@@ -43,7 +43,6 @@ export interface SolidityServiceTxIdentifier {
43
43
  * Check if a given object implements the SolidityServiceTxIdentifier interface.
44
44
  */
45
45
  export function instanceOfSolidityServiceTxIdentifier(value: object): boolean {
46
- if (!('txHash' in value)) return false;
47
46
  return true;
48
47
  }
49
48
 
@@ -57,7 +56,7 @@ export function SolidityServiceTxIdentifierFromJSONTyped(json: any, ignoreDiscri
57
56
  }
58
57
  return {
59
58
 
60
- 'txHash': json['txHash'],
59
+ 'txHash': json['txHash'] == null ? undefined : json['txHash'],
61
60
  'simulationId': json['simulationId'] == null ? undefined : json['simulationId'],
62
61
  'bundleId': json['bundleId'] == null ? undefined : json['bundleId'],
63
62
  };
@@ -19,6 +19,12 @@ import {
19
19
  WebServiceChartConfigBarGaugeConfigFromJSONTyped,
20
20
  WebServiceChartConfigBarGaugeConfigToJSON,
21
21
  } from './WebServiceChartConfigBarGaugeConfig.js';
22
+ import type { WebServiceChartConfigLineConfig } from './WebServiceChartConfigLineConfig.js';
23
+ import {
24
+ WebServiceChartConfigLineConfigFromJSON,
25
+ WebServiceChartConfigLineConfigFromJSONTyped,
26
+ WebServiceChartConfigLineConfigToJSON,
27
+ } from './WebServiceChartConfigLineConfig.js';
22
28
  import type { WebServiceChartConfigMarker } from './WebServiceChartConfigMarker.js';
23
29
  import {
24
30
  WebServiceChartConfigMarkerFromJSON,
@@ -116,6 +122,12 @@ export interface WebServiceChartConfig {
116
122
  * @memberof WebServiceChartConfig
117
123
  */
118
124
  markers?: Array<WebServiceChartConfigMarker>;
125
+ /**
126
+ *
127
+ * @type {WebServiceChartConfigLineConfig}
128
+ * @memberof WebServiceChartConfig
129
+ */
130
+ lineConfig?: WebServiceChartConfigLineConfig;
119
131
  }
120
132
 
121
133
  /**
@@ -143,6 +155,7 @@ export function WebServiceChartConfigFromJSONTyped(json: any, ignoreDiscriminato
143
155
  'queryValueConfig': json['queryValueConfig'] == null ? undefined : WebServiceChartConfigQueryValueConfigFromJSON(json['queryValueConfig']),
144
156
  'pieConfig': json['pieConfig'] == null ? undefined : WebServiceChartConfigPieConfigFromJSON(json['pieConfig']),
145
157
  'markers': json['markers'] == null ? undefined : ((json['markers'] as Array<any>).map(WebServiceChartConfigMarkerFromJSON)),
158
+ 'lineConfig': json['lineConfig'] == null ? undefined : WebServiceChartConfigLineConfigFromJSON(json['lineConfig']),
146
159
  };
147
160
  }
148
161
 
@@ -160,6 +173,7 @@ export function WebServiceChartConfigToJSON(value?: WebServiceChartConfig | null
160
173
  'queryValueConfig': WebServiceChartConfigQueryValueConfigToJSON(value['queryValueConfig']),
161
174
  'pieConfig': WebServiceChartConfigPieConfigToJSON(value['pieConfig']),
162
175
  'markers': value['markers'] == null ? undefined : ((value['markers'] as Array<any>).map(WebServiceChartConfigMarkerToJSON)),
176
+ 'lineConfig': WebServiceChartConfigLineConfigToJSON(value['lineConfig']),
163
177
  };
164
178
  }
165
179
 
@@ -0,0 +1,67 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Sentio API
5
+ * Sentio Open API for query data
6
+ *
7
+ * The version of the OpenAPI document: version not set
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime.js';
16
+ import type { WebServiceChartConfigLineConfigStyle } from './WebServiceChartConfigLineConfigStyle.js';
17
+ import {
18
+ WebServiceChartConfigLineConfigStyleFromJSON,
19
+ WebServiceChartConfigLineConfigStyleFromJSONTyped,
20
+ WebServiceChartConfigLineConfigStyleToJSON,
21
+ } from './WebServiceChartConfigLineConfigStyle.js';
22
+
23
+ /**
24
+ *
25
+ * @export
26
+ * @interface WebServiceChartConfigLineConfig
27
+ */
28
+ export interface WebServiceChartConfigLineConfig {
29
+ /**
30
+ *
31
+ * @type {WebServiceChartConfigLineConfigStyle}
32
+ * @memberof WebServiceChartConfigLineConfig
33
+ */
34
+ style?: WebServiceChartConfigLineConfigStyle;
35
+ }
36
+
37
+ /**
38
+ * Check if a given object implements the WebServiceChartConfigLineConfig interface.
39
+ */
40
+ export function instanceOfWebServiceChartConfigLineConfig(value: object): boolean {
41
+ return true;
42
+ }
43
+
44
+ export function WebServiceChartConfigLineConfigFromJSON(json: any): WebServiceChartConfigLineConfig {
45
+ return WebServiceChartConfigLineConfigFromJSONTyped(json, false);
46
+ }
47
+
48
+ export function WebServiceChartConfigLineConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebServiceChartConfigLineConfig {
49
+ if (json == null) {
50
+ return json;
51
+ }
52
+ return {
53
+
54
+ 'style': json['style'] == null ? undefined : WebServiceChartConfigLineConfigStyleFromJSON(json['style']),
55
+ };
56
+ }
57
+
58
+ export function WebServiceChartConfigLineConfigToJSON(value?: WebServiceChartConfigLineConfig | null): any {
59
+ if (value == null) {
60
+ return value;
61
+ }
62
+ return {
63
+
64
+ 'style': WebServiceChartConfigLineConfigStyleToJSON(value['style']),
65
+ };
66
+ }
67
+
@@ -0,0 +1,42 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Sentio API
5
+ * Sentio Open API for query data
6
+ *
7
+ * The version of the OpenAPI document: version not set
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ /**
17
+ *
18
+ * @export
19
+ */
20
+ export const WebServiceChartConfigLineConfigStyle = {
21
+ Solid: 'Solid',
22
+ Dotted: 'Dotted'
23
+ } as const;
24
+ export type WebServiceChartConfigLineConfigStyle = typeof WebServiceChartConfigLineConfigStyle[keyof typeof WebServiceChartConfigLineConfigStyle];
25
+
26
+
27
+ export function instanceOfWebServiceChartConfigLineConfigStyle(value: any): boolean {
28
+ return Object.values(WebServiceChartConfigLineConfigStyle).includes(value);
29
+ }
30
+
31
+ export function WebServiceChartConfigLineConfigStyleFromJSON(json: any): WebServiceChartConfigLineConfigStyle {
32
+ return WebServiceChartConfigLineConfigStyleFromJSONTyped(json, false);
33
+ }
34
+
35
+ export function WebServiceChartConfigLineConfigStyleFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebServiceChartConfigLineConfigStyle {
36
+ return json as WebServiceChartConfigLineConfigStyle;
37
+ }
38
+
39
+ export function WebServiceChartConfigLineConfigStyleToJSON(value?: WebServiceChartConfigLineConfigStyle | null): any {
40
+ return value as any;
41
+ }
42
+
@@ -6,7 +6,6 @@ export * from './AnalyticServiceLogQueryRequestSort.js';
6
6
  export * from './AnalyticServiceLogQueryResponse.js';
7
7
  export * from './AnalyticServiceSQLQuery.js';
8
8
  export * from './AnalyticServiceSearchServiceQueryLogBody.js';
9
- export * from './AnalyticServiceSyncExecuteSQLRequest.js';
10
9
  export * from './AnalyticServiceSyncExecuteSQLResponse.js';
11
10
  export * from './CommonAggregate.js';
12
11
  export * from './CommonAggregateAggregateOps.js';
@@ -98,7 +97,6 @@ export * from './InsightsServiceDataSource.js';
98
97
  export * from './InsightsServiceInsightsServiceQueryBody.js';
99
98
  export * from './InsightsServiceInsightsServiceRetentionBody.js';
100
99
  export * from './InsightsServiceListCoinsResponse.js';
101
- export * from './InsightsServiceQueryRequest.js';
102
100
  export * from './InsightsServiceQueryRequestQuery.js';
103
101
  export * from './InsightsServiceQueryResponse.js';
104
102
  export * from './InsightsServiceQueryResponseResult.js';
@@ -118,6 +116,15 @@ export * from './MetricsServiceObservabilityServiceQueryBody.js';
118
116
  export * from './MetricsServiceObservabilityServiceQueryRangeBody.js';
119
117
  export * from './MetricsServiceQueryValueResponse.js';
120
118
  export * from './MetricsServiceQueryValueResponseResult.js';
119
+ export * from './PriceServiceBatchGetPricesResponse.js';
120
+ export * from './PriceServiceBatchGetPricesResponseCoinPrice.js';
121
+ export * from './PriceServiceBatchGetPricesResponseCoinPricePrice.js';
122
+ export * from './PriceServiceCheckLatestPriceResponse.js';
123
+ export * from './PriceServiceCheckLatestPriceResponseCoinPrice.js';
124
+ export * from './PriceServiceCoinID.js';
125
+ export * from './PriceServiceCoinIDAddressIdentifier.js';
126
+ export * from './PriceServiceGetPriceResponse.js';
127
+ export * from './PriceServiceListCoinsResponse.js';
121
128
  export * from './SolidityServiceBlockOverrides.js';
122
129
  export * from './SolidityServiceCompileSourceInternalResponse.js';
123
130
  export * from './SolidityServiceCompilerOptions.js';
@@ -163,6 +170,8 @@ export * from './WebServiceChartConfigColorTheme.js';
163
170
  export * from './WebServiceChartConfigColumnSort.js';
164
171
  export * from './WebServiceChartConfigCompareTime.js';
165
172
  export * from './WebServiceChartConfigDirection.js';
173
+ export * from './WebServiceChartConfigLineConfig.js';
174
+ export * from './WebServiceChartConfigLineConfigStyle.js';
166
175
  export * from './WebServiceChartConfigMappingRule.js';
167
176
  export * from './WebServiceChartConfigMarker.js';
168
177
  export * from './WebServiceChartConfigMarkerType.js';
package/src/runtime.ts CHANGED
@@ -13,7 +13,7 @@
13
13
  */
14
14
 
15
15
 
16
- export const BASE_PATH = "http://app.sentio.xyz".replace(/\/+$/, "");
16
+ export const BASE_PATH = "https://app.sentio.xyz".replace(/\/+$/, "");
17
17
 
18
18
  export interface ConfigurationParameters {
19
19
  basePath?: string; // override base path
@@ -1,75 +0,0 @@
1
- /**
2
- * Sentio API
3
- * Sentio Open API for query data
4
- *
5
- * The version of the OpenAPI document: version not set
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { AnalyticServiceSQLQuery } from './AnalyticServiceSQLQuery.js';
13
- import type { CommonCachePolicy } from './CommonCachePolicy.js';
14
- /**
15
- *
16
- * @export
17
- * @interface AnalyticServiceSyncExecuteSQLRequest
18
- */
19
- export interface AnalyticServiceSyncExecuteSQLRequest {
20
- /**
21
- *
22
- * @type {string}
23
- * @memberof AnalyticServiceSyncExecuteSQLRequest
24
- */
25
- projectOwner?: string;
26
- /**
27
- *
28
- * @type {string}
29
- * @memberof AnalyticServiceSyncExecuteSQLRequest
30
- */
31
- projectSlug?: string;
32
- /**
33
- *
34
- * @type {string}
35
- * @memberof AnalyticServiceSyncExecuteSQLRequest
36
- */
37
- projectId?: string;
38
- /**
39
- *
40
- * @type {number}
41
- * @memberof AnalyticServiceSyncExecuteSQLRequest
42
- */
43
- version?: number;
44
- /**
45
- *
46
- * @type {AnalyticServiceSQLQuery}
47
- * @memberof AnalyticServiceSyncExecuteSQLRequest
48
- */
49
- sqlQuery?: AnalyticServiceSQLQuery;
50
- /**
51
- *
52
- * @type {string}
53
- * @memberof AnalyticServiceSyncExecuteSQLRequest
54
- */
55
- cursor?: string;
56
- /**
57
- *
58
- * @type {boolean}
59
- * @memberof AnalyticServiceSyncExecuteSQLRequest
60
- */
61
- bypassCache?: boolean;
62
- /**
63
- *
64
- * @type {CommonCachePolicy}
65
- * @memberof AnalyticServiceSyncExecuteSQLRequest
66
- */
67
- cachePolicy?: CommonCachePolicy;
68
- }
69
- /**
70
- * Check if a given object implements the AnalyticServiceSyncExecuteSQLRequest interface.
71
- */
72
- export declare function instanceOfAnalyticServiceSyncExecuteSQLRequest(value: object): boolean;
73
- export declare function AnalyticServiceSyncExecuteSQLRequestFromJSON(json: any): AnalyticServiceSyncExecuteSQLRequest;
74
- export declare function AnalyticServiceSyncExecuteSQLRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AnalyticServiceSyncExecuteSQLRequest;
75
- export declare function AnalyticServiceSyncExecuteSQLRequestToJSON(value?: AnalyticServiceSyncExecuteSQLRequest | null): any;
@@ -1,55 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Sentio API
5
- * Sentio Open API for query data
6
- *
7
- * The version of the OpenAPI document: version not set
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- import { AnalyticServiceSQLQueryFromJSON, AnalyticServiceSQLQueryToJSON, } from './AnalyticServiceSQLQuery.js';
15
- import { CommonCachePolicyFromJSON, CommonCachePolicyToJSON, } from './CommonCachePolicy.js';
16
- /**
17
- * Check if a given object implements the AnalyticServiceSyncExecuteSQLRequest interface.
18
- */
19
- export function instanceOfAnalyticServiceSyncExecuteSQLRequest(value) {
20
- return true;
21
- }
22
- export function AnalyticServiceSyncExecuteSQLRequestFromJSON(json) {
23
- return AnalyticServiceSyncExecuteSQLRequestFromJSONTyped(json, false);
24
- }
25
- export function AnalyticServiceSyncExecuteSQLRequestFromJSONTyped(json, ignoreDiscriminator) {
26
- if (json == null) {
27
- return json;
28
- }
29
- return {
30
- 'projectOwner': json['projectOwner'] == null ? undefined : json['projectOwner'],
31
- 'projectSlug': json['projectSlug'] == null ? undefined : json['projectSlug'],
32
- 'projectId': json['projectId'] == null ? undefined : json['projectId'],
33
- 'version': json['version'] == null ? undefined : json['version'],
34
- 'sqlQuery': json['sqlQuery'] == null ? undefined : AnalyticServiceSQLQueryFromJSON(json['sqlQuery']),
35
- 'cursor': json['cursor'] == null ? undefined : json['cursor'],
36
- 'bypassCache': json['bypassCache'] == null ? undefined : json['bypassCache'],
37
- 'cachePolicy': json['cachePolicy'] == null ? undefined : CommonCachePolicyFromJSON(json['cachePolicy']),
38
- };
39
- }
40
- export function AnalyticServiceSyncExecuteSQLRequestToJSON(value) {
41
- if (value == null) {
42
- return value;
43
- }
44
- return {
45
- 'projectOwner': value['projectOwner'],
46
- 'projectSlug': value['projectSlug'],
47
- 'projectId': value['projectId'],
48
- 'version': value['version'],
49
- 'sqlQuery': AnalyticServiceSQLQueryToJSON(value['sqlQuery']),
50
- 'cursor': value['cursor'],
51
- 'bypassCache': value['bypassCache'],
52
- 'cachePolicy': CommonCachePolicyToJSON(value['cachePolicy']),
53
- };
54
- }
55
- //# sourceMappingURL=AnalyticServiceSyncExecuteSQLRequest.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AnalyticServiceSyncExecuteSQLRequest.js","sourceRoot":"","sources":["../../../src/models/AnalyticServiceSyncExecuteSQLRequest.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAIH,OAAO,EACH,+BAA+B,EAE/B,6BAA6B,GAChC,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EACH,yBAAyB,EAEzB,uBAAuB,GAC1B,MAAM,wBAAwB,CAAC;AA0DhC;;GAEG;AACH,MAAM,UAAU,8CAA8C,CAAC,KAAa;IACxE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,4CAA4C,CAAC,IAAS;IAClE,OAAO,iDAAiD,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC1E,CAAC;AAED,MAAM,UAAU,iDAAiD,CAAC,IAAS,EAAE,mBAA4B;IACrG,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,cAAc,EAAE,IAAI,CAAC,cAAc,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC;QAC/E,aAAa,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC;QAC5E,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC;QACtE,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC;QAChE,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,+BAA+B,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QACpG,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC;QAC7D,aAAa,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC;QAC5E,aAAa,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,yBAAyB,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;KAC1G,CAAC;AACN,CAAC;AAED,MAAM,UAAU,0CAA0C,CAAC,KAAmD;IAC1G,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IACD,OAAO;QAEH,cAAc,EAAE,KAAK,CAAC,cAAc,CAAC;QACrC,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC;QACnC,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;QAC3B,UAAU,EAAE,6BAA6B,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;QAC5D,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC;QACzB,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC;QACnC,aAAa,EAAE,uBAAuB,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;KAC/D,CAAC;AACN,CAAC"}
@@ -1,95 +0,0 @@
1
- /**
2
- * Sentio API
3
- * Sentio Open API for query data
4
- *
5
- * The version of the OpenAPI document: version not set
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { CommonCachePolicy } from './CommonCachePolicy.js';
13
- import type { CommonFormula } from './CommonFormula.js';
14
- import type { CommonTimeRangeLite } from './CommonTimeRangeLite.js';
15
- import type { InsightsServiceQueryRequestQuery } from './InsightsServiceQueryRequestQuery.js';
16
- /**
17
- *
18
- * @export
19
- * @interface InsightsServiceQueryRequest
20
- */
21
- export interface InsightsServiceQueryRequest {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof InsightsServiceQueryRequest
26
- */
27
- projectOwner?: string;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof InsightsServiceQueryRequest
32
- */
33
- projectSlug?: string;
34
- /**
35
- *
36
- * @type {string}
37
- * @memberof InsightsServiceQueryRequest
38
- */
39
- projectId?: string;
40
- /**
41
- *
42
- * @type {number}
43
- * @memberof InsightsServiceQueryRequest
44
- */
45
- version?: number;
46
- /**
47
- *
48
- * @type {CommonTimeRangeLite}
49
- * @memberof InsightsServiceQueryRequest
50
- */
51
- timeRange?: CommonTimeRangeLite;
52
- /**
53
- *
54
- * @type {Array<InsightsServiceQueryRequestQuery>}
55
- * @memberof InsightsServiceQueryRequest
56
- */
57
- queries?: Array<InsightsServiceQueryRequestQuery>;
58
- /**
59
- *
60
- * @type {Array<CommonFormula>}
61
- * @memberof InsightsServiceQueryRequest
62
- */
63
- formulas?: Array<CommonFormula>;
64
- /**
65
- *
66
- * @type {number}
67
- * @memberof InsightsServiceQueryRequest
68
- */
69
- limit?: number;
70
- /**
71
- *
72
- * @type {number}
73
- * @memberof InsightsServiceQueryRequest
74
- */
75
- offset?: number;
76
- /**
77
- *
78
- * @type {boolean}
79
- * @memberof InsightsServiceQueryRequest
80
- */
81
- bypassCache?: boolean;
82
- /**
83
- *
84
- * @type {CommonCachePolicy}
85
- * @memberof InsightsServiceQueryRequest
86
- */
87
- cachePolicy?: CommonCachePolicy;
88
- }
89
- /**
90
- * Check if a given object implements the InsightsServiceQueryRequest interface.
91
- */
92
- export declare function instanceOfInsightsServiceQueryRequest(value: object): boolean;
93
- export declare function InsightsServiceQueryRequestFromJSON(json: any): InsightsServiceQueryRequest;
94
- export declare function InsightsServiceQueryRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): InsightsServiceQueryRequest;
95
- export declare function InsightsServiceQueryRequestToJSON(value?: InsightsServiceQueryRequest | null): any;
@@ -1,63 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Sentio API
5
- * Sentio Open API for query data
6
- *
7
- * The version of the OpenAPI document: version not set
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- import { CommonCachePolicyFromJSON, CommonCachePolicyToJSON, } from './CommonCachePolicy.js';
15
- import { CommonFormulaFromJSON, CommonFormulaToJSON, } from './CommonFormula.js';
16
- import { CommonTimeRangeLiteFromJSON, CommonTimeRangeLiteToJSON, } from './CommonTimeRangeLite.js';
17
- import { InsightsServiceQueryRequestQueryFromJSON, InsightsServiceQueryRequestQueryToJSON, } from './InsightsServiceQueryRequestQuery.js';
18
- /**
19
- * Check if a given object implements the InsightsServiceQueryRequest interface.
20
- */
21
- export function instanceOfInsightsServiceQueryRequest(value) {
22
- return true;
23
- }
24
- export function InsightsServiceQueryRequestFromJSON(json) {
25
- return InsightsServiceQueryRequestFromJSONTyped(json, false);
26
- }
27
- export function InsightsServiceQueryRequestFromJSONTyped(json, ignoreDiscriminator) {
28
- if (json == null) {
29
- return json;
30
- }
31
- return {
32
- 'projectOwner': json['projectOwner'] == null ? undefined : json['projectOwner'],
33
- 'projectSlug': json['projectSlug'] == null ? undefined : json['projectSlug'],
34
- 'projectId': json['projectId'] == null ? undefined : json['projectId'],
35
- 'version': json['version'] == null ? undefined : json['version'],
36
- 'timeRange': json['timeRange'] == null ? undefined : CommonTimeRangeLiteFromJSON(json['timeRange']),
37
- 'queries': json['queries'] == null ? undefined : (json['queries'].map(InsightsServiceQueryRequestQueryFromJSON)),
38
- 'formulas': json['formulas'] == null ? undefined : (json['formulas'].map(CommonFormulaFromJSON)),
39
- 'limit': json['limit'] == null ? undefined : json['limit'],
40
- 'offset': json['offset'] == null ? undefined : json['offset'],
41
- 'bypassCache': json['bypassCache'] == null ? undefined : json['bypassCache'],
42
- 'cachePolicy': json['cachePolicy'] == null ? undefined : CommonCachePolicyFromJSON(json['cachePolicy']),
43
- };
44
- }
45
- export function InsightsServiceQueryRequestToJSON(value) {
46
- if (value == null) {
47
- return value;
48
- }
49
- return {
50
- 'projectOwner': value['projectOwner'],
51
- 'projectSlug': value['projectSlug'],
52
- 'projectId': value['projectId'],
53
- 'version': value['version'],
54
- 'timeRange': CommonTimeRangeLiteToJSON(value['timeRange']),
55
- 'queries': value['queries'] == null ? undefined : (value['queries'].map(InsightsServiceQueryRequestQueryToJSON)),
56
- 'formulas': value['formulas'] == null ? undefined : (value['formulas'].map(CommonFormulaToJSON)),
57
- 'limit': value['limit'],
58
- 'offset': value['offset'],
59
- 'bypassCache': value['bypassCache'],
60
- 'cachePolicy': CommonCachePolicyToJSON(value['cachePolicy']),
61
- };
62
- }
63
- //# sourceMappingURL=InsightsServiceQueryRequest.js.map