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