mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-27 19:34:38 +00:00
feat(quota): add 2-level database-backed resource quota system (#318)
* feat(quota): add database-backed resource quota system * feat(webui): add resource quota management in team settings (#319) * feat(webui): add resource quota settings in team management * refactor(webui): update quotas list to full row layout and restrict skill/mcp to select list * feat(quota): refactor quota system to 2-level rules and records * fix(webui): fix overflow and scroll area in quota usage records dialog * fix(webui): ensure quota records scroll area has explicit max height * feat(webui): improve quota cards interaction and restrict editable fields in edit mode * fix(quota): serialize initial records, validate merged updates, and reset on dimension changes (#320) * feat(quota): replace network quota with agent tools quota (#321) * feat(webui): show remaining time until next refresh in quota usage records * fix(webui): rename bash quota resource to Agent Bash Calls * refactor(quota): remove unused reserved field from quota records * refactor(quota): remove quota rule cache (#322)
This commit is contained in:
+1844
File diff suppressed because it is too large
Load Diff
+1811
File diff suppressed because it is too large
Load Diff
+460
@@ -203,6 +203,8 @@ export type TeamWhereInput = {
|
||||
aiUsages?: Prisma.AiUsageListRelationFilter
|
||||
auditLogs?: Prisma.AuditLogListRelationFilter
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateListRelationFilter
|
||||
quotaRules?: Prisma.QuotaRuleListRelationFilter
|
||||
quotaRecords?: Prisma.QuotaRecordListRelationFilter
|
||||
}
|
||||
|
||||
export type TeamOrderByWithRelationInput = {
|
||||
@@ -227,6 +229,8 @@ export type TeamOrderByWithRelationInput = {
|
||||
aiUsages?: Prisma.AiUsageOrderByRelationAggregateInput
|
||||
auditLogs?: Prisma.AuditLogOrderByRelationAggregateInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateOrderByRelationAggregateInput
|
||||
quotaRules?: Prisma.QuotaRuleOrderByRelationAggregateInput
|
||||
quotaRecords?: Prisma.QuotaRecordOrderByRelationAggregateInput
|
||||
}
|
||||
|
||||
export type TeamWhereUniqueInput = Prisma.AtLeast<{
|
||||
@@ -254,6 +258,8 @@ export type TeamWhereUniqueInput = Prisma.AtLeast<{
|
||||
aiUsages?: Prisma.AiUsageListRelationFilter
|
||||
auditLogs?: Prisma.AuditLogListRelationFilter
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateListRelationFilter
|
||||
quotaRules?: Prisma.QuotaRuleListRelationFilter
|
||||
quotaRecords?: Prisma.QuotaRecordListRelationFilter
|
||||
}, "id" | "rootFolderId">
|
||||
|
||||
export type TeamOrderByWithAggregationInput = {
|
||||
@@ -301,6 +307,8 @@ export type TeamCreateInput = {
|
||||
aiUsages?: Prisma.AiUsageCreateNestedManyWithoutTeamInput
|
||||
auditLogs?: Prisma.AuditLogCreateNestedManyWithoutTeamInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateCreateNestedManyWithoutTeamInput
|
||||
quotaRules?: Prisma.QuotaRuleCreateNestedManyWithoutTeamInput
|
||||
quotaRecords?: Prisma.QuotaRecordCreateNestedManyWithoutTeamInput
|
||||
}
|
||||
|
||||
export type TeamUncheckedCreateInput = {
|
||||
@@ -324,6 +332,8 @@ export type TeamUncheckedCreateInput = {
|
||||
aiUsages?: Prisma.AiUsageUncheckedCreateNestedManyWithoutTeamInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedCreateNestedManyWithoutTeamInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateUncheckedCreateNestedManyWithoutTeamInput
|
||||
quotaRules?: Prisma.QuotaRuleUncheckedCreateNestedManyWithoutTeamInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedCreateNestedManyWithoutTeamInput
|
||||
}
|
||||
|
||||
export type TeamUpdateInput = {
|
||||
@@ -347,6 +357,8 @@ export type TeamUpdateInput = {
|
||||
aiUsages?: Prisma.AiUsageUpdateManyWithoutTeamNestedInput
|
||||
auditLogs?: Prisma.AuditLogUpdateManyWithoutTeamNestedInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateUpdateManyWithoutTeamNestedInput
|
||||
quotaRules?: Prisma.QuotaRuleUpdateManyWithoutTeamNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUpdateManyWithoutTeamNestedInput
|
||||
}
|
||||
|
||||
export type TeamUncheckedUpdateInput = {
|
||||
@@ -370,6 +382,8 @@ export type TeamUncheckedUpdateInput = {
|
||||
aiUsages?: Prisma.AiUsageUncheckedUpdateManyWithoutTeamNestedInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedUpdateManyWithoutTeamNestedInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateUncheckedUpdateManyWithoutTeamNestedInput
|
||||
quotaRules?: Prisma.QuotaRuleUncheckedUpdateManyWithoutTeamNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedUpdateManyWithoutTeamNestedInput
|
||||
}
|
||||
|
||||
export type TeamCreateManyInput = {
|
||||
@@ -665,6 +679,34 @@ export type TeamUpdateOneRequiredWithoutAuditLogsNestedInput = {
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.TeamUpdateToOneWithWhereWithoutAuditLogsInput, Prisma.TeamUpdateWithoutAuditLogsInput>, Prisma.TeamUncheckedUpdateWithoutAuditLogsInput>
|
||||
}
|
||||
|
||||
export type TeamCreateNestedOneWithoutQuotaRulesInput = {
|
||||
create?: Prisma.XOR<Prisma.TeamCreateWithoutQuotaRulesInput, Prisma.TeamUncheckedCreateWithoutQuotaRulesInput>
|
||||
connectOrCreate?: Prisma.TeamCreateOrConnectWithoutQuotaRulesInput
|
||||
connect?: Prisma.TeamWhereUniqueInput
|
||||
}
|
||||
|
||||
export type TeamUpdateOneRequiredWithoutQuotaRulesNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.TeamCreateWithoutQuotaRulesInput, Prisma.TeamUncheckedCreateWithoutQuotaRulesInput>
|
||||
connectOrCreate?: Prisma.TeamCreateOrConnectWithoutQuotaRulesInput
|
||||
upsert?: Prisma.TeamUpsertWithoutQuotaRulesInput
|
||||
connect?: Prisma.TeamWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.TeamUpdateToOneWithWhereWithoutQuotaRulesInput, Prisma.TeamUpdateWithoutQuotaRulesInput>, Prisma.TeamUncheckedUpdateWithoutQuotaRulesInput>
|
||||
}
|
||||
|
||||
export type TeamCreateNestedOneWithoutQuotaRecordsInput = {
|
||||
create?: Prisma.XOR<Prisma.TeamCreateWithoutQuotaRecordsInput, Prisma.TeamUncheckedCreateWithoutQuotaRecordsInput>
|
||||
connectOrCreate?: Prisma.TeamCreateOrConnectWithoutQuotaRecordsInput
|
||||
connect?: Prisma.TeamWhereUniqueInput
|
||||
}
|
||||
|
||||
export type TeamUpdateOneRequiredWithoutQuotaRecordsNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.TeamCreateWithoutQuotaRecordsInput, Prisma.TeamUncheckedCreateWithoutQuotaRecordsInput>
|
||||
connectOrCreate?: Prisma.TeamCreateOrConnectWithoutQuotaRecordsInput
|
||||
upsert?: Prisma.TeamUpsertWithoutQuotaRecordsInput
|
||||
connect?: Prisma.TeamWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.TeamUpdateToOneWithWhereWithoutQuotaRecordsInput, Prisma.TeamUpdateWithoutQuotaRecordsInput>, Prisma.TeamUncheckedUpdateWithoutQuotaRecordsInput>
|
||||
}
|
||||
|
||||
export type TeamCreateWithoutSandboxInput = {
|
||||
id?: string
|
||||
name: string
|
||||
@@ -685,6 +727,8 @@ export type TeamCreateWithoutSandboxInput = {
|
||||
aiUsages?: Prisma.AiUsageCreateNestedManyWithoutTeamInput
|
||||
auditLogs?: Prisma.AuditLogCreateNestedManyWithoutTeamInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateCreateNestedManyWithoutTeamInput
|
||||
quotaRules?: Prisma.QuotaRuleCreateNestedManyWithoutTeamInput
|
||||
quotaRecords?: Prisma.QuotaRecordCreateNestedManyWithoutTeamInput
|
||||
}
|
||||
|
||||
export type TeamUncheckedCreateWithoutSandboxInput = {
|
||||
@@ -707,6 +751,8 @@ export type TeamUncheckedCreateWithoutSandboxInput = {
|
||||
aiUsages?: Prisma.AiUsageUncheckedCreateNestedManyWithoutTeamInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedCreateNestedManyWithoutTeamInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateUncheckedCreateNestedManyWithoutTeamInput
|
||||
quotaRules?: Prisma.QuotaRuleUncheckedCreateNestedManyWithoutTeamInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedCreateNestedManyWithoutTeamInput
|
||||
}
|
||||
|
||||
export type TeamCreateOrConnectWithoutSandboxInput = {
|
||||
@@ -745,6 +791,8 @@ export type TeamUpdateWithoutSandboxInput = {
|
||||
aiUsages?: Prisma.AiUsageUpdateManyWithoutTeamNestedInput
|
||||
auditLogs?: Prisma.AuditLogUpdateManyWithoutTeamNestedInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateUpdateManyWithoutTeamNestedInput
|
||||
quotaRules?: Prisma.QuotaRuleUpdateManyWithoutTeamNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUpdateManyWithoutTeamNestedInput
|
||||
}
|
||||
|
||||
export type TeamUncheckedUpdateWithoutSandboxInput = {
|
||||
@@ -767,6 +815,8 @@ export type TeamUncheckedUpdateWithoutSandboxInput = {
|
||||
aiUsages?: Prisma.AiUsageUncheckedUpdateManyWithoutTeamNestedInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedUpdateManyWithoutTeamNestedInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateUncheckedUpdateManyWithoutTeamNestedInput
|
||||
quotaRules?: Prisma.QuotaRuleUncheckedUpdateManyWithoutTeamNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedUpdateManyWithoutTeamNestedInput
|
||||
}
|
||||
|
||||
export type TeamCreateWithoutSkillsInput = {
|
||||
@@ -789,6 +839,8 @@ export type TeamCreateWithoutSkillsInput = {
|
||||
aiUsages?: Prisma.AiUsageCreateNestedManyWithoutTeamInput
|
||||
auditLogs?: Prisma.AuditLogCreateNestedManyWithoutTeamInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateCreateNestedManyWithoutTeamInput
|
||||
quotaRules?: Prisma.QuotaRuleCreateNestedManyWithoutTeamInput
|
||||
quotaRecords?: Prisma.QuotaRecordCreateNestedManyWithoutTeamInput
|
||||
}
|
||||
|
||||
export type TeamUncheckedCreateWithoutSkillsInput = {
|
||||
@@ -811,6 +863,8 @@ export type TeamUncheckedCreateWithoutSkillsInput = {
|
||||
aiUsages?: Prisma.AiUsageUncheckedCreateNestedManyWithoutTeamInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedCreateNestedManyWithoutTeamInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateUncheckedCreateNestedManyWithoutTeamInput
|
||||
quotaRules?: Prisma.QuotaRuleUncheckedCreateNestedManyWithoutTeamInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedCreateNestedManyWithoutTeamInput
|
||||
}
|
||||
|
||||
export type TeamCreateOrConnectWithoutSkillsInput = {
|
||||
@@ -849,6 +903,8 @@ export type TeamUpdateWithoutSkillsInput = {
|
||||
aiUsages?: Prisma.AiUsageUpdateManyWithoutTeamNestedInput
|
||||
auditLogs?: Prisma.AuditLogUpdateManyWithoutTeamNestedInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateUpdateManyWithoutTeamNestedInput
|
||||
quotaRules?: Prisma.QuotaRuleUpdateManyWithoutTeamNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUpdateManyWithoutTeamNestedInput
|
||||
}
|
||||
|
||||
export type TeamUncheckedUpdateWithoutSkillsInput = {
|
||||
@@ -871,6 +927,8 @@ export type TeamUncheckedUpdateWithoutSkillsInput = {
|
||||
aiUsages?: Prisma.AiUsageUncheckedUpdateManyWithoutTeamNestedInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedUpdateManyWithoutTeamNestedInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateUncheckedUpdateManyWithoutTeamNestedInput
|
||||
quotaRules?: Prisma.QuotaRuleUncheckedUpdateManyWithoutTeamNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedUpdateManyWithoutTeamNestedInput
|
||||
}
|
||||
|
||||
export type TeamCreateWithoutMembersInput = {
|
||||
@@ -893,6 +951,8 @@ export type TeamCreateWithoutMembersInput = {
|
||||
aiUsages?: Prisma.AiUsageCreateNestedManyWithoutTeamInput
|
||||
auditLogs?: Prisma.AuditLogCreateNestedManyWithoutTeamInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateCreateNestedManyWithoutTeamInput
|
||||
quotaRules?: Prisma.QuotaRuleCreateNestedManyWithoutTeamInput
|
||||
quotaRecords?: Prisma.QuotaRecordCreateNestedManyWithoutTeamInput
|
||||
}
|
||||
|
||||
export type TeamUncheckedCreateWithoutMembersInput = {
|
||||
@@ -915,6 +975,8 @@ export type TeamUncheckedCreateWithoutMembersInput = {
|
||||
aiUsages?: Prisma.AiUsageUncheckedCreateNestedManyWithoutTeamInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedCreateNestedManyWithoutTeamInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateUncheckedCreateNestedManyWithoutTeamInput
|
||||
quotaRules?: Prisma.QuotaRuleUncheckedCreateNestedManyWithoutTeamInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedCreateNestedManyWithoutTeamInput
|
||||
}
|
||||
|
||||
export type TeamCreateOrConnectWithoutMembersInput = {
|
||||
@@ -953,6 +1015,8 @@ export type TeamUpdateWithoutMembersInput = {
|
||||
aiUsages?: Prisma.AiUsageUpdateManyWithoutTeamNestedInput
|
||||
auditLogs?: Prisma.AuditLogUpdateManyWithoutTeamNestedInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateUpdateManyWithoutTeamNestedInput
|
||||
quotaRules?: Prisma.QuotaRuleUpdateManyWithoutTeamNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUpdateManyWithoutTeamNestedInput
|
||||
}
|
||||
|
||||
export type TeamUncheckedUpdateWithoutMembersInput = {
|
||||
@@ -975,6 +1039,8 @@ export type TeamUncheckedUpdateWithoutMembersInput = {
|
||||
aiUsages?: Prisma.AiUsageUncheckedUpdateManyWithoutTeamNestedInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedUpdateManyWithoutTeamNestedInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateUncheckedUpdateManyWithoutTeamNestedInput
|
||||
quotaRules?: Prisma.QuotaRuleUncheckedUpdateManyWithoutTeamNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedUpdateManyWithoutTeamNestedInput
|
||||
}
|
||||
|
||||
export type TeamCreateWithoutProjectsInput = {
|
||||
@@ -997,6 +1063,8 @@ export type TeamCreateWithoutProjectsInput = {
|
||||
aiUsages?: Prisma.AiUsageCreateNestedManyWithoutTeamInput
|
||||
auditLogs?: Prisma.AuditLogCreateNestedManyWithoutTeamInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateCreateNestedManyWithoutTeamInput
|
||||
quotaRules?: Prisma.QuotaRuleCreateNestedManyWithoutTeamInput
|
||||
quotaRecords?: Prisma.QuotaRecordCreateNestedManyWithoutTeamInput
|
||||
}
|
||||
|
||||
export type TeamUncheckedCreateWithoutProjectsInput = {
|
||||
@@ -1019,6 +1087,8 @@ export type TeamUncheckedCreateWithoutProjectsInput = {
|
||||
aiUsages?: Prisma.AiUsageUncheckedCreateNestedManyWithoutTeamInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedCreateNestedManyWithoutTeamInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateUncheckedCreateNestedManyWithoutTeamInput
|
||||
quotaRules?: Prisma.QuotaRuleUncheckedCreateNestedManyWithoutTeamInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedCreateNestedManyWithoutTeamInput
|
||||
}
|
||||
|
||||
export type TeamCreateOrConnectWithoutProjectsInput = {
|
||||
@@ -1057,6 +1127,8 @@ export type TeamUpdateWithoutProjectsInput = {
|
||||
aiUsages?: Prisma.AiUsageUpdateManyWithoutTeamNestedInput
|
||||
auditLogs?: Prisma.AuditLogUpdateManyWithoutTeamNestedInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateUpdateManyWithoutTeamNestedInput
|
||||
quotaRules?: Prisma.QuotaRuleUpdateManyWithoutTeamNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUpdateManyWithoutTeamNestedInput
|
||||
}
|
||||
|
||||
export type TeamUncheckedUpdateWithoutProjectsInput = {
|
||||
@@ -1079,6 +1151,8 @@ export type TeamUncheckedUpdateWithoutProjectsInput = {
|
||||
aiUsages?: Prisma.AiUsageUncheckedUpdateManyWithoutTeamNestedInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedUpdateManyWithoutTeamNestedInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateUncheckedUpdateManyWithoutTeamNestedInput
|
||||
quotaRules?: Prisma.QuotaRuleUncheckedUpdateManyWithoutTeamNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedUpdateManyWithoutTeamNestedInput
|
||||
}
|
||||
|
||||
export type TeamCreateWithoutWatermarkTemplatesInput = {
|
||||
@@ -1101,6 +1175,8 @@ export type TeamCreateWithoutWatermarkTemplatesInput = {
|
||||
agents?: Prisma.AgentCreateNestedManyWithoutTeamInput
|
||||
aiUsages?: Prisma.AiUsageCreateNestedManyWithoutTeamInput
|
||||
auditLogs?: Prisma.AuditLogCreateNestedManyWithoutTeamInput
|
||||
quotaRules?: Prisma.QuotaRuleCreateNestedManyWithoutTeamInput
|
||||
quotaRecords?: Prisma.QuotaRecordCreateNestedManyWithoutTeamInput
|
||||
}
|
||||
|
||||
export type TeamUncheckedCreateWithoutWatermarkTemplatesInput = {
|
||||
@@ -1123,6 +1199,8 @@ export type TeamUncheckedCreateWithoutWatermarkTemplatesInput = {
|
||||
agents?: Prisma.AgentUncheckedCreateNestedManyWithoutTeamInput
|
||||
aiUsages?: Prisma.AiUsageUncheckedCreateNestedManyWithoutTeamInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedCreateNestedManyWithoutTeamInput
|
||||
quotaRules?: Prisma.QuotaRuleUncheckedCreateNestedManyWithoutTeamInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedCreateNestedManyWithoutTeamInput
|
||||
}
|
||||
|
||||
export type TeamCreateOrConnectWithoutWatermarkTemplatesInput = {
|
||||
@@ -1161,6 +1239,8 @@ export type TeamUpdateWithoutWatermarkTemplatesInput = {
|
||||
agents?: Prisma.AgentUpdateManyWithoutTeamNestedInput
|
||||
aiUsages?: Prisma.AiUsageUpdateManyWithoutTeamNestedInput
|
||||
auditLogs?: Prisma.AuditLogUpdateManyWithoutTeamNestedInput
|
||||
quotaRules?: Prisma.QuotaRuleUpdateManyWithoutTeamNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUpdateManyWithoutTeamNestedInput
|
||||
}
|
||||
|
||||
export type TeamUncheckedUpdateWithoutWatermarkTemplatesInput = {
|
||||
@@ -1183,6 +1263,8 @@ export type TeamUncheckedUpdateWithoutWatermarkTemplatesInput = {
|
||||
agents?: Prisma.AgentUncheckedUpdateManyWithoutTeamNestedInput
|
||||
aiUsages?: Prisma.AiUsageUncheckedUpdateManyWithoutTeamNestedInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedUpdateManyWithoutTeamNestedInput
|
||||
quotaRules?: Prisma.QuotaRuleUncheckedUpdateManyWithoutTeamNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedUpdateManyWithoutTeamNestedInput
|
||||
}
|
||||
|
||||
export type TeamCreateWithoutRootFolderInput = {
|
||||
@@ -1205,6 +1287,8 @@ export type TeamCreateWithoutRootFolderInput = {
|
||||
aiUsages?: Prisma.AiUsageCreateNestedManyWithoutTeamInput
|
||||
auditLogs?: Prisma.AuditLogCreateNestedManyWithoutTeamInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateCreateNestedManyWithoutTeamInput
|
||||
quotaRules?: Prisma.QuotaRuleCreateNestedManyWithoutTeamInput
|
||||
quotaRecords?: Prisma.QuotaRecordCreateNestedManyWithoutTeamInput
|
||||
}
|
||||
|
||||
export type TeamUncheckedCreateWithoutRootFolderInput = {
|
||||
@@ -1227,6 +1311,8 @@ export type TeamUncheckedCreateWithoutRootFolderInput = {
|
||||
aiUsages?: Prisma.AiUsageUncheckedCreateNestedManyWithoutTeamInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedCreateNestedManyWithoutTeamInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateUncheckedCreateNestedManyWithoutTeamInput
|
||||
quotaRules?: Prisma.QuotaRuleUncheckedCreateNestedManyWithoutTeamInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedCreateNestedManyWithoutTeamInput
|
||||
}
|
||||
|
||||
export type TeamCreateOrConnectWithoutRootFolderInput = {
|
||||
@@ -1265,6 +1351,8 @@ export type TeamUpdateWithoutRootFolderInput = {
|
||||
aiUsages?: Prisma.AiUsageUpdateManyWithoutTeamNestedInput
|
||||
auditLogs?: Prisma.AuditLogUpdateManyWithoutTeamNestedInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateUpdateManyWithoutTeamNestedInput
|
||||
quotaRules?: Prisma.QuotaRuleUpdateManyWithoutTeamNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUpdateManyWithoutTeamNestedInput
|
||||
}
|
||||
|
||||
export type TeamUncheckedUpdateWithoutRootFolderInput = {
|
||||
@@ -1287,6 +1375,8 @@ export type TeamUncheckedUpdateWithoutRootFolderInput = {
|
||||
aiUsages?: Prisma.AiUsageUncheckedUpdateManyWithoutTeamNestedInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedUpdateManyWithoutTeamNestedInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateUncheckedUpdateManyWithoutTeamNestedInput
|
||||
quotaRules?: Prisma.QuotaRuleUncheckedUpdateManyWithoutTeamNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedUpdateManyWithoutTeamNestedInput
|
||||
}
|
||||
|
||||
export type TeamCreateWithoutInvitesInput = {
|
||||
@@ -1309,6 +1399,8 @@ export type TeamCreateWithoutInvitesInput = {
|
||||
aiUsages?: Prisma.AiUsageCreateNestedManyWithoutTeamInput
|
||||
auditLogs?: Prisma.AuditLogCreateNestedManyWithoutTeamInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateCreateNestedManyWithoutTeamInput
|
||||
quotaRules?: Prisma.QuotaRuleCreateNestedManyWithoutTeamInput
|
||||
quotaRecords?: Prisma.QuotaRecordCreateNestedManyWithoutTeamInput
|
||||
}
|
||||
|
||||
export type TeamUncheckedCreateWithoutInvitesInput = {
|
||||
@@ -1331,6 +1423,8 @@ export type TeamUncheckedCreateWithoutInvitesInput = {
|
||||
aiUsages?: Prisma.AiUsageUncheckedCreateNestedManyWithoutTeamInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedCreateNestedManyWithoutTeamInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateUncheckedCreateNestedManyWithoutTeamInput
|
||||
quotaRules?: Prisma.QuotaRuleUncheckedCreateNestedManyWithoutTeamInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedCreateNestedManyWithoutTeamInput
|
||||
}
|
||||
|
||||
export type TeamCreateOrConnectWithoutInvitesInput = {
|
||||
@@ -1369,6 +1463,8 @@ export type TeamUpdateWithoutInvitesInput = {
|
||||
aiUsages?: Prisma.AiUsageUpdateManyWithoutTeamNestedInput
|
||||
auditLogs?: Prisma.AuditLogUpdateManyWithoutTeamNestedInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateUpdateManyWithoutTeamNestedInput
|
||||
quotaRules?: Prisma.QuotaRuleUpdateManyWithoutTeamNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUpdateManyWithoutTeamNestedInput
|
||||
}
|
||||
|
||||
export type TeamUncheckedUpdateWithoutInvitesInput = {
|
||||
@@ -1391,6 +1487,8 @@ export type TeamUncheckedUpdateWithoutInvitesInput = {
|
||||
aiUsages?: Prisma.AiUsageUncheckedUpdateManyWithoutTeamNestedInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedUpdateManyWithoutTeamNestedInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateUncheckedUpdateManyWithoutTeamNestedInput
|
||||
quotaRules?: Prisma.QuotaRuleUncheckedUpdateManyWithoutTeamNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedUpdateManyWithoutTeamNestedInput
|
||||
}
|
||||
|
||||
export type TeamCreateWithoutMetadataFieldsInput = {
|
||||
@@ -1413,6 +1511,8 @@ export type TeamCreateWithoutMetadataFieldsInput = {
|
||||
aiUsages?: Prisma.AiUsageCreateNestedManyWithoutTeamInput
|
||||
auditLogs?: Prisma.AuditLogCreateNestedManyWithoutTeamInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateCreateNestedManyWithoutTeamInput
|
||||
quotaRules?: Prisma.QuotaRuleCreateNestedManyWithoutTeamInput
|
||||
quotaRecords?: Prisma.QuotaRecordCreateNestedManyWithoutTeamInput
|
||||
}
|
||||
|
||||
export type TeamUncheckedCreateWithoutMetadataFieldsInput = {
|
||||
@@ -1435,6 +1535,8 @@ export type TeamUncheckedCreateWithoutMetadataFieldsInput = {
|
||||
aiUsages?: Prisma.AiUsageUncheckedCreateNestedManyWithoutTeamInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedCreateNestedManyWithoutTeamInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateUncheckedCreateNestedManyWithoutTeamInput
|
||||
quotaRules?: Prisma.QuotaRuleUncheckedCreateNestedManyWithoutTeamInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedCreateNestedManyWithoutTeamInput
|
||||
}
|
||||
|
||||
export type TeamCreateOrConnectWithoutMetadataFieldsInput = {
|
||||
@@ -1473,6 +1575,8 @@ export type TeamUpdateWithoutMetadataFieldsInput = {
|
||||
aiUsages?: Prisma.AiUsageUpdateManyWithoutTeamNestedInput
|
||||
auditLogs?: Prisma.AuditLogUpdateManyWithoutTeamNestedInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateUpdateManyWithoutTeamNestedInput
|
||||
quotaRules?: Prisma.QuotaRuleUpdateManyWithoutTeamNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUpdateManyWithoutTeamNestedInput
|
||||
}
|
||||
|
||||
export type TeamUncheckedUpdateWithoutMetadataFieldsInput = {
|
||||
@@ -1495,6 +1599,8 @@ export type TeamUncheckedUpdateWithoutMetadataFieldsInput = {
|
||||
aiUsages?: Prisma.AiUsageUncheckedUpdateManyWithoutTeamNestedInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedUpdateManyWithoutTeamNestedInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateUncheckedUpdateManyWithoutTeamNestedInput
|
||||
quotaRules?: Prisma.QuotaRuleUncheckedUpdateManyWithoutTeamNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedUpdateManyWithoutTeamNestedInput
|
||||
}
|
||||
|
||||
export type TeamCreateWithoutNotificationsInput = {
|
||||
@@ -1517,6 +1623,8 @@ export type TeamCreateWithoutNotificationsInput = {
|
||||
aiUsages?: Prisma.AiUsageCreateNestedManyWithoutTeamInput
|
||||
auditLogs?: Prisma.AuditLogCreateNestedManyWithoutTeamInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateCreateNestedManyWithoutTeamInput
|
||||
quotaRules?: Prisma.QuotaRuleCreateNestedManyWithoutTeamInput
|
||||
quotaRecords?: Prisma.QuotaRecordCreateNestedManyWithoutTeamInput
|
||||
}
|
||||
|
||||
export type TeamUncheckedCreateWithoutNotificationsInput = {
|
||||
@@ -1539,6 +1647,8 @@ export type TeamUncheckedCreateWithoutNotificationsInput = {
|
||||
aiUsages?: Prisma.AiUsageUncheckedCreateNestedManyWithoutTeamInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedCreateNestedManyWithoutTeamInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateUncheckedCreateNestedManyWithoutTeamInput
|
||||
quotaRules?: Prisma.QuotaRuleUncheckedCreateNestedManyWithoutTeamInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedCreateNestedManyWithoutTeamInput
|
||||
}
|
||||
|
||||
export type TeamCreateOrConnectWithoutNotificationsInput = {
|
||||
@@ -1577,6 +1687,8 @@ export type TeamUpdateWithoutNotificationsInput = {
|
||||
aiUsages?: Prisma.AiUsageUpdateManyWithoutTeamNestedInput
|
||||
auditLogs?: Prisma.AuditLogUpdateManyWithoutTeamNestedInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateUpdateManyWithoutTeamNestedInput
|
||||
quotaRules?: Prisma.QuotaRuleUpdateManyWithoutTeamNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUpdateManyWithoutTeamNestedInput
|
||||
}
|
||||
|
||||
export type TeamUncheckedUpdateWithoutNotificationsInput = {
|
||||
@@ -1599,6 +1711,8 @@ export type TeamUncheckedUpdateWithoutNotificationsInput = {
|
||||
aiUsages?: Prisma.AiUsageUncheckedUpdateManyWithoutTeamNestedInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedUpdateManyWithoutTeamNestedInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateUncheckedUpdateManyWithoutTeamNestedInput
|
||||
quotaRules?: Prisma.QuotaRuleUncheckedUpdateManyWithoutTeamNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedUpdateManyWithoutTeamNestedInput
|
||||
}
|
||||
|
||||
export type TeamCreateWithoutAgentsInput = {
|
||||
@@ -1621,6 +1735,8 @@ export type TeamCreateWithoutAgentsInput = {
|
||||
aiUsages?: Prisma.AiUsageCreateNestedManyWithoutTeamInput
|
||||
auditLogs?: Prisma.AuditLogCreateNestedManyWithoutTeamInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateCreateNestedManyWithoutTeamInput
|
||||
quotaRules?: Prisma.QuotaRuleCreateNestedManyWithoutTeamInput
|
||||
quotaRecords?: Prisma.QuotaRecordCreateNestedManyWithoutTeamInput
|
||||
}
|
||||
|
||||
export type TeamUncheckedCreateWithoutAgentsInput = {
|
||||
@@ -1643,6 +1759,8 @@ export type TeamUncheckedCreateWithoutAgentsInput = {
|
||||
aiUsages?: Prisma.AiUsageUncheckedCreateNestedManyWithoutTeamInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedCreateNestedManyWithoutTeamInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateUncheckedCreateNestedManyWithoutTeamInput
|
||||
quotaRules?: Prisma.QuotaRuleUncheckedCreateNestedManyWithoutTeamInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedCreateNestedManyWithoutTeamInput
|
||||
}
|
||||
|
||||
export type TeamCreateOrConnectWithoutAgentsInput = {
|
||||
@@ -1681,6 +1799,8 @@ export type TeamUpdateWithoutAgentsInput = {
|
||||
aiUsages?: Prisma.AiUsageUpdateManyWithoutTeamNestedInput
|
||||
auditLogs?: Prisma.AuditLogUpdateManyWithoutTeamNestedInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateUpdateManyWithoutTeamNestedInput
|
||||
quotaRules?: Prisma.QuotaRuleUpdateManyWithoutTeamNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUpdateManyWithoutTeamNestedInput
|
||||
}
|
||||
|
||||
export type TeamUncheckedUpdateWithoutAgentsInput = {
|
||||
@@ -1703,6 +1823,8 @@ export type TeamUncheckedUpdateWithoutAgentsInput = {
|
||||
aiUsages?: Prisma.AiUsageUncheckedUpdateManyWithoutTeamNestedInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedUpdateManyWithoutTeamNestedInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateUncheckedUpdateManyWithoutTeamNestedInput
|
||||
quotaRules?: Prisma.QuotaRuleUncheckedUpdateManyWithoutTeamNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedUpdateManyWithoutTeamNestedInput
|
||||
}
|
||||
|
||||
export type TeamCreateWithoutMcpServersInput = {
|
||||
@@ -1725,6 +1847,8 @@ export type TeamCreateWithoutMcpServersInput = {
|
||||
aiUsages?: Prisma.AiUsageCreateNestedManyWithoutTeamInput
|
||||
auditLogs?: Prisma.AuditLogCreateNestedManyWithoutTeamInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateCreateNestedManyWithoutTeamInput
|
||||
quotaRules?: Prisma.QuotaRuleCreateNestedManyWithoutTeamInput
|
||||
quotaRecords?: Prisma.QuotaRecordCreateNestedManyWithoutTeamInput
|
||||
}
|
||||
|
||||
export type TeamUncheckedCreateWithoutMcpServersInput = {
|
||||
@@ -1747,6 +1871,8 @@ export type TeamUncheckedCreateWithoutMcpServersInput = {
|
||||
aiUsages?: Prisma.AiUsageUncheckedCreateNestedManyWithoutTeamInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedCreateNestedManyWithoutTeamInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateUncheckedCreateNestedManyWithoutTeamInput
|
||||
quotaRules?: Prisma.QuotaRuleUncheckedCreateNestedManyWithoutTeamInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedCreateNestedManyWithoutTeamInput
|
||||
}
|
||||
|
||||
export type TeamCreateOrConnectWithoutMcpServersInput = {
|
||||
@@ -1785,6 +1911,8 @@ export type TeamUpdateWithoutMcpServersInput = {
|
||||
aiUsages?: Prisma.AiUsageUpdateManyWithoutTeamNestedInput
|
||||
auditLogs?: Prisma.AuditLogUpdateManyWithoutTeamNestedInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateUpdateManyWithoutTeamNestedInput
|
||||
quotaRules?: Prisma.QuotaRuleUpdateManyWithoutTeamNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUpdateManyWithoutTeamNestedInput
|
||||
}
|
||||
|
||||
export type TeamUncheckedUpdateWithoutMcpServersInput = {
|
||||
@@ -1807,6 +1935,8 @@ export type TeamUncheckedUpdateWithoutMcpServersInput = {
|
||||
aiUsages?: Prisma.AiUsageUncheckedUpdateManyWithoutTeamNestedInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedUpdateManyWithoutTeamNestedInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateUncheckedUpdateManyWithoutTeamNestedInput
|
||||
quotaRules?: Prisma.QuotaRuleUncheckedUpdateManyWithoutTeamNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedUpdateManyWithoutTeamNestedInput
|
||||
}
|
||||
|
||||
export type TeamCreateWithoutUserMetadataInput = {
|
||||
@@ -1829,6 +1959,8 @@ export type TeamCreateWithoutUserMetadataInput = {
|
||||
aiUsages?: Prisma.AiUsageCreateNestedManyWithoutTeamInput
|
||||
auditLogs?: Prisma.AuditLogCreateNestedManyWithoutTeamInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateCreateNestedManyWithoutTeamInput
|
||||
quotaRules?: Prisma.QuotaRuleCreateNestedManyWithoutTeamInput
|
||||
quotaRecords?: Prisma.QuotaRecordCreateNestedManyWithoutTeamInput
|
||||
}
|
||||
|
||||
export type TeamUncheckedCreateWithoutUserMetadataInput = {
|
||||
@@ -1851,6 +1983,8 @@ export type TeamUncheckedCreateWithoutUserMetadataInput = {
|
||||
aiUsages?: Prisma.AiUsageUncheckedCreateNestedManyWithoutTeamInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedCreateNestedManyWithoutTeamInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateUncheckedCreateNestedManyWithoutTeamInput
|
||||
quotaRules?: Prisma.QuotaRuleUncheckedCreateNestedManyWithoutTeamInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedCreateNestedManyWithoutTeamInput
|
||||
}
|
||||
|
||||
export type TeamCreateOrConnectWithoutUserMetadataInput = {
|
||||
@@ -1889,6 +2023,8 @@ export type TeamUpdateWithoutUserMetadataInput = {
|
||||
aiUsages?: Prisma.AiUsageUpdateManyWithoutTeamNestedInput
|
||||
auditLogs?: Prisma.AuditLogUpdateManyWithoutTeamNestedInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateUpdateManyWithoutTeamNestedInput
|
||||
quotaRules?: Prisma.QuotaRuleUpdateManyWithoutTeamNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUpdateManyWithoutTeamNestedInput
|
||||
}
|
||||
|
||||
export type TeamUncheckedUpdateWithoutUserMetadataInput = {
|
||||
@@ -1911,6 +2047,8 @@ export type TeamUncheckedUpdateWithoutUserMetadataInput = {
|
||||
aiUsages?: Prisma.AiUsageUncheckedUpdateManyWithoutTeamNestedInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedUpdateManyWithoutTeamNestedInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateUncheckedUpdateManyWithoutTeamNestedInput
|
||||
quotaRules?: Prisma.QuotaRuleUncheckedUpdateManyWithoutTeamNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedUpdateManyWithoutTeamNestedInput
|
||||
}
|
||||
|
||||
export type TeamCreateWithoutProvidersInput = {
|
||||
@@ -1933,6 +2071,8 @@ export type TeamCreateWithoutProvidersInput = {
|
||||
aiUsages?: Prisma.AiUsageCreateNestedManyWithoutTeamInput
|
||||
auditLogs?: Prisma.AuditLogCreateNestedManyWithoutTeamInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateCreateNestedManyWithoutTeamInput
|
||||
quotaRules?: Prisma.QuotaRuleCreateNestedManyWithoutTeamInput
|
||||
quotaRecords?: Prisma.QuotaRecordCreateNestedManyWithoutTeamInput
|
||||
}
|
||||
|
||||
export type TeamUncheckedCreateWithoutProvidersInput = {
|
||||
@@ -1955,6 +2095,8 @@ export type TeamUncheckedCreateWithoutProvidersInput = {
|
||||
aiUsages?: Prisma.AiUsageUncheckedCreateNestedManyWithoutTeamInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedCreateNestedManyWithoutTeamInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateUncheckedCreateNestedManyWithoutTeamInput
|
||||
quotaRules?: Prisma.QuotaRuleUncheckedCreateNestedManyWithoutTeamInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedCreateNestedManyWithoutTeamInput
|
||||
}
|
||||
|
||||
export type TeamCreateOrConnectWithoutProvidersInput = {
|
||||
@@ -1993,6 +2135,8 @@ export type TeamUpdateWithoutProvidersInput = {
|
||||
aiUsages?: Prisma.AiUsageUpdateManyWithoutTeamNestedInput
|
||||
auditLogs?: Prisma.AuditLogUpdateManyWithoutTeamNestedInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateUpdateManyWithoutTeamNestedInput
|
||||
quotaRules?: Prisma.QuotaRuleUpdateManyWithoutTeamNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUpdateManyWithoutTeamNestedInput
|
||||
}
|
||||
|
||||
export type TeamUncheckedUpdateWithoutProvidersInput = {
|
||||
@@ -2015,6 +2159,8 @@ export type TeamUncheckedUpdateWithoutProvidersInput = {
|
||||
aiUsages?: Prisma.AiUsageUncheckedUpdateManyWithoutTeamNestedInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedUpdateManyWithoutTeamNestedInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateUncheckedUpdateManyWithoutTeamNestedInput
|
||||
quotaRules?: Prisma.QuotaRuleUncheckedUpdateManyWithoutTeamNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedUpdateManyWithoutTeamNestedInput
|
||||
}
|
||||
|
||||
export type TeamCreateWithoutAiUsagesInput = {
|
||||
@@ -2037,6 +2183,8 @@ export type TeamCreateWithoutAiUsagesInput = {
|
||||
agents?: Prisma.AgentCreateNestedManyWithoutTeamInput
|
||||
auditLogs?: Prisma.AuditLogCreateNestedManyWithoutTeamInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateCreateNestedManyWithoutTeamInput
|
||||
quotaRules?: Prisma.QuotaRuleCreateNestedManyWithoutTeamInput
|
||||
quotaRecords?: Prisma.QuotaRecordCreateNestedManyWithoutTeamInput
|
||||
}
|
||||
|
||||
export type TeamUncheckedCreateWithoutAiUsagesInput = {
|
||||
@@ -2059,6 +2207,8 @@ export type TeamUncheckedCreateWithoutAiUsagesInput = {
|
||||
agents?: Prisma.AgentUncheckedCreateNestedManyWithoutTeamInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedCreateNestedManyWithoutTeamInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateUncheckedCreateNestedManyWithoutTeamInput
|
||||
quotaRules?: Prisma.QuotaRuleUncheckedCreateNestedManyWithoutTeamInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedCreateNestedManyWithoutTeamInput
|
||||
}
|
||||
|
||||
export type TeamCreateOrConnectWithoutAiUsagesInput = {
|
||||
@@ -2097,6 +2247,8 @@ export type TeamUpdateWithoutAiUsagesInput = {
|
||||
agents?: Prisma.AgentUpdateManyWithoutTeamNestedInput
|
||||
auditLogs?: Prisma.AuditLogUpdateManyWithoutTeamNestedInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateUpdateManyWithoutTeamNestedInput
|
||||
quotaRules?: Prisma.QuotaRuleUpdateManyWithoutTeamNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUpdateManyWithoutTeamNestedInput
|
||||
}
|
||||
|
||||
export type TeamUncheckedUpdateWithoutAiUsagesInput = {
|
||||
@@ -2119,6 +2271,8 @@ export type TeamUncheckedUpdateWithoutAiUsagesInput = {
|
||||
agents?: Prisma.AgentUncheckedUpdateManyWithoutTeamNestedInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedUpdateManyWithoutTeamNestedInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateUncheckedUpdateManyWithoutTeamNestedInput
|
||||
quotaRules?: Prisma.QuotaRuleUncheckedUpdateManyWithoutTeamNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedUpdateManyWithoutTeamNestedInput
|
||||
}
|
||||
|
||||
export type TeamCreateWithoutAuditLogsInput = {
|
||||
@@ -2141,6 +2295,8 @@ export type TeamCreateWithoutAuditLogsInput = {
|
||||
agents?: Prisma.AgentCreateNestedManyWithoutTeamInput
|
||||
aiUsages?: Prisma.AiUsageCreateNestedManyWithoutTeamInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateCreateNestedManyWithoutTeamInput
|
||||
quotaRules?: Prisma.QuotaRuleCreateNestedManyWithoutTeamInput
|
||||
quotaRecords?: Prisma.QuotaRecordCreateNestedManyWithoutTeamInput
|
||||
}
|
||||
|
||||
export type TeamUncheckedCreateWithoutAuditLogsInput = {
|
||||
@@ -2163,6 +2319,8 @@ export type TeamUncheckedCreateWithoutAuditLogsInput = {
|
||||
agents?: Prisma.AgentUncheckedCreateNestedManyWithoutTeamInput
|
||||
aiUsages?: Prisma.AiUsageUncheckedCreateNestedManyWithoutTeamInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateUncheckedCreateNestedManyWithoutTeamInput
|
||||
quotaRules?: Prisma.QuotaRuleUncheckedCreateNestedManyWithoutTeamInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedCreateNestedManyWithoutTeamInput
|
||||
}
|
||||
|
||||
export type TeamCreateOrConnectWithoutAuditLogsInput = {
|
||||
@@ -2201,6 +2359,8 @@ export type TeamUpdateWithoutAuditLogsInput = {
|
||||
agents?: Prisma.AgentUpdateManyWithoutTeamNestedInput
|
||||
aiUsages?: Prisma.AiUsageUpdateManyWithoutTeamNestedInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateUpdateManyWithoutTeamNestedInput
|
||||
quotaRules?: Prisma.QuotaRuleUpdateManyWithoutTeamNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUpdateManyWithoutTeamNestedInput
|
||||
}
|
||||
|
||||
export type TeamUncheckedUpdateWithoutAuditLogsInput = {
|
||||
@@ -2223,6 +2383,232 @@ export type TeamUncheckedUpdateWithoutAuditLogsInput = {
|
||||
agents?: Prisma.AgentUncheckedUpdateManyWithoutTeamNestedInput
|
||||
aiUsages?: Prisma.AiUsageUncheckedUpdateManyWithoutTeamNestedInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateUncheckedUpdateManyWithoutTeamNestedInput
|
||||
quotaRules?: Prisma.QuotaRuleUncheckedUpdateManyWithoutTeamNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedUpdateManyWithoutTeamNestedInput
|
||||
}
|
||||
|
||||
export type TeamCreateWithoutQuotaRulesInput = {
|
||||
id?: string
|
||||
name: string
|
||||
settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
rootFolder?: Prisma.AssetCreateNestedOneWithoutTeamRootFolderInput
|
||||
members?: Prisma.TeamMemberCreateNestedManyWithoutTeamInput
|
||||
projects?: Prisma.ProjectCreateNestedManyWithoutTeamInput
|
||||
metadataFields?: Prisma.MetadataFieldCreateNestedManyWithoutTeamInput
|
||||
invites?: Prisma.InviteCreateNestedManyWithoutTeamInput
|
||||
notifications?: Prisma.NotificationCreateNestedManyWithoutTeamInput
|
||||
userMetadata?: Prisma.UserMetadataCreateNestedManyWithoutTeamInput
|
||||
providers?: Prisma.ProviderCreateNestedManyWithoutTeamInput
|
||||
skills?: Prisma.SkillCreateNestedManyWithoutTeamInput
|
||||
mcpServers?: Prisma.McpServerCreateNestedManyWithoutTeamInput
|
||||
sandbox?: Prisma.SandboxCreateNestedOneWithoutTeamInput
|
||||
agents?: Prisma.AgentCreateNestedManyWithoutTeamInput
|
||||
aiUsages?: Prisma.AiUsageCreateNestedManyWithoutTeamInput
|
||||
auditLogs?: Prisma.AuditLogCreateNestedManyWithoutTeamInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateCreateNestedManyWithoutTeamInput
|
||||
quotaRecords?: Prisma.QuotaRecordCreateNestedManyWithoutTeamInput
|
||||
}
|
||||
|
||||
export type TeamUncheckedCreateWithoutQuotaRulesInput = {
|
||||
id?: string
|
||||
name: string
|
||||
settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
rootFolderId?: string | null
|
||||
members?: Prisma.TeamMemberUncheckedCreateNestedManyWithoutTeamInput
|
||||
projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutTeamInput
|
||||
metadataFields?: Prisma.MetadataFieldUncheckedCreateNestedManyWithoutTeamInput
|
||||
invites?: Prisma.InviteUncheckedCreateNestedManyWithoutTeamInput
|
||||
notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutTeamInput
|
||||
userMetadata?: Prisma.UserMetadataUncheckedCreateNestedManyWithoutTeamInput
|
||||
providers?: Prisma.ProviderUncheckedCreateNestedManyWithoutTeamInput
|
||||
skills?: Prisma.SkillUncheckedCreateNestedManyWithoutTeamInput
|
||||
mcpServers?: Prisma.McpServerUncheckedCreateNestedManyWithoutTeamInput
|
||||
sandbox?: Prisma.SandboxUncheckedCreateNestedOneWithoutTeamInput
|
||||
agents?: Prisma.AgentUncheckedCreateNestedManyWithoutTeamInput
|
||||
aiUsages?: Prisma.AiUsageUncheckedCreateNestedManyWithoutTeamInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedCreateNestedManyWithoutTeamInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateUncheckedCreateNestedManyWithoutTeamInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedCreateNestedManyWithoutTeamInput
|
||||
}
|
||||
|
||||
export type TeamCreateOrConnectWithoutQuotaRulesInput = {
|
||||
where: Prisma.TeamWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.TeamCreateWithoutQuotaRulesInput, Prisma.TeamUncheckedCreateWithoutQuotaRulesInput>
|
||||
}
|
||||
|
||||
export type TeamUpsertWithoutQuotaRulesInput = {
|
||||
update: Prisma.XOR<Prisma.TeamUpdateWithoutQuotaRulesInput, Prisma.TeamUncheckedUpdateWithoutQuotaRulesInput>
|
||||
create: Prisma.XOR<Prisma.TeamCreateWithoutQuotaRulesInput, Prisma.TeamUncheckedCreateWithoutQuotaRulesInput>
|
||||
where?: Prisma.TeamWhereInput
|
||||
}
|
||||
|
||||
export type TeamUpdateToOneWithWhereWithoutQuotaRulesInput = {
|
||||
where?: Prisma.TeamWhereInput
|
||||
data: Prisma.XOR<Prisma.TeamUpdateWithoutQuotaRulesInput, Prisma.TeamUncheckedUpdateWithoutQuotaRulesInput>
|
||||
}
|
||||
|
||||
export type TeamUpdateWithoutQuotaRulesInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
rootFolder?: Prisma.AssetUpdateOneWithoutTeamRootFolderNestedInput
|
||||
members?: Prisma.TeamMemberUpdateManyWithoutTeamNestedInput
|
||||
projects?: Prisma.ProjectUpdateManyWithoutTeamNestedInput
|
||||
metadataFields?: Prisma.MetadataFieldUpdateManyWithoutTeamNestedInput
|
||||
invites?: Prisma.InviteUpdateManyWithoutTeamNestedInput
|
||||
notifications?: Prisma.NotificationUpdateManyWithoutTeamNestedInput
|
||||
userMetadata?: Prisma.UserMetadataUpdateManyWithoutTeamNestedInput
|
||||
providers?: Prisma.ProviderUpdateManyWithoutTeamNestedInput
|
||||
skills?: Prisma.SkillUpdateManyWithoutTeamNestedInput
|
||||
mcpServers?: Prisma.McpServerUpdateManyWithoutTeamNestedInput
|
||||
sandbox?: Prisma.SandboxUpdateOneWithoutTeamNestedInput
|
||||
agents?: Prisma.AgentUpdateManyWithoutTeamNestedInput
|
||||
aiUsages?: Prisma.AiUsageUpdateManyWithoutTeamNestedInput
|
||||
auditLogs?: Prisma.AuditLogUpdateManyWithoutTeamNestedInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateUpdateManyWithoutTeamNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUpdateManyWithoutTeamNestedInput
|
||||
}
|
||||
|
||||
export type TeamUncheckedUpdateWithoutQuotaRulesInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
rootFolderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
members?: Prisma.TeamMemberUncheckedUpdateManyWithoutTeamNestedInput
|
||||
projects?: Prisma.ProjectUncheckedUpdateManyWithoutTeamNestedInput
|
||||
metadataFields?: Prisma.MetadataFieldUncheckedUpdateManyWithoutTeamNestedInput
|
||||
invites?: Prisma.InviteUncheckedUpdateManyWithoutTeamNestedInput
|
||||
notifications?: Prisma.NotificationUncheckedUpdateManyWithoutTeamNestedInput
|
||||
userMetadata?: Prisma.UserMetadataUncheckedUpdateManyWithoutTeamNestedInput
|
||||
providers?: Prisma.ProviderUncheckedUpdateManyWithoutTeamNestedInput
|
||||
skills?: Prisma.SkillUncheckedUpdateManyWithoutTeamNestedInput
|
||||
mcpServers?: Prisma.McpServerUncheckedUpdateManyWithoutTeamNestedInput
|
||||
sandbox?: Prisma.SandboxUncheckedUpdateOneWithoutTeamNestedInput
|
||||
agents?: Prisma.AgentUncheckedUpdateManyWithoutTeamNestedInput
|
||||
aiUsages?: Prisma.AiUsageUncheckedUpdateManyWithoutTeamNestedInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedUpdateManyWithoutTeamNestedInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateUncheckedUpdateManyWithoutTeamNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedUpdateManyWithoutTeamNestedInput
|
||||
}
|
||||
|
||||
export type TeamCreateWithoutQuotaRecordsInput = {
|
||||
id?: string
|
||||
name: string
|
||||
settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
rootFolder?: Prisma.AssetCreateNestedOneWithoutTeamRootFolderInput
|
||||
members?: Prisma.TeamMemberCreateNestedManyWithoutTeamInput
|
||||
projects?: Prisma.ProjectCreateNestedManyWithoutTeamInput
|
||||
metadataFields?: Prisma.MetadataFieldCreateNestedManyWithoutTeamInput
|
||||
invites?: Prisma.InviteCreateNestedManyWithoutTeamInput
|
||||
notifications?: Prisma.NotificationCreateNestedManyWithoutTeamInput
|
||||
userMetadata?: Prisma.UserMetadataCreateNestedManyWithoutTeamInput
|
||||
providers?: Prisma.ProviderCreateNestedManyWithoutTeamInput
|
||||
skills?: Prisma.SkillCreateNestedManyWithoutTeamInput
|
||||
mcpServers?: Prisma.McpServerCreateNestedManyWithoutTeamInput
|
||||
sandbox?: Prisma.SandboxCreateNestedOneWithoutTeamInput
|
||||
agents?: Prisma.AgentCreateNestedManyWithoutTeamInput
|
||||
aiUsages?: Prisma.AiUsageCreateNestedManyWithoutTeamInput
|
||||
auditLogs?: Prisma.AuditLogCreateNestedManyWithoutTeamInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateCreateNestedManyWithoutTeamInput
|
||||
quotaRules?: Prisma.QuotaRuleCreateNestedManyWithoutTeamInput
|
||||
}
|
||||
|
||||
export type TeamUncheckedCreateWithoutQuotaRecordsInput = {
|
||||
id?: string
|
||||
name: string
|
||||
settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
rootFolderId?: string | null
|
||||
members?: Prisma.TeamMemberUncheckedCreateNestedManyWithoutTeamInput
|
||||
projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutTeamInput
|
||||
metadataFields?: Prisma.MetadataFieldUncheckedCreateNestedManyWithoutTeamInput
|
||||
invites?: Prisma.InviteUncheckedCreateNestedManyWithoutTeamInput
|
||||
notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutTeamInput
|
||||
userMetadata?: Prisma.UserMetadataUncheckedCreateNestedManyWithoutTeamInput
|
||||
providers?: Prisma.ProviderUncheckedCreateNestedManyWithoutTeamInput
|
||||
skills?: Prisma.SkillUncheckedCreateNestedManyWithoutTeamInput
|
||||
mcpServers?: Prisma.McpServerUncheckedCreateNestedManyWithoutTeamInput
|
||||
sandbox?: Prisma.SandboxUncheckedCreateNestedOneWithoutTeamInput
|
||||
agents?: Prisma.AgentUncheckedCreateNestedManyWithoutTeamInput
|
||||
aiUsages?: Prisma.AiUsageUncheckedCreateNestedManyWithoutTeamInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedCreateNestedManyWithoutTeamInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateUncheckedCreateNestedManyWithoutTeamInput
|
||||
quotaRules?: Prisma.QuotaRuleUncheckedCreateNestedManyWithoutTeamInput
|
||||
}
|
||||
|
||||
export type TeamCreateOrConnectWithoutQuotaRecordsInput = {
|
||||
where: Prisma.TeamWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.TeamCreateWithoutQuotaRecordsInput, Prisma.TeamUncheckedCreateWithoutQuotaRecordsInput>
|
||||
}
|
||||
|
||||
export type TeamUpsertWithoutQuotaRecordsInput = {
|
||||
update: Prisma.XOR<Prisma.TeamUpdateWithoutQuotaRecordsInput, Prisma.TeamUncheckedUpdateWithoutQuotaRecordsInput>
|
||||
create: Prisma.XOR<Prisma.TeamCreateWithoutQuotaRecordsInput, Prisma.TeamUncheckedCreateWithoutQuotaRecordsInput>
|
||||
where?: Prisma.TeamWhereInput
|
||||
}
|
||||
|
||||
export type TeamUpdateToOneWithWhereWithoutQuotaRecordsInput = {
|
||||
where?: Prisma.TeamWhereInput
|
||||
data: Prisma.XOR<Prisma.TeamUpdateWithoutQuotaRecordsInput, Prisma.TeamUncheckedUpdateWithoutQuotaRecordsInput>
|
||||
}
|
||||
|
||||
export type TeamUpdateWithoutQuotaRecordsInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
rootFolder?: Prisma.AssetUpdateOneWithoutTeamRootFolderNestedInput
|
||||
members?: Prisma.TeamMemberUpdateManyWithoutTeamNestedInput
|
||||
projects?: Prisma.ProjectUpdateManyWithoutTeamNestedInput
|
||||
metadataFields?: Prisma.MetadataFieldUpdateManyWithoutTeamNestedInput
|
||||
invites?: Prisma.InviteUpdateManyWithoutTeamNestedInput
|
||||
notifications?: Prisma.NotificationUpdateManyWithoutTeamNestedInput
|
||||
userMetadata?: Prisma.UserMetadataUpdateManyWithoutTeamNestedInput
|
||||
providers?: Prisma.ProviderUpdateManyWithoutTeamNestedInput
|
||||
skills?: Prisma.SkillUpdateManyWithoutTeamNestedInput
|
||||
mcpServers?: Prisma.McpServerUpdateManyWithoutTeamNestedInput
|
||||
sandbox?: Prisma.SandboxUpdateOneWithoutTeamNestedInput
|
||||
agents?: Prisma.AgentUpdateManyWithoutTeamNestedInput
|
||||
aiUsages?: Prisma.AiUsageUpdateManyWithoutTeamNestedInput
|
||||
auditLogs?: Prisma.AuditLogUpdateManyWithoutTeamNestedInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateUpdateManyWithoutTeamNestedInput
|
||||
quotaRules?: Prisma.QuotaRuleUpdateManyWithoutTeamNestedInput
|
||||
}
|
||||
|
||||
export type TeamUncheckedUpdateWithoutQuotaRecordsInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
rootFolderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
members?: Prisma.TeamMemberUncheckedUpdateManyWithoutTeamNestedInput
|
||||
projects?: Prisma.ProjectUncheckedUpdateManyWithoutTeamNestedInput
|
||||
metadataFields?: Prisma.MetadataFieldUncheckedUpdateManyWithoutTeamNestedInput
|
||||
invites?: Prisma.InviteUncheckedUpdateManyWithoutTeamNestedInput
|
||||
notifications?: Prisma.NotificationUncheckedUpdateManyWithoutTeamNestedInput
|
||||
userMetadata?: Prisma.UserMetadataUncheckedUpdateManyWithoutTeamNestedInput
|
||||
providers?: Prisma.ProviderUncheckedUpdateManyWithoutTeamNestedInput
|
||||
skills?: Prisma.SkillUncheckedUpdateManyWithoutTeamNestedInput
|
||||
mcpServers?: Prisma.McpServerUncheckedUpdateManyWithoutTeamNestedInput
|
||||
sandbox?: Prisma.SandboxUncheckedUpdateOneWithoutTeamNestedInput
|
||||
agents?: Prisma.AgentUncheckedUpdateManyWithoutTeamNestedInput
|
||||
aiUsages?: Prisma.AiUsageUncheckedUpdateManyWithoutTeamNestedInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedUpdateManyWithoutTeamNestedInput
|
||||
watermarkTemplates?: Prisma.WatermarkTemplateUncheckedUpdateManyWithoutTeamNestedInput
|
||||
quotaRules?: Prisma.QuotaRuleUncheckedUpdateManyWithoutTeamNestedInput
|
||||
}
|
||||
|
||||
|
||||
@@ -2244,6 +2630,8 @@ export type TeamCountOutputType = {
|
||||
aiUsages: number
|
||||
auditLogs: number
|
||||
watermarkTemplates: number
|
||||
quotaRules: number
|
||||
quotaRecords: number
|
||||
}
|
||||
|
||||
export type TeamCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
@@ -2260,6 +2648,8 @@ export type TeamCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.I
|
||||
aiUsages?: boolean | TeamCountOutputTypeCountAiUsagesArgs
|
||||
auditLogs?: boolean | TeamCountOutputTypeCountAuditLogsArgs
|
||||
watermarkTemplates?: boolean | TeamCountOutputTypeCountWatermarkTemplatesArgs
|
||||
quotaRules?: boolean | TeamCountOutputTypeCountQuotaRulesArgs
|
||||
quotaRecords?: boolean | TeamCountOutputTypeCountQuotaRecordsArgs
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -2363,6 +2753,20 @@ export type TeamCountOutputTypeCountWatermarkTemplatesArgs<ExtArgs extends runti
|
||||
where?: Prisma.WatermarkTemplateWhereInput
|
||||
}
|
||||
|
||||
/**
|
||||
* TeamCountOutputType without action
|
||||
*/
|
||||
export type TeamCountOutputTypeCountQuotaRulesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
where?: Prisma.QuotaRuleWhereInput
|
||||
}
|
||||
|
||||
/**
|
||||
* TeamCountOutputType without action
|
||||
*/
|
||||
export type TeamCountOutputTypeCountQuotaRecordsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
where?: Prisma.QuotaRecordWhereInput
|
||||
}
|
||||
|
||||
|
||||
export type TeamSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
||||
id?: boolean
|
||||
@@ -2386,6 +2790,8 @@ export type TeamSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = r
|
||||
aiUsages?: boolean | Prisma.Team$aiUsagesArgs<ExtArgs>
|
||||
auditLogs?: boolean | Prisma.Team$auditLogsArgs<ExtArgs>
|
||||
watermarkTemplates?: boolean | Prisma.Team$watermarkTemplatesArgs<ExtArgs>
|
||||
quotaRules?: boolean | Prisma.Team$quotaRulesArgs<ExtArgs>
|
||||
quotaRecords?: boolean | Prisma.Team$quotaRecordsArgs<ExtArgs>
|
||||
_count?: boolean | Prisma.TeamCountOutputTypeDefaultArgs<ExtArgs>
|
||||
}, ExtArgs["result"]["team"]>
|
||||
|
||||
@@ -2435,6 +2841,8 @@ export type TeamInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs =
|
||||
aiUsages?: boolean | Prisma.Team$aiUsagesArgs<ExtArgs>
|
||||
auditLogs?: boolean | Prisma.Team$auditLogsArgs<ExtArgs>
|
||||
watermarkTemplates?: boolean | Prisma.Team$watermarkTemplatesArgs<ExtArgs>
|
||||
quotaRules?: boolean | Prisma.Team$quotaRulesArgs<ExtArgs>
|
||||
quotaRecords?: boolean | Prisma.Team$quotaRecordsArgs<ExtArgs>
|
||||
_count?: boolean | Prisma.TeamCountOutputTypeDefaultArgs<ExtArgs>
|
||||
}
|
||||
export type TeamIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
@@ -2462,6 +2870,8 @@ export type $TeamPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs =
|
||||
aiUsages: Prisma.$AiUsagePayload<ExtArgs>[]
|
||||
auditLogs: Prisma.$AuditLogPayload<ExtArgs>[]
|
||||
watermarkTemplates: Prisma.$WatermarkTemplatePayload<ExtArgs>[]
|
||||
quotaRules: Prisma.$QuotaRulePayload<ExtArgs>[]
|
||||
quotaRecords: Prisma.$QuotaRecordPayload<ExtArgs>[]
|
||||
}
|
||||
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
||||
id: string
|
||||
@@ -2882,6 +3292,8 @@ export interface Prisma__TeamClient<T, Null = never, ExtArgs extends runtime.Typ
|
||||
aiUsages<T extends Prisma.Team$aiUsagesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Team$aiUsagesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AiUsagePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
auditLogs<T extends Prisma.Team$auditLogsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Team$auditLogsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AuditLogPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
watermarkTemplates<T extends Prisma.Team$watermarkTemplatesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Team$watermarkTemplatesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WatermarkTemplatePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
quotaRules<T extends Prisma.Team$quotaRulesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Team$quotaRulesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$QuotaRulePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
quotaRecords<T extends Prisma.Team$quotaRecordsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Team$quotaRecordsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$QuotaRecordPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
/**
|
||||
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
||||
* @param onfulfilled The callback to execute when the Promise is resolved.
|
||||
@@ -3667,6 +4079,54 @@ export type Team$watermarkTemplatesArgs<ExtArgs extends runtime.Types.Extensions
|
||||
distinct?: Prisma.WatermarkTemplateScalarFieldEnum | Prisma.WatermarkTemplateScalarFieldEnum[]
|
||||
}
|
||||
|
||||
/**
|
||||
* Team.quotaRules
|
||||
*/
|
||||
export type Team$quotaRulesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
/**
|
||||
* Select specific fields to fetch from the QuotaRule
|
||||
*/
|
||||
select?: Prisma.QuotaRuleSelect<ExtArgs> | null
|
||||
/**
|
||||
* Omit specific fields from the QuotaRule
|
||||
*/
|
||||
omit?: Prisma.QuotaRuleOmit<ExtArgs> | null
|
||||
/**
|
||||
* Choose, which related nodes to fetch as well
|
||||
*/
|
||||
include?: Prisma.QuotaRuleInclude<ExtArgs> | null
|
||||
where?: Prisma.QuotaRuleWhereInput
|
||||
orderBy?: Prisma.QuotaRuleOrderByWithRelationInput | Prisma.QuotaRuleOrderByWithRelationInput[]
|
||||
cursor?: Prisma.QuotaRuleWhereUniqueInput
|
||||
take?: number
|
||||
skip?: number
|
||||
distinct?: Prisma.QuotaRuleScalarFieldEnum | Prisma.QuotaRuleScalarFieldEnum[]
|
||||
}
|
||||
|
||||
/**
|
||||
* Team.quotaRecords
|
||||
*/
|
||||
export type Team$quotaRecordsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
/**
|
||||
* Select specific fields to fetch from the QuotaRecord
|
||||
*/
|
||||
select?: Prisma.QuotaRecordSelect<ExtArgs> | null
|
||||
/**
|
||||
* Omit specific fields from the QuotaRecord
|
||||
*/
|
||||
omit?: Prisma.QuotaRecordOmit<ExtArgs> | null
|
||||
/**
|
||||
* Choose, which related nodes to fetch as well
|
||||
*/
|
||||
include?: Prisma.QuotaRecordInclude<ExtArgs> | null
|
||||
where?: Prisma.QuotaRecordWhereInput
|
||||
orderBy?: Prisma.QuotaRecordOrderByWithRelationInput | Prisma.QuotaRecordOrderByWithRelationInput[]
|
||||
cursor?: Prisma.QuotaRecordWhereUniqueInput
|
||||
take?: number
|
||||
skip?: number
|
||||
distinct?: Prisma.QuotaRecordScalarFieldEnum | Prisma.QuotaRecordScalarFieldEnum[]
|
||||
}
|
||||
|
||||
/**
|
||||
* Team without action
|
||||
*/
|
||||
|
||||
+284
@@ -247,6 +247,7 @@ export type UserWhereInput = {
|
||||
apiTokens?: Prisma.ApiTokenListRelationFilter
|
||||
aiUsages?: Prisma.AiUsageListRelationFilter
|
||||
auditLogs?: Prisma.AuditLogListRelationFilter
|
||||
quotaRecords?: Prisma.QuotaRecordListRelationFilter
|
||||
}
|
||||
|
||||
export type UserOrderByWithRelationInput = {
|
||||
@@ -280,6 +281,7 @@ export type UserOrderByWithRelationInput = {
|
||||
apiTokens?: Prisma.ApiTokenOrderByRelationAggregateInput
|
||||
aiUsages?: Prisma.AiUsageOrderByRelationAggregateInput
|
||||
auditLogs?: Prisma.AuditLogOrderByRelationAggregateInput
|
||||
quotaRecords?: Prisma.QuotaRecordOrderByRelationAggregateInput
|
||||
}
|
||||
|
||||
export type UserWhereUniqueInput = Prisma.AtLeast<{
|
||||
@@ -316,6 +318,7 @@ export type UserWhereUniqueInput = Prisma.AtLeast<{
|
||||
apiTokens?: Prisma.ApiTokenListRelationFilter
|
||||
aiUsages?: Prisma.AiUsageListRelationFilter
|
||||
auditLogs?: Prisma.AuditLogListRelationFilter
|
||||
quotaRecords?: Prisma.QuotaRecordListRelationFilter
|
||||
}, "id" | "email">
|
||||
|
||||
export type UserOrderByWithAggregationInput = {
|
||||
@@ -383,6 +386,7 @@ export type UserCreateInput = {
|
||||
apiTokens?: Prisma.ApiTokenCreateNestedManyWithoutUserInput
|
||||
aiUsages?: Prisma.AiUsageCreateNestedManyWithoutUserInput
|
||||
auditLogs?: Prisma.AuditLogCreateNestedManyWithoutUserInput
|
||||
quotaRecords?: Prisma.QuotaRecordCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserUncheckedCreateInput = {
|
||||
@@ -416,6 +420,7 @@ export type UserUncheckedCreateInput = {
|
||||
apiTokens?: Prisma.ApiTokenUncheckedCreateNestedManyWithoutUserInput
|
||||
aiUsages?: Prisma.AiUsageUncheckedCreateNestedManyWithoutUserInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedCreateNestedManyWithoutUserInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserUpdateInput = {
|
||||
@@ -449,6 +454,7 @@ export type UserUpdateInput = {
|
||||
apiTokens?: Prisma.ApiTokenUpdateManyWithoutUserNestedInput
|
||||
aiUsages?: Prisma.AiUsageUpdateManyWithoutUserNestedInput
|
||||
auditLogs?: Prisma.AuditLogUpdateManyWithoutUserNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserUncheckedUpdateInput = {
|
||||
@@ -482,6 +488,7 @@ export type UserUncheckedUpdateInput = {
|
||||
apiTokens?: Prisma.ApiTokenUncheckedUpdateManyWithoutUserNestedInput
|
||||
aiUsages?: Prisma.AiUsageUncheckedUpdateManyWithoutUserNestedInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedUpdateManyWithoutUserNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserCreateManyInput = {
|
||||
@@ -884,6 +891,22 @@ export type UserUpdateOneWithoutAuditLogsNestedInput = {
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutAuditLogsInput, Prisma.UserUpdateWithoutAuditLogsInput>, Prisma.UserUncheckedUpdateWithoutAuditLogsInput>
|
||||
}
|
||||
|
||||
export type UserCreateNestedOneWithoutQuotaRecordsInput = {
|
||||
create?: Prisma.XOR<Prisma.UserCreateWithoutQuotaRecordsInput, Prisma.UserUncheckedCreateWithoutQuotaRecordsInput>
|
||||
connectOrCreate?: Prisma.UserCreateOrConnectWithoutQuotaRecordsInput
|
||||
connect?: Prisma.UserWhereUniqueInput
|
||||
}
|
||||
|
||||
export type UserUpdateOneWithoutQuotaRecordsNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.UserCreateWithoutQuotaRecordsInput, Prisma.UserUncheckedCreateWithoutQuotaRecordsInput>
|
||||
connectOrCreate?: Prisma.UserCreateOrConnectWithoutQuotaRecordsInput
|
||||
upsert?: Prisma.UserUpsertWithoutQuotaRecordsInput
|
||||
disconnect?: Prisma.UserWhereInput | boolean
|
||||
delete?: Prisma.UserWhereInput | boolean
|
||||
connect?: Prisma.UserWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutQuotaRecordsInput, Prisma.UserUpdateWithoutQuotaRecordsInput>, Prisma.UserUncheckedUpdateWithoutQuotaRecordsInput>
|
||||
}
|
||||
|
||||
export type UserCreateWithoutSessionsInput = {
|
||||
id?: string
|
||||
type?: $Enums.UserType
|
||||
@@ -914,6 +937,7 @@ export type UserCreateWithoutSessionsInput = {
|
||||
apiTokens?: Prisma.ApiTokenCreateNestedManyWithoutUserInput
|
||||
aiUsages?: Prisma.AiUsageCreateNestedManyWithoutUserInput
|
||||
auditLogs?: Prisma.AuditLogCreateNestedManyWithoutUserInput
|
||||
quotaRecords?: Prisma.QuotaRecordCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserUncheckedCreateWithoutSessionsInput = {
|
||||
@@ -946,6 +970,7 @@ export type UserUncheckedCreateWithoutSessionsInput = {
|
||||
apiTokens?: Prisma.ApiTokenUncheckedCreateNestedManyWithoutUserInput
|
||||
aiUsages?: Prisma.AiUsageUncheckedCreateNestedManyWithoutUserInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedCreateNestedManyWithoutUserInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserCreateOrConnectWithoutSessionsInput = {
|
||||
@@ -994,6 +1019,7 @@ export type UserUpdateWithoutSessionsInput = {
|
||||
apiTokens?: Prisma.ApiTokenUpdateManyWithoutUserNestedInput
|
||||
aiUsages?: Prisma.AiUsageUpdateManyWithoutUserNestedInput
|
||||
auditLogs?: Prisma.AuditLogUpdateManyWithoutUserNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserUncheckedUpdateWithoutSessionsInput = {
|
||||
@@ -1026,6 +1052,7 @@ export type UserUncheckedUpdateWithoutSessionsInput = {
|
||||
apiTokens?: Prisma.ApiTokenUncheckedUpdateManyWithoutUserNestedInput
|
||||
aiUsages?: Prisma.AiUsageUncheckedUpdateManyWithoutUserNestedInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedUpdateManyWithoutUserNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserCreateWithoutAccountsInput = {
|
||||
@@ -1058,6 +1085,7 @@ export type UserCreateWithoutAccountsInput = {
|
||||
apiTokens?: Prisma.ApiTokenCreateNestedManyWithoutUserInput
|
||||
aiUsages?: Prisma.AiUsageCreateNestedManyWithoutUserInput
|
||||
auditLogs?: Prisma.AuditLogCreateNestedManyWithoutUserInput
|
||||
quotaRecords?: Prisma.QuotaRecordCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserUncheckedCreateWithoutAccountsInput = {
|
||||
@@ -1090,6 +1118,7 @@ export type UserUncheckedCreateWithoutAccountsInput = {
|
||||
apiTokens?: Prisma.ApiTokenUncheckedCreateNestedManyWithoutUserInput
|
||||
aiUsages?: Prisma.AiUsageUncheckedCreateNestedManyWithoutUserInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedCreateNestedManyWithoutUserInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserCreateOrConnectWithoutAccountsInput = {
|
||||
@@ -1138,6 +1167,7 @@ export type UserUpdateWithoutAccountsInput = {
|
||||
apiTokens?: Prisma.ApiTokenUpdateManyWithoutUserNestedInput
|
||||
aiUsages?: Prisma.AiUsageUpdateManyWithoutUserNestedInput
|
||||
auditLogs?: Prisma.AuditLogUpdateManyWithoutUserNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserUncheckedUpdateWithoutAccountsInput = {
|
||||
@@ -1170,6 +1200,7 @@ export type UserUncheckedUpdateWithoutAccountsInput = {
|
||||
apiTokens?: Prisma.ApiTokenUncheckedUpdateManyWithoutUserNestedInput
|
||||
aiUsages?: Prisma.AiUsageUncheckedUpdateManyWithoutUserNestedInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedUpdateManyWithoutUserNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserCreateWithoutAuthTokensInput = {
|
||||
@@ -1202,6 +1233,7 @@ export type UserCreateWithoutAuthTokensInput = {
|
||||
apiTokens?: Prisma.ApiTokenCreateNestedManyWithoutUserInput
|
||||
aiUsages?: Prisma.AiUsageCreateNestedManyWithoutUserInput
|
||||
auditLogs?: Prisma.AuditLogCreateNestedManyWithoutUserInput
|
||||
quotaRecords?: Prisma.QuotaRecordCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserUncheckedCreateWithoutAuthTokensInput = {
|
||||
@@ -1234,6 +1266,7 @@ export type UserUncheckedCreateWithoutAuthTokensInput = {
|
||||
apiTokens?: Prisma.ApiTokenUncheckedCreateNestedManyWithoutUserInput
|
||||
aiUsages?: Prisma.AiUsageUncheckedCreateNestedManyWithoutUserInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedCreateNestedManyWithoutUserInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserCreateOrConnectWithoutAuthTokensInput = {
|
||||
@@ -1282,6 +1315,7 @@ export type UserUpdateWithoutAuthTokensInput = {
|
||||
apiTokens?: Prisma.ApiTokenUpdateManyWithoutUserNestedInput
|
||||
aiUsages?: Prisma.AiUsageUpdateManyWithoutUserNestedInput
|
||||
auditLogs?: Prisma.AuditLogUpdateManyWithoutUserNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserUncheckedUpdateWithoutAuthTokensInput = {
|
||||
@@ -1314,6 +1348,7 @@ export type UserUncheckedUpdateWithoutAuthTokensInput = {
|
||||
apiTokens?: Prisma.ApiTokenUncheckedUpdateManyWithoutUserNestedInput
|
||||
aiUsages?: Prisma.AiUsageUncheckedUpdateManyWithoutUserNestedInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedUpdateManyWithoutUserNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserCreateWithoutTeamMembersInput = {
|
||||
@@ -1346,6 +1381,7 @@ export type UserCreateWithoutTeamMembersInput = {
|
||||
apiTokens?: Prisma.ApiTokenCreateNestedManyWithoutUserInput
|
||||
aiUsages?: Prisma.AiUsageCreateNestedManyWithoutUserInput
|
||||
auditLogs?: Prisma.AuditLogCreateNestedManyWithoutUserInput
|
||||
quotaRecords?: Prisma.QuotaRecordCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserUncheckedCreateWithoutTeamMembersInput = {
|
||||
@@ -1378,6 +1414,7 @@ export type UserUncheckedCreateWithoutTeamMembersInput = {
|
||||
apiTokens?: Prisma.ApiTokenUncheckedCreateNestedManyWithoutUserInput
|
||||
aiUsages?: Prisma.AiUsageUncheckedCreateNestedManyWithoutUserInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedCreateNestedManyWithoutUserInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserCreateOrConnectWithoutTeamMembersInput = {
|
||||
@@ -1426,6 +1463,7 @@ export type UserUpdateWithoutTeamMembersInput = {
|
||||
apiTokens?: Prisma.ApiTokenUpdateManyWithoutUserNestedInput
|
||||
aiUsages?: Prisma.AiUsageUpdateManyWithoutUserNestedInput
|
||||
auditLogs?: Prisma.AuditLogUpdateManyWithoutUserNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserUncheckedUpdateWithoutTeamMembersInput = {
|
||||
@@ -1458,6 +1496,7 @@ export type UserUncheckedUpdateWithoutTeamMembersInput = {
|
||||
apiTokens?: Prisma.ApiTokenUncheckedUpdateManyWithoutUserNestedInput
|
||||
aiUsages?: Prisma.AiUsageUncheckedUpdateManyWithoutUserNestedInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedUpdateManyWithoutUserNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserCreateWithoutShareLinksInput = {
|
||||
@@ -1490,6 +1529,7 @@ export type UserCreateWithoutShareLinksInput = {
|
||||
apiTokens?: Prisma.ApiTokenCreateNestedManyWithoutUserInput
|
||||
aiUsages?: Prisma.AiUsageCreateNestedManyWithoutUserInput
|
||||
auditLogs?: Prisma.AuditLogCreateNestedManyWithoutUserInput
|
||||
quotaRecords?: Prisma.QuotaRecordCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserUncheckedCreateWithoutShareLinksInput = {
|
||||
@@ -1522,6 +1562,7 @@ export type UserUncheckedCreateWithoutShareLinksInput = {
|
||||
apiTokens?: Prisma.ApiTokenUncheckedCreateNestedManyWithoutUserInput
|
||||
aiUsages?: Prisma.AiUsageUncheckedCreateNestedManyWithoutUserInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedCreateNestedManyWithoutUserInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserCreateOrConnectWithoutShareLinksInput = {
|
||||
@@ -1570,6 +1611,7 @@ export type UserUpdateWithoutShareLinksInput = {
|
||||
apiTokens?: Prisma.ApiTokenUpdateManyWithoutUserNestedInput
|
||||
aiUsages?: Prisma.AiUsageUpdateManyWithoutUserNestedInput
|
||||
auditLogs?: Prisma.AuditLogUpdateManyWithoutUserNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserUncheckedUpdateWithoutShareLinksInput = {
|
||||
@@ -1602,6 +1644,7 @@ export type UserUncheckedUpdateWithoutShareLinksInput = {
|
||||
apiTokens?: Prisma.ApiTokenUncheckedUpdateManyWithoutUserNestedInput
|
||||
aiUsages?: Prisma.AiUsageUncheckedUpdateManyWithoutUserNestedInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedUpdateManyWithoutUserNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserCreateWithoutAssetsInput = {
|
||||
@@ -1634,6 +1677,7 @@ export type UserCreateWithoutAssetsInput = {
|
||||
apiTokens?: Prisma.ApiTokenCreateNestedManyWithoutUserInput
|
||||
aiUsages?: Prisma.AiUsageCreateNestedManyWithoutUserInput
|
||||
auditLogs?: Prisma.AuditLogCreateNestedManyWithoutUserInput
|
||||
quotaRecords?: Prisma.QuotaRecordCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserUncheckedCreateWithoutAssetsInput = {
|
||||
@@ -1666,6 +1710,7 @@ export type UserUncheckedCreateWithoutAssetsInput = {
|
||||
apiTokens?: Prisma.ApiTokenUncheckedCreateNestedManyWithoutUserInput
|
||||
aiUsages?: Prisma.AiUsageUncheckedCreateNestedManyWithoutUserInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedCreateNestedManyWithoutUserInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserCreateOrConnectWithoutAssetsInput = {
|
||||
@@ -1714,6 +1759,7 @@ export type UserUpdateWithoutAssetsInput = {
|
||||
apiTokens?: Prisma.ApiTokenUpdateManyWithoutUserNestedInput
|
||||
aiUsages?: Prisma.AiUsageUpdateManyWithoutUserNestedInput
|
||||
auditLogs?: Prisma.AuditLogUpdateManyWithoutUserNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserUncheckedUpdateWithoutAssetsInput = {
|
||||
@@ -1746,6 +1792,7 @@ export type UserUncheckedUpdateWithoutAssetsInput = {
|
||||
apiTokens?: Prisma.ApiTokenUncheckedUpdateManyWithoutUserNestedInput
|
||||
aiUsages?: Prisma.AiUsageUncheckedUpdateManyWithoutUserNestedInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedUpdateManyWithoutUserNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserCreateWithoutCommentsInput = {
|
||||
@@ -1778,6 +1825,7 @@ export type UserCreateWithoutCommentsInput = {
|
||||
apiTokens?: Prisma.ApiTokenCreateNestedManyWithoutUserInput
|
||||
aiUsages?: Prisma.AiUsageCreateNestedManyWithoutUserInput
|
||||
auditLogs?: Prisma.AuditLogCreateNestedManyWithoutUserInput
|
||||
quotaRecords?: Prisma.QuotaRecordCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserUncheckedCreateWithoutCommentsInput = {
|
||||
@@ -1810,6 +1858,7 @@ export type UserUncheckedCreateWithoutCommentsInput = {
|
||||
apiTokens?: Prisma.ApiTokenUncheckedCreateNestedManyWithoutUserInput
|
||||
aiUsages?: Prisma.AiUsageUncheckedCreateNestedManyWithoutUserInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedCreateNestedManyWithoutUserInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserCreateOrConnectWithoutCommentsInput = {
|
||||
@@ -1847,6 +1896,7 @@ export type UserCreateWithoutCompletionChangedCommentsInput = {
|
||||
apiTokens?: Prisma.ApiTokenCreateNestedManyWithoutUserInput
|
||||
aiUsages?: Prisma.AiUsageCreateNestedManyWithoutUserInput
|
||||
auditLogs?: Prisma.AuditLogCreateNestedManyWithoutUserInput
|
||||
quotaRecords?: Prisma.QuotaRecordCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserUncheckedCreateWithoutCompletionChangedCommentsInput = {
|
||||
@@ -1879,6 +1929,7 @@ export type UserUncheckedCreateWithoutCompletionChangedCommentsInput = {
|
||||
apiTokens?: Prisma.ApiTokenUncheckedCreateNestedManyWithoutUserInput
|
||||
aiUsages?: Prisma.AiUsageUncheckedCreateNestedManyWithoutUserInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedCreateNestedManyWithoutUserInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserCreateOrConnectWithoutCompletionChangedCommentsInput = {
|
||||
@@ -1927,6 +1978,7 @@ export type UserUpdateWithoutCommentsInput = {
|
||||
apiTokens?: Prisma.ApiTokenUpdateManyWithoutUserNestedInput
|
||||
aiUsages?: Prisma.AiUsageUpdateManyWithoutUserNestedInput
|
||||
auditLogs?: Prisma.AuditLogUpdateManyWithoutUserNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserUncheckedUpdateWithoutCommentsInput = {
|
||||
@@ -1959,6 +2011,7 @@ export type UserUncheckedUpdateWithoutCommentsInput = {
|
||||
apiTokens?: Prisma.ApiTokenUncheckedUpdateManyWithoutUserNestedInput
|
||||
aiUsages?: Prisma.AiUsageUncheckedUpdateManyWithoutUserNestedInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedUpdateManyWithoutUserNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserUpsertWithoutCompletionChangedCommentsInput = {
|
||||
@@ -2002,6 +2055,7 @@ export type UserUpdateWithoutCompletionChangedCommentsInput = {
|
||||
apiTokens?: Prisma.ApiTokenUpdateManyWithoutUserNestedInput
|
||||
aiUsages?: Prisma.AiUsageUpdateManyWithoutUserNestedInput
|
||||
auditLogs?: Prisma.AuditLogUpdateManyWithoutUserNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserUncheckedUpdateWithoutCompletionChangedCommentsInput = {
|
||||
@@ -2034,6 +2088,7 @@ export type UserUncheckedUpdateWithoutCompletionChangedCommentsInput = {
|
||||
apiTokens?: Prisma.ApiTokenUncheckedUpdateManyWithoutUserNestedInput
|
||||
aiUsages?: Prisma.AiUsageUncheckedUpdateManyWithoutUserNestedInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedUpdateManyWithoutUserNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserCreateWithoutCreatedInvitesInput = {
|
||||
@@ -2066,6 +2121,7 @@ export type UserCreateWithoutCreatedInvitesInput = {
|
||||
apiTokens?: Prisma.ApiTokenCreateNestedManyWithoutUserInput
|
||||
aiUsages?: Prisma.AiUsageCreateNestedManyWithoutUserInput
|
||||
auditLogs?: Prisma.AuditLogCreateNestedManyWithoutUserInput
|
||||
quotaRecords?: Prisma.QuotaRecordCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserUncheckedCreateWithoutCreatedInvitesInput = {
|
||||
@@ -2098,6 +2154,7 @@ export type UserUncheckedCreateWithoutCreatedInvitesInput = {
|
||||
apiTokens?: Prisma.ApiTokenUncheckedCreateNestedManyWithoutUserInput
|
||||
aiUsages?: Prisma.AiUsageUncheckedCreateNestedManyWithoutUserInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedCreateNestedManyWithoutUserInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserCreateOrConnectWithoutCreatedInvitesInput = {
|
||||
@@ -2146,6 +2203,7 @@ export type UserUpdateWithoutCreatedInvitesInput = {
|
||||
apiTokens?: Prisma.ApiTokenUpdateManyWithoutUserNestedInput
|
||||
aiUsages?: Prisma.AiUsageUpdateManyWithoutUserNestedInput
|
||||
auditLogs?: Prisma.AuditLogUpdateManyWithoutUserNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserUncheckedUpdateWithoutCreatedInvitesInput = {
|
||||
@@ -2178,6 +2236,7 @@ export type UserUncheckedUpdateWithoutCreatedInvitesInput = {
|
||||
apiTokens?: Prisma.ApiTokenUncheckedUpdateManyWithoutUserNestedInput
|
||||
aiUsages?: Prisma.AiUsageUncheckedUpdateManyWithoutUserNestedInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedUpdateManyWithoutUserNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserCreateWithoutCreatedNotificationsInput = {
|
||||
@@ -2210,6 +2269,7 @@ export type UserCreateWithoutCreatedNotificationsInput = {
|
||||
apiTokens?: Prisma.ApiTokenCreateNestedManyWithoutUserInput
|
||||
aiUsages?: Prisma.AiUsageCreateNestedManyWithoutUserInput
|
||||
auditLogs?: Prisma.AuditLogCreateNestedManyWithoutUserInput
|
||||
quotaRecords?: Prisma.QuotaRecordCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserUncheckedCreateWithoutCreatedNotificationsInput = {
|
||||
@@ -2242,6 +2302,7 @@ export type UserUncheckedCreateWithoutCreatedNotificationsInput = {
|
||||
apiTokens?: Prisma.ApiTokenUncheckedCreateNestedManyWithoutUserInput
|
||||
aiUsages?: Prisma.AiUsageUncheckedCreateNestedManyWithoutUserInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedCreateNestedManyWithoutUserInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserCreateOrConnectWithoutCreatedNotificationsInput = {
|
||||
@@ -2279,6 +2340,7 @@ export type UserCreateWithoutNotificationsInput = {
|
||||
apiTokens?: Prisma.ApiTokenCreateNestedManyWithoutUserInput
|
||||
aiUsages?: Prisma.AiUsageCreateNestedManyWithoutUserInput
|
||||
auditLogs?: Prisma.AuditLogCreateNestedManyWithoutUserInput
|
||||
quotaRecords?: Prisma.QuotaRecordCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserUncheckedCreateWithoutNotificationsInput = {
|
||||
@@ -2311,6 +2373,7 @@ export type UserUncheckedCreateWithoutNotificationsInput = {
|
||||
apiTokens?: Prisma.ApiTokenUncheckedCreateNestedManyWithoutUserInput
|
||||
aiUsages?: Prisma.AiUsageUncheckedCreateNestedManyWithoutUserInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedCreateNestedManyWithoutUserInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserCreateOrConnectWithoutNotificationsInput = {
|
||||
@@ -2359,6 +2422,7 @@ export type UserUpdateWithoutCreatedNotificationsInput = {
|
||||
apiTokens?: Prisma.ApiTokenUpdateManyWithoutUserNestedInput
|
||||
aiUsages?: Prisma.AiUsageUpdateManyWithoutUserNestedInput
|
||||
auditLogs?: Prisma.AuditLogUpdateManyWithoutUserNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserUncheckedUpdateWithoutCreatedNotificationsInput = {
|
||||
@@ -2391,6 +2455,7 @@ export type UserUncheckedUpdateWithoutCreatedNotificationsInput = {
|
||||
apiTokens?: Prisma.ApiTokenUncheckedUpdateManyWithoutUserNestedInput
|
||||
aiUsages?: Prisma.AiUsageUncheckedUpdateManyWithoutUserNestedInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedUpdateManyWithoutUserNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserUpsertWithoutNotificationsInput = {
|
||||
@@ -2434,6 +2499,7 @@ export type UserUpdateWithoutNotificationsInput = {
|
||||
apiTokens?: Prisma.ApiTokenUpdateManyWithoutUserNestedInput
|
||||
aiUsages?: Prisma.AiUsageUpdateManyWithoutUserNestedInput
|
||||
auditLogs?: Prisma.AuditLogUpdateManyWithoutUserNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserUncheckedUpdateWithoutNotificationsInput = {
|
||||
@@ -2466,6 +2532,7 @@ export type UserUncheckedUpdateWithoutNotificationsInput = {
|
||||
apiTokens?: Prisma.ApiTokenUncheckedUpdateManyWithoutUserNestedInput
|
||||
aiUsages?: Prisma.AiUsageUncheckedUpdateManyWithoutUserNestedInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedUpdateManyWithoutUserNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserCreateWithoutTasksInput = {
|
||||
@@ -2498,6 +2565,7 @@ export type UserCreateWithoutTasksInput = {
|
||||
apiTokens?: Prisma.ApiTokenCreateNestedManyWithoutUserInput
|
||||
aiUsages?: Prisma.AiUsageCreateNestedManyWithoutUserInput
|
||||
auditLogs?: Prisma.AuditLogCreateNestedManyWithoutUserInput
|
||||
quotaRecords?: Prisma.QuotaRecordCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserUncheckedCreateWithoutTasksInput = {
|
||||
@@ -2530,6 +2598,7 @@ export type UserUncheckedCreateWithoutTasksInput = {
|
||||
apiTokens?: Prisma.ApiTokenUncheckedCreateNestedManyWithoutUserInput
|
||||
aiUsages?: Prisma.AiUsageUncheckedCreateNestedManyWithoutUserInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedCreateNestedManyWithoutUserInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserCreateOrConnectWithoutTasksInput = {
|
||||
@@ -2578,6 +2647,7 @@ export type UserUpdateWithoutTasksInput = {
|
||||
apiTokens?: Prisma.ApiTokenUpdateManyWithoutUserNestedInput
|
||||
aiUsages?: Prisma.AiUsageUpdateManyWithoutUserNestedInput
|
||||
auditLogs?: Prisma.AuditLogUpdateManyWithoutUserNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserUncheckedUpdateWithoutTasksInput = {
|
||||
@@ -2610,6 +2680,7 @@ export type UserUncheckedUpdateWithoutTasksInput = {
|
||||
apiTokens?: Prisma.ApiTokenUncheckedUpdateManyWithoutUserNestedInput
|
||||
aiUsages?: Prisma.AiUsageUncheckedUpdateManyWithoutUserNestedInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedUpdateManyWithoutUserNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserCreateWithoutAgentInput = {
|
||||
@@ -2642,6 +2713,7 @@ export type UserCreateWithoutAgentInput = {
|
||||
apiTokens?: Prisma.ApiTokenCreateNestedManyWithoutUserInput
|
||||
aiUsages?: Prisma.AiUsageCreateNestedManyWithoutUserInput
|
||||
auditLogs?: Prisma.AuditLogCreateNestedManyWithoutUserInput
|
||||
quotaRecords?: Prisma.QuotaRecordCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserUncheckedCreateWithoutAgentInput = {
|
||||
@@ -2674,6 +2746,7 @@ export type UserUncheckedCreateWithoutAgentInput = {
|
||||
apiTokens?: Prisma.ApiTokenUncheckedCreateNestedManyWithoutUserInput
|
||||
aiUsages?: Prisma.AiUsageUncheckedCreateNestedManyWithoutUserInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedCreateNestedManyWithoutUserInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserCreateOrConnectWithoutAgentInput = {
|
||||
@@ -2722,6 +2795,7 @@ export type UserUpdateWithoutAgentInput = {
|
||||
apiTokens?: Prisma.ApiTokenUpdateManyWithoutUserNestedInput
|
||||
aiUsages?: Prisma.AiUsageUpdateManyWithoutUserNestedInput
|
||||
auditLogs?: Prisma.AuditLogUpdateManyWithoutUserNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserUncheckedUpdateWithoutAgentInput = {
|
||||
@@ -2754,6 +2828,7 @@ export type UserUncheckedUpdateWithoutAgentInput = {
|
||||
apiTokens?: Prisma.ApiTokenUncheckedUpdateManyWithoutUserNestedInput
|
||||
aiUsages?: Prisma.AiUsageUncheckedUpdateManyWithoutUserNestedInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedUpdateManyWithoutUserNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserCreateWithoutAgentSessionsInput = {
|
||||
@@ -2786,6 +2861,7 @@ export type UserCreateWithoutAgentSessionsInput = {
|
||||
apiTokens?: Prisma.ApiTokenCreateNestedManyWithoutUserInput
|
||||
aiUsages?: Prisma.AiUsageCreateNestedManyWithoutUserInput
|
||||
auditLogs?: Prisma.AuditLogCreateNestedManyWithoutUserInput
|
||||
quotaRecords?: Prisma.QuotaRecordCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserUncheckedCreateWithoutAgentSessionsInput = {
|
||||
@@ -2818,6 +2894,7 @@ export type UserUncheckedCreateWithoutAgentSessionsInput = {
|
||||
apiTokens?: Prisma.ApiTokenUncheckedCreateNestedManyWithoutUserInput
|
||||
aiUsages?: Prisma.AiUsageUncheckedCreateNestedManyWithoutUserInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedCreateNestedManyWithoutUserInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserCreateOrConnectWithoutAgentSessionsInput = {
|
||||
@@ -2866,6 +2943,7 @@ export type UserUpdateWithoutAgentSessionsInput = {
|
||||
apiTokens?: Prisma.ApiTokenUpdateManyWithoutUserNestedInput
|
||||
aiUsages?: Prisma.AiUsageUpdateManyWithoutUserNestedInput
|
||||
auditLogs?: Prisma.AuditLogUpdateManyWithoutUserNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserUncheckedUpdateWithoutAgentSessionsInput = {
|
||||
@@ -2898,6 +2976,7 @@ export type UserUncheckedUpdateWithoutAgentSessionsInput = {
|
||||
apiTokens?: Prisma.ApiTokenUncheckedUpdateManyWithoutUserNestedInput
|
||||
aiUsages?: Prisma.AiUsageUncheckedUpdateManyWithoutUserNestedInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedUpdateManyWithoutUserNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserCreateWithoutUserMetadataInput = {
|
||||
@@ -2930,6 +3009,7 @@ export type UserCreateWithoutUserMetadataInput = {
|
||||
apiTokens?: Prisma.ApiTokenCreateNestedManyWithoutUserInput
|
||||
aiUsages?: Prisma.AiUsageCreateNestedManyWithoutUserInput
|
||||
auditLogs?: Prisma.AuditLogCreateNestedManyWithoutUserInput
|
||||
quotaRecords?: Prisma.QuotaRecordCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserUncheckedCreateWithoutUserMetadataInput = {
|
||||
@@ -2962,6 +3042,7 @@ export type UserUncheckedCreateWithoutUserMetadataInput = {
|
||||
apiTokens?: Prisma.ApiTokenUncheckedCreateNestedManyWithoutUserInput
|
||||
aiUsages?: Prisma.AiUsageUncheckedCreateNestedManyWithoutUserInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedCreateNestedManyWithoutUserInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserCreateOrConnectWithoutUserMetadataInput = {
|
||||
@@ -3010,6 +3091,7 @@ export type UserUpdateWithoutUserMetadataInput = {
|
||||
apiTokens?: Prisma.ApiTokenUpdateManyWithoutUserNestedInput
|
||||
aiUsages?: Prisma.AiUsageUpdateManyWithoutUserNestedInput
|
||||
auditLogs?: Prisma.AuditLogUpdateManyWithoutUserNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserUncheckedUpdateWithoutUserMetadataInput = {
|
||||
@@ -3042,6 +3124,7 @@ export type UserUncheckedUpdateWithoutUserMetadataInput = {
|
||||
apiTokens?: Prisma.ApiTokenUncheckedUpdateManyWithoutUserNestedInput
|
||||
aiUsages?: Prisma.AiUsageUncheckedUpdateManyWithoutUserNestedInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedUpdateManyWithoutUserNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserCreateWithoutCollectionsInput = {
|
||||
@@ -3074,6 +3157,7 @@ export type UserCreateWithoutCollectionsInput = {
|
||||
apiTokens?: Prisma.ApiTokenCreateNestedManyWithoutUserInput
|
||||
aiUsages?: Prisma.AiUsageCreateNestedManyWithoutUserInput
|
||||
auditLogs?: Prisma.AuditLogCreateNestedManyWithoutUserInput
|
||||
quotaRecords?: Prisma.QuotaRecordCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserUncheckedCreateWithoutCollectionsInput = {
|
||||
@@ -3106,6 +3190,7 @@ export type UserUncheckedCreateWithoutCollectionsInput = {
|
||||
apiTokens?: Prisma.ApiTokenUncheckedCreateNestedManyWithoutUserInput
|
||||
aiUsages?: Prisma.AiUsageUncheckedCreateNestedManyWithoutUserInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedCreateNestedManyWithoutUserInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserCreateOrConnectWithoutCollectionsInput = {
|
||||
@@ -3154,6 +3239,7 @@ export type UserUpdateWithoutCollectionsInput = {
|
||||
apiTokens?: Prisma.ApiTokenUpdateManyWithoutUserNestedInput
|
||||
aiUsages?: Prisma.AiUsageUpdateManyWithoutUserNestedInput
|
||||
auditLogs?: Prisma.AuditLogUpdateManyWithoutUserNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserUncheckedUpdateWithoutCollectionsInput = {
|
||||
@@ -3186,6 +3272,7 @@ export type UserUncheckedUpdateWithoutCollectionsInput = {
|
||||
apiTokens?: Prisma.ApiTokenUncheckedUpdateManyWithoutUserNestedInput
|
||||
aiUsages?: Prisma.AiUsageUncheckedUpdateManyWithoutUserNestedInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedUpdateManyWithoutUserNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserCreateWithoutApiTokensInput = {
|
||||
@@ -3218,6 +3305,7 @@ export type UserCreateWithoutApiTokensInput = {
|
||||
shareLinks?: Prisma.ShareLinkCreateNestedManyWithoutCreatorInput
|
||||
aiUsages?: Prisma.AiUsageCreateNestedManyWithoutUserInput
|
||||
auditLogs?: Prisma.AuditLogCreateNestedManyWithoutUserInput
|
||||
quotaRecords?: Prisma.QuotaRecordCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserUncheckedCreateWithoutApiTokensInput = {
|
||||
@@ -3250,6 +3338,7 @@ export type UserUncheckedCreateWithoutApiTokensInput = {
|
||||
shareLinks?: Prisma.ShareLinkUncheckedCreateNestedManyWithoutCreatorInput
|
||||
aiUsages?: Prisma.AiUsageUncheckedCreateNestedManyWithoutUserInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedCreateNestedManyWithoutUserInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserCreateOrConnectWithoutApiTokensInput = {
|
||||
@@ -3298,6 +3387,7 @@ export type UserUpdateWithoutApiTokensInput = {
|
||||
shareLinks?: Prisma.ShareLinkUpdateManyWithoutCreatorNestedInput
|
||||
aiUsages?: Prisma.AiUsageUpdateManyWithoutUserNestedInput
|
||||
auditLogs?: Prisma.AuditLogUpdateManyWithoutUserNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserUncheckedUpdateWithoutApiTokensInput = {
|
||||
@@ -3330,6 +3420,7 @@ export type UserUncheckedUpdateWithoutApiTokensInput = {
|
||||
shareLinks?: Prisma.ShareLinkUncheckedUpdateManyWithoutCreatorNestedInput
|
||||
aiUsages?: Prisma.AiUsageUncheckedUpdateManyWithoutUserNestedInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedUpdateManyWithoutUserNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserCreateWithoutAiUsagesInput = {
|
||||
@@ -3362,6 +3453,7 @@ export type UserCreateWithoutAiUsagesInput = {
|
||||
shareLinks?: Prisma.ShareLinkCreateNestedManyWithoutCreatorInput
|
||||
apiTokens?: Prisma.ApiTokenCreateNestedManyWithoutUserInput
|
||||
auditLogs?: Prisma.AuditLogCreateNestedManyWithoutUserInput
|
||||
quotaRecords?: Prisma.QuotaRecordCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserUncheckedCreateWithoutAiUsagesInput = {
|
||||
@@ -3394,6 +3486,7 @@ export type UserUncheckedCreateWithoutAiUsagesInput = {
|
||||
shareLinks?: Prisma.ShareLinkUncheckedCreateNestedManyWithoutCreatorInput
|
||||
apiTokens?: Prisma.ApiTokenUncheckedCreateNestedManyWithoutUserInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedCreateNestedManyWithoutUserInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserCreateOrConnectWithoutAiUsagesInput = {
|
||||
@@ -3442,6 +3535,7 @@ export type UserUpdateWithoutAiUsagesInput = {
|
||||
shareLinks?: Prisma.ShareLinkUpdateManyWithoutCreatorNestedInput
|
||||
apiTokens?: Prisma.ApiTokenUpdateManyWithoutUserNestedInput
|
||||
auditLogs?: Prisma.AuditLogUpdateManyWithoutUserNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserUncheckedUpdateWithoutAiUsagesInput = {
|
||||
@@ -3474,6 +3568,7 @@ export type UserUncheckedUpdateWithoutAiUsagesInput = {
|
||||
shareLinks?: Prisma.ShareLinkUncheckedUpdateManyWithoutCreatorNestedInput
|
||||
apiTokens?: Prisma.ApiTokenUncheckedUpdateManyWithoutUserNestedInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedUpdateManyWithoutUserNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserCreateWithoutAuditLogsInput = {
|
||||
@@ -3506,6 +3601,7 @@ export type UserCreateWithoutAuditLogsInput = {
|
||||
shareLinks?: Prisma.ShareLinkCreateNestedManyWithoutCreatorInput
|
||||
apiTokens?: Prisma.ApiTokenCreateNestedManyWithoutUserInput
|
||||
aiUsages?: Prisma.AiUsageCreateNestedManyWithoutUserInput
|
||||
quotaRecords?: Prisma.QuotaRecordCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserUncheckedCreateWithoutAuditLogsInput = {
|
||||
@@ -3538,6 +3634,7 @@ export type UserUncheckedCreateWithoutAuditLogsInput = {
|
||||
shareLinks?: Prisma.ShareLinkUncheckedCreateNestedManyWithoutCreatorInput
|
||||
apiTokens?: Prisma.ApiTokenUncheckedCreateNestedManyWithoutUserInput
|
||||
aiUsages?: Prisma.AiUsageUncheckedCreateNestedManyWithoutUserInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserCreateOrConnectWithoutAuditLogsInput = {
|
||||
@@ -3586,6 +3683,7 @@ export type UserUpdateWithoutAuditLogsInput = {
|
||||
shareLinks?: Prisma.ShareLinkUpdateManyWithoutCreatorNestedInput
|
||||
apiTokens?: Prisma.ApiTokenUpdateManyWithoutUserNestedInput
|
||||
aiUsages?: Prisma.AiUsageUpdateManyWithoutUserNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserUncheckedUpdateWithoutAuditLogsInput = {
|
||||
@@ -3618,6 +3716,155 @@ export type UserUncheckedUpdateWithoutAuditLogsInput = {
|
||||
shareLinks?: Prisma.ShareLinkUncheckedUpdateManyWithoutCreatorNestedInput
|
||||
apiTokens?: Prisma.ApiTokenUncheckedUpdateManyWithoutUserNestedInput
|
||||
aiUsages?: Prisma.AiUsageUncheckedUpdateManyWithoutUserNestedInput
|
||||
quotaRecords?: Prisma.QuotaRecordUncheckedUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserCreateWithoutQuotaRecordsInput = {
|
||||
id?: string
|
||||
type?: $Enums.UserType
|
||||
name: string
|
||||
email: string
|
||||
emailVerified?: boolean
|
||||
image?: string | null
|
||||
password?: string | null
|
||||
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
||||
guestEmail?: string | null
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
assets?: Prisma.AssetCreateNestedManyWithoutCreatorInput
|
||||
authTokens?: Prisma.AuthTokenCreateNestedManyWithoutUserInput
|
||||
tasks?: Prisma.TaskCreateNestedManyWithoutCreatorInput
|
||||
teamMembers?: Prisma.TeamMemberCreateNestedManyWithoutUserInput
|
||||
comments?: Prisma.AssetCommentCreateNestedManyWithoutCreatorInput
|
||||
completionChangedComments?: Prisma.AssetCommentCreateNestedManyWithoutCompletionLastChangedByInput
|
||||
createdInvites?: Prisma.InviteCreateNestedManyWithoutInviterInput
|
||||
createdNotifications?: Prisma.NotificationCreateNestedManyWithoutCreatorInput
|
||||
notifications?: Prisma.NotificationCreateNestedManyWithoutUserInput
|
||||
sessions?: Prisma.SessionCreateNestedManyWithoutUserInput
|
||||
accounts?: Prisma.AccountCreateNestedManyWithoutUserInput
|
||||
agent?: Prisma.AgentCreateNestedOneWithoutUserInput
|
||||
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutUserInput
|
||||
userMetadata?: Prisma.UserMetadataCreateNestedManyWithoutUserInput
|
||||
collections?: Prisma.CollectionCreateNestedManyWithoutCreatorInput
|
||||
shareLinks?: Prisma.ShareLinkCreateNestedManyWithoutCreatorInput
|
||||
apiTokens?: Prisma.ApiTokenCreateNestedManyWithoutUserInput
|
||||
aiUsages?: Prisma.AiUsageCreateNestedManyWithoutUserInput
|
||||
auditLogs?: Prisma.AuditLogCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserUncheckedCreateWithoutQuotaRecordsInput = {
|
||||
id?: string
|
||||
type?: $Enums.UserType
|
||||
name: string
|
||||
email: string
|
||||
emailVerified?: boolean
|
||||
image?: string | null
|
||||
password?: string | null
|
||||
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
||||
guestEmail?: string | null
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
assets?: Prisma.AssetUncheckedCreateNestedManyWithoutCreatorInput
|
||||
authTokens?: Prisma.AuthTokenUncheckedCreateNestedManyWithoutUserInput
|
||||
tasks?: Prisma.TaskUncheckedCreateNestedManyWithoutCreatorInput
|
||||
teamMembers?: Prisma.TeamMemberUncheckedCreateNestedManyWithoutUserInput
|
||||
comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutCreatorInput
|
||||
completionChangedComments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutCompletionLastChangedByInput
|
||||
createdInvites?: Prisma.InviteUncheckedCreateNestedManyWithoutInviterInput
|
||||
createdNotifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutCreatorInput
|
||||
notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutUserInput
|
||||
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput
|
||||
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput
|
||||
agent?: Prisma.AgentUncheckedCreateNestedOneWithoutUserInput
|
||||
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutUserInput
|
||||
userMetadata?: Prisma.UserMetadataUncheckedCreateNestedManyWithoutUserInput
|
||||
collections?: Prisma.CollectionUncheckedCreateNestedManyWithoutCreatorInput
|
||||
shareLinks?: Prisma.ShareLinkUncheckedCreateNestedManyWithoutCreatorInput
|
||||
apiTokens?: Prisma.ApiTokenUncheckedCreateNestedManyWithoutUserInput
|
||||
aiUsages?: Prisma.AiUsageUncheckedCreateNestedManyWithoutUserInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserCreateOrConnectWithoutQuotaRecordsInput = {
|
||||
where: Prisma.UserWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.UserCreateWithoutQuotaRecordsInput, Prisma.UserUncheckedCreateWithoutQuotaRecordsInput>
|
||||
}
|
||||
|
||||
export type UserUpsertWithoutQuotaRecordsInput = {
|
||||
update: Prisma.XOR<Prisma.UserUpdateWithoutQuotaRecordsInput, Prisma.UserUncheckedUpdateWithoutQuotaRecordsInput>
|
||||
create: Prisma.XOR<Prisma.UserCreateWithoutQuotaRecordsInput, Prisma.UserUncheckedCreateWithoutQuotaRecordsInput>
|
||||
where?: Prisma.UserWhereInput
|
||||
}
|
||||
|
||||
export type UserUpdateToOneWithWhereWithoutQuotaRecordsInput = {
|
||||
where?: Prisma.UserWhereInput
|
||||
data: Prisma.XOR<Prisma.UserUpdateWithoutQuotaRecordsInput, Prisma.UserUncheckedUpdateWithoutQuotaRecordsInput>
|
||||
}
|
||||
|
||||
export type UserUpdateWithoutQuotaRecordsInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
email?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
||||
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
||||
guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
assets?: Prisma.AssetUpdateManyWithoutCreatorNestedInput
|
||||
authTokens?: Prisma.AuthTokenUpdateManyWithoutUserNestedInput
|
||||
tasks?: Prisma.TaskUpdateManyWithoutCreatorNestedInput
|
||||
teamMembers?: Prisma.TeamMemberUpdateManyWithoutUserNestedInput
|
||||
comments?: Prisma.AssetCommentUpdateManyWithoutCreatorNestedInput
|
||||
completionChangedComments?: Prisma.AssetCommentUpdateManyWithoutCompletionLastChangedByNestedInput
|
||||
createdInvites?: Prisma.InviteUpdateManyWithoutInviterNestedInput
|
||||
createdNotifications?: Prisma.NotificationUpdateManyWithoutCreatorNestedInput
|
||||
notifications?: Prisma.NotificationUpdateManyWithoutUserNestedInput
|
||||
sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput
|
||||
accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput
|
||||
agent?: Prisma.AgentUpdateOneWithoutUserNestedInput
|
||||
agentSessions?: Prisma.AgentSessionUpdateManyWithoutUserNestedInput
|
||||
userMetadata?: Prisma.UserMetadataUpdateManyWithoutUserNestedInput
|
||||
collections?: Prisma.CollectionUpdateManyWithoutCreatorNestedInput
|
||||
shareLinks?: Prisma.ShareLinkUpdateManyWithoutCreatorNestedInput
|
||||
apiTokens?: Prisma.ApiTokenUpdateManyWithoutUserNestedInput
|
||||
aiUsages?: Prisma.AiUsageUpdateManyWithoutUserNestedInput
|
||||
auditLogs?: Prisma.AuditLogUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserUncheckedUpdateWithoutQuotaRecordsInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
email?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
||||
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput
|
||||
guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
assets?: Prisma.AssetUncheckedUpdateManyWithoutCreatorNestedInput
|
||||
authTokens?: Prisma.AuthTokenUncheckedUpdateManyWithoutUserNestedInput
|
||||
tasks?: Prisma.TaskUncheckedUpdateManyWithoutCreatorNestedInput
|
||||
teamMembers?: Prisma.TeamMemberUncheckedUpdateManyWithoutUserNestedInput
|
||||
comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutCreatorNestedInput
|
||||
completionChangedComments?: Prisma.AssetCommentUncheckedUpdateManyWithoutCompletionLastChangedByNestedInput
|
||||
createdInvites?: Prisma.InviteUncheckedUpdateManyWithoutInviterNestedInput
|
||||
createdNotifications?: Prisma.NotificationUncheckedUpdateManyWithoutCreatorNestedInput
|
||||
notifications?: Prisma.NotificationUncheckedUpdateManyWithoutUserNestedInput
|
||||
sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput
|
||||
accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput
|
||||
agent?: Prisma.AgentUncheckedUpdateOneWithoutUserNestedInput
|
||||
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutUserNestedInput
|
||||
userMetadata?: Prisma.UserMetadataUncheckedUpdateManyWithoutUserNestedInput
|
||||
collections?: Prisma.CollectionUncheckedUpdateManyWithoutCreatorNestedInput
|
||||
shareLinks?: Prisma.ShareLinkUncheckedUpdateManyWithoutCreatorNestedInput
|
||||
apiTokens?: Prisma.ApiTokenUncheckedUpdateManyWithoutUserNestedInput
|
||||
aiUsages?: Prisma.AiUsageUncheckedUpdateManyWithoutUserNestedInput
|
||||
auditLogs?: Prisma.AuditLogUncheckedUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
|
||||
@@ -3644,6 +3891,7 @@ export type UserCountOutputType = {
|
||||
apiTokens: number
|
||||
aiUsages: number
|
||||
auditLogs: number
|
||||
quotaRecords: number
|
||||
}
|
||||
|
||||
export type UserCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
@@ -3665,6 +3913,7 @@ export type UserCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.I
|
||||
apiTokens?: boolean | UserCountOutputTypeCountApiTokensArgs
|
||||
aiUsages?: boolean | UserCountOutputTypeCountAiUsagesArgs
|
||||
auditLogs?: boolean | UserCountOutputTypeCountAuditLogsArgs
|
||||
quotaRecords?: boolean | UserCountOutputTypeCountQuotaRecordsArgs
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -3803,6 +4052,13 @@ export type UserCountOutputTypeCountAuditLogsArgs<ExtArgs extends runtime.Types.
|
||||
where?: Prisma.AuditLogWhereInput
|
||||
}
|
||||
|
||||
/**
|
||||
* UserCountOutputType without action
|
||||
*/
|
||||
export type UserCountOutputTypeCountQuotaRecordsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
where?: Prisma.QuotaRecordWhereInput
|
||||
}
|
||||
|
||||
|
||||
export type UserSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
||||
id?: boolean
|
||||
@@ -3835,6 +4091,7 @@ export type UserSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = r
|
||||
apiTokens?: boolean | Prisma.User$apiTokensArgs<ExtArgs>
|
||||
aiUsages?: boolean | Prisma.User$aiUsagesArgs<ExtArgs>
|
||||
auditLogs?: boolean | Prisma.User$auditLogsArgs<ExtArgs>
|
||||
quotaRecords?: boolean | Prisma.User$quotaRecordsArgs<ExtArgs>
|
||||
_count?: boolean | Prisma.UserCountOutputTypeDefaultArgs<ExtArgs>
|
||||
}, ExtArgs["result"]["user"]>
|
||||
|
||||
@@ -3901,6 +4158,7 @@ export type UserInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs =
|
||||
apiTokens?: boolean | Prisma.User$apiTokensArgs<ExtArgs>
|
||||
aiUsages?: boolean | Prisma.User$aiUsagesArgs<ExtArgs>
|
||||
auditLogs?: boolean | Prisma.User$auditLogsArgs<ExtArgs>
|
||||
quotaRecords?: boolean | Prisma.User$quotaRecordsArgs<ExtArgs>
|
||||
_count?: boolean | Prisma.UserCountOutputTypeDefaultArgs<ExtArgs>
|
||||
}
|
||||
export type UserIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
|
||||
@@ -3928,6 +4186,7 @@ export type $UserPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs =
|
||||
apiTokens: Prisma.$ApiTokenPayload<ExtArgs>[]
|
||||
aiUsages: Prisma.$AiUsagePayload<ExtArgs>[]
|
||||
auditLogs: Prisma.$AuditLogPayload<ExtArgs>[]
|
||||
quotaRecords: Prisma.$QuotaRecordPayload<ExtArgs>[]
|
||||
}
|
||||
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
||||
id: string
|
||||
@@ -4357,6 +4616,7 @@ export interface Prisma__UserClient<T, Null = never, ExtArgs extends runtime.Typ
|
||||
apiTokens<T extends Prisma.User$apiTokensArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$apiTokensArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApiTokenPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
aiUsages<T extends Prisma.User$aiUsagesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$aiUsagesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AiUsagePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
auditLogs<T extends Prisma.User$auditLogsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$auditLogsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AuditLogPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
quotaRecords<T extends Prisma.User$quotaRecordsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$quotaRecordsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$QuotaRecordPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
/**
|
||||
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
||||
* @param onfulfilled The callback to execute when the Promise is resolved.
|
||||
@@ -5240,6 +5500,30 @@ export type User$auditLogsArgs<ExtArgs extends runtime.Types.Extensions.Internal
|
||||
distinct?: Prisma.AuditLogScalarFieldEnum | Prisma.AuditLogScalarFieldEnum[]
|
||||
}
|
||||
|
||||
/**
|
||||
* User.quotaRecords
|
||||
*/
|
||||
export type User$quotaRecordsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
/**
|
||||
* Select specific fields to fetch from the QuotaRecord
|
||||
*/
|
||||
select?: Prisma.QuotaRecordSelect<ExtArgs> | null
|
||||
/**
|
||||
* Omit specific fields from the QuotaRecord
|
||||
*/
|
||||
omit?: Prisma.QuotaRecordOmit<ExtArgs> | null
|
||||
/**
|
||||
* Choose, which related nodes to fetch as well
|
||||
*/
|
||||
include?: Prisma.QuotaRecordInclude<ExtArgs> | null
|
||||
where?: Prisma.QuotaRecordWhereInput
|
||||
orderBy?: Prisma.QuotaRecordOrderByWithRelationInput | Prisma.QuotaRecordOrderByWithRelationInput[]
|
||||
cursor?: Prisma.QuotaRecordWhereUniqueInput
|
||||
take?: number
|
||||
skip?: number
|
||||
distinct?: Prisma.QuotaRecordScalarFieldEnum | Prisma.QuotaRecordScalarFieldEnum[]
|
||||
}
|
||||
|
||||
/**
|
||||
* User without action
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user