@simpleapps-com/augur-api
Version:
TypeScript client library for Augur microservices API endpoints
29 lines • 1.05 kB
TypeScript
import { z } from 'zod';
/** P21 code - key field only, passthrough for API flexibility */
export declare const P21CodeSchema: z.ZodObject<{
codeUid: z.ZodNumber;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
codeUid: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
codeUid: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">>;
/** P21 code list params */
export declare const P21CodeListParamsSchema: z.ZodObject<{
q: z.ZodString;
codeNoList: z.ZodOptional<z.ZodString>;
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
offset: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
}, "strip", z.ZodTypeAny, {
q: string;
limit?: number | undefined;
offset?: number | undefined;
codeNoList?: string | undefined;
}, {
q: string;
limit?: number | undefined;
offset?: number | undefined;
codeNoList?: string | undefined;
}>;
export type P21Code = z.infer<typeof P21CodeSchema>;
export type P21CodeListParams = z.infer<typeof P21CodeListParamsSchema>;
//# sourceMappingURL=codes.d.ts.map