sarga-cardano-wallet-js-dist/apis/proxy-api.d.ts
2023-08-08 01:20:23 +02:00

75 lines
2.9 KiB
TypeScript

/**
* Cardano Wallet Backend API
* <p align=\"right\"><img style=\"position: relative; top: -10em; margin-bottom: -12em;\" width=\"20%\" src=\"https://cardanodocs.com/img/cardano.png\"></img></p>
*
* OpenAPI spec version: 2021.3.4
*
*
* 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 { AxiosPromise, AxiosInstance } from 'axios';
import { Configuration } from '../configuration';
import { RequestArgs, BaseAPI } from '../base';
import { InlineResponse2022 } from '../models';
/**
* ProxyApi - axios parameter creator
* @export
*/
export declare const ProxyApiAxiosParamCreator: (configuration?: Configuration) => {
/**
* <p align=\"right\">status: <strong>stable</strong></p> Submits a transaction that was created and signed outside of cardano-wallet.
* @summary Submit External Transaction
* @param {Object} [body]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
postExternalTransaction: (body?: Object, options?: any) => Promise<RequestArgs>;
};
/**
* ProxyApi - functional programming interface
* @export
*/
export declare const ProxyApiFp: (configuration?: Configuration) => {
/**
* <p align=\"right\">status: <strong>stable</strong></p> Submits a transaction that was created and signed outside of cardano-wallet.
* @summary Submit External Transaction
* @param {Object} [body]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
postExternalTransaction(body?: Object, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse2022>>;
};
/**
* ProxyApi - factory interface
* @export
*/
export declare const ProxyApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
/**
* <p align=\"right\">status: <strong>stable</strong></p> Submits a transaction that was created and signed outside of cardano-wallet.
* @summary Submit External Transaction
* @param {Object} [body]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
postExternalTransaction(body?: Object, options?: any): AxiosPromise<InlineResponse2022>;
};
/**
* ProxyApi - object-oriented interface
* @export
* @class ProxyApi
* @extends {BaseAPI}
*/
export declare class ProxyApi extends BaseAPI {
/**
* <p align=\"right\">status: <strong>stable</strong></p> Submits a transaction that was created and signed outside of cardano-wallet.
* @summary Submit External Transaction
* @param {Object} [body]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof ProxyApi
*/
postExternalTransaction(body?: Object, options?: any): Promise<import("axios").AxiosResponse<InlineResponse2022>>;
}