vo

package
v0.0.0-...-a9d1e40 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AclScope

type AclScope struct {
	Type   string `json:"type"` //user(用户)
	UserId string `json:"user_id"`
}

type ActionButton

type ActionButton struct {
	Tag string `json:"tag"`

	Text     CardElementText        `json:"text"`
	Url      string                 `json:"url,omitempty"`
	MultiUrl *CardElementUrl        `json:"multi_url"`
	Type     string                 `json:"type,omitempty"`
	Value    map[string]interface{} `json:"value,omitempty"`
	Confirm  *CardElementConfirm    `json:"confirm,omitempty"`
}

type ActionDatePicker

type ActionDatePicker struct {
	Tag string `json:"tag"`

	InitialDate     string                 `json:"initial_date,omitempty"`
	InitialTime     string                 `json:"initial_time,omitempty"`
	InitialDatetime string                 `json:"initial_datetime,omitempty"`
	Placeholder     *CardElementText       `json:"placeholder,omitempty"`
	Value           map[string]interface{} `json:"value,omitempty"`
	Confirm         *CardElementConfirm    `json:"confirm,omitempty"`
}

type ActionOverflow

type ActionOverflow struct {
	Tag string `json:"tag"`

	Options []CardElementOption    `json:"options"`
	Value   map[string]interface{} `json:"value,omitempty"`
	Confirm *CardElementConfirm    `json:"confirm,omitempty"`
}

type ActionSelectMenu

type ActionSelectMenu struct {
	Tag string `json:"tag"`

	Placeholder   *CardElementText       `json:"placeholder,omitempty"`
	InitialOption string                 `json:"initial_option,omitempty"`
	Options       []CardElementOption    `json:"options"`
	Value         map[string]interface{} `json:"value,omitempty"`
	Confirm       *CardElementConfirm    `json:"confirm,omitempty"`
}

type AddCalendarAclRespData

type AddCalendarAclRespData struct {
	Role  string   `json:"role"`
	AclId string   `json:"acl_id"`
	Scope AclScope `json:"scope"`
}

type AddCalendarAclV4Req

type AddCalendarAclV4Req struct {
	Role  string   `json:"role"` //unknown(未知),free_busy_reader(游客),reader(订阅者),writer(编辑者),owner(管理员)
	Scope AclScope `json:"scope"`
}

type AddCalendarAclV4Resp

type AddCalendarAclV4Resp struct {
	CommonVo
	Data AddCalendarAclRespData `json:"data"`
}

type AddCalendarAttendeesAclReq

type AddCalendarAttendeesAclReq struct {
	Role  string        `json:"role"`
	Scope CalendarScope `json:"scope"`
}

type AddCalendarEventAttendeesDataV4

type AddCalendarEventAttendeesDataV4 struct {
	Attendees []AttendeesV4 `json:"attendees"`
}

type AddCalendarEventAttendeesV4Req

type AddCalendarEventAttendeesV4Req struct {
	Attendees []AttendeesV4 `json:"attendees"`
}

type AddCalendarEventAttendeesV4Resp

type AddCalendarEventAttendeesV4Resp struct {
	CommonVo
	Data AddCalendarEventAttendeesDataV4 `json:"data"`
}

type AdminUserData

type AdminUserData struct {
	OpenId  string `json:"open_id"`
	UserId  string `json:"user_id"`
	UnionId string `json:"union_id"`
}

type AdminUserListResp

type AdminUserListResp struct {
	CommonVo
	Data AdminUserListRespData `json:"data"`
}

type AdminUserListRespData

type AdminUserListRespData struct {
	UserList []AdminUserData `json:"user_list"`
}

type AppAccessTokenInternalRespVo

type AppAccessTokenInternalRespVo struct {
	CommonVo
	TenantAccessToken string `json:"tenant_access_token"`
	AppAccessToken    string `json:"app_access_token"`
	Expire            int64  `json:"expire"`
}

type AppAccessTokenRespVo

type AppAccessTokenRespVo struct {
	CommonVo
	AppAccessToken string `json:"app_access_token"`
	Expire         int64  `json:"expire"`
}

type ApplyScopesResp

type ApplyScopesResp struct {
	CommonVo
	Data ApplyScopesRespData `json:"data"`
}

type ApplyScopesRespData

type ApplyScopesRespData struct {
}

type Attendees

type Attendees struct {
	OpenId      string `json:"open_id,omitempty"`
	EmployeeId  string `json:"employee_id,omitempty"`
	DisplayName string `json:"display_name,omitempty"`
	Optional    bool   `json:"optional,omitempty"`
}

type AttendeesResp

type AttendeesResp struct {
	Attendees
	Status string `json:"status"`
}

type AttendeesV4

type AttendeesV4 struct {
	Type        string `json:"type"`
	IsOptional  bool   `json:"is_optional"`
	UserId      string `json:"user_id"`
	AttendeeId  string `json:"attendee_id"`
	RsvpStatus  string `json:"rsvp_status"`
	IsOrganizer bool   `json:"is_organizer"`
	IsExternal  bool   `json:"is_external"`
	DisplayName string `json:"display_name"`
}

type AuthenAccessTokenData

type AuthenAccessTokenData struct {
	AccessToken      string `json:"access_token"`
	TokenType        string `json:"token_type"`
	ExpiresIn        int64  `json:"expires_in"`
	Name             string `json:"name"`
	EnName           string `json:"en_name"`
	AvatarUrl        string `json:"avatar_url"`
	AvatarThumb      string `json:"avatar_thumb"`
	AvatarMiddle     string `json:"avatar_middle"`
	AvatarBig        string `json:"avatar_big"`
	OpenId           string `json:"open_id"`
	Email            string `json:"email"`
	UserId           string `json:"user_id"`
	Mobile           string `json:"mobile"`
	TenantKey        string `json:"tenant_key"`
	RefreshExpiresIn int64  `json:"refresh_expires_in"`
	RefreshToken     string `json:"refresh_token"`
}

type AuthenAccessTokenResp

type AuthenAccessTokenResp struct {
	CommonVo
	Data AuthenAccessTokenData `json:"data"`
}

type BatchGetIdData

type BatchGetIdData struct {
	EmailUsers      map[string][]SimpleIdInfo `json:"email_users"`
	EmailsNotExist  []string                  `json:"emails_not_exist"`
	MobileUsers     map[string][]SimpleIdInfo `json:"mobile_users"`
	MobilesNotExist []string                  `json:"mobiles_not_exist"`
}

type BatchGetIdResp

type BatchGetIdResp struct {
	CommonVo
	Data BatchGetIdData `json:"data"`
}

type BatchMsgVo

type BatchMsgVo struct {
	DepartmentIds []string `json:"department_ids"`
	OpenIds       []string `json:"open_ids"`
	UserIds       []string `json:"user_ids"`
	MsgType       string   `json:"msg_type"`

	Card    *Card       `json:"card,omitempty"`
	Content *MsgContent `json:"content,omitempty"`
}

