34 lines
1011 B
TypeScript
34 lines
1011 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';
|
|
import { LocalStorage } from 'oak-frontend-base/es/features/localStorage';
|
|
export declare class WechatPublicTag<ED extends EntityDict> extends Feature {
|
|
private cache;
|
|
private storage;
|
|
constructor(cache: Cache<ED>, storage: LocalStorage);
|
|
createTag(params: {
|
|
applicationId: string;
|
|
name: string;
|
|
}): Promise<any>;
|
|
getTags(params: {
|
|
applicationId: string;
|
|
}): Promise<any>;
|
|
editTag(params: {
|
|
applicationId: string;
|
|
id: number;
|
|
name: string;
|
|
}): Promise<any>;
|
|
deleteTag(params: {
|
|
applicationId: string;
|
|
id: string;
|
|
wechatId: number;
|
|
}): Promise<any>;
|
|
syncTag(params: {
|
|
applicationId: string;
|
|
id: string;
|
|
}): Promise<any>;
|
|
oneKeySync(params: {
|
|
applicationId: string;
|
|
}): Promise<any>;
|
|
}
|