+
use Data::Dumper;
+use WWW::OPenAPIClient::Configuration;
+use WWW::OPenAPIClient::DebugAndSimulationApi;
-
-
-
-
- Boolean
-
+# Configure API key authorization: ApiKeyHeaderAuth
+$WWW::OPenAPIClient::Configuration::api_key->{'api-key'} = 'YOUR_API_KEY';
+# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'api-key'} = "Bearer";
-
-
-
-
-
+# Configure API key authorization: ApiKeyQueryAuth
+$WWW::OPenAPIClient::Configuration::api_key->{'api-key'} = 'YOUR_API_KEY';
+# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'api-key'} = "Bearer";
- startBlock |
-
+# Create an instance of the API class
+my $api_instance = WWW::OPenAPIClient::DebugAndSimulationApi->new();
+my $owner = owner_example; # String |
+my $slug = slug_example; # String |
+my $chainId = chainId_example; # String |
+my $body = WWW::OPenAPIClient::Object::SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody->new(); # SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody |
+eval {
+ my $result = $api_instance->simulateTransactionBundle(owner => $owner, slug => $slug, chainId => $chainId, body => $body);
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling DebugAndSimulationApi->simulateTransactionBundle: $@\n";
+}
+
-
-
-
-
- String
-
-
- (int64)
-
+
+ from __future__ import print_statement
+import time
+import openapi_client
+from openapi_client.rest import ApiException
+from pprint import pprint
-
-
-
- |
-
+# Configure API key authorization: ApiKeyHeaderAuth
+openapi_client.configuration.api_key['api-key'] = 'YOUR_API_KEY'
+# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+# openapi_client.configuration.api_key_prefix['api-key'] = 'Bearer'
- endBlock |
-
+# Configure API key authorization: ApiKeyQueryAuth
+openapi_client.configuration.api_key['api-key'] = 'YOUR_API_KEY'
+# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+# openapi_client.configuration.api_key_prefix['api-key'] = 'Bearer'
+# Create an instance of the API class
+api_instance = openapi_client.DebugAndSimulationApi()
+owner = owner_example # String | (default to null)
+slug = slug_example # String | (default to null)
+chainId = chainId_example # String | (default to null)
+body = # SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody |
-
-
-
-
- String
-
-
- (int64)
-
+try:
+ # Run bundle simulation
+ api_response = api_instance.simulate_transaction_bundle(owner, slug, chainId, body)
+ pprint(api_response)
+except ApiException as e:
+ print("Exception when calling DebugAndSimulationApi->simulateTransactionBundle: %s\n" % e)
+
-
-
-
- |
-
+
+
extern crate DebugAndSimulationApi;
- startTimestamp |
-
+pub fn main() {
+ let owner = owner_example; // String
+ let slug = slug_example; // String
+ let chainId = chainId_example; // String
+ let body = ; // SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody
+ let mut context = DebugAndSimulationApi::Context::default();
+ let result = client.simulateTransactionBundle(owner, slug, chainId, body, &context).wait();
-
-
-
-
- String
-
-
- (int64)
-
+ println!("{:?}", result);
+}
+
+
+
-
-
-
- |
-
+ Scopes
+
- endTimestamp |
+ Parameters
+
+ Path parameters
+
+
+ Name |
+ Description |
+
+ owner* |
-
+
String
-
- (int64)
-
+
+ Required
+
|
- transactionStatus |
+
slug* |
-
+
- array[Integer]
+ String
-
- (int32)
-
+
+ Required
+
|
- methodSignature |
+
chainId* |
-
+
@@ -20510,71 +22055,86 @@ Parameters
+
+ Required
+
|
- limit |
-
-
-
-
-
-
-
- Integer
-
-
- (int32)
-
+ |
-
-
-
-
-
- pageToken |
+ Body parameters
+
+
+ Name |
+ Description |
+
+ body * |
+
+
+
|
- Responses
-
-
+
+
+ Responses
+
+
-
+
-
-
-
-
-
+
+
+ Default
+
+
-
simulateTransaction
-
Run simulation
+
getProcessorStatus
+
Get processor status
- Create a new transaction simulation. The simulation body should be included in the request body.
-Your simulations will be saved, and a unique ID for each simulation is included in the response. It will be useful for fetching simulation details.
+
- /api/v1/solidity/{owner}/{slug}/{chainId}/simulation
+ /api/v1/processors/status
Usage and SDK Samples
-
-
curl -X POST \
+
+
curl -X GET \
-H "api-key: [[apiKey]]" \
\
-H "Accept: application/json" \
- -H "Content-Type: application/json" \
- "https://app.sentio.xyz/api/v1/solidity/{owner}/{slug}/{chainId}/simulation" \
- -d ''
+ "https://app.sentio.xyz/api/v1/processors/status?projectId=projectId_example&id=id_example"
-
+
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
-import org.openapitools.client.api.DebugAndSimulationApi;
+import org.openapitools.client.api.DefaultApi;
import java.io.File;
import java.util.*;
-public class DebugAndSimulationApiExample {
+public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
@@ -20707,17 +22267,15 @@ Usage and SDK Samples
//ApiKeyQueryAuth.setApiKeyPrefix("Token");
// Create an instance of the API class
- DebugAndSimulationApi apiInstance = new DebugAndSimulationApi();
- String owner = owner_example; // String |
- String slug = slug_example; // String |
- String chainId = chainId_example; // String |
- SolidityServiceSolidityAPIServiceSimulateTransactionBody body = ; // SolidityServiceSolidityAPIServiceSimulateTransactionBody |
+ DefaultApi apiInstance = new DefaultApi();
+ String projectId = projectId_example; // String |
+ String id = id_example; // String |
try {
- solidity_service.SimulateTransactionResponse result = apiInstance.simulateTransaction(owner, slug, chainId, body);
+ processor_service.GetProcessorStatusResponse result = apiInstance.getProcessorStatus(projectId, id);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DebugAndSimulationApi#simulateTransaction");
+ System.err.println("Exception when calling DefaultApi#getProcessorStatus");
e.printStackTrace();
}
}
@@ -20725,52 +22283,48 @@ Usage and SDK Samples
-
+
import 'package:openapi/api.dart';
final api_instance = DefaultApi();
-final String owner = new String(); // String |
-final String slug = new String(); // String |
-final String chainId = new String(); // String |
-final SolidityServiceSolidityAPIServiceSimulateTransactionBody body = new SolidityServiceSolidityAPIServiceSimulateTransactionBody(); // SolidityServiceSolidityAPIServiceSimulateTransactionBody |
+final String projectId = new String(); // String |
+final String id = new String(); // String |
try {
- final result = await api_instance.simulateTransaction(owner, slug, chainId, body);
+ final result = await api_instance.getProcessorStatus(projectId, id);
print(result);
} catch (e) {
- print('Exception when calling DefaultApi->simulateTransaction: $e\n');
+ print('Exception when calling DefaultApi->getProcessorStatus: $e\n');
}
-
-
import org.openapitools.client.api.DebugAndSimulationApi;
+
+
import org.openapitools.client.api.DefaultApi;
-public class DebugAndSimulationApiExample {
+public class DefaultApiExample {
public static void main(String[] args) {
- DebugAndSimulationApi apiInstance = new DebugAndSimulationApi();
- String owner = owner_example; // String |
- String slug = slug_example; // String |
- String chainId = chainId_example; // String |
- SolidityServiceSolidityAPIServiceSimulateTransactionBody body = ; // SolidityServiceSolidityAPIServiceSimulateTransactionBody |
+ DefaultApi apiInstance = new DefaultApi();
+ String projectId = projectId_example; // String |
+ String id = id_example; // String |
try {
- solidity_service.SimulateTransactionResponse result = apiInstance.simulateTransaction(owner, slug, chainId, body);
+ processor_service.GetProcessorStatusResponse result = apiInstance.getProcessorStatus(projectId, id);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DebugAndSimulationApi#simulateTransaction");
+ System.err.println("Exception when calling DefaultApi#getProcessorStatus");
e.printStackTrace();
}
}
}
-
+
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: ApiKeyHeaderAuth)
@@ -20785,18 +22339,14 @@ Usage and SDK Samples
// Create an instance of the API class
-DebugAndSimulationApi *apiInstance = [[DebugAndSimulationApi alloc] init];
-String *owner = owner_example; // (default to null)
-String *slug = slug_example; // (default to null)
-String *chainId = chainId_example; // (default to null)
-SolidityServiceSolidityAPIServiceSimulateTransactionBody *body = ; //
+DefaultApi *apiInstance = [[DefaultApi alloc] init];
+String *projectId = projectId_example; // (optional) (default to null)
+String *id = id_example; // (optional) (default to null)
-// Run simulation
-[apiInstance simulateTransactionWith:owner
- slug:slug
- chainId:chainId
- body:body
- completionHandler: ^(solidity_service.SimulateTransactionResponse output, NSError* error) {
+// Get processor status
+[apiInstance getProcessorStatusWith:projectId
+ id:id
+ completionHandler: ^(processor_service.GetProcessorStatusResponse output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
@@ -20807,7 +22357,7 @@ Usage and SDK Samples
-
+
var SentioApi = require('sentio_api');
var defaultClient = SentioApi.ApiClient.instance;
@@ -20824,11 +22374,11 @@ Usage and SDK Samples
//ApiKeyQueryAuth.apiKeyPrefix['api-key'] = "Token";
// Create an instance of the API class
-var api = new SentioApi.DebugAndSimulationApi()
-var owner = owner_example; // {String}
-var slug = slug_example; // {String}
-var chainId = chainId_example; // {String}
-var body = ; // {SolidityServiceSolidityAPIServiceSimulateTransactionBody}
+var api = new SentioApi.DefaultApi()
+var opts = {
+ 'projectId': projectId_example, // {String}
+ 'id': id_example // {String}
+};
var callback = function(error, data, response) {
if (error) {
@@ -20837,14 +22387,14 @@ Usage and SDK Samples
console.log('API called successfully. Returned data: ' + data);
}
};
-api.simulateTransaction(owner, slug, chainId, body, callback);
+api.getProcessorStatus(opts, callback);
-
-
+
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
@@ -20853,7 +22403,7 @@ Usage and SDK Samples
namespace Example
{
- public class simulateTransactionExample
+ public class getProcessorStatusExample
{
public void main()
{
@@ -20867,18 +22417,16 @@ Usage and SDK Samples
// Configuration.Default.ApiKeyPrefix.Add("api-key", "Bearer");
// Create an instance of the API class
- var apiInstance = new DebugAndSimulationApi();
- var owner = owner_example; // String | (default to null)
- var slug = slug_example; // String | (default to null)
- var chainId = chainId_example; // String | (default to null)
- var body = new SolidityServiceSolidityAPIServiceSimulateTransactionBody(); // SolidityServiceSolidityAPIServiceSimulateTransactionBody |
+ var apiInstance = new DefaultApi();
+ var projectId = projectId_example; // String | (optional) (default to null)
+ var id = id_example; // String | (optional) (default to null)
try {
- // Run simulation
- solidity_service.SimulateTransactionResponse result = apiInstance.simulateTransaction(owner, slug, chainId, body);
+ // Get processor status
+ processor_service.GetProcessorStatusResponse result = apiInstance.getProcessorStatus(projectId, id);
Debug.WriteLine(result);
} catch (Exception e) {
- Debug.Print("Exception when calling DebugAndSimulationApi.simulateTransaction: " + e.Message );
+ Debug.Print("Exception when calling DefaultApi.getProcessorStatus: " + e.Message );
}
}
}
@@ -20886,7 +22434,7 @@ Usage and SDK Samples
-
+
<?php
require_once(__DIR__ . '/vendor/autoload.php');
@@ -20901,25 +22449,23 @@ Usage and SDK Samples
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer');
// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\DebugAndSimulationApi();
-$owner = owner_example; // String |
-$slug = slug_example; // String |
-$chainId = chainId_example; // String |
-$body = ; // SolidityServiceSolidityAPIServiceSimulateTransactionBody |
+$api_instance = new OpenAPITools\Client\Api\DefaultApi();
+$projectId = projectId_example; // String |
+$id = id_example; // String |
try {
- $result = $api_instance->simulateTransaction($owner, $slug, $chainId, $body);
+ $result = $api_instance->getProcessorStatus($projectId, $id);
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling DebugAndSimulationApi->simulateTransaction: ', $e->getMessage(), PHP_EOL;
+ echo 'Exception when calling DefaultApi->getProcessorStatus: ', $e->getMessage(), PHP_EOL;
}
?>
-
+
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::DebugAndSimulationApi;
+use WWW::OPenAPIClient::DefaultApi;
# Configure API key authorization: ApiKeyHeaderAuth
$WWW::OPenAPIClient::Configuration::api_key->{'api-key'} = 'YOUR_API_KEY';
@@ -20932,22 +22478,20 @@ Usage and SDK Samples
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'api-key'} = "Bearer";
# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::DebugAndSimulationApi->new();
-my $owner = owner_example; # String |
-my $slug = slug_example; # String |
-my $chainId = chainId_example; # String |
-my $body = WWW::OPenAPIClient::Object::SolidityServiceSolidityAPIServiceSimulateTransactionBody->new(); # SolidityServiceSolidityAPIServiceSimulateTransactionBody |
+my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
+my $projectId = projectId_example; # String |
+my $id = id_example; # String |
eval {
- my $result = $api_instance->simulateTransaction(owner => $owner, slug => $slug, chainId => $chainId, body => $body);
+ my $result = $api_instance->getProcessorStatus(projectId => $projectId, id => $id);
print Dumper($result);
};
if ($@) {
- warn "Exception when calling DebugAndSimulationApi->simulateTransaction: $@\n";
+ warn "Exception when calling DefaultApi->getProcessorStatus: $@\n";
}
-
+
from __future__ import print_statement
import time
import openapi_client
@@ -20965,31 +22509,27 @@ Usage and SDK Samples
# openapi_client.configuration.api_key_prefix['api-key'] = 'Bearer'
# Create an instance of the API class
-api_instance = openapi_client.DebugAndSimulationApi()
-owner = owner_example # String | (default to null)
-slug = slug_example # String | (default to null)
-chainId = chainId_example # String | (default to null)
-body = # SolidityServiceSolidityAPIServiceSimulateTransactionBody |
+api_instance = openapi_client.DefaultApi()
+projectId = projectId_example # String | (optional) (default to null)
+id = id_example # String | (optional) (default to null)
try:
- # Run simulation
- api_response = api_instance.simulate_transaction(owner, slug, chainId, body)
+ # Get processor status
+ api_response = api_instance.get_processor_status(projectId=projectId, id=id)
pprint(api_response)
except ApiException as e:
- print("Exception when calling DebugAndSimulationApi->simulateTransaction: %s\n" % e)
+ print("Exception when calling DefaultApi->getProcessorStatus: %s\n" % e)
-
-
extern crate DebugAndSimulationApi;
+
+
extern crate DefaultApi;
pub fn main() {
- let owner = owner_example; // String
- let slug = slug_example; // String
- let chainId = chainId_example; // String
- let body = ; // SolidityServiceSolidityAPIServiceSimulateTransactionBody
+ let projectId = projectId_example; // String
+ let id = id_example; // String
- let mut context = DebugAndSimulationApi::Context::default();
- let result = client.simulateTransaction(owner, slug, chainId, body, &context).wait();
+ let mut context = DefaultApi::Context::default();
+ let result = client.getProcessorStatus(projectId, id, &context).wait();
println!("{:?}", result);
}
@@ -21004,37 +22544,21 @@ Scopes
Parameters
- Path parameters
-
-
- Name |
- Description |
-
- owner* |
-
-
-
-
-
- String
-
-
-
- Required
-
-
-
- |
-
- slug* |
+ Query parameters
+
+
+ Name |
+ Description |
+
+ projectId |
-
+
@@ -21042,19 +22566,16 @@ Parameters
-
- Required
-
|
- chainId* |
+
id |
-
+
@@ -21062,86 +22583,31 @@ Parameters
-
- Required
-
-
- |
-
-
-
-
-
- Body parameters
-
-
- Name |
- Description |
-
- body * |
-
-
-
-
+
|
-
-
Responses
-
-
+
+
-
+
-
-
-
-
-
+
+
-
simulateTransactionBundle
-
Run bundle simulation
+
getProjectVersions
+
Get Versions
- You could also create bundle simulations so that one transaction could be executed one after another. For `blockNumber` `transactionIndex` `networkId` `stateOverrides` and `blockOverrides` fields, only the first simulation takes effect.
+
- /api/v1/solidity/{owner}/{slug}/{chainId}/simulation_bundle
+ /api/v1/processors/{projectId}/versions
Usage and SDK Samples
-
-
curl -X POST \
+
+
curl -X GET \
-H "api-key: [[apiKey]]" \
\
-H "Accept: application/json" \
- -H "Content-Type: application/json" \
- "https://app.sentio.xyz/api/v1/solidity/{owner}/{slug}/{chainId}/simulation_bundle" \
- -d ''
+ "https://app.sentio.xyz/api/v1/processors/{projectId}/versions"
-
+
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
-import org.openapitools.client.api.DebugAndSimulationApi;
+import org.openapitools.client.api.DefaultApi;
import java.io.File;
import java.util.*;
-public class DebugAndSimulationApiExample {
+public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
@@ -21273,17 +22737,14 @@ Usage and SDK Samples
//ApiKeyQueryAuth.setApiKeyPrefix("Token");
// Create an instance of the API class
- DebugAndSimulationApi apiInstance = new DebugAndSimulationApi();
- String owner = owner_example; // String |
- String slug = slug_example; // String |
- String chainId = chainId_example; // String |
- SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody body = ; // SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody |
+ DefaultApi apiInstance = new DefaultApi();
+ String projectId = projectId_example; // String |
try {
- solidity_service.SimulateTransactionBundleResponse result = apiInstance.simulateTransactionBundle(owner, slug, chainId, body);
+ processor_service.GetProjectVersionsResponse result = apiInstance.getProjectVersions(projectId);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DebugAndSimulationApi#simulateTransactionBundle");
+ System.err.println("Exception when calling DefaultApi#getProjectVersions");
e.printStackTrace();
}
}
@@ -21291,52 +22752,46 @@ Usage and SDK Samples
-
+
import 'package:openapi/api.dart';
final api_instance = DefaultApi();
-final String owner = new String(); // String |
-final String slug = new String(); // String |
-final String chainId = new String(); // String |
-final SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody body = new SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody(); // SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody |
+final String projectId = new String(); // String |
try {
- final result = await api_instance.simulateTransactionBundle(owner, slug, chainId, body);
+ final result = await api_instance.getProjectVersions(projectId);
print(result);
} catch (e) {
- print('Exception when calling DefaultApi->simulateTransactionBundle: $e\n');
+ print('Exception when calling DefaultApi->getProjectVersions: $e\n');
}
-
-
import org.openapitools.client.api.DebugAndSimulationApi;
+
+
import org.openapitools.client.api.DefaultApi;
-public class DebugAndSimulationApiExample {
+public class DefaultApiExample {
public static void main(String[] args) {
- DebugAndSimulationApi apiInstance = new DebugAndSimulationApi();
- String owner = owner_example; // String |
- String slug = slug_example; // String |
- String chainId = chainId_example; // String |
- SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody body = ; // SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody |
+ DefaultApi apiInstance = new DefaultApi();
+ String projectId = projectId_example; // String |
try {
- solidity_service.SimulateTransactionBundleResponse result = apiInstance.simulateTransactionBundle(owner, slug, chainId, body);
+ processor_service.GetProjectVersionsResponse result = apiInstance.getProjectVersions(projectId);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DebugAndSimulationApi#simulateTransactionBundle");
+ System.err.println("Exception when calling DefaultApi#getProjectVersions");
e.printStackTrace();
}
}
}
-
+
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: ApiKeyHeaderAuth)
@@ -21351,18 +22806,12 @@ Usage and SDK Samples
// Create an instance of the API class
-DebugAndSimulationApi *apiInstance = [[DebugAndSimulationApi alloc] init];
-String *owner = owner_example; // (default to null)
-String *slug = slug_example; // (default to null)
-String *chainId = chainId_example; // (default to null)
-SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody *body = ; //
+DefaultApi *apiInstance = [[DefaultApi alloc] init];
+String *projectId = projectId_example; // (default to null)
-// Run bundle simulation
-[apiInstance simulateTransactionBundleWith:owner
- slug:slug
- chainId:chainId
- body:body
- completionHandler: ^(solidity_service.SimulateTransactionBundleResponse output, NSError* error) {
+// Get Versions
+[apiInstance getProjectVersionsWith:projectId
+ completionHandler: ^(processor_service.GetProjectVersionsResponse output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
@@ -21373,7 +22822,7 @@ Usage and SDK Samples
-
+
var SentioApi = require('sentio_api');
var defaultClient = SentioApi.ApiClient.instance;
@@ -21390,11 +22839,8 @@ Usage and SDK Samples
//ApiKeyQueryAuth.apiKeyPrefix['api-key'] = "Token";
// Create an instance of the API class
-var api = new SentioApi.DebugAndSimulationApi()
-var owner = owner_example; // {String}
-var slug = slug_example; // {String}
-var chainId = chainId_example; // {String}
-var body = ; // {SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody}
+var api = new SentioApi.DefaultApi()
+var projectId = projectId_example; // {String}
var callback = function(error, data, response) {
if (error) {
@@ -21403,14 +22849,14 @@ Usage and SDK Samples
console.log('API called successfully. Returned data: ' + data);
}
};
-api.simulateTransactionBundle(owner, slug, chainId, body, callback);
+api.getProjectVersions(projectId, callback);
-
-
+
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
@@ -21419,7 +22865,7 @@ Usage and SDK Samples
namespace Example
{
- public class simulateTransactionBundleExample
+ public class getProjectVersionsExample
{
public void main()
{
@@ -21433,18 +22879,15 @@ Usage and SDK Samples
// Configuration.Default.ApiKeyPrefix.Add("api-key", "Bearer");
// Create an instance of the API class
- var apiInstance = new DebugAndSimulationApi();
- var owner = owner_example; // String | (default to null)
- var slug = slug_example; // String | (default to null)
- var chainId = chainId_example; // String | (default to null)
- var body = new SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody(); // SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody |
+ var apiInstance = new DefaultApi();
+ var projectId = projectId_example; // String | (default to null)
try {
- // Run bundle simulation
- solidity_service.SimulateTransactionBundleResponse result = apiInstance.simulateTransactionBundle(owner, slug, chainId, body);
+ // Get Versions
+ processor_service.GetProjectVersionsResponse result = apiInstance.getProjectVersions(projectId);
Debug.WriteLine(result);
} catch (Exception e) {
- Debug.Print("Exception when calling DebugAndSimulationApi.simulateTransactionBundle: " + e.Message );
+ Debug.Print("Exception when calling DefaultApi.getProjectVersions: " + e.Message );
}
}
}
@@ -21452,7 +22895,7 @@ Usage and SDK Samples
-
+
<?php
require_once(__DIR__ . '/vendor/autoload.php');
@@ -21467,25 +22910,22 @@ Usage and SDK Samples
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer');
// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\DebugAndSimulationApi();
-$owner = owner_example; // String |
-$slug = slug_example; // String |
-$chainId = chainId_example; // String |
-$body = ; // SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody |
+$api_instance = new OpenAPITools\Client\Api\DefaultApi();
+$projectId = projectId_example; // String |
try {
- $result = $api_instance->simulateTransactionBundle($owner, $slug, $chainId, $body);
+ $result = $api_instance->getProjectVersions($projectId);
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling DebugAndSimulationApi->simulateTransactionBundle: ', $e->getMessage(), PHP_EOL;
+ echo 'Exception when calling DefaultApi->getProjectVersions: ', $e->getMessage(), PHP_EOL;
}
?>
-
+
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::DebugAndSimulationApi;
+use WWW::OPenAPIClient::DefaultApi;
# Configure API key authorization: ApiKeyHeaderAuth
$WWW::OPenAPIClient::Configuration::api_key->{'api-key'} = 'YOUR_API_KEY';
@@ -21498,22 +22938,19 @@ Usage and SDK Samples
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'api-key'} = "Bearer";
# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::DebugAndSimulationApi->new();
-my $owner = owner_example; # String |
-my $slug = slug_example; # String |
-my $chainId = chainId_example; # String |
-my $body = WWW::OPenAPIClient::Object::SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody->new(); # SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody |
+my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
+my $projectId = projectId_example; # String |
eval {
- my $result = $api_instance->simulateTransactionBundle(owner => $owner, slug => $slug, chainId => $chainId, body => $body);
+ my $result = $api_instance->getProjectVersions(projectId => $projectId);
print Dumper($result);
};
if ($@) {
- warn "Exception when calling DebugAndSimulationApi->simulateTransactionBundle: $@\n";
+ warn "Exception when calling DefaultApi->getProjectVersions: $@\n";
}
-
+
from __future__ import print_statement
import time
import openapi_client
@@ -21531,31 +22968,25 @@ Usage and SDK Samples
# openapi_client.configuration.api_key_prefix['api-key'] = 'Bearer'
# Create an instance of the API class
-api_instance = openapi_client.DebugAndSimulationApi()
-owner = owner_example # String | (default to null)
-slug = slug_example # String | (default to null)
-chainId = chainId_example # String | (default to null)
-body = # SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody |
+api_instance = openapi_client.DefaultApi()
+projectId = projectId_example # String | (default to null)
try:
- # Run bundle simulation
- api_response = api_instance.simulate_transaction_bundle(owner, slug, chainId, body)
+ # Get Versions
+ api_response = api_instance.get_project_versions(projectId)
pprint(api_response)
except ApiException as e:
- print("Exception when calling DebugAndSimulationApi->simulateTransactionBundle: %s\n" % e)
+ print("Exception when calling DefaultApi->getProjectVersions: %s\n" % e)
-
-
extern crate DebugAndSimulationApi;
+
+
extern crate DefaultApi;
pub fn main() {
- let owner = owner_example; // String
- let slug = slug_example; // String
- let chainId = chainId_example; // String
- let body = ; // SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody
+ let projectId = projectId_example; // String
- let mut context = DebugAndSimulationApi::Context::default();
- let result = client.simulateTransactionBundle(owner, slug, chainId, body, &context).wait();
+ let mut context = DefaultApi::Context::default();
+ let result = client.getProjectVersions(projectId, &context).wait();
println!("{:?}", result);
}
@@ -21576,51 +23007,11 @@ Parameters
Name |
Description |
- owner* |
-
-
-
-
-
-
-
- String
-
-
-
-
- Required
-
-
-
- |
-
-
- slug* |
-
-
-
-
-
-
-
- String
-
-
-
-
- Required
-
-
-
- |
-
-
- chainId* |
+
projectId* |
-
+
@@ -21639,75 +23030,27 @@ Parameters
|
- Body parameters
-
-
- Name |
- Description |
-
- body * |
-
-
-
-
- |
-
-
-
Responses
-
-
+
+
-
+
-
-
-
+
diff --git a/openapi.json b/openapi.json
index e2bca3a..39852aa 100644
--- a/openapi.json
+++ b/openapi.json
@@ -1197,6 +1197,56 @@
]
}
},
+ "/api/v1/processors/status": {
+ "get": {
+ "summary": "Get processor status",
+ "operationId": "GetProcessorStatus",
+ "responses": {
+ "200": {
+ "description": "A successful response.",
+ "schema": {
+ "$ref": "#/definitions/processor_service.GetProcessorStatusResponse"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "name": "projectId",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "id",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ }
+ ]
+ }
+ },
+ "/api/v1/processors/{projectId}/versions": {
+ "get": {
+ "summary": "Get Versions",
+ "operationId": "GetProjectVersions",
+ "responses": {
+ "200": {
+ "description": "A successful response.",
+ "schema": {
+ "$ref": "#/definitions/processor_service.GetProjectVersionsResponse"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "name": "projectId",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ }
+ ]
+ }
+ },
"/api/v1/project/{owner}/{slug}": {
"get": {
"summary": "Get project details",
@@ -3568,6 +3618,36 @@
}
}
},
+ "common.ErrorRecord": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "namespace": {
+ "type": "integer",
+ "format": "int32"
+ },
+ "code": {
+ "type": "integer",
+ "format": "int32",
+ "title": "same as google.rpc.status.Status.code"
+ },
+ "namespaceCode": {
+ "type": "integer",
+ "format": "int32",
+ "title": "additional codes definted in the namespace"
+ },
+ "message": {
+ "type": "string"
+ },
+ "createdAt": {
+ "type": "string",
+ "format": "date-time",
+ "title": "details"
+ }
+ }
+ },
"common.EventLogColumn": {
"type": "object",
"properties": {
@@ -4066,6 +4146,39 @@
}
}
},
+ "common.ProjectVariables": {
+ "type": "object",
+ "properties": {
+ "projectId": {
+ "type": "string"
+ },
+ "variables": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "$ref": "#/definitions/common.ProjectVariables.Variable"
+ }
+ }
+ }
+ },
+ "common.ProjectVariables.Variable": {
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ },
+ "isSecret": {
+ "type": "boolean"
+ },
+ "updatedAt": {
+ "type": "string",
+ "format": "date-time"
+ }
+ }
+ },
"common.ProjectView": {
"type": "object",
"properties": {
@@ -5588,6 +5701,393 @@
}
}
},
+ "processor_service.ChainState": {
+ "type": "object",
+ "properties": {
+ "chainId": {
+ "type": "string",
+ "description": "The chain id."
+ },
+ "processedBlockNumber": {
+ "type": "string",
+ "format": "int64",
+ "description": "The most recently processed block number and block hash."
+ },
+ "processedTimestampMicros": {
+ "type": "string",
+ "format": "int64"
+ },
+ "processedBlockHash": {
+ "type": "string"
+ },
+ "processedVersion": {
+ "type": "integer",
+ "format": "int32",
+ "title": "Processed version"
+ },
+ "status": {
+ "$ref": "#/definitions/processor_service.ChainState.Status"
+ },
+ "updatedAt": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "templates": {
+ "type": "string",
+ "description": "The serialized templates info."
+ },
+ "indexerState": {
+ "type": "string",
+ "description": "The serialized indexer state."
+ },
+ "meterState": {
+ "type": "string",
+ "description": "The serialized meter state."
+ },
+ "handlerStat": {
+ "type": "string",
+ "title": "The serialized handler stat"
+ },
+ "initialStartBlockNumber": {
+ "type": "string",
+ "format": "int64"
+ },
+ "estimatedLatestBlockNumber": {
+ "type": "string",
+ "format": "int64"
+ },
+ "trackers": {
+ "type": "string",
+ "description": "To be deprecated after the migration."
+ }
+ }
+ },
+ "processor_service.ChainState.Status": {
+ "type": "object",
+ "properties": {
+ "state": {
+ "$ref": "#/definitions/processor_service.ChainState.Status.State"
+ },
+ "errorRecord": {
+ "$ref": "#/definitions/common.ErrorRecord",
+ "description": "This field is set if state is ERROR."
+ }
+ },
+ "title": "Status of this chain indexer"
+ },
+ "processor_service.ChainState.Status.State": {
+ "type": "string",
+ "enum": [
+ "UNKNOWN",
+ "ERROR",
+ "CATCHING_UP",
+ "PROCESSING_LATEST",
+ "QUEUING"
+ ],
+ "default": "UNKNOWN"
+ },
+ "processor_service.DownloadProcessorResponse": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string"
+ }
+ }
+ },
+ "processor_service.GetProcessorResponse": {
+ "type": "object",
+ "properties": {
+ "processor": {
+ "$ref": "#/definitions/processor_service.Processor"
+ }
+ }
+ },
+ "processor_service.GetProcessorStatusResponse": {
+ "type": "object",
+ "properties": {
+ "processors": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "$ref": "#/definitions/processor_service.GetProcessorStatusResponse.ProcessorEx"
+ }
+ }
+ }
+ },
+ "processor_service.GetProcessorStatusResponse.ProcessorEx": {
+ "type": "object",
+ "properties": {
+ "states": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "$ref": "#/definitions/processor_service.ChainState"
+ }
+ },
+ "processorId": {
+ "type": "string"
+ },
+ "codeHash": {
+ "type": "string"
+ },
+ "commitSha": {
+ "type": "string"
+ },
+ "uploadedBy": {
+ "$ref": "#/definitions/common.UserInfo"
+ },
+ "uploadedAt": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "processorStatus": {
+ "$ref": "#/definitions/processor_service.GetProcessorStatusResponse.ProcessorStatus",
+ "description": "The processor status."
+ },
+ "version": {
+ "type": "integer",
+ "format": "int32"
+ },
+ "sdkVersion": {
+ "type": "string"
+ },
+ "gitUrl": {
+ "type": "string"
+ },
+ "versionState": {
+ "$ref": "#/definitions/processor_service.ProcessorVersionState"
+ },
+ "versionLabel": {
+ "type": "string"
+ },
+ "ipfsHash": {
+ "type": "string"
+ },
+ "debugFork": {
+ "type": "string"
+ },
+ "cliVersion": {
+ "type": "string"
+ },
+ "referenceProjectId": {
+ "type": "string"
+ },
+ "warnings": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "pause": {
+ "type": "boolean"
+ },
+ "networkOverrides": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "$ref": "#/definitions/processor_service.NetworkOverride"
+ }
+ }
+ }
+ },
+ "processor_service.GetProcessorStatusResponse.ProcessorStatus": {
+ "type": "object",
+ "properties": {
+ "state": {
+ "$ref": "#/definitions/processor_service.GetProcessorStatusResponse.ProcessorStatus.State"
+ },
+ "errorRecord": {
+ "$ref": "#/definitions/common.ErrorRecord",
+ "description": "This field is set if state is ERROR."
+ }
+ }
+ },
+ "processor_service.GetProcessorStatusResponse.ProcessorStatus.State": {
+ "type": "string",
+ "enum": [
+ "UNKNOWN",
+ "ERROR",
+ "STARTING",
+ "PROCESSING"
+ ],
+ "default": "UNKNOWN"
+ },
+ "processor_service.GetProcessorWithProjectResponse": {
+ "type": "object",
+ "properties": {
+ "processor": {
+ "$ref": "#/definitions/processor_service.Processor"
+ },
+ "project": {
+ "$ref": "#/definitions/common.Project"
+ }
+ }
+ },
+ "processor_service.GetProcessorsResponse": {
+ "type": "object",
+ "properties": {
+ "processors": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "$ref": "#/definitions/processor_service.Processor"
+ }
+ }
+ }
+ },
+ "processor_service.GetProjectVersionsResponse": {
+ "type": "object",
+ "properties": {
+ "versions": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "$ref": "#/definitions/processor_service.GetProjectVersionsResponse.Version"
+ }
+ }
+ }
+ },
+ "processor_service.GetProjectVersionsResponse.Version": {
+ "type": "object",
+ "properties": {
+ "version": {
+ "type": "integer",
+ "format": "int32"
+ },
+ "state": {
+ "$ref": "#/definitions/processor_service.ProcessorVersionState"
+ },
+ "processorId": {
+ "type": "string"
+ }
+ }
+ },
+ "processor_service.NetworkOverride": {
+ "type": "object",
+ "properties": {
+ "chain": {
+ "type": "string"
+ },
+ "host": {
+ "type": "string"
+ }
+ }
+ },
+ "processor_service.Processor": {
+ "type": "object",
+ "properties": {
+ "processorId": {
+ "type": "string",
+ "description": "The unique processor id."
+ },
+ "projectId": {
+ "type": "string",
+ "description": "The project this processor belongs to."
+ },
+ "version": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The version of the code_url below."
+ },
+ "sdkVersion": {
+ "type": "string",
+ "title": "The SDK version used when uploaded"
+ },
+ "codeUrl": {
+ "type": "string",
+ "description": "Call should be able to fetch the code to run from code_url."
+ },
+ "chainStates": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "$ref": "#/definitions/processor_service.ChainState"
+ },
+ "title": "Each maintains a state of a processor w.r.t a given chain.\nThis is a one-to-many mapping (processor to processor-chain)"
+ },
+ "contractId": {
+ "type": "string",
+ "description": "If non empty, this is the contract associated with the processor."
+ },
+ "versionState": {
+ "$ref": "#/definitions/processor_service.ProcessorVersionState"
+ },
+ "debug": {
+ "type": "boolean",
+ "title": "If enabled, driver job's log level will be set to debug"
+ },
+ "timescaleShardingIndex": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The timescale-db sharding index of this processor."
+ },
+ "versionLabel": {
+ "type": "string",
+ "title": "The version label of the subgraph\nused for subgraph project"
+ },
+ "ipfsHash": {
+ "type": "string",
+ "title": "The hash (object CID) of the subgraph description file in ipfs node\nused for subgraph project"
+ },
+ "debugFork": {
+ "type": "string",
+ "title": "ID of a remote subgraph whose store will be GraphQL queried\nused for subgraph project"
+ },
+ "createdAt": {
+ "type": "string",
+ "format": "int64",
+ "description": "The created timestamp of the processor."
+ },
+ "clickhouseShardingIndex": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The clickhouse sharding index of this processor."
+ },
+ "k8sClusterId": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The k8s cluster id of this processor"
+ },
+ "enableMaterializedView": {
+ "type": "boolean"
+ },
+ "referenceProjectId": {
+ "type": "string"
+ },
+ "networkOverrides": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "$ref": "#/definitions/processor_service.NetworkOverride"
+ }
+ },
+ "eventlogMigrateStatus": {
+ "type": "integer",
+ "format": "int32"
+ },
+ "eventlogVersion": {
+ "type": "integer",
+ "format": "int32"
+ },
+ "pause": {
+ "type": "boolean"
+ }
+ },
+ "description": "This represents a processor which backend works on."
+ },
+ "processor_service.ProcessorVersionState": {
+ "type": "string",
+ "enum": [
+ "UNKNOWN",
+ "PENDING",
+ "ACTIVE",
+ "OBSOLETE"
+ ],
+ "default": "UNKNOWN"
+ },
+ "processor_service.UpdateChainProcessorStatusResponse": {
+ "type": "object"
+ },
"solidity_service.BaseChainConfig": {
"type": "object",
"properties": {
diff --git a/src/DefaultApi.md b/src/DefaultApi.md
new file mode 100755
index 0000000..21a1bc1
--- /dev/null
+++ b/src/DefaultApi.md
@@ -0,0 +1,118 @@
+# .DefaultApi
+
+All URIs are relative to *https://app.sentio.xyz*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**getProcessorStatus**](DefaultApi.md#getProcessorStatus) | **GET** /api/v1/processors/status | Get processor status
+[**getProjectVersions**](DefaultApi.md#getProjectVersions) | **GET** /api/v1/processors/{projectId}/versions | Get Versions
+
+
+# **getProcessorStatus**
+> ProcessorServiceGetProcessorStatusResponse getProcessorStatus()
+
+
+### Example
+
+
+```typescript
+import { createConfiguration, DefaultApi } from '';
+import type { DefaultApiGetProcessorStatusRequest } from '';
+
+const configuration = createConfiguration();
+const apiInstance = new DefaultApi(configuration);
+
+const request: DefaultApiGetProcessorStatusRequest = {
+
+ projectId: "projectId_example",
+
+ id: "id_example",
+};
+
+const data = await apiInstance.getProcessorStatus(request);
+console.log('API called successfully. Returned data:', data);
+```
+
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **projectId** | [**string**] | | (optional) defaults to undefined
+ **id** | [**string**] | | (optional) defaults to undefined
+
+
+### Return type
+
+**ProcessorServiceGetProcessorStatusResponse**
+
+### Authorization
+
+[ApiKeyHeaderAuth](README.md#ApiKeyHeaderAuth), [ApiKeyQueryAuth](README.md#ApiKeyQueryAuth)
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+**200** | A successful response. | - |
+
+[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md)
+
+# **getProjectVersions**
+> ProcessorServiceGetProjectVersionsResponse getProjectVersions()
+
+
+### Example
+
+
+```typescript
+import { createConfiguration, DefaultApi } from '';
+import type { DefaultApiGetProjectVersionsRequest } from '';
+
+const configuration = createConfiguration();
+const apiInstance = new DefaultApi(configuration);
+
+const request: DefaultApiGetProjectVersionsRequest = {
+
+ projectId: "projectId_example",
+};
+
+const data = await apiInstance.getProjectVersions(request);
+console.log('API called successfully. Returned data:', data);
+```
+
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **projectId** | [**string**] | | defaults to undefined
+
+
+### Return type
+
+**ProcessorServiceGetProjectVersionsResponse**
+
+### Authorization
+
+[ApiKeyHeaderAuth](README.md#ApiKeyHeaderAuth), [ApiKeyQueryAuth](README.md#ApiKeyQueryAuth)
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+**200** | A successful response. | - |
+
+[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md)
+
+
diff --git a/src/apis/DefaultApi.ts b/src/apis/DefaultApi.ts
new file mode 100755
index 0000000..82c196b
--- /dev/null
+++ b/src/apis/DefaultApi.ts
@@ -0,0 +1,171 @@
+// TODO: better import syntax?
+import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js';
+import {Configuration} from '../configuration.js';
+import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js';
+import {ObjectSerializer} from '../models/ObjectSerializer.js';
+import {ApiException} from './exception.js';
+import {canConsumeForm, isCodeInRange} from '../util.js';
+import {SecurityAuthentication} from '../auth/auth.js';
+
+
+import { ProcessorServiceGetProcessorStatusResponse } from '../models/ProcessorServiceGetProcessorStatusResponse.js';
+import { ProcessorServiceGetProjectVersionsResponse } from '../models/ProcessorServiceGetProjectVersionsResponse.js';
+
+/**
+ * no description
+ */
+export class DefaultApiRequestFactory extends BaseAPIRequestFactory {
+
+ /**
+ * Get processor status
+ * @param projectId
+ * @param id
+ */
+ public async getProcessorStatus(projectId?: string, id?: string, _options?: Configuration): Promise
{
+ let _config = _options || this.configuration;
+
+
+
+ // Path Params
+ const localVarPath = '/api/v1/processors/status';
+
+ // Make Request Context
+ const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET);
+ requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8")
+
+ // Query Params
+ if (projectId !== undefined) {
+ requestContext.setQueryParam("projectId", ObjectSerializer.serialize(projectId, "string", ""));
+ }
+
+ // Query Params
+ if (id !== undefined) {
+ requestContext.setQueryParam("id", ObjectSerializer.serialize(id, "string", ""));
+ }
+
+
+ let authMethod: SecurityAuthentication | undefined;
+ // Apply auth methods
+ authMethod = _config.authMethods["ApiKeyHeaderAuth"]
+ if (authMethod?.applySecurityAuthentication) {
+ await authMethod?.applySecurityAuthentication(requestContext);
+ }
+ // Apply auth methods
+ authMethod = _config.authMethods["ApiKeyQueryAuth"]
+ if (authMethod?.applySecurityAuthentication) {
+ await authMethod?.applySecurityAuthentication(requestContext);
+ }
+
+ const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default
+ if (defaultAuth?.applySecurityAuthentication) {
+ await defaultAuth?.applySecurityAuthentication(requestContext);
+ }
+
+ return requestContext;
+ }
+
+ /**
+ * Get Versions
+ * @param projectId
+ */
+ public async getProjectVersions(projectId: string, _options?: Configuration): Promise {
+ let _config = _options || this.configuration;
+
+ // verify required parameter 'projectId' is not null or undefined
+ if (projectId === null || projectId === undefined) {
+ throw new RequiredError("DefaultApi", "getProjectVersions", "projectId");
+ }
+
+
+ // Path Params
+ const localVarPath = '/api/v1/processors/{projectId}/versions'
+ .replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)));
+
+ // Make Request Context
+ const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET);
+ requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8")
+
+
+ let authMethod: SecurityAuthentication | undefined;
+ // Apply auth methods
+ authMethod = _config.authMethods["ApiKeyHeaderAuth"]
+ if (authMethod?.applySecurityAuthentication) {
+ await authMethod?.applySecurityAuthentication(requestContext);
+ }
+ // Apply auth methods
+ authMethod = _config.authMethods["ApiKeyQueryAuth"]
+ if (authMethod?.applySecurityAuthentication) {
+ await authMethod?.applySecurityAuthentication(requestContext);
+ }
+
+ const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default
+ if (defaultAuth?.applySecurityAuthentication) {
+ await defaultAuth?.applySecurityAuthentication(requestContext);
+ }
+
+ return requestContext;
+ }
+
+}
+
+export class DefaultApiResponseProcessor {
+
+ /**
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
+ * to the expected objects
+ *
+ * @params response Response returned by the server for a request to getProcessorStatus
+ * @throws ApiException if the response code was not in [200, 299]
+ */
+ public async getProcessorStatusWithHttpInfo(response: ResponseContext): Promise> {
+ const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
+ if (isCodeInRange("200", response.httpStatusCode)) {
+ const body: ProcessorServiceGetProcessorStatusResponse = ObjectSerializer.deserialize(
+ ObjectSerializer.parse(await response.body.text(), contentType),
+ "ProcessorServiceGetProcessorStatusResponse", ""
+ ) as ProcessorServiceGetProcessorStatusResponse;
+ return new HttpInfo(response.httpStatusCode, response.headers, response.body, body);
+ }
+
+ // Work around for missing responses in specification, e.g. for petstore.yaml
+ if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
+ const body: ProcessorServiceGetProcessorStatusResponse = ObjectSerializer.deserialize(
+ ObjectSerializer.parse(await response.body.text(), contentType),
+ "ProcessorServiceGetProcessorStatusResponse", ""
+ ) as ProcessorServiceGetProcessorStatusResponse;
+ return new HttpInfo(response.httpStatusCode, response.headers, response.body, body);
+ }
+
+ throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers);
+ }
+
+ /**
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
+ * to the expected objects
+ *
+ * @params response Response returned by the server for a request to getProjectVersions
+ * @throws ApiException if the response code was not in [200, 299]
+ */
+ public async getProjectVersionsWithHttpInfo(response: ResponseContext): Promise> {
+ const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
+ if (isCodeInRange("200", response.httpStatusCode)) {
+ const body: ProcessorServiceGetProjectVersionsResponse = ObjectSerializer.deserialize(
+ ObjectSerializer.parse(await response.body.text(), contentType),
+ "ProcessorServiceGetProjectVersionsResponse", ""
+ ) as ProcessorServiceGetProjectVersionsResponse;
+ return new HttpInfo(response.httpStatusCode, response.headers, response.body, body);
+ }
+
+ // Work around for missing responses in specification, e.g. for petstore.yaml
+ if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
+ const body: ProcessorServiceGetProjectVersionsResponse = ObjectSerializer.deserialize(
+ ObjectSerializer.parse(await response.body.text(), contentType),
+ "ProcessorServiceGetProjectVersionsResponse", ""
+ ) as ProcessorServiceGetProjectVersionsResponse;
+ return new HttpInfo(response.httpStatusCode, response.headers, response.body, body);
+ }
+
+ throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers);
+ }
+
+}
diff --git a/src/index.ts b/src/index.ts
index 451a5d8..063bb4b 100755
--- a/src/index.ts
+++ b/src/index.ts
@@ -8,5 +8,5 @@ export * from "./servers.js";
export { RequiredError } from "./apis/baseapi.js";
export type { PromiseMiddleware as Middleware } from './middleware.js';
-export { PromiseAlertsApi as AlertsApi, PromiseDataApi as DataApi, PromiseDebugAndSimulationApi as DebugAndSimulationApi, PromiseForksApi as ForksApi, PromisePriceApi as PriceApi, PromiseWebApi as WebApi } from './types/PromiseAPI.js';
+export { PromiseAlertsApi as AlertsApi, PromiseDataApi as DataApi, PromiseDebugAndSimulationApi as DebugAndSimulationApi, PromiseDefaultApi as DefaultApi, PromiseForksApi as ForksApi, PromisePriceApi as PriceApi, PromiseWebApi as WebApi } from './types/PromiseAPI.js';
diff --git a/src/models/CommonErrorRecord.ts b/src/models/CommonErrorRecord.ts
new file mode 100755
index 0000000..b6572a2
--- /dev/null
+++ b/src/models/CommonErrorRecord.ts
@@ -0,0 +1,71 @@
+/**
+ * Sentio API
+ * Sentio Open API for query data
+ *
+ * OpenAPI spec version: 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 { HttpFile } from '../http/http.js';
+
+export class CommonErrorRecord {
+ 'id'?: string;
+ 'namespace'?: number;
+ 'code'?: number;
+ 'namespaceCode'?: number;
+ 'message'?: string;
+ 'createdAt'?: Date;
+
+ static readonly discriminator: string | undefined = undefined;
+
+ static readonly mapping: {[index: string]: string} | undefined = undefined;
+
+ static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
+ {
+ "name": "id",
+ "baseName": "id",
+ "type": "string",
+ "format": ""
+ },
+ {
+ "name": "namespace",
+ "baseName": "namespace",
+ "type": "number",
+ "format": "int32"
+ },
+ {
+ "name": "code",
+ "baseName": "code",
+ "type": "number",
+ "format": "int32"
+ },
+ {
+ "name": "namespaceCode",
+ "baseName": "namespaceCode",
+ "type": "number",
+ "format": "int32"
+ },
+ {
+ "name": "message",
+ "baseName": "message",
+ "type": "string",
+ "format": ""
+ },
+ {
+ "name": "createdAt",
+ "baseName": "createdAt",
+ "type": "Date",
+ "format": "date-time"
+ } ];
+
+ static getAttributeTypeMap() {
+ return CommonErrorRecord.attributeTypeMap;
+ }
+
+ public constructor() {
+ }
+}
diff --git a/src/models/CommonProjectVariables.ts b/src/models/CommonProjectVariables.ts
new file mode 100755
index 0000000..403dcd0
--- /dev/null
+++ b/src/models/CommonProjectVariables.ts
@@ -0,0 +1,44 @@
+/**
+ * Sentio API
+ * Sentio Open API for query data
+ *
+ * OpenAPI spec version: 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 { CommonProjectVariablesVariable } from '../models/CommonProjectVariablesVariable.js';
+import { HttpFile } from '../http/http.js';
+
+export class CommonProjectVariables {
+ 'projectId'?: string;
+ 'variables'?: Array;
+
+ static readonly discriminator: string | undefined = undefined;
+
+ static readonly mapping: {[index: string]: string} | undefined = undefined;
+
+ static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
+ {
+ "name": "projectId",
+ "baseName": "projectId",
+ "type": "string",
+ "format": ""
+ },
+ {
+ "name": "variables",
+ "baseName": "variables",
+ "type": "Array",
+ "format": ""
+ } ];
+
+ static getAttributeTypeMap() {
+ return CommonProjectVariables.attributeTypeMap;
+ }
+
+ public constructor() {
+ }
+}
diff --git a/src/models/CommonProjectVariablesVariable.ts b/src/models/CommonProjectVariablesVariable.ts
new file mode 100755
index 0000000..68c4691
--- /dev/null
+++ b/src/models/CommonProjectVariablesVariable.ts
@@ -0,0 +1,57 @@
+/**
+ * Sentio API
+ * Sentio Open API for query data
+ *
+ * OpenAPI spec version: 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 { HttpFile } from '../http/http.js';
+
+export class CommonProjectVariablesVariable {
+ 'key'?: string;
+ 'value'?: string;
+ 'isSecret'?: boolean;
+ 'updatedAt'?: Date;
+
+ static readonly discriminator: string | undefined = undefined;
+
+ static readonly mapping: {[index: string]: string} | undefined = undefined;
+
+ static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
+ {
+ "name": "key",
+ "baseName": "key",
+ "type": "string",
+ "format": ""
+ },
+ {
+ "name": "value",
+ "baseName": "value",
+ "type": "string",
+ "format": ""
+ },
+ {
+ "name": "isSecret",
+ "baseName": "isSecret",
+ "type": "boolean",
+ "format": ""
+ },
+ {
+ "name": "updatedAt",
+ "baseName": "updatedAt",
+ "type": "Date",
+ "format": "date-time"
+ } ];
+
+ static getAttributeTypeMap() {
+ return CommonProjectVariablesVariable.attributeTypeMap;
+ }
+
+ public constructor() {
+ }
+}
diff --git a/src/models/ObjectSerializer.ts b/src/models/ObjectSerializer.ts
index 7517e03..45e8c0c 100755
--- a/src/models/ObjectSerializer.ts
+++ b/src/models/ObjectSerializer.ts
@@ -50,6 +50,7 @@ export * from '../models/CommonColumnState.js';
export * from '../models/CommonColumnStateSort.js';
export * from '../models/CommonComputeStats.js';
export * from '../models/CommonDuration.js';
+export * from '../models/CommonErrorRecord.js';
export * from '../models/CommonEventLogColumn.js';
export * from '../models/CommonEventLogConfig.js';
export * from '../models/CommonEventLogEntry.js';
@@ -71,6 +72,8 @@ export * from '../models/CommonProjectInfo.js';
export * from '../models/CommonProjectProjectMember.js';
export * from '../models/CommonProjectSuperset.js';
export * from '../models/CommonProjectType.js';
+export * from '../models/CommonProjectVariables.js';
+export * from '../models/CommonProjectVariablesVariable.js';
export * from '../models/CommonProjectView.js';
export * from '../models/CommonProjectViewProjectViewConfig.js';
export * from '../models/CommonProjectVisibility.js';
@@ -149,6 +152,22 @@ export * from '../models/PriceServiceCoinID.js';
export * from '../models/PriceServiceCoinIDAddressIdentifier.js';
export * from '../models/PriceServiceGetPriceResponse.js';
export * from '../models/PriceServiceListCoinsResponse.js';
+export * from '../models/ProcessorServiceChainState.js';
+export * from '../models/ProcessorServiceChainStateStatus.js';
+export * from '../models/ProcessorServiceChainStateStatusState.js';
+export * from '../models/ProcessorServiceDownloadProcessorResponse.js';
+export * from '../models/ProcessorServiceGetProcessorResponse.js';
+export * from '../models/ProcessorServiceGetProcessorStatusResponse.js';
+export * from '../models/ProcessorServiceGetProcessorStatusResponseProcessorEx.js';
+export * from '../models/ProcessorServiceGetProcessorStatusResponseProcessorStatus.js';
+export * from '../models/ProcessorServiceGetProcessorStatusResponseProcessorStatusState.js';
+export * from '../models/ProcessorServiceGetProcessorWithProjectResponse.js';
+export * from '../models/ProcessorServiceGetProcessorsResponse.js';
+export * from '../models/ProcessorServiceGetProjectVersionsResponse.js';
+export * from '../models/ProcessorServiceGetProjectVersionsResponseVersion.js';
+export * from '../models/ProcessorServiceNetworkOverride.js';
+export * from '../models/ProcessorServiceProcessor.js';
+export * from '../models/ProcessorServiceProcessorVersionState.js';
export * from '../models/SolidityServiceBaseChainConfig.js';
export * from '../models/SolidityServiceBlockOverrides.js';
export * from '../models/SolidityServiceBlockPrice.js';
@@ -307,6 +326,7 @@ import { CommonColumnState } from '../models/CommonColumnState.js';
import { CommonColumnStateSort } from '../models/CommonColumnStateSort.js';
import { CommonComputeStats } from '../models/CommonComputeStats.js';
import { CommonDuration } from '../models/CommonDuration.js';
+import { CommonErrorRecord } from '../models/CommonErrorRecord.js';
import { CommonEventLogColumn } from '../models/CommonEventLogColumn.js';
import { CommonEventLogConfig } from '../models/CommonEventLogConfig.js';
import { CommonEventLogEntry } from '../models/CommonEventLogEntry.js';
@@ -328,6 +348,8 @@ import { CommonProjectInfo } from '../models/CommonProjectInfo.js
import { CommonProjectProjectMember } from '../models/CommonProjectProjectMember.js';
import { CommonProjectSuperset } from '../models/CommonProjectSuperset.js';
import { CommonProjectType } from '../models/CommonProjectType.js';
+import { CommonProjectVariables } from '../models/CommonProjectVariables.js';
+import { CommonProjectVariablesVariable } from '../models/CommonProjectVariablesVariable.js';
import { CommonProjectView } from '../models/CommonProjectView.js';
import { CommonProjectViewProjectViewConfig } from '../models/CommonProjectViewProjectViewConfig.js';
import { CommonProjectVisibility } from '../models/CommonProjectVisibility.js';
@@ -406,6 +428,22 @@ import { PriceServiceCoinID } from '../models/PriceServiceCoinID.js';
import { PriceServiceCoinIDAddressIdentifier } from '../models/PriceServiceCoinIDAddressIdentifier.js';
import { PriceServiceGetPriceResponse } from '../models/PriceServiceGetPriceResponse.js';
import { PriceServiceListCoinsResponse } from '../models/PriceServiceListCoinsResponse.js';
+import { ProcessorServiceChainState } from '../models/ProcessorServiceChainState.js';
+import { ProcessorServiceChainStateStatus } from '../models/ProcessorServiceChainStateStatus.js';
+import { ProcessorServiceChainStateStatusState } from '../models/ProcessorServiceChainStateStatusState.js';
+import { ProcessorServiceDownloadProcessorResponse } from '../models/ProcessorServiceDownloadProcessorResponse.js';
+import { ProcessorServiceGetProcessorResponse } from '../models/ProcessorServiceGetProcessorResponse.js';
+import { ProcessorServiceGetProcessorStatusResponse } from '../models/ProcessorServiceGetProcessorStatusResponse.js';
+import { ProcessorServiceGetProcessorStatusResponseProcessorEx } from '../models/ProcessorServiceGetProcessorStatusResponseProcessorEx.js';
+import { ProcessorServiceGetProcessorStatusResponseProcessorStatus } from '../models/ProcessorServiceGetProcessorStatusResponseProcessorStatus.js';
+import { ProcessorServiceGetProcessorStatusResponseProcessorStatusState } from '../models/ProcessorServiceGetProcessorStatusResponseProcessorStatusState.js';
+import { ProcessorServiceGetProcessorWithProjectResponse } from '../models/ProcessorServiceGetProcessorWithProjectResponse.js';
+import { ProcessorServiceGetProcessorsResponse } from '../models/ProcessorServiceGetProcessorsResponse.js';
+import { ProcessorServiceGetProjectVersionsResponse } from '../models/ProcessorServiceGetProjectVersionsResponse.js';
+import { ProcessorServiceGetProjectVersionsResponseVersion } from '../models/ProcessorServiceGetProjectVersionsResponseVersion.js';
+import { ProcessorServiceNetworkOverride } from '../models/ProcessorServiceNetworkOverride.js';
+import { ProcessorServiceProcessor } from '../models/ProcessorServiceProcessor.js';
+import { ProcessorServiceProcessorVersionState } from '../models/ProcessorServiceProcessorVersionState.js';
import { SolidityServiceBaseChainConfig } from '../models/SolidityServiceBaseChainConfig.js';
import { SolidityServiceBlockOverrides } from '../models/SolidityServiceBlockOverrides.js';
import { SolidityServiceBlockPrice } from '../models/SolidityServiceBlockPrice.js';
@@ -550,6 +588,9 @@ let enumsMap: Set = new Set([
"CommonUserAccountStatus",
"GoogleProtobufNullValue",
"InsightsServiceDataSource",
+ "ProcessorServiceChainStateStatusState",
+ "ProcessorServiceGetProcessorStatusResponseProcessorStatusState",
+ "ProcessorServiceProcessorVersionState",
"SolidityServiceForkType",
"SolidityServiceSourceFetcherType",
"WebServiceChartChartType",
@@ -613,6 +654,7 @@ let typeMap: {[index: string]: any} = {
"CommonColumnStateSort": CommonColumnStateSort,
"CommonComputeStats": CommonComputeStats,
"CommonDuration": CommonDuration,
+ "CommonErrorRecord": CommonErrorRecord,
"CommonEventLogColumn": CommonEventLogColumn,
"CommonEventLogConfig": CommonEventLogConfig,
"CommonEventLogEntry": CommonEventLogEntry,
@@ -630,6 +672,8 @@ let typeMap: {[index: string]: any} = {
"CommonProjectInfo": CommonProjectInfo,
"CommonProjectProjectMember": CommonProjectProjectMember,
"CommonProjectSuperset": CommonProjectSuperset,
+ "CommonProjectVariables": CommonProjectVariables,
+ "CommonProjectVariablesVariable": CommonProjectVariablesVariable,
"CommonProjectView": CommonProjectView,
"CommonProjectViewProjectViewConfig": CommonProjectViewProjectViewConfig,
"CommonQuery": CommonQuery,
@@ -695,6 +739,19 @@ let typeMap: {[index: string]: any} = {
"PriceServiceCoinIDAddressIdentifier": PriceServiceCoinIDAddressIdentifier,
"PriceServiceGetPriceResponse": PriceServiceGetPriceResponse,
"PriceServiceListCoinsResponse": PriceServiceListCoinsResponse,
+ "ProcessorServiceChainState": ProcessorServiceChainState,
+ "ProcessorServiceChainStateStatus": ProcessorServiceChainStateStatus,
+ "ProcessorServiceDownloadProcessorResponse": ProcessorServiceDownloadProcessorResponse,
+ "ProcessorServiceGetProcessorResponse": ProcessorServiceGetProcessorResponse,
+ "ProcessorServiceGetProcessorStatusResponse": ProcessorServiceGetProcessorStatusResponse,
+ "ProcessorServiceGetProcessorStatusResponseProcessorEx": ProcessorServiceGetProcessorStatusResponseProcessorEx,
+ "ProcessorServiceGetProcessorStatusResponseProcessorStatus": ProcessorServiceGetProcessorStatusResponseProcessorStatus,
+ "ProcessorServiceGetProcessorWithProjectResponse": ProcessorServiceGetProcessorWithProjectResponse,
+ "ProcessorServiceGetProcessorsResponse": ProcessorServiceGetProcessorsResponse,
+ "ProcessorServiceGetProjectVersionsResponse": ProcessorServiceGetProjectVersionsResponse,
+ "ProcessorServiceGetProjectVersionsResponseVersion": ProcessorServiceGetProjectVersionsResponseVersion,
+ "ProcessorServiceNetworkOverride": ProcessorServiceNetworkOverride,
+ "ProcessorServiceProcessor": ProcessorServiceProcessor,
"SolidityServiceBaseChainConfig": SolidityServiceBaseChainConfig,
"SolidityServiceBlockOverrides": SolidityServiceBlockOverrides,
"SolidityServiceBlockPrice": SolidityServiceBlockPrice,
diff --git a/src/models/ProcessorServiceChainState.ts b/src/models/ProcessorServiceChainState.ts
new file mode 100755
index 0000000..fd02793
--- /dev/null
+++ b/src/models/ProcessorServiceChainState.ts
@@ -0,0 +1,146 @@
+/**
+ * Sentio API
+ * Sentio Open API for query data
+ *
+ * OpenAPI spec version: 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 { ProcessorServiceChainStateStatus } from '../models/ProcessorServiceChainStateStatus.js';
+import { HttpFile } from '../http/http.js';
+
+export class ProcessorServiceChainState {
+ /**
+ * The chain id.
+ */
+ 'chainId'?: string;
+ /**
+ * The most recently processed block number and block hash.
+ */
+ 'processedBlockNumber'?: string;
+ 'processedTimestampMicros'?: string;
+ 'processedBlockHash'?: string;
+ 'processedVersion'?: number;
+ 'status'?: ProcessorServiceChainStateStatus;
+ 'updatedAt'?: Date;
+ /**
+ * The serialized templates info.
+ */
+ 'templates'?: string;
+ /**
+ * The serialized indexer state.
+ */
+ 'indexerState'?: string;
+ /**
+ * The serialized meter state.
+ */
+ 'meterState'?: string;
+ 'handlerStat'?: string;
+ 'initialStartBlockNumber'?: string;
+ 'estimatedLatestBlockNumber'?: string;
+ /**
+ * To be deprecated after the migration.
+ */
+ 'trackers'?: string;
+
+ static readonly discriminator: string | undefined = undefined;
+
+ static readonly mapping: {[index: string]: string} | undefined = undefined;
+
+ static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
+ {
+ "name": "chainId",
+ "baseName": "chainId",
+ "type": "string",
+ "format": ""
+ },
+ {
+ "name": "processedBlockNumber",
+ "baseName": "processedBlockNumber",
+ "type": "string",
+ "format": "int64"
+ },
+ {
+ "name": "processedTimestampMicros",
+ "baseName": "processedTimestampMicros",
+ "type": "string",
+ "format": "int64"
+ },
+ {
+ "name": "processedBlockHash",
+ "baseName": "processedBlockHash",
+ "type": "string",
+ "format": ""
+ },
+ {
+ "name": "processedVersion",
+ "baseName": "processedVersion",
+ "type": "number",
+ "format": "int32"
+ },
+ {
+ "name": "status",
+ "baseName": "status",
+ "type": "ProcessorServiceChainStateStatus",
+ "format": ""
+ },
+ {
+ "name": "updatedAt",
+ "baseName": "updatedAt",
+ "type": "Date",
+ "format": "date-time"
+ },
+ {
+ "name": "templates",
+ "baseName": "templates",
+ "type": "string",
+ "format": ""
+ },
+ {
+ "name": "indexerState",
+ "baseName": "indexerState",
+ "type": "string",
+ "format": ""
+ },
+ {
+ "name": "meterState",
+ "baseName": "meterState",
+ "type": "string",
+ "format": ""
+ },
+ {
+ "name": "handlerStat",
+ "baseName": "handlerStat",
+ "type": "string",
+ "format": ""
+ },
+ {
+ "name": "initialStartBlockNumber",
+ "baseName": "initialStartBlockNumber",
+ "type": "string",
+ "format": "int64"
+ },
+ {
+ "name": "estimatedLatestBlockNumber",
+ "baseName": "estimatedLatestBlockNumber",
+ "type": "string",
+ "format": "int64"
+ },
+ {
+ "name": "trackers",
+ "baseName": "trackers",
+ "type": "string",
+ "format": ""
+ } ];
+
+ static getAttributeTypeMap() {
+ return ProcessorServiceChainState.attributeTypeMap;
+ }
+
+ public constructor() {
+ }
+}
diff --git a/src/models/ProcessorServiceChainStateStatus.ts b/src/models/ProcessorServiceChainStateStatus.ts
new file mode 100755
index 0000000..add45c6
--- /dev/null
+++ b/src/models/ProcessorServiceChainStateStatus.ts
@@ -0,0 +1,47 @@
+/**
+ * Sentio API
+ * Sentio Open API for query data
+ *
+ * OpenAPI spec version: 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 { CommonErrorRecord } from '../models/CommonErrorRecord.js';
+import { ProcessorServiceChainStateStatusState } from '../models/ProcessorServiceChainStateStatusState.js';
+import { HttpFile } from '../http/http.js';
+
+export class ProcessorServiceChainStateStatus {
+ 'state'?: ProcessorServiceChainStateStatusState;
+ 'errorRecord'?: CommonErrorRecord;
+
+ static readonly discriminator: string | undefined = undefined;
+
+ static readonly mapping: {[index: string]: string} | undefined = undefined;
+
+ static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
+ {
+ "name": "state",
+ "baseName": "state",
+ "type": "ProcessorServiceChainStateStatusState",
+ "format": ""
+ },
+ {
+ "name": "errorRecord",
+ "baseName": "errorRecord",
+ "type": "CommonErrorRecord",
+ "format": ""
+ } ];
+
+ static getAttributeTypeMap() {
+ return ProcessorServiceChainStateStatus.attributeTypeMap;
+ }
+
+ public constructor() {
+ }
+}
+
+
diff --git a/src/models/ProcessorServiceChainStateStatusState.ts b/src/models/ProcessorServiceChainStateStatusState.ts
new file mode 100755
index 0000000..2ae58eb
--- /dev/null
+++ b/src/models/ProcessorServiceChainStateStatusState.ts
@@ -0,0 +1,21 @@
+/**
+ * Sentio API
+ * Sentio Open API for query data
+ *
+ * OpenAPI spec version: 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 { HttpFile } from '../http/http.js';
+
+export enum ProcessorServiceChainStateStatusState {
+ Unknown = 'UNKNOWN',
+ Error = 'ERROR',
+ CatchingUp = 'CATCHING_UP',
+ ProcessingLatest = 'PROCESSING_LATEST',
+ Queuing = 'QUEUING'
+}
diff --git a/src/models/ProcessorServiceDownloadProcessorResponse.ts b/src/models/ProcessorServiceDownloadProcessorResponse.ts
new file mode 100755
index 0000000..6f5f866
--- /dev/null
+++ b/src/models/ProcessorServiceDownloadProcessorResponse.ts
@@ -0,0 +1,36 @@
+/**
+ * Sentio API
+ * Sentio Open API for query data
+ *
+ * OpenAPI spec version: 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 { HttpFile } from '../http/http.js';
+
+export class ProcessorServiceDownloadProcessorResponse {
+ 'url'?: string;
+
+ static readonly discriminator: string | undefined = undefined;
+
+ static readonly mapping: {[index: string]: string} | undefined = undefined;
+
+ static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
+ {
+ "name": "url",
+ "baseName": "url",
+ "type": "string",
+ "format": ""
+ } ];
+
+ static getAttributeTypeMap() {
+ return ProcessorServiceDownloadProcessorResponse.attributeTypeMap;
+ }
+
+ public constructor() {
+ }
+}
diff --git a/src/models/ProcessorServiceGetProcessorResponse.ts b/src/models/ProcessorServiceGetProcessorResponse.ts
new file mode 100755
index 0000000..1027c0f
--- /dev/null
+++ b/src/models/ProcessorServiceGetProcessorResponse.ts
@@ -0,0 +1,37 @@
+/**
+ * Sentio API
+ * Sentio Open API for query data
+ *
+ * OpenAPI spec version: 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 { ProcessorServiceProcessor } from '../models/ProcessorServiceProcessor.js';
+import { HttpFile } from '../http/http.js';
+
+export class ProcessorServiceGetProcessorResponse {
+ 'processor'?: ProcessorServiceProcessor;
+
+ static readonly discriminator: string | undefined = undefined;
+
+ static readonly mapping: {[index: string]: string} | undefined = undefined;
+
+ static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
+ {
+ "name": "processor",
+ "baseName": "processor",
+ "type": "ProcessorServiceProcessor",
+ "format": ""
+ } ];
+
+ static getAttributeTypeMap() {
+ return ProcessorServiceGetProcessorResponse.attributeTypeMap;
+ }
+
+ public constructor() {
+ }
+}
diff --git a/src/models/ProcessorServiceGetProcessorStatusResponse.ts b/src/models/ProcessorServiceGetProcessorStatusResponse.ts
new file mode 100755
index 0000000..b17aeea
--- /dev/null
+++ b/src/models/ProcessorServiceGetProcessorStatusResponse.ts
@@ -0,0 +1,37 @@
+/**
+ * Sentio API
+ * Sentio Open API for query data
+ *
+ * OpenAPI spec version: 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 { ProcessorServiceGetProcessorStatusResponseProcessorEx } from '../models/ProcessorServiceGetProcessorStatusResponseProcessorEx.js';
+import { HttpFile } from '../http/http.js';
+
+export class ProcessorServiceGetProcessorStatusResponse {
+ 'processors'?: Array;
+
+ static readonly discriminator: string | undefined = undefined;
+
+ static readonly mapping: {[index: string]: string} | undefined = undefined;
+
+ static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
+ {
+ "name": "processors",
+ "baseName": "processors",
+ "type": "Array",
+ "format": ""
+ } ];
+
+ static getAttributeTypeMap() {
+ return ProcessorServiceGetProcessorStatusResponse.attributeTypeMap;
+ }
+
+ public constructor() {
+ }
+}
diff --git a/src/models/ProcessorServiceGetProcessorStatusResponseProcessorEx.ts b/src/models/ProcessorServiceGetProcessorStatusResponseProcessorEx.ts
new file mode 100755
index 0000000..88eb273
--- /dev/null
+++ b/src/models/ProcessorServiceGetProcessorStatusResponseProcessorEx.ts
@@ -0,0 +1,169 @@
+/**
+ * Sentio API
+ * Sentio Open API for query data
+ *
+ * OpenAPI spec version: 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 { CommonUserInfo } from '../models/CommonUserInfo.js';
+import { ProcessorServiceChainState } from '../models/ProcessorServiceChainState.js';
+import { ProcessorServiceGetProcessorStatusResponseProcessorStatus } from '../models/ProcessorServiceGetProcessorStatusResponseProcessorStatus.js';
+import { ProcessorServiceNetworkOverride } from '../models/ProcessorServiceNetworkOverride.js';
+import { ProcessorServiceProcessorVersionState } from '../models/ProcessorServiceProcessorVersionState.js';
+import { HttpFile } from '../http/http.js';
+
+export class ProcessorServiceGetProcessorStatusResponseProcessorEx {
+ 'states'?: Array;
+ 'processorId'?: string;
+ 'codeHash'?: string;
+ 'commitSha'?: string;
+ 'uploadedBy'?: CommonUserInfo;
+ 'uploadedAt'?: Date;
+ 'processorStatus'?: ProcessorServiceGetProcessorStatusResponseProcessorStatus;
+ 'version'?: number;
+ 'sdkVersion'?: string;
+ 'gitUrl'?: string;
+ 'versionState'?: ProcessorServiceProcessorVersionState;
+ 'versionLabel'?: string;
+ 'ipfsHash'?: string;
+ 'debugFork'?: string;
+ 'cliVersion'?: string;
+ 'referenceProjectId'?: string;
+ 'warnings'?: Array;
+ 'pause'?: boolean;
+ 'networkOverrides'?: Array;
+
+ static readonly discriminator: string | undefined = undefined;
+
+ static readonly mapping: {[index: string]: string} | undefined = undefined;
+
+ static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
+ {
+ "name": "states",
+ "baseName": "states",
+ "type": "Array",
+ "format": ""
+ },
+ {
+ "name": "processorId",
+ "baseName": "processorId",
+ "type": "string",
+ "format": ""
+ },
+ {
+ "name": "codeHash",
+ "baseName": "codeHash",
+ "type": "string",
+ "format": ""
+ },
+ {
+ "name": "commitSha",
+ "baseName": "commitSha",
+ "type": "string",
+ "format": ""
+ },
+ {
+ "name": "uploadedBy",
+ "baseName": "uploadedBy",
+ "type": "CommonUserInfo",
+ "format": ""
+ },
+ {
+ "name": "uploadedAt",
+ "baseName": "uploadedAt",
+ "type": "Date",
+ "format": "date-time"
+ },
+ {
+ "name": "processorStatus",
+ "baseName": "processorStatus",
+ "type": "ProcessorServiceGetProcessorStatusResponseProcessorStatus",
+ "format": ""
+ },
+ {
+ "name": "version",
+ "baseName": "version",
+ "type": "number",
+ "format": "int32"
+ },
+ {
+ "name": "sdkVersion",
+ "baseName": "sdkVersion",
+ "type": "string",
+ "format": ""
+ },
+ {
+ "name": "gitUrl",
+ "baseName": "gitUrl",
+ "type": "string",
+ "format": ""
+ },
+ {
+ "name": "versionState",
+ "baseName": "versionState",
+ "type": "ProcessorServiceProcessorVersionState",
+ "format": ""
+ },
+ {
+ "name": "versionLabel",
+ "baseName": "versionLabel",
+ "type": "string",
+ "format": ""
+ },
+ {
+ "name": "ipfsHash",
+ "baseName": "ipfsHash",
+ "type": "string",
+ "format": ""
+ },
+ {
+ "name": "debugFork",
+ "baseName": "debugFork",
+ "type": "string",
+ "format": ""
+ },
+ {
+ "name": "cliVersion",
+ "baseName": "cliVersion",
+ "type": "string",
+ "format": ""
+ },
+ {
+ "name": "referenceProjectId",
+ "baseName": "referenceProjectId",
+ "type": "string",
+ "format": ""
+ },
+ {
+ "name": "warnings",
+ "baseName": "warnings",
+ "type": "Array",
+ "format": ""
+ },
+ {
+ "name": "pause",
+ "baseName": "pause",
+ "type": "boolean",
+ "format": ""
+ },
+ {
+ "name": "networkOverrides",
+ "baseName": "networkOverrides",
+ "type": "Array",
+ "format": ""
+ } ];
+
+ static getAttributeTypeMap() {
+ return ProcessorServiceGetProcessorStatusResponseProcessorEx.attributeTypeMap;
+ }
+
+ public constructor() {
+ }
+}
+
+
diff --git a/src/models/ProcessorServiceGetProcessorStatusResponseProcessorStatus.ts b/src/models/ProcessorServiceGetProcessorStatusResponseProcessorStatus.ts
new file mode 100755
index 0000000..aa6a258
--- /dev/null
+++ b/src/models/ProcessorServiceGetProcessorStatusResponseProcessorStatus.ts
@@ -0,0 +1,47 @@
+/**
+ * Sentio API
+ * Sentio Open API for query data
+ *
+ * OpenAPI spec version: 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 { CommonErrorRecord } from '../models/CommonErrorRecord.js';
+import { ProcessorServiceGetProcessorStatusResponseProcessorStatusState } from '../models/ProcessorServiceGetProcessorStatusResponseProcessorStatusState.js';
+import { HttpFile } from '../http/http.js';
+
+export class ProcessorServiceGetProcessorStatusResponseProcessorStatus {
+ 'state'?: ProcessorServiceGetProcessorStatusResponseProcessorStatusState;
+ 'errorRecord'?: CommonErrorRecord;
+
+ static readonly discriminator: string | undefined = undefined;
+
+ static readonly mapping: {[index: string]: string} | undefined = undefined;
+
+ static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
+ {
+ "name": "state",
+ "baseName": "state",
+ "type": "ProcessorServiceGetProcessorStatusResponseProcessorStatusState",
+ "format": ""
+ },
+ {
+ "name": "errorRecord",
+ "baseName": "errorRecord",
+ "type": "CommonErrorRecord",
+ "format": ""
+ } ];
+
+ static getAttributeTypeMap() {
+ return ProcessorServiceGetProcessorStatusResponseProcessorStatus.attributeTypeMap;
+ }
+
+ public constructor() {
+ }
+}
+
+
diff --git a/src/models/ProcessorServiceGetProcessorStatusResponseProcessorStatusState.ts b/src/models/ProcessorServiceGetProcessorStatusResponseProcessorStatusState.ts
new file mode 100755
index 0000000..e8194e4
--- /dev/null
+++ b/src/models/ProcessorServiceGetProcessorStatusResponseProcessorStatusState.ts
@@ -0,0 +1,20 @@
+/**
+ * Sentio API
+ * Sentio Open API for query data
+ *
+ * OpenAPI spec version: 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 { HttpFile } from '../http/http.js';
+
+export enum ProcessorServiceGetProcessorStatusResponseProcessorStatusState {
+ Unknown = 'UNKNOWN',
+ Error = 'ERROR',
+ Starting = 'STARTING',
+ Processing = 'PROCESSING'
+}
diff --git a/src/models/ProcessorServiceGetProcessorWithProjectResponse.ts b/src/models/ProcessorServiceGetProcessorWithProjectResponse.ts
new file mode 100755
index 0000000..3722e92
--- /dev/null
+++ b/src/models/ProcessorServiceGetProcessorWithProjectResponse.ts
@@ -0,0 +1,45 @@
+/**
+ * Sentio API
+ * Sentio Open API for query data
+ *
+ * OpenAPI spec version: 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 { CommonProject } from '../models/CommonProject.js';
+import { ProcessorServiceProcessor } from '../models/ProcessorServiceProcessor.js';
+import { HttpFile } from '../http/http.js';
+
+export class ProcessorServiceGetProcessorWithProjectResponse {
+ 'processor'?: ProcessorServiceProcessor;
+ 'project'?: CommonProject;
+
+ static readonly discriminator: string | undefined = undefined;
+
+ static readonly mapping: {[index: string]: string} | undefined = undefined;
+
+ static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
+ {
+ "name": "processor",
+ "baseName": "processor",
+ "type": "ProcessorServiceProcessor",
+ "format": ""
+ },
+ {
+ "name": "project",
+ "baseName": "project",
+ "type": "CommonProject",
+ "format": ""
+ } ];
+
+ static getAttributeTypeMap() {
+ return ProcessorServiceGetProcessorWithProjectResponse.attributeTypeMap;
+ }
+
+ public constructor() {
+ }
+}
diff --git a/src/models/ProcessorServiceGetProcessorsResponse.ts b/src/models/ProcessorServiceGetProcessorsResponse.ts
new file mode 100755
index 0000000..9649397
--- /dev/null
+++ b/src/models/ProcessorServiceGetProcessorsResponse.ts
@@ -0,0 +1,37 @@
+/**
+ * Sentio API
+ * Sentio Open API for query data
+ *
+ * OpenAPI spec version: 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 { ProcessorServiceProcessor } from '../models/ProcessorServiceProcessor.js';
+import { HttpFile } from '../http/http.js';
+
+export class ProcessorServiceGetProcessorsResponse {
+ 'processors'?: Array;
+
+ static readonly discriminator: string | undefined = undefined;
+
+ static readonly mapping: {[index: string]: string} | undefined = undefined;
+
+ static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
+ {
+ "name": "processors",
+ "baseName": "processors",
+ "type": "Array",
+ "format": ""
+ } ];
+
+ static getAttributeTypeMap() {
+ return ProcessorServiceGetProcessorsResponse.attributeTypeMap;
+ }
+
+ public constructor() {
+ }
+}
diff --git a/src/models/ProcessorServiceGetProjectVersionsResponse.ts b/src/models/ProcessorServiceGetProjectVersionsResponse.ts
new file mode 100755
index 0000000..2344e76
--- /dev/null
+++ b/src/models/ProcessorServiceGetProjectVersionsResponse.ts
@@ -0,0 +1,37 @@
+/**
+ * Sentio API
+ * Sentio Open API for query data
+ *
+ * OpenAPI spec version: 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 { ProcessorServiceGetProjectVersionsResponseVersion } from '../models/ProcessorServiceGetProjectVersionsResponseVersion.js';
+import { HttpFile } from '../http/http.js';
+
+export class ProcessorServiceGetProjectVersionsResponse {
+ 'versions'?: Array;
+
+ static readonly discriminator: string | undefined = undefined;
+
+ static readonly mapping: {[index: string]: string} | undefined = undefined;
+
+ static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
+ {
+ "name": "versions",
+ "baseName": "versions",
+ "type": "Array",
+ "format": ""
+ } ];
+
+ static getAttributeTypeMap() {
+ return ProcessorServiceGetProjectVersionsResponse.attributeTypeMap;
+ }
+
+ public constructor() {
+ }
+}
diff --git a/src/models/ProcessorServiceGetProjectVersionsResponseVersion.ts b/src/models/ProcessorServiceGetProjectVersionsResponseVersion.ts
new file mode 100755
index 0000000..df92298
--- /dev/null
+++ b/src/models/ProcessorServiceGetProjectVersionsResponseVersion.ts
@@ -0,0 +1,53 @@
+/**
+ * Sentio API
+ * Sentio Open API for query data
+ *
+ * OpenAPI spec version: 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 { ProcessorServiceProcessorVersionState } from '../models/ProcessorServiceProcessorVersionState.js';
+import { HttpFile } from '../http/http.js';
+
+export class ProcessorServiceGetProjectVersionsResponseVersion {
+ 'version'?: number;
+ 'state'?: ProcessorServiceProcessorVersionState;
+ 'processorId'?: string;
+
+ static readonly discriminator: string | undefined = undefined;
+
+ static readonly mapping: {[index: string]: string} | undefined = undefined;
+
+ static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
+ {
+ "name": "version",
+ "baseName": "version",
+ "type": "number",
+ "format": "int32"
+ },
+ {
+ "name": "state",
+ "baseName": "state",
+ "type": "ProcessorServiceProcessorVersionState",
+ "format": ""
+ },
+ {
+ "name": "processorId",
+ "baseName": "processorId",
+ "type": "string",
+ "format": ""
+ } ];
+
+ static getAttributeTypeMap() {
+ return ProcessorServiceGetProjectVersionsResponseVersion.attributeTypeMap;
+ }
+
+ public constructor() {
+ }
+}
+
+
diff --git a/src/models/ProcessorServiceNetworkOverride.ts b/src/models/ProcessorServiceNetworkOverride.ts
new file mode 100755
index 0000000..abe2f89
--- /dev/null
+++ b/src/models/ProcessorServiceNetworkOverride.ts
@@ -0,0 +1,43 @@
+/**
+ * Sentio API
+ * Sentio Open API for query data
+ *
+ * OpenAPI spec version: 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 { HttpFile } from '../http/http.js';
+
+export class ProcessorServiceNetworkOverride {
+ 'chain'?: string;
+ 'host'?: string;
+
+ static readonly discriminator: string | undefined = undefined;
+
+ static readonly mapping: {[index: string]: string} | undefined = undefined;
+
+ static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
+ {
+ "name": "chain",
+ "baseName": "chain",
+ "type": "string",
+ "format": ""
+ },
+ {
+ "name": "host",
+ "baseName": "host",
+ "type": "string",
+ "format": ""
+ } ];
+
+ static getAttributeTypeMap() {
+ return ProcessorServiceNetworkOverride.attributeTypeMap;
+ }
+
+ public constructor() {
+ }
+}
diff --git a/src/models/ProcessorServiceProcessor.ts b/src/models/ProcessorServiceProcessor.ts
new file mode 100755
index 0000000..877ccca
--- /dev/null
+++ b/src/models/ProcessorServiceProcessor.ts
@@ -0,0 +1,215 @@
+/**
+ * Sentio API
+ * Sentio Open API for query data
+ *
+ * OpenAPI spec version: 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 { ProcessorServiceChainState } from '../models/ProcessorServiceChainState.js';
+import { ProcessorServiceNetworkOverride } from '../models/ProcessorServiceNetworkOverride.js';
+import { ProcessorServiceProcessorVersionState } from '../models/ProcessorServiceProcessorVersionState.js';
+import { HttpFile } from '../http/http.js';
+
+/**
+* This represents a processor which backend works on.
+*/
+export class ProcessorServiceProcessor {
+ /**
+ * The unique processor id.
+ */
+ 'processorId'?: string;
+ /**
+ * The project this processor belongs to.
+ */
+ 'projectId'?: string;
+ /**
+ * The version of the code_url below.
+ */
+ 'version'?: number;
+ 'sdkVersion'?: string;
+ /**
+ * Call should be able to fetch the code to run from code_url.
+ */
+ 'codeUrl'?: string;
+ 'chainStates'?: Array;
+ /**
+ * If non empty, this is the contract associated with the processor.
+ */
+ 'contractId'?: string;
+ 'versionState'?: ProcessorServiceProcessorVersionState;
+ 'debug'?: boolean;
+ /**
+ * The timescale-db sharding index of this processor.
+ */
+ 'timescaleShardingIndex'?: number;
+ 'versionLabel'?: string;
+ 'ipfsHash'?: string;
+ 'debugFork'?: string;
+ /**
+ * The created timestamp of the processor.
+ */
+ 'createdAt'?: string;
+ /**
+ * The clickhouse sharding index of this processor.
+ */
+ 'clickhouseShardingIndex'?: number;
+ 'k8sClusterId'?: number;
+ 'enableMaterializedView'?: boolean;
+ 'referenceProjectId'?: string;
+ 'networkOverrides'?: Array;
+ 'eventlogMigrateStatus'?: number;
+ 'eventlogVersion'?: number;
+ 'pause'?: boolean;
+
+ static readonly discriminator: string | undefined = undefined;
+
+ static readonly mapping: {[index: string]: string} | undefined = undefined;
+
+ static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
+ {
+ "name": "processorId",
+ "baseName": "processorId",
+ "type": "string",
+ "format": ""
+ },
+ {
+ "name": "projectId",
+ "baseName": "projectId",
+ "type": "string",
+ "format": ""
+ },
+ {
+ "name": "version",
+ "baseName": "version",
+ "type": "number",
+ "format": "int32"
+ },
+ {
+ "name": "sdkVersion",
+ "baseName": "sdkVersion",
+ "type": "string",
+ "format": ""
+ },
+ {
+ "name": "codeUrl",
+ "baseName": "codeUrl",
+ "type": "string",
+ "format": ""
+ },
+ {
+ "name": "chainStates",
+ "baseName": "chainStates",
+ "type": "Array",
+ "format": ""
+ },
+ {
+ "name": "contractId",
+ "baseName": "contractId",
+ "type": "string",
+ "format": ""
+ },
+ {
+ "name": "versionState",
+ "baseName": "versionState",
+ "type": "ProcessorServiceProcessorVersionState",
+ "format": ""
+ },
+ {
+ "name": "debug",
+ "baseName": "debug",
+ "type": "boolean",
+ "format": ""
+ },
+ {
+ "name": "timescaleShardingIndex",
+ "baseName": "timescaleShardingIndex",
+ "type": "number",
+ "format": "int32"
+ },
+ {
+ "name": "versionLabel",
+ "baseName": "versionLabel",
+ "type": "string",
+ "format": ""
+ },
+ {
+ "name": "ipfsHash",
+ "baseName": "ipfsHash",
+ "type": "string",
+ "format": ""
+ },
+ {
+ "name": "debugFork",
+ "baseName": "debugFork",
+ "type": "string",
+ "format": ""
+ },
+ {
+ "name": "createdAt",
+ "baseName": "createdAt",
+ "type": "string",
+ "format": "int64"
+ },
+ {
+ "name": "clickhouseShardingIndex",
+ "baseName": "clickhouseShardingIndex",
+ "type": "number",
+ "format": "int32"
+ },
+ {
+ "name": "k8sClusterId",
+ "baseName": "k8sClusterId",
+ "type": "number",
+ "format": "int32"
+ },
+ {
+ "name": "enableMaterializedView",
+ "baseName": "enableMaterializedView",
+ "type": "boolean",
+ "format": ""
+ },
+ {
+ "name": "referenceProjectId",
+ "baseName": "referenceProjectId",
+ "type": "string",
+ "format": ""
+ },
+ {
+ "name": "networkOverrides",
+ "baseName": "networkOverrides",
+ "type": "Array",
+ "format": ""
+ },
+ {
+ "name": "eventlogMigrateStatus",
+ "baseName": "eventlogMigrateStatus",
+ "type": "number",
+ "format": "int32"
+ },
+ {
+ "name": "eventlogVersion",
+ "baseName": "eventlogVersion",
+ "type": "number",
+ "format": "int32"
+ },
+ {
+ "name": "pause",
+ "baseName": "pause",
+ "type": "boolean",
+ "format": ""
+ } ];
+
+ static getAttributeTypeMap() {
+ return ProcessorServiceProcessor.attributeTypeMap;
+ }
+
+ public constructor() {
+ }
+}
+
+
diff --git a/src/models/ProcessorServiceProcessorVersionState.ts b/src/models/ProcessorServiceProcessorVersionState.ts
new file mode 100755
index 0000000..bfa6fd6
--- /dev/null
+++ b/src/models/ProcessorServiceProcessorVersionState.ts
@@ -0,0 +1,20 @@
+/**
+ * Sentio API
+ * Sentio Open API for query data
+ *
+ * OpenAPI spec version: 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 { HttpFile } from '../http/http.js';
+
+export enum ProcessorServiceProcessorVersionState {
+ Unknown = 'UNKNOWN',
+ Pending = 'PENDING',
+ Active = 'ACTIVE',
+ Obsolete = 'OBSOLETE'
+}
diff --git a/src/models/all.ts b/src/models/all.ts
index 852c637..da7a512 100755
--- a/src/models/all.ts
+++ b/src/models/all.ts
@@ -50,6 +50,7 @@ export * from '../models/CommonColumnState.js'
export * from '../models/CommonColumnStateSort.js'
export * from '../models/CommonComputeStats.js'
export * from '../models/CommonDuration.js'
+export * from '../models/CommonErrorRecord.js'
export * from '../models/CommonEventLogColumn.js'
export * from '../models/CommonEventLogConfig.js'
export * from '../models/CommonEventLogEntry.js'
@@ -71,6 +72,8 @@ export * from '../models/CommonProjectInfo.js'
export * from '../models/CommonProjectProjectMember.js'
export * from '../models/CommonProjectSuperset.js'
export * from '../models/CommonProjectType.js'
+export * from '../models/CommonProjectVariables.js'
+export * from '../models/CommonProjectVariablesVariable.js'
export * from '../models/CommonProjectView.js'
export * from '../models/CommonProjectViewProjectViewConfig.js'
export * from '../models/CommonProjectVisibility.js'
@@ -149,6 +152,22 @@ export * from '../models/PriceServiceCoinID.js'
export * from '../models/PriceServiceCoinIDAddressIdentifier.js'
export * from '../models/PriceServiceGetPriceResponse.js'
export * from '../models/PriceServiceListCoinsResponse.js'
+export * from '../models/ProcessorServiceChainState.js'
+export * from '../models/ProcessorServiceChainStateStatus.js'
+export * from '../models/ProcessorServiceChainStateStatusState.js'
+export * from '../models/ProcessorServiceDownloadProcessorResponse.js'
+export * from '../models/ProcessorServiceGetProcessorResponse.js'
+export * from '../models/ProcessorServiceGetProcessorStatusResponse.js'
+export * from '../models/ProcessorServiceGetProcessorStatusResponseProcessorEx.js'
+export * from '../models/ProcessorServiceGetProcessorStatusResponseProcessorStatus.js'
+export * from '../models/ProcessorServiceGetProcessorStatusResponseProcessorStatusState.js'
+export * from '../models/ProcessorServiceGetProcessorWithProjectResponse.js'
+export * from '../models/ProcessorServiceGetProcessorsResponse.js'
+export * from '../models/ProcessorServiceGetProjectVersionsResponse.js'
+export * from '../models/ProcessorServiceGetProjectVersionsResponseVersion.js'
+export * from '../models/ProcessorServiceNetworkOverride.js'
+export * from '../models/ProcessorServiceProcessor.js'
+export * from '../models/ProcessorServiceProcessorVersionState.js'
export * from '../models/SolidityServiceBaseChainConfig.js'
export * from '../models/SolidityServiceBlockOverrides.js'
export * from '../models/SolidityServiceBlockPrice.js'
diff --git a/src/types/ObjectParamAPI.ts b/src/types/ObjectParamAPI.ts
index afc579e..0250986 100755
--- a/src/types/ObjectParamAPI.ts
+++ b/src/types/ObjectParamAPI.ts
@@ -53,6 +53,7 @@ import { CommonColumnState } from '../models/CommonColumnState.js';
import { CommonColumnStateSort } from '../models/CommonColumnStateSort.js';
import { CommonComputeStats } from '../models/CommonComputeStats.js';
import { CommonDuration } from '../models/CommonDuration.js';
+import { CommonErrorRecord } from '../models/CommonErrorRecord.js';
import { CommonEventLogColumn } from '../models/CommonEventLogColumn.js';
import { CommonEventLogConfig } from '../models/CommonEventLogConfig.js';
import { CommonEventLogEntry } from '../models/CommonEventLogEntry.js';
@@ -74,6 +75,8 @@ import { CommonProjectInfo } from '../models/CommonProjectInfo.js';
import { CommonProjectProjectMember } from '../models/CommonProjectProjectMember.js';
import { CommonProjectSuperset } from '../models/CommonProjectSuperset.js';
import { CommonProjectType } from '../models/CommonProjectType.js';
+import { CommonProjectVariables } from '../models/CommonProjectVariables.js';
+import { CommonProjectVariablesVariable } from '../models/CommonProjectVariablesVariable.js';
import { CommonProjectView } from '../models/CommonProjectView.js';
import { CommonProjectViewProjectViewConfig } from '../models/CommonProjectViewProjectViewConfig.js';
import { CommonProjectVisibility } from '../models/CommonProjectVisibility.js';
@@ -152,6 +155,22 @@ import { PriceServiceCoinID } from '../models/PriceServiceCoinID.js';
import { PriceServiceCoinIDAddressIdentifier } from '../models/PriceServiceCoinIDAddressIdentifier.js';
import { PriceServiceGetPriceResponse } from '../models/PriceServiceGetPriceResponse.js';
import { PriceServiceListCoinsResponse } from '../models/PriceServiceListCoinsResponse.js';
+import { ProcessorServiceChainState } from '../models/ProcessorServiceChainState.js';
+import { ProcessorServiceChainStateStatus } from '../models/ProcessorServiceChainStateStatus.js';
+import { ProcessorServiceChainStateStatusState } from '../models/ProcessorServiceChainStateStatusState.js';
+import { ProcessorServiceDownloadProcessorResponse } from '../models/ProcessorServiceDownloadProcessorResponse.js';
+import { ProcessorServiceGetProcessorResponse } from '../models/ProcessorServiceGetProcessorResponse.js';
+import { ProcessorServiceGetProcessorStatusResponse } from '../models/ProcessorServiceGetProcessorStatusResponse.js';
+import { ProcessorServiceGetProcessorStatusResponseProcessorEx } from '../models/ProcessorServiceGetProcessorStatusResponseProcessorEx.js';
+import { ProcessorServiceGetProcessorStatusResponseProcessorStatus } from '../models/ProcessorServiceGetProcessorStatusResponseProcessorStatus.js';
+import { ProcessorServiceGetProcessorStatusResponseProcessorStatusState } from '../models/ProcessorServiceGetProcessorStatusResponseProcessorStatusState.js';
+import { ProcessorServiceGetProcessorWithProjectResponse } from '../models/ProcessorServiceGetProcessorWithProjectResponse.js';
+import { ProcessorServiceGetProcessorsResponse } from '../models/ProcessorServiceGetProcessorsResponse.js';
+import { ProcessorServiceGetProjectVersionsResponse } from '../models/ProcessorServiceGetProjectVersionsResponse.js';
+import { ProcessorServiceGetProjectVersionsResponseVersion } from '../models/ProcessorServiceGetProjectVersionsResponseVersion.js';
+import { ProcessorServiceNetworkOverride } from '../models/ProcessorServiceNetworkOverride.js';
+import { ProcessorServiceProcessor } from '../models/ProcessorServiceProcessor.js';
+import { ProcessorServiceProcessorVersionState } from '../models/ProcessorServiceProcessorVersionState.js';
import { SolidityServiceBaseChainConfig } from '../models/SolidityServiceBaseChainConfig.js';
import { SolidityServiceBlockOverrides } from '../models/SolidityServiceBlockOverrides.js';
import { SolidityServiceBlockPrice } from '../models/SolidityServiceBlockPrice.js';
@@ -1748,6 +1767,77 @@ export class ObjectDebugAndSimulationApi {
}
+import { ObservableDefaultApi } from "./ObservableAPI.js";
+import { DefaultApiRequestFactory, DefaultApiResponseProcessor} from "../apis/DefaultApi.js";
+
+export interface DefaultApiGetProcessorStatusRequest {
+ /**
+ *
+ * Defaults to: undefined
+ * @type string
+ * @memberof DefaultApigetProcessorStatus
+ */
+ projectId?: string
+ /**
+ *
+ * Defaults to: undefined
+ * @type string
+ * @memberof DefaultApigetProcessorStatus
+ */
+ id?: string
+}
+
+export interface DefaultApiGetProjectVersionsRequest {
+ /**
+ *
+ * Defaults to: undefined
+ * @type string
+ * @memberof DefaultApigetProjectVersions
+ */
+ projectId: string
+}
+
+export class ObjectDefaultApi {
+ private api: ObservableDefaultApi
+
+ public constructor(configuration: Configuration, requestFactory?: DefaultApiRequestFactory, responseProcessor?: DefaultApiResponseProcessor) {
+ this.api = new ObservableDefaultApi(configuration, requestFactory, responseProcessor);
+ }
+
+ /**
+ * Get processor status
+ * @param param the request object
+ */
+ public getProcessorStatusWithHttpInfo(param: DefaultApiGetProcessorStatusRequest = {}, options?: Configuration): Promise> {
+ return this.api.getProcessorStatusWithHttpInfo(param.projectId, param.id, options).toPromise();
+ }
+
+ /**
+ * Get processor status
+ * @param param the request object
+ */
+ public getProcessorStatus(param: DefaultApiGetProcessorStatusRequest = {}, options?: Configuration): Promise {
+ return this.api.getProcessorStatus(param.projectId, param.id, options).toPromise();
+ }
+
+ /**
+ * Get Versions
+ * @param param the request object
+ */
+ public getProjectVersionsWithHttpInfo(param: DefaultApiGetProjectVersionsRequest, options?: Configuration): Promise> {
+ return this.api.getProjectVersionsWithHttpInfo(param.projectId, options).toPromise();
+ }
+
+ /**
+ * Get Versions
+ * @param param the request object
+ */
+ public getProjectVersions(param: DefaultApiGetProjectVersionsRequest, options?: Configuration): Promise {
+ return this.api.getProjectVersions(param.projectId, options).toPromise();
+ }
+
+}
+
import { ObservableForksApi } from "./ObservableAPI.js";
import { ForksApiRequestFactory, ForksApiResponseProcessor} from "../apis/ForksApi.js";
diff --git a/src/types/ObservableAPI.ts b/src/types/ObservableAPI.ts
index 596b924..067c26a 100755
--- a/src/types/ObservableAPI.ts
+++ b/src/types/ObservableAPI.ts
@@ -54,6 +54,7 @@ import { CommonColumnState } from '../models/CommonColumnState.js';
import { CommonColumnStateSort } from '../models/CommonColumnStateSort.js';
import { CommonComputeStats } from '../models/CommonComputeStats.js';
import { CommonDuration } from '../models/CommonDuration.js';
+import { CommonErrorRecord } from '../models/CommonErrorRecord.js';
import { CommonEventLogColumn } from '../models/CommonEventLogColumn.js';
import { CommonEventLogConfig } from '../models/CommonEventLogConfig.js';
import { CommonEventLogEntry } from '../models/CommonEventLogEntry.js';
@@ -75,6 +76,8 @@ import { CommonProjectInfo } from '../models/CommonProjectInfo.js';
import { CommonProjectProjectMember } from '../models/CommonProjectProjectMember.js';
import { CommonProjectSuperset } from '../models/CommonProjectSuperset.js';
import { CommonProjectType } from '../models/CommonProjectType.js';
+import { CommonProjectVariables } from '../models/CommonProjectVariables.js';
+import { CommonProjectVariablesVariable } from '../models/CommonProjectVariablesVariable.js';
import { CommonProjectView } from '../models/CommonProjectView.js';
import { CommonProjectViewProjectViewConfig } from '../models/CommonProjectViewProjectViewConfig.js';
import { CommonProjectVisibility } from '../models/CommonProjectVisibility.js';
@@ -153,6 +156,22 @@ import { PriceServiceCoinID } from '../models/PriceServiceCoinID.js';
import { PriceServiceCoinIDAddressIdentifier } from '../models/PriceServiceCoinIDAddressIdentifier.js';
import { PriceServiceGetPriceResponse } from '../models/PriceServiceGetPriceResponse.js';
import { PriceServiceListCoinsResponse } from '../models/PriceServiceListCoinsResponse.js';
+import { ProcessorServiceChainState } from '../models/ProcessorServiceChainState.js';
+import { ProcessorServiceChainStateStatus } from '../models/ProcessorServiceChainStateStatus.js';
+import { ProcessorServiceChainStateStatusState } from '../models/ProcessorServiceChainStateStatusState.js';
+import { ProcessorServiceDownloadProcessorResponse } from '../models/ProcessorServiceDownloadProcessorResponse.js';
+import { ProcessorServiceGetProcessorResponse } from '../models/ProcessorServiceGetProcessorResponse.js';
+import { ProcessorServiceGetProcessorStatusResponse } from '../models/ProcessorServiceGetProcessorStatusResponse.js';
+import { ProcessorServiceGetProcessorStatusResponseProcessorEx } from '../models/ProcessorServiceGetProcessorStatusResponseProcessorEx.js';
+import { ProcessorServiceGetProcessorStatusResponseProcessorStatus } from '../models/ProcessorServiceGetProcessorStatusResponseProcessorStatus.js';
+import { ProcessorServiceGetProcessorStatusResponseProcessorStatusState } from '../models/ProcessorServiceGetProcessorStatusResponseProcessorStatusState.js';
+import { ProcessorServiceGetProcessorWithProjectResponse } from '../models/ProcessorServiceGetProcessorWithProjectResponse.js';
+import { ProcessorServiceGetProcessorsResponse } from '../models/ProcessorServiceGetProcessorsResponse.js';
+import { ProcessorServiceGetProjectVersionsResponse } from '../models/ProcessorServiceGetProjectVersionsResponse.js';
+import { ProcessorServiceGetProjectVersionsResponseVersion } from '../models/ProcessorServiceGetProjectVersionsResponseVersion.js';
+import { ProcessorServiceNetworkOverride } from '../models/ProcessorServiceNetworkOverride.js';
+import { ProcessorServiceProcessor } from '../models/ProcessorServiceProcessor.js';
+import { ProcessorServiceProcessorVersionState } from '../models/ProcessorServiceProcessorVersionState.js';
import { SolidityServiceBaseChainConfig } from '../models/SolidityServiceBaseChainConfig.js';
import { SolidityServiceBlockOverrides } from '../models/SolidityServiceBlockOverrides.js';
import { SolidityServiceBlockPrice } from '../models/SolidityServiceBlockPrice.js';
@@ -1409,6 +1428,88 @@ export class ObservableDebugAndSimulationApi {
}
+import { DefaultApiRequestFactory, DefaultApiResponseProcessor} from "../apis/DefaultApi.js";
+export class ObservableDefaultApi {
+ private requestFactory: DefaultApiRequestFactory;
+ private responseProcessor: DefaultApiResponseProcessor;
+ private configuration: Configuration;
+
+ public constructor(
+ configuration: Configuration,
+ requestFactory?: DefaultApiRequestFactory,
+ responseProcessor?: DefaultApiResponseProcessor
+ ) {
+ this.configuration = configuration;
+ this.requestFactory = requestFactory || new DefaultApiRequestFactory(configuration);
+ this.responseProcessor = responseProcessor || new DefaultApiResponseProcessor();
+ }
+
+ /**
+ * Get processor status
+ * @param [projectId]
+ * @param [id]
+ */
+ public getProcessorStatusWithHttpInfo(projectId?: string, id?: string, _options?: Configuration): Observable> {
+ const requestContextPromise = this.requestFactory.getProcessorStatus(projectId, id, _options);
+
+ // build promise chain
+ let middlewarePreObservable = from(requestContextPromise);
+ for (const middleware of this.configuration.middleware) {
+ middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx)));
+ }
+
+ return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))).
+ pipe(mergeMap((response: ResponseContext) => {
+ let middlewarePostObservable = of(response);
+ for (const middleware of this.configuration.middleware) {
+ middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp)));
+ }
+ return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.getProcessorStatusWithHttpInfo(rsp)));
+ }));
+ }
+
+ /**
+ * Get processor status
+ * @param [projectId]
+ * @param [id]
+ */
+ public getProcessorStatus(projectId?: string, id?: string, _options?: Configuration): Observable {
+ return this.getProcessorStatusWithHttpInfo(projectId, id, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data));
+ }
+
+ /**
+ * Get Versions
+ * @param projectId
+ */
+ public getProjectVersionsWithHttpInfo(projectId: string, _options?: Configuration): Observable> {
+ const requestContextPromise = this.requestFactory.getProjectVersions(projectId, _options);
+
+ // build promise chain
+ let middlewarePreObservable = from(requestContextPromise);
+ for (const middleware of this.configuration.middleware) {
+ middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx)));
+ }
+
+ return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))).
+ pipe(mergeMap((response: ResponseContext) => {
+ let middlewarePostObservable = of(response);
+ for (const middleware of this.configuration.middleware) {
+ middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp)));
+ }
+ return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.getProjectVersionsWithHttpInfo(rsp)));
+ }));
+ }
+
+ /**
+ * Get Versions
+ * @param projectId
+ */
+ public getProjectVersions(projectId: string, _options?: Configuration): Observable {
+ return this.getProjectVersionsWithHttpInfo(projectId, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data));
+ }
+
+}
+
import { ForksApiRequestFactory, ForksApiResponseProcessor} from "../apis/ForksApi.js";
export class ObservableForksApi {
private requestFactory: ForksApiRequestFactory;
diff --git a/src/types/PromiseAPI.ts b/src/types/PromiseAPI.ts
index f5c412c..b519c77 100755
--- a/src/types/PromiseAPI.ts
+++ b/src/types/PromiseAPI.ts
@@ -53,6 +53,7 @@ import { CommonColumnState } from '../models/CommonColumnState.js';
import { CommonColumnStateSort } from '../models/CommonColumnStateSort.js';
import { CommonComputeStats } from '../models/CommonComputeStats.js';
import { CommonDuration } from '../models/CommonDuration.js';
+import { CommonErrorRecord } from '../models/CommonErrorRecord.js';
import { CommonEventLogColumn } from '../models/CommonEventLogColumn.js';
import { CommonEventLogConfig } from '../models/CommonEventLogConfig.js';
import { CommonEventLogEntry } from '../models/CommonEventLogEntry.js';
@@ -74,6 +75,8 @@ import { CommonProjectInfo } from '../models/CommonProjectInfo.js';
import { CommonProjectProjectMember } from '../models/CommonProjectProjectMember.js';
import { CommonProjectSuperset } from '../models/CommonProjectSuperset.js';
import { CommonProjectType } from '../models/CommonProjectType.js';
+import { CommonProjectVariables } from '../models/CommonProjectVariables.js';
+import { CommonProjectVariablesVariable } from '../models/CommonProjectVariablesVariable.js';
import { CommonProjectView } from '../models/CommonProjectView.js';
import { CommonProjectViewProjectViewConfig } from '../models/CommonProjectViewProjectViewConfig.js';
import { CommonProjectVisibility } from '../models/CommonProjectVisibility.js';
@@ -152,6 +155,22 @@ import { PriceServiceCoinID } from '../models/PriceServiceCoinID.js';
import { PriceServiceCoinIDAddressIdentifier } from '../models/PriceServiceCoinIDAddressIdentifier.js';
import { PriceServiceGetPriceResponse } from '../models/PriceServiceGetPriceResponse.js';
import { PriceServiceListCoinsResponse } from '../models/PriceServiceListCoinsResponse.js';
+import { ProcessorServiceChainState } from '../models/ProcessorServiceChainState.js';
+import { ProcessorServiceChainStateStatus } from '../models/ProcessorServiceChainStateStatus.js';
+import { ProcessorServiceChainStateStatusState } from '../models/ProcessorServiceChainStateStatusState.js';
+import { ProcessorServiceDownloadProcessorResponse } from '../models/ProcessorServiceDownloadProcessorResponse.js';
+import { ProcessorServiceGetProcessorResponse } from '../models/ProcessorServiceGetProcessorResponse.js';
+import { ProcessorServiceGetProcessorStatusResponse } from '../models/ProcessorServiceGetProcessorStatusResponse.js';
+import { ProcessorServiceGetProcessorStatusResponseProcessorEx } from '../models/ProcessorServiceGetProcessorStatusResponseProcessorEx.js';
+import { ProcessorServiceGetProcessorStatusResponseProcessorStatus } from '../models/ProcessorServiceGetProcessorStatusResponseProcessorStatus.js';
+import { ProcessorServiceGetProcessorStatusResponseProcessorStatusState } from '../models/ProcessorServiceGetProcessorStatusResponseProcessorStatusState.js';
+import { ProcessorServiceGetProcessorWithProjectResponse } from '../models/ProcessorServiceGetProcessorWithProjectResponse.js';
+import { ProcessorServiceGetProcessorsResponse } from '../models/ProcessorServiceGetProcessorsResponse.js';
+import { ProcessorServiceGetProjectVersionsResponse } from '../models/ProcessorServiceGetProjectVersionsResponse.js';
+import { ProcessorServiceGetProjectVersionsResponseVersion } from '../models/ProcessorServiceGetProjectVersionsResponseVersion.js';
+import { ProcessorServiceNetworkOverride } from '../models/ProcessorServiceNetworkOverride.js';
+import { ProcessorServiceProcessor } from '../models/ProcessorServiceProcessor.js';
+import { ProcessorServiceProcessorVersionState } from '../models/ProcessorServiceProcessorVersionState.js';
import { SolidityServiceBaseChainConfig } from '../models/SolidityServiceBaseChainConfig.js';
import { SolidityServiceBlockOverrides } from '../models/SolidityServiceBlockOverrides.js';
import { SolidityServiceBlockPrice } from '../models/SolidityServiceBlockPrice.js';
@@ -1046,6 +1065,63 @@ export class PromiseDebugAndSimulationApi {
+import { ObservableDefaultApi } from './ObservableAPI.js';
+
+import { DefaultApiRequestFactory, DefaultApiResponseProcessor} from "../apis/DefaultApi.js";
+export class PromiseDefaultApi {
+ private api: ObservableDefaultApi
+
+ public constructor(
+ configuration: Configuration,
+ requestFactory?: DefaultApiRequestFactory,
+ responseProcessor?: DefaultApiResponseProcessor
+ ) {
+ this.api = new ObservableDefaultApi(configuration, requestFactory, responseProcessor);
+ }
+
+ /**
+ * Get processor status
+ * @param [projectId]
+ * @param [id]
+ */
+ public getProcessorStatusWithHttpInfo(projectId?: string, id?: string, _options?: Configuration): Promise> {
+ const result = this.api.getProcessorStatusWithHttpInfo(projectId, id, _options);
+ return result.toPromise();
+ }
+
+ /**
+ * Get processor status
+ * @param [projectId]
+ * @param [id]
+ */
+ public getProcessorStatus(projectId?: string, id?: string, _options?: Configuration): Promise {
+ const result = this.api.getProcessorStatus(projectId, id, _options);
+ return result.toPromise();
+ }
+
+ /**
+ * Get Versions
+ * @param projectId
+ */
+ public getProjectVersionsWithHttpInfo(projectId: string, _options?: Configuration): Promise> {
+ const result = this.api.getProjectVersionsWithHttpInfo(projectId, _options);
+ return result.toPromise();
+ }
+
+ /**
+ * Get Versions
+ * @param projectId
+ */
+ public getProjectVersions(projectId: string, _options?: Configuration): Promise {
+ const result = this.api.getProjectVersions(projectId, _options);
+ return result.toPromise();
+ }
+
+
+}
+
+
+
import { ObservableForksApi } from './ObservableAPI.js';
import { ForksApiRequestFactory, ForksApiResponseProcessor} from "../apis/ForksApi.js";