@sentio/api 1.0.2-rc.1 → 1.0.2-rc.11
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/README.md +48 -1
- package/dist/src/apis/DataApi.d.ts +3 -29
- package/dist/src/apis/DataApi.js +14 -76
- package/dist/src/apis/DataApi.js.map +1 -1
- package/dist/src/apis/DebugAndSimulationApi.d.ts +2 -1
- package/dist/src/apis/DebugAndSimulationApi.js +10 -10
- package/dist/src/apis/DebugAndSimulationApi.js.map +1 -1
- package/dist/src/apis/PriceApi.d.ts +68 -0
- package/dist/src/apis/PriceApi.js +149 -0
- package/dist/src/apis/PriceApi.js.map +1 -0
- package/dist/src/apis/WebApi.js +9 -9
- package/dist/src/apis/index.d.ts +1 -0
- package/dist/src/apis/index.js +1 -0
- package/dist/src/apis/index.js.map +1 -1
- package/dist/src/models/CommonTimeRangeLite.d.ts +1 -1
- package/dist/src/models/GoogleProtobufAny.d.ts +2 -1
- package/dist/src/models/GoogleProtobufAny.js.map +1 -1
- package/dist/src/models/PriceServiceBatchGetPricesResponse.d.ts +32 -0
- package/dist/src/models/PriceServiceBatchGetPricesResponse.js +40 -0
- package/dist/src/models/PriceServiceBatchGetPricesResponse.js.map +1 -0
- package/dist/src/models/PriceServiceBatchGetPricesResponseCoinPrice.d.ts +45 -0
- package/dist/src/models/PriceServiceBatchGetPricesResponseCoinPrice.js +45 -0
- package/dist/src/models/PriceServiceBatchGetPricesResponseCoinPrice.js.map +1 -0
- package/dist/src/models/PriceServiceBatchGetPricesResponseCoinPricePrice.d.ts +32 -0
- package/dist/src/models/PriceServiceBatchGetPricesResponseCoinPricePrice.js +40 -0
- package/dist/src/models/PriceServiceBatchGetPricesResponseCoinPricePrice.js.map +1 -0
- package/dist/src/models/PriceServiceCheckLatestPriceResponse.d.ts +38 -0
- package/dist/src/models/PriceServiceCheckLatestPriceResponse.js +42 -0
- package/dist/src/models/PriceServiceCheckLatestPriceResponse.js.map +1 -0
- package/dist/src/models/PriceServiceCheckLatestPriceResponseCoinPrice.d.ts +44 -0
- package/dist/src/models/PriceServiceCheckLatestPriceResponseCoinPrice.js +44 -0
- package/dist/src/models/PriceServiceCheckLatestPriceResponseCoinPrice.js.map +1 -0
- package/dist/src/models/PriceServiceCoinID.d.ts +38 -0
- package/dist/src/models/PriceServiceCoinID.js +42 -0
- package/dist/src/models/PriceServiceCoinID.js.map +1 -0
- package/dist/src/models/PriceServiceCoinIDAddressIdentifier.d.ts +38 -0
- package/dist/src/models/PriceServiceCoinIDAddressIdentifier.js +41 -0
- package/dist/src/models/PriceServiceCoinIDAddressIdentifier.js.map +1 -0
- package/dist/src/models/PriceServiceGetPriceResponse.d.ts +37 -0
- package/dist/src/models/PriceServiceGetPriceResponse.js +41 -0
- package/dist/src/models/PriceServiceGetPriceResponse.js.map +1 -0
- package/dist/src/models/PriceServiceListCoinsResponse.d.ts +40 -0
- package/dist/src/models/PriceServiceListCoinsResponse.js +43 -0
- package/dist/src/models/PriceServiceListCoinsResponse.js.map +1 -0
- package/dist/src/models/SolidityServiceSimulation.d.ts +16 -10
- package/dist/src/models/SolidityServiceSimulation.js +29 -9
- package/dist/src/models/SolidityServiceSimulation.js.map +1 -1
- package/dist/src/models/SolidityServiceTxIdentifier.d.ts +2 -2
- package/dist/src/models/SolidityServiceTxIdentifier.js +1 -3
- package/dist/src/models/SolidityServiceTxIdentifier.js.map +1 -1
- package/dist/src/models/WebServiceChartConfig.d.ts +7 -0
- package/dist/src/models/WebServiceChartConfig.js +3 -0
- package/dist/src/models/WebServiceChartConfig.js.map +1 -1
- package/dist/src/models/WebServiceChartConfigLineConfig.d.ts +32 -0
- package/dist/src/models/WebServiceChartConfigLineConfig.js +40 -0
- package/dist/src/models/WebServiceChartConfigLineConfig.js.map +1 -0
- package/dist/src/models/WebServiceChartConfigLineConfigStyle.d.ts +24 -0
- package/dist/src/models/WebServiceChartConfigLineConfigStyle.js +34 -0
- package/dist/src/models/WebServiceChartConfigLineConfigStyle.js.map +1 -0
- package/dist/src/models/index.d.ts +11 -2
- package/dist/src/models/index.js +11 -2
- package/dist/src/models/index.js.map +1 -1
- package/dist/src/runtime.js +1 -1
- package/dist/src/runtime.js.map +1 -1
- package/package.json +1 -1
- package/src/apis/DataApi.ts +13 -111
- package/src/apis/DebugAndSimulationApi.ts +13 -15
- package/src/apis/PriceApi.ts +220 -0
- package/src/apis/WebApi.ts +9 -9
- package/src/apis/index.ts +1 -0
- package/src/models/CommonTimeRangeLite.ts +1 -1
- package/src/models/GoogleProtobufAny.ts +2 -1
- package/src/models/PriceServiceBatchGetPricesResponse.ts +67 -0
- package/src/models/PriceServiceBatchGetPricesResponseCoinPrice.ts +89 -0
- package/src/models/PriceServiceBatchGetPricesResponseCoinPricePrice.ts +67 -0
- package/src/models/PriceServiceCheckLatestPriceResponse.ts +75 -0
- package/src/models/PriceServiceCheckLatestPriceResponseCoinPrice.ts +83 -0
- package/src/models/PriceServiceCoinID.ts +75 -0
- package/src/models/PriceServiceCoinIDAddressIdentifier.ts +69 -0
- package/src/models/PriceServiceGetPriceResponse.ts +68 -0
- package/src/models/PriceServiceListCoinsResponse.ts +75 -0
- package/src/models/SolidityServiceSimulation.ts +36 -19
- package/src/models/SolidityServiceTxIdentifier.ts +3 -4
- package/src/models/WebServiceChartConfig.ts +14 -0
- package/src/models/WebServiceChartConfigLineConfig.ts +67 -0
- package/src/models/WebServiceChartConfigLineConfigStyle.ts +42 -0
- package/src/models/index.ts +11 -2
- package/src/runtime.ts +1 -1
- package/dist/src/models/AnalyticServiceSyncExecuteSQLRequest.d.ts +0 -75
- package/dist/src/models/AnalyticServiceSyncExecuteSQLRequest.js +0 -55
- package/dist/src/models/AnalyticServiceSyncExecuteSQLRequest.js.map +0 -1
- package/dist/src/models/InsightsServiceQueryRequest.d.ts +0 -95
- package/dist/src/models/InsightsServiceQueryRequest.js +0 -63
- package/dist/src/models/InsightsServiceQueryRequest.js.map +0 -1
- package/src/models/AnalyticServiceSyncExecuteSQLRequest.ts +0 -129
- package/src/models/InsightsServiceQueryRequest.ts +0 -165
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"InsightsServiceQueryRequest.js","sourceRoot":"","sources":["../../../src/models/InsightsServiceQueryRequest.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,129 +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
|
-
|
|
15
|
-
import { mapValues } from '../runtime.js';
|
|
16
|
-
import type { AnalyticServiceSQLQuery } from './AnalyticServiceSQLQuery.js';
|
|
17
|
-
import {
|
|
18
|
-
AnalyticServiceSQLQueryFromJSON,
|
|
19
|
-
AnalyticServiceSQLQueryFromJSONTyped,
|
|
20
|
-
AnalyticServiceSQLQueryToJSON,
|
|
21
|
-
} from './AnalyticServiceSQLQuery.js';
|
|
22
|
-
import type { CommonCachePolicy } from './CommonCachePolicy.js';
|
|
23
|
-
import {
|
|
24
|
-
CommonCachePolicyFromJSON,
|
|
25
|
-
CommonCachePolicyFromJSONTyped,
|
|
26
|
-
CommonCachePolicyToJSON,
|
|
27
|
-
} from './CommonCachePolicy.js';
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
*
|
|
31
|
-
* @export
|
|
32
|
-
* @interface AnalyticServiceSyncExecuteSQLRequest
|
|
33
|
-
*/
|
|
34
|
-
export interface AnalyticServiceSyncExecuteSQLRequest {
|
|
35
|
-
/**
|
|
36
|
-
*
|
|
37
|
-
* @type {string}
|
|
38
|
-
* @memberof AnalyticServiceSyncExecuteSQLRequest
|
|
39
|
-
*/
|
|
40
|
-
projectOwner?: string;
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
* @type {string}
|
|
44
|
-
* @memberof AnalyticServiceSyncExecuteSQLRequest
|
|
45
|
-
*/
|
|
46
|
-
projectSlug?: string;
|
|
47
|
-
/**
|
|
48
|
-
*
|
|
49
|
-
* @type {string}
|
|
50
|
-
* @memberof AnalyticServiceSyncExecuteSQLRequest
|
|
51
|
-
*/
|
|
52
|
-
projectId?: string;
|
|
53
|
-
/**
|
|
54
|
-
*
|
|
55
|
-
* @type {number}
|
|
56
|
-
* @memberof AnalyticServiceSyncExecuteSQLRequest
|
|
57
|
-
*/
|
|
58
|
-
version?: number;
|
|
59
|
-
/**
|
|
60
|
-
*
|
|
61
|
-
* @type {AnalyticServiceSQLQuery}
|
|
62
|
-
* @memberof AnalyticServiceSyncExecuteSQLRequest
|
|
63
|
-
*/
|
|
64
|
-
sqlQuery?: AnalyticServiceSQLQuery;
|
|
65
|
-
/**
|
|
66
|
-
*
|
|
67
|
-
* @type {string}
|
|
68
|
-
* @memberof AnalyticServiceSyncExecuteSQLRequest
|
|
69
|
-
*/
|
|
70
|
-
cursor?: string;
|
|
71
|
-
/**
|
|
72
|
-
*
|
|
73
|
-
* @type {boolean}
|
|
74
|
-
* @memberof AnalyticServiceSyncExecuteSQLRequest
|
|
75
|
-
*/
|
|
76
|
-
bypassCache?: boolean;
|
|
77
|
-
/**
|
|
78
|
-
*
|
|
79
|
-
* @type {CommonCachePolicy}
|
|
80
|
-
* @memberof AnalyticServiceSyncExecuteSQLRequest
|
|
81
|
-
*/
|
|
82
|
-
cachePolicy?: CommonCachePolicy;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
* Check if a given object implements the AnalyticServiceSyncExecuteSQLRequest interface.
|
|
87
|
-
*/
|
|
88
|
-
export function instanceOfAnalyticServiceSyncExecuteSQLRequest(value: object): boolean {
|
|
89
|
-
return true;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
export function AnalyticServiceSyncExecuteSQLRequestFromJSON(json: any): AnalyticServiceSyncExecuteSQLRequest {
|
|
93
|
-
return AnalyticServiceSyncExecuteSQLRequestFromJSONTyped(json, false);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
export function AnalyticServiceSyncExecuteSQLRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AnalyticServiceSyncExecuteSQLRequest {
|
|
97
|
-
if (json == null) {
|
|
98
|
-
return json;
|
|
99
|
-
}
|
|
100
|
-
return {
|
|
101
|
-
|
|
102
|
-
'projectOwner': json['projectOwner'] == null ? undefined : json['projectOwner'],
|
|
103
|
-
'projectSlug': json['projectSlug'] == null ? undefined : json['projectSlug'],
|
|
104
|
-
'projectId': json['projectId'] == null ? undefined : json['projectId'],
|
|
105
|
-
'version': json['version'] == null ? undefined : json['version'],
|
|
106
|
-
'sqlQuery': json['sqlQuery'] == null ? undefined : AnalyticServiceSQLQueryFromJSON(json['sqlQuery']),
|
|
107
|
-
'cursor': json['cursor'] == null ? undefined : json['cursor'],
|
|
108
|
-
'bypassCache': json['bypassCache'] == null ? undefined : json['bypassCache'],
|
|
109
|
-
'cachePolicy': json['cachePolicy'] == null ? undefined : CommonCachePolicyFromJSON(json['cachePolicy']),
|
|
110
|
-
};
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
export function AnalyticServiceSyncExecuteSQLRequestToJSON(value?: AnalyticServiceSyncExecuteSQLRequest | null): any {
|
|
114
|
-
if (value == null) {
|
|
115
|
-
return value;
|
|
116
|
-
}
|
|
117
|
-
return {
|
|
118
|
-
|
|
119
|
-
'projectOwner': value['projectOwner'],
|
|
120
|
-
'projectSlug': value['projectSlug'],
|
|
121
|
-
'projectId': value['projectId'],
|
|
122
|
-
'version': value['version'],
|
|
123
|
-
'sqlQuery': AnalyticServiceSQLQueryToJSON(value['sqlQuery']),
|
|
124
|
-
'cursor': value['cursor'],
|
|
125
|
-
'bypassCache': value['bypassCache'],
|
|
126
|
-
'cachePolicy': CommonCachePolicyToJSON(value['cachePolicy']),
|
|
127
|
-
};
|
|
128
|
-
}
|
|
129
|
-
|
|
@@ -1,165 +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
|
-
|
|
15
|
-
import { mapValues } from '../runtime.js';
|
|
16
|
-
import type { CommonCachePolicy } from './CommonCachePolicy.js';
|
|
17
|
-
import {
|
|
18
|
-
CommonCachePolicyFromJSON,
|
|
19
|
-
CommonCachePolicyFromJSONTyped,
|
|
20
|
-
CommonCachePolicyToJSON,
|
|
21
|
-
} from './CommonCachePolicy.js';
|
|
22
|
-
import type { CommonFormula } from './CommonFormula.js';
|
|
23
|
-
import {
|
|
24
|
-
CommonFormulaFromJSON,
|
|
25
|
-
CommonFormulaFromJSONTyped,
|
|
26
|
-
CommonFormulaToJSON,
|
|
27
|
-
} from './CommonFormula.js';
|
|
28
|
-
import type { CommonTimeRangeLite } from './CommonTimeRangeLite.js';
|
|
29
|
-
import {
|
|
30
|
-
CommonTimeRangeLiteFromJSON,
|
|
31
|
-
CommonTimeRangeLiteFromJSONTyped,
|
|
32
|
-
CommonTimeRangeLiteToJSON,
|
|
33
|
-
} from './CommonTimeRangeLite.js';
|
|
34
|
-
import type { InsightsServiceQueryRequestQuery } from './InsightsServiceQueryRequestQuery.js';
|
|
35
|
-
import {
|
|
36
|
-
InsightsServiceQueryRequestQueryFromJSON,
|
|
37
|
-
InsightsServiceQueryRequestQueryFromJSONTyped,
|
|
38
|
-
InsightsServiceQueryRequestQueryToJSON,
|
|
39
|
-
} from './InsightsServiceQueryRequestQuery.js';
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
* @export
|
|
44
|
-
* @interface InsightsServiceQueryRequest
|
|
45
|
-
*/
|
|
46
|
-
export interface InsightsServiceQueryRequest {
|
|
47
|
-
/**
|
|
48
|
-
*
|
|
49
|
-
* @type {string}
|
|
50
|
-
* @memberof InsightsServiceQueryRequest
|
|
51
|
-
*/
|
|
52
|
-
projectOwner?: string;
|
|
53
|
-
/**
|
|
54
|
-
*
|
|
55
|
-
* @type {string}
|
|
56
|
-
* @memberof InsightsServiceQueryRequest
|
|
57
|
-
*/
|
|
58
|
-
projectSlug?: string;
|
|
59
|
-
/**
|
|
60
|
-
*
|
|
61
|
-
* @type {string}
|
|
62
|
-
* @memberof InsightsServiceQueryRequest
|
|
63
|
-
*/
|
|
64
|
-
projectId?: string;
|
|
65
|
-
/**
|
|
66
|
-
*
|
|
67
|
-
* @type {number}
|
|
68
|
-
* @memberof InsightsServiceQueryRequest
|
|
69
|
-
*/
|
|
70
|
-
version?: number;
|
|
71
|
-
/**
|
|
72
|
-
*
|
|
73
|
-
* @type {CommonTimeRangeLite}
|
|
74
|
-
* @memberof InsightsServiceQueryRequest
|
|
75
|
-
*/
|
|
76
|
-
timeRange?: CommonTimeRangeLite;
|
|
77
|
-
/**
|
|
78
|
-
*
|
|
79
|
-
* @type {Array<InsightsServiceQueryRequestQuery>}
|
|
80
|
-
* @memberof InsightsServiceQueryRequest
|
|
81
|
-
*/
|
|
82
|
-
queries?: Array<InsightsServiceQueryRequestQuery>;
|
|
83
|
-
/**
|
|
84
|
-
*
|
|
85
|
-
* @type {Array<CommonFormula>}
|
|
86
|
-
* @memberof InsightsServiceQueryRequest
|
|
87
|
-
*/
|
|
88
|
-
formulas?: Array<CommonFormula>;
|
|
89
|
-
/**
|
|
90
|
-
*
|
|
91
|
-
* @type {number}
|
|
92
|
-
* @memberof InsightsServiceQueryRequest
|
|
93
|
-
*/
|
|
94
|
-
limit?: number;
|
|
95
|
-
/**
|
|
96
|
-
*
|
|
97
|
-
* @type {number}
|
|
98
|
-
* @memberof InsightsServiceQueryRequest
|
|
99
|
-
*/
|
|
100
|
-
offset?: number;
|
|
101
|
-
/**
|
|
102
|
-
*
|
|
103
|
-
* @type {boolean}
|
|
104
|
-
* @memberof InsightsServiceQueryRequest
|
|
105
|
-
*/
|
|
106
|
-
bypassCache?: boolean;
|
|
107
|
-
/**
|
|
108
|
-
*
|
|
109
|
-
* @type {CommonCachePolicy}
|
|
110
|
-
* @memberof InsightsServiceQueryRequest
|
|
111
|
-
*/
|
|
112
|
-
cachePolicy?: CommonCachePolicy;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
/**
|
|
116
|
-
* Check if a given object implements the InsightsServiceQueryRequest interface.
|
|
117
|
-
*/
|
|
118
|
-
export function instanceOfInsightsServiceQueryRequest(value: object): boolean {
|
|
119
|
-
return true;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
export function InsightsServiceQueryRequestFromJSON(json: any): InsightsServiceQueryRequest {
|
|
123
|
-
return InsightsServiceQueryRequestFromJSONTyped(json, false);
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
export function InsightsServiceQueryRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): InsightsServiceQueryRequest {
|
|
127
|
-
if (json == null) {
|
|
128
|
-
return json;
|
|
129
|
-
}
|
|
130
|
-
return {
|
|
131
|
-
|
|
132
|
-
'projectOwner': json['projectOwner'] == null ? undefined : json['projectOwner'],
|
|
133
|
-
'projectSlug': json['projectSlug'] == null ? undefined : json['projectSlug'],
|
|
134
|
-
'projectId': json['projectId'] == null ? undefined : json['projectId'],
|
|
135
|
-
'version': json['version'] == null ? undefined : json['version'],
|
|
136
|
-
'timeRange': json['timeRange'] == null ? undefined : CommonTimeRangeLiteFromJSON(json['timeRange']),
|
|
137
|
-
'queries': json['queries'] == null ? undefined : ((json['queries'] as Array<any>).map(InsightsServiceQueryRequestQueryFromJSON)),
|
|
138
|
-
'formulas': json['formulas'] == null ? undefined : ((json['formulas'] as Array<any>).map(CommonFormulaFromJSON)),
|
|
139
|
-
'limit': json['limit'] == null ? undefined : json['limit'],
|
|
140
|
-
'offset': json['offset'] == null ? undefined : json['offset'],
|
|
141
|
-
'bypassCache': json['bypassCache'] == null ? undefined : json['bypassCache'],
|
|
142
|
-
'cachePolicy': json['cachePolicy'] == null ? undefined : CommonCachePolicyFromJSON(json['cachePolicy']),
|
|
143
|
-
};
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
export function InsightsServiceQueryRequestToJSON(value?: InsightsServiceQueryRequest | null): any {
|
|
147
|
-
if (value == null) {
|
|
148
|
-
return value;
|
|
149
|
-
}
|
|
150
|
-
return {
|
|
151
|
-
|
|
152
|
-
'projectOwner': value['projectOwner'],
|
|
153
|
-
'projectSlug': value['projectSlug'],
|
|
154
|
-
'projectId': value['projectId'],
|
|
155
|
-
'version': value['version'],
|
|
156
|
-
'timeRange': CommonTimeRangeLiteToJSON(value['timeRange']),
|
|
157
|
-
'queries': value['queries'] == null ? undefined : ((value['queries'] as Array<any>).map(InsightsServiceQueryRequestQueryToJSON)),
|
|
158
|
-
'formulas': value['formulas'] == null ? undefined : ((value['formulas'] as Array<any>).map(CommonFormulaToJSON)),
|
|
159
|
-
'limit': value['limit'],
|
|
160
|
-
'offset': value['offset'],
|
|
161
|
-
'bypassCache': value['bypassCache'],
|
|
162
|
-
'cachePolicy': CommonCachePolicyToJSON(value['cachePolicy']),
|
|
163
|
-
};
|
|
164
|
-
}
|
|
165
|
-
|