/** * Generated by orval 🍺 * Do not edit manually. * Lincodex API * OpenAPI spec version: 0.1.0 */ import * as zod from 'zod'; export const needDomainInputValueMax = 100; export const needDomainInputValueRegExp = new RegExp('^\\S(?:.*\\S)?$'); export const NeedDomainInput = zod.object({ "value": zod.string().min(1).max(needDomainInputValueMax).regex(needDomainInputValueRegExp).describe('Business domain of the work, for example payments or logistics, as free text. Plain text without line breaks; clients show it as text, never as HTML.'), "status": zod.enum(['confirmed', 'extracted']).describe('Confirmation state of a list item, and the decision that a request sends for a field or an item: `confirmed` or `extracted`, with the meaning of NeedValueStatus. A request sends `confirmed` to confirm a suggestion or to set a manual value, and `extracted` only to keep a stored suggestion unconfirmed with exactly its stored value. An item is never `unknown`; a list with no confirmed item is what readiness reports as missing.') }).describe('Decision about the domain in a request; see NeedUpdate for the rules of `status`.') export type NeedDomainInput = zod.input; export type NeedDomainInputOutput = zod.output;