feat: office address, multi-template SMS manager, hardcoded defaults with auto-seed

- Add streetAddress/city/state/zipCode fields to OfficeContact (schema + storage + UI)
- Support {officeAddress} variable in batch reminder SMS
- Replace single SMS template field with full CRUD template list (add/rename/edit/delete)
- Store SMS template list under _sms_template_list; first template synced to batch reminder
- Hardcode all AI chat template defaults into codebase (reminder SMS, greetings, fallback)
- Add seed-templates.ts that auto-seeds default templates for all users on server boot
- Update README: note that templates are auto-configured on first boot

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Gitead
2026-05-11 23:18:04 -04:00
parent 11244ace7f
commit 7929dc6e19
56 changed files with 763 additions and 46 deletions

File diff suppressed because one or more lines are too long

View File

@@ -440,7 +440,11 @@ exports.Prisma.OfficeContactScalarFieldEnum = {
dentistName: 'dentistName',
phoneNumber: 'phoneNumber',
email: 'email',
fax: 'fax'
fax: 'fax',
streetAddress: 'streetAddress',
city: 'city',
state: 'state',
zipCode: 'zipCode'
};
exports.Prisma.InsuranceContactScalarFieldEnum = {

View File

@@ -36884,6 +36884,10 @@ export namespace Prisma {
phoneNumber: string | null
email: string | null
fax: string | null
streetAddress: string | null
city: string | null
state: string | null
zipCode: string | null
}
export type OfficeContactMaxAggregateOutputType = {
@@ -36895,6 +36899,10 @@ export namespace Prisma {
phoneNumber: string | null
email: string | null
fax: string | null
streetAddress: string | null
city: string | null
state: string | null
zipCode: string | null
}
export type OfficeContactCountAggregateOutputType = {
@@ -36906,6 +36914,10 @@ export namespace Prisma {
phoneNumber: number
email: number
fax: number
streetAddress: number
city: number
state: number
zipCode: number
_all: number
}
@@ -36929,6 +36941,10 @@ export namespace Prisma {
phoneNumber?: true
email?: true
fax?: true
streetAddress?: true
city?: true
state?: true
zipCode?: true
}
export type OfficeContactMaxAggregateInputType = {
@@ -36940,6 +36956,10 @@ export namespace Prisma {
phoneNumber?: true
email?: true
fax?: true
streetAddress?: true
city?: true
state?: true
zipCode?: true
}
export type OfficeContactCountAggregateInputType = {
@@ -36951,6 +36971,10 @@ export namespace Prisma {
phoneNumber?: true
email?: true
fax?: true
streetAddress?: true
city?: true
state?: true
zipCode?: true
_all?: true
}
@@ -37049,6 +37073,10 @@ export namespace Prisma {
phoneNumber: string | null
email: string | null
fax: string | null
streetAddress: string | null
city: string | null
state: string | null
zipCode: string | null
_count: OfficeContactCountAggregateOutputType | null
_avg: OfficeContactAvgAggregateOutputType | null
_sum: OfficeContactSumAggregateOutputType | null
@@ -37079,6 +37107,10 @@ export namespace Prisma {
phoneNumber?: boolean
email?: boolean
fax?: boolean
streetAddress?: boolean
city?: boolean
state?: boolean
zipCode?: boolean
user?: boolean | UserDefaultArgs<ExtArgs>
}, ExtArgs["result"]["officeContact"]>
@@ -37091,6 +37123,10 @@ export namespace Prisma {
phoneNumber?: boolean
email?: boolean
fax?: boolean
streetAddress?: boolean
city?: boolean
state?: boolean
zipCode?: boolean
user?: boolean | UserDefaultArgs<ExtArgs>
}, ExtArgs["result"]["officeContact"]>
@@ -37103,6 +37139,10 @@ export namespace Prisma {
phoneNumber?: boolean
email?: boolean
fax?: boolean
streetAddress?: boolean
city?: boolean
state?: boolean
zipCode?: boolean
user?: boolean | UserDefaultArgs<ExtArgs>
}, ExtArgs["result"]["officeContact"]>
@@ -37115,9 +37155,13 @@ export namespace Prisma {
phoneNumber?: boolean
email?: boolean
fax?: boolean
streetAddress?: boolean
city?: boolean
state?: boolean
zipCode?: boolean
}
export type OfficeContactOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "userId" | "officeName" | "receptionistName" | "dentistName" | "phoneNumber" | "email" | "fax", ExtArgs["result"]["officeContact"]>
export type OfficeContactOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "userId" | "officeName" | "receptionistName" | "dentistName" | "phoneNumber" | "email" | "fax" | "streetAddress" | "city" | "state" | "zipCode", ExtArgs["result"]["officeContact"]>
export type OfficeContactInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
user?: boolean | UserDefaultArgs<ExtArgs>
}
@@ -37142,6 +37186,10 @@ export namespace Prisma {
phoneNumber: string | null
email: string | null
fax: string | null
streetAddress: string | null
city: string | null
state: string | null
zipCode: string | null
}, ExtArgs["result"]["officeContact"]>
composites: {}
}
@@ -37574,6 +37622,10 @@ export namespace Prisma {
readonly phoneNumber: FieldRef<"OfficeContact", 'String'>
readonly email: FieldRef<"OfficeContact", 'String'>
readonly fax: FieldRef<"OfficeContact", 'String'>
readonly streetAddress: FieldRef<"OfficeContact", 'String'>
readonly city: FieldRef<"OfficeContact", 'String'>
readonly state: FieldRef<"OfficeContact", 'String'>
readonly zipCode: FieldRef<"OfficeContact", 'String'>
}
@@ -41686,7 +41738,11 @@ export namespace Prisma {
dentistName: 'dentistName',
phoneNumber: 'phoneNumber',
email: 'email',
fax: 'fax'
fax: 'fax',
streetAddress: 'streetAddress',
city: 'city',
state: 'state',
zipCode: 'zipCode'
};
export type OfficeContactScalarFieldEnum = (typeof OfficeContactScalarFieldEnum)[keyof typeof OfficeContactScalarFieldEnum]
@@ -44276,6 +44332,10 @@ export namespace Prisma {
phoneNumber?: StringNullableFilter<"OfficeContact"> | string | null
email?: StringNullableFilter<"OfficeContact"> | string | null
fax?: StringNullableFilter<"OfficeContact"> | string | null
streetAddress?: StringNullableFilter<"OfficeContact"> | string | null
city?: StringNullableFilter<"OfficeContact"> | string | null
state?: StringNullableFilter<"OfficeContact"> | string | null
zipCode?: StringNullableFilter<"OfficeContact"> | string | null
user?: XOR<UserScalarRelationFilter, UserWhereInput>
}
@@ -44288,6 +44348,10 @@ export namespace Prisma {
phoneNumber?: SortOrderInput | SortOrder
email?: SortOrderInput | SortOrder
fax?: SortOrderInput | SortOrder
streetAddress?: SortOrderInput | SortOrder
city?: SortOrderInput | SortOrder
state?: SortOrderInput | SortOrder
zipCode?: SortOrderInput | SortOrder
user?: UserOrderByWithRelationInput
}
@@ -44303,6 +44367,10 @@ export namespace Prisma {
phoneNumber?: StringNullableFilter<"OfficeContact"> | string | null
email?: StringNullableFilter<"OfficeContact"> | string | null
fax?: StringNullableFilter<"OfficeContact"> | string | null
streetAddress?: StringNullableFilter<"OfficeContact"> | string | null
city?: StringNullableFilter<"OfficeContact"> | string | null
state?: StringNullableFilter<"OfficeContact"> | string | null
zipCode?: StringNullableFilter<"OfficeContact"> | string | null
user?: XOR<UserScalarRelationFilter, UserWhereInput>
}, "id" | "userId">
@@ -44315,6 +44383,10 @@ export namespace Prisma {
phoneNumber?: SortOrderInput | SortOrder
email?: SortOrderInput | SortOrder
fax?: SortOrderInput | SortOrder
streetAddress?: SortOrderInput | SortOrder
city?: SortOrderInput | SortOrder
state?: SortOrderInput | SortOrder
zipCode?: SortOrderInput | SortOrder
_count?: OfficeContactCountOrderByAggregateInput
_avg?: OfficeContactAvgOrderByAggregateInput
_max?: OfficeContactMaxOrderByAggregateInput
@@ -44334,6 +44406,10 @@ export namespace Prisma {
phoneNumber?: StringNullableWithAggregatesFilter<"OfficeContact"> | string | null
email?: StringNullableWithAggregatesFilter<"OfficeContact"> | string | null
fax?: StringNullableWithAggregatesFilter<"OfficeContact"> | string | null
streetAddress?: StringNullableWithAggregatesFilter<"OfficeContact"> | string | null
city?: StringNullableWithAggregatesFilter<"OfficeContact"> | string | null
state?: StringNullableWithAggregatesFilter<"OfficeContact"> | string | null
zipCode?: StringNullableWithAggregatesFilter<"OfficeContact"> | string | null
}
export type InsuranceContactWhereInput = {
@@ -46755,6 +46831,10 @@ export namespace Prisma {
phoneNumber?: string | null
email?: string | null
fax?: string | null
streetAddress?: string | null
city?: string | null
state?: string | null
zipCode?: string | null
user: UserCreateNestedOneWithoutOfficeContactInput
}
@@ -46767,6 +46847,10 @@ export namespace Prisma {
phoneNumber?: string | null
email?: string | null
fax?: string | null
streetAddress?: string | null
city?: string | null
state?: string | null
zipCode?: string | null
}
export type OfficeContactUpdateInput = {
@@ -46776,6 +46860,10 @@ export namespace Prisma {
phoneNumber?: NullableStringFieldUpdateOperationsInput | string | null
email?: NullableStringFieldUpdateOperationsInput | string | null
fax?: NullableStringFieldUpdateOperationsInput | string | null
streetAddress?: NullableStringFieldUpdateOperationsInput | string | null
city?: NullableStringFieldUpdateOperationsInput | string | null
state?: NullableStringFieldUpdateOperationsInput | string | null
zipCode?: NullableStringFieldUpdateOperationsInput | string | null
user?: UserUpdateOneRequiredWithoutOfficeContactNestedInput
}
@@ -46788,6 +46876,10 @@ export namespace Prisma {
phoneNumber?: NullableStringFieldUpdateOperationsInput | string | null
email?: NullableStringFieldUpdateOperationsInput | string | null
fax?: NullableStringFieldUpdateOperationsInput | string | null
streetAddress?: NullableStringFieldUpdateOperationsInput | string | null
city?: NullableStringFieldUpdateOperationsInput | string | null
state?: NullableStringFieldUpdateOperationsInput | string | null
zipCode?: NullableStringFieldUpdateOperationsInput | string | null
}
export type OfficeContactCreateManyInput = {
@@ -46799,6 +46891,10 @@ export namespace Prisma {
phoneNumber?: string | null
email?: string | null
fax?: string | null
streetAddress?: string | null
city?: string | null
state?: string | null
zipCode?: string | null
}
export type OfficeContactUpdateManyMutationInput = {
@@ -46808,6 +46904,10 @@ export namespace Prisma {
phoneNumber?: NullableStringFieldUpdateOperationsInput | string | null
email?: NullableStringFieldUpdateOperationsInput | string | null
fax?: NullableStringFieldUpdateOperationsInput | string | null
streetAddress?: NullableStringFieldUpdateOperationsInput | string | null
city?: NullableStringFieldUpdateOperationsInput | string | null
state?: NullableStringFieldUpdateOperationsInput | string | null
zipCode?: NullableStringFieldUpdateOperationsInput | string | null
}
export type OfficeContactUncheckedUpdateManyInput = {
@@ -46819,6 +46919,10 @@ export namespace Prisma {
phoneNumber?: NullableStringFieldUpdateOperationsInput | string | null
email?: NullableStringFieldUpdateOperationsInput | string | null
fax?: NullableStringFieldUpdateOperationsInput | string | null
streetAddress?: NullableStringFieldUpdateOperationsInput | string | null
city?: NullableStringFieldUpdateOperationsInput | string | null
state?: NullableStringFieldUpdateOperationsInput | string | null
zipCode?: NullableStringFieldUpdateOperationsInput | string | null
}
export type InsuranceContactCreateInput = {
@@ -49197,6 +49301,10 @@ export namespace Prisma {
phoneNumber?: SortOrder
email?: SortOrder
fax?: SortOrder
streetAddress?: SortOrder
city?: SortOrder
state?: SortOrder
zipCode?: SortOrder
}
export type OfficeContactAvgOrderByAggregateInput = {
@@ -49213,6 +49321,10 @@ export namespace Prisma {
phoneNumber?: SortOrder
email?: SortOrder
fax?: SortOrder
streetAddress?: SortOrder
city?: SortOrder
state?: SortOrder
zipCode?: SortOrder
}
export type OfficeContactMinOrderByAggregateInput = {
@@ -49224,6 +49336,10 @@ export namespace Prisma {
phoneNumber?: SortOrder
email?: SortOrder
fax?: SortOrder
streetAddress?: SortOrder
city?: SortOrder
state?: SortOrder
zipCode?: SortOrder
}
export type OfficeContactSumOrderByAggregateInput = {
@@ -52999,6 +53115,10 @@ export namespace Prisma {
phoneNumber?: string | null
email?: string | null
fax?: string | null
streetAddress?: string | null
city?: string | null
state?: string | null
zipCode?: string | null
}
export type OfficeContactUncheckedCreateWithoutUserInput = {
@@ -53009,6 +53129,10 @@ export namespace Prisma {
phoneNumber?: string | null
email?: string | null
fax?: string | null
streetAddress?: string | null
city?: string | null
state?: string | null
zipCode?: string | null
}
export type OfficeContactCreateOrConnectWithoutUserInput = {
@@ -53581,6 +53705,10 @@ export namespace Prisma {
phoneNumber?: NullableStringFieldUpdateOperationsInput | string | null
email?: NullableStringFieldUpdateOperationsInput | string | null
fax?: NullableStringFieldUpdateOperationsInput | string | null
streetAddress?: NullableStringFieldUpdateOperationsInput | string | null
city?: NullableStringFieldUpdateOperationsInput | string | null
state?: NullableStringFieldUpdateOperationsInput | string | null
zipCode?: NullableStringFieldUpdateOperationsInput | string | null
}
export type OfficeContactUncheckedUpdateWithoutUserInput = {
@@ -53591,6 +53719,10 @@ export namespace Prisma {
phoneNumber?: NullableStringFieldUpdateOperationsInput | string | null
email?: NullableStringFieldUpdateOperationsInput | string | null
fax?: NullableStringFieldUpdateOperationsInput | string | null
streetAddress?: NullableStringFieldUpdateOperationsInput | string | null
city?: NullableStringFieldUpdateOperationsInput | string | null
state?: NullableStringFieldUpdateOperationsInput | string | null
zipCode?: NullableStringFieldUpdateOperationsInput | string | null
}
export type ProcedureTimeslotUpsertWithoutUserInput = {

File diff suppressed because one or more lines are too long

View File

@@ -1,5 +1,5 @@
{
"name": "prisma-client-bdc07eb887b3bb595b0151af876608d0c2dad5b625bc466303ffa3819c38e3ca",
"name": "prisma-client-7ab23aa0435ee62d1543cc6f3f10f1fac4ea741f94efe006ada0cea03090a0c9",
"main": "index.js",
"types": "index.d.ts",
"browser": "default.js",

View File

@@ -604,6 +604,10 @@ model OfficeContact {
phoneNumber String?
email String?
fax String?
streetAddress String?
city String?
state String?
zipCode String?
user User @relation(fields: [userId], references: [id], onDelete: Cascade)

View File

@@ -605,6 +605,10 @@ model OfficeContact {
phoneNumber String?
email String?
fax String?
streetAddress String?
city String?
state String?
zipCode String?
user User @relation(fields: [userId], references: [id], onDelete: Cascade)

View File

@@ -1,7 +1,7 @@
{
"version": "1.0",
"generatorVersion": "1.0.0",
"generatedAt": "2026-05-11T21:48:22.459Z",
"generatedAt": "2026-05-12T02:28:39.220Z",
"outputPath": "/home/ee/Desktop/DentalManagementMH05/packages/db/shared",
"files": [
"schemas/enums/TransactionIsolationLevel.schema.ts",

View File

@@ -1,5 +1,5 @@
import * as z from 'zod';
export const OfficeContactScalarFieldEnumSchema = z.enum(['id', 'userId', 'officeName', 'receptionistName', 'dentistName', 'phoneNumber', 'email', 'fax'])
export const OfficeContactScalarFieldEnumSchema = z.enum(['id', 'userId', 'officeName', 'receptionistName', 'dentistName', 'phoneNumber', 'email', 'fax', 'streetAddress', 'city', 'state', 'zipCode'])
export type OfficeContactScalarFieldEnum = z.infer<typeof OfficeContactScalarFieldEnumSchema>;

View File

@@ -18,6 +18,10 @@ export const OfficeContactFindFirstSelectSchema: z.ZodType<Prisma.OfficeContactS
phoneNumber: z.boolean().optional(),
email: z.boolean().optional(),
fax: z.boolean().optional(),
streetAddress: z.boolean().optional(),
city: z.boolean().optional(),
state: z.boolean().optional(),
zipCode: z.boolean().optional(),
user: z.boolean().optional()
}).strict() as unknown as z.ZodType<Prisma.OfficeContactSelect>;
@@ -30,6 +34,10 @@ export const OfficeContactFindFirstSelectZodSchema = z.object({
phoneNumber: z.boolean().optional(),
email: z.boolean().optional(),
fax: z.boolean().optional(),
streetAddress: z.boolean().optional(),
city: z.boolean().optional(),
state: z.boolean().optional(),
zipCode: z.boolean().optional(),
user: z.boolean().optional()
}).strict();

View File

@@ -18,6 +18,10 @@ export const OfficeContactFindFirstOrThrowSelectSchema: z.ZodType<Prisma.OfficeC
phoneNumber: z.boolean().optional(),
email: z.boolean().optional(),
fax: z.boolean().optional(),
streetAddress: z.boolean().optional(),
city: z.boolean().optional(),
state: z.boolean().optional(),
zipCode: z.boolean().optional(),
user: z.boolean().optional()
}).strict() as unknown as z.ZodType<Prisma.OfficeContactSelect>;
@@ -30,6 +34,10 @@ export const OfficeContactFindFirstOrThrowSelectZodSchema = z.object({
phoneNumber: z.boolean().optional(),
email: z.boolean().optional(),
fax: z.boolean().optional(),
streetAddress: z.boolean().optional(),
city: z.boolean().optional(),
state: z.boolean().optional(),
zipCode: z.boolean().optional(),
user: z.boolean().optional()
}).strict();

View File

@@ -18,6 +18,10 @@ export const OfficeContactFindManySelectSchema: z.ZodType<Prisma.OfficeContactSe
phoneNumber: z.boolean().optional(),
email: z.boolean().optional(),
fax: z.boolean().optional(),
streetAddress: z.boolean().optional(),
city: z.boolean().optional(),
state: z.boolean().optional(),
zipCode: z.boolean().optional(),
user: z.boolean().optional()
}).strict() as unknown as z.ZodType<Prisma.OfficeContactSelect>;
@@ -30,6 +34,10 @@ export const OfficeContactFindManySelectZodSchema = z.object({
phoneNumber: z.boolean().optional(),
email: z.boolean().optional(),
fax: z.boolean().optional(),
streetAddress: z.boolean().optional(),
city: z.boolean().optional(),
state: z.boolean().optional(),
zipCode: z.boolean().optional(),
user: z.boolean().optional()
}).strict();

View File

@@ -11,6 +11,10 @@ const makeSchema = () => z.object({
phoneNumber: z.literal(true).optional(),
email: z.literal(true).optional(),
fax: z.literal(true).optional(),
streetAddress: z.literal(true).optional(),
city: z.literal(true).optional(),
state: z.literal(true).optional(),
zipCode: z.literal(true).optional(),
_all: z.literal(true).optional()
}).strict();
export const OfficeContactCountAggregateInputObjectSchema: z.ZodType<Prisma.OfficeContactCountAggregateInputType> = makeSchema() as unknown as z.ZodType<Prisma.OfficeContactCountAggregateInputType>;

View File

@@ -10,7 +10,11 @@ const makeSchema = () => z.object({
dentistName: SortOrderSchema.optional(),
phoneNumber: SortOrderSchema.optional(),
email: SortOrderSchema.optional(),
fax: SortOrderSchema.optional()
fax: SortOrderSchema.optional(),
streetAddress: SortOrderSchema.optional(),
city: SortOrderSchema.optional(),
state: SortOrderSchema.optional(),
zipCode: SortOrderSchema.optional()
}).strict();
export const OfficeContactCountOrderByAggregateInputObjectSchema: z.ZodType<Prisma.OfficeContactCountOrderByAggregateInput> = makeSchema() as unknown as z.ZodType<Prisma.OfficeContactCountOrderByAggregateInput>;
export const OfficeContactCountOrderByAggregateInputObjectZodSchema = makeSchema();

View File

@@ -9,6 +9,10 @@ const makeSchema = () => z.object({
phoneNumber: z.string().optional().nullable(),
email: z.string().optional().nullable(),
fax: z.string().optional().nullable(),
streetAddress: z.string().optional().nullable(),
city: z.string().optional().nullable(),
state: z.string().optional().nullable(),
zipCode: z.string().optional().nullable(),
user: z.lazy(() => UserCreateNestedOneWithoutOfficeContactInputObjectSchema)
}).strict();
export const OfficeContactCreateInputObjectSchema: z.ZodType<Prisma.OfficeContactCreateInput> = makeSchema() as unknown as z.ZodType<Prisma.OfficeContactCreateInput>;

View File

@@ -10,7 +10,11 @@ const makeSchema = () => z.object({
dentistName: z.string().optional().nullable(),
phoneNumber: z.string().optional().nullable(),
email: z.string().optional().nullable(),
fax: z.string().optional().nullable()
fax: z.string().optional().nullable(),
streetAddress: z.string().optional().nullable(),
city: z.string().optional().nullable(),
state: z.string().optional().nullable(),
zipCode: z.string().optional().nullable()
}).strict();
export const OfficeContactCreateManyInputObjectSchema: z.ZodType<Prisma.OfficeContactCreateManyInput> = makeSchema() as unknown as z.ZodType<Prisma.OfficeContactCreateManyInput>;
export const OfficeContactCreateManyInputObjectZodSchema = makeSchema();

View File

@@ -8,7 +8,11 @@ const makeSchema = () => z.object({
dentistName: z.string().optional().nullable(),
phoneNumber: z.string().optional().nullable(),
email: z.string().optional().nullable(),
fax: z.string().optional().nullable()
fax: z.string().optional().nullable(),
streetAddress: z.string().optional().nullable(),
city: z.string().optional().nullable(),
state: z.string().optional().nullable(),
zipCode: z.string().optional().nullable()
}).strict();
export const OfficeContactCreateWithoutUserInputObjectSchema: z.ZodType<Prisma.OfficeContactCreateWithoutUserInput> = makeSchema() as unknown as z.ZodType<Prisma.OfficeContactCreateWithoutUserInput>;
export const OfficeContactCreateWithoutUserInputObjectZodSchema = makeSchema();

View File

@@ -10,7 +10,11 @@ const makeSchema = () => z.object({
dentistName: z.literal(true).optional(),
phoneNumber: z.literal(true).optional(),
email: z.literal(true).optional(),
fax: z.literal(true).optional()
fax: z.literal(true).optional(),
streetAddress: z.literal(true).optional(),
city: z.literal(true).optional(),
state: z.literal(true).optional(),
zipCode: z.literal(true).optional()
}).strict();
export const OfficeContactMaxAggregateInputObjectSchema: z.ZodType<Prisma.OfficeContactMaxAggregateInputType> = makeSchema() as unknown as z.ZodType<Prisma.OfficeContactMaxAggregateInputType>;
export const OfficeContactMaxAggregateInputObjectZodSchema = makeSchema();

View File

@@ -10,7 +10,11 @@ const makeSchema = () => z.object({
dentistName: SortOrderSchema.optional(),
phoneNumber: SortOrderSchema.optional(),
email: SortOrderSchema.optional(),
fax: SortOrderSchema.optional()
fax: SortOrderSchema.optional(),
streetAddress: SortOrderSchema.optional(),
city: SortOrderSchema.optional(),
state: SortOrderSchema.optional(),
zipCode: SortOrderSchema.optional()
}).strict();
export const OfficeContactMaxOrderByAggregateInputObjectSchema: z.ZodType<Prisma.OfficeContactMaxOrderByAggregateInput> = makeSchema() as unknown as z.ZodType<Prisma.OfficeContactMaxOrderByAggregateInput>;
export const OfficeContactMaxOrderByAggregateInputObjectZodSchema = makeSchema();

View File

@@ -10,7 +10,11 @@ const makeSchema = () => z.object({
dentistName: z.literal(true).optional(),
phoneNumber: z.literal(true).optional(),
email: z.literal(true).optional(),
fax: z.literal(true).optional()
fax: z.literal(true).optional(),
streetAddress: z.literal(true).optional(),
city: z.literal(true).optional(),
state: z.literal(true).optional(),
zipCode: z.literal(true).optional()
}).strict();
export const OfficeContactMinAggregateInputObjectSchema: z.ZodType<Prisma.OfficeContactMinAggregateInputType> = makeSchema() as unknown as z.ZodType<Prisma.OfficeContactMinAggregateInputType>;
export const OfficeContactMinAggregateInputObjectZodSchema = makeSchema();

View File

@@ -10,7 +10,11 @@ const makeSchema = () => z.object({
dentistName: SortOrderSchema.optional(),
phoneNumber: SortOrderSchema.optional(),
email: SortOrderSchema.optional(),
fax: SortOrderSchema.optional()
fax: SortOrderSchema.optional(),
streetAddress: SortOrderSchema.optional(),
city: SortOrderSchema.optional(),
state: SortOrderSchema.optional(),
zipCode: SortOrderSchema.optional()
}).strict();
export const OfficeContactMinOrderByAggregateInputObjectSchema: z.ZodType<Prisma.OfficeContactMinOrderByAggregateInput> = makeSchema() as unknown as z.ZodType<Prisma.OfficeContactMinOrderByAggregateInput>;
export const OfficeContactMinOrderByAggregateInputObjectZodSchema = makeSchema();

View File

@@ -17,6 +17,10 @@ const makeSchema = () => z.object({
phoneNumber: z.union([SortOrderSchema, z.lazy(() => SortOrderInputObjectSchema)]).optional(),
email: z.union([SortOrderSchema, z.lazy(() => SortOrderInputObjectSchema)]).optional(),
fax: z.union([SortOrderSchema, z.lazy(() => SortOrderInputObjectSchema)]).optional(),
streetAddress: z.union([SortOrderSchema, z.lazy(() => SortOrderInputObjectSchema)]).optional(),
city: z.union([SortOrderSchema, z.lazy(() => SortOrderInputObjectSchema)]).optional(),
state: z.union([SortOrderSchema, z.lazy(() => SortOrderInputObjectSchema)]).optional(),
zipCode: z.union([SortOrderSchema, z.lazy(() => SortOrderInputObjectSchema)]).optional(),
_count: z.lazy(() => OfficeContactCountOrderByAggregateInputObjectSchema).optional(),
_avg: z.lazy(() => OfficeContactAvgOrderByAggregateInputObjectSchema).optional(),
_max: z.lazy(() => OfficeContactMaxOrderByAggregateInputObjectSchema).optional(),

View File

@@ -13,6 +13,10 @@ const makeSchema = () => z.object({
phoneNumber: z.union([SortOrderSchema, z.lazy(() => SortOrderInputObjectSchema)]).optional(),
email: z.union([SortOrderSchema, z.lazy(() => SortOrderInputObjectSchema)]).optional(),
fax: z.union([SortOrderSchema, z.lazy(() => SortOrderInputObjectSchema)]).optional(),
streetAddress: z.union([SortOrderSchema, z.lazy(() => SortOrderInputObjectSchema)]).optional(),
city: z.union([SortOrderSchema, z.lazy(() => SortOrderInputObjectSchema)]).optional(),
state: z.union([SortOrderSchema, z.lazy(() => SortOrderInputObjectSchema)]).optional(),
zipCode: z.union([SortOrderSchema, z.lazy(() => SortOrderInputObjectSchema)]).optional(),
user: z.lazy(() => UserOrderByWithRelationInputObjectSchema).optional()
}).strict();
export const OfficeContactOrderByWithRelationInputObjectSchema: z.ZodType<Prisma.OfficeContactOrderByWithRelationInput> = makeSchema() as unknown as z.ZodType<Prisma.OfficeContactOrderByWithRelationInput>;

View File

@@ -14,7 +14,11 @@ const officecontactscalarwherewithaggregatesinputSchema = z.object({
dentistName: z.union([z.lazy(() => StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable(),
phoneNumber: z.union([z.lazy(() => StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable(),
email: z.union([z.lazy(() => StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable(),
fax: z.union([z.lazy(() => StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable()
fax: z.union([z.lazy(() => StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable(),
streetAddress: z.union([z.lazy(() => StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable(),
city: z.union([z.lazy(() => StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable(),
state: z.union([z.lazy(() => StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable(),
zipCode: z.union([z.lazy(() => StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable()
}).strict();
export const OfficeContactScalarWhereWithAggregatesInputObjectSchema: z.ZodType<Prisma.OfficeContactScalarWhereWithAggregatesInput> = officecontactscalarwherewithaggregatesinputSchema as unknown as z.ZodType<Prisma.OfficeContactScalarWhereWithAggregatesInput>;
export const OfficeContactScalarWhereWithAggregatesInputObjectZodSchema = officecontactscalarwherewithaggregatesinputSchema;

View File

@@ -11,6 +11,10 @@ const makeSchema = () => z.object({
phoneNumber: z.boolean().optional(),
email: z.boolean().optional(),
fax: z.boolean().optional(),
streetAddress: z.boolean().optional(),
city: z.boolean().optional(),
state: z.boolean().optional(),
zipCode: z.boolean().optional(),
user: z.union([z.boolean(), z.lazy(() => UserArgsObjectSchema)]).optional()
}).strict();
export const OfficeContactSelectObjectSchema: z.ZodType<Prisma.OfficeContactSelect> = makeSchema() as unknown as z.ZodType<Prisma.OfficeContactSelect>;

View File

@@ -10,7 +10,11 @@ const makeSchema = () => z.object({
dentistName: z.string().optional().nullable(),
phoneNumber: z.string().optional().nullable(),
email: z.string().optional().nullable(),
fax: z.string().optional().nullable()
fax: z.string().optional().nullable(),
streetAddress: z.string().optional().nullable(),
city: z.string().optional().nullable(),
state: z.string().optional().nullable(),
zipCode: z.string().optional().nullable()
}).strict();
export const OfficeContactUncheckedCreateInputObjectSchema: z.ZodType<Prisma.OfficeContactUncheckedCreateInput> = makeSchema() as unknown as z.ZodType<Prisma.OfficeContactUncheckedCreateInput>;
export const OfficeContactUncheckedCreateInputObjectZodSchema = makeSchema();

View File

@@ -9,7 +9,11 @@ const makeSchema = () => z.object({
dentistName: z.string().optional().nullable(),
phoneNumber: z.string().optional().nullable(),
email: z.string().optional().nullable(),
fax: z.string().optional().nullable()
fax: z.string().optional().nullable(),
streetAddress: z.string().optional().nullable(),
city: z.string().optional().nullable(),
state: z.string().optional().nullable(),
zipCode: z.string().optional().nullable()
}).strict();
export const OfficeContactUncheckedCreateWithoutUserInputObjectSchema: z.ZodType<Prisma.OfficeContactUncheckedCreateWithoutUserInput> = makeSchema() as unknown as z.ZodType<Prisma.OfficeContactUncheckedCreateWithoutUserInput>;
export const OfficeContactUncheckedCreateWithoutUserInputObjectZodSchema = makeSchema();

View File

@@ -11,7 +11,11 @@ const makeSchema = () => z.object({
dentistName: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
phoneNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
email: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
fax: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable()
fax: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
streetAddress: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
city: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
state: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
zipCode: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable()
}).strict();
export const OfficeContactUncheckedUpdateInputObjectSchema: z.ZodType<Prisma.OfficeContactUncheckedUpdateInput> = makeSchema() as unknown as z.ZodType<Prisma.OfficeContactUncheckedUpdateInput>;
export const OfficeContactUncheckedUpdateInputObjectZodSchema = makeSchema();

View File

@@ -11,7 +11,11 @@ const makeSchema = () => z.object({
dentistName: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
phoneNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
email: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
fax: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable()
fax: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
streetAddress: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
city: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
state: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
zipCode: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable()
}).strict();
export const OfficeContactUncheckedUpdateManyInputObjectSchema: z.ZodType<Prisma.OfficeContactUncheckedUpdateManyInput> = makeSchema() as unknown as z.ZodType<Prisma.OfficeContactUncheckedUpdateManyInput>;
export const OfficeContactUncheckedUpdateManyInputObjectZodSchema = makeSchema();

View File

@@ -10,7 +10,11 @@ const makeSchema = () => z.object({
dentistName: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
phoneNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
email: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
fax: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable()
fax: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
streetAddress: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
city: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
state: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
zipCode: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable()
}).strict();
export const OfficeContactUncheckedUpdateWithoutUserInputObjectSchema: z.ZodType<Prisma.OfficeContactUncheckedUpdateWithoutUserInput> = makeSchema() as unknown as z.ZodType<Prisma.OfficeContactUncheckedUpdateWithoutUserInput>;
export const OfficeContactUncheckedUpdateWithoutUserInputObjectZodSchema = makeSchema();

View File

@@ -10,6 +10,10 @@ const makeSchema = () => z.object({
phoneNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
email: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
fax: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
streetAddress: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
city: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
state: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
zipCode: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
user: z.lazy(() => UserUpdateOneRequiredWithoutOfficeContactNestedInputObjectSchema).optional()
}).strict();
export const OfficeContactUpdateInputObjectSchema: z.ZodType<Prisma.OfficeContactUpdateInput> = makeSchema() as unknown as z.ZodType<Prisma.OfficeContactUpdateInput>;

View File

@@ -8,7 +8,11 @@ const makeSchema = () => z.object({
dentistName: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
phoneNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
email: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
fax: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable()
fax: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
streetAddress: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
city: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
state: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
zipCode: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable()
}).strict();
export const OfficeContactUpdateManyMutationInputObjectSchema: z.ZodType<Prisma.OfficeContactUpdateManyMutationInput> = makeSchema() as unknown as z.ZodType<Prisma.OfficeContactUpdateManyMutationInput>;
export const OfficeContactUpdateManyMutationInputObjectZodSchema = makeSchema();

View File

@@ -8,7 +8,11 @@ const makeSchema = () => z.object({
dentistName: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
phoneNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
email: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
fax: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable()
fax: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
streetAddress: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
city: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
state: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
zipCode: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable()
}).strict();
export const OfficeContactUpdateWithoutUserInputObjectSchema: z.ZodType<Prisma.OfficeContactUpdateWithoutUserInput> = makeSchema() as unknown as z.ZodType<Prisma.OfficeContactUpdateWithoutUserInput>;
export const OfficeContactUpdateWithoutUserInputObjectZodSchema = makeSchema();

View File

@@ -17,6 +17,10 @@ const officecontactwhereinputSchema = z.object({
phoneNumber: z.union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]).optional().nullable(),
email: z.union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]).optional().nullable(),
fax: z.union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]).optional().nullable(),
streetAddress: z.union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]).optional().nullable(),
city: z.union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]).optional().nullable(),
state: z.union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]).optional().nullable(),
zipCode: z.union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]).optional().nullable(),
user: z.union([z.lazy(() => UserScalarRelationFilterObjectSchema), z.lazy(() => UserWhereInputObjectSchema)]).optional()
}).strict();
export const OfficeContactWhereInputObjectSchema: z.ZodType<Prisma.OfficeContactWhereInput> = officecontactwhereinputSchema as unknown as z.ZodType<Prisma.OfficeContactWhereInput>;

View File

@@ -8,6 +8,10 @@ export const OfficeContactAggregateResultSchema = z.object({ _count: z.object({
phoneNumber: z.number(),
email: z.number(),
fax: z.number(),
streetAddress: z.number(),
city: z.number(),
state: z.number(),
zipCode: z.number(),
user: z.number()
}).optional(),
_sum: z.object({
@@ -26,7 +30,11 @@ export const OfficeContactAggregateResultSchema = z.object({ _count: z.object({
dentistName: z.string().nullable(),
phoneNumber: z.string().nullable(),
email: z.string().nullable(),
fax: z.string().nullable()
fax: z.string().nullable(),
streetAddress: z.string().nullable(),
city: z.string().nullable(),
state: z.string().nullable(),
zipCode: z.string().nullable()
}).nullable().optional(),
_max: z.object({
id: z.number().int().nullable(),
@@ -36,5 +44,9 @@ export const OfficeContactAggregateResultSchema = z.object({ _count: z.object({
dentistName: z.string().nullable(),
phoneNumber: z.string().nullable(),
email: z.string().nullable(),
fax: z.string().nullable()
fax: z.string().nullable(),
streetAddress: z.string().nullable(),
city: z.string().nullable(),
state: z.string().nullable(),
zipCode: z.string().nullable()
}).nullable().optional()});

View File

@@ -8,5 +8,9 @@ export const OfficeContactCreateResultSchema = z.object({
phoneNumber: z.string().optional(),
email: z.string().optional(),
fax: z.string().optional(),
streetAddress: z.string().optional(),
city: z.string().optional(),
state: z.string().optional(),
zipCode: z.string().optional(),
user: z.unknown()
});

View File

@@ -8,5 +8,9 @@ export const OfficeContactDeleteResultSchema = z.nullable(z.object({
phoneNumber: z.string().optional(),
email: z.string().optional(),
fax: z.string().optional(),
streetAddress: z.string().optional(),
city: z.string().optional(),
state: z.string().optional(),
zipCode: z.string().optional(),
user: z.unknown()
}));

View File

@@ -8,5 +8,9 @@ export const OfficeContactFindFirstResultSchema = z.nullable(z.object({
phoneNumber: z.string().optional(),
email: z.string().optional(),
fax: z.string().optional(),
streetAddress: z.string().optional(),
city: z.string().optional(),
state: z.string().optional(),
zipCode: z.string().optional(),
user: z.unknown()
}));

View File

@@ -9,6 +9,10 @@ export const OfficeContactFindManyResultSchema = z.object({
phoneNumber: z.string().optional(),
email: z.string().optional(),
fax: z.string().optional(),
streetAddress: z.string().optional(),
city: z.string().optional(),
state: z.string().optional(),
zipCode: z.string().optional(),
user: z.unknown()
})),
pagination: z.object({

View File

@@ -8,5 +8,9 @@ export const OfficeContactFindUniqueResultSchema = z.nullable(z.object({
phoneNumber: z.string().optional(),
email: z.string().optional(),
fax: z.string().optional(),
streetAddress: z.string().optional(),
city: z.string().optional(),
state: z.string().optional(),
zipCode: z.string().optional(),
user: z.unknown()
}));

View File

@@ -8,6 +8,10 @@ export const OfficeContactGroupByResultSchema = z.array(z.object({
phoneNumber: z.string(),
email: z.string(),
fax: z.string(),
streetAddress: z.string(),
city: z.string(),
state: z.string(),
zipCode: z.string(),
_count: z.object({
id: z.number(),
userId: z.number(),
@@ -17,6 +21,10 @@ export const OfficeContactGroupByResultSchema = z.array(z.object({
phoneNumber: z.number(),
email: z.number(),
fax: z.number(),
streetAddress: z.number(),
city: z.number(),
state: z.number(),
zipCode: z.number(),
user: z.number()
}).optional(),
_sum: z.object({
@@ -35,7 +43,11 @@ export const OfficeContactGroupByResultSchema = z.array(z.object({
dentistName: z.string().nullable(),
phoneNumber: z.string().nullable(),
email: z.string().nullable(),
fax: z.string().nullable()
fax: z.string().nullable(),
streetAddress: z.string().nullable(),
city: z.string().nullable(),
state: z.string().nullable(),
zipCode: z.string().nullable()
}).nullable().optional(),
_max: z.object({
id: z.number().int().nullable(),
@@ -45,6 +57,10 @@ export const OfficeContactGroupByResultSchema = z.array(z.object({
dentistName: z.string().nullable(),
phoneNumber: z.string().nullable(),
email: z.string().nullable(),
fax: z.string().nullable()
fax: z.string().nullable(),
streetAddress: z.string().nullable(),
city: z.string().nullable(),
state: z.string().nullable(),
zipCode: z.string().nullable()
}).nullable().optional()
}));

View File

@@ -8,5 +8,9 @@ export const OfficeContactUpdateResultSchema = z.nullable(z.object({
phoneNumber: z.string().optional(),
email: z.string().optional(),
fax: z.string().optional(),
streetAddress: z.string().optional(),
city: z.string().optional(),
state: z.string().optional(),
zipCode: z.string().optional(),
user: z.unknown()
}));

View File

@@ -8,5 +8,9 @@ export const OfficeContactUpsertResultSchema = z.object({
phoneNumber: z.string().optional(),
email: z.string().optional(),
fax: z.string().optional(),
streetAddress: z.string().optional(),
city: z.string().optional(),
state: z.string().optional(),
zipCode: z.string().optional(),
user: z.unknown()
});

View File

@@ -9,6 +9,10 @@ export const OfficeContactInputSchema = z.object({
phoneNumber: z.string().optional().nullable(),
email: z.string().optional().nullable(),
fax: z.string().optional().nullable(),
streetAddress: z.string().optional().nullable(),
city: z.string().optional().nullable(),
state: z.string().optional().nullable(),
zipCode: z.string().optional().nullable(),
user: z.unknown()
}).strict();

View File

@@ -9,6 +9,10 @@ export const OfficeContactModelSchema = z.object({
phoneNumber: z.string().nullable(),
email: z.string().nullable(),
fax: z.string().nullable(),
streetAddress: z.string().nullable(),
city: z.string().nullable(),
state: z.string().nullable(),
zipCode: z.string().nullable(),
user: z.unknown()
}).strict();

View File

@@ -9,6 +9,10 @@ export const OfficeContactResultSchema = z.object({
phoneNumber: z.string().nullable(),
email: z.string().nullable(),
fax: z.string().nullable(),
streetAddress: z.string().nullable(),
city: z.string().nullable(),
state: z.string().nullable(),
zipCode: z.string().nullable(),
user: z.unknown()
}).strict();