ts-ssp
Version:
NodeJS library to work with coin and bill acceptors under SSP protocol. Written in Typescript.
14 lines (13 loc) • 319 B
TypeScript
import { SSPType } from "../types";
export interface Command {
value: number;
sequence?: number;
}
export interface DeviceCommands {
[commandName: string]: Command;
}
export declare type Commands = {
[deviceName in SSPType]: DeviceCommands;
};
declare const commands: Commands;
export default commands;