zhizhi/node_modules/dingtalk-jsapi/api/union/getAuthInfo.d.ts

27 lines
659 B
TypeScript
Raw Normal View History

import { ICommonAPIParams } from '../../constant/types';
/**
*
* @apiName getAuthInfo
*/
export interface IUnionGetAuthInfoParams extends ICommonAPIParams {
type: number;
corpId: string;
clientId: string;
rpcScope: string[];
fieldScope: string[];
}
/**
*
* @apiName getAuthInfo
*/
export interface IUnionGetAuthInfoResult {
status: boolean;
authCode: string;
}
/**
*
* @apiName getAuthInfo
*/
export declare function getAuthInfo$(params: IUnionGetAuthInfoParams): Promise<IUnionGetAuthInfoResult>;
export default getAuthInfo$;