"Represents a notification that is sent to the user when a profile is synced."
type ExternalProfileSyncedNotification {
    "The type of the notification"
    type: NotificationType!

    "The id of the profile"
    profileId: Int!

    "The name of the profile"
    profileName: String!

    "The date that the user read the notification"
    readAt(format: String! = "Y-m-d H:i:s"): String @timestamp(attribute: "read_at")

    "The date that the resource was created"
    createdAt(format: String! = "Y-m-d H:i:s"): String @timestamp(attribute: "created_at")

    profile: ExternalProfile!
}

"Represents the notification types."
union NotificationUnion = ExternalProfileSyncedNotification