Hierarchy

Constructors

Methods

  • Modify any property of the TagoCore.

    Parameters

    • tagoCoreID: string

      TagoCore ID

    • tagoCoreObj: Partial<TagoCoreInfo>

      TagoCore Object with data to replace

    Returns Promise<string>

  • Get Info of the Device from a Standalone TagoCore instance.

    Parameters

    • tagoCoreID: string

      Standalone TagoCore ID

    • deviceID: string

      Device ID

    Returns Promise<DeviceInfo>

  • Retrieves a list with all devices from a Standalone TagoCore instance.

    Type Parameters

    Parameters

    • tagoCoreID: string

      Standalone TagoCore ID

    • Optional queryObj: T

      Search query params

    Returns Promise<DeviceListItem<"id" | "name" | T["fields"][number]>[]>

    Default

    queryObj: {
    page: 1,
    fields: ["id", "name"],
    filter: {},
    amount: 20,
    orderBy: "name,asc",
    resolveBucketName: false,
    }
  • Generate a new token for the TagoCore

    Parameters

    • tagoCoreID: string

      TagoCore ID

    Returns Promise<string>