UNPKG

@memberjunction/actions-bizapps-lms

Version:

LMS system integration actions for MemberJunction

39 lines 1.39 kB
import { LearnWorldsBaseAction } from '../learnworlds-base.action.js'; import { ActionParam, ActionResultSimple, RunActionParams } from '@memberjunction/actions-base'; import { UserInfo } from '@memberjunction/core'; import { UpdateUserParams, UpdateUserResult } from '../interfaces/index.js'; /** * Action to update an existing user in LearnWorlds */ export declare class UpdateUserAction extends LearnWorldsBaseAction { /** * Updates a user's profile in LearnWorlds. * Only sends non-undefined fields in the update body. */ UpdateUser(params: UpdateUserParams, contextUser: UserInfo): Promise<UpdateUserResult>; /** * Builds the API request body from non-undefined params and tracks which fields were updated */ private buildUpdateBody; /** * Maps the raw LearnWorlds API response to a LearnWorldsUser */ private mapResponseToUser; /** * Builds a summary of what was updated */ private buildUpdateSummary; /** * Framework entry point that delegates to the typed public method */ protected InternalRunAction(params: RunActionParams): Promise<ActionResultSimple>; /** * Define the parameters this action expects */ get Params(): ActionParam[]; /** * Metadata about this action */ get Description(): string; } //# sourceMappingURL=update-user.action.d.ts.map