|
|
@ -48,16 +48,16 @@ type CreateOrganizationUserResp struct {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type UpdateOrganizationUserReq struct {
|
|
|
|
type UpdateOrganizationUserReq struct {
|
|
|
|
OperationID string `json:"operationID" binding:"required"`
|
|
|
|
OperationID string `json:"operationID" binding:"required"`
|
|
|
|
OrganizationUser *open_im_sdk.OrganizationUser
|
|
|
|
*open_im_sdk.OrganizationUser
|
|
|
|
}
|
|
|
|
}
|
|
|
|
type UpdateOrganizationUserResp struct {
|
|
|
|
type UpdateOrganizationUserResp struct {
|
|
|
|
CommResp
|
|
|
|
CommResp
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type CreateDepartmentMemberReq struct {
|
|
|
|
type CreateDepartmentMemberReq struct {
|
|
|
|
OperationID string `json:"operationID" binding:"required"`
|
|
|
|
OperationID string `json:"operationID" binding:"required"`
|
|
|
|
UserInDepartment *open_im_sdk.UserInDepartment
|
|
|
|
*open_im_sdk.UserInDepartment
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type CreateDepartmentMemberResp struct {
|
|
|
|
type CreateDepartmentMemberResp struct {
|
|
|
@ -65,7 +65,7 @@ type CreateDepartmentMemberResp struct {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type GetUserInDepartmentReq struct {
|
|
|
|
type GetUserInDepartmentReq struct {
|
|
|
|
UserID string
|
|
|
|
UserID string `json:"userID" binding:"required"`
|
|
|
|
OperationID string `json:"operationID" binding:"required"`
|
|
|
|
OperationID string `json:"operationID" binding:"required"`
|
|
|
|
}
|
|
|
|
}
|
|
|
|
type GetUserInDepartmentResp struct {
|
|
|
|
type GetUserInDepartmentResp struct {
|
|
|
@ -83,7 +83,7 @@ type UpdateUserInDepartmentResp struct {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type DeleteOrganizationUserReq struct {
|
|
|
|
type DeleteOrganizationUserReq struct {
|
|
|
|
UserID string
|
|
|
|
UserID string `json:"userID" binding:"required"`
|
|
|
|
OperationID string `json:"operationID" binding:"required"`
|
|
|
|
OperationID string `json:"operationID" binding:"required"`
|
|
|
|
}
|
|
|
|
}
|
|
|
|
type DeleteOrganizationUserResp struct {
|
|
|
|
type DeleteOrganizationUserResp struct {
|
|
|
@ -91,7 +91,7 @@ type DeleteOrganizationUserResp struct {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type GetDepartmentMemberReq struct {
|
|
|
|
type GetDepartmentMemberReq struct {
|
|
|
|
DepartmentID string
|
|
|
|
DepartmentID string `json:"departmentID" binding:"required"`
|
|
|
|
OperationID string `json:"operationID" binding:"required"`
|
|
|
|
OperationID string `json:"operationID" binding:"required"`
|
|
|
|
}
|
|
|
|
}
|
|
|
|
type GetDepartmentMemberResp struct {
|
|
|
|
type GetDepartmentMemberResp struct {
|
|
|
|