@viewdo/dxp-story-cli
Version:
DXP Story Management CLI
16 lines (15 loc) • 751 B
TypeScript
import { AxiosError } from 'axios';
import { ConsoleService } from './ConsoleService';
import { ConventionService } from './ConventionService';
import { ServiceProviderType } from '../models/configuration/support/ServiceProviderType';
import { ServiceProperty } from '../models/configuration/support/ServiceProperty';
export declare class ServiceConfigurationService {
private console;
private _baseURL;
private _api;
constructor(console: ConsoleService, conventions: ConventionService);
withToken(token: string): ServiceConfigurationService;
_handleError(err: AxiosError): void;
listServiceProviderTypes(): Array<ServiceProviderType>;
listServiceTypeProperties(serviceType: string): Promise<Array<ServiceProperty>>;
}