export interface IModel { Id?: number; Title?: string; AuthorId?: number; Author?: IPersonOrGroup; __metadata?: {}; } export interface IListItemsMetadata { __next?: string; results: T[]; } export interface IEmail { properties: { From?: string; To: { results: string[] }; Body: string; Subject: string; __metadata?: {}; }; } export interface IPersonOrGroup { Id: number; Title: string; EMail: string; Email: string; Name: string; LoginName: string; IsGroup: boolean; Groups?: IPersonOrGroup[]; }