diff --git a/src/api/parameters/createCard.ts b/src/api/parameters/createCard.ts index 131723a..a493685 100644 --- a/src/api/parameters/createCard.ts +++ b/src/api/parameters/createCard.ts @@ -35,7 +35,17 @@ export interface CreateCard { * - Stickers */ keepFromSource?: - | 'all' + | 'all' + | 'attachments' + | 'checklists' + | 'customFields' + | 'comments' + | 'due' + | 'labels' + | 'members' + | 'start' + | 'stickers' + | ( | 'attachments' | 'checklists' | 'customFields' @@ -45,19 +55,9 @@ export interface CreateCard { | 'members' | 'start' | 'stickers' - | ( - | 'attachments' - | 'checklists' - | 'customFields' - | 'comments' - | 'due' - | 'labels' - | 'members' - | 'start' - | 'stickers' - )[] - | string - | string[]; + )[] + | string + | string[]; /** For use with/by the Map View */ address?: string; /** For use with/by the Map View */ diff --git a/src/api/parameters/getBoard.ts b/src/api/parameters/getBoard.ts index e118f8c..6c3b862 100644 --- a/src/api/parameters/getBoard.ts +++ b/src/api/parameters/getBoard.ts @@ -23,9 +23,34 @@ export interface GetBoard { * `subscribed`, `url` */ fields?: - | 'all' - | string - | string[] + | 'all' + | string + | string[] + | 'badges' + | 'checkItemStates' + | 'closed' + | 'dateLastActivity' + | 'desc' + | 'descData' + | 'due' + | 'email' + | 'idAttachmentCover' + | 'idBoard' + | 'idChecklists' + | 'idLabels' + | 'idList' + | 'idMembers' + | 'idMembersVoted' + | 'idShort' + | 'labels' + | 'manualCoverAttachment' + | 'name' + | 'pos' + | 'shortLink' + | 'shortUrl' + | 'subscribed' + | 'url' + | ( | 'badges' | 'checkItemStates' | 'closed' @@ -50,32 +75,7 @@ export interface GetBoard { | 'shortUrl' | 'subscribed' | 'url' - | ( - | 'badges' - | 'checkItemStates' - | 'closed' - | 'dateLastActivity' - | 'desc' - | 'descData' - | 'due' - | 'email' - | 'idAttachmentCover' - | 'idBoard' - | 'idChecklists' - | 'idLabels' - | 'idList' - | 'idMembers' - | 'idMembersVoted' - | 'idShort' - | 'labels' - | 'manualCoverAttachment' - | 'name' - | 'pos' - | 'shortLink' - | 'shortUrl' - | 'subscribed' - | 'url' - )[]; + )[]; /** Whether to include the parent list with card results */ list?: boolean; /** Whether to include member objects with card results */ diff --git a/src/api/parameters/getEnterprise.ts b/src/api/parameters/getEnterprise.ts index f64e5b9..bfea8f5 100644 --- a/src/api/parameters/getEnterprise.ts +++ b/src/api/parameters/getEnterprise.ts @@ -89,12 +89,12 @@ export interface GetEnterprise { paidAccounts?: boolean; /** Comma-seperated list of: `me`, `normal`, `admin`, `active`, `deactivated` */ memberships?: - | 'me' - | 'normal' - | 'admin' - | 'active' - | 'deactivated' - | ('me' | 'normal' | 'admin' | 'active' | 'deactivated')[]; + | 'me' + | 'normal' + | 'admin' + | 'active' + | 'deactivated' + | ('me' | 'normal' | 'admin' | 'active' | 'deactivated')[]; }; /** diff --git a/src/api/parameters/getSearch.ts b/src/api/parameters/getSearch.ts index 1db3355..b618654 100644 --- a/src/api/parameters/getSearch.ts +++ b/src/api/parameters/getSearch.ts @@ -12,15 +12,15 @@ export interface GetSearch { * `cards`, `members`, `organizations` */ modelTypes?: - | 'all' - | string - | string[] - | 'actions' - | 'boards' - | 'cards' - | 'members' - | 'organizations' - | ('actions' | 'boards' | 'cards' | 'members' | 'organizations')[]; + | 'all' + | string + | string[] + | 'actions' + | 'boards' + | 'cards' + | 'members' + | 'organizations' + | ('actions' | 'boards' | 'cards' | 'members' | 'organizations')[]; board?: { /** @@ -29,9 +29,29 @@ export interface GetSearch { * `shortLink`, `shortUrl`, `starred`, `subscribed`, `url` */ fields?: - | 'all' - | string - | string[] + | 'all' + | string + | string[] + | 'closed' + | 'dateLastActivity' + | 'dateLastView' + | 'desc' + | 'descData' + | 'idOrganization' + | 'invitations' + | 'invited' + | 'labelNames' + | 'memberships' + | 'name' + | 'pinned' + | 'powerUps' + | 'prefs' + | 'shortLink' + | 'shortUrl' + | 'starred' + | 'subscribed' + | 'url' + | ( | 'closed' | 'dateLastActivity' | 'dateLastView' @@ -51,27 +71,7 @@ export interface GetSearch { | 'starred' | 'subscribed' | 'url' - | ( - | 'closed' - | 'dateLastActivity' - | 'dateLastView' - | 'desc' - | 'descData' - | 'idOrganization' - | 'invitations' - | 'invited' - | 'labelNames' - | 'memberships' - | 'name' - | 'pinned' - | 'powerUps' - | 'prefs' - | 'shortLink' - | 'shortUrl' - | 'starred' - | 'subscribed' - | 'url' - )[]; + )[]; organization?: string; }; @@ -88,9 +88,34 @@ export interface GetSearch { * `subscribed`, `url` */ fields?: - | 'all' - | string - | string[] + | 'all' + | string + | string[] + | 'badges' + | 'checkItemStates' + | 'closed' + | 'dateLastActivity' + | 'desc' + | 'descData' + | 'due' + | 'email' + | 'idAttachmentCover' + | 'idBoard' + | 'idChecklists' + | 'idLabels' + | 'idList' + | 'idMembers' + | 'idMembersVoted' + | 'idShort' + | 'labels' + | 'manualCoverAttachment' + | 'name' + | 'pos' + | 'shortLink' + | 'shortUrl' + | 'subscribed' + | 'url' + | ( | 'badges' | 'checkItemStates' | 'closed' @@ -115,32 +140,7 @@ export interface GetSearch { | 'shortUrl' | 'subscribed' | 'url' - | ( - | 'badges' - | 'checkItemStates' - | 'closed' - | 'dateLastActivity' - | 'desc' - | 'descData' - | 'due' - | 'email' - | 'idAttachmentCover' - | 'idBoard' - | 'idChecklists' - | 'idLabels' - | 'idList' - | 'idMembers' - | 'idMembersVoted' - | 'idShort' - | 'labels' - | 'manualCoverAttachment' - | 'name' - | 'pos' - | 'shortLink' - | 'shortUrl' - | 'subscribed' - | 'url' - )[]; + )[]; /** Whether to include the parent board with card results */ board?: boolean; /** Whether to include the parent list with card results */