UNPKG

trade360-nodejs-sdk

Version:
22 lines (21 loc) 831 B
import { MQSettingsOptions } from '..'; /** * Class for validate that the configure mq setting * is valid. Use MQSettingsSchema to parse and validate * data. */ export declare class MqConnectionSettingsValidator { /** * Validate the mqSettings object using the * MQSettingsSchema. * @param mqSettings the mqSettings object to validate * @returns the validated mqSettings object as * MQSettingsOptions type if the object is valid and * the validation passes successfully without errors or * exceptions thrown by the schema parser and validator * @throws ValidationError if the mqSettings object is * invalid and the validation fails with errors or * exceptions thrown by the schema parser and validator */ static validate(mqSettings: unknown): MQSettingsOptions; }