invoke

suspend fun invoke(request: SubmitPlanRequest, parentPlanId: UUID?): Plan

Submits a plan based on the given request and parent plan ID.

Return

The submitted plan.

Parameters

request

The request to submit a plan.

parentPlanId

The ID of the parent plan, if any.

Throws

If the user is not found.