// This file was auto-generated by Fern from our API Definition.

/**
 * Contains details about final status of the completed action for conversation part type <code>custom_action_finished</code>.
 */
export interface CustomActionFinished {
    action?: CustomActionFinished.Action;
}

export namespace CustomActionFinished {
    export interface Action {
        /** Name of the action */
        name?: string;
        /** Status of the action */
        result?: Action.Result;
    }

    export namespace Action {
        /** Status of the action */
        export const Result = {
            Success: "success",
            Failed: "failed",
        } as const;
        export type Result = (typeof Result)[keyof typeof Result];
    }
}
