@sentio/api 1.0.2-rc.17 → 1.0.2-rc.19
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/apis/DebugAndSimulationApi.d.ts +168 -19
- package/dist/src/apis/DebugAndSimulationApi.js +424 -43
- package/dist/src/apis/DebugAndSimulationApi.js.map +1 -1
- package/dist/src/apis/DefaultApi.d.ts +31 -0
- package/dist/src/apis/DefaultApi.js +54 -0
- package/dist/src/apis/DefaultApi.js.map +1 -0
- package/dist/src/apis/ForksApi.d.ts +84 -0
- package/dist/src/apis/ForksApi.js +211 -0
- package/dist/src/apis/ForksApi.js.map +1 -0
- package/dist/src/apis/index.d.ts +2 -0
- package/dist/src/apis/index.js +2 -0
- package/dist/src/apis/index.js.map +1 -1
- package/dist/src/models/SolidityServiceBaseChainConfig.d.ts +3 -2
- package/dist/src/models/SolidityServiceBaseChainConfig.js +3 -2
- package/dist/src/models/SolidityServiceBaseChainConfig.js.map +1 -1
- package/dist/src/models/SolidityServiceCreateForkResponse.d.ts +33 -0
- package/dist/src/models/SolidityServiceCreateForkResponse.js +43 -0
- package/dist/src/models/SolidityServiceCreateForkResponse.js.map +1 -0
- package/dist/src/models/SolidityServiceExternalFork.d.ts +39 -0
- package/dist/src/models/SolidityServiceExternalFork.js +45 -0
- package/dist/src/models/SolidityServiceExternalFork.js.map +1 -0
- package/dist/src/models/SolidityServiceFork.d.ts +77 -0
- package/dist/src/models/SolidityServiceFork.js +59 -0
- package/dist/src/models/SolidityServiceFork.js.map +1 -0
- package/dist/src/models/SolidityServiceForkServiceCreateForkBody.d.ts +33 -0
- package/dist/src/models/SolidityServiceForkServiceCreateForkBody.js +45 -0
- package/dist/src/models/SolidityServiceForkServiceCreateForkBody.js.map +1 -0
- package/dist/src/models/SolidityServiceForkServiceUpdateForkBody.d.ts +33 -0
- package/dist/src/models/SolidityServiceForkServiceUpdateForkBody.js +45 -0
- package/dist/src/models/SolidityServiceForkServiceUpdateForkBody.js.map +1 -0
- package/dist/src/models/SolidityServiceForkType.d.ts +25 -0
- package/dist/src/models/SolidityServiceForkType.js +44 -0
- package/dist/src/models/SolidityServiceForkType.js.map +1 -0
- package/dist/src/models/SolidityServiceGetForkInfoResponse.d.ts +70 -0
- package/dist/src/models/SolidityServiceGetForkInfoResponse.js +56 -0
- package/dist/src/models/SolidityServiceGetForkInfoResponse.js.map +1 -0
- package/dist/src/models/SolidityServiceGetForkResponse.d.ts +33 -0
- package/dist/src/models/SolidityServiceGetForkResponse.js +43 -0
- package/dist/src/models/SolidityServiceGetForkResponse.js.map +1 -0
- package/dist/src/models/SolidityServiceListForksResponse.d.ts +33 -0
- package/dist/src/models/SolidityServiceListForksResponse.js +43 -0
- package/dist/src/models/SolidityServiceListForksResponse.js.map +1 -0
- package/dist/src/models/SolidityServiceManagedFork.d.ts +45 -0
- package/dist/src/models/SolidityServiceManagedFork.js +47 -0
- package/dist/src/models/SolidityServiceManagedFork.js.map +1 -0
- package/dist/src/models/SolidityServiceNodeEnvironment.d.ts +50 -0
- package/dist/src/models/SolidityServiceNodeEnvironment.js +48 -0
- package/dist/src/models/SolidityServiceNodeEnvironment.js.map +1 -0
- package/dist/src/models/SolidityServiceNodeForkConfig.d.ts +44 -0
- package/dist/src/models/SolidityServiceNodeForkConfig.js +46 -0
- package/dist/src/models/SolidityServiceNodeForkConfig.js.map +1 -0
- package/dist/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBody.d.ts +40 -0
- package/dist/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBody.js +48 -0
- package/dist/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBody.js.map +1 -0
- package/dist/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec.d.ts +32 -0
- package/dist/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec.js +42 -0
- package/dist/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec.js.map +1 -0
- package/dist/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody.d.ts +40 -0
- package/dist/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody.js +48 -0
- package/dist/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody.js.map +1 -0
- package/dist/src/models/SolidityServiceSourceFetcherType.d.ts +26 -0
- package/dist/src/models/SolidityServiceSourceFetcherType.js +45 -0
- package/dist/src/models/SolidityServiceSourceFetcherType.js.map +1 -0
- package/dist/src/models/SolidityServiceUpdateForkResponse.d.ts +33 -0
- package/dist/src/models/SolidityServiceUpdateForkResponse.js +43 -0
- package/dist/src/models/SolidityServiceUpdateForkResponse.js.map +1 -0
- package/dist/src/models/index.d.ts +17 -2
- package/dist/src/models/index.js +17 -2
- package/dist/src/models/index.js.map +1 -1
- package/package.json +1 -1
- package/src/apis/DebugAndSimulationApi.ts +824 -110
- package/src/apis/DefaultApi.ts +87 -0
- package/src/apis/ForksApi.ts +384 -0
- package/src/apis/index.ts +2 -0
- package/src/models/SolidityServiceBaseChainConfig.ts +14 -4
- package/src/models/SolidityServiceCreateForkResponse.ts +73 -0
- package/src/models/SolidityServiceExternalFork.ts +81 -0
- package/src/models/SolidityServiceFork.ts +145 -0
- package/src/models/SolidityServiceForkServiceCreateForkBody.ts +74 -0
- package/src/models/SolidityServiceForkServiceUpdateForkBody.ts +74 -0
- package/src/models/SolidityServiceForkType.ts +53 -0
- package/src/models/SolidityServiceGetForkInfoResponse.ts +128 -0
- package/src/models/SolidityServiceGetForkResponse.ts +73 -0
- package/src/models/SolidityServiceListForksResponse.ts +73 -0
- package/src/models/SolidityServiceManagedFork.ts +89 -0
- package/src/models/SolidityServiceNodeEnvironment.ts +89 -0
- package/src/models/SolidityServiceNodeForkConfig.ts +81 -0
- package/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBody.ts +89 -0
- package/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec.ts +65 -0
- package/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody.ts +89 -0
- package/src/models/SolidityServiceSourceFetcherType.ts +54 -0
- package/src/models/SolidityServiceUpdateForkResponse.ts +73 -0
- package/src/models/index.ts +17 -2
- package/dist/src/models/SolidityServiceSimulateTransactionBundleRequest.d.ts +0 -45
- package/dist/src/models/SolidityServiceSimulateTransactionBundleRequest.js +0 -53
- package/dist/src/models/SolidityServiceSimulateTransactionBundleRequest.js.map +0 -1
- package/dist/src/models/SolidityServiceSimulateTransactionRequest.d.ts +0 -45
- package/dist/src/models/SolidityServiceSimulateTransactionRequest.js +0 -53
- package/dist/src/models/SolidityServiceSimulateTransactionRequest.js.map +0 -1
- package/src/models/SolidityServiceSimulateTransactionBundleRequest.ts +0 -92
- package/src/models/SolidityServiceSimulateTransactionRequest.ts +0 -92
|
@@ -0,0 +1,43 @@
|
|
|
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 { SolidityServiceForkFromJSON, SolidityServiceForkToJSON, } from './SolidityServiceFork.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the SolidityServiceCreateForkResponse interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfSolidityServiceCreateForkResponse(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function SolidityServiceCreateForkResponseFromJSON(json) {
|
|
22
|
+
return SolidityServiceCreateForkResponseFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function SolidityServiceCreateForkResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'fork': json['fork'] == null ? undefined : SolidityServiceForkFromJSON(json['fork']),
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export function SolidityServiceCreateForkResponseToJSON(json) {
|
|
33
|
+
return SolidityServiceCreateForkResponseToJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function SolidityServiceCreateForkResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'fork': SolidityServiceForkToJSON(value['fork']),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=SolidityServiceCreateForkResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SolidityServiceCreateForkResponse.js","sourceRoot":"","sources":["../../../src/models/SolidityServiceCreateForkResponse.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAIH,OAAO,EACH,2BAA2B,EAE3B,yBAAyB,GAE5B,MAAM,0BAA0B,CAAC;AAgBlC;;GAEG;AACH,MAAM,UAAU,2CAA2C,CAAC,KAAa;IACrE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,yCAAyC,CAAC,IAAS;IAC/D,OAAO,8CAA8C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACvE,CAAC;AAED,MAAM,UAAU,8CAA8C,CAAC,IAAS,EAAE,mBAA4B;IAClG,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,2BAA2B,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;KACvF,CAAC;AACN,CAAC;AAEC,MAAM,UAAU,uCAAuC,CAAC,IAAS;IAC7D,OAAO,4CAA4C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACrE,CAAC;AAED,MAAM,UAAU,4CAA4C,CAAC,KAAgD,EAAE,sBAA+B,KAAK;IACjJ,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,MAAM,EAAE,yBAAyB,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;KACnD,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 { SolidityServiceBaseChainConfig } from './SolidityServiceBaseChainConfig.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SolidityServiceExternalFork
|
|
17
|
+
*/
|
|
18
|
+
export interface SolidityServiceExternalFork {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {SolidityServiceBaseChainConfig}
|
|
22
|
+
* @memberof SolidityServiceExternalFork
|
|
23
|
+
*/
|
|
24
|
+
chainConfig?: SolidityServiceBaseChainConfig;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof SolidityServiceExternalFork
|
|
29
|
+
*/
|
|
30
|
+
nodeAdditionalHeaders?: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the SolidityServiceExternalFork interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfSolidityServiceExternalFork(value: object): value is SolidityServiceExternalFork;
|
|
36
|
+
export declare function SolidityServiceExternalForkFromJSON(json: any): SolidityServiceExternalFork;
|
|
37
|
+
export declare function SolidityServiceExternalForkFromJSONTyped(json: any, ignoreDiscriminator: boolean): SolidityServiceExternalFork;
|
|
38
|
+
export declare function SolidityServiceExternalForkToJSON(json: any): SolidityServiceExternalFork;
|
|
39
|
+
export declare function SolidityServiceExternalForkToJSONTyped(value?: SolidityServiceExternalFork | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,45 @@
|
|
|
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 { SolidityServiceBaseChainConfigFromJSON, SolidityServiceBaseChainConfigToJSON, } from './SolidityServiceBaseChainConfig.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the SolidityServiceExternalFork interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfSolidityServiceExternalFork(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function SolidityServiceExternalForkFromJSON(json) {
|
|
22
|
+
return SolidityServiceExternalForkFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function SolidityServiceExternalForkFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'chainConfig': json['chainConfig'] == null ? undefined : SolidityServiceBaseChainConfigFromJSON(json['chainConfig']),
|
|
30
|
+
'nodeAdditionalHeaders': json['nodeAdditionalHeaders'] == null ? undefined : json['nodeAdditionalHeaders'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function SolidityServiceExternalForkToJSON(json) {
|
|
34
|
+
return SolidityServiceExternalForkToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function SolidityServiceExternalForkToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'chainConfig': SolidityServiceBaseChainConfigToJSON(value['chainConfig']),
|
|
42
|
+
'nodeAdditionalHeaders': value['nodeAdditionalHeaders'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=SolidityServiceExternalFork.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SolidityServiceExternalFork.js","sourceRoot":"","sources":["../../../src/models/SolidityServiceExternalFork.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAIH,OAAO,EACH,sCAAsC,EAEtC,oCAAoC,GAEvC,MAAM,qCAAqC,CAAC;AAsB7C;;GAEG;AACH,MAAM,UAAU,qCAAqC,CAAC,KAAa;IAC/D,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,mCAAmC,CAAC,IAAS;IACzD,OAAO,wCAAwC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACjE,CAAC;AAED,MAAM,UAAU,wCAAwC,CAAC,IAAS,EAAE,mBAA4B;IAC5F,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,aAAa,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,sCAAsC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QACpH,uBAAuB,EAAE,IAAI,CAAC,uBAAuB,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,uBAAuB,CAAC;KAC7G,CAAC;AACN,CAAC;AAEC,MAAM,UAAU,iCAAiC,CAAC,IAAS;IACvD,OAAO,sCAAsC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC/D,CAAC;AAED,MAAM,UAAU,sCAAsC,CAAC,KAA0C,EAAE,sBAA+B,KAAK;IACrI,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,aAAa,EAAE,oCAAoC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;QACzE,uBAAuB,EAAE,KAAK,CAAC,uBAAuB,CAAC;KAC1D,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,77 @@
|
|
|
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 { SolidityServiceExternalFork } from './SolidityServiceExternalFork.js';
|
|
13
|
+
import type { SolidityServiceForkType } from './SolidityServiceForkType.js';
|
|
14
|
+
import type { SolidityServiceManagedFork } from './SolidityServiceManagedFork.js';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface SolidityServiceFork
|
|
19
|
+
*/
|
|
20
|
+
export interface SolidityServiceFork {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof SolidityServiceFork
|
|
25
|
+
*/
|
|
26
|
+
id?: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {SolidityServiceForkType}
|
|
30
|
+
* @memberof SolidityServiceFork
|
|
31
|
+
*/
|
|
32
|
+
type?: SolidityServiceForkType;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof SolidityServiceFork
|
|
37
|
+
*/
|
|
38
|
+
name?: string;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof SolidityServiceFork
|
|
43
|
+
*/
|
|
44
|
+
extra?: string;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {SolidityServiceManagedFork}
|
|
48
|
+
* @memberof SolidityServiceFork
|
|
49
|
+
*/
|
|
50
|
+
managedFork?: SolidityServiceManagedFork;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {SolidityServiceExternalFork}
|
|
54
|
+
* @memberof SolidityServiceFork
|
|
55
|
+
*/
|
|
56
|
+
externalFork?: SolidityServiceExternalFork;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {Date}
|
|
60
|
+
* @memberof SolidityServiceFork
|
|
61
|
+
*/
|
|
62
|
+
createTime?: Date;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {Date}
|
|
66
|
+
* @memberof SolidityServiceFork
|
|
67
|
+
*/
|
|
68
|
+
updateTime?: Date;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Check if a given object implements the SolidityServiceFork interface.
|
|
72
|
+
*/
|
|
73
|
+
export declare function instanceOfSolidityServiceFork(value: object): value is SolidityServiceFork;
|
|
74
|
+
export declare function SolidityServiceForkFromJSON(json: any): SolidityServiceFork;
|
|
75
|
+
export declare function SolidityServiceForkFromJSONTyped(json: any, ignoreDiscriminator: boolean): SolidityServiceFork;
|
|
76
|
+
export declare function SolidityServiceForkToJSON(json: any): SolidityServiceFork;
|
|
77
|
+
export declare function SolidityServiceForkToJSONTyped(value?: SolidityServiceFork | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
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 { SolidityServiceExternalForkFromJSON, SolidityServiceExternalForkToJSON, } from './SolidityServiceExternalFork.js';
|
|
15
|
+
import { SolidityServiceForkTypeFromJSON, SolidityServiceForkTypeToJSON, } from './SolidityServiceForkType.js';
|
|
16
|
+
import { SolidityServiceManagedForkFromJSON, SolidityServiceManagedForkToJSON, } from './SolidityServiceManagedFork.js';
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the SolidityServiceFork interface.
|
|
19
|
+
*/
|
|
20
|
+
export function instanceOfSolidityServiceFork(value) {
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function SolidityServiceForkFromJSON(json) {
|
|
24
|
+
return SolidityServiceForkFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function SolidityServiceForkFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
32
|
+
'type': json['type'] == null ? undefined : SolidityServiceForkTypeFromJSON(json['type']),
|
|
33
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
34
|
+
'extra': json['extra'] == null ? undefined : json['extra'],
|
|
35
|
+
'managedFork': json['managedFork'] == null ? undefined : SolidityServiceManagedForkFromJSON(json['managedFork']),
|
|
36
|
+
'externalFork': json['externalFork'] == null ? undefined : SolidityServiceExternalForkFromJSON(json['externalFork']),
|
|
37
|
+
'createTime': json['createTime'] == null ? undefined : (new Date(json['createTime'])),
|
|
38
|
+
'updateTime': json['updateTime'] == null ? undefined : (new Date(json['updateTime'])),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export function SolidityServiceForkToJSON(json) {
|
|
42
|
+
return SolidityServiceForkToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
export function SolidityServiceForkToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'id': value['id'],
|
|
50
|
+
'type': SolidityServiceForkTypeToJSON(value['type']),
|
|
51
|
+
'name': value['name'],
|
|
52
|
+
'extra': value['extra'],
|
|
53
|
+
'managedFork': SolidityServiceManagedForkToJSON(value['managedFork']),
|
|
54
|
+
'externalFork': SolidityServiceExternalForkToJSON(value['externalFork']),
|
|
55
|
+
'createTime': value['createTime'] == null ? undefined : ((value['createTime']).toISOString()),
|
|
56
|
+
'updateTime': value['updateTime'] == null ? undefined : ((value['updateTime']).toISOString()),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
//# sourceMappingURL=SolidityServiceFork.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SolidityServiceFork.js","sourceRoot":"","sources":["../../../src/models/SolidityServiceFork.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAIH,OAAO,EACH,mCAAmC,EAEnC,iCAAiC,GAEpC,MAAM,kCAAkC,CAAC;AAE1C,OAAO,EACH,+BAA+B,EAE/B,6BAA6B,GAEhC,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EACH,kCAAkC,EAElC,gCAAgC,GAEnC,MAAM,iCAAiC,CAAC;AA4DzC;;GAEG;AACH,MAAM,UA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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 { SolidityServiceFork } from './SolidityServiceFork.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SolidityServiceForkServiceCreateForkBody
|
|
17
|
+
*/
|
|
18
|
+
export interface SolidityServiceForkServiceCreateForkBody {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {SolidityServiceFork}
|
|
22
|
+
* @memberof SolidityServiceForkServiceCreateForkBody
|
|
23
|
+
*/
|
|
24
|
+
fork: SolidityServiceFork;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the SolidityServiceForkServiceCreateForkBody interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfSolidityServiceForkServiceCreateForkBody(value: object): value is SolidityServiceForkServiceCreateForkBody;
|
|
30
|
+
export declare function SolidityServiceForkServiceCreateForkBodyFromJSON(json: any): SolidityServiceForkServiceCreateForkBody;
|
|
31
|
+
export declare function SolidityServiceForkServiceCreateForkBodyFromJSONTyped(json: any, ignoreDiscriminator: boolean): SolidityServiceForkServiceCreateForkBody;
|
|
32
|
+
export declare function SolidityServiceForkServiceCreateForkBodyToJSON(json: any): SolidityServiceForkServiceCreateForkBody;
|
|
33
|
+
export declare function SolidityServiceForkServiceCreateForkBodyToJSONTyped(value?: SolidityServiceForkServiceCreateForkBody | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,45 @@
|
|
|
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 { SolidityServiceForkFromJSON, SolidityServiceForkToJSON, } from './SolidityServiceFork.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the SolidityServiceForkServiceCreateForkBody interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfSolidityServiceForkServiceCreateForkBody(value) {
|
|
19
|
+
if (!('fork' in value) || value['fork'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function SolidityServiceForkServiceCreateForkBodyFromJSON(json) {
|
|
24
|
+
return SolidityServiceForkServiceCreateForkBodyFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function SolidityServiceForkServiceCreateForkBodyFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'fork': SolidityServiceForkFromJSON(json['fork']),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function SolidityServiceForkServiceCreateForkBodyToJSON(json) {
|
|
35
|
+
return SolidityServiceForkServiceCreateForkBodyToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function SolidityServiceForkServiceCreateForkBodyToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'fork': SolidityServiceForkToJSON(value['fork']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=SolidityServiceForkServiceCreateForkBody.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SolidityServiceForkServiceCreateForkBody.js","sourceRoot":"","sources":["../../../src/models/SolidityServiceForkServiceCreateForkBody.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAIH,OAAO,EACH,2BAA2B,EAE3B,yBAAyB,GAE5B,MAAM,0BAA0B,CAAC;AAgBlC;;GAEG;AACH,MAAM,UAAU,kDAAkD,CAAC,KAAa;IAC5E,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,gDAAgD,CAAC,IAAS;IACtE,OAAO,qDAAqD,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC9E,CAAC;AAED,MAAM,UAAU,qDAAqD,CAAC,IAAS,EAAE,mBAA4B;IACzG,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,MAAM,EAAE,2BAA2B,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;KACpD,CAAC;AACN,CAAC;AAEC,MAAM,UAAU,8CAA8C,CAAC,IAAS;IACpE,OAAO,mDAAmD,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC5E,CAAC;AAED,MAAM,UAAU,mDAAmD,CAAC,KAAuD,EAAE,sBAA+B,KAAK;IAC/J,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,MAAM,EAAE,yBAAyB,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;KACnD,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
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 { SolidityServiceFork } from './SolidityServiceFork.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SolidityServiceForkServiceUpdateForkBody
|
|
17
|
+
*/
|
|
18
|
+
export interface SolidityServiceForkServiceUpdateForkBody {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {SolidityServiceFork}
|
|
22
|
+
* @memberof SolidityServiceForkServiceUpdateForkBody
|
|
23
|
+
*/
|
|
24
|
+
fork: SolidityServiceFork;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the SolidityServiceForkServiceUpdateForkBody interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfSolidityServiceForkServiceUpdateForkBody(value: object): value is SolidityServiceForkServiceUpdateForkBody;
|
|
30
|
+
export declare function SolidityServiceForkServiceUpdateForkBodyFromJSON(json: any): SolidityServiceForkServiceUpdateForkBody;
|
|
31
|
+
export declare function SolidityServiceForkServiceUpdateForkBodyFromJSONTyped(json: any, ignoreDiscriminator: boolean): SolidityServiceForkServiceUpdateForkBody;
|
|
32
|
+
export declare function SolidityServiceForkServiceUpdateForkBodyToJSON(json: any): SolidityServiceForkServiceUpdateForkBody;
|
|
33
|
+
export declare function SolidityServiceForkServiceUpdateForkBodyToJSONTyped(value?: SolidityServiceForkServiceUpdateForkBody | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,45 @@
|
|
|
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 { SolidityServiceForkFromJSON, SolidityServiceForkToJSON, } from './SolidityServiceFork.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the SolidityServiceForkServiceUpdateForkBody interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfSolidityServiceForkServiceUpdateForkBody(value) {
|
|
19
|
+
if (!('fork' in value) || value['fork'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function SolidityServiceForkServiceUpdateForkBodyFromJSON(json) {
|
|
24
|
+
return SolidityServiceForkServiceUpdateForkBodyFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function SolidityServiceForkServiceUpdateForkBodyFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'fork': SolidityServiceForkFromJSON(json['fork']),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function SolidityServiceForkServiceUpdateForkBodyToJSON(json) {
|
|
35
|
+
return SolidityServiceForkServiceUpdateForkBodyToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function SolidityServiceForkServiceUpdateForkBodyToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'fork': SolidityServiceForkToJSON(value['fork']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=SolidityServiceForkServiceUpdateForkBody.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SolidityServiceForkServiceUpdateForkBody.js","sourceRoot":"","sources":["../../../src/models/SolidityServiceForkServiceUpdateForkBody.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAIH,OAAO,EACH,2BAA2B,EAE3B,yBAAyB,GAE5B,MAAM,0BAA0B,CAAC;AAgBlC;;GAEG;AACH,MAAM,UAAU,kDAAkD,CAAC,KAAa;IAC5E,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,gDAAgD,CAAC,IAAS;IACtE,OAAO,qDAAqD,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC9E,CAAC;AAED,MAAM,UAAU,qDAAqD,CAAC,IAAS,EAAE,mBAA4B;IACzG,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,MAAM,EAAE,2BAA2B,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;KACpD,CAAC;AACN,CAAC;AAEC,MAAM,UAAU,8CAA8C,CAAC,IAAS;IACpE,OAAO,mDAAmD,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC5E,CAAC;AAED,MAAM,UAAU,mDAAmD,CAAC,KAAuD,EAAE,sBAA+B,KAAK;IAC/J,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,MAAM,EAAE,yBAAyB,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;KACnD,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const SolidityServiceForkType: {
|
|
17
|
+
readonly Managed: "MANAGED";
|
|
18
|
+
readonly External: "EXTERNAL";
|
|
19
|
+
};
|
|
20
|
+
export type SolidityServiceForkType = typeof SolidityServiceForkType[keyof typeof SolidityServiceForkType];
|
|
21
|
+
export declare function instanceOfSolidityServiceForkType(value: any): boolean;
|
|
22
|
+
export declare function SolidityServiceForkTypeFromJSON(json: any): SolidityServiceForkType;
|
|
23
|
+
export declare function SolidityServiceForkTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): SolidityServiceForkType;
|
|
24
|
+
export declare function SolidityServiceForkTypeToJSON(value?: SolidityServiceForkType | null): any;
|
|
25
|
+
export declare function SolidityServiceForkTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): SolidityServiceForkType;
|
|
@@ -0,0 +1,44 @@
|
|
|
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
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const SolidityServiceForkType = {
|
|
19
|
+
Managed: 'MANAGED',
|
|
20
|
+
External: 'EXTERNAL'
|
|
21
|
+
};
|
|
22
|
+
export function instanceOfSolidityServiceForkType(value) {
|
|
23
|
+
for (const key in SolidityServiceForkType) {
|
|
24
|
+
if (Object.prototype.hasOwnProperty.call(SolidityServiceForkType, key)) {
|
|
25
|
+
if (SolidityServiceForkType[key] === value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
return false;
|
|
31
|
+
}
|
|
32
|
+
export function SolidityServiceForkTypeFromJSON(json) {
|
|
33
|
+
return SolidityServiceForkTypeFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function SolidityServiceForkTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
export function SolidityServiceForkTypeToJSON(value) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
export function SolidityServiceForkTypeToJSONTyped(value, ignoreDiscriminator) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
//# sourceMappingURL=SolidityServiceForkType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SolidityServiceForkType.js","sourceRoot":"","sources":["../../../src/models/SolidityServiceForkType.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACnC,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;CACd,CAAC;AAIX,MAAM,UAAU,iCAAiC,CAAC,KAAU;IACxD,KAAK,MAAM,GAAG,IAAI,uBAAuB,EAAE,CAAC;QACxC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,uBAAuB,EAAE,GAAG,CAAC,EAAE,CAAC;YACrE,IAAI,uBAAuB,CAAC,GAA2C,CAAC,KAAK,KAAK,EAAE,CAAC;gBACjF,OAAO,IAAI,CAAC;YAChB,CAAC;QACL,CAAC;IACL,CAAC;IACD,OAAO,KAAK,CAAC;AACjB,CAAC;AAED,MAAM,UAAU,+BAA+B,CAAC,IAAS;IACrD,OAAO,oCAAoC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC7D,CAAC;AAED,MAAM,UAAU,oCAAoC,CAAC,IAAS,EAAE,mBAA4B;IACxF,OAAO,IAA+B,CAAC;AAC3C,CAAC;AAED,MAAM,UAAU,6BAA6B,CAAC,KAAsC;IAChF,OAAO,KAAY,CAAC;AACxB,CAAC;AAED,MAAM,UAAU,kCAAkC,CAAC,KAAU,EAAE,mBAA4B;IACvF,OAAO,KAAgC,CAAC;AAC5C,CAAC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
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 { SolidityServiceNodeEnvironment } from './SolidityServiceNodeEnvironment.js';
|
|
13
|
+
import type { SolidityServiceNodeForkConfig } from './SolidityServiceNodeForkConfig.js';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface SolidityServiceGetForkInfoResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface SolidityServiceGetForkInfoResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof SolidityServiceGetForkInfoResponse
|
|
24
|
+
*/
|
|
25
|
+
currentBlockNumber?: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof SolidityServiceGetForkInfoResponse
|
|
30
|
+
*/
|
|
31
|
+
currentBlockTimestamp?: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof SolidityServiceGetForkInfoResponse
|
|
36
|
+
*/
|
|
37
|
+
currentBlockHash?: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof SolidityServiceGetForkInfoResponse
|
|
42
|
+
*/
|
|
43
|
+
hardFork?: string;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof SolidityServiceGetForkInfoResponse
|
|
48
|
+
*/
|
|
49
|
+
transactionOrder?: string;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {SolidityServiceNodeEnvironment}
|
|
53
|
+
* @memberof SolidityServiceGetForkInfoResponse
|
|
54
|
+
*/
|
|
55
|
+
environment?: SolidityServiceNodeEnvironment;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {SolidityServiceNodeForkConfig}
|
|
59
|
+
* @memberof SolidityServiceGetForkInfoResponse
|
|
60
|
+
*/
|
|
61
|
+
forkConfig?: SolidityServiceNodeForkConfig;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Check if a given object implements the SolidityServiceGetForkInfoResponse interface.
|
|
65
|
+
*/
|
|
66
|
+
export declare function instanceOfSolidityServiceGetForkInfoResponse(value: object): value is SolidityServiceGetForkInfoResponse;
|
|
67
|
+
export declare function SolidityServiceGetForkInfoResponseFromJSON(json: any): SolidityServiceGetForkInfoResponse;
|
|
68
|
+
export declare function SolidityServiceGetForkInfoResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SolidityServiceGetForkInfoResponse;
|
|
69
|
+
export declare function SolidityServiceGetForkInfoResponseToJSON(json: any): SolidityServiceGetForkInfoResponse;
|
|
70
|
+
export declare function SolidityServiceGetForkInfoResponseToJSONTyped(value?: SolidityServiceGetForkInfoResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
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 { SolidityServiceNodeEnvironmentFromJSON, SolidityServiceNodeEnvironmentToJSON, } from './SolidityServiceNodeEnvironment.js';
|
|
15
|
+
import { SolidityServiceNodeForkConfigFromJSON, SolidityServiceNodeForkConfigToJSON, } from './SolidityServiceNodeForkConfig.js';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the SolidityServiceGetForkInfoResponse interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfSolidityServiceGetForkInfoResponse(value) {
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function SolidityServiceGetForkInfoResponseFromJSON(json) {
|
|
23
|
+
return SolidityServiceGetForkInfoResponseFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function SolidityServiceGetForkInfoResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'currentBlockNumber': json['currentBlockNumber'] == null ? undefined : json['currentBlockNumber'],
|
|
31
|
+
'currentBlockTimestamp': json['currentBlockTimestamp'] == null ? undefined : json['currentBlockTimestamp'],
|
|
32
|
+
'currentBlockHash': json['currentBlockHash'] == null ? undefined : json['currentBlockHash'],
|
|
33
|
+
'hardFork': json['hardFork'] == null ? undefined : json['hardFork'],
|
|
34
|
+
'transactionOrder': json['transactionOrder'] == null ? undefined : json['transactionOrder'],
|
|
35
|
+
'environment': json['environment'] == null ? undefined : SolidityServiceNodeEnvironmentFromJSON(json['environment']),
|
|
36
|
+
'forkConfig': json['forkConfig'] == null ? undefined : SolidityServiceNodeForkConfigFromJSON(json['forkConfig']),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export function SolidityServiceGetForkInfoResponseToJSON(json) {
|
|
40
|
+
return SolidityServiceGetForkInfoResponseToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function SolidityServiceGetForkInfoResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'currentBlockNumber': value['currentBlockNumber'],
|
|
48
|
+
'currentBlockTimestamp': value['currentBlockTimestamp'],
|
|
49
|
+
'currentBlockHash': value['currentBlockHash'],
|
|
50
|
+
'hardFork': value['hardFork'],
|
|
51
|
+
'transactionOrder': value['transactionOrder'],
|
|
52
|
+
'environment': SolidityServiceNodeEnvironmentToJSON(value['environment']),
|
|
53
|
+
'forkConfig': SolidityServiceNodeForkConfigToJSON(value['forkConfig']),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
//# sourceMappingURL=SolidityServiceGetForkInfoResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SolidityServiceGetForkInfoResponse.js","sourceRoot":"","sources":["../../../src/models/SolidityServiceGetForkInfoResponse.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAIH,OAAO,EACH,sCAAsC,EAEtC,oCAAoC,GAEvC,MAAM,qCAAqC,CAAC;AAE7C,OAAO,EACH,qCAAqC,EAErC,mCAAmC,GAEtC,MAAM,oCAAoC,CAAC;AAoD5C;;GAEG;AACH,MAAM,UAAU,4CAA4C,CAAC,KAAa;IACtE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,0CAA0C,CAAC,IAAS;IAChE,OAAO,+CAA+C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACxE,CAAC;AAED,MAAM,UAAU,+CA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