feat(api): add employer need contract with requirement versions and recommendations
This commit is contained in:
1 parent
3adb0ef9e4
commit
a7d5781f2d
95 files changed
+25352
-26
No files matched your search
@@ -0,0 +1,20 @@
|
||||
/**
|
||||
* 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<typeof NeedDomainInput>;
|
||||
export type NeedDomainInputOutput = zod.output<typeof NeedDomainInput>;
|
||||
Reference in new issue
Block a user