@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,1422 @@
|
|
|
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 QuestionnaireQuestionAnswer
|
|
6
|
+
*
|
|
7
|
+
*/
|
|
8
|
+
export type QuestionnaireQuestionAnswerModel = runtime.Types.Result.DefaultSelection<Prisma.$QuestionnaireQuestionAnswerPayload>;
|
|
9
|
+
export type AggregateQuestionnaireQuestionAnswer = {
|
|
10
|
+
_count: QuestionnaireQuestionAnswerCountAggregateOutputType | null;
|
|
11
|
+
_avg: QuestionnaireQuestionAnswerAvgAggregateOutputType | null;
|
|
12
|
+
_sum: QuestionnaireQuestionAnswerSumAggregateOutputType | null;
|
|
13
|
+
_min: QuestionnaireQuestionAnswerMinAggregateOutputType | null;
|
|
14
|
+
_max: QuestionnaireQuestionAnswerMaxAggregateOutputType | null;
|
|
15
|
+
};
|
|
16
|
+
export type QuestionnaireQuestionAnswerAvgAggregateOutputType = {
|
|
17
|
+
questionIndex: number | null;
|
|
18
|
+
};
|
|
19
|
+
export type QuestionnaireQuestionAnswerSumAggregateOutputType = {
|
|
20
|
+
questionIndex: number | null;
|
|
21
|
+
};
|
|
22
|
+
export type QuestionnaireQuestionAnswerMinAggregateOutputType = {
|
|
23
|
+
id: string | null;
|
|
24
|
+
question: string | null;
|
|
25
|
+
answer: string | null;
|
|
26
|
+
status: $Enums.QuestionnaireAnswerStatus | null;
|
|
27
|
+
questionIndex: number | null;
|
|
28
|
+
generatedAt: Date | null;
|
|
29
|
+
updatedBy: string | null;
|
|
30
|
+
createdAt: Date | null;
|
|
31
|
+
updatedAt: Date | null;
|
|
32
|
+
questionnaireId: string | null;
|
|
33
|
+
};
|
|
34
|
+
export type QuestionnaireQuestionAnswerMaxAggregateOutputType = {
|
|
35
|
+
id: string | null;
|
|
36
|
+
question: string | null;
|
|
37
|
+
answer: string | null;
|
|
38
|
+
status: $Enums.QuestionnaireAnswerStatus | null;
|
|
39
|
+
questionIndex: number | null;
|
|
40
|
+
generatedAt: Date | null;
|
|
41
|
+
updatedBy: string | null;
|
|
42
|
+
createdAt: Date | null;
|
|
43
|
+
updatedAt: Date | null;
|
|
44
|
+
questionnaireId: string | null;
|
|
45
|
+
};
|
|
46
|
+
export type QuestionnaireQuestionAnswerCountAggregateOutputType = {
|
|
47
|
+
id: number;
|
|
48
|
+
question: number;
|
|
49
|
+
answer: number;
|
|
50
|
+
status: number;
|
|
51
|
+
questionIndex: number;
|
|
52
|
+
sources: number;
|
|
53
|
+
generatedAt: number;
|
|
54
|
+
updatedBy: number;
|
|
55
|
+
createdAt: number;
|
|
56
|
+
updatedAt: number;
|
|
57
|
+
questionnaireId: number;
|
|
58
|
+
_all: number;
|
|
59
|
+
};
|
|
60
|
+
export type QuestionnaireQuestionAnswerAvgAggregateInputType = {
|
|
61
|
+
questionIndex?: true;
|
|
62
|
+
};
|
|
63
|
+
export type QuestionnaireQuestionAnswerSumAggregateInputType = {
|
|
64
|
+
questionIndex?: true;
|
|
65
|
+
};
|
|
66
|
+
export type QuestionnaireQuestionAnswerMinAggregateInputType = {
|
|
67
|
+
id?: true;
|
|
68
|
+
question?: true;
|
|
69
|
+
answer?: true;
|
|
70
|
+
status?: true;
|
|
71
|
+
questionIndex?: true;
|
|
72
|
+
generatedAt?: true;
|
|
73
|
+
updatedBy?: true;
|
|
74
|
+
createdAt?: true;
|
|
75
|
+
updatedAt?: true;
|
|
76
|
+
questionnaireId?: true;
|
|
77
|
+
};
|
|
78
|
+
export type QuestionnaireQuestionAnswerMaxAggregateInputType = {
|
|
79
|
+
id?: true;
|
|
80
|
+
question?: true;
|
|
81
|
+
answer?: true;
|
|
82
|
+
status?: true;
|
|
83
|
+
questionIndex?: true;
|
|
84
|
+
generatedAt?: true;
|
|
85
|
+
updatedBy?: true;
|
|
86
|
+
createdAt?: true;
|
|
87
|
+
updatedAt?: true;
|
|
88
|
+
questionnaireId?: true;
|
|
89
|
+
};
|
|
90
|
+
export type QuestionnaireQuestionAnswerCountAggregateInputType = {
|
|
91
|
+
id?: true;
|
|
92
|
+
question?: true;
|
|
93
|
+
answer?: true;
|
|
94
|
+
status?: true;
|
|
95
|
+
questionIndex?: true;
|
|
96
|
+
sources?: true;
|
|
97
|
+
generatedAt?: true;
|
|
98
|
+
updatedBy?: true;
|
|
99
|
+
createdAt?: true;
|
|
100
|
+
updatedAt?: true;
|
|
101
|
+
questionnaireId?: true;
|
|
102
|
+
_all?: true;
|
|
103
|
+
};
|
|
104
|
+
export type QuestionnaireQuestionAnswerAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
105
|
+
/**
|
|
106
|
+
* Filter which QuestionnaireQuestionAnswer to aggregate.
|
|
107
|
+
*/
|
|
108
|
+
where?: Prisma.QuestionnaireQuestionAnswerWhereInput;
|
|
109
|
+
/**
|
|
110
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
111
|
+
*
|
|
112
|
+
* Determine the order of QuestionnaireQuestionAnswers to fetch.
|
|
113
|
+
*/
|
|
114
|
+
orderBy?: Prisma.QuestionnaireQuestionAnswerOrderByWithRelationInput | Prisma.QuestionnaireQuestionAnswerOrderByWithRelationInput[];
|
|
115
|
+
/**
|
|
116
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
117
|
+
*
|
|
118
|
+
* Sets the start position
|
|
119
|
+
*/
|
|
120
|
+
cursor?: Prisma.QuestionnaireQuestionAnswerWhereUniqueInput;
|
|
121
|
+
/**
|
|
122
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
123
|
+
*
|
|
124
|
+
* Take `±n` QuestionnaireQuestionAnswers from the position of the cursor.
|
|
125
|
+
*/
|
|
126
|
+
take?: number;
|
|
127
|
+
/**
|
|
128
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
129
|
+
*
|
|
130
|
+
* Skip the first `n` QuestionnaireQuestionAnswers.
|
|
131
|
+
*/
|
|
132
|
+
skip?: number;
|
|
133
|
+
/**
|
|
134
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
135
|
+
*
|
|
136
|
+
* Count returned QuestionnaireQuestionAnswers
|
|
137
|
+
**/
|
|
138
|
+
_count?: true | QuestionnaireQuestionAnswerCountAggregateInputType;
|
|
139
|
+
/**
|
|
140
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
141
|
+
*
|
|
142
|
+
* Select which fields to average
|
|
143
|
+
**/
|
|
144
|
+
_avg?: QuestionnaireQuestionAnswerAvgAggregateInputType;
|
|
145
|
+
/**
|
|
146
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
147
|
+
*
|
|
148
|
+
* Select which fields to sum
|
|
149
|
+
**/
|
|
150
|
+
_sum?: QuestionnaireQuestionAnswerSumAggregateInputType;
|
|
151
|
+
/**
|
|
152
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
153
|
+
*
|
|
154
|
+
* Select which fields to find the minimum value
|
|
155
|
+
**/
|
|
156
|
+
_min?: QuestionnaireQuestionAnswerMinAggregateInputType;
|
|
157
|
+
/**
|
|
158
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
159
|
+
*
|
|
160
|
+
* Select which fields to find the maximum value
|
|
161
|
+
**/
|
|
162
|
+
_max?: QuestionnaireQuestionAnswerMaxAggregateInputType;
|
|
163
|
+
};
|
|
164
|
+
export type GetQuestionnaireQuestionAnswerAggregateType<T extends QuestionnaireQuestionAnswerAggregateArgs> = {
|
|
165
|
+
[P in keyof T & keyof AggregateQuestionnaireQuestionAnswer]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateQuestionnaireQuestionAnswer[P]> : Prisma.GetScalarType<T[P], AggregateQuestionnaireQuestionAnswer[P]>;
|
|
166
|
+
};
|
|
167
|
+
export type QuestionnaireQuestionAnswerGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
168
|
+
where?: Prisma.QuestionnaireQuestionAnswerWhereInput;
|
|
169
|
+
orderBy?: Prisma.QuestionnaireQuestionAnswerOrderByWithAggregationInput | Prisma.QuestionnaireQuestionAnswerOrderByWithAggregationInput[];
|
|
170
|
+
by: Prisma.QuestionnaireQuestionAnswerScalarFieldEnum[] | Prisma.QuestionnaireQuestionAnswerScalarFieldEnum;
|
|
171
|
+
having?: Prisma.QuestionnaireQuestionAnswerScalarWhereWithAggregatesInput;
|
|
172
|
+
take?: number;
|
|
173
|
+
skip?: number;
|
|
174
|
+
_count?: QuestionnaireQuestionAnswerCountAggregateInputType | true;
|
|
175
|
+
_avg?: QuestionnaireQuestionAnswerAvgAggregateInputType;
|
|
176
|
+
_sum?: QuestionnaireQuestionAnswerSumAggregateInputType;
|
|
177
|
+
_min?: QuestionnaireQuestionAnswerMinAggregateInputType;
|
|
178
|
+
_max?: QuestionnaireQuestionAnswerMaxAggregateInputType;
|
|
179
|
+
};
|
|
180
|
+
export type QuestionnaireQuestionAnswerGroupByOutputType = {
|
|
181
|
+
id: string;
|
|
182
|
+
question: string;
|
|
183
|
+
answer: string | null;
|
|
184
|
+
status: $Enums.QuestionnaireAnswerStatus;
|
|
185
|
+
questionIndex: number;
|
|
186
|
+
sources: runtime.JsonValue | null;
|
|
187
|
+
generatedAt: Date | null;
|
|
188
|
+
updatedBy: string | null;
|
|
189
|
+
createdAt: Date;
|
|
190
|
+
updatedAt: Date;
|
|
191
|
+
questionnaireId: string;
|
|
192
|
+
_count: QuestionnaireQuestionAnswerCountAggregateOutputType | null;
|
|
193
|
+
_avg: QuestionnaireQuestionAnswerAvgAggregateOutputType | null;
|
|
194
|
+
_sum: QuestionnaireQuestionAnswerSumAggregateOutputType | null;
|
|
195
|
+
_min: QuestionnaireQuestionAnswerMinAggregateOutputType | null;
|
|
196
|
+
_max: QuestionnaireQuestionAnswerMaxAggregateOutputType | null;
|
|
197
|
+
};
|
|
198
|
+
export type GetQuestionnaireQuestionAnswerGroupByPayload<T extends QuestionnaireQuestionAnswerGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<QuestionnaireQuestionAnswerGroupByOutputType, T['by']> & {
|
|
199
|
+
[P in ((keyof T) & (keyof QuestionnaireQuestionAnswerGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], QuestionnaireQuestionAnswerGroupByOutputType[P]> : Prisma.GetScalarType<T[P], QuestionnaireQuestionAnswerGroupByOutputType[P]>;
|
|
200
|
+
}>>;
|
|
201
|
+
export type QuestionnaireQuestionAnswerWhereInput = {
|
|
202
|
+
AND?: Prisma.QuestionnaireQuestionAnswerWhereInput | Prisma.QuestionnaireQuestionAnswerWhereInput[];
|
|
203
|
+
OR?: Prisma.QuestionnaireQuestionAnswerWhereInput[];
|
|
204
|
+
NOT?: Prisma.QuestionnaireQuestionAnswerWhereInput | Prisma.QuestionnaireQuestionAnswerWhereInput[];
|
|
205
|
+
id?: Prisma.StringFilter<"QuestionnaireQuestionAnswer"> | string;
|
|
206
|
+
question?: Prisma.StringFilter<"QuestionnaireQuestionAnswer"> | string;
|
|
207
|
+
answer?: Prisma.StringNullableFilter<"QuestionnaireQuestionAnswer"> | string | null;
|
|
208
|
+
status?: Prisma.EnumQuestionnaireAnswerStatusFilter<"QuestionnaireQuestionAnswer"> | $Enums.QuestionnaireAnswerStatus;
|
|
209
|
+
questionIndex?: Prisma.IntFilter<"QuestionnaireQuestionAnswer"> | number;
|
|
210
|
+
sources?: Prisma.JsonNullableFilter<"QuestionnaireQuestionAnswer">;
|
|
211
|
+
generatedAt?: Prisma.DateTimeNullableFilter<"QuestionnaireQuestionAnswer"> | Date | string | null;
|
|
212
|
+
updatedBy?: Prisma.StringNullableFilter<"QuestionnaireQuestionAnswer"> | string | null;
|
|
213
|
+
createdAt?: Prisma.DateTimeFilter<"QuestionnaireQuestionAnswer"> | Date | string;
|
|
214
|
+
updatedAt?: Prisma.DateTimeFilter<"QuestionnaireQuestionAnswer"> | Date | string;
|
|
215
|
+
questionnaireId?: Prisma.StringFilter<"QuestionnaireQuestionAnswer"> | string;
|
|
216
|
+
questionnaire?: Prisma.XOR<Prisma.QuestionnaireScalarRelationFilter, Prisma.QuestionnaireWhereInput>;
|
|
217
|
+
};
|
|
218
|
+
export type QuestionnaireQuestionAnswerOrderByWithRelationInput = {
|
|
219
|
+
id?: Prisma.SortOrder;
|
|
220
|
+
question?: Prisma.SortOrder;
|
|
221
|
+
answer?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
222
|
+
status?: Prisma.SortOrder;
|
|
223
|
+
questionIndex?: Prisma.SortOrder;
|
|
224
|
+
sources?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
225
|
+
generatedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
226
|
+
updatedBy?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
227
|
+
createdAt?: Prisma.SortOrder;
|
|
228
|
+
updatedAt?: Prisma.SortOrder;
|
|
229
|
+
questionnaireId?: Prisma.SortOrder;
|
|
230
|
+
questionnaire?: Prisma.QuestionnaireOrderByWithRelationInput;
|
|
231
|
+
};
|
|
232
|
+
export type QuestionnaireQuestionAnswerWhereUniqueInput = Prisma.AtLeast<{
|
|
233
|
+
id?: string;
|
|
234
|
+
AND?: Prisma.QuestionnaireQuestionAnswerWhereInput | Prisma.QuestionnaireQuestionAnswerWhereInput[];
|
|
235
|
+
OR?: Prisma.QuestionnaireQuestionAnswerWhereInput[];
|
|
236
|
+
NOT?: Prisma.QuestionnaireQuestionAnswerWhereInput | Prisma.QuestionnaireQuestionAnswerWhereInput[];
|
|
237
|
+
question?: Prisma.StringFilter<"QuestionnaireQuestionAnswer"> | string;
|
|
238
|
+
answer?: Prisma.StringNullableFilter<"QuestionnaireQuestionAnswer"> | string | null;
|
|
239
|
+
status?: Prisma.EnumQuestionnaireAnswerStatusFilter<"QuestionnaireQuestionAnswer"> | $Enums.QuestionnaireAnswerStatus;
|
|
240
|
+
questionIndex?: Prisma.IntFilter<"QuestionnaireQuestionAnswer"> | number;
|
|
241
|
+
sources?: Prisma.JsonNullableFilter<"QuestionnaireQuestionAnswer">;
|
|
242
|
+
generatedAt?: Prisma.DateTimeNullableFilter<"QuestionnaireQuestionAnswer"> | Date | string | null;
|
|
243
|
+
updatedBy?: Prisma.StringNullableFilter<"QuestionnaireQuestionAnswer"> | string | null;
|
|
244
|
+
createdAt?: Prisma.DateTimeFilter<"QuestionnaireQuestionAnswer"> | Date | string;
|
|
245
|
+
updatedAt?: Prisma.DateTimeFilter<"QuestionnaireQuestionAnswer"> | Date | string;
|
|
246
|
+
questionnaireId?: Prisma.StringFilter<"QuestionnaireQuestionAnswer"> | string;
|
|
247
|
+
questionnaire?: Prisma.XOR<Prisma.QuestionnaireScalarRelationFilter, Prisma.QuestionnaireWhereInput>;
|
|
248
|
+
}, "id">;
|
|
249
|
+
export type QuestionnaireQuestionAnswerOrderByWithAggregationInput = {
|
|
250
|
+
id?: Prisma.SortOrder;
|
|
251
|
+
question?: Prisma.SortOrder;
|
|
252
|
+
answer?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
253
|
+
status?: Prisma.SortOrder;
|
|
254
|
+
questionIndex?: Prisma.SortOrder;
|
|
255
|
+
sources?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
256
|
+
generatedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
257
|
+
updatedBy?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
258
|
+
createdAt?: Prisma.SortOrder;
|
|
259
|
+
updatedAt?: Prisma.SortOrder;
|
|
260
|
+
questionnaireId?: Prisma.SortOrder;
|
|
261
|
+
_count?: Prisma.QuestionnaireQuestionAnswerCountOrderByAggregateInput;
|
|
262
|
+
_avg?: Prisma.QuestionnaireQuestionAnswerAvgOrderByAggregateInput;
|
|
263
|
+
_max?: Prisma.QuestionnaireQuestionAnswerMaxOrderByAggregateInput;
|
|
264
|
+
_min?: Prisma.QuestionnaireQuestionAnswerMinOrderByAggregateInput;
|
|
265
|
+
_sum?: Prisma.QuestionnaireQuestionAnswerSumOrderByAggregateInput;
|
|
266
|
+
};
|
|
267
|
+
export type QuestionnaireQuestionAnswerScalarWhereWithAggregatesInput = {
|
|
268
|
+
AND?: Prisma.QuestionnaireQuestionAnswerScalarWhereWithAggregatesInput | Prisma.QuestionnaireQuestionAnswerScalarWhereWithAggregatesInput[];
|
|
269
|
+
OR?: Prisma.QuestionnaireQuestionAnswerScalarWhereWithAggregatesInput[];
|
|
270
|
+
NOT?: Prisma.QuestionnaireQuestionAnswerScalarWhereWithAggregatesInput | Prisma.QuestionnaireQuestionAnswerScalarWhereWithAggregatesInput[];
|
|
271
|
+
id?: Prisma.StringWithAggregatesFilter<"QuestionnaireQuestionAnswer"> | string;
|
|
272
|
+
question?: Prisma.StringWithAggregatesFilter<"QuestionnaireQuestionAnswer"> | string;
|
|
273
|
+
answer?: Prisma.StringNullableWithAggregatesFilter<"QuestionnaireQuestionAnswer"> | string | null;
|
|
274
|
+
status?: Prisma.EnumQuestionnaireAnswerStatusWithAggregatesFilter<"QuestionnaireQuestionAnswer"> | $Enums.QuestionnaireAnswerStatus;
|
|
275
|
+
questionIndex?: Prisma.IntWithAggregatesFilter<"QuestionnaireQuestionAnswer"> | number;
|
|
276
|
+
sources?: Prisma.JsonNullableWithAggregatesFilter<"QuestionnaireQuestionAnswer">;
|
|
277
|
+
generatedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"QuestionnaireQuestionAnswer"> | Date | string | null;
|
|
278
|
+
updatedBy?: Prisma.StringNullableWithAggregatesFilter<"QuestionnaireQuestionAnswer"> | string | null;
|
|
279
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"QuestionnaireQuestionAnswer"> | Date | string;
|
|
280
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"QuestionnaireQuestionAnswer"> | Date | string;
|
|
281
|
+
questionnaireId?: Prisma.StringWithAggregatesFilter<"QuestionnaireQuestionAnswer"> | string;
|
|
282
|
+
};
|
|
283
|
+
export type QuestionnaireQuestionAnswerCreateInput = {
|
|
284
|
+
id?: string;
|
|
285
|
+
question: string;
|
|
286
|
+
answer?: string | null;
|
|
287
|
+
status?: $Enums.QuestionnaireAnswerStatus;
|
|
288
|
+
questionIndex: number;
|
|
289
|
+
sources?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
290
|
+
generatedAt?: Date | string | null;
|
|
291
|
+
updatedBy?: string | null;
|
|
292
|
+
createdAt?: Date | string;
|
|
293
|
+
updatedAt?: Date | string;
|
|
294
|
+
questionnaire: Prisma.QuestionnaireCreateNestedOneWithoutQuestionsInput;
|
|
295
|
+
};
|
|
296
|
+
export type QuestionnaireQuestionAnswerUncheckedCreateInput = {
|
|
297
|
+
id?: string;
|
|
298
|
+
question: string;
|
|
299
|
+
answer?: string | null;
|
|
300
|
+
status?: $Enums.QuestionnaireAnswerStatus;
|
|
301
|
+
questionIndex: number;
|
|
302
|
+
sources?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
303
|
+
generatedAt?: Date | string | null;
|
|
304
|
+
updatedBy?: string | null;
|
|
305
|
+
createdAt?: Date | string;
|
|
306
|
+
updatedAt?: Date | string;
|
|
307
|
+
questionnaireId: string;
|
|
308
|
+
};
|
|
309
|
+
export type QuestionnaireQuestionAnswerUpdateInput = {
|
|
310
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
311
|
+
question?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
312
|
+
answer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
313
|
+
status?: Prisma.EnumQuestionnaireAnswerStatusFieldUpdateOperationsInput | $Enums.QuestionnaireAnswerStatus;
|
|
314
|
+
questionIndex?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
315
|
+
sources?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
316
|
+
generatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
317
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
318
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
319
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
320
|
+
questionnaire?: Prisma.QuestionnaireUpdateOneRequiredWithoutQuestionsNestedInput;
|
|
321
|
+
};
|
|
322
|
+
export type QuestionnaireQuestionAnswerUncheckedUpdateInput = {
|
|
323
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
324
|
+
question?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
325
|
+
answer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
326
|
+
status?: Prisma.EnumQuestionnaireAnswerStatusFieldUpdateOperationsInput | $Enums.QuestionnaireAnswerStatus;
|
|
327
|
+
questionIndex?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
328
|
+
sources?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
329
|
+
generatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
330
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
331
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
332
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
333
|
+
questionnaireId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
334
|
+
};
|
|
335
|
+
export type QuestionnaireQuestionAnswerCreateManyInput = {
|
|
336
|
+
id?: string;
|
|
337
|
+
question: string;
|
|
338
|
+
answer?: string | null;
|
|
339
|
+
status?: $Enums.QuestionnaireAnswerStatus;
|
|
340
|
+
questionIndex: number;
|
|
341
|
+
sources?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
342
|
+
generatedAt?: Date | string | null;
|
|
343
|
+
updatedBy?: string | null;
|
|
344
|
+
createdAt?: Date | string;
|
|
345
|
+
updatedAt?: Date | string;
|
|
346
|
+
questionnaireId: string;
|
|
347
|
+
};
|
|
348
|
+
export type QuestionnaireQuestionAnswerUpdateManyMutationInput = {
|
|
349
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
350
|
+
question?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
351
|
+
answer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
352
|
+
status?: Prisma.EnumQuestionnaireAnswerStatusFieldUpdateOperationsInput | $Enums.QuestionnaireAnswerStatus;
|
|
353
|
+
questionIndex?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
354
|
+
sources?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
355
|
+
generatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
356
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
357
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
358
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
359
|
+
};
|
|
360
|
+
export type QuestionnaireQuestionAnswerUncheckedUpdateManyInput = {
|
|
361
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
362
|
+
question?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
363
|
+
answer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
364
|
+
status?: Prisma.EnumQuestionnaireAnswerStatusFieldUpdateOperationsInput | $Enums.QuestionnaireAnswerStatus;
|
|
365
|
+
questionIndex?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
366
|
+
sources?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
367
|
+
generatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
368
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
369
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
370
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
371
|
+
questionnaireId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
372
|
+
};
|
|
373
|
+
export type QuestionnaireQuestionAnswerListRelationFilter = {
|
|
374
|
+
every?: Prisma.QuestionnaireQuestionAnswerWhereInput;
|
|
375
|
+
some?: Prisma.QuestionnaireQuestionAnswerWhereInput;
|
|
376
|
+
none?: Prisma.QuestionnaireQuestionAnswerWhereInput;
|
|
377
|
+
};
|
|
378
|
+
export type QuestionnaireQuestionAnswerOrderByRelationAggregateInput = {
|
|
379
|
+
_count?: Prisma.SortOrder;
|
|
380
|
+
};
|
|
381
|
+
export type QuestionnaireQuestionAnswerCountOrderByAggregateInput = {
|
|
382
|
+
id?: Prisma.SortOrder;
|
|
383
|
+
question?: Prisma.SortOrder;
|
|
384
|
+
answer?: Prisma.SortOrder;
|
|
385
|
+
status?: Prisma.SortOrder;
|
|
386
|
+
questionIndex?: Prisma.SortOrder;
|
|
387
|
+
sources?: Prisma.SortOrder;
|
|
388
|
+
generatedAt?: Prisma.SortOrder;
|
|
389
|
+
updatedBy?: Prisma.SortOrder;
|
|
390
|
+
createdAt?: Prisma.SortOrder;
|
|
391
|
+
updatedAt?: Prisma.SortOrder;
|
|
392
|
+
questionnaireId?: Prisma.SortOrder;
|
|
393
|
+
};
|
|
394
|
+
export type QuestionnaireQuestionAnswerAvgOrderByAggregateInput = {
|
|
395
|
+
questionIndex?: Prisma.SortOrder;
|
|
396
|
+
};
|
|
397
|
+
export type QuestionnaireQuestionAnswerMaxOrderByAggregateInput = {
|
|
398
|
+
id?: Prisma.SortOrder;
|
|
399
|
+
question?: Prisma.SortOrder;
|
|
400
|
+
answer?: Prisma.SortOrder;
|
|
401
|
+
status?: Prisma.SortOrder;
|
|
402
|
+
questionIndex?: Prisma.SortOrder;
|
|
403
|
+
generatedAt?: Prisma.SortOrder;
|
|
404
|
+
updatedBy?: Prisma.SortOrder;
|
|
405
|
+
createdAt?: Prisma.SortOrder;
|
|
406
|
+
updatedAt?: Prisma.SortOrder;
|
|
407
|
+
questionnaireId?: Prisma.SortOrder;
|
|
408
|
+
};
|
|
409
|
+
export type QuestionnaireQuestionAnswerMinOrderByAggregateInput = {
|
|
410
|
+
id?: Prisma.SortOrder;
|
|
411
|
+
question?: Prisma.SortOrder;
|
|
412
|
+
answer?: Prisma.SortOrder;
|
|
413
|
+
status?: Prisma.SortOrder;
|
|
414
|
+
questionIndex?: Prisma.SortOrder;
|
|
415
|
+
generatedAt?: Prisma.SortOrder;
|
|
416
|
+
updatedBy?: Prisma.SortOrder;
|
|
417
|
+
createdAt?: Prisma.SortOrder;
|
|
418
|
+
updatedAt?: Prisma.SortOrder;
|
|
419
|
+
questionnaireId?: Prisma.SortOrder;
|
|
420
|
+
};
|
|
421
|
+
export type QuestionnaireQuestionAnswerSumOrderByAggregateInput = {
|
|
422
|
+
questionIndex?: Prisma.SortOrder;
|
|
423
|
+
};
|
|
424
|
+
export type QuestionnaireQuestionAnswerCreateNestedManyWithoutQuestionnaireInput = {
|
|
425
|
+
create?: Prisma.XOR<Prisma.QuestionnaireQuestionAnswerCreateWithoutQuestionnaireInput, Prisma.QuestionnaireQuestionAnswerUncheckedCreateWithoutQuestionnaireInput> | Prisma.QuestionnaireQuestionAnswerCreateWithoutQuestionnaireInput[] | Prisma.QuestionnaireQuestionAnswerUncheckedCreateWithoutQuestionnaireInput[];
|
|
426
|
+
connectOrCreate?: Prisma.QuestionnaireQuestionAnswerCreateOrConnectWithoutQuestionnaireInput | Prisma.QuestionnaireQuestionAnswerCreateOrConnectWithoutQuestionnaireInput[];
|
|
427
|
+
createMany?: Prisma.QuestionnaireQuestionAnswerCreateManyQuestionnaireInputEnvelope;
|
|
428
|
+
connect?: Prisma.QuestionnaireQuestionAnswerWhereUniqueInput | Prisma.QuestionnaireQuestionAnswerWhereUniqueInput[];
|
|
429
|
+
};
|
|
430
|
+
export type QuestionnaireQuestionAnswerUncheckedCreateNestedManyWithoutQuestionnaireInput = {
|
|
431
|
+
create?: Prisma.XOR<Prisma.QuestionnaireQuestionAnswerCreateWithoutQuestionnaireInput, Prisma.QuestionnaireQuestionAnswerUncheckedCreateWithoutQuestionnaireInput> | Prisma.QuestionnaireQuestionAnswerCreateWithoutQuestionnaireInput[] | Prisma.QuestionnaireQuestionAnswerUncheckedCreateWithoutQuestionnaireInput[];
|
|
432
|
+
connectOrCreate?: Prisma.QuestionnaireQuestionAnswerCreateOrConnectWithoutQuestionnaireInput | Prisma.QuestionnaireQuestionAnswerCreateOrConnectWithoutQuestionnaireInput[];
|
|
433
|
+
createMany?: Prisma.QuestionnaireQuestionAnswerCreateManyQuestionnaireInputEnvelope;
|
|
434
|
+
connect?: Prisma.QuestionnaireQuestionAnswerWhereUniqueInput | Prisma.QuestionnaireQuestionAnswerWhereUniqueInput[];
|
|
435
|
+
};
|
|
436
|
+
export type QuestionnaireQuestionAnswerUpdateManyWithoutQuestionnaireNestedInput = {
|
|
437
|
+
create?: Prisma.XOR<Prisma.QuestionnaireQuestionAnswerCreateWithoutQuestionnaireInput, Prisma.QuestionnaireQuestionAnswerUncheckedCreateWithoutQuestionnaireInput> | Prisma.QuestionnaireQuestionAnswerCreateWithoutQuestionnaireInput[] | Prisma.QuestionnaireQuestionAnswerUncheckedCreateWithoutQuestionnaireInput[];
|
|
438
|
+
connectOrCreate?: Prisma.QuestionnaireQuestionAnswerCreateOrConnectWithoutQuestionnaireInput | Prisma.QuestionnaireQuestionAnswerCreateOrConnectWithoutQuestionnaireInput[];
|
|
439
|
+
upsert?: Prisma.QuestionnaireQuestionAnswerUpsertWithWhereUniqueWithoutQuestionnaireInput | Prisma.QuestionnaireQuestionAnswerUpsertWithWhereUniqueWithoutQuestionnaireInput[];
|
|
440
|
+
createMany?: Prisma.QuestionnaireQuestionAnswerCreateManyQuestionnaireInputEnvelope;
|
|
441
|
+
set?: Prisma.QuestionnaireQuestionAnswerWhereUniqueInput | Prisma.QuestionnaireQuestionAnswerWhereUniqueInput[];
|
|
442
|
+
disconnect?: Prisma.QuestionnaireQuestionAnswerWhereUniqueInput | Prisma.QuestionnaireQuestionAnswerWhereUniqueInput[];
|
|
443
|
+
delete?: Prisma.QuestionnaireQuestionAnswerWhereUniqueInput | Prisma.QuestionnaireQuestionAnswerWhereUniqueInput[];
|
|
444
|
+
connect?: Prisma.QuestionnaireQuestionAnswerWhereUniqueInput | Prisma.QuestionnaireQuestionAnswerWhereUniqueInput[];
|
|
445
|
+
update?: Prisma.QuestionnaireQuestionAnswerUpdateWithWhereUniqueWithoutQuestionnaireInput | Prisma.QuestionnaireQuestionAnswerUpdateWithWhereUniqueWithoutQuestionnaireInput[];
|
|
446
|
+
updateMany?: Prisma.QuestionnaireQuestionAnswerUpdateManyWithWhereWithoutQuestionnaireInput | Prisma.QuestionnaireQuestionAnswerUpdateManyWithWhereWithoutQuestionnaireInput[];
|
|
447
|
+
deleteMany?: Prisma.QuestionnaireQuestionAnswerScalarWhereInput | Prisma.QuestionnaireQuestionAnswerScalarWhereInput[];
|
|
448
|
+
};
|
|
449
|
+
export type QuestionnaireQuestionAnswerUncheckedUpdateManyWithoutQuestionnaireNestedInput = {
|
|
450
|
+
create?: Prisma.XOR<Prisma.QuestionnaireQuestionAnswerCreateWithoutQuestionnaireInput, Prisma.QuestionnaireQuestionAnswerUncheckedCreateWithoutQuestionnaireInput> | Prisma.QuestionnaireQuestionAnswerCreateWithoutQuestionnaireInput[] | Prisma.QuestionnaireQuestionAnswerUncheckedCreateWithoutQuestionnaireInput[];
|
|
451
|
+
connectOrCreate?: Prisma.QuestionnaireQuestionAnswerCreateOrConnectWithoutQuestionnaireInput | Prisma.QuestionnaireQuestionAnswerCreateOrConnectWithoutQuestionnaireInput[];
|
|
452
|
+
upsert?: Prisma.QuestionnaireQuestionAnswerUpsertWithWhereUniqueWithoutQuestionnaireInput | Prisma.QuestionnaireQuestionAnswerUpsertWithWhereUniqueWithoutQuestionnaireInput[];
|
|
453
|
+
createMany?: Prisma.QuestionnaireQuestionAnswerCreateManyQuestionnaireInputEnvelope;
|
|
454
|
+
set?: Prisma.QuestionnaireQuestionAnswerWhereUniqueInput | Prisma.QuestionnaireQuestionAnswerWhereUniqueInput[];
|
|
455
|
+
disconnect?: Prisma.QuestionnaireQuestionAnswerWhereUniqueInput | Prisma.QuestionnaireQuestionAnswerWhereUniqueInput[];
|
|
456
|
+
delete?: Prisma.QuestionnaireQuestionAnswerWhereUniqueInput | Prisma.QuestionnaireQuestionAnswerWhereUniqueInput[];
|
|
457
|
+
connect?: Prisma.QuestionnaireQuestionAnswerWhereUniqueInput | Prisma.QuestionnaireQuestionAnswerWhereUniqueInput[];
|
|
458
|
+
update?: Prisma.QuestionnaireQuestionAnswerUpdateWithWhereUniqueWithoutQuestionnaireInput | Prisma.QuestionnaireQuestionAnswerUpdateWithWhereUniqueWithoutQuestionnaireInput[];
|
|
459
|
+
updateMany?: Prisma.QuestionnaireQuestionAnswerUpdateManyWithWhereWithoutQuestionnaireInput | Prisma.QuestionnaireQuestionAnswerUpdateManyWithWhereWithoutQuestionnaireInput[];
|
|
460
|
+
deleteMany?: Prisma.QuestionnaireQuestionAnswerScalarWhereInput | Prisma.QuestionnaireQuestionAnswerScalarWhereInput[];
|
|
461
|
+
};
|
|
462
|
+
export type EnumQuestionnaireAnswerStatusFieldUpdateOperationsInput = {
|
|
463
|
+
set?: $Enums.QuestionnaireAnswerStatus;
|
|
464
|
+
};
|
|
465
|
+
export type QuestionnaireQuestionAnswerCreateWithoutQuestionnaireInput = {
|
|
466
|
+
id?: string;
|
|
467
|
+
question: string;
|
|
468
|
+
answer?: string | null;
|
|
469
|
+
status?: $Enums.QuestionnaireAnswerStatus;
|
|
470
|
+
questionIndex: number;
|
|
471
|
+
sources?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
472
|
+
generatedAt?: Date | string | null;
|
|
473
|
+
updatedBy?: string | null;
|
|
474
|
+
createdAt?: Date | string;
|
|
475
|
+
updatedAt?: Date | string;
|
|
476
|
+
};
|
|
477
|
+
export type QuestionnaireQuestionAnswerUncheckedCreateWithoutQuestionnaireInput = {
|
|
478
|
+
id?: string;
|
|
479
|
+
question: string;
|
|
480
|
+
answer?: string | null;
|
|
481
|
+
status?: $Enums.QuestionnaireAnswerStatus;
|
|
482
|
+
questionIndex: number;
|
|
483
|
+
sources?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
484
|
+
generatedAt?: Date | string | null;
|
|
485
|
+
updatedBy?: string | null;
|
|
486
|
+
createdAt?: Date | string;
|
|
487
|
+
updatedAt?: Date | string;
|
|
488
|
+
};
|
|
489
|
+
export type QuestionnaireQuestionAnswerCreateOrConnectWithoutQuestionnaireInput = {
|
|
490
|
+
where: Prisma.QuestionnaireQuestionAnswerWhereUniqueInput;
|
|
491
|
+
create: Prisma.XOR<Prisma.QuestionnaireQuestionAnswerCreateWithoutQuestionnaireInput, Prisma.QuestionnaireQuestionAnswerUncheckedCreateWithoutQuestionnaireInput>;
|
|
492
|
+
};
|
|
493
|
+
export type QuestionnaireQuestionAnswerCreateManyQuestionnaireInputEnvelope = {
|
|
494
|
+
data: Prisma.QuestionnaireQuestionAnswerCreateManyQuestionnaireInput | Prisma.QuestionnaireQuestionAnswerCreateManyQuestionnaireInput[];
|
|
495
|
+
skipDuplicates?: boolean;
|
|
496
|
+
};
|
|
497
|
+
export type QuestionnaireQuestionAnswerUpsertWithWhereUniqueWithoutQuestionnaireInput = {
|
|
498
|
+
where: Prisma.QuestionnaireQuestionAnswerWhereUniqueInput;
|
|
499
|
+
update: Prisma.XOR<Prisma.QuestionnaireQuestionAnswerUpdateWithoutQuestionnaireInput, Prisma.QuestionnaireQuestionAnswerUncheckedUpdateWithoutQuestionnaireInput>;
|
|
500
|
+
create: Prisma.XOR<Prisma.QuestionnaireQuestionAnswerCreateWithoutQuestionnaireInput, Prisma.QuestionnaireQuestionAnswerUncheckedCreateWithoutQuestionnaireInput>;
|
|
501
|
+
};
|
|
502
|
+
export type QuestionnaireQuestionAnswerUpdateWithWhereUniqueWithoutQuestionnaireInput = {
|
|
503
|
+
where: Prisma.QuestionnaireQuestionAnswerWhereUniqueInput;
|
|
504
|
+
data: Prisma.XOR<Prisma.QuestionnaireQuestionAnswerUpdateWithoutQuestionnaireInput, Prisma.QuestionnaireQuestionAnswerUncheckedUpdateWithoutQuestionnaireInput>;
|
|
505
|
+
};
|
|
506
|
+
export type QuestionnaireQuestionAnswerUpdateManyWithWhereWithoutQuestionnaireInput = {
|
|
507
|
+
where: Prisma.QuestionnaireQuestionAnswerScalarWhereInput;
|
|
508
|
+
data: Prisma.XOR<Prisma.QuestionnaireQuestionAnswerUpdateManyMutationInput, Prisma.QuestionnaireQuestionAnswerUncheckedUpdateManyWithoutQuestionnaireInput>;
|
|
509
|
+
};
|
|
510
|
+
export type QuestionnaireQuestionAnswerScalarWhereInput = {
|
|
511
|
+
AND?: Prisma.QuestionnaireQuestionAnswerScalarWhereInput | Prisma.QuestionnaireQuestionAnswerScalarWhereInput[];
|
|
512
|
+
OR?: Prisma.QuestionnaireQuestionAnswerScalarWhereInput[];
|
|
513
|
+
NOT?: Prisma.QuestionnaireQuestionAnswerScalarWhereInput | Prisma.QuestionnaireQuestionAnswerScalarWhereInput[];
|
|
514
|
+
id?: Prisma.StringFilter<"QuestionnaireQuestionAnswer"> | string;
|
|
515
|
+
question?: Prisma.StringFilter<"QuestionnaireQuestionAnswer"> | string;
|
|
516
|
+
answer?: Prisma.StringNullableFilter<"QuestionnaireQuestionAnswer"> | string | null;
|
|
517
|
+
status?: Prisma.EnumQuestionnaireAnswerStatusFilter<"QuestionnaireQuestionAnswer"> | $Enums.QuestionnaireAnswerStatus;
|
|
518
|
+
questionIndex?: Prisma.IntFilter<"QuestionnaireQuestionAnswer"> | number;
|
|
519
|
+
sources?: Prisma.JsonNullableFilter<"QuestionnaireQuestionAnswer">;
|
|
520
|
+
generatedAt?: Prisma.DateTimeNullableFilter<"QuestionnaireQuestionAnswer"> | Date | string | null;
|
|
521
|
+
updatedBy?: Prisma.StringNullableFilter<"QuestionnaireQuestionAnswer"> | string | null;
|
|
522
|
+
createdAt?: Prisma.DateTimeFilter<"QuestionnaireQuestionAnswer"> | Date | string;
|
|
523
|
+
updatedAt?: Prisma.DateTimeFilter<"QuestionnaireQuestionAnswer"> | Date | string;
|
|
524
|
+
questionnaireId?: Prisma.StringFilter<"QuestionnaireQuestionAnswer"> | string;
|
|
525
|
+
};
|
|
526
|
+
export type QuestionnaireQuestionAnswerCreateManyQuestionnaireInput = {
|
|
527
|
+
id?: string;
|
|
528
|
+
question: string;
|
|
529
|
+
answer?: string | null;
|
|
530
|
+
status?: $Enums.QuestionnaireAnswerStatus;
|
|
531
|
+
questionIndex: number;
|
|
532
|
+
sources?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
533
|
+
generatedAt?: Date | string | null;
|
|
534
|
+
updatedBy?: string | null;
|
|
535
|
+
createdAt?: Date | string;
|
|
536
|
+
updatedAt?: Date | string;
|
|
537
|
+
};
|
|
538
|
+
export type QuestionnaireQuestionAnswerUpdateWithoutQuestionnaireInput = {
|
|
539
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
540
|
+
question?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
541
|
+
answer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
542
|
+
status?: Prisma.EnumQuestionnaireAnswerStatusFieldUpdateOperationsInput | $Enums.QuestionnaireAnswerStatus;
|
|
543
|
+
questionIndex?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
544
|
+
sources?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
545
|
+
generatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
546
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
547
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
548
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
549
|
+
};
|
|
550
|
+
export type QuestionnaireQuestionAnswerUncheckedUpdateWithoutQuestionnaireInput = {
|
|
551
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
552
|
+
question?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
553
|
+
answer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
554
|
+
status?: Prisma.EnumQuestionnaireAnswerStatusFieldUpdateOperationsInput | $Enums.QuestionnaireAnswerStatus;
|
|
555
|
+
questionIndex?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
556
|
+
sources?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
557
|
+
generatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
558
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
559
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
560
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
561
|
+
};
|
|
562
|
+
export type QuestionnaireQuestionAnswerUncheckedUpdateManyWithoutQuestionnaireInput = {
|
|
563
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
564
|
+
question?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
565
|
+
answer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
566
|
+
status?: Prisma.EnumQuestionnaireAnswerStatusFieldUpdateOperationsInput | $Enums.QuestionnaireAnswerStatus;
|
|
567
|
+
questionIndex?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
568
|
+
sources?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
569
|
+
generatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
570
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
571
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
572
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
573
|
+
};
|
|
574
|
+
export type QuestionnaireQuestionAnswerSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
575
|
+
id?: boolean;
|
|
576
|
+
question?: boolean;
|
|
577
|
+
answer?: boolean;
|
|
578
|
+
status?: boolean;
|
|
579
|
+
questionIndex?: boolean;
|
|
580
|
+
sources?: boolean;
|
|
581
|
+
generatedAt?: boolean;
|
|
582
|
+
updatedBy?: boolean;
|
|
583
|
+
createdAt?: boolean;
|
|
584
|
+
updatedAt?: boolean;
|
|
585
|
+
questionnaireId?: boolean;
|
|
586
|
+
questionnaire?: boolean | Prisma.QuestionnaireDefaultArgs<ExtArgs>;
|
|
587
|
+
}, ExtArgs["result"]["questionnaireQuestionAnswer"]>;
|
|
588
|
+
export type QuestionnaireQuestionAnswerSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
589
|
+
id?: boolean;
|
|
590
|
+
question?: boolean;
|
|
591
|
+
answer?: boolean;
|
|
592
|
+
status?: boolean;
|
|
593
|
+
questionIndex?: boolean;
|
|
594
|
+
sources?: boolean;
|
|
595
|
+
generatedAt?: boolean;
|
|
596
|
+
updatedBy?: boolean;
|
|
597
|
+
createdAt?: boolean;
|
|
598
|
+
updatedAt?: boolean;
|
|
599
|
+
questionnaireId?: boolean;
|
|
600
|
+
questionnaire?: boolean | Prisma.QuestionnaireDefaultArgs<ExtArgs>;
|
|
601
|
+
}, ExtArgs["result"]["questionnaireQuestionAnswer"]>;
|
|
602
|
+
export type QuestionnaireQuestionAnswerSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
603
|
+
id?: boolean;
|
|
604
|
+
question?: boolean;
|
|
605
|
+
answer?: boolean;
|
|
606
|
+
status?: boolean;
|
|
607
|
+
questionIndex?: boolean;
|
|
608
|
+
sources?: boolean;
|
|
609
|
+
generatedAt?: boolean;
|
|
610
|
+
updatedBy?: boolean;
|
|
611
|
+
createdAt?: boolean;
|
|
612
|
+
updatedAt?: boolean;
|
|
613
|
+
questionnaireId?: boolean;
|
|
614
|
+
questionnaire?: boolean | Prisma.QuestionnaireDefaultArgs<ExtArgs>;
|
|
615
|
+
}, ExtArgs["result"]["questionnaireQuestionAnswer"]>;
|
|
616
|
+
export type QuestionnaireQuestionAnswerSelectScalar = {
|
|
617
|
+
id?: boolean;
|
|
618
|
+
question?: boolean;
|
|
619
|
+
answer?: boolean;
|
|
620
|
+
status?: boolean;
|
|
621
|
+
questionIndex?: boolean;
|
|
622
|
+
sources?: boolean;
|
|
623
|
+
generatedAt?: boolean;
|
|
624
|
+
updatedBy?: boolean;
|
|
625
|
+
createdAt?: boolean;
|
|
626
|
+
updatedAt?: boolean;
|
|
627
|
+
questionnaireId?: boolean;
|
|
628
|
+
};
|
|
629
|
+
export type QuestionnaireQuestionAnswerOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "question" | "answer" | "status" | "questionIndex" | "sources" | "generatedAt" | "updatedBy" | "createdAt" | "updatedAt" | "questionnaireId", ExtArgs["result"]["questionnaireQuestionAnswer"]>;
|
|
630
|
+
export type QuestionnaireQuestionAnswerInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
631
|
+
questionnaire?: boolean | Prisma.QuestionnaireDefaultArgs<ExtArgs>;
|
|
632
|
+
};
|
|
633
|
+
export type QuestionnaireQuestionAnswerIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
634
|
+
questionnaire?: boolean | Prisma.QuestionnaireDefaultArgs<ExtArgs>;
|
|
635
|
+
};
|
|
636
|
+
export type QuestionnaireQuestionAnswerIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
637
|
+
questionnaire?: boolean | Prisma.QuestionnaireDefaultArgs<ExtArgs>;
|
|
638
|
+
};
|
|
639
|
+
export type $QuestionnaireQuestionAnswerPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
640
|
+
name: "QuestionnaireQuestionAnswer";
|
|
641
|
+
objects: {
|
|
642
|
+
questionnaire: Prisma.$QuestionnairePayload<ExtArgs>;
|
|
643
|
+
};
|
|
644
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
645
|
+
id: string;
|
|
646
|
+
question: string;
|
|
647
|
+
answer: string | null;
|
|
648
|
+
status: $Enums.QuestionnaireAnswerStatus;
|
|
649
|
+
questionIndex: number;
|
|
650
|
+
sources: runtime.JsonValue | null;
|
|
651
|
+
generatedAt: Date | null;
|
|
652
|
+
updatedBy: string | null;
|
|
653
|
+
createdAt: Date;
|
|
654
|
+
updatedAt: Date;
|
|
655
|
+
questionnaireId: string;
|
|
656
|
+
}, ExtArgs["result"]["questionnaireQuestionAnswer"]>;
|
|
657
|
+
composites: {};
|
|
658
|
+
};
|
|
659
|
+
export type QuestionnaireQuestionAnswerGetPayload<S extends boolean | null | undefined | QuestionnaireQuestionAnswerDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$QuestionnaireQuestionAnswerPayload, S>;
|
|
660
|
+
export type QuestionnaireQuestionAnswerCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<QuestionnaireQuestionAnswerFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
661
|
+
select?: QuestionnaireQuestionAnswerCountAggregateInputType | true;
|
|
662
|
+
};
|
|
663
|
+
export interface QuestionnaireQuestionAnswerDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
664
|
+
[K: symbol]: {
|
|
665
|
+
types: Prisma.TypeMap<ExtArgs>['model']['QuestionnaireQuestionAnswer'];
|
|
666
|
+
meta: {
|
|
667
|
+
name: 'QuestionnaireQuestionAnswer';
|
|
668
|
+
};
|
|
669
|
+
};
|
|
670
|
+
/**
|
|
671
|
+
* Find zero or one QuestionnaireQuestionAnswer that matches the filter.
|
|
672
|
+
* @param {QuestionnaireQuestionAnswerFindUniqueArgs} args - Arguments to find a QuestionnaireQuestionAnswer
|
|
673
|
+
* @example
|
|
674
|
+
* // Get one QuestionnaireQuestionAnswer
|
|
675
|
+
* const questionnaireQuestionAnswer = await prisma.questionnaireQuestionAnswer.findUnique({
|
|
676
|
+
* where: {
|
|
677
|
+
* // ... provide filter here
|
|
678
|
+
* }
|
|
679
|
+
* })
|
|
680
|
+
*/
|
|
681
|
+
findUnique<T extends QuestionnaireQuestionAnswerFindUniqueArgs>(args: Prisma.SelectSubset<T, QuestionnaireQuestionAnswerFindUniqueArgs<ExtArgs>>): Prisma.Prisma__QuestionnaireQuestionAnswerClient<runtime.Types.Result.GetResult<Prisma.$QuestionnaireQuestionAnswerPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
682
|
+
/**
|
|
683
|
+
* Find one QuestionnaireQuestionAnswer that matches the filter or throw an error with `error.code='P2025'`
|
|
684
|
+
* if no matches were found.
|
|
685
|
+
* @param {QuestionnaireQuestionAnswerFindUniqueOrThrowArgs} args - Arguments to find a QuestionnaireQuestionAnswer
|
|
686
|
+
* @example
|
|
687
|
+
* // Get one QuestionnaireQuestionAnswer
|
|
688
|
+
* const questionnaireQuestionAnswer = await prisma.questionnaireQuestionAnswer.findUniqueOrThrow({
|
|
689
|
+
* where: {
|
|
690
|
+
* // ... provide filter here
|
|
691
|
+
* }
|
|
692
|
+
* })
|
|
693
|
+
*/
|
|
694
|
+
findUniqueOrThrow<T extends QuestionnaireQuestionAnswerFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, QuestionnaireQuestionAnswerFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__QuestionnaireQuestionAnswerClient<runtime.Types.Result.GetResult<Prisma.$QuestionnaireQuestionAnswerPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
695
|
+
/**
|
|
696
|
+
* Find the first QuestionnaireQuestionAnswer that matches the filter.
|
|
697
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
698
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
699
|
+
* @param {QuestionnaireQuestionAnswerFindFirstArgs} args - Arguments to find a QuestionnaireQuestionAnswer
|
|
700
|
+
* @example
|
|
701
|
+
* // Get one QuestionnaireQuestionAnswer
|
|
702
|
+
* const questionnaireQuestionAnswer = await prisma.questionnaireQuestionAnswer.findFirst({
|
|
703
|
+
* where: {
|
|
704
|
+
* // ... provide filter here
|
|
705
|
+
* }
|
|
706
|
+
* })
|
|
707
|
+
*/
|
|
708
|
+
findFirst<T extends QuestionnaireQuestionAnswerFindFirstArgs>(args?: Prisma.SelectSubset<T, QuestionnaireQuestionAnswerFindFirstArgs<ExtArgs>>): Prisma.Prisma__QuestionnaireQuestionAnswerClient<runtime.Types.Result.GetResult<Prisma.$QuestionnaireQuestionAnswerPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
709
|
+
/**
|
|
710
|
+
* Find the first QuestionnaireQuestionAnswer that matches the filter or
|
|
711
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
712
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
713
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
714
|
+
* @param {QuestionnaireQuestionAnswerFindFirstOrThrowArgs} args - Arguments to find a QuestionnaireQuestionAnswer
|
|
715
|
+
* @example
|
|
716
|
+
* // Get one QuestionnaireQuestionAnswer
|
|
717
|
+
* const questionnaireQuestionAnswer = await prisma.questionnaireQuestionAnswer.findFirstOrThrow({
|
|
718
|
+
* where: {
|
|
719
|
+
* // ... provide filter here
|
|
720
|
+
* }
|
|
721
|
+
* })
|
|
722
|
+
*/
|
|
723
|
+
findFirstOrThrow<T extends QuestionnaireQuestionAnswerFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, QuestionnaireQuestionAnswerFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__QuestionnaireQuestionAnswerClient<runtime.Types.Result.GetResult<Prisma.$QuestionnaireQuestionAnswerPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
724
|
+
/**
|
|
725
|
+
* Find zero or more QuestionnaireQuestionAnswers that matches the filter.
|
|
726
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
727
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
728
|
+
* @param {QuestionnaireQuestionAnswerFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
729
|
+
* @example
|
|
730
|
+
* // Get all QuestionnaireQuestionAnswers
|
|
731
|
+
* const questionnaireQuestionAnswers = await prisma.questionnaireQuestionAnswer.findMany()
|
|
732
|
+
*
|
|
733
|
+
* // Get first 10 QuestionnaireQuestionAnswers
|
|
734
|
+
* const questionnaireQuestionAnswers = await prisma.questionnaireQuestionAnswer.findMany({ take: 10 })
|
|
735
|
+
*
|
|
736
|
+
* // Only select the `id`
|
|
737
|
+
* const questionnaireQuestionAnswerWithIdOnly = await prisma.questionnaireQuestionAnswer.findMany({ select: { id: true } })
|
|
738
|
+
*
|
|
739
|
+
*/
|
|
740
|
+
findMany<T extends QuestionnaireQuestionAnswerFindManyArgs>(args?: Prisma.SelectSubset<T, QuestionnaireQuestionAnswerFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$QuestionnaireQuestionAnswerPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
741
|
+
/**
|
|
742
|
+
* Create a QuestionnaireQuestionAnswer.
|
|
743
|
+
* @param {QuestionnaireQuestionAnswerCreateArgs} args - Arguments to create a QuestionnaireQuestionAnswer.
|
|
744
|
+
* @example
|
|
745
|
+
* // Create one QuestionnaireQuestionAnswer
|
|
746
|
+
* const QuestionnaireQuestionAnswer = await prisma.questionnaireQuestionAnswer.create({
|
|
747
|
+
* data: {
|
|
748
|
+
* // ... data to create a QuestionnaireQuestionAnswer
|
|
749
|
+
* }
|
|
750
|
+
* })
|
|
751
|
+
*
|
|
752
|
+
*/
|
|
753
|
+
create<T extends QuestionnaireQuestionAnswerCreateArgs>(args: Prisma.SelectSubset<T, QuestionnaireQuestionAnswerCreateArgs<ExtArgs>>): Prisma.Prisma__QuestionnaireQuestionAnswerClient<runtime.Types.Result.GetResult<Prisma.$QuestionnaireQuestionAnswerPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
754
|
+
/**
|
|
755
|
+
* Create many QuestionnaireQuestionAnswers.
|
|
756
|
+
* @param {QuestionnaireQuestionAnswerCreateManyArgs} args - Arguments to create many QuestionnaireQuestionAnswers.
|
|
757
|
+
* @example
|
|
758
|
+
* // Create many QuestionnaireQuestionAnswers
|
|
759
|
+
* const questionnaireQuestionAnswer = await prisma.questionnaireQuestionAnswer.createMany({
|
|
760
|
+
* data: [
|
|
761
|
+
* // ... provide data here
|
|
762
|
+
* ]
|
|
763
|
+
* })
|
|
764
|
+
*
|
|
765
|
+
*/
|
|
766
|
+
createMany<T extends QuestionnaireQuestionAnswerCreateManyArgs>(args?: Prisma.SelectSubset<T, QuestionnaireQuestionAnswerCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
767
|
+
/**
|
|
768
|
+
* Create many QuestionnaireQuestionAnswers and returns the data saved in the database.
|
|
769
|
+
* @param {QuestionnaireQuestionAnswerCreateManyAndReturnArgs} args - Arguments to create many QuestionnaireQuestionAnswers.
|
|
770
|
+
* @example
|
|
771
|
+
* // Create many QuestionnaireQuestionAnswers
|
|
772
|
+
* const questionnaireQuestionAnswer = await prisma.questionnaireQuestionAnswer.createManyAndReturn({
|
|
773
|
+
* data: [
|
|
774
|
+
* // ... provide data here
|
|
775
|
+
* ]
|
|
776
|
+
* })
|
|
777
|
+
*
|
|
778
|
+
* // Create many QuestionnaireQuestionAnswers and only return the `id`
|
|
779
|
+
* const questionnaireQuestionAnswerWithIdOnly = await prisma.questionnaireQuestionAnswer.createManyAndReturn({
|
|
780
|
+
* select: { id: true },
|
|
781
|
+
* data: [
|
|
782
|
+
* // ... provide data here
|
|
783
|
+
* ]
|
|
784
|
+
* })
|
|
785
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
786
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
787
|
+
*
|
|
788
|
+
*/
|
|
789
|
+
createManyAndReturn<T extends QuestionnaireQuestionAnswerCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, QuestionnaireQuestionAnswerCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$QuestionnaireQuestionAnswerPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
790
|
+
/**
|
|
791
|
+
* Delete a QuestionnaireQuestionAnswer.
|
|
792
|
+
* @param {QuestionnaireQuestionAnswerDeleteArgs} args - Arguments to delete one QuestionnaireQuestionAnswer.
|
|
793
|
+
* @example
|
|
794
|
+
* // Delete one QuestionnaireQuestionAnswer
|
|
795
|
+
* const QuestionnaireQuestionAnswer = await prisma.questionnaireQuestionAnswer.delete({
|
|
796
|
+
* where: {
|
|
797
|
+
* // ... filter to delete one QuestionnaireQuestionAnswer
|
|
798
|
+
* }
|
|
799
|
+
* })
|
|
800
|
+
*
|
|
801
|
+
*/
|
|
802
|
+
delete<T extends QuestionnaireQuestionAnswerDeleteArgs>(args: Prisma.SelectSubset<T, QuestionnaireQuestionAnswerDeleteArgs<ExtArgs>>): Prisma.Prisma__QuestionnaireQuestionAnswerClient<runtime.Types.Result.GetResult<Prisma.$QuestionnaireQuestionAnswerPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
803
|
+
/**
|
|
804
|
+
* Update one QuestionnaireQuestionAnswer.
|
|
805
|
+
* @param {QuestionnaireQuestionAnswerUpdateArgs} args - Arguments to update one QuestionnaireQuestionAnswer.
|
|
806
|
+
* @example
|
|
807
|
+
* // Update one QuestionnaireQuestionAnswer
|
|
808
|
+
* const questionnaireQuestionAnswer = await prisma.questionnaireQuestionAnswer.update({
|
|
809
|
+
* where: {
|
|
810
|
+
* // ... provide filter here
|
|
811
|
+
* },
|
|
812
|
+
* data: {
|
|
813
|
+
* // ... provide data here
|
|
814
|
+
* }
|
|
815
|
+
* })
|
|
816
|
+
*
|
|
817
|
+
*/
|
|
818
|
+
update<T extends QuestionnaireQuestionAnswerUpdateArgs>(args: Prisma.SelectSubset<T, QuestionnaireQuestionAnswerUpdateArgs<ExtArgs>>): Prisma.Prisma__QuestionnaireQuestionAnswerClient<runtime.Types.Result.GetResult<Prisma.$QuestionnaireQuestionAnswerPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
819
|
+
/**
|
|
820
|
+
* Delete zero or more QuestionnaireQuestionAnswers.
|
|
821
|
+
* @param {QuestionnaireQuestionAnswerDeleteManyArgs} args - Arguments to filter QuestionnaireQuestionAnswers to delete.
|
|
822
|
+
* @example
|
|
823
|
+
* // Delete a few QuestionnaireQuestionAnswers
|
|
824
|
+
* const { count } = await prisma.questionnaireQuestionAnswer.deleteMany({
|
|
825
|
+
* where: {
|
|
826
|
+
* // ... provide filter here
|
|
827
|
+
* }
|
|
828
|
+
* })
|
|
829
|
+
*
|
|
830
|
+
*/
|
|
831
|
+
deleteMany<T extends QuestionnaireQuestionAnswerDeleteManyArgs>(args?: Prisma.SelectSubset<T, QuestionnaireQuestionAnswerDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
832
|
+
/**
|
|
833
|
+
* Update zero or more QuestionnaireQuestionAnswers.
|
|
834
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
835
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
836
|
+
* @param {QuestionnaireQuestionAnswerUpdateManyArgs} args - Arguments to update one or more rows.
|
|
837
|
+
* @example
|
|
838
|
+
* // Update many QuestionnaireQuestionAnswers
|
|
839
|
+
* const questionnaireQuestionAnswer = await prisma.questionnaireQuestionAnswer.updateMany({
|
|
840
|
+
* where: {
|
|
841
|
+
* // ... provide filter here
|
|
842
|
+
* },
|
|
843
|
+
* data: {
|
|
844
|
+
* // ... provide data here
|
|
845
|
+
* }
|
|
846
|
+
* })
|
|
847
|
+
*
|
|
848
|
+
*/
|
|
849
|
+
updateMany<T extends QuestionnaireQuestionAnswerUpdateManyArgs>(args: Prisma.SelectSubset<T, QuestionnaireQuestionAnswerUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
850
|
+
/**
|
|
851
|
+
* Update zero or more QuestionnaireQuestionAnswers and returns the data updated in the database.
|
|
852
|
+
* @param {QuestionnaireQuestionAnswerUpdateManyAndReturnArgs} args - Arguments to update many QuestionnaireQuestionAnswers.
|
|
853
|
+
* @example
|
|
854
|
+
* // Update many QuestionnaireQuestionAnswers
|
|
855
|
+
* const questionnaireQuestionAnswer = await prisma.questionnaireQuestionAnswer.updateManyAndReturn({
|
|
856
|
+
* where: {
|
|
857
|
+
* // ... provide filter here
|
|
858
|
+
* },
|
|
859
|
+
* data: [
|
|
860
|
+
* // ... provide data here
|
|
861
|
+
* ]
|
|
862
|
+
* })
|
|
863
|
+
*
|
|
864
|
+
* // Update zero or more QuestionnaireQuestionAnswers and only return the `id`
|
|
865
|
+
* const questionnaireQuestionAnswerWithIdOnly = await prisma.questionnaireQuestionAnswer.updateManyAndReturn({
|
|
866
|
+
* select: { id: true },
|
|
867
|
+
* where: {
|
|
868
|
+
* // ... provide filter here
|
|
869
|
+
* },
|
|
870
|
+
* data: [
|
|
871
|
+
* // ... provide data here
|
|
872
|
+
* ]
|
|
873
|
+
* })
|
|
874
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
875
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
876
|
+
*
|
|
877
|
+
*/
|
|
878
|
+
updateManyAndReturn<T extends QuestionnaireQuestionAnswerUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, QuestionnaireQuestionAnswerUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$QuestionnaireQuestionAnswerPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
879
|
+
/**
|
|
880
|
+
* Create or update one QuestionnaireQuestionAnswer.
|
|
881
|
+
* @param {QuestionnaireQuestionAnswerUpsertArgs} args - Arguments to update or create a QuestionnaireQuestionAnswer.
|
|
882
|
+
* @example
|
|
883
|
+
* // Update or create a QuestionnaireQuestionAnswer
|
|
884
|
+
* const questionnaireQuestionAnswer = await prisma.questionnaireQuestionAnswer.upsert({
|
|
885
|
+
* create: {
|
|
886
|
+
* // ... data to create a QuestionnaireQuestionAnswer
|
|
887
|
+
* },
|
|
888
|
+
* update: {
|
|
889
|
+
* // ... in case it already exists, update
|
|
890
|
+
* },
|
|
891
|
+
* where: {
|
|
892
|
+
* // ... the filter for the QuestionnaireQuestionAnswer we want to update
|
|
893
|
+
* }
|
|
894
|
+
* })
|
|
895
|
+
*/
|
|
896
|
+
upsert<T extends QuestionnaireQuestionAnswerUpsertArgs>(args: Prisma.SelectSubset<T, QuestionnaireQuestionAnswerUpsertArgs<ExtArgs>>): Prisma.Prisma__QuestionnaireQuestionAnswerClient<runtime.Types.Result.GetResult<Prisma.$QuestionnaireQuestionAnswerPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
897
|
+
/**
|
|
898
|
+
* Count the number of QuestionnaireQuestionAnswers.
|
|
899
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
900
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
901
|
+
* @param {QuestionnaireQuestionAnswerCountArgs} args - Arguments to filter QuestionnaireQuestionAnswers to count.
|
|
902
|
+
* @example
|
|
903
|
+
* // Count the number of QuestionnaireQuestionAnswers
|
|
904
|
+
* const count = await prisma.questionnaireQuestionAnswer.count({
|
|
905
|
+
* where: {
|
|
906
|
+
* // ... the filter for the QuestionnaireQuestionAnswers we want to count
|
|
907
|
+
* }
|
|
908
|
+
* })
|
|
909
|
+
**/
|
|
910
|
+
count<T extends QuestionnaireQuestionAnswerCountArgs>(args?: Prisma.Subset<T, QuestionnaireQuestionAnswerCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], QuestionnaireQuestionAnswerCountAggregateOutputType> : number>;
|
|
911
|
+
/**
|
|
912
|
+
* Allows you to perform aggregations operations on a QuestionnaireQuestionAnswer.
|
|
913
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
914
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
915
|
+
* @param {QuestionnaireQuestionAnswerAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
916
|
+
* @example
|
|
917
|
+
* // Ordered by age ascending
|
|
918
|
+
* // Where email contains prisma.io
|
|
919
|
+
* // Limited to the 10 users
|
|
920
|
+
* const aggregations = await prisma.user.aggregate({
|
|
921
|
+
* _avg: {
|
|
922
|
+
* age: true,
|
|
923
|
+
* },
|
|
924
|
+
* where: {
|
|
925
|
+
* email: {
|
|
926
|
+
* contains: "prisma.io",
|
|
927
|
+
* },
|
|
928
|
+
* },
|
|
929
|
+
* orderBy: {
|
|
930
|
+
* age: "asc",
|
|
931
|
+
* },
|
|
932
|
+
* take: 10,
|
|
933
|
+
* })
|
|
934
|
+
**/
|
|
935
|
+
aggregate<T extends QuestionnaireQuestionAnswerAggregateArgs>(args: Prisma.Subset<T, QuestionnaireQuestionAnswerAggregateArgs>): Prisma.PrismaPromise<GetQuestionnaireQuestionAnswerAggregateType<T>>;
|
|
936
|
+
/**
|
|
937
|
+
* Group by QuestionnaireQuestionAnswer.
|
|
938
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
939
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
940
|
+
* @param {QuestionnaireQuestionAnswerGroupByArgs} args - Group by arguments.
|
|
941
|
+
* @example
|
|
942
|
+
* // Group by city, order by createdAt, get count
|
|
943
|
+
* const result = await prisma.user.groupBy({
|
|
944
|
+
* by: ['city', 'createdAt'],
|
|
945
|
+
* orderBy: {
|
|
946
|
+
* createdAt: true
|
|
947
|
+
* },
|
|
948
|
+
* _count: {
|
|
949
|
+
* _all: true
|
|
950
|
+
* },
|
|
951
|
+
* })
|
|
952
|
+
*
|
|
953
|
+
**/
|
|
954
|
+
groupBy<T extends QuestionnaireQuestionAnswerGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
955
|
+
orderBy: QuestionnaireQuestionAnswerGroupByArgs['orderBy'];
|
|
956
|
+
} : {
|
|
957
|
+
orderBy?: QuestionnaireQuestionAnswerGroupByArgs['orderBy'];
|
|
958
|
+
}, 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 ? {
|
|
959
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
960
|
+
Error,
|
|
961
|
+
'Field ',
|
|
962
|
+
P,
|
|
963
|
+
` in "having" needs to be provided in "by"`
|
|
964
|
+
];
|
|
965
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
966
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
967
|
+
}[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 ? {} : {
|
|
968
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
969
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
970
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
971
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, QuestionnaireQuestionAnswerGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetQuestionnaireQuestionAnswerGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
972
|
+
/**
|
|
973
|
+
* Fields of the QuestionnaireQuestionAnswer model
|
|
974
|
+
*/
|
|
975
|
+
readonly fields: QuestionnaireQuestionAnswerFieldRefs;
|
|
976
|
+
}
|
|
977
|
+
/**
|
|
978
|
+
* The delegate class that acts as a "Promise-like" for QuestionnaireQuestionAnswer.
|
|
979
|
+
* Why is this prefixed with `Prisma__`?
|
|
980
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
981
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
982
|
+
*/
|
|
983
|
+
export interface Prisma__QuestionnaireQuestionAnswerClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
984
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
985
|
+
questionnaire<T extends Prisma.QuestionnaireDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.QuestionnaireDefaultArgs<ExtArgs>>): Prisma.Prisma__QuestionnaireClient<runtime.Types.Result.GetResult<Prisma.$QuestionnairePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
986
|
+
/**
|
|
987
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
988
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
989
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
990
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
991
|
+
*/
|
|
992
|
+
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>;
|
|
993
|
+
/**
|
|
994
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
995
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
996
|
+
* @returns A Promise for the completion of the callback.
|
|
997
|
+
*/
|
|
998
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
999
|
+
/**
|
|
1000
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1001
|
+
* resolved value cannot be modified from the callback.
|
|
1002
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1003
|
+
* @returns A Promise for the completion of the callback.
|
|
1004
|
+
*/
|
|
1005
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
1006
|
+
}
|
|
1007
|
+
/**
|
|
1008
|
+
* Fields of the QuestionnaireQuestionAnswer model
|
|
1009
|
+
*/
|
|
1010
|
+
export interface QuestionnaireQuestionAnswerFieldRefs {
|
|
1011
|
+
readonly id: Prisma.FieldRef<"QuestionnaireQuestionAnswer", 'String'>;
|
|
1012
|
+
readonly question: Prisma.FieldRef<"QuestionnaireQuestionAnswer", 'String'>;
|
|
1013
|
+
readonly answer: Prisma.FieldRef<"QuestionnaireQuestionAnswer", 'String'>;
|
|
1014
|
+
readonly status: Prisma.FieldRef<"QuestionnaireQuestionAnswer", 'QuestionnaireAnswerStatus'>;
|
|
1015
|
+
readonly questionIndex: Prisma.FieldRef<"QuestionnaireQuestionAnswer", 'Int'>;
|
|
1016
|
+
readonly sources: Prisma.FieldRef<"QuestionnaireQuestionAnswer", 'Json'>;
|
|
1017
|
+
readonly generatedAt: Prisma.FieldRef<"QuestionnaireQuestionAnswer", 'DateTime'>;
|
|
1018
|
+
readonly updatedBy: Prisma.FieldRef<"QuestionnaireQuestionAnswer", 'String'>;
|
|
1019
|
+
readonly createdAt: Prisma.FieldRef<"QuestionnaireQuestionAnswer", 'DateTime'>;
|
|
1020
|
+
readonly updatedAt: Prisma.FieldRef<"QuestionnaireQuestionAnswer", 'DateTime'>;
|
|
1021
|
+
readonly questionnaireId: Prisma.FieldRef<"QuestionnaireQuestionAnswer", 'String'>;
|
|
1022
|
+
}
|
|
1023
|
+
/**
|
|
1024
|
+
* QuestionnaireQuestionAnswer findUnique
|
|
1025
|
+
*/
|
|
1026
|
+
export type QuestionnaireQuestionAnswerFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1027
|
+
/**
|
|
1028
|
+
* Select specific fields to fetch from the QuestionnaireQuestionAnswer
|
|
1029
|
+
*/
|
|
1030
|
+
select?: Prisma.QuestionnaireQuestionAnswerSelect<ExtArgs> | null;
|
|
1031
|
+
/**
|
|
1032
|
+
* Omit specific fields from the QuestionnaireQuestionAnswer
|
|
1033
|
+
*/
|
|
1034
|
+
omit?: Prisma.QuestionnaireQuestionAnswerOmit<ExtArgs> | null;
|
|
1035
|
+
/**
|
|
1036
|
+
* Choose, which related nodes to fetch as well
|
|
1037
|
+
*/
|
|
1038
|
+
include?: Prisma.QuestionnaireQuestionAnswerInclude<ExtArgs> | null;
|
|
1039
|
+
/**
|
|
1040
|
+
* Filter, which QuestionnaireQuestionAnswer to fetch.
|
|
1041
|
+
*/
|
|
1042
|
+
where: Prisma.QuestionnaireQuestionAnswerWhereUniqueInput;
|
|
1043
|
+
};
|
|
1044
|
+
/**
|
|
1045
|
+
* QuestionnaireQuestionAnswer findUniqueOrThrow
|
|
1046
|
+
*/
|
|
1047
|
+
export type QuestionnaireQuestionAnswerFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1048
|
+
/**
|
|
1049
|
+
* Select specific fields to fetch from the QuestionnaireQuestionAnswer
|
|
1050
|
+
*/
|
|
1051
|
+
select?: Prisma.QuestionnaireQuestionAnswerSelect<ExtArgs> | null;
|
|
1052
|
+
/**
|
|
1053
|
+
* Omit specific fields from the QuestionnaireQuestionAnswer
|
|
1054
|
+
*/
|
|
1055
|
+
omit?: Prisma.QuestionnaireQuestionAnswerOmit<ExtArgs> | null;
|
|
1056
|
+
/**
|
|
1057
|
+
* Choose, which related nodes to fetch as well
|
|
1058
|
+
*/
|
|
1059
|
+
include?: Prisma.QuestionnaireQuestionAnswerInclude<ExtArgs> | null;
|
|
1060
|
+
/**
|
|
1061
|
+
* Filter, which QuestionnaireQuestionAnswer to fetch.
|
|
1062
|
+
*/
|
|
1063
|
+
where: Prisma.QuestionnaireQuestionAnswerWhereUniqueInput;
|
|
1064
|
+
};
|
|
1065
|
+
/**
|
|
1066
|
+
* QuestionnaireQuestionAnswer findFirst
|
|
1067
|
+
*/
|
|
1068
|
+
export type QuestionnaireQuestionAnswerFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1069
|
+
/**
|
|
1070
|
+
* Select specific fields to fetch from the QuestionnaireQuestionAnswer
|
|
1071
|
+
*/
|
|
1072
|
+
select?: Prisma.QuestionnaireQuestionAnswerSelect<ExtArgs> | null;
|
|
1073
|
+
/**
|
|
1074
|
+
* Omit specific fields from the QuestionnaireQuestionAnswer
|
|
1075
|
+
*/
|
|
1076
|
+
omit?: Prisma.QuestionnaireQuestionAnswerOmit<ExtArgs> | null;
|
|
1077
|
+
/**
|
|
1078
|
+
* Choose, which related nodes to fetch as well
|
|
1079
|
+
*/
|
|
1080
|
+
include?: Prisma.QuestionnaireQuestionAnswerInclude<ExtArgs> | null;
|
|
1081
|
+
/**
|
|
1082
|
+
* Filter, which QuestionnaireQuestionAnswer to fetch.
|
|
1083
|
+
*/
|
|
1084
|
+
where?: Prisma.QuestionnaireQuestionAnswerWhereInput;
|
|
1085
|
+
/**
|
|
1086
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1087
|
+
*
|
|
1088
|
+
* Determine the order of QuestionnaireQuestionAnswers to fetch.
|
|
1089
|
+
*/
|
|
1090
|
+
orderBy?: Prisma.QuestionnaireQuestionAnswerOrderByWithRelationInput | Prisma.QuestionnaireQuestionAnswerOrderByWithRelationInput[];
|
|
1091
|
+
/**
|
|
1092
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1093
|
+
*
|
|
1094
|
+
* Sets the position for searching for QuestionnaireQuestionAnswers.
|
|
1095
|
+
*/
|
|
1096
|
+
cursor?: Prisma.QuestionnaireQuestionAnswerWhereUniqueInput;
|
|
1097
|
+
/**
|
|
1098
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1099
|
+
*
|
|
1100
|
+
* Take `±n` QuestionnaireQuestionAnswers from the position of the cursor.
|
|
1101
|
+
*/
|
|
1102
|
+
take?: number;
|
|
1103
|
+
/**
|
|
1104
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1105
|
+
*
|
|
1106
|
+
* Skip the first `n` QuestionnaireQuestionAnswers.
|
|
1107
|
+
*/
|
|
1108
|
+
skip?: number;
|
|
1109
|
+
/**
|
|
1110
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1111
|
+
*
|
|
1112
|
+
* Filter by unique combinations of QuestionnaireQuestionAnswers.
|
|
1113
|
+
*/
|
|
1114
|
+
distinct?: Prisma.QuestionnaireQuestionAnswerScalarFieldEnum | Prisma.QuestionnaireQuestionAnswerScalarFieldEnum[];
|
|
1115
|
+
};
|
|
1116
|
+
/**
|
|
1117
|
+
* QuestionnaireQuestionAnswer findFirstOrThrow
|
|
1118
|
+
*/
|
|
1119
|
+
export type QuestionnaireQuestionAnswerFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1120
|
+
/**
|
|
1121
|
+
* Select specific fields to fetch from the QuestionnaireQuestionAnswer
|
|
1122
|
+
*/
|
|
1123
|
+
select?: Prisma.QuestionnaireQuestionAnswerSelect<ExtArgs> | null;
|
|
1124
|
+
/**
|
|
1125
|
+
* Omit specific fields from the QuestionnaireQuestionAnswer
|
|
1126
|
+
*/
|
|
1127
|
+
omit?: Prisma.QuestionnaireQuestionAnswerOmit<ExtArgs> | null;
|
|
1128
|
+
/**
|
|
1129
|
+
* Choose, which related nodes to fetch as well
|
|
1130
|
+
*/
|
|
1131
|
+
include?: Prisma.QuestionnaireQuestionAnswerInclude<ExtArgs> | null;
|
|
1132
|
+
/**
|
|
1133
|
+
* Filter, which QuestionnaireQuestionAnswer to fetch.
|
|
1134
|
+
*/
|
|
1135
|
+
where?: Prisma.QuestionnaireQuestionAnswerWhereInput;
|
|
1136
|
+
/**
|
|
1137
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1138
|
+
*
|
|
1139
|
+
* Determine the order of QuestionnaireQuestionAnswers to fetch.
|
|
1140
|
+
*/
|
|
1141
|
+
orderBy?: Prisma.QuestionnaireQuestionAnswerOrderByWithRelationInput | Prisma.QuestionnaireQuestionAnswerOrderByWithRelationInput[];
|
|
1142
|
+
/**
|
|
1143
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1144
|
+
*
|
|
1145
|
+
* Sets the position for searching for QuestionnaireQuestionAnswers.
|
|
1146
|
+
*/
|
|
1147
|
+
cursor?: Prisma.QuestionnaireQuestionAnswerWhereUniqueInput;
|
|
1148
|
+
/**
|
|
1149
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1150
|
+
*
|
|
1151
|
+
* Take `±n` QuestionnaireQuestionAnswers from the position of the cursor.
|
|
1152
|
+
*/
|
|
1153
|
+
take?: number;
|
|
1154
|
+
/**
|
|
1155
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1156
|
+
*
|
|
1157
|
+
* Skip the first `n` QuestionnaireQuestionAnswers.
|
|
1158
|
+
*/
|
|
1159
|
+
skip?: number;
|
|
1160
|
+
/**
|
|
1161
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1162
|
+
*
|
|
1163
|
+
* Filter by unique combinations of QuestionnaireQuestionAnswers.
|
|
1164
|
+
*/
|
|
1165
|
+
distinct?: Prisma.QuestionnaireQuestionAnswerScalarFieldEnum | Prisma.QuestionnaireQuestionAnswerScalarFieldEnum[];
|
|
1166
|
+
};
|
|
1167
|
+
/**
|
|
1168
|
+
* QuestionnaireQuestionAnswer findMany
|
|
1169
|
+
*/
|
|
1170
|
+
export type QuestionnaireQuestionAnswerFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1171
|
+
/**
|
|
1172
|
+
* Select specific fields to fetch from the QuestionnaireQuestionAnswer
|
|
1173
|
+
*/
|
|
1174
|
+
select?: Prisma.QuestionnaireQuestionAnswerSelect<ExtArgs> | null;
|
|
1175
|
+
/**
|
|
1176
|
+
* Omit specific fields from the QuestionnaireQuestionAnswer
|
|
1177
|
+
*/
|
|
1178
|
+
omit?: Prisma.QuestionnaireQuestionAnswerOmit<ExtArgs> | null;
|
|
1179
|
+
/**
|
|
1180
|
+
* Choose, which related nodes to fetch as well
|
|
1181
|
+
*/
|
|
1182
|
+
include?: Prisma.QuestionnaireQuestionAnswerInclude<ExtArgs> | null;
|
|
1183
|
+
/**
|
|
1184
|
+
* Filter, which QuestionnaireQuestionAnswers to fetch.
|
|
1185
|
+
*/
|
|
1186
|
+
where?: Prisma.QuestionnaireQuestionAnswerWhereInput;
|
|
1187
|
+
/**
|
|
1188
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1189
|
+
*
|
|
1190
|
+
* Determine the order of QuestionnaireQuestionAnswers to fetch.
|
|
1191
|
+
*/
|
|
1192
|
+
orderBy?: Prisma.QuestionnaireQuestionAnswerOrderByWithRelationInput | Prisma.QuestionnaireQuestionAnswerOrderByWithRelationInput[];
|
|
1193
|
+
/**
|
|
1194
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1195
|
+
*
|
|
1196
|
+
* Sets the position for listing QuestionnaireQuestionAnswers.
|
|
1197
|
+
*/
|
|
1198
|
+
cursor?: Prisma.QuestionnaireQuestionAnswerWhereUniqueInput;
|
|
1199
|
+
/**
|
|
1200
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1201
|
+
*
|
|
1202
|
+
* Take `±n` QuestionnaireQuestionAnswers from the position of the cursor.
|
|
1203
|
+
*/
|
|
1204
|
+
take?: number;
|
|
1205
|
+
/**
|
|
1206
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1207
|
+
*
|
|
1208
|
+
* Skip the first `n` QuestionnaireQuestionAnswers.
|
|
1209
|
+
*/
|
|
1210
|
+
skip?: number;
|
|
1211
|
+
/**
|
|
1212
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1213
|
+
*
|
|
1214
|
+
* Filter by unique combinations of QuestionnaireQuestionAnswers.
|
|
1215
|
+
*/
|
|
1216
|
+
distinct?: Prisma.QuestionnaireQuestionAnswerScalarFieldEnum | Prisma.QuestionnaireQuestionAnswerScalarFieldEnum[];
|
|
1217
|
+
};
|
|
1218
|
+
/**
|
|
1219
|
+
* QuestionnaireQuestionAnswer create
|
|
1220
|
+
*/
|
|
1221
|
+
export type QuestionnaireQuestionAnswerCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1222
|
+
/**
|
|
1223
|
+
* Select specific fields to fetch from the QuestionnaireQuestionAnswer
|
|
1224
|
+
*/
|
|
1225
|
+
select?: Prisma.QuestionnaireQuestionAnswerSelect<ExtArgs> | null;
|
|
1226
|
+
/**
|
|
1227
|
+
* Omit specific fields from the QuestionnaireQuestionAnswer
|
|
1228
|
+
*/
|
|
1229
|
+
omit?: Prisma.QuestionnaireQuestionAnswerOmit<ExtArgs> | null;
|
|
1230
|
+
/**
|
|
1231
|
+
* Choose, which related nodes to fetch as well
|
|
1232
|
+
*/
|
|
1233
|
+
include?: Prisma.QuestionnaireQuestionAnswerInclude<ExtArgs> | null;
|
|
1234
|
+
/**
|
|
1235
|
+
* The data needed to create a QuestionnaireQuestionAnswer.
|
|
1236
|
+
*/
|
|
1237
|
+
data: Prisma.XOR<Prisma.QuestionnaireQuestionAnswerCreateInput, Prisma.QuestionnaireQuestionAnswerUncheckedCreateInput>;
|
|
1238
|
+
};
|
|
1239
|
+
/**
|
|
1240
|
+
* QuestionnaireQuestionAnswer createMany
|
|
1241
|
+
*/
|
|
1242
|
+
export type QuestionnaireQuestionAnswerCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1243
|
+
/**
|
|
1244
|
+
* The data used to create many QuestionnaireQuestionAnswers.
|
|
1245
|
+
*/
|
|
1246
|
+
data: Prisma.QuestionnaireQuestionAnswerCreateManyInput | Prisma.QuestionnaireQuestionAnswerCreateManyInput[];
|
|
1247
|
+
skipDuplicates?: boolean;
|
|
1248
|
+
};
|
|
1249
|
+
/**
|
|
1250
|
+
* QuestionnaireQuestionAnswer createManyAndReturn
|
|
1251
|
+
*/
|
|
1252
|
+
export type QuestionnaireQuestionAnswerCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1253
|
+
/**
|
|
1254
|
+
* Select specific fields to fetch from the QuestionnaireQuestionAnswer
|
|
1255
|
+
*/
|
|
1256
|
+
select?: Prisma.QuestionnaireQuestionAnswerSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1257
|
+
/**
|
|
1258
|
+
* Omit specific fields from the QuestionnaireQuestionAnswer
|
|
1259
|
+
*/
|
|
1260
|
+
omit?: Prisma.QuestionnaireQuestionAnswerOmit<ExtArgs> | null;
|
|
1261
|
+
/**
|
|
1262
|
+
* The data used to create many QuestionnaireQuestionAnswers.
|
|
1263
|
+
*/
|
|
1264
|
+
data: Prisma.QuestionnaireQuestionAnswerCreateManyInput | Prisma.QuestionnaireQuestionAnswerCreateManyInput[];
|
|
1265
|
+
skipDuplicates?: boolean;
|
|
1266
|
+
/**
|
|
1267
|
+
* Choose, which related nodes to fetch as well
|
|
1268
|
+
*/
|
|
1269
|
+
include?: Prisma.QuestionnaireQuestionAnswerIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1270
|
+
};
|
|
1271
|
+
/**
|
|
1272
|
+
* QuestionnaireQuestionAnswer update
|
|
1273
|
+
*/
|
|
1274
|
+
export type QuestionnaireQuestionAnswerUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1275
|
+
/**
|
|
1276
|
+
* Select specific fields to fetch from the QuestionnaireQuestionAnswer
|
|
1277
|
+
*/
|
|
1278
|
+
select?: Prisma.QuestionnaireQuestionAnswerSelect<ExtArgs> | null;
|
|
1279
|
+
/**
|
|
1280
|
+
* Omit specific fields from the QuestionnaireQuestionAnswer
|
|
1281
|
+
*/
|
|
1282
|
+
omit?: Prisma.QuestionnaireQuestionAnswerOmit<ExtArgs> | null;
|
|
1283
|
+
/**
|
|
1284
|
+
* Choose, which related nodes to fetch as well
|
|
1285
|
+
*/
|
|
1286
|
+
include?: Prisma.QuestionnaireQuestionAnswerInclude<ExtArgs> | null;
|
|
1287
|
+
/**
|
|
1288
|
+
* The data needed to update a QuestionnaireQuestionAnswer.
|
|
1289
|
+
*/
|
|
1290
|
+
data: Prisma.XOR<Prisma.QuestionnaireQuestionAnswerUpdateInput, Prisma.QuestionnaireQuestionAnswerUncheckedUpdateInput>;
|
|
1291
|
+
/**
|
|
1292
|
+
* Choose, which QuestionnaireQuestionAnswer to update.
|
|
1293
|
+
*/
|
|
1294
|
+
where: Prisma.QuestionnaireQuestionAnswerWhereUniqueInput;
|
|
1295
|
+
};
|
|
1296
|
+
/**
|
|
1297
|
+
* QuestionnaireQuestionAnswer updateMany
|
|
1298
|
+
*/
|
|
1299
|
+
export type QuestionnaireQuestionAnswerUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1300
|
+
/**
|
|
1301
|
+
* The data used to update QuestionnaireQuestionAnswers.
|
|
1302
|
+
*/
|
|
1303
|
+
data: Prisma.XOR<Prisma.QuestionnaireQuestionAnswerUpdateManyMutationInput, Prisma.QuestionnaireQuestionAnswerUncheckedUpdateManyInput>;
|
|
1304
|
+
/**
|
|
1305
|
+
* Filter which QuestionnaireQuestionAnswers to update
|
|
1306
|
+
*/
|
|
1307
|
+
where?: Prisma.QuestionnaireQuestionAnswerWhereInput;
|
|
1308
|
+
/**
|
|
1309
|
+
* Limit how many QuestionnaireQuestionAnswers to update.
|
|
1310
|
+
*/
|
|
1311
|
+
limit?: number;
|
|
1312
|
+
};
|
|
1313
|
+
/**
|
|
1314
|
+
* QuestionnaireQuestionAnswer updateManyAndReturn
|
|
1315
|
+
*/
|
|
1316
|
+
export type QuestionnaireQuestionAnswerUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1317
|
+
/**
|
|
1318
|
+
* Select specific fields to fetch from the QuestionnaireQuestionAnswer
|
|
1319
|
+
*/
|
|
1320
|
+
select?: Prisma.QuestionnaireQuestionAnswerSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1321
|
+
/**
|
|
1322
|
+
* Omit specific fields from the QuestionnaireQuestionAnswer
|
|
1323
|
+
*/
|
|
1324
|
+
omit?: Prisma.QuestionnaireQuestionAnswerOmit<ExtArgs> | null;
|
|
1325
|
+
/**
|
|
1326
|
+
* The data used to update QuestionnaireQuestionAnswers.
|
|
1327
|
+
*/
|
|
1328
|
+
data: Prisma.XOR<Prisma.QuestionnaireQuestionAnswerUpdateManyMutationInput, Prisma.QuestionnaireQuestionAnswerUncheckedUpdateManyInput>;
|
|
1329
|
+
/**
|
|
1330
|
+
* Filter which QuestionnaireQuestionAnswers to update
|
|
1331
|
+
*/
|
|
1332
|
+
where?: Prisma.QuestionnaireQuestionAnswerWhereInput;
|
|
1333
|
+
/**
|
|
1334
|
+
* Limit how many QuestionnaireQuestionAnswers to update.
|
|
1335
|
+
*/
|
|
1336
|
+
limit?: number;
|
|
1337
|
+
/**
|
|
1338
|
+
* Choose, which related nodes to fetch as well
|
|
1339
|
+
*/
|
|
1340
|
+
include?: Prisma.QuestionnaireQuestionAnswerIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1341
|
+
};
|
|
1342
|
+
/**
|
|
1343
|
+
* QuestionnaireQuestionAnswer upsert
|
|
1344
|
+
*/
|
|
1345
|
+
export type QuestionnaireQuestionAnswerUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1346
|
+
/**
|
|
1347
|
+
* Select specific fields to fetch from the QuestionnaireQuestionAnswer
|
|
1348
|
+
*/
|
|
1349
|
+
select?: Prisma.QuestionnaireQuestionAnswerSelect<ExtArgs> | null;
|
|
1350
|
+
/**
|
|
1351
|
+
* Omit specific fields from the QuestionnaireQuestionAnswer
|
|
1352
|
+
*/
|
|
1353
|
+
omit?: Prisma.QuestionnaireQuestionAnswerOmit<ExtArgs> | null;
|
|
1354
|
+
/**
|
|
1355
|
+
* Choose, which related nodes to fetch as well
|
|
1356
|
+
*/
|
|
1357
|
+
include?: Prisma.QuestionnaireQuestionAnswerInclude<ExtArgs> | null;
|
|
1358
|
+
/**
|
|
1359
|
+
* The filter to search for the QuestionnaireQuestionAnswer to update in case it exists.
|
|
1360
|
+
*/
|
|
1361
|
+
where: Prisma.QuestionnaireQuestionAnswerWhereUniqueInput;
|
|
1362
|
+
/**
|
|
1363
|
+
* In case the QuestionnaireQuestionAnswer found by the `where` argument doesn't exist, create a new QuestionnaireQuestionAnswer with this data.
|
|
1364
|
+
*/
|
|
1365
|
+
create: Prisma.XOR<Prisma.QuestionnaireQuestionAnswerCreateInput, Prisma.QuestionnaireQuestionAnswerUncheckedCreateInput>;
|
|
1366
|
+
/**
|
|
1367
|
+
* In case the QuestionnaireQuestionAnswer was found with the provided `where` argument, update it with this data.
|
|
1368
|
+
*/
|
|
1369
|
+
update: Prisma.XOR<Prisma.QuestionnaireQuestionAnswerUpdateInput, Prisma.QuestionnaireQuestionAnswerUncheckedUpdateInput>;
|
|
1370
|
+
};
|
|
1371
|
+
/**
|
|
1372
|
+
* QuestionnaireQuestionAnswer delete
|
|
1373
|
+
*/
|
|
1374
|
+
export type QuestionnaireQuestionAnswerDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1375
|
+
/**
|
|
1376
|
+
* Select specific fields to fetch from the QuestionnaireQuestionAnswer
|
|
1377
|
+
*/
|
|
1378
|
+
select?: Prisma.QuestionnaireQuestionAnswerSelect<ExtArgs> | null;
|
|
1379
|
+
/**
|
|
1380
|
+
* Omit specific fields from the QuestionnaireQuestionAnswer
|
|
1381
|
+
*/
|
|
1382
|
+
omit?: Prisma.QuestionnaireQuestionAnswerOmit<ExtArgs> | null;
|
|
1383
|
+
/**
|
|
1384
|
+
* Choose, which related nodes to fetch as well
|
|
1385
|
+
*/
|
|
1386
|
+
include?: Prisma.QuestionnaireQuestionAnswerInclude<ExtArgs> | null;
|
|
1387
|
+
/**
|
|
1388
|
+
* Filter which QuestionnaireQuestionAnswer to delete.
|
|
1389
|
+
*/
|
|
1390
|
+
where: Prisma.QuestionnaireQuestionAnswerWhereUniqueInput;
|
|
1391
|
+
};
|
|
1392
|
+
/**
|
|
1393
|
+
* QuestionnaireQuestionAnswer deleteMany
|
|
1394
|
+
*/
|
|
1395
|
+
export type QuestionnaireQuestionAnswerDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1396
|
+
/**
|
|
1397
|
+
* Filter which QuestionnaireQuestionAnswers to delete
|
|
1398
|
+
*/
|
|
1399
|
+
where?: Prisma.QuestionnaireQuestionAnswerWhereInput;
|
|
1400
|
+
/**
|
|
1401
|
+
* Limit how many QuestionnaireQuestionAnswers to delete.
|
|
1402
|
+
*/
|
|
1403
|
+
limit?: number;
|
|
1404
|
+
};
|
|
1405
|
+
/**
|
|
1406
|
+
* QuestionnaireQuestionAnswer without action
|
|
1407
|
+
*/
|
|
1408
|
+
export type QuestionnaireQuestionAnswerDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1409
|
+
/**
|
|
1410
|
+
* Select specific fields to fetch from the QuestionnaireQuestionAnswer
|
|
1411
|
+
*/
|
|
1412
|
+
select?: Prisma.QuestionnaireQuestionAnswerSelect<ExtArgs> | null;
|
|
1413
|
+
/**
|
|
1414
|
+
* Omit specific fields from the QuestionnaireQuestionAnswer
|
|
1415
|
+
*/
|
|
1416
|
+
omit?: Prisma.QuestionnaireQuestionAnswerOmit<ExtArgs> | null;
|
|
1417
|
+
/**
|
|
1418
|
+
* Choose, which related nodes to fetch as well
|
|
1419
|
+
*/
|
|
1420
|
+
include?: Prisma.QuestionnaireQuestionAnswerInclude<ExtArgs> | null;
|
|
1421
|
+
};
|
|
1422
|
+
//# sourceMappingURL=QuestionnaireQuestionAnswer.d.ts.map
|