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