@sumup/sdk
    Preparing search index...

    Type Alias StatusResponse

    StatusResponse

    Status of a device

    type StatusResponse = {
        data: {
            battery_level?: number;
            battery_temperature?: number;
            connection_type?:
                | "btle"
                | "edge"
                | "gprs"
                | "lte"
                | "umts"
                | "usb"
                | "Wi-Fi";
            firmware_version?: string;
            last_activity?: string;
            state?: | "IDLE"
            | "SELECTING_TIP"
            | "WAITING_FOR_CARD"
            | "WAITING_FOR_PIN"
            | "WAITING_FOR_SIGNATURE"
            | "UPDATING_FIRMWARE";
            status: "ONLINE"
            | "OFFLINE";
        };
    }
    Index

    Properties

    Properties

    data: {
        battery_level?: number;
        battery_temperature?: number;
        connection_type?:
            | "btle"
            | "edge"
            | "gprs"
            | "lte"
            | "umts"
            | "usb"
            | "Wi-Fi";
        firmware_version?: string;
        last_activity?: string;
        state?: | "IDLE"
        | "SELECTING_TIP"
        | "WAITING_FOR_CARD"
        | "WAITING_FOR_PIN"
        | "WAITING_FOR_SIGNATURE"
        | "UPDATING_FIRMWARE";
        status: "ONLINE"
        | "OFFLINE";
    }

    Type Declaration

    • Optionalbattery_level?: number

      Battery level percentage

    • Optionalbattery_temperature?: number

      Battery temperature in Celsius

    • Optionalconnection_type?: "btle" | "edge" | "gprs" | "lte" | "umts" | "usb" | "Wi-Fi"

      Type of connection used by the device

    • Optionalfirmware_version?: string

      Firmware version of the device

    • Optionallast_activity?: string

      Timestamp of the last activity from the device

    • Optionalstate?:
          | "IDLE"
          | "SELECTING_TIP"
          | "WAITING_FOR_CARD"
          | "WAITING_FOR_PIN"
          | "WAITING_FOR_SIGNATURE"
          | "UPDATING_FIRMWARE"

      Latest state of the device

    • status: "ONLINE" | "OFFLINE"

      Status of a device