Skip to main content

markEventsComplete

plugin.calendar.markEventsComplete(params: IMarkEventsCompleteParams): Promise<IMarkEventsCompleteResponse>

Mark multiple events as complete

Parameters

ParameterTypeRequiredDescription
paramsIMarkEventsCompleteParamsYesParameters including array of eventIds

Returns

Promise<IMarkEventsCompleteResponse> — Promise resolving to the completed events

Example

import plugin from '@codebolt/plugin-sdk';

const result = await plugin.calendar.markEventsComplete(/* IMarkEventsCompleteParams */);
console.log(result);