@remote.it/core
Version:
Core remote.it JavasScript/TypeScript library
68 lines (67 loc) • 1.76 kB
TypeScript
export declare class ServiceType {
defaultPort?: number
name: string
id: number
hex: string
constructor(args: {
defaultPort?: number
name: string
id: number
hex: string
})
}
declare const ALL_SERVICES: {
tcp: ServiceType
vnc: ServiceType
rdp: ServiceType
httpProxy: ServiceType
httpsProxy: ServiceType
ssh: ServiceType
http: ServiceType
https: ServiceType
samba: ServiceType
bulk: ServiceType
nxWitness: ServiceType
nextCloud: ServiceType
openVPN: ServiceType
multiport: ServiceType
}
declare type ServiceKey = keyof typeof ALL_SERVICES
export declare class ServiceTypes {
static all: {
tcp: ServiceType
vnc: ServiceType
rdp: ServiceType
httpProxy: ServiceType
httpsProxy: ServiceType
ssh: ServiceType
http: ServiceType
https: ServiceType
samba: ServiceType
bulk: ServiceType
nxWitness: ServiceType
nextCloud: ServiceType
openVPN: ServiceType
multiport: ServiceType
}
static readonly tcp: ServiceType
static readonly vnc: ServiceType
static readonly rdp: ServiceType
static readonly httpProxy: ServiceType
static readonly httpsProxy: ServiceType
static readonly ssh: ServiceType
static readonly http: ServiceType
static readonly https: ServiceType
static readonly samba: ServiceType
static readonly bulk: ServiceType
static readonly nxWitness: ServiceType
static readonly nextCloud: ServiceType
static readonly openVPN: ServiceType
static readonly multiport: ServiceType
static findByKey(key: ServiceKey): ServiceType
static findByTypeString(type: string): ServiceType
static findByHex(hex: string): ServiceType
static findByID(id: number): ServiceType
}
export {}
//# sourceMappingURL=ServiceTypes.d.ts.map