@remote.it/core
Version:
Core remote.it JavasScript/TypeScript library
44 lines (43 loc) • 844 B
TypeScript
export declare class RegistrationResource {
static create({
name,
productID,
type,
}: {
name: string
productID: string
type: 'open' | 'closed'
}): Promise<RegistrationCreateResponse>
static info({
cpuID,
hardwareID,
macAddress,
osLabel,
registrationKey,
serviceList,
secret,
version,
}: {
cpuID: string
hardwareID: string
macAddress: string
osLabel?: string
registrationKey: string
secret?: string
serviceList?: number[]
version?: string
}): Promise<unknown>
static config({
registrationKey,
hardwareID,
}: {
registrationKey: string
hardwareID: string
}): Promise<unknown>
}
interface RegistrationCreateResponse {
status: 'true' | 'false'
bulk_id: string
}
export {}
//# sourceMappingURL=RegistrationResource.d.ts.map