UNPKG

@simpleapps-com/augur-api

Version:

TypeScript client library for Augur microservices API endpoints

15 lines 740 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.LocationListParamsSchema = exports.LocationSchema = void 0; const zod_1 = require("zod"); /** Location - key field only, passthrough for API flexibility */ exports.LocationSchema = zod_1.z.object({ locationId: zod_1.z.number() }).passthrough(); /** Location list params */ exports.LocationListParamsSchema = zod_1.z.object({ deleteFlag: zod_1.z.string().optional(), limit: zod_1.z.number().int().min(1).max(1000).default(10).optional(), offset: zod_1.z.number().int().min(0).default(0).optional(), orderBy: zod_1.z.string().default('location_id|ASC').optional(), q: zod_1.z.string().optional(), }); //# sourceMappingURL=location.js.map