Function: getOrganizationActions()
ts
function getOrganizationActions(client, parameters): Promise<object[]>;Defined in: api/organizations.ts:115
List the actions on a Workspace
Parameters
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { before?: string; fields?: { agenticIdentity?: unknown; appCreator?: Record<string, any> | null; data: Record<string, any>; date: unknown; display?: { entities?: { card?: { hideIfContext?: boolean; id: string; shortLink?: string; text?: string; type?: string; }; comment?: { text?: string; type?: string; }; contextOn?: { hideIfContext?: boolean; idContext?: string; translationKey?: string; type?: string; }; memberCreator?: { id: string; text?: string; type?: string; username?: string; }; }; translationKey?: string; }; entities?: unknown[]; id: string; idMemberCreator: string; limits?: | { attachments?: { perBoard?: { count?: number; disableAt: number; status: string; warnAt: number; }; perCard?: { count?: number; disableAt: number; status: string; warnAt: number; }; }; boards?: { totalAccessRequestsPerBoard?: { count?: number; disableAt: number; status: string; warnAt: number; }; totalMembersPerBoard?: { count?: number; disableAt: number; status: string; warnAt: number; }; totalPerMember?: { count?: number; disableAt: number; status: string; warnAt: number; }; }; cards?: { openPerBoard?: { count?: number; disableAt: number; status: string; warnAt: number; }; openPerList?: { count?: number; disableAt: number; status: string; warnAt: number; }; totalPerBoard?: { count?: number; disableAt: number; status: string; warnAt: number; }; totalPerList?: { count?: number; disableAt: number; status: string; warnAt: number; }; }; checkItems?: { perChecklist?: { count?: number; disableAt: number; status: string; warnAt: number; }; }; checklists?: { perBoard?: { count?: number; disableAt: number; status: string; warnAt: number; }; perCard?: { count?: number; disableAt: number; status: string; warnAt: number; }; }; customFieldOptions?: { perField?: { count?: number; disableAt: number; status: string; warnAt: number; }; }; customFields?: { perBoard?: { count?: number; disableAt: number; status: string; warnAt: number; }; }; labels?: { perBoard?: { count?: number; disableAt: number; status: string; warnAt: number; }; }; lists?: { openPerBoard?: { count?: number; disableAt: number; status: string; warnAt: number; }; totalPerBoard?: { count?: number; disableAt: number; status: string; warnAt: number; }; }; orgs?: { freeBoardsPerOrg?: { count?: number; disableAt: number; status: string; warnAt: number; }; totalMembersPerOrg?: { count?: number; disableAt: number; status: string; warnAt: number; }; totalPerMember?: { count?: number; disableAt: number; status: string; warnAt: number; }; usersPerFreeOrg?: { count?: number; disableAt: number; status: string; warnAt: number; }; }; reactions?: { perAction?: { count?: number; disableAt: number; status: string; warnAt: number; }; uniquePerAction?: { count?: number; disableAt: number; status: string; warnAt: number; }; }; stickers?: { perCard?: { count?: number; disableAt: number; status: string; warnAt: number; }; }; } | null; member?: | { aaBlockSyncUntil?: string | null; aaEmail?: string | null; aaEnrolledDate?: unknown; aaId?: string | null; active?: boolean; activityBlocked?: boolean; avatarHash?: string; avatarSource?: "none" | "gravatar" | "upload"; avatarUrl?: string; bio?: string; bioData?: | { emoji?: Record<string, any>; } | null; boards?: unknown[]; confirmed?: boolean; credentialsRemovedCount?: number; dateLastActive?: unknown; dateLastImpression?: unknown; domainClaimed?: string | null; email?: string; fullName?: string; gravatarHash?: string; id: string; idBoards?: string[]; idBoardsPinned?: string[] | null; idEnterprise?: string | null; idEnterprisesAdmin?: string[]; idEnterprisesDeactivated?: string[]; idMemberReferrer?: string | null; idOrganizations?: string[]; idPremOrgsAdmin?: string[]; initials?: string; isAaMastered?: boolean; ixUpdate?: string; lastActive?: unknown; limits?: { attachments?: { perBoard?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; perCard?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; }; boards?: { totalAccessRequestsPerBoard?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; totalMembersPerBoard?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; totalPerMember?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; }; cards?: { openPerBoard?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; openPerList?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; totalPerBoard?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; totalPerList?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; }; checkItems?: { perChecklist?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; }; checklists?: { perBoard?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; perCard?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; }; customFieldOptions?: { perField?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; }; customFields?: { perBoard?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; }; labels?: { perBoard?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; }; lists?: { openPerBoard?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; totalPerBoard?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; }; orgs?: { freeBoardsPerOrg?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; totalMembersPerOrg?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; totalPerMember?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; usersPerFreeOrg?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; }; reactions?: { perAction?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; uniquePerAction?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; }; stickers?: { perCard?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; }; }; loginTypes?: string[]; marketingOptIn?: { date?: unknown; optedIn?: boolean; }; memberType?: "normal" | "ghost"; messagesDismissed?: object[]; nodeId?: string; nonPublic?: { avatarHash?: string; avatarUrl?: string; fullName?: string; initials?: string; }; nonPublicAvailable?: boolean; notifications?: unknown[]; oneTimeMessagesDismissed?: string[]; organizations?: unknown[]; prefs?: { colorBlind?: boolean; keyboardShortcutsEnabled?: boolean; locale?: string; minutesBeforeDeadlineToNotify?: number; minutesBetweenSummaries?: number; privacy?: { avatar?: "private" | "public" | "collaborator"; fullName?: "private" | "public" | "collaborator"; }; sendSummaries?: boolean; timezone?: string; timezoneInfo?: { dateNext?: unknown; offsetCurrent?: number; offsetNext?: number; timezoneCurrent?: string; timezoneNext?: string; }; twoFactor?: { enabled?: boolean; needsNewBackups?: boolean; }; }; premiumFeatures?: string[]; products?: number[]; sessionType?: string | null; similarity?: number; status?: "disconnected"; trophies?: string[]; uploadedAvatarHash?: string | null; uploadedAvatarUrl?: string | null; url?: string; username?: string; } | null; memberCreator?: { activityBlocked?: boolean; avatarHash?: string; avatarUrl?: string; fullName?: string; id: string; idMemberReferrer?: string | null; initials?: string; nonPublic?: Record<string, any>; nonPublicAvailable?: boolean; username?: string; }; type: string; }; filter?: string | string[]; format?: string; id: string; idModels?: string | string[]; limit?: number; member?: boolean; memberCreator?: boolean; memberCreatorFields?: string; memberFields?: string; page?: number; reactions?: boolean; since?: string; } | - |
parameters.before? | string | A date string in the form of YYYY-MM-DDThh:mm:ssZ or a mongo object ID. Only objects created before this date will be returned. |
parameters.fields? | { agenticIdentity?: unknown; appCreator?: Record<string, any> | null; data: Record<string, any>; date: unknown; display?: { entities?: { card?: { hideIfContext?: boolean; id: string; shortLink?: string; text?: string; type?: string; }; comment?: { text?: string; type?: string; }; contextOn?: { hideIfContext?: boolean; idContext?: string; translationKey?: string; type?: string; }; memberCreator?: { id: string; text?: string; type?: string; username?: string; }; }; translationKey?: string; }; entities?: unknown[]; id: string; idMemberCreator: string; limits?: | { attachments?: { perBoard?: { count?: number; disableAt: number; status: string; warnAt: number; }; perCard?: { count?: number; disableAt: number; status: string; warnAt: number; }; }; boards?: { totalAccessRequestsPerBoard?: { count?: number; disableAt: number; status: string; warnAt: number; }; totalMembersPerBoard?: { count?: number; disableAt: number; status: string; warnAt: number; }; totalPerMember?: { count?: number; disableAt: number; status: string; warnAt: number; }; }; cards?: { openPerBoard?: { count?: number; disableAt: number; status: string; warnAt: number; }; openPerList?: { count?: number; disableAt: number; status: string; warnAt: number; }; totalPerBoard?: { count?: number; disableAt: number; status: string; warnAt: number; }; totalPerList?: { count?: number; disableAt: number; status: string; warnAt: number; }; }; checkItems?: { perChecklist?: { count?: number; disableAt: number; status: string; warnAt: number; }; }; checklists?: { perBoard?: { count?: number; disableAt: number; status: string; warnAt: number; }; perCard?: { count?: number; disableAt: number; status: string; warnAt: number; }; }; customFieldOptions?: { perField?: { count?: number; disableAt: number; status: string; warnAt: number; }; }; customFields?: { perBoard?: { count?: number; disableAt: number; status: string; warnAt: number; }; }; labels?: { perBoard?: { count?: number; disableAt: number; status: string; warnAt: number; }; }; lists?: { openPerBoard?: { count?: number; disableAt: number; status: string; warnAt: number; }; totalPerBoard?: { count?: number; disableAt: number; status: string; warnAt: number; }; }; orgs?: { freeBoardsPerOrg?: { count?: number; disableAt: number; status: string; warnAt: number; }; totalMembersPerOrg?: { count?: number; disableAt: number; status: string; warnAt: number; }; totalPerMember?: { count?: number; disableAt: number; status: string; warnAt: number; }; usersPerFreeOrg?: { count?: number; disableAt: number; status: string; warnAt: number; }; }; reactions?: { perAction?: { count?: number; disableAt: number; status: string; warnAt: number; }; uniquePerAction?: { count?: number; disableAt: number; status: string; warnAt: number; }; }; stickers?: { perCard?: { count?: number; disableAt: number; status: string; warnAt: number; }; }; } | null; member?: | { aaBlockSyncUntil?: string | null; aaEmail?: string | null; aaEnrolledDate?: unknown; aaId?: string | null; active?: boolean; activityBlocked?: boolean; avatarHash?: string; avatarSource?: "none" | "gravatar" | "upload"; avatarUrl?: string; bio?: string; bioData?: | { emoji?: Record<string, any>; } | null; boards?: unknown[]; confirmed?: boolean; credentialsRemovedCount?: number; dateLastActive?: unknown; dateLastImpression?: unknown; domainClaimed?: string | null; email?: string; fullName?: string; gravatarHash?: string; id: string; idBoards?: string[]; idBoardsPinned?: string[] | null; idEnterprise?: string | null; idEnterprisesAdmin?: string[]; idEnterprisesDeactivated?: string[]; idMemberReferrer?: string | null; idOrganizations?: string[]; idPremOrgsAdmin?: string[]; initials?: string; isAaMastered?: boolean; ixUpdate?: string; lastActive?: unknown; limits?: { attachments?: { perBoard?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; perCard?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; }; boards?: { totalAccessRequestsPerBoard?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; totalMembersPerBoard?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; totalPerMember?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; }; cards?: { openPerBoard?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; openPerList?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; totalPerBoard?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; totalPerList?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; }; checkItems?: { perChecklist?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; }; checklists?: { perBoard?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; perCard?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; }; customFieldOptions?: { perField?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; }; customFields?: { perBoard?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; }; labels?: { perBoard?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; }; lists?: { openPerBoard?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; totalPerBoard?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; }; orgs?: { freeBoardsPerOrg?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; totalMembersPerOrg?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; totalPerMember?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; usersPerFreeOrg?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; }; reactions?: { perAction?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; uniquePerAction?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; }; stickers?: { perCard?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; }; }; loginTypes?: string[]; marketingOptIn?: { date?: unknown; optedIn?: boolean; }; memberType?: "normal" | "ghost"; messagesDismissed?: object[]; nodeId?: string; nonPublic?: { avatarHash?: string; avatarUrl?: string; fullName?: string; initials?: string; }; nonPublicAvailable?: boolean; notifications?: unknown[]; oneTimeMessagesDismissed?: string[]; organizations?: unknown[]; prefs?: { colorBlind?: boolean; keyboardShortcutsEnabled?: boolean; locale?: string; minutesBeforeDeadlineToNotify?: number; minutesBetweenSummaries?: number; privacy?: { avatar?: "private" | "public" | "collaborator"; fullName?: "private" | "public" | "collaborator"; }; sendSummaries?: boolean; timezone?: string; timezoneInfo?: { dateNext?: unknown; offsetCurrent?: number; offsetNext?: number; timezoneCurrent?: string; timezoneNext?: string; }; twoFactor?: { enabled?: boolean; needsNewBackups?: boolean; }; }; premiumFeatures?: string[]; products?: number[]; sessionType?: string | null; similarity?: number; status?: "disconnected"; trophies?: string[]; uploadedAvatarHash?: string | null; uploadedAvatarUrl?: string | null; url?: string; username?: string; } | null; memberCreator?: { activityBlocked?: boolean; avatarHash?: string; avatarUrl?: string; fullName?: string; id: string; idMemberReferrer?: string | null; initials?: string; nonPublic?: Record<string, any>; nonPublicAvailable?: boolean; username?: string; }; type: string; } | The fields to be returned for the Actions. See Action fields here. |
parameters.fields.agenticIdentity? | unknown | Agentic identity associated with the action, present when it was performed by an agent rather than a human member. |
parameters.fields.appCreator? | Record<string, any> | null | - |
parameters.fields.data | Record<string, any> | - |
parameters.fields.date | unknown | - |
parameters.fields.display? | { entities?: { card?: { hideIfContext?: boolean; id: string; shortLink?: string; text?: string; type?: string; }; comment?: { text?: string; type?: string; }; contextOn?: { hideIfContext?: boolean; idContext?: string; translationKey?: string; type?: string; }; memberCreator?: { id: string; text?: string; type?: string; username?: string; }; }; translationKey?: string; } | - |
parameters.fields.display.entities? | { card?: { hideIfContext?: boolean; id: string; shortLink?: string; text?: string; type?: string; }; comment?: { text?: string; type?: string; }; contextOn?: { hideIfContext?: boolean; idContext?: string; translationKey?: string; type?: string; }; memberCreator?: { id: string; text?: string; type?: string; username?: string; }; } | - |
parameters.fields.display.entities.card? | { hideIfContext?: boolean; id: string; shortLink?: string; text?: string; type?: string; } | - |
parameters.fields.display.entities.card.hideIfContext? | boolean | - |
parameters.fields.display.entities.card.id | string | - |
parameters.fields.display.entities.card.shortLink? | string | - |
parameters.fields.display.entities.card.text? | string | - |
parameters.fields.display.entities.card.type? | string | - |
parameters.fields.display.entities.comment? | { text?: string; type?: string; } | - |
parameters.fields.display.entities.comment.text? | string | - |
parameters.fields.display.entities.comment.type? | string | - |
parameters.fields.display.entities.contextOn? | { hideIfContext?: boolean; idContext?: string; translationKey?: string; type?: string; } | - |
parameters.fields.display.entities.contextOn.hideIfContext? | boolean | - |
parameters.fields.display.entities.contextOn.idContext? | string | - |
parameters.fields.display.entities.contextOn.translationKey? | string | - |
parameters.fields.display.entities.contextOn.type? | string | - |
parameters.fields.display.entities.memberCreator? | { id: string; text?: string; type?: string; username?: string; } | - |
parameters.fields.display.entities.memberCreator.id | string | - |
parameters.fields.display.entities.memberCreator.text? | string | - |
parameters.fields.display.entities.memberCreator.type? | string | - |
parameters.fields.display.entities.memberCreator.username? | string | - |
parameters.fields.display.translationKey? | string | - |
parameters.fields.entities? | unknown[] | - |
parameters.fields.id | string | - |
parameters.fields.idMemberCreator | string | - |
parameters.fields.limits? | | { attachments?: { perBoard?: { count?: number; disableAt: number; status: string; warnAt: number; }; perCard?: { count?: number; disableAt: number; status: string; warnAt: number; }; }; boards?: { totalAccessRequestsPerBoard?: { count?: number; disableAt: number; status: string; warnAt: number; }; totalMembersPerBoard?: { count?: number; disableAt: number; status: string; warnAt: number; }; totalPerMember?: { count?: number; disableAt: number; status: string; warnAt: number; }; }; cards?: { openPerBoard?: { count?: number; disableAt: number; status: string; warnAt: number; }; openPerList?: { count?: number; disableAt: number; status: string; warnAt: number; }; totalPerBoard?: { count?: number; disableAt: number; status: string; warnAt: number; }; totalPerList?: { count?: number; disableAt: number; status: string; warnAt: number; }; }; checkItems?: { perChecklist?: { count?: number; disableAt: number; status: string; warnAt: number; }; }; checklists?: { perBoard?: { count?: number; disableAt: number; status: string; warnAt: number; }; perCard?: { count?: number; disableAt: number; status: string; warnAt: number; }; }; customFieldOptions?: { perField?: { count?: number; disableAt: number; status: string; warnAt: number; }; }; customFields?: { perBoard?: { count?: number; disableAt: number; status: string; warnAt: number; }; }; labels?: { perBoard?: { count?: number; disableAt: number; status: string; warnAt: number; }; }; lists?: { openPerBoard?: { count?: number; disableAt: number; status: string; warnAt: number; }; totalPerBoard?: { count?: number; disableAt: number; status: string; warnAt: number; }; }; orgs?: { freeBoardsPerOrg?: { count?: number; disableAt: number; status: string; warnAt: number; }; totalMembersPerOrg?: { count?: number; disableAt: number; status: string; warnAt: number; }; totalPerMember?: { count?: number; disableAt: number; status: string; warnAt: number; }; usersPerFreeOrg?: { count?: number; disableAt: number; status: string; warnAt: number; }; }; reactions?: { perAction?: { count?: number; disableAt: number; status: string; warnAt: number; }; uniquePerAction?: { count?: number; disableAt: number; status: string; warnAt: number; }; }; stickers?: { perCard?: { count?: number; disableAt: number; status: string; warnAt: number; }; }; } | null | - |
parameters.fields.member? | | { aaBlockSyncUntil?: string | null; aaEmail?: string | null; aaEnrolledDate?: unknown; aaId?: string | null; active?: boolean; activityBlocked?: boolean; avatarHash?: string; avatarSource?: "none" | "gravatar" | "upload"; avatarUrl?: string; bio?: string; bioData?: | { emoji?: Record<string, any>; } | null; boards?: unknown[]; confirmed?: boolean; credentialsRemovedCount?: number; dateLastActive?: unknown; dateLastImpression?: unknown; domainClaimed?: string | null; email?: string; fullName?: string; gravatarHash?: string; id: string; idBoards?: string[]; idBoardsPinned?: string[] | null; idEnterprise?: string | null; idEnterprisesAdmin?: string[]; idEnterprisesDeactivated?: string[]; idMemberReferrer?: string | null; idOrganizations?: string[]; idPremOrgsAdmin?: string[]; initials?: string; isAaMastered?: boolean; ixUpdate?: string; lastActive?: unknown; limits?: { attachments?: { perBoard?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; perCard?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; }; boards?: { totalAccessRequestsPerBoard?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; totalMembersPerBoard?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; totalPerMember?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; }; cards?: { openPerBoard?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; openPerList?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; totalPerBoard?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; totalPerList?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; }; checkItems?: { perChecklist?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; }; checklists?: { perBoard?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; perCard?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; }; customFieldOptions?: { perField?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; }; customFields?: { perBoard?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; }; labels?: { perBoard?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; }; lists?: { openPerBoard?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; totalPerBoard?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; }; orgs?: { freeBoardsPerOrg?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; totalMembersPerOrg?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; totalPerMember?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; usersPerFreeOrg?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; }; reactions?: { perAction?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; uniquePerAction?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; }; stickers?: { perCard?: { count?: ...; disableAt: ...; status: ...; warnAt: ...; }; }; }; loginTypes?: string[]; marketingOptIn?: { date?: unknown; optedIn?: boolean; }; memberType?: "normal" | "ghost"; messagesDismissed?: object[]; nodeId?: string; nonPublic?: { avatarHash?: string; avatarUrl?: string; fullName?: string; initials?: string; }; nonPublicAvailable?: boolean; notifications?: unknown[]; oneTimeMessagesDismissed?: string[]; organizations?: unknown[]; prefs?: { colorBlind?: boolean; keyboardShortcutsEnabled?: boolean; locale?: string; minutesBeforeDeadlineToNotify?: number; minutesBetweenSummaries?: number; privacy?: { avatar?: "private" | "public" | "collaborator"; fullName?: "private" | "public" | "collaborator"; }; sendSummaries?: boolean; timezone?: string; timezoneInfo?: { dateNext?: unknown; offsetCurrent?: number; offsetNext?: number; timezoneCurrent?: string; timezoneNext?: string; }; twoFactor?: { enabled?: boolean; needsNewBackups?: boolean; }; }; premiumFeatures?: string[]; products?: number[]; sessionType?: string | null; similarity?: number; status?: "disconnected"; trophies?: string[]; uploadedAvatarHash?: string | null; uploadedAvatarUrl?: string | null; url?: string; username?: string; } | null | - |
parameters.fields.memberCreator? | { activityBlocked?: boolean; avatarHash?: string; avatarUrl?: string; fullName?: string; id: string; idMemberReferrer?: string | null; initials?: string; nonPublic?: Record<string, any>; nonPublicAvailable?: boolean; username?: string; } | - |
parameters.fields.memberCreator.activityBlocked? | boolean | - |
parameters.fields.memberCreator.avatarHash? | string | - |
parameters.fields.memberCreator.avatarUrl? | string | - |
parameters.fields.memberCreator.fullName? | string | - |
parameters.fields.memberCreator.id | string | - |
parameters.fields.memberCreator.idMemberReferrer? | string | null | - |
parameters.fields.memberCreator.initials? | string | - |
parameters.fields.memberCreator.nonPublic? | Record<string, any> | - |
parameters.fields.memberCreator.nonPublicAvailable? | boolean | - |
parameters.fields.memberCreator.username? | string | - |
parameters.fields.type | string | - |
parameters.filter? | string | string[] | A comma-separated list of action types. |
parameters.format? | string | The format of the returned Actions. Either list or count. |
parameters.id | string | The ID or name of the organization |
parameters.idModels? | string | string[] | A comma-separated list of idModels. Only actions related to these models will be returned. |
parameters.limit? | number | The limit of the number of responses, between 0 and 1000. |
parameters.member? | boolean | Whether to return the member object for each action. |
parameters.memberCreator? | boolean | Whether to return the memberCreator object for each action. |
parameters.memberCreatorFields? | string | The fields of the member creator to return |
parameters.memberFields? | string | The fields of the member to return. |
parameters.page? | number | The page of results for actions. |
parameters.reactions? | boolean | Whether to show reactions on comments or not. |
parameters.since? | string | A date string in the form of YYYY-MM-DDThh:mm:ssZ or a mongo object ID. Only objects created since this date will be returned. |
Returns
Promise<object[]>