/*! * Copyright Adaptavist 2022 (c) All rights reserved */ import { TrelloID } from "../definitions/TrelloID"; import { BoardFields } from "../definitions/BoardFields"; import { MemberFields } from "../definitions/MemberFields"; import { OrganizationFields } from "../definitions/OrganizationFields"; import { MemberAsResponse } from "../definitions/MemberAsResponse"; import { ErrorStrategyOption } from "../errorStrategy"; import { HeadersOption } from "@managed-api/commons-core"; export interface GetMemberRequest extends HeadersOption, ErrorStrategyOption { /** * The ID or username of the member */ id: TrelloID | string; /** * See the [Actions Nested Resource](/cloud/trello/guides/rest-api/nested-resources/#actions-nested-resource) */ actions?: string; /** * See the [Boards Nested Resource](/cloud/trello/guides/rest-api/nested-resources/#boards-nested-resource) */ boards?: string; /** * One of: `all`, `custom`, `default`, `none`, `premium` */ boardBackgrounds?: "all" | "custom" | "default" | "none" | "premium"; /** * `all` or a comma-separated list of: closed, members, open, organization, pinned, public, starred, unpinned */ boardsInvited?: "closed" | "members" | "open" | "organization" | "pinned" | "public" | "starred" | "unpinned"; /** * `all` or a comma-separated list of board [fields](/cloud/trello/guides/rest-api/object-definitions/) */ boardsInvited_fields?: BoardFields; /** * Whether to return the boardStars or not */ boardStars?: boolean; /** * See the [Cards Nested Resource](/cloud/trello/guides/rest-api/nested-resources/#cards-nested-resource) for additional options */ cards?: string; /** * `all` or `none` */ customBoardBackgrounds?: "all" | "none"; /** * `all` or `none` */ customEmoji?: "all" | "none"; /** * `all` or `none` */ customStickers?: "all" | "none"; /** * `all` or a comma-separated list of member [fields](/cloud/trello/guides/rest-api/object-definitions/) */ fields?: MemberFields; /** * See the [Notifications Nested Resource](/cloud/trello/guides/rest-api/nested-resources/#notifications-nested-resource) */ notifications?: string; /** * One of: `all`, `members`, `none`, `public` */ organizations?: "all" | "members" | "none" | "public"; /** * `all` or a comma-separated list of organization [fields](/cloud/trello/guides/rest-api/object-definitions/) */ organization_fields?: OrganizationFields; /** * Whether or not to include paid account information in the returned workspace object */ organization_paid_account?: boolean; /** * One of: `all`, `members`, `none`, `public` */ organizationsInvited?: "all" | "members" | "none" | "public"; /** * `all` or a comma-separated list of organization [fields](/cloud/trello/guides/rest-api/object-definitions/) */ organizationsInvited_fields?: OrganizationFields; savedSearches?: boolean; /** * `all` or `none` */ tokens?: "all" | "none"; } export declare type GetMemberResponseOK = MemberAsResponse; export declare type GetMemberResponseError = undefined; //# sourceMappingURL=member.d.ts.map