Versions in this module Expand all Collapse all v0 v0.0.7 Oct 15, 2022 v0.0.6 Oct 14, 2022 Changes in this version + func CreateFolderTask(ctx context.Context, folderID string, update TaskUpdate, resp *ResponseTasks) (err error) + func UpdateTask(ctx context.Context, taskID string, update TaskUpdate, resp *ResponseTasks) (err error) + type TaskUpdate struct + BillingType string + CustomFields Fields + Dates *TaskDate + Description *string + EffortAllocation *EffortAllocation + Follow bool + Followers []string + Importance *string + Metadata Metadatas + Parents []string + PriorityAfter *string + PriorityBefore *string + Responsibles []string + Shareds []string + Status *string + SuperTasks *string + Title string + СustomStatus *string + func (t TaskUpdate) ToRequest() (r string, err error) v0.0.5 Oct 13, 2022 v0.0.4 Oct 13, 2022 Changes in this version type Task + AuthorIds []string + CustomStatusID string + Dates TaskDate + DependencyIds []string + FollowedByMe bool + FollowerIds []string + Importance string + Priority string + ResponsibleIds []string + Status string + SubTaskIds []string + SuperTaskIds []interface{} v0.0.3 Oct 13, 2022 v0.0.2 Oct 13, 2022 Changes in this version + const CommentsPath + var GetApproval = getApprovals(approvalPath) + var GetCategoryTimeLogs = getTimeLogs(categoryTimelogsPath) + var GetContactTimeLogs = getTimeLogs(contactTimelogsPath) + var GetFolderApproval = getApprovals(folderApprovalsPath) + var GetFolderComments = getComments(folderCommentsPath) + var GetFolderTasks = getTasks(folderTasksPath) + var GetFolderTimeLogs = getTimeLogs(folderTimelogsPath) + var GetSpaceTasks = getTasks(spaceTasksPath) + var GetTask = getTasks(taskPath) + var GetTaskComments = getComments(taskCommentsPath) + var GetTaskTimeLogs = getTimeLogs(taskTimelogsPath) + var GetTaskrApproval = getApprovals(taskApprovalsPath) + var GetTimeLog = getTimeLogs(timelogPath) + func CreateTaskAttachment(ctx context.Context, taskID string, filename string, body io.ReadCloser) error + func CreateTaskComment(ctx context.Context, id string, text string) (body io.ReadCloser, err error) + func DownloadAttachment(ctx context.Context, attachID string) (body io.ReadCloser, err error) + func FolderCreateTask(ctx context.Context, folderID string, req CreateTaskRQ, resp *ResponseTasks) (err error) + func GetAccount(ctx context.Context, response *ResponseAccount) (err error) + func GetApprovals(ctx context.Context, values url.Values, response *ResponseApprovals) (err error) + func GetBookings(ctx context.Context, values url.Values, response *ResponseTasks) (err error) + func GetComments(ctx context.Context, response *ResponseComments) (err error) + func GetContact(ctx context.Context, contactID string, response *ResponseUsers) (err error) + func GetContacts(ctx context.Context, response *ResponseUsers) (err error) + func GetCustomField(ctx context.Context, customFieldID string, response *ResponseCustomFields) (err error) + func GetCustomFields(ctx context.Context, response *ResponseCustomFields) (err error) + func GetFolder(ctx context.Context, folderId string, response *ResponseFolders) error + func GetFolderAttachments(ctx context.Context, folderID string, response *ResponseAttachments) (err error) + func GetFolders(ctx context.Context, response *ResponseFolders) error + func GetGroup(ctx context.Context, groupID string, response *ResponseGroups) (err error) + func GetGroups(ctx context.Context, response *ResponseGroups) (err error) + func GetInvitation(ctx context.Context, contactID string, response *ResponseInvitations) (err error) + func GetInvitations(ctx context.Context, response *ResponseInvitations) (err error) + func GetJobRole(ctx context.Context, id string, response ResponseJobRoles) error + func GetJobRoles(ctx context.Context, values url.Values, response *ResponseJobRoles) (err error) + func GetSpaceFolders(ctx context.Context, spaceId string, response *ResponseFolders) error + func GetSubFolders(ctx context.Context, folderId string, response *ResponseFolders) error + func GetTaskAttachments(ctx context.Context, taskID string, response *ResponseAttachments) (err error) + func GetTasks(ctx context.Context, values url.Values, response *ResponseTasks) (err error) + func GetTimeLogs(ctx context.Context, response ResponseTimeLogs) error + func GetUser(ctx context.Context, userId string, response *ResponseTasks) error + func GetWorkSchedule(ctx context.Context, scheduleID string, response *ResponseWorkSchedules) (err error) + func GetWorkSchedules(ctx context.Context, values url.Values, response *ResponseWorkSchedules) (err error) + func GetWorkflows(ctx context.Context, response *ResponseWorkflows) (err error) + func Request(ctx context.Context, method string, url string, reader io.ReadCloser, ...) (body io.ReadCloser, header http.Header, err error) + type Account struct + CreatedDate time.Time + CustomFields []AccountCustomField + DateFormat string + FirstDayOfWeek string + ID string + JoinedDate time.Time + Metadata Metadatas + Name string + RecycleBinID string + RootFolderID string + Subscription Subscription + WorkDays []string + type AccountCustomField struct + AccountID string + ID string + Settings struct{ ... } + Settings0 struct{ ... } + Settings1 struct{ ... } + SharedIds []interface{} + Title string + Type string + type Approval struct + AttachmentIds []string + AuthorID string + AutoFinishOnApprove bool + AutoFinishOnReject bool + Decisions []Decisions + Description string + DueDate string + Finished bool + FolderID string + ID string + ReviewID string + Status string + TaskID string + Title string + Type string + UpdatedDate time.Time + type Attachment struct + AuthorID string + ContentType string + CreatedDate time.Time + CurrentAttachmentID string + FolderID string + ID string + Name string + Size int + TaskID string + Type string + Version int + type Booking struct + BookingDates BookingDates + EffortAllocation BookingEffortAllocation + FolderID string + ID string + ResponsibleID string + type BookingDates struct + Duration int + FinishDate string + StartDate string + WorkOnWeekends bool + type BookingEffortAllocation struct + Mode string + ResponsibleAllocation []ResponsibleAllocation + TotalEffort int + type Comment struct + AuthorID string + CreatedDate time.Time + FolderID string + ID string + TaskID string + Text string + UpdatedDate time.Time + type CreateTaskRQ struct + BillingType string + CustomFields Fields + Dates *TaskDate + Description *string + EffortAllocation *EffortAllocation + Follow bool + Followers []string + Importance *string + Metadata Metadatas + Parents []string + PriorityAfter *string + PriorityBefore *string + Responsibles []string + Shareds []string + Status *string + SuperTasks *string + Title string + СustomStatus *string + func (t CreateTaskRQ) ToRequest(URL string) (r string, err error) + type Customfield struct + AccountID string + ID string + Settings struct{ ... } + Settings0 struct{ ... } + Settings1 struct{ ... } + SharedIds []interface{} + Title string + Type string + type Decisions struct + ApproverID string + Comment string + Status string + UpdatedDate time.Time + type Dependence struct + ID string + PredecessorID string + RelationType string + SuccessorID string + type EffortAllocation struct + type Field struct + ID string + Value *string + type Fields []Field + func (Fields Fields) ToBytes() []byte + type Folder struct + ChildIds []string + Children []string + ID string + Project Project + Scope string + Title string + type Group struct + AccountID string + AvatarURL string + ChildIds []string + ID string + MemberIds []string + ParentIds []string + Title string + type Invitation struct + AccountID string + Email string + External bool + FirstName string + ID string + InvitationDate time.Time + InviterUserID string + LastName string + ResolvedDate time.Time + Role string + Status string + type JobRole struct + AvatarURL string + ID string + IsDeleted bool + ShortTitle string + Title string + type Metadata struct + Key string + Value *string + type Metadatas []Metadata + func (Metadatas Metadatas) ToBytes() []byte + type Profile struct + AccountID string + Admin bool + Email string + External bool + Owner bool + Role string + type Project struct + AuthorID string + CompletedDate string + CreatedDate string + CustomStatusID string + EndDate string + OwnerIds []string + StartDate string + Status string + type ResponseAccount struct + Data []Account + Kind string + type ResponseApprovals struct + Data []Approval + Kind string + type ResponseAttachments struct + Data []Attachment + Kind string + type ResponseBookings struct + Data []Booking + Kind string + type ResponseComments struct + Data []Comment + Kind string + type ResponseCustomFields struct + Data []Customfield + Kind string + type ResponseDependence struct + Data []Dependence + Kind string + type ResponseFolders struct + Data []Folder + Kind string + type ResponseGroups struct + Data []Group + Kind string + type ResponseInvitations struct + Data []Invitation + Kind string + type ResponseJobRoles struct + Data []JobRole + Kind string + type ResponseTasks struct + Data []Task + Kind string + type ResponseTimeLogs struct + Data []TimeLog + Kind string + type ResponseUsers struct + Data []User + Kind string + type ResponseWorkSchedules struct + Data []WorkSchedule + Kind string + type ResponseWorkflows struct + Data []Workflow + Kind string + type ResponsibleAllocation struct + DailyAllocation []interface{} + UserID string + type Subscription struct + Paid bool + Suspended bool + Type string + UserLimit int + type Task struct + AccountID string + BriefDescription string + ChildIds []interface{} + Color string + CreatedDate time.Time + CustomFields Fields + Description string + HasAttachments bool + ID string + Metadata Metadatas + ParentIds []string + Permalink string + Project Project + Scope string + SharedIds []string + SuperParentIds []interface{} + Title string + UpdatedDate time.Time + WorkflowID string + type TaskDate struct + Due *string + Duration *int + Start *string + Type string + type TimeLog struct + CategoryID string + Comment string + CreatedDate time.Time + Hours int + ID string + TaskID string + TrackedDate string + UpdatedDate time.Time + UserID string + type User struct + AvatarURL string + Deleted bool + FirstName string + ID string + LastName string + Locale string + Me bool + Phone string + Profiles []Profile + Timezone string + Type string + type WorkSchedule struct + ID string + ScheduleType string + Title string + Workweek []struct{ ... } + type Workflow struct + CustomStatuses []struct{ ... } + Hidden bool + ID string + Name string + Standard bool