/* generated using openapi-typescript-codegen -- do not edit */ /* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ /** * POST /v1/codes/search body. * * POST (rather than GET) because future iterations will accept array * filters like ``topic_tags: list[str]`` and ``editions: list[str]`` — * encoding those as query strings becomes awkward fast. */ export type CodeSearchInput = { /** * Search query */ 'q': string; /** * Restrict to a single code (one of irc, ibc, nec, iecc, ipc) */ code_id?: (string | null); /** * Restrict to a single edition (e.g. '2024') */ edition?: (string | null); limit?: number; offset?: number; };