import ApiBase from "./ApiBase"; import { IDeviceEntity } from "../IPuripara"; export interface IPostDeviceBody { name: string; kind: "chrome" | "firefox" | "official_web" | "uwp" | "android" | "ios" | "unknown"; device_identifier: string; notification_identifier?: string; subscribe_notification?: boolean; } export default class Devices extends ApiBase { getDevices(): Promise; postDevice(body: IPostDeviceBody): Promise; deleteDevice(deviceIdentifier: string): Promise; }