Versions in this module Expand all Collapse all v0 v0.0.7 Jan 4, 2024 v0.0.6 Jun 14, 2023 v0.0.5 Jun 13, 2023 v0.0.4 Jun 13, 2023 v0.0.3 Jun 13, 2023 Changes in this version + var ErrNotFound = errors.New("not found") v0.0.2 Jun 13, 2023 Changes in this version + type CardCustomField struct + ID string + Value any type EditCardOptions + Poker Poker type GetCard + CardNumber int + LabelIds []string + LinkIDGantt []string + LinkTypeGantt []int + Poker Poker + TargetIDGantt []string + type Poker struct + AllowNonBoardMembers bool + Eight []string + End string + Estimation int + Five []string + Forty []string + One []string + OneHundred []string + Question bool + Thirteen []string + Three []string + Twenty []string + Two []string + Unsure []string + type Vote struct + AllowNonBoardMembers bool + End string + Negative []string + Positive []string + Public bool + Question string v0.0.1 Jun 12, 2023 Changes in this version + type AddBoardMemberRequest struct + Action string + IsAdmin bool + IsCommentOnly bool + IsNoComments bool + type BoardAttachment struct + AttachmentID string + AttachmentName string + AttachmentType string + CardID string + ListID string + SwimlaneID string + type BoardLabel struct + Color string + ID string + Name string + type BoardMember struct + IsActive bool + IsAdmin bool + IsCommentOnly bool + IsNoComments bool + IsWorker bool + UserID string + type CardVote struct + AllowNonBoardMembers bool + End string + Negative []string + Positive []string + Public bool + Question string + type ChecklistItem struct + ID string + IsFinished bool + Title string + type Client struct + func NewClient(opts Options) (*Client, error) + func (c *Client) AddBoardLabel(ctx context.Context, boardID, name, color string) (err error) + func (c *Client) AddBoardMember(ctx context.Context, boardID, userID string, data AddBoardMemberRequest) (err error) + func (c *Client) AddCustomFieldDropdownItems(ctx context.Context, boardID, customFieldID string, items []string) (err error) + func (c *Client) CreateUserToken(ctx context.Context, userID string) (r CreateUserTokenResponse, err error) + func (c *Client) DeleteBoard(ctx context.Context, boardID string) (err error) + func (c *Client) DeleteCard(ctx context.Context, boardID, cardID string) (err error) + func (c *Client) DeleteChecklist(ctx context.Context, boardID, cardID, checklistID string) (err error) + func (c *Client) DeleteChecklistItem(ctx context.Context, boardID, cardID, checklistID, itemID string) (err error) + func (c *Client) DeleteComment(ctx context.Context, boardID, cardID, commentID string) (err error) + func (c *Client) DeleteCustomField(ctx context.Context, boardID, customFieldID string) (err error) + func (c *Client) DeleteCustomFieldDropdownItem(ctx context.Context, boardID, customFieldID, dropdownItem string) (err error) + func (c *Client) DeleteIntegration(ctx context.Context, boardID, integrationID string) (err error) + func (c *Client) DeleteIntegrationActivities(ctx context.Context, boardID, integrationID string) (err error) + func (c *Client) DeleteList(ctx context.Context, boardID, listID string) (err error) + func (c *Client) DeleteSwimlane(ctx context.Context, boardID, swimlaneID string) (err error) + func (c *Client) DeleteUser(ctx context.Context, userID string) (err error) + func (c *Client) EditCard(ctx context.Context, boardID, listID, cardID string, opts EditCardOptions) (r EditCardResponse, err error) + func (c *Client) EditChecklistItem(ctx context.Context, boardID, cardID, checklistID, itemID string, ...) (err error) + func (c *Client) EditCustomField(ctx context.Context, boardID string, data EditCustomFieldRequest) (r EditCustomFieldResponse, err error) + func (c *Client) EditCustomFieldDropdownItems(ctx context.Context, boardID, customFieldID, dropdownItem, name string) (err error) + func (c *Client) EditIntegration(ctx context.Context, boardID, integrationID string, ...) (err error) + func (c *Client) EditUser(ctx context.Context, userID, action string) (err error) + func (c *Client) ExportJSON(ctx context.Context, boardID string) (boardJSON json.RawMessage, err error) + func (c *Client) GetAllCards(ctx context.Context, boardID, listID string) (cards []GetAllCard, err error) + func (c *Client) GetAllChecklists(ctx context.Context, boardID, cardID string) (checklists []GetAllChecklist, err error) + func (c *Client) GetAllComments(ctx context.Context, boardID, cardID string) (comments []GetAllComment, err error) + func (c *Client) GetAllCustomFields(ctx context.Context, boardID string) (fields []GetAllCustomField, err error) + func (c *Client) GetAllIntegrations(ctx context.Context, boardID string) (integrations []Integration, err error) + func (c *Client) GetAllLists(ctx context.Context, boardID string) (lists []GetAllList, err error) + func (c *Client) GetAllSwimlanes(ctx context.Context, boardID string) (swimlanes []GetAllSwimlane, err error) + func (c *Client) GetAllUsers(ctx context.Context) (users []GetAllUser, err error) + func (c *Client) GetBoard(ctx context.Context, boardID string) (r GetBoard, err error) + func (c *Client) GetBoardAttachments(ctx context.Context, boardID string) (attachments []BoardAttachment, err error) + func (c *Client) GetBoardsCount(ctx context.Context) (r GetBoardsCountResponse, err error) + func (c *Client) GetBoardsFromUser(ctx context.Context, userID string) (r []GetBoardFromUser, err error) + func (c *Client) GetCard(ctx context.Context, boardID, listID, cardID string) (card GetCard, err error) + func (c *Client) GetCardsByCustomField(ctx context.Context, boardID, customField, customFieldValue string) (cards []GetCardByCustomField, err error) + func (c *Client) GetChecklist(ctx context.Context, boardID, cardID, checklistID string) (checklist GetChecklist, err error) + func (c *Client) GetChecklistItem(ctx context.Context, boardID, cardID, checklistID, itemID string) (item GetChecklistItem, err error) + func (c *Client) GetComment(ctx context.Context, boardID, cardID, commentID string) (comment GetComment, err error) + func (c *Client) GetCurrentUser(ctx context.Context) (u User, err error) + func (c *Client) GetCurrentUserID() (id string) + func (c *Client) GetCustomField(ctx context.Context, boardID string) (resp []GetCustomField, err error) + func (c *Client) GetIntegration(ctx context.Context, boardID, integrationID string) (integration Integration, err error) + func (c *Client) GetList(ctx context.Context, boardID, listID string) (list GetList, err error) + func (c *Client) GetPublicBoards(ctx context.Context) (boards []GetPublicBoard, err error) + func (c *Client) GetSwimlane(ctx context.Context, boardID, swimlaneID string) (swimlane GetSwimlane, err error) + func (c *Client) GetSwimlaneCards(ctx context.Context, boardID, swimlaneID string) (cards []GetSwimlaneCard, err error) + func (c *Client) GetUser(ctx context.Context, userID string) (user User, err error) + func (c *Client) Login(ctx context.Context, username, password string) (r LoginResponse, err error) + func (c *Client) NewBoard(ctx context.Context, request NewBoardRequest) (r NewBoardResponse, err error) + func (c *Client) NewCard(ctx context.Context, boardID, listID string, request NewCardRequest) (r NewCardResponse, err error) + func (c *Client) NewChecklist(ctx context.Context, boardID, cardID string, data NewChecklistRequest) (r NewChecklistResponse, err error) + func (c *Client) NewComment(ctx context.Context, boardID, cardID string, data NewCommentRequest) (r NewCommentResponse, err error) + func (c *Client) NewCustomField(ctx context.Context, boardID string, data NewCustomFieldRequest) (r NewCustomFieldResponse, err error) + func (c *Client) NewIntegration(ctx context.Context, boardID, url string) (r NewIntegrationResponse, err error) + func (c *Client) NewIntegrationActivities(ctx context.Context, boardID, integrationID string, activities []string) (integration Integration, err error) + func (c *Client) NewList(ctx context.Context, boardID, title string) (r NewListResponse, err error) + func (c *Client) NewSwimlane(ctx context.Context, boardID, title string) (r NewSwimlaneResponse, err error) + func (c *Client) NewUser(ctx context.Context, data NewUserRequest) (r NewUserResponse, err error) + func (c *Client) Register(ctx context.Context, username, password, email string) (r LoginResponse, err error) + func (c *Client) RemoveBoardMember(ctx context.Context, boardID, userID string) (err error) + func (c *Client) SetBoardMemberPermission(ctx context.Context, boardID, memberID string, ...) (err error) + type CreateUserTokenResponse struct + ID string + type EditCardOptions struct + AssignedBy string + Assignees []string + AuthorID string + Color string + CustomFields string + Description string + DueAt time.Time + EndAt time.Time + IsOverTime bool + LabelIDs []string + ListID string + Members []string + ParentID string + ReceivedAt time.Time + RequestedBy string + Sort string + SpentTime string + StartAt time.Time + SwimlaneID string + Title string + Vote CardVote + type EditCardResponse struct + ID string + type EditChecklistItemRequest struct + IsFinished bool + Title string + type EditCustomFieldRequest struct + AlwaysOnCard bool + AutomaticallyOnCard bool + Name string + Settings string + ShowLabelOnMiniCard bool + ShowOnCard bool + Type string + type EditCustomFieldResponse struct + ID string + type EditIntegrationOptions struct + Activities []string + Enabled bool + Title string + Token string + Url string + type GetAllCard struct + Description string + ID string + Title string + type GetAllChecklist struct + ID string + Title string + type GetAllComment struct + AuthorID string + Comment string + ID string + type GetAllCustomField struct + ID string + Name string + Type string + type GetAllList struct + ID string + Title string + type GetAllSwimlane struct + ID string + Title string + type GetAllUser struct + ID string + Username string + type GetBoard struct + AllowsActivities bool + AllowsAssignedBy bool + AllowsAssignee bool + AllowsAttachments bool + AllowsChecklists bool + AllowsComments bool + AllowsDescriptionText bool + AllowsDescriptionTitle bool + AllowsDueDate bool + AllowsEndDate bool + AllowsLabels bool + AllowsMembers bool + AllowsReceivedDate bool + AllowsRequestedBy bool + AllowsStartDate bool + AllowsSubtasks bool + Archived bool + ArchivedAt time.Time + Color string + CreatedAt time.Time + DateSettingsDefaultBoardID string + DateSettingsDefaultListID string + Description string + DueAt string + EndAt string + IsOvertime bool + Labels []BoardLabel + Members []BoardMember + ModifiedAt time.Time + Permission string + PresentParentTask string + Slug string + Sort int + SpentTime int + Stars int + StartAt string + SubtasksDefaultBoardID string + SubtasksDefaultListID string + Title string + Type string + type GetBoardFromUser struct + ID string + Title string + type GetBoardsCountResponse struct + Private int + Public int + type GetCard struct + Archived bool + ArchivedAt string + AssignedBy string + Assignees []string + BoardID string + Color string + CoverID string + CreatedAt string + CustomFields json.RawMessage + DateLastActivity string + Description string + DueAt string + EndAt string + IsOvertime bool + LabelIDs []string + LinkedID string + ListID string + Members []string + ModifiedAt string + ParentID string + ReceivedAt string + RequestedBy string + Sort int + SpentTime int + StartAt string + SubtaskSort int + SwimlaneID string + Title string + Type string + UserID string + Vote CardVote + type GetCardByCustomField struct + Description string + ID string + ListID string + SwimlaneID string + Title string + type GetChecklist struct + CardId string + CreatedAt string + FinishedAt string + Items []ChecklistItem + Sort int + Title string + type GetChecklistItem struct + CardID string + ChecklistID string + CreatedAt string + IsFinished bool + ModifiedAt string + Sort int + Title string + type GetComment struct + BoardID string + CardID string + CreatedAt string + ModifiedAt string + Text string + UserID string + type GetCustomField struct + BoardIDs string + ID string + type GetList struct + Archived bool + ArchivedAt string + BoardID string + Color string + CreatedAt string + ModifiedAt string + Sort int + Starred bool + SwimlaneID string + Title string + Type string + UpdatedAt string + WipLimit ListWIPLimit + type GetPublicBoard struct + ID string + Title string + type GetSwimlane struct + Archived bool + ArchivedAt string + BoardID string + Color string + CreatedAt string + ModifiedAt string + Sort int + Title string + Type string + UpdatedAt string + type GetSwimlaneCard struct + Description string + ID string + ListID string + Title string + type Integration struct + Activities []string + BoardID string + CreatedAt string + Enabled bool + ModifiedAt string + Title string + Token string + Type string + Url string + UserID string + type ListWIPLimit struct + Enabled bool + Soft bool + Value int + type LoginResponse struct + ID string + Token string + TokenExpires time.Time + type NewBoardOptions struct + Color string + IsActive bool + IsAdmin bool + IsCommentOnly bool + IsNoComments bool + IsWorker bool + Permission string + type NewBoardRequest struct + Owner string + Title string + type NewBoardResponse struct + DefaultSwimlaneID string + ID string + type NewCardOptions struct + Assignees []string + MemberIDs []string + type NewCardRequest struct + AuthorID string + Description string + SwimlaneID string + Title string + type NewCardResponse struct + ID string + type NewChecklistRequest struct + Items []string + Title string + type NewChecklistResponse struct + ID string + type NewCommentRequest struct + AuthorID string + Comment string + type NewCommentResponse struct + ID string + type NewCustomFieldRequest struct + AuthorId string + AutomaticallyOnCard bool + Name string + Settings string + ShowLabelOnMiniCard bool + ShowOnCard bool + Type string + type NewCustomFieldResponse struct + ID string + type NewIntegrationResponse struct + ID string + type NewListResponse struct + ID string + type NewSwimlaneResponse struct + ID string + type NewUserRequest struct + Email string + Password string + Username string + type NewUserResponse struct + ID string + type Options struct + Client *http.Client + Closer closer.Closer + Password string + RemoteAddr string + TimeBetweenLoginAttemps time.Duration + Username string + type SetBoardMemberPermissionOptions struct + IsAdmin bool + IsCommentOnly bool + IsNoComments bool + IsWorker bool + type User struct + AuthenticationMethod string + CreatedAt string + CreatedThroughApi bool + Emails []UserEmail + Heartbeat string + ImportUsernames []string + IsAdmin bool + LoginDisabled bool + ModifiedAt string + Profile UserProfile + Services json.RawMessage + SessionData UserSessionData + Username string + type UserEmail struct + Address string + Verified bool + type UserProfile struct + Activity string + AvatarUrl string + BoardTemplatesSwimlaneID string + BoardView string + CardTemplatesSwimlaneID string + EmailBuffer []string + Fullname string + HiddenMinicardLabelText bool + HiddenSystemMessages bool + HideCheckedItems bool + Icode string + Initials string + InvitedBoards []string + Language string + ListSortBy string + ListTemplatesSwimlaneID string + Notifications json.RawMessage + Read string + ShowCardsCountAt int + ShowDesktopDragHandles bool + StarredBoards []string + StartDayOfWeek int + TemplatesBoardID string + type UserSessionData struct + LastHit int + TotalHits int