diff --git a/doc/index.html b/doc/index.html index 453eabe..7c2a416 100755 --- a/doc/index.html +++ b/doc/index.html @@ -3289,6 +3289,36 @@ } } } +}; + defs["solidity_service.BaseChainConfig"] = { + "type" : "object", + "properties" : { + "endpoint" : { + "type" : "string" + }, + "debugEndpoint" : { + "type" : "string" + }, + "sourceFetcherType" : { + "type" : "string" + }, + "sourceFetcherEndpoint" : { + "type" : "string" + }, + "sourceFetcherTimeout" : { + "type" : "string", + "format" : "int64" + }, + "sourceFetcherApiKeys" : { + "type" : "array", + "items" : { + "type" : "string" + } + }, + "oklinkChainShortName" : { + "type" : "string" + } + } }; defs["solidity_service.BlockOverrides"] = { "type" : "object", diff --git a/openapi.json b/openapi.json index a2dcb44..55c2ad9 100644 --- a/openapi.json +++ b/openapi.json @@ -4131,6 +4131,36 @@ } } }, + "solidity_service.BaseChainConfig": { + "type": "object", + "properties": { + "endpoint": { + "type": "string" + }, + "debugEndpoint": { + "type": "string" + }, + "sourceFetcherType": { + "type": "string" + }, + "sourceFetcherEndpoint": { + "type": "string" + }, + "sourceFetcherTimeout": { + "type": "string", + "format": "int64" + }, + "sourceFetcherApiKeys": { + "type": "array", + "items": { + "type": "string" + } + }, + "oklinkChainShortName": { + "type": "string" + } + } + }, "solidity_service.BlockOverrides": { "type": "object", "properties": { diff --git a/src/models/SolidityServiceBaseChainConfig.ts b/src/models/SolidityServiceBaseChainConfig.ts new file mode 100755 index 0000000..05cbd96 --- /dev/null +++ b/src/models/SolidityServiceBaseChainConfig.ts @@ -0,0 +1,113 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Sentio API + * Sentio Open API for query data + * + * The version of the OpenAPI document: version not set + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { mapValues } from '../runtime.js'; +/** + * + * @export + * @interface SolidityServiceBaseChainConfig + */ +export interface SolidityServiceBaseChainConfig { + /** + * + * @type {string} + * @memberof SolidityServiceBaseChainConfig + */ + endpoint?: string; + /** + * + * @type {string} + * @memberof SolidityServiceBaseChainConfig + */ + debugEndpoint?: string; + /** + * + * @type {string} + * @memberof SolidityServiceBaseChainConfig + */ + sourceFetcherType?: string; + /** + * + * @type {string} + * @memberof SolidityServiceBaseChainConfig + */ + sourceFetcherEndpoint?: string; + /** + * + * @type {string} + * @memberof SolidityServiceBaseChainConfig + */ + sourceFetcherTimeout?: string; + /** + * + * @type {Array} + * @memberof SolidityServiceBaseChainConfig + */ + sourceFetcherApiKeys?: Array; + /** + * + * @type {string} + * @memberof SolidityServiceBaseChainConfig + */ + oklinkChainShortName?: string; +} + +/** + * Check if a given object implements the SolidityServiceBaseChainConfig interface. + */ +export function instanceOfSolidityServiceBaseChainConfig(value: object): value is SolidityServiceBaseChainConfig { + return true; +} + +export function SolidityServiceBaseChainConfigFromJSON(json: any): SolidityServiceBaseChainConfig { + return SolidityServiceBaseChainConfigFromJSONTyped(json, false); +} + +export function SolidityServiceBaseChainConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): SolidityServiceBaseChainConfig { + if (json == null) { + return json; + } + return { + + 'endpoint': json['endpoint'] == null ? undefined : json['endpoint'], + 'debugEndpoint': json['debugEndpoint'] == null ? undefined : json['debugEndpoint'], + 'sourceFetcherType': json['sourceFetcherType'] == null ? undefined : json['sourceFetcherType'], + 'sourceFetcherEndpoint': json['sourceFetcherEndpoint'] == null ? undefined : json['sourceFetcherEndpoint'], + 'sourceFetcherTimeout': json['sourceFetcherTimeout'] == null ? undefined : json['sourceFetcherTimeout'], + 'sourceFetcherApiKeys': json['sourceFetcherApiKeys'] == null ? undefined : json['sourceFetcherApiKeys'], + 'oklinkChainShortName': json['oklinkChainShortName'] == null ? undefined : json['oklinkChainShortName'], + }; +} + + export function SolidityServiceBaseChainConfigToJSON(json: any): SolidityServiceBaseChainConfig { + return SolidityServiceBaseChainConfigToJSONTyped(json, false); + } + + export function SolidityServiceBaseChainConfigToJSONTyped(value?: SolidityServiceBaseChainConfig | null, ignoreDiscriminator: boolean = false): any { + if (value == null) { + return value; + } + + return { + + 'endpoint': value['endpoint'], + 'debugEndpoint': value['debugEndpoint'], + 'sourceFetcherType': value['sourceFetcherType'], + 'sourceFetcherEndpoint': value['sourceFetcherEndpoint'], + 'sourceFetcherTimeout': value['sourceFetcherTimeout'], + 'sourceFetcherApiKeys': value['sourceFetcherApiKeys'], + 'oklinkChainShortName': value['oklinkChainShortName'], + }; +} + diff --git a/src/models/index.ts b/src/models/index.ts index 644abbf..ff9ef27 100755 --- a/src/models/index.ts +++ b/src/models/index.ts @@ -131,6 +131,7 @@ export * from './PriceServiceCoinID.js'; export * from './PriceServiceCoinIDAddressIdentifier.js'; export * from './PriceServiceGetPriceResponse.js'; export * from './PriceServiceListCoinsResponse.js'; +export * from './SolidityServiceBaseChainConfig.js'; export * from './SolidityServiceBlockOverrides.js'; export * from './SolidityServiceCompileSourceInternalResponse.js'; export * from './SolidityServiceCompilerOptions.js';