@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,2272 @@
|
|
|
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 SOADocument
|
|
6
|
+
*
|
|
7
|
+
*/
|
|
8
|
+
export type SOADocumentModel = runtime.Types.Result.DefaultSelection<Prisma.$SOADocumentPayload>;
|
|
9
|
+
export type AggregateSOADocument = {
|
|
10
|
+
_count: SOADocumentCountAggregateOutputType | null;
|
|
11
|
+
_avg: SOADocumentAvgAggregateOutputType | null;
|
|
12
|
+
_sum: SOADocumentSumAggregateOutputType | null;
|
|
13
|
+
_min: SOADocumentMinAggregateOutputType | null;
|
|
14
|
+
_max: SOADocumentMaxAggregateOutputType | null;
|
|
15
|
+
};
|
|
16
|
+
export type SOADocumentAvgAggregateOutputType = {
|
|
17
|
+
version: number | null;
|
|
18
|
+
totalQuestions: number | null;
|
|
19
|
+
answeredQuestions: number | null;
|
|
20
|
+
};
|
|
21
|
+
export type SOADocumentSumAggregateOutputType = {
|
|
22
|
+
version: number | null;
|
|
23
|
+
totalQuestions: number | null;
|
|
24
|
+
answeredQuestions: number | null;
|
|
25
|
+
};
|
|
26
|
+
export type SOADocumentMinAggregateOutputType = {
|
|
27
|
+
id: string | null;
|
|
28
|
+
frameworkId: string | null;
|
|
29
|
+
organizationId: string | null;
|
|
30
|
+
configurationId: string | null;
|
|
31
|
+
version: number | null;
|
|
32
|
+
isLatest: boolean | null;
|
|
33
|
+
status: $Enums.SOADocumentStatus | null;
|
|
34
|
+
totalQuestions: number | null;
|
|
35
|
+
answeredQuestions: number | null;
|
|
36
|
+
preparedBy: string | null;
|
|
37
|
+
approverId: string | null;
|
|
38
|
+
approvedAt: Date | null;
|
|
39
|
+
completedAt: Date | null;
|
|
40
|
+
createdAt: Date | null;
|
|
41
|
+
updatedAt: Date | null;
|
|
42
|
+
};
|
|
43
|
+
export type SOADocumentMaxAggregateOutputType = {
|
|
44
|
+
id: string | null;
|
|
45
|
+
frameworkId: string | null;
|
|
46
|
+
organizationId: string | null;
|
|
47
|
+
configurationId: string | null;
|
|
48
|
+
version: number | null;
|
|
49
|
+
isLatest: boolean | null;
|
|
50
|
+
status: $Enums.SOADocumentStatus | null;
|
|
51
|
+
totalQuestions: number | null;
|
|
52
|
+
answeredQuestions: number | null;
|
|
53
|
+
preparedBy: string | null;
|
|
54
|
+
approverId: string | null;
|
|
55
|
+
approvedAt: Date | null;
|
|
56
|
+
completedAt: Date | null;
|
|
57
|
+
createdAt: Date | null;
|
|
58
|
+
updatedAt: Date | null;
|
|
59
|
+
};
|
|
60
|
+
export type SOADocumentCountAggregateOutputType = {
|
|
61
|
+
id: number;
|
|
62
|
+
frameworkId: number;
|
|
63
|
+
organizationId: number;
|
|
64
|
+
configurationId: number;
|
|
65
|
+
version: number;
|
|
66
|
+
isLatest: number;
|
|
67
|
+
status: number;
|
|
68
|
+
totalQuestions: number;
|
|
69
|
+
answeredQuestions: number;
|
|
70
|
+
preparedBy: number;
|
|
71
|
+
approverId: number;
|
|
72
|
+
approvedAt: number;
|
|
73
|
+
completedAt: number;
|
|
74
|
+
createdAt: number;
|
|
75
|
+
updatedAt: number;
|
|
76
|
+
_all: number;
|
|
77
|
+
};
|
|
78
|
+
export type SOADocumentAvgAggregateInputType = {
|
|
79
|
+
version?: true;
|
|
80
|
+
totalQuestions?: true;
|
|
81
|
+
answeredQuestions?: true;
|
|
82
|
+
};
|
|
83
|
+
export type SOADocumentSumAggregateInputType = {
|
|
84
|
+
version?: true;
|
|
85
|
+
totalQuestions?: true;
|
|
86
|
+
answeredQuestions?: true;
|
|
87
|
+
};
|
|
88
|
+
export type SOADocumentMinAggregateInputType = {
|
|
89
|
+
id?: true;
|
|
90
|
+
frameworkId?: true;
|
|
91
|
+
organizationId?: true;
|
|
92
|
+
configurationId?: true;
|
|
93
|
+
version?: true;
|
|
94
|
+
isLatest?: true;
|
|
95
|
+
status?: true;
|
|
96
|
+
totalQuestions?: true;
|
|
97
|
+
answeredQuestions?: true;
|
|
98
|
+
preparedBy?: true;
|
|
99
|
+
approverId?: true;
|
|
100
|
+
approvedAt?: true;
|
|
101
|
+
completedAt?: true;
|
|
102
|
+
createdAt?: true;
|
|
103
|
+
updatedAt?: true;
|
|
104
|
+
};
|
|
105
|
+
export type SOADocumentMaxAggregateInputType = {
|
|
106
|
+
id?: true;
|
|
107
|
+
frameworkId?: true;
|
|
108
|
+
organizationId?: true;
|
|
109
|
+
configurationId?: true;
|
|
110
|
+
version?: true;
|
|
111
|
+
isLatest?: true;
|
|
112
|
+
status?: true;
|
|
113
|
+
totalQuestions?: true;
|
|
114
|
+
answeredQuestions?: true;
|
|
115
|
+
preparedBy?: true;
|
|
116
|
+
approverId?: true;
|
|
117
|
+
approvedAt?: true;
|
|
118
|
+
completedAt?: true;
|
|
119
|
+
createdAt?: true;
|
|
120
|
+
updatedAt?: true;
|
|
121
|
+
};
|
|
122
|
+
export type SOADocumentCountAggregateInputType = {
|
|
123
|
+
id?: true;
|
|
124
|
+
frameworkId?: true;
|
|
125
|
+
organizationId?: true;
|
|
126
|
+
configurationId?: true;
|
|
127
|
+
version?: true;
|
|
128
|
+
isLatest?: true;
|
|
129
|
+
status?: true;
|
|
130
|
+
totalQuestions?: true;
|
|
131
|
+
answeredQuestions?: true;
|
|
132
|
+
preparedBy?: true;
|
|
133
|
+
approverId?: true;
|
|
134
|
+
approvedAt?: true;
|
|
135
|
+
completedAt?: true;
|
|
136
|
+
createdAt?: true;
|
|
137
|
+
updatedAt?: true;
|
|
138
|
+
_all?: true;
|
|
139
|
+
};
|
|
140
|
+
export type SOADocumentAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
141
|
+
/**
|
|
142
|
+
* Filter which SOADocument to aggregate.
|
|
143
|
+
*/
|
|
144
|
+
where?: Prisma.SOADocumentWhereInput;
|
|
145
|
+
/**
|
|
146
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
147
|
+
*
|
|
148
|
+
* Determine the order of SOADocuments to fetch.
|
|
149
|
+
*/
|
|
150
|
+
orderBy?: Prisma.SOADocumentOrderByWithRelationInput | Prisma.SOADocumentOrderByWithRelationInput[];
|
|
151
|
+
/**
|
|
152
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
153
|
+
*
|
|
154
|
+
* Sets the start position
|
|
155
|
+
*/
|
|
156
|
+
cursor?: Prisma.SOADocumentWhereUniqueInput;
|
|
157
|
+
/**
|
|
158
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
159
|
+
*
|
|
160
|
+
* Take `±n` SOADocuments from the position of the cursor.
|
|
161
|
+
*/
|
|
162
|
+
take?: number;
|
|
163
|
+
/**
|
|
164
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
165
|
+
*
|
|
166
|
+
* Skip the first `n` SOADocuments.
|
|
167
|
+
*/
|
|
168
|
+
skip?: number;
|
|
169
|
+
/**
|
|
170
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
171
|
+
*
|
|
172
|
+
* Count returned SOADocuments
|
|
173
|
+
**/
|
|
174
|
+
_count?: true | SOADocumentCountAggregateInputType;
|
|
175
|
+
/**
|
|
176
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
177
|
+
*
|
|
178
|
+
* Select which fields to average
|
|
179
|
+
**/
|
|
180
|
+
_avg?: SOADocumentAvgAggregateInputType;
|
|
181
|
+
/**
|
|
182
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
183
|
+
*
|
|
184
|
+
* Select which fields to sum
|
|
185
|
+
**/
|
|
186
|
+
_sum?: SOADocumentSumAggregateInputType;
|
|
187
|
+
/**
|
|
188
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
189
|
+
*
|
|
190
|
+
* Select which fields to find the minimum value
|
|
191
|
+
**/
|
|
192
|
+
_min?: SOADocumentMinAggregateInputType;
|
|
193
|
+
/**
|
|
194
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
195
|
+
*
|
|
196
|
+
* Select which fields to find the maximum value
|
|
197
|
+
**/
|
|
198
|
+
_max?: SOADocumentMaxAggregateInputType;
|
|
199
|
+
};
|
|
200
|
+
export type GetSOADocumentAggregateType<T extends SOADocumentAggregateArgs> = {
|
|
201
|
+
[P in keyof T & keyof AggregateSOADocument]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateSOADocument[P]> : Prisma.GetScalarType<T[P], AggregateSOADocument[P]>;
|
|
202
|
+
};
|
|
203
|
+
export type SOADocumentGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
204
|
+
where?: Prisma.SOADocumentWhereInput;
|
|
205
|
+
orderBy?: Prisma.SOADocumentOrderByWithAggregationInput | Prisma.SOADocumentOrderByWithAggregationInput[];
|
|
206
|
+
by: Prisma.SOADocumentScalarFieldEnum[] | Prisma.SOADocumentScalarFieldEnum;
|
|
207
|
+
having?: Prisma.SOADocumentScalarWhereWithAggregatesInput;
|
|
208
|
+
take?: number;
|
|
209
|
+
skip?: number;
|
|
210
|
+
_count?: SOADocumentCountAggregateInputType | true;
|
|
211
|
+
_avg?: SOADocumentAvgAggregateInputType;
|
|
212
|
+
_sum?: SOADocumentSumAggregateInputType;
|
|
213
|
+
_min?: SOADocumentMinAggregateInputType;
|
|
214
|
+
_max?: SOADocumentMaxAggregateInputType;
|
|
215
|
+
};
|
|
216
|
+
export type SOADocumentGroupByOutputType = {
|
|
217
|
+
id: string;
|
|
218
|
+
frameworkId: string;
|
|
219
|
+
organizationId: string;
|
|
220
|
+
configurationId: string;
|
|
221
|
+
version: number;
|
|
222
|
+
isLatest: boolean;
|
|
223
|
+
status: $Enums.SOADocumentStatus;
|
|
224
|
+
totalQuestions: number;
|
|
225
|
+
answeredQuestions: number;
|
|
226
|
+
preparedBy: string;
|
|
227
|
+
approverId: string | null;
|
|
228
|
+
approvedAt: Date | null;
|
|
229
|
+
completedAt: Date | null;
|
|
230
|
+
createdAt: Date;
|
|
231
|
+
updatedAt: Date;
|
|
232
|
+
_count: SOADocumentCountAggregateOutputType | null;
|
|
233
|
+
_avg: SOADocumentAvgAggregateOutputType | null;
|
|
234
|
+
_sum: SOADocumentSumAggregateOutputType | null;
|
|
235
|
+
_min: SOADocumentMinAggregateOutputType | null;
|
|
236
|
+
_max: SOADocumentMaxAggregateOutputType | null;
|
|
237
|
+
};
|
|
238
|
+
export type GetSOADocumentGroupByPayload<T extends SOADocumentGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<SOADocumentGroupByOutputType, T['by']> & {
|
|
239
|
+
[P in ((keyof T) & (keyof SOADocumentGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], SOADocumentGroupByOutputType[P]> : Prisma.GetScalarType<T[P], SOADocumentGroupByOutputType[P]>;
|
|
240
|
+
}>>;
|
|
241
|
+
export type SOADocumentWhereInput = {
|
|
242
|
+
AND?: Prisma.SOADocumentWhereInput | Prisma.SOADocumentWhereInput[];
|
|
243
|
+
OR?: Prisma.SOADocumentWhereInput[];
|
|
244
|
+
NOT?: Prisma.SOADocumentWhereInput | Prisma.SOADocumentWhereInput[];
|
|
245
|
+
id?: Prisma.StringFilter<"SOADocument"> | string;
|
|
246
|
+
frameworkId?: Prisma.StringFilter<"SOADocument"> | string;
|
|
247
|
+
organizationId?: Prisma.StringFilter<"SOADocument"> | string;
|
|
248
|
+
configurationId?: Prisma.StringFilter<"SOADocument"> | string;
|
|
249
|
+
version?: Prisma.IntFilter<"SOADocument"> | number;
|
|
250
|
+
isLatest?: Prisma.BoolFilter<"SOADocument"> | boolean;
|
|
251
|
+
status?: Prisma.EnumSOADocumentStatusFilter<"SOADocument"> | $Enums.SOADocumentStatus;
|
|
252
|
+
totalQuestions?: Prisma.IntFilter<"SOADocument"> | number;
|
|
253
|
+
answeredQuestions?: Prisma.IntFilter<"SOADocument"> | number;
|
|
254
|
+
preparedBy?: Prisma.StringFilter<"SOADocument"> | string;
|
|
255
|
+
approverId?: Prisma.StringNullableFilter<"SOADocument"> | string | null;
|
|
256
|
+
approvedAt?: Prisma.DateTimeNullableFilter<"SOADocument"> | Date | string | null;
|
|
257
|
+
completedAt?: Prisma.DateTimeNullableFilter<"SOADocument"> | Date | string | null;
|
|
258
|
+
createdAt?: Prisma.DateTimeFilter<"SOADocument"> | Date | string;
|
|
259
|
+
updatedAt?: Prisma.DateTimeFilter<"SOADocument"> | Date | string;
|
|
260
|
+
framework?: Prisma.XOR<Prisma.FrameworkEditorFrameworkScalarRelationFilter, Prisma.FrameworkEditorFrameworkWhereInput>;
|
|
261
|
+
organization?: Prisma.XOR<Prisma.OrganizationScalarRelationFilter, Prisma.OrganizationWhereInput>;
|
|
262
|
+
configuration?: Prisma.XOR<Prisma.SOAFrameworkConfigurationScalarRelationFilter, Prisma.SOAFrameworkConfigurationWhereInput>;
|
|
263
|
+
approver?: Prisma.XOR<Prisma.MemberNullableScalarRelationFilter, Prisma.MemberWhereInput> | null;
|
|
264
|
+
answers?: Prisma.SOAAnswerListRelationFilter;
|
|
265
|
+
};
|
|
266
|
+
export type SOADocumentOrderByWithRelationInput = {
|
|
267
|
+
id?: Prisma.SortOrder;
|
|
268
|
+
frameworkId?: Prisma.SortOrder;
|
|
269
|
+
organizationId?: Prisma.SortOrder;
|
|
270
|
+
configurationId?: Prisma.SortOrder;
|
|
271
|
+
version?: Prisma.SortOrder;
|
|
272
|
+
isLatest?: Prisma.SortOrder;
|
|
273
|
+
status?: Prisma.SortOrder;
|
|
274
|
+
totalQuestions?: Prisma.SortOrder;
|
|
275
|
+
answeredQuestions?: Prisma.SortOrder;
|
|
276
|
+
preparedBy?: Prisma.SortOrder;
|
|
277
|
+
approverId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
278
|
+
approvedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
279
|
+
completedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
280
|
+
createdAt?: Prisma.SortOrder;
|
|
281
|
+
updatedAt?: Prisma.SortOrder;
|
|
282
|
+
framework?: Prisma.FrameworkEditorFrameworkOrderByWithRelationInput;
|
|
283
|
+
organization?: Prisma.OrganizationOrderByWithRelationInput;
|
|
284
|
+
configuration?: Prisma.SOAFrameworkConfigurationOrderByWithRelationInput;
|
|
285
|
+
approver?: Prisma.MemberOrderByWithRelationInput;
|
|
286
|
+
answers?: Prisma.SOAAnswerOrderByRelationAggregateInput;
|
|
287
|
+
};
|
|
288
|
+
export type SOADocumentWhereUniqueInput = Prisma.AtLeast<{
|
|
289
|
+
id?: string;
|
|
290
|
+
frameworkId_organizationId_version?: Prisma.SOADocumentFrameworkIdOrganizationIdVersionCompoundUniqueInput;
|
|
291
|
+
AND?: Prisma.SOADocumentWhereInput | Prisma.SOADocumentWhereInput[];
|
|
292
|
+
OR?: Prisma.SOADocumentWhereInput[];
|
|
293
|
+
NOT?: Prisma.SOADocumentWhereInput | Prisma.SOADocumentWhereInput[];
|
|
294
|
+
frameworkId?: Prisma.StringFilter<"SOADocument"> | string;
|
|
295
|
+
organizationId?: Prisma.StringFilter<"SOADocument"> | string;
|
|
296
|
+
configurationId?: Prisma.StringFilter<"SOADocument"> | string;
|
|
297
|
+
version?: Prisma.IntFilter<"SOADocument"> | number;
|
|
298
|
+
isLatest?: Prisma.BoolFilter<"SOADocument"> | boolean;
|
|
299
|
+
status?: Prisma.EnumSOADocumentStatusFilter<"SOADocument"> | $Enums.SOADocumentStatus;
|
|
300
|
+
totalQuestions?: Prisma.IntFilter<"SOADocument"> | number;
|
|
301
|
+
answeredQuestions?: Prisma.IntFilter<"SOADocument"> | number;
|
|
302
|
+
preparedBy?: Prisma.StringFilter<"SOADocument"> | string;
|
|
303
|
+
approverId?: Prisma.StringNullableFilter<"SOADocument"> | string | null;
|
|
304
|
+
approvedAt?: Prisma.DateTimeNullableFilter<"SOADocument"> | Date | string | null;
|
|
305
|
+
completedAt?: Prisma.DateTimeNullableFilter<"SOADocument"> | Date | string | null;
|
|
306
|
+
createdAt?: Prisma.DateTimeFilter<"SOADocument"> | Date | string;
|
|
307
|
+
updatedAt?: Prisma.DateTimeFilter<"SOADocument"> | Date | string;
|
|
308
|
+
framework?: Prisma.XOR<Prisma.FrameworkEditorFrameworkScalarRelationFilter, Prisma.FrameworkEditorFrameworkWhereInput>;
|
|
309
|
+
organization?: Prisma.XOR<Prisma.OrganizationScalarRelationFilter, Prisma.OrganizationWhereInput>;
|
|
310
|
+
configuration?: Prisma.XOR<Prisma.SOAFrameworkConfigurationScalarRelationFilter, Prisma.SOAFrameworkConfigurationWhereInput>;
|
|
311
|
+
approver?: Prisma.XOR<Prisma.MemberNullableScalarRelationFilter, Prisma.MemberWhereInput> | null;
|
|
312
|
+
answers?: Prisma.SOAAnswerListRelationFilter;
|
|
313
|
+
}, "id" | "frameworkId_organizationId_version">;
|
|
314
|
+
export type SOADocumentOrderByWithAggregationInput = {
|
|
315
|
+
id?: Prisma.SortOrder;
|
|
316
|
+
frameworkId?: Prisma.SortOrder;
|
|
317
|
+
organizationId?: Prisma.SortOrder;
|
|
318
|
+
configurationId?: Prisma.SortOrder;
|
|
319
|
+
version?: Prisma.SortOrder;
|
|
320
|
+
isLatest?: Prisma.SortOrder;
|
|
321
|
+
status?: Prisma.SortOrder;
|
|
322
|
+
totalQuestions?: Prisma.SortOrder;
|
|
323
|
+
answeredQuestions?: Prisma.SortOrder;
|
|
324
|
+
preparedBy?: Prisma.SortOrder;
|
|
325
|
+
approverId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
326
|
+
approvedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
327
|
+
completedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
328
|
+
createdAt?: Prisma.SortOrder;
|
|
329
|
+
updatedAt?: Prisma.SortOrder;
|
|
330
|
+
_count?: Prisma.SOADocumentCountOrderByAggregateInput;
|
|
331
|
+
_avg?: Prisma.SOADocumentAvgOrderByAggregateInput;
|
|
332
|
+
_max?: Prisma.SOADocumentMaxOrderByAggregateInput;
|
|
333
|
+
_min?: Prisma.SOADocumentMinOrderByAggregateInput;
|
|
334
|
+
_sum?: Prisma.SOADocumentSumOrderByAggregateInput;
|
|
335
|
+
};
|
|
336
|
+
export type SOADocumentScalarWhereWithAggregatesInput = {
|
|
337
|
+
AND?: Prisma.SOADocumentScalarWhereWithAggregatesInput | Prisma.SOADocumentScalarWhereWithAggregatesInput[];
|
|
338
|
+
OR?: Prisma.SOADocumentScalarWhereWithAggregatesInput[];
|
|
339
|
+
NOT?: Prisma.SOADocumentScalarWhereWithAggregatesInput | Prisma.SOADocumentScalarWhereWithAggregatesInput[];
|
|
340
|
+
id?: Prisma.StringWithAggregatesFilter<"SOADocument"> | string;
|
|
341
|
+
frameworkId?: Prisma.StringWithAggregatesFilter<"SOADocument"> | string;
|
|
342
|
+
organizationId?: Prisma.StringWithAggregatesFilter<"SOADocument"> | string;
|
|
343
|
+
configurationId?: Prisma.StringWithAggregatesFilter<"SOADocument"> | string;
|
|
344
|
+
version?: Prisma.IntWithAggregatesFilter<"SOADocument"> | number;
|
|
345
|
+
isLatest?: Prisma.BoolWithAggregatesFilter<"SOADocument"> | boolean;
|
|
346
|
+
status?: Prisma.EnumSOADocumentStatusWithAggregatesFilter<"SOADocument"> | $Enums.SOADocumentStatus;
|
|
347
|
+
totalQuestions?: Prisma.IntWithAggregatesFilter<"SOADocument"> | number;
|
|
348
|
+
answeredQuestions?: Prisma.IntWithAggregatesFilter<"SOADocument"> | number;
|
|
349
|
+
preparedBy?: Prisma.StringWithAggregatesFilter<"SOADocument"> | string;
|
|
350
|
+
approverId?: Prisma.StringNullableWithAggregatesFilter<"SOADocument"> | string | null;
|
|
351
|
+
approvedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"SOADocument"> | Date | string | null;
|
|
352
|
+
completedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"SOADocument"> | Date | string | null;
|
|
353
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"SOADocument"> | Date | string;
|
|
354
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"SOADocument"> | Date | string;
|
|
355
|
+
};
|
|
356
|
+
export type SOADocumentCreateInput = {
|
|
357
|
+
id?: string;
|
|
358
|
+
version?: number;
|
|
359
|
+
isLatest?: boolean;
|
|
360
|
+
status?: $Enums.SOADocumentStatus;
|
|
361
|
+
totalQuestions?: number;
|
|
362
|
+
answeredQuestions?: number;
|
|
363
|
+
preparedBy?: string;
|
|
364
|
+
approvedAt?: Date | string | null;
|
|
365
|
+
completedAt?: Date | string | null;
|
|
366
|
+
createdAt?: Date | string;
|
|
367
|
+
updatedAt?: Date | string;
|
|
368
|
+
framework: Prisma.FrameworkEditorFrameworkCreateNestedOneWithoutSoaDocumentsInput;
|
|
369
|
+
organization: Prisma.OrganizationCreateNestedOneWithoutSoaDocumentsInput;
|
|
370
|
+
configuration: Prisma.SOAFrameworkConfigurationCreateNestedOneWithoutDocumentsInput;
|
|
371
|
+
approver?: Prisma.MemberCreateNestedOneWithoutApprovedSOADocumentsInput;
|
|
372
|
+
answers?: Prisma.SOAAnswerCreateNestedManyWithoutDocumentInput;
|
|
373
|
+
};
|
|
374
|
+
export type SOADocumentUncheckedCreateInput = {
|
|
375
|
+
id?: string;
|
|
376
|
+
frameworkId: string;
|
|
377
|
+
organizationId: string;
|
|
378
|
+
configurationId: string;
|
|
379
|
+
version?: number;
|
|
380
|
+
isLatest?: boolean;
|
|
381
|
+
status?: $Enums.SOADocumentStatus;
|
|
382
|
+
totalQuestions?: number;
|
|
383
|
+
answeredQuestions?: number;
|
|
384
|
+
preparedBy?: string;
|
|
385
|
+
approverId?: string | null;
|
|
386
|
+
approvedAt?: Date | string | null;
|
|
387
|
+
completedAt?: Date | string | null;
|
|
388
|
+
createdAt?: Date | string;
|
|
389
|
+
updatedAt?: Date | string;
|
|
390
|
+
answers?: Prisma.SOAAnswerUncheckedCreateNestedManyWithoutDocumentInput;
|
|
391
|
+
};
|
|
392
|
+
export type SOADocumentUpdateInput = {
|
|
393
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
394
|
+
version?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
395
|
+
isLatest?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
396
|
+
status?: Prisma.EnumSOADocumentStatusFieldUpdateOperationsInput | $Enums.SOADocumentStatus;
|
|
397
|
+
totalQuestions?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
398
|
+
answeredQuestions?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
399
|
+
preparedBy?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
400
|
+
approvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
401
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
402
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
403
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
404
|
+
framework?: Prisma.FrameworkEditorFrameworkUpdateOneRequiredWithoutSoaDocumentsNestedInput;
|
|
405
|
+
organization?: Prisma.OrganizationUpdateOneRequiredWithoutSoaDocumentsNestedInput;
|
|
406
|
+
configuration?: Prisma.SOAFrameworkConfigurationUpdateOneRequiredWithoutDocumentsNestedInput;
|
|
407
|
+
approver?: Prisma.MemberUpdateOneWithoutApprovedSOADocumentsNestedInput;
|
|
408
|
+
answers?: Prisma.SOAAnswerUpdateManyWithoutDocumentNestedInput;
|
|
409
|
+
};
|
|
410
|
+
export type SOADocumentUncheckedUpdateInput = {
|
|
411
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
412
|
+
frameworkId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
413
|
+
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
414
|
+
configurationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
415
|
+
version?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
416
|
+
isLatest?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
417
|
+
status?: Prisma.EnumSOADocumentStatusFieldUpdateOperationsInput | $Enums.SOADocumentStatus;
|
|
418
|
+
totalQuestions?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
419
|
+
answeredQuestions?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
420
|
+
preparedBy?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
421
|
+
approverId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
422
|
+
approvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
423
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
424
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
425
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
426
|
+
answers?: Prisma.SOAAnswerUncheckedUpdateManyWithoutDocumentNestedInput;
|
|
427
|
+
};
|
|
428
|
+
export type SOADocumentCreateManyInput = {
|
|
429
|
+
id?: string;
|
|
430
|
+
frameworkId: string;
|
|
431
|
+
organizationId: string;
|
|
432
|
+
configurationId: string;
|
|
433
|
+
version?: number;
|
|
434
|
+
isLatest?: boolean;
|
|
435
|
+
status?: $Enums.SOADocumentStatus;
|
|
436
|
+
totalQuestions?: number;
|
|
437
|
+
answeredQuestions?: number;
|
|
438
|
+
preparedBy?: string;
|
|
439
|
+
approverId?: string | null;
|
|
440
|
+
approvedAt?: Date | string | null;
|
|
441
|
+
completedAt?: Date | string | null;
|
|
442
|
+
createdAt?: Date | string;
|
|
443
|
+
updatedAt?: Date | string;
|
|
444
|
+
};
|
|
445
|
+
export type SOADocumentUpdateManyMutationInput = {
|
|
446
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
447
|
+
version?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
448
|
+
isLatest?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
449
|
+
status?: Prisma.EnumSOADocumentStatusFieldUpdateOperationsInput | $Enums.SOADocumentStatus;
|
|
450
|
+
totalQuestions?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
451
|
+
answeredQuestions?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
452
|
+
preparedBy?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
453
|
+
approvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
454
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
455
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
456
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
457
|
+
};
|
|
458
|
+
export type SOADocumentUncheckedUpdateManyInput = {
|
|
459
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
460
|
+
frameworkId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
461
|
+
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
462
|
+
configurationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
463
|
+
version?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
464
|
+
isLatest?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
465
|
+
status?: Prisma.EnumSOADocumentStatusFieldUpdateOperationsInput | $Enums.SOADocumentStatus;
|
|
466
|
+
totalQuestions?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
467
|
+
answeredQuestions?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
468
|
+
preparedBy?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
469
|
+
approverId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
470
|
+
approvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
471
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
472
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
473
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
474
|
+
};
|
|
475
|
+
export type SOADocumentListRelationFilter = {
|
|
476
|
+
every?: Prisma.SOADocumentWhereInput;
|
|
477
|
+
some?: Prisma.SOADocumentWhereInput;
|
|
478
|
+
none?: Prisma.SOADocumentWhereInput;
|
|
479
|
+
};
|
|
480
|
+
export type SOADocumentOrderByRelationAggregateInput = {
|
|
481
|
+
_count?: Prisma.SortOrder;
|
|
482
|
+
};
|
|
483
|
+
export type SOADocumentFrameworkIdOrganizationIdVersionCompoundUniqueInput = {
|
|
484
|
+
frameworkId: string;
|
|
485
|
+
organizationId: string;
|
|
486
|
+
version: number;
|
|
487
|
+
};
|
|
488
|
+
export type SOADocumentCountOrderByAggregateInput = {
|
|
489
|
+
id?: Prisma.SortOrder;
|
|
490
|
+
frameworkId?: Prisma.SortOrder;
|
|
491
|
+
organizationId?: Prisma.SortOrder;
|
|
492
|
+
configurationId?: Prisma.SortOrder;
|
|
493
|
+
version?: Prisma.SortOrder;
|
|
494
|
+
isLatest?: Prisma.SortOrder;
|
|
495
|
+
status?: Prisma.SortOrder;
|
|
496
|
+
totalQuestions?: Prisma.SortOrder;
|
|
497
|
+
answeredQuestions?: Prisma.SortOrder;
|
|
498
|
+
preparedBy?: Prisma.SortOrder;
|
|
499
|
+
approverId?: Prisma.SortOrder;
|
|
500
|
+
approvedAt?: Prisma.SortOrder;
|
|
501
|
+
completedAt?: Prisma.SortOrder;
|
|
502
|
+
createdAt?: Prisma.SortOrder;
|
|
503
|
+
updatedAt?: Prisma.SortOrder;
|
|
504
|
+
};
|
|
505
|
+
export type SOADocumentAvgOrderByAggregateInput = {
|
|
506
|
+
version?: Prisma.SortOrder;
|
|
507
|
+
totalQuestions?: Prisma.SortOrder;
|
|
508
|
+
answeredQuestions?: Prisma.SortOrder;
|
|
509
|
+
};
|
|
510
|
+
export type SOADocumentMaxOrderByAggregateInput = {
|
|
511
|
+
id?: Prisma.SortOrder;
|
|
512
|
+
frameworkId?: Prisma.SortOrder;
|
|
513
|
+
organizationId?: Prisma.SortOrder;
|
|
514
|
+
configurationId?: Prisma.SortOrder;
|
|
515
|
+
version?: Prisma.SortOrder;
|
|
516
|
+
isLatest?: Prisma.SortOrder;
|
|
517
|
+
status?: Prisma.SortOrder;
|
|
518
|
+
totalQuestions?: Prisma.SortOrder;
|
|
519
|
+
answeredQuestions?: Prisma.SortOrder;
|
|
520
|
+
preparedBy?: Prisma.SortOrder;
|
|
521
|
+
approverId?: Prisma.SortOrder;
|
|
522
|
+
approvedAt?: Prisma.SortOrder;
|
|
523
|
+
completedAt?: Prisma.SortOrder;
|
|
524
|
+
createdAt?: Prisma.SortOrder;
|
|
525
|
+
updatedAt?: Prisma.SortOrder;
|
|
526
|
+
};
|
|
527
|
+
export type SOADocumentMinOrderByAggregateInput = {
|
|
528
|
+
id?: Prisma.SortOrder;
|
|
529
|
+
frameworkId?: Prisma.SortOrder;
|
|
530
|
+
organizationId?: Prisma.SortOrder;
|
|
531
|
+
configurationId?: Prisma.SortOrder;
|
|
532
|
+
version?: Prisma.SortOrder;
|
|
533
|
+
isLatest?: Prisma.SortOrder;
|
|
534
|
+
status?: Prisma.SortOrder;
|
|
535
|
+
totalQuestions?: Prisma.SortOrder;
|
|
536
|
+
answeredQuestions?: Prisma.SortOrder;
|
|
537
|
+
preparedBy?: Prisma.SortOrder;
|
|
538
|
+
approverId?: Prisma.SortOrder;
|
|
539
|
+
approvedAt?: Prisma.SortOrder;
|
|
540
|
+
completedAt?: Prisma.SortOrder;
|
|
541
|
+
createdAt?: Prisma.SortOrder;
|
|
542
|
+
updatedAt?: Prisma.SortOrder;
|
|
543
|
+
};
|
|
544
|
+
export type SOADocumentSumOrderByAggregateInput = {
|
|
545
|
+
version?: Prisma.SortOrder;
|
|
546
|
+
totalQuestions?: Prisma.SortOrder;
|
|
547
|
+
answeredQuestions?: Prisma.SortOrder;
|
|
548
|
+
};
|
|
549
|
+
export type SOADocumentScalarRelationFilter = {
|
|
550
|
+
is?: Prisma.SOADocumentWhereInput;
|
|
551
|
+
isNot?: Prisma.SOADocumentWhereInput;
|
|
552
|
+
};
|
|
553
|
+
export type SOADocumentCreateNestedManyWithoutApproverInput = {
|
|
554
|
+
create?: Prisma.XOR<Prisma.SOADocumentCreateWithoutApproverInput, Prisma.SOADocumentUncheckedCreateWithoutApproverInput> | Prisma.SOADocumentCreateWithoutApproverInput[] | Prisma.SOADocumentUncheckedCreateWithoutApproverInput[];
|
|
555
|
+
connectOrCreate?: Prisma.SOADocumentCreateOrConnectWithoutApproverInput | Prisma.SOADocumentCreateOrConnectWithoutApproverInput[];
|
|
556
|
+
createMany?: Prisma.SOADocumentCreateManyApproverInputEnvelope;
|
|
557
|
+
connect?: Prisma.SOADocumentWhereUniqueInput | Prisma.SOADocumentWhereUniqueInput[];
|
|
558
|
+
};
|
|
559
|
+
export type SOADocumentUncheckedCreateNestedManyWithoutApproverInput = {
|
|
560
|
+
create?: Prisma.XOR<Prisma.SOADocumentCreateWithoutApproverInput, Prisma.SOADocumentUncheckedCreateWithoutApproverInput> | Prisma.SOADocumentCreateWithoutApproverInput[] | Prisma.SOADocumentUncheckedCreateWithoutApproverInput[];
|
|
561
|
+
connectOrCreate?: Prisma.SOADocumentCreateOrConnectWithoutApproverInput | Prisma.SOADocumentCreateOrConnectWithoutApproverInput[];
|
|
562
|
+
createMany?: Prisma.SOADocumentCreateManyApproverInputEnvelope;
|
|
563
|
+
connect?: Prisma.SOADocumentWhereUniqueInput | Prisma.SOADocumentWhereUniqueInput[];
|
|
564
|
+
};
|
|
565
|
+
export type SOADocumentUpdateManyWithoutApproverNestedInput = {
|
|
566
|
+
create?: Prisma.XOR<Prisma.SOADocumentCreateWithoutApproverInput, Prisma.SOADocumentUncheckedCreateWithoutApproverInput> | Prisma.SOADocumentCreateWithoutApproverInput[] | Prisma.SOADocumentUncheckedCreateWithoutApproverInput[];
|
|
567
|
+
connectOrCreate?: Prisma.SOADocumentCreateOrConnectWithoutApproverInput | Prisma.SOADocumentCreateOrConnectWithoutApproverInput[];
|
|
568
|
+
upsert?: Prisma.SOADocumentUpsertWithWhereUniqueWithoutApproverInput | Prisma.SOADocumentUpsertWithWhereUniqueWithoutApproverInput[];
|
|
569
|
+
createMany?: Prisma.SOADocumentCreateManyApproverInputEnvelope;
|
|
570
|
+
set?: Prisma.SOADocumentWhereUniqueInput | Prisma.SOADocumentWhereUniqueInput[];
|
|
571
|
+
disconnect?: Prisma.SOADocumentWhereUniqueInput | Prisma.SOADocumentWhereUniqueInput[];
|
|
572
|
+
delete?: Prisma.SOADocumentWhereUniqueInput | Prisma.SOADocumentWhereUniqueInput[];
|
|
573
|
+
connect?: Prisma.SOADocumentWhereUniqueInput | Prisma.SOADocumentWhereUniqueInput[];
|
|
574
|
+
update?: Prisma.SOADocumentUpdateWithWhereUniqueWithoutApproverInput | Prisma.SOADocumentUpdateWithWhereUniqueWithoutApproverInput[];
|
|
575
|
+
updateMany?: Prisma.SOADocumentUpdateManyWithWhereWithoutApproverInput | Prisma.SOADocumentUpdateManyWithWhereWithoutApproverInput[];
|
|
576
|
+
deleteMany?: Prisma.SOADocumentScalarWhereInput | Prisma.SOADocumentScalarWhereInput[];
|
|
577
|
+
};
|
|
578
|
+
export type SOADocumentUncheckedUpdateManyWithoutApproverNestedInput = {
|
|
579
|
+
create?: Prisma.XOR<Prisma.SOADocumentCreateWithoutApproverInput, Prisma.SOADocumentUncheckedCreateWithoutApproverInput> | Prisma.SOADocumentCreateWithoutApproverInput[] | Prisma.SOADocumentUncheckedCreateWithoutApproverInput[];
|
|
580
|
+
connectOrCreate?: Prisma.SOADocumentCreateOrConnectWithoutApproverInput | Prisma.SOADocumentCreateOrConnectWithoutApproverInput[];
|
|
581
|
+
upsert?: Prisma.SOADocumentUpsertWithWhereUniqueWithoutApproverInput | Prisma.SOADocumentUpsertWithWhereUniqueWithoutApproverInput[];
|
|
582
|
+
createMany?: Prisma.SOADocumentCreateManyApproverInputEnvelope;
|
|
583
|
+
set?: Prisma.SOADocumentWhereUniqueInput | Prisma.SOADocumentWhereUniqueInput[];
|
|
584
|
+
disconnect?: Prisma.SOADocumentWhereUniqueInput | Prisma.SOADocumentWhereUniqueInput[];
|
|
585
|
+
delete?: Prisma.SOADocumentWhereUniqueInput | Prisma.SOADocumentWhereUniqueInput[];
|
|
586
|
+
connect?: Prisma.SOADocumentWhereUniqueInput | Prisma.SOADocumentWhereUniqueInput[];
|
|
587
|
+
update?: Prisma.SOADocumentUpdateWithWhereUniqueWithoutApproverInput | Prisma.SOADocumentUpdateWithWhereUniqueWithoutApproverInput[];
|
|
588
|
+
updateMany?: Prisma.SOADocumentUpdateManyWithWhereWithoutApproverInput | Prisma.SOADocumentUpdateManyWithWhereWithoutApproverInput[];
|
|
589
|
+
deleteMany?: Prisma.SOADocumentScalarWhereInput | Prisma.SOADocumentScalarWhereInput[];
|
|
590
|
+
};
|
|
591
|
+
export type SOADocumentCreateNestedManyWithoutFrameworkInput = {
|
|
592
|
+
create?: Prisma.XOR<Prisma.SOADocumentCreateWithoutFrameworkInput, Prisma.SOADocumentUncheckedCreateWithoutFrameworkInput> | Prisma.SOADocumentCreateWithoutFrameworkInput[] | Prisma.SOADocumentUncheckedCreateWithoutFrameworkInput[];
|
|
593
|
+
connectOrCreate?: Prisma.SOADocumentCreateOrConnectWithoutFrameworkInput | Prisma.SOADocumentCreateOrConnectWithoutFrameworkInput[];
|
|
594
|
+
createMany?: Prisma.SOADocumentCreateManyFrameworkInputEnvelope;
|
|
595
|
+
connect?: Prisma.SOADocumentWhereUniqueInput | Prisma.SOADocumentWhereUniqueInput[];
|
|
596
|
+
};
|
|
597
|
+
export type SOADocumentUncheckedCreateNestedManyWithoutFrameworkInput = {
|
|
598
|
+
create?: Prisma.XOR<Prisma.SOADocumentCreateWithoutFrameworkInput, Prisma.SOADocumentUncheckedCreateWithoutFrameworkInput> | Prisma.SOADocumentCreateWithoutFrameworkInput[] | Prisma.SOADocumentUncheckedCreateWithoutFrameworkInput[];
|
|
599
|
+
connectOrCreate?: Prisma.SOADocumentCreateOrConnectWithoutFrameworkInput | Prisma.SOADocumentCreateOrConnectWithoutFrameworkInput[];
|
|
600
|
+
createMany?: Prisma.SOADocumentCreateManyFrameworkInputEnvelope;
|
|
601
|
+
connect?: Prisma.SOADocumentWhereUniqueInput | Prisma.SOADocumentWhereUniqueInput[];
|
|
602
|
+
};
|
|
603
|
+
export type SOADocumentUpdateManyWithoutFrameworkNestedInput = {
|
|
604
|
+
create?: Prisma.XOR<Prisma.SOADocumentCreateWithoutFrameworkInput, Prisma.SOADocumentUncheckedCreateWithoutFrameworkInput> | Prisma.SOADocumentCreateWithoutFrameworkInput[] | Prisma.SOADocumentUncheckedCreateWithoutFrameworkInput[];
|
|
605
|
+
connectOrCreate?: Prisma.SOADocumentCreateOrConnectWithoutFrameworkInput | Prisma.SOADocumentCreateOrConnectWithoutFrameworkInput[];
|
|
606
|
+
upsert?: Prisma.SOADocumentUpsertWithWhereUniqueWithoutFrameworkInput | Prisma.SOADocumentUpsertWithWhereUniqueWithoutFrameworkInput[];
|
|
607
|
+
createMany?: Prisma.SOADocumentCreateManyFrameworkInputEnvelope;
|
|
608
|
+
set?: Prisma.SOADocumentWhereUniqueInput | Prisma.SOADocumentWhereUniqueInput[];
|
|
609
|
+
disconnect?: Prisma.SOADocumentWhereUniqueInput | Prisma.SOADocumentWhereUniqueInput[];
|
|
610
|
+
delete?: Prisma.SOADocumentWhereUniqueInput | Prisma.SOADocumentWhereUniqueInput[];
|
|
611
|
+
connect?: Prisma.SOADocumentWhereUniqueInput | Prisma.SOADocumentWhereUniqueInput[];
|
|
612
|
+
update?: Prisma.SOADocumentUpdateWithWhereUniqueWithoutFrameworkInput | Prisma.SOADocumentUpdateWithWhereUniqueWithoutFrameworkInput[];
|
|
613
|
+
updateMany?: Prisma.SOADocumentUpdateManyWithWhereWithoutFrameworkInput | Prisma.SOADocumentUpdateManyWithWhereWithoutFrameworkInput[];
|
|
614
|
+
deleteMany?: Prisma.SOADocumentScalarWhereInput | Prisma.SOADocumentScalarWhereInput[];
|
|
615
|
+
};
|
|
616
|
+
export type SOADocumentUncheckedUpdateManyWithoutFrameworkNestedInput = {
|
|
617
|
+
create?: Prisma.XOR<Prisma.SOADocumentCreateWithoutFrameworkInput, Prisma.SOADocumentUncheckedCreateWithoutFrameworkInput> | Prisma.SOADocumentCreateWithoutFrameworkInput[] | Prisma.SOADocumentUncheckedCreateWithoutFrameworkInput[];
|
|
618
|
+
connectOrCreate?: Prisma.SOADocumentCreateOrConnectWithoutFrameworkInput | Prisma.SOADocumentCreateOrConnectWithoutFrameworkInput[];
|
|
619
|
+
upsert?: Prisma.SOADocumentUpsertWithWhereUniqueWithoutFrameworkInput | Prisma.SOADocumentUpsertWithWhereUniqueWithoutFrameworkInput[];
|
|
620
|
+
createMany?: Prisma.SOADocumentCreateManyFrameworkInputEnvelope;
|
|
621
|
+
set?: Prisma.SOADocumentWhereUniqueInput | Prisma.SOADocumentWhereUniqueInput[];
|
|
622
|
+
disconnect?: Prisma.SOADocumentWhereUniqueInput | Prisma.SOADocumentWhereUniqueInput[];
|
|
623
|
+
delete?: Prisma.SOADocumentWhereUniqueInput | Prisma.SOADocumentWhereUniqueInput[];
|
|
624
|
+
connect?: Prisma.SOADocumentWhereUniqueInput | Prisma.SOADocumentWhereUniqueInput[];
|
|
625
|
+
update?: Prisma.SOADocumentUpdateWithWhereUniqueWithoutFrameworkInput | Prisma.SOADocumentUpdateWithWhereUniqueWithoutFrameworkInput[];
|
|
626
|
+
updateMany?: Prisma.SOADocumentUpdateManyWithWhereWithoutFrameworkInput | Prisma.SOADocumentUpdateManyWithWhereWithoutFrameworkInput[];
|
|
627
|
+
deleteMany?: Prisma.SOADocumentScalarWhereInput | Prisma.SOADocumentScalarWhereInput[];
|
|
628
|
+
};
|
|
629
|
+
export type SOADocumentCreateNestedManyWithoutOrganizationInput = {
|
|
630
|
+
create?: Prisma.XOR<Prisma.SOADocumentCreateWithoutOrganizationInput, Prisma.SOADocumentUncheckedCreateWithoutOrganizationInput> | Prisma.SOADocumentCreateWithoutOrganizationInput[] | Prisma.SOADocumentUncheckedCreateWithoutOrganizationInput[];
|
|
631
|
+
connectOrCreate?: Prisma.SOADocumentCreateOrConnectWithoutOrganizationInput | Prisma.SOADocumentCreateOrConnectWithoutOrganizationInput[];
|
|
632
|
+
createMany?: Prisma.SOADocumentCreateManyOrganizationInputEnvelope;
|
|
633
|
+
connect?: Prisma.SOADocumentWhereUniqueInput | Prisma.SOADocumentWhereUniqueInput[];
|
|
634
|
+
};
|
|
635
|
+
export type SOADocumentUncheckedCreateNestedManyWithoutOrganizationInput = {
|
|
636
|
+
create?: Prisma.XOR<Prisma.SOADocumentCreateWithoutOrganizationInput, Prisma.SOADocumentUncheckedCreateWithoutOrganizationInput> | Prisma.SOADocumentCreateWithoutOrganizationInput[] | Prisma.SOADocumentUncheckedCreateWithoutOrganizationInput[];
|
|
637
|
+
connectOrCreate?: Prisma.SOADocumentCreateOrConnectWithoutOrganizationInput | Prisma.SOADocumentCreateOrConnectWithoutOrganizationInput[];
|
|
638
|
+
createMany?: Prisma.SOADocumentCreateManyOrganizationInputEnvelope;
|
|
639
|
+
connect?: Prisma.SOADocumentWhereUniqueInput | Prisma.SOADocumentWhereUniqueInput[];
|
|
640
|
+
};
|
|
641
|
+
export type SOADocumentUpdateManyWithoutOrganizationNestedInput = {
|
|
642
|
+
create?: Prisma.XOR<Prisma.SOADocumentCreateWithoutOrganizationInput, Prisma.SOADocumentUncheckedCreateWithoutOrganizationInput> | Prisma.SOADocumentCreateWithoutOrganizationInput[] | Prisma.SOADocumentUncheckedCreateWithoutOrganizationInput[];
|
|
643
|
+
connectOrCreate?: Prisma.SOADocumentCreateOrConnectWithoutOrganizationInput | Prisma.SOADocumentCreateOrConnectWithoutOrganizationInput[];
|
|
644
|
+
upsert?: Prisma.SOADocumentUpsertWithWhereUniqueWithoutOrganizationInput | Prisma.SOADocumentUpsertWithWhereUniqueWithoutOrganizationInput[];
|
|
645
|
+
createMany?: Prisma.SOADocumentCreateManyOrganizationInputEnvelope;
|
|
646
|
+
set?: Prisma.SOADocumentWhereUniqueInput | Prisma.SOADocumentWhereUniqueInput[];
|
|
647
|
+
disconnect?: Prisma.SOADocumentWhereUniqueInput | Prisma.SOADocumentWhereUniqueInput[];
|
|
648
|
+
delete?: Prisma.SOADocumentWhereUniqueInput | Prisma.SOADocumentWhereUniqueInput[];
|
|
649
|
+
connect?: Prisma.SOADocumentWhereUniqueInput | Prisma.SOADocumentWhereUniqueInput[];
|
|
650
|
+
update?: Prisma.SOADocumentUpdateWithWhereUniqueWithoutOrganizationInput | Prisma.SOADocumentUpdateWithWhereUniqueWithoutOrganizationInput[];
|
|
651
|
+
updateMany?: Prisma.SOADocumentUpdateManyWithWhereWithoutOrganizationInput | Prisma.SOADocumentUpdateManyWithWhereWithoutOrganizationInput[];
|
|
652
|
+
deleteMany?: Prisma.SOADocumentScalarWhereInput | Prisma.SOADocumentScalarWhereInput[];
|
|
653
|
+
};
|
|
654
|
+
export type SOADocumentUncheckedUpdateManyWithoutOrganizationNestedInput = {
|
|
655
|
+
create?: Prisma.XOR<Prisma.SOADocumentCreateWithoutOrganizationInput, Prisma.SOADocumentUncheckedCreateWithoutOrganizationInput> | Prisma.SOADocumentCreateWithoutOrganizationInput[] | Prisma.SOADocumentUncheckedCreateWithoutOrganizationInput[];
|
|
656
|
+
connectOrCreate?: Prisma.SOADocumentCreateOrConnectWithoutOrganizationInput | Prisma.SOADocumentCreateOrConnectWithoutOrganizationInput[];
|
|
657
|
+
upsert?: Prisma.SOADocumentUpsertWithWhereUniqueWithoutOrganizationInput | Prisma.SOADocumentUpsertWithWhereUniqueWithoutOrganizationInput[];
|
|
658
|
+
createMany?: Prisma.SOADocumentCreateManyOrganizationInputEnvelope;
|
|
659
|
+
set?: Prisma.SOADocumentWhereUniqueInput | Prisma.SOADocumentWhereUniqueInput[];
|
|
660
|
+
disconnect?: Prisma.SOADocumentWhereUniqueInput | Prisma.SOADocumentWhereUniqueInput[];
|
|
661
|
+
delete?: Prisma.SOADocumentWhereUniqueInput | Prisma.SOADocumentWhereUniqueInput[];
|
|
662
|
+
connect?: Prisma.SOADocumentWhereUniqueInput | Prisma.SOADocumentWhereUniqueInput[];
|
|
663
|
+
update?: Prisma.SOADocumentUpdateWithWhereUniqueWithoutOrganizationInput | Prisma.SOADocumentUpdateWithWhereUniqueWithoutOrganizationInput[];
|
|
664
|
+
updateMany?: Prisma.SOADocumentUpdateManyWithWhereWithoutOrganizationInput | Prisma.SOADocumentUpdateManyWithWhereWithoutOrganizationInput[];
|
|
665
|
+
deleteMany?: Prisma.SOADocumentScalarWhereInput | Prisma.SOADocumentScalarWhereInput[];
|
|
666
|
+
};
|
|
667
|
+
export type SOADocumentCreateNestedManyWithoutConfigurationInput = {
|
|
668
|
+
create?: Prisma.XOR<Prisma.SOADocumentCreateWithoutConfigurationInput, Prisma.SOADocumentUncheckedCreateWithoutConfigurationInput> | Prisma.SOADocumentCreateWithoutConfigurationInput[] | Prisma.SOADocumentUncheckedCreateWithoutConfigurationInput[];
|
|
669
|
+
connectOrCreate?: Prisma.SOADocumentCreateOrConnectWithoutConfigurationInput | Prisma.SOADocumentCreateOrConnectWithoutConfigurationInput[];
|
|
670
|
+
createMany?: Prisma.SOADocumentCreateManyConfigurationInputEnvelope;
|
|
671
|
+
connect?: Prisma.SOADocumentWhereUniqueInput | Prisma.SOADocumentWhereUniqueInput[];
|
|
672
|
+
};
|
|
673
|
+
export type SOADocumentUncheckedCreateNestedManyWithoutConfigurationInput = {
|
|
674
|
+
create?: Prisma.XOR<Prisma.SOADocumentCreateWithoutConfigurationInput, Prisma.SOADocumentUncheckedCreateWithoutConfigurationInput> | Prisma.SOADocumentCreateWithoutConfigurationInput[] | Prisma.SOADocumentUncheckedCreateWithoutConfigurationInput[];
|
|
675
|
+
connectOrCreate?: Prisma.SOADocumentCreateOrConnectWithoutConfigurationInput | Prisma.SOADocumentCreateOrConnectWithoutConfigurationInput[];
|
|
676
|
+
createMany?: Prisma.SOADocumentCreateManyConfigurationInputEnvelope;
|
|
677
|
+
connect?: Prisma.SOADocumentWhereUniqueInput | Prisma.SOADocumentWhereUniqueInput[];
|
|
678
|
+
};
|
|
679
|
+
export type SOADocumentUpdateManyWithoutConfigurationNestedInput = {
|
|
680
|
+
create?: Prisma.XOR<Prisma.SOADocumentCreateWithoutConfigurationInput, Prisma.SOADocumentUncheckedCreateWithoutConfigurationInput> | Prisma.SOADocumentCreateWithoutConfigurationInput[] | Prisma.SOADocumentUncheckedCreateWithoutConfigurationInput[];
|
|
681
|
+
connectOrCreate?: Prisma.SOADocumentCreateOrConnectWithoutConfigurationInput | Prisma.SOADocumentCreateOrConnectWithoutConfigurationInput[];
|
|
682
|
+
upsert?: Prisma.SOADocumentUpsertWithWhereUniqueWithoutConfigurationInput | Prisma.SOADocumentUpsertWithWhereUniqueWithoutConfigurationInput[];
|
|
683
|
+
createMany?: Prisma.SOADocumentCreateManyConfigurationInputEnvelope;
|
|
684
|
+
set?: Prisma.SOADocumentWhereUniqueInput | Prisma.SOADocumentWhereUniqueInput[];
|
|
685
|
+
disconnect?: Prisma.SOADocumentWhereUniqueInput | Prisma.SOADocumentWhereUniqueInput[];
|
|
686
|
+
delete?: Prisma.SOADocumentWhereUniqueInput | Prisma.SOADocumentWhereUniqueInput[];
|
|
687
|
+
connect?: Prisma.SOADocumentWhereUniqueInput | Prisma.SOADocumentWhereUniqueInput[];
|
|
688
|
+
update?: Prisma.SOADocumentUpdateWithWhereUniqueWithoutConfigurationInput | Prisma.SOADocumentUpdateWithWhereUniqueWithoutConfigurationInput[];
|
|
689
|
+
updateMany?: Prisma.SOADocumentUpdateManyWithWhereWithoutConfigurationInput | Prisma.SOADocumentUpdateManyWithWhereWithoutConfigurationInput[];
|
|
690
|
+
deleteMany?: Prisma.SOADocumentScalarWhereInput | Prisma.SOADocumentScalarWhereInput[];
|
|
691
|
+
};
|
|
692
|
+
export type SOADocumentUncheckedUpdateManyWithoutConfigurationNestedInput = {
|
|
693
|
+
create?: Prisma.XOR<Prisma.SOADocumentCreateWithoutConfigurationInput, Prisma.SOADocumentUncheckedCreateWithoutConfigurationInput> | Prisma.SOADocumentCreateWithoutConfigurationInput[] | Prisma.SOADocumentUncheckedCreateWithoutConfigurationInput[];
|
|
694
|
+
connectOrCreate?: Prisma.SOADocumentCreateOrConnectWithoutConfigurationInput | Prisma.SOADocumentCreateOrConnectWithoutConfigurationInput[];
|
|
695
|
+
upsert?: Prisma.SOADocumentUpsertWithWhereUniqueWithoutConfigurationInput | Prisma.SOADocumentUpsertWithWhereUniqueWithoutConfigurationInput[];
|
|
696
|
+
createMany?: Prisma.SOADocumentCreateManyConfigurationInputEnvelope;
|
|
697
|
+
set?: Prisma.SOADocumentWhereUniqueInput | Prisma.SOADocumentWhereUniqueInput[];
|
|
698
|
+
disconnect?: Prisma.SOADocumentWhereUniqueInput | Prisma.SOADocumentWhereUniqueInput[];
|
|
699
|
+
delete?: Prisma.SOADocumentWhereUniqueInput | Prisma.SOADocumentWhereUniqueInput[];
|
|
700
|
+
connect?: Prisma.SOADocumentWhereUniqueInput | Prisma.SOADocumentWhereUniqueInput[];
|
|
701
|
+
update?: Prisma.SOADocumentUpdateWithWhereUniqueWithoutConfigurationInput | Prisma.SOADocumentUpdateWithWhereUniqueWithoutConfigurationInput[];
|
|
702
|
+
updateMany?: Prisma.SOADocumentUpdateManyWithWhereWithoutConfigurationInput | Prisma.SOADocumentUpdateManyWithWhereWithoutConfigurationInput[];
|
|
703
|
+
deleteMany?: Prisma.SOADocumentScalarWhereInput | Prisma.SOADocumentScalarWhereInput[];
|
|
704
|
+
};
|
|
705
|
+
export type EnumSOADocumentStatusFieldUpdateOperationsInput = {
|
|
706
|
+
set?: $Enums.SOADocumentStatus;
|
|
707
|
+
};
|
|
708
|
+
export type SOADocumentCreateNestedOneWithoutAnswersInput = {
|
|
709
|
+
create?: Prisma.XOR<Prisma.SOADocumentCreateWithoutAnswersInput, Prisma.SOADocumentUncheckedCreateWithoutAnswersInput>;
|
|
710
|
+
connectOrCreate?: Prisma.SOADocumentCreateOrConnectWithoutAnswersInput;
|
|
711
|
+
connect?: Prisma.SOADocumentWhereUniqueInput;
|
|
712
|
+
};
|
|
713
|
+
export type SOADocumentUpdateOneRequiredWithoutAnswersNestedInput = {
|
|
714
|
+
create?: Prisma.XOR<Prisma.SOADocumentCreateWithoutAnswersInput, Prisma.SOADocumentUncheckedCreateWithoutAnswersInput>;
|
|
715
|
+
connectOrCreate?: Prisma.SOADocumentCreateOrConnectWithoutAnswersInput;
|
|
716
|
+
upsert?: Prisma.SOADocumentUpsertWithoutAnswersInput;
|
|
717
|
+
connect?: Prisma.SOADocumentWhereUniqueInput;
|
|
718
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.SOADocumentUpdateToOneWithWhereWithoutAnswersInput, Prisma.SOADocumentUpdateWithoutAnswersInput>, Prisma.SOADocumentUncheckedUpdateWithoutAnswersInput>;
|
|
719
|
+
};
|
|
720
|
+
export type SOADocumentCreateWithoutApproverInput = {
|
|
721
|
+
id?: string;
|
|
722
|
+
version?: number;
|
|
723
|
+
isLatest?: boolean;
|
|
724
|
+
status?: $Enums.SOADocumentStatus;
|
|
725
|
+
totalQuestions?: number;
|
|
726
|
+
answeredQuestions?: number;
|
|
727
|
+
preparedBy?: string;
|
|
728
|
+
approvedAt?: Date | string | null;
|
|
729
|
+
completedAt?: Date | string | null;
|
|
730
|
+
createdAt?: Date | string;
|
|
731
|
+
updatedAt?: Date | string;
|
|
732
|
+
framework: Prisma.FrameworkEditorFrameworkCreateNestedOneWithoutSoaDocumentsInput;
|
|
733
|
+
organization: Prisma.OrganizationCreateNestedOneWithoutSoaDocumentsInput;
|
|
734
|
+
configuration: Prisma.SOAFrameworkConfigurationCreateNestedOneWithoutDocumentsInput;
|
|
735
|
+
answers?: Prisma.SOAAnswerCreateNestedManyWithoutDocumentInput;
|
|
736
|
+
};
|
|
737
|
+
export type SOADocumentUncheckedCreateWithoutApproverInput = {
|
|
738
|
+
id?: string;
|
|
739
|
+
frameworkId: string;
|
|
740
|
+
organizationId: string;
|
|
741
|
+
configurationId: string;
|
|
742
|
+
version?: number;
|
|
743
|
+
isLatest?: boolean;
|
|
744
|
+
status?: $Enums.SOADocumentStatus;
|
|
745
|
+
totalQuestions?: number;
|
|
746
|
+
answeredQuestions?: number;
|
|
747
|
+
preparedBy?: string;
|
|
748
|
+
approvedAt?: Date | string | null;
|
|
749
|
+
completedAt?: Date | string | null;
|
|
750
|
+
createdAt?: Date | string;
|
|
751
|
+
updatedAt?: Date | string;
|
|
752
|
+
answers?: Prisma.SOAAnswerUncheckedCreateNestedManyWithoutDocumentInput;
|
|
753
|
+
};
|
|
754
|
+
export type SOADocumentCreateOrConnectWithoutApproverInput = {
|
|
755
|
+
where: Prisma.SOADocumentWhereUniqueInput;
|
|
756
|
+
create: Prisma.XOR<Prisma.SOADocumentCreateWithoutApproverInput, Prisma.SOADocumentUncheckedCreateWithoutApproverInput>;
|
|
757
|
+
};
|
|
758
|
+
export type SOADocumentCreateManyApproverInputEnvelope = {
|
|
759
|
+
data: Prisma.SOADocumentCreateManyApproverInput | Prisma.SOADocumentCreateManyApproverInput[];
|
|
760
|
+
skipDuplicates?: boolean;
|
|
761
|
+
};
|
|
762
|
+
export type SOADocumentUpsertWithWhereUniqueWithoutApproverInput = {
|
|
763
|
+
where: Prisma.SOADocumentWhereUniqueInput;
|
|
764
|
+
update: Prisma.XOR<Prisma.SOADocumentUpdateWithoutApproverInput, Prisma.SOADocumentUncheckedUpdateWithoutApproverInput>;
|
|
765
|
+
create: Prisma.XOR<Prisma.SOADocumentCreateWithoutApproverInput, Prisma.SOADocumentUncheckedCreateWithoutApproverInput>;
|
|
766
|
+
};
|
|
767
|
+
export type SOADocumentUpdateWithWhereUniqueWithoutApproverInput = {
|
|
768
|
+
where: Prisma.SOADocumentWhereUniqueInput;
|
|
769
|
+
data: Prisma.XOR<Prisma.SOADocumentUpdateWithoutApproverInput, Prisma.SOADocumentUncheckedUpdateWithoutApproverInput>;
|
|
770
|
+
};
|
|
771
|
+
export type SOADocumentUpdateManyWithWhereWithoutApproverInput = {
|
|
772
|
+
where: Prisma.SOADocumentScalarWhereInput;
|
|
773
|
+
data: Prisma.XOR<Prisma.SOADocumentUpdateManyMutationInput, Prisma.SOADocumentUncheckedUpdateManyWithoutApproverInput>;
|
|
774
|
+
};
|
|
775
|
+
export type SOADocumentScalarWhereInput = {
|
|
776
|
+
AND?: Prisma.SOADocumentScalarWhereInput | Prisma.SOADocumentScalarWhereInput[];
|
|
777
|
+
OR?: Prisma.SOADocumentScalarWhereInput[];
|
|
778
|
+
NOT?: Prisma.SOADocumentScalarWhereInput | Prisma.SOADocumentScalarWhereInput[];
|
|
779
|
+
id?: Prisma.StringFilter<"SOADocument"> | string;
|
|
780
|
+
frameworkId?: Prisma.StringFilter<"SOADocument"> | string;
|
|
781
|
+
organizationId?: Prisma.StringFilter<"SOADocument"> | string;
|
|
782
|
+
configurationId?: Prisma.StringFilter<"SOADocument"> | string;
|
|
783
|
+
version?: Prisma.IntFilter<"SOADocument"> | number;
|
|
784
|
+
isLatest?: Prisma.BoolFilter<"SOADocument"> | boolean;
|
|
785
|
+
status?: Prisma.EnumSOADocumentStatusFilter<"SOADocument"> | $Enums.SOADocumentStatus;
|
|
786
|
+
totalQuestions?: Prisma.IntFilter<"SOADocument"> | number;
|
|
787
|
+
answeredQuestions?: Prisma.IntFilter<"SOADocument"> | number;
|
|
788
|
+
preparedBy?: Prisma.StringFilter<"SOADocument"> | string;
|
|
789
|
+
approverId?: Prisma.StringNullableFilter<"SOADocument"> | string | null;
|
|
790
|
+
approvedAt?: Prisma.DateTimeNullableFilter<"SOADocument"> | Date | string | null;
|
|
791
|
+
completedAt?: Prisma.DateTimeNullableFilter<"SOADocument"> | Date | string | null;
|
|
792
|
+
createdAt?: Prisma.DateTimeFilter<"SOADocument"> | Date | string;
|
|
793
|
+
updatedAt?: Prisma.DateTimeFilter<"SOADocument"> | Date | string;
|
|
794
|
+
};
|
|
795
|
+
export type SOADocumentCreateWithoutFrameworkInput = {
|
|
796
|
+
id?: string;
|
|
797
|
+
version?: number;
|
|
798
|
+
isLatest?: boolean;
|
|
799
|
+
status?: $Enums.SOADocumentStatus;
|
|
800
|
+
totalQuestions?: number;
|
|
801
|
+
answeredQuestions?: number;
|
|
802
|
+
preparedBy?: string;
|
|
803
|
+
approvedAt?: Date | string | null;
|
|
804
|
+
completedAt?: Date | string | null;
|
|
805
|
+
createdAt?: Date | string;
|
|
806
|
+
updatedAt?: Date | string;
|
|
807
|
+
organization: Prisma.OrganizationCreateNestedOneWithoutSoaDocumentsInput;
|
|
808
|
+
configuration: Prisma.SOAFrameworkConfigurationCreateNestedOneWithoutDocumentsInput;
|
|
809
|
+
approver?: Prisma.MemberCreateNestedOneWithoutApprovedSOADocumentsInput;
|
|
810
|
+
answers?: Prisma.SOAAnswerCreateNestedManyWithoutDocumentInput;
|
|
811
|
+
};
|
|
812
|
+
export type SOADocumentUncheckedCreateWithoutFrameworkInput = {
|
|
813
|
+
id?: string;
|
|
814
|
+
organizationId: string;
|
|
815
|
+
configurationId: string;
|
|
816
|
+
version?: number;
|
|
817
|
+
isLatest?: boolean;
|
|
818
|
+
status?: $Enums.SOADocumentStatus;
|
|
819
|
+
totalQuestions?: number;
|
|
820
|
+
answeredQuestions?: number;
|
|
821
|
+
preparedBy?: string;
|
|
822
|
+
approverId?: string | null;
|
|
823
|
+
approvedAt?: Date | string | null;
|
|
824
|
+
completedAt?: Date | string | null;
|
|
825
|
+
createdAt?: Date | string;
|
|
826
|
+
updatedAt?: Date | string;
|
|
827
|
+
answers?: Prisma.SOAAnswerUncheckedCreateNestedManyWithoutDocumentInput;
|
|
828
|
+
};
|
|
829
|
+
export type SOADocumentCreateOrConnectWithoutFrameworkInput = {
|
|
830
|
+
where: Prisma.SOADocumentWhereUniqueInput;
|
|
831
|
+
create: Prisma.XOR<Prisma.SOADocumentCreateWithoutFrameworkInput, Prisma.SOADocumentUncheckedCreateWithoutFrameworkInput>;
|
|
832
|
+
};
|
|
833
|
+
export type SOADocumentCreateManyFrameworkInputEnvelope = {
|
|
834
|
+
data: Prisma.SOADocumentCreateManyFrameworkInput | Prisma.SOADocumentCreateManyFrameworkInput[];
|
|
835
|
+
skipDuplicates?: boolean;
|
|
836
|
+
};
|
|
837
|
+
export type SOADocumentUpsertWithWhereUniqueWithoutFrameworkInput = {
|
|
838
|
+
where: Prisma.SOADocumentWhereUniqueInput;
|
|
839
|
+
update: Prisma.XOR<Prisma.SOADocumentUpdateWithoutFrameworkInput, Prisma.SOADocumentUncheckedUpdateWithoutFrameworkInput>;
|
|
840
|
+
create: Prisma.XOR<Prisma.SOADocumentCreateWithoutFrameworkInput, Prisma.SOADocumentUncheckedCreateWithoutFrameworkInput>;
|
|
841
|
+
};
|
|
842
|
+
export type SOADocumentUpdateWithWhereUniqueWithoutFrameworkInput = {
|
|
843
|
+
where: Prisma.SOADocumentWhereUniqueInput;
|
|
844
|
+
data: Prisma.XOR<Prisma.SOADocumentUpdateWithoutFrameworkInput, Prisma.SOADocumentUncheckedUpdateWithoutFrameworkInput>;
|
|
845
|
+
};
|
|
846
|
+
export type SOADocumentUpdateManyWithWhereWithoutFrameworkInput = {
|
|
847
|
+
where: Prisma.SOADocumentScalarWhereInput;
|
|
848
|
+
data: Prisma.XOR<Prisma.SOADocumentUpdateManyMutationInput, Prisma.SOADocumentUncheckedUpdateManyWithoutFrameworkInput>;
|
|
849
|
+
};
|
|
850
|
+
export type SOADocumentCreateWithoutOrganizationInput = {
|
|
851
|
+
id?: string;
|
|
852
|
+
version?: number;
|
|
853
|
+
isLatest?: boolean;
|
|
854
|
+
status?: $Enums.SOADocumentStatus;
|
|
855
|
+
totalQuestions?: number;
|
|
856
|
+
answeredQuestions?: number;
|
|
857
|
+
preparedBy?: string;
|
|
858
|
+
approvedAt?: Date | string | null;
|
|
859
|
+
completedAt?: Date | string | null;
|
|
860
|
+
createdAt?: Date | string;
|
|
861
|
+
updatedAt?: Date | string;
|
|
862
|
+
framework: Prisma.FrameworkEditorFrameworkCreateNestedOneWithoutSoaDocumentsInput;
|
|
863
|
+
configuration: Prisma.SOAFrameworkConfigurationCreateNestedOneWithoutDocumentsInput;
|
|
864
|
+
approver?: Prisma.MemberCreateNestedOneWithoutApprovedSOADocumentsInput;
|
|
865
|
+
answers?: Prisma.SOAAnswerCreateNestedManyWithoutDocumentInput;
|
|
866
|
+
};
|
|
867
|
+
export type SOADocumentUncheckedCreateWithoutOrganizationInput = {
|
|
868
|
+
id?: string;
|
|
869
|
+
frameworkId: string;
|
|
870
|
+
configurationId: string;
|
|
871
|
+
version?: number;
|
|
872
|
+
isLatest?: boolean;
|
|
873
|
+
status?: $Enums.SOADocumentStatus;
|
|
874
|
+
totalQuestions?: number;
|
|
875
|
+
answeredQuestions?: number;
|
|
876
|
+
preparedBy?: string;
|
|
877
|
+
approverId?: string | null;
|
|
878
|
+
approvedAt?: Date | string | null;
|
|
879
|
+
completedAt?: Date | string | null;
|
|
880
|
+
createdAt?: Date | string;
|
|
881
|
+
updatedAt?: Date | string;
|
|
882
|
+
answers?: Prisma.SOAAnswerUncheckedCreateNestedManyWithoutDocumentInput;
|
|
883
|
+
};
|
|
884
|
+
export type SOADocumentCreateOrConnectWithoutOrganizationInput = {
|
|
885
|
+
where: Prisma.SOADocumentWhereUniqueInput;
|
|
886
|
+
create: Prisma.XOR<Prisma.SOADocumentCreateWithoutOrganizationInput, Prisma.SOADocumentUncheckedCreateWithoutOrganizationInput>;
|
|
887
|
+
};
|
|
888
|
+
export type SOADocumentCreateManyOrganizationInputEnvelope = {
|
|
889
|
+
data: Prisma.SOADocumentCreateManyOrganizationInput | Prisma.SOADocumentCreateManyOrganizationInput[];
|
|
890
|
+
skipDuplicates?: boolean;
|
|
891
|
+
};
|
|
892
|
+
export type SOADocumentUpsertWithWhereUniqueWithoutOrganizationInput = {
|
|
893
|
+
where: Prisma.SOADocumentWhereUniqueInput;
|
|
894
|
+
update: Prisma.XOR<Prisma.SOADocumentUpdateWithoutOrganizationInput, Prisma.SOADocumentUncheckedUpdateWithoutOrganizationInput>;
|
|
895
|
+
create: Prisma.XOR<Prisma.SOADocumentCreateWithoutOrganizationInput, Prisma.SOADocumentUncheckedCreateWithoutOrganizationInput>;
|
|
896
|
+
};
|
|
897
|
+
export type SOADocumentUpdateWithWhereUniqueWithoutOrganizationInput = {
|
|
898
|
+
where: Prisma.SOADocumentWhereUniqueInput;
|
|
899
|
+
data: Prisma.XOR<Prisma.SOADocumentUpdateWithoutOrganizationInput, Prisma.SOADocumentUncheckedUpdateWithoutOrganizationInput>;
|
|
900
|
+
};
|
|
901
|
+
export type SOADocumentUpdateManyWithWhereWithoutOrganizationInput = {
|
|
902
|
+
where: Prisma.SOADocumentScalarWhereInput;
|
|
903
|
+
data: Prisma.XOR<Prisma.SOADocumentUpdateManyMutationInput, Prisma.SOADocumentUncheckedUpdateManyWithoutOrganizationInput>;
|
|
904
|
+
};
|
|
905
|
+
export type SOADocumentCreateWithoutConfigurationInput = {
|
|
906
|
+
id?: string;
|
|
907
|
+
version?: number;
|
|
908
|
+
isLatest?: boolean;
|
|
909
|
+
status?: $Enums.SOADocumentStatus;
|
|
910
|
+
totalQuestions?: number;
|
|
911
|
+
answeredQuestions?: number;
|
|
912
|
+
preparedBy?: string;
|
|
913
|
+
approvedAt?: Date | string | null;
|
|
914
|
+
completedAt?: Date | string | null;
|
|
915
|
+
createdAt?: Date | string;
|
|
916
|
+
updatedAt?: Date | string;
|
|
917
|
+
framework: Prisma.FrameworkEditorFrameworkCreateNestedOneWithoutSoaDocumentsInput;
|
|
918
|
+
organization: Prisma.OrganizationCreateNestedOneWithoutSoaDocumentsInput;
|
|
919
|
+
approver?: Prisma.MemberCreateNestedOneWithoutApprovedSOADocumentsInput;
|
|
920
|
+
answers?: Prisma.SOAAnswerCreateNestedManyWithoutDocumentInput;
|
|
921
|
+
};
|
|
922
|
+
export type SOADocumentUncheckedCreateWithoutConfigurationInput = {
|
|
923
|
+
id?: string;
|
|
924
|
+
frameworkId: string;
|
|
925
|
+
organizationId: string;
|
|
926
|
+
version?: number;
|
|
927
|
+
isLatest?: boolean;
|
|
928
|
+
status?: $Enums.SOADocumentStatus;
|
|
929
|
+
totalQuestions?: number;
|
|
930
|
+
answeredQuestions?: number;
|
|
931
|
+
preparedBy?: string;
|
|
932
|
+
approverId?: string | null;
|
|
933
|
+
approvedAt?: Date | string | null;
|
|
934
|
+
completedAt?: Date | string | null;
|
|
935
|
+
createdAt?: Date | string;
|
|
936
|
+
updatedAt?: Date | string;
|
|
937
|
+
answers?: Prisma.SOAAnswerUncheckedCreateNestedManyWithoutDocumentInput;
|
|
938
|
+
};
|
|
939
|
+
export type SOADocumentCreateOrConnectWithoutConfigurationInput = {
|
|
940
|
+
where: Prisma.SOADocumentWhereUniqueInput;
|
|
941
|
+
create: Prisma.XOR<Prisma.SOADocumentCreateWithoutConfigurationInput, Prisma.SOADocumentUncheckedCreateWithoutConfigurationInput>;
|
|
942
|
+
};
|
|
943
|
+
export type SOADocumentCreateManyConfigurationInputEnvelope = {
|
|
944
|
+
data: Prisma.SOADocumentCreateManyConfigurationInput | Prisma.SOADocumentCreateManyConfigurationInput[];
|
|
945
|
+
skipDuplicates?: boolean;
|
|
946
|
+
};
|
|
947
|
+
export type SOADocumentUpsertWithWhereUniqueWithoutConfigurationInput = {
|
|
948
|
+
where: Prisma.SOADocumentWhereUniqueInput;
|
|
949
|
+
update: Prisma.XOR<Prisma.SOADocumentUpdateWithoutConfigurationInput, Prisma.SOADocumentUncheckedUpdateWithoutConfigurationInput>;
|
|
950
|
+
create: Prisma.XOR<Prisma.SOADocumentCreateWithoutConfigurationInput, Prisma.SOADocumentUncheckedCreateWithoutConfigurationInput>;
|
|
951
|
+
};
|
|
952
|
+
export type SOADocumentUpdateWithWhereUniqueWithoutConfigurationInput = {
|
|
953
|
+
where: Prisma.SOADocumentWhereUniqueInput;
|
|
954
|
+
data: Prisma.XOR<Prisma.SOADocumentUpdateWithoutConfigurationInput, Prisma.SOADocumentUncheckedUpdateWithoutConfigurationInput>;
|
|
955
|
+
};
|
|
956
|
+
export type SOADocumentUpdateManyWithWhereWithoutConfigurationInput = {
|
|
957
|
+
where: Prisma.SOADocumentScalarWhereInput;
|
|
958
|
+
data: Prisma.XOR<Prisma.SOADocumentUpdateManyMutationInput, Prisma.SOADocumentUncheckedUpdateManyWithoutConfigurationInput>;
|
|
959
|
+
};
|
|
960
|
+
export type SOADocumentCreateWithoutAnswersInput = {
|
|
961
|
+
id?: string;
|
|
962
|
+
version?: number;
|
|
963
|
+
isLatest?: boolean;
|
|
964
|
+
status?: $Enums.SOADocumentStatus;
|
|
965
|
+
totalQuestions?: number;
|
|
966
|
+
answeredQuestions?: number;
|
|
967
|
+
preparedBy?: string;
|
|
968
|
+
approvedAt?: Date | string | null;
|
|
969
|
+
completedAt?: Date | string | null;
|
|
970
|
+
createdAt?: Date | string;
|
|
971
|
+
updatedAt?: Date | string;
|
|
972
|
+
framework: Prisma.FrameworkEditorFrameworkCreateNestedOneWithoutSoaDocumentsInput;
|
|
973
|
+
organization: Prisma.OrganizationCreateNestedOneWithoutSoaDocumentsInput;
|
|
974
|
+
configuration: Prisma.SOAFrameworkConfigurationCreateNestedOneWithoutDocumentsInput;
|
|
975
|
+
approver?: Prisma.MemberCreateNestedOneWithoutApprovedSOADocumentsInput;
|
|
976
|
+
};
|
|
977
|
+
export type SOADocumentUncheckedCreateWithoutAnswersInput = {
|
|
978
|
+
id?: string;
|
|
979
|
+
frameworkId: string;
|
|
980
|
+
organizationId: string;
|
|
981
|
+
configurationId: string;
|
|
982
|
+
version?: number;
|
|
983
|
+
isLatest?: boolean;
|
|
984
|
+
status?: $Enums.SOADocumentStatus;
|
|
985
|
+
totalQuestions?: number;
|
|
986
|
+
answeredQuestions?: number;
|
|
987
|
+
preparedBy?: string;
|
|
988
|
+
approverId?: string | null;
|
|
989
|
+
approvedAt?: Date | string | null;
|
|
990
|
+
completedAt?: Date | string | null;
|
|
991
|
+
createdAt?: Date | string;
|
|
992
|
+
updatedAt?: Date | string;
|
|
993
|
+
};
|
|
994
|
+
export type SOADocumentCreateOrConnectWithoutAnswersInput = {
|
|
995
|
+
where: Prisma.SOADocumentWhereUniqueInput;
|
|
996
|
+
create: Prisma.XOR<Prisma.SOADocumentCreateWithoutAnswersInput, Prisma.SOADocumentUncheckedCreateWithoutAnswersInput>;
|
|
997
|
+
};
|
|
998
|
+
export type SOADocumentUpsertWithoutAnswersInput = {
|
|
999
|
+
update: Prisma.XOR<Prisma.SOADocumentUpdateWithoutAnswersInput, Prisma.SOADocumentUncheckedUpdateWithoutAnswersInput>;
|
|
1000
|
+
create: Prisma.XOR<Prisma.SOADocumentCreateWithoutAnswersInput, Prisma.SOADocumentUncheckedCreateWithoutAnswersInput>;
|
|
1001
|
+
where?: Prisma.SOADocumentWhereInput;
|
|
1002
|
+
};
|
|
1003
|
+
export type SOADocumentUpdateToOneWithWhereWithoutAnswersInput = {
|
|
1004
|
+
where?: Prisma.SOADocumentWhereInput;
|
|
1005
|
+
data: Prisma.XOR<Prisma.SOADocumentUpdateWithoutAnswersInput, Prisma.SOADocumentUncheckedUpdateWithoutAnswersInput>;
|
|
1006
|
+
};
|
|
1007
|
+
export type SOADocumentUpdateWithoutAnswersInput = {
|
|
1008
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1009
|
+
version?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1010
|
+
isLatest?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1011
|
+
status?: Prisma.EnumSOADocumentStatusFieldUpdateOperationsInput | $Enums.SOADocumentStatus;
|
|
1012
|
+
totalQuestions?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1013
|
+
answeredQuestions?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1014
|
+
preparedBy?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1015
|
+
approvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1016
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1017
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1018
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1019
|
+
framework?: Prisma.FrameworkEditorFrameworkUpdateOneRequiredWithoutSoaDocumentsNestedInput;
|
|
1020
|
+
organization?: Prisma.OrganizationUpdateOneRequiredWithoutSoaDocumentsNestedInput;
|
|
1021
|
+
configuration?: Prisma.SOAFrameworkConfigurationUpdateOneRequiredWithoutDocumentsNestedInput;
|
|
1022
|
+
approver?: Prisma.MemberUpdateOneWithoutApprovedSOADocumentsNestedInput;
|
|
1023
|
+
};
|
|
1024
|
+
export type SOADocumentUncheckedUpdateWithoutAnswersInput = {
|
|
1025
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1026
|
+
frameworkId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1027
|
+
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1028
|
+
configurationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1029
|
+
version?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1030
|
+
isLatest?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1031
|
+
status?: Prisma.EnumSOADocumentStatusFieldUpdateOperationsInput | $Enums.SOADocumentStatus;
|
|
1032
|
+
totalQuestions?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1033
|
+
answeredQuestions?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1034
|
+
preparedBy?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1035
|
+
approverId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1036
|
+
approvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1037
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1038
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1039
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1040
|
+
};
|
|
1041
|
+
export type SOADocumentCreateManyApproverInput = {
|
|
1042
|
+
id?: string;
|
|
1043
|
+
frameworkId: string;
|
|
1044
|
+
organizationId: string;
|
|
1045
|
+
configurationId: string;
|
|
1046
|
+
version?: number;
|
|
1047
|
+
isLatest?: boolean;
|
|
1048
|
+
status?: $Enums.SOADocumentStatus;
|
|
1049
|
+
totalQuestions?: number;
|
|
1050
|
+
answeredQuestions?: number;
|
|
1051
|
+
preparedBy?: string;
|
|
1052
|
+
approvedAt?: Date | string | null;
|
|
1053
|
+
completedAt?: Date | string | null;
|
|
1054
|
+
createdAt?: Date | string;
|
|
1055
|
+
updatedAt?: Date | string;
|
|
1056
|
+
};
|
|
1057
|
+
export type SOADocumentUpdateWithoutApproverInput = {
|
|
1058
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1059
|
+
version?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1060
|
+
isLatest?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1061
|
+
status?: Prisma.EnumSOADocumentStatusFieldUpdateOperationsInput | $Enums.SOADocumentStatus;
|
|
1062
|
+
totalQuestions?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1063
|
+
answeredQuestions?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1064
|
+
preparedBy?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1065
|
+
approvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1066
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1067
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1068
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1069
|
+
framework?: Prisma.FrameworkEditorFrameworkUpdateOneRequiredWithoutSoaDocumentsNestedInput;
|
|
1070
|
+
organization?: Prisma.OrganizationUpdateOneRequiredWithoutSoaDocumentsNestedInput;
|
|
1071
|
+
configuration?: Prisma.SOAFrameworkConfigurationUpdateOneRequiredWithoutDocumentsNestedInput;
|
|
1072
|
+
answers?: Prisma.SOAAnswerUpdateManyWithoutDocumentNestedInput;
|
|
1073
|
+
};
|
|
1074
|
+
export type SOADocumentUncheckedUpdateWithoutApproverInput = {
|
|
1075
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1076
|
+
frameworkId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1077
|
+
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1078
|
+
configurationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1079
|
+
version?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1080
|
+
isLatest?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1081
|
+
status?: Prisma.EnumSOADocumentStatusFieldUpdateOperationsInput | $Enums.SOADocumentStatus;
|
|
1082
|
+
totalQuestions?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1083
|
+
answeredQuestions?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1084
|
+
preparedBy?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1085
|
+
approvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1086
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1087
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1088
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1089
|
+
answers?: Prisma.SOAAnswerUncheckedUpdateManyWithoutDocumentNestedInput;
|
|
1090
|
+
};
|
|
1091
|
+
export type SOADocumentUncheckedUpdateManyWithoutApproverInput = {
|
|
1092
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1093
|
+
frameworkId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1094
|
+
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1095
|
+
configurationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1096
|
+
version?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1097
|
+
isLatest?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1098
|
+
status?: Prisma.EnumSOADocumentStatusFieldUpdateOperationsInput | $Enums.SOADocumentStatus;
|
|
1099
|
+
totalQuestions?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1100
|
+
answeredQuestions?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1101
|
+
preparedBy?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1102
|
+
approvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1103
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1104
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1105
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1106
|
+
};
|
|
1107
|
+
export type SOADocumentCreateManyFrameworkInput = {
|
|
1108
|
+
id?: string;
|
|
1109
|
+
organizationId: string;
|
|
1110
|
+
configurationId: string;
|
|
1111
|
+
version?: number;
|
|
1112
|
+
isLatest?: boolean;
|
|
1113
|
+
status?: $Enums.SOADocumentStatus;
|
|
1114
|
+
totalQuestions?: number;
|
|
1115
|
+
answeredQuestions?: number;
|
|
1116
|
+
preparedBy?: string;
|
|
1117
|
+
approverId?: string | null;
|
|
1118
|
+
approvedAt?: Date | string | null;
|
|
1119
|
+
completedAt?: Date | string | null;
|
|
1120
|
+
createdAt?: Date | string;
|
|
1121
|
+
updatedAt?: Date | string;
|
|
1122
|
+
};
|
|
1123
|
+
export type SOADocumentUpdateWithoutFrameworkInput = {
|
|
1124
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1125
|
+
version?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1126
|
+
isLatest?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1127
|
+
status?: Prisma.EnumSOADocumentStatusFieldUpdateOperationsInput | $Enums.SOADocumentStatus;
|
|
1128
|
+
totalQuestions?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1129
|
+
answeredQuestions?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1130
|
+
preparedBy?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1131
|
+
approvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1132
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1133
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1134
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1135
|
+
organization?: Prisma.OrganizationUpdateOneRequiredWithoutSoaDocumentsNestedInput;
|
|
1136
|
+
configuration?: Prisma.SOAFrameworkConfigurationUpdateOneRequiredWithoutDocumentsNestedInput;
|
|
1137
|
+
approver?: Prisma.MemberUpdateOneWithoutApprovedSOADocumentsNestedInput;
|
|
1138
|
+
answers?: Prisma.SOAAnswerUpdateManyWithoutDocumentNestedInput;
|
|
1139
|
+
};
|
|
1140
|
+
export type SOADocumentUncheckedUpdateWithoutFrameworkInput = {
|
|
1141
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1142
|
+
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1143
|
+
configurationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1144
|
+
version?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1145
|
+
isLatest?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1146
|
+
status?: Prisma.EnumSOADocumentStatusFieldUpdateOperationsInput | $Enums.SOADocumentStatus;
|
|
1147
|
+
totalQuestions?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1148
|
+
answeredQuestions?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1149
|
+
preparedBy?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1150
|
+
approverId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1151
|
+
approvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1152
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1153
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1154
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1155
|
+
answers?: Prisma.SOAAnswerUncheckedUpdateManyWithoutDocumentNestedInput;
|
|
1156
|
+
};
|
|
1157
|
+
export type SOADocumentUncheckedUpdateManyWithoutFrameworkInput = {
|
|
1158
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1159
|
+
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1160
|
+
configurationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1161
|
+
version?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1162
|
+
isLatest?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1163
|
+
status?: Prisma.EnumSOADocumentStatusFieldUpdateOperationsInput | $Enums.SOADocumentStatus;
|
|
1164
|
+
totalQuestions?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1165
|
+
answeredQuestions?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1166
|
+
preparedBy?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1167
|
+
approverId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1168
|
+
approvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1169
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1170
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1171
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1172
|
+
};
|
|
1173
|
+
export type SOADocumentCreateManyOrganizationInput = {
|
|
1174
|
+
id?: string;
|
|
1175
|
+
frameworkId: string;
|
|
1176
|
+
configurationId: string;
|
|
1177
|
+
version?: number;
|
|
1178
|
+
isLatest?: boolean;
|
|
1179
|
+
status?: $Enums.SOADocumentStatus;
|
|
1180
|
+
totalQuestions?: number;
|
|
1181
|
+
answeredQuestions?: number;
|
|
1182
|
+
preparedBy?: string;
|
|
1183
|
+
approverId?: string | null;
|
|
1184
|
+
approvedAt?: Date | string | null;
|
|
1185
|
+
completedAt?: Date | string | null;
|
|
1186
|
+
createdAt?: Date | string;
|
|
1187
|
+
updatedAt?: Date | string;
|
|
1188
|
+
};
|
|
1189
|
+
export type SOADocumentUpdateWithoutOrganizationInput = {
|
|
1190
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1191
|
+
version?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1192
|
+
isLatest?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1193
|
+
status?: Prisma.EnumSOADocumentStatusFieldUpdateOperationsInput | $Enums.SOADocumentStatus;
|
|
1194
|
+
totalQuestions?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1195
|
+
answeredQuestions?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1196
|
+
preparedBy?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1197
|
+
approvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1198
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1199
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1200
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1201
|
+
framework?: Prisma.FrameworkEditorFrameworkUpdateOneRequiredWithoutSoaDocumentsNestedInput;
|
|
1202
|
+
configuration?: Prisma.SOAFrameworkConfigurationUpdateOneRequiredWithoutDocumentsNestedInput;
|
|
1203
|
+
approver?: Prisma.MemberUpdateOneWithoutApprovedSOADocumentsNestedInput;
|
|
1204
|
+
answers?: Prisma.SOAAnswerUpdateManyWithoutDocumentNestedInput;
|
|
1205
|
+
};
|
|
1206
|
+
export type SOADocumentUncheckedUpdateWithoutOrganizationInput = {
|
|
1207
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1208
|
+
frameworkId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1209
|
+
configurationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1210
|
+
version?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1211
|
+
isLatest?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1212
|
+
status?: Prisma.EnumSOADocumentStatusFieldUpdateOperationsInput | $Enums.SOADocumentStatus;
|
|
1213
|
+
totalQuestions?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1214
|
+
answeredQuestions?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1215
|
+
preparedBy?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1216
|
+
approverId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1217
|
+
approvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1218
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1219
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1220
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1221
|
+
answers?: Prisma.SOAAnswerUncheckedUpdateManyWithoutDocumentNestedInput;
|
|
1222
|
+
};
|
|
1223
|
+
export type SOADocumentUncheckedUpdateManyWithoutOrganizationInput = {
|
|
1224
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1225
|
+
frameworkId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1226
|
+
configurationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1227
|
+
version?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1228
|
+
isLatest?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1229
|
+
status?: Prisma.EnumSOADocumentStatusFieldUpdateOperationsInput | $Enums.SOADocumentStatus;
|
|
1230
|
+
totalQuestions?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1231
|
+
answeredQuestions?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1232
|
+
preparedBy?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1233
|
+
approverId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1234
|
+
approvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1235
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1236
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1237
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1238
|
+
};
|
|
1239
|
+
export type SOADocumentCreateManyConfigurationInput = {
|
|
1240
|
+
id?: string;
|
|
1241
|
+
frameworkId: string;
|
|
1242
|
+
organizationId: string;
|
|
1243
|
+
version?: number;
|
|
1244
|
+
isLatest?: boolean;
|
|
1245
|
+
status?: $Enums.SOADocumentStatus;
|
|
1246
|
+
totalQuestions?: number;
|
|
1247
|
+
answeredQuestions?: number;
|
|
1248
|
+
preparedBy?: string;
|
|
1249
|
+
approverId?: string | null;
|
|
1250
|
+
approvedAt?: Date | string | null;
|
|
1251
|
+
completedAt?: Date | string | null;
|
|
1252
|
+
createdAt?: Date | string;
|
|
1253
|
+
updatedAt?: Date | string;
|
|
1254
|
+
};
|
|
1255
|
+
export type SOADocumentUpdateWithoutConfigurationInput = {
|
|
1256
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1257
|
+
version?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1258
|
+
isLatest?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1259
|
+
status?: Prisma.EnumSOADocumentStatusFieldUpdateOperationsInput | $Enums.SOADocumentStatus;
|
|
1260
|
+
totalQuestions?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1261
|
+
answeredQuestions?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1262
|
+
preparedBy?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1263
|
+
approvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1264
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1265
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1266
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1267
|
+
framework?: Prisma.FrameworkEditorFrameworkUpdateOneRequiredWithoutSoaDocumentsNestedInput;
|
|
1268
|
+
organization?: Prisma.OrganizationUpdateOneRequiredWithoutSoaDocumentsNestedInput;
|
|
1269
|
+
approver?: Prisma.MemberUpdateOneWithoutApprovedSOADocumentsNestedInput;
|
|
1270
|
+
answers?: Prisma.SOAAnswerUpdateManyWithoutDocumentNestedInput;
|
|
1271
|
+
};
|
|
1272
|
+
export type SOADocumentUncheckedUpdateWithoutConfigurationInput = {
|
|
1273
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1274
|
+
frameworkId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1275
|
+
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1276
|
+
version?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1277
|
+
isLatest?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1278
|
+
status?: Prisma.EnumSOADocumentStatusFieldUpdateOperationsInput | $Enums.SOADocumentStatus;
|
|
1279
|
+
totalQuestions?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1280
|
+
answeredQuestions?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1281
|
+
preparedBy?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1282
|
+
approverId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1283
|
+
approvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1284
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1285
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1286
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1287
|
+
answers?: Prisma.SOAAnswerUncheckedUpdateManyWithoutDocumentNestedInput;
|
|
1288
|
+
};
|
|
1289
|
+
export type SOADocumentUncheckedUpdateManyWithoutConfigurationInput = {
|
|
1290
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1291
|
+
frameworkId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1292
|
+
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1293
|
+
version?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1294
|
+
isLatest?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1295
|
+
status?: Prisma.EnumSOADocumentStatusFieldUpdateOperationsInput | $Enums.SOADocumentStatus;
|
|
1296
|
+
totalQuestions?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1297
|
+
answeredQuestions?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1298
|
+
preparedBy?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1299
|
+
approverId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1300
|
+
approvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1301
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1302
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1303
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1304
|
+
};
|
|
1305
|
+
/**
|
|
1306
|
+
* Count Type SOADocumentCountOutputType
|
|
1307
|
+
*/
|
|
1308
|
+
export type SOADocumentCountOutputType = {
|
|
1309
|
+
answers: number;
|
|
1310
|
+
};
|
|
1311
|
+
export type SOADocumentCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1312
|
+
answers?: boolean | SOADocumentCountOutputTypeCountAnswersArgs;
|
|
1313
|
+
};
|
|
1314
|
+
/**
|
|
1315
|
+
* SOADocumentCountOutputType without action
|
|
1316
|
+
*/
|
|
1317
|
+
export type SOADocumentCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1318
|
+
/**
|
|
1319
|
+
* Select specific fields to fetch from the SOADocumentCountOutputType
|
|
1320
|
+
*/
|
|
1321
|
+
select?: Prisma.SOADocumentCountOutputTypeSelect<ExtArgs> | null;
|
|
1322
|
+
};
|
|
1323
|
+
/**
|
|
1324
|
+
* SOADocumentCountOutputType without action
|
|
1325
|
+
*/
|
|
1326
|
+
export type SOADocumentCountOutputTypeCountAnswersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1327
|
+
where?: Prisma.SOAAnswerWhereInput;
|
|
1328
|
+
};
|
|
1329
|
+
export type SOADocumentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1330
|
+
id?: boolean;
|
|
1331
|
+
frameworkId?: boolean;
|
|
1332
|
+
organizationId?: boolean;
|
|
1333
|
+
configurationId?: boolean;
|
|
1334
|
+
version?: boolean;
|
|
1335
|
+
isLatest?: boolean;
|
|
1336
|
+
status?: boolean;
|
|
1337
|
+
totalQuestions?: boolean;
|
|
1338
|
+
answeredQuestions?: boolean;
|
|
1339
|
+
preparedBy?: boolean;
|
|
1340
|
+
approverId?: boolean;
|
|
1341
|
+
approvedAt?: boolean;
|
|
1342
|
+
completedAt?: boolean;
|
|
1343
|
+
createdAt?: boolean;
|
|
1344
|
+
updatedAt?: boolean;
|
|
1345
|
+
framework?: boolean | Prisma.FrameworkEditorFrameworkDefaultArgs<ExtArgs>;
|
|
1346
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
1347
|
+
configuration?: boolean | Prisma.SOAFrameworkConfigurationDefaultArgs<ExtArgs>;
|
|
1348
|
+
approver?: boolean | Prisma.SOADocument$approverArgs<ExtArgs>;
|
|
1349
|
+
answers?: boolean | Prisma.SOADocument$answersArgs<ExtArgs>;
|
|
1350
|
+
_count?: boolean | Prisma.SOADocumentCountOutputTypeDefaultArgs<ExtArgs>;
|
|
1351
|
+
}, ExtArgs["result"]["sOADocument"]>;
|
|
1352
|
+
export type SOADocumentSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1353
|
+
id?: boolean;
|
|
1354
|
+
frameworkId?: boolean;
|
|
1355
|
+
organizationId?: boolean;
|
|
1356
|
+
configurationId?: boolean;
|
|
1357
|
+
version?: boolean;
|
|
1358
|
+
isLatest?: boolean;
|
|
1359
|
+
status?: boolean;
|
|
1360
|
+
totalQuestions?: boolean;
|
|
1361
|
+
answeredQuestions?: boolean;
|
|
1362
|
+
preparedBy?: boolean;
|
|
1363
|
+
approverId?: boolean;
|
|
1364
|
+
approvedAt?: boolean;
|
|
1365
|
+
completedAt?: boolean;
|
|
1366
|
+
createdAt?: boolean;
|
|
1367
|
+
updatedAt?: boolean;
|
|
1368
|
+
framework?: boolean | Prisma.FrameworkEditorFrameworkDefaultArgs<ExtArgs>;
|
|
1369
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
1370
|
+
configuration?: boolean | Prisma.SOAFrameworkConfigurationDefaultArgs<ExtArgs>;
|
|
1371
|
+
approver?: boolean | Prisma.SOADocument$approverArgs<ExtArgs>;
|
|
1372
|
+
}, ExtArgs["result"]["sOADocument"]>;
|
|
1373
|
+
export type SOADocumentSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1374
|
+
id?: boolean;
|
|
1375
|
+
frameworkId?: boolean;
|
|
1376
|
+
organizationId?: boolean;
|
|
1377
|
+
configurationId?: boolean;
|
|
1378
|
+
version?: boolean;
|
|
1379
|
+
isLatest?: boolean;
|
|
1380
|
+
status?: boolean;
|
|
1381
|
+
totalQuestions?: boolean;
|
|
1382
|
+
answeredQuestions?: boolean;
|
|
1383
|
+
preparedBy?: boolean;
|
|
1384
|
+
approverId?: boolean;
|
|
1385
|
+
approvedAt?: boolean;
|
|
1386
|
+
completedAt?: boolean;
|
|
1387
|
+
createdAt?: boolean;
|
|
1388
|
+
updatedAt?: boolean;
|
|
1389
|
+
framework?: boolean | Prisma.FrameworkEditorFrameworkDefaultArgs<ExtArgs>;
|
|
1390
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
1391
|
+
configuration?: boolean | Prisma.SOAFrameworkConfigurationDefaultArgs<ExtArgs>;
|
|
1392
|
+
approver?: boolean | Prisma.SOADocument$approverArgs<ExtArgs>;
|
|
1393
|
+
}, ExtArgs["result"]["sOADocument"]>;
|
|
1394
|
+
export type SOADocumentSelectScalar = {
|
|
1395
|
+
id?: boolean;
|
|
1396
|
+
frameworkId?: boolean;
|
|
1397
|
+
organizationId?: boolean;
|
|
1398
|
+
configurationId?: boolean;
|
|
1399
|
+
version?: boolean;
|
|
1400
|
+
isLatest?: boolean;
|
|
1401
|
+
status?: boolean;
|
|
1402
|
+
totalQuestions?: boolean;
|
|
1403
|
+
answeredQuestions?: boolean;
|
|
1404
|
+
preparedBy?: boolean;
|
|
1405
|
+
approverId?: boolean;
|
|
1406
|
+
approvedAt?: boolean;
|
|
1407
|
+
completedAt?: boolean;
|
|
1408
|
+
createdAt?: boolean;
|
|
1409
|
+
updatedAt?: boolean;
|
|
1410
|
+
};
|
|
1411
|
+
export type SOADocumentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "frameworkId" | "organizationId" | "configurationId" | "version" | "isLatest" | "status" | "totalQuestions" | "answeredQuestions" | "preparedBy" | "approverId" | "approvedAt" | "completedAt" | "createdAt" | "updatedAt", ExtArgs["result"]["sOADocument"]>;
|
|
1412
|
+
export type SOADocumentInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1413
|
+
framework?: boolean | Prisma.FrameworkEditorFrameworkDefaultArgs<ExtArgs>;
|
|
1414
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
1415
|
+
configuration?: boolean | Prisma.SOAFrameworkConfigurationDefaultArgs<ExtArgs>;
|
|
1416
|
+
approver?: boolean | Prisma.SOADocument$approverArgs<ExtArgs>;
|
|
1417
|
+
answers?: boolean | Prisma.SOADocument$answersArgs<ExtArgs>;
|
|
1418
|
+
_count?: boolean | Prisma.SOADocumentCountOutputTypeDefaultArgs<ExtArgs>;
|
|
1419
|
+
};
|
|
1420
|
+
export type SOADocumentIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1421
|
+
framework?: boolean | Prisma.FrameworkEditorFrameworkDefaultArgs<ExtArgs>;
|
|
1422
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
1423
|
+
configuration?: boolean | Prisma.SOAFrameworkConfigurationDefaultArgs<ExtArgs>;
|
|
1424
|
+
approver?: boolean | Prisma.SOADocument$approverArgs<ExtArgs>;
|
|
1425
|
+
};
|
|
1426
|
+
export type SOADocumentIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1427
|
+
framework?: boolean | Prisma.FrameworkEditorFrameworkDefaultArgs<ExtArgs>;
|
|
1428
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
1429
|
+
configuration?: boolean | Prisma.SOAFrameworkConfigurationDefaultArgs<ExtArgs>;
|
|
1430
|
+
approver?: boolean | Prisma.SOADocument$approverArgs<ExtArgs>;
|
|
1431
|
+
};
|
|
1432
|
+
export type $SOADocumentPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1433
|
+
name: "SOADocument";
|
|
1434
|
+
objects: {
|
|
1435
|
+
framework: Prisma.$FrameworkEditorFrameworkPayload<ExtArgs>;
|
|
1436
|
+
organization: Prisma.$OrganizationPayload<ExtArgs>;
|
|
1437
|
+
configuration: Prisma.$SOAFrameworkConfigurationPayload<ExtArgs>;
|
|
1438
|
+
approver: Prisma.$MemberPayload<ExtArgs> | null;
|
|
1439
|
+
answers: Prisma.$SOAAnswerPayload<ExtArgs>[];
|
|
1440
|
+
};
|
|
1441
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
1442
|
+
id: string;
|
|
1443
|
+
frameworkId: string;
|
|
1444
|
+
organizationId: string;
|
|
1445
|
+
configurationId: string;
|
|
1446
|
+
version: number;
|
|
1447
|
+
isLatest: boolean;
|
|
1448
|
+
status: $Enums.SOADocumentStatus;
|
|
1449
|
+
totalQuestions: number;
|
|
1450
|
+
answeredQuestions: number;
|
|
1451
|
+
preparedBy: string;
|
|
1452
|
+
approverId: string | null;
|
|
1453
|
+
approvedAt: Date | null;
|
|
1454
|
+
completedAt: Date | null;
|
|
1455
|
+
createdAt: Date;
|
|
1456
|
+
updatedAt: Date;
|
|
1457
|
+
}, ExtArgs["result"]["sOADocument"]>;
|
|
1458
|
+
composites: {};
|
|
1459
|
+
};
|
|
1460
|
+
export type SOADocumentGetPayload<S extends boolean | null | undefined | SOADocumentDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$SOADocumentPayload, S>;
|
|
1461
|
+
export type SOADocumentCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<SOADocumentFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
1462
|
+
select?: SOADocumentCountAggregateInputType | true;
|
|
1463
|
+
};
|
|
1464
|
+
export interface SOADocumentDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
1465
|
+
[K: symbol]: {
|
|
1466
|
+
types: Prisma.TypeMap<ExtArgs>['model']['SOADocument'];
|
|
1467
|
+
meta: {
|
|
1468
|
+
name: 'SOADocument';
|
|
1469
|
+
};
|
|
1470
|
+
};
|
|
1471
|
+
/**
|
|
1472
|
+
* Find zero or one SOADocument that matches the filter.
|
|
1473
|
+
* @param {SOADocumentFindUniqueArgs} args - Arguments to find a SOADocument
|
|
1474
|
+
* @example
|
|
1475
|
+
* // Get one SOADocument
|
|
1476
|
+
* const sOADocument = await prisma.sOADocument.findUnique({
|
|
1477
|
+
* where: {
|
|
1478
|
+
* // ... provide filter here
|
|
1479
|
+
* }
|
|
1480
|
+
* })
|
|
1481
|
+
*/
|
|
1482
|
+
findUnique<T extends SOADocumentFindUniqueArgs>(args: Prisma.SelectSubset<T, SOADocumentFindUniqueArgs<ExtArgs>>): Prisma.Prisma__SOADocumentClient<runtime.Types.Result.GetResult<Prisma.$SOADocumentPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1483
|
+
/**
|
|
1484
|
+
* Find one SOADocument that matches the filter or throw an error with `error.code='P2025'`
|
|
1485
|
+
* if no matches were found.
|
|
1486
|
+
* @param {SOADocumentFindUniqueOrThrowArgs} args - Arguments to find a SOADocument
|
|
1487
|
+
* @example
|
|
1488
|
+
* // Get one SOADocument
|
|
1489
|
+
* const sOADocument = await prisma.sOADocument.findUniqueOrThrow({
|
|
1490
|
+
* where: {
|
|
1491
|
+
* // ... provide filter here
|
|
1492
|
+
* }
|
|
1493
|
+
* })
|
|
1494
|
+
*/
|
|
1495
|
+
findUniqueOrThrow<T extends SOADocumentFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, SOADocumentFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__SOADocumentClient<runtime.Types.Result.GetResult<Prisma.$SOADocumentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1496
|
+
/**
|
|
1497
|
+
* Find the first SOADocument that matches the filter.
|
|
1498
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1499
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1500
|
+
* @param {SOADocumentFindFirstArgs} args - Arguments to find a SOADocument
|
|
1501
|
+
* @example
|
|
1502
|
+
* // Get one SOADocument
|
|
1503
|
+
* const sOADocument = await prisma.sOADocument.findFirst({
|
|
1504
|
+
* where: {
|
|
1505
|
+
* // ... provide filter here
|
|
1506
|
+
* }
|
|
1507
|
+
* })
|
|
1508
|
+
*/
|
|
1509
|
+
findFirst<T extends SOADocumentFindFirstArgs>(args?: Prisma.SelectSubset<T, SOADocumentFindFirstArgs<ExtArgs>>): Prisma.Prisma__SOADocumentClient<runtime.Types.Result.GetResult<Prisma.$SOADocumentPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1510
|
+
/**
|
|
1511
|
+
* Find the first SOADocument that matches the filter or
|
|
1512
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
1513
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1514
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1515
|
+
* @param {SOADocumentFindFirstOrThrowArgs} args - Arguments to find a SOADocument
|
|
1516
|
+
* @example
|
|
1517
|
+
* // Get one SOADocument
|
|
1518
|
+
* const sOADocument = await prisma.sOADocument.findFirstOrThrow({
|
|
1519
|
+
* where: {
|
|
1520
|
+
* // ... provide filter here
|
|
1521
|
+
* }
|
|
1522
|
+
* })
|
|
1523
|
+
*/
|
|
1524
|
+
findFirstOrThrow<T extends SOADocumentFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, SOADocumentFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__SOADocumentClient<runtime.Types.Result.GetResult<Prisma.$SOADocumentPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1525
|
+
/**
|
|
1526
|
+
* Find zero or more SOADocuments that matches the filter.
|
|
1527
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1528
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1529
|
+
* @param {SOADocumentFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
1530
|
+
* @example
|
|
1531
|
+
* // Get all SOADocuments
|
|
1532
|
+
* const sOADocuments = await prisma.sOADocument.findMany()
|
|
1533
|
+
*
|
|
1534
|
+
* // Get first 10 SOADocuments
|
|
1535
|
+
* const sOADocuments = await prisma.sOADocument.findMany({ take: 10 })
|
|
1536
|
+
*
|
|
1537
|
+
* // Only select the `id`
|
|
1538
|
+
* const sOADocumentWithIdOnly = await prisma.sOADocument.findMany({ select: { id: true } })
|
|
1539
|
+
*
|
|
1540
|
+
*/
|
|
1541
|
+
findMany<T extends SOADocumentFindManyArgs>(args?: Prisma.SelectSubset<T, SOADocumentFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SOADocumentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
1542
|
+
/**
|
|
1543
|
+
* Create a SOADocument.
|
|
1544
|
+
* @param {SOADocumentCreateArgs} args - Arguments to create a SOADocument.
|
|
1545
|
+
* @example
|
|
1546
|
+
* // Create one SOADocument
|
|
1547
|
+
* const SOADocument = await prisma.sOADocument.create({
|
|
1548
|
+
* data: {
|
|
1549
|
+
* // ... data to create a SOADocument
|
|
1550
|
+
* }
|
|
1551
|
+
* })
|
|
1552
|
+
*
|
|
1553
|
+
*/
|
|
1554
|
+
create<T extends SOADocumentCreateArgs>(args: Prisma.SelectSubset<T, SOADocumentCreateArgs<ExtArgs>>): Prisma.Prisma__SOADocumentClient<runtime.Types.Result.GetResult<Prisma.$SOADocumentPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1555
|
+
/**
|
|
1556
|
+
* Create many SOADocuments.
|
|
1557
|
+
* @param {SOADocumentCreateManyArgs} args - Arguments to create many SOADocuments.
|
|
1558
|
+
* @example
|
|
1559
|
+
* // Create many SOADocuments
|
|
1560
|
+
* const sOADocument = await prisma.sOADocument.createMany({
|
|
1561
|
+
* data: [
|
|
1562
|
+
* // ... provide data here
|
|
1563
|
+
* ]
|
|
1564
|
+
* })
|
|
1565
|
+
*
|
|
1566
|
+
*/
|
|
1567
|
+
createMany<T extends SOADocumentCreateManyArgs>(args?: Prisma.SelectSubset<T, SOADocumentCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1568
|
+
/**
|
|
1569
|
+
* Create many SOADocuments and returns the data saved in the database.
|
|
1570
|
+
* @param {SOADocumentCreateManyAndReturnArgs} args - Arguments to create many SOADocuments.
|
|
1571
|
+
* @example
|
|
1572
|
+
* // Create many SOADocuments
|
|
1573
|
+
* const sOADocument = await prisma.sOADocument.createManyAndReturn({
|
|
1574
|
+
* data: [
|
|
1575
|
+
* // ... provide data here
|
|
1576
|
+
* ]
|
|
1577
|
+
* })
|
|
1578
|
+
*
|
|
1579
|
+
* // Create many SOADocuments and only return the `id`
|
|
1580
|
+
* const sOADocumentWithIdOnly = await prisma.sOADocument.createManyAndReturn({
|
|
1581
|
+
* select: { id: true },
|
|
1582
|
+
* data: [
|
|
1583
|
+
* // ... provide data here
|
|
1584
|
+
* ]
|
|
1585
|
+
* })
|
|
1586
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1587
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1588
|
+
*
|
|
1589
|
+
*/
|
|
1590
|
+
createManyAndReturn<T extends SOADocumentCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, SOADocumentCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SOADocumentPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
1591
|
+
/**
|
|
1592
|
+
* Delete a SOADocument.
|
|
1593
|
+
* @param {SOADocumentDeleteArgs} args - Arguments to delete one SOADocument.
|
|
1594
|
+
* @example
|
|
1595
|
+
* // Delete one SOADocument
|
|
1596
|
+
* const SOADocument = await prisma.sOADocument.delete({
|
|
1597
|
+
* where: {
|
|
1598
|
+
* // ... filter to delete one SOADocument
|
|
1599
|
+
* }
|
|
1600
|
+
* })
|
|
1601
|
+
*
|
|
1602
|
+
*/
|
|
1603
|
+
delete<T extends SOADocumentDeleteArgs>(args: Prisma.SelectSubset<T, SOADocumentDeleteArgs<ExtArgs>>): Prisma.Prisma__SOADocumentClient<runtime.Types.Result.GetResult<Prisma.$SOADocumentPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1604
|
+
/**
|
|
1605
|
+
* Update one SOADocument.
|
|
1606
|
+
* @param {SOADocumentUpdateArgs} args - Arguments to update one SOADocument.
|
|
1607
|
+
* @example
|
|
1608
|
+
* // Update one SOADocument
|
|
1609
|
+
* const sOADocument = await prisma.sOADocument.update({
|
|
1610
|
+
* where: {
|
|
1611
|
+
* // ... provide filter here
|
|
1612
|
+
* },
|
|
1613
|
+
* data: {
|
|
1614
|
+
* // ... provide data here
|
|
1615
|
+
* }
|
|
1616
|
+
* })
|
|
1617
|
+
*
|
|
1618
|
+
*/
|
|
1619
|
+
update<T extends SOADocumentUpdateArgs>(args: Prisma.SelectSubset<T, SOADocumentUpdateArgs<ExtArgs>>): Prisma.Prisma__SOADocumentClient<runtime.Types.Result.GetResult<Prisma.$SOADocumentPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1620
|
+
/**
|
|
1621
|
+
* Delete zero or more SOADocuments.
|
|
1622
|
+
* @param {SOADocumentDeleteManyArgs} args - Arguments to filter SOADocuments to delete.
|
|
1623
|
+
* @example
|
|
1624
|
+
* // Delete a few SOADocuments
|
|
1625
|
+
* const { count } = await prisma.sOADocument.deleteMany({
|
|
1626
|
+
* where: {
|
|
1627
|
+
* // ... provide filter here
|
|
1628
|
+
* }
|
|
1629
|
+
* })
|
|
1630
|
+
*
|
|
1631
|
+
*/
|
|
1632
|
+
deleteMany<T extends SOADocumentDeleteManyArgs>(args?: Prisma.SelectSubset<T, SOADocumentDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1633
|
+
/**
|
|
1634
|
+
* Update zero or more SOADocuments.
|
|
1635
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1636
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1637
|
+
* @param {SOADocumentUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1638
|
+
* @example
|
|
1639
|
+
* // Update many SOADocuments
|
|
1640
|
+
* const sOADocument = await prisma.sOADocument.updateMany({
|
|
1641
|
+
* where: {
|
|
1642
|
+
* // ... provide filter here
|
|
1643
|
+
* },
|
|
1644
|
+
* data: {
|
|
1645
|
+
* // ... provide data here
|
|
1646
|
+
* }
|
|
1647
|
+
* })
|
|
1648
|
+
*
|
|
1649
|
+
*/
|
|
1650
|
+
updateMany<T extends SOADocumentUpdateManyArgs>(args: Prisma.SelectSubset<T, SOADocumentUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1651
|
+
/**
|
|
1652
|
+
* Update zero or more SOADocuments and returns the data updated in the database.
|
|
1653
|
+
* @param {SOADocumentUpdateManyAndReturnArgs} args - Arguments to update many SOADocuments.
|
|
1654
|
+
* @example
|
|
1655
|
+
* // Update many SOADocuments
|
|
1656
|
+
* const sOADocument = await prisma.sOADocument.updateManyAndReturn({
|
|
1657
|
+
* where: {
|
|
1658
|
+
* // ... provide filter here
|
|
1659
|
+
* },
|
|
1660
|
+
* data: [
|
|
1661
|
+
* // ... provide data here
|
|
1662
|
+
* ]
|
|
1663
|
+
* })
|
|
1664
|
+
*
|
|
1665
|
+
* // Update zero or more SOADocuments and only return the `id`
|
|
1666
|
+
* const sOADocumentWithIdOnly = await prisma.sOADocument.updateManyAndReturn({
|
|
1667
|
+
* select: { id: true },
|
|
1668
|
+
* where: {
|
|
1669
|
+
* // ... provide filter here
|
|
1670
|
+
* },
|
|
1671
|
+
* data: [
|
|
1672
|
+
* // ... provide data here
|
|
1673
|
+
* ]
|
|
1674
|
+
* })
|
|
1675
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1676
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1677
|
+
*
|
|
1678
|
+
*/
|
|
1679
|
+
updateManyAndReturn<T extends SOADocumentUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, SOADocumentUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SOADocumentPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
1680
|
+
/**
|
|
1681
|
+
* Create or update one SOADocument.
|
|
1682
|
+
* @param {SOADocumentUpsertArgs} args - Arguments to update or create a SOADocument.
|
|
1683
|
+
* @example
|
|
1684
|
+
* // Update or create a SOADocument
|
|
1685
|
+
* const sOADocument = await prisma.sOADocument.upsert({
|
|
1686
|
+
* create: {
|
|
1687
|
+
* // ... data to create a SOADocument
|
|
1688
|
+
* },
|
|
1689
|
+
* update: {
|
|
1690
|
+
* // ... in case it already exists, update
|
|
1691
|
+
* },
|
|
1692
|
+
* where: {
|
|
1693
|
+
* // ... the filter for the SOADocument we want to update
|
|
1694
|
+
* }
|
|
1695
|
+
* })
|
|
1696
|
+
*/
|
|
1697
|
+
upsert<T extends SOADocumentUpsertArgs>(args: Prisma.SelectSubset<T, SOADocumentUpsertArgs<ExtArgs>>): Prisma.Prisma__SOADocumentClient<runtime.Types.Result.GetResult<Prisma.$SOADocumentPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1698
|
+
/**
|
|
1699
|
+
* Count the number of SOADocuments.
|
|
1700
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1701
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1702
|
+
* @param {SOADocumentCountArgs} args - Arguments to filter SOADocuments to count.
|
|
1703
|
+
* @example
|
|
1704
|
+
* // Count the number of SOADocuments
|
|
1705
|
+
* const count = await prisma.sOADocument.count({
|
|
1706
|
+
* where: {
|
|
1707
|
+
* // ... the filter for the SOADocuments we want to count
|
|
1708
|
+
* }
|
|
1709
|
+
* })
|
|
1710
|
+
**/
|
|
1711
|
+
count<T extends SOADocumentCountArgs>(args?: Prisma.Subset<T, SOADocumentCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], SOADocumentCountAggregateOutputType> : number>;
|
|
1712
|
+
/**
|
|
1713
|
+
* Allows you to perform aggregations operations on a SOADocument.
|
|
1714
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1715
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1716
|
+
* @param {SOADocumentAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1717
|
+
* @example
|
|
1718
|
+
* // Ordered by age ascending
|
|
1719
|
+
* // Where email contains prisma.io
|
|
1720
|
+
* // Limited to the 10 users
|
|
1721
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1722
|
+
* _avg: {
|
|
1723
|
+
* age: true,
|
|
1724
|
+
* },
|
|
1725
|
+
* where: {
|
|
1726
|
+
* email: {
|
|
1727
|
+
* contains: "prisma.io",
|
|
1728
|
+
* },
|
|
1729
|
+
* },
|
|
1730
|
+
* orderBy: {
|
|
1731
|
+
* age: "asc",
|
|
1732
|
+
* },
|
|
1733
|
+
* take: 10,
|
|
1734
|
+
* })
|
|
1735
|
+
**/
|
|
1736
|
+
aggregate<T extends SOADocumentAggregateArgs>(args: Prisma.Subset<T, SOADocumentAggregateArgs>): Prisma.PrismaPromise<GetSOADocumentAggregateType<T>>;
|
|
1737
|
+
/**
|
|
1738
|
+
* Group by SOADocument.
|
|
1739
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1740
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1741
|
+
* @param {SOADocumentGroupByArgs} args - Group by arguments.
|
|
1742
|
+
* @example
|
|
1743
|
+
* // Group by city, order by createdAt, get count
|
|
1744
|
+
* const result = await prisma.user.groupBy({
|
|
1745
|
+
* by: ['city', 'createdAt'],
|
|
1746
|
+
* orderBy: {
|
|
1747
|
+
* createdAt: true
|
|
1748
|
+
* },
|
|
1749
|
+
* _count: {
|
|
1750
|
+
* _all: true
|
|
1751
|
+
* },
|
|
1752
|
+
* })
|
|
1753
|
+
*
|
|
1754
|
+
**/
|
|
1755
|
+
groupBy<T extends SOADocumentGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
1756
|
+
orderBy: SOADocumentGroupByArgs['orderBy'];
|
|
1757
|
+
} : {
|
|
1758
|
+
orderBy?: SOADocumentGroupByArgs['orderBy'];
|
|
1759
|
+
}, 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 ? {
|
|
1760
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
1761
|
+
Error,
|
|
1762
|
+
'Field ',
|
|
1763
|
+
P,
|
|
1764
|
+
` in "having" needs to be provided in "by"`
|
|
1765
|
+
];
|
|
1766
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
1767
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1768
|
+
}[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 ? {} : {
|
|
1769
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1770
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
1771
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1772
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, SOADocumentGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetSOADocumentGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
1773
|
+
/**
|
|
1774
|
+
* Fields of the SOADocument model
|
|
1775
|
+
*/
|
|
1776
|
+
readonly fields: SOADocumentFieldRefs;
|
|
1777
|
+
}
|
|
1778
|
+
/**
|
|
1779
|
+
* The delegate class that acts as a "Promise-like" for SOADocument.
|
|
1780
|
+
* Why is this prefixed with `Prisma__`?
|
|
1781
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1782
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1783
|
+
*/
|
|
1784
|
+
export interface Prisma__SOADocumentClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1785
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1786
|
+
framework<T extends Prisma.FrameworkEditorFrameworkDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.FrameworkEditorFrameworkDefaultArgs<ExtArgs>>): Prisma.Prisma__FrameworkEditorFrameworkClient<runtime.Types.Result.GetResult<Prisma.$FrameworkEditorFrameworkPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1787
|
+
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>;
|
|
1788
|
+
configuration<T extends Prisma.SOAFrameworkConfigurationDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.SOAFrameworkConfigurationDefaultArgs<ExtArgs>>): Prisma.Prisma__SOAFrameworkConfigurationClient<runtime.Types.Result.GetResult<Prisma.$SOAFrameworkConfigurationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1789
|
+
approver<T extends Prisma.SOADocument$approverArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.SOADocument$approverArgs<ExtArgs>>): Prisma.Prisma__MemberClient<runtime.Types.Result.GetResult<Prisma.$MemberPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1790
|
+
answers<T extends Prisma.SOADocument$answersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.SOADocument$answersArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SOAAnswerPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1791
|
+
/**
|
|
1792
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1793
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1794
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1795
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1796
|
+
*/
|
|
1797
|
+
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>;
|
|
1798
|
+
/**
|
|
1799
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1800
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1801
|
+
* @returns A Promise for the completion of the callback.
|
|
1802
|
+
*/
|
|
1803
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
1804
|
+
/**
|
|
1805
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1806
|
+
* resolved value cannot be modified from the callback.
|
|
1807
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1808
|
+
* @returns A Promise for the completion of the callback.
|
|
1809
|
+
*/
|
|
1810
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
1811
|
+
}
|
|
1812
|
+
/**
|
|
1813
|
+
* Fields of the SOADocument model
|
|
1814
|
+
*/
|
|
1815
|
+
export interface SOADocumentFieldRefs {
|
|
1816
|
+
readonly id: Prisma.FieldRef<"SOADocument", 'String'>;
|
|
1817
|
+
readonly frameworkId: Prisma.FieldRef<"SOADocument", 'String'>;
|
|
1818
|
+
readonly organizationId: Prisma.FieldRef<"SOADocument", 'String'>;
|
|
1819
|
+
readonly configurationId: Prisma.FieldRef<"SOADocument", 'String'>;
|
|
1820
|
+
readonly version: Prisma.FieldRef<"SOADocument", 'Int'>;
|
|
1821
|
+
readonly isLatest: Prisma.FieldRef<"SOADocument", 'Boolean'>;
|
|
1822
|
+
readonly status: Prisma.FieldRef<"SOADocument", 'SOADocumentStatus'>;
|
|
1823
|
+
readonly totalQuestions: Prisma.FieldRef<"SOADocument", 'Int'>;
|
|
1824
|
+
readonly answeredQuestions: Prisma.FieldRef<"SOADocument", 'Int'>;
|
|
1825
|
+
readonly preparedBy: Prisma.FieldRef<"SOADocument", 'String'>;
|
|
1826
|
+
readonly approverId: Prisma.FieldRef<"SOADocument", 'String'>;
|
|
1827
|
+
readonly approvedAt: Prisma.FieldRef<"SOADocument", 'DateTime'>;
|
|
1828
|
+
readonly completedAt: Prisma.FieldRef<"SOADocument", 'DateTime'>;
|
|
1829
|
+
readonly createdAt: Prisma.FieldRef<"SOADocument", 'DateTime'>;
|
|
1830
|
+
readonly updatedAt: Prisma.FieldRef<"SOADocument", 'DateTime'>;
|
|
1831
|
+
}
|
|
1832
|
+
/**
|
|
1833
|
+
* SOADocument findUnique
|
|
1834
|
+
*/
|
|
1835
|
+
export type SOADocumentFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1836
|
+
/**
|
|
1837
|
+
* Select specific fields to fetch from the SOADocument
|
|
1838
|
+
*/
|
|
1839
|
+
select?: Prisma.SOADocumentSelect<ExtArgs> | null;
|
|
1840
|
+
/**
|
|
1841
|
+
* Omit specific fields from the SOADocument
|
|
1842
|
+
*/
|
|
1843
|
+
omit?: Prisma.SOADocumentOmit<ExtArgs> | null;
|
|
1844
|
+
/**
|
|
1845
|
+
* Choose, which related nodes to fetch as well
|
|
1846
|
+
*/
|
|
1847
|
+
include?: Prisma.SOADocumentInclude<ExtArgs> | null;
|
|
1848
|
+
/**
|
|
1849
|
+
* Filter, which SOADocument to fetch.
|
|
1850
|
+
*/
|
|
1851
|
+
where: Prisma.SOADocumentWhereUniqueInput;
|
|
1852
|
+
};
|
|
1853
|
+
/**
|
|
1854
|
+
* SOADocument findUniqueOrThrow
|
|
1855
|
+
*/
|
|
1856
|
+
export type SOADocumentFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1857
|
+
/**
|
|
1858
|
+
* Select specific fields to fetch from the SOADocument
|
|
1859
|
+
*/
|
|
1860
|
+
select?: Prisma.SOADocumentSelect<ExtArgs> | null;
|
|
1861
|
+
/**
|
|
1862
|
+
* Omit specific fields from the SOADocument
|
|
1863
|
+
*/
|
|
1864
|
+
omit?: Prisma.SOADocumentOmit<ExtArgs> | null;
|
|
1865
|
+
/**
|
|
1866
|
+
* Choose, which related nodes to fetch as well
|
|
1867
|
+
*/
|
|
1868
|
+
include?: Prisma.SOADocumentInclude<ExtArgs> | null;
|
|
1869
|
+
/**
|
|
1870
|
+
* Filter, which SOADocument to fetch.
|
|
1871
|
+
*/
|
|
1872
|
+
where: Prisma.SOADocumentWhereUniqueInput;
|
|
1873
|
+
};
|
|
1874
|
+
/**
|
|
1875
|
+
* SOADocument findFirst
|
|
1876
|
+
*/
|
|
1877
|
+
export type SOADocumentFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1878
|
+
/**
|
|
1879
|
+
* Select specific fields to fetch from the SOADocument
|
|
1880
|
+
*/
|
|
1881
|
+
select?: Prisma.SOADocumentSelect<ExtArgs> | null;
|
|
1882
|
+
/**
|
|
1883
|
+
* Omit specific fields from the SOADocument
|
|
1884
|
+
*/
|
|
1885
|
+
omit?: Prisma.SOADocumentOmit<ExtArgs> | null;
|
|
1886
|
+
/**
|
|
1887
|
+
* Choose, which related nodes to fetch as well
|
|
1888
|
+
*/
|
|
1889
|
+
include?: Prisma.SOADocumentInclude<ExtArgs> | null;
|
|
1890
|
+
/**
|
|
1891
|
+
* Filter, which SOADocument to fetch.
|
|
1892
|
+
*/
|
|
1893
|
+
where?: Prisma.SOADocumentWhereInput;
|
|
1894
|
+
/**
|
|
1895
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1896
|
+
*
|
|
1897
|
+
* Determine the order of SOADocuments to fetch.
|
|
1898
|
+
*/
|
|
1899
|
+
orderBy?: Prisma.SOADocumentOrderByWithRelationInput | Prisma.SOADocumentOrderByWithRelationInput[];
|
|
1900
|
+
/**
|
|
1901
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1902
|
+
*
|
|
1903
|
+
* Sets the position for searching for SOADocuments.
|
|
1904
|
+
*/
|
|
1905
|
+
cursor?: Prisma.SOADocumentWhereUniqueInput;
|
|
1906
|
+
/**
|
|
1907
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1908
|
+
*
|
|
1909
|
+
* Take `±n` SOADocuments from the position of the cursor.
|
|
1910
|
+
*/
|
|
1911
|
+
take?: number;
|
|
1912
|
+
/**
|
|
1913
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1914
|
+
*
|
|
1915
|
+
* Skip the first `n` SOADocuments.
|
|
1916
|
+
*/
|
|
1917
|
+
skip?: number;
|
|
1918
|
+
/**
|
|
1919
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1920
|
+
*
|
|
1921
|
+
* Filter by unique combinations of SOADocuments.
|
|
1922
|
+
*/
|
|
1923
|
+
distinct?: Prisma.SOADocumentScalarFieldEnum | Prisma.SOADocumentScalarFieldEnum[];
|
|
1924
|
+
};
|
|
1925
|
+
/**
|
|
1926
|
+
* SOADocument findFirstOrThrow
|
|
1927
|
+
*/
|
|
1928
|
+
export type SOADocumentFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1929
|
+
/**
|
|
1930
|
+
* Select specific fields to fetch from the SOADocument
|
|
1931
|
+
*/
|
|
1932
|
+
select?: Prisma.SOADocumentSelect<ExtArgs> | null;
|
|
1933
|
+
/**
|
|
1934
|
+
* Omit specific fields from the SOADocument
|
|
1935
|
+
*/
|
|
1936
|
+
omit?: Prisma.SOADocumentOmit<ExtArgs> | null;
|
|
1937
|
+
/**
|
|
1938
|
+
* Choose, which related nodes to fetch as well
|
|
1939
|
+
*/
|
|
1940
|
+
include?: Prisma.SOADocumentInclude<ExtArgs> | null;
|
|
1941
|
+
/**
|
|
1942
|
+
* Filter, which SOADocument to fetch.
|
|
1943
|
+
*/
|
|
1944
|
+
where?: Prisma.SOADocumentWhereInput;
|
|
1945
|
+
/**
|
|
1946
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1947
|
+
*
|
|
1948
|
+
* Determine the order of SOADocuments to fetch.
|
|
1949
|
+
*/
|
|
1950
|
+
orderBy?: Prisma.SOADocumentOrderByWithRelationInput | Prisma.SOADocumentOrderByWithRelationInput[];
|
|
1951
|
+
/**
|
|
1952
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1953
|
+
*
|
|
1954
|
+
* Sets the position for searching for SOADocuments.
|
|
1955
|
+
*/
|
|
1956
|
+
cursor?: Prisma.SOADocumentWhereUniqueInput;
|
|
1957
|
+
/**
|
|
1958
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1959
|
+
*
|
|
1960
|
+
* Take `±n` SOADocuments from the position of the cursor.
|
|
1961
|
+
*/
|
|
1962
|
+
take?: number;
|
|
1963
|
+
/**
|
|
1964
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1965
|
+
*
|
|
1966
|
+
* Skip the first `n` SOADocuments.
|
|
1967
|
+
*/
|
|
1968
|
+
skip?: number;
|
|
1969
|
+
/**
|
|
1970
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1971
|
+
*
|
|
1972
|
+
* Filter by unique combinations of SOADocuments.
|
|
1973
|
+
*/
|
|
1974
|
+
distinct?: Prisma.SOADocumentScalarFieldEnum | Prisma.SOADocumentScalarFieldEnum[];
|
|
1975
|
+
};
|
|
1976
|
+
/**
|
|
1977
|
+
* SOADocument findMany
|
|
1978
|
+
*/
|
|
1979
|
+
export type SOADocumentFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1980
|
+
/**
|
|
1981
|
+
* Select specific fields to fetch from the SOADocument
|
|
1982
|
+
*/
|
|
1983
|
+
select?: Prisma.SOADocumentSelect<ExtArgs> | null;
|
|
1984
|
+
/**
|
|
1985
|
+
* Omit specific fields from the SOADocument
|
|
1986
|
+
*/
|
|
1987
|
+
omit?: Prisma.SOADocumentOmit<ExtArgs> | null;
|
|
1988
|
+
/**
|
|
1989
|
+
* Choose, which related nodes to fetch as well
|
|
1990
|
+
*/
|
|
1991
|
+
include?: Prisma.SOADocumentInclude<ExtArgs> | null;
|
|
1992
|
+
/**
|
|
1993
|
+
* Filter, which SOADocuments to fetch.
|
|
1994
|
+
*/
|
|
1995
|
+
where?: Prisma.SOADocumentWhereInput;
|
|
1996
|
+
/**
|
|
1997
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1998
|
+
*
|
|
1999
|
+
* Determine the order of SOADocuments to fetch.
|
|
2000
|
+
*/
|
|
2001
|
+
orderBy?: Prisma.SOADocumentOrderByWithRelationInput | Prisma.SOADocumentOrderByWithRelationInput[];
|
|
2002
|
+
/**
|
|
2003
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2004
|
+
*
|
|
2005
|
+
* Sets the position for listing SOADocuments.
|
|
2006
|
+
*/
|
|
2007
|
+
cursor?: Prisma.SOADocumentWhereUniqueInput;
|
|
2008
|
+
/**
|
|
2009
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2010
|
+
*
|
|
2011
|
+
* Take `±n` SOADocuments from the position of the cursor.
|
|
2012
|
+
*/
|
|
2013
|
+
take?: number;
|
|
2014
|
+
/**
|
|
2015
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2016
|
+
*
|
|
2017
|
+
* Skip the first `n` SOADocuments.
|
|
2018
|
+
*/
|
|
2019
|
+
skip?: number;
|
|
2020
|
+
/**
|
|
2021
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
2022
|
+
*
|
|
2023
|
+
* Filter by unique combinations of SOADocuments.
|
|
2024
|
+
*/
|
|
2025
|
+
distinct?: Prisma.SOADocumentScalarFieldEnum | Prisma.SOADocumentScalarFieldEnum[];
|
|
2026
|
+
};
|
|
2027
|
+
/**
|
|
2028
|
+
* SOADocument create
|
|
2029
|
+
*/
|
|
2030
|
+
export type SOADocumentCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2031
|
+
/**
|
|
2032
|
+
* Select specific fields to fetch from the SOADocument
|
|
2033
|
+
*/
|
|
2034
|
+
select?: Prisma.SOADocumentSelect<ExtArgs> | null;
|
|
2035
|
+
/**
|
|
2036
|
+
* Omit specific fields from the SOADocument
|
|
2037
|
+
*/
|
|
2038
|
+
omit?: Prisma.SOADocumentOmit<ExtArgs> | null;
|
|
2039
|
+
/**
|
|
2040
|
+
* Choose, which related nodes to fetch as well
|
|
2041
|
+
*/
|
|
2042
|
+
include?: Prisma.SOADocumentInclude<ExtArgs> | null;
|
|
2043
|
+
/**
|
|
2044
|
+
* The data needed to create a SOADocument.
|
|
2045
|
+
*/
|
|
2046
|
+
data: Prisma.XOR<Prisma.SOADocumentCreateInput, Prisma.SOADocumentUncheckedCreateInput>;
|
|
2047
|
+
};
|
|
2048
|
+
/**
|
|
2049
|
+
* SOADocument createMany
|
|
2050
|
+
*/
|
|
2051
|
+
export type SOADocumentCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2052
|
+
/**
|
|
2053
|
+
* The data used to create many SOADocuments.
|
|
2054
|
+
*/
|
|
2055
|
+
data: Prisma.SOADocumentCreateManyInput | Prisma.SOADocumentCreateManyInput[];
|
|
2056
|
+
skipDuplicates?: boolean;
|
|
2057
|
+
};
|
|
2058
|
+
/**
|
|
2059
|
+
* SOADocument createManyAndReturn
|
|
2060
|
+
*/
|
|
2061
|
+
export type SOADocumentCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2062
|
+
/**
|
|
2063
|
+
* Select specific fields to fetch from the SOADocument
|
|
2064
|
+
*/
|
|
2065
|
+
select?: Prisma.SOADocumentSelectCreateManyAndReturn<ExtArgs> | null;
|
|
2066
|
+
/**
|
|
2067
|
+
* Omit specific fields from the SOADocument
|
|
2068
|
+
*/
|
|
2069
|
+
omit?: Prisma.SOADocumentOmit<ExtArgs> | null;
|
|
2070
|
+
/**
|
|
2071
|
+
* The data used to create many SOADocuments.
|
|
2072
|
+
*/
|
|
2073
|
+
data: Prisma.SOADocumentCreateManyInput | Prisma.SOADocumentCreateManyInput[];
|
|
2074
|
+
skipDuplicates?: boolean;
|
|
2075
|
+
/**
|
|
2076
|
+
* Choose, which related nodes to fetch as well
|
|
2077
|
+
*/
|
|
2078
|
+
include?: Prisma.SOADocumentIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
2079
|
+
};
|
|
2080
|
+
/**
|
|
2081
|
+
* SOADocument update
|
|
2082
|
+
*/
|
|
2083
|
+
export type SOADocumentUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2084
|
+
/**
|
|
2085
|
+
* Select specific fields to fetch from the SOADocument
|
|
2086
|
+
*/
|
|
2087
|
+
select?: Prisma.SOADocumentSelect<ExtArgs> | null;
|
|
2088
|
+
/**
|
|
2089
|
+
* Omit specific fields from the SOADocument
|
|
2090
|
+
*/
|
|
2091
|
+
omit?: Prisma.SOADocumentOmit<ExtArgs> | null;
|
|
2092
|
+
/**
|
|
2093
|
+
* Choose, which related nodes to fetch as well
|
|
2094
|
+
*/
|
|
2095
|
+
include?: Prisma.SOADocumentInclude<ExtArgs> | null;
|
|
2096
|
+
/**
|
|
2097
|
+
* The data needed to update a SOADocument.
|
|
2098
|
+
*/
|
|
2099
|
+
data: Prisma.XOR<Prisma.SOADocumentUpdateInput, Prisma.SOADocumentUncheckedUpdateInput>;
|
|
2100
|
+
/**
|
|
2101
|
+
* Choose, which SOADocument to update.
|
|
2102
|
+
*/
|
|
2103
|
+
where: Prisma.SOADocumentWhereUniqueInput;
|
|
2104
|
+
};
|
|
2105
|
+
/**
|
|
2106
|
+
* SOADocument updateMany
|
|
2107
|
+
*/
|
|
2108
|
+
export type SOADocumentUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2109
|
+
/**
|
|
2110
|
+
* The data used to update SOADocuments.
|
|
2111
|
+
*/
|
|
2112
|
+
data: Prisma.XOR<Prisma.SOADocumentUpdateManyMutationInput, Prisma.SOADocumentUncheckedUpdateManyInput>;
|
|
2113
|
+
/**
|
|
2114
|
+
* Filter which SOADocuments to update
|
|
2115
|
+
*/
|
|
2116
|
+
where?: Prisma.SOADocumentWhereInput;
|
|
2117
|
+
/**
|
|
2118
|
+
* Limit how many SOADocuments to update.
|
|
2119
|
+
*/
|
|
2120
|
+
limit?: number;
|
|
2121
|
+
};
|
|
2122
|
+
/**
|
|
2123
|
+
* SOADocument updateManyAndReturn
|
|
2124
|
+
*/
|
|
2125
|
+
export type SOADocumentUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2126
|
+
/**
|
|
2127
|
+
* Select specific fields to fetch from the SOADocument
|
|
2128
|
+
*/
|
|
2129
|
+
select?: Prisma.SOADocumentSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
2130
|
+
/**
|
|
2131
|
+
* Omit specific fields from the SOADocument
|
|
2132
|
+
*/
|
|
2133
|
+
omit?: Prisma.SOADocumentOmit<ExtArgs> | null;
|
|
2134
|
+
/**
|
|
2135
|
+
* The data used to update SOADocuments.
|
|
2136
|
+
*/
|
|
2137
|
+
data: Prisma.XOR<Prisma.SOADocumentUpdateManyMutationInput, Prisma.SOADocumentUncheckedUpdateManyInput>;
|
|
2138
|
+
/**
|
|
2139
|
+
* Filter which SOADocuments to update
|
|
2140
|
+
*/
|
|
2141
|
+
where?: Prisma.SOADocumentWhereInput;
|
|
2142
|
+
/**
|
|
2143
|
+
* Limit how many SOADocuments to update.
|
|
2144
|
+
*/
|
|
2145
|
+
limit?: number;
|
|
2146
|
+
/**
|
|
2147
|
+
* Choose, which related nodes to fetch as well
|
|
2148
|
+
*/
|
|
2149
|
+
include?: Prisma.SOADocumentIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
2150
|
+
};
|
|
2151
|
+
/**
|
|
2152
|
+
* SOADocument upsert
|
|
2153
|
+
*/
|
|
2154
|
+
export type SOADocumentUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2155
|
+
/**
|
|
2156
|
+
* Select specific fields to fetch from the SOADocument
|
|
2157
|
+
*/
|
|
2158
|
+
select?: Prisma.SOADocumentSelect<ExtArgs> | null;
|
|
2159
|
+
/**
|
|
2160
|
+
* Omit specific fields from the SOADocument
|
|
2161
|
+
*/
|
|
2162
|
+
omit?: Prisma.SOADocumentOmit<ExtArgs> | null;
|
|
2163
|
+
/**
|
|
2164
|
+
* Choose, which related nodes to fetch as well
|
|
2165
|
+
*/
|
|
2166
|
+
include?: Prisma.SOADocumentInclude<ExtArgs> | null;
|
|
2167
|
+
/**
|
|
2168
|
+
* The filter to search for the SOADocument to update in case it exists.
|
|
2169
|
+
*/
|
|
2170
|
+
where: Prisma.SOADocumentWhereUniqueInput;
|
|
2171
|
+
/**
|
|
2172
|
+
* In case the SOADocument found by the `where` argument doesn't exist, create a new SOADocument with this data.
|
|
2173
|
+
*/
|
|
2174
|
+
create: Prisma.XOR<Prisma.SOADocumentCreateInput, Prisma.SOADocumentUncheckedCreateInput>;
|
|
2175
|
+
/**
|
|
2176
|
+
* In case the SOADocument was found with the provided `where` argument, update it with this data.
|
|
2177
|
+
*/
|
|
2178
|
+
update: Prisma.XOR<Prisma.SOADocumentUpdateInput, Prisma.SOADocumentUncheckedUpdateInput>;
|
|
2179
|
+
};
|
|
2180
|
+
/**
|
|
2181
|
+
* SOADocument delete
|
|
2182
|
+
*/
|
|
2183
|
+
export type SOADocumentDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2184
|
+
/**
|
|
2185
|
+
* Select specific fields to fetch from the SOADocument
|
|
2186
|
+
*/
|
|
2187
|
+
select?: Prisma.SOADocumentSelect<ExtArgs> | null;
|
|
2188
|
+
/**
|
|
2189
|
+
* Omit specific fields from the SOADocument
|
|
2190
|
+
*/
|
|
2191
|
+
omit?: Prisma.SOADocumentOmit<ExtArgs> | null;
|
|
2192
|
+
/**
|
|
2193
|
+
* Choose, which related nodes to fetch as well
|
|
2194
|
+
*/
|
|
2195
|
+
include?: Prisma.SOADocumentInclude<ExtArgs> | null;
|
|
2196
|
+
/**
|
|
2197
|
+
* Filter which SOADocument to delete.
|
|
2198
|
+
*/
|
|
2199
|
+
where: Prisma.SOADocumentWhereUniqueInput;
|
|
2200
|
+
};
|
|
2201
|
+
/**
|
|
2202
|
+
* SOADocument deleteMany
|
|
2203
|
+
*/
|
|
2204
|
+
export type SOADocumentDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2205
|
+
/**
|
|
2206
|
+
* Filter which SOADocuments to delete
|
|
2207
|
+
*/
|
|
2208
|
+
where?: Prisma.SOADocumentWhereInput;
|
|
2209
|
+
/**
|
|
2210
|
+
* Limit how many SOADocuments to delete.
|
|
2211
|
+
*/
|
|
2212
|
+
limit?: number;
|
|
2213
|
+
};
|
|
2214
|
+
/**
|
|
2215
|
+
* SOADocument.approver
|
|
2216
|
+
*/
|
|
2217
|
+
export type SOADocument$approverArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2218
|
+
/**
|
|
2219
|
+
* Select specific fields to fetch from the Member
|
|
2220
|
+
*/
|
|
2221
|
+
select?: Prisma.MemberSelect<ExtArgs> | null;
|
|
2222
|
+
/**
|
|
2223
|
+
* Omit specific fields from the Member
|
|
2224
|
+
*/
|
|
2225
|
+
omit?: Prisma.MemberOmit<ExtArgs> | null;
|
|
2226
|
+
/**
|
|
2227
|
+
* Choose, which related nodes to fetch as well
|
|
2228
|
+
*/
|
|
2229
|
+
include?: Prisma.MemberInclude<ExtArgs> | null;
|
|
2230
|
+
where?: Prisma.MemberWhereInput;
|
|
2231
|
+
};
|
|
2232
|
+
/**
|
|
2233
|
+
* SOADocument.answers
|
|
2234
|
+
*/
|
|
2235
|
+
export type SOADocument$answersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2236
|
+
/**
|
|
2237
|
+
* Select specific fields to fetch from the SOAAnswer
|
|
2238
|
+
*/
|
|
2239
|
+
select?: Prisma.SOAAnswerSelect<ExtArgs> | null;
|
|
2240
|
+
/**
|
|
2241
|
+
* Omit specific fields from the SOAAnswer
|
|
2242
|
+
*/
|
|
2243
|
+
omit?: Prisma.SOAAnswerOmit<ExtArgs> | null;
|
|
2244
|
+
/**
|
|
2245
|
+
* Choose, which related nodes to fetch as well
|
|
2246
|
+
*/
|
|
2247
|
+
include?: Prisma.SOAAnswerInclude<ExtArgs> | null;
|
|
2248
|
+
where?: Prisma.SOAAnswerWhereInput;
|
|
2249
|
+
orderBy?: Prisma.SOAAnswerOrderByWithRelationInput | Prisma.SOAAnswerOrderByWithRelationInput[];
|
|
2250
|
+
cursor?: Prisma.SOAAnswerWhereUniqueInput;
|
|
2251
|
+
take?: number;
|
|
2252
|
+
skip?: number;
|
|
2253
|
+
distinct?: Prisma.SOAAnswerScalarFieldEnum | Prisma.SOAAnswerScalarFieldEnum[];
|
|
2254
|
+
};
|
|
2255
|
+
/**
|
|
2256
|
+
* SOADocument without action
|
|
2257
|
+
*/
|
|
2258
|
+
export type SOADocumentDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2259
|
+
/**
|
|
2260
|
+
* Select specific fields to fetch from the SOADocument
|
|
2261
|
+
*/
|
|
2262
|
+
select?: Prisma.SOADocumentSelect<ExtArgs> | null;
|
|
2263
|
+
/**
|
|
2264
|
+
* Omit specific fields from the SOADocument
|
|
2265
|
+
*/
|
|
2266
|
+
omit?: Prisma.SOADocumentOmit<ExtArgs> | null;
|
|
2267
|
+
/**
|
|
2268
|
+
* Choose, which related nodes to fetch as well
|
|
2269
|
+
*/
|
|
2270
|
+
include?: Prisma.SOADocumentInclude<ExtArgs> | null;
|
|
2271
|
+
};
|
|
2272
|
+
//# sourceMappingURL=SOADocument.d.ts.map
|