@simpleapps-com/augur-api
Version:
TypeScript client library for Augur microservices API endpoints
80 lines • 2.72 kB
TypeScript
import { z } from 'zod';
export declare const CompanySchema: z.ZodObject<{
companyUid: z.ZodNumber;
companyId: z.ZodString;
companyName: z.ZodNullable<z.ZodString>;
dateCreated: z.ZodString;
dateLastModified: z.ZodString;
deleteFlag: z.ZodString;
updateCd: z.ZodNumber;
lastMaintainedBy: z.ZodString;
addressId: z.ZodNullable<z.ZodNumber>;
defaultSalesLocationId: z.ZodNullable<z.ZodNumber>;
freightCodeUid: z.ZodNullable<z.ZodNumber>;
upsAccountNo: z.ZodNullable<z.ZodString>;
defaultSourcePriceCd: z.ZodNullable<z.ZodNumber>;
defaultMultiplier: z.ZodNullable<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
companyName: string | null;
dateCreated: string;
dateLastModified: string;
updateCd: number;
deleteFlag: string;
companyId: string;
lastMaintainedBy: string;
addressId: number | null;
companyUid: number;
defaultSalesLocationId: number | null;
freightCodeUid: number | null;
upsAccountNo: string | null;
defaultSourcePriceCd: number | null;
defaultMultiplier: number | null;
}, {
companyName: string | null;
dateCreated: string;
dateLastModified: string;
updateCd: number;
deleteFlag: string;
companyId: string;
lastMaintainedBy: string;
addressId: number | null;
companyUid: number;
defaultSalesLocationId: number | null;
freightCodeUid: number | null;
upsAccountNo: string | null;
defaultSourcePriceCd: number | null;
defaultMultiplier: number | null;
}>;
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;
}>;
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