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