oak-general-business/es/features/template.d.ts

15 lines
562 B
TypeScript

import { Feature } from 'oak-frontend-base/es/types/Feature';
import { EntityDict } from '../oak-app-domain';
import { Cache } from 'oak-frontend-base/es/features/cache';
export declare class Template<ED extends EntityDict> extends Feature {
private cache;
private messageTypes;
constructor(cache: Cache<ED>);
getMessageType(): Promise<{
result: any;
message: string | null | undefined;
}>;
syncMessageTemplate(applicationId: string): Promise<void>;
syncSmsTemplate(systemId: string, origin: string): Promise<void>;
}