type Calendar

type Calendar struct {
	Id                string `json:"id"`
	Summary           string `json:"summary"`
	Description       string `json:"description"`
	IsPrivate         bool   `json:"is_private"`
	DefaultAccessRole string `json:"default_access_role"`
}

type CalendarAttendeesAcl

type CalendarAttendeesAcl struct {
	Role  string        `json:"role"`
	Scope CalendarScope `json:"scope"`
}

type CalendarEvent

type CalendarEvent struct {
	Id          string      `json:"id"`
	Summary     string      `json:"summary"`
	Description string      `json:"description"`
	Start       TimeFormat  `json:"start"`
	End         TimeFormat  `json:"end"`
	Attendees   []Attendees `json:"attendees"`
	Visibility  string      `json:"visibility"`
}

type CalendarEventDataV4

type CalendarEventDataV4 struct {
	EventId         string                  `json:"event_id"`
	Summary         string                  `json:"summary"`
	Description     string                  `json:"description"`
	StartTime       CalendarEventTime       `json:"start_time"`
	EndTime         CalendarEventTime       `json:"end_time"`
	Vchat           Vchat                   `json:"vchat"`
	Visibility      string                  `json:"visibility"`
	AttendeeAbility string                  `json:"attendee_ability"`
	FreeBusyStatus  string                  `json:"free_busy_status"`
	Location        Location                `json:"location"`
	Color           int32                   `json:"color"`
	Reminders       []CalendarEventReminder `json:"reminders"`
	Recurrence      string                  `json:"recurrence"`
	Schemas         []CalendarEventSchema   `json:"schemas"`
}

type CalendarEventInfoV4Resp

type CalendarEventInfoV4Resp struct {
	CommonVo
	Data CalendarEventV4 `json:"data"`
}

type CalendarEventListResp

type CalendarEventListResp struct {
	CommonVo
	PageToken string          `json:"page_token"`
	SyncToken string          `json:"sync_token"`
	Data      []CalendarEvent `json:"data"`
}

type CalendarEventReminder

type CalendarEventReminder struct {
	Minutes int64 `json:"minutes"`
}

type CalendarEventSchema

type CalendarEventSchema struct {
	UiName   string `json:"ui_name"`
	UiStatus string `json:"ui_status"`
}

type CalendarEventTime

type CalendarEventTime struct {
	Date      string `json:"date"`
	Timestamp string `json:"timestamp"`
	Timezone  string `json:"timezone"`
}

type CalendarEventV4

type CalendarEventV4 struct {
	Event CalendarEventDataV4 `json:"event"`
}

type CalendarList

type CalendarList struct {
	Items []Calendar `json:"items"`
}

type CalendarListResp

type CalendarListResp struct {
	CommonVo
	PageToken string       `json:"page_token"`
	SyncToken string       `json:"sync_token"`
	Data      CalendarList `json:"data"`
}

type CalendarScope

type CalendarScope struct {
	Type       string `json:"type"`
	OpenId     string `json:"open_id,omitempty"`
	EmployeeId string `json:"employee_id,omitempty"`
}

type CalendarV4

type CalendarV4 struct {
	Calendar CalendarV4Data `json:"calendar"`
}

type CalendarV4Data

type CalendarV4Data struct {
	Description  string `json:"description"`
	Type         string `json:"type"`
	Summary      string `json:"summary"`
	Permissions  string `json:"permissions"`
	Color        int32  `json:"color"`
	SummaryAlias string `json:"summary_alias"`
	IsDeleted    bool   `json:"is_deleted"`
	Role         string `json:"role"`
	IsThirdParty bool   `json:"is_third_party"`
	CalendarId   string `json:"calendar_id"`
}

type Card

type Card struct {
	Config       *CardConfig     `json:"config,omitempty"`
	CardLink     *CardElementUrl `json:"card_link,omitempty"`
	Header       *CardHeader     `json:"header,omitempty"`
	Elements     []interface{}   `json:"elements"`
	I18nElements *I18nElement    `json:"i18n_elements,omitempty"`
}

机器人消息Card字段数据格式定义

type CardConfig

type CardConfig struct {
	WideScreenMode bool `json:"wide_screen_mode"`
	EnableForward  bool `json:"enable_forward"`
	UpdateMulti    bool `json:"update_multi"`
}

type CardElementAction

type CardElementAction struct {
	Tag  string           `json:"tag"`
	Text *CardElementText `json:"text,omitempty"`
	Type string           `json:"type"`
}

type CardElementActionModule

type CardElementActionModule struct {
	Tag     string        `json:"tag"`
	Layout  string        `json:"layout"`
	Actions []interface{} `json:"actions"`
}

type CardElementBrModule

type CardElementBrModule struct {
	Tag string `json:"tag"`
}

type CardElementConfirm

type CardElementConfirm struct {
	Title *CardHeaderTitle `json:"title,omitempty"`
	Text  *CardElementText `json:"text,omitempty"`
}

type CardElementContentModule

type CardElementContentModule struct {
	Tag string `json:"tag"`

	Text   *CardElementText   `json:"text"`
	Fields []CardElementField `json:"fields"`
	Extra  *CardElementExtra  `json:"extra,omitempty"`
}

type CardElementExtra

type CardElementExtra struct {
	Tag    string           `json:"tag"`
	ImgKey string           `json:"img_key"`
	Alt    *CardElementText `json:"alt,omitempty"`
}

type CardElementField

type CardElementField struct {
	IsShort bool            `json:"is_short"`
	Text    CardElementText `json:"text,omitempty"`
}

type CardElementImageModule

type CardElementImageModule struct {
	Tag string `json:"tag"`

	CustomWidth  int              `json:"custom_width"`
	CompactWidth bool             `json:"compact_width"`
	Mode         string           `json:"mode"`
	Preview      bool             `json:"preview"`
	ImgKey       string           `json:"img_key"`
	Alt          CardElementText  `json:"alt"`
	Title        *CardElementText `json:"title,omitempty"`
}

type CardElementNote

type CardElementNote struct {
	Tag      string        `json:"tag"`
	Elements []interface{} `json:"elements"`
}

type CardElementOption

type CardElementOption struct {
	Text     *CardElementText `json:"text,omitempty"`
	Value    string           `json:"value"`
	Url      string           `json:"url,omitempty"`
	MultiUrl *CardElementUrl  `json:"multi_url,omitempty"`
}

type CardElementText

type CardElementText struct {
	Tag     string                    `json:"tag"`
	Content string                    `json:"content"`
	Lines   int                       `json:"lines,omitempty"`
	Href    map[string]CardElementUrl `json:"href,omitempty"`
}

type CardElementTextAlt

type CardElementTextAlt struct {
	Tag     string                    `json:"tag"`
	Content string                    `json:"content"`
	Lines   int                       `json:"lines,omitempty"`
	Href    map[string]CardElementUrl `json:"href,omitempty"`
}

