24 lines
779 B
TypeScript
24 lines
779 B
TypeScript
import { z } from "zod"
|
|
|
|
export const UpdateCompanyInputSchema = z.object({
|
|
formal_name: z.string(),
|
|
company_type: z.string(),
|
|
commercial_type: z.string(),
|
|
tax_no: z.string(),
|
|
public_name: z.string(),
|
|
company_tag: z.string(),
|
|
default_lang_type: z.string().default("TR"),
|
|
default_money_type: z.string().default("TL"),
|
|
is_commercial: z.boolean().default(false),
|
|
is_blacklist: z.boolean().default(false),
|
|
parent_id: z.string().optional(),
|
|
workplace_no: z.string().optional(),
|
|
official_address: z.string().optional(),
|
|
top_responsible_company: z.string().optional(),
|
|
expiryStarts: z.string().optional(),
|
|
expiryEnds: z.string().optional(),
|
|
|
|
});
|
|
|
|
export type UpdateCompanyInput = z.infer<typeof UpdateCompanyInputSchema>;
|