oa

package
v3.0.48 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2023 License: MIT Imports: 17 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	BaseClient *kernel.BaseClient
}

func NewClient

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

func (*Client) AddCheckInUserFace

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

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

func (*Client) ApprovalTemplate

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

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

func (*Client) GetApprovalData

func (comp *Client) GetApprovalData(ctx context.Context, 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(ctx context.Context, number int) (*response.ResponseApprovalDetail, error)

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

func (*Client) GetApprovalInfo

func (comp *Client) GetApprovalInfo(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, datetime int, userList []string) (*response.ResponseCheckInRules, error)

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

func (*Client) GetCheckInScheduleList

func (comp *Client) GetCheckInScheduleList(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context) (*response.ResponseCorpCheckInRules, error)

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

func (*Client) GetCorpConfig

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

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

func (*Client) GetUserVacationQuota

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

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

func (*Client) SetOneUserQuota

func (comp *Client) SetOneUserQuota(ctx context.Context, 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