From ee277296523f3e334e532af42cbfe8d8b4c4b36f Mon Sep 17 00:00:00 2001 From: Sentio Bot Date: Thu, 7 Nov 2024 05:53:29 +0000 Subject: [PATCH] chore: update --- doc/index.html | 509 ++--------------------------------------- openapi.json | 40 +--- src/apis/DefaultApi.ts | 87 ------- src/apis/ForksApi.ts | 12 + src/apis/index.ts | 1 - 5 files changed, 42 insertions(+), 607 deletions(-) delete mode 100755 src/apis/DefaultApi.ts diff --git a/doc/index.html b/doc/index.html index 7982ef5..6103ef6 100755 --- a/doc/index.html +++ b/doc/index.html @@ -5071,10 +5071,6 @@
  • simulateTransactionBundle2
  • - -
  • - getForkState -
  • createFork @@ -19812,488 +19808,13 @@


    -
    -

    Default

    -
    -
    -
    -

    getForkState

    -

    option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { - };

    -
    -
    -
    -

    -

    -

    -
    -
    /api/v1/solidity/{projectOwner}/{projectSlug}/fork/{id}/state
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET \
    --H "api-key: [[apiKey]]" \
    - -H "Accept: application/json" \
    - "https://app.sentio.xyz/api/v1/solidity/{projectOwner}/{projectSlug}/fork/{id}/state"
    -
    -
    -
    -
    import org.openapitools.client.*;
    -import org.openapitools.client.auth.*;
    -import org.openapitools.client.model.*;
    -import org.openapitools.client.api.DefaultApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class DefaultApiExample {
    -    public static void main(String[] args) {
    -        ApiClient defaultClient = Configuration.getDefaultApiClient();
    -
    -        // Configure API key authorization: ApiKeyAuth
    -        ApiKeyAuth ApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth");
    -        ApiKeyAuth.setApiKey("YOUR API KEY");
    -        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
    -        //ApiKeyAuth.setApiKeyPrefix("Token");
    -
    -        // Create an instance of the API class
    -        DefaultApi apiInstance = new DefaultApi();
    -        String projectOwner = projectOwner_example; // String | 
    -        String projectSlug = projectSlug_example; // String | 
    -        String id = id_example; // String | 
    -
    -        try {
    -            google.api.HttpBody result = apiInstance.getForkState(projectOwner, projectSlug, id);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling DefaultApi#getForkState");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    -
    - -
    -
    import 'package:openapi/api.dart';
    -
    -final api_instance = DefaultApi();
    -
    -final String projectOwner = new String(); // String | 
    -final String projectSlug = new String(); // String | 
    -final String id = new String(); // String | 
    -
    -try {
    -    final result = await api_instance.getForkState(projectOwner, projectSlug, id);
    -    print(result);
    -} catch (e) {
    -    print('Exception when calling DefaultApi->getForkState: $e\n');
    -}
    -
    -
    -
    - -
    -
    import org.openapitools.client.api.DefaultApi;
    -
    -public class DefaultApiExample {
    -    public static void main(String[] args) {
    -        DefaultApi apiInstance = new DefaultApi();
    -        String projectOwner = projectOwner_example; // String | 
    -        String projectSlug = projectSlug_example; // String | 
    -        String id = id_example; // String | 
    -
    -        try {
    -            google.api.HttpBody result = apiInstance.getForkState(projectOwner, projectSlug, id);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling DefaultApi#getForkState");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Configuration *apiConfig = [Configuration sharedConfig];
    -
    -// Configure API key authorization: (authentication scheme: ApiKeyAuth)
    -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"api-key"];
    -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"api-key"];
    -
    -
    -// Create an instance of the API class
    -DefaultApi *apiInstance = [[DefaultApi alloc] init];
    -String *projectOwner = projectOwner_example; //  (default to null)
    -String *projectSlug = projectSlug_example; //  (default to null)
    -String *id = id_example; //  (default to null)
    -
    -// option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
    -    };
    -[apiInstance getForkStateWith:projectOwner
    -    projectSlug:projectSlug
    -    id:id
    -              completionHandler: ^(google.api.HttpBody output, NSError* error) {
    -    if (output) {
    -        NSLog(@"%@", output);
    -    }
    -    if (error) {
    -        NSLog(@"Error: %@", error);
    -    }
    -}];
    -
    -
    - -
    -
    var SentioApi = require('sentio_api');
    -var defaultClient = SentioApi.ApiClient.instance;
    -
    -// Configure API key authorization: ApiKeyAuth
    -var ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
    -ApiKeyAuth.apiKey = "YOUR API KEY";
    -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
    -//ApiKeyAuth.apiKeyPrefix['api-key'] = "Token";
    -
    -// Create an instance of the API class
    -var api = new SentioApi.DefaultApi()
    -var projectOwner = projectOwner_example; // {String} 
    -var projectSlug = projectSlug_example; // {String} 
    -var id = id_example; // {String} 
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getForkState(projectOwner, projectSlug, id, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using Org.OpenAPITools.Api;
    -using Org.OpenAPITools.Client;
    -using Org.OpenAPITools.Model;
    -
    -namespace Example
    -{
    -    public class getForkStateExample
    -    {
    -        public void main()
    -        {
    -            // Configure API key authorization: ApiKeyAuth
    -            Configuration.Default.ApiKey.Add("api-key", "YOUR_API_KEY");
    -            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    -            // Configuration.Default.ApiKeyPrefix.Add("api-key", "Bearer");
    -
    -            // Create an instance of the API class
    -            var apiInstance = new DefaultApi();
    -            var projectOwner = projectOwner_example;  // String |  (default to null)
    -            var projectSlug = projectSlug_example;  // String |  (default to null)
    -            var id = id_example;  // String |  (default to null)
    -
    -            try {
    -                // option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
    -    };
    -                google.api.HttpBody result = apiInstance.getForkState(projectOwner, projectSlug, id);
    -                Debug.WriteLine(result);
    -            } catch (Exception e) {
    -                Debug.Print("Exception when calling DefaultApi.getForkState: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -// Configure API key authorization: ApiKeyAuth
    -OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY');
    -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    -// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer');
    -
    -// Create an instance of the API class
    -$api_instance = new OpenAPITools\Client\Api\DefaultApi();
    -$projectOwner = projectOwner_example; // String | 
    -$projectSlug = projectSlug_example; // String | 
    -$id = id_example; // String | 
    -
    -try {
    -    $result = $api_instance->getForkState($projectOwner, $projectSlug, $id);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling DefaultApi->getForkState: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::OPenAPIClient::Configuration;
    -use WWW::OPenAPIClient::DefaultApi;
    -
    -# Configure API key authorization: ApiKeyAuth
    -$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";
    -
    -# Create an instance of the API class
    -my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
    -my $projectOwner = projectOwner_example; # String | 
    -my $projectSlug = projectSlug_example; # String | 
    -my $id = id_example; # String | 
    -
    -eval {
    -    my $result = $api_instance->getForkState(projectOwner => $projectOwner, projectSlug => $projectSlug, id => $id);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling DefaultApi->getForkState: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import openapi_client
    -from openapi_client.rest import ApiException
    -from pprint import pprint
    -
    -# Configure API key authorization: ApiKeyAuth
    -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.DefaultApi()
    -projectOwner = projectOwner_example # String |  (default to null)
    -projectSlug = projectSlug_example # String |  (default to null)
    -id = id_example # String |  (default to null)
    -
    -try:
    -    # option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
    -    };
    -    api_response = api_instance.get_fork_state(projectOwner, projectSlug, id)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling DefaultApi->getForkState: %s\n" % e)
    -
    - -
    -
    extern crate DefaultApi;
    -
    -pub fn main() {
    -    let projectOwner = projectOwner_example; // String
    -    let projectSlug = projectSlug_example; // String
    -    let id = id_example; // String
    -
    -    let mut context = DefaultApi::Context::default();
    -    let result = client.getForkState(projectOwner, projectSlug, id, &context).wait();
    -
    -    println!("{:?}", result);
    -}
    -
    -
    -
    - -

    Scopes

    - - -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - - - - - - - -
    NameDescription
    projectOwner* - - -
    -
    -
    - - String - - -
    -
    - Required -
    -
    -
    -
    projectSlug* - - -
    -
    -
    - - String - - -
    -
    - Required -
    -
    -
    -
    id* - - -
    -
    -
    - - String - - -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    -

    - - - - - - -
    -
    -
    - -
    - -
    -
    -
    -
    -
    -

    Forks

    createFork

    -

    +

    Create a fork

    @@ -20426,6 +19947,7 @@

    Usage and SDK Samples

    String *projectSlug = projectSlug_example; // (default to null) SolidityServiceForkServiceCreateForkBody *body = ; // +// Create a fork [apiInstance createForkWith:projectOwner projectSlug:projectSlug body:body @@ -20495,6 +20017,7 @@

    Usage and SDK Samples

    var body = new SolidityServiceForkServiceCreateForkBody(); // SolidityServiceForkServiceCreateForkBody | try { + // Create a fork solidity_service.CreateForkResponse result = apiInstance.createFork(projectOwner, projectSlug, body); Debug.WriteLine(result); } catch (Exception e) { @@ -20574,6 +20097,7 @@

    Usage and SDK Samples

    body = # SolidityServiceForkServiceCreateForkBody | try: + # Create a fork api_response = api_instance.create_fork(projectOwner, projectSlug, body) pprint(api_response) except ApiException as e: @@ -20788,7 +20312,7 @@

    deleteFork

    -

    +

    Delete a fork by id

    @@ -20919,6 +20443,7 @@

    Usage and SDK Samples

    String *projectSlug = projectSlug_example; // (default to null) String *id = id_example; // (default to null) +// Delete a fork by id [apiInstance deleteForkWith:projectOwner projectSlug:projectSlug id:id @@ -20988,6 +20513,7 @@

    Usage and SDK Samples

    var id = id_example; // String | (default to null) try { + // Delete a fork by id Object result = apiInstance.deleteFork(projectOwner, projectSlug, id); Debug.WriteLine(result); } catch (Exception e) { @@ -21067,6 +20593,7 @@

    Usage and SDK Samples

    id = id_example # String | (default to null) try: + # Delete a fork by id api_response = api_instance.delete_fork(projectOwner, projectSlug, id) pprint(api_response) except ApiException as e: @@ -21253,7 +20780,7 @@

    getFork

    -

    +

    Get a fork by id

    @@ -21384,6 +20911,7 @@

    Usage and SDK Samples

    String *projectSlug = projectSlug_example; // (default to null) String *id = id_example; // (default to null) +// Get a fork by id [apiInstance getForkWith:projectOwner projectSlug:projectSlug id:id @@ -21453,6 +20981,7 @@

    Usage and SDK Samples

    var id = id_example; // String | (default to null) try { + // Get a fork by id solidity_service.GetForkResponse result = apiInstance.getFork(projectOwner, projectSlug, id); Debug.WriteLine(result); } catch (Exception e) { @@ -21532,6 +21061,7 @@

    Usage and SDK Samples

    id = id_example # String | (default to null) try: + # Get a fork by id api_response = api_instance.get_fork(projectOwner, projectSlug, id) pprint(api_response) except ApiException as e: @@ -21718,7 +21248,7 @@

    getForkInfo

    -

    +

    Get fork info by id

    @@ -21849,6 +21379,7 @@

    Usage and SDK Samples

    String *projectSlug = projectSlug_example; // (default to null) String *id = id_example; // (default to null) +// Get fork info by id [apiInstance getForkInfoWith:projectOwner projectSlug:projectSlug id:id @@ -21918,6 +21449,7 @@

    Usage and SDK Samples

    var id = id_example; // String | (default to null) try { + // Get fork info by id solidity_service.GetForkInfoResponse result = apiInstance.getForkInfo(projectOwner, projectSlug, id); Debug.WriteLine(result); } catch (Exception e) { @@ -21997,6 +21529,7 @@

    Usage and SDK Samples

    id = id_example # String | (default to null) try: + # Get fork info by id api_response = api_instance.get_fork_info(projectOwner, projectSlug, id) pprint(api_response) except ApiException as e: @@ -22183,7 +21716,7 @@

    listForks

    -

    +

    List all forks by project

    @@ -22310,6 +21843,7 @@

    Usage and SDK Samples

    String *projectOwner = projectOwner_example; // (default to null) String *projectSlug = projectSlug_example; // (default to null) +// List all forks by project [apiInstance listForksWith:projectOwner projectSlug:projectSlug completionHandler: ^(solidity_service.ListForksResponse output, NSError* error) { @@ -22376,6 +21910,7 @@

    Usage and SDK Samples

    var projectSlug = projectSlug_example; // String | (default to null) try { + // List all forks by project solidity_service.ListForksResponse result = apiInstance.listForks(projectOwner, projectSlug); Debug.WriteLine(result); } catch (Exception e) { @@ -22452,6 +21987,7 @@

    Usage and SDK Samples

    projectSlug = projectSlug_example # String | (default to null) try: + # List all forks by project api_response = api_instance.list_forks(projectOwner, projectSlug) pprint(api_response) except ApiException as e: @@ -22617,7 +22153,7 @@

    updateFork

    -

    +

    Update a fork by id

    @@ -22754,6 +22290,7 @@

    Usage and SDK Samples

    String *id = id_example; // (default to null) SolidityServiceForkServiceUpdateForkBody *body = ; // +// Update a fork by id [apiInstance updateForkWith:projectOwner projectSlug:projectSlug id:id @@ -22826,6 +22363,7 @@

    Usage and SDK Samples

    var body = new SolidityServiceForkServiceUpdateForkBody(); // SolidityServiceForkServiceUpdateForkBody | try { + // Update a fork by id solidity_service.UpdateForkResponse result = apiInstance.updateFork(projectOwner, projectSlug, id, body); Debug.WriteLine(result); } catch (Exception e) { @@ -22908,6 +22446,7 @@

    Usage and SDK Samples

    body = # SolidityServiceForkServiceUpdateForkBody | try: + # Update a fork by id api_response = api_instance.update_fork(projectOwner, projectSlug, id, body) pprint(api_response) except ApiException as e: diff --git a/openapi.json b/openapi.json index 383b3e5..2cf5a01 100644 --- a/openapi.json +++ b/openapi.json @@ -1096,6 +1096,7 @@ }, "/api/v1/solidity/{projectOwner}/{projectSlug}/fork": { "get": { + "summary": "List all forks by project", "operationId": "ListForks", "responses": { "200": { @@ -1124,6 +1125,7 @@ ] }, "post": { + "summary": "Create a fork", "operationId": "CreateFork", "responses": { "200": { @@ -1506,6 +1508,7 @@ }, "/api/v1/solidity/{projectOwner}/{projectSlug}/fork/{id}": { "get": { + "summary": "Get a fork by id", "operationId": "GetFork", "responses": { "200": { @@ -1540,6 +1543,7 @@ ] }, "delete": { + "summary": "Delete a fork by id", "operationId": "DeleteFork", "responses": { "200": { @@ -1575,6 +1579,7 @@ ] }, "put": { + "summary": "Update a fork by id", "operationId": "UpdateFork", "responses": { "200": { @@ -1619,6 +1624,7 @@ }, "/api/v1/solidity/{projectOwner}/{projectSlug}/fork/{id}/info": { "get": { + "summary": "Get fork info by id", "operationId": "GetForkInfo", "responses": { "200": { @@ -1653,40 +1659,6 @@ ] } }, - "/api/v1/solidity/{projectOwner}/{projectSlug}/fork/{id}/state": { - "get": { - "summary": "option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {\n };", - "operationId": "GetForkState", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/google.api.HttpBody" - } - } - }, - "parameters": [ - { - "name": "projectOwner", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "projectSlug", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id", - "in": "path", - "required": true, - "type": "string" - } - ] - } - }, "/api/v1/solidity/{projectOwner}/{projectSlug}/search_transactions": { "get": { "summary": "Search for transactions", diff --git a/src/apis/DefaultApi.ts b/src/apis/DefaultApi.ts deleted file mode 100755 index 21f1182..0000000 --- a/src/apis/DefaultApi.ts +++ /dev/null @@ -1,87 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Sentio API - * Sentio Open API for query data - * - * The version of the OpenAPI document: version not set - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -import * as runtime from '../runtime.js'; -import type { - GoogleApiHttpBody, -} from '../models/index.js'; -import { - GoogleApiHttpBodyFromJSON, - GoogleApiHttpBodyToJSON, -} from '../models/index.js'; - -export interface GetForkStateRequest { - projectOwner: string; - projectSlug: string; - id: string; -} - -/** - * - */ -export class DefaultApi extends runtime.BaseAPI { - - /** - * option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { }; - */ - async getForkStateRaw(requestParameters: GetForkStateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { - if (requestParameters['projectOwner'] == null) { - throw new runtime.RequiredError( - 'projectOwner', - 'Required parameter "projectOwner" was null or undefined when calling getForkState().' - ); - } - - if (requestParameters['projectSlug'] == null) { - throw new runtime.RequiredError( - 'projectSlug', - 'Required parameter "projectSlug" was null or undefined when calling getForkState().' - ); - } - - if (requestParameters['id'] == null) { - throw new runtime.RequiredError( - 'id', - 'Required parameter "id" was null or undefined when calling getForkState().' - ); - } - - const queryParameters: any = {}; - - const headerParameters: runtime.HTTPHeaders = {}; - - if (this.configuration && this.configuration.apiKey) { - headerParameters["api-key"] = await this.configuration.apiKey("api-key"); // ApiKeyAuth authentication - } - - const response = await this.request({ - path: `/api/v1/solidity/{projectOwner}/{projectSlug}/fork/{id}/state`.replace(`{${"projectOwner"}}`, encodeURIComponent(String(requestParameters['projectOwner']))).replace(`{${"projectSlug"}}`, encodeURIComponent(String(requestParameters['projectSlug']))).replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))), - method: 'GET', - headers: headerParameters, - query: queryParameters, - }, initOverrides); - - return new runtime.JSONApiResponse(response, (jsonValue) => GoogleApiHttpBodyFromJSON(jsonValue)); - } - - /** - * option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { }; - */ - async getForkState(requestParameters: GetForkStateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { - const response = await this.getForkStateRaw(requestParameters, initOverrides); - return await response.value(); - } - -} diff --git a/src/apis/ForksApi.ts b/src/apis/ForksApi.ts index 4a429d3..04c1ea1 100755 --- a/src/apis/ForksApi.ts +++ b/src/apis/ForksApi.ts @@ -82,6 +82,7 @@ export interface UpdateForkRequest { export class ForksApi extends runtime.BaseAPI { /** + * Create a fork */ async createForkRaw(requestParameters: CreateForkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { if (requestParameters['projectOwner'] == null) { @@ -127,6 +128,7 @@ export class ForksApi extends runtime.BaseAPI { } /** + * Create a fork */ async createFork(requestParameters: CreateForkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { const response = await this.createForkRaw(requestParameters, initOverrides); @@ -134,6 +136,7 @@ export class ForksApi extends runtime.BaseAPI { } /** + * Delete a fork by id */ async deleteForkRaw(requestParameters: DeleteForkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { if (requestParameters['projectOwner'] == null) { @@ -176,6 +179,7 @@ export class ForksApi extends runtime.BaseAPI { } /** + * Delete a fork by id */ async deleteFork(requestParameters: DeleteForkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { const response = await this.deleteForkRaw(requestParameters, initOverrides); @@ -183,6 +187,7 @@ export class ForksApi extends runtime.BaseAPI { } /** + * Get a fork by id */ async getForkRaw(requestParameters: GetForkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { if (requestParameters['projectOwner'] == null) { @@ -225,6 +230,7 @@ export class ForksApi extends runtime.BaseAPI { } /** + * Get a fork by id */ async getFork(requestParameters: GetForkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { const response = await this.getForkRaw(requestParameters, initOverrides); @@ -232,6 +238,7 @@ export class ForksApi extends runtime.BaseAPI { } /** + * Get fork info by id */ async getForkInfoRaw(requestParameters: GetForkInfoRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { if (requestParameters['projectOwner'] == null) { @@ -274,6 +281,7 @@ export class ForksApi extends runtime.BaseAPI { } /** + * Get fork info by id */ async getForkInfo(requestParameters: GetForkInfoRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { const response = await this.getForkInfoRaw(requestParameters, initOverrides); @@ -281,6 +289,7 @@ export class ForksApi extends runtime.BaseAPI { } /** + * List all forks by project */ async listForksRaw(requestParameters: ListForksRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { if (requestParameters['projectOwner'] == null) { @@ -316,6 +325,7 @@ export class ForksApi extends runtime.BaseAPI { } /** + * List all forks by project */ async listForks(requestParameters: ListForksRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { const response = await this.listForksRaw(requestParameters, initOverrides); @@ -323,6 +333,7 @@ export class ForksApi extends runtime.BaseAPI { } /** + * Update a fork by id */ async updateForkRaw(requestParameters: UpdateForkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { if (requestParameters['projectOwner'] == null) { @@ -375,6 +386,7 @@ export class ForksApi extends runtime.BaseAPI { } /** + * Update a fork by id */ async updateFork(requestParameters: UpdateForkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { const response = await this.updateForkRaw(requestParameters, initOverrides); diff --git a/src/apis/index.ts b/src/apis/index.ts index b586846..dcf5166 100755 --- a/src/apis/index.ts +++ b/src/apis/index.ts @@ -2,7 +2,6 @@ /* eslint-disable */ export * from './DataApi.js'; export * from './DebugAndSimulationApi.js'; -export * from './DefaultApi.js'; export * from './ForksApi.js'; export * from './PriceApi.js'; export * from './WebApi.js';