@iotize/tap
Version:
IoTize Device client for Javascript
14 lines (13 loc) • 1.09 kB
TypeScript
import { ServiceCallType } from '@iotize/tap';
import { SlaveServerConfig } from '@iotize/tap/config/schema/v1';
import { WriteConfigContext } from './definitions';
import { ConfigKeyNotSupportedByFirmwareVersion } from './errors';
import { WriteConfigKey as WriteConfigGeneratedKey, WRITE_CONFIGURATOR_CONFIG as WRITE_CONFIGURATOR_DEFAULT_CONFIG } from './generated/write-configurator-config';
declare const WRITE_CONFIGURATOR_CUSTOM_CONFIG: {
'target.protocol.config': (context: WriteConfigContext<any, undefined>) => ServiceCallType<any, any> | Error;
slaveServer: (context: WriteConfigContext<SlaveServerConfig, undefined>) => ServiceCallType<any, any> | Error;
'jvm.code': (context: WriteConfigContext<Uint8Array, undefined>) => ServiceCallType<Uint8Array, void>[] | ConfigKeyNotSupportedByFirmwareVersion;
};
export declare type WriteConfigKey = WriteConfigGeneratedKey | keyof typeof WRITE_CONFIGURATOR_CUSTOM_CONFIG;
export declare const WRITE_CONFIGURATOR_CONFIG: typeof WRITE_CONFIGURATOR_DEFAULT_CONFIG & typeof WRITE_CONFIGURATOR_CUSTOM_CONFIG;
export {};