diff --git a/doc/index.html b/doc/index.html index e5bd83b..1785b95 100644 --- a/doc/index.html +++ b/doc/index.html @@ -3550,6 +3550,9 @@ "originTxHash" : { "type" : "string" }, + "label" : { + "type" : "string" + }, "stateOverrides" : { "type" : "object", "additionalProperties" : { @@ -12236,7 +12239,7 @@

Usage and SDK Samples

curl -X GET \
 -H "Api-Key: [[apiKey]]" \
  -H "Accept: application/json" \
- "https://app.sentio.xyz/api/v1/solidity/simulate?projectOwner=projectOwner_example&projectSlug=projectSlug_example&page=56&pageSize=56"
+ "https://app.sentio.xyz/api/v1/solidity/simulate?projectOwner=projectOwner_example&projectSlug=projectSlug_example&labelContains=labelContains_example&page=56&pageSize=56"
 
@@ -12262,11 +12265,12 @@

Usage and SDK Samples

DebugAndSimulationApi apiInstance = new DebugAndSimulationApi(); String projectOwner = projectOwner_example; // String | String projectSlug = projectSlug_example; // String | + String labelContains = labelContains_example; // String | Integer page = 56; // Integer | Integer pageSize = 56; // Integer | try { - solidity_service.GetSimulationsResponse result = apiInstance.getSimulations(projectOwner, projectSlug, page, pageSize); + solidity_service.GetSimulationsResponse result = apiInstance.getSimulations(projectOwner, projectSlug, labelContains, page, pageSize); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling DebugAndSimulationApi#getSimulations"); @@ -12284,11 +12288,12 @@

Usage and SDK Samples

final String projectOwner = new String(); // String | final String projectSlug = new String(); // String | +final String labelContains = new String(); // String | final Integer page = new Integer(); // Integer | final Integer pageSize = new Integer(); // Integer | try { - final result = await api_instance.getSimulations(projectOwner, projectSlug, page, pageSize); + final result = await api_instance.getSimulations(projectOwner, projectSlug, labelContains, page, pageSize); print(result); } catch (e) { print('Exception when calling DefaultApi->getSimulations: $e\n'); @@ -12305,11 +12310,12 @@

Usage and SDK Samples

DebugAndSimulationApi apiInstance = new DebugAndSimulationApi(); String projectOwner = projectOwner_example; // String | String projectSlug = projectSlug_example; // String | + String labelContains = labelContains_example; // String | Integer page = 56; // Integer | Integer pageSize = 56; // Integer | try { - solidity_service.GetSimulationsResponse result = apiInstance.getSimulations(projectOwner, projectSlug, page, pageSize); + solidity_service.GetSimulationsResponse result = apiInstance.getSimulations(projectOwner, projectSlug, labelContains, page, pageSize); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling DebugAndSimulationApi#getSimulations"); @@ -12335,12 +12341,14 @@

Usage and SDK Samples

DebugAndSimulationApi *apiInstance = [[DebugAndSimulationApi alloc] init]; String *projectOwner = projectOwner_example; // (optional) (default to null) String *projectSlug = projectSlug_example; // (optional) (default to null) +String *labelContains = labelContains_example; // (optional) (default to null) Integer *page = 56; // (optional) (default to null) Integer *pageSize = 56; // (optional) (default to null) // Get existing transaction simulations [apiInstance getSimulationsWith:projectOwner projectSlug:projectSlug + labelContains:labelContains page:page pageSize:pageSize completionHandler: ^(solidity_service.GetSimulationsResponse output, NSError* error) { @@ -12369,6 +12377,7 @@

Usage and SDK Samples

var opts = { 'projectOwner': projectOwner_example, // {String} 'projectSlug': projectSlug_example, // {String} + 'labelContains': labelContains_example, // {String} 'page': 56, // {Integer} 'pageSize': 56 // {Integer} }; @@ -12409,12 +12418,13 @@

Usage and SDK Samples

var apiInstance = new DebugAndSimulationApi(); var projectOwner = projectOwner_example; // String | (optional) (default to null) var projectSlug = projectSlug_example; // String | (optional) (default to null) + var labelContains = labelContains_example; // String | (optional) (default to null) var page = 56; // Integer | (optional) (default to null) var pageSize = 56; // Integer | (optional) (default to null) try { // Get existing transaction simulations - solidity_service.GetSimulationsResponse result = apiInstance.getSimulations(projectOwner, projectSlug, page, pageSize); + solidity_service.GetSimulationsResponse result = apiInstance.getSimulations(projectOwner, projectSlug, labelContains, page, pageSize); Debug.WriteLine(result); } catch (Exception e) { Debug.Print("Exception when calling DebugAndSimulationApi.getSimulations: " + e.Message ); @@ -12438,11 +12448,12 @@

Usage and SDK Samples

$api_instance = new OpenAPITools\Client\Api\DebugAndSimulationApi(); $projectOwner = projectOwner_example; // String | $projectSlug = projectSlug_example; // String | +$labelContains = labelContains_example; // String | $page = 56; // Integer | $pageSize = 56; // Integer | try { - $result = $api_instance->getSimulations($projectOwner, $projectSlug, $page, $pageSize); + $result = $api_instance->getSimulations($projectOwner, $projectSlug, $labelContains, $page, $pageSize); print_r($result); } catch (Exception $e) { echo 'Exception when calling DebugAndSimulationApi->getSimulations: ', $e->getMessage(), PHP_EOL; @@ -12464,11 +12475,12 @@

Usage and SDK Samples

my $api_instance = WWW::OPenAPIClient::DebugAndSimulationApi->new(); my $projectOwner = projectOwner_example; # String | my $projectSlug = projectSlug_example; # String | +my $labelContains = labelContains_example; # String | my $page = 56; # Integer | my $pageSize = 56; # Integer | eval { - my $result = $api_instance->getSimulations(projectOwner => $projectOwner, projectSlug => $projectSlug, page => $page, pageSize => $pageSize); + my $result = $api_instance->getSimulations(projectOwner => $projectOwner, projectSlug => $projectSlug, labelContains => $labelContains, page => $page, pageSize => $pageSize); print Dumper($result); }; if ($@) { @@ -12492,12 +12504,13 @@

Usage and SDK Samples

api_instance = openapi_client.DebugAndSimulationApi() projectOwner = projectOwner_example # String | (optional) (default to null) projectSlug = projectSlug_example # String | (optional) (default to null) +labelContains = labelContains_example # String | (optional) (default to null) page = 56 # Integer | (optional) (default to null) pageSize = 56 # Integer | (optional) (default to null) try: # Get existing transaction simulations - api_response = api_instance.get_simulations(projectOwner=projectOwner, projectSlug=projectSlug, page=page, pageSize=pageSize) + api_response = api_instance.get_simulations(projectOwner=projectOwner, projectSlug=projectSlug, labelContains=labelContains, page=page, pageSize=pageSize) pprint(api_response) except ApiException as e: print("Exception when calling DebugAndSimulationApi->getSimulations: %s\n" % e) @@ -12509,11 +12522,12 @@

Usage and SDK Samples

pub fn main() { let projectOwner = projectOwner_example; // String let projectSlug = projectSlug_example; // String + let labelContains = labelContains_example; // String let page = 56; // Integer let pageSize = 56; // Integer let mut context = DebugAndSimulationApi::Context::default(); - let result = client.getSimulations(projectOwner, projectSlug, page, pageSize, &context).wait(); + let result = client.getSimulations(projectOwner, projectSlug, labelContains, page, pageSize, &context).wait(); println!("{:?}", result); } @@ -12570,6 +12584,23 @@

Parameters

+ + + labelContains + + + +
+
+
+ + String + + +
+
+
+ page diff --git a/openapi.json b/openapi.json index 9ccf054..f2c4a39 100644 --- a/openapi.json +++ b/openapi.json @@ -824,6 +824,12 @@ "required": false, "type": "string" }, + { + "name": "labelContains", + "in": "query", + "required": false, + "type": "string" + }, { "name": "page", "in": "query", @@ -3726,6 +3732,9 @@ "originTxHash": { "type": "string" }, + "label": { + "type": "string" + }, "stateOverrides": { "type": "object", "additionalProperties": { diff --git a/src/apis/DebugAndSimulationApi.ts b/src/apis/DebugAndSimulationApi.ts index ddaf6b4..63ae3ce 100644 --- a/src/apis/DebugAndSimulationApi.ts +++ b/src/apis/DebugAndSimulationApi.ts @@ -73,6 +73,7 @@ export interface GetSimulationBundleRequest { export interface GetSimulationsRequest { projectOwner?: string; projectSlug?: string; + labelContains?: string; page?: number; pageSize?: number; } @@ -286,6 +287,10 @@ export class DebugAndSimulationApi extends runtime.BaseAPI { queryParameters['projectSlug'] = requestParameters['projectSlug']; } + if (requestParameters['labelContains'] != null) { + queryParameters['labelContains'] = requestParameters['labelContains']; + } + if (requestParameters['page'] != null) { queryParameters['page'] = requestParameters['page']; } diff --git a/src/models/SolidityServiceSimulation.ts b/src/models/SolidityServiceSimulation.ts index bba9d8b..430ffbf 100644 --- a/src/models/SolidityServiceSimulation.ts +++ b/src/models/SolidityServiceSimulation.ts @@ -146,6 +146,12 @@ export interface SolidityServiceSimulation { * @memberof SolidityServiceSimulation */ originTxHash?: string; + /** + * + * @type {string} + * @memberof SolidityServiceSimulation + */ + label?: string; /** * * @type {{ [key: string]: SolidityServiceStateOverride; }} @@ -212,6 +218,7 @@ export function SolidityServiceSimulationFromJSONTyped(json: any, ignoreDiscrimi 'value': json['value'] == null ? undefined : json['value'], 'accessList': json['accessList'] == null ? undefined : ((json['accessList'] as Array).map(EvmAccessListItemFromJSON)), 'originTxHash': json['originTxHash'] == null ? undefined : json['originTxHash'], + 'label': json['label'] == null ? undefined : json['label'], 'stateOverrides': json['stateOverrides'] == null ? undefined : (mapValues(json['stateOverrides'], SolidityServiceStateOverrideFromJSON)), 'sourceOverrides': json['sourceOverrides'] == null ? undefined : json['sourceOverrides'], 'blockOverride': json['blockOverride'] == null ? undefined : SolidityServiceBlockOverridesFromJSON(json['blockOverride']), @@ -243,6 +250,7 @@ export function SolidityServiceSimulationToJSON(value?: SolidityServiceSimulatio 'value': value['value'], 'accessList': value['accessList'] == null ? undefined : ((value['accessList'] as Array).map(EvmAccessListItemToJSON)), 'originTxHash': value['originTxHash'], + 'label': value['label'], 'stateOverrides': value['stateOverrides'] == null ? undefined : (mapValues(value['stateOverrides'], SolidityServiceStateOverrideToJSON)), 'sourceOverrides': value['sourceOverrides'], 'blockOverride': SolidityServiceBlockOverridesToJSON(value['blockOverride']),