Skip to main content

ReplyDraft

No description

type ReplyDraft implements Draft {
agent: Agent!
assignment: Assignment
attachments: JSON
bcc: JSON
body: String!
cc: JSON
contextId: ID
conversation: Conversation!
conversationId: ID!
createdAt: DateTime!
draftId: String
draftType: DraftType
id: ID!
lastSyncedAt: DateTime!
metadata: JSON!
payload: JSON
subject: String
to: JSON
updatedAt: DateTime!
version: Int!
}

Fields

ReplyDraft.agent ● Agent! non-null object common

The agent who created the draft

ReplyDraft.assignment ● Assignment object common

The agents and/or teams that are assigned to the draft.

ReplyDraft.attachments ● JSON scalar common

All attachments on this draft.

ReplyDraft.bcc ● JSON scalar common

The draft recipients.

ReplyDraft.body ● String! non-null scalar common

The draft body.

ReplyDraft.cc ● JSON scalar common

The draft recipients.

ReplyDraft.contextId ● ID scalar common

The ID of the context within the conversation.

ReplyDraft.conversation ● Conversation! non-null interface common

The conversation this draft belongs to

ReplyDraft.conversationId ● ID! non-null scalar common

The conversation ID this draft belongs to

ReplyDraft.createdAt ● DateTime! non-null scalar common

The date and time that the object was created.

ReplyDraft.draftId ● String scalar common

The UUID used to identify the draft.

ReplyDraft.draftType ● DraftType enum common

The type of the draft

ReplyDraft.id ● ID! non-null scalar common

ReplyDraft.lastSyncedAt ● DateTime! non-null scalar common

The datetime when the draft was last synced.

ReplyDraft.metadata ● JSON! non-null scalar common

Metadata related to the draft

ReplyDraft.payload ● JSON scalar common

The payload of the draft, which is a schemaless JSON object

ReplyDraft.subject ● String scalar common

The draft subject.

ReplyDraft.to ● JSON scalar common

The draft recipients.

ReplyDraft.updatedAt ● DateTime! non-null scalar common

The date and time that the object was last updated.

ReplyDraft.version ● Int! non-null scalar common

The draft version

Interfaces

Draft interface common

An object with timestamp fields for when it was created and last updated.

Implemented by

DraftTypeUnion union