oak-general-business/lib/aspects/template.d.ts

25 lines
721 B
TypeScript

import { EntityDict } from '../oak-app-domain';
import { BRC } from '../types/RuntimeCxt';
export declare function registerMessageType(messageType: string[]): void;
export declare function getMessageType(): Promise<string[]>;
export declare function syncMessageTemplate<ED extends EntityDict>(params: {
applicationId: string;
}, context: BRC<ED>): Promise<{
wechatId: string;
title: string;
primaryIndustry: string;
deputyIndustry: string;
content: string;
example: string;
}[] | {
wechatId: string;
title: string;
type: string;
content: string;
example: string;
keywordEnumValueList: {
keywordCode: string;
enumValueList: Array<string>;
}[];
}[]>;