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

/**
 * Payload of the request to assign a conversation
 */
export interface AssignConversationRequest {
    type: AssignConversationRequest.Type;
    /** The id of the admin who is performing the action. */
    admin_id: string;
    /** The `id` of the `admin` or `team` which will be assigned the conversation. A conversation can be assigned both an admin and a team.\nSet `0` if you want this assign to no admin or team (ie. Unassigned). */
    assignee_id: string;
    /** Optionally you can send a response in the conversation when it is assigned. */
    body?: string;
}

export namespace AssignConversationRequest {
    export const Type = {
        Admin: "admin",
        Team: "team",
    } as const;
    export type Type = (typeof Type)[keyof typeof Type];
}
