Documentation
    Preparing search index...

    Represents an unknown device.

    Hierarchy (View Summary)

    • Device<string, Record<string, any>>
      • UnknownDevice
    Index

    Constructors

    Properties

    restClient: RestClient
    sn: string

    Methods

    • Sends a command with the given payload.

      Parameters

      • payload: any
      • schema: ZodTypeAny

      Returns Promise<
          | {
              code: "0";
              eagleEyeTraceId: string;
              message: "Success";
              tid: string;
          }
          | { code: string; eagleEyeTraceId: string; message: string; tid: string },
      >