feat: AI API Setting page with 4 provider sections and toggles
Add OpenAI, Claude AI, and DentalManagement AI sections to the AI API Setting page, each with a masked API key input and an on/off toggle (defaulting to off). Rename sidebar label from "Google AI Settings" to "AI API Setting". Add provider-key and provider-enabled backend endpoints and extend the AiSettings schema with 6 new fields. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -435,6 +435,13 @@ exports.Prisma.AiSettingsScalarFieldEnum = {
|
||||
id: 'id',
|
||||
userId: 'userId',
|
||||
apiKey: 'apiKey',
|
||||
aiEnabled: 'aiEnabled',
|
||||
openAiKey: 'openAiKey',
|
||||
openAiEnabled: 'openAiEnabled',
|
||||
claudeAiKey: 'claudeAiKey',
|
||||
claudeAiEnabled: 'claudeAiEnabled',
|
||||
dentalMgmtKey: 'dentalMgmtKey',
|
||||
dentalMgmtEnabled: 'dentalMgmtEnabled',
|
||||
afterHoursEnabled: 'afterHoursEnabled',
|
||||
openPhoneReply: 'openPhoneReply'
|
||||
};
|
||||
|
||||
233
packages/db/generated/prisma/index.d.ts
vendored
233
packages/db/generated/prisma/index.d.ts
vendored
@@ -36381,6 +36381,13 @@ export namespace Prisma {
|
||||
id: number | null
|
||||
userId: number | null
|
||||
apiKey: string | null
|
||||
aiEnabled: boolean | null
|
||||
openAiKey: string | null
|
||||
openAiEnabled: boolean | null
|
||||
claudeAiKey: string | null
|
||||
claudeAiEnabled: boolean | null
|
||||
dentalMgmtKey: string | null
|
||||
dentalMgmtEnabled: boolean | null
|
||||
afterHoursEnabled: boolean | null
|
||||
openPhoneReply: boolean | null
|
||||
}
|
||||
@@ -36389,6 +36396,13 @@ export namespace Prisma {
|
||||
id: number | null
|
||||
userId: number | null
|
||||
apiKey: string | null
|
||||
aiEnabled: boolean | null
|
||||
openAiKey: string | null
|
||||
openAiEnabled: boolean | null
|
||||
claudeAiKey: string | null
|
||||
claudeAiEnabled: boolean | null
|
||||
dentalMgmtKey: string | null
|
||||
dentalMgmtEnabled: boolean | null
|
||||
afterHoursEnabled: boolean | null
|
||||
openPhoneReply: boolean | null
|
||||
}
|
||||
@@ -36397,6 +36411,13 @@ export namespace Prisma {
|
||||
id: number
|
||||
userId: number
|
||||
apiKey: number
|
||||
aiEnabled: number
|
||||
openAiKey: number
|
||||
openAiEnabled: number
|
||||
claudeAiKey: number
|
||||
claudeAiEnabled: number
|
||||
dentalMgmtKey: number
|
||||
dentalMgmtEnabled: number
|
||||
afterHoursEnabled: number
|
||||
openPhoneReply: number
|
||||
_all: number
|
||||
@@ -36417,6 +36438,13 @@ export namespace Prisma {
|
||||
id?: true
|
||||
userId?: true
|
||||
apiKey?: true
|
||||
aiEnabled?: true
|
||||
openAiKey?: true
|
||||
openAiEnabled?: true
|
||||
claudeAiKey?: true
|
||||
claudeAiEnabled?: true
|
||||
dentalMgmtKey?: true
|
||||
dentalMgmtEnabled?: true
|
||||
afterHoursEnabled?: true
|
||||
openPhoneReply?: true
|
||||
}
|
||||
@@ -36425,6 +36453,13 @@ export namespace Prisma {
|
||||
id?: true
|
||||
userId?: true
|
||||
apiKey?: true
|
||||
aiEnabled?: true
|
||||
openAiKey?: true
|
||||
openAiEnabled?: true
|
||||
claudeAiKey?: true
|
||||
claudeAiEnabled?: true
|
||||
dentalMgmtKey?: true
|
||||
dentalMgmtEnabled?: true
|
||||
afterHoursEnabled?: true
|
||||
openPhoneReply?: true
|
||||
}
|
||||
@@ -36433,6 +36468,13 @@ export namespace Prisma {
|
||||
id?: true
|
||||
userId?: true
|
||||
apiKey?: true
|
||||
aiEnabled?: true
|
||||
openAiKey?: true
|
||||
openAiEnabled?: true
|
||||
claudeAiKey?: true
|
||||
claudeAiEnabled?: true
|
||||
dentalMgmtKey?: true
|
||||
dentalMgmtEnabled?: true
|
||||
afterHoursEnabled?: true
|
||||
openPhoneReply?: true
|
||||
_all?: true
|
||||
@@ -36528,6 +36570,13 @@ export namespace Prisma {
|
||||
id: number
|
||||
userId: number
|
||||
apiKey: string
|
||||
aiEnabled: boolean
|
||||
openAiKey: string
|
||||
openAiEnabled: boolean
|
||||
claudeAiKey: string
|
||||
claudeAiEnabled: boolean
|
||||
dentalMgmtKey: string
|
||||
dentalMgmtEnabled: boolean
|
||||
afterHoursEnabled: boolean
|
||||
openPhoneReply: boolean
|
||||
_count: AiSettingsCountAggregateOutputType | null
|
||||
@@ -36555,6 +36604,13 @@ export namespace Prisma {
|
||||
id?: boolean
|
||||
userId?: boolean
|
||||
apiKey?: boolean
|
||||
aiEnabled?: boolean
|
||||
openAiKey?: boolean
|
||||
openAiEnabled?: boolean
|
||||
claudeAiKey?: boolean
|
||||
claudeAiEnabled?: boolean
|
||||
dentalMgmtKey?: boolean
|
||||
dentalMgmtEnabled?: boolean
|
||||
afterHoursEnabled?: boolean
|
||||
openPhoneReply?: boolean
|
||||
user?: boolean | UserDefaultArgs<ExtArgs>
|
||||
@@ -36564,6 +36620,13 @@ export namespace Prisma {
|
||||
id?: boolean
|
||||
userId?: boolean
|
||||
apiKey?: boolean
|
||||
aiEnabled?: boolean
|
||||
openAiKey?: boolean
|
||||
openAiEnabled?: boolean
|
||||
claudeAiKey?: boolean
|
||||
claudeAiEnabled?: boolean
|
||||
dentalMgmtKey?: boolean
|
||||
dentalMgmtEnabled?: boolean
|
||||
afterHoursEnabled?: boolean
|
||||
openPhoneReply?: boolean
|
||||
user?: boolean | UserDefaultArgs<ExtArgs>
|
||||
@@ -36573,6 +36636,13 @@ export namespace Prisma {
|
||||
id?: boolean
|
||||
userId?: boolean
|
||||
apiKey?: boolean
|
||||
aiEnabled?: boolean
|
||||
openAiKey?: boolean
|
||||
openAiEnabled?: boolean
|
||||
claudeAiKey?: boolean
|
||||
claudeAiEnabled?: boolean
|
||||
dentalMgmtKey?: boolean
|
||||
dentalMgmtEnabled?: boolean
|
||||
afterHoursEnabled?: boolean
|
||||
openPhoneReply?: boolean
|
||||
user?: boolean | UserDefaultArgs<ExtArgs>
|
||||
@@ -36582,11 +36652,18 @@ export namespace Prisma {
|
||||
id?: boolean
|
||||
userId?: boolean
|
||||
apiKey?: boolean
|
||||
aiEnabled?: boolean
|
||||
openAiKey?: boolean
|
||||
openAiEnabled?: boolean
|
||||
claudeAiKey?: boolean
|
||||
claudeAiEnabled?: boolean
|
||||
dentalMgmtKey?: boolean
|
||||
dentalMgmtEnabled?: boolean
|
||||
afterHoursEnabled?: boolean
|
||||
openPhoneReply?: boolean
|
||||
}
|
||||
|
||||
export type AiSettingsOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "userId" | "apiKey" | "afterHoursEnabled" | "openPhoneReply", ExtArgs["result"]["aiSettings"]>
|
||||
export type AiSettingsOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "userId" | "apiKey" | "aiEnabled" | "openAiKey" | "openAiEnabled" | "claudeAiKey" | "claudeAiEnabled" | "dentalMgmtKey" | "dentalMgmtEnabled" | "afterHoursEnabled" | "openPhoneReply", ExtArgs["result"]["aiSettings"]>
|
||||
export type AiSettingsInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
||||
user?: boolean | UserDefaultArgs<ExtArgs>
|
||||
}
|
||||
@@ -36606,6 +36683,13 @@ export namespace Prisma {
|
||||
id: number
|
||||
userId: number
|
||||
apiKey: string
|
||||
aiEnabled: boolean
|
||||
openAiKey: string
|
||||
openAiEnabled: boolean
|
||||
claudeAiKey: string
|
||||
claudeAiEnabled: boolean
|
||||
dentalMgmtKey: string
|
||||
dentalMgmtEnabled: boolean
|
||||
afterHoursEnabled: boolean
|
||||
openPhoneReply: boolean
|
||||
}, ExtArgs["result"]["aiSettings"]>
|
||||
@@ -37035,6 +37119,13 @@ export namespace Prisma {
|
||||
readonly id: FieldRef<"AiSettings", 'Int'>
|
||||
readonly userId: FieldRef<"AiSettings", 'Int'>
|
||||
readonly apiKey: FieldRef<"AiSettings", 'String'>
|
||||
readonly aiEnabled: FieldRef<"AiSettings", 'Boolean'>
|
||||
readonly openAiKey: FieldRef<"AiSettings", 'String'>
|
||||
readonly openAiEnabled: FieldRef<"AiSettings", 'Boolean'>
|
||||
readonly claudeAiKey: FieldRef<"AiSettings", 'String'>
|
||||
readonly claudeAiEnabled: FieldRef<"AiSettings", 'Boolean'>
|
||||
readonly dentalMgmtKey: FieldRef<"AiSettings", 'String'>
|
||||
readonly dentalMgmtEnabled: FieldRef<"AiSettings", 'Boolean'>
|
||||
readonly afterHoursEnabled: FieldRef<"AiSettings", 'Boolean'>
|
||||
readonly openPhoneReply: FieldRef<"AiSettings", 'Boolean'>
|
||||
}
|
||||
@@ -45640,6 +45731,13 @@ export namespace Prisma {
|
||||
id: 'id',
|
||||
userId: 'userId',
|
||||
apiKey: 'apiKey',
|
||||
aiEnabled: 'aiEnabled',
|
||||
openAiKey: 'openAiKey',
|
||||
openAiEnabled: 'openAiEnabled',
|
||||
claudeAiKey: 'claudeAiKey',
|
||||
claudeAiEnabled: 'claudeAiEnabled',
|
||||
dentalMgmtKey: 'dentalMgmtKey',
|
||||
dentalMgmtEnabled: 'dentalMgmtEnabled',
|
||||
afterHoursEnabled: 'afterHoursEnabled',
|
||||
openPhoneReply: 'openPhoneReply'
|
||||
};
|
||||
@@ -48268,6 +48366,13 @@ export namespace Prisma {
|
||||
id?: IntFilter<"AiSettings"> | number
|
||||
userId?: IntFilter<"AiSettings"> | number
|
||||
apiKey?: StringFilter<"AiSettings"> | string
|
||||
aiEnabled?: BoolFilter<"AiSettings"> | boolean
|
||||
openAiKey?: StringFilter<"AiSettings"> | string
|
||||
openAiEnabled?: BoolFilter<"AiSettings"> | boolean
|
||||
claudeAiKey?: StringFilter<"AiSettings"> | string
|
||||
claudeAiEnabled?: BoolFilter<"AiSettings"> | boolean
|
||||
dentalMgmtKey?: StringFilter<"AiSettings"> | string
|
||||
dentalMgmtEnabled?: BoolFilter<"AiSettings"> | boolean
|
||||
afterHoursEnabled?: BoolFilter<"AiSettings"> | boolean
|
||||
openPhoneReply?: BoolFilter<"AiSettings"> | boolean
|
||||
user?: XOR<UserScalarRelationFilter, UserWhereInput>
|
||||
@@ -48277,6 +48382,13 @@ export namespace Prisma {
|
||||
id?: SortOrder
|
||||
userId?: SortOrder
|
||||
apiKey?: SortOrder
|
||||
aiEnabled?: SortOrder
|
||||
openAiKey?: SortOrder
|
||||
openAiEnabled?: SortOrder
|
||||
claudeAiKey?: SortOrder
|
||||
claudeAiEnabled?: SortOrder
|
||||
dentalMgmtKey?: SortOrder
|
||||
dentalMgmtEnabled?: SortOrder
|
||||
afterHoursEnabled?: SortOrder
|
||||
openPhoneReply?: SortOrder
|
||||
user?: UserOrderByWithRelationInput
|
||||
@@ -48289,6 +48401,13 @@ export namespace Prisma {
|
||||
OR?: AiSettingsWhereInput[]
|
||||
NOT?: AiSettingsWhereInput | AiSettingsWhereInput[]
|
||||
apiKey?: StringFilter<"AiSettings"> | string
|
||||
aiEnabled?: BoolFilter<"AiSettings"> | boolean
|
||||
openAiKey?: StringFilter<"AiSettings"> | string
|
||||
openAiEnabled?: BoolFilter<"AiSettings"> | boolean
|
||||
claudeAiKey?: StringFilter<"AiSettings"> | string
|
||||
claudeAiEnabled?: BoolFilter<"AiSettings"> | boolean
|
||||
dentalMgmtKey?: StringFilter<"AiSettings"> | string
|
||||
dentalMgmtEnabled?: BoolFilter<"AiSettings"> | boolean
|
||||
afterHoursEnabled?: BoolFilter<"AiSettings"> | boolean
|
||||
openPhoneReply?: BoolFilter<"AiSettings"> | boolean
|
||||
user?: XOR<UserScalarRelationFilter, UserWhereInput>
|
||||
@@ -48298,6 +48417,13 @@ export namespace Prisma {
|
||||
id?: SortOrder
|
||||
userId?: SortOrder
|
||||
apiKey?: SortOrder
|
||||
aiEnabled?: SortOrder
|
||||
openAiKey?: SortOrder
|
||||
openAiEnabled?: SortOrder
|
||||
claudeAiKey?: SortOrder
|
||||
claudeAiEnabled?: SortOrder
|
||||
dentalMgmtKey?: SortOrder
|
||||
dentalMgmtEnabled?: SortOrder
|
||||
afterHoursEnabled?: SortOrder
|
||||
openPhoneReply?: SortOrder
|
||||
_count?: AiSettingsCountOrderByAggregateInput
|
||||
@@ -48314,6 +48440,13 @@ export namespace Prisma {
|
||||
id?: IntWithAggregatesFilter<"AiSettings"> | number
|
||||
userId?: IntWithAggregatesFilter<"AiSettings"> | number
|
||||
apiKey?: StringWithAggregatesFilter<"AiSettings"> | string
|
||||
aiEnabled?: BoolWithAggregatesFilter<"AiSettings"> | boolean
|
||||
openAiKey?: StringWithAggregatesFilter<"AiSettings"> | string
|
||||
openAiEnabled?: BoolWithAggregatesFilter<"AiSettings"> | boolean
|
||||
claudeAiKey?: StringWithAggregatesFilter<"AiSettings"> | string
|
||||
claudeAiEnabled?: BoolWithAggregatesFilter<"AiSettings"> | boolean
|
||||
dentalMgmtKey?: StringWithAggregatesFilter<"AiSettings"> | string
|
||||
dentalMgmtEnabled?: BoolWithAggregatesFilter<"AiSettings"> | boolean
|
||||
afterHoursEnabled?: BoolWithAggregatesFilter<"AiSettings"> | boolean
|
||||
openPhoneReply?: BoolWithAggregatesFilter<"AiSettings"> | boolean
|
||||
}
|
||||
@@ -51004,6 +51137,13 @@ export namespace Prisma {
|
||||
|
||||
export type AiSettingsCreateInput = {
|
||||
apiKey: string
|
||||
aiEnabled?: boolean
|
||||
openAiKey?: string
|
||||
openAiEnabled?: boolean
|
||||
claudeAiKey?: string
|
||||
claudeAiEnabled?: boolean
|
||||
dentalMgmtKey?: string
|
||||
dentalMgmtEnabled?: boolean
|
||||
afterHoursEnabled?: boolean
|
||||
openPhoneReply?: boolean
|
||||
user: UserCreateNestedOneWithoutAiSettingsInput
|
||||
@@ -51013,12 +51153,26 @@ export namespace Prisma {
|
||||
id?: number
|
||||
userId: number
|
||||
apiKey: string
|
||||
aiEnabled?: boolean
|
||||
openAiKey?: string
|
||||
openAiEnabled?: boolean
|
||||
claudeAiKey?: string
|
||||
claudeAiEnabled?: boolean
|
||||
dentalMgmtKey?: string
|
||||
dentalMgmtEnabled?: boolean
|
||||
afterHoursEnabled?: boolean
|
||||
openPhoneReply?: boolean
|
||||
}
|
||||
|
||||
export type AiSettingsUpdateInput = {
|
||||
apiKey?: StringFieldUpdateOperationsInput | string
|
||||
aiEnabled?: BoolFieldUpdateOperationsInput | boolean
|
||||
openAiKey?: StringFieldUpdateOperationsInput | string
|
||||
openAiEnabled?: BoolFieldUpdateOperationsInput | boolean
|
||||
claudeAiKey?: StringFieldUpdateOperationsInput | string
|
||||
claudeAiEnabled?: BoolFieldUpdateOperationsInput | boolean
|
||||
dentalMgmtKey?: StringFieldUpdateOperationsInput | string
|
||||
dentalMgmtEnabled?: BoolFieldUpdateOperationsInput | boolean
|
||||
afterHoursEnabled?: BoolFieldUpdateOperationsInput | boolean
|
||||
openPhoneReply?: BoolFieldUpdateOperationsInput | boolean
|
||||
user?: UserUpdateOneRequiredWithoutAiSettingsNestedInput
|
||||
@@ -51028,6 +51182,13 @@ export namespace Prisma {
|
||||
id?: IntFieldUpdateOperationsInput | number
|
||||
userId?: IntFieldUpdateOperationsInput | number
|
||||
apiKey?: StringFieldUpdateOperationsInput | string
|
||||
aiEnabled?: BoolFieldUpdateOperationsInput | boolean
|
||||
openAiKey?: StringFieldUpdateOperationsInput | string
|
||||
openAiEnabled?: BoolFieldUpdateOperationsInput | boolean
|
||||
claudeAiKey?: StringFieldUpdateOperationsInput | string
|
||||
claudeAiEnabled?: BoolFieldUpdateOperationsInput | boolean
|
||||
dentalMgmtKey?: StringFieldUpdateOperationsInput | string
|
||||
dentalMgmtEnabled?: BoolFieldUpdateOperationsInput | boolean
|
||||
afterHoursEnabled?: BoolFieldUpdateOperationsInput | boolean
|
||||
openPhoneReply?: BoolFieldUpdateOperationsInput | boolean
|
||||
}
|
||||
@@ -51036,12 +51197,26 @@ export namespace Prisma {
|
||||
id?: number
|
||||
userId: number
|
||||
apiKey: string
|
||||
aiEnabled?: boolean
|
||||
openAiKey?: string
|
||||
openAiEnabled?: boolean
|
||||
claudeAiKey?: string
|
||||
claudeAiEnabled?: boolean
|
||||
dentalMgmtKey?: string
|
||||
dentalMgmtEnabled?: boolean
|
||||
afterHoursEnabled?: boolean
|
||||
openPhoneReply?: boolean
|
||||
}
|
||||
|
||||
export type AiSettingsUpdateManyMutationInput = {
|
||||
apiKey?: StringFieldUpdateOperationsInput | string
|
||||
aiEnabled?: BoolFieldUpdateOperationsInput | boolean
|
||||
openAiKey?: StringFieldUpdateOperationsInput | string
|
||||
openAiEnabled?: BoolFieldUpdateOperationsInput | boolean
|
||||
claudeAiKey?: StringFieldUpdateOperationsInput | string
|
||||
claudeAiEnabled?: BoolFieldUpdateOperationsInput | boolean
|
||||
dentalMgmtKey?: StringFieldUpdateOperationsInput | string
|
||||
dentalMgmtEnabled?: BoolFieldUpdateOperationsInput | boolean
|
||||
afterHoursEnabled?: BoolFieldUpdateOperationsInput | boolean
|
||||
openPhoneReply?: BoolFieldUpdateOperationsInput | boolean
|
||||
}
|
||||
@@ -51050,6 +51225,13 @@ export namespace Prisma {
|
||||
id?: IntFieldUpdateOperationsInput | number
|
||||
userId?: IntFieldUpdateOperationsInput | number
|
||||
apiKey?: StringFieldUpdateOperationsInput | string
|
||||
aiEnabled?: BoolFieldUpdateOperationsInput | boolean
|
||||
openAiKey?: StringFieldUpdateOperationsInput | string
|
||||
openAiEnabled?: BoolFieldUpdateOperationsInput | boolean
|
||||
claudeAiKey?: StringFieldUpdateOperationsInput | string
|
||||
claudeAiEnabled?: BoolFieldUpdateOperationsInput | boolean
|
||||
dentalMgmtKey?: StringFieldUpdateOperationsInput | string
|
||||
dentalMgmtEnabled?: BoolFieldUpdateOperationsInput | boolean
|
||||
afterHoursEnabled?: BoolFieldUpdateOperationsInput | boolean
|
||||
openPhoneReply?: BoolFieldUpdateOperationsInput | boolean
|
||||
}
|
||||
@@ -53648,6 +53830,13 @@ export namespace Prisma {
|
||||
id?: SortOrder
|
||||
userId?: SortOrder
|
||||
apiKey?: SortOrder
|
||||
aiEnabled?: SortOrder
|
||||
openAiKey?: SortOrder
|
||||
openAiEnabled?: SortOrder
|
||||
claudeAiKey?: SortOrder
|
||||
claudeAiEnabled?: SortOrder
|
||||
dentalMgmtKey?: SortOrder
|
||||
dentalMgmtEnabled?: SortOrder
|
||||
afterHoursEnabled?: SortOrder
|
||||
openPhoneReply?: SortOrder
|
||||
}
|
||||
@@ -53661,6 +53850,13 @@ export namespace Prisma {
|
||||
id?: SortOrder
|
||||
userId?: SortOrder
|
||||
apiKey?: SortOrder
|
||||
aiEnabled?: SortOrder
|
||||
openAiKey?: SortOrder
|
||||
openAiEnabled?: SortOrder
|
||||
claudeAiKey?: SortOrder
|
||||
claudeAiEnabled?: SortOrder
|
||||
dentalMgmtKey?: SortOrder
|
||||
dentalMgmtEnabled?: SortOrder
|
||||
afterHoursEnabled?: SortOrder
|
||||
openPhoneReply?: SortOrder
|
||||
}
|
||||
@@ -53669,6 +53865,13 @@ export namespace Prisma {
|
||||
id?: SortOrder
|
||||
userId?: SortOrder
|
||||
apiKey?: SortOrder
|
||||
aiEnabled?: SortOrder
|
||||
openAiKey?: SortOrder
|
||||
openAiEnabled?: SortOrder
|
||||
claudeAiKey?: SortOrder
|
||||
claudeAiEnabled?: SortOrder
|
||||
dentalMgmtKey?: SortOrder
|
||||
dentalMgmtEnabled?: SortOrder
|
||||
afterHoursEnabled?: SortOrder
|
||||
openPhoneReply?: SortOrder
|
||||
}
|
||||
@@ -57953,6 +58156,13 @@ export namespace Prisma {
|
||||
|
||||
export type AiSettingsCreateWithoutUserInput = {
|
||||
apiKey: string
|
||||
aiEnabled?: boolean
|
||||
openAiKey?: string
|
||||
openAiEnabled?: boolean
|
||||
claudeAiKey?: string
|
||||
claudeAiEnabled?: boolean
|
||||
dentalMgmtKey?: string
|
||||
dentalMgmtEnabled?: boolean
|
||||
afterHoursEnabled?: boolean
|
||||
openPhoneReply?: boolean
|
||||
}
|
||||
@@ -57960,6 +58170,13 @@ export namespace Prisma {
|
||||
export type AiSettingsUncheckedCreateWithoutUserInput = {
|
||||
id?: number
|
||||
apiKey: string
|
||||
aiEnabled?: boolean
|
||||
openAiKey?: string
|
||||
openAiEnabled?: boolean
|
||||
claudeAiKey?: string
|
||||
claudeAiEnabled?: boolean
|
||||
dentalMgmtKey?: string
|
||||
dentalMgmtEnabled?: boolean
|
||||
afterHoursEnabled?: boolean
|
||||
openPhoneReply?: boolean
|
||||
}
|
||||
@@ -58564,6 +58781,13 @@ export namespace Prisma {
|
||||
|
||||
export type AiSettingsUpdateWithoutUserInput = {
|
||||
apiKey?: StringFieldUpdateOperationsInput | string
|
||||
aiEnabled?: BoolFieldUpdateOperationsInput | boolean
|
||||
openAiKey?: StringFieldUpdateOperationsInput | string
|
||||
openAiEnabled?: BoolFieldUpdateOperationsInput | boolean
|
||||
claudeAiKey?: StringFieldUpdateOperationsInput | string
|
||||
claudeAiEnabled?: BoolFieldUpdateOperationsInput | boolean
|
||||
dentalMgmtKey?: StringFieldUpdateOperationsInput | string
|
||||
dentalMgmtEnabled?: BoolFieldUpdateOperationsInput | boolean
|
||||
afterHoursEnabled?: BoolFieldUpdateOperationsInput | boolean
|
||||
openPhoneReply?: BoolFieldUpdateOperationsInput | boolean
|
||||
}
|
||||
@@ -58571,6 +58795,13 @@ export namespace Prisma {
|
||||
export type AiSettingsUncheckedUpdateWithoutUserInput = {
|
||||
id?: IntFieldUpdateOperationsInput | number
|
||||
apiKey?: StringFieldUpdateOperationsInput | string
|
||||
aiEnabled?: BoolFieldUpdateOperationsInput | boolean
|
||||
openAiKey?: StringFieldUpdateOperationsInput | string
|
||||
openAiEnabled?: BoolFieldUpdateOperationsInput | boolean
|
||||
claudeAiKey?: StringFieldUpdateOperationsInput | string
|
||||
claudeAiEnabled?: BoolFieldUpdateOperationsInput | boolean
|
||||
dentalMgmtKey?: StringFieldUpdateOperationsInput | string
|
||||
dentalMgmtEnabled?: BoolFieldUpdateOperationsInput | boolean
|
||||
afterHoursEnabled?: BoolFieldUpdateOperationsInput | boolean
|
||||
openPhoneReply?: BoolFieldUpdateOperationsInput | boolean
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "prisma-client-ae04602e14efae70f6055fb4d588cf6860f72b63564d0ac2c7419c6c8e032b2d",
|
||||
"name": "prisma-client-dffa61cfa33500c5a3d8eb3911d8102dda0abe78c0c02287d94a83d7e3de2af7",
|
||||
"main": "index.js",
|
||||
"types": "index.d.ts",
|
||||
"browser": "default.js",
|
||||
|
||||
@@ -600,6 +600,13 @@ model AiSettings {
|
||||
id Int @id @default(autoincrement())
|
||||
userId Int @unique
|
||||
apiKey String
|
||||
aiEnabled Boolean @default(true)
|
||||
openAiKey String @default("")
|
||||
openAiEnabled Boolean @default(true)
|
||||
claudeAiKey String @default("")
|
||||
claudeAiEnabled Boolean @default(true)
|
||||
dentalMgmtKey String @default("")
|
||||
dentalMgmtEnabled Boolean @default(true)
|
||||
afterHoursEnabled Boolean @default(true)
|
||||
openPhoneReply Boolean @default(false)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user