query GetMyConversations(
	$includeArchived: Boolean = false
	$first: Int
	$after: String
	$last: Int
	$before: String
) {
	getMyConversations(
		includeArchived: $includeArchived
		first: $first
		after: $after
		last: $last
		before: $before
	) {
		edges {
			node {
				id
				subject
				conversationType
				lastMessageAt
				isArchived
				metadata
				createdAt
				updatedAt
				unreadCount
				canDelete
				createdBy {
					teamProfile {
						id
						fullName
					}
					customerProfile {
						id
						fullName
					}
				}
				entity {
					entityType
					entityId
					project {
						id
						name
						date
						customerId
						accountAddressId
					}
					service {
						id
						date
						accountAddressId
					}
					account {
						id
						name
					}
					customer {
						id
						name
					}
				}
				participants {
					id
					unreadCount
					isMuted
					isArchived
					participant {
						teamProfile {
							id
							fullName
						}
						customerProfile {
							id
							fullName
						}
					}
				}
				messages(limit: 1, offset: 0) {
					id
					body
					createdAt
					sender {
						teamProfile {
							id
							fullName
						}
						customerProfile {
							id
							fullName
						}
					}
				}
			}
			cursor
		}
		pageInfo {
			hasNextPage
			endCursor
			hasPreviousPage
			startCursor
		}
	}
}
