/**
* Finix API
*/
///
import * as http from 'http';
import { CreateFeeProfileRequest } from '../model/createFeeProfileRequest';
import { FeeProfile } from '../model/feeProfile';
import { ListFeeProfilesQueryParams } from '../model/listFeeProfilesQueryParams';
import { Authentication, Interceptor, finixList } from '../model/models';
import { HttpBasicAuth } from '../model/models';
export declare enum FeeProfilesApiApiKeys {
}
export declare class FeeProfilesApi {
protected _basePath: string;
protected _defaultHeaders: any;
protected _useQuerystring: boolean;
protected authentications: {
default: Authentication;
BasicAuth: HttpBasicAuth;
};
protected interceptors: Interceptor[];
constructor(basePath?: string);
constructor(username: string, password: string, basePath?: string);
set useQuerystring(value: boolean);
set basePath(basePath: string);
set defaultHeaders(defaultHeaders: any);
get defaultHeaders(): any;
get basePath(): string;
setDefaultAuthentication(auth: Authentication): void;
setApiKey(key: FeeProfilesApiApiKeys, value: string): void;
set username(username: string);
set password(password: string);
addInterceptor(interceptor: Interceptor): void;
/**
* Helper function.
* Create a `fee_profile`.
* @summary Create a Fee Profile
* @param createFeeProfileRequest
*/
private createHelper;
/**
* Create a `fee_profile`.
* @summary Create a Fee Profile
* @param createFeeProfileRequest
*/
create(createFeeProfileRequest?: CreateFeeProfileRequest, options?: {
headers: {
[name: string]: string;
};
}): Promise;
/**
* Create a `fee_profile`.
* @summary Create a Fee Profile
* @param createFeeProfileRequest
*/
createHttp(createFeeProfileRequest?: CreateFeeProfileRequest, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: FeeProfile;
rawBody: any;
}>;
/**
* Helper function.
* Get a `fee_profile`.
* @summary Fetch a Fee Profile
* @param feeProfileId The ID of the `fee_profile`.
*/
private getHelper;
/**
* Get a `fee_profile`.
* @summary Fetch a Fee Profile
* @param feeProfileId The ID of the `fee_profile`.
*/
get(feeProfileId: string, options?: {
headers: {
[name: string]: string;
};
}): Promise;
/**
* Get a `fee_profile`.
* @summary Fetch a Fee Profile
* @param feeProfileId The ID of the `fee_profile`.
*/
getHttp(feeProfileId: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: FeeProfile;
rawBody: any;
}>;
/**
* Helper function.
* List all `Fee Profiles`.
* @summary List Fee Profiles
*/
private listHelper;
/**
* List all `Fee Profiles`.
* @summary List Fee Profiles
*/
list(listFeeProfilesQueryParams?: ListFeeProfilesQueryParams, options?: {
headers: {
[name: string]: string;
};
}): Promise>;
/**
* List all `Fee Profiles`.
* @summary List Fee Profiles
*/
listHttp(listFeeProfilesQueryParams?: ListFeeProfilesQueryParams, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: finixList;
rawBody: any;
}>;
/**
* Extracts page and links fields from response body and assigns as properties to finixList
*/
private embeddedHelper;
/**
* Extracts offset value from response body and determines if end of list has been reached
*/
private getOffsetQueryParam;
/**
* Extracts nextCursor value from response body and determines if end of list has been reached
*/
private getCursorQueryParam;
}