@simpleapps-com/augur-api
Version:
TypeScript client library for Augur microservices API endpoints
35 lines • 1.39 kB
TypeScript
import { z } from 'zod';
/** Cash drawer - key field only, passthrough for API flexibility */
export declare const CashDrawerSchema: z.ZodObject<{
cashDrawerUid: z.ZodNumber;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
cashDrawerUid: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
cashDrawerUid: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">>;
/** Cash drawer list params */
export declare const CashDrawerListParamsSchema: z.ZodObject<{
companyId: 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>;
statusCd: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
}, "strip", z.ZodTypeAny, {
limit?: number | undefined;
offset?: number | undefined;
q?: string | undefined;
orderBy?: string | undefined;
statusCd?: number | undefined;
companyId?: string | undefined;
}, {
limit?: number | undefined;
offset?: number | undefined;
q?: string | undefined;
orderBy?: string | undefined;
statusCd?: number | undefined;
companyId?: string | undefined;
}>;
export type CashDrawer = z.infer<typeof CashDrawerSchema>;
export type CashDrawerListParams = z.infer<typeof CashDrawerListParamsSchema>;
//# sourceMappingURL=cash-drawer.d.ts.map