@trycompai/db 1.3.22 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +2 -2
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +4 -5
- package/dist/client.ts +5 -2
- package/dist/generated/prisma/client.d.ts +427 -0
- package/dist/generated/prisma/client.d.ts.map +1 -0
- package/dist/generated/prisma/client.js +73 -0
- package/dist/generated/prisma/commonInputTypes.d.ts +2082 -0
- package/dist/generated/prisma/commonInputTypes.d.ts.map +1 -0
- package/dist/generated/prisma/commonInputTypes.js +11 -0
- package/dist/generated/prisma/enums.d.ts +367 -0
- package/dist/generated/prisma/enums.d.ts.map +1 -0
- package/dist/generated/prisma/enums.js +329 -0
- package/dist/generated/prisma/internal/class.d.ts +1000 -0
- package/dist/generated/prisma/internal/class.d.ts.map +1 -0
- package/dist/generated/prisma/internal/class.js +87 -0
- package/dist/generated/prisma/internal/prismaNamespace.d.ts +8063 -0
- package/dist/generated/prisma/internal/prismaNamespace.d.ts.map +1 -0
- package/dist/generated/prisma/internal/prismaNamespace.js +1256 -0
- package/dist/generated/prisma/models/Account.d.ts +1456 -0
- package/dist/generated/prisma/models/Account.d.ts.map +1 -0
- package/dist/generated/prisma/models/Account.js +2 -0
- package/dist/generated/prisma/models/ApiKey.d.ts +1387 -0
- package/dist/generated/prisma/models/ApiKey.d.ts.map +1 -0
- package/dist/generated/prisma/models/ApiKey.js +2 -0
- package/dist/generated/prisma/models/Attachment.d.ts +1520 -0
- package/dist/generated/prisma/models/Attachment.d.ts.map +1 -0
- package/dist/generated/prisma/models/Attachment.js +2 -0
- package/dist/generated/prisma/models/AuditLog.d.ts +1590 -0
- package/dist/generated/prisma/models/AuditLog.d.ts.map +1 -0
- package/dist/generated/prisma/models/AuditLog.js +2 -0
- package/dist/generated/prisma/models/BrowserAutomation.d.ts +1507 -0
- package/dist/generated/prisma/models/BrowserAutomation.d.ts.map +1 -0
- package/dist/generated/prisma/models/BrowserAutomation.js +2 -0
- package/dist/generated/prisma/models/BrowserAutomationRun.d.ts +1455 -0
- package/dist/generated/prisma/models/BrowserAutomationRun.d.ts.map +1 -0
- package/dist/generated/prisma/models/BrowserAutomationRun.js +2 -0
- package/dist/generated/prisma/models/BrowserbaseContext.d.ts +1139 -0
- package/dist/generated/prisma/models/BrowserbaseContext.d.ts.map +1 -0
- package/dist/generated/prisma/models/BrowserbaseContext.js +2 -0
- package/dist/generated/prisma/models/Comment.d.ts +1502 -0
- package/dist/generated/prisma/models/Comment.d.ts.map +1 -0
- package/dist/generated/prisma/models/Comment.js +2 -0
- package/dist/generated/prisma/models/Context.d.ts +1254 -0
- package/dist/generated/prisma/models/Context.d.ts.map +1 -0
- package/dist/generated/prisma/models/Context.js +2 -0
- package/dist/generated/prisma/models/Control.d.ts +1965 -0
- package/dist/generated/prisma/models/Control.d.ts.map +1 -0
- package/dist/generated/prisma/models/Control.js +2 -0
- package/dist/generated/prisma/models/ControlDocumentType.d.ts +1115 -0
- package/dist/generated/prisma/models/ControlDocumentType.d.ts.map +1 -0
- package/dist/generated/prisma/models/ControlDocumentType.js +2 -0
- package/dist/generated/prisma/models/Device.d.ts +1858 -0
- package/dist/generated/prisma/models/Device.d.ts.map +1 -0
- package/dist/generated/prisma/models/Device.js +2 -0
- package/dist/generated/prisma/models/DynamicCheck.d.ts +1517 -0
- package/dist/generated/prisma/models/DynamicCheck.d.ts.map +1 -0
- package/dist/generated/prisma/models/DynamicCheck.js +2 -0
- package/dist/generated/prisma/models/DynamicIntegration.d.ts +1528 -0
- package/dist/generated/prisma/models/DynamicIntegration.d.ts.map +1 -0
- package/dist/generated/prisma/models/DynamicIntegration.js +2 -0
- package/dist/generated/prisma/models/EmployeeTrainingVideoCompletion.d.ts +1146 -0
- package/dist/generated/prisma/models/EmployeeTrainingVideoCompletion.d.ts.map +1 -0
- package/dist/generated/prisma/models/EmployeeTrainingVideoCompletion.js +2 -0
- package/dist/generated/prisma/models/EvidenceAutomation.d.ts +1533 -0
- package/dist/generated/prisma/models/EvidenceAutomation.d.ts.map +1 -0
- package/dist/generated/prisma/models/EvidenceAutomation.js +2 -0
- package/dist/generated/prisma/models/EvidenceAutomationRun.d.ts +1833 -0
- package/dist/generated/prisma/models/EvidenceAutomationRun.d.ts.map +1 -0
- package/dist/generated/prisma/models/EvidenceAutomationRun.js +2 -0
- package/dist/generated/prisma/models/EvidenceAutomationVersion.d.ts +1331 -0
- package/dist/generated/prisma/models/EvidenceAutomationVersion.d.ts.map +1 -0
- package/dist/generated/prisma/models/EvidenceAutomationVersion.js +2 -0
- package/dist/generated/prisma/models/EvidenceSubmission.d.ts +1905 -0
- package/dist/generated/prisma/models/EvidenceSubmission.d.ts.map +1 -0
- package/dist/generated/prisma/models/EvidenceSubmission.js +2 -0
- package/dist/generated/prisma/models/Finding.d.ts +2386 -0
- package/dist/generated/prisma/models/Finding.d.ts.map +1 -0
- package/dist/generated/prisma/models/Finding.js +2 -0
- package/dist/generated/prisma/models/FindingTemplate.d.ts +1264 -0
- package/dist/generated/prisma/models/FindingTemplate.d.ts.map +1 -0
- package/dist/generated/prisma/models/FindingTemplate.js +2 -0
- package/dist/generated/prisma/models/FleetPolicyResult.d.ts +1484 -0
- package/dist/generated/prisma/models/FleetPolicyResult.d.ts.map +1 -0
- package/dist/generated/prisma/models/FleetPolicyResult.js +2 -0
- package/dist/generated/prisma/models/FrameworkEditorControlTemplate.d.ts +1669 -0
- package/dist/generated/prisma/models/FrameworkEditorControlTemplate.d.ts.map +1 -0
- package/dist/generated/prisma/models/FrameworkEditorControlTemplate.js +2 -0
- package/dist/generated/prisma/models/FrameworkEditorFramework.d.ts +1581 -0
- package/dist/generated/prisma/models/FrameworkEditorFramework.d.ts.map +1 -0
- package/dist/generated/prisma/models/FrameworkEditorFramework.js +2 -0
- package/dist/generated/prisma/models/FrameworkEditorPolicyTemplate.d.ts +1428 -0
- package/dist/generated/prisma/models/FrameworkEditorPolicyTemplate.d.ts.map +1 -0
- package/dist/generated/prisma/models/FrameworkEditorPolicyTemplate.js +2 -0
- package/dist/generated/prisma/models/FrameworkEditorRequirement.d.ts +1525 -0
- package/dist/generated/prisma/models/FrameworkEditorRequirement.d.ts.map +1 -0
- package/dist/generated/prisma/models/FrameworkEditorRequirement.js +2 -0
- package/dist/generated/prisma/models/FrameworkEditorTaskTemplate.d.ts +1434 -0
- package/dist/generated/prisma/models/FrameworkEditorTaskTemplate.d.ts.map +1 -0
- package/dist/generated/prisma/models/FrameworkEditorTaskTemplate.js +2 -0
- package/dist/generated/prisma/models/FrameworkEditorVideo.d.ts +1054 -0
- package/dist/generated/prisma/models/FrameworkEditorVideo.d.ts.map +1 -0
- package/dist/generated/prisma/models/FrameworkEditorVideo.js +2 -0
- package/dist/generated/prisma/models/FrameworkInstance.d.ts +1321 -0
- package/dist/generated/prisma/models/FrameworkInstance.d.ts.map +1 -0
- package/dist/generated/prisma/models/FrameworkInstance.js +2 -0
- package/dist/generated/prisma/models/GlobalVendors.d.ts +1358 -0
- package/dist/generated/prisma/models/GlobalVendors.d.ts.map +1 -0
- package/dist/generated/prisma/models/GlobalVendors.js +2 -0
- package/dist/generated/prisma/models/Integration.d.ts +1363 -0
- package/dist/generated/prisma/models/Integration.d.ts.map +1 -0
- package/dist/generated/prisma/models/Integration.js +2 -0
- package/dist/generated/prisma/models/IntegrationCheckResult.d.ts +1408 -0
- package/dist/generated/prisma/models/IntegrationCheckResult.d.ts.map +1 -0
- package/dist/generated/prisma/models/IntegrationCheckResult.js +2 -0
- package/dist/generated/prisma/models/IntegrationCheckRun.d.ts +1958 -0
- package/dist/generated/prisma/models/IntegrationCheckRun.d.ts.map +1 -0
- package/dist/generated/prisma/models/IntegrationCheckRun.js +2 -0
- package/dist/generated/prisma/models/IntegrationConnection.d.ts +2472 -0
- package/dist/generated/prisma/models/IntegrationConnection.d.ts.map +1 -0
- package/dist/generated/prisma/models/IntegrationConnection.js +2 -0
- package/dist/generated/prisma/models/IntegrationCredentialVersion.d.ts +1298 -0
- package/dist/generated/prisma/models/IntegrationCredentialVersion.d.ts.map +1 -0
- package/dist/generated/prisma/models/IntegrationCredentialVersion.js +2 -0
- package/dist/generated/prisma/models/IntegrationOAuthApp.d.ts +1362 -0
- package/dist/generated/prisma/models/IntegrationOAuthApp.d.ts.map +1 -0
- package/dist/generated/prisma/models/IntegrationOAuthApp.js +2 -0
- package/dist/generated/prisma/models/IntegrationOAuthState.d.ts +1131 -0
- package/dist/generated/prisma/models/IntegrationOAuthState.d.ts.map +1 -0
- package/dist/generated/prisma/models/IntegrationOAuthState.js +2 -0
- package/dist/generated/prisma/models/IntegrationPlatformCredential.d.ts +1237 -0
- package/dist/generated/prisma/models/IntegrationPlatformCredential.d.ts.map +1 -0
- package/dist/generated/prisma/models/IntegrationPlatformCredential.js +2 -0
- package/dist/generated/prisma/models/IntegrationPlatformFinding.d.ts +1652 -0
- package/dist/generated/prisma/models/IntegrationPlatformFinding.d.ts.map +1 -0
- package/dist/generated/prisma/models/IntegrationPlatformFinding.js +2 -0
- package/dist/generated/prisma/models/IntegrationProvider.d.ts +1300 -0
- package/dist/generated/prisma/models/IntegrationProvider.d.ts.map +1 -0
- package/dist/generated/prisma/models/IntegrationProvider.js +2 -0
- package/dist/generated/prisma/models/IntegrationResult.d.ts +1539 -0
- package/dist/generated/prisma/models/IntegrationResult.d.ts.map +1 -0
- package/dist/generated/prisma/models/IntegrationResult.js +2 -0
- package/dist/generated/prisma/models/IntegrationRun.d.ts +1596 -0
- package/dist/generated/prisma/models/IntegrationRun.d.ts.map +1 -0
- package/dist/generated/prisma/models/IntegrationRun.js +2 -0
- package/dist/generated/prisma/models/IntegrationSyncLog.d.ts +1716 -0
- package/dist/generated/prisma/models/IntegrationSyncLog.d.ts.map +1 -0
- package/dist/generated/prisma/models/IntegrationSyncLog.js +2 -0
- package/dist/generated/prisma/models/Invitation.d.ts +1404 -0
- package/dist/generated/prisma/models/Invitation.d.ts.map +1 -0
- package/dist/generated/prisma/models/Invitation.js +2 -0
- package/dist/generated/prisma/models/Jwks.d.ts +998 -0
- package/dist/generated/prisma/models/Jwks.d.ts.map +1 -0
- package/dist/generated/prisma/models/Jwks.js +2 -0
- package/dist/generated/prisma/models/KnowledgeBaseDocument.d.ts +1463 -0
- package/dist/generated/prisma/models/KnowledgeBaseDocument.d.ts.map +1 -0
- package/dist/generated/prisma/models/KnowledgeBaseDocument.js +2 -0
- package/dist/generated/prisma/models/Member.d.ts +5530 -0
- package/dist/generated/prisma/models/Member.d.ts.map +1 -0
- package/dist/generated/prisma/models/Member.js +2 -0
- package/dist/generated/prisma/models/Onboarding.d.ts +1376 -0
- package/dist/generated/prisma/models/Onboarding.d.ts.map +1 -0
- package/dist/generated/prisma/models/Onboarding.js +2 -0
- package/dist/generated/prisma/models/Organization.d.ts +14367 -0
- package/dist/generated/prisma/models/Organization.d.ts.map +1 -0
- package/dist/generated/prisma/models/Organization.js +2 -0
- package/dist/generated/prisma/models/OrganizationBilling.d.ts +1222 -0
- package/dist/generated/prisma/models/OrganizationBilling.d.ts.map +1 -0
- package/dist/generated/prisma/models/OrganizationBilling.js +2 -0
- package/dist/generated/prisma/models/OrganizationChart.d.ts +1248 -0
- package/dist/generated/prisma/models/OrganizationChart.d.ts.map +1 -0
- package/dist/generated/prisma/models/OrganizationChart.js +2 -0
- package/dist/generated/prisma/models/OrganizationRole.d.ts +1251 -0
- package/dist/generated/prisma/models/OrganizationRole.d.ts.map +1 -0
- package/dist/generated/prisma/models/OrganizationRole.js +2 -0
- package/dist/generated/prisma/models/PentestSubscription.d.ts +1497 -0
- package/dist/generated/prisma/models/PentestSubscription.d.ts.map +1 -0
- package/dist/generated/prisma/models/PentestSubscription.js +2 -0
- package/dist/generated/prisma/models/Policy.d.ts +3356 -0
- package/dist/generated/prisma/models/Policy.d.ts.map +1 -0
- package/dist/generated/prisma/models/Policy.js +2 -0
- package/dist/generated/prisma/models/PolicyVersion.d.ts +1619 -0
- package/dist/generated/prisma/models/PolicyVersion.d.ts.map +1 -0
- package/dist/generated/prisma/models/PolicyVersion.js +2 -0
- package/dist/generated/prisma/models/Questionnaire.d.ts +1808 -0
- package/dist/generated/prisma/models/Questionnaire.d.ts.map +1 -0
- package/dist/generated/prisma/models/Questionnaire.js +2 -0
- package/dist/generated/prisma/models/QuestionnaireQuestionAnswer.d.ts +1422 -0
- package/dist/generated/prisma/models/QuestionnaireQuestionAnswer.d.ts.map +1 -0
- package/dist/generated/prisma/models/QuestionnaireQuestionAnswer.js +2 -0
- package/dist/generated/prisma/models/RequirementMap.d.ts +1345 -0
- package/dist/generated/prisma/models/RequirementMap.d.ts.map +1 -0
- package/dist/generated/prisma/models/RequirementMap.js +2 -0
- package/dist/generated/prisma/models/Risk.d.ts +1975 -0
- package/dist/generated/prisma/models/Risk.d.ts.map +1 -0
- package/dist/generated/prisma/models/Risk.js +2 -0
- package/dist/generated/prisma/models/RoleNotificationSetting.d.ts +1391 -0
- package/dist/generated/prisma/models/RoleNotificationSetting.d.ts.map +1 -0
- package/dist/generated/prisma/models/RoleNotificationSetting.js +2 -0
- package/dist/generated/prisma/models/SOAAnswer.d.ts +1498 -0
- package/dist/generated/prisma/models/SOAAnswer.d.ts.map +1 -0
- package/dist/generated/prisma/models/SOAAnswer.js +2 -0
- package/dist/generated/prisma/models/SOADocument.d.ts +2272 -0
- package/dist/generated/prisma/models/SOADocument.d.ts.map +1 -0
- package/dist/generated/prisma/models/SOADocument.js +2 -0
- package/dist/generated/prisma/models/SOAFrameworkConfiguration.d.ts +1445 -0
- package/dist/generated/prisma/models/SOAFrameworkConfiguration.d.ts.map +1 -0
- package/dist/generated/prisma/models/SOAFrameworkConfiguration.js +2 -0
- package/dist/generated/prisma/models/Secret.d.ts +1321 -0
- package/dist/generated/prisma/models/Secret.d.ts.map +1 -0
- package/dist/generated/prisma/models/Secret.js +2 -0
- package/dist/generated/prisma/models/SecurityPenetrationTestRun.d.ts +1176 -0
- package/dist/generated/prisma/models/SecurityPenetrationTestRun.d.ts.map +1 -0
- package/dist/generated/prisma/models/SecurityPenetrationTestRun.js +2 -0
- package/dist/generated/prisma/models/SecurityQuestionnaireManualAnswer.d.ts +1510 -0
- package/dist/generated/prisma/models/SecurityQuestionnaireManualAnswer.d.ts.map +1 -0
- package/dist/generated/prisma/models/SecurityQuestionnaireManualAnswer.js +2 -0
- package/dist/generated/prisma/models/Session.d.ts +1351 -0
- package/dist/generated/prisma/models/Session.d.ts.map +1 -0
- package/dist/generated/prisma/models/Session.js +2 -0
- package/dist/generated/prisma/models/Task.d.ts +3980 -0
- package/dist/generated/prisma/models/Task.d.ts.map +1 -0
- package/dist/generated/prisma/models/Task.js +2 -0
- package/dist/generated/prisma/models/TaskItem.d.ts +1961 -0
- package/dist/generated/prisma/models/TaskItem.d.ts.map +1 -0
- package/dist/generated/prisma/models/TaskItem.js +2 -0
- package/dist/generated/prisma/models/Trust.d.ts +2242 -0
- package/dist/generated/prisma/models/Trust.d.ts.map +1 -0
- package/dist/generated/prisma/models/Trust.js +2 -0
- package/dist/generated/prisma/models/TrustAccessGrant.d.ts +1888 -0
- package/dist/generated/prisma/models/TrustAccessGrant.d.ts.map +1 -0
- package/dist/generated/prisma/models/TrustAccessGrant.js +2 -0
- package/dist/generated/prisma/models/TrustAccessRequest.d.ts +2103 -0
- package/dist/generated/prisma/models/TrustAccessRequest.d.ts.map +1 -0
- package/dist/generated/prisma/models/TrustAccessRequest.js +2 -0
- package/dist/generated/prisma/models/TrustCustomLink.d.ts +1354 -0
- package/dist/generated/prisma/models/TrustCustomLink.d.ts.map +1 -0
- package/dist/generated/prisma/models/TrustCustomLink.js +2 -0
- package/dist/generated/prisma/models/TrustDocument.d.ts +1281 -0
- package/dist/generated/prisma/models/TrustDocument.d.ts.map +1 -0
- package/dist/generated/prisma/models/TrustDocument.js +2 -0
- package/dist/generated/prisma/models/TrustNDAAgreement.d.ts +1877 -0
- package/dist/generated/prisma/models/TrustNDAAgreement.d.ts.map +1 -0
- package/dist/generated/prisma/models/TrustNDAAgreement.js +2 -0
- package/dist/generated/prisma/models/TrustResource.d.ts +1328 -0
- package/dist/generated/prisma/models/TrustResource.d.ts.map +1 -0
- package/dist/generated/prisma/models/TrustResource.js +2 -0
- package/dist/generated/prisma/models/User.d.ts +3070 -0
- package/dist/generated/prisma/models/User.d.ts.map +1 -0
- package/dist/generated/prisma/models/User.js +2 -0
- package/dist/generated/prisma/models/Vendor.d.ts +2307 -0
- package/dist/generated/prisma/models/Vendor.d.ts.map +1 -0
- package/dist/generated/prisma/models/Vendor.js +2 -0
- package/dist/generated/prisma/models/VendorContact.d.ts +1246 -0
- package/dist/generated/prisma/models/VendorContact.d.ts.map +1 -0
- package/dist/generated/prisma/models/VendorContact.js +2 -0
- package/dist/generated/prisma/models/Verification.d.ts +1026 -0
- package/dist/generated/prisma/models/Verification.d.ts.map +1 -0
- package/dist/generated/prisma/models/Verification.js +2 -0
- package/dist/generated/prisma/models.d.ts +82 -0
- package/dist/generated/prisma/models.d.ts.map +1 -0
- package/dist/generated/prisma/models.js +2 -0
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -3
- package/dist/index.ts +1 -2
- package/dist/postinstall.js +1 -1
- package/dist/schema.prisma +455 -39
- package/package.json +56 -55
|
@@ -0,0 +1,2386 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as $Enums from "../enums.js";
|
|
3
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
4
|
+
/**
|
|
5
|
+
* Model Finding
|
|
6
|
+
*
|
|
7
|
+
*/
|
|
8
|
+
export type FindingModel = runtime.Types.Result.DefaultSelection<Prisma.$FindingPayload>;
|
|
9
|
+
export type AggregateFinding = {
|
|
10
|
+
_count: FindingCountAggregateOutputType | null;
|
|
11
|
+
_min: FindingMinAggregateOutputType | null;
|
|
12
|
+
_max: FindingMaxAggregateOutputType | null;
|
|
13
|
+
};
|
|
14
|
+
export type FindingMinAggregateOutputType = {
|
|
15
|
+
id: string | null;
|
|
16
|
+
type: $Enums.FindingType | null;
|
|
17
|
+
status: $Enums.FindingStatus | null;
|
|
18
|
+
content: string | null;
|
|
19
|
+
revisionNote: string | null;
|
|
20
|
+
createdAt: Date | null;
|
|
21
|
+
updatedAt: Date | null;
|
|
22
|
+
taskId: string | null;
|
|
23
|
+
evidenceSubmissionId: string | null;
|
|
24
|
+
evidenceFormType: $Enums.EvidenceFormType | null;
|
|
25
|
+
templateId: string | null;
|
|
26
|
+
createdById: string | null;
|
|
27
|
+
createdByAdminId: string | null;
|
|
28
|
+
organizationId: string | null;
|
|
29
|
+
};
|
|
30
|
+
export type FindingMaxAggregateOutputType = {
|
|
31
|
+
id: string | null;
|
|
32
|
+
type: $Enums.FindingType | null;
|
|
33
|
+
status: $Enums.FindingStatus | null;
|
|
34
|
+
content: string | null;
|
|
35
|
+
revisionNote: string | null;
|
|
36
|
+
createdAt: Date | null;
|
|
37
|
+
updatedAt: Date | null;
|
|
38
|
+
taskId: string | null;
|
|
39
|
+
evidenceSubmissionId: string | null;
|
|
40
|
+
evidenceFormType: $Enums.EvidenceFormType | null;
|
|
41
|
+
templateId: string | null;
|
|
42
|
+
createdById: string | null;
|
|
43
|
+
createdByAdminId: string | null;
|
|
44
|
+
organizationId: string | null;
|
|
45
|
+
};
|
|
46
|
+
export type FindingCountAggregateOutputType = {
|
|
47
|
+
id: number;
|
|
48
|
+
type: number;
|
|
49
|
+
status: number;
|
|
50
|
+
content: number;
|
|
51
|
+
revisionNote: number;
|
|
52
|
+
createdAt: number;
|
|
53
|
+
updatedAt: number;
|
|
54
|
+
taskId: number;
|
|
55
|
+
evidenceSubmissionId: number;
|
|
56
|
+
evidenceFormType: number;
|
|
57
|
+
templateId: number;
|
|
58
|
+
createdById: number;
|
|
59
|
+
createdByAdminId: number;
|
|
60
|
+
organizationId: number;
|
|
61
|
+
_all: number;
|
|
62
|
+
};
|
|
63
|
+
export type FindingMinAggregateInputType = {
|
|
64
|
+
id?: true;
|
|
65
|
+
type?: true;
|
|
66
|
+
status?: true;
|
|
67
|
+
content?: true;
|
|
68
|
+
revisionNote?: true;
|
|
69
|
+
createdAt?: true;
|
|
70
|
+
updatedAt?: true;
|
|
71
|
+
taskId?: true;
|
|
72
|
+
evidenceSubmissionId?: true;
|
|
73
|
+
evidenceFormType?: true;
|
|
74
|
+
templateId?: true;
|
|
75
|
+
createdById?: true;
|
|
76
|
+
createdByAdminId?: true;
|
|
77
|
+
organizationId?: true;
|
|
78
|
+
};
|
|
79
|
+
export type FindingMaxAggregateInputType = {
|
|
80
|
+
id?: true;
|
|
81
|
+
type?: true;
|
|
82
|
+
status?: true;
|
|
83
|
+
content?: true;
|
|
84
|
+
revisionNote?: true;
|
|
85
|
+
createdAt?: true;
|
|
86
|
+
updatedAt?: true;
|
|
87
|
+
taskId?: true;
|
|
88
|
+
evidenceSubmissionId?: true;
|
|
89
|
+
evidenceFormType?: true;
|
|
90
|
+
templateId?: true;
|
|
91
|
+
createdById?: true;
|
|
92
|
+
createdByAdminId?: true;
|
|
93
|
+
organizationId?: true;
|
|
94
|
+
};
|
|
95
|
+
export type FindingCountAggregateInputType = {
|
|
96
|
+
id?: true;
|
|
97
|
+
type?: true;
|
|
98
|
+
status?: true;
|
|
99
|
+
content?: true;
|
|
100
|
+
revisionNote?: true;
|
|
101
|
+
createdAt?: true;
|
|
102
|
+
updatedAt?: true;
|
|
103
|
+
taskId?: true;
|
|
104
|
+
evidenceSubmissionId?: true;
|
|
105
|
+
evidenceFormType?: true;
|
|
106
|
+
templateId?: true;
|
|
107
|
+
createdById?: true;
|
|
108
|
+
createdByAdminId?: true;
|
|
109
|
+
organizationId?: true;
|
|
110
|
+
_all?: true;
|
|
111
|
+
};
|
|
112
|
+
export type FindingAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
113
|
+
/**
|
|
114
|
+
* Filter which Finding to aggregate.
|
|
115
|
+
*/
|
|
116
|
+
where?: Prisma.FindingWhereInput;
|
|
117
|
+
/**
|
|
118
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
119
|
+
*
|
|
120
|
+
* Determine the order of Findings to fetch.
|
|
121
|
+
*/
|
|
122
|
+
orderBy?: Prisma.FindingOrderByWithRelationInput | Prisma.FindingOrderByWithRelationInput[];
|
|
123
|
+
/**
|
|
124
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
125
|
+
*
|
|
126
|
+
* Sets the start position
|
|
127
|
+
*/
|
|
128
|
+
cursor?: Prisma.FindingWhereUniqueInput;
|
|
129
|
+
/**
|
|
130
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
131
|
+
*
|
|
132
|
+
* Take `±n` Findings from the position of the cursor.
|
|
133
|
+
*/
|
|
134
|
+
take?: number;
|
|
135
|
+
/**
|
|
136
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
137
|
+
*
|
|
138
|
+
* Skip the first `n` Findings.
|
|
139
|
+
*/
|
|
140
|
+
skip?: number;
|
|
141
|
+
/**
|
|
142
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
143
|
+
*
|
|
144
|
+
* Count returned Findings
|
|
145
|
+
**/
|
|
146
|
+
_count?: true | FindingCountAggregateInputType;
|
|
147
|
+
/**
|
|
148
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
149
|
+
*
|
|
150
|
+
* Select which fields to find the minimum value
|
|
151
|
+
**/
|
|
152
|
+
_min?: FindingMinAggregateInputType;
|
|
153
|
+
/**
|
|
154
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
155
|
+
*
|
|
156
|
+
* Select which fields to find the maximum value
|
|
157
|
+
**/
|
|
158
|
+
_max?: FindingMaxAggregateInputType;
|
|
159
|
+
};
|
|
160
|
+
export type GetFindingAggregateType<T extends FindingAggregateArgs> = {
|
|
161
|
+
[P in keyof T & keyof AggregateFinding]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateFinding[P]> : Prisma.GetScalarType<T[P], AggregateFinding[P]>;
|
|
162
|
+
};
|
|
163
|
+
export type FindingGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
164
|
+
where?: Prisma.FindingWhereInput;
|
|
165
|
+
orderBy?: Prisma.FindingOrderByWithAggregationInput | Prisma.FindingOrderByWithAggregationInput[];
|
|
166
|
+
by: Prisma.FindingScalarFieldEnum[] | Prisma.FindingScalarFieldEnum;
|
|
167
|
+
having?: Prisma.FindingScalarWhereWithAggregatesInput;
|
|
168
|
+
take?: number;
|
|
169
|
+
skip?: number;
|
|
170
|
+
_count?: FindingCountAggregateInputType | true;
|
|
171
|
+
_min?: FindingMinAggregateInputType;
|
|
172
|
+
_max?: FindingMaxAggregateInputType;
|
|
173
|
+
};
|
|
174
|
+
export type FindingGroupByOutputType = {
|
|
175
|
+
id: string;
|
|
176
|
+
type: $Enums.FindingType;
|
|
177
|
+
status: $Enums.FindingStatus;
|
|
178
|
+
content: string;
|
|
179
|
+
revisionNote: string | null;
|
|
180
|
+
createdAt: Date;
|
|
181
|
+
updatedAt: Date;
|
|
182
|
+
taskId: string | null;
|
|
183
|
+
evidenceSubmissionId: string | null;
|
|
184
|
+
evidenceFormType: $Enums.EvidenceFormType | null;
|
|
185
|
+
templateId: string | null;
|
|
186
|
+
createdById: string | null;
|
|
187
|
+
createdByAdminId: string | null;
|
|
188
|
+
organizationId: string;
|
|
189
|
+
_count: FindingCountAggregateOutputType | null;
|
|
190
|
+
_min: FindingMinAggregateOutputType | null;
|
|
191
|
+
_max: FindingMaxAggregateOutputType | null;
|
|
192
|
+
};
|
|
193
|
+
export type GetFindingGroupByPayload<T extends FindingGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<FindingGroupByOutputType, T['by']> & {
|
|
194
|
+
[P in ((keyof T) & (keyof FindingGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], FindingGroupByOutputType[P]> : Prisma.GetScalarType<T[P], FindingGroupByOutputType[P]>;
|
|
195
|
+
}>>;
|
|
196
|
+
export type FindingWhereInput = {
|
|
197
|
+
AND?: Prisma.FindingWhereInput | Prisma.FindingWhereInput[];
|
|
198
|
+
OR?: Prisma.FindingWhereInput[];
|
|
199
|
+
NOT?: Prisma.FindingWhereInput | Prisma.FindingWhereInput[];
|
|
200
|
+
id?: Prisma.StringFilter<"Finding"> | string;
|
|
201
|
+
type?: Prisma.EnumFindingTypeFilter<"Finding"> | $Enums.FindingType;
|
|
202
|
+
status?: Prisma.EnumFindingStatusFilter<"Finding"> | $Enums.FindingStatus;
|
|
203
|
+
content?: Prisma.StringFilter<"Finding"> | string;
|
|
204
|
+
revisionNote?: Prisma.StringNullableFilter<"Finding"> | string | null;
|
|
205
|
+
createdAt?: Prisma.DateTimeFilter<"Finding"> | Date | string;
|
|
206
|
+
updatedAt?: Prisma.DateTimeFilter<"Finding"> | Date | string;
|
|
207
|
+
taskId?: Prisma.StringNullableFilter<"Finding"> | string | null;
|
|
208
|
+
evidenceSubmissionId?: Prisma.StringNullableFilter<"Finding"> | string | null;
|
|
209
|
+
evidenceFormType?: Prisma.EnumEvidenceFormTypeNullableFilter<"Finding"> | $Enums.EvidenceFormType | null;
|
|
210
|
+
templateId?: Prisma.StringNullableFilter<"Finding"> | string | null;
|
|
211
|
+
createdById?: Prisma.StringNullableFilter<"Finding"> | string | null;
|
|
212
|
+
createdByAdminId?: Prisma.StringNullableFilter<"Finding"> | string | null;
|
|
213
|
+
organizationId?: Prisma.StringFilter<"Finding"> | string;
|
|
214
|
+
task?: Prisma.XOR<Prisma.TaskNullableScalarRelationFilter, Prisma.TaskWhereInput> | null;
|
|
215
|
+
evidenceSubmission?: Prisma.XOR<Prisma.EvidenceSubmissionNullableScalarRelationFilter, Prisma.EvidenceSubmissionWhereInput> | null;
|
|
216
|
+
template?: Prisma.XOR<Prisma.FindingTemplateNullableScalarRelationFilter, Prisma.FindingTemplateWhereInput> | null;
|
|
217
|
+
createdBy?: Prisma.XOR<Prisma.MemberNullableScalarRelationFilter, Prisma.MemberWhereInput> | null;
|
|
218
|
+
createdByAdmin?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null;
|
|
219
|
+
organization?: Prisma.XOR<Prisma.OrganizationScalarRelationFilter, Prisma.OrganizationWhereInput>;
|
|
220
|
+
};
|
|
221
|
+
export type FindingOrderByWithRelationInput = {
|
|
222
|
+
id?: Prisma.SortOrder;
|
|
223
|
+
type?: Prisma.SortOrder;
|
|
224
|
+
status?: Prisma.SortOrder;
|
|
225
|
+
content?: Prisma.SortOrder;
|
|
226
|
+
revisionNote?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
227
|
+
createdAt?: Prisma.SortOrder;
|
|
228
|
+
updatedAt?: Prisma.SortOrder;
|
|
229
|
+
taskId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
230
|
+
evidenceSubmissionId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
231
|
+
evidenceFormType?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
232
|
+
templateId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
233
|
+
createdById?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
234
|
+
createdByAdminId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
235
|
+
organizationId?: Prisma.SortOrder;
|
|
236
|
+
task?: Prisma.TaskOrderByWithRelationInput;
|
|
237
|
+
evidenceSubmission?: Prisma.EvidenceSubmissionOrderByWithRelationInput;
|
|
238
|
+
template?: Prisma.FindingTemplateOrderByWithRelationInput;
|
|
239
|
+
createdBy?: Prisma.MemberOrderByWithRelationInput;
|
|
240
|
+
createdByAdmin?: Prisma.UserOrderByWithRelationInput;
|
|
241
|
+
organization?: Prisma.OrganizationOrderByWithRelationInput;
|
|
242
|
+
};
|
|
243
|
+
export type FindingWhereUniqueInput = Prisma.AtLeast<{
|
|
244
|
+
id?: string;
|
|
245
|
+
AND?: Prisma.FindingWhereInput | Prisma.FindingWhereInput[];
|
|
246
|
+
OR?: Prisma.FindingWhereInput[];
|
|
247
|
+
NOT?: Prisma.FindingWhereInput | Prisma.FindingWhereInput[];
|
|
248
|
+
type?: Prisma.EnumFindingTypeFilter<"Finding"> | $Enums.FindingType;
|
|
249
|
+
status?: Prisma.EnumFindingStatusFilter<"Finding"> | $Enums.FindingStatus;
|
|
250
|
+
content?: Prisma.StringFilter<"Finding"> | string;
|
|
251
|
+
revisionNote?: Prisma.StringNullableFilter<"Finding"> | string | null;
|
|
252
|
+
createdAt?: Prisma.DateTimeFilter<"Finding"> | Date | string;
|
|
253
|
+
updatedAt?: Prisma.DateTimeFilter<"Finding"> | Date | string;
|
|
254
|
+
taskId?: Prisma.StringNullableFilter<"Finding"> | string | null;
|
|
255
|
+
evidenceSubmissionId?: Prisma.StringNullableFilter<"Finding"> | string | null;
|
|
256
|
+
evidenceFormType?: Prisma.EnumEvidenceFormTypeNullableFilter<"Finding"> | $Enums.EvidenceFormType | null;
|
|
257
|
+
templateId?: Prisma.StringNullableFilter<"Finding"> | string | null;
|
|
258
|
+
createdById?: Prisma.StringNullableFilter<"Finding"> | string | null;
|
|
259
|
+
createdByAdminId?: Prisma.StringNullableFilter<"Finding"> | string | null;
|
|
260
|
+
organizationId?: Prisma.StringFilter<"Finding"> | string;
|
|
261
|
+
task?: Prisma.XOR<Prisma.TaskNullableScalarRelationFilter, Prisma.TaskWhereInput> | null;
|
|
262
|
+
evidenceSubmission?: Prisma.XOR<Prisma.EvidenceSubmissionNullableScalarRelationFilter, Prisma.EvidenceSubmissionWhereInput> | null;
|
|
263
|
+
template?: Prisma.XOR<Prisma.FindingTemplateNullableScalarRelationFilter, Prisma.FindingTemplateWhereInput> | null;
|
|
264
|
+
createdBy?: Prisma.XOR<Prisma.MemberNullableScalarRelationFilter, Prisma.MemberWhereInput> | null;
|
|
265
|
+
createdByAdmin?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null;
|
|
266
|
+
organization?: Prisma.XOR<Prisma.OrganizationScalarRelationFilter, Prisma.OrganizationWhereInput>;
|
|
267
|
+
}, "id">;
|
|
268
|
+
export type FindingOrderByWithAggregationInput = {
|
|
269
|
+
id?: Prisma.SortOrder;
|
|
270
|
+
type?: Prisma.SortOrder;
|
|
271
|
+
status?: Prisma.SortOrder;
|
|
272
|
+
content?: Prisma.SortOrder;
|
|
273
|
+
revisionNote?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
274
|
+
createdAt?: Prisma.SortOrder;
|
|
275
|
+
updatedAt?: Prisma.SortOrder;
|
|
276
|
+
taskId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
277
|
+
evidenceSubmissionId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
278
|
+
evidenceFormType?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
279
|
+
templateId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
280
|
+
createdById?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
281
|
+
createdByAdminId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
282
|
+
organizationId?: Prisma.SortOrder;
|
|
283
|
+
_count?: Prisma.FindingCountOrderByAggregateInput;
|
|
284
|
+
_max?: Prisma.FindingMaxOrderByAggregateInput;
|
|
285
|
+
_min?: Prisma.FindingMinOrderByAggregateInput;
|
|
286
|
+
};
|
|
287
|
+
export type FindingScalarWhereWithAggregatesInput = {
|
|
288
|
+
AND?: Prisma.FindingScalarWhereWithAggregatesInput | Prisma.FindingScalarWhereWithAggregatesInput[];
|
|
289
|
+
OR?: Prisma.FindingScalarWhereWithAggregatesInput[];
|
|
290
|
+
NOT?: Prisma.FindingScalarWhereWithAggregatesInput | Prisma.FindingScalarWhereWithAggregatesInput[];
|
|
291
|
+
id?: Prisma.StringWithAggregatesFilter<"Finding"> | string;
|
|
292
|
+
type?: Prisma.EnumFindingTypeWithAggregatesFilter<"Finding"> | $Enums.FindingType;
|
|
293
|
+
status?: Prisma.EnumFindingStatusWithAggregatesFilter<"Finding"> | $Enums.FindingStatus;
|
|
294
|
+
content?: Prisma.StringWithAggregatesFilter<"Finding"> | string;
|
|
295
|
+
revisionNote?: Prisma.StringNullableWithAggregatesFilter<"Finding"> | string | null;
|
|
296
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"Finding"> | Date | string;
|
|
297
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Finding"> | Date | string;
|
|
298
|
+
taskId?: Prisma.StringNullableWithAggregatesFilter<"Finding"> | string | null;
|
|
299
|
+
evidenceSubmissionId?: Prisma.StringNullableWithAggregatesFilter<"Finding"> | string | null;
|
|
300
|
+
evidenceFormType?: Prisma.EnumEvidenceFormTypeNullableWithAggregatesFilter<"Finding"> | $Enums.EvidenceFormType | null;
|
|
301
|
+
templateId?: Prisma.StringNullableWithAggregatesFilter<"Finding"> | string | null;
|
|
302
|
+
createdById?: Prisma.StringNullableWithAggregatesFilter<"Finding"> | string | null;
|
|
303
|
+
createdByAdminId?: Prisma.StringNullableWithAggregatesFilter<"Finding"> | string | null;
|
|
304
|
+
organizationId?: Prisma.StringWithAggregatesFilter<"Finding"> | string;
|
|
305
|
+
};
|
|
306
|
+
export type FindingCreateInput = {
|
|
307
|
+
id?: string;
|
|
308
|
+
type?: $Enums.FindingType;
|
|
309
|
+
status?: $Enums.FindingStatus;
|
|
310
|
+
content: string;
|
|
311
|
+
revisionNote?: string | null;
|
|
312
|
+
createdAt?: Date | string;
|
|
313
|
+
updatedAt?: Date | string;
|
|
314
|
+
evidenceFormType?: $Enums.EvidenceFormType | null;
|
|
315
|
+
task?: Prisma.TaskCreateNestedOneWithoutFindingsInput;
|
|
316
|
+
evidenceSubmission?: Prisma.EvidenceSubmissionCreateNestedOneWithoutFindingsInput;
|
|
317
|
+
template?: Prisma.FindingTemplateCreateNestedOneWithoutFindingsInput;
|
|
318
|
+
createdBy?: Prisma.MemberCreateNestedOneWithoutCreatedFindingsInput;
|
|
319
|
+
createdByAdmin?: Prisma.UserCreateNestedOneWithoutAdminFindingsInput;
|
|
320
|
+
organization: Prisma.OrganizationCreateNestedOneWithoutFindingsInput;
|
|
321
|
+
};
|
|
322
|
+
export type FindingUncheckedCreateInput = {
|
|
323
|
+
id?: string;
|
|
324
|
+
type?: $Enums.FindingType;
|
|
325
|
+
status?: $Enums.FindingStatus;
|
|
326
|
+
content: string;
|
|
327
|
+
revisionNote?: string | null;
|
|
328
|
+
createdAt?: Date | string;
|
|
329
|
+
updatedAt?: Date | string;
|
|
330
|
+
taskId?: string | null;
|
|
331
|
+
evidenceSubmissionId?: string | null;
|
|
332
|
+
evidenceFormType?: $Enums.EvidenceFormType | null;
|
|
333
|
+
templateId?: string | null;
|
|
334
|
+
createdById?: string | null;
|
|
335
|
+
createdByAdminId?: string | null;
|
|
336
|
+
organizationId: string;
|
|
337
|
+
};
|
|
338
|
+
export type FindingUpdateInput = {
|
|
339
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
340
|
+
type?: Prisma.EnumFindingTypeFieldUpdateOperationsInput | $Enums.FindingType;
|
|
341
|
+
status?: Prisma.EnumFindingStatusFieldUpdateOperationsInput | $Enums.FindingStatus;
|
|
342
|
+
content?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
343
|
+
revisionNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
344
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
345
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
346
|
+
evidenceFormType?: Prisma.NullableEnumEvidenceFormTypeFieldUpdateOperationsInput | $Enums.EvidenceFormType | null;
|
|
347
|
+
task?: Prisma.TaskUpdateOneWithoutFindingsNestedInput;
|
|
348
|
+
evidenceSubmission?: Prisma.EvidenceSubmissionUpdateOneWithoutFindingsNestedInput;
|
|
349
|
+
template?: Prisma.FindingTemplateUpdateOneWithoutFindingsNestedInput;
|
|
350
|
+
createdBy?: Prisma.MemberUpdateOneWithoutCreatedFindingsNestedInput;
|
|
351
|
+
createdByAdmin?: Prisma.UserUpdateOneWithoutAdminFindingsNestedInput;
|
|
352
|
+
organization?: Prisma.OrganizationUpdateOneRequiredWithoutFindingsNestedInput;
|
|
353
|
+
};
|
|
354
|
+
export type FindingUncheckedUpdateInput = {
|
|
355
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
356
|
+
type?: Prisma.EnumFindingTypeFieldUpdateOperationsInput | $Enums.FindingType;
|
|
357
|
+
status?: Prisma.EnumFindingStatusFieldUpdateOperationsInput | $Enums.FindingStatus;
|
|
358
|
+
content?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
359
|
+
revisionNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
360
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
361
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
362
|
+
taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
363
|
+
evidenceSubmissionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
364
|
+
evidenceFormType?: Prisma.NullableEnumEvidenceFormTypeFieldUpdateOperationsInput | $Enums.EvidenceFormType | null;
|
|
365
|
+
templateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
366
|
+
createdById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
367
|
+
createdByAdminId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
368
|
+
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
369
|
+
};
|
|
370
|
+
export type FindingCreateManyInput = {
|
|
371
|
+
id?: string;
|
|
372
|
+
type?: $Enums.FindingType;
|
|
373
|
+
status?: $Enums.FindingStatus;
|
|
374
|
+
content: string;
|
|
375
|
+
revisionNote?: string | null;
|
|
376
|
+
createdAt?: Date | string;
|
|
377
|
+
updatedAt?: Date | string;
|
|
378
|
+
taskId?: string | null;
|
|
379
|
+
evidenceSubmissionId?: string | null;
|
|
380
|
+
evidenceFormType?: $Enums.EvidenceFormType | null;
|
|
381
|
+
templateId?: string | null;
|
|
382
|
+
createdById?: string | null;
|
|
383
|
+
createdByAdminId?: string | null;
|
|
384
|
+
organizationId: string;
|
|
385
|
+
};
|
|
386
|
+
export type FindingUpdateManyMutationInput = {
|
|
387
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
388
|
+
type?: Prisma.EnumFindingTypeFieldUpdateOperationsInput | $Enums.FindingType;
|
|
389
|
+
status?: Prisma.EnumFindingStatusFieldUpdateOperationsInput | $Enums.FindingStatus;
|
|
390
|
+
content?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
391
|
+
revisionNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
392
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
393
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
394
|
+
evidenceFormType?: Prisma.NullableEnumEvidenceFormTypeFieldUpdateOperationsInput | $Enums.EvidenceFormType | null;
|
|
395
|
+
};
|
|
396
|
+
export type FindingUncheckedUpdateManyInput = {
|
|
397
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
398
|
+
type?: Prisma.EnumFindingTypeFieldUpdateOperationsInput | $Enums.FindingType;
|
|
399
|
+
status?: Prisma.EnumFindingStatusFieldUpdateOperationsInput | $Enums.FindingStatus;
|
|
400
|
+
content?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
401
|
+
revisionNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
402
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
403
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
404
|
+
taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
405
|
+
evidenceSubmissionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
406
|
+
evidenceFormType?: Prisma.NullableEnumEvidenceFormTypeFieldUpdateOperationsInput | $Enums.EvidenceFormType | null;
|
|
407
|
+
templateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
408
|
+
createdById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
409
|
+
createdByAdminId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
410
|
+
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
411
|
+
};
|
|
412
|
+
export type FindingListRelationFilter = {
|
|
413
|
+
every?: Prisma.FindingWhereInput;
|
|
414
|
+
some?: Prisma.FindingWhereInput;
|
|
415
|
+
none?: Prisma.FindingWhereInput;
|
|
416
|
+
};
|
|
417
|
+
export type FindingOrderByRelationAggregateInput = {
|
|
418
|
+
_count?: Prisma.SortOrder;
|
|
419
|
+
};
|
|
420
|
+
export type FindingCountOrderByAggregateInput = {
|
|
421
|
+
id?: Prisma.SortOrder;
|
|
422
|
+
type?: Prisma.SortOrder;
|
|
423
|
+
status?: Prisma.SortOrder;
|
|
424
|
+
content?: Prisma.SortOrder;
|
|
425
|
+
revisionNote?: Prisma.SortOrder;
|
|
426
|
+
createdAt?: Prisma.SortOrder;
|
|
427
|
+
updatedAt?: Prisma.SortOrder;
|
|
428
|
+
taskId?: Prisma.SortOrder;
|
|
429
|
+
evidenceSubmissionId?: Prisma.SortOrder;
|
|
430
|
+
evidenceFormType?: Prisma.SortOrder;
|
|
431
|
+
templateId?: Prisma.SortOrder;
|
|
432
|
+
createdById?: Prisma.SortOrder;
|
|
433
|
+
createdByAdminId?: Prisma.SortOrder;
|
|
434
|
+
organizationId?: Prisma.SortOrder;
|
|
435
|
+
};
|
|
436
|
+
export type FindingMaxOrderByAggregateInput = {
|
|
437
|
+
id?: Prisma.SortOrder;
|
|
438
|
+
type?: Prisma.SortOrder;
|
|
439
|
+
status?: Prisma.SortOrder;
|
|
440
|
+
content?: Prisma.SortOrder;
|
|
441
|
+
revisionNote?: Prisma.SortOrder;
|
|
442
|
+
createdAt?: Prisma.SortOrder;
|
|
443
|
+
updatedAt?: Prisma.SortOrder;
|
|
444
|
+
taskId?: Prisma.SortOrder;
|
|
445
|
+
evidenceSubmissionId?: Prisma.SortOrder;
|
|
446
|
+
evidenceFormType?: Prisma.SortOrder;
|
|
447
|
+
templateId?: Prisma.SortOrder;
|
|
448
|
+
createdById?: Prisma.SortOrder;
|
|
449
|
+
createdByAdminId?: Prisma.SortOrder;
|
|
450
|
+
organizationId?: Prisma.SortOrder;
|
|
451
|
+
};
|
|
452
|
+
export type FindingMinOrderByAggregateInput = {
|
|
453
|
+
id?: Prisma.SortOrder;
|
|
454
|
+
type?: Prisma.SortOrder;
|
|
455
|
+
status?: Prisma.SortOrder;
|
|
456
|
+
content?: Prisma.SortOrder;
|
|
457
|
+
revisionNote?: Prisma.SortOrder;
|
|
458
|
+
createdAt?: Prisma.SortOrder;
|
|
459
|
+
updatedAt?: Prisma.SortOrder;
|
|
460
|
+
taskId?: Prisma.SortOrder;
|
|
461
|
+
evidenceSubmissionId?: Prisma.SortOrder;
|
|
462
|
+
evidenceFormType?: Prisma.SortOrder;
|
|
463
|
+
templateId?: Prisma.SortOrder;
|
|
464
|
+
createdById?: Prisma.SortOrder;
|
|
465
|
+
createdByAdminId?: Prisma.SortOrder;
|
|
466
|
+
organizationId?: Prisma.SortOrder;
|
|
467
|
+
};
|
|
468
|
+
export type FindingCreateNestedManyWithoutCreatedByAdminInput = {
|
|
469
|
+
create?: Prisma.XOR<Prisma.FindingCreateWithoutCreatedByAdminInput, Prisma.FindingUncheckedCreateWithoutCreatedByAdminInput> | Prisma.FindingCreateWithoutCreatedByAdminInput[] | Prisma.FindingUncheckedCreateWithoutCreatedByAdminInput[];
|
|
470
|
+
connectOrCreate?: Prisma.FindingCreateOrConnectWithoutCreatedByAdminInput | Prisma.FindingCreateOrConnectWithoutCreatedByAdminInput[];
|
|
471
|
+
createMany?: Prisma.FindingCreateManyCreatedByAdminInputEnvelope;
|
|
472
|
+
connect?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
473
|
+
};
|
|
474
|
+
export type FindingUncheckedCreateNestedManyWithoutCreatedByAdminInput = {
|
|
475
|
+
create?: Prisma.XOR<Prisma.FindingCreateWithoutCreatedByAdminInput, Prisma.FindingUncheckedCreateWithoutCreatedByAdminInput> | Prisma.FindingCreateWithoutCreatedByAdminInput[] | Prisma.FindingUncheckedCreateWithoutCreatedByAdminInput[];
|
|
476
|
+
connectOrCreate?: Prisma.FindingCreateOrConnectWithoutCreatedByAdminInput | Prisma.FindingCreateOrConnectWithoutCreatedByAdminInput[];
|
|
477
|
+
createMany?: Prisma.FindingCreateManyCreatedByAdminInputEnvelope;
|
|
478
|
+
connect?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
479
|
+
};
|
|
480
|
+
export type FindingUpdateManyWithoutCreatedByAdminNestedInput = {
|
|
481
|
+
create?: Prisma.XOR<Prisma.FindingCreateWithoutCreatedByAdminInput, Prisma.FindingUncheckedCreateWithoutCreatedByAdminInput> | Prisma.FindingCreateWithoutCreatedByAdminInput[] | Prisma.FindingUncheckedCreateWithoutCreatedByAdminInput[];
|
|
482
|
+
connectOrCreate?: Prisma.FindingCreateOrConnectWithoutCreatedByAdminInput | Prisma.FindingCreateOrConnectWithoutCreatedByAdminInput[];
|
|
483
|
+
upsert?: Prisma.FindingUpsertWithWhereUniqueWithoutCreatedByAdminInput | Prisma.FindingUpsertWithWhereUniqueWithoutCreatedByAdminInput[];
|
|
484
|
+
createMany?: Prisma.FindingCreateManyCreatedByAdminInputEnvelope;
|
|
485
|
+
set?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
486
|
+
disconnect?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
487
|
+
delete?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
488
|
+
connect?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
489
|
+
update?: Prisma.FindingUpdateWithWhereUniqueWithoutCreatedByAdminInput | Prisma.FindingUpdateWithWhereUniqueWithoutCreatedByAdminInput[];
|
|
490
|
+
updateMany?: Prisma.FindingUpdateManyWithWhereWithoutCreatedByAdminInput | Prisma.FindingUpdateManyWithWhereWithoutCreatedByAdminInput[];
|
|
491
|
+
deleteMany?: Prisma.FindingScalarWhereInput | Prisma.FindingScalarWhereInput[];
|
|
492
|
+
};
|
|
493
|
+
export type FindingUncheckedUpdateManyWithoutCreatedByAdminNestedInput = {
|
|
494
|
+
create?: Prisma.XOR<Prisma.FindingCreateWithoutCreatedByAdminInput, Prisma.FindingUncheckedCreateWithoutCreatedByAdminInput> | Prisma.FindingCreateWithoutCreatedByAdminInput[] | Prisma.FindingUncheckedCreateWithoutCreatedByAdminInput[];
|
|
495
|
+
connectOrCreate?: Prisma.FindingCreateOrConnectWithoutCreatedByAdminInput | Prisma.FindingCreateOrConnectWithoutCreatedByAdminInput[];
|
|
496
|
+
upsert?: Prisma.FindingUpsertWithWhereUniqueWithoutCreatedByAdminInput | Prisma.FindingUpsertWithWhereUniqueWithoutCreatedByAdminInput[];
|
|
497
|
+
createMany?: Prisma.FindingCreateManyCreatedByAdminInputEnvelope;
|
|
498
|
+
set?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
499
|
+
disconnect?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
500
|
+
delete?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
501
|
+
connect?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
502
|
+
update?: Prisma.FindingUpdateWithWhereUniqueWithoutCreatedByAdminInput | Prisma.FindingUpdateWithWhereUniqueWithoutCreatedByAdminInput[];
|
|
503
|
+
updateMany?: Prisma.FindingUpdateManyWithWhereWithoutCreatedByAdminInput | Prisma.FindingUpdateManyWithWhereWithoutCreatedByAdminInput[];
|
|
504
|
+
deleteMany?: Prisma.FindingScalarWhereInput | Prisma.FindingScalarWhereInput[];
|
|
505
|
+
};
|
|
506
|
+
export type FindingCreateNestedManyWithoutCreatedByInput = {
|
|
507
|
+
create?: Prisma.XOR<Prisma.FindingCreateWithoutCreatedByInput, Prisma.FindingUncheckedCreateWithoutCreatedByInput> | Prisma.FindingCreateWithoutCreatedByInput[] | Prisma.FindingUncheckedCreateWithoutCreatedByInput[];
|
|
508
|
+
connectOrCreate?: Prisma.FindingCreateOrConnectWithoutCreatedByInput | Prisma.FindingCreateOrConnectWithoutCreatedByInput[];
|
|
509
|
+
createMany?: Prisma.FindingCreateManyCreatedByInputEnvelope;
|
|
510
|
+
connect?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
511
|
+
};
|
|
512
|
+
export type FindingUncheckedCreateNestedManyWithoutCreatedByInput = {
|
|
513
|
+
create?: Prisma.XOR<Prisma.FindingCreateWithoutCreatedByInput, Prisma.FindingUncheckedCreateWithoutCreatedByInput> | Prisma.FindingCreateWithoutCreatedByInput[] | Prisma.FindingUncheckedCreateWithoutCreatedByInput[];
|
|
514
|
+
connectOrCreate?: Prisma.FindingCreateOrConnectWithoutCreatedByInput | Prisma.FindingCreateOrConnectWithoutCreatedByInput[];
|
|
515
|
+
createMany?: Prisma.FindingCreateManyCreatedByInputEnvelope;
|
|
516
|
+
connect?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
517
|
+
};
|
|
518
|
+
export type FindingUpdateManyWithoutCreatedByNestedInput = {
|
|
519
|
+
create?: Prisma.XOR<Prisma.FindingCreateWithoutCreatedByInput, Prisma.FindingUncheckedCreateWithoutCreatedByInput> | Prisma.FindingCreateWithoutCreatedByInput[] | Prisma.FindingUncheckedCreateWithoutCreatedByInput[];
|
|
520
|
+
connectOrCreate?: Prisma.FindingCreateOrConnectWithoutCreatedByInput | Prisma.FindingCreateOrConnectWithoutCreatedByInput[];
|
|
521
|
+
upsert?: Prisma.FindingUpsertWithWhereUniqueWithoutCreatedByInput | Prisma.FindingUpsertWithWhereUniqueWithoutCreatedByInput[];
|
|
522
|
+
createMany?: Prisma.FindingCreateManyCreatedByInputEnvelope;
|
|
523
|
+
set?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
524
|
+
disconnect?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
525
|
+
delete?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
526
|
+
connect?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
527
|
+
update?: Prisma.FindingUpdateWithWhereUniqueWithoutCreatedByInput | Prisma.FindingUpdateWithWhereUniqueWithoutCreatedByInput[];
|
|
528
|
+
updateMany?: Prisma.FindingUpdateManyWithWhereWithoutCreatedByInput | Prisma.FindingUpdateManyWithWhereWithoutCreatedByInput[];
|
|
529
|
+
deleteMany?: Prisma.FindingScalarWhereInput | Prisma.FindingScalarWhereInput[];
|
|
530
|
+
};
|
|
531
|
+
export type FindingUncheckedUpdateManyWithoutCreatedByNestedInput = {
|
|
532
|
+
create?: Prisma.XOR<Prisma.FindingCreateWithoutCreatedByInput, Prisma.FindingUncheckedCreateWithoutCreatedByInput> | Prisma.FindingCreateWithoutCreatedByInput[] | Prisma.FindingUncheckedCreateWithoutCreatedByInput[];
|
|
533
|
+
connectOrCreate?: Prisma.FindingCreateOrConnectWithoutCreatedByInput | Prisma.FindingCreateOrConnectWithoutCreatedByInput[];
|
|
534
|
+
upsert?: Prisma.FindingUpsertWithWhereUniqueWithoutCreatedByInput | Prisma.FindingUpsertWithWhereUniqueWithoutCreatedByInput[];
|
|
535
|
+
createMany?: Prisma.FindingCreateManyCreatedByInputEnvelope;
|
|
536
|
+
set?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
537
|
+
disconnect?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
538
|
+
delete?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
539
|
+
connect?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
540
|
+
update?: Prisma.FindingUpdateWithWhereUniqueWithoutCreatedByInput | Prisma.FindingUpdateWithWhereUniqueWithoutCreatedByInput[];
|
|
541
|
+
updateMany?: Prisma.FindingUpdateManyWithWhereWithoutCreatedByInput | Prisma.FindingUpdateManyWithWhereWithoutCreatedByInput[];
|
|
542
|
+
deleteMany?: Prisma.FindingScalarWhereInput | Prisma.FindingScalarWhereInput[];
|
|
543
|
+
};
|
|
544
|
+
export type FindingCreateNestedManyWithoutEvidenceSubmissionInput = {
|
|
545
|
+
create?: Prisma.XOR<Prisma.FindingCreateWithoutEvidenceSubmissionInput, Prisma.FindingUncheckedCreateWithoutEvidenceSubmissionInput> | Prisma.FindingCreateWithoutEvidenceSubmissionInput[] | Prisma.FindingUncheckedCreateWithoutEvidenceSubmissionInput[];
|
|
546
|
+
connectOrCreate?: Prisma.FindingCreateOrConnectWithoutEvidenceSubmissionInput | Prisma.FindingCreateOrConnectWithoutEvidenceSubmissionInput[];
|
|
547
|
+
createMany?: Prisma.FindingCreateManyEvidenceSubmissionInputEnvelope;
|
|
548
|
+
connect?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
549
|
+
};
|
|
550
|
+
export type FindingUncheckedCreateNestedManyWithoutEvidenceSubmissionInput = {
|
|
551
|
+
create?: Prisma.XOR<Prisma.FindingCreateWithoutEvidenceSubmissionInput, Prisma.FindingUncheckedCreateWithoutEvidenceSubmissionInput> | Prisma.FindingCreateWithoutEvidenceSubmissionInput[] | Prisma.FindingUncheckedCreateWithoutEvidenceSubmissionInput[];
|
|
552
|
+
connectOrCreate?: Prisma.FindingCreateOrConnectWithoutEvidenceSubmissionInput | Prisma.FindingCreateOrConnectWithoutEvidenceSubmissionInput[];
|
|
553
|
+
createMany?: Prisma.FindingCreateManyEvidenceSubmissionInputEnvelope;
|
|
554
|
+
connect?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
555
|
+
};
|
|
556
|
+
export type FindingUpdateManyWithoutEvidenceSubmissionNestedInput = {
|
|
557
|
+
create?: Prisma.XOR<Prisma.FindingCreateWithoutEvidenceSubmissionInput, Prisma.FindingUncheckedCreateWithoutEvidenceSubmissionInput> | Prisma.FindingCreateWithoutEvidenceSubmissionInput[] | Prisma.FindingUncheckedCreateWithoutEvidenceSubmissionInput[];
|
|
558
|
+
connectOrCreate?: Prisma.FindingCreateOrConnectWithoutEvidenceSubmissionInput | Prisma.FindingCreateOrConnectWithoutEvidenceSubmissionInput[];
|
|
559
|
+
upsert?: Prisma.FindingUpsertWithWhereUniqueWithoutEvidenceSubmissionInput | Prisma.FindingUpsertWithWhereUniqueWithoutEvidenceSubmissionInput[];
|
|
560
|
+
createMany?: Prisma.FindingCreateManyEvidenceSubmissionInputEnvelope;
|
|
561
|
+
set?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
562
|
+
disconnect?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
563
|
+
delete?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
564
|
+
connect?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
565
|
+
update?: Prisma.FindingUpdateWithWhereUniqueWithoutEvidenceSubmissionInput | Prisma.FindingUpdateWithWhereUniqueWithoutEvidenceSubmissionInput[];
|
|
566
|
+
updateMany?: Prisma.FindingUpdateManyWithWhereWithoutEvidenceSubmissionInput | Prisma.FindingUpdateManyWithWhereWithoutEvidenceSubmissionInput[];
|
|
567
|
+
deleteMany?: Prisma.FindingScalarWhereInput | Prisma.FindingScalarWhereInput[];
|
|
568
|
+
};
|
|
569
|
+
export type FindingUncheckedUpdateManyWithoutEvidenceSubmissionNestedInput = {
|
|
570
|
+
create?: Prisma.XOR<Prisma.FindingCreateWithoutEvidenceSubmissionInput, Prisma.FindingUncheckedCreateWithoutEvidenceSubmissionInput> | Prisma.FindingCreateWithoutEvidenceSubmissionInput[] | Prisma.FindingUncheckedCreateWithoutEvidenceSubmissionInput[];
|
|
571
|
+
connectOrCreate?: Prisma.FindingCreateOrConnectWithoutEvidenceSubmissionInput | Prisma.FindingCreateOrConnectWithoutEvidenceSubmissionInput[];
|
|
572
|
+
upsert?: Prisma.FindingUpsertWithWhereUniqueWithoutEvidenceSubmissionInput | Prisma.FindingUpsertWithWhereUniqueWithoutEvidenceSubmissionInput[];
|
|
573
|
+
createMany?: Prisma.FindingCreateManyEvidenceSubmissionInputEnvelope;
|
|
574
|
+
set?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
575
|
+
disconnect?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
576
|
+
delete?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
577
|
+
connect?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
578
|
+
update?: Prisma.FindingUpdateWithWhereUniqueWithoutEvidenceSubmissionInput | Prisma.FindingUpdateWithWhereUniqueWithoutEvidenceSubmissionInput[];
|
|
579
|
+
updateMany?: Prisma.FindingUpdateManyWithWhereWithoutEvidenceSubmissionInput | Prisma.FindingUpdateManyWithWhereWithoutEvidenceSubmissionInput[];
|
|
580
|
+
deleteMany?: Prisma.FindingScalarWhereInput | Prisma.FindingScalarWhereInput[];
|
|
581
|
+
};
|
|
582
|
+
export type FindingCreateNestedManyWithoutTemplateInput = {
|
|
583
|
+
create?: Prisma.XOR<Prisma.FindingCreateWithoutTemplateInput, Prisma.FindingUncheckedCreateWithoutTemplateInput> | Prisma.FindingCreateWithoutTemplateInput[] | Prisma.FindingUncheckedCreateWithoutTemplateInput[];
|
|
584
|
+
connectOrCreate?: Prisma.FindingCreateOrConnectWithoutTemplateInput | Prisma.FindingCreateOrConnectWithoutTemplateInput[];
|
|
585
|
+
createMany?: Prisma.FindingCreateManyTemplateInputEnvelope;
|
|
586
|
+
connect?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
587
|
+
};
|
|
588
|
+
export type FindingUncheckedCreateNestedManyWithoutTemplateInput = {
|
|
589
|
+
create?: Prisma.XOR<Prisma.FindingCreateWithoutTemplateInput, Prisma.FindingUncheckedCreateWithoutTemplateInput> | Prisma.FindingCreateWithoutTemplateInput[] | Prisma.FindingUncheckedCreateWithoutTemplateInput[];
|
|
590
|
+
connectOrCreate?: Prisma.FindingCreateOrConnectWithoutTemplateInput | Prisma.FindingCreateOrConnectWithoutTemplateInput[];
|
|
591
|
+
createMany?: Prisma.FindingCreateManyTemplateInputEnvelope;
|
|
592
|
+
connect?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
593
|
+
};
|
|
594
|
+
export type FindingUpdateManyWithoutTemplateNestedInput = {
|
|
595
|
+
create?: Prisma.XOR<Prisma.FindingCreateWithoutTemplateInput, Prisma.FindingUncheckedCreateWithoutTemplateInput> | Prisma.FindingCreateWithoutTemplateInput[] | Prisma.FindingUncheckedCreateWithoutTemplateInput[];
|
|
596
|
+
connectOrCreate?: Prisma.FindingCreateOrConnectWithoutTemplateInput | Prisma.FindingCreateOrConnectWithoutTemplateInput[];
|
|
597
|
+
upsert?: Prisma.FindingUpsertWithWhereUniqueWithoutTemplateInput | Prisma.FindingUpsertWithWhereUniqueWithoutTemplateInput[];
|
|
598
|
+
createMany?: Prisma.FindingCreateManyTemplateInputEnvelope;
|
|
599
|
+
set?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
600
|
+
disconnect?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
601
|
+
delete?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
602
|
+
connect?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
603
|
+
update?: Prisma.FindingUpdateWithWhereUniqueWithoutTemplateInput | Prisma.FindingUpdateWithWhereUniqueWithoutTemplateInput[];
|
|
604
|
+
updateMany?: Prisma.FindingUpdateManyWithWhereWithoutTemplateInput | Prisma.FindingUpdateManyWithWhereWithoutTemplateInput[];
|
|
605
|
+
deleteMany?: Prisma.FindingScalarWhereInput | Prisma.FindingScalarWhereInput[];
|
|
606
|
+
};
|
|
607
|
+
export type FindingUncheckedUpdateManyWithoutTemplateNestedInput = {
|
|
608
|
+
create?: Prisma.XOR<Prisma.FindingCreateWithoutTemplateInput, Prisma.FindingUncheckedCreateWithoutTemplateInput> | Prisma.FindingCreateWithoutTemplateInput[] | Prisma.FindingUncheckedCreateWithoutTemplateInput[];
|
|
609
|
+
connectOrCreate?: Prisma.FindingCreateOrConnectWithoutTemplateInput | Prisma.FindingCreateOrConnectWithoutTemplateInput[];
|
|
610
|
+
upsert?: Prisma.FindingUpsertWithWhereUniqueWithoutTemplateInput | Prisma.FindingUpsertWithWhereUniqueWithoutTemplateInput[];
|
|
611
|
+
createMany?: Prisma.FindingCreateManyTemplateInputEnvelope;
|
|
612
|
+
set?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
613
|
+
disconnect?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
614
|
+
delete?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
615
|
+
connect?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
616
|
+
update?: Prisma.FindingUpdateWithWhereUniqueWithoutTemplateInput | Prisma.FindingUpdateWithWhereUniqueWithoutTemplateInput[];
|
|
617
|
+
updateMany?: Prisma.FindingUpdateManyWithWhereWithoutTemplateInput | Prisma.FindingUpdateManyWithWhereWithoutTemplateInput[];
|
|
618
|
+
deleteMany?: Prisma.FindingScalarWhereInput | Prisma.FindingScalarWhereInput[];
|
|
619
|
+
};
|
|
620
|
+
export type EnumFindingTypeFieldUpdateOperationsInput = {
|
|
621
|
+
set?: $Enums.FindingType;
|
|
622
|
+
};
|
|
623
|
+
export type EnumFindingStatusFieldUpdateOperationsInput = {
|
|
624
|
+
set?: $Enums.FindingStatus;
|
|
625
|
+
};
|
|
626
|
+
export type NullableEnumEvidenceFormTypeFieldUpdateOperationsInput = {
|
|
627
|
+
set?: $Enums.EvidenceFormType | null;
|
|
628
|
+
};
|
|
629
|
+
export type FindingCreateNestedManyWithoutOrganizationInput = {
|
|
630
|
+
create?: Prisma.XOR<Prisma.FindingCreateWithoutOrganizationInput, Prisma.FindingUncheckedCreateWithoutOrganizationInput> | Prisma.FindingCreateWithoutOrganizationInput[] | Prisma.FindingUncheckedCreateWithoutOrganizationInput[];
|
|
631
|
+
connectOrCreate?: Prisma.FindingCreateOrConnectWithoutOrganizationInput | Prisma.FindingCreateOrConnectWithoutOrganizationInput[];
|
|
632
|
+
createMany?: Prisma.FindingCreateManyOrganizationInputEnvelope;
|
|
633
|
+
connect?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
634
|
+
};
|
|
635
|
+
export type FindingUncheckedCreateNestedManyWithoutOrganizationInput = {
|
|
636
|
+
create?: Prisma.XOR<Prisma.FindingCreateWithoutOrganizationInput, Prisma.FindingUncheckedCreateWithoutOrganizationInput> | Prisma.FindingCreateWithoutOrganizationInput[] | Prisma.FindingUncheckedCreateWithoutOrganizationInput[];
|
|
637
|
+
connectOrCreate?: Prisma.FindingCreateOrConnectWithoutOrganizationInput | Prisma.FindingCreateOrConnectWithoutOrganizationInput[];
|
|
638
|
+
createMany?: Prisma.FindingCreateManyOrganizationInputEnvelope;
|
|
639
|
+
connect?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
640
|
+
};
|
|
641
|
+
export type FindingUpdateManyWithoutOrganizationNestedInput = {
|
|
642
|
+
create?: Prisma.XOR<Prisma.FindingCreateWithoutOrganizationInput, Prisma.FindingUncheckedCreateWithoutOrganizationInput> | Prisma.FindingCreateWithoutOrganizationInput[] | Prisma.FindingUncheckedCreateWithoutOrganizationInput[];
|
|
643
|
+
connectOrCreate?: Prisma.FindingCreateOrConnectWithoutOrganizationInput | Prisma.FindingCreateOrConnectWithoutOrganizationInput[];
|
|
644
|
+
upsert?: Prisma.FindingUpsertWithWhereUniqueWithoutOrganizationInput | Prisma.FindingUpsertWithWhereUniqueWithoutOrganizationInput[];
|
|
645
|
+
createMany?: Prisma.FindingCreateManyOrganizationInputEnvelope;
|
|
646
|
+
set?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
647
|
+
disconnect?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
648
|
+
delete?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
649
|
+
connect?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
650
|
+
update?: Prisma.FindingUpdateWithWhereUniqueWithoutOrganizationInput | Prisma.FindingUpdateWithWhereUniqueWithoutOrganizationInput[];
|
|
651
|
+
updateMany?: Prisma.FindingUpdateManyWithWhereWithoutOrganizationInput | Prisma.FindingUpdateManyWithWhereWithoutOrganizationInput[];
|
|
652
|
+
deleteMany?: Prisma.FindingScalarWhereInput | Prisma.FindingScalarWhereInput[];
|
|
653
|
+
};
|
|
654
|
+
export type FindingUncheckedUpdateManyWithoutOrganizationNestedInput = {
|
|
655
|
+
create?: Prisma.XOR<Prisma.FindingCreateWithoutOrganizationInput, Prisma.FindingUncheckedCreateWithoutOrganizationInput> | Prisma.FindingCreateWithoutOrganizationInput[] | Prisma.FindingUncheckedCreateWithoutOrganizationInput[];
|
|
656
|
+
connectOrCreate?: Prisma.FindingCreateOrConnectWithoutOrganizationInput | Prisma.FindingCreateOrConnectWithoutOrganizationInput[];
|
|
657
|
+
upsert?: Prisma.FindingUpsertWithWhereUniqueWithoutOrganizationInput | Prisma.FindingUpsertWithWhereUniqueWithoutOrganizationInput[];
|
|
658
|
+
createMany?: Prisma.FindingCreateManyOrganizationInputEnvelope;
|
|
659
|
+
set?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
660
|
+
disconnect?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
661
|
+
delete?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
662
|
+
connect?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
663
|
+
update?: Prisma.FindingUpdateWithWhereUniqueWithoutOrganizationInput | Prisma.FindingUpdateWithWhereUniqueWithoutOrganizationInput[];
|
|
664
|
+
updateMany?: Prisma.FindingUpdateManyWithWhereWithoutOrganizationInput | Prisma.FindingUpdateManyWithWhereWithoutOrganizationInput[];
|
|
665
|
+
deleteMany?: Prisma.FindingScalarWhereInput | Prisma.FindingScalarWhereInput[];
|
|
666
|
+
};
|
|
667
|
+
export type FindingCreateNestedManyWithoutTaskInput = {
|
|
668
|
+
create?: Prisma.XOR<Prisma.FindingCreateWithoutTaskInput, Prisma.FindingUncheckedCreateWithoutTaskInput> | Prisma.FindingCreateWithoutTaskInput[] | Prisma.FindingUncheckedCreateWithoutTaskInput[];
|
|
669
|
+
connectOrCreate?: Prisma.FindingCreateOrConnectWithoutTaskInput | Prisma.FindingCreateOrConnectWithoutTaskInput[];
|
|
670
|
+
createMany?: Prisma.FindingCreateManyTaskInputEnvelope;
|
|
671
|
+
connect?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
672
|
+
};
|
|
673
|
+
export type FindingUncheckedCreateNestedManyWithoutTaskInput = {
|
|
674
|
+
create?: Prisma.XOR<Prisma.FindingCreateWithoutTaskInput, Prisma.FindingUncheckedCreateWithoutTaskInput> | Prisma.FindingCreateWithoutTaskInput[] | Prisma.FindingUncheckedCreateWithoutTaskInput[];
|
|
675
|
+
connectOrCreate?: Prisma.FindingCreateOrConnectWithoutTaskInput | Prisma.FindingCreateOrConnectWithoutTaskInput[];
|
|
676
|
+
createMany?: Prisma.FindingCreateManyTaskInputEnvelope;
|
|
677
|
+
connect?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
678
|
+
};
|
|
679
|
+
export type FindingUpdateManyWithoutTaskNestedInput = {
|
|
680
|
+
create?: Prisma.XOR<Prisma.FindingCreateWithoutTaskInput, Prisma.FindingUncheckedCreateWithoutTaskInput> | Prisma.FindingCreateWithoutTaskInput[] | Prisma.FindingUncheckedCreateWithoutTaskInput[];
|
|
681
|
+
connectOrCreate?: Prisma.FindingCreateOrConnectWithoutTaskInput | Prisma.FindingCreateOrConnectWithoutTaskInput[];
|
|
682
|
+
upsert?: Prisma.FindingUpsertWithWhereUniqueWithoutTaskInput | Prisma.FindingUpsertWithWhereUniqueWithoutTaskInput[];
|
|
683
|
+
createMany?: Prisma.FindingCreateManyTaskInputEnvelope;
|
|
684
|
+
set?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
685
|
+
disconnect?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
686
|
+
delete?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
687
|
+
connect?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
688
|
+
update?: Prisma.FindingUpdateWithWhereUniqueWithoutTaskInput | Prisma.FindingUpdateWithWhereUniqueWithoutTaskInput[];
|
|
689
|
+
updateMany?: Prisma.FindingUpdateManyWithWhereWithoutTaskInput | Prisma.FindingUpdateManyWithWhereWithoutTaskInput[];
|
|
690
|
+
deleteMany?: Prisma.FindingScalarWhereInput | Prisma.FindingScalarWhereInput[];
|
|
691
|
+
};
|
|
692
|
+
export type FindingUncheckedUpdateManyWithoutTaskNestedInput = {
|
|
693
|
+
create?: Prisma.XOR<Prisma.FindingCreateWithoutTaskInput, Prisma.FindingUncheckedCreateWithoutTaskInput> | Prisma.FindingCreateWithoutTaskInput[] | Prisma.FindingUncheckedCreateWithoutTaskInput[];
|
|
694
|
+
connectOrCreate?: Prisma.FindingCreateOrConnectWithoutTaskInput | Prisma.FindingCreateOrConnectWithoutTaskInput[];
|
|
695
|
+
upsert?: Prisma.FindingUpsertWithWhereUniqueWithoutTaskInput | Prisma.FindingUpsertWithWhereUniqueWithoutTaskInput[];
|
|
696
|
+
createMany?: Prisma.FindingCreateManyTaskInputEnvelope;
|
|
697
|
+
set?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
698
|
+
disconnect?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
699
|
+
delete?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
700
|
+
connect?: Prisma.FindingWhereUniqueInput | Prisma.FindingWhereUniqueInput[];
|
|
701
|
+
update?: Prisma.FindingUpdateWithWhereUniqueWithoutTaskInput | Prisma.FindingUpdateWithWhereUniqueWithoutTaskInput[];
|
|
702
|
+
updateMany?: Prisma.FindingUpdateManyWithWhereWithoutTaskInput | Prisma.FindingUpdateManyWithWhereWithoutTaskInput[];
|
|
703
|
+
deleteMany?: Prisma.FindingScalarWhereInput | Prisma.FindingScalarWhereInput[];
|
|
704
|
+
};
|
|
705
|
+
export type FindingCreateWithoutCreatedByAdminInput = {
|
|
706
|
+
id?: string;
|
|
707
|
+
type?: $Enums.FindingType;
|
|
708
|
+
status?: $Enums.FindingStatus;
|
|
709
|
+
content: string;
|
|
710
|
+
revisionNote?: string | null;
|
|
711
|
+
createdAt?: Date | string;
|
|
712
|
+
updatedAt?: Date | string;
|
|
713
|
+
evidenceFormType?: $Enums.EvidenceFormType | null;
|
|
714
|
+
task?: Prisma.TaskCreateNestedOneWithoutFindingsInput;
|
|
715
|
+
evidenceSubmission?: Prisma.EvidenceSubmissionCreateNestedOneWithoutFindingsInput;
|
|
716
|
+
template?: Prisma.FindingTemplateCreateNestedOneWithoutFindingsInput;
|
|
717
|
+
createdBy?: Prisma.MemberCreateNestedOneWithoutCreatedFindingsInput;
|
|
718
|
+
organization: Prisma.OrganizationCreateNestedOneWithoutFindingsInput;
|
|
719
|
+
};
|
|
720
|
+
export type FindingUncheckedCreateWithoutCreatedByAdminInput = {
|
|
721
|
+
id?: string;
|
|
722
|
+
type?: $Enums.FindingType;
|
|
723
|
+
status?: $Enums.FindingStatus;
|
|
724
|
+
content: string;
|
|
725
|
+
revisionNote?: string | null;
|
|
726
|
+
createdAt?: Date | string;
|
|
727
|
+
updatedAt?: Date | string;
|
|
728
|
+
taskId?: string | null;
|
|
729
|
+
evidenceSubmissionId?: string | null;
|
|
730
|
+
evidenceFormType?: $Enums.EvidenceFormType | null;
|
|
731
|
+
templateId?: string | null;
|
|
732
|
+
createdById?: string | null;
|
|
733
|
+
organizationId: string;
|
|
734
|
+
};
|
|
735
|
+
export type FindingCreateOrConnectWithoutCreatedByAdminInput = {
|
|
736
|
+
where: Prisma.FindingWhereUniqueInput;
|
|
737
|
+
create: Prisma.XOR<Prisma.FindingCreateWithoutCreatedByAdminInput, Prisma.FindingUncheckedCreateWithoutCreatedByAdminInput>;
|
|
738
|
+
};
|
|
739
|
+
export type FindingCreateManyCreatedByAdminInputEnvelope = {
|
|
740
|
+
data: Prisma.FindingCreateManyCreatedByAdminInput | Prisma.FindingCreateManyCreatedByAdminInput[];
|
|
741
|
+
skipDuplicates?: boolean;
|
|
742
|
+
};
|
|
743
|
+
export type FindingUpsertWithWhereUniqueWithoutCreatedByAdminInput = {
|
|
744
|
+
where: Prisma.FindingWhereUniqueInput;
|
|
745
|
+
update: Prisma.XOR<Prisma.FindingUpdateWithoutCreatedByAdminInput, Prisma.FindingUncheckedUpdateWithoutCreatedByAdminInput>;
|
|
746
|
+
create: Prisma.XOR<Prisma.FindingCreateWithoutCreatedByAdminInput, Prisma.FindingUncheckedCreateWithoutCreatedByAdminInput>;
|
|
747
|
+
};
|
|
748
|
+
export type FindingUpdateWithWhereUniqueWithoutCreatedByAdminInput = {
|
|
749
|
+
where: Prisma.FindingWhereUniqueInput;
|
|
750
|
+
data: Prisma.XOR<Prisma.FindingUpdateWithoutCreatedByAdminInput, Prisma.FindingUncheckedUpdateWithoutCreatedByAdminInput>;
|
|
751
|
+
};
|
|
752
|
+
export type FindingUpdateManyWithWhereWithoutCreatedByAdminInput = {
|
|
753
|
+
where: Prisma.FindingScalarWhereInput;
|
|
754
|
+
data: Prisma.XOR<Prisma.FindingUpdateManyMutationInput, Prisma.FindingUncheckedUpdateManyWithoutCreatedByAdminInput>;
|
|
755
|
+
};
|
|
756
|
+
export type FindingScalarWhereInput = {
|
|
757
|
+
AND?: Prisma.FindingScalarWhereInput | Prisma.FindingScalarWhereInput[];
|
|
758
|
+
OR?: Prisma.FindingScalarWhereInput[];
|
|
759
|
+
NOT?: Prisma.FindingScalarWhereInput | Prisma.FindingScalarWhereInput[];
|
|
760
|
+
id?: Prisma.StringFilter<"Finding"> | string;
|
|
761
|
+
type?: Prisma.EnumFindingTypeFilter<"Finding"> | $Enums.FindingType;
|
|
762
|
+
status?: Prisma.EnumFindingStatusFilter<"Finding"> | $Enums.FindingStatus;
|
|
763
|
+
content?: Prisma.StringFilter<"Finding"> | string;
|
|
764
|
+
revisionNote?: Prisma.StringNullableFilter<"Finding"> | string | null;
|
|
765
|
+
createdAt?: Prisma.DateTimeFilter<"Finding"> | Date | string;
|
|
766
|
+
updatedAt?: Prisma.DateTimeFilter<"Finding"> | Date | string;
|
|
767
|
+
taskId?: Prisma.StringNullableFilter<"Finding"> | string | null;
|
|
768
|
+
evidenceSubmissionId?: Prisma.StringNullableFilter<"Finding"> | string | null;
|
|
769
|
+
evidenceFormType?: Prisma.EnumEvidenceFormTypeNullableFilter<"Finding"> | $Enums.EvidenceFormType | null;
|
|
770
|
+
templateId?: Prisma.StringNullableFilter<"Finding"> | string | null;
|
|
771
|
+
createdById?: Prisma.StringNullableFilter<"Finding"> | string | null;
|
|
772
|
+
createdByAdminId?: Prisma.StringNullableFilter<"Finding"> | string | null;
|
|
773
|
+
organizationId?: Prisma.StringFilter<"Finding"> | string;
|
|
774
|
+
};
|
|
775
|
+
export type FindingCreateWithoutCreatedByInput = {
|
|
776
|
+
id?: string;
|
|
777
|
+
type?: $Enums.FindingType;
|
|
778
|
+
status?: $Enums.FindingStatus;
|
|
779
|
+
content: string;
|
|
780
|
+
revisionNote?: string | null;
|
|
781
|
+
createdAt?: Date | string;
|
|
782
|
+
updatedAt?: Date | string;
|
|
783
|
+
evidenceFormType?: $Enums.EvidenceFormType | null;
|
|
784
|
+
task?: Prisma.TaskCreateNestedOneWithoutFindingsInput;
|
|
785
|
+
evidenceSubmission?: Prisma.EvidenceSubmissionCreateNestedOneWithoutFindingsInput;
|
|
786
|
+
template?: Prisma.FindingTemplateCreateNestedOneWithoutFindingsInput;
|
|
787
|
+
createdByAdmin?: Prisma.UserCreateNestedOneWithoutAdminFindingsInput;
|
|
788
|
+
organization: Prisma.OrganizationCreateNestedOneWithoutFindingsInput;
|
|
789
|
+
};
|
|
790
|
+
export type FindingUncheckedCreateWithoutCreatedByInput = {
|
|
791
|
+
id?: string;
|
|
792
|
+
type?: $Enums.FindingType;
|
|
793
|
+
status?: $Enums.FindingStatus;
|
|
794
|
+
content: string;
|
|
795
|
+
revisionNote?: string | null;
|
|
796
|
+
createdAt?: Date | string;
|
|
797
|
+
updatedAt?: Date | string;
|
|
798
|
+
taskId?: string | null;
|
|
799
|
+
evidenceSubmissionId?: string | null;
|
|
800
|
+
evidenceFormType?: $Enums.EvidenceFormType | null;
|
|
801
|
+
templateId?: string | null;
|
|
802
|
+
createdByAdminId?: string | null;
|
|
803
|
+
organizationId: string;
|
|
804
|
+
};
|
|
805
|
+
export type FindingCreateOrConnectWithoutCreatedByInput = {
|
|
806
|
+
where: Prisma.FindingWhereUniqueInput;
|
|
807
|
+
create: Prisma.XOR<Prisma.FindingCreateWithoutCreatedByInput, Prisma.FindingUncheckedCreateWithoutCreatedByInput>;
|
|
808
|
+
};
|
|
809
|
+
export type FindingCreateManyCreatedByInputEnvelope = {
|
|
810
|
+
data: Prisma.FindingCreateManyCreatedByInput | Prisma.FindingCreateManyCreatedByInput[];
|
|
811
|
+
skipDuplicates?: boolean;
|
|
812
|
+
};
|
|
813
|
+
export type FindingUpsertWithWhereUniqueWithoutCreatedByInput = {
|
|
814
|
+
where: Prisma.FindingWhereUniqueInput;
|
|
815
|
+
update: Prisma.XOR<Prisma.FindingUpdateWithoutCreatedByInput, Prisma.FindingUncheckedUpdateWithoutCreatedByInput>;
|
|
816
|
+
create: Prisma.XOR<Prisma.FindingCreateWithoutCreatedByInput, Prisma.FindingUncheckedCreateWithoutCreatedByInput>;
|
|
817
|
+
};
|
|
818
|
+
export type FindingUpdateWithWhereUniqueWithoutCreatedByInput = {
|
|
819
|
+
where: Prisma.FindingWhereUniqueInput;
|
|
820
|
+
data: Prisma.XOR<Prisma.FindingUpdateWithoutCreatedByInput, Prisma.FindingUncheckedUpdateWithoutCreatedByInput>;
|
|
821
|
+
};
|
|
822
|
+
export type FindingUpdateManyWithWhereWithoutCreatedByInput = {
|
|
823
|
+
where: Prisma.FindingScalarWhereInput;
|
|
824
|
+
data: Prisma.XOR<Prisma.FindingUpdateManyMutationInput, Prisma.FindingUncheckedUpdateManyWithoutCreatedByInput>;
|
|
825
|
+
};
|
|
826
|
+
export type FindingCreateWithoutEvidenceSubmissionInput = {
|
|
827
|
+
id?: string;
|
|
828
|
+
type?: $Enums.FindingType;
|
|
829
|
+
status?: $Enums.FindingStatus;
|
|
830
|
+
content: string;
|
|
831
|
+
revisionNote?: string | null;
|
|
832
|
+
createdAt?: Date | string;
|
|
833
|
+
updatedAt?: Date | string;
|
|
834
|
+
evidenceFormType?: $Enums.EvidenceFormType | null;
|
|
835
|
+
task?: Prisma.TaskCreateNestedOneWithoutFindingsInput;
|
|
836
|
+
template?: Prisma.FindingTemplateCreateNestedOneWithoutFindingsInput;
|
|
837
|
+
createdBy?: Prisma.MemberCreateNestedOneWithoutCreatedFindingsInput;
|
|
838
|
+
createdByAdmin?: Prisma.UserCreateNestedOneWithoutAdminFindingsInput;
|
|
839
|
+
organization: Prisma.OrganizationCreateNestedOneWithoutFindingsInput;
|
|
840
|
+
};
|
|
841
|
+
export type FindingUncheckedCreateWithoutEvidenceSubmissionInput = {
|
|
842
|
+
id?: string;
|
|
843
|
+
type?: $Enums.FindingType;
|
|
844
|
+
status?: $Enums.FindingStatus;
|
|
845
|
+
content: string;
|
|
846
|
+
revisionNote?: string | null;
|
|
847
|
+
createdAt?: Date | string;
|
|
848
|
+
updatedAt?: Date | string;
|
|
849
|
+
taskId?: string | null;
|
|
850
|
+
evidenceFormType?: $Enums.EvidenceFormType | null;
|
|
851
|
+
templateId?: string | null;
|
|
852
|
+
createdById?: string | null;
|
|
853
|
+
createdByAdminId?: string | null;
|
|
854
|
+
organizationId: string;
|
|
855
|
+
};
|
|
856
|
+
export type FindingCreateOrConnectWithoutEvidenceSubmissionInput = {
|
|
857
|
+
where: Prisma.FindingWhereUniqueInput;
|
|
858
|
+
create: Prisma.XOR<Prisma.FindingCreateWithoutEvidenceSubmissionInput, Prisma.FindingUncheckedCreateWithoutEvidenceSubmissionInput>;
|
|
859
|
+
};
|
|
860
|
+
export type FindingCreateManyEvidenceSubmissionInputEnvelope = {
|
|
861
|
+
data: Prisma.FindingCreateManyEvidenceSubmissionInput | Prisma.FindingCreateManyEvidenceSubmissionInput[];
|
|
862
|
+
skipDuplicates?: boolean;
|
|
863
|
+
};
|
|
864
|
+
export type FindingUpsertWithWhereUniqueWithoutEvidenceSubmissionInput = {
|
|
865
|
+
where: Prisma.FindingWhereUniqueInput;
|
|
866
|
+
update: Prisma.XOR<Prisma.FindingUpdateWithoutEvidenceSubmissionInput, Prisma.FindingUncheckedUpdateWithoutEvidenceSubmissionInput>;
|
|
867
|
+
create: Prisma.XOR<Prisma.FindingCreateWithoutEvidenceSubmissionInput, Prisma.FindingUncheckedCreateWithoutEvidenceSubmissionInput>;
|
|
868
|
+
};
|
|
869
|
+
export type FindingUpdateWithWhereUniqueWithoutEvidenceSubmissionInput = {
|
|
870
|
+
where: Prisma.FindingWhereUniqueInput;
|
|
871
|
+
data: Prisma.XOR<Prisma.FindingUpdateWithoutEvidenceSubmissionInput, Prisma.FindingUncheckedUpdateWithoutEvidenceSubmissionInput>;
|
|
872
|
+
};
|
|
873
|
+
export type FindingUpdateManyWithWhereWithoutEvidenceSubmissionInput = {
|
|
874
|
+
where: Prisma.FindingScalarWhereInput;
|
|
875
|
+
data: Prisma.XOR<Prisma.FindingUpdateManyMutationInput, Prisma.FindingUncheckedUpdateManyWithoutEvidenceSubmissionInput>;
|
|
876
|
+
};
|
|
877
|
+
export type FindingCreateWithoutTemplateInput = {
|
|
878
|
+
id?: string;
|
|
879
|
+
type?: $Enums.FindingType;
|
|
880
|
+
status?: $Enums.FindingStatus;
|
|
881
|
+
content: string;
|
|
882
|
+
revisionNote?: string | null;
|
|
883
|
+
createdAt?: Date | string;
|
|
884
|
+
updatedAt?: Date | string;
|
|
885
|
+
evidenceFormType?: $Enums.EvidenceFormType | null;
|
|
886
|
+
task?: Prisma.TaskCreateNestedOneWithoutFindingsInput;
|
|
887
|
+
evidenceSubmission?: Prisma.EvidenceSubmissionCreateNestedOneWithoutFindingsInput;
|
|
888
|
+
createdBy?: Prisma.MemberCreateNestedOneWithoutCreatedFindingsInput;
|
|
889
|
+
createdByAdmin?: Prisma.UserCreateNestedOneWithoutAdminFindingsInput;
|
|
890
|
+
organization: Prisma.OrganizationCreateNestedOneWithoutFindingsInput;
|
|
891
|
+
};
|
|
892
|
+
export type FindingUncheckedCreateWithoutTemplateInput = {
|
|
893
|
+
id?: string;
|
|
894
|
+
type?: $Enums.FindingType;
|
|
895
|
+
status?: $Enums.FindingStatus;
|
|
896
|
+
content: string;
|
|
897
|
+
revisionNote?: string | null;
|
|
898
|
+
createdAt?: Date | string;
|
|
899
|
+
updatedAt?: Date | string;
|
|
900
|
+
taskId?: string | null;
|
|
901
|
+
evidenceSubmissionId?: string | null;
|
|
902
|
+
evidenceFormType?: $Enums.EvidenceFormType | null;
|
|
903
|
+
createdById?: string | null;
|
|
904
|
+
createdByAdminId?: string | null;
|
|
905
|
+
organizationId: string;
|
|
906
|
+
};
|
|
907
|
+
export type FindingCreateOrConnectWithoutTemplateInput = {
|
|
908
|
+
where: Prisma.FindingWhereUniqueInput;
|
|
909
|
+
create: Prisma.XOR<Prisma.FindingCreateWithoutTemplateInput, Prisma.FindingUncheckedCreateWithoutTemplateInput>;
|
|
910
|
+
};
|
|
911
|
+
export type FindingCreateManyTemplateInputEnvelope = {
|
|
912
|
+
data: Prisma.FindingCreateManyTemplateInput | Prisma.FindingCreateManyTemplateInput[];
|
|
913
|
+
skipDuplicates?: boolean;
|
|
914
|
+
};
|
|
915
|
+
export type FindingUpsertWithWhereUniqueWithoutTemplateInput = {
|
|
916
|
+
where: Prisma.FindingWhereUniqueInput;
|
|
917
|
+
update: Prisma.XOR<Prisma.FindingUpdateWithoutTemplateInput, Prisma.FindingUncheckedUpdateWithoutTemplateInput>;
|
|
918
|
+
create: Prisma.XOR<Prisma.FindingCreateWithoutTemplateInput, Prisma.FindingUncheckedCreateWithoutTemplateInput>;
|
|
919
|
+
};
|
|
920
|
+
export type FindingUpdateWithWhereUniqueWithoutTemplateInput = {
|
|
921
|
+
where: Prisma.FindingWhereUniqueInput;
|
|
922
|
+
data: Prisma.XOR<Prisma.FindingUpdateWithoutTemplateInput, Prisma.FindingUncheckedUpdateWithoutTemplateInput>;
|
|
923
|
+
};
|
|
924
|
+
export type FindingUpdateManyWithWhereWithoutTemplateInput = {
|
|
925
|
+
where: Prisma.FindingScalarWhereInput;
|
|
926
|
+
data: Prisma.XOR<Prisma.FindingUpdateManyMutationInput, Prisma.FindingUncheckedUpdateManyWithoutTemplateInput>;
|
|
927
|
+
};
|
|
928
|
+
export type FindingCreateWithoutOrganizationInput = {
|
|
929
|
+
id?: string;
|
|
930
|
+
type?: $Enums.FindingType;
|
|
931
|
+
status?: $Enums.FindingStatus;
|
|
932
|
+
content: string;
|
|
933
|
+
revisionNote?: string | null;
|
|
934
|
+
createdAt?: Date | string;
|
|
935
|
+
updatedAt?: Date | string;
|
|
936
|
+
evidenceFormType?: $Enums.EvidenceFormType | null;
|
|
937
|
+
task?: Prisma.TaskCreateNestedOneWithoutFindingsInput;
|
|
938
|
+
evidenceSubmission?: Prisma.EvidenceSubmissionCreateNestedOneWithoutFindingsInput;
|
|
939
|
+
template?: Prisma.FindingTemplateCreateNestedOneWithoutFindingsInput;
|
|
940
|
+
createdBy?: Prisma.MemberCreateNestedOneWithoutCreatedFindingsInput;
|
|
941
|
+
createdByAdmin?: Prisma.UserCreateNestedOneWithoutAdminFindingsInput;
|
|
942
|
+
};
|
|
943
|
+
export type FindingUncheckedCreateWithoutOrganizationInput = {
|
|
944
|
+
id?: string;
|
|
945
|
+
type?: $Enums.FindingType;
|
|
946
|
+
status?: $Enums.FindingStatus;
|
|
947
|
+
content: string;
|
|
948
|
+
revisionNote?: string | null;
|
|
949
|
+
createdAt?: Date | string;
|
|
950
|
+
updatedAt?: Date | string;
|
|
951
|
+
taskId?: string | null;
|
|
952
|
+
evidenceSubmissionId?: string | null;
|
|
953
|
+
evidenceFormType?: $Enums.EvidenceFormType | null;
|
|
954
|
+
templateId?: string | null;
|
|
955
|
+
createdById?: string | null;
|
|
956
|
+
createdByAdminId?: string | null;
|
|
957
|
+
};
|
|
958
|
+
export type FindingCreateOrConnectWithoutOrganizationInput = {
|
|
959
|
+
where: Prisma.FindingWhereUniqueInput;
|
|
960
|
+
create: Prisma.XOR<Prisma.FindingCreateWithoutOrganizationInput, Prisma.FindingUncheckedCreateWithoutOrganizationInput>;
|
|
961
|
+
};
|
|
962
|
+
export type FindingCreateManyOrganizationInputEnvelope = {
|
|
963
|
+
data: Prisma.FindingCreateManyOrganizationInput | Prisma.FindingCreateManyOrganizationInput[];
|
|
964
|
+
skipDuplicates?: boolean;
|
|
965
|
+
};
|
|
966
|
+
export type FindingUpsertWithWhereUniqueWithoutOrganizationInput = {
|
|
967
|
+
where: Prisma.FindingWhereUniqueInput;
|
|
968
|
+
update: Prisma.XOR<Prisma.FindingUpdateWithoutOrganizationInput, Prisma.FindingUncheckedUpdateWithoutOrganizationInput>;
|
|
969
|
+
create: Prisma.XOR<Prisma.FindingCreateWithoutOrganizationInput, Prisma.FindingUncheckedCreateWithoutOrganizationInput>;
|
|
970
|
+
};
|
|
971
|
+
export type FindingUpdateWithWhereUniqueWithoutOrganizationInput = {
|
|
972
|
+
where: Prisma.FindingWhereUniqueInput;
|
|
973
|
+
data: Prisma.XOR<Prisma.FindingUpdateWithoutOrganizationInput, Prisma.FindingUncheckedUpdateWithoutOrganizationInput>;
|
|
974
|
+
};
|
|
975
|
+
export type FindingUpdateManyWithWhereWithoutOrganizationInput = {
|
|
976
|
+
where: Prisma.FindingScalarWhereInput;
|
|
977
|
+
data: Prisma.XOR<Prisma.FindingUpdateManyMutationInput, Prisma.FindingUncheckedUpdateManyWithoutOrganizationInput>;
|
|
978
|
+
};
|
|
979
|
+
export type FindingCreateWithoutTaskInput = {
|
|
980
|
+
id?: string;
|
|
981
|
+
type?: $Enums.FindingType;
|
|
982
|
+
status?: $Enums.FindingStatus;
|
|
983
|
+
content: string;
|
|
984
|
+
revisionNote?: string | null;
|
|
985
|
+
createdAt?: Date | string;
|
|
986
|
+
updatedAt?: Date | string;
|
|
987
|
+
evidenceFormType?: $Enums.EvidenceFormType | null;
|
|
988
|
+
evidenceSubmission?: Prisma.EvidenceSubmissionCreateNestedOneWithoutFindingsInput;
|
|
989
|
+
template?: Prisma.FindingTemplateCreateNestedOneWithoutFindingsInput;
|
|
990
|
+
createdBy?: Prisma.MemberCreateNestedOneWithoutCreatedFindingsInput;
|
|
991
|
+
createdByAdmin?: Prisma.UserCreateNestedOneWithoutAdminFindingsInput;
|
|
992
|
+
organization: Prisma.OrganizationCreateNestedOneWithoutFindingsInput;
|
|
993
|
+
};
|
|
994
|
+
export type FindingUncheckedCreateWithoutTaskInput = {
|
|
995
|
+
id?: string;
|
|
996
|
+
type?: $Enums.FindingType;
|
|
997
|
+
status?: $Enums.FindingStatus;
|
|
998
|
+
content: string;
|
|
999
|
+
revisionNote?: string | null;
|
|
1000
|
+
createdAt?: Date | string;
|
|
1001
|
+
updatedAt?: Date | string;
|
|
1002
|
+
evidenceSubmissionId?: string | null;
|
|
1003
|
+
evidenceFormType?: $Enums.EvidenceFormType | null;
|
|
1004
|
+
templateId?: string | null;
|
|
1005
|
+
createdById?: string | null;
|
|
1006
|
+
createdByAdminId?: string | null;
|
|
1007
|
+
organizationId: string;
|
|
1008
|
+
};
|
|
1009
|
+
export type FindingCreateOrConnectWithoutTaskInput = {
|
|
1010
|
+
where: Prisma.FindingWhereUniqueInput;
|
|
1011
|
+
create: Prisma.XOR<Prisma.FindingCreateWithoutTaskInput, Prisma.FindingUncheckedCreateWithoutTaskInput>;
|
|
1012
|
+
};
|
|
1013
|
+
export type FindingCreateManyTaskInputEnvelope = {
|
|
1014
|
+
data: Prisma.FindingCreateManyTaskInput | Prisma.FindingCreateManyTaskInput[];
|
|
1015
|
+
skipDuplicates?: boolean;
|
|
1016
|
+
};
|
|
1017
|
+
export type FindingUpsertWithWhereUniqueWithoutTaskInput = {
|
|
1018
|
+
where: Prisma.FindingWhereUniqueInput;
|
|
1019
|
+
update: Prisma.XOR<Prisma.FindingUpdateWithoutTaskInput, Prisma.FindingUncheckedUpdateWithoutTaskInput>;
|
|
1020
|
+
create: Prisma.XOR<Prisma.FindingCreateWithoutTaskInput, Prisma.FindingUncheckedCreateWithoutTaskInput>;
|
|
1021
|
+
};
|
|
1022
|
+
export type FindingUpdateWithWhereUniqueWithoutTaskInput = {
|
|
1023
|
+
where: Prisma.FindingWhereUniqueInput;
|
|
1024
|
+
data: Prisma.XOR<Prisma.FindingUpdateWithoutTaskInput, Prisma.FindingUncheckedUpdateWithoutTaskInput>;
|
|
1025
|
+
};
|
|
1026
|
+
export type FindingUpdateManyWithWhereWithoutTaskInput = {
|
|
1027
|
+
where: Prisma.FindingScalarWhereInput;
|
|
1028
|
+
data: Prisma.XOR<Prisma.FindingUpdateManyMutationInput, Prisma.FindingUncheckedUpdateManyWithoutTaskInput>;
|
|
1029
|
+
};
|
|
1030
|
+
export type FindingCreateManyCreatedByAdminInput = {
|
|
1031
|
+
id?: string;
|
|
1032
|
+
type?: $Enums.FindingType;
|
|
1033
|
+
status?: $Enums.FindingStatus;
|
|
1034
|
+
content: string;
|
|
1035
|
+
revisionNote?: string | null;
|
|
1036
|
+
createdAt?: Date | string;
|
|
1037
|
+
updatedAt?: Date | string;
|
|
1038
|
+
taskId?: string | null;
|
|
1039
|
+
evidenceSubmissionId?: string | null;
|
|
1040
|
+
evidenceFormType?: $Enums.EvidenceFormType | null;
|
|
1041
|
+
templateId?: string | null;
|
|
1042
|
+
createdById?: string | null;
|
|
1043
|
+
organizationId: string;
|
|
1044
|
+
};
|
|
1045
|
+
export type FindingUpdateWithoutCreatedByAdminInput = {
|
|
1046
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1047
|
+
type?: Prisma.EnumFindingTypeFieldUpdateOperationsInput | $Enums.FindingType;
|
|
1048
|
+
status?: Prisma.EnumFindingStatusFieldUpdateOperationsInput | $Enums.FindingStatus;
|
|
1049
|
+
content?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1050
|
+
revisionNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1051
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1052
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1053
|
+
evidenceFormType?: Prisma.NullableEnumEvidenceFormTypeFieldUpdateOperationsInput | $Enums.EvidenceFormType | null;
|
|
1054
|
+
task?: Prisma.TaskUpdateOneWithoutFindingsNestedInput;
|
|
1055
|
+
evidenceSubmission?: Prisma.EvidenceSubmissionUpdateOneWithoutFindingsNestedInput;
|
|
1056
|
+
template?: Prisma.FindingTemplateUpdateOneWithoutFindingsNestedInput;
|
|
1057
|
+
createdBy?: Prisma.MemberUpdateOneWithoutCreatedFindingsNestedInput;
|
|
1058
|
+
organization?: Prisma.OrganizationUpdateOneRequiredWithoutFindingsNestedInput;
|
|
1059
|
+
};
|
|
1060
|
+
export type FindingUncheckedUpdateWithoutCreatedByAdminInput = {
|
|
1061
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1062
|
+
type?: Prisma.EnumFindingTypeFieldUpdateOperationsInput | $Enums.FindingType;
|
|
1063
|
+
status?: Prisma.EnumFindingStatusFieldUpdateOperationsInput | $Enums.FindingStatus;
|
|
1064
|
+
content?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1065
|
+
revisionNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1066
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1067
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1068
|
+
taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1069
|
+
evidenceSubmissionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1070
|
+
evidenceFormType?: Prisma.NullableEnumEvidenceFormTypeFieldUpdateOperationsInput | $Enums.EvidenceFormType | null;
|
|
1071
|
+
templateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1072
|
+
createdById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1073
|
+
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1074
|
+
};
|
|
1075
|
+
export type FindingUncheckedUpdateManyWithoutCreatedByAdminInput = {
|
|
1076
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1077
|
+
type?: Prisma.EnumFindingTypeFieldUpdateOperationsInput | $Enums.FindingType;
|
|
1078
|
+
status?: Prisma.EnumFindingStatusFieldUpdateOperationsInput | $Enums.FindingStatus;
|
|
1079
|
+
content?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1080
|
+
revisionNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1081
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1082
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1083
|
+
taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1084
|
+
evidenceSubmissionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1085
|
+
evidenceFormType?: Prisma.NullableEnumEvidenceFormTypeFieldUpdateOperationsInput | $Enums.EvidenceFormType | null;
|
|
1086
|
+
templateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1087
|
+
createdById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1088
|
+
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1089
|
+
};
|
|
1090
|
+
export type FindingCreateManyCreatedByInput = {
|
|
1091
|
+
id?: string;
|
|
1092
|
+
type?: $Enums.FindingType;
|
|
1093
|
+
status?: $Enums.FindingStatus;
|
|
1094
|
+
content: string;
|
|
1095
|
+
revisionNote?: string | null;
|
|
1096
|
+
createdAt?: Date | string;
|
|
1097
|
+
updatedAt?: Date | string;
|
|
1098
|
+
taskId?: string | null;
|
|
1099
|
+
evidenceSubmissionId?: string | null;
|
|
1100
|
+
evidenceFormType?: $Enums.EvidenceFormType | null;
|
|
1101
|
+
templateId?: string | null;
|
|
1102
|
+
createdByAdminId?: string | null;
|
|
1103
|
+
organizationId: string;
|
|
1104
|
+
};
|
|
1105
|
+
export type FindingUpdateWithoutCreatedByInput = {
|
|
1106
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1107
|
+
type?: Prisma.EnumFindingTypeFieldUpdateOperationsInput | $Enums.FindingType;
|
|
1108
|
+
status?: Prisma.EnumFindingStatusFieldUpdateOperationsInput | $Enums.FindingStatus;
|
|
1109
|
+
content?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1110
|
+
revisionNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1111
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1112
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1113
|
+
evidenceFormType?: Prisma.NullableEnumEvidenceFormTypeFieldUpdateOperationsInput | $Enums.EvidenceFormType | null;
|
|
1114
|
+
task?: Prisma.TaskUpdateOneWithoutFindingsNestedInput;
|
|
1115
|
+
evidenceSubmission?: Prisma.EvidenceSubmissionUpdateOneWithoutFindingsNestedInput;
|
|
1116
|
+
template?: Prisma.FindingTemplateUpdateOneWithoutFindingsNestedInput;
|
|
1117
|
+
createdByAdmin?: Prisma.UserUpdateOneWithoutAdminFindingsNestedInput;
|
|
1118
|
+
organization?: Prisma.OrganizationUpdateOneRequiredWithoutFindingsNestedInput;
|
|
1119
|
+
};
|
|
1120
|
+
export type FindingUncheckedUpdateWithoutCreatedByInput = {
|
|
1121
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1122
|
+
type?: Prisma.EnumFindingTypeFieldUpdateOperationsInput | $Enums.FindingType;
|
|
1123
|
+
status?: Prisma.EnumFindingStatusFieldUpdateOperationsInput | $Enums.FindingStatus;
|
|
1124
|
+
content?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1125
|
+
revisionNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1126
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1127
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1128
|
+
taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1129
|
+
evidenceSubmissionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1130
|
+
evidenceFormType?: Prisma.NullableEnumEvidenceFormTypeFieldUpdateOperationsInput | $Enums.EvidenceFormType | null;
|
|
1131
|
+
templateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1132
|
+
createdByAdminId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1133
|
+
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1134
|
+
};
|
|
1135
|
+
export type FindingUncheckedUpdateManyWithoutCreatedByInput = {
|
|
1136
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1137
|
+
type?: Prisma.EnumFindingTypeFieldUpdateOperationsInput | $Enums.FindingType;
|
|
1138
|
+
status?: Prisma.EnumFindingStatusFieldUpdateOperationsInput | $Enums.FindingStatus;
|
|
1139
|
+
content?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1140
|
+
revisionNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1141
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1142
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1143
|
+
taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1144
|
+
evidenceSubmissionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1145
|
+
evidenceFormType?: Prisma.NullableEnumEvidenceFormTypeFieldUpdateOperationsInput | $Enums.EvidenceFormType | null;
|
|
1146
|
+
templateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1147
|
+
createdByAdminId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1148
|
+
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1149
|
+
};
|
|
1150
|
+
export type FindingCreateManyEvidenceSubmissionInput = {
|
|
1151
|
+
id?: string;
|
|
1152
|
+
type?: $Enums.FindingType;
|
|
1153
|
+
status?: $Enums.FindingStatus;
|
|
1154
|
+
content: string;
|
|
1155
|
+
revisionNote?: string | null;
|
|
1156
|
+
createdAt?: Date | string;
|
|
1157
|
+
updatedAt?: Date | string;
|
|
1158
|
+
taskId?: string | null;
|
|
1159
|
+
evidenceFormType?: $Enums.EvidenceFormType | null;
|
|
1160
|
+
templateId?: string | null;
|
|
1161
|
+
createdById?: string | null;
|
|
1162
|
+
createdByAdminId?: string | null;
|
|
1163
|
+
organizationId: string;
|
|
1164
|
+
};
|
|
1165
|
+
export type FindingUpdateWithoutEvidenceSubmissionInput = {
|
|
1166
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1167
|
+
type?: Prisma.EnumFindingTypeFieldUpdateOperationsInput | $Enums.FindingType;
|
|
1168
|
+
status?: Prisma.EnumFindingStatusFieldUpdateOperationsInput | $Enums.FindingStatus;
|
|
1169
|
+
content?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1170
|
+
revisionNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1171
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1172
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1173
|
+
evidenceFormType?: Prisma.NullableEnumEvidenceFormTypeFieldUpdateOperationsInput | $Enums.EvidenceFormType | null;
|
|
1174
|
+
task?: Prisma.TaskUpdateOneWithoutFindingsNestedInput;
|
|
1175
|
+
template?: Prisma.FindingTemplateUpdateOneWithoutFindingsNestedInput;
|
|
1176
|
+
createdBy?: Prisma.MemberUpdateOneWithoutCreatedFindingsNestedInput;
|
|
1177
|
+
createdByAdmin?: Prisma.UserUpdateOneWithoutAdminFindingsNestedInput;
|
|
1178
|
+
organization?: Prisma.OrganizationUpdateOneRequiredWithoutFindingsNestedInput;
|
|
1179
|
+
};
|
|
1180
|
+
export type FindingUncheckedUpdateWithoutEvidenceSubmissionInput = {
|
|
1181
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1182
|
+
type?: Prisma.EnumFindingTypeFieldUpdateOperationsInput | $Enums.FindingType;
|
|
1183
|
+
status?: Prisma.EnumFindingStatusFieldUpdateOperationsInput | $Enums.FindingStatus;
|
|
1184
|
+
content?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1185
|
+
revisionNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1186
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1187
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1188
|
+
taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1189
|
+
evidenceFormType?: Prisma.NullableEnumEvidenceFormTypeFieldUpdateOperationsInput | $Enums.EvidenceFormType | null;
|
|
1190
|
+
templateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1191
|
+
createdById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1192
|
+
createdByAdminId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1193
|
+
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1194
|
+
};
|
|
1195
|
+
export type FindingUncheckedUpdateManyWithoutEvidenceSubmissionInput = {
|
|
1196
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1197
|
+
type?: Prisma.EnumFindingTypeFieldUpdateOperationsInput | $Enums.FindingType;
|
|
1198
|
+
status?: Prisma.EnumFindingStatusFieldUpdateOperationsInput | $Enums.FindingStatus;
|
|
1199
|
+
content?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1200
|
+
revisionNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1201
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1202
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1203
|
+
taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1204
|
+
evidenceFormType?: Prisma.NullableEnumEvidenceFormTypeFieldUpdateOperationsInput | $Enums.EvidenceFormType | null;
|
|
1205
|
+
templateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1206
|
+
createdById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1207
|
+
createdByAdminId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1208
|
+
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1209
|
+
};
|
|
1210
|
+
export type FindingCreateManyTemplateInput = {
|
|
1211
|
+
id?: string;
|
|
1212
|
+
type?: $Enums.FindingType;
|
|
1213
|
+
status?: $Enums.FindingStatus;
|
|
1214
|
+
content: string;
|
|
1215
|
+
revisionNote?: string | null;
|
|
1216
|
+
createdAt?: Date | string;
|
|
1217
|
+
updatedAt?: Date | string;
|
|
1218
|
+
taskId?: string | null;
|
|
1219
|
+
evidenceSubmissionId?: string | null;
|
|
1220
|
+
evidenceFormType?: $Enums.EvidenceFormType | null;
|
|
1221
|
+
createdById?: string | null;
|
|
1222
|
+
createdByAdminId?: string | null;
|
|
1223
|
+
organizationId: string;
|
|
1224
|
+
};
|
|
1225
|
+
export type FindingUpdateWithoutTemplateInput = {
|
|
1226
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1227
|
+
type?: Prisma.EnumFindingTypeFieldUpdateOperationsInput | $Enums.FindingType;
|
|
1228
|
+
status?: Prisma.EnumFindingStatusFieldUpdateOperationsInput | $Enums.FindingStatus;
|
|
1229
|
+
content?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1230
|
+
revisionNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1231
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1232
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1233
|
+
evidenceFormType?: Prisma.NullableEnumEvidenceFormTypeFieldUpdateOperationsInput | $Enums.EvidenceFormType | null;
|
|
1234
|
+
task?: Prisma.TaskUpdateOneWithoutFindingsNestedInput;
|
|
1235
|
+
evidenceSubmission?: Prisma.EvidenceSubmissionUpdateOneWithoutFindingsNestedInput;
|
|
1236
|
+
createdBy?: Prisma.MemberUpdateOneWithoutCreatedFindingsNestedInput;
|
|
1237
|
+
createdByAdmin?: Prisma.UserUpdateOneWithoutAdminFindingsNestedInput;
|
|
1238
|
+
organization?: Prisma.OrganizationUpdateOneRequiredWithoutFindingsNestedInput;
|
|
1239
|
+
};
|
|
1240
|
+
export type FindingUncheckedUpdateWithoutTemplateInput = {
|
|
1241
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1242
|
+
type?: Prisma.EnumFindingTypeFieldUpdateOperationsInput | $Enums.FindingType;
|
|
1243
|
+
status?: Prisma.EnumFindingStatusFieldUpdateOperationsInput | $Enums.FindingStatus;
|
|
1244
|
+
content?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1245
|
+
revisionNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1246
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1247
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1248
|
+
taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1249
|
+
evidenceSubmissionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1250
|
+
evidenceFormType?: Prisma.NullableEnumEvidenceFormTypeFieldUpdateOperationsInput | $Enums.EvidenceFormType | null;
|
|
1251
|
+
createdById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1252
|
+
createdByAdminId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1253
|
+
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1254
|
+
};
|
|
1255
|
+
export type FindingUncheckedUpdateManyWithoutTemplateInput = {
|
|
1256
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1257
|
+
type?: Prisma.EnumFindingTypeFieldUpdateOperationsInput | $Enums.FindingType;
|
|
1258
|
+
status?: Prisma.EnumFindingStatusFieldUpdateOperationsInput | $Enums.FindingStatus;
|
|
1259
|
+
content?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1260
|
+
revisionNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1261
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1262
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1263
|
+
taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1264
|
+
evidenceSubmissionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1265
|
+
evidenceFormType?: Prisma.NullableEnumEvidenceFormTypeFieldUpdateOperationsInput | $Enums.EvidenceFormType | null;
|
|
1266
|
+
createdById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1267
|
+
createdByAdminId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1268
|
+
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1269
|
+
};
|
|
1270
|
+
export type FindingCreateManyOrganizationInput = {
|
|
1271
|
+
id?: string;
|
|
1272
|
+
type?: $Enums.FindingType;
|
|
1273
|
+
status?: $Enums.FindingStatus;
|
|
1274
|
+
content: string;
|
|
1275
|
+
revisionNote?: string | null;
|
|
1276
|
+
createdAt?: Date | string;
|
|
1277
|
+
updatedAt?: Date | string;
|
|
1278
|
+
taskId?: string | null;
|
|
1279
|
+
evidenceSubmissionId?: string | null;
|
|
1280
|
+
evidenceFormType?: $Enums.EvidenceFormType | null;
|
|
1281
|
+
templateId?: string | null;
|
|
1282
|
+
createdById?: string | null;
|
|
1283
|
+
createdByAdminId?: string | null;
|
|
1284
|
+
};
|
|
1285
|
+
export type FindingUpdateWithoutOrganizationInput = {
|
|
1286
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1287
|
+
type?: Prisma.EnumFindingTypeFieldUpdateOperationsInput | $Enums.FindingType;
|
|
1288
|
+
status?: Prisma.EnumFindingStatusFieldUpdateOperationsInput | $Enums.FindingStatus;
|
|
1289
|
+
content?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1290
|
+
revisionNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1291
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1292
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1293
|
+
evidenceFormType?: Prisma.NullableEnumEvidenceFormTypeFieldUpdateOperationsInput | $Enums.EvidenceFormType | null;
|
|
1294
|
+
task?: Prisma.TaskUpdateOneWithoutFindingsNestedInput;
|
|
1295
|
+
evidenceSubmission?: Prisma.EvidenceSubmissionUpdateOneWithoutFindingsNestedInput;
|
|
1296
|
+
template?: Prisma.FindingTemplateUpdateOneWithoutFindingsNestedInput;
|
|
1297
|
+
createdBy?: Prisma.MemberUpdateOneWithoutCreatedFindingsNestedInput;
|
|
1298
|
+
createdByAdmin?: Prisma.UserUpdateOneWithoutAdminFindingsNestedInput;
|
|
1299
|
+
};
|
|
1300
|
+
export type FindingUncheckedUpdateWithoutOrganizationInput = {
|
|
1301
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1302
|
+
type?: Prisma.EnumFindingTypeFieldUpdateOperationsInput | $Enums.FindingType;
|
|
1303
|
+
status?: Prisma.EnumFindingStatusFieldUpdateOperationsInput | $Enums.FindingStatus;
|
|
1304
|
+
content?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1305
|
+
revisionNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1306
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1307
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1308
|
+
taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1309
|
+
evidenceSubmissionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1310
|
+
evidenceFormType?: Prisma.NullableEnumEvidenceFormTypeFieldUpdateOperationsInput | $Enums.EvidenceFormType | null;
|
|
1311
|
+
templateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1312
|
+
createdById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1313
|
+
createdByAdminId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1314
|
+
};
|
|
1315
|
+
export type FindingUncheckedUpdateManyWithoutOrganizationInput = {
|
|
1316
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1317
|
+
type?: Prisma.EnumFindingTypeFieldUpdateOperationsInput | $Enums.FindingType;
|
|
1318
|
+
status?: Prisma.EnumFindingStatusFieldUpdateOperationsInput | $Enums.FindingStatus;
|
|
1319
|
+
content?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1320
|
+
revisionNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1321
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1322
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1323
|
+
taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1324
|
+
evidenceSubmissionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1325
|
+
evidenceFormType?: Prisma.NullableEnumEvidenceFormTypeFieldUpdateOperationsInput | $Enums.EvidenceFormType | null;
|
|
1326
|
+
templateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1327
|
+
createdById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1328
|
+
createdByAdminId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1329
|
+
};
|
|
1330
|
+
export type FindingCreateManyTaskInput = {
|
|
1331
|
+
id?: string;
|
|
1332
|
+
type?: $Enums.FindingType;
|
|
1333
|
+
status?: $Enums.FindingStatus;
|
|
1334
|
+
content: string;
|
|
1335
|
+
revisionNote?: string | null;
|
|
1336
|
+
createdAt?: Date | string;
|
|
1337
|
+
updatedAt?: Date | string;
|
|
1338
|
+
evidenceSubmissionId?: string | null;
|
|
1339
|
+
evidenceFormType?: $Enums.EvidenceFormType | null;
|
|
1340
|
+
templateId?: string | null;
|
|
1341
|
+
createdById?: string | null;
|
|
1342
|
+
createdByAdminId?: string | null;
|
|
1343
|
+
organizationId: string;
|
|
1344
|
+
};
|
|
1345
|
+
export type FindingUpdateWithoutTaskInput = {
|
|
1346
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1347
|
+
type?: Prisma.EnumFindingTypeFieldUpdateOperationsInput | $Enums.FindingType;
|
|
1348
|
+
status?: Prisma.EnumFindingStatusFieldUpdateOperationsInput | $Enums.FindingStatus;
|
|
1349
|
+
content?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1350
|
+
revisionNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1351
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1352
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1353
|
+
evidenceFormType?: Prisma.NullableEnumEvidenceFormTypeFieldUpdateOperationsInput | $Enums.EvidenceFormType | null;
|
|
1354
|
+
evidenceSubmission?: Prisma.EvidenceSubmissionUpdateOneWithoutFindingsNestedInput;
|
|
1355
|
+
template?: Prisma.FindingTemplateUpdateOneWithoutFindingsNestedInput;
|
|
1356
|
+
createdBy?: Prisma.MemberUpdateOneWithoutCreatedFindingsNestedInput;
|
|
1357
|
+
createdByAdmin?: Prisma.UserUpdateOneWithoutAdminFindingsNestedInput;
|
|
1358
|
+
organization?: Prisma.OrganizationUpdateOneRequiredWithoutFindingsNestedInput;
|
|
1359
|
+
};
|
|
1360
|
+
export type FindingUncheckedUpdateWithoutTaskInput = {
|
|
1361
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1362
|
+
type?: Prisma.EnumFindingTypeFieldUpdateOperationsInput | $Enums.FindingType;
|
|
1363
|
+
status?: Prisma.EnumFindingStatusFieldUpdateOperationsInput | $Enums.FindingStatus;
|
|
1364
|
+
content?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1365
|
+
revisionNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1366
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1367
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1368
|
+
evidenceSubmissionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1369
|
+
evidenceFormType?: Prisma.NullableEnumEvidenceFormTypeFieldUpdateOperationsInput | $Enums.EvidenceFormType | null;
|
|
1370
|
+
templateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1371
|
+
createdById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1372
|
+
createdByAdminId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1373
|
+
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1374
|
+
};
|
|
1375
|
+
export type FindingUncheckedUpdateManyWithoutTaskInput = {
|
|
1376
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1377
|
+
type?: Prisma.EnumFindingTypeFieldUpdateOperationsInput | $Enums.FindingType;
|
|
1378
|
+
status?: Prisma.EnumFindingStatusFieldUpdateOperationsInput | $Enums.FindingStatus;
|
|
1379
|
+
content?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1380
|
+
revisionNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1381
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1382
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1383
|
+
evidenceSubmissionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1384
|
+
evidenceFormType?: Prisma.NullableEnumEvidenceFormTypeFieldUpdateOperationsInput | $Enums.EvidenceFormType | null;
|
|
1385
|
+
templateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1386
|
+
createdById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1387
|
+
createdByAdminId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1388
|
+
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1389
|
+
};
|
|
1390
|
+
export type FindingSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1391
|
+
id?: boolean;
|
|
1392
|
+
type?: boolean;
|
|
1393
|
+
status?: boolean;
|
|
1394
|
+
content?: boolean;
|
|
1395
|
+
revisionNote?: boolean;
|
|
1396
|
+
createdAt?: boolean;
|
|
1397
|
+
updatedAt?: boolean;
|
|
1398
|
+
taskId?: boolean;
|
|
1399
|
+
evidenceSubmissionId?: boolean;
|
|
1400
|
+
evidenceFormType?: boolean;
|
|
1401
|
+
templateId?: boolean;
|
|
1402
|
+
createdById?: boolean;
|
|
1403
|
+
createdByAdminId?: boolean;
|
|
1404
|
+
organizationId?: boolean;
|
|
1405
|
+
task?: boolean | Prisma.Finding$taskArgs<ExtArgs>;
|
|
1406
|
+
evidenceSubmission?: boolean | Prisma.Finding$evidenceSubmissionArgs<ExtArgs>;
|
|
1407
|
+
template?: boolean | Prisma.Finding$templateArgs<ExtArgs>;
|
|
1408
|
+
createdBy?: boolean | Prisma.Finding$createdByArgs<ExtArgs>;
|
|
1409
|
+
createdByAdmin?: boolean | Prisma.Finding$createdByAdminArgs<ExtArgs>;
|
|
1410
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
1411
|
+
}, ExtArgs["result"]["finding"]>;
|
|
1412
|
+
export type FindingSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1413
|
+
id?: boolean;
|
|
1414
|
+
type?: boolean;
|
|
1415
|
+
status?: boolean;
|
|
1416
|
+
content?: boolean;
|
|
1417
|
+
revisionNote?: boolean;
|
|
1418
|
+
createdAt?: boolean;
|
|
1419
|
+
updatedAt?: boolean;
|
|
1420
|
+
taskId?: boolean;
|
|
1421
|
+
evidenceSubmissionId?: boolean;
|
|
1422
|
+
evidenceFormType?: boolean;
|
|
1423
|
+
templateId?: boolean;
|
|
1424
|
+
createdById?: boolean;
|
|
1425
|
+
createdByAdminId?: boolean;
|
|
1426
|
+
organizationId?: boolean;
|
|
1427
|
+
task?: boolean | Prisma.Finding$taskArgs<ExtArgs>;
|
|
1428
|
+
evidenceSubmission?: boolean | Prisma.Finding$evidenceSubmissionArgs<ExtArgs>;
|
|
1429
|
+
template?: boolean | Prisma.Finding$templateArgs<ExtArgs>;
|
|
1430
|
+
createdBy?: boolean | Prisma.Finding$createdByArgs<ExtArgs>;
|
|
1431
|
+
createdByAdmin?: boolean | Prisma.Finding$createdByAdminArgs<ExtArgs>;
|
|
1432
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
1433
|
+
}, ExtArgs["result"]["finding"]>;
|
|
1434
|
+
export type FindingSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1435
|
+
id?: boolean;
|
|
1436
|
+
type?: boolean;
|
|
1437
|
+
status?: boolean;
|
|
1438
|
+
content?: boolean;
|
|
1439
|
+
revisionNote?: boolean;
|
|
1440
|
+
createdAt?: boolean;
|
|
1441
|
+
updatedAt?: boolean;
|
|
1442
|
+
taskId?: boolean;
|
|
1443
|
+
evidenceSubmissionId?: boolean;
|
|
1444
|
+
evidenceFormType?: boolean;
|
|
1445
|
+
templateId?: boolean;
|
|
1446
|
+
createdById?: boolean;
|
|
1447
|
+
createdByAdminId?: boolean;
|
|
1448
|
+
organizationId?: boolean;
|
|
1449
|
+
task?: boolean | Prisma.Finding$taskArgs<ExtArgs>;
|
|
1450
|
+
evidenceSubmission?: boolean | Prisma.Finding$evidenceSubmissionArgs<ExtArgs>;
|
|
1451
|
+
template?: boolean | Prisma.Finding$templateArgs<ExtArgs>;
|
|
1452
|
+
createdBy?: boolean | Prisma.Finding$createdByArgs<ExtArgs>;
|
|
1453
|
+
createdByAdmin?: boolean | Prisma.Finding$createdByAdminArgs<ExtArgs>;
|
|
1454
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
1455
|
+
}, ExtArgs["result"]["finding"]>;
|
|
1456
|
+
export type FindingSelectScalar = {
|
|
1457
|
+
id?: boolean;
|
|
1458
|
+
type?: boolean;
|
|
1459
|
+
status?: boolean;
|
|
1460
|
+
content?: boolean;
|
|
1461
|
+
revisionNote?: boolean;
|
|
1462
|
+
createdAt?: boolean;
|
|
1463
|
+
updatedAt?: boolean;
|
|
1464
|
+
taskId?: boolean;
|
|
1465
|
+
evidenceSubmissionId?: boolean;
|
|
1466
|
+
evidenceFormType?: boolean;
|
|
1467
|
+
templateId?: boolean;
|
|
1468
|
+
createdById?: boolean;
|
|
1469
|
+
createdByAdminId?: boolean;
|
|
1470
|
+
organizationId?: boolean;
|
|
1471
|
+
};
|
|
1472
|
+
export type FindingOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "type" | "status" | "content" | "revisionNote" | "createdAt" | "updatedAt" | "taskId" | "evidenceSubmissionId" | "evidenceFormType" | "templateId" | "createdById" | "createdByAdminId" | "organizationId", ExtArgs["result"]["finding"]>;
|
|
1473
|
+
export type FindingInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1474
|
+
task?: boolean | Prisma.Finding$taskArgs<ExtArgs>;
|
|
1475
|
+
evidenceSubmission?: boolean | Prisma.Finding$evidenceSubmissionArgs<ExtArgs>;
|
|
1476
|
+
template?: boolean | Prisma.Finding$templateArgs<ExtArgs>;
|
|
1477
|
+
createdBy?: boolean | Prisma.Finding$createdByArgs<ExtArgs>;
|
|
1478
|
+
createdByAdmin?: boolean | Prisma.Finding$createdByAdminArgs<ExtArgs>;
|
|
1479
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
1480
|
+
};
|
|
1481
|
+
export type FindingIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1482
|
+
task?: boolean | Prisma.Finding$taskArgs<ExtArgs>;
|
|
1483
|
+
evidenceSubmission?: boolean | Prisma.Finding$evidenceSubmissionArgs<ExtArgs>;
|
|
1484
|
+
template?: boolean | Prisma.Finding$templateArgs<ExtArgs>;
|
|
1485
|
+
createdBy?: boolean | Prisma.Finding$createdByArgs<ExtArgs>;
|
|
1486
|
+
createdByAdmin?: boolean | Prisma.Finding$createdByAdminArgs<ExtArgs>;
|
|
1487
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
1488
|
+
};
|
|
1489
|
+
export type FindingIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1490
|
+
task?: boolean | Prisma.Finding$taskArgs<ExtArgs>;
|
|
1491
|
+
evidenceSubmission?: boolean | Prisma.Finding$evidenceSubmissionArgs<ExtArgs>;
|
|
1492
|
+
template?: boolean | Prisma.Finding$templateArgs<ExtArgs>;
|
|
1493
|
+
createdBy?: boolean | Prisma.Finding$createdByArgs<ExtArgs>;
|
|
1494
|
+
createdByAdmin?: boolean | Prisma.Finding$createdByAdminArgs<ExtArgs>;
|
|
1495
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
1496
|
+
};
|
|
1497
|
+
export type $FindingPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1498
|
+
name: "Finding";
|
|
1499
|
+
objects: {
|
|
1500
|
+
task: Prisma.$TaskPayload<ExtArgs> | null;
|
|
1501
|
+
evidenceSubmission: Prisma.$EvidenceSubmissionPayload<ExtArgs> | null;
|
|
1502
|
+
template: Prisma.$FindingTemplatePayload<ExtArgs> | null;
|
|
1503
|
+
createdBy: Prisma.$MemberPayload<ExtArgs> | null;
|
|
1504
|
+
createdByAdmin: Prisma.$UserPayload<ExtArgs> | null;
|
|
1505
|
+
organization: Prisma.$OrganizationPayload<ExtArgs>;
|
|
1506
|
+
};
|
|
1507
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
1508
|
+
id: string;
|
|
1509
|
+
type: $Enums.FindingType;
|
|
1510
|
+
status: $Enums.FindingStatus;
|
|
1511
|
+
content: string;
|
|
1512
|
+
revisionNote: string | null;
|
|
1513
|
+
createdAt: Date;
|
|
1514
|
+
updatedAt: Date;
|
|
1515
|
+
taskId: string | null;
|
|
1516
|
+
evidenceSubmissionId: string | null;
|
|
1517
|
+
evidenceFormType: $Enums.EvidenceFormType | null;
|
|
1518
|
+
templateId: string | null;
|
|
1519
|
+
createdById: string | null;
|
|
1520
|
+
createdByAdminId: string | null;
|
|
1521
|
+
organizationId: string;
|
|
1522
|
+
}, ExtArgs["result"]["finding"]>;
|
|
1523
|
+
composites: {};
|
|
1524
|
+
};
|
|
1525
|
+
export type FindingGetPayload<S extends boolean | null | undefined | FindingDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$FindingPayload, S>;
|
|
1526
|
+
export type FindingCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<FindingFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
1527
|
+
select?: FindingCountAggregateInputType | true;
|
|
1528
|
+
};
|
|
1529
|
+
export interface FindingDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
1530
|
+
[K: symbol]: {
|
|
1531
|
+
types: Prisma.TypeMap<ExtArgs>['model']['Finding'];
|
|
1532
|
+
meta: {
|
|
1533
|
+
name: 'Finding';
|
|
1534
|
+
};
|
|
1535
|
+
};
|
|
1536
|
+
/**
|
|
1537
|
+
* Find zero or one Finding that matches the filter.
|
|
1538
|
+
* @param {FindingFindUniqueArgs} args - Arguments to find a Finding
|
|
1539
|
+
* @example
|
|
1540
|
+
* // Get one Finding
|
|
1541
|
+
* const finding = await prisma.finding.findUnique({
|
|
1542
|
+
* where: {
|
|
1543
|
+
* // ... provide filter here
|
|
1544
|
+
* }
|
|
1545
|
+
* })
|
|
1546
|
+
*/
|
|
1547
|
+
findUnique<T extends FindingFindUniqueArgs>(args: Prisma.SelectSubset<T, FindingFindUniqueArgs<ExtArgs>>): Prisma.Prisma__FindingClient<runtime.Types.Result.GetResult<Prisma.$FindingPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1548
|
+
/**
|
|
1549
|
+
* Find one Finding that matches the filter or throw an error with `error.code='P2025'`
|
|
1550
|
+
* if no matches were found.
|
|
1551
|
+
* @param {FindingFindUniqueOrThrowArgs} args - Arguments to find a Finding
|
|
1552
|
+
* @example
|
|
1553
|
+
* // Get one Finding
|
|
1554
|
+
* const finding = await prisma.finding.findUniqueOrThrow({
|
|
1555
|
+
* where: {
|
|
1556
|
+
* // ... provide filter here
|
|
1557
|
+
* }
|
|
1558
|
+
* })
|
|
1559
|
+
*/
|
|
1560
|
+
findUniqueOrThrow<T extends FindingFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, FindingFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__FindingClient<runtime.Types.Result.GetResult<Prisma.$FindingPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1561
|
+
/**
|
|
1562
|
+
* Find the first Finding that matches the filter.
|
|
1563
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1564
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1565
|
+
* @param {FindingFindFirstArgs} args - Arguments to find a Finding
|
|
1566
|
+
* @example
|
|
1567
|
+
* // Get one Finding
|
|
1568
|
+
* const finding = await prisma.finding.findFirst({
|
|
1569
|
+
* where: {
|
|
1570
|
+
* // ... provide filter here
|
|
1571
|
+
* }
|
|
1572
|
+
* })
|
|
1573
|
+
*/
|
|
1574
|
+
findFirst<T extends FindingFindFirstArgs>(args?: Prisma.SelectSubset<T, FindingFindFirstArgs<ExtArgs>>): Prisma.Prisma__FindingClient<runtime.Types.Result.GetResult<Prisma.$FindingPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1575
|
+
/**
|
|
1576
|
+
* Find the first Finding that matches the filter or
|
|
1577
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
1578
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1579
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1580
|
+
* @param {FindingFindFirstOrThrowArgs} args - Arguments to find a Finding
|
|
1581
|
+
* @example
|
|
1582
|
+
* // Get one Finding
|
|
1583
|
+
* const finding = await prisma.finding.findFirstOrThrow({
|
|
1584
|
+
* where: {
|
|
1585
|
+
* // ... provide filter here
|
|
1586
|
+
* }
|
|
1587
|
+
* })
|
|
1588
|
+
*/
|
|
1589
|
+
findFirstOrThrow<T extends FindingFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, FindingFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__FindingClient<runtime.Types.Result.GetResult<Prisma.$FindingPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1590
|
+
/**
|
|
1591
|
+
* Find zero or more Findings that matches the filter.
|
|
1592
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1593
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1594
|
+
* @param {FindingFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
1595
|
+
* @example
|
|
1596
|
+
* // Get all Findings
|
|
1597
|
+
* const findings = await prisma.finding.findMany()
|
|
1598
|
+
*
|
|
1599
|
+
* // Get first 10 Findings
|
|
1600
|
+
* const findings = await prisma.finding.findMany({ take: 10 })
|
|
1601
|
+
*
|
|
1602
|
+
* // Only select the `id`
|
|
1603
|
+
* const findingWithIdOnly = await prisma.finding.findMany({ select: { id: true } })
|
|
1604
|
+
*
|
|
1605
|
+
*/
|
|
1606
|
+
findMany<T extends FindingFindManyArgs>(args?: Prisma.SelectSubset<T, FindingFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FindingPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
1607
|
+
/**
|
|
1608
|
+
* Create a Finding.
|
|
1609
|
+
* @param {FindingCreateArgs} args - Arguments to create a Finding.
|
|
1610
|
+
* @example
|
|
1611
|
+
* // Create one Finding
|
|
1612
|
+
* const Finding = await prisma.finding.create({
|
|
1613
|
+
* data: {
|
|
1614
|
+
* // ... data to create a Finding
|
|
1615
|
+
* }
|
|
1616
|
+
* })
|
|
1617
|
+
*
|
|
1618
|
+
*/
|
|
1619
|
+
create<T extends FindingCreateArgs>(args: Prisma.SelectSubset<T, FindingCreateArgs<ExtArgs>>): Prisma.Prisma__FindingClient<runtime.Types.Result.GetResult<Prisma.$FindingPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1620
|
+
/**
|
|
1621
|
+
* Create many Findings.
|
|
1622
|
+
* @param {FindingCreateManyArgs} args - Arguments to create many Findings.
|
|
1623
|
+
* @example
|
|
1624
|
+
* // Create many Findings
|
|
1625
|
+
* const finding = await prisma.finding.createMany({
|
|
1626
|
+
* data: [
|
|
1627
|
+
* // ... provide data here
|
|
1628
|
+
* ]
|
|
1629
|
+
* })
|
|
1630
|
+
*
|
|
1631
|
+
*/
|
|
1632
|
+
createMany<T extends FindingCreateManyArgs>(args?: Prisma.SelectSubset<T, FindingCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1633
|
+
/**
|
|
1634
|
+
* Create many Findings and returns the data saved in the database.
|
|
1635
|
+
* @param {FindingCreateManyAndReturnArgs} args - Arguments to create many Findings.
|
|
1636
|
+
* @example
|
|
1637
|
+
* // Create many Findings
|
|
1638
|
+
* const finding = await prisma.finding.createManyAndReturn({
|
|
1639
|
+
* data: [
|
|
1640
|
+
* // ... provide data here
|
|
1641
|
+
* ]
|
|
1642
|
+
* })
|
|
1643
|
+
*
|
|
1644
|
+
* // Create many Findings and only return the `id`
|
|
1645
|
+
* const findingWithIdOnly = await prisma.finding.createManyAndReturn({
|
|
1646
|
+
* select: { id: true },
|
|
1647
|
+
* data: [
|
|
1648
|
+
* // ... provide data here
|
|
1649
|
+
* ]
|
|
1650
|
+
* })
|
|
1651
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1652
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1653
|
+
*
|
|
1654
|
+
*/
|
|
1655
|
+
createManyAndReturn<T extends FindingCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, FindingCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FindingPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
1656
|
+
/**
|
|
1657
|
+
* Delete a Finding.
|
|
1658
|
+
* @param {FindingDeleteArgs} args - Arguments to delete one Finding.
|
|
1659
|
+
* @example
|
|
1660
|
+
* // Delete one Finding
|
|
1661
|
+
* const Finding = await prisma.finding.delete({
|
|
1662
|
+
* where: {
|
|
1663
|
+
* // ... filter to delete one Finding
|
|
1664
|
+
* }
|
|
1665
|
+
* })
|
|
1666
|
+
*
|
|
1667
|
+
*/
|
|
1668
|
+
delete<T extends FindingDeleteArgs>(args: Prisma.SelectSubset<T, FindingDeleteArgs<ExtArgs>>): Prisma.Prisma__FindingClient<runtime.Types.Result.GetResult<Prisma.$FindingPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1669
|
+
/**
|
|
1670
|
+
* Update one Finding.
|
|
1671
|
+
* @param {FindingUpdateArgs} args - Arguments to update one Finding.
|
|
1672
|
+
* @example
|
|
1673
|
+
* // Update one Finding
|
|
1674
|
+
* const finding = await prisma.finding.update({
|
|
1675
|
+
* where: {
|
|
1676
|
+
* // ... provide filter here
|
|
1677
|
+
* },
|
|
1678
|
+
* data: {
|
|
1679
|
+
* // ... provide data here
|
|
1680
|
+
* }
|
|
1681
|
+
* })
|
|
1682
|
+
*
|
|
1683
|
+
*/
|
|
1684
|
+
update<T extends FindingUpdateArgs>(args: Prisma.SelectSubset<T, FindingUpdateArgs<ExtArgs>>): Prisma.Prisma__FindingClient<runtime.Types.Result.GetResult<Prisma.$FindingPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1685
|
+
/**
|
|
1686
|
+
* Delete zero or more Findings.
|
|
1687
|
+
* @param {FindingDeleteManyArgs} args - Arguments to filter Findings to delete.
|
|
1688
|
+
* @example
|
|
1689
|
+
* // Delete a few Findings
|
|
1690
|
+
* const { count } = await prisma.finding.deleteMany({
|
|
1691
|
+
* where: {
|
|
1692
|
+
* // ... provide filter here
|
|
1693
|
+
* }
|
|
1694
|
+
* })
|
|
1695
|
+
*
|
|
1696
|
+
*/
|
|
1697
|
+
deleteMany<T extends FindingDeleteManyArgs>(args?: Prisma.SelectSubset<T, FindingDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1698
|
+
/**
|
|
1699
|
+
* Update zero or more Findings.
|
|
1700
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1701
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1702
|
+
* @param {FindingUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1703
|
+
* @example
|
|
1704
|
+
* // Update many Findings
|
|
1705
|
+
* const finding = await prisma.finding.updateMany({
|
|
1706
|
+
* where: {
|
|
1707
|
+
* // ... provide filter here
|
|
1708
|
+
* },
|
|
1709
|
+
* data: {
|
|
1710
|
+
* // ... provide data here
|
|
1711
|
+
* }
|
|
1712
|
+
* })
|
|
1713
|
+
*
|
|
1714
|
+
*/
|
|
1715
|
+
updateMany<T extends FindingUpdateManyArgs>(args: Prisma.SelectSubset<T, FindingUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1716
|
+
/**
|
|
1717
|
+
* Update zero or more Findings and returns the data updated in the database.
|
|
1718
|
+
* @param {FindingUpdateManyAndReturnArgs} args - Arguments to update many Findings.
|
|
1719
|
+
* @example
|
|
1720
|
+
* // Update many Findings
|
|
1721
|
+
* const finding = await prisma.finding.updateManyAndReturn({
|
|
1722
|
+
* where: {
|
|
1723
|
+
* // ... provide filter here
|
|
1724
|
+
* },
|
|
1725
|
+
* data: [
|
|
1726
|
+
* // ... provide data here
|
|
1727
|
+
* ]
|
|
1728
|
+
* })
|
|
1729
|
+
*
|
|
1730
|
+
* // Update zero or more Findings and only return the `id`
|
|
1731
|
+
* const findingWithIdOnly = await prisma.finding.updateManyAndReturn({
|
|
1732
|
+
* select: { id: true },
|
|
1733
|
+
* where: {
|
|
1734
|
+
* // ... provide filter here
|
|
1735
|
+
* },
|
|
1736
|
+
* data: [
|
|
1737
|
+
* // ... provide data here
|
|
1738
|
+
* ]
|
|
1739
|
+
* })
|
|
1740
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1741
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1742
|
+
*
|
|
1743
|
+
*/
|
|
1744
|
+
updateManyAndReturn<T extends FindingUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, FindingUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FindingPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
1745
|
+
/**
|
|
1746
|
+
* Create or update one Finding.
|
|
1747
|
+
* @param {FindingUpsertArgs} args - Arguments to update or create a Finding.
|
|
1748
|
+
* @example
|
|
1749
|
+
* // Update or create a Finding
|
|
1750
|
+
* const finding = await prisma.finding.upsert({
|
|
1751
|
+
* create: {
|
|
1752
|
+
* // ... data to create a Finding
|
|
1753
|
+
* },
|
|
1754
|
+
* update: {
|
|
1755
|
+
* // ... in case it already exists, update
|
|
1756
|
+
* },
|
|
1757
|
+
* where: {
|
|
1758
|
+
* // ... the filter for the Finding we want to update
|
|
1759
|
+
* }
|
|
1760
|
+
* })
|
|
1761
|
+
*/
|
|
1762
|
+
upsert<T extends FindingUpsertArgs>(args: Prisma.SelectSubset<T, FindingUpsertArgs<ExtArgs>>): Prisma.Prisma__FindingClient<runtime.Types.Result.GetResult<Prisma.$FindingPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1763
|
+
/**
|
|
1764
|
+
* Count the number of Findings.
|
|
1765
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1766
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1767
|
+
* @param {FindingCountArgs} args - Arguments to filter Findings to count.
|
|
1768
|
+
* @example
|
|
1769
|
+
* // Count the number of Findings
|
|
1770
|
+
* const count = await prisma.finding.count({
|
|
1771
|
+
* where: {
|
|
1772
|
+
* // ... the filter for the Findings we want to count
|
|
1773
|
+
* }
|
|
1774
|
+
* })
|
|
1775
|
+
**/
|
|
1776
|
+
count<T extends FindingCountArgs>(args?: Prisma.Subset<T, FindingCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], FindingCountAggregateOutputType> : number>;
|
|
1777
|
+
/**
|
|
1778
|
+
* Allows you to perform aggregations operations on a Finding.
|
|
1779
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1780
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1781
|
+
* @param {FindingAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1782
|
+
* @example
|
|
1783
|
+
* // Ordered by age ascending
|
|
1784
|
+
* // Where email contains prisma.io
|
|
1785
|
+
* // Limited to the 10 users
|
|
1786
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1787
|
+
* _avg: {
|
|
1788
|
+
* age: true,
|
|
1789
|
+
* },
|
|
1790
|
+
* where: {
|
|
1791
|
+
* email: {
|
|
1792
|
+
* contains: "prisma.io",
|
|
1793
|
+
* },
|
|
1794
|
+
* },
|
|
1795
|
+
* orderBy: {
|
|
1796
|
+
* age: "asc",
|
|
1797
|
+
* },
|
|
1798
|
+
* take: 10,
|
|
1799
|
+
* })
|
|
1800
|
+
**/
|
|
1801
|
+
aggregate<T extends FindingAggregateArgs>(args: Prisma.Subset<T, FindingAggregateArgs>): Prisma.PrismaPromise<GetFindingAggregateType<T>>;
|
|
1802
|
+
/**
|
|
1803
|
+
* Group by Finding.
|
|
1804
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1805
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1806
|
+
* @param {FindingGroupByArgs} args - Group by arguments.
|
|
1807
|
+
* @example
|
|
1808
|
+
* // Group by city, order by createdAt, get count
|
|
1809
|
+
* const result = await prisma.user.groupBy({
|
|
1810
|
+
* by: ['city', 'createdAt'],
|
|
1811
|
+
* orderBy: {
|
|
1812
|
+
* createdAt: true
|
|
1813
|
+
* },
|
|
1814
|
+
* _count: {
|
|
1815
|
+
* _all: true
|
|
1816
|
+
* },
|
|
1817
|
+
* })
|
|
1818
|
+
*
|
|
1819
|
+
**/
|
|
1820
|
+
groupBy<T extends FindingGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
1821
|
+
orderBy: FindingGroupByArgs['orderBy'];
|
|
1822
|
+
} : {
|
|
1823
|
+
orderBy?: FindingGroupByArgs['orderBy'];
|
|
1824
|
+
}, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? {
|
|
1825
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
1826
|
+
Error,
|
|
1827
|
+
'Field ',
|
|
1828
|
+
P,
|
|
1829
|
+
` in "having" needs to be provided in "by"`
|
|
1830
|
+
];
|
|
1831
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
1832
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1833
|
+
}[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
1834
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1835
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
1836
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1837
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, FindingGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetFindingGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
1838
|
+
/**
|
|
1839
|
+
* Fields of the Finding model
|
|
1840
|
+
*/
|
|
1841
|
+
readonly fields: FindingFieldRefs;
|
|
1842
|
+
}
|
|
1843
|
+
/**
|
|
1844
|
+
* The delegate class that acts as a "Promise-like" for Finding.
|
|
1845
|
+
* Why is this prefixed with `Prisma__`?
|
|
1846
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1847
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1848
|
+
*/
|
|
1849
|
+
export interface Prisma__FindingClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1850
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1851
|
+
task<T extends Prisma.Finding$taskArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Finding$taskArgs<ExtArgs>>): Prisma.Prisma__TaskClient<runtime.Types.Result.GetResult<Prisma.$TaskPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1852
|
+
evidenceSubmission<T extends Prisma.Finding$evidenceSubmissionArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Finding$evidenceSubmissionArgs<ExtArgs>>): Prisma.Prisma__EvidenceSubmissionClient<runtime.Types.Result.GetResult<Prisma.$EvidenceSubmissionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1853
|
+
template<T extends Prisma.Finding$templateArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Finding$templateArgs<ExtArgs>>): Prisma.Prisma__FindingTemplateClient<runtime.Types.Result.GetResult<Prisma.$FindingTemplatePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1854
|
+
createdBy<T extends Prisma.Finding$createdByArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Finding$createdByArgs<ExtArgs>>): Prisma.Prisma__MemberClient<runtime.Types.Result.GetResult<Prisma.$MemberPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1855
|
+
createdByAdmin<T extends Prisma.Finding$createdByAdminArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Finding$createdByAdminArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1856
|
+
organization<T extends Prisma.OrganizationDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.OrganizationDefaultArgs<ExtArgs>>): Prisma.Prisma__OrganizationClient<runtime.Types.Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1857
|
+
/**
|
|
1858
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1859
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1860
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1861
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1862
|
+
*/
|
|
1863
|
+
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>;
|
|
1864
|
+
/**
|
|
1865
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1866
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1867
|
+
* @returns A Promise for the completion of the callback.
|
|
1868
|
+
*/
|
|
1869
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
1870
|
+
/**
|
|
1871
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1872
|
+
* resolved value cannot be modified from the callback.
|
|
1873
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1874
|
+
* @returns A Promise for the completion of the callback.
|
|
1875
|
+
*/
|
|
1876
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
1877
|
+
}
|
|
1878
|
+
/**
|
|
1879
|
+
* Fields of the Finding model
|
|
1880
|
+
*/
|
|
1881
|
+
export interface FindingFieldRefs {
|
|
1882
|
+
readonly id: Prisma.FieldRef<"Finding", 'String'>;
|
|
1883
|
+
readonly type: Prisma.FieldRef<"Finding", 'FindingType'>;
|
|
1884
|
+
readonly status: Prisma.FieldRef<"Finding", 'FindingStatus'>;
|
|
1885
|
+
readonly content: Prisma.FieldRef<"Finding", 'String'>;
|
|
1886
|
+
readonly revisionNote: Prisma.FieldRef<"Finding", 'String'>;
|
|
1887
|
+
readonly createdAt: Prisma.FieldRef<"Finding", 'DateTime'>;
|
|
1888
|
+
readonly updatedAt: Prisma.FieldRef<"Finding", 'DateTime'>;
|
|
1889
|
+
readonly taskId: Prisma.FieldRef<"Finding", 'String'>;
|
|
1890
|
+
readonly evidenceSubmissionId: Prisma.FieldRef<"Finding", 'String'>;
|
|
1891
|
+
readonly evidenceFormType: Prisma.FieldRef<"Finding", 'EvidenceFormType'>;
|
|
1892
|
+
readonly templateId: Prisma.FieldRef<"Finding", 'String'>;
|
|
1893
|
+
readonly createdById: Prisma.FieldRef<"Finding", 'String'>;
|
|
1894
|
+
readonly createdByAdminId: Prisma.FieldRef<"Finding", 'String'>;
|
|
1895
|
+
readonly organizationId: Prisma.FieldRef<"Finding", 'String'>;
|
|
1896
|
+
}
|
|
1897
|
+
/**
|
|
1898
|
+
* Finding findUnique
|
|
1899
|
+
*/
|
|
1900
|
+
export type FindingFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1901
|
+
/**
|
|
1902
|
+
* Select specific fields to fetch from the Finding
|
|
1903
|
+
*/
|
|
1904
|
+
select?: Prisma.FindingSelect<ExtArgs> | null;
|
|
1905
|
+
/**
|
|
1906
|
+
* Omit specific fields from the Finding
|
|
1907
|
+
*/
|
|
1908
|
+
omit?: Prisma.FindingOmit<ExtArgs> | null;
|
|
1909
|
+
/**
|
|
1910
|
+
* Choose, which related nodes to fetch as well
|
|
1911
|
+
*/
|
|
1912
|
+
include?: Prisma.FindingInclude<ExtArgs> | null;
|
|
1913
|
+
/**
|
|
1914
|
+
* Filter, which Finding to fetch.
|
|
1915
|
+
*/
|
|
1916
|
+
where: Prisma.FindingWhereUniqueInput;
|
|
1917
|
+
};
|
|
1918
|
+
/**
|
|
1919
|
+
* Finding findUniqueOrThrow
|
|
1920
|
+
*/
|
|
1921
|
+
export type FindingFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1922
|
+
/**
|
|
1923
|
+
* Select specific fields to fetch from the Finding
|
|
1924
|
+
*/
|
|
1925
|
+
select?: Prisma.FindingSelect<ExtArgs> | null;
|
|
1926
|
+
/**
|
|
1927
|
+
* Omit specific fields from the Finding
|
|
1928
|
+
*/
|
|
1929
|
+
omit?: Prisma.FindingOmit<ExtArgs> | null;
|
|
1930
|
+
/**
|
|
1931
|
+
* Choose, which related nodes to fetch as well
|
|
1932
|
+
*/
|
|
1933
|
+
include?: Prisma.FindingInclude<ExtArgs> | null;
|
|
1934
|
+
/**
|
|
1935
|
+
* Filter, which Finding to fetch.
|
|
1936
|
+
*/
|
|
1937
|
+
where: Prisma.FindingWhereUniqueInput;
|
|
1938
|
+
};
|
|
1939
|
+
/**
|
|
1940
|
+
* Finding findFirst
|
|
1941
|
+
*/
|
|
1942
|
+
export type FindingFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1943
|
+
/**
|
|
1944
|
+
* Select specific fields to fetch from the Finding
|
|
1945
|
+
*/
|
|
1946
|
+
select?: Prisma.FindingSelect<ExtArgs> | null;
|
|
1947
|
+
/**
|
|
1948
|
+
* Omit specific fields from the Finding
|
|
1949
|
+
*/
|
|
1950
|
+
omit?: Prisma.FindingOmit<ExtArgs> | null;
|
|
1951
|
+
/**
|
|
1952
|
+
* Choose, which related nodes to fetch as well
|
|
1953
|
+
*/
|
|
1954
|
+
include?: Prisma.FindingInclude<ExtArgs> | null;
|
|
1955
|
+
/**
|
|
1956
|
+
* Filter, which Finding to fetch.
|
|
1957
|
+
*/
|
|
1958
|
+
where?: Prisma.FindingWhereInput;
|
|
1959
|
+
/**
|
|
1960
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1961
|
+
*
|
|
1962
|
+
* Determine the order of Findings to fetch.
|
|
1963
|
+
*/
|
|
1964
|
+
orderBy?: Prisma.FindingOrderByWithRelationInput | Prisma.FindingOrderByWithRelationInput[];
|
|
1965
|
+
/**
|
|
1966
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1967
|
+
*
|
|
1968
|
+
* Sets the position for searching for Findings.
|
|
1969
|
+
*/
|
|
1970
|
+
cursor?: Prisma.FindingWhereUniqueInput;
|
|
1971
|
+
/**
|
|
1972
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1973
|
+
*
|
|
1974
|
+
* Take `±n` Findings from the position of the cursor.
|
|
1975
|
+
*/
|
|
1976
|
+
take?: number;
|
|
1977
|
+
/**
|
|
1978
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1979
|
+
*
|
|
1980
|
+
* Skip the first `n` Findings.
|
|
1981
|
+
*/
|
|
1982
|
+
skip?: number;
|
|
1983
|
+
/**
|
|
1984
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1985
|
+
*
|
|
1986
|
+
* Filter by unique combinations of Findings.
|
|
1987
|
+
*/
|
|
1988
|
+
distinct?: Prisma.FindingScalarFieldEnum | Prisma.FindingScalarFieldEnum[];
|
|
1989
|
+
};
|
|
1990
|
+
/**
|
|
1991
|
+
* Finding findFirstOrThrow
|
|
1992
|
+
*/
|
|
1993
|
+
export type FindingFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1994
|
+
/**
|
|
1995
|
+
* Select specific fields to fetch from the Finding
|
|
1996
|
+
*/
|
|
1997
|
+
select?: Prisma.FindingSelect<ExtArgs> | null;
|
|
1998
|
+
/**
|
|
1999
|
+
* Omit specific fields from the Finding
|
|
2000
|
+
*/
|
|
2001
|
+
omit?: Prisma.FindingOmit<ExtArgs> | null;
|
|
2002
|
+
/**
|
|
2003
|
+
* Choose, which related nodes to fetch as well
|
|
2004
|
+
*/
|
|
2005
|
+
include?: Prisma.FindingInclude<ExtArgs> | null;
|
|
2006
|
+
/**
|
|
2007
|
+
* Filter, which Finding to fetch.
|
|
2008
|
+
*/
|
|
2009
|
+
where?: Prisma.FindingWhereInput;
|
|
2010
|
+
/**
|
|
2011
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2012
|
+
*
|
|
2013
|
+
* Determine the order of Findings to fetch.
|
|
2014
|
+
*/
|
|
2015
|
+
orderBy?: Prisma.FindingOrderByWithRelationInput | Prisma.FindingOrderByWithRelationInput[];
|
|
2016
|
+
/**
|
|
2017
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2018
|
+
*
|
|
2019
|
+
* Sets the position for searching for Findings.
|
|
2020
|
+
*/
|
|
2021
|
+
cursor?: Prisma.FindingWhereUniqueInput;
|
|
2022
|
+
/**
|
|
2023
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2024
|
+
*
|
|
2025
|
+
* Take `±n` Findings from the position of the cursor.
|
|
2026
|
+
*/
|
|
2027
|
+
take?: number;
|
|
2028
|
+
/**
|
|
2029
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2030
|
+
*
|
|
2031
|
+
* Skip the first `n` Findings.
|
|
2032
|
+
*/
|
|
2033
|
+
skip?: number;
|
|
2034
|
+
/**
|
|
2035
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
2036
|
+
*
|
|
2037
|
+
* Filter by unique combinations of Findings.
|
|
2038
|
+
*/
|
|
2039
|
+
distinct?: Prisma.FindingScalarFieldEnum | Prisma.FindingScalarFieldEnum[];
|
|
2040
|
+
};
|
|
2041
|
+
/**
|
|
2042
|
+
* Finding findMany
|
|
2043
|
+
*/
|
|
2044
|
+
export type FindingFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2045
|
+
/**
|
|
2046
|
+
* Select specific fields to fetch from the Finding
|
|
2047
|
+
*/
|
|
2048
|
+
select?: Prisma.FindingSelect<ExtArgs> | null;
|
|
2049
|
+
/**
|
|
2050
|
+
* Omit specific fields from the Finding
|
|
2051
|
+
*/
|
|
2052
|
+
omit?: Prisma.FindingOmit<ExtArgs> | null;
|
|
2053
|
+
/**
|
|
2054
|
+
* Choose, which related nodes to fetch as well
|
|
2055
|
+
*/
|
|
2056
|
+
include?: Prisma.FindingInclude<ExtArgs> | null;
|
|
2057
|
+
/**
|
|
2058
|
+
* Filter, which Findings to fetch.
|
|
2059
|
+
*/
|
|
2060
|
+
where?: Prisma.FindingWhereInput;
|
|
2061
|
+
/**
|
|
2062
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2063
|
+
*
|
|
2064
|
+
* Determine the order of Findings to fetch.
|
|
2065
|
+
*/
|
|
2066
|
+
orderBy?: Prisma.FindingOrderByWithRelationInput | Prisma.FindingOrderByWithRelationInput[];
|
|
2067
|
+
/**
|
|
2068
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2069
|
+
*
|
|
2070
|
+
* Sets the position for listing Findings.
|
|
2071
|
+
*/
|
|
2072
|
+
cursor?: Prisma.FindingWhereUniqueInput;
|
|
2073
|
+
/**
|
|
2074
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2075
|
+
*
|
|
2076
|
+
* Take `±n` Findings from the position of the cursor.
|
|
2077
|
+
*/
|
|
2078
|
+
take?: number;
|
|
2079
|
+
/**
|
|
2080
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2081
|
+
*
|
|
2082
|
+
* Skip the first `n` Findings.
|
|
2083
|
+
*/
|
|
2084
|
+
skip?: number;
|
|
2085
|
+
/**
|
|
2086
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
2087
|
+
*
|
|
2088
|
+
* Filter by unique combinations of Findings.
|
|
2089
|
+
*/
|
|
2090
|
+
distinct?: Prisma.FindingScalarFieldEnum | Prisma.FindingScalarFieldEnum[];
|
|
2091
|
+
};
|
|
2092
|
+
/**
|
|
2093
|
+
* Finding create
|
|
2094
|
+
*/
|
|
2095
|
+
export type FindingCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2096
|
+
/**
|
|
2097
|
+
* Select specific fields to fetch from the Finding
|
|
2098
|
+
*/
|
|
2099
|
+
select?: Prisma.FindingSelect<ExtArgs> | null;
|
|
2100
|
+
/**
|
|
2101
|
+
* Omit specific fields from the Finding
|
|
2102
|
+
*/
|
|
2103
|
+
omit?: Prisma.FindingOmit<ExtArgs> | null;
|
|
2104
|
+
/**
|
|
2105
|
+
* Choose, which related nodes to fetch as well
|
|
2106
|
+
*/
|
|
2107
|
+
include?: Prisma.FindingInclude<ExtArgs> | null;
|
|
2108
|
+
/**
|
|
2109
|
+
* The data needed to create a Finding.
|
|
2110
|
+
*/
|
|
2111
|
+
data: Prisma.XOR<Prisma.FindingCreateInput, Prisma.FindingUncheckedCreateInput>;
|
|
2112
|
+
};
|
|
2113
|
+
/**
|
|
2114
|
+
* Finding createMany
|
|
2115
|
+
*/
|
|
2116
|
+
export type FindingCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2117
|
+
/**
|
|
2118
|
+
* The data used to create many Findings.
|
|
2119
|
+
*/
|
|
2120
|
+
data: Prisma.FindingCreateManyInput | Prisma.FindingCreateManyInput[];
|
|
2121
|
+
skipDuplicates?: boolean;
|
|
2122
|
+
};
|
|
2123
|
+
/**
|
|
2124
|
+
* Finding createManyAndReturn
|
|
2125
|
+
*/
|
|
2126
|
+
export type FindingCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2127
|
+
/**
|
|
2128
|
+
* Select specific fields to fetch from the Finding
|
|
2129
|
+
*/
|
|
2130
|
+
select?: Prisma.FindingSelectCreateManyAndReturn<ExtArgs> | null;
|
|
2131
|
+
/**
|
|
2132
|
+
* Omit specific fields from the Finding
|
|
2133
|
+
*/
|
|
2134
|
+
omit?: Prisma.FindingOmit<ExtArgs> | null;
|
|
2135
|
+
/**
|
|
2136
|
+
* The data used to create many Findings.
|
|
2137
|
+
*/
|
|
2138
|
+
data: Prisma.FindingCreateManyInput | Prisma.FindingCreateManyInput[];
|
|
2139
|
+
skipDuplicates?: boolean;
|
|
2140
|
+
/**
|
|
2141
|
+
* Choose, which related nodes to fetch as well
|
|
2142
|
+
*/
|
|
2143
|
+
include?: Prisma.FindingIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
2144
|
+
};
|
|
2145
|
+
/**
|
|
2146
|
+
* Finding update
|
|
2147
|
+
*/
|
|
2148
|
+
export type FindingUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2149
|
+
/**
|
|
2150
|
+
* Select specific fields to fetch from the Finding
|
|
2151
|
+
*/
|
|
2152
|
+
select?: Prisma.FindingSelect<ExtArgs> | null;
|
|
2153
|
+
/**
|
|
2154
|
+
* Omit specific fields from the Finding
|
|
2155
|
+
*/
|
|
2156
|
+
omit?: Prisma.FindingOmit<ExtArgs> | null;
|
|
2157
|
+
/**
|
|
2158
|
+
* Choose, which related nodes to fetch as well
|
|
2159
|
+
*/
|
|
2160
|
+
include?: Prisma.FindingInclude<ExtArgs> | null;
|
|
2161
|
+
/**
|
|
2162
|
+
* The data needed to update a Finding.
|
|
2163
|
+
*/
|
|
2164
|
+
data: Prisma.XOR<Prisma.FindingUpdateInput, Prisma.FindingUncheckedUpdateInput>;
|
|
2165
|
+
/**
|
|
2166
|
+
* Choose, which Finding to update.
|
|
2167
|
+
*/
|
|
2168
|
+
where: Prisma.FindingWhereUniqueInput;
|
|
2169
|
+
};
|
|
2170
|
+
/**
|
|
2171
|
+
* Finding updateMany
|
|
2172
|
+
*/
|
|
2173
|
+
export type FindingUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2174
|
+
/**
|
|
2175
|
+
* The data used to update Findings.
|
|
2176
|
+
*/
|
|
2177
|
+
data: Prisma.XOR<Prisma.FindingUpdateManyMutationInput, Prisma.FindingUncheckedUpdateManyInput>;
|
|
2178
|
+
/**
|
|
2179
|
+
* Filter which Findings to update
|
|
2180
|
+
*/
|
|
2181
|
+
where?: Prisma.FindingWhereInput;
|
|
2182
|
+
/**
|
|
2183
|
+
* Limit how many Findings to update.
|
|
2184
|
+
*/
|
|
2185
|
+
limit?: number;
|
|
2186
|
+
};
|
|
2187
|
+
/**
|
|
2188
|
+
* Finding updateManyAndReturn
|
|
2189
|
+
*/
|
|
2190
|
+
export type FindingUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2191
|
+
/**
|
|
2192
|
+
* Select specific fields to fetch from the Finding
|
|
2193
|
+
*/
|
|
2194
|
+
select?: Prisma.FindingSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
2195
|
+
/**
|
|
2196
|
+
* Omit specific fields from the Finding
|
|
2197
|
+
*/
|
|
2198
|
+
omit?: Prisma.FindingOmit<ExtArgs> | null;
|
|
2199
|
+
/**
|
|
2200
|
+
* The data used to update Findings.
|
|
2201
|
+
*/
|
|
2202
|
+
data: Prisma.XOR<Prisma.FindingUpdateManyMutationInput, Prisma.FindingUncheckedUpdateManyInput>;
|
|
2203
|
+
/**
|
|
2204
|
+
* Filter which Findings to update
|
|
2205
|
+
*/
|
|
2206
|
+
where?: Prisma.FindingWhereInput;
|
|
2207
|
+
/**
|
|
2208
|
+
* Limit how many Findings to update.
|
|
2209
|
+
*/
|
|
2210
|
+
limit?: number;
|
|
2211
|
+
/**
|
|
2212
|
+
* Choose, which related nodes to fetch as well
|
|
2213
|
+
*/
|
|
2214
|
+
include?: Prisma.FindingIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
2215
|
+
};
|
|
2216
|
+
/**
|
|
2217
|
+
* Finding upsert
|
|
2218
|
+
*/
|
|
2219
|
+
export type FindingUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2220
|
+
/**
|
|
2221
|
+
* Select specific fields to fetch from the Finding
|
|
2222
|
+
*/
|
|
2223
|
+
select?: Prisma.FindingSelect<ExtArgs> | null;
|
|
2224
|
+
/**
|
|
2225
|
+
* Omit specific fields from the Finding
|
|
2226
|
+
*/
|
|
2227
|
+
omit?: Prisma.FindingOmit<ExtArgs> | null;
|
|
2228
|
+
/**
|
|
2229
|
+
* Choose, which related nodes to fetch as well
|
|
2230
|
+
*/
|
|
2231
|
+
include?: Prisma.FindingInclude<ExtArgs> | null;
|
|
2232
|
+
/**
|
|
2233
|
+
* The filter to search for the Finding to update in case it exists.
|
|
2234
|
+
*/
|
|
2235
|
+
where: Prisma.FindingWhereUniqueInput;
|
|
2236
|
+
/**
|
|
2237
|
+
* In case the Finding found by the `where` argument doesn't exist, create a new Finding with this data.
|
|
2238
|
+
*/
|
|
2239
|
+
create: Prisma.XOR<Prisma.FindingCreateInput, Prisma.FindingUncheckedCreateInput>;
|
|
2240
|
+
/**
|
|
2241
|
+
* In case the Finding was found with the provided `where` argument, update it with this data.
|
|
2242
|
+
*/
|
|
2243
|
+
update: Prisma.XOR<Prisma.FindingUpdateInput, Prisma.FindingUncheckedUpdateInput>;
|
|
2244
|
+
};
|
|
2245
|
+
/**
|
|
2246
|
+
* Finding delete
|
|
2247
|
+
*/
|
|
2248
|
+
export type FindingDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2249
|
+
/**
|
|
2250
|
+
* Select specific fields to fetch from the Finding
|
|
2251
|
+
*/
|
|
2252
|
+
select?: Prisma.FindingSelect<ExtArgs> | null;
|
|
2253
|
+
/**
|
|
2254
|
+
* Omit specific fields from the Finding
|
|
2255
|
+
*/
|
|
2256
|
+
omit?: Prisma.FindingOmit<ExtArgs> | null;
|
|
2257
|
+
/**
|
|
2258
|
+
* Choose, which related nodes to fetch as well
|
|
2259
|
+
*/
|
|
2260
|
+
include?: Prisma.FindingInclude<ExtArgs> | null;
|
|
2261
|
+
/**
|
|
2262
|
+
* Filter which Finding to delete.
|
|
2263
|
+
*/
|
|
2264
|
+
where: Prisma.FindingWhereUniqueInput;
|
|
2265
|
+
};
|
|
2266
|
+
/**
|
|
2267
|
+
* Finding deleteMany
|
|
2268
|
+
*/
|
|
2269
|
+
export type FindingDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2270
|
+
/**
|
|
2271
|
+
* Filter which Findings to delete
|
|
2272
|
+
*/
|
|
2273
|
+
where?: Prisma.FindingWhereInput;
|
|
2274
|
+
/**
|
|
2275
|
+
* Limit how many Findings to delete.
|
|
2276
|
+
*/
|
|
2277
|
+
limit?: number;
|
|
2278
|
+
};
|
|
2279
|
+
/**
|
|
2280
|
+
* Finding.task
|
|
2281
|
+
*/
|
|
2282
|
+
export type Finding$taskArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2283
|
+
/**
|
|
2284
|
+
* Select specific fields to fetch from the Task
|
|
2285
|
+
*/
|
|
2286
|
+
select?: Prisma.TaskSelect<ExtArgs> | null;
|
|
2287
|
+
/**
|
|
2288
|
+
* Omit specific fields from the Task
|
|
2289
|
+
*/
|
|
2290
|
+
omit?: Prisma.TaskOmit<ExtArgs> | null;
|
|
2291
|
+
/**
|
|
2292
|
+
* Choose, which related nodes to fetch as well
|
|
2293
|
+
*/
|
|
2294
|
+
include?: Prisma.TaskInclude<ExtArgs> | null;
|
|
2295
|
+
where?: Prisma.TaskWhereInput;
|
|
2296
|
+
};
|
|
2297
|
+
/**
|
|
2298
|
+
* Finding.evidenceSubmission
|
|
2299
|
+
*/
|
|
2300
|
+
export type Finding$evidenceSubmissionArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2301
|
+
/**
|
|
2302
|
+
* Select specific fields to fetch from the EvidenceSubmission
|
|
2303
|
+
*/
|
|
2304
|
+
select?: Prisma.EvidenceSubmissionSelect<ExtArgs> | null;
|
|
2305
|
+
/**
|
|
2306
|
+
* Omit specific fields from the EvidenceSubmission
|
|
2307
|
+
*/
|
|
2308
|
+
omit?: Prisma.EvidenceSubmissionOmit<ExtArgs> | null;
|
|
2309
|
+
/**
|
|
2310
|
+
* Choose, which related nodes to fetch as well
|
|
2311
|
+
*/
|
|
2312
|
+
include?: Prisma.EvidenceSubmissionInclude<ExtArgs> | null;
|
|
2313
|
+
where?: Prisma.EvidenceSubmissionWhereInput;
|
|
2314
|
+
};
|
|
2315
|
+
/**
|
|
2316
|
+
* Finding.template
|
|
2317
|
+
*/
|
|
2318
|
+
export type Finding$templateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2319
|
+
/**
|
|
2320
|
+
* Select specific fields to fetch from the FindingTemplate
|
|
2321
|
+
*/
|
|
2322
|
+
select?: Prisma.FindingTemplateSelect<ExtArgs> | null;
|
|
2323
|
+
/**
|
|
2324
|
+
* Omit specific fields from the FindingTemplate
|
|
2325
|
+
*/
|
|
2326
|
+
omit?: Prisma.FindingTemplateOmit<ExtArgs> | null;
|
|
2327
|
+
/**
|
|
2328
|
+
* Choose, which related nodes to fetch as well
|
|
2329
|
+
*/
|
|
2330
|
+
include?: Prisma.FindingTemplateInclude<ExtArgs> | null;
|
|
2331
|
+
where?: Prisma.FindingTemplateWhereInput;
|
|
2332
|
+
};
|
|
2333
|
+
/**
|
|
2334
|
+
* Finding.createdBy
|
|
2335
|
+
*/
|
|
2336
|
+
export type Finding$createdByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2337
|
+
/**
|
|
2338
|
+
* Select specific fields to fetch from the Member
|
|
2339
|
+
*/
|
|
2340
|
+
select?: Prisma.MemberSelect<ExtArgs> | null;
|
|
2341
|
+
/**
|
|
2342
|
+
* Omit specific fields from the Member
|
|
2343
|
+
*/
|
|
2344
|
+
omit?: Prisma.MemberOmit<ExtArgs> | null;
|
|
2345
|
+
/**
|
|
2346
|
+
* Choose, which related nodes to fetch as well
|
|
2347
|
+
*/
|
|
2348
|
+
include?: Prisma.MemberInclude<ExtArgs> | null;
|
|
2349
|
+
where?: Prisma.MemberWhereInput;
|
|
2350
|
+
};
|
|
2351
|
+
/**
|
|
2352
|
+
* Finding.createdByAdmin
|
|
2353
|
+
*/
|
|
2354
|
+
export type Finding$createdByAdminArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2355
|
+
/**
|
|
2356
|
+
* Select specific fields to fetch from the User
|
|
2357
|
+
*/
|
|
2358
|
+
select?: Prisma.UserSelect<ExtArgs> | null;
|
|
2359
|
+
/**
|
|
2360
|
+
* Omit specific fields from the User
|
|
2361
|
+
*/
|
|
2362
|
+
omit?: Prisma.UserOmit<ExtArgs> | null;
|
|
2363
|
+
/**
|
|
2364
|
+
* Choose, which related nodes to fetch as well
|
|
2365
|
+
*/
|
|
2366
|
+
include?: Prisma.UserInclude<ExtArgs> | null;
|
|
2367
|
+
where?: Prisma.UserWhereInput;
|
|
2368
|
+
};
|
|
2369
|
+
/**
|
|
2370
|
+
* Finding without action
|
|
2371
|
+
*/
|
|
2372
|
+
export type FindingDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2373
|
+
/**
|
|
2374
|
+
* Select specific fields to fetch from the Finding
|
|
2375
|
+
*/
|
|
2376
|
+
select?: Prisma.FindingSelect<ExtArgs> | null;
|
|
2377
|
+
/**
|
|
2378
|
+
* Omit specific fields from the Finding
|
|
2379
|
+
*/
|
|
2380
|
+
omit?: Prisma.FindingOmit<ExtArgs> | null;
|
|
2381
|
+
/**
|
|
2382
|
+
* Choose, which related nodes to fetch as well
|
|
2383
|
+
*/
|
|
2384
|
+
include?: Prisma.FindingInclude<ExtArgs> | null;
|
|
2385
|
+
};
|
|
2386
|
+
//# sourceMappingURL=Finding.d.ts.map
|