import type { IngestInteractionRequest } from '@insignia/iios-contracts';

/** An email from an unrecognised address — the handle must stay UNRESOLVED. */
export const emailFromUnknown: IngestInteractionRequest = {
  scope: { orgId: 'org_demo', appId: 'portal-demo' },
  channel: { type: 'EMAIL', externalChannelId: 'support-inbox' },
  source: { handleKind: 'EMAIL', externalId: 'someone@example.com', displayName: 'Someone' },
  kind: 'EMAIL',
  thread: { externalThreadId: 'thr_email_1', subject: 'Question about my plot' },
  parts: [{ kind: 'TEXT', bodyText: 'Hello, I have a question.' }],
  occurredAt: '2026-06-30T15:12:00.000Z',
  providerEventId: 'evt_email_1',
};
