Documentation ¶
Index ¶
- func AddCheckinUserFace(userID, userFace string) wx.Action
- func AddMeetingRoom(params *ParamsMeetingRoomAdd, result *ResultMeetingRoomAdd) wx.Action
- func ApplyEvent(params *ParamsApplyEvent, result *ResultApplyEvent) wx.Action
- func BookMeetingRoom(params *ParamsMeetingRoomBook, result *ResultMeetingRoomBook) wx.Action
- func CallPstncc(calleeUserIDs []string, result *ResultPstnccCall) wx.Action
- func CancelBookMeetingRoom(meetingID string, keepSchedule int) wx.Action
- func DeleteMeetingRoom(meetingRoomID int64) wx.Action
- func EditMeetingRoom(params *ParamsMeetingRoomEdit) wx.Action
- func GetApprovalDetail(spno string, result *ResultApprovalDetail) wx.Action
- func GetApprovalInfo(params *ParamsApprovalInfo, result *ResultApprovalInfo) wx.Action
- func GetCheckinData(dataType int, starttime, endtime int64, userIDs []string, ...) wx.Action
- func GetCheckinDayData(starttime, endtime int64, userIDs []string, result *ResultCheckinDayData) wx.Action
- func GetCheckinMonthData(starttime, endtime int64, userIDs []string, result *ResultCheckinMonthData) wx.Action
- func GetCheckinOption(datetime int64, userIDs []string, result *ResultCheckinOption) wx.Action
- func GetCheckinScheduleList(starttime, endtime int64, userIDs []string, ...) wx.Action
- func GetCorpCheckinOption(result *ResultCorpCheckinOption) wx.Action
- func GetCorpVacationConf(result *ResultCorpVacationConf) wx.Action
- func GetHardwareCheckinData(filterType int, starttime, endtime int64, userIDs []string, ...) wx.Action
- func GetJournalRecordDetail(journaluuid string, result *ResultJournalRecordDetail) wx.Action
- func GetMeetingRoomBookingInfo(params *ParamsMeetingRoomBookingInfo, result *ResultMeetingRoomBookingInfo) wx.Action
- func GetMeetingRoomBookingInfoByID(meetingRoomID int64, meetingID string, result *MeetingRoomBookingInfo) wx.Action
- func GetOpenApprovalData(thirdNO string, result *ResultOpenApprovalData) wx.Action
- func GetPstnccStates(calleeUserID, callID string, result *ResultPstnccStates) wx.Action
- func GetTemplateDetail(templateID string, result *ResultTemplateDetail) wx.Action
- func GetUserVacationQuota(userID string, result *ResultUserVacationQuota) wx.Action
- func ListJouralRecord(params *ParamsJournalRecordList, result *ResultJournalRecordList) wx.Action
- func ListJournalStat(templateID string, starttime, endtime int64, result *ResultJournalStatList) wx.Action
- func ListMeetingRoom(params *ParamsMeetingRoomList, result *ResultMeetingRoomList) wx.Action
- func SetCheckinScheduleList(groupID int64, yearmonth int, items ...*ScheduleListItem) wx.Action
- func SetOneUserQuota(params *ParamsOneUserQuotaSet) wx.Action
- type ApplyContent
- type ApplyData
- type ApplySummaryInfo
- type Applyer
- type ApprovalComment
- type ApprovalDetail
- type ApprovalNode
- type ApprovalNodeItem
- type ApprovalNodeItems
- type ApprovalNodes
- type ApprovalNotifyNode
- type ApprovalNotifyNodes
- type ApprovalSPDetail
- type ApprovalSPRecord
- type Approver
- type AttendanceConfig
- type AttendanceDay
- type AttendanceSliceInfo
- type AttendanceValue
- type CheckinCalOtTimeRule
- type CheckinData
- type CheckinDate
- type CheckinDayBase
- type CheckinDayData
- type CheckinDayOt
- type CheckinDayRule
- type CheckinDaySummary
- type CheckinException
- type CheckinFixTimeRule
- type CheckinGroup
- type CheckinHoliday
- type CheckinLateRule
- type CheckinLoc
- type CheckinMonthBase
- type CheckinMonthData
- type CheckinMonthRule
- type CheckinMonthSummary
- type CheckinOption
- type CheckinOt
- type CheckinOtApply
- type CheckinOtCheck
- type CheckinOtRest
- type CheckinOtTimeRule
- type CheckinOverwork
- type CheckinRange
- type CheckinReporter
- type CheckinSPItem
- type CheckinSPText
- type CheckinSchedule
- type CheckinSpeDay
- type CheckinTime
- type CheckinTimeRule
- type CheckinTimeSection
- type CheckinWifiMac
- type ContactConfig
- type ContactDepartment
- type ContactMember
- type ControlConfig
- type ControlProperty
- type ControlType
- type ControlValue
- type Coordinate
- type CorpCheckinOption
- type DateConfig
- type DateRangeValue
- type DateValue
- type DisplayText
- type FileValue
- type FormulaValue
- type HardwareCheckinData
- type JournalLeader
- type JournalParty
- type JournalRange
- type JournalReceivers
- type JournalRecordComment
- type JournalRecordDetail
- type JournalReport
- type JournalReportItem
- type JournalStat
- type JournalTag
- type JournalUser
- type KeyValue
- type LocationValue
- type MeetingRoom
- type MeetingRoomBookingInfo
- type MeetingRoomBookingSchedule
- type NodeList
- type OAUser
- type OpenApprovalData
- type OptionSchedule
- type ParamsApplyEvent
- type ParamsApprovalDetail
- type ParamsApprovalInfo
- type ParamsCheckinData
- type ParamsCheckinDayData
- type ParamsCheckinMonthData
- type ParamsCheckinOption
- type ParamsCheckinScheduleListGet
- type ParamsCheckinScheduleListSet
- type ParamsCheckinUserFaceAdd
- type ParamsHardwareCheckinData
- type ParamsJournalRecordDetail
- type ParamsJournalRecordList
- type ParamsJournalStatList
- type ParamsMeetingRoomAdd
- type ParamsMeetingRoomBook
- type ParamsMeetingRoomBookCancel
- type ParamsMeetingRoomBookingInfo
- type ParamsMeetingRoomBookingInfoByMeetingID
- type ParamsMeetingRoomDelete
- type ParamsMeetingRoomEdit
- type ParamsMeetingRoomList
- type ParamsOneUserQuotaSet
- type ParamsOpenApprovalData
- type ParamsPstnccCall
- type ParamsPstnccStates
- type ParamsTemplateDetail
- type ParamsUserVacationQuota
- type Process
- type PstnccState
- type PunchCorrectionValue
- type RelatedApprovalValue
- type ResultApplyEvent
- type ResultApprovalDetail
- type ResultApprovalInfo
- type ResultCheckinData
- type ResultCheckinDayData
- type ResultCheckinMonthData
- type ResultCheckinOption
- type ResultCheckinScheduleListGet
- type ResultCorpCheckinOption
- type ResultCorpVacationConf
- type ResultHardwareCheckinData
- type ResultJournalRecordDetail
- type ResultJournalRecordList
- type ResultJournalStatList
- type ResultMeetingRoomAdd
- type ResultMeetingRoomBook
- type ResultMeetingRoomBookingInfo
- type ResultMeetingRoomList
- type ResultOpenApprovalData
- type ResultPstnccCall
- type ResultPstnccStates
- type ResultTemplateDetail
- type ResultUserVacationQuota
- type Schedule
- type ScheduleData
- type ScheduleInfo
- type ScheduleListItem
- type ScheduleTimeSection
- type SchoolContactClass
- type SchoolContactStudent
- type SelectorConfig
- type SelectorOption
- type SelectorValue
- type TableChildConfig
- type TableChildValue
- type TableConfig
- type TableValue
- type TemplateContent
- type TemplateControl
- type VacationConf
- type VacationConfig
- type VacationConfigItem
- type VacationQuota
- type VacationQuotaAttr
- type VacationValue
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCheckinUserFace ¶
AddCheckinUserFace 录入打卡人员人脸信息
func AddMeetingRoom ¶
func AddMeetingRoom(params *ParamsMeetingRoomAdd, result *ResultMeetingRoomAdd) wx.Action
AddMeetingRoom 添加会议室
func ApplyEvent ¶
func ApplyEvent(params *ParamsApplyEvent, result *ResultApplyEvent) wx.Action
ApplyEvent 提交审批申请
func BookMeetingRoom ¶
func BookMeetingRoom(params *ParamsMeetingRoomBook, result *ResultMeetingRoomBook) wx.Action
BookMeetingRoom 预定会议室
func CallPstncc ¶
func CallPstncc(calleeUserIDs []string, result *ResultPstnccCall) wx.Action
CallPstncc 发起语音电话
func CancelBookMeetingRoom ¶
取消预定会议室
func DeleteMeetingRoom ¶
DeleteMeetingRoom 删除会议室
func EditMeetingRoom ¶
func EditMeetingRoom(params *ParamsMeetingRoomEdit) wx.Action
EditMeetingRoom 编辑会议室
func GetApprovalDetail ¶
func GetApprovalDetail(spno string, result *ResultApprovalDetail) wx.Action
GetApprovalDetail 获取审批申请详情
func GetApprovalInfo ¶
func GetApprovalInfo(params *ParamsApprovalInfo, result *ResultApprovalInfo) wx.Action
GetApprovalInfo 批量获取审批单号
func GetCheckinData ¶
func GetCheckinData(dataType int, starttime, endtime int64, userIDs []string, result *ResultCheckinData) wx.Action
GetCheckinData 获取打卡记录数据
func GetCheckinDayData ¶
func GetCheckinDayData(starttime, endtime int64, userIDs []string, result *ResultCheckinDayData) wx.Action
GetCheckinDayData 获取打卡日报数据
func GetCheckinMonthData ¶
func GetCheckinMonthData(starttime, endtime int64, userIDs []string, result *ResultCheckinMonthData) wx.Action
GetCheckinMonthData 获取打卡月报数据
func GetCheckinOption ¶
func GetCheckinOption(datetime int64, userIDs []string, result *ResultCheckinOption) wx.Action
GetCheckinOption 获取员工打卡规则
func GetCheckinScheduleList ¶
func GetCheckinScheduleList(starttime, endtime int64, userIDs []string, result *ResultCheckinScheduleListGet) wx.Action
GetCheckinScheduleList 获取打卡人员排班信息
func GetCorpCheckinOption ¶
func GetCorpCheckinOption(result *ResultCorpCheckinOption) wx.Action
GetCorpCheckinOption 获取企业所有打卡规则
func GetCorpVacationConf ¶
func GetCorpVacationConf(result *ResultCorpVacationConf) wx.Action
GetCorpVacationConf 获取企业假期管理配置
func GetHardwareCheckinData ¶
func GetHardwareCheckinData(filterType int, starttime, endtime int64, userIDs []string, result *ResultHardwareCheckinData) wx.Action
GetHardwareCheckinData 获取设备打卡数据
func GetJournalRecordDetail ¶
func GetJournalRecordDetail(journaluuid string, result *ResultJournalRecordDetail) wx.Action
GetJournalRecordDetail 获取汇报记录详情
func GetMeetingRoomBookingInfo ¶
func GetMeetingRoomBookingInfo(params *ParamsMeetingRoomBookingInfo, result *ResultMeetingRoomBookingInfo) wx.Action
GetMeetingRoomBookingInfo 查询会议室的预定信息
func GetMeetingRoomBookingInfoByID ¶
func GetMeetingRoomBookingInfoByID(meetingRoomID int64, meetingID string, result *MeetingRoomBookingInfo) wx.Action
GetMeetingRoomBookingInfoByID 根据会议ID查询会议室的预定信息
func GetOpenApprovalData ¶
func GetOpenApprovalData(thirdNO string, result *ResultOpenApprovalData) wx.Action
GetOpenApprovalData 查询自建应用审批单当前状态
func GetPstnccStates ¶
func GetPstnccStates(calleeUserID, callID string, result *ResultPstnccStates) wx.Action
GetPstnccStates 获取接听状态
func GetTemplateDetail ¶
func GetTemplateDetail(templateID string, result *ResultTemplateDetail) wx.Action
GetTemplateDetail 获取审批模板详情
func GetUserVacationQuota ¶
func GetUserVacationQuota(userID string, result *ResultUserVacationQuota) wx.Action
GetUserVacationQuota 获取成员假期余额
func ListJouralRecord ¶
func ListJouralRecord(params *ParamsJournalRecordList, result *ResultJournalRecordList) wx.Action
ListJouralRecord 批量获取汇报记录单号
func ListJournalStat ¶
func ListJournalStat(templateID string, starttime, endtime int64, result *ResultJournalStatList) wx.Action
ListJournalStat 获取汇报统计数据
func ListMeetingRoom ¶
func ListMeetingRoom(params *ParamsMeetingRoomList, result *ResultMeetingRoomList) wx.Action
ListMeetingRoom 查询会议室
func SetCheckinScheduleList ¶
func SetCheckinScheduleList(groupID int64, yearmonth int, items ...*ScheduleListItem) wx.Action
SetCheckinScheduleList 为打卡人员排班
func SetOneUserQuota ¶
func SetOneUserQuota(params *ParamsOneUserQuotaSet) wx.Action
SetOneUserQuota 修改成员假期余额
Types ¶
type ApplyContent ¶
type ApplyContent struct { Control ControlType `json:"control"` ID string `json:"id"` Title []*DisplayText `json:"title,omitempty"` Value *ControlValue `json:"value"` }
type ApplyData ¶
type ApplyData struct {
Contents []*ApplyContent `json:"contents"`
}
type ApplySummaryInfo ¶
type ApplySummaryInfo struct {
SummaryInfo []*DisplayText `json:"summary_info"`
}
type ApprovalComment ¶
type ApprovalDetail ¶
type ApprovalDetail struct { SPNO string `json:"sp_no"` SPName string `json:"sp_name"` SPStatus int `json:"sp_status"` TemplateID string `json:"template_id"` ApplyTime int64 `json:"apply_time"` Applyer *Applyer `json:"applyer"` SPRecord []*ApprovalSPRecord `json:"sp_record"` Notifyer []*OAUser `json:"notifyer"` ApplyData *ApplyData `json:"apply_data"` Comments []*ApprovalComment `json:"comments"` }
type ApprovalNode ¶
type ApprovalNode struct { NodeStatus int `json:"NodeStatus"` NodeAttr int `json:"NodeAttr"` NodeType int `json:"NodeType"` Items *ApprovalNodeItems `json:"Items"` }
type ApprovalNodeItem ¶
type ApprovalNodeItems ¶
type ApprovalNodeItems struct {
Item []*ApprovalNodeItem `json:"Item"`
}
type ApprovalNodes ¶
type ApprovalNodes struct {
ApprovalNode []*ApprovalNode `json:"ApprovalNode"`
}
type ApprovalNotifyNode ¶
type ApprovalNotifyNodes ¶
type ApprovalNotifyNodes struct {
NotifyNode []*ApprovalNotifyNode `json:"NotifyNode"`
}
type ApprovalSPDetail ¶
type ApprovalSPRecord ¶
type ApprovalSPRecord struct { SPStatus int `json:"sp_status"` ApproverAttr int `json:"approverattr"` Details []*ApprovalSPDetail `json:"details"` }
type AttendanceConfig ¶
type AttendanceConfig struct { DateRange *DateRangeValue `json:"date_range"` Type int `json:"type"` }
type AttendanceDay ¶
type AttendanceSliceInfo ¶
type AttendanceSliceInfo struct { DayItems []*AttendanceDay `json:"day_items"` Duration int `json:"duration"` State int `json:"state"` }
type AttendanceValue ¶
type AttendanceValue struct { DateRange *DateRangeValue `json:"date_range"` Type int `json:"type"` SliceInfo *AttendanceSliceInfo `json:"slice_info"` }
type CheckinCalOtTimeRule ¶
type CheckinCalOtTimeRule struct {
Items []*CheckinOtTimeRule `json:"items"`
}
type CheckinData ¶
type CheckinData struct { UserID string `json:"userid"` GroupID int64 `json:"groupid"` GroupName string `json:"groupname"` CheckinType string `json:"checkin_type"` CheckinTime int64 `json:"checkin_time"` ExceptionType string `json:"exception_type"` LocationTitle string `json:"location_title"` LocationDetail string `json:"location_detail"` WifiName string `json:"wifiname"` WifiMac string `json:"wifimac"` Notes string `json:"notes"` MediaIDs []string `json:"mediaids"` Lat int64 `json:"lat"` Lng int64 `json:"lng"` DeviceID string `json:"deviceid"` SchCheckinTime int64 `json:"sch_checkin_time"` ScheduleID int64 `json:"schedule_id"` TimelineID int64 `json:"timeline_id"` }
type CheckinDate ¶
type CheckinDate struct { Workdays []int `json:"workdays"` CheckinTime []*CheckinTime `json:"checkintime"` FlexTime int `json:"flex_time"` NoNeedOffWork bool `json:"noneed_offwork"` LimitAheadTime int `json:"limit_aheadtime"` FlexOnDutyTime int `json:"flex_on_duty_time"` FlexOffDutyTime int `json:"flex_off_duty_time"` }
type CheckinDayBase ¶
type CheckinDayData ¶
type CheckinDayData struct { BaseInfo *CheckinDayBase `json:"base_info"` SummaryInfo *CheckinDaySummary `json:"summary_info"` HolidayInfos []*CheckinHoliday `json:"holiday_infos"` ExceptionInfos []*CheckinException `json:"exception_infos"` OtInfo *CheckinDayOt `json:"ot_info"` SPItems []*CheckinSPItem `json:"sp_items"` }
type CheckinDayOt ¶
type CheckinDayRule ¶
type CheckinDaySummary ¶
type CheckinException ¶
type CheckinFixTimeRule ¶
type CheckinGroup ¶
type CheckinGroup struct { GroupType int `json:"grouptype"` GroupID int64 `json:"groupid"` GroupName string `json:"groupname"` CheckinDate []*CheckinDate `json:"checkindate"` SpeWorkdays []*CheckinSpeDay `json:"spe_workdays"` SpeOffDays []*CheckinSpeDay `json:"spe_offdays"` SyncHolidays bool `json:"sync_holidays"` NeedPhoto bool `json:"need_photo"` WifiMacInfos []*CheckinWifiMac `json:"wifimac_infos"` NoteCanUseLocalPic bool `json:"note_can_use_local_pic"` AllowCheckinOffWorkday bool `json:"allow_checkin_offworkday"` AllowApplyOffWorkday bool `json:"allow_apply_offworkday"` LocInfos []*CheckinLoc `json:"loc_infos"` ScheduleList []*OptionSchedule `json:"schedulelist"` }
type CheckinHoliday ¶
type CheckinHoliday struct { SPDescription *CheckinSPText `json:"sp_description"` SPNumber string `json:"sp_number"` SPTitle *CheckinSPText `json:"sp_title"` }
type CheckinLateRule ¶
type CheckinLateRule struct { AllowOffWorkAfterTime bool `json:"allow_offwork_after_time"` TimeRules []*CheckinTimeRule `json:"timerules"` }
type CheckinLoc ¶
type CheckinMonthBase ¶
type CheckinMonthData ¶
type CheckinMonthData struct { BaseInfo *CheckinMonthBase `json:"base_info"` SummaryInfo *CheckinMonthSummary `json:"summary_info"` ExceptionInfos []*CheckinException `json:"exception_infos"` SPItems []*CheckinSPItem `json:"sp_items"` OverworkInfo *CheckinOverwork `json:"overwork_info"` }
type CheckinMonthRule ¶
type CheckinMonthSummary ¶
type CheckinOption ¶
type CheckinOption struct { UserID string `json:"userid"` Group *CheckinGroup `json:"group"` }
type CheckinOt ¶
type CheckinOt struct { Type int `json:"type"` AllowOtWorkingDay bool `json:"allow_ot_workingday"` AllowOtNonWorkingDay bool `json:"allow_ot_nonworkingday"` OtCheckInfo *CheckinOtCheck `json:"otcheckinfo"` UpTime int64 `json:"uptime"` OtApplyInfo *CheckinOtApply `json:"otapplyinfo"` }
type CheckinOtApply ¶
type CheckinOtApply struct { AllowOtWorkingDay bool `json:"allow_ot_workingday"` AllowOtNonWorkingDay bool `json:"allow_ot_nonworkingday"` UpTime int64 `json:"uptime"` OtWorkingDayRestInfo *CheckinOtRest `json:"ot_workingday_restinfo"` OtNonWorkingDayRestInfo *CheckinOtRest `json:"ot_nonworkingday_restinfo"` OtNonWorkingDaySpandayTime int `json:"ot_nonworkingday_spanday_time"` }
type CheckinOtCheck ¶
type CheckinOtCheck struct { OtWorkingDayTimeStart int `json:"ot_workingday_time_start"` OtWorkingDayTimeMin int `json:"ot_workingday_time_min"` OtWorkingDayTimeMax int `json:"ot_workingday_time_max"` OtNonWorkingDayTimeMin int `json:"ot_nonworkingday_time_min"` OtNonWorkingDayTimeMax int `json:"ot_nonworkingday_time_max"` OtWorkingDayRestInfo *CheckinOtRest `json:"ot_workingday_restinfo"` OtNonWorkingDayRestInfo *CheckinOtRest `json:"ot_nonworkingday_restinfo"` OtNonWorkingDaySpandayTime int `json:"ot_nonworkingday_spanday_time"` }
type CheckinOtRest ¶
type CheckinOtRest struct { Type int `json:"type"` FixTimeRule *CheckinFixTimeRule `json:"fix_time_rule"` CalOtTimeRule *CheckinCalOtTimeRule `json:"cal_ottime_rule"` }
type CheckinOtTimeRule ¶
type CheckinOverwork ¶
type CheckinOverwork struct {
WorkdayOverSec int `json:"workday_over_sec"`
}
type CheckinRange ¶
type CheckinReporter ¶
type CheckinSPItem ¶
type CheckinSPText ¶
type CheckinSPText struct {
Data []*DisplayText `json:"data"`
}
type CheckinSchedule ¶
type CheckinSpeDay ¶
type CheckinSpeDay struct { Timestamp int64 `json:"timestamp"` Notes string `json:"notes"` CheckinTime []*CheckinTime `json:"checkintime"` }
type CheckinTime ¶
type CheckinTimeRule ¶
type CheckinTimeSection ¶
type CheckinTimeSection struct { TimeID int64 `json:"time_id"` WorkSec int `json:"work_sec"` OffWorkSec int `json:"off_work_sec"` RemindWorkSec int `json:"remind_work_sec"` RemindOffWorkSec int `json:"remind_off_work_sec"` RestBeginTime int `json:"rest_begin_time"` RestEndTime int `json:"rest_end_time"` AllowRest bool `json:"allow_rest"` }
type CheckinWifiMac ¶
type ContactConfig ¶
type ContactDepartment ¶
type ContactMember ¶
type ControlConfig ¶
type ControlConfig struct { Date *DateConfig `json:"date,omitempty"` Selector *SelectorConfig `json:"selector,omitempty"` Table *TableConfig `json:"table,omitempty"` Attendance *AttendanceConfig `json:"attendance,omitempty"` VacationList *VacationConfig `json:"vacation_list,omitempty"` }
type ControlProperty ¶
type ControlProperty struct { Control ControlType `json:"control"` ID string `json:"id"` Title []*DisplayText `json:"title"` Placeholder []*DisplayText `json:"placeholder"` Require int `json:"require"` UnPrint int `json:"un_print"` }
type ControlType ¶
type ControlType string
const ( ControlText ControlType = "Text" ControlTextarea ControlType = "Textarea" ControlNumber ControlType = "Number" ControlMoney ControlType = "Money" ControlDate ControlType = "Date" ControlSelector ControlType = "Selector" ControlContact ControlType = "Contact" ControlTips ControlType = "Tips" ControlFile ControlType = "File" ControlTable ControlType = "Table" ControlAttendance ControlType = "Attendance" ControlVacation ControlType = "Vacation" ControlDateRange ControlType = "DateRange" ControlLocation ControlType = "Location" ControlFormula ControlType = "Formula" ControlSchoolContact ControlType = "SchoolContact" ControlPunchCorrection ControlType = "PunchCorrection" ControlRelatedApproval ControlType = "RelatedApproval" )
type ControlValue ¶
type ControlValue struct { Text string `json:"text,omitempty"` NewNumber string `json:"new_number,omitempty"` NewMoney string `json:"new_money,omitempty"` Tips interface{} `json:"tips,omitempty"` Date *DateValue `json:"date,omitempty"` Seletor *SelectorValue `json:"seletor,omitempty"` Members []*ContactMember `json:"members,omitempty"` Departments []*ContactDepartment `json:"departments,omitempty"` Files []*FileValue `json:"files,omitempty"` Children []*TableValue `json:"children,omitempty"` StatField interface{} `json:"stat_field,omitempty"` SumField interface{} `json:"sum_field,omitempty"` Students []*SchoolContactStudent `json:"students,omitempty"` Classes []*SchoolContactClass `json:"classes,omitempty"` DateRange *DateRangeValue `json:"date_range,omitempty"` Location *LocationValue `json:"location,omitempty"` Formula *FormulaValue `json:"formula,omitempty"` Vacation *VacationValue `json:"vacation,omitempty"` Attendance *AttendanceValue `json:"attendance,omitempty"` PunchCorrection *PunchCorrectionValue `json:"punch_correction,omitempty"` RelatedApproval []*RelatedApprovalValue `json:"related_approval,omitempty"` }
type Coordinate ¶
type CorpCheckinOption ¶
type CorpCheckinOption struct { GroupType int `json:"grouptype"` GroupID int64 `json:"groupid"` GroupName string `json:"groupname"` CheckinDate []*CheckinDate `json:"checkindate"` SpeWorkdays []*CheckinSpeDay `json:"spe_workdays"` SpeOffDays []*CheckinSpeDay `json:"spe_offdays"` SyncHolidays bool `json:"sync_holidays"` NeedPhoto bool `json:"need_photo"` WifiMacInfos []*CheckinWifiMac `json:"wifimac_infos"` NoteCanUseLocalPic bool `json:"note_can_use_local_pic"` AllowCheckinOffWorkday bool `json:"allow_checkin_offworkday"` AllowApplyOffWorkday bool `json:"allow_apply_offworkday"` LocInfos []*CheckinLoc `json:"loc_infos"` Range *CheckinRange `json:"range"` CreateTime int64 `json:"create_time"` WhiteUsers []string `json:"white_users"` Type int `json:"type"` ReporterInfo *CheckinReporter `json:"reporterinfo"` OtInfo *CheckinOt `json:"ot_info"` AllowApplyBKCnt int `json:"allow_apply_bk_cnt"` OptionOutRange int `json:"option_out_range"` CreateUserID string `json:"create_userid"` UseFaceDetect bool `json:"use_face_detect"` AllowApplyBKDayLimit int `json:"allow_apply_bk_day_limit"` UpdateUserID string `json:"update_userid"` ScheduleList []*OptionSchedule `json:"schedulelist"` OffWorkIntervalTime int `json:"offwork_interval_time"` }
type DateConfig ¶
type DateConfig struct {
Type string `json:"type"` // 时间展示类型:day-日期;hour-日期+时间
}
type DateRangeValue ¶
type DisplayText ¶
type FormulaValue ¶
type FormulaValue struct {
Value string `json:"value"`
}
type HardwareCheckinData ¶
type JournalLeader ¶
type JournalLeader struct {
Level int64 `json:"level"`
}
type JournalParty ¶
type JournalParty struct {
OpenPartyID string `json:"open_partyid"`
}
type JournalRange ¶
type JournalRange struct { UserList []*JournalUser `json:"user_list"` PartyList []*JournalParty `json:"party_list"` TagList []*JournalTag `json:"tag_list"` }
type JournalReceivers ¶
type JournalReceivers struct { UserList []*JournalUser `json:"user_list"` TagList []*JournalTag `json:"tag_list"` LeaderList []*JournalLeader `json:"leader_list"` }
type JournalRecordComment ¶
type JournalRecordDetail ¶
type JournalRecordDetail struct { JournalUUID string `json:"journal_uuid"` TemplateName string `json:"template_name"` ReportTime int64 `json:"report_time"` Submitter *OAUser `json:"submitter"` Receivers []*OAUser `json:"receivers"` ReadedReceivers []*OAUser `json:"readed_receivers"` ApplyData *ApplyData `json:"apply_data"` Comments []*JournalRecordComment `json:"comments"` }
type JournalReport ¶
type JournalReport struct { User *OAUser `json:"user"` ItemList []*JournalReportItem `json:"itemlist"` }
type JournalReportItem ¶
type JournalStat ¶
type JournalStat struct { TemplateID string `json:"template_id"` TemplateName string `json:"template_name"` ReportRange *JournalRange `json:"report_range"` WhiteRange *JournalRange `json:"white_range"` Receivers *JournalReceivers `json:"receivers"` CycleBeginTime int64 `json:"cycle_begin_time"` CycleEndTime int64 `json:"cycle_end_time"` StatBeginTime int64 `json:"stat_begin_time"` StatEndTime int64 `json:"stat_end_time"` ReportList []*JournalReport `json:"report_list"` UnReportList []*JournalReport `json:"unreport_list"` ReportType int `json:"report_type"` }
type JournalTag ¶
type JournalTag struct {
OpenTagID string `json:"open_tagid"`
}
type JournalUser ¶
type JournalUser struct {
UserID string `json:"userid"`
}
type LocationValue ¶
type MeetingRoom ¶
type MeetingRoom struct { MeetingRoomID int64 `json:"meetingroom_id"` Name string `json:"name"` Capacity int `json:"capacity"` City string `json:"city"` Building string `json:"building"` Floor string `json:"floor"` Equipment []int64 `json:"equipment"` Coordinate *Coordinate `json:"coordinate"` NeedApproval int `json:"need_approval"` }
type MeetingRoomBookingInfo ¶
type MeetingRoomBookingInfo struct { MeetingRoomID int64 `json:"meetingroom_id"` Schedule []*MeetingRoomBookingSchedule `json:"schedule"` }
type OpenApprovalData ¶
type OpenApprovalData struct { ThirdNO string `json:"ThirdNo"` OpenTemplateID string `json:"OpenTemplateId"` OpenSPName string `json:"OpenSpName"` OpenSPStatus int `json:"OpenSpstatus"` ApplyTime int64 `json:"ApplyTime"` ApplyUsername string `json:"ApplyUsername"` ApplyUserParty string `json:"ApplyUserParty"` ApplyUserImage string `json:"ApplyUserImage"` ApplyUserID string `json:"ApplyUserId"` ApprovalNodes *ApprovalNodes `json:"ApprovalNodes"` NotifyNodes *ApprovalNotifyNodes `json:"NotifyNodes"` ApproverStep int `json:"ApproverStep"` }
type OptionSchedule ¶
type OptionSchedule struct { ScheduleID int64 `json:"schedule_id"` ScheduleName string `json:"schedule_name"` TimeSection []*CheckinTimeSection `json:"time_section"` LimitAheadTime int `json:"limit_aheadtime"` NoNeedOffWork bool `json:"noneed_offwork"` LimitOffTime int `json:"limit_offtime"` FlexOnDutyTime int `json:"flex_on_duty_time"` FlexOffDutyTime int `json:"flex_off_duty_time"` AllowFlex bool `json:"allow_flex"` LateRule *CheckinLateRule `json:"late_rule"` MaxAllowArriveEarly int `json:"max_allow_arrive_early"` MaxAllowArriveLate int `json:"max_allow_arrive_late"` }
type ParamsApplyEvent ¶
type ParamsApplyEvent struct { CreatorUserID string `json:"creator_userid"` TemplateID string `json:"template_id"` UseTemplateApprover int `json:"use_template_approver"` ChooseDepartment int64 `json:"choose_department,omitempty"` Process Process `json:"process"` ApplyData *ApplyData `json:"apply_data"` SummaryList []*ApplySummaryInfo `json:"summary_list"` }
type ParamsApprovalDetail ¶
type ParamsApprovalDetail struct {
SPNO string `json:"sp_no"`
}
type ParamsApprovalInfo ¶
type ParamsCheckinData ¶
type ParamsCheckinDayData ¶
type ParamsCheckinMonthData ¶
type ParamsCheckinOption ¶
type ParamsCheckinScheduleListSet ¶
type ParamsCheckinScheduleListSet struct { GroupID int64 `json:"groupid"` YearMonth int `json:"yearmonth"` Items []*ScheduleListItem `json:"items"` }
type ParamsJournalRecordDetail ¶
type ParamsJournalRecordDetail struct {
JournalUUID string `json:"journaluuid"`
}
type ParamsJournalRecordList ¶
type ParamsJournalStatList ¶
type ParamsMeetingRoomAdd ¶
type ParamsMeetingRoomAdd struct { Name string `json:"name"` Capacity int `json:"capacity"` City string `json:"city,omitempty"` Building string `json:"building,omitempty"` Floor string `json:"floor,omitempty"` Equipment []int64 `json:"equipment,omitempty"` Coordinate *Coordinate `json:"coordinate,omitempty"` }
type ParamsMeetingRoomBook ¶
type ParamsMeetingRoomDelete ¶
type ParamsMeetingRoomDelete struct {
MeetingRoomID int64 `json:"meetingroom_id"`
}
type ParamsMeetingRoomEdit ¶
type ParamsMeetingRoomEdit struct { MeetingRoomID int64 `json:"meetingroom_id"` Name string `json:"name,omitempty"` Capacity int `json:"capacity,omitempty"` City string `json:"city,omitempty"` Building string `json:"building,omitempty"` Floor string `json:"floor,omitempty"` Equipment []int64 `json:"equipment,omitempty"` Coordinate *Coordinate `json:"coordinate,omitempty"` }
type ParamsMeetingRoomList ¶
type ParamsOneUserQuotaSet ¶
type ParamsOpenApprovalData ¶
type ParamsOpenApprovalData struct {
ThirdNO string `json:"thirdNo"`
}
type ParamsPstnccCall ¶
type ParamsPstnccCall struct {
CalleeUserID []string `json:"callee_userid"`
}
type ParamsPstnccStates ¶
type ParamsTemplateDetail ¶
type ParamsTemplateDetail struct {
TemplateID string `json:"template_id"`
}
type ParamsUserVacationQuota ¶
type ParamsUserVacationQuota struct {
UserID string `json:"userid"`
}
type PstnccState ¶
type PunchCorrectionValue ¶
type RelatedApprovalValue ¶
type RelatedApprovalValue struct { TemplateNames []*DisplayText `json:"template_names"` SPStatus int `json:"sp_status"` Name string `json:"name"` CreateTime int64 `json:"create_time"` SPNO string `json:"sp_no"` }
type ResultApplyEvent ¶
type ResultApplyEvent struct {
SPNO string `json:"sp_no"`
}
type ResultApprovalDetail ¶
type ResultApprovalDetail struct {
Info *ApprovalDetail `json:"info"`
}
type ResultApprovalInfo ¶
type ResultApprovalInfo struct {
SPNOList []string `json:"sp_no_list"`
}
type ResultCheckinData ¶
type ResultCheckinData struct {
CheckinData []*CheckinData `json:"checkindata"`
}
type ResultCheckinDayData ¶
type ResultCheckinDayData struct {
Datas []*CheckinDayData `json:"datas"`
}
type ResultCheckinMonthData ¶
type ResultCheckinMonthData struct {
Datas []*CheckinMonthData `json:"datas"`
}
type ResultCheckinOption ¶
type ResultCheckinOption struct {
Info []*CheckinOption `json:"info"`
}
type ResultCheckinScheduleListGet ¶
type ResultCheckinScheduleListGet struct {
ScheduleList []*CheckinSchedule `json:"schedule_list"`
}
type ResultCorpCheckinOption ¶
type ResultCorpCheckinOption struct {
Group []*CorpCheckinOption `json:"group"`
}
type ResultCorpVacationConf ¶
type ResultCorpVacationConf struct {
Lists []*VacationConf `json:"lists"`
}
type ResultHardwareCheckinData ¶
type ResultHardwareCheckinData struct {
CheckinData []*HardwareCheckinData
}
type ResultJournalRecordDetail ¶
type ResultJournalRecordDetail struct {
Info *JournalRecordDetail `json:"info"`
}
type ResultJournalRecordList ¶
type ResultJournalStatList ¶
type ResultJournalStatList struct {
StatList []*JournalStat `json:"stat_list"`
}
type ResultMeetingRoomAdd ¶
type ResultMeetingRoomAdd struct {
MeetingRoomID int64 `json:"meetingroom_id"`
}
type ResultMeetingRoomBook ¶
type ResultMeetingRoomBookingInfo ¶
type ResultMeetingRoomBookingInfo struct {
BookingList []*MeetingRoomBookingInfo `json:"booking_list"`
}
type ResultMeetingRoomList ¶
type ResultMeetingRoomList struct {
MeetingRoomList []*MeetingRoom `json:"meetingroom_list"`
}
type ResultOpenApprovalData ¶
type ResultOpenApprovalData struct {
Data *OpenApprovalData `json:"data"`
}
type ResultPstnccCall ¶
type ResultPstnccCall struct {
States []*PstnccState `json:"states"`
}
type ResultPstnccStates ¶
type ResultTemplateDetail ¶
type ResultTemplateDetail struct { TemplateNames []*DisplayText `json:"template_names"` TemplateContent *TemplateContent `json:"template_content"` }
type ResultUserVacationQuota ¶
type ResultUserVacationQuota struct {
Lists []*VacationQuota `json:"lists"`
}
type Schedule ¶
type Schedule struct {
ScheduleList []*ScheduleData `json:"scheduleList"`
}
type ScheduleData ¶
type ScheduleData struct { Day int `json:"day"` ScheduleInfo *ScheduleInfo `json:"schedule_info"` }
type ScheduleInfo ¶
type ScheduleInfo struct { ScheduleID int64 `json:"schedule_id"` ScheduleName string `json:"schedule_name"` TimeSection []*ScheduleTimeSection `json:"time_section"` }
type ScheduleListItem ¶
type ScheduleTimeSection ¶
type SchoolContactClass ¶
type SchoolContactClass struct {
Name string `json:"name"`
}
type SchoolContactStudent ¶
type SchoolContactStudent struct {
Name string `json:"name"`
}
type SelectorConfig ¶
type SelectorConfig struct { Type string // 选择类型:single-单选;multi-多选 Options []*SelectorOption }
type SelectorOption ¶
type SelectorOption struct { Key string `json:"key"` Value []*DisplayText `json:"value"` }
type SelectorValue ¶
type SelectorValue struct { Type string Options []*SelectorOption }
type TableChildConfig ¶
type TableChildConfig struct {
Property *ControlProperty `json:"property"`
}
type TableChildValue ¶
type TableChildValue struct { Control ControlType `json:"control"` ID string `json:"id"` Title []*DisplayText `json:"title"` Value *ControlValue `json:"value"` }
type TableConfig ¶
type TableConfig struct { Children []*TableChildConfig `json:"children"` StatField interface{} `json:"stat_field"` }
type TableValue ¶
type TableValue struct {
List []*TableChildValue `json:"list"`
}
type TemplateContent ¶
type TemplateContent struct {
Controls []*TemplateControl `json:"controls"`
}
type TemplateControl ¶
type TemplateControl struct { Property *ControlProperty `json:"property"` Config *ControlConfig `json:"config"` }
type VacationConf ¶
type VacationConfig ¶
type VacationConfig struct {
Item []*VacationConfigItem `json:"item"`
}
type VacationConfigItem ¶
type VacationConfigItem struct { ID int `json:"id"` Name []*DisplayText `json:"name"` }
type VacationQuota ¶
type VacationQuotaAttr ¶
type VacationValue ¶
type VacationValue struct { Selector *SelectorValue `json:"selector"` Attendance *AttendanceValue `json:"attendance"` }