import { RpcMethod } from './commonTypes'; export type DevicesService_SetTags = RpcMethod; export interface DevicesService { /** Sets or overwrites tag values on an existing device (by HWID) or user (by user_id) in an application. Send an empty string or null as a value to clear a tag; pass platform only when creating a device by HWID. */ SetTags: DevicesService_SetTags; } export type SetTagsRequest = { /** application code */ application?: string; /** device hwid (use to set device-specific tags) */ hwid?: string; /** to remove tag value, send empty string or null */ tags?: object; /** user id (to set user-specific tags) */ userId?: string; /** platform (device type), used only when creating a device by hwid */ platform?: number; }; export type SetTagsResponse = { /** map, value -- string, []string */ tags: object; };