UNPKG

@simpleapps-com/augur-api

Version:

TypeScript client library for Augur microservices API endpoints

12 lines 647 B
import { z } from 'zod'; import { BaseResponseSchema } from '../../../core/schemas'; /** Alternate code item - key field only, passthrough for API flexibility */ export const AlternateCodeItemSchema = z.object({ alternateCodeUid: z.number() }).passthrough(); export const AlternateCodeListParamsSchema = z.object({ limit: z.number().int().positive().optional(), offset: z.number().int().min(0).optional(), deleteFlag: z.string().max(1).optional(), sourceTypeCd: z.number().optional(), }); export const AlternateCodeListResponseSchema = BaseResponseSchema(z.array(AlternateCodeItemSchema)); //# sourceMappingURL=alternateCode.js.map