@hubbleprotocol/carpool-typescript-client
Version:
OpenAPI TypeScript client for Carpool
589 lines (588 loc) • 38.1 kB
TypeScript
/**
* Carpool Query
* The Carpool Query API
*
* OpenAPI spec version: 1.0
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
import { AxiosResponse, AxiosInstance, AxiosRequestConfig } from 'axios';
import { Configuration } from '../configuration';
import { RequestArgs, BaseAPI } from '../base';
import { InstructionAggregateRequest } from '../models';
import { InstructionSearchRequest } from '../models';
/**
* InstructionsApi - axios parameter creator
* @export
*/
export declare const InstructionsApiAxiosParamCreator: (configuration?: Configuration) => {
/**
* See <a href=\"https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations.html\" target=\"_blank\">the Elasticsearch docs</a> for a list of aggregations. <a href=\"https://www.elastic.co/guide/en/elasticsearch/reference/current/query-filter-context.html#filter-context\" target=\"_blank\">Queries</a> and slots can be used to narrow aggregation range.
* @summary Perform aggregations of instructions of a program.
* @param {InstructionAggregateRequest} body
* @param {string} xApiKey
* @param {string} programId
* @param {string} instructionName
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
instructionsControllerAggregateInstructions: (body: InstructionAggregateRequest, xApiKey: string, programId: string, instructionName: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
/**
* See <a href=\"https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations.html\" target=\"_blank\">the Elasticsearch docs</a> for a list of aggregations. <a href=\"https://www.elastic.co/guide/en/elasticsearch/reference/current/query-filter-context.html#filter-context\" target=\"_blank\">Queries</a> and slots can be used to narrow aggregation range.
* @summary Perform aggregations of instructions of a program.
* @param {InstructionAggregateRequest} body
* @param {string} xApiKey
* @param {string} programId
* @param {string} instructionName
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
instructionsControllerAggregateInstructions_1: (body: InstructionAggregateRequest, xApiKey: string, programId: string, instructionName: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @summary List instructions of a program which involved a particular account.
* @param {string} xApiKey
* @param {string} programId
* @param {string} accountId
* @param {string} [instructionName] A specific instruction name to search though.
* @param {string} [accountName] A particular account field that the account ID should appear in (specified in IDL).
* @param {number} [size] Number of entries to return. Default is 10.
* @param {number} [from] Pagination starting point.
* @param {number} [start] A starting slot for the search (inclusive)
* @param {number} [end] An ending slot for the search (exclusive)
* @param {string} [sort] Slot sort order for results. Defaults to \"desc\".
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
instructionsControllerFindInstructionsWithAccount: (xApiKey: string, programId: string, accountId: string, instructionName?: string, accountName?: string, size?: number, from?: number, start?: number, end?: number, sort?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @summary List instructions of a program which involved a particular account.
* @param {string} xApiKey
* @param {string} programId
* @param {string} accountId
* @param {string} [instructionName] A specific instruction name to search though.
* @param {string} [accountName] A particular account field that the account ID should appear in (specified in IDL).
* @param {number} [size] Number of entries to return. Default is 10.
* @param {number} [from] Pagination starting point.
* @param {number} [start] A starting slot for the search (inclusive)
* @param {number} [end] An ending slot for the search (exclusive)
* @param {string} [sort] Slot sort order for results. Defaults to \"desc\".
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
instructionsControllerFindInstructionsWithAccount_2: (xApiKey: string, programId: string, accountId: string, instructionName?: string, accountName?: string, size?: number, from?: number, start?: number, end?: number, sort?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @summary List instructions of a program which took place in a particular transaction.
* @param {string} xApiKey
* @param {string} programId
* @param {string} txHash
* @param {string} [instructionName] A specific instruction name to search though.
* @param {number} [size] Number of entries to return. Default is 10.
* @param {number} [from] Pagination starting point.
* @param {string} [sort] Slot sort order for results. Defaults to \"desc\".
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
instructionsControllerGetInstructionsWithHash: (xApiKey: string, programId: string, txHash: string, instructionName?: string, size?: number, from?: number, sort?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @summary List instructions of a program which took place in a particular transaction.
* @param {string} xApiKey
* @param {string} programId
* @param {string} txHash
* @param {string} [instructionName] A specific instruction name to search though.
* @param {number} [size] Number of entries to return. Default is 10.
* @param {number} [from] Pagination starting point.
* @param {string} [sort] Slot sort order for results. Defaults to \"desc\".
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
instructionsControllerGetInstructionsWithHash_3: (xApiKey: string, programId: string, txHash: string, instructionName?: string, size?: number, from?: number, sort?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @summary List instructions of a program.
* @param {string} xApiKey
* @param {string} programId
* @param {string} [instructionName] A specific instruction name to search though.
* @param {number} [size] Number of entries to return. Default is 10.
* @param {number} [from] Pagination starting point.
* @param {number} [start] A starting slot for the search (inclusive)
* @param {number} [end] An ending slot for the search (exclusive)
* @param {string} [sort] Slot sort order for results. Defaults to \"desc\".
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
instructionsControllerListInstructions: (xApiKey: string, programId: string, instructionName?: string, size?: number, from?: number, start?: number, end?: number, sort?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @summary List instructions of a program.
* @param {string} xApiKey
* @param {string} programId
* @param {string} [instructionName] A specific instruction name to search though.
* @param {number} [size] Number of entries to return. Default is 10.
* @param {number} [from] Pagination starting point.
* @param {number} [start] A starting slot for the search (inclusive)
* @param {number} [end] An ending slot for the search (exclusive)
* @param {string} [sort] Slot sort order for results. Defaults to \"desc\".
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
instructionsControllerListInstructions_4: (xApiKey: string, programId: string, instructionName?: string, size?: number, from?: number, start?: number, end?: number, sort?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
/**
* See <a href=\"https://www.elastic.co/guide/en/elasticsearch/reference/current/query-filter-context.html#filter-context\" target=\"_blank\">the Elasticsearch docs</a> for a list of query types.
* @summary Search instructions of a program using Elasticsearch DSL.
* @param {InstructionSearchRequest} body
* @param {string} xApiKey
* @param {string} programId
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
instructionsControllerSearchInstructions: (body: InstructionSearchRequest, xApiKey: string, programId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
/**
* See <a href=\"https://www.elastic.co/guide/en/elasticsearch/reference/current/query-filter-context.html#filter-context\" target=\"_blank\">the Elasticsearch docs</a> for a list of query types.
* @summary Search instructions of a program using Elasticsearch DSL.
* @param {InstructionSearchRequest} body
* @param {string} xApiKey
* @param {string} programId
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
instructionsControllerSearchInstructions_5: (body: InstructionSearchRequest, xApiKey: string, programId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
};
/**
* InstructionsApi - functional programming interface
* @export
*/
export declare const InstructionsApiFp: (configuration?: Configuration) => {
/**
* See <a href=\"https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations.html\" target=\"_blank\">the Elasticsearch docs</a> for a list of aggregations. <a href=\"https://www.elastic.co/guide/en/elasticsearch/reference/current/query-filter-context.html#filter-context\" target=\"_blank\">Queries</a> and slots can be used to narrow aggregation range.
* @summary Perform aggregations of instructions of a program.
* @param {InstructionAggregateRequest} body
* @param {string} xApiKey
* @param {string} programId
* @param {string} instructionName
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
instructionsControllerAggregateInstructions(body: InstructionAggregateRequest, xApiKey: string, programId: string, instructionName: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<void>>>;
/**
* See <a href=\"https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations.html\" target=\"_blank\">the Elasticsearch docs</a> for a list of aggregations. <a href=\"https://www.elastic.co/guide/en/elasticsearch/reference/current/query-filter-context.html#filter-context\" target=\"_blank\">Queries</a> and slots can be used to narrow aggregation range.
* @summary Perform aggregations of instructions of a program.
* @param {InstructionAggregateRequest} body
* @param {string} xApiKey
* @param {string} programId
* @param {string} instructionName
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
instructionsControllerAggregateInstructions_1(body: InstructionAggregateRequest, xApiKey: string, programId: string, instructionName: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<void>>>;
/**
*
* @summary List instructions of a program which involved a particular account.
* @param {string} xApiKey
* @param {string} programId
* @param {string} accountId
* @param {string} [instructionName] A specific instruction name to search though.
* @param {string} [accountName] A particular account field that the account ID should appear in (specified in IDL).
* @param {number} [size] Number of entries to return. Default is 10.
* @param {number} [from] Pagination starting point.
* @param {number} [start] A starting slot for the search (inclusive)
* @param {number} [end] An ending slot for the search (exclusive)
* @param {string} [sort] Slot sort order for results. Defaults to \"desc\".
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
instructionsControllerFindInstructionsWithAccount(xApiKey: string, programId: string, accountId: string, instructionName?: string, accountName?: string, size?: number, from?: number, start?: number, end?: number, sort?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<void>>>;
/**
*
* @summary List instructions of a program which involved a particular account.
* @param {string} xApiKey
* @param {string} programId
* @param {string} accountId
* @param {string} [instructionName] A specific instruction name to search though.
* @param {string} [accountName] A particular account field that the account ID should appear in (specified in IDL).
* @param {number} [size] Number of entries to return. Default is 10.
* @param {number} [from] Pagination starting point.
* @param {number} [start] A starting slot for the search (inclusive)
* @param {number} [end] An ending slot for the search (exclusive)
* @param {string} [sort] Slot sort order for results. Defaults to \"desc\".
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
instructionsControllerFindInstructionsWithAccount_2(xApiKey: string, programId: string, accountId: string, instructionName?: string, accountName?: string, size?: number, from?: number, start?: number, end?: number, sort?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<void>>>;
/**
*
* @summary List instructions of a program which took place in a particular transaction.
* @param {string} xApiKey
* @param {string} programId
* @param {string} txHash
* @param {string} [instructionName] A specific instruction name to search though.
* @param {number} [size] Number of entries to return. Default is 10.
* @param {number} [from] Pagination starting point.
* @param {string} [sort] Slot sort order for results. Defaults to \"desc\".
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
instructionsControllerGetInstructionsWithHash(xApiKey: string, programId: string, txHash: string, instructionName?: string, size?: number, from?: number, sort?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<void>>>;
/**
*
* @summary List instructions of a program which took place in a particular transaction.
* @param {string} xApiKey
* @param {string} programId
* @param {string} txHash
* @param {string} [instructionName] A specific instruction name to search though.
* @param {number} [size] Number of entries to return. Default is 10.
* @param {number} [from] Pagination starting point.
* @param {string} [sort] Slot sort order for results. Defaults to \"desc\".
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
instructionsControllerGetInstructionsWithHash_3(xApiKey: string, programId: string, txHash: string, instructionName?: string, size?: number, from?: number, sort?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<void>>>;
/**
*
* @summary List instructions of a program.
* @param {string} xApiKey
* @param {string} programId
* @param {string} [instructionName] A specific instruction name to search though.
* @param {number} [size] Number of entries to return. Default is 10.
* @param {number} [from] Pagination starting point.
* @param {number} [start] A starting slot for the search (inclusive)
* @param {number} [end] An ending slot for the search (exclusive)
* @param {string} [sort] Slot sort order for results. Defaults to \"desc\".
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
instructionsControllerListInstructions(xApiKey: string, programId: string, instructionName?: string, size?: number, from?: number, start?: number, end?: number, sort?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<void>>>;
/**
*
* @summary List instructions of a program.
* @param {string} xApiKey
* @param {string} programId
* @param {string} [instructionName] A specific instruction name to search though.
* @param {number} [size] Number of entries to return. Default is 10.
* @param {number} [from] Pagination starting point.
* @param {number} [start] A starting slot for the search (inclusive)
* @param {number} [end] An ending slot for the search (exclusive)
* @param {string} [sort] Slot sort order for results. Defaults to \"desc\".
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
instructionsControllerListInstructions_4(xApiKey: string, programId: string, instructionName?: string, size?: number, from?: number, start?: number, end?: number, sort?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<void>>>;
/**
* See <a href=\"https://www.elastic.co/guide/en/elasticsearch/reference/current/query-filter-context.html#filter-context\" target=\"_blank\">the Elasticsearch docs</a> for a list of query types.
* @summary Search instructions of a program using Elasticsearch DSL.
* @param {InstructionSearchRequest} body
* @param {string} xApiKey
* @param {string} programId
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
instructionsControllerSearchInstructions(body: InstructionSearchRequest, xApiKey: string, programId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<void>>>;
/**
* See <a href=\"https://www.elastic.co/guide/en/elasticsearch/reference/current/query-filter-context.html#filter-context\" target=\"_blank\">the Elasticsearch docs</a> for a list of query types.
* @summary Search instructions of a program using Elasticsearch DSL.
* @param {InstructionSearchRequest} body
* @param {string} xApiKey
* @param {string} programId
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
instructionsControllerSearchInstructions_5(body: InstructionSearchRequest, xApiKey: string, programId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<void>>>;
};
/**
* InstructionsApi - factory interface
* @export
*/
export declare const InstructionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
/**
* See <a href=\"https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations.html\" target=\"_blank\">the Elasticsearch docs</a> for a list of aggregations. <a href=\"https://www.elastic.co/guide/en/elasticsearch/reference/current/query-filter-context.html#filter-context\" target=\"_blank\">Queries</a> and slots can be used to narrow aggregation range.
* @summary Perform aggregations of instructions of a program.
* @param {InstructionAggregateRequest} body
* @param {string} xApiKey
* @param {string} programId
* @param {string} instructionName
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
instructionsControllerAggregateInstructions(body: InstructionAggregateRequest, xApiKey: string, programId: string, instructionName: string, options?: AxiosRequestConfig): Promise<AxiosResponse<void>>;
/**
* See <a href=\"https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations.html\" target=\"_blank\">the Elasticsearch docs</a> for a list of aggregations. <a href=\"https://www.elastic.co/guide/en/elasticsearch/reference/current/query-filter-context.html#filter-context\" target=\"_blank\">Queries</a> and slots can be used to narrow aggregation range.
* @summary Perform aggregations of instructions of a program.
* @param {InstructionAggregateRequest} body
* @param {string} xApiKey
* @param {string} programId
* @param {string} instructionName
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
instructionsControllerAggregateInstructions_1(body: InstructionAggregateRequest, xApiKey: string, programId: string, instructionName: string, options?: AxiosRequestConfig): Promise<AxiosResponse<void>>;
/**
*
* @summary List instructions of a program which involved a particular account.
* @param {string} xApiKey
* @param {string} programId
* @param {string} accountId
* @param {string} [instructionName] A specific instruction name to search though.
* @param {string} [accountName] A particular account field that the account ID should appear in (specified in IDL).
* @param {number} [size] Number of entries to return. Default is 10.
* @param {number} [from] Pagination starting point.
* @param {number} [start] A starting slot for the search (inclusive)
* @param {number} [end] An ending slot for the search (exclusive)
* @param {string} [sort] Slot sort order for results. Defaults to \"desc\".
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
instructionsControllerFindInstructionsWithAccount(xApiKey: string, programId: string, accountId: string, instructionName?: string, accountName?: string, size?: number, from?: number, start?: number, end?: number, sort?: string, options?: AxiosRequestConfig): Promise<AxiosResponse<void>>;
/**
*
* @summary List instructions of a program which involved a particular account.
* @param {string} xApiKey
* @param {string} programId
* @param {string} accountId
* @param {string} [instructionName] A specific instruction name to search though.
* @param {string} [accountName] A particular account field that the account ID should appear in (specified in IDL).
* @param {number} [size] Number of entries to return. Default is 10.
* @param {number} [from] Pagination starting point.
* @param {number} [start] A starting slot for the search (inclusive)
* @param {number} [end] An ending slot for the search (exclusive)
* @param {string} [sort] Slot sort order for results. Defaults to \"desc\".
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
instructionsControllerFindInstructionsWithAccount_2(xApiKey: string, programId: string, accountId: string, instructionName?: string, accountName?: string, size?: number, from?: number, start?: number, end?: number, sort?: string, options?: AxiosRequestConfig): Promise<AxiosResponse<void>>;
/**
*
* @summary List instructions of a program which took place in a particular transaction.
* @param {string} xApiKey
* @param {string} programId
* @param {string} txHash
* @param {string} [instructionName] A specific instruction name to search though.
* @param {number} [size] Number of entries to return. Default is 10.
* @param {number} [from] Pagination starting point.
* @param {string} [sort] Slot sort order for results. Defaults to \"desc\".
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
instructionsControllerGetInstructionsWithHash(xApiKey: string, programId: string, txHash: string, instructionName?: string, size?: number, from?: number, sort?: string, options?: AxiosRequestConfig): Promise<AxiosResponse<void>>;
/**
*
* @summary List instructions of a program which took place in a particular transaction.
* @param {string} xApiKey
* @param {string} programId
* @param {string} txHash
* @param {string} [instructionName] A specific instruction name to search though.
* @param {number} [size] Number of entries to return. Default is 10.
* @param {number} [from] Pagination starting point.
* @param {string} [sort] Slot sort order for results. Defaults to \"desc\".
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
instructionsControllerGetInstructionsWithHash_3(xApiKey: string, programId: string, txHash: string, instructionName?: string, size?: number, from?: number, sort?: string, options?: AxiosRequestConfig): Promise<AxiosResponse<void>>;
/**
*
* @summary List instructions of a program.
* @param {string} xApiKey
* @param {string} programId
* @param {string} [instructionName] A specific instruction name to search though.
* @param {number} [size] Number of entries to return. Default is 10.
* @param {number} [from] Pagination starting point.
* @param {number} [start] A starting slot for the search (inclusive)
* @param {number} [end] An ending slot for the search (exclusive)
* @param {string} [sort] Slot sort order for results. Defaults to \"desc\".
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
instructionsControllerListInstructions(xApiKey: string, programId: string, instructionName?: string, size?: number, from?: number, start?: number, end?: number, sort?: string, options?: AxiosRequestConfig): Promise<AxiosResponse<void>>;
/**
*
* @summary List instructions of a program.
* @param {string} xApiKey
* @param {string} programId
* @param {string} [instructionName] A specific instruction name to search though.
* @param {number} [size] Number of entries to return. Default is 10.
* @param {number} [from] Pagination starting point.
* @param {number} [start] A starting slot for the search (inclusive)
* @param {number} [end] An ending slot for the search (exclusive)
* @param {string} [sort] Slot sort order for results. Defaults to \"desc\".
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
instructionsControllerListInstructions_4(xApiKey: string, programId: string, instructionName?: string, size?: number, from?: number, start?: number, end?: number, sort?: string, options?: AxiosRequestConfig): Promise<AxiosResponse<void>>;
/**
* See <a href=\"https://www.elastic.co/guide/en/elasticsearch/reference/current/query-filter-context.html#filter-context\" target=\"_blank\">the Elasticsearch docs</a> for a list of query types.
* @summary Search instructions of a program using Elasticsearch DSL.
* @param {InstructionSearchRequest} body
* @param {string} xApiKey
* @param {string} programId
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
instructionsControllerSearchInstructions(body: InstructionSearchRequest, xApiKey: string, programId: string, options?: AxiosRequestConfig): Promise<AxiosResponse<void>>;
/**
* See <a href=\"https://www.elastic.co/guide/en/elasticsearch/reference/current/query-filter-context.html#filter-context\" target=\"_blank\">the Elasticsearch docs</a> for a list of query types.
* @summary Search instructions of a program using Elasticsearch DSL.
* @param {InstructionSearchRequest} body
* @param {string} xApiKey
* @param {string} programId
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
instructionsControllerSearchInstructions_5(body: InstructionSearchRequest, xApiKey: string, programId: string, options?: AxiosRequestConfig): Promise<AxiosResponse<void>>;
};
/**
* InstructionsApi - object-oriented interface
* @export
* @class InstructionsApi
* @extends {BaseAPI}
*/
export declare class InstructionsApi extends BaseAPI {
/**
* See <a href=\"https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations.html\" target=\"_blank\">the Elasticsearch docs</a> for a list of aggregations. <a href=\"https://www.elastic.co/guide/en/elasticsearch/reference/current/query-filter-context.html#filter-context\" target=\"_blank\">Queries</a> and slots can be used to narrow aggregation range.
* @summary Perform aggregations of instructions of a program.
* @param {InstructionAggregateRequest} body
* @param {string} xApiKey
* @param {string} programId
* @param {string} instructionName
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof InstructionsApi
*/
instructionsControllerAggregateInstructionsDevnet(body: InstructionAggregateRequest, xApiKey: string, programId: string, instructionName: string, options?: AxiosRequestConfig): Promise<AxiosResponse<void>>;
/**
* See <a href=\"https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations.html\" target=\"_blank\">the Elasticsearch docs</a> for a list of aggregations. <a href=\"https://www.elastic.co/guide/en/elasticsearch/reference/current/query-filter-context.html#filter-context\" target=\"_blank\">Queries</a> and slots can be used to narrow aggregation range.
* @summary Perform aggregations of instructions of a program.
* @param {InstructionAggregateRequest} body
* @param {string} xApiKey
* @param {string} programId
* @param {string} instructionName
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof InstructionsApi
*/
instructionsControllerAggregateInstructionsMainnet(body: InstructionAggregateRequest, xApiKey: string, programId: string, instructionName: string, options?: AxiosRequestConfig): Promise<AxiosResponse<void>>;
/**
*
* @summary List instructions of a program which involved a particular account.
* @param {string} xApiKey
* @param {string} programId
* @param {string} accountId
* @param {string} [instructionName] A specific instruction name to search though.
* @param {string} [accountName] A particular account field that the account ID should appear in (specified in IDL).
* @param {number} [size] Number of entries to return. Default is 10.
* @param {number} [from] Pagination starting point.
* @param {number} [start] A starting slot for the search (inclusive)
* @param {number} [end] An ending slot for the search (exclusive)
* @param {string} [sort] Slot sort order for results. Defaults to \"desc\".
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof InstructionsApi
*/
instructionsControllerFindInstructionsWithAccountDevnet(xApiKey: string, programId: string, accountId: string, instructionName?: string, accountName?: string, size?: number, from?: number, start?: number, end?: number, sort?: string, options?: AxiosRequestConfig): Promise<AxiosResponse<void>>;
/**
*
* @summary List instructions of a program which involved a particular account.
* @param {string} xApiKey
* @param {string} programId
* @param {string} accountId
* @param {string} [instructionName] A specific instruction name to search though.
* @param {string} [accountName] A particular account field that the account ID should appear in (specified in IDL).
* @param {number} [size] Number of entries to return. Default is 10.
* @param {number} [from] Pagination starting point.
* @param {number} [start] A starting slot for the search (inclusive)
* @param {number} [end] An ending slot for the search (exclusive)
* @param {string} [sort] Slot sort order for results. Defaults to \"desc\".
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof InstructionsApi
*/
instructionsControllerFindInstructionsWithAccountMainnet(xApiKey: string, programId: string, accountId: string, instructionName?: string, accountName?: string, size?: number, from?: number, start?: number, end?: number, sort?: string, options?: AxiosRequestConfig): Promise<AxiosResponse<void>>;
/**
*
* @summary List instructions of a program which took place in a particular transaction.
* @param {string} xApiKey
* @param {string} programId
* @param {string} txHash
* @param {string} [instructionName] A specific instruction name to search though.
* @param {number} [size] Number of entries to return. Default is 10.
* @param {number} [from] Pagination starting point.
* @param {string} [sort] Slot sort order for results. Defaults to \"desc\".
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof InstructionsApi
*/
instructionsControllerGetInstructionsWithHashDevnet(xApiKey: string, programId: string, txHash: string, instructionName?: string, size?: number, from?: number, sort?: string, options?: AxiosRequestConfig): Promise<AxiosResponse<void>>;
/**
*
* @summary List instructions of a program which took place in a particular transaction.
* @param {string} xApiKey
* @param {string} programId
* @param {string} txHash
* @param {string} [instructionName] A specific instruction name to search though.
* @param {number} [size] Number of entries to return. Default is 10.
* @param {number} [from] Pagination starting point.
* @param {string} [sort] Slot sort order for results. Defaults to \"desc\".
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof InstructionsApi
*/
instructionsControllerGetInstructionsWithHashMainnet(xApiKey: string, programId: string, txHash: string, instructionName?: string, size?: number, from?: number, sort?: string, options?: AxiosRequestConfig): Promise<AxiosResponse<void>>;
/**
*
* @summary List instructions of a program.
* @param {string} xApiKey
* @param {string} programId
* @param {string} [instructionName] A specific instruction name to search though.
* @param {number} [size] Number of entries to return. Default is 10.
* @param {number} [from] Pagination starting point.
* @param {number} [start] A starting slot for the search (inclusive)
* @param {number} [end] An ending slot for the search (exclusive)
* @param {string} [sort] Slot sort order for results. Defaults to \"desc\".
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof InstructionsApi
*/
instructionsControllerListInstructionsDevnet(xApiKey: string, programId: string, instructionName?: string, size?: number, from?: number, start?: number, end?: number, sort?: string, options?: AxiosRequestConfig): Promise<AxiosResponse<void>>;
/**
*
* @summary List instructions of a program.
* @param {string} xApiKey
* @param {string} programId
* @param {string} [instructionName] A specific instruction name to search though.
* @param {number} [size] Number of entries to return. Default is 10.
* @param {number} [from] Pagination starting point.
* @param {number} [start] A starting slot for the search (inclusive)
* @param {number} [end] An ending slot for the search (exclusive)
* @param {string} [sort] Slot sort order for results. Defaults to \"desc\".
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof InstructionsApi
*/
instructionsControllerListInstructionsMainnet(xApiKey: string, programId: string, instructionName?: string, size?: number, from?: number, start?: number, end?: number, sort?: string, options?: AxiosRequestConfig): Promise<AxiosResponse<void>>;
/**
* See <a href=\"https://www.elastic.co/guide/en/elasticsearch/reference/current/query-filter-context.html#filter-context\" target=\"_blank\">the Elasticsearch docs</a> for a list of query types.
* @summary Search instructions of a program using Elasticsearch DSL.
* @param {InstructionSearchRequest} body
* @param {string} xApiKey
* @param {string} programId
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof InstructionsApi
*/
instructionsControllerSearchInstructionsDevnet(body: InstructionSearchRequest, xApiKey: string, programId: string, options?: AxiosRequestConfig): Promise<AxiosResponse<void>>;
/**
* See <a href=\"https://www.elastic.co/guide/en/elasticsearch/reference/current/query-filter-context.html#filter-context\" target=\"_blank\">the Elasticsearch docs</a> for a list of query types.
* @summary Search instructions of a program using Elasticsearch DSL.
* @param {InstructionSearchRequest} body
* @param {string} xApiKey
* @param {string} programId
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof InstructionsApi
*/
instructionsControllerSearchInstructionsMainnet(body: InstructionSearchRequest, xApiKey: string, programId: string, options?: AxiosRequestConfig): Promise<AxiosResponse<void>>;
}