dingtalk-jsapi
Version:
钉钉 模块化 多端统一 API
24 lines (23 loc) • 489 B
TypeScript
import { ICommonAPIParams } from '../../constant/types';
/**
* RSA加解密 请求参数定义
* @apiName rsa
*/
export interface IUnionRsaParams extends ICommonAPIParams {
key: string;
text: string;
action: string;
}
/**
* RSA加解密 返回结果定义
* @apiName rsa
*/
export interface IUnionRsaResult {
text: string;
}
/**
* RSA加解密
* @apiName rsa
*/
export declare function rsa$(params: IUnionRsaParams): Promise<IUnionRsaResult>;
export default rsa$;