type CardElementUrl

type CardElementUrl struct {
	Url        string `json:"url"`
	AndroidUrl string `json:"android_url"`
	IosUrl     string `json:"ios_url"`
	PcUrl      string `json:"pc_url"`
}

type CardHeader

type CardHeader struct {
	Title    *CardHeaderTitle `json:"title,omitempty"`
	Template string           `json:"template"`
}

type CardHeaderTitle

type CardHeaderTitle struct {
	Tag     string    `json:"tag"`
	Content string    `json:"content"`
	Lines   int       `json:"lines,omitempty"`
	I18n    *CardI18n `json:"i18n,omitempty"`
}

type CardI18n

type CardI18n struct {
	ZhCn string `json:"zh_cn"`
	EnUs string `json:"en_us"`
	JaJp string `json:"ja_jp"`
}

type ChatGroupData

type ChatGroupData struct {
	ChatId  string       `json:"chat_id"`
	HasMore bool         `json:"has_more"`
	Members []MemberData `json:"members"`
}

type ChatInfoData

type ChatInfoData struct {
	Avatar      string            `json:"avatar"`
	ChatId      string            `json:"chat_id"`
	Description string            `json:"description"`
	I18nNames   map[string]string `json:"i18n_names"`
	Members     []ChatMemberData  `json:"members"`
	Name        string            `json:"name"`
	Type        string            `json:"type"`
	OwnerOpenId string            `json:"owner_open_id"`
	OwnerUserId string            `json:"owner_user_id"`
}

type ChatInfoRespVo

type ChatInfoRespVo struct {
	CommonVo
	Data ChatInfoData `json:"data"`
}

type ChatMemberData

type ChatMemberData struct {
	OpenId string `json:"open_id"`
	UserId string `json:"user_id"`
}

type ChatMembersRespVo

type ChatMembersRespVo struct {
	CommonVo
	Data *ChatGroupData `json:"data"`
}

type CheckUserData

type CheckUserData struct {
	Status          string `json:"status"`
	PricePlanId     string `json:"price_plan_id"`
	IsTrial         bool   `json:"is_trial"`
	ServiceStopTime string `json:"service_stop_time"`
}

type CheckUserReq

type CheckUserReq struct {
	OpenId string `json:"open_id"`
	UserId string `json:"user_id"`
}

type CheckUserResp

type CheckUserResp struct {
	CommonVo
	Data CheckUserData `json:"data"`
}

type CommonCalendarEventResp

type CommonCalendarEventResp struct {
	CommonVo
	Data CalendarEvent `json:"data"`
}

type CommonCalendarResp

type CommonCalendarResp struct {
	CommonVo
	Data Calendar `json:"data"`
}

type CommonCalendarV4Resp

type CommonCalendarV4Resp struct {
	CommonVo
	Data CalendarV4 `json:"data"`
}

type CommonVo

type CommonVo struct {
	Code int    `json:"code"`
	Msg  string `json:"msg"`
}

type CreateCalendarEventReq

type CreateCalendarEventReq struct {
	Summary     string       `json:"summary"`
	Description string       `json:"description,omitempty"`
	Start       TimeFormat   `json:"start"`
	End         TimeFormat   `json:"end"`
	Attendees   *[]Attendees `json:"attendees,omitempty"`
	Visibility  string       `json:"visibility,omitempty"`
}

type CreateCalendarEventV4Req

type CreateCalendarEventV4Req struct {
	Summary         string                  `json:"summary"`
	Description     string                  `json:"description"`
	StartTime       CalendarEventTime       `json:"start_time"`
	EndTime         CalendarEventTime       `json:"end_time"`
	Vchat           *Vchat                  `json:"vchat"`
	Visibility      *string                 `json:"visibility"`       //default(忙碌),public(公开),private(私密)
	AttendeeAbility *string                 `json:"attendee_ability"` //none,can_see_other,can_invite_others,can_modify_event
	FreeBusyStatus  *string                 `json:"free_busy_status"`
	Location        *Location               `json:"location"`
	Color           int32                   `json:"color"`
	Reminders       []CalendarEventReminder `json:"reminders"`
	Recurrence      string                  `json:"recurrence"`
	Schemas         []CalendarEventSchema   `json:"schemas"`
}

type CreateCalendarReq

type CreateCalendarReq struct {
	Summary           string `json:"summary"`
	Description       string `json:"description,omitempty"`
	IsPrivate         bool   `json:"is_private,omitempty"`
	DefaultAccessRole string `json:"default_access_role,omitempty"`
}

type CreateCalendarV4Req

type CreateCalendarV4Req struct {
	Summary      string `json:"summary"`
	Description  string `json:"description,omitempty"`
	Permissions  string `json:"permissions"`
	Color        int32  `json:"color"`
	SummaryAlias string `json:"summary_alias"`
}

type CreateChatData

type CreateChatData struct {
	ChatId         string   `json:"chat_id"`
	InvalidOpenIds []string `json:"invalid_open_ids"`
	InvalidUserIds []string `json:"invalid_user_ids"`
}

type CreateChatReqVo

type CreateChatReqVo struct {
	Name        string            `json:"name"`
	Description string            `json:"description"`
	OpenIds     []string          `json:"open_ids"`
	UserIds     []string          `json:"user_ids"`
	I18nNames   map[string]string `json:"i18n_names"`
}

type CreateChatRespVo

type CreateChatRespVo struct {
	CommonVo
	Data CreateChatData `json:"data"`
}

type CustomAttr

type CustomAttr struct {
	Id    string          `json:"id"`
	Type  string          `json:"type"`
	Value CustomAttrValue `json:"value"`
}

type CustomAttrValue

type CustomAttrValue struct {
	Url   string `json:"url"`
	PcUrl string `json:"pc_url"`
}

type DeleteCalendarEventAttendeesV4Req

type DeleteCalendarEventAttendeesV4Req struct {
	AttendeeIds []string `json:"attendee_ids"`
}

type DeleteCalendarV4Req

type DeleteCalendarV4Req struct {
	CalendarId string `json:"calendar_id"`
}

type DepartmentDetailInfo

type DepartmentDetailInfo struct {
	ChatId      string `json:"chat_id"`
	HasChild    bool   `json:"has_child"`
	Id          string `json:"id"`
	Leader      Leader `json:"leader"`
	MemberCount int    `json:"member_count"`
	Name        string `json:"name"`
	ParentId    string `json:"parent_id"`
	Status      int    `json:"status"`
}

type DepartmentDetailInfoVo

type DepartmentDetailInfoVo struct {
	Id               string `json:"id"`
	LeaderEmployeeId string `json:"leader_employee_id"`
	LeaderOpenId     string `json:"leader_open_id"`
	ChatId           string `json:"chat_id"`
	MemberCount      int    `json:"member_count"`
	Name             string `json:"name"`
	ParentId         string `json:"parent_id"`
	Status           int    `json:"status"`
}

