/** * Section API * Get edgey with the Section API * * OpenAPI spec version: 1.0.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 { AxiosPromise, AxiosInstance } from 'axios'; import { Configuration } from '../configuration'; import { RequestArgs, BaseAPI } from '../base'; import { Account } from '../models'; import { AccountCreateRequest } from '../models'; import { AccountGraph } from '../models'; import { AccountUserUpdateParams } from '../models'; import { AccountUserUpdateResult } from '../models'; import { BillingHistory } from '../models'; import { BillingSummary } from '../models'; import { CreateAccountResponse } from '../models'; import { DomainList } from '../models'; /** * AccountApi - axios parameter creator * @export */ export declare const AccountApiAxiosParamCreator: (configuration?: Configuration) => { /** * Get basic billing information for account. * @param {number} accountId The account identifier number * @param {*} [options] Override http request option. * @throws {RequiredError} */ accountBillingGet: (accountId: number, options?: any) => Promise; /** * Get billing history * @param {number} accountId The account identifier number * @param {*} [options] Override http request option. * @throws {RequiredError} */ accountBillingHistoryGet: (accountId: number, options?: any) => Promise; /** * Create a new account and application for the current user * @param {AccountCreateRequest} body Account create * @param {*} [options] Override http request option. * @throws {RequiredError} */ accountCreate: (body: AccountCreateRequest, options?: any) => Promise; /** * Get list of account's domains. * @param {number} accountId The account identifier number * @param {boolean} [engaged] The flag to return engaged or disengaged domains. * @param {*} [options] Override http request option. * @throws {RequiredError} */ accountDomainList: (accountId: number, engaged?: boolean, options?: any) => Promise; /** * Get basic information about an account. * @param {number} accountId The account identifier number * @param {*} [options] Override http request option. * @throws {RequiredError} */ accountGet: (accountId: number, options?: any) => Promise; /** * Gets a graph of accounts/applications & environments * @param {*} [options] Override http request option. * @throws {RequiredError} */ accountGraph: (options?: any) => Promise; /** * Get the list of accounts. * @param {*} [options] Override http request option. * @throws {RequiredError} */ accountList: (options?: any) => Promise; /** * Update Account User for permissions changes * @param {AccountUserUpdateParams} body Updates the accountCapability for a specific user within a specific account * @param {number} accountId The account identifier number * @param {number} userId The user identifier number * @param {*} [options] Override http request option. * @throws {RequiredError} */ accountUserUpdate: (body: AccountUserUpdateParams, accountId: number, userId: number, options?: any) => Promise; }; /** * AccountApi - functional programming interface * @export */ export declare const AccountApiFp: (configuration?: Configuration) => { /** * Get basic billing information for account. * @param {number} accountId The account identifier number * @param {*} [options] Override http request option. * @throws {RequiredError} */ accountBillingGet(accountId: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Get billing history * @param {number} accountId The account identifier number * @param {*} [options] Override http request option. * @throws {RequiredError} */ accountBillingHistoryGet(accountId: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>>; /** * Create a new account and application for the current user * @param {AccountCreateRequest} body Account create * @param {*} [options] Override http request option. * @throws {RequiredError} */ accountCreate(body: AccountCreateRequest, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Get list of account's domains. * @param {number} accountId The account identifier number * @param {boolean} [engaged] The flag to return engaged or disengaged domains. * @param {*} [options] Override http request option. * @throws {RequiredError} */ accountDomainList(accountId: number, engaged?: boolean, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Get basic information about an account. * @param {number} accountId The account identifier number * @param {*} [options] Override http request option. * @throws {RequiredError} */ accountGet(accountId: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Gets a graph of accounts/applications & environments * @param {*} [options] Override http request option. * @throws {RequiredError} */ accountGraph(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>>; /** * Get the list of accounts. * @param {*} [options] Override http request option. * @throws {RequiredError} */ accountList(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>>; /** * Update Account User for permissions changes * @param {AccountUserUpdateParams} body Updates the accountCapability for a specific user within a specific account * @param {number} accountId The account identifier number * @param {number} userId The user identifier number * @param {*} [options] Override http request option. * @throws {RequiredError} */ accountUserUpdate(body: AccountUserUpdateParams, accountId: number, userId: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * AccountApi - factory interface * @export */ export declare const AccountApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Get basic billing information for account. * @param {number} accountId The account identifier number * @param {*} [options] Override http request option. * @throws {RequiredError} */ accountBillingGet(accountId: number, options?: any): AxiosPromise; /** * Get billing history * @param {number} accountId The account identifier number * @param {*} [options] Override http request option. * @throws {RequiredError} */ accountBillingHistoryGet(accountId: number, options?: any): AxiosPromise>; /** * Create a new account and application for the current user * @param {AccountCreateRequest} body Account create * @param {*} [options] Override http request option. * @throws {RequiredError} */ accountCreate(body: AccountCreateRequest, options?: any): AxiosPromise; /** * Get list of account's domains. * @param {number} accountId The account identifier number * @param {boolean} [engaged] The flag to return engaged or disengaged domains. * @param {*} [options] Override http request option. * @throws {RequiredError} */ accountDomainList(accountId: number, engaged?: boolean, options?: any): AxiosPromise; /** * Get basic information about an account. * @param {number} accountId The account identifier number * @param {*} [options] Override http request option. * @throws {RequiredError} */ accountGet(accountId: number, options?: any): AxiosPromise; /** * Gets a graph of accounts/applications & environments * @param {*} [options] Override http request option. * @throws {RequiredError} */ accountGraph(options?: any): AxiosPromise>; /** * Get the list of accounts. * @param {*} [options] Override http request option. * @throws {RequiredError} */ accountList(options?: any): AxiosPromise>; /** * Update Account User for permissions changes * @param {AccountUserUpdateParams} body Updates the accountCapability for a specific user within a specific account * @param {number} accountId The account identifier number * @param {number} userId The user identifier number * @param {*} [options] Override http request option. * @throws {RequiredError} */ accountUserUpdate(body: AccountUserUpdateParams, accountId: number, userId: number, options?: any): AxiosPromise; }; /** * AccountApi - object-oriented interface * @export * @class AccountApi * @extends {BaseAPI} */ export declare class AccountApi extends BaseAPI { /** * Get basic billing information for account. * @param {number} accountId The account identifier number * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi */ accountBillingGet(accountId: number, options?: any): Promise>; /** * Get billing history * @param {number} accountId The account identifier number * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi */ accountBillingHistoryGet(accountId: number, options?: any): Promise>; /** * Create a new account and application for the current user * @param {AccountCreateRequest} body Account create * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi */ accountCreate(body: AccountCreateRequest, options?: any): Promise>; /** * Get list of account's domains. * @param {number} accountId The account identifier number * @param {boolean} [engaged] The flag to return engaged or disengaged domains. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi */ accountDomainList(accountId: number, engaged?: boolean, options?: any): Promise>; /** * Get basic information about an account. * @param {number} accountId The account identifier number * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi */ accountGet(accountId: number, options?: any): Promise>; /** * Gets a graph of accounts/applications & environments * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi */ accountGraph(options?: any): Promise>; /** * Get the list of accounts. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi */ accountList(options?: any): Promise>; /** * Update Account User for permissions changes * @param {AccountUserUpdateParams} body Updates the accountCapability for a specific user within a specific account * @param {number} accountId The account identifier number * @param {number} userId The user identifier number * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi */ accountUserUpdate(body: AccountUserUpdateParams, accountId: number, userId: number, options?: any): Promise>; }