UNPKG

@simpleapps-com/augur-api

Version:

TypeScript client library for Augur microservices API endpoints

16 lines 831 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CashDrawerListParamsSchema = exports.CashDrawerSchema = void 0; const zod_1 = require("zod"); /** Cash drawer - key field only, passthrough for API flexibility */ exports.CashDrawerSchema = zod_1.z.object({ cashDrawerUid: zod_1.z.number().int() }).passthrough(); /** Cash drawer list params */ exports.CashDrawerListParamsSchema = zod_1.z.object({ companyId: 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('cash_drawer_uid|ASC').optional(), q: zod_1.z.string().optional(), statusCd: zod_1.z.number().int().default(704).optional(), }); //# sourceMappingURL=cash-drawer.js.map