OBJECT
PhoneEntity
Phone number connected to Coevera for calls, text messages or WhatsApp, either personal to a user or shared by the company.
link GraphQL Schema definition
- type PhoneEntity {
- # True when the record is protected against deletion because it must always exist
- # in the space. Deleting a record that is not protected can still fail on other
- # checks. Read-only.
- : Boolean!
- # Unique identifier of entity.
- : ID!
- # Specifies if the entity is considered deleted.
- : Boolean
- # Last modification time.
- : DateTime
- # Creation time.
- : DateTime
- # User the phone is assigned to, when the phone belongs to a specific user
- # (personal calling/SMS line).
- : ClientEntity
- # Error code recorded for the phone, set on integration failures (e.g. provider
- # rejected the last send) or when the user disables the integration; empty when
- # the phone is healthy.
- : Int
- # Name of the entity and its default text representation.
- : String!
- # Id of the assigned user, or empty when the phone is a company-level resource.
- : ID
- # Phone number in E.164 format (e.g. "+12025550123").
- : String
- # External caller identifier from the calling provider (e.g. Twilio caller SID).
- : String
- # Channel and assignment of the phone number: calling only, calling and SMS
- # (unassigned, personal to the owner or shared by the company), or a personal or
- # company WhatsApp account.
- : PhoneTypeEnum!
- # Revision when entity was lastly changed.
- : Int
- # Email address that incoming text messages to this phone are forwarded to. Empty
- # when forwarding is not configured.
- : String
- # Phone number that incoming calls/SMS to this phone are forwarded to. Empty when
- # forwarding is not configured.
- : String
- # False when the user has disabled the calling/SMS integration on this phone
- # (errorCode is set to indicate user disablement); true otherwise.
- : Boolean!
- # Permissions the current user has on this record, out of the requested ones.
- #
- # Arguments
- # permissions: Permissions to check; the result lists those the
- # current user has.
- (: [EntityPermsEnum!]!): [EntityPermsEnum!]!
- }
link Require by
- AllowedCompanyPhoneEntityCompany phone number that a user role is allowed to use for calls and text messages.
- CreatePhonePayloadResult of the createPhone mutation.
- DeleteMessagingPhonePayloadResult of the deleteMessagingPhone mutation.
- DeletePhonePayloadResult of the deletePhone mutation.
- DisableMessagingPhonePayloadResult of the disableMessagingPhone mutation.
- EnableMessagingPhonePayloadResult of the enableMessagingPhone mutation.
- PhoneEntityEdgeA Relay edge containing a `PhoneEntity` and its cursor.
- PhoneRepositoryRead operations for Phone records.
- TextMessageConversationEntityText message conversation between a Coevera phone number and an external phone number.
- UpdateMessagingPhonePayloadResult of the updateMessagingPhone mutation.
- UpdatePhonePayloadResult of the updatePhone mutation.