TagoIO SDK for JavaScript and TypeScript
    Preparing search index...

    Interface DeviceQuery

    interface DeviceQuery {
        amount?: number;
        fields?: (
            | "updated_at"
            | "profile"
            | "connector"
            | "network"
            | "name"
            | "active"
            | "created_at"
            | "bucket"
            | "id"
            | "description"
            | "tags"
            | "visible"
            | "last_input"
            | "type"
            | "payload_decoder"
            | "rpm"
        )[];
        filter?: RecursivePartial<DeviceInfo>;
        orderBy?: [
            | "updated_at"
            | "name"
            | "active"
            | "created_at"
            | "visible"
            | "last_input",
            "asc"
            | "desc",
        ];
        page?: number;
        resolveBucketName?: boolean;
        resolveConnectorName?: boolean;
        serial?: string;
    }

    Hierarchy (View Summary)

    • Query<
          DeviceInfo,
          "name"
          | "visible"
          | "active"
          | "last_input"
          | "created_at"
          | "updated_at",
      >
      • DeviceQuery
    Index

    Properties

    amount?: number

    Amount of items will return.

    fields?: (
        | "updated_at"
        | "profile"
        | "connector"
        | "network"
        | "name"
        | "active"
        | "created_at"
        | "bucket"
        | "id"
        | "description"
        | "tags"
        | "visible"
        | "last_input"
        | "type"
        | "payload_decoder"
        | "rpm"
    )[]

    Array of field names.

    Filter object.

    orderBy?: [
        | "updated_at"
        | "name"
        | "active"
        | "created_at"
        | "visible"
        | "last_input",
        "asc"
        | "desc",
    ]

    Tuple with a field and an order

    page?: number

    Page of list starting from 1

    resolveBucketName?: boolean
    resolveConnectorName?: boolean
    serial?: string