import * as factory from '../factory'; import { ISearchResult, IUnset, Service } from '../service'; export declare type IEmailMessage = Omit; export interface ISearchConditions { limit?: number; page?: number; sort?: any; project?: { id?: { $eq?: string; }; }; identifier?: { $eq?: string; }; about?: { identifier?: { $eq?: factory.creativeWork.message.email.AboutIdentifier; }; }; } /** * Eメールメッセージサービス */ export declare class EmailMessageService extends Service { /** * 作成 */ create(params: IEmailMessage): Promise; /** * 取得 */ findById(params: { id: string; }): Promise; /** * 検索 */ search(params: ISearchConditions): Promise>; /** * 編集 */ update(params: { id: string; attributes: IEmailMessage & IUnset; }): Promise; /** * 削除 */ deleteById(params: { id: string; }): Promise; }