@simpleapps-com/augur-api
Version:
TypeScript client library for Augur microservices API endpoints
44 lines • 1.62 kB
TypeScript
import { z } from 'zod';
/** Company - key field only, passthrough for API flexibility */
export declare const CompanySchema: z.ZodObject<{
companyUid: z.ZodNumber;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
companyUid: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
companyUid: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">>;
/** Company list params */
export declare const CompanyListParamsSchema: 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>;
}, "strip", z.ZodTypeAny, {
limit?: number | undefined;
offset?: number | undefined;
q?: string | undefined;
orderBy?: string | undefined;
companyId?: string | undefined;
}, {
limit?: number | undefined;
offset?: number | undefined;
q?: string | undefined;
orderBy?: string | undefined;
companyId?: string | undefined;
}>;
/** Company detail params */
export declare const CompanyDetailParamsSchema: z.ZodObject<{
companyUid: z.ZodNumber;
companyId: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
companyUid: number;
companyId?: string | undefined;
}, {
companyUid: number;
companyId?: string | undefined;
}>;
export type Company = z.infer<typeof CompanySchema>;
export type CompanyListParams = z.infer<typeof CompanyListParamsSchema>;
export type CompanyDetailParams = z.infer<typeof CompanyDetailParamsSchema>;
//# sourceMappingURL=company.d.ts.map