type DepartmentRestInfoVo

type DepartmentRestInfoVo struct {
	Id                     string `json:"id"`
	Name                   string `json:"name"`
	ParentId               string `json:"parent_id"`
	OpenDepartmentID       string `json:"open_department_id"`
	ParentOpenDepartmentID string `json:"parent_open_department_id"`
}

type DocEntities

type DocEntities struct {
	DocsToken string `json:"docs_token"`
	DocsType  string `json:"docs_type"`
	Title     string `json:"title"`
	OwnerId   string `json:"owner_id"`
}

type DocMetaData

type DocMetaData struct {
	CreateDate     string `json:"create_date"`
	CreateTime     int64  `json:"create_time"`
	CreateUid      string `json:"create_uid"`
	CreateUserName string `json:"create_user_name"`
	DeleteFlag     int    `json:"delete_flag"`
	EditTime       int64  `json:"edit_time"`
	EditUserName   string `json:"edit_user_name"`
	IsExternal     bool   `json:"is_external"`
	IsPined        bool   `json:"is_pined"`
	IsStared       bool   `json:"is_stared"`
	ObjType        string `json:"obj_type"`
	OwnerId        string `json:"owner_id"`
	OwnerUserName  string `json:"owner_user_name"`
	ServerTime     int64  `json:"server_time"`
	TenantId       string `json:"tenant_id"`
	Title          string `json:"title"`
	Type           int    `json:"type"`
	Url            string `json:"url"`
}

type Entry

type Entry struct {
	Value string `json:"value"`
}

type GetCalendarAclListV4Data

type GetCalendarAclListV4Data struct {
	Acls      []AddCalendarAclRespData `json:"acls"`
	HasMore   bool                     `json:"has_more"`
	PageToken string                   `json:"page_token"`
}

type GetCalendarAclListV4Resp

type GetCalendarAclListV4Resp struct {
	CommonVo
	Data GetCalendarAclListV4Data `json:"data"`
}

type GetCalendarAttendeesResp

type GetCalendarAttendeesResp struct {
	CommonVo
	Data []CalendarAttendeesAcl `json:"data"`
}

type GetCalendarEventAttendeesDataV4

type GetCalendarEventAttendeesDataV4 struct {
	HasMore   bool          `json:"has_more"`
	PageToken string        `json:"page_token"`
	Items     []AttendeesV4 `json:"items"`
}

type GetCalendarEventAttendeesV4Resp

type GetCalendarEventAttendeesV4Resp struct {
	CommonVo
	Data GetCalendarEventAttendeesDataV4 `json:"data"`
}

type GetCalendarEventListV4

type GetCalendarEventListV4 struct {
	PageToken string                `json:"page_token"`
	SyncToken string                `json:"sync_token"`
	HasMore   bool                  `json:"has_more"`
	Items     []CalendarEventDataV4 `json:"items"`
}

type GetCalendarEventListV4Resp

type GetCalendarEventListV4Resp struct {
	CommonVo
	Data GetCalendarEventListV4 `json:"data"`
}

type GetCalendarListV4Req

type GetCalendarListV4Req struct {
	PageSize  int    `json:"page_size"`
	PageToken string `json:"page_token"`
	SyncToken string `json:"sync_token"`
}

type GetCalendarListV4Resp

type GetCalendarListV4Resp struct {
	CommonVo
	Data GetCalendarListV4RespData `json:"data"`
}

type GetCalendarListV4RespData

type GetCalendarListV4RespData struct {
	PageToken    string                                  `json:"page_token"`
	SyncToken    string                                  `json:"sync_token"`
	HasMore      bool                                    `json:"has_more"`
	CalendarList []GetCalendarListV4RespDataCalendarItem `json:"calendar_list"`
}

type GetCalendarListV4RespDataCalendarItem

type GetCalendarListV4RespDataCalendarItem struct {
	CalendarID  string `json:"calendar_id"`
	Color       int64  `json:"color"`
	Permissions string `json:"permissions"`
	Role        string `json:"role"`
	Summary     string `json:"summary"`
	Type        string `json:"type"`
}

type GetCalendarV4Req

type GetCalendarV4Req struct {
	CalendarId string `json:"calendar_id"`
}

type GetCalendarV4Resp

type GetCalendarV4Resp struct {
	CommonVo
	Data CalendarV4Data `json:"data"`
}

type GetDepartmentInfoBatchRespData

type GetDepartmentInfoBatchRespData struct {
	Departments []DepartmentDetailInfo `json:"departments"`
	Errors      []GetUserBatchError    `json:"errors"`
}

type GetDepartmentInfoBatchRespVo

type GetDepartmentInfoBatchRespVo struct {
	CommonVo
	Data GetDepartmentInfoBatchRespData `json:"data"`
}

type GetDepartmentInfoRespVo

type GetDepartmentInfoRespVo struct {
	CommonVo
	Data *GetDepartmentInfoRespVoData `json:"data"`
}

type GetDepartmentInfoRespVoData

type GetDepartmentInfoRespVoData struct {
	DepartmentInfo *DepartmentDetailInfoVo `json:"department_info"`
}

type GetDepartmentSimpleListRespVo

type GetDepartmentSimpleListRespVo struct {
	CommonVo
	Data *GetDepartmentSimpleListRespVoData `json:"data"`
}

type GetDepartmentSimpleListRespVoData

type GetDepartmentSimpleListRespVoData struct {
	HasMore         bool                   `json:"has_more"`
	PageToken       string                 `json:"page_token"`
	DepartmentInfos []DepartmentRestInfoVo `json:"department_infos"`
}

type GetDepartmentSimpleListV2RespVo

type GetDepartmentSimpleListV2RespVo struct {
	CommonVo
	Data *GetDepartmentSimpleListV2RespVoData `json:"data"`
}

type GetDepartmentSimpleListV2RespVoData

type GetDepartmentSimpleListV2RespVoData struct {
	HasMore         bool                   `json:"has_more"`
	PageToken       string                 `json:"page_token"`
	DepartmentInfos []DepartmentRestInfoVo `json:"departments"`
}

type GetDepartmentUserDetailListRespVo

type GetDepartmentUserDetailListRespVo struct {
	CommonVo
	Data *GetDepartmentUserDetailListRespVoData `json:"data"`
}

type GetDepartmentUserDetailListRespVoData

type GetDepartmentUserDetailListRespVoData struct {
	HasMore   bool             `json:"has_more"`
	UserInfos []UserDetailInfo `json:"user_infos"`
}

type GetDepartmentUserListRespVo

type GetDepartmentUserListRespVo struct {
	CommonVo
	Data *GetDepartmentUserListRespVoData `json:"data"`
}

type GetDepartmentUserListRespVoData

type GetDepartmentUserListRespVoData struct {
	HasMore  bool             `json:"has_more"`
	UserList []UserRestInfoVo `json:"user_list"`
}

type GetDepartmentUserListV2RespVo

type GetDepartmentUserListV2RespVo struct {
	CommonVo
	Data *GetDepartmentUserListV2RespVoData `json:"data"`
}

type GetDepartmentUserListV2RespVoData

type GetDepartmentUserListV2RespVoData struct {
	HasMore   bool             `json:"has_more"`
	PageToken string           `json:"page_token"`
	UserList  []UserRestInfoVo `json:"users"`
}

type GetDocMetaRespVo

type GetDocMetaRespVo struct {
	CommonVo
	Data DocMetaData `json:"data"`
}

type GetJsTicketData

type GetJsTicketData struct {
	Ticket   string `json:"ticket"`
	ExpireIn int    `json:"expire_in"`
}

type GetJsTicketResp

type GetJsTicketResp struct {
	CommonVo
	Data GetJsTicketData `json:"data"`
}

type GetOrderListData

type GetOrderListData struct {
	Total     int64       `json:"total"`
	HasMore   bool        `json:"has_more"`
	PageToken string      `json:"page_token"`
	OrderList []OrderInfo `json:"order_list"`
}

type GetOrderListReq

type GetOrderListReq struct {
	Status    *string `json:"status"`
	PageSize  int     `json:"page_size"`
	PageToken *string `json:"page_token"`
	TenantKey *string `json:"tenant_key"`
}

type GetOrderListResp

type GetOrderListResp struct {
	CommonVo
	Data GetOrderListData `json:"data"`
}

type GetScopeRespData

type GetScopeRespData struct {
	AuthedDepartments []string `json:"authed_departments"`
	AuthedEmployeeIds []string `json:"authed_employee_ids"`
	AuthedOpenIds     []string `json:"authed_open_ids"`
}

type GetScopeRespV2Data

type GetScopeRespV2Data struct {
	AuthedDepartments []string    `json:"authed_departments"`
	AuthedUsers       []ScopeUser `json:"authed_users"`
}

type GetScopeRespV2Vo

type GetScopeRespV2Vo struct {
	CommonVo
	Data *GetScopeRespV2Data `json:"data"`
}

type GetScopeRespVo

type GetScopeRespVo struct {
	CommonVo
	Data *GetScopeRespData `json:"data"`
}

type GetScopesResp

type GetScopesResp struct {
	CommonVo
	Data GetScopesRespData `json:"data"`
}

type GetScopesRespData

type GetScopesRespData struct {
	Scopes []GetScopesRespDataScopes `json:"scopes"`
}

type GetScopesRespDataScopes

type GetScopesRespDataScopes struct {
	ScopeName   string `json:"scope_name"`
	GrantStatus int    `json:"grant_status"`
}

type GetUserBatchError

type GetUserBatchError struct {
	Id   string `json:"id"`
	Code int    `json:"code"`
	Msg  string `json:"msg"`
}

type GetUserBatchGetRespVo

type GetUserBatchGetRespVo struct {
	CommonVo
	Data *GetUserBatchGetRespVoData `json:"data"`
}

type GetUserBatchGetRespVoData

type GetUserBatchGetRespVoData struct {
	UserInfos []UserDetailInfo `json:"user_infos"`
}

type GetUserBatchGetV2Resp

type GetUserBatchGetV2Resp struct {
	CommonVo
	Data GetUserBatchGetV2RespData `json:"data"`
}

type GetUserBatchGetV2RespData

type GetUserBatchGetV2RespData struct {
	HasMore   bool                `json:"has_more"`
	PageToken string              `json:"page_token"`
	Users     []UserDetailInfoV2  `json:"users"`
	Errors    []GetUserBatchError `json:"errors"`
}

type GetUsersV3Resp

type GetUsersV3Resp struct {
	CommonVo
	Data GetUsersV3RespData `json:"data"`
}

type GetUsersV3RespData

type GetUsersV3RespData struct {
	HasMore   bool               `json:"has_more"`
	PageToken string             `json:"page_token"`
	Items     []UserDetailInfoV3 `json:"items"`
}

type GroupData

type GroupData struct {
	Avatar      string `json:"avatar"`
	ChatId      string `json:"chat_id"`
	Description string `json:"description"`
	Name        string `json:"name"`
	OwnerOpenId string `json:"owner_open_id"`
	OwnerUserId string `json:"owner_user_id"`
}

type GroupListRespVo

type GroupListRespVo struct {
	CommonVo
	Data *UserGroupListData `json:"data"`
}

type I18nElement

type I18nElement struct {
	ZhCn []interface{} `json:"zh_cn"`
	EnUs []interface{} `json:"en_us"`
	JaJp []interface{} `json:"ja_jp"`
}

type ImChatInfoData

type ImChatInfoData struct {
	Avatar                 string      `json:"avatar"`
	Name                   string      `json:"name"`
	Description            string      `json:"description"`
	I18nElements           I18nElement `json:"i18n_elements,omitempty"`
	AddMemberPermission    string      `json:"add_member_permission"`
	ShareCardPermission    string      `json:"share_card_permission"`
	AtAllPermission        string      `json:"at_all_permission"`
	EditPermission         string      `json:"edit_permission"`
	OwnerIdType            string      `json:"owner_id_type"`
	OwnerId                string      `json:"owner_id"`
	ChatMode               string      `json:"chat_mode"`
	ChatType               string      `json:"chat_type"`
	ChatTag                string      `json:"chat_tag"`
	JoinMessageVisibility  string      `json:"join_message_visibility"`
	LeaveMessageVisibility string      `json:"leave_message_visibility"`
	MembershipApproval     string      `json:"membership_approval"`
	ModerationPermission   string      `json:"moderation_permission"`
	External               bool        `json:"external"`
	TenantKey              string      `json:"tenant_key"`
}

type ImChatInfoRespVo

type ImChatInfoRespVo struct {
	CommonVo
	Data ImChatInfoData `json:"data"`
}

type ImChatListData

type ImChatListData struct {
	Items     []SimpleChatInfo `json:"items"`
	PageToken string           `json:"page_token"`
	HasMore   bool             `json:"has_more"`
}

type ImChatListRespVo

type ImChatListRespVo struct {
	CommonVo
	Data ImChatListData `json:"data"`
}

type IsUserAdminResp

type IsUserAdminResp struct {
	CommonVo
	Data IsUserAdminRespData `json:"data"`
}

type IsUserAdminRespData

type IsUserAdminRespData struct {
	IsAppAdmin bool `json:"is_app_admin"`
}

type Leader

type Leader struct {
	OpenId       string `json:"open_id"`
	UserId       string `json:"user_id"`
	PositionCode string `json:"position_code"`
}

type Location

type Location struct {
	Name      string  `json:"name"`
	Address   string  `json:"address"`
	Latitude  float64 `json:"latitude"`
	Longitude float64 `json:"longitude"`
}

type MemberData

type MemberData struct {
	OpenId string `json:"open_id"`
	UserId string `json:"user_id"`
	Name   string `json:"name"`
}

type MsgContent

type MsgContent struct {
	Text        string   `json:"text"`
	ImageKey    string   `json:"image_key"`
	ShareChatId string   `json:"share_chat_id"`
	Post        *MsgPost `json:"post,omitempty"`
}

type MsgContentV1Text

type MsgContentV1Text struct {
	Text string `json:"text"`
}

type MsgPost

type MsgPost struct {
	ZhCn *MsgPostValue `json:"zh_cn,omitempty"`
	EnUs *MsgPostValue `json:"en_us,omitempty"`
	JaJp *MsgPostValue `json:"ja_jp,omitempty"`
}

type MsgPostContentA

type MsgPostContentA struct {
	Tag  string `json:"tag"`
	Text string `json:"text"`
	Href string `json:"href"`
}

type MsgPostContentAt

type MsgPostContentAt struct {
	Tag    string `json:"tag"`
	UserId string `json:"user_id"`
}

type MsgPostContentAtV1

type MsgPostContentAtV1 struct {
	Tag string `json:"tag"`
	// open_id | union_id | user_id
	UserId   string `json:"user_id"`
	UserName string `json:"user_name"`
}

type MsgPostContentImage

type MsgPostContentImage struct {
	Tag      string  `json:"tag"`
	ImageKey string  `json:"image_key"`
	Width    float64 `json:"width"`
	Height   float64 `json:"height"`
}

type MsgPostContentText

type MsgPostContentText struct {
	Tag      string `json:"tag"`
	UnEscape bool   `json:"un_escape"`
	Text     string `json:"text"`
}

type MsgPostValue

type MsgPostValue struct {
	Title   string      `json:"title"`
	Content interface{} `json:"content"`
}

type MsgResp

type MsgResp struct {
	CommonVo

	Data MsgRespData `json:"data"`
}

type MsgRespData

type MsgRespData struct {
	MessageId string `json:"message_id"`
}

type MsgVo

type MsgVo struct {
	OpenId      string `json:"open_id,omitempty"`
	UserId      string `json:"user_id,omitempty"`
	Email       string `json:"email,omitempty"`
	ChatId      string `json:"chat_id,omitempty"`
	MsgType     string `json:"msg_type"`
	RootId      string `json:"root_id,omitempty"`
	UpdateMulti bool   `json:"update_multi"`

	Card    *Card       `json:"card,omitempty"`
	Content *MsgContent `json:"content,omitempty"`
}

定义参照: https://open.feishu.cn/open-apis/message/v4/send/

type MsgVoV1

type MsgVoV1 struct {
	// open_id | user_id | union_id | email | chat_id
	ReceiveIdTyp string `json:"receive_id_type,omitempty"`
	// text | post | image | file | audio | media | sticker | interactive | share_chat | share_user
	MsgType string `json:"msg_type"`

	Content interface{} `json:"content,omitempty"`
}

type OAuth2AccessTokenReqVo

type OAuth2AccessTokenReqVo struct {
	AppId          string `json:"app_id"`
	AppSecret      string `json:"app_secret"`
	AppAccessToken string `json:"app_access_token"`
	GrantType      string `json:"grant_type"`
	Code           string `json:"code"`
	RefreshToken   string `json:"refresh_token"`
}

type OAuth2AccessTokenRespVo

type OAuth2AccessTokenRespVo struct {
	AccessToken  string `json:"access_token"`
	AvatarUrl    string `json:"avatar_url"`
	ExpiresIn    int64  `json:"expires_in"`
	Name         string `json:"name"`
	EnName       string `json:"en_name"`
	OpenId       string `json:"open_id"`
	TenantKey    string `json:"tenant_key"`
	RefreshToken string `json:"refresh_token"`
	TokenType    string `json:"token_type"`
	Code         int    `json:"code"`
	Message      string `json:"message"`
}

type OAuth2UserInfoRespVo

type OAuth2UserInfoRespVo struct {
	AvatarUrl  string `json:"AvatarUrl"`
	Name       string `json:"Name"`
	Email      string `json:"Email"`
	Status     int    `json:"Status"`
	EmployeeId string `json:"EmployeeId"`
	Mobile     string `json:"Mobile"`
}

type Order

type Order struct {
	DepartmentId    string `json:"department_id"`
	UserOrder       int    `json:"user_order"`
	DepartmentOrder int    `json:"department_order"`
}

type OrderInfo

type OrderInfo struct {
	OrderId       string `json:"order_id"`
	PricePlanId   string `json:"price_plan_id"`
	PricePlanType string `json:"price_plan_type"`
	Seats         int    `json:"seats"`
	BuyCount      int    `json:"buy_count"`
	CreateTime    string `json:"create_time"`
	PayTime       string `json:"pay_time"`
	Status        string `json:"status"`
	BuyType       string `json:"buy_type"`
	SrcOrderId    string `json:"src_order_id"`
	DstOrderId    string `json:"dst_order_id"`
	OrderPayPrice int64  `json:"order_pay_price"`
	TenantKey     string `json:"tenant_key"`
}

type OrderInfoData

type OrderInfoData struct {
	Order OrderInfo `json:"order"`
}

type OrderInfoResp

type OrderInfoResp struct {
	CommonVo
	Data OrderInfoData `json:"data"`
}

type OrgInfoData

type OrgInfoData struct {
	Tenant TenantData `json:"tenant"`
}

type OrgInfoResp

type OrgInfoResp struct {
	CommonVo
	Data OrgInfoData `json:"data"`
}

type Position

type Position struct {
	PositionCode string `json:"position_code"`
	PositionName string `json:"position_name"`
	DepartmentId string `json:"department_id"`
	Leader       Leader `json:"leader"`
	IsMajor      bool   `json:"is_major"`
}

type RefreshAccessTokenResp

type RefreshAccessTokenResp struct {
	CommonVo
	Data RefreshAccessTokenRespData `json:"data"`
}

type RefreshAccessTokenRespData

type RefreshAccessTokenRespData struct {
	AccessToken      string `json:"access_token"`
	AvatarUrl        string `json:"avatar_url"`
	ExpiresIn        int64  `json:"expires_in"`
	Name             string `json:"name"`
	EnName           string `json:"en_name"`
	OpenId           string `json:"open_id"`
	TenantKey        string `json:"tenant_key"`
	RefreshExpiresIn int64  `json:"refresh_expires_in"`
	RefreshToken     string `json:"refresh_token"`
	TokenType        string `json:"token_type"`
}

type Role

type Role struct {
	Id   string `json:"id"`
	Name string `json:"name"`
}

type RoleListResp

type RoleListResp struct {
	CommonVo
	Data RoleListRespData `json:"data"`
}

type RoleListRespData

type RoleListRespData struct {
	RoleList []Role `json:"role_list"`
}

type RoleMemberListResp

type RoleMemberListResp struct {
	CommonVo
	Data RoleMemberListRespData `json:"data"`
}

type RoleMemberListRespData

type RoleMemberListRespData struct {
	HasMore   bool             `json:"has_more"`
	PageToken string           `json:"page_token"`
	UserList  []UserRestInfoVo `json:"user_list"`
}

type ScopeUser

type ScopeUser struct {
	OpenId string `json:"open_id"`
	UserId string `json:"user_id"`
}

type SearchCalendarV4Req

type SearchCalendarV4Req struct {
	Query string `json:"query"`
}

type SearchCalendarV4Resp

type SearchCalendarV4Resp struct {
	CommonVo
	Data SearchCalendarV4RespData `data`
}

type SearchCalendarV4RespData

type SearchCalendarV4RespData struct {
	PageToken string                         `json:"page_token"`
	Items     []SearchCalendarV4RespDataItem `json:"items"`
}

type SearchCalendarV4RespDataItem

type SearchCalendarV4RespDataItem struct {
	CalendarID string `json:"calendar_id"`
	Summary    string `json:"summary"`
	Type       string `json:"type"`
}

type SearchDocsData

type SearchDocsData struct {
	HasMore      bool          `json:"has_more"`
	Total        int64         `json:"total"`
	DocsEntities []DocEntities `json:"docs_entities"`
}

type SearchDocsReqVo

type SearchDocsReqVo struct {
	SearchKey *string   `json:"search_key"`
	Count     *int      `json:"count"`
	Offset    *int      `json:"offset"`
	OwnerIds  *[]string `json:"owner_ids"`
	ChatIds   *[]string `json:"chat_ids"`
	DocsTypes *[]string `json:"docs_types"`
}

type SearchDocsRespVo

type SearchDocsRespVo struct {
	CommonVo
	Data SearchDocsData `json:"data"`
}

type SearchUserInfo

type SearchUserInfo struct {
	Avatar        UserAvatar `json:"avatar"`
	DepartmentIds []string   `json:"department_ids"`
	Name          string     `json:"name"`
	OpenId        string     `json:"open_id"`
	UserId        string     `json:"user_id"`
}

type SearchUserResp

type SearchUserResp struct {
	CommonVo
	Data *SearchUserRespData `json:"data"`
}

type SearchUserRespData

type SearchUserRespData struct {
	HasMore   bool             `json:"has_more"`
	PageToken string           `json:"page_token"`
	Users     []SearchUserInfo `json:"users"`
}

type SimpleChatInfo

type SimpleChatInfo struct {
	ChatId      string `json:"chat_id"`
	Avatar      string `json:"avatar"`
	Name        string `json:"name"`
	Description string `json:"description"`
	OwnerId     string `json:"owner_id"`
	OwnerIdType string `json:"owner_id_type"`
}

type SimpleIdInfo

type SimpleIdInfo struct {
	OpenId string `json:"open_Id"`
	UserId string `json:"user_id"`
}

type SubscribeCalendarV4Req

type SubscribeCalendarV4Req struct {
	CalendarId string `json:"calendar_id"`
}

type SubscribeCalendarV4Resp

type SubscribeCalendarV4Resp struct {
	CommonVo
	Data SubscribeCalendarV4RespData `json:"data"`
}

type SubscribeCalendarV4RespData

type SubscribeCalendarV4RespData struct {
	Calendar SubscribeCalendarV4RespDataCalendar `json:"calendar"`
}

type SubscribeCalendarV4RespDataCalendar

type SubscribeCalendarV4RespDataCalendar struct {
	CalendarID string `json:"calendar_id"`
	Color      int64  `json:"color"`
	Role       string `json:"role"`
	Summary    string `json:"summary"`
	Type       string `json:"type"`
}

type TenantAccessTokenRespVo

type TenantAccessTokenRespVo struct {
	CommonVo
	TenantAccessToken string `json:"tenant_access_token"`
	Expire            int64  `json:"expire"`
}

type TenantData

type TenantData struct {
	Name      string     `json:"name"`
	DisplayId string     `json:"display_id"`
	TenantTag int        `json:"tenant_tag"`
	TenantKey string     `json:"tenant_key"`
	Avatar    UserAvatar `json:"avatar"`
}

type TimeFormat

type TimeFormat struct {
	Date      string `json:"date,omitempty"`
	TimeStamp int64  `json:"time_stamp,omitempty"`
	TimeZone  string `json:"time_zone,omitempty"`
}

type TokenLoginValidateResp

type TokenLoginValidateResp struct {
	Data TokenLoginValidateRespData `json:"data"`

	CommonVo
}

type TokenLoginValidateRespData

type TokenLoginValidateRespData struct {
	Uid          string `json:"uid"`
	OpenId       string `json:"open_id"`
	UnionId      string `json:"union_id"`
	SessionKey   string `json:"session_key"`
	TenantKey    string `json:"tenant_key"`
	EmployeeId   string `json:"employee_id"`
	TokenType    string `json:"token_type"`
	AccessToken  string `json:"access_token"`
	ExpiresIn    int64  `json:"expires_in"`
	RefreshToken string `json:"refresh_token"`
}

type UnsubscribeCalendarV4Req

type UnsubscribeCalendarV4Req struct {
	CalendarId string `json:"calendar_id"`
}

type UpdateCalendarEventAtendeesReq

type UpdateCalendarEventAtendeesReq struct {
	Attendees []AttendeesResp `json:"attendees"`
}

type UpdateCalendarEventAtendeesResp

type UpdateCalendarEventAtendeesResp struct {
	CommonVo
	Data []Attendees `json:"data"`
}

type UpdateCalendarEventV4Req

type UpdateCalendarEventV4Req struct {
	Summary         *string                  `json:"summary"`
	Description     *string                  `json:"description"`
	StartTime       *CalendarEventTime       `json:"start_time"`
	EndTime         *CalendarEventTime       `json:"end_time"`
	Vchat           *Vchat                   `json:"vchat"`
	Visibility      *string                  `json:"visibility"`       //default(忙碌),public(公开),private(私密)
	AttendeeAbility *string                  `json:"attendee_ability"` //none,can_see_other,can_invite_others,can_modify_event
	FreeBusyStatus  *string                  `json:"free_busy_status"`
	Location        *Location                `json:"location"`
	Color           *int32                   `json:"color"`
	Reminders       *[]CalendarEventReminder `json:"reminders"`
	Recurrence      *string                  `json:"recurrence"`
	Schemas         *[]CalendarEventSchema   `json:"schemas"`
}

type UpdateCalendarReq

type UpdateCalendarReq struct {
	CalendarId        string `json:"calendarId,omitempty"`
	Summary           string `json:"summary,omitempty"`
	Description       string `json:"description,omitempty"`
	IsPrivate         bool   `json:"is_private,omitempty"`
	DefaultAccessRole string `json:"default_access_role,omitempty"`
}

