@simpleapps-com/augur-api
Version:
TypeScript client library for Augur microservices API endpoints
32 lines • 1.23 kB
TypeScript
import { z } from 'zod';
/** Location - key field only, passthrough for API flexibility */
export declare const LocationSchema: z.ZodObject<{
locationId: z.ZodNumber;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
locationId: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
locationId: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">>;
/** Location list params */
export declare const LocationListParamsSchema: z.ZodObject<{
deleteFlag: z.ZodOptional<z.ZodString>;
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
offset: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
orderBy: z.ZodOptional<z.ZodDefault<z.ZodString>>;
q: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
limit?: number | undefined;
offset?: number | undefined;
q?: string | undefined;
orderBy?: string | undefined;
deleteFlag?: string | undefined;
}, {
limit?: number | undefined;
offset?: number | undefined;
q?: string | undefined;
orderBy?: string | undefined;
deleteFlag?: string | undefined;
}>;
export type Location = z.infer<typeof LocationSchema>;
export type LocationListParams = z.infer<typeof LocationListParamsSchema>;
//# sourceMappingURL=location.d.ts.map