intercom-client
Version:
Official Node bindings to the Intercom API
23 lines (22 loc) • 827 B
TypeScript
/**
* 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 declare namespace AssignConversationRequest {
type Type = "admin" | "team";
const Type: {
readonly Admin: "admin";
readonly Team: "team";
};
}