zhizhi/node_modules/dingtalk-jsapi/api/biz/ATMBle/punchModePicker.d.ts

53 lines
2.0 KiB
TypeScript
Raw Normal View History

/**
* Wi-FiB1
* @apiName biz.ATMBle.punchModePicker
*/
export interface IBizATMBlePunchModePickerParams {
/** 当选择支持智点B1打卡、考勤机打卡时则必须有corpId */
corpId?: string;
/** json ['location', 'wifi', 'beacon', 'atm']
*
* 'location':
* 'wifi':Wi-Fi打卡
* 'beacon':B1打卡
* 'atm':
*/
supportModes: string[];
/** json ['location', 'wifi', 'beacon', 'atm']
*
* 'location':
* 'wifi':Wi-Fi打卡
* 'beacon':B1打卡
* 'atm':
*/
disabledModes: string[];
/** 用于透传json序列化后的数据格式 [{type: 'location', enable: true, list: []}] 意义待补充 */
modes: Array<{
type: string;
enable: boolean;
list: any[];
}>;
/** 扩展字段,先预留 */
extData?: string;
}
/**
* Wi-FiB1
* @apiName biz.ATMBle.punchModePicker
*/
export interface IBizATMBlePunchModePickerResult {
/** 选择结果也是下次调用组件的入参json序列化后的数据格式 [{type: 'location', enable: true, list: []}] 意义待补充 */
modes: Array<{
type: string;
enable: boolean;
list: any[];
}>;
}
/**
* Wi-FiB1
* @apiName biz.ATMBle.punchModePicker
* @supportVersion ios: 5.0.7 android: 5.0.7
* @author AndroidiOS
*/
export declare function punchModePicker$(params: IBizATMBlePunchModePickerParams): Promise<IBizATMBlePunchModePickerResult>;
export default punchModePicker$;