Skip to content

Commit a6f899b

Browse files
author
Sentio Bot
committed
chore: update
1 parent 371e74f commit a6f899b

File tree

4 files changed

+62
-9
lines changed

4 files changed

+62
-9
lines changed

doc/index.html

Lines changed: 40 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3550,6 +3550,9 @@
35503550
"originTxHash" : {
35513551
"type" : "string"
35523552
},
3553+
"label" : {
3554+
"type" : "string"
3555+
},
35533556
"stateOverrides" : {
35543557
"type" : "object",
35553558
"additionalProperties" : {
@@ -12236,7 +12239,7 @@ <h3>Usage and SDK Samples</h3>
1223612239
<pre class="prettyprint"><code class="language-bsh">curl -X GET \
1223712240
-H "Api-Key: [[apiKey]]" \
1223812241
-H "Accept: application/json" \
12239-
"https://app.sentio.xyz/api/v1/solidity/simulate?projectOwner=projectOwner_example&projectSlug=projectSlug_example&page=56&pageSize=56"
12242+
"https://app.sentio.xyz/api/v1/solidity/simulate?projectOwner=projectOwner_example&projectSlug=projectSlug_example&labelContains=labelContains_example&page=56&pageSize=56"
1224012243
</code></pre>
1224112244
</div>
1224212245
<div class="tab-pane" id="examples-DebugAndSimulation-getSimulations-0-java">
@@ -12262,11 +12265,12 @@ <h3>Usage and SDK Samples</h3>
1226212265
DebugAndSimulationApi apiInstance = new DebugAndSimulationApi();
1226312266
String projectOwner = projectOwner_example; // String |
1226412267
String projectSlug = projectSlug_example; // String |
12268+
String labelContains = labelContains_example; // String |
1226512269
Integer page = 56; // Integer |
1226612270
Integer pageSize = 56; // Integer |
1226712271

1226812272
try {
12269-
solidity_service.GetSimulationsResponse result = apiInstance.getSimulations(projectOwner, projectSlug, page, pageSize);
12273+
solidity_service.GetSimulationsResponse result = apiInstance.getSimulations(projectOwner, projectSlug, labelContains, page, pageSize);
1227012274
System.out.println(result);
1227112275
} catch (ApiException e) {
1227212276
System.err.println("Exception when calling DebugAndSimulationApi#getSimulations");
@@ -12284,11 +12288,12 @@ <h3>Usage and SDK Samples</h3>
1228412288

1228512289
final String projectOwner = new String(); // String |
1228612290
final String projectSlug = new String(); // String |
12291+
final String labelContains = new String(); // String |
1228712292
final Integer page = new Integer(); // Integer |
1228812293
final Integer pageSize = new Integer(); // Integer |
1228912294

1229012295
try {
12291-
final result = await api_instance.getSimulations(projectOwner, projectSlug, page, pageSize);
12296+
final result = await api_instance.getSimulations(projectOwner, projectSlug, labelContains, page, pageSize);
1229212297
print(result);
1229312298
} catch (e) {
1229412299
print('Exception when calling DefaultApi->getSimulations: $e\n');
@@ -12305,11 +12310,12 @@ <h3>Usage and SDK Samples</h3>
1230512310
DebugAndSimulationApi apiInstance = new DebugAndSimulationApi();
1230612311
String projectOwner = projectOwner_example; // String |
1230712312
String projectSlug = projectSlug_example; // String |
12313+
String labelContains = labelContains_example; // String |
1230812314
Integer page = 56; // Integer |
1230912315
Integer pageSize = 56; // Integer |
1231012316

1231112317
try {
12312-
solidity_service.GetSimulationsResponse result = apiInstance.getSimulations(projectOwner, projectSlug, page, pageSize);
12318+
solidity_service.GetSimulationsResponse result = apiInstance.getSimulations(projectOwner, projectSlug, labelContains, page, pageSize);
1231312319
System.out.println(result);
1231412320
} catch (ApiException e) {
1231512321
System.err.println("Exception when calling DebugAndSimulationApi#getSimulations");
@@ -12335,12 +12341,14 @@ <h3>Usage and SDK Samples</h3>
1233512341
DebugAndSimulationApi *apiInstance = [[DebugAndSimulationApi alloc] init];
1233612342
String *projectOwner = projectOwner_example; // (optional) (default to null)
1233712343
String *projectSlug = projectSlug_example; // (optional) (default to null)
12344+
String *labelContains = labelContains_example; // (optional) (default to null)
1233812345
Integer *page = 56; // (optional) (default to null)
1233912346
Integer *pageSize = 56; // (optional) (default to null)
1234012347

1234112348
// Get existing transaction simulations
1234212349
[apiInstance getSimulationsWith:projectOwner
1234312350
projectSlug:projectSlug
12351+
labelContains:labelContains
1234412352
page:page
1234512353
pageSize:pageSize
1234612354
completionHandler: ^(solidity_service.GetSimulationsResponse output, NSError* error) {
@@ -12369,6 +12377,7 @@ <h3>Usage and SDK Samples</h3>
1236912377
var opts = {
1237012378
'projectOwner': projectOwner_example, // {String}
1237112379
'projectSlug': projectSlug_example, // {String}
12380+
'labelContains': labelContains_example, // {String}
1237212381
'page': 56, // {Integer}
1237312382
'pageSize': 56 // {Integer}
1237412383
};
@@ -12409,12 +12418,13 @@ <h3>Usage and SDK Samples</h3>
1240912418
var apiInstance = new DebugAndSimulationApi();
1241012419
var projectOwner = projectOwner_example; // String | (optional) (default to null)
1241112420
var projectSlug = projectSlug_example; // String | (optional) (default to null)
12421+
var labelContains = labelContains_example; // String | (optional) (default to null)
1241212422
var page = 56; // Integer | (optional) (default to null)
1241312423
var pageSize = 56; // Integer | (optional) (default to null)
1241412424

1241512425
try {
1241612426
// Get existing transaction simulations
12417-
solidity_service.GetSimulationsResponse result = apiInstance.getSimulations(projectOwner, projectSlug, page, pageSize);
12427+
solidity_service.GetSimulationsResponse result = apiInstance.getSimulations(projectOwner, projectSlug, labelContains, page, pageSize);
1241812428
Debug.WriteLine(result);
1241912429
} catch (Exception e) {
1242012430
Debug.Print("Exception when calling DebugAndSimulationApi.getSimulations: " + e.Message );
@@ -12438,11 +12448,12 @@ <h3>Usage and SDK Samples</h3>
1243812448
$api_instance = new OpenAPITools\Client\Api\DebugAndSimulationApi();
1243912449
$projectOwner = projectOwner_example; // String |
1244012450
$projectSlug = projectSlug_example; // String |
12451+
$labelContains = labelContains_example; // String |
1244112452
$page = 56; // Integer |
1244212453
$pageSize = 56; // Integer |
1244312454

1244412455
try {
12445-
$result = $api_instance->getSimulations($projectOwner, $projectSlug, $page, $pageSize);
12456+
$result = $api_instance->getSimulations($projectOwner, $projectSlug, $labelContains, $page, $pageSize);
1244612457
print_r($result);
1244712458
} catch (Exception $e) {
1244812459
echo 'Exception when calling DebugAndSimulationApi->getSimulations: ', $e->getMessage(), PHP_EOL;
@@ -12464,11 +12475,12 @@ <h3>Usage and SDK Samples</h3>
1246412475
my $api_instance = WWW::OPenAPIClient::DebugAndSimulationApi->new();
1246512476
my $projectOwner = projectOwner_example; # String |
1246612477
my $projectSlug = projectSlug_example; # String |
12478+
my $labelContains = labelContains_example; # String |
1246712479
my $page = 56; # Integer |
1246812480
my $pageSize = 56; # Integer |
1246912481

1247012482
eval {
12471-
my $result = $api_instance->getSimulations(projectOwner => $projectOwner, projectSlug => $projectSlug, page => $page, pageSize => $pageSize);
12483+
my $result = $api_instance->getSimulations(projectOwner => $projectOwner, projectSlug => $projectSlug, labelContains => $labelContains, page => $page, pageSize => $pageSize);
1247212484
print Dumper($result);
1247312485
};
1247412486
if ($@) {
@@ -12492,12 +12504,13 @@ <h3>Usage and SDK Samples</h3>
1249212504
api_instance = openapi_client.DebugAndSimulationApi()
1249312505
projectOwner = projectOwner_example # String | (optional) (default to null)
1249412506
projectSlug = projectSlug_example # String | (optional) (default to null)
12507+
labelContains = labelContains_example # String | (optional) (default to null)
1249512508
page = 56 # Integer | (optional) (default to null)
1249612509
pageSize = 56 # Integer | (optional) (default to null)
1249712510

1249812511
try:
1249912512
# Get existing transaction simulations
12500-
api_response = api_instance.get_simulations(projectOwner=projectOwner, projectSlug=projectSlug, page=page, pageSize=pageSize)
12513+
api_response = api_instance.get_simulations(projectOwner=projectOwner, projectSlug=projectSlug, labelContains=labelContains, page=page, pageSize=pageSize)
1250112514
pprint(api_response)
1250212515
except ApiException as e:
1250312516
print("Exception when calling DebugAndSimulationApi->getSimulations: %s\n" % e)</code></pre>
@@ -12509,11 +12522,12 @@ <h3>Usage and SDK Samples</h3>
1250912522
pub fn main() {
1251012523
let projectOwner = projectOwner_example; // String
1251112524
let projectSlug = projectSlug_example; // String
12525+
let labelContains = labelContains_example; // String
1251212526
let page = 56; // Integer
1251312527
let pageSize = 56; // Integer
1251412528

1251512529
let mut context = DebugAndSimulationApi::Context::default();
12516-
let result = client.getSimulations(projectOwner, projectSlug, page, pageSize, &context).wait();
12530+
let result = client.getSimulations(projectOwner, projectSlug, labelContains, page, pageSize, &context).wait();
1251712531

1251812532
println!("{:?}", result);
1251912533
}
@@ -12570,6 +12584,23 @@ <h2>Parameters</h2>
1257012584
</div>
1257112585
</div>
1257212586
</td>
12587+
</tr>
12588+
12589+
<tr><td style="width:150px;">labelContains</td>
12590+
<td>
12591+
12592+
12593+
<div id="d2e199_getSimulations_labelContains">
12594+
<div class="json-schema-view">
12595+
<div class="primitive">
12596+
<span class="type">
12597+
String
12598+
</span>
12599+
12600+
</div>
12601+
</div>
12602+
</div>
12603+
</td>
1257312604
</tr>
1257412605

1257512606
<tr><td style="width:150px;">page</td>

openapi.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -824,6 +824,12 @@
824824
"required": false,
825825
"type": "string"
826826
},
827+
{
828+
"name": "labelContains",
829+
"in": "query",
830+
"required": false,
831+
"type": "string"
832+
},
827833
{
828834
"name": "page",
829835
"in": "query",
@@ -3726,6 +3732,9 @@
37263732
"originTxHash": {
37273733
"type": "string"
37283734
},
3735+
"label": {
3736+
"type": "string"
3737+
},
37293738
"stateOverrides": {
37303739
"type": "object",
37313740
"additionalProperties": {

src/apis/DebugAndSimulationApi.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ export interface GetSimulationBundleRequest {
7373
export interface GetSimulationsRequest {
7474
projectOwner?: string;
7575
projectSlug?: string;
76+
labelContains?: string;
7677
page?: number;
7778
pageSize?: number;
7879
}
@@ -286,6 +287,10 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
286287
queryParameters['projectSlug'] = requestParameters['projectSlug'];
287288
}
288289

290+
if (requestParameters['labelContains'] != null) {
291+
queryParameters['labelContains'] = requestParameters['labelContains'];
292+
}
293+
289294
if (requestParameters['page'] != null) {
290295
queryParameters['page'] = requestParameters['page'];
291296
}

src/models/SolidityServiceSimulation.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,12 @@ export interface SolidityServiceSimulation {
146146
* @memberof SolidityServiceSimulation
147147
*/
148148
originTxHash?: string;
149+
/**
150+
*
151+
* @type {string}
152+
* @memberof SolidityServiceSimulation
153+
*/
154+
label?: string;
149155
/**
150156
*
151157
* @type {{ [key: string]: SolidityServiceStateOverride; }}
@@ -212,6 +218,7 @@ export function SolidityServiceSimulationFromJSONTyped(json: any, ignoreDiscrimi
212218
'value': json['value'] == null ? undefined : json['value'],
213219
'accessList': json['accessList'] == null ? undefined : ((json['accessList'] as Array<any>).map(EvmAccessListItemFromJSON)),
214220
'originTxHash': json['originTxHash'] == null ? undefined : json['originTxHash'],
221+
'label': json['label'] == null ? undefined : json['label'],
215222
'stateOverrides': json['stateOverrides'] == null ? undefined : (mapValues(json['stateOverrides'], SolidityServiceStateOverrideFromJSON)),
216223
'sourceOverrides': json['sourceOverrides'] == null ? undefined : json['sourceOverrides'],
217224
'blockOverride': json['blockOverride'] == null ? undefined : SolidityServiceBlockOverridesFromJSON(json['blockOverride']),
@@ -243,6 +250,7 @@ export function SolidityServiceSimulationToJSON(value?: SolidityServiceSimulatio
243250
'value': value['value'],
244251
'accessList': value['accessList'] == null ? undefined : ((value['accessList'] as Array<any>).map(EvmAccessListItemToJSON)),
245252
'originTxHash': value['originTxHash'],
253+
'label': value['label'],
246254
'stateOverrides': value['stateOverrides'] == null ? undefined : (mapValues(value['stateOverrides'], SolidityServiceStateOverrideToJSON)),
247255
'sourceOverrides': value['sourceOverrides'],
248256
'blockOverride': SolidityServiceBlockOverridesToJSON(value['blockOverride']),

0 commit comments

Comments
 (0)