// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. import { IncomingMessage } from 'node:http'; import { ClientOptions } from 'chunkr-ai'; export const parseAuthHeaders = (req: IncomingMessage): Partial => { const apiKey = Array.isArray(req.headers['x-chunkr-api-key']) ? req.headers['x-chunkr-api-key'][0] : req.headers['x-chunkr-api-key']; return { apiKey }; };