25 lines
720 B
TypeScript
25 lines
720 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 syncWechatTemplate<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>;
|
|
}[];
|
|
}[]>;
|