function isTrue(data) {
          return String(data).toLowerCase() === 'true';
        }
@operation edit_card
@summary Edit Fields in a Card

@description Edit a card

The color has to be chosen between `white`, `green`, `yellow`, `orange`,
`red`, `purple`, `blue`, `sky`, `lime`, `pink`, `black`, `silver`,
`peachpuff`, `crimson`, `plum`, `darkgreen`, `slateblue`, `magenta`,
`gold`, `navy`, `gray`, `saddlebrown`, `paleturquoise`, `mistyrose`,
`indigo`:

<img src="/card-colors.png" width="40%" alt="Wekan card colors" />

Note: setting the color to white has the same effect than removing it.

@param {string} boardId the board ID of the card
@param {string} list the list ID of the card
@param {string} cardId the ID of the card
@param {string} [title] the new title of the card
@param {string} [sort] the new sort value of the card
@param {string} [listId] the new list ID of the card (move operation)
@param {string} [description] the new description of the card
@param {string} [authorId] change the owner of the card
@param {string} [parentId] change the parent of the card
@param {string} [labelIds] the new list of label IDs attached to the card
@param {string} [swimlaneId] the new swimlane ID of the card
@param {string} [members] the new list of member IDs attached to the card
@param {string} [assignees] the array of maximum one ID of assignee attached to the card
@param {string} [requestedBy] the new requestedBy field of the card
@param {string} [assignedBy] the new assignedBy field of the card
@param {string} [receivedAt] the new receivedAt field of the card
@param {string} [assignBy] the new assignBy field of the card
@param {string} [startAt] the new startAt field of the card
@param {string} [dueAt] the new dueAt field of the card
@param {string} [endAt] the new endAt field of the card
@param {string} [spentTime] the new spentTime field of the card
@param {boolean} [isOverTime] the new isOverTime field of the card
@param {string} [customFields] the new customFields value of the card
@param {string} [color] the new color of the card
@param {Object} [vote] the vote object
@param {string} vote.question the vote question
@param {boolean} vote.public show who voted what
@param {boolean} vote.allowNonBoardMembers allow all logged in users to vote?
@param {Object} [poker] the poker object
@param {string} poker.question the vote question
@param {boolean} poker.allowNonBoardMembers allow all logged in users to vote?
@return_type {_id: string}