UNPKG

idea-toolbox

Version:
22 lines (21 loc) 578 B
import { Resource } from './resource.model'; import { PushNotificationsPlatforms } from './pushNotificationsPlatforms.enum'; /** * Devices for push notifications. */ export declare class PushNotificationsDevice extends Resource { /** * The device identification token (also known as device ID or registration ID). */ token: string; /** * The device's platform. */ platform: PushNotificationsPlatforms; /** * The device's endpoint. */ endpoint: string; load(x: any): void; validate(complete?: boolean): string[]; }