oa

package
v2.0.22 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2022 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*kernel.BaseClient
}

func NewClient

func NewClient(app kernel.ApplicationInterface) (*Client, error)

func (*Client) AddCheckInUserFace

func (comp *Client) AddCheckInUserFace(userID string, userFace string) (*response2.ResponseWork, error)

录入打卡人员人脸信息 https://developer.work.weixin.qq.com/document/path/93378

func (*Client) ApprovalTemplate

func (comp *Client) ApprovalTemplate(templateID string) (*response.ResponseApprovalTemplate, error)

获取审批模板详情 https://developer.work.weixin.qq.com/document/path/91982

func (*Client) GetApprovalData

func (comp *Client) GetApprovalData(startTime int, endTime int, nextNumber int) (*response.ResponseApprovalGetData, error)

获取审批数据(旧) https://developer.work.weixin.qq.com/document/path/91530

func (*Client) GetApprovalDetail

func (comp *Client) GetApprovalDetail(number int) (*response.ResponseApprovalDetail, error)

获取审批申请详情 https://developer.work.weixin.qq.com/document/path/91983

func (*Client) GetApprovalInfo

func (comp *Client) GetApprovalInfo(startTime int, endTime int, nextCursor int, size int, filters *object.HashMap) (*response.ResponseApprovalNoList, error)

批量获取审批单号 https://developer.work.weixin.qq.com/document/path/91816

func (*Client) GetCheckInMonthData

func (comp *Client) GetCheckInMonthData(startTime int, endTime int, userIDs []string) (*response.ResponseCheckInDatas, error)

获取打卡月报数据 https://developer.work.weixin.qq.com/document/path/93387

func (*Client) GetCheckInOption

func (comp *Client) GetCheckInOption(datetime int, userList []string) (*response.ResponseCheckInRules, error)

获取员工打卡规则 https://developer.work.weixin.qq.com/document/path/90263

func (*Client) GetCheckInScheduleList

func (comp *Client) GetCheckInScheduleList(startTime int, endTime int, userIDs []string) (*response.ResponseCheckInSchedulist, error)

获取打卡人员排班信息 https://developer.work.weixin.qq.com/document/path/93380

func (*Client) GetCheckinData

func (comp *Client) GetCheckinData(recordType int, startTime int, endTime int, userList []string) (*response.ResponseCheckInRecords, error)

获取打卡记录数据 https://developer.work.weixin.qq.com/document/path/90262

func (*Client) GetCheckinDayData

func (comp *Client) GetCheckinDayData(startTime int, endTime int, userIDs []string) (*response.ResponseCheckInDatas, error)

获取打卡日报数据 https://developer.work.weixin.qq.com/document/path/93374

func (*Client) GetCorpCheckInOption

func (comp *Client) GetCorpCheckInOption() (*response.ResponseCorpCheckInRules, error)

获取企业所有打卡规则 https://developer.work.weixin.qq.com/document/path/93384

func (*Client) GetCorpConfig

func (comp *Client) GetCorpConfig() (*response.ResponseCorpVacationGetConfig, error)

获取企业假期管理配置 https://developer.work.weixin.qq.com/document/path/93375

func (*Client) GetUserVacationQuota

func (comp *Client) GetUserVacationQuota(userID string) (*response.ResponseCorpVacationGetQuota, error)

获取成员假期余额 https://developer.work.weixin.qq.com/document/path/93376

func (*Client) SetOneUserQuota

func (comp *Client) SetOneUserQuota(data *object.HashMap) (*response2.ResponseWork, error)

修改成员假期余额 https://developer.work.weixin.qq.com/document/path/94213

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL