orgvo

package
v0.0.0-...-57ed434 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2023 License: AGPL-3.0 Imports: 6 Imported by: 19

Documentation

Overview

* 2 * @Author: Nico 3 * @Date: 2020/1/31 11:18 4

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessTokenResp

type AccessTokenResp struct {
	ErrorInfo
	AccessToken  string `json:"access_token"`
	ExpiresIn    int    `json:"expires_in"`
	RefreshToken string `json:"refresh_token"`
	Openid       string `json:"openid"`
	Scope        string `json:"scope"`
	UnionId      string `json:"unionid"`
}

type ActionInfo

type ActionInfo struct {
	Scene *Scene `json:"scene"`
}

type AddUserReqVo

type AddUserReqVo struct {
	OrgId  int64                           `json:"orgId"`
	UserId int64                           `json:"userId"`
	Input  *ImportMembersReqVoDataUserItem `json:"input"`
}

type AllocateDepartmentReq

type AllocateDepartmentReq struct {
	//用户id
	UserIds []int64 `json:"userIds"`
	//部门id
	DepartmentIds []int64 `json:"departmentIds"`
}

type AllocateDepartmentReqVo

type AllocateDepartmentReqVo struct {
	Data          AllocateDepartmentReq `json:"data"`
	CurrentUserId int64                 `json:"userId"`
	OrgId         int64                 `json:"orgId"`
}

type ApplyScopesReqVo

type ApplyScopesReqVo struct {
	OrgId  int64 `json:"orgId"`
	UserId int64 `json:"userId"`
}

type ApplyScopesRespData

type ApplyScopesRespData struct {
	ThirdCode int64  `json:"thirdCode"`
	ThirdMsg  string `json:"thirdMsg"`
}

type ApplyScopesRespVo

type ApplyScopesRespVo struct {
	vo.Err
	Data *ApplyScopesRespData `json:"data"`
}

type AuthDingCodeReqVo

type AuthDingCodeReqVo struct {
	Code     string `json:"code"`
	CodeType int    `json:"codeType"`
	CorpId   string `json:"corpId"`
}

type AuthDingCodeRespVo

type AuthDingCodeRespVo struct {
	vo.Err
	Data *PlatformAuthCodeData `json:"data"`
}

type AuthWeiXinCodeReqVo

type AuthWeiXinCodeReqVo struct {
	Code     string `json:"code"`
	CodeType int    `json:"codeType"`
	CorpId   string `json:"corpId"`
}

type AuthWeiXinCodeRespVo

type AuthWeiXinCodeRespVo struct {
	vo.Err
	Data *PlatformAuthCodeData `json:"data"`
}

type BasicShowSetting

type BasicShowSetting struct {
	// 工作台
	WorkBenchShow bool `json:"workBenchShow"`
	// 侧边栏
	SideBarShow bool `json:"sideBarShow"`
	// 镜像统计
	MirrorStat bool `json:"mirrorStat"`
}

type BatchGetUserInfoReq

type BatchGetUserInfoReq struct {
	UserIds []int64 `json:"userIds"`
}

type BatchGetUserInfoResp

type BatchGetUserInfoResp struct {
	vo.Err
	Data []vo.PersonalInfo `json:"data"`
}

type BindCoolAppData

type BindCoolAppData struct {
	OpenConversationId string `json:"openConversationId"`
	ProjectId          int64  `json:"projectId"`
	AppId              int64  `json:"appId"`
}

type BindCoolAppReq

type BindCoolAppReq struct {
	OrgId int64            `json:"orgId"`
	Input *BindCoolAppData `json:"input"`
}

type BindLoginNameReqVo

type BindLoginNameReqVo struct {
	OrgId  int64               `json:"orgId"`
	UserId int64               `json:"userId"`
	Input  vo.BindLoginNameReq `json:"input"`
}

type BoundFsAccountReqVo

type BoundFsAccountReqVo struct {
	UserId int64                    `json:"userId"`
	OrgId  int64                    `json:"orgId"`
	Token  string                   `json:"token"`
	Input  vo.BoundFeiShuAccountReq `json:"input"`
}

type BoundFsReqVo

type BoundFsReqVo struct {
	UserId int64             `json:"userId"`
	OrgId  int64             `json:"orgId"`
	Token  string            `json:"token"`
	Input  vo.BoundFeiShuReq `json:"input"`
}

type CacheUserInfoVo

type CacheUserInfoVo struct {
	vo.Err

	CacheInfo bo.CacheUserInfoBo `json:"data"`
}

type ChangeUserManageGroupReq

type ChangeUserManageGroupReq struct {
	UserId         int64   `json:"userId"`
	ManageGroupIds []int64 `json:"manageGroupIds"`
}

type CheckAndSetSuperAdminReq

type CheckAndSetSuperAdminReq struct {
	OrgId  int64 `json:"orgId"`
	UserId int64 `json:"userId"`
}

type CheckLoginNameReqVo

type CheckLoginNameReqVo struct {
	Input vo.CheckLoginNameReq `json:"input"`
}

type CheckMobileHasBindData

type CheckMobileHasBindData struct {
	Mobile         string `json:"mobile"`
	SourcePlatform string `json:"sourcePlatform"`
}

type CheckMobileHasBindReq

type CheckMobileHasBindReq struct {
	Input *CheckMobileHasBindData `json:"input"`
}

type CheckMobileHasBindResp

type CheckMobileHasBindResp struct {
	vo.Err
	Data *CheckMobileHasBindResult `json:"data"`
}

type CheckMobileHasBindResult

type CheckMobileHasBindResult struct {
	IsBind bool `json:"isBind"`
}

type CheckQrCodeScanData

type CheckQrCodeScanData struct {
	// 是否已经扫描
	IsScan bool `json:"isScan"`
	// 是否被绑定
	Binding bool `json:"binding"`
	// 如果已经绑定了用户,则会返回token
	Token string `json:"token"`
	// 组织id,如果为0,则要创建组织
	OrgID int64 `json:"orgId"`
	// 组织名称
	OrgName string `json:"orgName"`
	// 用户id
	UserID int64 `json:"userId"`
	// 用户姓名
	Name string `json:"name"`
}

type CheckQrCodeScanReq

type CheckQrCodeScanReq struct {
	SceneKey string `json:"sceneKey"`
}

type CheckQrCodeScanResp

type CheckQrCodeScanResp struct {
	vo.Err
	Data *CheckQrCodeScanData `json:"data"`
}

type CheckSpecificScopeReqVo

type CheckSpecificScopeReqVo struct {
	OrgId     int64  `json:"orgId"`
	UserId    int64  `json:"userId"`
	PowerFlag string `json:"powerFlag"`
}

type CheckSpecificScopeRespData

type CheckSpecificScopeRespData struct {
	HasPower bool `json:"hasPower"`
}

type CheckSpecificScopeRespVo

type CheckSpecificScopeRespVo struct {
	vo.Err
	Data *CheckSpecificScopeRespData `json:"data"`
}

type ColumnField

type ColumnField struct {
	Type       int32       `json:"type"`
	CustomType string      `json:"customType"`
	DataType   int32       `json:"dataType"`
	Props      interface{} `json:"props"`
}

type CoolAppBaseData

type CoolAppBaseData struct {
	OpenConversationId string `json:"openConversationId"`
}

type CoolAppInfo

type CoolAppInfo struct {
	ProjectId int64 `json:"projectId"`
	AppId     int64 `json:"appId,string"`
}

type CreateCoolAppData

type CreateCoolAppData struct {
	OpenConversationId string `json:"openConversationId"`
	CorpId             string `json:"corpId"`
	RobotCode          string `json:"robotCode"`
}

type CreateCoolAppReq

type CreateCoolAppReq struct {
	Input *CreateCoolAppData `json:"input"`
}

type CreateDepartmentReq

type CreateDepartmentReq struct {
	// 父部门id(根目录为0)
	ParentID int64 `json:"parentId"`
	// 部门名称
	Name string `json:"name"`
	// 部门主管(选填)
	LeaderIds *[]int64 `json:"leaderIds"`
}

type CreateDepartmentReqVo

type CreateDepartmentReqVo struct {
	Data          CreateDepartmentReq `json:"data"`
	CurrentUserId int64               `json:"userId"`
	OrgId         int64               `json:"orgId"`
}

type CreateOrgColumnReq

type CreateOrgColumnReq struct {
	OrgId  int64                   `json:"orgId"`
	UserId int64                   `json:"userId"`
	Input  *CreateOrgColumnRequest `json:"input"`
}

type CreateOrgColumnRequest

type CreateOrgColumnRequest struct {
	Column *projectvo.TableColumnData `json:"column"`
}

type CreateOrgColumnRespVo

type CreateOrgColumnRespVo struct {
	vo.Err
	Data *tableV1.CreateOrgColumnReply
}

type CreateOrgMemberReq

type CreateOrgMemberReq struct {
	// 账号type  1:手机号  2:账号名
	AccountType int `json:"accountType"`
	// 账号名
	AccountName string `json:"accountName"`
	// 手机区号
	PhoneRegion string `json:"phoneRegion"`
	// 手机号
	PhoneNumber string `json:"phoneNumber"`
	// 邮箱
	Email string `json:"email"`
	// 密码
	Password string `json:"password"`
	// 昵称
	Name string `json:"name"`
	// 部门id
	DepartmentIds []int64 `json:"departmentIds"`
	// 角色id
	RoleGroupIds []int64 `json:"roleGroupIds"`
	// 状态(1启用2禁用3离职, 默认启用) 忽视0
	Status int `json:"status"`
}

type CreateOrgMemberReqVo

type CreateOrgMemberReqVo struct {
	OrgId  int64              `json:"orgId"`
	UserId int64              `json:"userId"`
	Input  CreateOrgMemberReq `json:"input"`
}

type CreateOrgReqVo

type CreateOrgReqVo struct {
	Data   CreateOrgReqVoData `json:"data"`
	OrgId  int64              `json:"orgId"`
	UserId int64              `json:"userId"`
}

type CreateOrgReqVoData

type CreateOrgReqVoData struct {
	CreatorId        int64           `json:"creatorId"`
	CreateOrgReq     vo.CreateOrgReq `json:"createOrgReq"`
	UserToken        string          `json:"userToken"`
	ImportSampleData int             `json:"importSampleData"`
}

type CreateOrgRespVo

type CreateOrgRespVo struct {
	vo.Err
	Data CreateOrgRespVoData `json:"data"`
}

type CreateOrgRespVoData

type CreateOrgRespVoData struct {
	OrgId int64 `json:"orgId"`
}

type CreateUserReq

type CreateUserReq struct {
	// 手机号(必填)
	PhoneNumber string `json:"phoneNumber"`
	// 邮箱(必填)
	Email string `json:"email"`
	// 姓名(必填)
	Name string `json:"name"`
	// 部门id
	DepartmentIds []int64 `json:"departmentIds"`
	// 角色id
	RoleIds []int64 `json:"roleIds"`
	// 状态(1启用2禁用, 默认启用)
	Status *int `json:"status"`
}

type CreateUserReqVo

type CreateUserReqVo struct {
	Data          CreateUserReq `json:"data"`
	CurrentUserId int64         `json:"userId"`
	OrgId         int64         `json:"orgId"`
}

type DeleteCoolAppByProjectReq

type DeleteCoolAppByProjectReq struct {
	OrgId     int64 `json:"orgId"`
	ProjectId int64 `json:"projectId"`
}

type DeleteCoolAppReq

type DeleteCoolAppReq struct {
	Input *CoolAppBaseData `json:"input"`
}

type DeleteDepartmentReq

type DeleteDepartmentReq struct {
	//部门id
	DepartmentId int64 `json:"departmentId"`
}

type DeleteDepartmentReqVo

type DeleteDepartmentReqVo struct {
	Data          DeleteDepartmentReq `json:"data"`
	CurrentUserId int64               `json:"userId"`
	OrgId         int64               `json:"orgId"`
}

type DeleteOrgColumnReq

type DeleteOrgColumnReq struct {
	OrgId  int64                   `json:"orgId"`
	UserId int64                   `json:"userId"`
	Input  *DeleteOrgColumnRequest `json:"input"`
}

type DeleteOrgColumnRequest

type DeleteOrgColumnRequest struct {
	ColumnId string `json:"columnId"`
}

type DeleteOrgColumnRespVo

type DeleteOrgColumnRespVo struct {
	vo.Err
	Data *tableV1.DeleteOrgColumnReply `json:"data"`
}

type DepartmentInitReqVo

type DepartmentInitReqVo struct {
	OrgId         int64  `json:"orgId"`
	CorpId        string `json:"corpId"`
	SourceChannel string `json:"sourceChannel"`
}

type DepartmentMembersListReq

type DepartmentMembersListReq struct {
	OrgId         int64                        `json:"orgId"`
	SourceChannel string                       `json:"sourceChannel"`
	Params        *vo.DepartmentMembersListReq `json:"params"`
	Page          *int                         `json:"page"`
	Size          *int                         `json:"size"`
	//是否忽略离职的,不传默认为否
	IgnoreDelete bool `json:"ignoreDelete"`
}

type DepartmentMembersListResp

type DepartmentMembersListResp struct {
	vo.Err
	Data *vo.DepartmentMembersListResp `json:"data"`
}

type DepartmentMembersReqVo

type DepartmentMembersReqVo struct {
	CurrentUserId int64                      `json:"userId"`
	OrgId         int64                      `json:"orgId"`
	Params        vo.DepartmentMemberListReq `json:"params"`
}

type DepartmentMembersRespVo

type DepartmentMembersRespVo struct {
	DepartmentMemberInfos []*vo.DepartmentMemberInfo `json:"data"`
	vo.Err
}

type DepartmentsReqVo

type DepartmentsReqVo struct {
	Page          *int
	Size          *int
	Params        *vo.DepartmentListReq
	CurrentUserId int64 `json:"userId"`
	OrgId         int64 `json:"orgId"`
}

type DepartmentsRespVo

type DepartmentsRespVo struct {
	DepartmentList *vo.DepartmentList `json:"data"`
	vo.Err
}

type DeptAndPositionReq

type DeptAndPositionReq struct {
	// DepartmentId 部门ID(必填)
	DepartmentId int64 `json:"departmentId"`
	// PositionId 职级ID(必填 注意是Org内的OrgPositionId)
	PositionId int64 `json:"positionId"`
}

type EmpIdsBodyVo

type EmpIdsBodyVo struct {
	EmpIds []string `json:"empIds"`
}

type EmptyUserReq

type EmptyUserReq struct {
	// 状态,  1可用,2禁用
	Status int `json:"status"`
}

清空用户

type EmptyUserReqVo

type EmptyUserReqVo struct {
	Data          EmptyUserReq `json:"data"`
	CurrentUserId int64        `json:"userId"`
	OrgId         int64        `json:"orgId"`
}

type ErrorInfo

type ErrorInfo struct {
	ErrCode int    `json:"errcode"`
	ErrMsg  string `json:"errmsg"`
}

func (*ErrorInfo) GetCode

func (e *ErrorInfo) GetCode() int

type ExchangeShareTokenData

type ExchangeShareTokenData struct {
	ShareKey string
	Password string
}

type ExchangeShareTokenReq

type ExchangeShareTokenReq struct {
	Input ExchangeShareTokenData `json:"input"`
}

type ExportAddressListReq

type ExportAddressListReq struct {
	//搜索字段
	SearchCode *string `json:"searchCode"`
	//是否已分配部门(1已分配2未分配,默认全部)
	IsAllocate *int `json:"isAllocate"`
	//是否禁用(1启用2禁用,默认全部)
	Status *int `json:"status"`
	//角色id
	RoleId *int64 `json:"roleId"`
	//部门id
	DepartmentId *int64 `json:"departmentId"`
	//导出字段(name,mobile,email,department,role,isLeader,statusChangeTime,createTime)
	ExportField []string `json:"exportField"`
}

type ExportAddressListReqVo

type ExportAddressListReqVo struct {
	Data          ExportAddressListReq `json:"data"`
	CurrentUserId int64                `json:"userId"`
	OrgId         int64                `json:"orgId"`
}

type ExportAddressListResp

type ExportAddressListResp struct {
	Url string `json:"url"`
}

type ExportAddressListRespVo

type ExportAddressListRespVo struct {
	vo.Err
	Data ExportAddressListResp `json:"data"`
}

type ExportInviteTemplateReqVo

type ExportInviteTemplateReqVo struct {
	OrgId  int64 `json:"orgId"`
	UserId int64 `json:"userId"`
}

type ExportInviteTemplateRespVo

type ExportInviteTemplateRespVo struct {
	vo.Err
	Data *ExportInviteTemplateRespVoData `json:"data"`
}

type ExportInviteTemplateRespVoData

type ExportInviteTemplateRespVoData struct {
	// 下载模板的 url
	Url string `json:"url"`
}

type FeiShuAuthCodeRespVo

type FeiShuAuthCodeRespVo struct {
	vo.Err
	Auth *vo.FeiShuAuthCodeResp `json:"data"`
}

type FeiShuAuthRespVo

type FeiShuAuthRespVo struct {
	vo.Err
	Auth *vo.FeiShuAuthResp `json:"data"`
}

type FeishuDeptChangeReqVo

type FeishuDeptChangeReqVo struct {
	OrgId         int64  `json:"orgId"`
	DeptOpenId    string `json:"deptOpenId"`
	EventType     string `json:"eventType"`
	SourceChannel string `json:"sourceChannel"`
}

type FilterResignedUserIdsReqVo

type FilterResignedUserIdsReqVo struct {
	OrgId   int64   `json:"orgId"`
	UserIds []int64 `json:"userIds"`
}

type FilterResignedUserIdsResp

type FilterResignedUserIdsResp struct {
	vo.Err
	Data []int64 `json:"data"`
}

type FunctionLimitItem

type FunctionLimitItem struct {
	Typ  string `json:"typ"`
	Num  int    `json:"num"`
	Unit string `json:"unit"`
}

type FunctionLimitObj

type FunctionLimitObj struct {
	Name     string              `json:"name"`
	Key      string              `json:"key"`
	HasLimit bool                `json:"hasLimit"`
	Limit    []FunctionLimitItem `json:"limit"`
}

type GetAppTicketReq

type GetAppTicketReq struct {
	OrgId  int64 `json:"orgId"`
	UserId int64 `json:"userId"`
}

type GetAppTicketResp

type GetAppTicketResp struct {
	vo.Err
	Data *vo.GetAppTicketResp `json:"data"`
}

type GetBaseOrgInfoByOutOrgIdReqVo

type GetBaseOrgInfoByOutOrgIdReqVo struct {
	OutOrgId string `json:"outOrgId"`
}

type GetBaseOrgInfoByOutOrgIdRespVo

type GetBaseOrgInfoByOutOrgIdRespVo struct {
	vo.Err
	BaseOrgInfo *bo.BaseOrgInfoBo `json:"data"`
}

type GetBaseOrgInfoReqVo

type GetBaseOrgInfoReqVo struct {
	OrgId int64 `json:"orgId"`
}

type GetBaseOrgInfoRespVo

type GetBaseOrgInfoRespVo struct {
	vo.Err
	BaseOrgInfo *bo.BaseOrgInfoBo `json:"data"`
}

type GetBaseUserInfoBatchReqVo

type GetBaseUserInfoBatchReqVo struct {
	OrgId   int64   `json:"orgId"`
	UserIds []int64 `json:"userIds"`
}

type GetBaseUserInfoBatchRespVo

type GetBaseUserInfoBatchRespVo struct {
	vo.Err
	BaseUserInfos []bo.BaseUserInfoBo `json:"data"`
}

type GetBaseUserInfoByEmpIdBatchReqVo

type GetBaseUserInfoByEmpIdBatchReqVo struct {
	OrgId int64                                 `json:"orgId"`
	Input GetBaseUserInfoByEmpIdBatchReqVoInput `json:"input"`
}

type GetBaseUserInfoByEmpIdBatchReqVoInput

type GetBaseUserInfoByEmpIdBatchReqVoInput struct {
	OpenIds []string `json:"openIds"`
}

type GetBaseUserInfoByEmpIdBatchRespVo

type GetBaseUserInfoByEmpIdBatchRespVo struct {
	vo.Err
	Data []bo.BaseUserInfoBo `json:"data"`
}

type GetBaseUserInfoByEmpIdReqVo

type GetBaseUserInfoByEmpIdReqVo struct {
	OrgId int64  `json:"orgId"`
	EmpId string `json:"empId"`
}

type GetBaseUserInfoByEmpIdRespVo

type GetBaseUserInfoByEmpIdRespVo struct {
	vo.Err
	BaseUserInfo *bo.BaseUserInfoBo `json:"data"`
}

type GetBaseUserInfoReqVo

type GetBaseUserInfoReqVo struct {
	OrgId  int64 `json:"orgId"`
	UserId int64 `json:"userId"`
}

type GetBaseUserInfoRespVo

type GetBaseUserInfoRespVo struct {
	vo.Err
	BaseUserInfo *bo.BaseUserInfoBo `json:"data"`
}

type GetCoolAppInfoReq

type GetCoolAppInfoReq struct {
	Input *CoolAppBaseData `json:"input"`
}

type GetCoolAppInfoResp

type GetCoolAppInfoResp struct {
	vo.Err
	Data *CoolAppInfo `json:"data"`
}

type GetCoolAppTopCardDataReq

type GetCoolAppTopCardDataReq struct {
	Input *CoolAppBaseData `json:"input"`
}

type GetCoolAppTopCardDataResp

type GetCoolAppTopCardDataResp struct {
	vo.Err
	Data string `json:"data"`
}

type GetCorpAgentIdReq

type GetCorpAgentIdReq struct {
	CorpId string `json:"corp_id"`
}

type GetCorpAgentIdResp

type GetCorpAgentIdResp struct {
	AgentId string `json:"agent_id"`
}

type GetDeptByIdsReq

type GetDeptByIdsReq struct {
	OrgId   int64   `json:"orgId"`
	DeptIds []int64 `json:"deptIds"`
}

type GetDeptByIdsResp

type GetDeptByIdsResp struct {
	List []*vo.Department `json:"data"`
	vo.Err
}

type GetDingApiSignReq

type GetDingApiSignReq struct {
	Input *JsAPISignReq `json:"input"`
}

type GetDingTalkBaseUserInfoByEmpIdReqVo

type GetDingTalkBaseUserInfoByEmpIdReqVo struct {
	OrgId int64  `json:"orgId"`
	EmpId string `json:"empId"`
}

type GetDingTalkBaseUserInfoByEmpIdRespVo

type GetDingTalkBaseUserInfoByEmpIdRespVo struct {
	vo.Err
	DingTalkBaseUserInfo *bo.BaseUserInfoBo `json:"data"`
}

type GetDingTalkBaseUserInfoReqVo

type GetDingTalkBaseUserInfoReqVo struct {
	OrgId  int64 `json:"orgId"`
	UserId int64 `json:"userId"`
}

type GetFsAccessTokenReqVo

type GetFsAccessTokenReqVo struct {
	UserId int64 `json:"userId"`
	OrgId  int64 `json:"orgId"`
}

type GetFsAccessTokenRespVo

type GetFsAccessTokenRespVo struct {
	AccessToken string `json:"accessToken"`
	vo.Err
}

type GetFunctionArrByOrgResp

type GetFunctionArrByOrgResp struct {
	vo.Err
	Data GetFunctionArrByOrgRespData `json:"data"`
}

type GetFunctionArrByOrgRespData

type GetFunctionArrByOrgRespData struct {
	Functions []FunctionLimitObj `json:"functions"`
}

type GetInviteCodeReqVo

type GetInviteCodeReqVo struct {
	CurrentUserId  int64  `json:"userId"`
	OrgId          int64  `json:"orgId"`
	SourcePlatform string `json:"sourcePlatform"`
}

type GetInviteCodeRespVo

type GetInviteCodeRespVo struct {
	Data *GetInviteCodeRespVoData `json:"data"`
	vo.Err
}

type GetInviteCodeRespVoData

type GetInviteCodeRespVoData struct {
	InviteCode string `json:"inviteCode"`
	Expire     int    `json:"expire"`
}

type GetInviteInfoReqVo

type GetInviteInfoReqVo struct {
	InviteCode string `json:"inviteCode"`
}

type GetInviteInfoRespVo

type GetInviteInfoRespVo struct {
	Data *vo.GetInviteInfoResp `json:"data"`
	vo.Err
}

type GetJsAPISignRespVo

type GetJsAPISignRespVo struct {
	vo.Err
	GetJsAPISign *JsAPISignResp `json:"data"`
}

type GetJsAPITicketResp

type GetJsAPITicketResp struct {
	vo.Err
	Data *vo.GetJsAPITicketResp `json:"data"`
}

type GetLabReqVo

type GetLabReqVo struct {
	OrgId  int64 `json:"orgId"`
	UserId int64 `json:"userId"`
}

type GetLabResp

type GetLabResp struct {
	//WorkBenchShow    bool `json:"workBenchShow"`
	ProOverview bool `json:"proOverview"`
	SideBarShow bool `json:"sideBarShow"`
	EmptyApp    bool `json:"emptyApp"`
}

type GetLabRespVo

type GetLabRespVo struct {
	vo.Err
	Data *GetLabResp `json:"data"`
}

type GetOrgBoListByPageRespData

type GetOrgBoListByPageRespData struct {
	List  []bo.OrganizationBo `json:"list"`
	Total int64               `json:"total"`
	Page  int                 `json:"page"`
	Size  int                 `json:"size"`
}

type GetOrgBoListByPageRespVo

type GetOrgBoListByPageRespVo struct {
	vo.Err
	Data GetOrgBoListByPageRespData `json:"data"`
}

type GetOrgBoListRespVo

type GetOrgBoListRespVo struct {
	vo.Err
	OrganizationBoList []bo.OrganizationBo `json:"data"`
}

type GetOrgColumnsReq

type GetOrgColumnsReq struct {
	OrgId  int64                          `json:"orgId"`
	UserId int64                          `json:"userId"`
	Input  *tableV1.ReadOrgColumnsRequest `json:"input"`
}

type GetOrgColumnsRespVo

type GetOrgColumnsRespVo struct {
	vo.Err
	Data *ReadOrgColumnsReply `json:"data"`
}

type GetOrgConfigReq

type GetOrgConfigReq struct {
	OrgId int64 `json:"orgId"`
}

type GetOrgConfigResp

type GetOrgConfigResp struct {
	Data *vo.OrgConfig `json:"data"`
	vo.Err
}

type GetOrgConfigRestResp

type GetOrgConfigRestResp struct {
	vo.Err
	Data *OrgConfig `json:"data"`
}

type GetOrgFunctionConfigReq

type GetOrgFunctionConfigReq struct {
	OrgId int64 `json:"orgId"`
}

type GetOrgFunctionConfigResp

type GetOrgFunctionConfigResp struct {
	Data *vo.FunctionConfigResp `json:"data"`
	vo.Err
}

type GetOrgIdListByPageReqVo

type GetOrgIdListByPageReqVo struct {
	Page  int                         `json:"page"`
	Size  int                         `json:"size"`
	Input GetOrgIdListByPageReqVoData `json:"input"`
}

type GetOrgIdListByPageReqVoData

type GetOrgIdListByPageReqVoData struct {
	OrgIds []int64 `json:"orgIds"`
}

预留,如果要增加筛选条件

type GetOrgIdListBySourceChannelData

type GetOrgIdListBySourceChannelData struct {
	//是否付费1否2是 其余默认为全部
	IsPaid         int      `json:"isPaid"`
	SourceChannels []string `json:"sourceChannels"`
}

type GetOrgIdListBySourceChannelReqVo

type GetOrgIdListBySourceChannelReqVo struct {
	Page  int                             `json:"page"`
	Size  int                             `json:"size"`
	Input GetOrgIdListBySourceChannelData `json:"input"`
}

type GetOrgIdListBySourceChannelRespData

type GetOrgIdListBySourceChannelRespData struct {
	OrgIds []int64 `json:"orgIds"`
}

type GetOrgIdListBySourceChannelRespVo

type GetOrgIdListBySourceChannelRespVo struct {
	Data GetOrgIdListBySourceChannelRespData `json:"data"`
	vo.Err
}

type GetOrgInfoReq

type GetOrgInfoReq struct {
	OrgId int64 `json:"orgId"`
}

type GetOrgInfoResp

type GetOrgInfoResp struct {
	vo.Err
	Data *bo.OrganizationBo `json:"data"`
}

type GetOrgOutInfoByOutOrgIdBatchReqInput

type GetOrgOutInfoByOutOrgIdBatchReqInput struct {
	OutOrgIds []string `json:"outOrgIds"`
}

type GetOrgOutInfoByOutOrgIdBatchReqVo

type GetOrgOutInfoByOutOrgIdBatchReqVo struct {
	Input GetOrgOutInfoByOutOrgIdBatchReqInput `json:"input"`
}

type GetOrgOutInfoByOutOrgIdBatchRespVo

type GetOrgOutInfoByOutOrgIdBatchRespVo struct {
	vo.Err
	Data []bo.BaseOrgOutInfoBo `json:"data"`
}

type GetOrgSuperAdminInfoData

type GetOrgSuperAdminInfoData struct {
	UserId int64  `json:"userId"`
	OpenId string `json:"openId"`
}

type GetOrgSuperAdminInfoReq

type GetOrgSuperAdminInfoReq struct {
	OrgId int64 `json:"orgId"`
}

type GetOrgSuperAdminInfoResp

type GetOrgSuperAdminInfoResp struct {
	vo.Err
	Data []*GetOrgSuperAdminInfoData `json:"data"`
}

type GetOrgUserAndDeptCountReq

type GetOrgUserAndDeptCountReq struct {
	OrgId int64 `json:"orgId"`
}

type GetOrgUserAndDeptCountResp

type GetOrgUserAndDeptCountResp struct {
	vo.Err
	Data *GetOrgUserAndDeptCountRespData `json:"data"`
}

type GetOrgUserAndDeptCountRespData

type GetOrgUserAndDeptCountRespData struct {
	UserCount uint64 `json:"userCount"`
	DeptCount uint64 `json:"deptCount"`
}

type GetOrgUserIdsByEmIdsReq

type GetOrgUserIdsByEmIdsReq struct {
	OrgId         int64    `json:"orgId"`
	SourceChannel string   `json:"sourceChannel"`
	EmpIds        []string `json:"empIds"`
}

type GetOrgUserIdsByEmIdsResp

type GetOrgUserIdsByEmIdsResp struct {
	vo.Err
	Data map[string]int64 `json:"data"`
}

type GetOrgUserIdsReq

type GetOrgUserIdsReq struct {
	OrgId int64 `json:"orgId"`
}

type GetOrgUserIdsResp

type GetOrgUserIdsResp struct {
	vo.Err
	Data []int64 `json:"data"`
}

type GetOrgUserInfoListBySourceChannelReq

type GetOrgUserInfoListBySourceChannelReq struct {
	Page          int    `json:"page"`
	Size          int    `json:"size"`
	OrgId         int64  `json:"orgId"`
	SourceChannel string `json:"sourceChannel"`
}

type GetOrgUserInfoListBySourceChannelResp

type GetOrgUserInfoListBySourceChannelResp struct {
	Data *GetOrgUserInfoListBySourceChannelRespData `json:"data"`
	vo.Err
}

type GetOrgUserInfoListBySourceChannelRespData

type GetOrgUserInfoListBySourceChannelRespData struct {
	Total int64            `json:"total"`
	List  []bo.OrgUserInfo `json:"list"`
}

type GetOrgUsersInfoByEmIdsReq

type GetOrgUsersInfoByEmIdsReq struct {
	OrgId         int64    `json:"orgId"`
	SourceChannel string   `json:"sourceChannel"`
	EmpIds        []string `json:"empIds"`
}

type GetOutOrgInfoByOrgIdBatchReqVo

type GetOutOrgInfoByOrgIdBatchReqVo struct {
	OrgIds []int64 `json:"orgIds"`
}

type GetOutOrgInfoByOrgIdBatchRespVo

type GetOutOrgInfoByOrgIdBatchRespVo struct {
	vo.Err
	Data []*OutOrgInfo `json:"data"`
}

type GetOutOrgInfoByOutOrgIdReqVo

type GetOutOrgInfoByOutOrgIdReqVo struct {
	OrgId    int64  `json:"orgId"`
	UserId   int64  `json:"userId"`
	OutOrgId string `json:"outOrgId"`
}

type GetOutOrgInfoByOutOrgIdRespVo

type GetOutOrgInfoByOutOrgIdRespVo struct {
	vo.Err
	Data *OutOrgInfo `json:"data"`
}

type GetOutUserInfoListBySourceChannelReqVo

type GetOutUserInfoListBySourceChannelReqVo struct {
	SourceChannel string `json:"sourceChannel"`
	Page          int    `json:"page"`
	Size          int    `json:"size"`
}

type GetOutUserInfoListBySourceChannelRespVo

type GetOutUserInfoListBySourceChannelRespVo struct {
	vo.Err
	UserOutInfoBoList []bo.UserOutInfoBo `json:"data"`
}

type GetOutUserInfoListByUserIdsReqVo

type GetOutUserInfoListByUserIdsReqVo struct {
	UserIds []int64 `json:"userIds"`
}

type GetOutUserInfoListByUserIdsRespVo

type GetOutUserInfoListByUserIdsRespVo struct {
	vo.Err
	UserOutInfoBoList []bo.UserOutInfoBo `json:"data"`
}

type GetPayRemindReq

type GetPayRemindReq struct {
	OrgId  int64 `json:"orgId"`
	UserId int64 `json:"userId"`
}

type GetPayRemindResp

type GetPayRemindResp struct {
	vo.Err
	Data *vo.GetPayRemindResp `json:"data"`
}

type GetPwdLoginCodeReqVo

type GetPwdLoginCodeReqVo struct {
	CaptchaId string `json:"captchaId"`
}

type GetPwdLoginCodeRespVo

type GetPwdLoginCodeRespVo struct {
	CaptchaPassword string `json:"data"`
	vo.Err
}

type GetRegisterUrlData

type GetRegisterUrlData struct {
	Url string `json:"url"`
}

type GetRegisterUrlReq

type GetRegisterUrlReq struct {
}

type GetRegisterUrlResp

type GetRegisterUrlResp struct {
	vo.Err
	Data *GetRegisterUrlData `json:"data"`
}

type GetShareUrlReq

type GetShareUrlReq struct {
	Key string `json:"key"`
}

type GetShareUrlResp

type GetShareUrlResp struct {
	vo.Err
	Url string `json:"url"`
}

type GetSpaceListReq

type GetSpaceListReq struct {
	OrgId  int64 `json:"orgId"`
	UserId int64 `json:"userId"`
}

type GetSpaceListResp

type GetSpaceListResp struct {
	vo.Err
	Data *SpaceList `json:"data"`
}

type GetUserConfigInfoBatchReqVo

type GetUserConfigInfoBatchReqVo struct {
	OrgId int64                            `json:"orgId"`
	Input GetUserConfigInfoBatchReqVoInput `json:"input"`
}

type GetUserConfigInfoBatchReqVoInput

type GetUserConfigInfoBatchReqVoInput struct {
	UserIds []int64 `json:"userIds"`
}

type GetUserConfigInfoBatchRespVo

type GetUserConfigInfoBatchRespVo struct {
	vo.Err
	Data []bo.UserConfigBo `json:"data"`
}

type GetUserConfigInfoReqVo

type GetUserConfigInfoReqVo struct {
	OrgId  int64 `json:"orgId"`
	UserId int64 `json:"userId"`
}

type GetUserConfigInfoRespVo

type GetUserConfigInfoRespVo struct {
	vo.Err
	UserConfigInfo *bo.UserConfigBo `json:"data"`
}

type GetUserCountByDeptIdsData

type GetUserCountByDeptIdsData struct {
	UserCount map[int64]uint64 `json:"userCount"`
}

type GetUserCountByDeptIdsReq

type GetUserCountByDeptIdsReq struct {
	//组织id
	OrgId int64 `json:"orgId"`
	//部门id
	DeptIds []int64 `json:"deptIds"`
}

获取部门人数

type GetUserCountByDeptIdsResp

type GetUserCountByDeptIdsResp struct {
	vo.Err
	Data *GetUserCountByDeptIdsData `json:"data"`
}

type GetUserDeptIdsBatchData

type GetUserDeptIdsBatchData struct {
	Data map[int64][]int64 `json:"data"`
}

type GetUserDeptIdsBatchReq

type GetUserDeptIdsBatchReq struct {
	//组织id
	OrgId int64 `json:"orgId"`
	//用户id
	UserIds []int64 `json:"userIds"`
}

type GetUserDeptIdsBatchResp

type GetUserDeptIdsBatchResp struct {
	vo.Err
	Data GetUserDeptIdsBatchData `json:"data"`
}

type GetUserDeptIdsData

type GetUserDeptIdsData struct {
	DeptIds []int64 `json:"deptIds"`
}

type GetUserDeptIdsReq

type GetUserDeptIdsReq struct {
	//组织id
	OrgId int64 `json:"orgId"`
	//用户id
	UserId int64 `json:"userId"`
}

type GetUserDeptIdsResp

type GetUserDeptIdsResp struct {
	vo.Err
	Data GetUserDeptIdsData `json:"data"`
}

type GetUserDeptIdsWithParentIdData

type GetUserDeptIdsWithParentIdData struct {
	DeptIds []int64 `json:"deptIds"`
}

type GetUserDeptIdsWithParentIdReq

type GetUserDeptIdsWithParentIdReq struct {
	OrgId  int64 `json:"orgId"`
	UserId int64 `json:"userId"`
}

type GetUserDeptIdsWithParentIdResp

type GetUserDeptIdsWithParentIdResp struct {
	vo.Err
	Data GetUserDeptIdsWithParentIdData `json:"data"`
}

type GetUserIdReqVo

type GetUserIdReqVo struct {
	SourceChannel string `json:"sourceChannel"`
	EmpId         string `json:"empId"`
	CorpId        string `json:"corpId"`
	OrgId         int64  `json:"orgId"`
}

type GetUserIdRespVo

type GetUserIdRespVo struct {
	vo.Err
	GetUserId *vo.UserIDInfo `json:"data"`
}

type GetUserIdsByDeptIdsData

type GetUserIdsByDeptIdsData struct {
	UserIds []int64 `json:"userIds"`
}

type GetUserIdsByDeptIdsReq

type GetUserIdsByDeptIdsReq struct {
	// 组织id
	OrgId int64 `json:"orgId"`
	// 部门id
	DeptIds []int64 `json:"deptIds"`
}

type GetUserIdsByDeptIdsResp

type GetUserIdsByDeptIdsResp struct {
	vo.Err
	Data GetUserIdsByDeptIdsData `json:"data"`
}

type GetUserIdsReqVo

type GetUserIdsReqVo struct {
	SourceChannel string       `json:"sourceChannel"`
	EmpIdsBody    EmpIdsBodyVo `json:"empIdsBody"`
	CorpId        string       `json:"corpId"`
	OrgId         int64        `json:"orgId"`
}

type GetUserIdsRespVo

type GetUserIdsRespVo struct {
	vo.Err
	GetUserIds []*vo.UserIDInfo `json:"data"`
}

type GetUserInfoByFeishuTenantKeyData

type GetUserInfoByFeishuTenantKeyData struct {
	OrgId  int64
	UserId int64
}

type GetUserInfoByFeishuTenantKeyReq

type GetUserInfoByFeishuTenantKeyReq struct {
	TenantKey string `json:"tenantKey"`
	OpenId    string `json:"openId"`
}

type GetUserInfoByFeishuTenantKeyResp

type GetUserInfoByFeishuTenantKeyResp struct {
	vo.Err
	Data GetUserInfoByFeishuTenantKeyData `json:"data"`
}

type GetUserInfoByUserIdsListRespVo

type GetUserInfoByUserIdsListRespVo struct {
	vo.Err
	GetUserInfoByUserIdsRespVo *[]GetUserInfoByUserIdsRespVo `json:"data"`
}

type GetUserInfoByUserIdsReqVo

type GetUserInfoByUserIdsReqVo struct {
	UserIds []int64 `json:"userIds"`
	OrgId   int64   `json:"orgId"`
}

type GetUserInfoByUserIdsRespVo

type GetUserInfoByUserIdsRespVo struct {
	UserId        int64  `json:"userId"`
	OutUserId     string `json:"outUserId"` //有可能为空
	OrgId         int64  `json:"orgId"`
	OutOrgId      string `json:"outOrgId"` //有可能为空
	Name          string `json:"name"`
	Avatar        string `json:"avatar"`
	HasOutInfo    bool   `json:"hasOutInfo"`
	HasOrgOutInfo bool   `json:"hasOrgOutInfo"`

	OrgUserIsDelete    int `json:"orgUserIsDelete"`    //是否被组织移除
	OrgUserStatus      int `json:"orgUserStatus"`      //用户组织状态
	OrgUserCheckStatus int `json:"orgUserCheckStatus"` //用户组织审核状态
}

type GetUserInfoListReqVo

type GetUserInfoListReqVo struct {
	OrgId int64 `json:"orgId"`
}

type GetUserInfoListRespVo

type GetUserInfoListRespVo struct {
	vo.Err
	SimpleUserInfo []bo.SimpleUserInfoBo `json:"data"`
}

type GetUserInfoReqVo

type GetUserInfoReqVo struct {
	OrgId         int64  `json:"orgId"`
	UserId        int64  `json:"userId"`
	SourceChannel string `json:"sourceChannel"`
}

type GetUserInfoRespVo

type GetUserInfoRespVo struct {
	vo.Err
	UserInfo *bo.UserInfoBo `json:"data"`
}

type GetUserListWithCreateTimeRangeItem

type GetUserListWithCreateTimeRangeItem struct {
	// 用户id(必填)
	UserId int64 `json:"userId"`
	// 姓名(选填)
	Name string `json:"name"`
	// fs openId
	OpenId string `json:"openId"`
	// fs openId
	OrgId int64 `json:"orgId"`
	// fs out orgId 关联的外部的组织id
	OutOrgId string `json:"outOrgId"`
	// 用户的创建时间
	CreateTime string `json:"createTime"`
}

type GetUserListWithCreateTimeRangeReq

type GetUserListWithCreateTimeRangeReq struct {
	SourceChannel string `json:"sourceChannel"`
	CreateTime1   string `json:"crateTime1"`
	CreateTime2   string `json:"crateTime2"`
	Page          int    `json:"page"`
	Size          int    `json:"size"`
}

type GetUserListWithCreateTimeRangeReqVo

type GetUserListWithCreateTimeRangeReqVo struct {
	Data *GetUserListWithCreateTimeRangeReq `json:"data"`
}

type GetUserListWithCreateTimeRangeResp

type GetUserListWithCreateTimeRangeResp struct {
	UserList []*GetUserListWithCreateTimeRangeItem `json:"userList"`
}

type GetUserListWithCreateTimeRangeRespVo

type GetUserListWithCreateTimeRangeRespVo struct {
	vo.Err
	Data *GetUserListWithCreateTimeRangeResp `json:"data"`
}

type GetUserOrDeptSameNameListReqVo

type GetUserOrDeptSameNameListReqVo struct {
	OrgId  int64                              `json:"orgId"`
	UserId int64                              `json:"userId"`
	Input  GetUserOrDeptSameNameListReqVoData `json:"input"`
}

type GetUserOrDeptSameNameListReqVoData

type GetUserOrDeptSameNameListReqVoData struct {
	DataType string `json:"dataType"`
}

type GetVersionData

type GetVersionData struct {
	VersionInfoVisible bool `json:"versionInfoVisible"`
}

type GetVersionReq

type GetVersionReq struct {
	OrgId  int64 `json:"orgId"`
	UserId int64 `json:"userId"`
}

type GetVersionRespVo

type GetVersionRespVo struct {
	vo.Err
	Data *VersionResp `json:"data"`
}

type GetViewLocationReq

type GetViewLocationReq struct {
	OrgId  int64 `json:"orgId"`
	UserId int64 `json:"userId"`
}

type GetViewLocationRespVo

type GetViewLocationRespVo struct {
	vo.Err
	Data []*UserLastViewLocationData `json:"data"`
}

type ImportMembersReqVo

type ImportMembersReqVo struct {
	OrgId  int64                   `json:"orgId"`
	UserId int64                   `json:"userId"`
	Input  *ImportMembersReqVoData `json:"input"`
}

type ImportMembersReqVoData

type ImportMembersReqVoData struct {
	// excel 文件地址
	URL string `json:"url"`
	// url类型, 1 网址,2 本地dist路径
	URLType int `json:"urlType"`
	// 方案2:前端直接传入数据进行导入
	ImportUserList []ImportMembersReqVoDataUserItem `json:"importUserList"`
}

type ImportMembersReqVoDataUserItem

type ImportMembersReqVoDataUserItem struct {
	// 姓名
	Name string `json:"name"`
	// 国家代码,比如中国为 `+86`
	Origin string `json:"origin"`
	// 手机号码
	Phone string `json:"phone"`
}

type ImportMembersRespVo

type ImportMembersRespVo struct {
	vo.Err
	Data *ImportMembersRespVoData `json:"data"`
}

type ImportMembersRespVoData

type ImportMembersRespVoData struct {
	ErrCount     int    `json:"errCount"`
	SuccessCount int    `json:"successCount"`
	SkipCount    int    `json:"skipCount"`
	ErrExcelUrl  string `json:"errorUrl"`
}

type ImportMembersResultErrItem

type ImportMembersResultErrItem struct {
	Name   string `json:"name"`
	Region string `json:"region"`
	Phone  string `json:"phone"`
	Reason string `json:"reason"`
}

type ImportUserInfo

type ImportUserInfo struct {
	OperateUid    int64  `json:"operateUid"` // 操作人、导入人
	OrgId         int64  `json:"orgId"`
	SourceChannel string `json:"sourceChannel"`
}

type InitExistOrgReqVo

type InitExistOrgReqVo struct {
	Input  vo.InitExistOrgReq `json:"input"`
	OrgId  int64              `json:"orgId"`
	UserId int64              `json:"userId"`
}

type InitExistOrgRespData

type InitExistOrgRespData struct {
	IsOk    bool   `json:"isOk"`
	StrInfo string `json:"strInfo"`
}

type InitExistOrgRespVo

type InitExistOrgRespVo struct {
	vo.Err
	Data *InitExistOrgRespData `json:"data"`
}

type InitFsAccountReqVo

type InitFsAccountReqVo struct {
	Input vo.InitFeiShuAccountReq `json:"input"`
}

type InitFsAccountRespVo

type InitFsAccountRespVo struct {
	Auth *vo.FeiShuAuthCodeResp `json:"data"`
	vo.Err
}

type InitOrgColumnRespVo

type InitOrgColumnRespVo struct {
	vo.Err
	Data *InitOrgColumnsReply `json:"data"`
}

type InitOrgColumnsReply

type InitOrgColumnsReply struct{}

type InitOrgColumnsReq

type InitOrgColumnsReq struct {
	OrgId  int64                  `json:"orgId"`
	UserId int64                  `json:"userId"`
	Input  *InitOrgColumnsRequest `json:"input"`
}

type InitOrgColumnsRequest

type InitOrgColumnsRequest struct {
	Columns []interface{} `json:"columns"`
}

type InitOrgReqVo

type InitOrgReqVo struct {
	InitOrg bo.InitOrgBo `json:"initOrg"`
}

type InnerUserInfo

type InnerUserInfo struct {
	Id     int64  `json:"id"`
	OrgID  int64  `json:"orgId"`
	Name   string `json:"name"`
	Mail   string `json:"mail"`
	Phone  string `json:"phone"`
	Avatar string `json:"avatar"`
}

type InnerUserInfosInput

type InnerUserInfosInput struct {
	Ids interface{} `json:"ids"` // 对应无码的成员部门字段 有几种可能的结构
}

type InnerUserInfosReq

type InnerUserInfosReq struct {
	OrgId int64                `json:"orgId"`
	Input *InnerUserInfosInput `json:"input"`
}

type InviteUserByPhonesReqVo

type InviteUserByPhonesReqVo struct {
	UserId int64                       `json:"userId"`
	OrgId  int64                       `json:"orgId"`
	Input  InviteUserByPhonesReqVoData `json:"input"`
}

type InviteUserByPhonesReqVoData

type InviteUserByPhonesReqVoData struct {
	InviteCode string                             `json:"inviteCode"`
	Phones     []InviteUserByPhonesReqVoDataPhone `json:"phones"`
}

type InviteUserByPhonesReqVoDataPhone

type InviteUserByPhonesReqVoDataPhone struct {
	Origin string `json:"origin"`
	Number string `json:"number"`
}

type InviteUserByPhonesRespVo

type InviteUserByPhonesRespVo struct {
	vo.Err
	Data *InviteUserByPhonesRespVoData `json:"data"`
}

type InviteUserByPhonesRespVoData

type InviteUserByPhonesRespVoData struct {
	ErrorList   []InviteUserByPhonesRespVoDataErrItem     `json:"errorList"`
	SuccessList []InviteUserByPhonesRespVoDataSuccessItem `json:"successList"`
}

type InviteUserByPhonesRespVoDataErrItem

type InviteUserByPhonesRespVoDataErrItem struct {
	Number string `json:"number"`
	Reason string `json:"reason"`
}

type InviteUserByPhonesRespVoDataSuccessItem

type InviteUserByPhonesRespVoDataSuccessItem struct {
	Number string `json:"number"`
}

type InviteUserData

type InviteUserData struct {
	//邮箱
	Email string `json:"email"`
	//姓名(再次邀请时不用传了)
	Name string `json:"name"`
}

type InviteUserInfo

type InviteUserInfo struct {
	//用户id
	Id int64 `json:"id"`
	//名称
	Name string `json:"name"`
	//邮箱
	Email string `json:"email"`
	//邀请时间
	InviteTime time.Time `json:"inviteTime"`
	//是否24h内已邀请
	IsInvitedRecent bool `json:"isInvitedRecent"`
}

type InviteUserListReq

type InviteUserListReq struct {
	// 页码(选填,不填为全部)
	Page int `json:"page"`
	// 数量(选填,不填为全部)
	Size int `json:"size"`
}

type InviteUserListReqVo

type InviteUserListReqVo struct {
	CurrentUserId int64             `json:"userId"`
	OrgId         int64             `json:"orgId"`
	Data          InviteUserListReq `json:"data"`
}

type InviteUserListResp

type InviteUserListResp struct {
	// 总数
	Total int64 `json:"total"`
	// 列表
	List []InviteUserInfo `json:"list"`
}

type InviteUserListRespVo

type InviteUserListRespVo struct {
	vo.Err
	Data *InviteUserListResp `json:"data"`
}

type InviteUserReq

type InviteUserReq struct {
	Data []*vo.InviteUserData `json:"data"`
}

type InviteUserReqVo

type InviteUserReqVo struct {
	CurrentUserId int64         `json:"userId"`
	OrgId         int64         `json:"orgId"`
	Data          InviteUserReq `json:"data"`
}

type InviteUserResp

type InviteUserResp struct {
	//成功的邮箱
	SuccessEmail []string `json:"successEmail"`
	//已邀请的邮箱
	InvitedEmail []string `json:"invitedEmail"`
	//已经是用户的邮箱
	IsUserEmail []string `json:"isUserEmail"`
	//不符合规范的邮箱
	InvalidEmail []string `json:"invalidEmail"`
}

type InviteUserRespVo

type InviteUserRespVo struct {
	vo.Err
	Data *InviteUserResp `json:"data"`
}

type JoinOrgByInviteCodeReq

type JoinOrgByInviteCodeReq struct {
	OrgId      int64  `json:"org_id"`
	UserId     int64  `json:"user_id"`
	InviteCode string `json:"invite_code"`
}

type JsAPISignReq

type JsAPISignReq struct {
	// 类型:目前只支持:jsapi
	Type string `json:"type"`
	// 路由url
	URL string `json:"url"`
	// 企业id
	CorpID string `json:"corpId"`
}

获取JSApi签名请求结构体

type JsAPISignResp

type JsAPISignResp struct {
	// 应用代理id
	AgentID int64 `json:"agentId"`
	// 时间戳
	TimeStamp string `json:"timeStamp"`
	// 随机字符串
	NoceStr string `json:"noceStr"`
	// 签名
	Signature string `json:"signature"`
}

type JudgeUserIsAdminReq

type JudgeUserIsAdminReq struct {
	SourceChannel string `json:"sourceChannel"`
	OutUserId     string `json:"outUserId"`
	OutOrgId      string `json:"outOrgId"`
}

type LcCreateProIssueTableReqVo

type LcCreateProIssueTableReqVo struct {
	OrgId     int64 `json:"orgId"`
	UserId    int64 `json:"userId"`
	ExtendsId int64 `json:"extendsId"`
}

type LcCreateProIssueTableReqVoData

type LcCreateProIssueTableReqVoData struct {
}

type LcCreateProIssueTableRespVo

type LcCreateProIssueTableRespVo struct {
	vo.Err
	Data *LcCreateProIssueTableReqVoData `json:"data"`
}

type MigrateIssueToLcData

type MigrateIssueToLcData struct {
	OrgIds []int64 `json:"orgIds"`
}

type MigrateIssueToLcReq

type MigrateIssueToLcReq struct {
	Data MigrateIssueToLcData `json:"data"`
}

type NormalAdminAppIds

type NormalAdminAppIds struct {
	UserId int64   `json:"userId"`
	AppIds []int64 `json:"appIds"`
}

type OpenAPIAuthData

type OpenAPIAuthData struct {
	// 组织ID
	OrgID int64 `json:"orgId"`
	// 所拥有的权限(暂时不用)
	Permissions []string `json:"permissions"`
}

type OpenAPIAuthReq

type OpenAPIAuthReq struct {
	OrgID       int64  `json:"orgId"`
	AccessToken string `json:"accessToken"`
}

type OpenAPIAuthResp

type OpenAPIAuthResp struct {
	vo.Err
	Data *OpenAPIAuthData `json:"data"`
}

type OpenOrgUserListReqVo

type OpenOrgUserListReqVo struct {
	Page   int                `json:"page"`
	Size   int                `json:"size"`
	OrgId  int64              `json:"orgId"`
	UserId int64              `json:"userId"`
	Input  *vo.OrgUserListReq `json:"input"`
}

type OpenOrgUserListRespVo

type OpenOrgUserListRespVo struct {
	vo.Err
	Data *vo.UserOrganizationList `json:"data"`
}

type OrgColumnsData

type OrgColumnsData struct {
	Name              string      `json:"name"`
	Label             string      `json:"label"`
	AliasTitle        string      `json:"aliasTitle"`
	Description       string      `json:"description"`
	IsSys             bool        `json:"isSys"`
	IsOrg             bool        `json:"isOrg"`
	Writable          bool        `json:"writable"`
	Editable          bool        `json:"editable"`
	Unique            bool        `json:"unique"`
	UniquePreHandler  string      `json:"uniquePreHandler"`
	SensitiveStrategy string      `json:"sensitiveStrategy"`
	SensitiveFlag     int32       `json:"sensitiveFlag"`
	Field             ColumnField `json:"field"`
}

type OrgConfig

type OrgConfig struct {
	// id
	ID int64 `json:"id"`
	// 组织id
	OrgID int64 `json:"orgId"`
	// 付费级别1通用免费,2标准版
	PayLevel int `json:"payLevel"`
	// 付费开始时间
	PayStartTime types.Time `json:"payStartTime"`
	// 付费结束时间
	PayEndTime types.Time `json:"payEndTime"`
	// 付费级别实际(1免费2标准3试用)
	PayLevelTrue int `json:"payLevelTrue"`
	// 创建时间
	CreateTime types.Time `json:"createTime"`
	// 组织人数
	OrgMemberNumber int64 `json:"orgMemberNumber"`
	// 是否是灰度企业
	IsGrayLevel bool `json:"isGrayLevel"`
	// 汇总表id
	SummaryAppID string `json:"summaryAppId"`
	// 展示基础设置
	BasicShowSetting *BasicShowSetting `json:"basicShowSetting"`
	Logo string `json:"logo"`
	// 组织支持的功能信息
	Functions []FunctionLimitObj `json:"functions"`
	// 部署方式:public:公共;private:私有化部署
	// 注意:“移动”部署时,需要叮嘱运维修改移动那边的 nacos 配置上的 RunMode 为 3
	AppDeployType string `json:"appDeployType"`
	// 距离使用付费产品截止日期的剩余天数
	RemainDays uint `json:"remainDays"`
	// 是否是试用;true 试用;false 非试用
	IsEvaluate bool `json:"isEvaluate"`
	// 付费过双11 6.6折的 团队标识  2022-11-11  活动期间 付费为1,没有付费为2,活动结束为0,字段不序列化
	IsPayActivity11 int    `json:"isPayActivity11,omitempty"`
	OutOrgId        string `json:"outOrgId"`
}

type OrgInitReqVo

type OrgInitReqVo struct {
	CorpId        string `json:"corpId"`
	PermanentCode string `json:"permanentCode"`
}

type OrgInitRespVo

type OrgInitRespVo struct {
	vo.Err
	OrgId int64 `json:"data"`
}

type OrgOwnerInitReqVo

type OrgOwnerInitReqVo struct {
	OrgId int64 `json:"orgId"`
	Owner int64 `json:"owner"`
}

type OrgRemarkConfigType

type OrgRemarkConfigType struct {
	OrgSummaryTableAppId int64 `json:"orgSummaryTableAppId"`
	TagAppId             int64 `json:"tagAppId"`
	PriorityAppId        int64 `json:"priorityAppId"`
	IssueBarAppId        int64 `json:"issueBarAppId"`
	SceneAppId           int64 `json:"sceneAppId"`
	IssueStatusAppId     int64 `json:"issueStatusAppId"`
	EmptyProjectAppId    int64 `json:"emptyProjectAppId"`
	// 项目 form 对应的 appId,一个组织一个
	ProjectFormAppId int64 `json:"projectFormAppId"`
	// “项目视图”所放的目录 id
	ProjectFolderAppId int64 `json:"projectFolderAppId"`
	// “任务视图”所放的目录 id
	IssueFolderAppId int64 `json:"issueFolderAppId"`
}

type OrgUserListReq

type OrgUserListReq struct {
	Page   int                `json:"page"`
	Size   int                `json:"size"`
	OrgId  int64              `json:"orgId"`
	UserId int64              `json:"userId"`
	Input  *vo.OrgUserListReq `json:"input"`
}

type OrgUserListResp

type OrgUserListResp struct {
	vo.Err
	Data *vo.UserOrganizationList `json:"data"`
}

type OrgVo

type OrgVo struct {
	OrgId int64 `json:"orgId"`
}

type OrganizationInfoReqVo

type OrganizationInfoReqVo struct {
	OrgId  int64 `json:"orgId"`
	UserId int64 `json:"userId"`
}

type OrganizationInfoRespVo

type OrganizationInfoRespVo struct {
	vo.Err
	OrganizationInfo *vo.OrganizationInfoResp `json:"data"`
}

type OutOrgInfo

type OutOrgInfo struct {
	Id              int64  `json:"id"`
	OrgId           int64  `json:"orgId"`
	OutOrgId        string `json:"outOrgId"`
	SourceChannel   string `json:"sourceChannel"`
	SourcePlatform  string `json:"sourcePlatform"`
	TenantCode      string `json:"tenantCode"`
	Name            string `json:"name"`
	Industry        string `json:"industry"`
	IsAuthenticated int    `json:"isAuthenticated"`
	AuthTicket      string `json:"authTicket"`
	AuthLevel       string `json:"authLevel"`
	Status          int    `json:"status"`
}

type PAReportMsg

type PAReportMsg struct {
	Secret       string `json:"secret"`
	UserCount    int64  `json:"userCount"`
	DeptCount    int64  `json:"deptCount"`
	ProjectCount int64  `json:"projectCount"`
	IssueCount   int64  `json:"issueCount"`
	OutSideIp    string `json:"outSideIp"`
}

type PAReportMsgReqVo

type PAReportMsgReqVo struct {
	Body PAReportMsg `json:"body"`
}

type PayBaseLevelData

type PayBaseLevelData struct {
	Id       int64  `json:"id"`
	Name     string `json:"name"`
	Duration int64  `json:"duration"`
}

type PersonWeiXinBindData

type PersonWeiXinBindData struct {
	SceneKey string `json:"sceneKey"`
	Mobile   string `json:"mobile"`
	AuthCode string `json:"authCode"`
}

type PersonWeiXinBindExistAccountData

type PersonWeiXinBindExistAccountData struct {
	SceneKey string `json:"sceneKey"`
}

type PersonWeiXinBindExistAccountReq

type PersonWeiXinBindExistAccountReq struct {
	OrgId  int64                             `json:"orgId"`
	UserId int64                             `json:"userId"`
	Input  *PersonWeiXinBindExistAccountData `json:"input"`
}

type PersonWeiXinBindReq

type PersonWeiXinBindReq struct {
	Data *PersonWeiXinBindData `json:"data"`
}

type PersonWeiXinBindResp

type PersonWeiXinBindResp struct {
	vo.Err
	Data *PersonWeiXinLoginData `json:"data"`
}

type PersonWeiXinLoginData

type PersonWeiXinLoginData struct {
	// 是否被绑定
	Binding bool `json:"binding"`
	// 如果已经绑定了用户,则会返回token
	Token string `json:"token"`
	// 组织id,如果为0,则要创建组织
	OrgID int64 `json:"orgId"`
	// 组织名称
	OrgName string `json:"orgName"`
	// 用户id
	UserID int64 `json:"userId"`
	// 用户姓名
	Name string `json:"name"`
}

type PersonWeiXinLoginReqVo

type PersonWeiXinLoginReqVo struct {
	Code string `json:"code"`
}

type PersonWeiXinLoginRespVo

type PersonWeiXinLoginRespVo struct {
	vo.Err
	Data *PersonWeiXinLoginData `json:"data"`
}

type PersonWeiXinQrCodeReqVo

type PersonWeiXinQrCodeReqVo struct {
	Code string
}

type PersonWeiXinQrCodeRespVo

type PersonWeiXinQrCodeRespVo struct {
	vo.Err
	Data *PersonWeiXinRqCodeData `json:"data"`
}

type PersonWeiXinRqCodeData

type PersonWeiXinRqCodeData struct {
	Ticket   string `json:"ticket"`
	SceneKey string `json:"sceneKey"`
}

type PersonalInfo

type PersonalInfo struct {
	// 主键
	ID int64 `json:"id"`
	// 工号
	EmplID *string `json:"emplId"`
	// 组织id
	OrgID int64 `json:"orgId"`
	// 组织名称
	OrgName string `json:"orgName"`
	// 组织code
	OrgCode string `json:"orgCode"`
	// 名称
	Name string `json:"name"`
	// 第三方名称
	ThirdName string `json:"thirdName"`
	// 登录名
	LoginName string `json:"loginName"`
	// 登录名编辑次数
	LoginNameEditCount int `json:"loginNameEditCount"`
	// 邮箱
	Email string `json:"email"`
	// 电话
	Mobile string `json:"mobile"`
	// 生日
	Birthday types.Time `json:"birthday"`
	// 性别
	Sex int `json:"sex"`
	// 剩余使用时长
	Rimanente int `json:"rimanente"`
	// 付费等级
	Level int `json:"level"`
	// 付费等级名
	LevelName string `json:"levelName"`
	// 头像
	Avatar string `json:"avatar"`
	// 来源
	SourceChannel string `json:"sourceChannel"`
	// 语言
	Language string `json:"language"`
	// 座右铭
	Motto string `json:"motto"`
	// 上次登录ip
	LastLoginIP string `json:"lastLoginIp"`
	// 上次登录时间
	LastLoginTime types.Time `json:"lastLoginTime"`
	// 登录失败次数
	LoginFailCount int `json:"loginFailCount"`
	// 创建时间
	CreateTime types.Time `json:"createTime"`
	// 更新时间
	UpdateTime types.Time `json:"updateTime"`
	// 密码是否设置过(1已设置0未设置)
	PasswordSet int `json:"passwordSet"`
	// 是否需要提醒(1需要2不需要)
	RemindBindPhone int `json:"remindBindPhone"`
	// 是否是超管
	IsAdmin bool `json:"isAdmin"`
	// 是否是管理员
	IsManager bool `json:"isManager"`
	// 是否是三方平台管理员,如:飞书管理员
	IsPlatformAdmin bool `json:"isPlatformAdmin"`
	// 权限
	Functions []FunctionLimitObj `json:"functions"`
	// 一些额外数据,如:观看新手指引的状态
	ExtraDataMap map[string]interface{} `json:"extraDataMap"`
	// 个人中心弹窗是否弹出
	RemindPopUp int `json:"remindPopUp"` // 1 弹出, 2 不弹出
}

type PersonalInfoReqVo

type PersonalInfoReqVo struct {
	SourceChannel string `json:"sourceChannel"`
	UserId        int64  `json:"userId"`
	OrgId         int64  `json:"orgId"`
}

type PersonalInfoRespVo

type PersonalInfoRespVo struct {
	vo.Err
	PersonalInfo *vo.PersonalInfo `json:"data"`
}

type PersonalInfoRestRespVo

type PersonalInfoRestRespVo struct {
	vo.Err
	Data *PersonalInfo `json:"data"`
}

type PlatformAuthCodeData

type PlatformAuthCodeData struct {
	// 企业ID
	CorpId string `json:"corpId"`
	// OutUserId
	OutUserId string `json:"outUserId"`
	// 是否为企业管理
	IsAdmin bool `json:"isAdmin"`
	// 是否被绑定
	Binding bool `json:"binding"`
	// refreshToken
	RefreshToken string `json:"refreshToken"`
	// accessToken
	AccessToken string `json:"accessToken"`
	// token
	Token string `json:"token"`
	// codeToken
	CodeToken string `json:"codeToken"`
	// 组织id
	OrgID int64 `json:"orgId"`
	// 组织名称
	OrgName string `json:"orgName"`
	// 外部组织名称
	OutOrgName string `json:"outOrgName"`
	// 组织code
	OrgCode string `json:"orgCode"`
	// 用户id
	UserID int64 `json:"userId"`
	// 用户姓名
	Name string `json:"name"`
}

type PrepareTransferOrgData

type PrepareTransferOrgData struct {
	MatchUsers    []*UserInfo `json:"matchUsers"`
	NotMatchUsers []*UserInfo `json:"notNatchUsers"`
}

type PrepareTransferOrgInput

type PrepareTransferOrgInput struct {
	OriginOrgId int64 `json:"originOrgId"`
	ToOrgId     int64 `json:"toOrgId"`
}

type PrepareTransferOrgReq

type PrepareTransferOrgReq struct {
	OrgId  int64                    `json:"orgId"`
	UserId int64                    `json:"userId"`
	Input  *PrepareTransferOrgInput `json:"input"`
}

type PrepareTransferOrgRespVo

type PrepareTransferOrgRespVo struct {
	vo.Err
	Data *PrepareTransferOrgData `json:"data"`
}

type QrCodeScanReq

type QrCodeScanReq struct {
	OpenId   string `json:"openId"`
	SceneKey string `json:"token"`
}

type ReadOrgColumnsReply

type ReadOrgColumnsReply struct {
	Columns []*projectvo.TableColumnData `json:"columns"`
}

type RemoveInviteUserReq

type RemoveInviteUserReq struct {
	//要移除的id
	Ids []int64 `json:"ids"`
	//是否删除全部(1是,其余为否)
	IsAll int `json:"isAll"`
}

type RemoveInviteUserReqVo

type RemoveInviteUserReqVo struct {
	CurrentUserId int64               `json:"userId"`
	OrgId         int64               `json:"orgId"`
	Data          RemoveInviteUserReq `json:"data"`
}

type RemoveOrgMemberReq

type RemoveOrgMemberReq struct {
	UserId        int64  `json:"userId"`
	OrgId         int64  `json:"orgId"`
	SourceChannel string `json:"sourceChannel"`

	Input vo.RemoveOrgMemberReq `json:"input"`
}

type ResetPasswordReqVo

type ResetPasswordReqVo struct {
	OrgId  int64               `json:"orgId"`
	UserId int64               `json:"userId"`
	Input  vo.ResetPasswordReq `json:"input"`
}

type RetrievePasswordReqVo

type RetrievePasswordReqVo struct {
	OrgId int64                  `json:"OrgId"`
	Input vo.RetrievePasswordReq `json:"input"`
}

type SaveOrgSummaryTableAppIdReqVo

type SaveOrgSummaryTableAppIdReqVo struct {
	Input  SaveOrgSummaryTableAppIdReqVoData `json:"input"`
	OrgId  int64                             `json:"orgId"`
	UserId int64                             `json:"userId"`
}

type SaveOrgSummaryTableAppIdReqVoData

type SaveOrgSummaryTableAppIdReqVoData struct {
	AppId             int64 `json:"appId"` // 对应于 OrgSummaryTableAppId
	TagAppId          int64 `json:"tagAppId"`
	PriorityAppId     int64 `json:"priorityAppId"`
	IssueBarAppId     int64 `json:"issueBarAppId"`
	SceneAppId        int64 `json:"sceneAppId"`
	IssueStatusAppId  int64 `json:"issueStatusAppId"`
	EmptyProjectAppId int64 `json:"emptyProjectAppId"`
	// 项目迁移到无码中需要的,用于存储组织的项目数据
	ProjectFormAppId int64 `json:"projectFormAppId"`
	// 存放项目视图的目录 id
	ProjectFolderAppId int64 `json:"projectFolderAppId"`
	// 存放任务视图的目录 id
	IssueFolderAppId int64 `json:"issueFolderAppId"`
}

type SaveViewLocationReq

type SaveViewLocationReq struct {
	AppId       string `json:"appId"`
	ProjectId   int64  `json:"projectId"`
	TableId     string `json:"tableId"`
	IterationId int64  `json:"iterationId"`
	ViewId      string `json:"viewId"`
	MenuId      string `json:"menuId"`
	DashboardId string `json:"dashboardId"`
}

type SaveViewLocationReqVo

type SaveViewLocationReqVo struct {
	OrgId  int64                `json:"orgId"`
	UserId int64                `json:"userId"`
	Input  *SaveViewLocationReq `json:"input"`
}

type SaveViewLocationRespVo

type SaveViewLocationRespVo struct {
	vo.Err
	Data bool `json:"data"`
}

type Scene

type Scene struct {
	SceneId  int    `json:"scene_id"`
	SceneStr string `json:"scene_str"`
}

type ScheduleOrgUseMobileAndEmailReqVo

type ScheduleOrgUseMobileAndEmailReqVo struct {
	TenantKey string `json:"tenantKey"`
}

type ScheduleOrganizationListResp

type ScheduleOrganizationListResp struct {
	OrgId                      int64  `json:"orgId"`
	ProjectDailyReportSendTime string `json:"projectDailyReportSendTime"`
}

type ScheduleOrganizationPageListReqVo

type ScheduleOrganizationPageListReqVo struct {
	Page int `json:"page"`
	Size int `json:"size"`
}

type ScheduleOrganizationPageListResp

type ScheduleOrganizationPageListResp struct {
	Total                        int64                            `json:"total"`
	ScheduleOrganizationListResp *[]*ScheduleOrganizationListResp `json:"list"`
}

type ScheduleOrganizationPageListRespVo

type ScheduleOrganizationPageListRespVo struct {
	vo.Err
	ScheduleOrganizationPageListResp *ScheduleOrganizationPageListResp `json:"data"`
}

type SearchUserReq

type SearchUserReq struct {
	Email string `json:"email"`
}

type SearchUserReqVo

type SearchUserReqVo struct {
	Data          SearchUserReq `json:"data"`
	CurrentUserId int64         `json:"userId"`
	OrgId         int64         `json:"orgId"`
}

type SearchUserResp

type SearchUserResp struct {
	//搜索结果(1可邀请2已邀请3已添加)
	Status   int       `json:"status"`
	UserInfo *UserInfo `json:"userInfo"`
}

type SearchUserRespVo

type SearchUserRespVo struct {
	vo.Err
	Data *SearchUserResp `json:"data"`
}

type SendAuthCodeReqVo

type SendAuthCodeReqVo struct {
	Input vo.SendAuthCodeReq `json:"input"`
}

type SendCardToAdminForUpgradeReqData

type SendCardToAdminForUpgradeReqData struct {
	TargetPayLevel int `json:"targetPayLevel"`
}

type SendCardToAdminForUpgradeReqVo

type SendCardToAdminForUpgradeReqVo struct {
	OrgId         int64  `json:"orgId"`
	UserId        int64  `json:"userId"`
	SourceChannel string `json:"sourceChannel"`
}

type SendFeishuMemberHelpMsgReqVo

type SendFeishuMemberHelpMsgReqVo struct {
	OrgId       int64  `json:"orgId"`
	TenantKey   string `json:"tenantKey"`
	OwnerOpenId string `json:"ownerOpenId"`
}

type SendSMSLoginCodeReqVo

type SendSMSLoginCodeReqVo struct {
	Input vo.SendSmsLoginCodeReq `json:"input"`
}

type SetActivityData

type SetActivityData struct {
	ActivityFlag int `json:"activityFlag"`
}

type SetInteractiveCardCallbackUrl

type SetInteractiveCardCallbackUrl struct {
}

type SetLabReq

type SetLabReq struct {
	WorkBenchShow bool `json:"workBenchShow"`
	ProOverview   bool `json:"proOverview"`
	SideBarShow   bool `json:"sideBarShow"`
	EmptyApp      bool `json:"emptyApp"`
}

type SetLabReqVo

type SetLabReqVo struct {
	OrgId  int64     `json:"orgId"`
	UserId int64     `json:"userId"`
	Input  SetLabReq `json:"input"`
}

type SetLabResp

type SetLabResp struct {
	OrgId int64 `json:"orgId"`
}

type SetLabRespVo

type SetLabRespVo struct {
	vo.Err
	Data *SetLabResp `json:"data"`
}

type SetPasswordReqVo

type SetPasswordReqVo struct {
	OrgId  int64             `json:"orgId"`
	UserId int64             `json:"userId"`
	Input  vo.SetPasswordReq `json:"input"`
}

type SetPwdLoginCodeReqVo

type SetPwdLoginCodeReqVo struct {
	CaptchaId       string `json:"captchaId"`
	CaptchaPassword string `json:"captchaPassword"`
}

type SetShareUrlReq

type SetShareUrlReq struct {
	Data ShareUrlData `json:"data"`
}

type SetUserActivityReq

type SetUserActivityReq struct {
	OrgId  int64           `json:"orgId"`
	UserId int64           `json:"userId"`
	Input  SetActivityData `json:"input"`
}

type SetUserDepartmentLevelReq

type SetUserDepartmentLevelReq struct {
	//用户id
	UserId int64 `json:"userId"`
	//是否是部门主管(1是2否)
	IsLeader int `json:"isLeader"`
	//部门id
	DepartmentId int64 `json:"departmentId"`
}

type SetUserDepartmentLevelReqVo

type SetUserDepartmentLevelReqVo struct {
	Data          SetUserDepartmentLevelReq `json:"data"`
	CurrentUserId int64                     `json:"userId"`
	OrgId         int64                     `json:"orgId"`
}

type SetVersionData

type SetVersionData struct {
	//Version string `json:"version"`
	VersionInfoVisible bool `json:"versionInfoVisible"`
}

type SetVersionReq

type SetVersionReq struct {
	OrgId  int64          `json:"orgId"`
	UserId int64          `json:"userId"`
	Input  SetVersionData `json:"input"`
}

type SetVisitUserGuideStatusReq

type SetVisitUserGuideStatusReq struct {
	OrgId  int64  `json:"orgId"`
	UserId int64  `json:"userId"`
	Flag   string `json:"flag"`
}

type ShareUrlData

type ShareUrlData struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

type SimpleDeptForCustomField

type SimpleDeptForCustomField struct {
	ID       int64  `json:"id"`
	Name     string `json:"name"`
	Avatar   string `json:"avatar"`
	IsDelete int    `json:"isDelete"`
	Status   int    `json:"status"`
	Type     string `json:"type"` // 无码自定义字段,部门的 type,值为:`D_`
}

type SpaceInfo

type SpaceInfo struct {
	SpaceId   string `json:"spaceId"`
	SpaceName string `json:"spaceName"`
}

type SpaceList

type SpaceList struct {
	List []*SpaceInfo `json:"list"`
}

type SwitchUserOrganizationReqVo

type SwitchUserOrganizationReqVo struct {
	UserId int64  `json:"userId"`
	OrgId  int64  `json:"orgId"`
	Token  string `json:"userToken"`
}

type SwitchUserOrganizationRespVo

type SwitchUserOrganizationRespVo struct {
	vo.Err
	OrgId int64 `json:"data"`
}

type SyncUserInfoFromFeiShuReqVo

type SyncUserInfoFromFeiShuReqVo struct {
	CurrentUserId             int64                        `json:"userId"`
	OrgId                     int64                        `json:"orgId"`
	SyncUserInfoFromFeiShuReq vo.SyncUserInfoFromFeiShuReq `json:"syncUserInfoFromFeiShuReq"`
}

从飞书同步用户、部门信息

type TeamInitRespVo

type TeamInitRespVo struct {
	vo.Err
	TeamId int64 `json:"data"`
}

type TeamOwnerInitReqVo

type TeamOwnerInitReqVo struct {
	TeamId int64 `json:"teamId"`
	Owner  int64 `json:"owner"`
}

type TeamUserInitReqVo

type TeamUserInitReqVo struct {
	OrgId  int64 `json:"orgId"`
	TeamId int64 `json:"teamId"`
	UserId int64 `json:"userId"`
	IsRoot bool  `json:"isRoot"`
}

type ThirdAccountBindListResp

type ThirdAccountBindListResp struct {
	vo.Err
	Data []*vo.ThirdAccountBindListResp `json:"data"`
}

type ThirdAccountData

type ThirdAccountData struct {
	BindPlatform string `json:"bindPlatform"`
	BindStatus   int32  `json:"bindStatus"`
	BindTime     int64  `json:"bindTime"`
	BindName     string `json:"bindName"`
}

type ThirdAccountListData

type ThirdAccountListData struct {
	IsBindMobile bool                `json:"isBindMobile"`
	List         []*ThirdAccountData `json:"list"`
}

type ThirdAccountListResp

type ThirdAccountListResp struct {
	vo.Err
	Data *ThirdAccountListData `json:"data"`
}

type TransferOrgOwnerReq

type TransferOrgOwnerReq struct {
	OrgId      int64 `json:"orgId"`
	UserId     int64 `json:"userId"`
	NewOwnerId int64 `json:"newOwnerId"`
}

type UnbindAccountData

type UnbindAccountData struct {
	SourcePlatform string `json:"sourcePlatform"`
}

type UnbindAccountReq

type UnbindAccountReq struct {
	OrgId  int64              `json:"orgId"`
	UserId int64              `json:"userId"`
	Input  *UnbindAccountData `json:"input"`
}

type UnbindLoginNameReqVo

type UnbindLoginNameReqVo struct {
	OrgId  int64                 `json:"orgId"`
	UserId int64                 `json:"userId"`
	Input  vo.UnbindLoginNameReq `json:"input"`
}

type UpdateCoolAppTopCardReq

type UpdateCoolAppTopCardReq struct {
	OrgId     int64 `json:"orgId"`
	ProjectId int64 `json:"projectId"`
}

type UpdateDepartmentReq

type UpdateDepartmentReq struct {
	//部门id
	DepartmentId int64 `json:"departmentId"`
	//部门名称(选填)
	Name *string `json:"name"`
	// 部门主管(选填,不传表示不更新,传空数组则表示取消主管)
	LeaderIds *[]int64 `json:"leaderIds"`
}

type UpdateDepartmentReqVo

type UpdateDepartmentReqVo struct {
	Data          UpdateDepartmentReq `json:"data"`
	CurrentUserId int64               `json:"userId"`
	OrgId         int64               `json:"orgId"`
}

type UpdateFunctionConfigData

type UpdateFunctionConfigData struct {
	Level         int64     `json:"level"`
	BuyType       string    `json:"buyType"`
	PricePlanType string    `json:"pricePlanType"`
	PayTime       time.Time `json:"payTime"`
	TrailDays     int       `json:"trailDays"`  //试用天数
	ExpireDays    int       `json:"expireDays"` //有效天数
	EndDate       time.Time `json:"endDate"`    //有效期限
	Seats         int       `json:"seats"`      //人数限制
}

type UpdateOrgBasicShowSettingReq

type UpdateOrgBasicShowSettingReq struct {
	OrgId  int64                           `json:"orgId"`
	UserId int64                           `json:"userId"`
	Params vo.UpdateOrgBasicShowSettingReq `json:"params"`
}

type UpdateOrgFunctionConfigReq

type UpdateOrgFunctionConfigReq struct {
	OrgId         int64                    `json:"orgId"`
	UserId        int64                    `json:"userId"`
	SourceChannel string                   `json:"sourceChannel"`
	Input         UpdateFunctionConfigData `json:"input"`
}

type UpdateOrgMemberCheckStatusReq

type UpdateOrgMemberCheckStatusReq struct {
	UserId        int64  `json:"userId"`
	OrgId         int64  `json:"orgId"`
	SourceChannel string `json:"sourceChannel"`

	Input vo.UpdateOrgMemberCheckStatusReq `json:"input"`
}

type UpdateOrgMemberReq

type UpdateOrgMemberReq struct {
	// 账号type  1:手机号  2:账号名
	AccountType int `json:"accountType"`
	// UserId
	UserId int64 `json:"userId"`
	// 手机区号
	PhoneRegion string `json:"phoneRegion"`
	// 手机号
	PhoneNumber string `json:"phoneNumber"`
	// 密码
	Password string `json:"password"`
	// 邮箱
	Email string `json:"email"`
	// 姓名
	Name string `json:"name"`
	// 部门/职级列表
	DeptAndPositions []DeptAndPositionReq `json:"deptAndPositions"`
	// 用户所在的部门 ids. polaris 没有职级,因此无法使用 DeptAndPositions 字段
	DepartmentIds []int64 `json:"departmentIds"`
	// 管理组。一个用户可以在多个管理组中。
	RoleGroupIds []int64 `json:"roleGroupIds"`
	// 状态(1启用2禁用3离职 选填)
	Status int `json:"status"`
	// 头像。可选
	Avatar string `json:"avatar"`
}

UpdateOrgMemberReq 更新组织成员信息

type UpdateOrgMemberReqVo

type UpdateOrgMemberReqVo struct {
	OrgId  int64              `json:"orgId"`
	UserId int64              `json:"userId"`
	Input  UpdateOrgMemberReq `json:"input"`
}

type UpdateOrgMemberStatusReq

type UpdateOrgMemberStatusReq struct {
	UserId        int64  `json:"userId"`
	OrgId         int64  `json:"orgId"`
	SourceChannel string `json:"sourceChannel"`

	Input vo.UpdateOrgMemberStatusReq `json:"input"`
}

type UpdateOrgRemarkSettingReqVo

type UpdateOrgRemarkSettingReqVo struct {
	OrgId  int64                             `json:"orgId"`
	UserId int64                             `json:"userId"`
	Input  SaveOrgSummaryTableAppIdReqVoData `json:"input"`
}

type UpdateOrganizationSettingReqVo

type UpdateOrganizationSettingReqVo struct {
	//入参
	Input vo.UpdateOrganizationSettingsReq `json:"input"`
	//用户Id
	UserId int64 `json:"userId"`
}

type UpdateOrganizationSettingRespVo

type UpdateOrganizationSettingRespVo struct {
	vo.Err
	OrgId int64 `json:"data"`
}

type UpdateUserConfigReqVo

type UpdateUserConfigReqVo struct {
	UpdateUserConfigReq vo.UpdateUserConfigReq `json:"updateUserConfigReq"`
	OrgId               int64                  `json:"orgId"`
	UserId              int64                  `json:"userId"`
}

type UpdateUserConfigRespVo

type UpdateUserConfigRespVo struct {
	vo.Err
	UpdateUserConfig *vo.UpdateUserConfigResp `json:"data"`
}

type UpdateUserDefaultProjectIdConfigReqVo

type UpdateUserDefaultProjectIdConfigReqVo struct {
	UpdateUserDefaultProjectIdConfigReq vo.UpdateUserDefaultProjectConfigReq `json:"updateUserDefaultProjectIdConfigReq"`
	OrgId                               int64                                `json:"orgId"`
	UserId                              int64                                `json:"userId"`
}

type UpdateUserInfoReqVo

type UpdateUserInfoReqVo struct {
	UpdateUserInfoReq vo.UpdateUserInfoReq `json:"updateUserInfoReq"`
	OrgId             int64                `json:"orgId"`
	UserId            int64                `json:"userId"`
}

type UpdateUserPcConfigReqVo

type UpdateUserPcConfigReqVo struct {
	UpdateUserPcConfigReq vo.UpdateUserPcConfigReq `json:"updateUserConfigPcReq"`
	OrgId                 int64                    `json:"orgId"`
	UserId                int64                    `json:"userId"`
}

type UpdateUserReq

type UpdateUserReq struct {
	// 用户id(必填)
	UserId int64 `json:"userId"`
	// 手机号(选填)
	PhoneNumber *string `json:"phoneNumber"`
	// 邮箱(选填)
	Email *string `json:"email"`
	// 姓名(选填)
	Name *string `json:"name"`
	// 部门id(选填)
	DepartmentIds *[]int64 `json:"departmentIds"`
	// 角色id(选填)
	RoleIds *[]int64 `json:"roleIds"`
	// 状态(1启用2禁用 选填)
	Status *int `json:"status"`
}

type UpdateUserReqVo

type UpdateUserReqVo struct {
	Data          UpdateUserReq `json:"data"`
	CurrentUserId int64         `json:"userId"`
	OrgId         int64         `json:"orgId"`
}

type UpdateUserToSysManageGroupData

type UpdateUserToSysManageGroupData struct {
	UserIds    []int64 `json:"userIds"`
	UpdateType int     `json:"updateType"`
}

type UpdateUserToSysManageGroupReq

type UpdateUserToSysManageGroupReq struct {
	OrgId int64                          `json:"orgId"`
	Input UpdateUserToSysManageGroupData `json:"input"`
}

type UpdateUserViewLocationReq

type UpdateUserViewLocationReq struct {
	OrgId  int64 `json:"orgId"`
	UserId int64 `json:"userId"`
	AppId  int64 `json:"appId"`
}

type UserConfigInfoReqVo

type UserConfigInfoReqVo struct {
	UserId int64 `json:"userId"`
	OrgId  int64 `json:"orgId"`
}

type UserConfigInfoRespVo

type UserConfigInfoRespVo struct {
	vo.Err
	UserConfigInfo *vo.UserConfig `json:"data"`
}

type UserDepartmentData

type UserDepartmentData struct {
	//部门id
	DepartmentId int64 `json:"departmentId"`
	//是否是主管1是2否
	IsLeader int `json:"isLeader"`
	//部门名称
	DeparmentName string `json:"deparmentName"`
}

type UserInfo

type UserInfo struct {
	// id
	UserID int64 `json:"userId"`
	// 姓名
	Name string `json:"name"`
	// 姓名拼音
	NamePy string `json:"namePy"`
	// 用户头像
	Avatar string `json:"avatar"`
	// 邮箱
	Email string `json:"email"`
	// 手机
	PhoneNumber string `json:"phoneNumber"`
	// 用户部门信息
	DepartmentList []UserDepartmentData `json:"departmentList"`
	// 角色信息
	RoleList []UserRoleData `json:"roleList"`
	// 创建时间
	CreateTime time.Time `json:"createTime"`
	// 状态1启用2禁用
	Status int `json:"status"`
	// 禁用时间
	StatusChangeTime time.Time `json:"statusChangeTime"`
	// 是否是组织创建人
	IsCreator bool `json:"isCreator"`
}

type UserInitByOrgReqVo

type UserInitByOrgReqVo struct {
	UserId string `json:"userId"`
	CorpId string `json:"corpId"`
	OrgId  int64  `json:"orgId"`
}

type UserInitByOrgRespVo

type UserInitByOrgRespVo struct {
	vo.Err
	UserId int64 `json:"data"`
}

type UserLastViewLocationData

type UserLastViewLocationData struct {
	AppId       string `json:"appId"`
	ProjectId   int64  `json:"projectId"`
	TableId     string `json:"tableId,omitempty"`
	ViewId      string `json:"viewId,omitempty"`
	IterationId int64  `json:"iterationId,omitempty"`
	MenuId      string `json:"menuId,omitempty"`
	DashboardId string `json:"dashboardId,omitempty"`
}

type UserListReq

type UserListReq struct {
	//搜索字段
	SearchCode *string `json:"searchCode"`
	//是否已分配部门(1已分配2未分配,默认全部)
	IsAllocate *int `json:"isAllocate"`
	//是否禁用(1启用2禁用,默认全部)
	Status *int `json:"status"`
	//角色id
	RoleId *int64 `json:"roleId"`
	//部门id
	DepartmentId *int64 `json:"departmentId"`
	// 页码(选填,不填为全部)
	Page int `json:"page"`
	// 数量(选填,不填为全部)
	Size int `json:"size"`
}

type UserListReqVo

type UserListReqVo struct {
	Data          UserListReq `json:"data"`
	CurrentUserId int64       `json:"userId"`
	OrgId         int64       `json:"orgId"`
}

type UserListResp

type UserListResp struct {
	// 总数
	Total int64 `json:"total"`
	// 列表
	List []*UserInfo `json:"list"`
}

type UserListRespVo

type UserListRespVo struct {
	vo.Err
	Data *UserListResp `json:"data"`
}

type UserLoginReqVo

type UserLoginReqVo struct {
	UserLoginReq vo.UserLoginReq `json:"userLoginReq"`
}

type UserOrganizationListReqVo

type UserOrganizationListReqVo struct {
	UserId int64 `json:"userId"`
}

type UserOrganizationListRespVo

type UserOrganizationListRespVo struct {
	vo.Err
	UserOrganizationListResp *vo.UserOrganizationListResp `json:"data"`
}

type UserQuitReqVo

type UserQuitReqVo struct {
	Token string `json:"token"`
}

type UserRegisterReqVo

type UserRegisterReqVo struct {
	Input vo.UserRegisterReq `json:"input"`
}

type UserRegisterRespVo

type UserRegisterRespVo struct {
	Data *vo.UserRegisterResp `json:"data"`
	vo.Err
}

type UserRoleData

type UserRoleData struct {
	//角色id
	RoleId int64 `json:"roleId"`
	//角色名称
	RoleName string `json:"roleName"`
}

type UserSMSLoginRespVo

type UserSMSLoginRespVo struct {
	vo.Err
	Data *vo.UserLoginResp `json:"data"`
}

type UserStatReqVo

type UserStatReqVo struct {
	CurrentUserId int64 `json:"userId"`
	OrgId         int64 `json:"orgId"`
}

type UserStatResp

type UserStatResp struct {
	//所有成员数量
	AllCount int64 `json:"allCount"`
	//未分配成员数量
	UnallocatedCount int64 `json:"unallocatedCount"`
	//未接受邀请成员数量
	UnreceivedCount int64 `json:"unreceivedCount"`
	//已禁用成员数量
	ForbiddenCount int64 `json:"forbiddenCount"`
}

type UserStatRespVo

type UserStatRespVo struct {
	vo.Err
	Data *UserStatResp `json:"data"`
}

type VerifyDepartmentsReq

type VerifyDepartmentsReq struct {
	OrgId         int64   `json:"orgId"`
	DepartmentIds []int64 `json:"departmentIds"`
}

type VerifyOrgReqVo

type VerifyOrgReqVo struct {
	OrgId  int64 `json:"orgId"`
	UserId int64 `json:"userId"`
}

type VerifyOrgUsersReqData

type VerifyOrgUsersReqData struct {
	UserIds []int64 `json:"userIds"`
}

type VerifyOrgUsersReqVo

type VerifyOrgUsersReqVo struct {
	OrgId int64                 `json:"orgId"`
	Input VerifyOrgUsersReqData `json:"input"`
}

type VersionResp

type VersionResp struct {
	Version GetVersionData `json:"version"`
}

type VoidRespVo

type VoidRespVo struct {
	vo.Err
	Data VoidRespVoData `json:"data"`
}

type VoidRespVoData

type VoidRespVoData struct {
	IsOk bool `json:"isOk"`
}

type WeiXinQrCodeReply

type WeiXinQrCodeReply struct {
	ErrorInfo
	Ticket        string `json:"ticket"`
	ExpireSeconds int    `json:"expire_seconds"`
	Url           string `json:"url"`
}

type WeiXinQrCodeReq

type WeiXinQrCodeReq struct {
	ExpireSeconds int         `json:"expire_seconds"`
	ActionName    string      `json:"action_name"`
	ActionInfo    *ActionInfo `json:"action_info"`
}

Jump to

Keyboard shortcuts

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