channelape-sdk
Version:
A client for interacting with ChannelApe's API
26 lines (25 loc) • 994 B
TypeScript
import { LogLevel } from 'channelape-logger';
import ActionsService from './actions/service/ActionsService';
import ChannelsService from './channels/service/ChannelsService';
import ClientConfiguration from './model/ClientConfiguration';
import OrdersService from './orders/service/OrdersService';
export default class ChannelApeClient {
private readonly sessionId;
private readonly timeout;
private readonly maximumRequestRetryTimeout;
private readonly endpoint;
private readonly logLevel;
private readonly requestClientWrapper;
private readonly actionsService;
private readonly channelsService;
private readonly ordersService;
constructor(clientConfiguration: ClientConfiguration);
readonly SessionId: string;
readonly Timeout: number;
readonly MaximumRequestRetryTimeout: number;
readonly Endpoint: string;
readonly LogLevel: LogLevel;
channels(): ChannelsService;
actions(): ActionsService;
orders(): OrdersService;
}