oa

package
v2.0.1-beta28 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 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://work.weixin.qq.com/api/doc/90000/90135/93378

func (*Client) ApprovalTemplate

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

获取审批模板详情 https://work.weixin.qq.com/api/doc/90000/90135/91982

func (*Client) CreateApproval

func (comp *Client) CreateApproval(data *power.HashMap) (*response.ResponseApprovalCreate, error)

提交审批申请 https://work.weixin.qq.com/api/doc/90000/90135/91853

func (*Client) GetApprovalData

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

获取审批数据(旧) https://work.weixin.qq.com/api/doc/90000/90135/91530

func (*Client) GetApprovalDetail

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

获取审批申请详情 https://work.weixin.qq.com/api/doc/90000/90135/91983

func (*Client) GetApprovalInfo

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

批量获取审批单号 https://work.weixin.qq.com/api/doc/90000/90135/91816

func (*Client) GetCheckInMonthData

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

获取打卡月报数据 https://work.weixin.qq.com/api/doc/90000/90135/93387

func (*Client) GetCheckInOption

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

获取员工打卡规则 https://work.weixin.qq.com/api/doc/90000/90135/90263

func (*Client) GetCheckInScheduleList

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

获取打卡人员排班信息 https://work.weixin.qq.com/api/doc/90000/90135/93380

func (*Client) GetCheckinData

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

获取打卡记录数据 https://work.weixin.qq.com/api/doc/90000/90135/90262

func (*Client) GetCheckinDayData

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

获取打卡日报数据 https://work.weixin.qq.com/api/doc/90000/90135/93374

func (*Client) GetCorpCheckInOption

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

获取企业所有打卡规则 https://work.weixin.qq.com/api/doc/90000/90135/93384

func (*Client) GetCorpConfig

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

获取企业假期管理配置 https://work.weixin.qq.com/api/doc/90000/90135/93375

func (*Client) GetUserVacationQuota

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

获取成员假期余额 https://work.weixin.qq.com/api/doc/90000/90135/93376

func (*Client) SetCheckInScheduleList

func (comp *Client) SetCheckInScheduleList(options *request.RequestCheckInSetScheduleList) (*response2.ResponseWork, error)

为打卡人员排班 https://work.weixin.qq.com/api/doc/90000/90135/93385

func (*Client) SetOneUserQuota

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

修改成员假期余额 https://work.weixin.qq.com/api/doc/90000/90135/93376

Jump to

Keyboard shortcuts

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