@accounter/server
Version:
Accounter GraphQL server
32 lines (31 loc) • 1.16 kB
TypeScript
import { z } from 'zod';
export declare const adminBusinessUpdateSchema: z.ZodObject<{
id: z.ZodUUID;
businessRegistrationStartDate: z.ZodOptional<z.ZodISODate>;
companyTaxId: z.ZodOptional<z.ZodString>;
advanceTaxRates: z.ZodOptional<z.ZodArray<z.ZodObject<{
date: z.ZodISODate;
rate: z.ZodNumber;
}, z.core.$strict>>>;
taxAdvancesIds: z.ZodOptional<z.ZodArray<z.ZodObject<{
year: z.ZodNumber;
id: z.ZodString;
}, z.core.$strict>>>;
socialSecurityEmployerIds: z.ZodOptional<z.ZodArray<z.ZodObject<{
year: z.ZodNumber;
id: z.ZodString;
}, z.core.$strict>>>;
withholdingTaxAnnualIds: z.ZodOptional<z.ZodArray<z.ZodObject<{
year: z.ZodNumber;
id: z.ZodString;
}, z.core.$strict>>>;
}, z.core.$strict>;
export type AdminBusinessUpdateSchema = z.infer<typeof adminBusinessUpdateSchema>;
export declare const yearlyIdsSchema: z.ZodArray<z.ZodObject<{
year: z.ZodNumber;
id: z.ZodString;
}, z.core.$strict>>;
export declare const taxAdvancesRatesSchema: z.ZodArray<z.ZodObject<{
date: z.ZodISODate;
rate: z.ZodNumber;
}, z.core.$strict>>;