@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,1905 @@
|
|
|
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 EvidenceSubmission
|
|
6
|
+
*
|
|
7
|
+
*/
|
|
8
|
+
export type EvidenceSubmissionModel = runtime.Types.Result.DefaultSelection<Prisma.$EvidenceSubmissionPayload>;
|
|
9
|
+
export type AggregateEvidenceSubmission = {
|
|
10
|
+
_count: EvidenceSubmissionCountAggregateOutputType | null;
|
|
11
|
+
_min: EvidenceSubmissionMinAggregateOutputType | null;
|
|
12
|
+
_max: EvidenceSubmissionMaxAggregateOutputType | null;
|
|
13
|
+
};
|
|
14
|
+
export type EvidenceSubmissionMinAggregateOutputType = {
|
|
15
|
+
id: string | null;
|
|
16
|
+
organizationId: string | null;
|
|
17
|
+
formType: $Enums.EvidenceFormType | null;
|
|
18
|
+
submittedById: string | null;
|
|
19
|
+
submittedAt: Date | null;
|
|
20
|
+
status: string | null;
|
|
21
|
+
reviewedById: string | null;
|
|
22
|
+
reviewedAt: Date | null;
|
|
23
|
+
reviewReason: string | null;
|
|
24
|
+
createdAt: Date | null;
|
|
25
|
+
updatedAt: Date | null;
|
|
26
|
+
};
|
|
27
|
+
export type EvidenceSubmissionMaxAggregateOutputType = {
|
|
28
|
+
id: string | null;
|
|
29
|
+
organizationId: string | null;
|
|
30
|
+
formType: $Enums.EvidenceFormType | null;
|
|
31
|
+
submittedById: string | null;
|
|
32
|
+
submittedAt: Date | null;
|
|
33
|
+
status: string | null;
|
|
34
|
+
reviewedById: string | null;
|
|
35
|
+
reviewedAt: Date | null;
|
|
36
|
+
reviewReason: string | null;
|
|
37
|
+
createdAt: Date | null;
|
|
38
|
+
updatedAt: Date | null;
|
|
39
|
+
};
|
|
40
|
+
export type EvidenceSubmissionCountAggregateOutputType = {
|
|
41
|
+
id: number;
|
|
42
|
+
organizationId: number;
|
|
43
|
+
formType: number;
|
|
44
|
+
submittedById: number;
|
|
45
|
+
submittedAt: number;
|
|
46
|
+
data: number;
|
|
47
|
+
status: number;
|
|
48
|
+
reviewedById: number;
|
|
49
|
+
reviewedAt: number;
|
|
50
|
+
reviewReason: number;
|
|
51
|
+
createdAt: number;
|
|
52
|
+
updatedAt: number;
|
|
53
|
+
_all: number;
|
|
54
|
+
};
|
|
55
|
+
export type EvidenceSubmissionMinAggregateInputType = {
|
|
56
|
+
id?: true;
|
|
57
|
+
organizationId?: true;
|
|
58
|
+
formType?: true;
|
|
59
|
+
submittedById?: true;
|
|
60
|
+
submittedAt?: true;
|
|
61
|
+
status?: true;
|
|
62
|
+
reviewedById?: true;
|
|
63
|
+
reviewedAt?: true;
|
|
64
|
+
reviewReason?: true;
|
|
65
|
+
createdAt?: true;
|
|
66
|
+
updatedAt?: true;
|
|
67
|
+
};
|
|
68
|
+
export type EvidenceSubmissionMaxAggregateInputType = {
|
|
69
|
+
id?: true;
|
|
70
|
+
organizationId?: true;
|
|
71
|
+
formType?: true;
|
|
72
|
+
submittedById?: true;
|
|
73
|
+
submittedAt?: true;
|
|
74
|
+
status?: true;
|
|
75
|
+
reviewedById?: true;
|
|
76
|
+
reviewedAt?: true;
|
|
77
|
+
reviewReason?: true;
|
|
78
|
+
createdAt?: true;
|
|
79
|
+
updatedAt?: true;
|
|
80
|
+
};
|
|
81
|
+
export type EvidenceSubmissionCountAggregateInputType = {
|
|
82
|
+
id?: true;
|
|
83
|
+
organizationId?: true;
|
|
84
|
+
formType?: true;
|
|
85
|
+
submittedById?: true;
|
|
86
|
+
submittedAt?: true;
|
|
87
|
+
data?: true;
|
|
88
|
+
status?: true;
|
|
89
|
+
reviewedById?: true;
|
|
90
|
+
reviewedAt?: true;
|
|
91
|
+
reviewReason?: true;
|
|
92
|
+
createdAt?: true;
|
|
93
|
+
updatedAt?: true;
|
|
94
|
+
_all?: true;
|
|
95
|
+
};
|
|
96
|
+
export type EvidenceSubmissionAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
97
|
+
/**
|
|
98
|
+
* Filter which EvidenceSubmission to aggregate.
|
|
99
|
+
*/
|
|
100
|
+
where?: Prisma.EvidenceSubmissionWhereInput;
|
|
101
|
+
/**
|
|
102
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
103
|
+
*
|
|
104
|
+
* Determine the order of EvidenceSubmissions to fetch.
|
|
105
|
+
*/
|
|
106
|
+
orderBy?: Prisma.EvidenceSubmissionOrderByWithRelationInput | Prisma.EvidenceSubmissionOrderByWithRelationInput[];
|
|
107
|
+
/**
|
|
108
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
109
|
+
*
|
|
110
|
+
* Sets the start position
|
|
111
|
+
*/
|
|
112
|
+
cursor?: Prisma.EvidenceSubmissionWhereUniqueInput;
|
|
113
|
+
/**
|
|
114
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
115
|
+
*
|
|
116
|
+
* Take `±n` EvidenceSubmissions from the position of the cursor.
|
|
117
|
+
*/
|
|
118
|
+
take?: number;
|
|
119
|
+
/**
|
|
120
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
121
|
+
*
|
|
122
|
+
* Skip the first `n` EvidenceSubmissions.
|
|
123
|
+
*/
|
|
124
|
+
skip?: number;
|
|
125
|
+
/**
|
|
126
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
127
|
+
*
|
|
128
|
+
* Count returned EvidenceSubmissions
|
|
129
|
+
**/
|
|
130
|
+
_count?: true | EvidenceSubmissionCountAggregateInputType;
|
|
131
|
+
/**
|
|
132
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
133
|
+
*
|
|
134
|
+
* Select which fields to find the minimum value
|
|
135
|
+
**/
|
|
136
|
+
_min?: EvidenceSubmissionMinAggregateInputType;
|
|
137
|
+
/**
|
|
138
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
139
|
+
*
|
|
140
|
+
* Select which fields to find the maximum value
|
|
141
|
+
**/
|
|
142
|
+
_max?: EvidenceSubmissionMaxAggregateInputType;
|
|
143
|
+
};
|
|
144
|
+
export type GetEvidenceSubmissionAggregateType<T extends EvidenceSubmissionAggregateArgs> = {
|
|
145
|
+
[P in keyof T & keyof AggregateEvidenceSubmission]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateEvidenceSubmission[P]> : Prisma.GetScalarType<T[P], AggregateEvidenceSubmission[P]>;
|
|
146
|
+
};
|
|
147
|
+
export type EvidenceSubmissionGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
148
|
+
where?: Prisma.EvidenceSubmissionWhereInput;
|
|
149
|
+
orderBy?: Prisma.EvidenceSubmissionOrderByWithAggregationInput | Prisma.EvidenceSubmissionOrderByWithAggregationInput[];
|
|
150
|
+
by: Prisma.EvidenceSubmissionScalarFieldEnum[] | Prisma.EvidenceSubmissionScalarFieldEnum;
|
|
151
|
+
having?: Prisma.EvidenceSubmissionScalarWhereWithAggregatesInput;
|
|
152
|
+
take?: number;
|
|
153
|
+
skip?: number;
|
|
154
|
+
_count?: EvidenceSubmissionCountAggregateInputType | true;
|
|
155
|
+
_min?: EvidenceSubmissionMinAggregateInputType;
|
|
156
|
+
_max?: EvidenceSubmissionMaxAggregateInputType;
|
|
157
|
+
};
|
|
158
|
+
export type EvidenceSubmissionGroupByOutputType = {
|
|
159
|
+
id: string;
|
|
160
|
+
organizationId: string;
|
|
161
|
+
formType: $Enums.EvidenceFormType;
|
|
162
|
+
submittedById: string | null;
|
|
163
|
+
submittedAt: Date;
|
|
164
|
+
data: runtime.JsonValue;
|
|
165
|
+
status: string;
|
|
166
|
+
reviewedById: string | null;
|
|
167
|
+
reviewedAt: Date | null;
|
|
168
|
+
reviewReason: string | null;
|
|
169
|
+
createdAt: Date;
|
|
170
|
+
updatedAt: Date;
|
|
171
|
+
_count: EvidenceSubmissionCountAggregateOutputType | null;
|
|
172
|
+
_min: EvidenceSubmissionMinAggregateOutputType | null;
|
|
173
|
+
_max: EvidenceSubmissionMaxAggregateOutputType | null;
|
|
174
|
+
};
|
|
175
|
+
export type GetEvidenceSubmissionGroupByPayload<T extends EvidenceSubmissionGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<EvidenceSubmissionGroupByOutputType, T['by']> & {
|
|
176
|
+
[P in ((keyof T) & (keyof EvidenceSubmissionGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], EvidenceSubmissionGroupByOutputType[P]> : Prisma.GetScalarType<T[P], EvidenceSubmissionGroupByOutputType[P]>;
|
|
177
|
+
}>>;
|
|
178
|
+
export type EvidenceSubmissionWhereInput = {
|
|
179
|
+
AND?: Prisma.EvidenceSubmissionWhereInput | Prisma.EvidenceSubmissionWhereInput[];
|
|
180
|
+
OR?: Prisma.EvidenceSubmissionWhereInput[];
|
|
181
|
+
NOT?: Prisma.EvidenceSubmissionWhereInput | Prisma.EvidenceSubmissionWhereInput[];
|
|
182
|
+
id?: Prisma.StringFilter<"EvidenceSubmission"> | string;
|
|
183
|
+
organizationId?: Prisma.StringFilter<"EvidenceSubmission"> | string;
|
|
184
|
+
formType?: Prisma.EnumEvidenceFormTypeFilter<"EvidenceSubmission"> | $Enums.EvidenceFormType;
|
|
185
|
+
submittedById?: Prisma.StringNullableFilter<"EvidenceSubmission"> | string | null;
|
|
186
|
+
submittedAt?: Prisma.DateTimeFilter<"EvidenceSubmission"> | Date | string;
|
|
187
|
+
data?: Prisma.JsonFilter<"EvidenceSubmission">;
|
|
188
|
+
status?: Prisma.StringFilter<"EvidenceSubmission"> | string;
|
|
189
|
+
reviewedById?: Prisma.StringNullableFilter<"EvidenceSubmission"> | string | null;
|
|
190
|
+
reviewedAt?: Prisma.DateTimeNullableFilter<"EvidenceSubmission"> | Date | string | null;
|
|
191
|
+
reviewReason?: Prisma.StringNullableFilter<"EvidenceSubmission"> | string | null;
|
|
192
|
+
createdAt?: Prisma.DateTimeFilter<"EvidenceSubmission"> | Date | string;
|
|
193
|
+
updatedAt?: Prisma.DateTimeFilter<"EvidenceSubmission"> | Date | string;
|
|
194
|
+
organization?: Prisma.XOR<Prisma.OrganizationScalarRelationFilter, Prisma.OrganizationWhereInput>;
|
|
195
|
+
submittedBy?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null;
|
|
196
|
+
reviewedBy?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null;
|
|
197
|
+
findings?: Prisma.FindingListRelationFilter;
|
|
198
|
+
};
|
|
199
|
+
export type EvidenceSubmissionOrderByWithRelationInput = {
|
|
200
|
+
id?: Prisma.SortOrder;
|
|
201
|
+
organizationId?: Prisma.SortOrder;
|
|
202
|
+
formType?: Prisma.SortOrder;
|
|
203
|
+
submittedById?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
204
|
+
submittedAt?: Prisma.SortOrder;
|
|
205
|
+
data?: Prisma.SortOrder;
|
|
206
|
+
status?: Prisma.SortOrder;
|
|
207
|
+
reviewedById?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
208
|
+
reviewedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
209
|
+
reviewReason?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
210
|
+
createdAt?: Prisma.SortOrder;
|
|
211
|
+
updatedAt?: Prisma.SortOrder;
|
|
212
|
+
organization?: Prisma.OrganizationOrderByWithRelationInput;
|
|
213
|
+
submittedBy?: Prisma.UserOrderByWithRelationInput;
|
|
214
|
+
reviewedBy?: Prisma.UserOrderByWithRelationInput;
|
|
215
|
+
findings?: Prisma.FindingOrderByRelationAggregateInput;
|
|
216
|
+
};
|
|
217
|
+
export type EvidenceSubmissionWhereUniqueInput = Prisma.AtLeast<{
|
|
218
|
+
id?: string;
|
|
219
|
+
AND?: Prisma.EvidenceSubmissionWhereInput | Prisma.EvidenceSubmissionWhereInput[];
|
|
220
|
+
OR?: Prisma.EvidenceSubmissionWhereInput[];
|
|
221
|
+
NOT?: Prisma.EvidenceSubmissionWhereInput | Prisma.EvidenceSubmissionWhereInput[];
|
|
222
|
+
organizationId?: Prisma.StringFilter<"EvidenceSubmission"> | string;
|
|
223
|
+
formType?: Prisma.EnumEvidenceFormTypeFilter<"EvidenceSubmission"> | $Enums.EvidenceFormType;
|
|
224
|
+
submittedById?: Prisma.StringNullableFilter<"EvidenceSubmission"> | string | null;
|
|
225
|
+
submittedAt?: Prisma.DateTimeFilter<"EvidenceSubmission"> | Date | string;
|
|
226
|
+
data?: Prisma.JsonFilter<"EvidenceSubmission">;
|
|
227
|
+
status?: Prisma.StringFilter<"EvidenceSubmission"> | string;
|
|
228
|
+
reviewedById?: Prisma.StringNullableFilter<"EvidenceSubmission"> | string | null;
|
|
229
|
+
reviewedAt?: Prisma.DateTimeNullableFilter<"EvidenceSubmission"> | Date | string | null;
|
|
230
|
+
reviewReason?: Prisma.StringNullableFilter<"EvidenceSubmission"> | string | null;
|
|
231
|
+
createdAt?: Prisma.DateTimeFilter<"EvidenceSubmission"> | Date | string;
|
|
232
|
+
updatedAt?: Prisma.DateTimeFilter<"EvidenceSubmission"> | Date | string;
|
|
233
|
+
organization?: Prisma.XOR<Prisma.OrganizationScalarRelationFilter, Prisma.OrganizationWhereInput>;
|
|
234
|
+
submittedBy?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null;
|
|
235
|
+
reviewedBy?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null;
|
|
236
|
+
findings?: Prisma.FindingListRelationFilter;
|
|
237
|
+
}, "id">;
|
|
238
|
+
export type EvidenceSubmissionOrderByWithAggregationInput = {
|
|
239
|
+
id?: Prisma.SortOrder;
|
|
240
|
+
organizationId?: Prisma.SortOrder;
|
|
241
|
+
formType?: Prisma.SortOrder;
|
|
242
|
+
submittedById?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
243
|
+
submittedAt?: Prisma.SortOrder;
|
|
244
|
+
data?: Prisma.SortOrder;
|
|
245
|
+
status?: Prisma.SortOrder;
|
|
246
|
+
reviewedById?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
247
|
+
reviewedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
248
|
+
reviewReason?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
249
|
+
createdAt?: Prisma.SortOrder;
|
|
250
|
+
updatedAt?: Prisma.SortOrder;
|
|
251
|
+
_count?: Prisma.EvidenceSubmissionCountOrderByAggregateInput;
|
|
252
|
+
_max?: Prisma.EvidenceSubmissionMaxOrderByAggregateInput;
|
|
253
|
+
_min?: Prisma.EvidenceSubmissionMinOrderByAggregateInput;
|
|
254
|
+
};
|
|
255
|
+
export type EvidenceSubmissionScalarWhereWithAggregatesInput = {
|
|
256
|
+
AND?: Prisma.EvidenceSubmissionScalarWhereWithAggregatesInput | Prisma.EvidenceSubmissionScalarWhereWithAggregatesInput[];
|
|
257
|
+
OR?: Prisma.EvidenceSubmissionScalarWhereWithAggregatesInput[];
|
|
258
|
+
NOT?: Prisma.EvidenceSubmissionScalarWhereWithAggregatesInput | Prisma.EvidenceSubmissionScalarWhereWithAggregatesInput[];
|
|
259
|
+
id?: Prisma.StringWithAggregatesFilter<"EvidenceSubmission"> | string;
|
|
260
|
+
organizationId?: Prisma.StringWithAggregatesFilter<"EvidenceSubmission"> | string;
|
|
261
|
+
formType?: Prisma.EnumEvidenceFormTypeWithAggregatesFilter<"EvidenceSubmission"> | $Enums.EvidenceFormType;
|
|
262
|
+
submittedById?: Prisma.StringNullableWithAggregatesFilter<"EvidenceSubmission"> | string | null;
|
|
263
|
+
submittedAt?: Prisma.DateTimeWithAggregatesFilter<"EvidenceSubmission"> | Date | string;
|
|
264
|
+
data?: Prisma.JsonWithAggregatesFilter<"EvidenceSubmission">;
|
|
265
|
+
status?: Prisma.StringWithAggregatesFilter<"EvidenceSubmission"> | string;
|
|
266
|
+
reviewedById?: Prisma.StringNullableWithAggregatesFilter<"EvidenceSubmission"> | string | null;
|
|
267
|
+
reviewedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"EvidenceSubmission"> | Date | string | null;
|
|
268
|
+
reviewReason?: Prisma.StringNullableWithAggregatesFilter<"EvidenceSubmission"> | string | null;
|
|
269
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"EvidenceSubmission"> | Date | string;
|
|
270
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"EvidenceSubmission"> | Date | string;
|
|
271
|
+
};
|
|
272
|
+
export type EvidenceSubmissionCreateInput = {
|
|
273
|
+
id?: string;
|
|
274
|
+
formType: $Enums.EvidenceFormType;
|
|
275
|
+
submittedAt?: Date | string;
|
|
276
|
+
data: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
277
|
+
status?: string;
|
|
278
|
+
reviewedAt?: Date | string | null;
|
|
279
|
+
reviewReason?: string | null;
|
|
280
|
+
createdAt?: Date | string;
|
|
281
|
+
updatedAt?: Date | string;
|
|
282
|
+
organization: Prisma.OrganizationCreateNestedOneWithoutEvidenceSubmissionsInput;
|
|
283
|
+
submittedBy?: Prisma.UserCreateNestedOneWithoutEvidenceSubmissionsInput;
|
|
284
|
+
reviewedBy?: Prisma.UserCreateNestedOneWithoutEvidenceReviewsInput;
|
|
285
|
+
findings?: Prisma.FindingCreateNestedManyWithoutEvidenceSubmissionInput;
|
|
286
|
+
};
|
|
287
|
+
export type EvidenceSubmissionUncheckedCreateInput = {
|
|
288
|
+
id?: string;
|
|
289
|
+
organizationId: string;
|
|
290
|
+
formType: $Enums.EvidenceFormType;
|
|
291
|
+
submittedById?: string | null;
|
|
292
|
+
submittedAt?: Date | string;
|
|
293
|
+
data: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
294
|
+
status?: string;
|
|
295
|
+
reviewedById?: string | null;
|
|
296
|
+
reviewedAt?: Date | string | null;
|
|
297
|
+
reviewReason?: string | null;
|
|
298
|
+
createdAt?: Date | string;
|
|
299
|
+
updatedAt?: Date | string;
|
|
300
|
+
findings?: Prisma.FindingUncheckedCreateNestedManyWithoutEvidenceSubmissionInput;
|
|
301
|
+
};
|
|
302
|
+
export type EvidenceSubmissionUpdateInput = {
|
|
303
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
304
|
+
formType?: Prisma.EnumEvidenceFormTypeFieldUpdateOperationsInput | $Enums.EvidenceFormType;
|
|
305
|
+
submittedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
306
|
+
data?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
307
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
308
|
+
reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
309
|
+
reviewReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
310
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
311
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
312
|
+
organization?: Prisma.OrganizationUpdateOneRequiredWithoutEvidenceSubmissionsNestedInput;
|
|
313
|
+
submittedBy?: Prisma.UserUpdateOneWithoutEvidenceSubmissionsNestedInput;
|
|
314
|
+
reviewedBy?: Prisma.UserUpdateOneWithoutEvidenceReviewsNestedInput;
|
|
315
|
+
findings?: Prisma.FindingUpdateManyWithoutEvidenceSubmissionNestedInput;
|
|
316
|
+
};
|
|
317
|
+
export type EvidenceSubmissionUncheckedUpdateInput = {
|
|
318
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
319
|
+
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
320
|
+
formType?: Prisma.EnumEvidenceFormTypeFieldUpdateOperationsInput | $Enums.EvidenceFormType;
|
|
321
|
+
submittedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
322
|
+
submittedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
323
|
+
data?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
324
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
325
|
+
reviewedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
326
|
+
reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
327
|
+
reviewReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
328
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
329
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
330
|
+
findings?: Prisma.FindingUncheckedUpdateManyWithoutEvidenceSubmissionNestedInput;
|
|
331
|
+
};
|
|
332
|
+
export type EvidenceSubmissionCreateManyInput = {
|
|
333
|
+
id?: string;
|
|
334
|
+
organizationId: string;
|
|
335
|
+
formType: $Enums.EvidenceFormType;
|
|
336
|
+
submittedById?: string | null;
|
|
337
|
+
submittedAt?: Date | string;
|
|
338
|
+
data: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
339
|
+
status?: string;
|
|
340
|
+
reviewedById?: string | null;
|
|
341
|
+
reviewedAt?: Date | string | null;
|
|
342
|
+
reviewReason?: string | null;
|
|
343
|
+
createdAt?: Date | string;
|
|
344
|
+
updatedAt?: Date | string;
|
|
345
|
+
};
|
|
346
|
+
export type EvidenceSubmissionUpdateManyMutationInput = {
|
|
347
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
348
|
+
formType?: Prisma.EnumEvidenceFormTypeFieldUpdateOperationsInput | $Enums.EvidenceFormType;
|
|
349
|
+
submittedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
350
|
+
data?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
351
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
352
|
+
reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
353
|
+
reviewReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
354
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
355
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
356
|
+
};
|
|
357
|
+
export type EvidenceSubmissionUncheckedUpdateManyInput = {
|
|
358
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
359
|
+
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
360
|
+
formType?: Prisma.EnumEvidenceFormTypeFieldUpdateOperationsInput | $Enums.EvidenceFormType;
|
|
361
|
+
submittedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
362
|
+
submittedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
363
|
+
data?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
364
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
365
|
+
reviewedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
366
|
+
reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
367
|
+
reviewReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
368
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
369
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
370
|
+
};
|
|
371
|
+
export type EvidenceSubmissionListRelationFilter = {
|
|
372
|
+
every?: Prisma.EvidenceSubmissionWhereInput;
|
|
373
|
+
some?: Prisma.EvidenceSubmissionWhereInput;
|
|
374
|
+
none?: Prisma.EvidenceSubmissionWhereInput;
|
|
375
|
+
};
|
|
376
|
+
export type EvidenceSubmissionOrderByRelationAggregateInput = {
|
|
377
|
+
_count?: Prisma.SortOrder;
|
|
378
|
+
};
|
|
379
|
+
export type EvidenceSubmissionCountOrderByAggregateInput = {
|
|
380
|
+
id?: Prisma.SortOrder;
|
|
381
|
+
organizationId?: Prisma.SortOrder;
|
|
382
|
+
formType?: Prisma.SortOrder;
|
|
383
|
+
submittedById?: Prisma.SortOrder;
|
|
384
|
+
submittedAt?: Prisma.SortOrder;
|
|
385
|
+
data?: Prisma.SortOrder;
|
|
386
|
+
status?: Prisma.SortOrder;
|
|
387
|
+
reviewedById?: Prisma.SortOrder;
|
|
388
|
+
reviewedAt?: Prisma.SortOrder;
|
|
389
|
+
reviewReason?: Prisma.SortOrder;
|
|
390
|
+
createdAt?: Prisma.SortOrder;
|
|
391
|
+
updatedAt?: Prisma.SortOrder;
|
|
392
|
+
};
|
|
393
|
+
export type EvidenceSubmissionMaxOrderByAggregateInput = {
|
|
394
|
+
id?: Prisma.SortOrder;
|
|
395
|
+
organizationId?: Prisma.SortOrder;
|
|
396
|
+
formType?: Prisma.SortOrder;
|
|
397
|
+
submittedById?: Prisma.SortOrder;
|
|
398
|
+
submittedAt?: Prisma.SortOrder;
|
|
399
|
+
status?: Prisma.SortOrder;
|
|
400
|
+
reviewedById?: Prisma.SortOrder;
|
|
401
|
+
reviewedAt?: Prisma.SortOrder;
|
|
402
|
+
reviewReason?: Prisma.SortOrder;
|
|
403
|
+
createdAt?: Prisma.SortOrder;
|
|
404
|
+
updatedAt?: Prisma.SortOrder;
|
|
405
|
+
};
|
|
406
|
+
export type EvidenceSubmissionMinOrderByAggregateInput = {
|
|
407
|
+
id?: Prisma.SortOrder;
|
|
408
|
+
organizationId?: Prisma.SortOrder;
|
|
409
|
+
formType?: Prisma.SortOrder;
|
|
410
|
+
submittedById?: Prisma.SortOrder;
|
|
411
|
+
submittedAt?: Prisma.SortOrder;
|
|
412
|
+
status?: Prisma.SortOrder;
|
|
413
|
+
reviewedById?: Prisma.SortOrder;
|
|
414
|
+
reviewedAt?: Prisma.SortOrder;
|
|
415
|
+
reviewReason?: Prisma.SortOrder;
|
|
416
|
+
createdAt?: Prisma.SortOrder;
|
|
417
|
+
updatedAt?: Prisma.SortOrder;
|
|
418
|
+
};
|
|
419
|
+
export type EvidenceSubmissionNullableScalarRelationFilter = {
|
|
420
|
+
is?: Prisma.EvidenceSubmissionWhereInput | null;
|
|
421
|
+
isNot?: Prisma.EvidenceSubmissionWhereInput | null;
|
|
422
|
+
};
|
|
423
|
+
export type EvidenceSubmissionCreateNestedManyWithoutSubmittedByInput = {
|
|
424
|
+
create?: Prisma.XOR<Prisma.EvidenceSubmissionCreateWithoutSubmittedByInput, Prisma.EvidenceSubmissionUncheckedCreateWithoutSubmittedByInput> | Prisma.EvidenceSubmissionCreateWithoutSubmittedByInput[] | Prisma.EvidenceSubmissionUncheckedCreateWithoutSubmittedByInput[];
|
|
425
|
+
connectOrCreate?: Prisma.EvidenceSubmissionCreateOrConnectWithoutSubmittedByInput | Prisma.EvidenceSubmissionCreateOrConnectWithoutSubmittedByInput[];
|
|
426
|
+
createMany?: Prisma.EvidenceSubmissionCreateManySubmittedByInputEnvelope;
|
|
427
|
+
connect?: Prisma.EvidenceSubmissionWhereUniqueInput | Prisma.EvidenceSubmissionWhereUniqueInput[];
|
|
428
|
+
};
|
|
429
|
+
export type EvidenceSubmissionCreateNestedManyWithoutReviewedByInput = {
|
|
430
|
+
create?: Prisma.XOR<Prisma.EvidenceSubmissionCreateWithoutReviewedByInput, Prisma.EvidenceSubmissionUncheckedCreateWithoutReviewedByInput> | Prisma.EvidenceSubmissionCreateWithoutReviewedByInput[] | Prisma.EvidenceSubmissionUncheckedCreateWithoutReviewedByInput[];
|
|
431
|
+
connectOrCreate?: Prisma.EvidenceSubmissionCreateOrConnectWithoutReviewedByInput | Prisma.EvidenceSubmissionCreateOrConnectWithoutReviewedByInput[];
|
|
432
|
+
createMany?: Prisma.EvidenceSubmissionCreateManyReviewedByInputEnvelope;
|
|
433
|
+
connect?: Prisma.EvidenceSubmissionWhereUniqueInput | Prisma.EvidenceSubmissionWhereUniqueInput[];
|
|
434
|
+
};
|
|
435
|
+
export type EvidenceSubmissionUncheckedCreateNestedManyWithoutSubmittedByInput = {
|
|
436
|
+
create?: Prisma.XOR<Prisma.EvidenceSubmissionCreateWithoutSubmittedByInput, Prisma.EvidenceSubmissionUncheckedCreateWithoutSubmittedByInput> | Prisma.EvidenceSubmissionCreateWithoutSubmittedByInput[] | Prisma.EvidenceSubmissionUncheckedCreateWithoutSubmittedByInput[];
|
|
437
|
+
connectOrCreate?: Prisma.EvidenceSubmissionCreateOrConnectWithoutSubmittedByInput | Prisma.EvidenceSubmissionCreateOrConnectWithoutSubmittedByInput[];
|
|
438
|
+
createMany?: Prisma.EvidenceSubmissionCreateManySubmittedByInputEnvelope;
|
|
439
|
+
connect?: Prisma.EvidenceSubmissionWhereUniqueInput | Prisma.EvidenceSubmissionWhereUniqueInput[];
|
|
440
|
+
};
|
|
441
|
+
export type EvidenceSubmissionUncheckedCreateNestedManyWithoutReviewedByInput = {
|
|
442
|
+
create?: Prisma.XOR<Prisma.EvidenceSubmissionCreateWithoutReviewedByInput, Prisma.EvidenceSubmissionUncheckedCreateWithoutReviewedByInput> | Prisma.EvidenceSubmissionCreateWithoutReviewedByInput[] | Prisma.EvidenceSubmissionUncheckedCreateWithoutReviewedByInput[];
|
|
443
|
+
connectOrCreate?: Prisma.EvidenceSubmissionCreateOrConnectWithoutReviewedByInput | Prisma.EvidenceSubmissionCreateOrConnectWithoutReviewedByInput[];
|
|
444
|
+
createMany?: Prisma.EvidenceSubmissionCreateManyReviewedByInputEnvelope;
|
|
445
|
+
connect?: Prisma.EvidenceSubmissionWhereUniqueInput | Prisma.EvidenceSubmissionWhereUniqueInput[];
|
|
446
|
+
};
|
|
447
|
+
export type EvidenceSubmissionUpdateManyWithoutSubmittedByNestedInput = {
|
|
448
|
+
create?: Prisma.XOR<Prisma.EvidenceSubmissionCreateWithoutSubmittedByInput, Prisma.EvidenceSubmissionUncheckedCreateWithoutSubmittedByInput> | Prisma.EvidenceSubmissionCreateWithoutSubmittedByInput[] | Prisma.EvidenceSubmissionUncheckedCreateWithoutSubmittedByInput[];
|
|
449
|
+
connectOrCreate?: Prisma.EvidenceSubmissionCreateOrConnectWithoutSubmittedByInput | Prisma.EvidenceSubmissionCreateOrConnectWithoutSubmittedByInput[];
|
|
450
|
+
upsert?: Prisma.EvidenceSubmissionUpsertWithWhereUniqueWithoutSubmittedByInput | Prisma.EvidenceSubmissionUpsertWithWhereUniqueWithoutSubmittedByInput[];
|
|
451
|
+
createMany?: Prisma.EvidenceSubmissionCreateManySubmittedByInputEnvelope;
|
|
452
|
+
set?: Prisma.EvidenceSubmissionWhereUniqueInput | Prisma.EvidenceSubmissionWhereUniqueInput[];
|
|
453
|
+
disconnect?: Prisma.EvidenceSubmissionWhereUniqueInput | Prisma.EvidenceSubmissionWhereUniqueInput[];
|
|
454
|
+
delete?: Prisma.EvidenceSubmissionWhereUniqueInput | Prisma.EvidenceSubmissionWhereUniqueInput[];
|
|
455
|
+
connect?: Prisma.EvidenceSubmissionWhereUniqueInput | Prisma.EvidenceSubmissionWhereUniqueInput[];
|
|
456
|
+
update?: Prisma.EvidenceSubmissionUpdateWithWhereUniqueWithoutSubmittedByInput | Prisma.EvidenceSubmissionUpdateWithWhereUniqueWithoutSubmittedByInput[];
|
|
457
|
+
updateMany?: Prisma.EvidenceSubmissionUpdateManyWithWhereWithoutSubmittedByInput | Prisma.EvidenceSubmissionUpdateManyWithWhereWithoutSubmittedByInput[];
|
|
458
|
+
deleteMany?: Prisma.EvidenceSubmissionScalarWhereInput | Prisma.EvidenceSubmissionScalarWhereInput[];
|
|
459
|
+
};
|
|
460
|
+
export type EvidenceSubmissionUpdateManyWithoutReviewedByNestedInput = {
|
|
461
|
+
create?: Prisma.XOR<Prisma.EvidenceSubmissionCreateWithoutReviewedByInput, Prisma.EvidenceSubmissionUncheckedCreateWithoutReviewedByInput> | Prisma.EvidenceSubmissionCreateWithoutReviewedByInput[] | Prisma.EvidenceSubmissionUncheckedCreateWithoutReviewedByInput[];
|
|
462
|
+
connectOrCreate?: Prisma.EvidenceSubmissionCreateOrConnectWithoutReviewedByInput | Prisma.EvidenceSubmissionCreateOrConnectWithoutReviewedByInput[];
|
|
463
|
+
upsert?: Prisma.EvidenceSubmissionUpsertWithWhereUniqueWithoutReviewedByInput | Prisma.EvidenceSubmissionUpsertWithWhereUniqueWithoutReviewedByInput[];
|
|
464
|
+
createMany?: Prisma.EvidenceSubmissionCreateManyReviewedByInputEnvelope;
|
|
465
|
+
set?: Prisma.EvidenceSubmissionWhereUniqueInput | Prisma.EvidenceSubmissionWhereUniqueInput[];
|
|
466
|
+
disconnect?: Prisma.EvidenceSubmissionWhereUniqueInput | Prisma.EvidenceSubmissionWhereUniqueInput[];
|
|
467
|
+
delete?: Prisma.EvidenceSubmissionWhereUniqueInput | Prisma.EvidenceSubmissionWhereUniqueInput[];
|
|
468
|
+
connect?: Prisma.EvidenceSubmissionWhereUniqueInput | Prisma.EvidenceSubmissionWhereUniqueInput[];
|
|
469
|
+
update?: Prisma.EvidenceSubmissionUpdateWithWhereUniqueWithoutReviewedByInput | Prisma.EvidenceSubmissionUpdateWithWhereUniqueWithoutReviewedByInput[];
|
|
470
|
+
updateMany?: Prisma.EvidenceSubmissionUpdateManyWithWhereWithoutReviewedByInput | Prisma.EvidenceSubmissionUpdateManyWithWhereWithoutReviewedByInput[];
|
|
471
|
+
deleteMany?: Prisma.EvidenceSubmissionScalarWhereInput | Prisma.EvidenceSubmissionScalarWhereInput[];
|
|
472
|
+
};
|
|
473
|
+
export type EvidenceSubmissionUncheckedUpdateManyWithoutSubmittedByNestedInput = {
|
|
474
|
+
create?: Prisma.XOR<Prisma.EvidenceSubmissionCreateWithoutSubmittedByInput, Prisma.EvidenceSubmissionUncheckedCreateWithoutSubmittedByInput> | Prisma.EvidenceSubmissionCreateWithoutSubmittedByInput[] | Prisma.EvidenceSubmissionUncheckedCreateWithoutSubmittedByInput[];
|
|
475
|
+
connectOrCreate?: Prisma.EvidenceSubmissionCreateOrConnectWithoutSubmittedByInput | Prisma.EvidenceSubmissionCreateOrConnectWithoutSubmittedByInput[];
|
|
476
|
+
upsert?: Prisma.EvidenceSubmissionUpsertWithWhereUniqueWithoutSubmittedByInput | Prisma.EvidenceSubmissionUpsertWithWhereUniqueWithoutSubmittedByInput[];
|
|
477
|
+
createMany?: Prisma.EvidenceSubmissionCreateManySubmittedByInputEnvelope;
|
|
478
|
+
set?: Prisma.EvidenceSubmissionWhereUniqueInput | Prisma.EvidenceSubmissionWhereUniqueInput[];
|
|
479
|
+
disconnect?: Prisma.EvidenceSubmissionWhereUniqueInput | Prisma.EvidenceSubmissionWhereUniqueInput[];
|
|
480
|
+
delete?: Prisma.EvidenceSubmissionWhereUniqueInput | Prisma.EvidenceSubmissionWhereUniqueInput[];
|
|
481
|
+
connect?: Prisma.EvidenceSubmissionWhereUniqueInput | Prisma.EvidenceSubmissionWhereUniqueInput[];
|
|
482
|
+
update?: Prisma.EvidenceSubmissionUpdateWithWhereUniqueWithoutSubmittedByInput | Prisma.EvidenceSubmissionUpdateWithWhereUniqueWithoutSubmittedByInput[];
|
|
483
|
+
updateMany?: Prisma.EvidenceSubmissionUpdateManyWithWhereWithoutSubmittedByInput | Prisma.EvidenceSubmissionUpdateManyWithWhereWithoutSubmittedByInput[];
|
|
484
|
+
deleteMany?: Prisma.EvidenceSubmissionScalarWhereInput | Prisma.EvidenceSubmissionScalarWhereInput[];
|
|
485
|
+
};
|
|
486
|
+
export type EvidenceSubmissionUncheckedUpdateManyWithoutReviewedByNestedInput = {
|
|
487
|
+
create?: Prisma.XOR<Prisma.EvidenceSubmissionCreateWithoutReviewedByInput, Prisma.EvidenceSubmissionUncheckedCreateWithoutReviewedByInput> | Prisma.EvidenceSubmissionCreateWithoutReviewedByInput[] | Prisma.EvidenceSubmissionUncheckedCreateWithoutReviewedByInput[];
|
|
488
|
+
connectOrCreate?: Prisma.EvidenceSubmissionCreateOrConnectWithoutReviewedByInput | Prisma.EvidenceSubmissionCreateOrConnectWithoutReviewedByInput[];
|
|
489
|
+
upsert?: Prisma.EvidenceSubmissionUpsertWithWhereUniqueWithoutReviewedByInput | Prisma.EvidenceSubmissionUpsertWithWhereUniqueWithoutReviewedByInput[];
|
|
490
|
+
createMany?: Prisma.EvidenceSubmissionCreateManyReviewedByInputEnvelope;
|
|
491
|
+
set?: Prisma.EvidenceSubmissionWhereUniqueInput | Prisma.EvidenceSubmissionWhereUniqueInput[];
|
|
492
|
+
disconnect?: Prisma.EvidenceSubmissionWhereUniqueInput | Prisma.EvidenceSubmissionWhereUniqueInput[];
|
|
493
|
+
delete?: Prisma.EvidenceSubmissionWhereUniqueInput | Prisma.EvidenceSubmissionWhereUniqueInput[];
|
|
494
|
+
connect?: Prisma.EvidenceSubmissionWhereUniqueInput | Prisma.EvidenceSubmissionWhereUniqueInput[];
|
|
495
|
+
update?: Prisma.EvidenceSubmissionUpdateWithWhereUniqueWithoutReviewedByInput | Prisma.EvidenceSubmissionUpdateWithWhereUniqueWithoutReviewedByInput[];
|
|
496
|
+
updateMany?: Prisma.EvidenceSubmissionUpdateManyWithWhereWithoutReviewedByInput | Prisma.EvidenceSubmissionUpdateManyWithWhereWithoutReviewedByInput[];
|
|
497
|
+
deleteMany?: Prisma.EvidenceSubmissionScalarWhereInput | Prisma.EvidenceSubmissionScalarWhereInput[];
|
|
498
|
+
};
|
|
499
|
+
export type EvidenceSubmissionCreateNestedOneWithoutFindingsInput = {
|
|
500
|
+
create?: Prisma.XOR<Prisma.EvidenceSubmissionCreateWithoutFindingsInput, Prisma.EvidenceSubmissionUncheckedCreateWithoutFindingsInput>;
|
|
501
|
+
connectOrCreate?: Prisma.EvidenceSubmissionCreateOrConnectWithoutFindingsInput;
|
|
502
|
+
connect?: Prisma.EvidenceSubmissionWhereUniqueInput;
|
|
503
|
+
};
|
|
504
|
+
export type EvidenceSubmissionUpdateOneWithoutFindingsNestedInput = {
|
|
505
|
+
create?: Prisma.XOR<Prisma.EvidenceSubmissionCreateWithoutFindingsInput, Prisma.EvidenceSubmissionUncheckedCreateWithoutFindingsInput>;
|
|
506
|
+
connectOrCreate?: Prisma.EvidenceSubmissionCreateOrConnectWithoutFindingsInput;
|
|
507
|
+
upsert?: Prisma.EvidenceSubmissionUpsertWithoutFindingsInput;
|
|
508
|
+
disconnect?: Prisma.EvidenceSubmissionWhereInput | boolean;
|
|
509
|
+
delete?: Prisma.EvidenceSubmissionWhereInput | boolean;
|
|
510
|
+
connect?: Prisma.EvidenceSubmissionWhereUniqueInput;
|
|
511
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.EvidenceSubmissionUpdateToOneWithWhereWithoutFindingsInput, Prisma.EvidenceSubmissionUpdateWithoutFindingsInput>, Prisma.EvidenceSubmissionUncheckedUpdateWithoutFindingsInput>;
|
|
512
|
+
};
|
|
513
|
+
export type EvidenceSubmissionCreateNestedManyWithoutOrganizationInput = {
|
|
514
|
+
create?: Prisma.XOR<Prisma.EvidenceSubmissionCreateWithoutOrganizationInput, Prisma.EvidenceSubmissionUncheckedCreateWithoutOrganizationInput> | Prisma.EvidenceSubmissionCreateWithoutOrganizationInput[] | Prisma.EvidenceSubmissionUncheckedCreateWithoutOrganizationInput[];
|
|
515
|
+
connectOrCreate?: Prisma.EvidenceSubmissionCreateOrConnectWithoutOrganizationInput | Prisma.EvidenceSubmissionCreateOrConnectWithoutOrganizationInput[];
|
|
516
|
+
createMany?: Prisma.EvidenceSubmissionCreateManyOrganizationInputEnvelope;
|
|
517
|
+
connect?: Prisma.EvidenceSubmissionWhereUniqueInput | Prisma.EvidenceSubmissionWhereUniqueInput[];
|
|
518
|
+
};
|
|
519
|
+
export type EvidenceSubmissionUncheckedCreateNestedManyWithoutOrganizationInput = {
|
|
520
|
+
create?: Prisma.XOR<Prisma.EvidenceSubmissionCreateWithoutOrganizationInput, Prisma.EvidenceSubmissionUncheckedCreateWithoutOrganizationInput> | Prisma.EvidenceSubmissionCreateWithoutOrganizationInput[] | Prisma.EvidenceSubmissionUncheckedCreateWithoutOrganizationInput[];
|
|
521
|
+
connectOrCreate?: Prisma.EvidenceSubmissionCreateOrConnectWithoutOrganizationInput | Prisma.EvidenceSubmissionCreateOrConnectWithoutOrganizationInput[];
|
|
522
|
+
createMany?: Prisma.EvidenceSubmissionCreateManyOrganizationInputEnvelope;
|
|
523
|
+
connect?: Prisma.EvidenceSubmissionWhereUniqueInput | Prisma.EvidenceSubmissionWhereUniqueInput[];
|
|
524
|
+
};
|
|
525
|
+
export type EvidenceSubmissionUpdateManyWithoutOrganizationNestedInput = {
|
|
526
|
+
create?: Prisma.XOR<Prisma.EvidenceSubmissionCreateWithoutOrganizationInput, Prisma.EvidenceSubmissionUncheckedCreateWithoutOrganizationInput> | Prisma.EvidenceSubmissionCreateWithoutOrganizationInput[] | Prisma.EvidenceSubmissionUncheckedCreateWithoutOrganizationInput[];
|
|
527
|
+
connectOrCreate?: Prisma.EvidenceSubmissionCreateOrConnectWithoutOrganizationInput | Prisma.EvidenceSubmissionCreateOrConnectWithoutOrganizationInput[];
|
|
528
|
+
upsert?: Prisma.EvidenceSubmissionUpsertWithWhereUniqueWithoutOrganizationInput | Prisma.EvidenceSubmissionUpsertWithWhereUniqueWithoutOrganizationInput[];
|
|
529
|
+
createMany?: Prisma.EvidenceSubmissionCreateManyOrganizationInputEnvelope;
|
|
530
|
+
set?: Prisma.EvidenceSubmissionWhereUniqueInput | Prisma.EvidenceSubmissionWhereUniqueInput[];
|
|
531
|
+
disconnect?: Prisma.EvidenceSubmissionWhereUniqueInput | Prisma.EvidenceSubmissionWhereUniqueInput[];
|
|
532
|
+
delete?: Prisma.EvidenceSubmissionWhereUniqueInput | Prisma.EvidenceSubmissionWhereUniqueInput[];
|
|
533
|
+
connect?: Prisma.EvidenceSubmissionWhereUniqueInput | Prisma.EvidenceSubmissionWhereUniqueInput[];
|
|
534
|
+
update?: Prisma.EvidenceSubmissionUpdateWithWhereUniqueWithoutOrganizationInput | Prisma.EvidenceSubmissionUpdateWithWhereUniqueWithoutOrganizationInput[];
|
|
535
|
+
updateMany?: Prisma.EvidenceSubmissionUpdateManyWithWhereWithoutOrganizationInput | Prisma.EvidenceSubmissionUpdateManyWithWhereWithoutOrganizationInput[];
|
|
536
|
+
deleteMany?: Prisma.EvidenceSubmissionScalarWhereInput | Prisma.EvidenceSubmissionScalarWhereInput[];
|
|
537
|
+
};
|
|
538
|
+
export type EvidenceSubmissionUncheckedUpdateManyWithoutOrganizationNestedInput = {
|
|
539
|
+
create?: Prisma.XOR<Prisma.EvidenceSubmissionCreateWithoutOrganizationInput, Prisma.EvidenceSubmissionUncheckedCreateWithoutOrganizationInput> | Prisma.EvidenceSubmissionCreateWithoutOrganizationInput[] | Prisma.EvidenceSubmissionUncheckedCreateWithoutOrganizationInput[];
|
|
540
|
+
connectOrCreate?: Prisma.EvidenceSubmissionCreateOrConnectWithoutOrganizationInput | Prisma.EvidenceSubmissionCreateOrConnectWithoutOrganizationInput[];
|
|
541
|
+
upsert?: Prisma.EvidenceSubmissionUpsertWithWhereUniqueWithoutOrganizationInput | Prisma.EvidenceSubmissionUpsertWithWhereUniqueWithoutOrganizationInput[];
|
|
542
|
+
createMany?: Prisma.EvidenceSubmissionCreateManyOrganizationInputEnvelope;
|
|
543
|
+
set?: Prisma.EvidenceSubmissionWhereUniqueInput | Prisma.EvidenceSubmissionWhereUniqueInput[];
|
|
544
|
+
disconnect?: Prisma.EvidenceSubmissionWhereUniqueInput | Prisma.EvidenceSubmissionWhereUniqueInput[];
|
|
545
|
+
delete?: Prisma.EvidenceSubmissionWhereUniqueInput | Prisma.EvidenceSubmissionWhereUniqueInput[];
|
|
546
|
+
connect?: Prisma.EvidenceSubmissionWhereUniqueInput | Prisma.EvidenceSubmissionWhereUniqueInput[];
|
|
547
|
+
update?: Prisma.EvidenceSubmissionUpdateWithWhereUniqueWithoutOrganizationInput | Prisma.EvidenceSubmissionUpdateWithWhereUniqueWithoutOrganizationInput[];
|
|
548
|
+
updateMany?: Prisma.EvidenceSubmissionUpdateManyWithWhereWithoutOrganizationInput | Prisma.EvidenceSubmissionUpdateManyWithWhereWithoutOrganizationInput[];
|
|
549
|
+
deleteMany?: Prisma.EvidenceSubmissionScalarWhereInput | Prisma.EvidenceSubmissionScalarWhereInput[];
|
|
550
|
+
};
|
|
551
|
+
export type EvidenceSubmissionCreateWithoutSubmittedByInput = {
|
|
552
|
+
id?: string;
|
|
553
|
+
formType: $Enums.EvidenceFormType;
|
|
554
|
+
submittedAt?: Date | string;
|
|
555
|
+
data: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
556
|
+
status?: string;
|
|
557
|
+
reviewedAt?: Date | string | null;
|
|
558
|
+
reviewReason?: string | null;
|
|
559
|
+
createdAt?: Date | string;
|
|
560
|
+
updatedAt?: Date | string;
|
|
561
|
+
organization: Prisma.OrganizationCreateNestedOneWithoutEvidenceSubmissionsInput;
|
|
562
|
+
reviewedBy?: Prisma.UserCreateNestedOneWithoutEvidenceReviewsInput;
|
|
563
|
+
findings?: Prisma.FindingCreateNestedManyWithoutEvidenceSubmissionInput;
|
|
564
|
+
};
|
|
565
|
+
export type EvidenceSubmissionUncheckedCreateWithoutSubmittedByInput = {
|
|
566
|
+
id?: string;
|
|
567
|
+
organizationId: string;
|
|
568
|
+
formType: $Enums.EvidenceFormType;
|
|
569
|
+
submittedAt?: Date | string;
|
|
570
|
+
data: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
571
|
+
status?: string;
|
|
572
|
+
reviewedById?: string | null;
|
|
573
|
+
reviewedAt?: Date | string | null;
|
|
574
|
+
reviewReason?: string | null;
|
|
575
|
+
createdAt?: Date | string;
|
|
576
|
+
updatedAt?: Date | string;
|
|
577
|
+
findings?: Prisma.FindingUncheckedCreateNestedManyWithoutEvidenceSubmissionInput;
|
|
578
|
+
};
|
|
579
|
+
export type EvidenceSubmissionCreateOrConnectWithoutSubmittedByInput = {
|
|
580
|
+
where: Prisma.EvidenceSubmissionWhereUniqueInput;
|
|
581
|
+
create: Prisma.XOR<Prisma.EvidenceSubmissionCreateWithoutSubmittedByInput, Prisma.EvidenceSubmissionUncheckedCreateWithoutSubmittedByInput>;
|
|
582
|
+
};
|
|
583
|
+
export type EvidenceSubmissionCreateManySubmittedByInputEnvelope = {
|
|
584
|
+
data: Prisma.EvidenceSubmissionCreateManySubmittedByInput | Prisma.EvidenceSubmissionCreateManySubmittedByInput[];
|
|
585
|
+
skipDuplicates?: boolean;
|
|
586
|
+
};
|
|
587
|
+
export type EvidenceSubmissionCreateWithoutReviewedByInput = {
|
|
588
|
+
id?: string;
|
|
589
|
+
formType: $Enums.EvidenceFormType;
|
|
590
|
+
submittedAt?: Date | string;
|
|
591
|
+
data: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
592
|
+
status?: string;
|
|
593
|
+
reviewedAt?: Date | string | null;
|
|
594
|
+
reviewReason?: string | null;
|
|
595
|
+
createdAt?: Date | string;
|
|
596
|
+
updatedAt?: Date | string;
|
|
597
|
+
organization: Prisma.OrganizationCreateNestedOneWithoutEvidenceSubmissionsInput;
|
|
598
|
+
submittedBy?: Prisma.UserCreateNestedOneWithoutEvidenceSubmissionsInput;
|
|
599
|
+
findings?: Prisma.FindingCreateNestedManyWithoutEvidenceSubmissionInput;
|
|
600
|
+
};
|
|
601
|
+
export type EvidenceSubmissionUncheckedCreateWithoutReviewedByInput = {
|
|
602
|
+
id?: string;
|
|
603
|
+
organizationId: string;
|
|
604
|
+
formType: $Enums.EvidenceFormType;
|
|
605
|
+
submittedById?: string | null;
|
|
606
|
+
submittedAt?: Date | string;
|
|
607
|
+
data: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
608
|
+
status?: string;
|
|
609
|
+
reviewedAt?: Date | string | null;
|
|
610
|
+
reviewReason?: string | null;
|
|
611
|
+
createdAt?: Date | string;
|
|
612
|
+
updatedAt?: Date | string;
|
|
613
|
+
findings?: Prisma.FindingUncheckedCreateNestedManyWithoutEvidenceSubmissionInput;
|
|
614
|
+
};
|
|
615
|
+
export type EvidenceSubmissionCreateOrConnectWithoutReviewedByInput = {
|
|
616
|
+
where: Prisma.EvidenceSubmissionWhereUniqueInput;
|
|
617
|
+
create: Prisma.XOR<Prisma.EvidenceSubmissionCreateWithoutReviewedByInput, Prisma.EvidenceSubmissionUncheckedCreateWithoutReviewedByInput>;
|
|
618
|
+
};
|
|
619
|
+
export type EvidenceSubmissionCreateManyReviewedByInputEnvelope = {
|
|
620
|
+
data: Prisma.EvidenceSubmissionCreateManyReviewedByInput | Prisma.EvidenceSubmissionCreateManyReviewedByInput[];
|
|
621
|
+
skipDuplicates?: boolean;
|
|
622
|
+
};
|
|
623
|
+
export type EvidenceSubmissionUpsertWithWhereUniqueWithoutSubmittedByInput = {
|
|
624
|
+
where: Prisma.EvidenceSubmissionWhereUniqueInput;
|
|
625
|
+
update: Prisma.XOR<Prisma.EvidenceSubmissionUpdateWithoutSubmittedByInput, Prisma.EvidenceSubmissionUncheckedUpdateWithoutSubmittedByInput>;
|
|
626
|
+
create: Prisma.XOR<Prisma.EvidenceSubmissionCreateWithoutSubmittedByInput, Prisma.EvidenceSubmissionUncheckedCreateWithoutSubmittedByInput>;
|
|
627
|
+
};
|
|
628
|
+
export type EvidenceSubmissionUpdateWithWhereUniqueWithoutSubmittedByInput = {
|
|
629
|
+
where: Prisma.EvidenceSubmissionWhereUniqueInput;
|
|
630
|
+
data: Prisma.XOR<Prisma.EvidenceSubmissionUpdateWithoutSubmittedByInput, Prisma.EvidenceSubmissionUncheckedUpdateWithoutSubmittedByInput>;
|
|
631
|
+
};
|
|
632
|
+
export type EvidenceSubmissionUpdateManyWithWhereWithoutSubmittedByInput = {
|
|
633
|
+
where: Prisma.EvidenceSubmissionScalarWhereInput;
|
|
634
|
+
data: Prisma.XOR<Prisma.EvidenceSubmissionUpdateManyMutationInput, Prisma.EvidenceSubmissionUncheckedUpdateManyWithoutSubmittedByInput>;
|
|
635
|
+
};
|
|
636
|
+
export type EvidenceSubmissionScalarWhereInput = {
|
|
637
|
+
AND?: Prisma.EvidenceSubmissionScalarWhereInput | Prisma.EvidenceSubmissionScalarWhereInput[];
|
|
638
|
+
OR?: Prisma.EvidenceSubmissionScalarWhereInput[];
|
|
639
|
+
NOT?: Prisma.EvidenceSubmissionScalarWhereInput | Prisma.EvidenceSubmissionScalarWhereInput[];
|
|
640
|
+
id?: Prisma.StringFilter<"EvidenceSubmission"> | string;
|
|
641
|
+
organizationId?: Prisma.StringFilter<"EvidenceSubmission"> | string;
|
|
642
|
+
formType?: Prisma.EnumEvidenceFormTypeFilter<"EvidenceSubmission"> | $Enums.EvidenceFormType;
|
|
643
|
+
submittedById?: Prisma.StringNullableFilter<"EvidenceSubmission"> | string | null;
|
|
644
|
+
submittedAt?: Prisma.DateTimeFilter<"EvidenceSubmission"> | Date | string;
|
|
645
|
+
data?: Prisma.JsonFilter<"EvidenceSubmission">;
|
|
646
|
+
status?: Prisma.StringFilter<"EvidenceSubmission"> | string;
|
|
647
|
+
reviewedById?: Prisma.StringNullableFilter<"EvidenceSubmission"> | string | null;
|
|
648
|
+
reviewedAt?: Prisma.DateTimeNullableFilter<"EvidenceSubmission"> | Date | string | null;
|
|
649
|
+
reviewReason?: Prisma.StringNullableFilter<"EvidenceSubmission"> | string | null;
|
|
650
|
+
createdAt?: Prisma.DateTimeFilter<"EvidenceSubmission"> | Date | string;
|
|
651
|
+
updatedAt?: Prisma.DateTimeFilter<"EvidenceSubmission"> | Date | string;
|
|
652
|
+
};
|
|
653
|
+
export type EvidenceSubmissionUpsertWithWhereUniqueWithoutReviewedByInput = {
|
|
654
|
+
where: Prisma.EvidenceSubmissionWhereUniqueInput;
|
|
655
|
+
update: Prisma.XOR<Prisma.EvidenceSubmissionUpdateWithoutReviewedByInput, Prisma.EvidenceSubmissionUncheckedUpdateWithoutReviewedByInput>;
|
|
656
|
+
create: Prisma.XOR<Prisma.EvidenceSubmissionCreateWithoutReviewedByInput, Prisma.EvidenceSubmissionUncheckedCreateWithoutReviewedByInput>;
|
|
657
|
+
};
|
|
658
|
+
export type EvidenceSubmissionUpdateWithWhereUniqueWithoutReviewedByInput = {
|
|
659
|
+
where: Prisma.EvidenceSubmissionWhereUniqueInput;
|
|
660
|
+
data: Prisma.XOR<Prisma.EvidenceSubmissionUpdateWithoutReviewedByInput, Prisma.EvidenceSubmissionUncheckedUpdateWithoutReviewedByInput>;
|
|
661
|
+
};
|
|
662
|
+
export type EvidenceSubmissionUpdateManyWithWhereWithoutReviewedByInput = {
|
|
663
|
+
where: Prisma.EvidenceSubmissionScalarWhereInput;
|
|
664
|
+
data: Prisma.XOR<Prisma.EvidenceSubmissionUpdateManyMutationInput, Prisma.EvidenceSubmissionUncheckedUpdateManyWithoutReviewedByInput>;
|
|
665
|
+
};
|
|
666
|
+
export type EvidenceSubmissionCreateWithoutFindingsInput = {
|
|
667
|
+
id?: string;
|
|
668
|
+
formType: $Enums.EvidenceFormType;
|
|
669
|
+
submittedAt?: Date | string;
|
|
670
|
+
data: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
671
|
+
status?: string;
|
|
672
|
+
reviewedAt?: Date | string | null;
|
|
673
|
+
reviewReason?: string | null;
|
|
674
|
+
createdAt?: Date | string;
|
|
675
|
+
updatedAt?: Date | string;
|
|
676
|
+
organization: Prisma.OrganizationCreateNestedOneWithoutEvidenceSubmissionsInput;
|
|
677
|
+
submittedBy?: Prisma.UserCreateNestedOneWithoutEvidenceSubmissionsInput;
|
|
678
|
+
reviewedBy?: Prisma.UserCreateNestedOneWithoutEvidenceReviewsInput;
|
|
679
|
+
};
|
|
680
|
+
export type EvidenceSubmissionUncheckedCreateWithoutFindingsInput = {
|
|
681
|
+
id?: string;
|
|
682
|
+
organizationId: string;
|
|
683
|
+
formType: $Enums.EvidenceFormType;
|
|
684
|
+
submittedById?: string | null;
|
|
685
|
+
submittedAt?: Date | string;
|
|
686
|
+
data: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
687
|
+
status?: string;
|
|
688
|
+
reviewedById?: string | null;
|
|
689
|
+
reviewedAt?: Date | string | null;
|
|
690
|
+
reviewReason?: string | null;
|
|
691
|
+
createdAt?: Date | string;
|
|
692
|
+
updatedAt?: Date | string;
|
|
693
|
+
};
|
|
694
|
+
export type EvidenceSubmissionCreateOrConnectWithoutFindingsInput = {
|
|
695
|
+
where: Prisma.EvidenceSubmissionWhereUniqueInput;
|
|
696
|
+
create: Prisma.XOR<Prisma.EvidenceSubmissionCreateWithoutFindingsInput, Prisma.EvidenceSubmissionUncheckedCreateWithoutFindingsInput>;
|
|
697
|
+
};
|
|
698
|
+
export type EvidenceSubmissionUpsertWithoutFindingsInput = {
|
|
699
|
+
update: Prisma.XOR<Prisma.EvidenceSubmissionUpdateWithoutFindingsInput, Prisma.EvidenceSubmissionUncheckedUpdateWithoutFindingsInput>;
|
|
700
|
+
create: Prisma.XOR<Prisma.EvidenceSubmissionCreateWithoutFindingsInput, Prisma.EvidenceSubmissionUncheckedCreateWithoutFindingsInput>;
|
|
701
|
+
where?: Prisma.EvidenceSubmissionWhereInput;
|
|
702
|
+
};
|
|
703
|
+
export type EvidenceSubmissionUpdateToOneWithWhereWithoutFindingsInput = {
|
|
704
|
+
where?: Prisma.EvidenceSubmissionWhereInput;
|
|
705
|
+
data: Prisma.XOR<Prisma.EvidenceSubmissionUpdateWithoutFindingsInput, Prisma.EvidenceSubmissionUncheckedUpdateWithoutFindingsInput>;
|
|
706
|
+
};
|
|
707
|
+
export type EvidenceSubmissionUpdateWithoutFindingsInput = {
|
|
708
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
709
|
+
formType?: Prisma.EnumEvidenceFormTypeFieldUpdateOperationsInput | $Enums.EvidenceFormType;
|
|
710
|
+
submittedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
711
|
+
data?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
712
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
713
|
+
reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
714
|
+
reviewReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
715
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
716
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
717
|
+
organization?: Prisma.OrganizationUpdateOneRequiredWithoutEvidenceSubmissionsNestedInput;
|
|
718
|
+
submittedBy?: Prisma.UserUpdateOneWithoutEvidenceSubmissionsNestedInput;
|
|
719
|
+
reviewedBy?: Prisma.UserUpdateOneWithoutEvidenceReviewsNestedInput;
|
|
720
|
+
};
|
|
721
|
+
export type EvidenceSubmissionUncheckedUpdateWithoutFindingsInput = {
|
|
722
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
723
|
+
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
724
|
+
formType?: Prisma.EnumEvidenceFormTypeFieldUpdateOperationsInput | $Enums.EvidenceFormType;
|
|
725
|
+
submittedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
726
|
+
submittedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
727
|
+
data?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
728
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
729
|
+
reviewedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
730
|
+
reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
731
|
+
reviewReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
732
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
733
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
734
|
+
};
|
|
735
|
+
export type EvidenceSubmissionCreateWithoutOrganizationInput = {
|
|
736
|
+
id?: string;
|
|
737
|
+
formType: $Enums.EvidenceFormType;
|
|
738
|
+
submittedAt?: Date | string;
|
|
739
|
+
data: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
740
|
+
status?: string;
|
|
741
|
+
reviewedAt?: Date | string | null;
|
|
742
|
+
reviewReason?: string | null;
|
|
743
|
+
createdAt?: Date | string;
|
|
744
|
+
updatedAt?: Date | string;
|
|
745
|
+
submittedBy?: Prisma.UserCreateNestedOneWithoutEvidenceSubmissionsInput;
|
|
746
|
+
reviewedBy?: Prisma.UserCreateNestedOneWithoutEvidenceReviewsInput;
|
|
747
|
+
findings?: Prisma.FindingCreateNestedManyWithoutEvidenceSubmissionInput;
|
|
748
|
+
};
|
|
749
|
+
export type EvidenceSubmissionUncheckedCreateWithoutOrganizationInput = {
|
|
750
|
+
id?: string;
|
|
751
|
+
formType: $Enums.EvidenceFormType;
|
|
752
|
+
submittedById?: string | null;
|
|
753
|
+
submittedAt?: Date | string;
|
|
754
|
+
data: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
755
|
+
status?: string;
|
|
756
|
+
reviewedById?: string | null;
|
|
757
|
+
reviewedAt?: Date | string | null;
|
|
758
|
+
reviewReason?: string | null;
|
|
759
|
+
createdAt?: Date | string;
|
|
760
|
+
updatedAt?: Date | string;
|
|
761
|
+
findings?: Prisma.FindingUncheckedCreateNestedManyWithoutEvidenceSubmissionInput;
|
|
762
|
+
};
|
|
763
|
+
export type EvidenceSubmissionCreateOrConnectWithoutOrganizationInput = {
|
|
764
|
+
where: Prisma.EvidenceSubmissionWhereUniqueInput;
|
|
765
|
+
create: Prisma.XOR<Prisma.EvidenceSubmissionCreateWithoutOrganizationInput, Prisma.EvidenceSubmissionUncheckedCreateWithoutOrganizationInput>;
|
|
766
|
+
};
|
|
767
|
+
export type EvidenceSubmissionCreateManyOrganizationInputEnvelope = {
|
|
768
|
+
data: Prisma.EvidenceSubmissionCreateManyOrganizationInput | Prisma.EvidenceSubmissionCreateManyOrganizationInput[];
|
|
769
|
+
skipDuplicates?: boolean;
|
|
770
|
+
};
|
|
771
|
+
export type EvidenceSubmissionUpsertWithWhereUniqueWithoutOrganizationInput = {
|
|
772
|
+
where: Prisma.EvidenceSubmissionWhereUniqueInput;
|
|
773
|
+
update: Prisma.XOR<Prisma.EvidenceSubmissionUpdateWithoutOrganizationInput, Prisma.EvidenceSubmissionUncheckedUpdateWithoutOrganizationInput>;
|
|
774
|
+
create: Prisma.XOR<Prisma.EvidenceSubmissionCreateWithoutOrganizationInput, Prisma.EvidenceSubmissionUncheckedCreateWithoutOrganizationInput>;
|
|
775
|
+
};
|
|
776
|
+
export type EvidenceSubmissionUpdateWithWhereUniqueWithoutOrganizationInput = {
|
|
777
|
+
where: Prisma.EvidenceSubmissionWhereUniqueInput;
|
|
778
|
+
data: Prisma.XOR<Prisma.EvidenceSubmissionUpdateWithoutOrganizationInput, Prisma.EvidenceSubmissionUncheckedUpdateWithoutOrganizationInput>;
|
|
779
|
+
};
|
|
780
|
+
export type EvidenceSubmissionUpdateManyWithWhereWithoutOrganizationInput = {
|
|
781
|
+
where: Prisma.EvidenceSubmissionScalarWhereInput;
|
|
782
|
+
data: Prisma.XOR<Prisma.EvidenceSubmissionUpdateManyMutationInput, Prisma.EvidenceSubmissionUncheckedUpdateManyWithoutOrganizationInput>;
|
|
783
|
+
};
|
|
784
|
+
export type EvidenceSubmissionCreateManySubmittedByInput = {
|
|
785
|
+
id?: string;
|
|
786
|
+
organizationId: string;
|
|
787
|
+
formType: $Enums.EvidenceFormType;
|
|
788
|
+
submittedAt?: Date | string;
|
|
789
|
+
data: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
790
|
+
status?: string;
|
|
791
|
+
reviewedById?: string | null;
|
|
792
|
+
reviewedAt?: Date | string | null;
|
|
793
|
+
reviewReason?: string | null;
|
|
794
|
+
createdAt?: Date | string;
|
|
795
|
+
updatedAt?: Date | string;
|
|
796
|
+
};
|
|
797
|
+
export type EvidenceSubmissionCreateManyReviewedByInput = {
|
|
798
|
+
id?: string;
|
|
799
|
+
organizationId: string;
|
|
800
|
+
formType: $Enums.EvidenceFormType;
|
|
801
|
+
submittedById?: string | null;
|
|
802
|
+
submittedAt?: Date | string;
|
|
803
|
+
data: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
804
|
+
status?: string;
|
|
805
|
+
reviewedAt?: Date | string | null;
|
|
806
|
+
reviewReason?: string | null;
|
|
807
|
+
createdAt?: Date | string;
|
|
808
|
+
updatedAt?: Date | string;
|
|
809
|
+
};
|
|
810
|
+
export type EvidenceSubmissionUpdateWithoutSubmittedByInput = {
|
|
811
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
812
|
+
formType?: Prisma.EnumEvidenceFormTypeFieldUpdateOperationsInput | $Enums.EvidenceFormType;
|
|
813
|
+
submittedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
814
|
+
data?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
815
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
816
|
+
reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
817
|
+
reviewReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
818
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
819
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
820
|
+
organization?: Prisma.OrganizationUpdateOneRequiredWithoutEvidenceSubmissionsNestedInput;
|
|
821
|
+
reviewedBy?: Prisma.UserUpdateOneWithoutEvidenceReviewsNestedInput;
|
|
822
|
+
findings?: Prisma.FindingUpdateManyWithoutEvidenceSubmissionNestedInput;
|
|
823
|
+
};
|
|
824
|
+
export type EvidenceSubmissionUncheckedUpdateWithoutSubmittedByInput = {
|
|
825
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
826
|
+
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
827
|
+
formType?: Prisma.EnumEvidenceFormTypeFieldUpdateOperationsInput | $Enums.EvidenceFormType;
|
|
828
|
+
submittedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
829
|
+
data?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
830
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
831
|
+
reviewedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
832
|
+
reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
833
|
+
reviewReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
834
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
835
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
836
|
+
findings?: Prisma.FindingUncheckedUpdateManyWithoutEvidenceSubmissionNestedInput;
|
|
837
|
+
};
|
|
838
|
+
export type EvidenceSubmissionUncheckedUpdateManyWithoutSubmittedByInput = {
|
|
839
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
840
|
+
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
841
|
+
formType?: Prisma.EnumEvidenceFormTypeFieldUpdateOperationsInput | $Enums.EvidenceFormType;
|
|
842
|
+
submittedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
843
|
+
data?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
844
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
845
|
+
reviewedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
846
|
+
reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
847
|
+
reviewReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
848
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
849
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
850
|
+
};
|
|
851
|
+
export type EvidenceSubmissionUpdateWithoutReviewedByInput = {
|
|
852
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
853
|
+
formType?: Prisma.EnumEvidenceFormTypeFieldUpdateOperationsInput | $Enums.EvidenceFormType;
|
|
854
|
+
submittedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
855
|
+
data?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
856
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
857
|
+
reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
858
|
+
reviewReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
859
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
860
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
861
|
+
organization?: Prisma.OrganizationUpdateOneRequiredWithoutEvidenceSubmissionsNestedInput;
|
|
862
|
+
submittedBy?: Prisma.UserUpdateOneWithoutEvidenceSubmissionsNestedInput;
|
|
863
|
+
findings?: Prisma.FindingUpdateManyWithoutEvidenceSubmissionNestedInput;
|
|
864
|
+
};
|
|
865
|
+
export type EvidenceSubmissionUncheckedUpdateWithoutReviewedByInput = {
|
|
866
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
867
|
+
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
868
|
+
formType?: Prisma.EnumEvidenceFormTypeFieldUpdateOperationsInput | $Enums.EvidenceFormType;
|
|
869
|
+
submittedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
870
|
+
submittedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
871
|
+
data?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
872
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
873
|
+
reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
874
|
+
reviewReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
875
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
876
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
877
|
+
findings?: Prisma.FindingUncheckedUpdateManyWithoutEvidenceSubmissionNestedInput;
|
|
878
|
+
};
|
|
879
|
+
export type EvidenceSubmissionUncheckedUpdateManyWithoutReviewedByInput = {
|
|
880
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
881
|
+
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
882
|
+
formType?: Prisma.EnumEvidenceFormTypeFieldUpdateOperationsInput | $Enums.EvidenceFormType;
|
|
883
|
+
submittedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
884
|
+
submittedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
885
|
+
data?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
886
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
887
|
+
reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
888
|
+
reviewReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
889
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
890
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
891
|
+
};
|
|
892
|
+
export type EvidenceSubmissionCreateManyOrganizationInput = {
|
|
893
|
+
id?: string;
|
|
894
|
+
formType: $Enums.EvidenceFormType;
|
|
895
|
+
submittedById?: string | null;
|
|
896
|
+
submittedAt?: Date | string;
|
|
897
|
+
data: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
898
|
+
status?: string;
|
|
899
|
+
reviewedById?: string | null;
|
|
900
|
+
reviewedAt?: Date | string | null;
|
|
901
|
+
reviewReason?: string | null;
|
|
902
|
+
createdAt?: Date | string;
|
|
903
|
+
updatedAt?: Date | string;
|
|
904
|
+
};
|
|
905
|
+
export type EvidenceSubmissionUpdateWithoutOrganizationInput = {
|
|
906
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
907
|
+
formType?: Prisma.EnumEvidenceFormTypeFieldUpdateOperationsInput | $Enums.EvidenceFormType;
|
|
908
|
+
submittedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
909
|
+
data?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
910
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
911
|
+
reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
912
|
+
reviewReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
913
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
914
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
915
|
+
submittedBy?: Prisma.UserUpdateOneWithoutEvidenceSubmissionsNestedInput;
|
|
916
|
+
reviewedBy?: Prisma.UserUpdateOneWithoutEvidenceReviewsNestedInput;
|
|
917
|
+
findings?: Prisma.FindingUpdateManyWithoutEvidenceSubmissionNestedInput;
|
|
918
|
+
};
|
|
919
|
+
export type EvidenceSubmissionUncheckedUpdateWithoutOrganizationInput = {
|
|
920
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
921
|
+
formType?: Prisma.EnumEvidenceFormTypeFieldUpdateOperationsInput | $Enums.EvidenceFormType;
|
|
922
|
+
submittedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
923
|
+
submittedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
924
|
+
data?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
925
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
926
|
+
reviewedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
927
|
+
reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
928
|
+
reviewReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
929
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
930
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
931
|
+
findings?: Prisma.FindingUncheckedUpdateManyWithoutEvidenceSubmissionNestedInput;
|
|
932
|
+
};
|
|
933
|
+
export type EvidenceSubmissionUncheckedUpdateManyWithoutOrganizationInput = {
|
|
934
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
935
|
+
formType?: Prisma.EnumEvidenceFormTypeFieldUpdateOperationsInput | $Enums.EvidenceFormType;
|
|
936
|
+
submittedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
937
|
+
submittedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
938
|
+
data?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
939
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
940
|
+
reviewedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
941
|
+
reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
942
|
+
reviewReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
943
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
944
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
945
|
+
};
|
|
946
|
+
/**
|
|
947
|
+
* Count Type EvidenceSubmissionCountOutputType
|
|
948
|
+
*/
|
|
949
|
+
export type EvidenceSubmissionCountOutputType = {
|
|
950
|
+
findings: number;
|
|
951
|
+
};
|
|
952
|
+
export type EvidenceSubmissionCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
953
|
+
findings?: boolean | EvidenceSubmissionCountOutputTypeCountFindingsArgs;
|
|
954
|
+
};
|
|
955
|
+
/**
|
|
956
|
+
* EvidenceSubmissionCountOutputType without action
|
|
957
|
+
*/
|
|
958
|
+
export type EvidenceSubmissionCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
959
|
+
/**
|
|
960
|
+
* Select specific fields to fetch from the EvidenceSubmissionCountOutputType
|
|
961
|
+
*/
|
|
962
|
+
select?: Prisma.EvidenceSubmissionCountOutputTypeSelect<ExtArgs> | null;
|
|
963
|
+
};
|
|
964
|
+
/**
|
|
965
|
+
* EvidenceSubmissionCountOutputType without action
|
|
966
|
+
*/
|
|
967
|
+
export type EvidenceSubmissionCountOutputTypeCountFindingsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
968
|
+
where?: Prisma.FindingWhereInput;
|
|
969
|
+
};
|
|
970
|
+
export type EvidenceSubmissionSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
971
|
+
id?: boolean;
|
|
972
|
+
organizationId?: boolean;
|
|
973
|
+
formType?: boolean;
|
|
974
|
+
submittedById?: boolean;
|
|
975
|
+
submittedAt?: boolean;
|
|
976
|
+
data?: boolean;
|
|
977
|
+
status?: boolean;
|
|
978
|
+
reviewedById?: boolean;
|
|
979
|
+
reviewedAt?: boolean;
|
|
980
|
+
reviewReason?: boolean;
|
|
981
|
+
createdAt?: boolean;
|
|
982
|
+
updatedAt?: boolean;
|
|
983
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
984
|
+
submittedBy?: boolean | Prisma.EvidenceSubmission$submittedByArgs<ExtArgs>;
|
|
985
|
+
reviewedBy?: boolean | Prisma.EvidenceSubmission$reviewedByArgs<ExtArgs>;
|
|
986
|
+
findings?: boolean | Prisma.EvidenceSubmission$findingsArgs<ExtArgs>;
|
|
987
|
+
_count?: boolean | Prisma.EvidenceSubmissionCountOutputTypeDefaultArgs<ExtArgs>;
|
|
988
|
+
}, ExtArgs["result"]["evidenceSubmission"]>;
|
|
989
|
+
export type EvidenceSubmissionSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
990
|
+
id?: boolean;
|
|
991
|
+
organizationId?: boolean;
|
|
992
|
+
formType?: boolean;
|
|
993
|
+
submittedById?: boolean;
|
|
994
|
+
submittedAt?: boolean;
|
|
995
|
+
data?: boolean;
|
|
996
|
+
status?: boolean;
|
|
997
|
+
reviewedById?: boolean;
|
|
998
|
+
reviewedAt?: boolean;
|
|
999
|
+
reviewReason?: boolean;
|
|
1000
|
+
createdAt?: boolean;
|
|
1001
|
+
updatedAt?: boolean;
|
|
1002
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
1003
|
+
submittedBy?: boolean | Prisma.EvidenceSubmission$submittedByArgs<ExtArgs>;
|
|
1004
|
+
reviewedBy?: boolean | Prisma.EvidenceSubmission$reviewedByArgs<ExtArgs>;
|
|
1005
|
+
}, ExtArgs["result"]["evidenceSubmission"]>;
|
|
1006
|
+
export type EvidenceSubmissionSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1007
|
+
id?: boolean;
|
|
1008
|
+
organizationId?: boolean;
|
|
1009
|
+
formType?: boolean;
|
|
1010
|
+
submittedById?: boolean;
|
|
1011
|
+
submittedAt?: boolean;
|
|
1012
|
+
data?: boolean;
|
|
1013
|
+
status?: boolean;
|
|
1014
|
+
reviewedById?: boolean;
|
|
1015
|
+
reviewedAt?: boolean;
|
|
1016
|
+
reviewReason?: boolean;
|
|
1017
|
+
createdAt?: boolean;
|
|
1018
|
+
updatedAt?: boolean;
|
|
1019
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
1020
|
+
submittedBy?: boolean | Prisma.EvidenceSubmission$submittedByArgs<ExtArgs>;
|
|
1021
|
+
reviewedBy?: boolean | Prisma.EvidenceSubmission$reviewedByArgs<ExtArgs>;
|
|
1022
|
+
}, ExtArgs["result"]["evidenceSubmission"]>;
|
|
1023
|
+
export type EvidenceSubmissionSelectScalar = {
|
|
1024
|
+
id?: boolean;
|
|
1025
|
+
organizationId?: boolean;
|
|
1026
|
+
formType?: boolean;
|
|
1027
|
+
submittedById?: boolean;
|
|
1028
|
+
submittedAt?: boolean;
|
|
1029
|
+
data?: boolean;
|
|
1030
|
+
status?: boolean;
|
|
1031
|
+
reviewedById?: boolean;
|
|
1032
|
+
reviewedAt?: boolean;
|
|
1033
|
+
reviewReason?: boolean;
|
|
1034
|
+
createdAt?: boolean;
|
|
1035
|
+
updatedAt?: boolean;
|
|
1036
|
+
};
|
|
1037
|
+
export type EvidenceSubmissionOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "organizationId" | "formType" | "submittedById" | "submittedAt" | "data" | "status" | "reviewedById" | "reviewedAt" | "reviewReason" | "createdAt" | "updatedAt", ExtArgs["result"]["evidenceSubmission"]>;
|
|
1038
|
+
export type EvidenceSubmissionInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1039
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
1040
|
+
submittedBy?: boolean | Prisma.EvidenceSubmission$submittedByArgs<ExtArgs>;
|
|
1041
|
+
reviewedBy?: boolean | Prisma.EvidenceSubmission$reviewedByArgs<ExtArgs>;
|
|
1042
|
+
findings?: boolean | Prisma.EvidenceSubmission$findingsArgs<ExtArgs>;
|
|
1043
|
+
_count?: boolean | Prisma.EvidenceSubmissionCountOutputTypeDefaultArgs<ExtArgs>;
|
|
1044
|
+
};
|
|
1045
|
+
export type EvidenceSubmissionIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1046
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
1047
|
+
submittedBy?: boolean | Prisma.EvidenceSubmission$submittedByArgs<ExtArgs>;
|
|
1048
|
+
reviewedBy?: boolean | Prisma.EvidenceSubmission$reviewedByArgs<ExtArgs>;
|
|
1049
|
+
};
|
|
1050
|
+
export type EvidenceSubmissionIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1051
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
1052
|
+
submittedBy?: boolean | Prisma.EvidenceSubmission$submittedByArgs<ExtArgs>;
|
|
1053
|
+
reviewedBy?: boolean | Prisma.EvidenceSubmission$reviewedByArgs<ExtArgs>;
|
|
1054
|
+
};
|
|
1055
|
+
export type $EvidenceSubmissionPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1056
|
+
name: "EvidenceSubmission";
|
|
1057
|
+
objects: {
|
|
1058
|
+
organization: Prisma.$OrganizationPayload<ExtArgs>;
|
|
1059
|
+
submittedBy: Prisma.$UserPayload<ExtArgs> | null;
|
|
1060
|
+
reviewedBy: Prisma.$UserPayload<ExtArgs> | null;
|
|
1061
|
+
findings: Prisma.$FindingPayload<ExtArgs>[];
|
|
1062
|
+
};
|
|
1063
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
1064
|
+
id: string;
|
|
1065
|
+
organizationId: string;
|
|
1066
|
+
formType: $Enums.EvidenceFormType;
|
|
1067
|
+
submittedById: string | null;
|
|
1068
|
+
submittedAt: Date;
|
|
1069
|
+
data: runtime.JsonValue;
|
|
1070
|
+
status: string;
|
|
1071
|
+
reviewedById: string | null;
|
|
1072
|
+
reviewedAt: Date | null;
|
|
1073
|
+
reviewReason: string | null;
|
|
1074
|
+
createdAt: Date;
|
|
1075
|
+
updatedAt: Date;
|
|
1076
|
+
}, ExtArgs["result"]["evidenceSubmission"]>;
|
|
1077
|
+
composites: {};
|
|
1078
|
+
};
|
|
1079
|
+
export type EvidenceSubmissionGetPayload<S extends boolean | null | undefined | EvidenceSubmissionDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$EvidenceSubmissionPayload, S>;
|
|
1080
|
+
export type EvidenceSubmissionCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<EvidenceSubmissionFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
1081
|
+
select?: EvidenceSubmissionCountAggregateInputType | true;
|
|
1082
|
+
};
|
|
1083
|
+
export interface EvidenceSubmissionDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
1084
|
+
[K: symbol]: {
|
|
1085
|
+
types: Prisma.TypeMap<ExtArgs>['model']['EvidenceSubmission'];
|
|
1086
|
+
meta: {
|
|
1087
|
+
name: 'EvidenceSubmission';
|
|
1088
|
+
};
|
|
1089
|
+
};
|
|
1090
|
+
/**
|
|
1091
|
+
* Find zero or one EvidenceSubmission that matches the filter.
|
|
1092
|
+
* @param {EvidenceSubmissionFindUniqueArgs} args - Arguments to find a EvidenceSubmission
|
|
1093
|
+
* @example
|
|
1094
|
+
* // Get one EvidenceSubmission
|
|
1095
|
+
* const evidenceSubmission = await prisma.evidenceSubmission.findUnique({
|
|
1096
|
+
* where: {
|
|
1097
|
+
* // ... provide filter here
|
|
1098
|
+
* }
|
|
1099
|
+
* })
|
|
1100
|
+
*/
|
|
1101
|
+
findUnique<T extends EvidenceSubmissionFindUniqueArgs>(args: Prisma.SelectSubset<T, EvidenceSubmissionFindUniqueArgs<ExtArgs>>): Prisma.Prisma__EvidenceSubmissionClient<runtime.Types.Result.GetResult<Prisma.$EvidenceSubmissionPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1102
|
+
/**
|
|
1103
|
+
* Find one EvidenceSubmission that matches the filter or throw an error with `error.code='P2025'`
|
|
1104
|
+
* if no matches were found.
|
|
1105
|
+
* @param {EvidenceSubmissionFindUniqueOrThrowArgs} args - Arguments to find a EvidenceSubmission
|
|
1106
|
+
* @example
|
|
1107
|
+
* // Get one EvidenceSubmission
|
|
1108
|
+
* const evidenceSubmission = await prisma.evidenceSubmission.findUniqueOrThrow({
|
|
1109
|
+
* where: {
|
|
1110
|
+
* // ... provide filter here
|
|
1111
|
+
* }
|
|
1112
|
+
* })
|
|
1113
|
+
*/
|
|
1114
|
+
findUniqueOrThrow<T extends EvidenceSubmissionFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, EvidenceSubmissionFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__EvidenceSubmissionClient<runtime.Types.Result.GetResult<Prisma.$EvidenceSubmissionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1115
|
+
/**
|
|
1116
|
+
* Find the first EvidenceSubmission that matches the filter.
|
|
1117
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1118
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1119
|
+
* @param {EvidenceSubmissionFindFirstArgs} args - Arguments to find a EvidenceSubmission
|
|
1120
|
+
* @example
|
|
1121
|
+
* // Get one EvidenceSubmission
|
|
1122
|
+
* const evidenceSubmission = await prisma.evidenceSubmission.findFirst({
|
|
1123
|
+
* where: {
|
|
1124
|
+
* // ... provide filter here
|
|
1125
|
+
* }
|
|
1126
|
+
* })
|
|
1127
|
+
*/
|
|
1128
|
+
findFirst<T extends EvidenceSubmissionFindFirstArgs>(args?: Prisma.SelectSubset<T, EvidenceSubmissionFindFirstArgs<ExtArgs>>): Prisma.Prisma__EvidenceSubmissionClient<runtime.Types.Result.GetResult<Prisma.$EvidenceSubmissionPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1129
|
+
/**
|
|
1130
|
+
* Find the first EvidenceSubmission that matches the filter or
|
|
1131
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
1132
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1133
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1134
|
+
* @param {EvidenceSubmissionFindFirstOrThrowArgs} args - Arguments to find a EvidenceSubmission
|
|
1135
|
+
* @example
|
|
1136
|
+
* // Get one EvidenceSubmission
|
|
1137
|
+
* const evidenceSubmission = await prisma.evidenceSubmission.findFirstOrThrow({
|
|
1138
|
+
* where: {
|
|
1139
|
+
* // ... provide filter here
|
|
1140
|
+
* }
|
|
1141
|
+
* })
|
|
1142
|
+
*/
|
|
1143
|
+
findFirstOrThrow<T extends EvidenceSubmissionFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, EvidenceSubmissionFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__EvidenceSubmissionClient<runtime.Types.Result.GetResult<Prisma.$EvidenceSubmissionPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1144
|
+
/**
|
|
1145
|
+
* Find zero or more EvidenceSubmissions that matches the filter.
|
|
1146
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1147
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1148
|
+
* @param {EvidenceSubmissionFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
1149
|
+
* @example
|
|
1150
|
+
* // Get all EvidenceSubmissions
|
|
1151
|
+
* const evidenceSubmissions = await prisma.evidenceSubmission.findMany()
|
|
1152
|
+
*
|
|
1153
|
+
* // Get first 10 EvidenceSubmissions
|
|
1154
|
+
* const evidenceSubmissions = await prisma.evidenceSubmission.findMany({ take: 10 })
|
|
1155
|
+
*
|
|
1156
|
+
* // Only select the `id`
|
|
1157
|
+
* const evidenceSubmissionWithIdOnly = await prisma.evidenceSubmission.findMany({ select: { id: true } })
|
|
1158
|
+
*
|
|
1159
|
+
*/
|
|
1160
|
+
findMany<T extends EvidenceSubmissionFindManyArgs>(args?: Prisma.SelectSubset<T, EvidenceSubmissionFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EvidenceSubmissionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
1161
|
+
/**
|
|
1162
|
+
* Create a EvidenceSubmission.
|
|
1163
|
+
* @param {EvidenceSubmissionCreateArgs} args - Arguments to create a EvidenceSubmission.
|
|
1164
|
+
* @example
|
|
1165
|
+
* // Create one EvidenceSubmission
|
|
1166
|
+
* const EvidenceSubmission = await prisma.evidenceSubmission.create({
|
|
1167
|
+
* data: {
|
|
1168
|
+
* // ... data to create a EvidenceSubmission
|
|
1169
|
+
* }
|
|
1170
|
+
* })
|
|
1171
|
+
*
|
|
1172
|
+
*/
|
|
1173
|
+
create<T extends EvidenceSubmissionCreateArgs>(args: Prisma.SelectSubset<T, EvidenceSubmissionCreateArgs<ExtArgs>>): Prisma.Prisma__EvidenceSubmissionClient<runtime.Types.Result.GetResult<Prisma.$EvidenceSubmissionPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1174
|
+
/**
|
|
1175
|
+
* Create many EvidenceSubmissions.
|
|
1176
|
+
* @param {EvidenceSubmissionCreateManyArgs} args - Arguments to create many EvidenceSubmissions.
|
|
1177
|
+
* @example
|
|
1178
|
+
* // Create many EvidenceSubmissions
|
|
1179
|
+
* const evidenceSubmission = await prisma.evidenceSubmission.createMany({
|
|
1180
|
+
* data: [
|
|
1181
|
+
* // ... provide data here
|
|
1182
|
+
* ]
|
|
1183
|
+
* })
|
|
1184
|
+
*
|
|
1185
|
+
*/
|
|
1186
|
+
createMany<T extends EvidenceSubmissionCreateManyArgs>(args?: Prisma.SelectSubset<T, EvidenceSubmissionCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1187
|
+
/**
|
|
1188
|
+
* Create many EvidenceSubmissions and returns the data saved in the database.
|
|
1189
|
+
* @param {EvidenceSubmissionCreateManyAndReturnArgs} args - Arguments to create many EvidenceSubmissions.
|
|
1190
|
+
* @example
|
|
1191
|
+
* // Create many EvidenceSubmissions
|
|
1192
|
+
* const evidenceSubmission = await prisma.evidenceSubmission.createManyAndReturn({
|
|
1193
|
+
* data: [
|
|
1194
|
+
* // ... provide data here
|
|
1195
|
+
* ]
|
|
1196
|
+
* })
|
|
1197
|
+
*
|
|
1198
|
+
* // Create many EvidenceSubmissions and only return the `id`
|
|
1199
|
+
* const evidenceSubmissionWithIdOnly = await prisma.evidenceSubmission.createManyAndReturn({
|
|
1200
|
+
* select: { id: true },
|
|
1201
|
+
* data: [
|
|
1202
|
+
* // ... provide data here
|
|
1203
|
+
* ]
|
|
1204
|
+
* })
|
|
1205
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1206
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1207
|
+
*
|
|
1208
|
+
*/
|
|
1209
|
+
createManyAndReturn<T extends EvidenceSubmissionCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, EvidenceSubmissionCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EvidenceSubmissionPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
1210
|
+
/**
|
|
1211
|
+
* Delete a EvidenceSubmission.
|
|
1212
|
+
* @param {EvidenceSubmissionDeleteArgs} args - Arguments to delete one EvidenceSubmission.
|
|
1213
|
+
* @example
|
|
1214
|
+
* // Delete one EvidenceSubmission
|
|
1215
|
+
* const EvidenceSubmission = await prisma.evidenceSubmission.delete({
|
|
1216
|
+
* where: {
|
|
1217
|
+
* // ... filter to delete one EvidenceSubmission
|
|
1218
|
+
* }
|
|
1219
|
+
* })
|
|
1220
|
+
*
|
|
1221
|
+
*/
|
|
1222
|
+
delete<T extends EvidenceSubmissionDeleteArgs>(args: Prisma.SelectSubset<T, EvidenceSubmissionDeleteArgs<ExtArgs>>): Prisma.Prisma__EvidenceSubmissionClient<runtime.Types.Result.GetResult<Prisma.$EvidenceSubmissionPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1223
|
+
/**
|
|
1224
|
+
* Update one EvidenceSubmission.
|
|
1225
|
+
* @param {EvidenceSubmissionUpdateArgs} args - Arguments to update one EvidenceSubmission.
|
|
1226
|
+
* @example
|
|
1227
|
+
* // Update one EvidenceSubmission
|
|
1228
|
+
* const evidenceSubmission = await prisma.evidenceSubmission.update({
|
|
1229
|
+
* where: {
|
|
1230
|
+
* // ... provide filter here
|
|
1231
|
+
* },
|
|
1232
|
+
* data: {
|
|
1233
|
+
* // ... provide data here
|
|
1234
|
+
* }
|
|
1235
|
+
* })
|
|
1236
|
+
*
|
|
1237
|
+
*/
|
|
1238
|
+
update<T extends EvidenceSubmissionUpdateArgs>(args: Prisma.SelectSubset<T, EvidenceSubmissionUpdateArgs<ExtArgs>>): Prisma.Prisma__EvidenceSubmissionClient<runtime.Types.Result.GetResult<Prisma.$EvidenceSubmissionPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1239
|
+
/**
|
|
1240
|
+
* Delete zero or more EvidenceSubmissions.
|
|
1241
|
+
* @param {EvidenceSubmissionDeleteManyArgs} args - Arguments to filter EvidenceSubmissions to delete.
|
|
1242
|
+
* @example
|
|
1243
|
+
* // Delete a few EvidenceSubmissions
|
|
1244
|
+
* const { count } = await prisma.evidenceSubmission.deleteMany({
|
|
1245
|
+
* where: {
|
|
1246
|
+
* // ... provide filter here
|
|
1247
|
+
* }
|
|
1248
|
+
* })
|
|
1249
|
+
*
|
|
1250
|
+
*/
|
|
1251
|
+
deleteMany<T extends EvidenceSubmissionDeleteManyArgs>(args?: Prisma.SelectSubset<T, EvidenceSubmissionDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1252
|
+
/**
|
|
1253
|
+
* Update zero or more EvidenceSubmissions.
|
|
1254
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1255
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1256
|
+
* @param {EvidenceSubmissionUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1257
|
+
* @example
|
|
1258
|
+
* // Update many EvidenceSubmissions
|
|
1259
|
+
* const evidenceSubmission = await prisma.evidenceSubmission.updateMany({
|
|
1260
|
+
* where: {
|
|
1261
|
+
* // ... provide filter here
|
|
1262
|
+
* },
|
|
1263
|
+
* data: {
|
|
1264
|
+
* // ... provide data here
|
|
1265
|
+
* }
|
|
1266
|
+
* })
|
|
1267
|
+
*
|
|
1268
|
+
*/
|
|
1269
|
+
updateMany<T extends EvidenceSubmissionUpdateManyArgs>(args: Prisma.SelectSubset<T, EvidenceSubmissionUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1270
|
+
/**
|
|
1271
|
+
* Update zero or more EvidenceSubmissions and returns the data updated in the database.
|
|
1272
|
+
* @param {EvidenceSubmissionUpdateManyAndReturnArgs} args - Arguments to update many EvidenceSubmissions.
|
|
1273
|
+
* @example
|
|
1274
|
+
* // Update many EvidenceSubmissions
|
|
1275
|
+
* const evidenceSubmission = await prisma.evidenceSubmission.updateManyAndReturn({
|
|
1276
|
+
* where: {
|
|
1277
|
+
* // ... provide filter here
|
|
1278
|
+
* },
|
|
1279
|
+
* data: [
|
|
1280
|
+
* // ... provide data here
|
|
1281
|
+
* ]
|
|
1282
|
+
* })
|
|
1283
|
+
*
|
|
1284
|
+
* // Update zero or more EvidenceSubmissions and only return the `id`
|
|
1285
|
+
* const evidenceSubmissionWithIdOnly = await prisma.evidenceSubmission.updateManyAndReturn({
|
|
1286
|
+
* select: { id: true },
|
|
1287
|
+
* where: {
|
|
1288
|
+
* // ... provide filter here
|
|
1289
|
+
* },
|
|
1290
|
+
* data: [
|
|
1291
|
+
* // ... provide data here
|
|
1292
|
+
* ]
|
|
1293
|
+
* })
|
|
1294
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1295
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1296
|
+
*
|
|
1297
|
+
*/
|
|
1298
|
+
updateManyAndReturn<T extends EvidenceSubmissionUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, EvidenceSubmissionUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EvidenceSubmissionPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
1299
|
+
/**
|
|
1300
|
+
* Create or update one EvidenceSubmission.
|
|
1301
|
+
* @param {EvidenceSubmissionUpsertArgs} args - Arguments to update or create a EvidenceSubmission.
|
|
1302
|
+
* @example
|
|
1303
|
+
* // Update or create a EvidenceSubmission
|
|
1304
|
+
* const evidenceSubmission = await prisma.evidenceSubmission.upsert({
|
|
1305
|
+
* create: {
|
|
1306
|
+
* // ... data to create a EvidenceSubmission
|
|
1307
|
+
* },
|
|
1308
|
+
* update: {
|
|
1309
|
+
* // ... in case it already exists, update
|
|
1310
|
+
* },
|
|
1311
|
+
* where: {
|
|
1312
|
+
* // ... the filter for the EvidenceSubmission we want to update
|
|
1313
|
+
* }
|
|
1314
|
+
* })
|
|
1315
|
+
*/
|
|
1316
|
+
upsert<T extends EvidenceSubmissionUpsertArgs>(args: Prisma.SelectSubset<T, EvidenceSubmissionUpsertArgs<ExtArgs>>): Prisma.Prisma__EvidenceSubmissionClient<runtime.Types.Result.GetResult<Prisma.$EvidenceSubmissionPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1317
|
+
/**
|
|
1318
|
+
* Count the number of EvidenceSubmissions.
|
|
1319
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1320
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1321
|
+
* @param {EvidenceSubmissionCountArgs} args - Arguments to filter EvidenceSubmissions to count.
|
|
1322
|
+
* @example
|
|
1323
|
+
* // Count the number of EvidenceSubmissions
|
|
1324
|
+
* const count = await prisma.evidenceSubmission.count({
|
|
1325
|
+
* where: {
|
|
1326
|
+
* // ... the filter for the EvidenceSubmissions we want to count
|
|
1327
|
+
* }
|
|
1328
|
+
* })
|
|
1329
|
+
**/
|
|
1330
|
+
count<T extends EvidenceSubmissionCountArgs>(args?: Prisma.Subset<T, EvidenceSubmissionCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], EvidenceSubmissionCountAggregateOutputType> : number>;
|
|
1331
|
+
/**
|
|
1332
|
+
* Allows you to perform aggregations operations on a EvidenceSubmission.
|
|
1333
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1334
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1335
|
+
* @param {EvidenceSubmissionAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1336
|
+
* @example
|
|
1337
|
+
* // Ordered by age ascending
|
|
1338
|
+
* // Where email contains prisma.io
|
|
1339
|
+
* // Limited to the 10 users
|
|
1340
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1341
|
+
* _avg: {
|
|
1342
|
+
* age: true,
|
|
1343
|
+
* },
|
|
1344
|
+
* where: {
|
|
1345
|
+
* email: {
|
|
1346
|
+
* contains: "prisma.io",
|
|
1347
|
+
* },
|
|
1348
|
+
* },
|
|
1349
|
+
* orderBy: {
|
|
1350
|
+
* age: "asc",
|
|
1351
|
+
* },
|
|
1352
|
+
* take: 10,
|
|
1353
|
+
* })
|
|
1354
|
+
**/
|
|
1355
|
+
aggregate<T extends EvidenceSubmissionAggregateArgs>(args: Prisma.Subset<T, EvidenceSubmissionAggregateArgs>): Prisma.PrismaPromise<GetEvidenceSubmissionAggregateType<T>>;
|
|
1356
|
+
/**
|
|
1357
|
+
* Group by EvidenceSubmission.
|
|
1358
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1359
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1360
|
+
* @param {EvidenceSubmissionGroupByArgs} args - Group by arguments.
|
|
1361
|
+
* @example
|
|
1362
|
+
* // Group by city, order by createdAt, get count
|
|
1363
|
+
* const result = await prisma.user.groupBy({
|
|
1364
|
+
* by: ['city', 'createdAt'],
|
|
1365
|
+
* orderBy: {
|
|
1366
|
+
* createdAt: true
|
|
1367
|
+
* },
|
|
1368
|
+
* _count: {
|
|
1369
|
+
* _all: true
|
|
1370
|
+
* },
|
|
1371
|
+
* })
|
|
1372
|
+
*
|
|
1373
|
+
**/
|
|
1374
|
+
groupBy<T extends EvidenceSubmissionGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
1375
|
+
orderBy: EvidenceSubmissionGroupByArgs['orderBy'];
|
|
1376
|
+
} : {
|
|
1377
|
+
orderBy?: EvidenceSubmissionGroupByArgs['orderBy'];
|
|
1378
|
+
}, 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 ? {
|
|
1379
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
1380
|
+
Error,
|
|
1381
|
+
'Field ',
|
|
1382
|
+
P,
|
|
1383
|
+
` in "having" needs to be provided in "by"`
|
|
1384
|
+
];
|
|
1385
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
1386
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1387
|
+
}[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 ? {} : {
|
|
1388
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1389
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
1390
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1391
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, EvidenceSubmissionGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetEvidenceSubmissionGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
1392
|
+
/**
|
|
1393
|
+
* Fields of the EvidenceSubmission model
|
|
1394
|
+
*/
|
|
1395
|
+
readonly fields: EvidenceSubmissionFieldRefs;
|
|
1396
|
+
}
|
|
1397
|
+
/**
|
|
1398
|
+
* The delegate class that acts as a "Promise-like" for EvidenceSubmission.
|
|
1399
|
+
* Why is this prefixed with `Prisma__`?
|
|
1400
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1401
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1402
|
+
*/
|
|
1403
|
+
export interface Prisma__EvidenceSubmissionClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1404
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1405
|
+
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>;
|
|
1406
|
+
submittedBy<T extends Prisma.EvidenceSubmission$submittedByArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.EvidenceSubmission$submittedByArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1407
|
+
reviewedBy<T extends Prisma.EvidenceSubmission$reviewedByArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.EvidenceSubmission$reviewedByArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1408
|
+
findings<T extends Prisma.EvidenceSubmission$findingsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.EvidenceSubmission$findingsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FindingPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1409
|
+
/**
|
|
1410
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1411
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1412
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1413
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1414
|
+
*/
|
|
1415
|
+
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>;
|
|
1416
|
+
/**
|
|
1417
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1418
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1419
|
+
* @returns A Promise for the completion of the callback.
|
|
1420
|
+
*/
|
|
1421
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
1422
|
+
/**
|
|
1423
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1424
|
+
* resolved value cannot be modified from the callback.
|
|
1425
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1426
|
+
* @returns A Promise for the completion of the callback.
|
|
1427
|
+
*/
|
|
1428
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
1429
|
+
}
|
|
1430
|
+
/**
|
|
1431
|
+
* Fields of the EvidenceSubmission model
|
|
1432
|
+
*/
|
|
1433
|
+
export interface EvidenceSubmissionFieldRefs {
|
|
1434
|
+
readonly id: Prisma.FieldRef<"EvidenceSubmission", 'String'>;
|
|
1435
|
+
readonly organizationId: Prisma.FieldRef<"EvidenceSubmission", 'String'>;
|
|
1436
|
+
readonly formType: Prisma.FieldRef<"EvidenceSubmission", 'EvidenceFormType'>;
|
|
1437
|
+
readonly submittedById: Prisma.FieldRef<"EvidenceSubmission", 'String'>;
|
|
1438
|
+
readonly submittedAt: Prisma.FieldRef<"EvidenceSubmission", 'DateTime'>;
|
|
1439
|
+
readonly data: Prisma.FieldRef<"EvidenceSubmission", 'Json'>;
|
|
1440
|
+
readonly status: Prisma.FieldRef<"EvidenceSubmission", 'String'>;
|
|
1441
|
+
readonly reviewedById: Prisma.FieldRef<"EvidenceSubmission", 'String'>;
|
|
1442
|
+
readonly reviewedAt: Prisma.FieldRef<"EvidenceSubmission", 'DateTime'>;
|
|
1443
|
+
readonly reviewReason: Prisma.FieldRef<"EvidenceSubmission", 'String'>;
|
|
1444
|
+
readonly createdAt: Prisma.FieldRef<"EvidenceSubmission", 'DateTime'>;
|
|
1445
|
+
readonly updatedAt: Prisma.FieldRef<"EvidenceSubmission", 'DateTime'>;
|
|
1446
|
+
}
|
|
1447
|
+
/**
|
|
1448
|
+
* EvidenceSubmission findUnique
|
|
1449
|
+
*/
|
|
1450
|
+
export type EvidenceSubmissionFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1451
|
+
/**
|
|
1452
|
+
* Select specific fields to fetch from the EvidenceSubmission
|
|
1453
|
+
*/
|
|
1454
|
+
select?: Prisma.EvidenceSubmissionSelect<ExtArgs> | null;
|
|
1455
|
+
/**
|
|
1456
|
+
* Omit specific fields from the EvidenceSubmission
|
|
1457
|
+
*/
|
|
1458
|
+
omit?: Prisma.EvidenceSubmissionOmit<ExtArgs> | null;
|
|
1459
|
+
/**
|
|
1460
|
+
* Choose, which related nodes to fetch as well
|
|
1461
|
+
*/
|
|
1462
|
+
include?: Prisma.EvidenceSubmissionInclude<ExtArgs> | null;
|
|
1463
|
+
/**
|
|
1464
|
+
* Filter, which EvidenceSubmission to fetch.
|
|
1465
|
+
*/
|
|
1466
|
+
where: Prisma.EvidenceSubmissionWhereUniqueInput;
|
|
1467
|
+
};
|
|
1468
|
+
/**
|
|
1469
|
+
* EvidenceSubmission findUniqueOrThrow
|
|
1470
|
+
*/
|
|
1471
|
+
export type EvidenceSubmissionFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1472
|
+
/**
|
|
1473
|
+
* Select specific fields to fetch from the EvidenceSubmission
|
|
1474
|
+
*/
|
|
1475
|
+
select?: Prisma.EvidenceSubmissionSelect<ExtArgs> | null;
|
|
1476
|
+
/**
|
|
1477
|
+
* Omit specific fields from the EvidenceSubmission
|
|
1478
|
+
*/
|
|
1479
|
+
omit?: Prisma.EvidenceSubmissionOmit<ExtArgs> | null;
|
|
1480
|
+
/**
|
|
1481
|
+
* Choose, which related nodes to fetch as well
|
|
1482
|
+
*/
|
|
1483
|
+
include?: Prisma.EvidenceSubmissionInclude<ExtArgs> | null;
|
|
1484
|
+
/**
|
|
1485
|
+
* Filter, which EvidenceSubmission to fetch.
|
|
1486
|
+
*/
|
|
1487
|
+
where: Prisma.EvidenceSubmissionWhereUniqueInput;
|
|
1488
|
+
};
|
|
1489
|
+
/**
|
|
1490
|
+
* EvidenceSubmission findFirst
|
|
1491
|
+
*/
|
|
1492
|
+
export type EvidenceSubmissionFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1493
|
+
/**
|
|
1494
|
+
* Select specific fields to fetch from the EvidenceSubmission
|
|
1495
|
+
*/
|
|
1496
|
+
select?: Prisma.EvidenceSubmissionSelect<ExtArgs> | null;
|
|
1497
|
+
/**
|
|
1498
|
+
* Omit specific fields from the EvidenceSubmission
|
|
1499
|
+
*/
|
|
1500
|
+
omit?: Prisma.EvidenceSubmissionOmit<ExtArgs> | null;
|
|
1501
|
+
/**
|
|
1502
|
+
* Choose, which related nodes to fetch as well
|
|
1503
|
+
*/
|
|
1504
|
+
include?: Prisma.EvidenceSubmissionInclude<ExtArgs> | null;
|
|
1505
|
+
/**
|
|
1506
|
+
* Filter, which EvidenceSubmission to fetch.
|
|
1507
|
+
*/
|
|
1508
|
+
where?: Prisma.EvidenceSubmissionWhereInput;
|
|
1509
|
+
/**
|
|
1510
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1511
|
+
*
|
|
1512
|
+
* Determine the order of EvidenceSubmissions to fetch.
|
|
1513
|
+
*/
|
|
1514
|
+
orderBy?: Prisma.EvidenceSubmissionOrderByWithRelationInput | Prisma.EvidenceSubmissionOrderByWithRelationInput[];
|
|
1515
|
+
/**
|
|
1516
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1517
|
+
*
|
|
1518
|
+
* Sets the position for searching for EvidenceSubmissions.
|
|
1519
|
+
*/
|
|
1520
|
+
cursor?: Prisma.EvidenceSubmissionWhereUniqueInput;
|
|
1521
|
+
/**
|
|
1522
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1523
|
+
*
|
|
1524
|
+
* Take `±n` EvidenceSubmissions from the position of the cursor.
|
|
1525
|
+
*/
|
|
1526
|
+
take?: number;
|
|
1527
|
+
/**
|
|
1528
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1529
|
+
*
|
|
1530
|
+
* Skip the first `n` EvidenceSubmissions.
|
|
1531
|
+
*/
|
|
1532
|
+
skip?: number;
|
|
1533
|
+
/**
|
|
1534
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1535
|
+
*
|
|
1536
|
+
* Filter by unique combinations of EvidenceSubmissions.
|
|
1537
|
+
*/
|
|
1538
|
+
distinct?: Prisma.EvidenceSubmissionScalarFieldEnum | Prisma.EvidenceSubmissionScalarFieldEnum[];
|
|
1539
|
+
};
|
|
1540
|
+
/**
|
|
1541
|
+
* EvidenceSubmission findFirstOrThrow
|
|
1542
|
+
*/
|
|
1543
|
+
export type EvidenceSubmissionFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1544
|
+
/**
|
|
1545
|
+
* Select specific fields to fetch from the EvidenceSubmission
|
|
1546
|
+
*/
|
|
1547
|
+
select?: Prisma.EvidenceSubmissionSelect<ExtArgs> | null;
|
|
1548
|
+
/**
|
|
1549
|
+
* Omit specific fields from the EvidenceSubmission
|
|
1550
|
+
*/
|
|
1551
|
+
omit?: Prisma.EvidenceSubmissionOmit<ExtArgs> | null;
|
|
1552
|
+
/**
|
|
1553
|
+
* Choose, which related nodes to fetch as well
|
|
1554
|
+
*/
|
|
1555
|
+
include?: Prisma.EvidenceSubmissionInclude<ExtArgs> | null;
|
|
1556
|
+
/**
|
|
1557
|
+
* Filter, which EvidenceSubmission to fetch.
|
|
1558
|
+
*/
|
|
1559
|
+
where?: Prisma.EvidenceSubmissionWhereInput;
|
|
1560
|
+
/**
|
|
1561
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1562
|
+
*
|
|
1563
|
+
* Determine the order of EvidenceSubmissions to fetch.
|
|
1564
|
+
*/
|
|
1565
|
+
orderBy?: Prisma.EvidenceSubmissionOrderByWithRelationInput | Prisma.EvidenceSubmissionOrderByWithRelationInput[];
|
|
1566
|
+
/**
|
|
1567
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1568
|
+
*
|
|
1569
|
+
* Sets the position for searching for EvidenceSubmissions.
|
|
1570
|
+
*/
|
|
1571
|
+
cursor?: Prisma.EvidenceSubmissionWhereUniqueInput;
|
|
1572
|
+
/**
|
|
1573
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1574
|
+
*
|
|
1575
|
+
* Take `±n` EvidenceSubmissions from the position of the cursor.
|
|
1576
|
+
*/
|
|
1577
|
+
take?: number;
|
|
1578
|
+
/**
|
|
1579
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1580
|
+
*
|
|
1581
|
+
* Skip the first `n` EvidenceSubmissions.
|
|
1582
|
+
*/
|
|
1583
|
+
skip?: number;
|
|
1584
|
+
/**
|
|
1585
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1586
|
+
*
|
|
1587
|
+
* Filter by unique combinations of EvidenceSubmissions.
|
|
1588
|
+
*/
|
|
1589
|
+
distinct?: Prisma.EvidenceSubmissionScalarFieldEnum | Prisma.EvidenceSubmissionScalarFieldEnum[];
|
|
1590
|
+
};
|
|
1591
|
+
/**
|
|
1592
|
+
* EvidenceSubmission findMany
|
|
1593
|
+
*/
|
|
1594
|
+
export type EvidenceSubmissionFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1595
|
+
/**
|
|
1596
|
+
* Select specific fields to fetch from the EvidenceSubmission
|
|
1597
|
+
*/
|
|
1598
|
+
select?: Prisma.EvidenceSubmissionSelect<ExtArgs> | null;
|
|
1599
|
+
/**
|
|
1600
|
+
* Omit specific fields from the EvidenceSubmission
|
|
1601
|
+
*/
|
|
1602
|
+
omit?: Prisma.EvidenceSubmissionOmit<ExtArgs> | null;
|
|
1603
|
+
/**
|
|
1604
|
+
* Choose, which related nodes to fetch as well
|
|
1605
|
+
*/
|
|
1606
|
+
include?: Prisma.EvidenceSubmissionInclude<ExtArgs> | null;
|
|
1607
|
+
/**
|
|
1608
|
+
* Filter, which EvidenceSubmissions to fetch.
|
|
1609
|
+
*/
|
|
1610
|
+
where?: Prisma.EvidenceSubmissionWhereInput;
|
|
1611
|
+
/**
|
|
1612
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1613
|
+
*
|
|
1614
|
+
* Determine the order of EvidenceSubmissions to fetch.
|
|
1615
|
+
*/
|
|
1616
|
+
orderBy?: Prisma.EvidenceSubmissionOrderByWithRelationInput | Prisma.EvidenceSubmissionOrderByWithRelationInput[];
|
|
1617
|
+
/**
|
|
1618
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1619
|
+
*
|
|
1620
|
+
* Sets the position for listing EvidenceSubmissions.
|
|
1621
|
+
*/
|
|
1622
|
+
cursor?: Prisma.EvidenceSubmissionWhereUniqueInput;
|
|
1623
|
+
/**
|
|
1624
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1625
|
+
*
|
|
1626
|
+
* Take `±n` EvidenceSubmissions from the position of the cursor.
|
|
1627
|
+
*/
|
|
1628
|
+
take?: number;
|
|
1629
|
+
/**
|
|
1630
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1631
|
+
*
|
|
1632
|
+
* Skip the first `n` EvidenceSubmissions.
|
|
1633
|
+
*/
|
|
1634
|
+
skip?: number;
|
|
1635
|
+
/**
|
|
1636
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1637
|
+
*
|
|
1638
|
+
* Filter by unique combinations of EvidenceSubmissions.
|
|
1639
|
+
*/
|
|
1640
|
+
distinct?: Prisma.EvidenceSubmissionScalarFieldEnum | Prisma.EvidenceSubmissionScalarFieldEnum[];
|
|
1641
|
+
};
|
|
1642
|
+
/**
|
|
1643
|
+
* EvidenceSubmission create
|
|
1644
|
+
*/
|
|
1645
|
+
export type EvidenceSubmissionCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1646
|
+
/**
|
|
1647
|
+
* Select specific fields to fetch from the EvidenceSubmission
|
|
1648
|
+
*/
|
|
1649
|
+
select?: Prisma.EvidenceSubmissionSelect<ExtArgs> | null;
|
|
1650
|
+
/**
|
|
1651
|
+
* Omit specific fields from the EvidenceSubmission
|
|
1652
|
+
*/
|
|
1653
|
+
omit?: Prisma.EvidenceSubmissionOmit<ExtArgs> | null;
|
|
1654
|
+
/**
|
|
1655
|
+
* Choose, which related nodes to fetch as well
|
|
1656
|
+
*/
|
|
1657
|
+
include?: Prisma.EvidenceSubmissionInclude<ExtArgs> | null;
|
|
1658
|
+
/**
|
|
1659
|
+
* The data needed to create a EvidenceSubmission.
|
|
1660
|
+
*/
|
|
1661
|
+
data: Prisma.XOR<Prisma.EvidenceSubmissionCreateInput, Prisma.EvidenceSubmissionUncheckedCreateInput>;
|
|
1662
|
+
};
|
|
1663
|
+
/**
|
|
1664
|
+
* EvidenceSubmission createMany
|
|
1665
|
+
*/
|
|
1666
|
+
export type EvidenceSubmissionCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1667
|
+
/**
|
|
1668
|
+
* The data used to create many EvidenceSubmissions.
|
|
1669
|
+
*/
|
|
1670
|
+
data: Prisma.EvidenceSubmissionCreateManyInput | Prisma.EvidenceSubmissionCreateManyInput[];
|
|
1671
|
+
skipDuplicates?: boolean;
|
|
1672
|
+
};
|
|
1673
|
+
/**
|
|
1674
|
+
* EvidenceSubmission createManyAndReturn
|
|
1675
|
+
*/
|
|
1676
|
+
export type EvidenceSubmissionCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1677
|
+
/**
|
|
1678
|
+
* Select specific fields to fetch from the EvidenceSubmission
|
|
1679
|
+
*/
|
|
1680
|
+
select?: Prisma.EvidenceSubmissionSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1681
|
+
/**
|
|
1682
|
+
* Omit specific fields from the EvidenceSubmission
|
|
1683
|
+
*/
|
|
1684
|
+
omit?: Prisma.EvidenceSubmissionOmit<ExtArgs> | null;
|
|
1685
|
+
/**
|
|
1686
|
+
* The data used to create many EvidenceSubmissions.
|
|
1687
|
+
*/
|
|
1688
|
+
data: Prisma.EvidenceSubmissionCreateManyInput | Prisma.EvidenceSubmissionCreateManyInput[];
|
|
1689
|
+
skipDuplicates?: boolean;
|
|
1690
|
+
/**
|
|
1691
|
+
* Choose, which related nodes to fetch as well
|
|
1692
|
+
*/
|
|
1693
|
+
include?: Prisma.EvidenceSubmissionIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1694
|
+
};
|
|
1695
|
+
/**
|
|
1696
|
+
* EvidenceSubmission update
|
|
1697
|
+
*/
|
|
1698
|
+
export type EvidenceSubmissionUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1699
|
+
/**
|
|
1700
|
+
* Select specific fields to fetch from the EvidenceSubmission
|
|
1701
|
+
*/
|
|
1702
|
+
select?: Prisma.EvidenceSubmissionSelect<ExtArgs> | null;
|
|
1703
|
+
/**
|
|
1704
|
+
* Omit specific fields from the EvidenceSubmission
|
|
1705
|
+
*/
|
|
1706
|
+
omit?: Prisma.EvidenceSubmissionOmit<ExtArgs> | null;
|
|
1707
|
+
/**
|
|
1708
|
+
* Choose, which related nodes to fetch as well
|
|
1709
|
+
*/
|
|
1710
|
+
include?: Prisma.EvidenceSubmissionInclude<ExtArgs> | null;
|
|
1711
|
+
/**
|
|
1712
|
+
* The data needed to update a EvidenceSubmission.
|
|
1713
|
+
*/
|
|
1714
|
+
data: Prisma.XOR<Prisma.EvidenceSubmissionUpdateInput, Prisma.EvidenceSubmissionUncheckedUpdateInput>;
|
|
1715
|
+
/**
|
|
1716
|
+
* Choose, which EvidenceSubmission to update.
|
|
1717
|
+
*/
|
|
1718
|
+
where: Prisma.EvidenceSubmissionWhereUniqueInput;
|
|
1719
|
+
};
|
|
1720
|
+
/**
|
|
1721
|
+
* EvidenceSubmission updateMany
|
|
1722
|
+
*/
|
|
1723
|
+
export type EvidenceSubmissionUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1724
|
+
/**
|
|
1725
|
+
* The data used to update EvidenceSubmissions.
|
|
1726
|
+
*/
|
|
1727
|
+
data: Prisma.XOR<Prisma.EvidenceSubmissionUpdateManyMutationInput, Prisma.EvidenceSubmissionUncheckedUpdateManyInput>;
|
|
1728
|
+
/**
|
|
1729
|
+
* Filter which EvidenceSubmissions to update
|
|
1730
|
+
*/
|
|
1731
|
+
where?: Prisma.EvidenceSubmissionWhereInput;
|
|
1732
|
+
/**
|
|
1733
|
+
* Limit how many EvidenceSubmissions to update.
|
|
1734
|
+
*/
|
|
1735
|
+
limit?: number;
|
|
1736
|
+
};
|
|
1737
|
+
/**
|
|
1738
|
+
* EvidenceSubmission updateManyAndReturn
|
|
1739
|
+
*/
|
|
1740
|
+
export type EvidenceSubmissionUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1741
|
+
/**
|
|
1742
|
+
* Select specific fields to fetch from the EvidenceSubmission
|
|
1743
|
+
*/
|
|
1744
|
+
select?: Prisma.EvidenceSubmissionSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1745
|
+
/**
|
|
1746
|
+
* Omit specific fields from the EvidenceSubmission
|
|
1747
|
+
*/
|
|
1748
|
+
omit?: Prisma.EvidenceSubmissionOmit<ExtArgs> | null;
|
|
1749
|
+
/**
|
|
1750
|
+
* The data used to update EvidenceSubmissions.
|
|
1751
|
+
*/
|
|
1752
|
+
data: Prisma.XOR<Prisma.EvidenceSubmissionUpdateManyMutationInput, Prisma.EvidenceSubmissionUncheckedUpdateManyInput>;
|
|
1753
|
+
/**
|
|
1754
|
+
* Filter which EvidenceSubmissions to update
|
|
1755
|
+
*/
|
|
1756
|
+
where?: Prisma.EvidenceSubmissionWhereInput;
|
|
1757
|
+
/**
|
|
1758
|
+
* Limit how many EvidenceSubmissions to update.
|
|
1759
|
+
*/
|
|
1760
|
+
limit?: number;
|
|
1761
|
+
/**
|
|
1762
|
+
* Choose, which related nodes to fetch as well
|
|
1763
|
+
*/
|
|
1764
|
+
include?: Prisma.EvidenceSubmissionIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1765
|
+
};
|
|
1766
|
+
/**
|
|
1767
|
+
* EvidenceSubmission upsert
|
|
1768
|
+
*/
|
|
1769
|
+
export type EvidenceSubmissionUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1770
|
+
/**
|
|
1771
|
+
* Select specific fields to fetch from the EvidenceSubmission
|
|
1772
|
+
*/
|
|
1773
|
+
select?: Prisma.EvidenceSubmissionSelect<ExtArgs> | null;
|
|
1774
|
+
/**
|
|
1775
|
+
* Omit specific fields from the EvidenceSubmission
|
|
1776
|
+
*/
|
|
1777
|
+
omit?: Prisma.EvidenceSubmissionOmit<ExtArgs> | null;
|
|
1778
|
+
/**
|
|
1779
|
+
* Choose, which related nodes to fetch as well
|
|
1780
|
+
*/
|
|
1781
|
+
include?: Prisma.EvidenceSubmissionInclude<ExtArgs> | null;
|
|
1782
|
+
/**
|
|
1783
|
+
* The filter to search for the EvidenceSubmission to update in case it exists.
|
|
1784
|
+
*/
|
|
1785
|
+
where: Prisma.EvidenceSubmissionWhereUniqueInput;
|
|
1786
|
+
/**
|
|
1787
|
+
* In case the EvidenceSubmission found by the `where` argument doesn't exist, create a new EvidenceSubmission with this data.
|
|
1788
|
+
*/
|
|
1789
|
+
create: Prisma.XOR<Prisma.EvidenceSubmissionCreateInput, Prisma.EvidenceSubmissionUncheckedCreateInput>;
|
|
1790
|
+
/**
|
|
1791
|
+
* In case the EvidenceSubmission was found with the provided `where` argument, update it with this data.
|
|
1792
|
+
*/
|
|
1793
|
+
update: Prisma.XOR<Prisma.EvidenceSubmissionUpdateInput, Prisma.EvidenceSubmissionUncheckedUpdateInput>;
|
|
1794
|
+
};
|
|
1795
|
+
/**
|
|
1796
|
+
* EvidenceSubmission delete
|
|
1797
|
+
*/
|
|
1798
|
+
export type EvidenceSubmissionDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1799
|
+
/**
|
|
1800
|
+
* Select specific fields to fetch from the EvidenceSubmission
|
|
1801
|
+
*/
|
|
1802
|
+
select?: Prisma.EvidenceSubmissionSelect<ExtArgs> | null;
|
|
1803
|
+
/**
|
|
1804
|
+
* Omit specific fields from the EvidenceSubmission
|
|
1805
|
+
*/
|
|
1806
|
+
omit?: Prisma.EvidenceSubmissionOmit<ExtArgs> | null;
|
|
1807
|
+
/**
|
|
1808
|
+
* Choose, which related nodes to fetch as well
|
|
1809
|
+
*/
|
|
1810
|
+
include?: Prisma.EvidenceSubmissionInclude<ExtArgs> | null;
|
|
1811
|
+
/**
|
|
1812
|
+
* Filter which EvidenceSubmission to delete.
|
|
1813
|
+
*/
|
|
1814
|
+
where: Prisma.EvidenceSubmissionWhereUniqueInput;
|
|
1815
|
+
};
|
|
1816
|
+
/**
|
|
1817
|
+
* EvidenceSubmission deleteMany
|
|
1818
|
+
*/
|
|
1819
|
+
export type EvidenceSubmissionDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1820
|
+
/**
|
|
1821
|
+
* Filter which EvidenceSubmissions to delete
|
|
1822
|
+
*/
|
|
1823
|
+
where?: Prisma.EvidenceSubmissionWhereInput;
|
|
1824
|
+
/**
|
|
1825
|
+
* Limit how many EvidenceSubmissions to delete.
|
|
1826
|
+
*/
|
|
1827
|
+
limit?: number;
|
|
1828
|
+
};
|
|
1829
|
+
/**
|
|
1830
|
+
* EvidenceSubmission.submittedBy
|
|
1831
|
+
*/
|
|
1832
|
+
export type EvidenceSubmission$submittedByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1833
|
+
/**
|
|
1834
|
+
* Select specific fields to fetch from the User
|
|
1835
|
+
*/
|
|
1836
|
+
select?: Prisma.UserSelect<ExtArgs> | null;
|
|
1837
|
+
/**
|
|
1838
|
+
* Omit specific fields from the User
|
|
1839
|
+
*/
|
|
1840
|
+
omit?: Prisma.UserOmit<ExtArgs> | null;
|
|
1841
|
+
/**
|
|
1842
|
+
* Choose, which related nodes to fetch as well
|
|
1843
|
+
*/
|
|
1844
|
+
include?: Prisma.UserInclude<ExtArgs> | null;
|
|
1845
|
+
where?: Prisma.UserWhereInput;
|
|
1846
|
+
};
|
|
1847
|
+
/**
|
|
1848
|
+
* EvidenceSubmission.reviewedBy
|
|
1849
|
+
*/
|
|
1850
|
+
export type EvidenceSubmission$reviewedByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1851
|
+
/**
|
|
1852
|
+
* Select specific fields to fetch from the User
|
|
1853
|
+
*/
|
|
1854
|
+
select?: Prisma.UserSelect<ExtArgs> | null;
|
|
1855
|
+
/**
|
|
1856
|
+
* Omit specific fields from the User
|
|
1857
|
+
*/
|
|
1858
|
+
omit?: Prisma.UserOmit<ExtArgs> | null;
|
|
1859
|
+
/**
|
|
1860
|
+
* Choose, which related nodes to fetch as well
|
|
1861
|
+
*/
|
|
1862
|
+
include?: Prisma.UserInclude<ExtArgs> | null;
|
|
1863
|
+
where?: Prisma.UserWhereInput;
|
|
1864
|
+
};
|
|
1865
|
+
/**
|
|
1866
|
+
* EvidenceSubmission.findings
|
|
1867
|
+
*/
|
|
1868
|
+
export type EvidenceSubmission$findingsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1869
|
+
/**
|
|
1870
|
+
* Select specific fields to fetch from the Finding
|
|
1871
|
+
*/
|
|
1872
|
+
select?: Prisma.FindingSelect<ExtArgs> | null;
|
|
1873
|
+
/**
|
|
1874
|
+
* Omit specific fields from the Finding
|
|
1875
|
+
*/
|
|
1876
|
+
omit?: Prisma.FindingOmit<ExtArgs> | null;
|
|
1877
|
+
/**
|
|
1878
|
+
* Choose, which related nodes to fetch as well
|
|
1879
|
+
*/
|
|
1880
|
+
include?: Prisma.FindingInclude<ExtArgs> | null;
|
|
1881
|
+
where?: Prisma.FindingWhereInput;
|
|
1882
|
+
orderBy?: Prisma.FindingOrderByWithRelationInput | Prisma.FindingOrderByWithRelationInput[];
|
|
1883
|
+
cursor?: Prisma.FindingWhereUniqueInput;
|
|
1884
|
+
take?: number;
|
|
1885
|
+
skip?: number;
|
|
1886
|
+
distinct?: Prisma.FindingScalarFieldEnum | Prisma.FindingScalarFieldEnum[];
|
|
1887
|
+
};
|
|
1888
|
+
/**
|
|
1889
|
+
* EvidenceSubmission without action
|
|
1890
|
+
*/
|
|
1891
|
+
export type EvidenceSubmissionDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1892
|
+
/**
|
|
1893
|
+
* Select specific fields to fetch from the EvidenceSubmission
|
|
1894
|
+
*/
|
|
1895
|
+
select?: Prisma.EvidenceSubmissionSelect<ExtArgs> | null;
|
|
1896
|
+
/**
|
|
1897
|
+
* Omit specific fields from the EvidenceSubmission
|
|
1898
|
+
*/
|
|
1899
|
+
omit?: Prisma.EvidenceSubmissionOmit<ExtArgs> | null;
|
|
1900
|
+
/**
|
|
1901
|
+
* Choose, which related nodes to fetch as well
|
|
1902
|
+
*/
|
|
1903
|
+
include?: Prisma.EvidenceSubmissionInclude<ExtArgs> | null;
|
|
1904
|
+
};
|
|
1905
|
+
//# sourceMappingURL=EvidenceSubmission.d.ts.map
|