@lark-project/cli
Version:
飞书项目插件开发工具
29 lines (28 loc) • 881 B
TypeScript
/**
* 对齐 IDL:meego_idl/app_center/api/api_app_category.thrift
* - APIAppCategoryGetCategoryListRequest / APIAppCategoryGetCategoryListResponse
* - GET /goapi/v5/app/development/tool/category/list
*/
interface AppCategory {
id?: string;
name?: Record<string, string>;
hint?: Record<string, string>;
related_count?: number;
status?: number;
}
interface ListCategoriesResponseBody {
list?: AppCategory[];
}
interface ListCategoriesRequest {
siteDomain: string;
/** 是否在使用中 */
inuse?: string;
/** 搜索关键词 */
filter?: string;
/** 空间 key */
projectKey?: string;
/** 分类类型:0=插件 1=AI */
type?: number;
}
export type { AppCategory };
export declare function listCategories({ siteDomain, inuse, filter, projectKey, type, }: ListCategoriesRequest): Promise<ListCategoriesResponseBody>;