type UpdateCalendarV4Req

type UpdateCalendarV4Req struct {
	Summary      string `json:"summary"`
	Description  string `json:"description"`
	Permissions  string `json:"permissions"`
	Color        int    `json:"color"`
	SummaryAlias string `json:"summary_alias"`
	CalendarId   string `json:"calendar_id"`
}

type UpdateChatData

type UpdateChatData struct {
	ChatId string `json:"chat_id"`
}

type UpdateChatMemberReqVo

type UpdateChatMemberReqVo struct {
	ChatId  string   `json:"chat_id"`
	UserIds []string `json:"user_ids"`
	OpenIds []string `json:"open_ids"`
}

type UpdateChatMemberRespData

type UpdateChatMemberRespData struct {
	InvalidOpenIds []string `json:"invalid_open_ids"`
	InvalidUserIds []string `json:"invalid_user_ids"`
}

type UpdateChatMemberRespVo

type UpdateChatMemberRespVo struct {
	CommonVo
	Data UpdateChatMemberRespData `json:"data"`
}

type UpdateChatReqVo

type UpdateChatReqVo struct {
	ChatId      string            `json:"chat_id"`
	OwnerUserId string            `json:"owner_user_id,omitempty"`
	OwnerOpenId string            `json:"owner_open_id,omitempty"`
	Name        string            `json:"name,omitempty"`
	I18nNames   map[string]string `json:"i18n_names,omitempty"`
}

type UpdateChatRespVo

type UpdateChatRespVo struct {
	CommonVo
	Data UpdateChatData `json:"data"`
}

type UpdateImageVo

type UpdateImageVo struct {
	Image binary.ByteOrder
}

type UserAvatar

type UserAvatar struct {
	Avatar72     string `json:"avatar_72"`
	Avatar240    string `json:"avatar_240"`
	Avatar640    string `json:"avatar_640"`
	AvatarOrigin string `json:"avatar_origin"`
}

type UserDetailInfo

type UserDetailInfo struct {
	Name             string           `json:"name"`
	NamePy           string           `json:"name_py"`
	EnName           string           `json:"en_name"`
	EmployeeId       string           `json:"employee_id"`
	EmployeeNo       string           `json:"employee_no"`
	OpenId           string           `json:"open_id"`
	Status           int              `json:"status"`
	EmployeeType     int              `json:"employee_type"`
	Avatar71         string           `json:"avatar_71"`
	Avatar240        string           `json:"avatar_240"`
	Avatar640        string           `json:"avatar_640"`
	AvatarUrl        string           `json:"avatar_url"`
	Gender           int              `json:"gender"`
	Email            string           `json:"email"`
	Mobile           string           `json:"mobile"`
	Description      string           `json:"description"`
	Country          string           `json:"country"`
	City             string           `json:"city"`
	WorkStation      string           `json:"work_station"`
	IsTenantManager  bool             `json:"is_tenant_manager"`
	JoinTime         int64            `json:"join_time"`
	UpdateTime       int64            `json:"update_time"`
	LeaderEmployeeId string           `json:"leader_employee_id"`
	LeaderOpenId     string           `json:"leader_open_id"`
	Departments      []string         `json:"departments"`
	CustomAttr       map[string]Entry `json:"custom_attr"`
}

type UserDetailInfoV2

type UserDetailInfoV2 struct {
	Name            string       `json:"name"`
	NamePy          string       `json:"name_py"`
	EnName          string       `json:"en_name"`
	EmployeeId      string       `json:"employee_id"`
	EmployeeNo      string       `json:"employee_no"`
	OpenId          string       `json:"open_id"`
	UserId          string       `json:"user_id"`
	UnionId         string       `json:"union_id"`
	Status          UserStatus   `json:"status"`
	EmployeeType    int          `json:"employee_type"`
	Avatar          UserAvatar   `json:"avatar"`
	Gender          int          `json:"gender"`
	Email           string       `json:"email"`
	Mobile          string       `json:"mobile"`
	Description     string       `json:"description"`
	Country         string       `json:"country"`
	City            string       `json:"city"`
	WorkStation     string       `json:"work_station"`
	IsTenantManager bool         `json:"is_tenant_manager"`
	JoinTime        int64        `json:"join_time"`
	UpdateTime      int64        `json:"update_time"`
	Leader          Leader       `json:"leader"`
	Departments     []string     `json:"departments"`
	Positions       []Position   `json:"positions"`
	Orders          []Order      `json:"orders"`
	CustomAttrs     []CustomAttr `json:"custom_attrs"`
}

type UserDetailInfoV3

type UserDetailInfoV3 struct {
	Name            string       `json:"name"`
	NamePy          string       `json:"name_py"`
	EnName          string       `json:"en_name"`
	EmployeeId      string       `json:"employee_id"`
	EmployeeNo      string       `json:"employee_no"`
	OpenId          string       `json:"open_id"`
	UserId          string       `json:"user_id"`
	UnionId         string       `json:"union_id"`
	Status          UserStatus   `json:"status"`
	EmployeeType    int          `json:"employee_type"`
	Avatar          UserAvatar   `json:"avatar"`
	Gender          int          `json:"gender"`
	Email           string       `json:"email"`
	Mobile          string       `json:"mobile"`
	Description     string       `json:"description"`
	Country         string       `json:"country"`
	City            string       `json:"city"`
	WorkStation     string       `json:"work_station"`
	IsTenantManager bool         `json:"is_tenant_manager"`
	JoinTime        int64        `json:"join_time"`
	UpdateTime      int64        `json:"update_time"`
	LeaderUserId    string       `json:"leader_user_id"`
	DepartmentIds   []string     `json:"department_ids"`
	Positions       []Position   `json:"positions"`
	Orders          []Order      `json:"orders"`
	CustomAttrs     []CustomAttr `json:"custom_attrs"`
}

type UserGroupListData

type UserGroupListData struct {
	HasMore   bool        `json:"has_more"`
	PageToken string      `json:"page_token"`
	Groups    []GroupData `json:"groups"`
}

type UserRestInfoVo

type UserRestInfoVo struct {
	EmployeeId string `json:"employee_id"`
	OpenId     string `json:"open_id"`
	UserId     string `json:"user_id"`
	Name       string `json:"name"`
	EmployeeNo string `json:"employee_no"`
}

type UserStatus

type UserStatus struct {
	IsFrozen    bool `json:"is_frozen"`
	IsResigned  bool `json:"is_resigned"`
	IsActivated bool `json:"is_activated"`
}

type Vchat

type Vchat struct {
	MeetingUrl string `json:"meeting_url"`
}

type VoidV4Resp

type VoidV4Resp struct {
	CommonVo
	Data string `json:"data"`
}

Jump to

Keyboard shortcuts

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