channelape-sdk
Version:
A client for interacting with ChannelApe's API
80 lines (79 loc) • 3.5 kB
TypeScript
import LogLevel from './model/LogLevel';
import ActionsService from './actions/service/ActionsService';
import ChannelsService from './channels/service/ChannelsService';
import ClientConfiguration from './model/ClientConfiguration';
import OrdersService from './orders/service/OrdersService';
import VariantsService from './variants/service/VariantsService';
import BusinessesService from './businesses/service/BusinessesService';
import SessionsService from './sessions/service/SessionsService';
import SubscriptionsService from './subscriptions/service/SubscriptionsService';
import AnalyticsService from './analytics/service/AnalyticsService';
import SuppliersService from './suppliers/service/SuppliersService';
import ProductFiltersService from './products/filters/service/ProductFiltersService';
import UsersService from './users/service/UsersService';
import InventoriesService from './inventories/service/InventoriesService';
import LocationsService from './locations/service/LocationsService';
import StepsService from './steps/service/StepsService';
import PlaysService from './plays/service/PlaysService';
import RecipesService from './receipes/service/RecipesService';
import SchedulesService from './schedules/service/SchedulesService';
import { BatchesService } from './batches/services/BatchesService';
import LoggingService from './logging/service/LoggingService';
export default class ChannelApeClient {
private readonly sessionId;
private readonly refreshToken;
private readonly timeout;
private readonly maximumRequestRetryTimeout;
private readonly minimumRequestRetryRandomDelay;
private readonly maximumRequestRetryRandomDelay;
private readonly maximumConcurrentConnections;
private readonly endpoint;
private readonly logLevel;
private readonly requestClientWrapper;
private readonly actionsService;
private readonly channelsService;
private readonly suppliersService;
private readonly ordersService;
private readonly variantsService;
private readonly businessesService;
private readonly sessionsService;
private readonly subscriptionsService;
private readonly analyticsService;
private readonly productFiltersService;
private readonly usersService;
private readonly inventoriesService;
private readonly locationsService;
private readonly stepsService;
private readonly playsService;
private readonly recipesService;
private readonly schedulesService;
private readonly batchesService;
private readonly loggingService;
constructor(clientConfiguration: ClientConfiguration);
get SessionId(): string;
get Timeout(): number;
get MaximumRequestRetryTimeout(): number;
get MaximumConcurrentConnections(): number;
get Endpoint(): string;
get LogLevel(): LogLevel;
channels(): ChannelsService;
suppliers(): SuppliersService;
actions(): ActionsService;
orders(): OrdersService;
variants(): VariantsService;
businesses(): BusinessesService;
sessions(): SessionsService;
subscriptions(): SubscriptionsService;
analytics(): AnalyticsService;
productFilters(): ProductFiltersService;
users(): UsersService;
inventories(): InventoriesService;
locations(): LocationsService;
steps(): StepsService;
plays(): PlaysService;
recipes(): RecipesService;
schedules(): SchedulesService;
batches(): BatchesService;
logging(): LoggingService;
private validateConfiguration;
}