async def _generate_ticket_entities(
        self, client: httpx.AsyncClient
    ) -> AsyncGenerator[ChunkEntity, None]:
        """Generate Ticket entities from Intercom.

        Using a hypothetical Tickets endpoint:
          GET https://api.intercom.io/tickets
        (In Intercom, tickets may be handled within conversations or separate endpoints.
         Adjust the URL or approach accordingly based on your actual Intercom data model.)
        """
        url = "https://api.intercom.io/tickets"
        while url:
            data = await self._get_with_auth(client, url)
            for ticket in data.get("data", []):
                yield IntercomTicketEntity(
                    entity_id=ticket.get("id"),
                    subject=ticket.get("subject"),
                    description=ticket.get("description"),
                    state=ticket.get("state"),
                    contact_id=ticket.get("contact_id"),
                    company_id=ticket.get("company_id"),
                    created_at=ticket.get("created_at"),
                    updated_at=ticket.get("updated_at"),
                    archived=ticket.get("archived", False),
                )

            # Handle pagination
            pages = data.get("pages", {})
            next_link = pages.get("next")
            url = next_link if next_link else None
Generate Ticket entities from Intercom.

        Using a hypothetical Tickets endpoint:
          GET https://api.intercom.io/tickets
        (In Intercom, tickets may be handled within conversations or separate endpoints.
         Adjust the URL or approach accordingly based on your actual Intercom data model.)
        
backend/airweave/platform/sources/intercom.py