@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,1858 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as $Enums from "../enums.js";
|
|
3
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
4
|
+
/**
|
|
5
|
+
* Model Device
|
|
6
|
+
*
|
|
7
|
+
*/
|
|
8
|
+
export type DeviceModel = runtime.Types.Result.DefaultSelection<Prisma.$DevicePayload>;
|
|
9
|
+
export type AggregateDevice = {
|
|
10
|
+
_count: DeviceCountAggregateOutputType | null;
|
|
11
|
+
_min: DeviceMinAggregateOutputType | null;
|
|
12
|
+
_max: DeviceMaxAggregateOutputType | null;
|
|
13
|
+
};
|
|
14
|
+
export type DeviceMinAggregateOutputType = {
|
|
15
|
+
id: string | null;
|
|
16
|
+
name: string | null;
|
|
17
|
+
hostname: string | null;
|
|
18
|
+
platform: $Enums.DevicePlatform | null;
|
|
19
|
+
osVersion: string | null;
|
|
20
|
+
serialNumber: string | null;
|
|
21
|
+
hardwareModel: string | null;
|
|
22
|
+
memberId: string | null;
|
|
23
|
+
organizationId: string | null;
|
|
24
|
+
isCompliant: boolean | null;
|
|
25
|
+
diskEncryptionEnabled: boolean | null;
|
|
26
|
+
antivirusEnabled: boolean | null;
|
|
27
|
+
passwordPolicySet: boolean | null;
|
|
28
|
+
screenLockEnabled: boolean | null;
|
|
29
|
+
lastCheckIn: Date | null;
|
|
30
|
+
agentVersion: string | null;
|
|
31
|
+
installedAt: Date | null;
|
|
32
|
+
updatedAt: Date | null;
|
|
33
|
+
};
|
|
34
|
+
export type DeviceMaxAggregateOutputType = {
|
|
35
|
+
id: string | null;
|
|
36
|
+
name: string | null;
|
|
37
|
+
hostname: string | null;
|
|
38
|
+
platform: $Enums.DevicePlatform | null;
|
|
39
|
+
osVersion: string | null;
|
|
40
|
+
serialNumber: string | null;
|
|
41
|
+
hardwareModel: string | null;
|
|
42
|
+
memberId: string | null;
|
|
43
|
+
organizationId: string | null;
|
|
44
|
+
isCompliant: boolean | null;
|
|
45
|
+
diskEncryptionEnabled: boolean | null;
|
|
46
|
+
antivirusEnabled: boolean | null;
|
|
47
|
+
passwordPolicySet: boolean | null;
|
|
48
|
+
screenLockEnabled: boolean | null;
|
|
49
|
+
lastCheckIn: Date | null;
|
|
50
|
+
agentVersion: string | null;
|
|
51
|
+
installedAt: Date | null;
|
|
52
|
+
updatedAt: Date | null;
|
|
53
|
+
};
|
|
54
|
+
export type DeviceCountAggregateOutputType = {
|
|
55
|
+
id: number;
|
|
56
|
+
name: number;
|
|
57
|
+
hostname: number;
|
|
58
|
+
platform: number;
|
|
59
|
+
osVersion: number;
|
|
60
|
+
serialNumber: number;
|
|
61
|
+
hardwareModel: number;
|
|
62
|
+
memberId: number;
|
|
63
|
+
organizationId: number;
|
|
64
|
+
isCompliant: number;
|
|
65
|
+
diskEncryptionEnabled: number;
|
|
66
|
+
antivirusEnabled: number;
|
|
67
|
+
passwordPolicySet: number;
|
|
68
|
+
screenLockEnabled: number;
|
|
69
|
+
checkDetails: number;
|
|
70
|
+
lastCheckIn: number;
|
|
71
|
+
agentVersion: number;
|
|
72
|
+
installedAt: number;
|
|
73
|
+
updatedAt: number;
|
|
74
|
+
_all: number;
|
|
75
|
+
};
|
|
76
|
+
export type DeviceMinAggregateInputType = {
|
|
77
|
+
id?: true;
|
|
78
|
+
name?: true;
|
|
79
|
+
hostname?: true;
|
|
80
|
+
platform?: true;
|
|
81
|
+
osVersion?: true;
|
|
82
|
+
serialNumber?: true;
|
|
83
|
+
hardwareModel?: true;
|
|
84
|
+
memberId?: true;
|
|
85
|
+
organizationId?: true;
|
|
86
|
+
isCompliant?: true;
|
|
87
|
+
diskEncryptionEnabled?: true;
|
|
88
|
+
antivirusEnabled?: true;
|
|
89
|
+
passwordPolicySet?: true;
|
|
90
|
+
screenLockEnabled?: true;
|
|
91
|
+
lastCheckIn?: true;
|
|
92
|
+
agentVersion?: true;
|
|
93
|
+
installedAt?: true;
|
|
94
|
+
updatedAt?: true;
|
|
95
|
+
};
|
|
96
|
+
export type DeviceMaxAggregateInputType = {
|
|
97
|
+
id?: true;
|
|
98
|
+
name?: true;
|
|
99
|
+
hostname?: true;
|
|
100
|
+
platform?: true;
|
|
101
|
+
osVersion?: true;
|
|
102
|
+
serialNumber?: true;
|
|
103
|
+
hardwareModel?: true;
|
|
104
|
+
memberId?: true;
|
|
105
|
+
organizationId?: true;
|
|
106
|
+
isCompliant?: true;
|
|
107
|
+
diskEncryptionEnabled?: true;
|
|
108
|
+
antivirusEnabled?: true;
|
|
109
|
+
passwordPolicySet?: true;
|
|
110
|
+
screenLockEnabled?: true;
|
|
111
|
+
lastCheckIn?: true;
|
|
112
|
+
agentVersion?: true;
|
|
113
|
+
installedAt?: true;
|
|
114
|
+
updatedAt?: true;
|
|
115
|
+
};
|
|
116
|
+
export type DeviceCountAggregateInputType = {
|
|
117
|
+
id?: true;
|
|
118
|
+
name?: true;
|
|
119
|
+
hostname?: true;
|
|
120
|
+
platform?: true;
|
|
121
|
+
osVersion?: true;
|
|
122
|
+
serialNumber?: true;
|
|
123
|
+
hardwareModel?: true;
|
|
124
|
+
memberId?: true;
|
|
125
|
+
organizationId?: true;
|
|
126
|
+
isCompliant?: true;
|
|
127
|
+
diskEncryptionEnabled?: true;
|
|
128
|
+
antivirusEnabled?: true;
|
|
129
|
+
passwordPolicySet?: true;
|
|
130
|
+
screenLockEnabled?: true;
|
|
131
|
+
checkDetails?: true;
|
|
132
|
+
lastCheckIn?: true;
|
|
133
|
+
agentVersion?: true;
|
|
134
|
+
installedAt?: true;
|
|
135
|
+
updatedAt?: true;
|
|
136
|
+
_all?: true;
|
|
137
|
+
};
|
|
138
|
+
export type DeviceAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
139
|
+
/**
|
|
140
|
+
* Filter which Device to aggregate.
|
|
141
|
+
*/
|
|
142
|
+
where?: Prisma.DeviceWhereInput;
|
|
143
|
+
/**
|
|
144
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
145
|
+
*
|
|
146
|
+
* Determine the order of Devices to fetch.
|
|
147
|
+
*/
|
|
148
|
+
orderBy?: Prisma.DeviceOrderByWithRelationInput | Prisma.DeviceOrderByWithRelationInput[];
|
|
149
|
+
/**
|
|
150
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
151
|
+
*
|
|
152
|
+
* Sets the start position
|
|
153
|
+
*/
|
|
154
|
+
cursor?: Prisma.DeviceWhereUniqueInput;
|
|
155
|
+
/**
|
|
156
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
157
|
+
*
|
|
158
|
+
* Take `±n` Devices from the position of the cursor.
|
|
159
|
+
*/
|
|
160
|
+
take?: number;
|
|
161
|
+
/**
|
|
162
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
163
|
+
*
|
|
164
|
+
* Skip the first `n` Devices.
|
|
165
|
+
*/
|
|
166
|
+
skip?: number;
|
|
167
|
+
/**
|
|
168
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
169
|
+
*
|
|
170
|
+
* Count returned Devices
|
|
171
|
+
**/
|
|
172
|
+
_count?: true | DeviceCountAggregateInputType;
|
|
173
|
+
/**
|
|
174
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
175
|
+
*
|
|
176
|
+
* Select which fields to find the minimum value
|
|
177
|
+
**/
|
|
178
|
+
_min?: DeviceMinAggregateInputType;
|
|
179
|
+
/**
|
|
180
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
181
|
+
*
|
|
182
|
+
* Select which fields to find the maximum value
|
|
183
|
+
**/
|
|
184
|
+
_max?: DeviceMaxAggregateInputType;
|
|
185
|
+
};
|
|
186
|
+
export type GetDeviceAggregateType<T extends DeviceAggregateArgs> = {
|
|
187
|
+
[P in keyof T & keyof AggregateDevice]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateDevice[P]> : Prisma.GetScalarType<T[P], AggregateDevice[P]>;
|
|
188
|
+
};
|
|
189
|
+
export type DeviceGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
190
|
+
where?: Prisma.DeviceWhereInput;
|
|
191
|
+
orderBy?: Prisma.DeviceOrderByWithAggregationInput | Prisma.DeviceOrderByWithAggregationInput[];
|
|
192
|
+
by: Prisma.DeviceScalarFieldEnum[] | Prisma.DeviceScalarFieldEnum;
|
|
193
|
+
having?: Prisma.DeviceScalarWhereWithAggregatesInput;
|
|
194
|
+
take?: number;
|
|
195
|
+
skip?: number;
|
|
196
|
+
_count?: DeviceCountAggregateInputType | true;
|
|
197
|
+
_min?: DeviceMinAggregateInputType;
|
|
198
|
+
_max?: DeviceMaxAggregateInputType;
|
|
199
|
+
};
|
|
200
|
+
export type DeviceGroupByOutputType = {
|
|
201
|
+
id: string;
|
|
202
|
+
name: string;
|
|
203
|
+
hostname: string;
|
|
204
|
+
platform: $Enums.DevicePlatform;
|
|
205
|
+
osVersion: string;
|
|
206
|
+
serialNumber: string | null;
|
|
207
|
+
hardwareModel: string | null;
|
|
208
|
+
memberId: string;
|
|
209
|
+
organizationId: string;
|
|
210
|
+
isCompliant: boolean;
|
|
211
|
+
diskEncryptionEnabled: boolean;
|
|
212
|
+
antivirusEnabled: boolean;
|
|
213
|
+
passwordPolicySet: boolean;
|
|
214
|
+
screenLockEnabled: boolean;
|
|
215
|
+
checkDetails: runtime.JsonValue | null;
|
|
216
|
+
lastCheckIn: Date | null;
|
|
217
|
+
agentVersion: string | null;
|
|
218
|
+
installedAt: Date;
|
|
219
|
+
updatedAt: Date;
|
|
220
|
+
_count: DeviceCountAggregateOutputType | null;
|
|
221
|
+
_min: DeviceMinAggregateOutputType | null;
|
|
222
|
+
_max: DeviceMaxAggregateOutputType | null;
|
|
223
|
+
};
|
|
224
|
+
export type GetDeviceGroupByPayload<T extends DeviceGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<DeviceGroupByOutputType, T['by']> & {
|
|
225
|
+
[P in ((keyof T) & (keyof DeviceGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], DeviceGroupByOutputType[P]> : Prisma.GetScalarType<T[P], DeviceGroupByOutputType[P]>;
|
|
226
|
+
}>>;
|
|
227
|
+
export type DeviceWhereInput = {
|
|
228
|
+
AND?: Prisma.DeviceWhereInput | Prisma.DeviceWhereInput[];
|
|
229
|
+
OR?: Prisma.DeviceWhereInput[];
|
|
230
|
+
NOT?: Prisma.DeviceWhereInput | Prisma.DeviceWhereInput[];
|
|
231
|
+
id?: Prisma.StringFilter<"Device"> | string;
|
|
232
|
+
name?: Prisma.StringFilter<"Device"> | string;
|
|
233
|
+
hostname?: Prisma.StringFilter<"Device"> | string;
|
|
234
|
+
platform?: Prisma.EnumDevicePlatformFilter<"Device"> | $Enums.DevicePlatform;
|
|
235
|
+
osVersion?: Prisma.StringFilter<"Device"> | string;
|
|
236
|
+
serialNumber?: Prisma.StringNullableFilter<"Device"> | string | null;
|
|
237
|
+
hardwareModel?: Prisma.StringNullableFilter<"Device"> | string | null;
|
|
238
|
+
memberId?: Prisma.StringFilter<"Device"> | string;
|
|
239
|
+
organizationId?: Prisma.StringFilter<"Device"> | string;
|
|
240
|
+
isCompliant?: Prisma.BoolFilter<"Device"> | boolean;
|
|
241
|
+
diskEncryptionEnabled?: Prisma.BoolFilter<"Device"> | boolean;
|
|
242
|
+
antivirusEnabled?: Prisma.BoolFilter<"Device"> | boolean;
|
|
243
|
+
passwordPolicySet?: Prisma.BoolFilter<"Device"> | boolean;
|
|
244
|
+
screenLockEnabled?: Prisma.BoolFilter<"Device"> | boolean;
|
|
245
|
+
checkDetails?: Prisma.JsonNullableFilter<"Device">;
|
|
246
|
+
lastCheckIn?: Prisma.DateTimeNullableFilter<"Device"> | Date | string | null;
|
|
247
|
+
agentVersion?: Prisma.StringNullableFilter<"Device"> | string | null;
|
|
248
|
+
installedAt?: Prisma.DateTimeFilter<"Device"> | Date | string;
|
|
249
|
+
updatedAt?: Prisma.DateTimeFilter<"Device"> | Date | string;
|
|
250
|
+
member?: Prisma.XOR<Prisma.MemberScalarRelationFilter, Prisma.MemberWhereInput>;
|
|
251
|
+
organization?: Prisma.XOR<Prisma.OrganizationScalarRelationFilter, Prisma.OrganizationWhereInput>;
|
|
252
|
+
};
|
|
253
|
+
export type DeviceOrderByWithRelationInput = {
|
|
254
|
+
id?: Prisma.SortOrder;
|
|
255
|
+
name?: Prisma.SortOrder;
|
|
256
|
+
hostname?: Prisma.SortOrder;
|
|
257
|
+
platform?: Prisma.SortOrder;
|
|
258
|
+
osVersion?: Prisma.SortOrder;
|
|
259
|
+
serialNumber?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
260
|
+
hardwareModel?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
261
|
+
memberId?: Prisma.SortOrder;
|
|
262
|
+
organizationId?: Prisma.SortOrder;
|
|
263
|
+
isCompliant?: Prisma.SortOrder;
|
|
264
|
+
diskEncryptionEnabled?: Prisma.SortOrder;
|
|
265
|
+
antivirusEnabled?: Prisma.SortOrder;
|
|
266
|
+
passwordPolicySet?: Prisma.SortOrder;
|
|
267
|
+
screenLockEnabled?: Prisma.SortOrder;
|
|
268
|
+
checkDetails?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
269
|
+
lastCheckIn?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
270
|
+
agentVersion?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
271
|
+
installedAt?: Prisma.SortOrder;
|
|
272
|
+
updatedAt?: Prisma.SortOrder;
|
|
273
|
+
member?: Prisma.MemberOrderByWithRelationInput;
|
|
274
|
+
organization?: Prisma.OrganizationOrderByWithRelationInput;
|
|
275
|
+
};
|
|
276
|
+
export type DeviceWhereUniqueInput = Prisma.AtLeast<{
|
|
277
|
+
id?: string;
|
|
278
|
+
serialNumber_organizationId?: Prisma.DeviceSerialNumberOrganizationIdCompoundUniqueInput;
|
|
279
|
+
AND?: Prisma.DeviceWhereInput | Prisma.DeviceWhereInput[];
|
|
280
|
+
OR?: Prisma.DeviceWhereInput[];
|
|
281
|
+
NOT?: Prisma.DeviceWhereInput | Prisma.DeviceWhereInput[];
|
|
282
|
+
name?: Prisma.StringFilter<"Device"> | string;
|
|
283
|
+
hostname?: Prisma.StringFilter<"Device"> | string;
|
|
284
|
+
platform?: Prisma.EnumDevicePlatformFilter<"Device"> | $Enums.DevicePlatform;
|
|
285
|
+
osVersion?: Prisma.StringFilter<"Device"> | string;
|
|
286
|
+
serialNumber?: Prisma.StringNullableFilter<"Device"> | string | null;
|
|
287
|
+
hardwareModel?: Prisma.StringNullableFilter<"Device"> | string | null;
|
|
288
|
+
memberId?: Prisma.StringFilter<"Device"> | string;
|
|
289
|
+
organizationId?: Prisma.StringFilter<"Device"> | string;
|
|
290
|
+
isCompliant?: Prisma.BoolFilter<"Device"> | boolean;
|
|
291
|
+
diskEncryptionEnabled?: Prisma.BoolFilter<"Device"> | boolean;
|
|
292
|
+
antivirusEnabled?: Prisma.BoolFilter<"Device"> | boolean;
|
|
293
|
+
passwordPolicySet?: Prisma.BoolFilter<"Device"> | boolean;
|
|
294
|
+
screenLockEnabled?: Prisma.BoolFilter<"Device"> | boolean;
|
|
295
|
+
checkDetails?: Prisma.JsonNullableFilter<"Device">;
|
|
296
|
+
lastCheckIn?: Prisma.DateTimeNullableFilter<"Device"> | Date | string | null;
|
|
297
|
+
agentVersion?: Prisma.StringNullableFilter<"Device"> | string | null;
|
|
298
|
+
installedAt?: Prisma.DateTimeFilter<"Device"> | Date | string;
|
|
299
|
+
updatedAt?: Prisma.DateTimeFilter<"Device"> | Date | string;
|
|
300
|
+
member?: Prisma.XOR<Prisma.MemberScalarRelationFilter, Prisma.MemberWhereInput>;
|
|
301
|
+
organization?: Prisma.XOR<Prisma.OrganizationScalarRelationFilter, Prisma.OrganizationWhereInput>;
|
|
302
|
+
}, "id" | "serialNumber_organizationId">;
|
|
303
|
+
export type DeviceOrderByWithAggregationInput = {
|
|
304
|
+
id?: Prisma.SortOrder;
|
|
305
|
+
name?: Prisma.SortOrder;
|
|
306
|
+
hostname?: Prisma.SortOrder;
|
|
307
|
+
platform?: Prisma.SortOrder;
|
|
308
|
+
osVersion?: Prisma.SortOrder;
|
|
309
|
+
serialNumber?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
310
|
+
hardwareModel?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
311
|
+
memberId?: Prisma.SortOrder;
|
|
312
|
+
organizationId?: Prisma.SortOrder;
|
|
313
|
+
isCompliant?: Prisma.SortOrder;
|
|
314
|
+
diskEncryptionEnabled?: Prisma.SortOrder;
|
|
315
|
+
antivirusEnabled?: Prisma.SortOrder;
|
|
316
|
+
passwordPolicySet?: Prisma.SortOrder;
|
|
317
|
+
screenLockEnabled?: Prisma.SortOrder;
|
|
318
|
+
checkDetails?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
319
|
+
lastCheckIn?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
320
|
+
agentVersion?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
321
|
+
installedAt?: Prisma.SortOrder;
|
|
322
|
+
updatedAt?: Prisma.SortOrder;
|
|
323
|
+
_count?: Prisma.DeviceCountOrderByAggregateInput;
|
|
324
|
+
_max?: Prisma.DeviceMaxOrderByAggregateInput;
|
|
325
|
+
_min?: Prisma.DeviceMinOrderByAggregateInput;
|
|
326
|
+
};
|
|
327
|
+
export type DeviceScalarWhereWithAggregatesInput = {
|
|
328
|
+
AND?: Prisma.DeviceScalarWhereWithAggregatesInput | Prisma.DeviceScalarWhereWithAggregatesInput[];
|
|
329
|
+
OR?: Prisma.DeviceScalarWhereWithAggregatesInput[];
|
|
330
|
+
NOT?: Prisma.DeviceScalarWhereWithAggregatesInput | Prisma.DeviceScalarWhereWithAggregatesInput[];
|
|
331
|
+
id?: Prisma.StringWithAggregatesFilter<"Device"> | string;
|
|
332
|
+
name?: Prisma.StringWithAggregatesFilter<"Device"> | string;
|
|
333
|
+
hostname?: Prisma.StringWithAggregatesFilter<"Device"> | string;
|
|
334
|
+
platform?: Prisma.EnumDevicePlatformWithAggregatesFilter<"Device"> | $Enums.DevicePlatform;
|
|
335
|
+
osVersion?: Prisma.StringWithAggregatesFilter<"Device"> | string;
|
|
336
|
+
serialNumber?: Prisma.StringNullableWithAggregatesFilter<"Device"> | string | null;
|
|
337
|
+
hardwareModel?: Prisma.StringNullableWithAggregatesFilter<"Device"> | string | null;
|
|
338
|
+
memberId?: Prisma.StringWithAggregatesFilter<"Device"> | string;
|
|
339
|
+
organizationId?: Prisma.StringWithAggregatesFilter<"Device"> | string;
|
|
340
|
+
isCompliant?: Prisma.BoolWithAggregatesFilter<"Device"> | boolean;
|
|
341
|
+
diskEncryptionEnabled?: Prisma.BoolWithAggregatesFilter<"Device"> | boolean;
|
|
342
|
+
antivirusEnabled?: Prisma.BoolWithAggregatesFilter<"Device"> | boolean;
|
|
343
|
+
passwordPolicySet?: Prisma.BoolWithAggregatesFilter<"Device"> | boolean;
|
|
344
|
+
screenLockEnabled?: Prisma.BoolWithAggregatesFilter<"Device"> | boolean;
|
|
345
|
+
checkDetails?: Prisma.JsonNullableWithAggregatesFilter<"Device">;
|
|
346
|
+
lastCheckIn?: Prisma.DateTimeNullableWithAggregatesFilter<"Device"> | Date | string | null;
|
|
347
|
+
agentVersion?: Prisma.StringNullableWithAggregatesFilter<"Device"> | string | null;
|
|
348
|
+
installedAt?: Prisma.DateTimeWithAggregatesFilter<"Device"> | Date | string;
|
|
349
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Device"> | Date | string;
|
|
350
|
+
};
|
|
351
|
+
export type DeviceCreateInput = {
|
|
352
|
+
id?: string;
|
|
353
|
+
name: string;
|
|
354
|
+
hostname: string;
|
|
355
|
+
platform: $Enums.DevicePlatform;
|
|
356
|
+
osVersion: string;
|
|
357
|
+
serialNumber?: string | null;
|
|
358
|
+
hardwareModel?: string | null;
|
|
359
|
+
isCompliant?: boolean;
|
|
360
|
+
diskEncryptionEnabled?: boolean;
|
|
361
|
+
antivirusEnabled?: boolean;
|
|
362
|
+
passwordPolicySet?: boolean;
|
|
363
|
+
screenLockEnabled?: boolean;
|
|
364
|
+
checkDetails?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
365
|
+
lastCheckIn?: Date | string | null;
|
|
366
|
+
agentVersion?: string | null;
|
|
367
|
+
installedAt?: Date | string;
|
|
368
|
+
updatedAt?: Date | string;
|
|
369
|
+
member: Prisma.MemberCreateNestedOneWithoutDevicesInput;
|
|
370
|
+
organization: Prisma.OrganizationCreateNestedOneWithoutDevicesInput;
|
|
371
|
+
};
|
|
372
|
+
export type DeviceUncheckedCreateInput = {
|
|
373
|
+
id?: string;
|
|
374
|
+
name: string;
|
|
375
|
+
hostname: string;
|
|
376
|
+
platform: $Enums.DevicePlatform;
|
|
377
|
+
osVersion: string;
|
|
378
|
+
serialNumber?: string | null;
|
|
379
|
+
hardwareModel?: string | null;
|
|
380
|
+
memberId: string;
|
|
381
|
+
organizationId: string;
|
|
382
|
+
isCompliant?: boolean;
|
|
383
|
+
diskEncryptionEnabled?: boolean;
|
|
384
|
+
antivirusEnabled?: boolean;
|
|
385
|
+
passwordPolicySet?: boolean;
|
|
386
|
+
screenLockEnabled?: boolean;
|
|
387
|
+
checkDetails?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
388
|
+
lastCheckIn?: Date | string | null;
|
|
389
|
+
agentVersion?: string | null;
|
|
390
|
+
installedAt?: Date | string;
|
|
391
|
+
updatedAt?: Date | string;
|
|
392
|
+
};
|
|
393
|
+
export type DeviceUpdateInput = {
|
|
394
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
395
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
396
|
+
hostname?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
397
|
+
platform?: Prisma.EnumDevicePlatformFieldUpdateOperationsInput | $Enums.DevicePlatform;
|
|
398
|
+
osVersion?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
399
|
+
serialNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
400
|
+
hardwareModel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
401
|
+
isCompliant?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
402
|
+
diskEncryptionEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
403
|
+
antivirusEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
404
|
+
passwordPolicySet?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
405
|
+
screenLockEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
406
|
+
checkDetails?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
407
|
+
lastCheckIn?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
408
|
+
agentVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
409
|
+
installedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
410
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
411
|
+
member?: Prisma.MemberUpdateOneRequiredWithoutDevicesNestedInput;
|
|
412
|
+
organization?: Prisma.OrganizationUpdateOneRequiredWithoutDevicesNestedInput;
|
|
413
|
+
};
|
|
414
|
+
export type DeviceUncheckedUpdateInput = {
|
|
415
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
416
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
417
|
+
hostname?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
418
|
+
platform?: Prisma.EnumDevicePlatformFieldUpdateOperationsInput | $Enums.DevicePlatform;
|
|
419
|
+
osVersion?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
420
|
+
serialNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
421
|
+
hardwareModel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
422
|
+
memberId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
423
|
+
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
424
|
+
isCompliant?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
425
|
+
diskEncryptionEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
426
|
+
antivirusEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
427
|
+
passwordPolicySet?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
428
|
+
screenLockEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
429
|
+
checkDetails?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
430
|
+
lastCheckIn?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
431
|
+
agentVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
432
|
+
installedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
433
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
434
|
+
};
|
|
435
|
+
export type DeviceCreateManyInput = {
|
|
436
|
+
id?: string;
|
|
437
|
+
name: string;
|
|
438
|
+
hostname: string;
|
|
439
|
+
platform: $Enums.DevicePlatform;
|
|
440
|
+
osVersion: string;
|
|
441
|
+
serialNumber?: string | null;
|
|
442
|
+
hardwareModel?: string | null;
|
|
443
|
+
memberId: string;
|
|
444
|
+
organizationId: string;
|
|
445
|
+
isCompliant?: boolean;
|
|
446
|
+
diskEncryptionEnabled?: boolean;
|
|
447
|
+
antivirusEnabled?: boolean;
|
|
448
|
+
passwordPolicySet?: boolean;
|
|
449
|
+
screenLockEnabled?: boolean;
|
|
450
|
+
checkDetails?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
451
|
+
lastCheckIn?: Date | string | null;
|
|
452
|
+
agentVersion?: string | null;
|
|
453
|
+
installedAt?: Date | string;
|
|
454
|
+
updatedAt?: Date | string;
|
|
455
|
+
};
|
|
456
|
+
export type DeviceUpdateManyMutationInput = {
|
|
457
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
458
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
459
|
+
hostname?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
460
|
+
platform?: Prisma.EnumDevicePlatformFieldUpdateOperationsInput | $Enums.DevicePlatform;
|
|
461
|
+
osVersion?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
462
|
+
serialNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
463
|
+
hardwareModel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
464
|
+
isCompliant?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
465
|
+
diskEncryptionEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
466
|
+
antivirusEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
467
|
+
passwordPolicySet?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
468
|
+
screenLockEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
469
|
+
checkDetails?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
470
|
+
lastCheckIn?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
471
|
+
agentVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
472
|
+
installedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
473
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
474
|
+
};
|
|
475
|
+
export type DeviceUncheckedUpdateManyInput = {
|
|
476
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
477
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
478
|
+
hostname?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
479
|
+
platform?: Prisma.EnumDevicePlatformFieldUpdateOperationsInput | $Enums.DevicePlatform;
|
|
480
|
+
osVersion?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
481
|
+
serialNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
482
|
+
hardwareModel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
483
|
+
memberId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
484
|
+
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
485
|
+
isCompliant?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
486
|
+
diskEncryptionEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
487
|
+
antivirusEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
488
|
+
passwordPolicySet?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
489
|
+
screenLockEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
490
|
+
checkDetails?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
491
|
+
lastCheckIn?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
492
|
+
agentVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
493
|
+
installedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
494
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
495
|
+
};
|
|
496
|
+
export type DeviceListRelationFilter = {
|
|
497
|
+
every?: Prisma.DeviceWhereInput;
|
|
498
|
+
some?: Prisma.DeviceWhereInput;
|
|
499
|
+
none?: Prisma.DeviceWhereInput;
|
|
500
|
+
};
|
|
501
|
+
export type DeviceOrderByRelationAggregateInput = {
|
|
502
|
+
_count?: Prisma.SortOrder;
|
|
503
|
+
};
|
|
504
|
+
export type DeviceSerialNumberOrganizationIdCompoundUniqueInput = {
|
|
505
|
+
serialNumber: string;
|
|
506
|
+
organizationId: string;
|
|
507
|
+
};
|
|
508
|
+
export type DeviceCountOrderByAggregateInput = {
|
|
509
|
+
id?: Prisma.SortOrder;
|
|
510
|
+
name?: Prisma.SortOrder;
|
|
511
|
+
hostname?: Prisma.SortOrder;
|
|
512
|
+
platform?: Prisma.SortOrder;
|
|
513
|
+
osVersion?: Prisma.SortOrder;
|
|
514
|
+
serialNumber?: Prisma.SortOrder;
|
|
515
|
+
hardwareModel?: Prisma.SortOrder;
|
|
516
|
+
memberId?: Prisma.SortOrder;
|
|
517
|
+
organizationId?: Prisma.SortOrder;
|
|
518
|
+
isCompliant?: Prisma.SortOrder;
|
|
519
|
+
diskEncryptionEnabled?: Prisma.SortOrder;
|
|
520
|
+
antivirusEnabled?: Prisma.SortOrder;
|
|
521
|
+
passwordPolicySet?: Prisma.SortOrder;
|
|
522
|
+
screenLockEnabled?: Prisma.SortOrder;
|
|
523
|
+
checkDetails?: Prisma.SortOrder;
|
|
524
|
+
lastCheckIn?: Prisma.SortOrder;
|
|
525
|
+
agentVersion?: Prisma.SortOrder;
|
|
526
|
+
installedAt?: Prisma.SortOrder;
|
|
527
|
+
updatedAt?: Prisma.SortOrder;
|
|
528
|
+
};
|
|
529
|
+
export type DeviceMaxOrderByAggregateInput = {
|
|
530
|
+
id?: Prisma.SortOrder;
|
|
531
|
+
name?: Prisma.SortOrder;
|
|
532
|
+
hostname?: Prisma.SortOrder;
|
|
533
|
+
platform?: Prisma.SortOrder;
|
|
534
|
+
osVersion?: Prisma.SortOrder;
|
|
535
|
+
serialNumber?: Prisma.SortOrder;
|
|
536
|
+
hardwareModel?: Prisma.SortOrder;
|
|
537
|
+
memberId?: Prisma.SortOrder;
|
|
538
|
+
organizationId?: Prisma.SortOrder;
|
|
539
|
+
isCompliant?: Prisma.SortOrder;
|
|
540
|
+
diskEncryptionEnabled?: Prisma.SortOrder;
|
|
541
|
+
antivirusEnabled?: Prisma.SortOrder;
|
|
542
|
+
passwordPolicySet?: Prisma.SortOrder;
|
|
543
|
+
screenLockEnabled?: Prisma.SortOrder;
|
|
544
|
+
lastCheckIn?: Prisma.SortOrder;
|
|
545
|
+
agentVersion?: Prisma.SortOrder;
|
|
546
|
+
installedAt?: Prisma.SortOrder;
|
|
547
|
+
updatedAt?: Prisma.SortOrder;
|
|
548
|
+
};
|
|
549
|
+
export type DeviceMinOrderByAggregateInput = {
|
|
550
|
+
id?: Prisma.SortOrder;
|
|
551
|
+
name?: Prisma.SortOrder;
|
|
552
|
+
hostname?: Prisma.SortOrder;
|
|
553
|
+
platform?: Prisma.SortOrder;
|
|
554
|
+
osVersion?: Prisma.SortOrder;
|
|
555
|
+
serialNumber?: Prisma.SortOrder;
|
|
556
|
+
hardwareModel?: Prisma.SortOrder;
|
|
557
|
+
memberId?: Prisma.SortOrder;
|
|
558
|
+
organizationId?: Prisma.SortOrder;
|
|
559
|
+
isCompliant?: Prisma.SortOrder;
|
|
560
|
+
diskEncryptionEnabled?: Prisma.SortOrder;
|
|
561
|
+
antivirusEnabled?: Prisma.SortOrder;
|
|
562
|
+
passwordPolicySet?: Prisma.SortOrder;
|
|
563
|
+
screenLockEnabled?: Prisma.SortOrder;
|
|
564
|
+
lastCheckIn?: Prisma.SortOrder;
|
|
565
|
+
agentVersion?: Prisma.SortOrder;
|
|
566
|
+
installedAt?: Prisma.SortOrder;
|
|
567
|
+
updatedAt?: Prisma.SortOrder;
|
|
568
|
+
};
|
|
569
|
+
export type DeviceCreateNestedManyWithoutMemberInput = {
|
|
570
|
+
create?: Prisma.XOR<Prisma.DeviceCreateWithoutMemberInput, Prisma.DeviceUncheckedCreateWithoutMemberInput> | Prisma.DeviceCreateWithoutMemberInput[] | Prisma.DeviceUncheckedCreateWithoutMemberInput[];
|
|
571
|
+
connectOrCreate?: Prisma.DeviceCreateOrConnectWithoutMemberInput | Prisma.DeviceCreateOrConnectWithoutMemberInput[];
|
|
572
|
+
createMany?: Prisma.DeviceCreateManyMemberInputEnvelope;
|
|
573
|
+
connect?: Prisma.DeviceWhereUniqueInput | Prisma.DeviceWhereUniqueInput[];
|
|
574
|
+
};
|
|
575
|
+
export type DeviceUncheckedCreateNestedManyWithoutMemberInput = {
|
|
576
|
+
create?: Prisma.XOR<Prisma.DeviceCreateWithoutMemberInput, Prisma.DeviceUncheckedCreateWithoutMemberInput> | Prisma.DeviceCreateWithoutMemberInput[] | Prisma.DeviceUncheckedCreateWithoutMemberInput[];
|
|
577
|
+
connectOrCreate?: Prisma.DeviceCreateOrConnectWithoutMemberInput | Prisma.DeviceCreateOrConnectWithoutMemberInput[];
|
|
578
|
+
createMany?: Prisma.DeviceCreateManyMemberInputEnvelope;
|
|
579
|
+
connect?: Prisma.DeviceWhereUniqueInput | Prisma.DeviceWhereUniqueInput[];
|
|
580
|
+
};
|
|
581
|
+
export type DeviceUpdateManyWithoutMemberNestedInput = {
|
|
582
|
+
create?: Prisma.XOR<Prisma.DeviceCreateWithoutMemberInput, Prisma.DeviceUncheckedCreateWithoutMemberInput> | Prisma.DeviceCreateWithoutMemberInput[] | Prisma.DeviceUncheckedCreateWithoutMemberInput[];
|
|
583
|
+
connectOrCreate?: Prisma.DeviceCreateOrConnectWithoutMemberInput | Prisma.DeviceCreateOrConnectWithoutMemberInput[];
|
|
584
|
+
upsert?: Prisma.DeviceUpsertWithWhereUniqueWithoutMemberInput | Prisma.DeviceUpsertWithWhereUniqueWithoutMemberInput[];
|
|
585
|
+
createMany?: Prisma.DeviceCreateManyMemberInputEnvelope;
|
|
586
|
+
set?: Prisma.DeviceWhereUniqueInput | Prisma.DeviceWhereUniqueInput[];
|
|
587
|
+
disconnect?: Prisma.DeviceWhereUniqueInput | Prisma.DeviceWhereUniqueInput[];
|
|
588
|
+
delete?: Prisma.DeviceWhereUniqueInput | Prisma.DeviceWhereUniqueInput[];
|
|
589
|
+
connect?: Prisma.DeviceWhereUniqueInput | Prisma.DeviceWhereUniqueInput[];
|
|
590
|
+
update?: Prisma.DeviceUpdateWithWhereUniqueWithoutMemberInput | Prisma.DeviceUpdateWithWhereUniqueWithoutMemberInput[];
|
|
591
|
+
updateMany?: Prisma.DeviceUpdateManyWithWhereWithoutMemberInput | Prisma.DeviceUpdateManyWithWhereWithoutMemberInput[];
|
|
592
|
+
deleteMany?: Prisma.DeviceScalarWhereInput | Prisma.DeviceScalarWhereInput[];
|
|
593
|
+
};
|
|
594
|
+
export type DeviceUncheckedUpdateManyWithoutMemberNestedInput = {
|
|
595
|
+
create?: Prisma.XOR<Prisma.DeviceCreateWithoutMemberInput, Prisma.DeviceUncheckedCreateWithoutMemberInput> | Prisma.DeviceCreateWithoutMemberInput[] | Prisma.DeviceUncheckedCreateWithoutMemberInput[];
|
|
596
|
+
connectOrCreate?: Prisma.DeviceCreateOrConnectWithoutMemberInput | Prisma.DeviceCreateOrConnectWithoutMemberInput[];
|
|
597
|
+
upsert?: Prisma.DeviceUpsertWithWhereUniqueWithoutMemberInput | Prisma.DeviceUpsertWithWhereUniqueWithoutMemberInput[];
|
|
598
|
+
createMany?: Prisma.DeviceCreateManyMemberInputEnvelope;
|
|
599
|
+
set?: Prisma.DeviceWhereUniqueInput | Prisma.DeviceWhereUniqueInput[];
|
|
600
|
+
disconnect?: Prisma.DeviceWhereUniqueInput | Prisma.DeviceWhereUniqueInput[];
|
|
601
|
+
delete?: Prisma.DeviceWhereUniqueInput | Prisma.DeviceWhereUniqueInput[];
|
|
602
|
+
connect?: Prisma.DeviceWhereUniqueInput | Prisma.DeviceWhereUniqueInput[];
|
|
603
|
+
update?: Prisma.DeviceUpdateWithWhereUniqueWithoutMemberInput | Prisma.DeviceUpdateWithWhereUniqueWithoutMemberInput[];
|
|
604
|
+
updateMany?: Prisma.DeviceUpdateManyWithWhereWithoutMemberInput | Prisma.DeviceUpdateManyWithWhereWithoutMemberInput[];
|
|
605
|
+
deleteMany?: Prisma.DeviceScalarWhereInput | Prisma.DeviceScalarWhereInput[];
|
|
606
|
+
};
|
|
607
|
+
export type EnumDevicePlatformFieldUpdateOperationsInput = {
|
|
608
|
+
set?: $Enums.DevicePlatform;
|
|
609
|
+
};
|
|
610
|
+
export type DeviceCreateNestedManyWithoutOrganizationInput = {
|
|
611
|
+
create?: Prisma.XOR<Prisma.DeviceCreateWithoutOrganizationInput, Prisma.DeviceUncheckedCreateWithoutOrganizationInput> | Prisma.DeviceCreateWithoutOrganizationInput[] | Prisma.DeviceUncheckedCreateWithoutOrganizationInput[];
|
|
612
|
+
connectOrCreate?: Prisma.DeviceCreateOrConnectWithoutOrganizationInput | Prisma.DeviceCreateOrConnectWithoutOrganizationInput[];
|
|
613
|
+
createMany?: Prisma.DeviceCreateManyOrganizationInputEnvelope;
|
|
614
|
+
connect?: Prisma.DeviceWhereUniqueInput | Prisma.DeviceWhereUniqueInput[];
|
|
615
|
+
};
|
|
616
|
+
export type DeviceUncheckedCreateNestedManyWithoutOrganizationInput = {
|
|
617
|
+
create?: Prisma.XOR<Prisma.DeviceCreateWithoutOrganizationInput, Prisma.DeviceUncheckedCreateWithoutOrganizationInput> | Prisma.DeviceCreateWithoutOrganizationInput[] | Prisma.DeviceUncheckedCreateWithoutOrganizationInput[];
|
|
618
|
+
connectOrCreate?: Prisma.DeviceCreateOrConnectWithoutOrganizationInput | Prisma.DeviceCreateOrConnectWithoutOrganizationInput[];
|
|
619
|
+
createMany?: Prisma.DeviceCreateManyOrganizationInputEnvelope;
|
|
620
|
+
connect?: Prisma.DeviceWhereUniqueInput | Prisma.DeviceWhereUniqueInput[];
|
|
621
|
+
};
|
|
622
|
+
export type DeviceUpdateManyWithoutOrganizationNestedInput = {
|
|
623
|
+
create?: Prisma.XOR<Prisma.DeviceCreateWithoutOrganizationInput, Prisma.DeviceUncheckedCreateWithoutOrganizationInput> | Prisma.DeviceCreateWithoutOrganizationInput[] | Prisma.DeviceUncheckedCreateWithoutOrganizationInput[];
|
|
624
|
+
connectOrCreate?: Prisma.DeviceCreateOrConnectWithoutOrganizationInput | Prisma.DeviceCreateOrConnectWithoutOrganizationInput[];
|
|
625
|
+
upsert?: Prisma.DeviceUpsertWithWhereUniqueWithoutOrganizationInput | Prisma.DeviceUpsertWithWhereUniqueWithoutOrganizationInput[];
|
|
626
|
+
createMany?: Prisma.DeviceCreateManyOrganizationInputEnvelope;
|
|
627
|
+
set?: Prisma.DeviceWhereUniqueInput | Prisma.DeviceWhereUniqueInput[];
|
|
628
|
+
disconnect?: Prisma.DeviceWhereUniqueInput | Prisma.DeviceWhereUniqueInput[];
|
|
629
|
+
delete?: Prisma.DeviceWhereUniqueInput | Prisma.DeviceWhereUniqueInput[];
|
|
630
|
+
connect?: Prisma.DeviceWhereUniqueInput | Prisma.DeviceWhereUniqueInput[];
|
|
631
|
+
update?: Prisma.DeviceUpdateWithWhereUniqueWithoutOrganizationInput | Prisma.DeviceUpdateWithWhereUniqueWithoutOrganizationInput[];
|
|
632
|
+
updateMany?: Prisma.DeviceUpdateManyWithWhereWithoutOrganizationInput | Prisma.DeviceUpdateManyWithWhereWithoutOrganizationInput[];
|
|
633
|
+
deleteMany?: Prisma.DeviceScalarWhereInput | Prisma.DeviceScalarWhereInput[];
|
|
634
|
+
};
|
|
635
|
+
export type DeviceUncheckedUpdateManyWithoutOrganizationNestedInput = {
|
|
636
|
+
create?: Prisma.XOR<Prisma.DeviceCreateWithoutOrganizationInput, Prisma.DeviceUncheckedCreateWithoutOrganizationInput> | Prisma.DeviceCreateWithoutOrganizationInput[] | Prisma.DeviceUncheckedCreateWithoutOrganizationInput[];
|
|
637
|
+
connectOrCreate?: Prisma.DeviceCreateOrConnectWithoutOrganizationInput | Prisma.DeviceCreateOrConnectWithoutOrganizationInput[];
|
|
638
|
+
upsert?: Prisma.DeviceUpsertWithWhereUniqueWithoutOrganizationInput | Prisma.DeviceUpsertWithWhereUniqueWithoutOrganizationInput[];
|
|
639
|
+
createMany?: Prisma.DeviceCreateManyOrganizationInputEnvelope;
|
|
640
|
+
set?: Prisma.DeviceWhereUniqueInput | Prisma.DeviceWhereUniqueInput[];
|
|
641
|
+
disconnect?: Prisma.DeviceWhereUniqueInput | Prisma.DeviceWhereUniqueInput[];
|
|
642
|
+
delete?: Prisma.DeviceWhereUniqueInput | Prisma.DeviceWhereUniqueInput[];
|
|
643
|
+
connect?: Prisma.DeviceWhereUniqueInput | Prisma.DeviceWhereUniqueInput[];
|
|
644
|
+
update?: Prisma.DeviceUpdateWithWhereUniqueWithoutOrganizationInput | Prisma.DeviceUpdateWithWhereUniqueWithoutOrganizationInput[];
|
|
645
|
+
updateMany?: Prisma.DeviceUpdateManyWithWhereWithoutOrganizationInput | Prisma.DeviceUpdateManyWithWhereWithoutOrganizationInput[];
|
|
646
|
+
deleteMany?: Prisma.DeviceScalarWhereInput | Prisma.DeviceScalarWhereInput[];
|
|
647
|
+
};
|
|
648
|
+
export type DeviceCreateWithoutMemberInput = {
|
|
649
|
+
id?: string;
|
|
650
|
+
name: string;
|
|
651
|
+
hostname: string;
|
|
652
|
+
platform: $Enums.DevicePlatform;
|
|
653
|
+
osVersion: string;
|
|
654
|
+
serialNumber?: string | null;
|
|
655
|
+
hardwareModel?: string | null;
|
|
656
|
+
isCompliant?: boolean;
|
|
657
|
+
diskEncryptionEnabled?: boolean;
|
|
658
|
+
antivirusEnabled?: boolean;
|
|
659
|
+
passwordPolicySet?: boolean;
|
|
660
|
+
screenLockEnabled?: boolean;
|
|
661
|
+
checkDetails?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
662
|
+
lastCheckIn?: Date | string | null;
|
|
663
|
+
agentVersion?: string | null;
|
|
664
|
+
installedAt?: Date | string;
|
|
665
|
+
updatedAt?: Date | string;
|
|
666
|
+
organization: Prisma.OrganizationCreateNestedOneWithoutDevicesInput;
|
|
667
|
+
};
|
|
668
|
+
export type DeviceUncheckedCreateWithoutMemberInput = {
|
|
669
|
+
id?: string;
|
|
670
|
+
name: string;
|
|
671
|
+
hostname: string;
|
|
672
|
+
platform: $Enums.DevicePlatform;
|
|
673
|
+
osVersion: string;
|
|
674
|
+
serialNumber?: string | null;
|
|
675
|
+
hardwareModel?: string | null;
|
|
676
|
+
organizationId: string;
|
|
677
|
+
isCompliant?: boolean;
|
|
678
|
+
diskEncryptionEnabled?: boolean;
|
|
679
|
+
antivirusEnabled?: boolean;
|
|
680
|
+
passwordPolicySet?: boolean;
|
|
681
|
+
screenLockEnabled?: boolean;
|
|
682
|
+
checkDetails?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
683
|
+
lastCheckIn?: Date | string | null;
|
|
684
|
+
agentVersion?: string | null;
|
|
685
|
+
installedAt?: Date | string;
|
|
686
|
+
updatedAt?: Date | string;
|
|
687
|
+
};
|
|
688
|
+
export type DeviceCreateOrConnectWithoutMemberInput = {
|
|
689
|
+
where: Prisma.DeviceWhereUniqueInput;
|
|
690
|
+
create: Prisma.XOR<Prisma.DeviceCreateWithoutMemberInput, Prisma.DeviceUncheckedCreateWithoutMemberInput>;
|
|
691
|
+
};
|
|
692
|
+
export type DeviceCreateManyMemberInputEnvelope = {
|
|
693
|
+
data: Prisma.DeviceCreateManyMemberInput | Prisma.DeviceCreateManyMemberInput[];
|
|
694
|
+
skipDuplicates?: boolean;
|
|
695
|
+
};
|
|
696
|
+
export type DeviceUpsertWithWhereUniqueWithoutMemberInput = {
|
|
697
|
+
where: Prisma.DeviceWhereUniqueInput;
|
|
698
|
+
update: Prisma.XOR<Prisma.DeviceUpdateWithoutMemberInput, Prisma.DeviceUncheckedUpdateWithoutMemberInput>;
|
|
699
|
+
create: Prisma.XOR<Prisma.DeviceCreateWithoutMemberInput, Prisma.DeviceUncheckedCreateWithoutMemberInput>;
|
|
700
|
+
};
|
|
701
|
+
export type DeviceUpdateWithWhereUniqueWithoutMemberInput = {
|
|
702
|
+
where: Prisma.DeviceWhereUniqueInput;
|
|
703
|
+
data: Prisma.XOR<Prisma.DeviceUpdateWithoutMemberInput, Prisma.DeviceUncheckedUpdateWithoutMemberInput>;
|
|
704
|
+
};
|
|
705
|
+
export type DeviceUpdateManyWithWhereWithoutMemberInput = {
|
|
706
|
+
where: Prisma.DeviceScalarWhereInput;
|
|
707
|
+
data: Prisma.XOR<Prisma.DeviceUpdateManyMutationInput, Prisma.DeviceUncheckedUpdateManyWithoutMemberInput>;
|
|
708
|
+
};
|
|
709
|
+
export type DeviceScalarWhereInput = {
|
|
710
|
+
AND?: Prisma.DeviceScalarWhereInput | Prisma.DeviceScalarWhereInput[];
|
|
711
|
+
OR?: Prisma.DeviceScalarWhereInput[];
|
|
712
|
+
NOT?: Prisma.DeviceScalarWhereInput | Prisma.DeviceScalarWhereInput[];
|
|
713
|
+
id?: Prisma.StringFilter<"Device"> | string;
|
|
714
|
+
name?: Prisma.StringFilter<"Device"> | string;
|
|
715
|
+
hostname?: Prisma.StringFilter<"Device"> | string;
|
|
716
|
+
platform?: Prisma.EnumDevicePlatformFilter<"Device"> | $Enums.DevicePlatform;
|
|
717
|
+
osVersion?: Prisma.StringFilter<"Device"> | string;
|
|
718
|
+
serialNumber?: Prisma.StringNullableFilter<"Device"> | string | null;
|
|
719
|
+
hardwareModel?: Prisma.StringNullableFilter<"Device"> | string | null;
|
|
720
|
+
memberId?: Prisma.StringFilter<"Device"> | string;
|
|
721
|
+
organizationId?: Prisma.StringFilter<"Device"> | string;
|
|
722
|
+
isCompliant?: Prisma.BoolFilter<"Device"> | boolean;
|
|
723
|
+
diskEncryptionEnabled?: Prisma.BoolFilter<"Device"> | boolean;
|
|
724
|
+
antivirusEnabled?: Prisma.BoolFilter<"Device"> | boolean;
|
|
725
|
+
passwordPolicySet?: Prisma.BoolFilter<"Device"> | boolean;
|
|
726
|
+
screenLockEnabled?: Prisma.BoolFilter<"Device"> | boolean;
|
|
727
|
+
checkDetails?: Prisma.JsonNullableFilter<"Device">;
|
|
728
|
+
lastCheckIn?: Prisma.DateTimeNullableFilter<"Device"> | Date | string | null;
|
|
729
|
+
agentVersion?: Prisma.StringNullableFilter<"Device"> | string | null;
|
|
730
|
+
installedAt?: Prisma.DateTimeFilter<"Device"> | Date | string;
|
|
731
|
+
updatedAt?: Prisma.DateTimeFilter<"Device"> | Date | string;
|
|
732
|
+
};
|
|
733
|
+
export type DeviceCreateWithoutOrganizationInput = {
|
|
734
|
+
id?: string;
|
|
735
|
+
name: string;
|
|
736
|
+
hostname: string;
|
|
737
|
+
platform: $Enums.DevicePlatform;
|
|
738
|
+
osVersion: string;
|
|
739
|
+
serialNumber?: string | null;
|
|
740
|
+
hardwareModel?: string | null;
|
|
741
|
+
isCompliant?: boolean;
|
|
742
|
+
diskEncryptionEnabled?: boolean;
|
|
743
|
+
antivirusEnabled?: boolean;
|
|
744
|
+
passwordPolicySet?: boolean;
|
|
745
|
+
screenLockEnabled?: boolean;
|
|
746
|
+
checkDetails?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
747
|
+
lastCheckIn?: Date | string | null;
|
|
748
|
+
agentVersion?: string | null;
|
|
749
|
+
installedAt?: Date | string;
|
|
750
|
+
updatedAt?: Date | string;
|
|
751
|
+
member: Prisma.MemberCreateNestedOneWithoutDevicesInput;
|
|
752
|
+
};
|
|
753
|
+
export type DeviceUncheckedCreateWithoutOrganizationInput = {
|
|
754
|
+
id?: string;
|
|
755
|
+
name: string;
|
|
756
|
+
hostname: string;
|
|
757
|
+
platform: $Enums.DevicePlatform;
|
|
758
|
+
osVersion: string;
|
|
759
|
+
serialNumber?: string | null;
|
|
760
|
+
hardwareModel?: string | null;
|
|
761
|
+
memberId: string;
|
|
762
|
+
isCompliant?: boolean;
|
|
763
|
+
diskEncryptionEnabled?: boolean;
|
|
764
|
+
antivirusEnabled?: boolean;
|
|
765
|
+
passwordPolicySet?: boolean;
|
|
766
|
+
screenLockEnabled?: boolean;
|
|
767
|
+
checkDetails?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
768
|
+
lastCheckIn?: Date | string | null;
|
|
769
|
+
agentVersion?: string | null;
|
|
770
|
+
installedAt?: Date | string;
|
|
771
|
+
updatedAt?: Date | string;
|
|
772
|
+
};
|
|
773
|
+
export type DeviceCreateOrConnectWithoutOrganizationInput = {
|
|
774
|
+
where: Prisma.DeviceWhereUniqueInput;
|
|
775
|
+
create: Prisma.XOR<Prisma.DeviceCreateWithoutOrganizationInput, Prisma.DeviceUncheckedCreateWithoutOrganizationInput>;
|
|
776
|
+
};
|
|
777
|
+
export type DeviceCreateManyOrganizationInputEnvelope = {
|
|
778
|
+
data: Prisma.DeviceCreateManyOrganizationInput | Prisma.DeviceCreateManyOrganizationInput[];
|
|
779
|
+
skipDuplicates?: boolean;
|
|
780
|
+
};
|
|
781
|
+
export type DeviceUpsertWithWhereUniqueWithoutOrganizationInput = {
|
|
782
|
+
where: Prisma.DeviceWhereUniqueInput;
|
|
783
|
+
update: Prisma.XOR<Prisma.DeviceUpdateWithoutOrganizationInput, Prisma.DeviceUncheckedUpdateWithoutOrganizationInput>;
|
|
784
|
+
create: Prisma.XOR<Prisma.DeviceCreateWithoutOrganizationInput, Prisma.DeviceUncheckedCreateWithoutOrganizationInput>;
|
|
785
|
+
};
|
|
786
|
+
export type DeviceUpdateWithWhereUniqueWithoutOrganizationInput = {
|
|
787
|
+
where: Prisma.DeviceWhereUniqueInput;
|
|
788
|
+
data: Prisma.XOR<Prisma.DeviceUpdateWithoutOrganizationInput, Prisma.DeviceUncheckedUpdateWithoutOrganizationInput>;
|
|
789
|
+
};
|
|
790
|
+
export type DeviceUpdateManyWithWhereWithoutOrganizationInput = {
|
|
791
|
+
where: Prisma.DeviceScalarWhereInput;
|
|
792
|
+
data: Prisma.XOR<Prisma.DeviceUpdateManyMutationInput, Prisma.DeviceUncheckedUpdateManyWithoutOrganizationInput>;
|
|
793
|
+
};
|
|
794
|
+
export type DeviceCreateManyMemberInput = {
|
|
795
|
+
id?: string;
|
|
796
|
+
name: string;
|
|
797
|
+
hostname: string;
|
|
798
|
+
platform: $Enums.DevicePlatform;
|
|
799
|
+
osVersion: string;
|
|
800
|
+
serialNumber?: string | null;
|
|
801
|
+
hardwareModel?: string | null;
|
|
802
|
+
organizationId: string;
|
|
803
|
+
isCompliant?: boolean;
|
|
804
|
+
diskEncryptionEnabled?: boolean;
|
|
805
|
+
antivirusEnabled?: boolean;
|
|
806
|
+
passwordPolicySet?: boolean;
|
|
807
|
+
screenLockEnabled?: boolean;
|
|
808
|
+
checkDetails?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
809
|
+
lastCheckIn?: Date | string | null;
|
|
810
|
+
agentVersion?: string | null;
|
|
811
|
+
installedAt?: Date | string;
|
|
812
|
+
updatedAt?: Date | string;
|
|
813
|
+
};
|
|
814
|
+
export type DeviceUpdateWithoutMemberInput = {
|
|
815
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
816
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
817
|
+
hostname?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
818
|
+
platform?: Prisma.EnumDevicePlatformFieldUpdateOperationsInput | $Enums.DevicePlatform;
|
|
819
|
+
osVersion?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
820
|
+
serialNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
821
|
+
hardwareModel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
822
|
+
isCompliant?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
823
|
+
diskEncryptionEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
824
|
+
antivirusEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
825
|
+
passwordPolicySet?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
826
|
+
screenLockEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
827
|
+
checkDetails?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
828
|
+
lastCheckIn?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
829
|
+
agentVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
830
|
+
installedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
831
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
832
|
+
organization?: Prisma.OrganizationUpdateOneRequiredWithoutDevicesNestedInput;
|
|
833
|
+
};
|
|
834
|
+
export type DeviceUncheckedUpdateWithoutMemberInput = {
|
|
835
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
836
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
837
|
+
hostname?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
838
|
+
platform?: Prisma.EnumDevicePlatformFieldUpdateOperationsInput | $Enums.DevicePlatform;
|
|
839
|
+
osVersion?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
840
|
+
serialNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
841
|
+
hardwareModel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
842
|
+
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
843
|
+
isCompliant?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
844
|
+
diskEncryptionEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
845
|
+
antivirusEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
846
|
+
passwordPolicySet?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
847
|
+
screenLockEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
848
|
+
checkDetails?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
849
|
+
lastCheckIn?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
850
|
+
agentVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
851
|
+
installedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
852
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
853
|
+
};
|
|
854
|
+
export type DeviceUncheckedUpdateManyWithoutMemberInput = {
|
|
855
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
856
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
857
|
+
hostname?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
858
|
+
platform?: Prisma.EnumDevicePlatformFieldUpdateOperationsInput | $Enums.DevicePlatform;
|
|
859
|
+
osVersion?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
860
|
+
serialNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
861
|
+
hardwareModel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
862
|
+
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
863
|
+
isCompliant?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
864
|
+
diskEncryptionEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
865
|
+
antivirusEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
866
|
+
passwordPolicySet?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
867
|
+
screenLockEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
868
|
+
checkDetails?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
869
|
+
lastCheckIn?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
870
|
+
agentVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
871
|
+
installedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
872
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
873
|
+
};
|
|
874
|
+
export type DeviceCreateManyOrganizationInput = {
|
|
875
|
+
id?: string;
|
|
876
|
+
name: string;
|
|
877
|
+
hostname: string;
|
|
878
|
+
platform: $Enums.DevicePlatform;
|
|
879
|
+
osVersion: string;
|
|
880
|
+
serialNumber?: string | null;
|
|
881
|
+
hardwareModel?: string | null;
|
|
882
|
+
memberId: string;
|
|
883
|
+
isCompliant?: boolean;
|
|
884
|
+
diskEncryptionEnabled?: boolean;
|
|
885
|
+
antivirusEnabled?: boolean;
|
|
886
|
+
passwordPolicySet?: boolean;
|
|
887
|
+
screenLockEnabled?: boolean;
|
|
888
|
+
checkDetails?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
889
|
+
lastCheckIn?: Date | string | null;
|
|
890
|
+
agentVersion?: string | null;
|
|
891
|
+
installedAt?: Date | string;
|
|
892
|
+
updatedAt?: Date | string;
|
|
893
|
+
};
|
|
894
|
+
export type DeviceUpdateWithoutOrganizationInput = {
|
|
895
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
896
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
897
|
+
hostname?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
898
|
+
platform?: Prisma.EnumDevicePlatformFieldUpdateOperationsInput | $Enums.DevicePlatform;
|
|
899
|
+
osVersion?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
900
|
+
serialNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
901
|
+
hardwareModel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
902
|
+
isCompliant?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
903
|
+
diskEncryptionEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
904
|
+
antivirusEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
905
|
+
passwordPolicySet?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
906
|
+
screenLockEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
907
|
+
checkDetails?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
908
|
+
lastCheckIn?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
909
|
+
agentVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
910
|
+
installedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
911
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
912
|
+
member?: Prisma.MemberUpdateOneRequiredWithoutDevicesNestedInput;
|
|
913
|
+
};
|
|
914
|
+
export type DeviceUncheckedUpdateWithoutOrganizationInput = {
|
|
915
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
916
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
917
|
+
hostname?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
918
|
+
platform?: Prisma.EnumDevicePlatformFieldUpdateOperationsInput | $Enums.DevicePlatform;
|
|
919
|
+
osVersion?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
920
|
+
serialNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
921
|
+
hardwareModel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
922
|
+
memberId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
923
|
+
isCompliant?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
924
|
+
diskEncryptionEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
925
|
+
antivirusEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
926
|
+
passwordPolicySet?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
927
|
+
screenLockEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
928
|
+
checkDetails?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
929
|
+
lastCheckIn?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
930
|
+
agentVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
931
|
+
installedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
932
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
933
|
+
};
|
|
934
|
+
export type DeviceUncheckedUpdateManyWithoutOrganizationInput = {
|
|
935
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
936
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
937
|
+
hostname?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
938
|
+
platform?: Prisma.EnumDevicePlatformFieldUpdateOperationsInput | $Enums.DevicePlatform;
|
|
939
|
+
osVersion?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
940
|
+
serialNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
941
|
+
hardwareModel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
942
|
+
memberId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
943
|
+
isCompliant?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
944
|
+
diskEncryptionEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
945
|
+
antivirusEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
946
|
+
passwordPolicySet?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
947
|
+
screenLockEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
948
|
+
checkDetails?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
949
|
+
lastCheckIn?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
950
|
+
agentVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
951
|
+
installedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
952
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
953
|
+
};
|
|
954
|
+
export type DeviceSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
955
|
+
id?: boolean;
|
|
956
|
+
name?: boolean;
|
|
957
|
+
hostname?: boolean;
|
|
958
|
+
platform?: boolean;
|
|
959
|
+
osVersion?: boolean;
|
|
960
|
+
serialNumber?: boolean;
|
|
961
|
+
hardwareModel?: boolean;
|
|
962
|
+
memberId?: boolean;
|
|
963
|
+
organizationId?: boolean;
|
|
964
|
+
isCompliant?: boolean;
|
|
965
|
+
diskEncryptionEnabled?: boolean;
|
|
966
|
+
antivirusEnabled?: boolean;
|
|
967
|
+
passwordPolicySet?: boolean;
|
|
968
|
+
screenLockEnabled?: boolean;
|
|
969
|
+
checkDetails?: boolean;
|
|
970
|
+
lastCheckIn?: boolean;
|
|
971
|
+
agentVersion?: boolean;
|
|
972
|
+
installedAt?: boolean;
|
|
973
|
+
updatedAt?: boolean;
|
|
974
|
+
member?: boolean | Prisma.MemberDefaultArgs<ExtArgs>;
|
|
975
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
976
|
+
}, ExtArgs["result"]["device"]>;
|
|
977
|
+
export type DeviceSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
978
|
+
id?: boolean;
|
|
979
|
+
name?: boolean;
|
|
980
|
+
hostname?: boolean;
|
|
981
|
+
platform?: boolean;
|
|
982
|
+
osVersion?: boolean;
|
|
983
|
+
serialNumber?: boolean;
|
|
984
|
+
hardwareModel?: boolean;
|
|
985
|
+
memberId?: boolean;
|
|
986
|
+
organizationId?: boolean;
|
|
987
|
+
isCompliant?: boolean;
|
|
988
|
+
diskEncryptionEnabled?: boolean;
|
|
989
|
+
antivirusEnabled?: boolean;
|
|
990
|
+
passwordPolicySet?: boolean;
|
|
991
|
+
screenLockEnabled?: boolean;
|
|
992
|
+
checkDetails?: boolean;
|
|
993
|
+
lastCheckIn?: boolean;
|
|
994
|
+
agentVersion?: boolean;
|
|
995
|
+
installedAt?: boolean;
|
|
996
|
+
updatedAt?: boolean;
|
|
997
|
+
member?: boolean | Prisma.MemberDefaultArgs<ExtArgs>;
|
|
998
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
999
|
+
}, ExtArgs["result"]["device"]>;
|
|
1000
|
+
export type DeviceSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1001
|
+
id?: boolean;
|
|
1002
|
+
name?: boolean;
|
|
1003
|
+
hostname?: boolean;
|
|
1004
|
+
platform?: boolean;
|
|
1005
|
+
osVersion?: boolean;
|
|
1006
|
+
serialNumber?: boolean;
|
|
1007
|
+
hardwareModel?: boolean;
|
|
1008
|
+
memberId?: boolean;
|
|
1009
|
+
organizationId?: boolean;
|
|
1010
|
+
isCompliant?: boolean;
|
|
1011
|
+
diskEncryptionEnabled?: boolean;
|
|
1012
|
+
antivirusEnabled?: boolean;
|
|
1013
|
+
passwordPolicySet?: boolean;
|
|
1014
|
+
screenLockEnabled?: boolean;
|
|
1015
|
+
checkDetails?: boolean;
|
|
1016
|
+
lastCheckIn?: boolean;
|
|
1017
|
+
agentVersion?: boolean;
|
|
1018
|
+
installedAt?: boolean;
|
|
1019
|
+
updatedAt?: boolean;
|
|
1020
|
+
member?: boolean | Prisma.MemberDefaultArgs<ExtArgs>;
|
|
1021
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
1022
|
+
}, ExtArgs["result"]["device"]>;
|
|
1023
|
+
export type DeviceSelectScalar = {
|
|
1024
|
+
id?: boolean;
|
|
1025
|
+
name?: boolean;
|
|
1026
|
+
hostname?: boolean;
|
|
1027
|
+
platform?: boolean;
|
|
1028
|
+
osVersion?: boolean;
|
|
1029
|
+
serialNumber?: boolean;
|
|
1030
|
+
hardwareModel?: boolean;
|
|
1031
|
+
memberId?: boolean;
|
|
1032
|
+
organizationId?: boolean;
|
|
1033
|
+
isCompliant?: boolean;
|
|
1034
|
+
diskEncryptionEnabled?: boolean;
|
|
1035
|
+
antivirusEnabled?: boolean;
|
|
1036
|
+
passwordPolicySet?: boolean;
|
|
1037
|
+
screenLockEnabled?: boolean;
|
|
1038
|
+
checkDetails?: boolean;
|
|
1039
|
+
lastCheckIn?: boolean;
|
|
1040
|
+
agentVersion?: boolean;
|
|
1041
|
+
installedAt?: boolean;
|
|
1042
|
+
updatedAt?: boolean;
|
|
1043
|
+
};
|
|
1044
|
+
export type DeviceOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "hostname" | "platform" | "osVersion" | "serialNumber" | "hardwareModel" | "memberId" | "organizationId" | "isCompliant" | "diskEncryptionEnabled" | "antivirusEnabled" | "passwordPolicySet" | "screenLockEnabled" | "checkDetails" | "lastCheckIn" | "agentVersion" | "installedAt" | "updatedAt", ExtArgs["result"]["device"]>;
|
|
1045
|
+
export type DeviceInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1046
|
+
member?: boolean | Prisma.MemberDefaultArgs<ExtArgs>;
|
|
1047
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
1048
|
+
};
|
|
1049
|
+
export type DeviceIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1050
|
+
member?: boolean | Prisma.MemberDefaultArgs<ExtArgs>;
|
|
1051
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
1052
|
+
};
|
|
1053
|
+
export type DeviceIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1054
|
+
member?: boolean | Prisma.MemberDefaultArgs<ExtArgs>;
|
|
1055
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
1056
|
+
};
|
|
1057
|
+
export type $DevicePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1058
|
+
name: "Device";
|
|
1059
|
+
objects: {
|
|
1060
|
+
member: Prisma.$MemberPayload<ExtArgs>;
|
|
1061
|
+
organization: Prisma.$OrganizationPayload<ExtArgs>;
|
|
1062
|
+
};
|
|
1063
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
1064
|
+
id: string;
|
|
1065
|
+
name: string;
|
|
1066
|
+
hostname: string;
|
|
1067
|
+
platform: $Enums.DevicePlatform;
|
|
1068
|
+
osVersion: string;
|
|
1069
|
+
serialNumber: string | null;
|
|
1070
|
+
hardwareModel: string | null;
|
|
1071
|
+
memberId: string;
|
|
1072
|
+
organizationId: string;
|
|
1073
|
+
isCompliant: boolean;
|
|
1074
|
+
diskEncryptionEnabled: boolean;
|
|
1075
|
+
antivirusEnabled: boolean;
|
|
1076
|
+
passwordPolicySet: boolean;
|
|
1077
|
+
screenLockEnabled: boolean;
|
|
1078
|
+
checkDetails: runtime.JsonValue | null;
|
|
1079
|
+
lastCheckIn: Date | null;
|
|
1080
|
+
agentVersion: string | null;
|
|
1081
|
+
installedAt: Date;
|
|
1082
|
+
updatedAt: Date;
|
|
1083
|
+
}, ExtArgs["result"]["device"]>;
|
|
1084
|
+
composites: {};
|
|
1085
|
+
};
|
|
1086
|
+
export type DeviceGetPayload<S extends boolean | null | undefined | DeviceDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$DevicePayload, S>;
|
|
1087
|
+
export type DeviceCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<DeviceFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
1088
|
+
select?: DeviceCountAggregateInputType | true;
|
|
1089
|
+
};
|
|
1090
|
+
export interface DeviceDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
1091
|
+
[K: symbol]: {
|
|
1092
|
+
types: Prisma.TypeMap<ExtArgs>['model']['Device'];
|
|
1093
|
+
meta: {
|
|
1094
|
+
name: 'Device';
|
|
1095
|
+
};
|
|
1096
|
+
};
|
|
1097
|
+
/**
|
|
1098
|
+
* Find zero or one Device that matches the filter.
|
|
1099
|
+
* @param {DeviceFindUniqueArgs} args - Arguments to find a Device
|
|
1100
|
+
* @example
|
|
1101
|
+
* // Get one Device
|
|
1102
|
+
* const device = await prisma.device.findUnique({
|
|
1103
|
+
* where: {
|
|
1104
|
+
* // ... provide filter here
|
|
1105
|
+
* }
|
|
1106
|
+
* })
|
|
1107
|
+
*/
|
|
1108
|
+
findUnique<T extends DeviceFindUniqueArgs>(args: Prisma.SelectSubset<T, DeviceFindUniqueArgs<ExtArgs>>): Prisma.Prisma__DeviceClient<runtime.Types.Result.GetResult<Prisma.$DevicePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1109
|
+
/**
|
|
1110
|
+
* Find one Device that matches the filter or throw an error with `error.code='P2025'`
|
|
1111
|
+
* if no matches were found.
|
|
1112
|
+
* @param {DeviceFindUniqueOrThrowArgs} args - Arguments to find a Device
|
|
1113
|
+
* @example
|
|
1114
|
+
* // Get one Device
|
|
1115
|
+
* const device = await prisma.device.findUniqueOrThrow({
|
|
1116
|
+
* where: {
|
|
1117
|
+
* // ... provide filter here
|
|
1118
|
+
* }
|
|
1119
|
+
* })
|
|
1120
|
+
*/
|
|
1121
|
+
findUniqueOrThrow<T extends DeviceFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, DeviceFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__DeviceClient<runtime.Types.Result.GetResult<Prisma.$DevicePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1122
|
+
/**
|
|
1123
|
+
* Find the first Device that matches the filter.
|
|
1124
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1125
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1126
|
+
* @param {DeviceFindFirstArgs} args - Arguments to find a Device
|
|
1127
|
+
* @example
|
|
1128
|
+
* // Get one Device
|
|
1129
|
+
* const device = await prisma.device.findFirst({
|
|
1130
|
+
* where: {
|
|
1131
|
+
* // ... provide filter here
|
|
1132
|
+
* }
|
|
1133
|
+
* })
|
|
1134
|
+
*/
|
|
1135
|
+
findFirst<T extends DeviceFindFirstArgs>(args?: Prisma.SelectSubset<T, DeviceFindFirstArgs<ExtArgs>>): Prisma.Prisma__DeviceClient<runtime.Types.Result.GetResult<Prisma.$DevicePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1136
|
+
/**
|
|
1137
|
+
* Find the first Device that matches the filter or
|
|
1138
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
1139
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1140
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1141
|
+
* @param {DeviceFindFirstOrThrowArgs} args - Arguments to find a Device
|
|
1142
|
+
* @example
|
|
1143
|
+
* // Get one Device
|
|
1144
|
+
* const device = await prisma.device.findFirstOrThrow({
|
|
1145
|
+
* where: {
|
|
1146
|
+
* // ... provide filter here
|
|
1147
|
+
* }
|
|
1148
|
+
* })
|
|
1149
|
+
*/
|
|
1150
|
+
findFirstOrThrow<T extends DeviceFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, DeviceFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__DeviceClient<runtime.Types.Result.GetResult<Prisma.$DevicePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1151
|
+
/**
|
|
1152
|
+
* Find zero or more Devices that matches the filter.
|
|
1153
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1154
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1155
|
+
* @param {DeviceFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
1156
|
+
* @example
|
|
1157
|
+
* // Get all Devices
|
|
1158
|
+
* const devices = await prisma.device.findMany()
|
|
1159
|
+
*
|
|
1160
|
+
* // Get first 10 Devices
|
|
1161
|
+
* const devices = await prisma.device.findMany({ take: 10 })
|
|
1162
|
+
*
|
|
1163
|
+
* // Only select the `id`
|
|
1164
|
+
* const deviceWithIdOnly = await prisma.device.findMany({ select: { id: true } })
|
|
1165
|
+
*
|
|
1166
|
+
*/
|
|
1167
|
+
findMany<T extends DeviceFindManyArgs>(args?: Prisma.SelectSubset<T, DeviceFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DevicePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
1168
|
+
/**
|
|
1169
|
+
* Create a Device.
|
|
1170
|
+
* @param {DeviceCreateArgs} args - Arguments to create a Device.
|
|
1171
|
+
* @example
|
|
1172
|
+
* // Create one Device
|
|
1173
|
+
* const Device = await prisma.device.create({
|
|
1174
|
+
* data: {
|
|
1175
|
+
* // ... data to create a Device
|
|
1176
|
+
* }
|
|
1177
|
+
* })
|
|
1178
|
+
*
|
|
1179
|
+
*/
|
|
1180
|
+
create<T extends DeviceCreateArgs>(args: Prisma.SelectSubset<T, DeviceCreateArgs<ExtArgs>>): Prisma.Prisma__DeviceClient<runtime.Types.Result.GetResult<Prisma.$DevicePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1181
|
+
/**
|
|
1182
|
+
* Create many Devices.
|
|
1183
|
+
* @param {DeviceCreateManyArgs} args - Arguments to create many Devices.
|
|
1184
|
+
* @example
|
|
1185
|
+
* // Create many Devices
|
|
1186
|
+
* const device = await prisma.device.createMany({
|
|
1187
|
+
* data: [
|
|
1188
|
+
* // ... provide data here
|
|
1189
|
+
* ]
|
|
1190
|
+
* })
|
|
1191
|
+
*
|
|
1192
|
+
*/
|
|
1193
|
+
createMany<T extends DeviceCreateManyArgs>(args?: Prisma.SelectSubset<T, DeviceCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1194
|
+
/**
|
|
1195
|
+
* Create many Devices and returns the data saved in the database.
|
|
1196
|
+
* @param {DeviceCreateManyAndReturnArgs} args - Arguments to create many Devices.
|
|
1197
|
+
* @example
|
|
1198
|
+
* // Create many Devices
|
|
1199
|
+
* const device = await prisma.device.createManyAndReturn({
|
|
1200
|
+
* data: [
|
|
1201
|
+
* // ... provide data here
|
|
1202
|
+
* ]
|
|
1203
|
+
* })
|
|
1204
|
+
*
|
|
1205
|
+
* // Create many Devices and only return the `id`
|
|
1206
|
+
* const deviceWithIdOnly = await prisma.device.createManyAndReturn({
|
|
1207
|
+
* select: { id: true },
|
|
1208
|
+
* data: [
|
|
1209
|
+
* // ... provide data here
|
|
1210
|
+
* ]
|
|
1211
|
+
* })
|
|
1212
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1213
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1214
|
+
*
|
|
1215
|
+
*/
|
|
1216
|
+
createManyAndReturn<T extends DeviceCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, DeviceCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DevicePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
1217
|
+
/**
|
|
1218
|
+
* Delete a Device.
|
|
1219
|
+
* @param {DeviceDeleteArgs} args - Arguments to delete one Device.
|
|
1220
|
+
* @example
|
|
1221
|
+
* // Delete one Device
|
|
1222
|
+
* const Device = await prisma.device.delete({
|
|
1223
|
+
* where: {
|
|
1224
|
+
* // ... filter to delete one Device
|
|
1225
|
+
* }
|
|
1226
|
+
* })
|
|
1227
|
+
*
|
|
1228
|
+
*/
|
|
1229
|
+
delete<T extends DeviceDeleteArgs>(args: Prisma.SelectSubset<T, DeviceDeleteArgs<ExtArgs>>): Prisma.Prisma__DeviceClient<runtime.Types.Result.GetResult<Prisma.$DevicePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1230
|
+
/**
|
|
1231
|
+
* Update one Device.
|
|
1232
|
+
* @param {DeviceUpdateArgs} args - Arguments to update one Device.
|
|
1233
|
+
* @example
|
|
1234
|
+
* // Update one Device
|
|
1235
|
+
* const device = await prisma.device.update({
|
|
1236
|
+
* where: {
|
|
1237
|
+
* // ... provide filter here
|
|
1238
|
+
* },
|
|
1239
|
+
* data: {
|
|
1240
|
+
* // ... provide data here
|
|
1241
|
+
* }
|
|
1242
|
+
* })
|
|
1243
|
+
*
|
|
1244
|
+
*/
|
|
1245
|
+
update<T extends DeviceUpdateArgs>(args: Prisma.SelectSubset<T, DeviceUpdateArgs<ExtArgs>>): Prisma.Prisma__DeviceClient<runtime.Types.Result.GetResult<Prisma.$DevicePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1246
|
+
/**
|
|
1247
|
+
* Delete zero or more Devices.
|
|
1248
|
+
* @param {DeviceDeleteManyArgs} args - Arguments to filter Devices to delete.
|
|
1249
|
+
* @example
|
|
1250
|
+
* // Delete a few Devices
|
|
1251
|
+
* const { count } = await prisma.device.deleteMany({
|
|
1252
|
+
* where: {
|
|
1253
|
+
* // ... provide filter here
|
|
1254
|
+
* }
|
|
1255
|
+
* })
|
|
1256
|
+
*
|
|
1257
|
+
*/
|
|
1258
|
+
deleteMany<T extends DeviceDeleteManyArgs>(args?: Prisma.SelectSubset<T, DeviceDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1259
|
+
/**
|
|
1260
|
+
* Update zero or more Devices.
|
|
1261
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1262
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1263
|
+
* @param {DeviceUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1264
|
+
* @example
|
|
1265
|
+
* // Update many Devices
|
|
1266
|
+
* const device = await prisma.device.updateMany({
|
|
1267
|
+
* where: {
|
|
1268
|
+
* // ... provide filter here
|
|
1269
|
+
* },
|
|
1270
|
+
* data: {
|
|
1271
|
+
* // ... provide data here
|
|
1272
|
+
* }
|
|
1273
|
+
* })
|
|
1274
|
+
*
|
|
1275
|
+
*/
|
|
1276
|
+
updateMany<T extends DeviceUpdateManyArgs>(args: Prisma.SelectSubset<T, DeviceUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1277
|
+
/**
|
|
1278
|
+
* Update zero or more Devices and returns the data updated in the database.
|
|
1279
|
+
* @param {DeviceUpdateManyAndReturnArgs} args - Arguments to update many Devices.
|
|
1280
|
+
* @example
|
|
1281
|
+
* // Update many Devices
|
|
1282
|
+
* const device = await prisma.device.updateManyAndReturn({
|
|
1283
|
+
* where: {
|
|
1284
|
+
* // ... provide filter here
|
|
1285
|
+
* },
|
|
1286
|
+
* data: [
|
|
1287
|
+
* // ... provide data here
|
|
1288
|
+
* ]
|
|
1289
|
+
* })
|
|
1290
|
+
*
|
|
1291
|
+
* // Update zero or more Devices and only return the `id`
|
|
1292
|
+
* const deviceWithIdOnly = await prisma.device.updateManyAndReturn({
|
|
1293
|
+
* select: { id: true },
|
|
1294
|
+
* where: {
|
|
1295
|
+
* // ... provide filter here
|
|
1296
|
+
* },
|
|
1297
|
+
* data: [
|
|
1298
|
+
* // ... provide data here
|
|
1299
|
+
* ]
|
|
1300
|
+
* })
|
|
1301
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1302
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1303
|
+
*
|
|
1304
|
+
*/
|
|
1305
|
+
updateManyAndReturn<T extends DeviceUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, DeviceUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DevicePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
1306
|
+
/**
|
|
1307
|
+
* Create or update one Device.
|
|
1308
|
+
* @param {DeviceUpsertArgs} args - Arguments to update or create a Device.
|
|
1309
|
+
* @example
|
|
1310
|
+
* // Update or create a Device
|
|
1311
|
+
* const device = await prisma.device.upsert({
|
|
1312
|
+
* create: {
|
|
1313
|
+
* // ... data to create a Device
|
|
1314
|
+
* },
|
|
1315
|
+
* update: {
|
|
1316
|
+
* // ... in case it already exists, update
|
|
1317
|
+
* },
|
|
1318
|
+
* where: {
|
|
1319
|
+
* // ... the filter for the Device we want to update
|
|
1320
|
+
* }
|
|
1321
|
+
* })
|
|
1322
|
+
*/
|
|
1323
|
+
upsert<T extends DeviceUpsertArgs>(args: Prisma.SelectSubset<T, DeviceUpsertArgs<ExtArgs>>): Prisma.Prisma__DeviceClient<runtime.Types.Result.GetResult<Prisma.$DevicePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1324
|
+
/**
|
|
1325
|
+
* Count the number of Devices.
|
|
1326
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1327
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1328
|
+
* @param {DeviceCountArgs} args - Arguments to filter Devices to count.
|
|
1329
|
+
* @example
|
|
1330
|
+
* // Count the number of Devices
|
|
1331
|
+
* const count = await prisma.device.count({
|
|
1332
|
+
* where: {
|
|
1333
|
+
* // ... the filter for the Devices we want to count
|
|
1334
|
+
* }
|
|
1335
|
+
* })
|
|
1336
|
+
**/
|
|
1337
|
+
count<T extends DeviceCountArgs>(args?: Prisma.Subset<T, DeviceCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], DeviceCountAggregateOutputType> : number>;
|
|
1338
|
+
/**
|
|
1339
|
+
* Allows you to perform aggregations operations on a Device.
|
|
1340
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1341
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1342
|
+
* @param {DeviceAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1343
|
+
* @example
|
|
1344
|
+
* // Ordered by age ascending
|
|
1345
|
+
* // Where email contains prisma.io
|
|
1346
|
+
* // Limited to the 10 users
|
|
1347
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1348
|
+
* _avg: {
|
|
1349
|
+
* age: true,
|
|
1350
|
+
* },
|
|
1351
|
+
* where: {
|
|
1352
|
+
* email: {
|
|
1353
|
+
* contains: "prisma.io",
|
|
1354
|
+
* },
|
|
1355
|
+
* },
|
|
1356
|
+
* orderBy: {
|
|
1357
|
+
* age: "asc",
|
|
1358
|
+
* },
|
|
1359
|
+
* take: 10,
|
|
1360
|
+
* })
|
|
1361
|
+
**/
|
|
1362
|
+
aggregate<T extends DeviceAggregateArgs>(args: Prisma.Subset<T, DeviceAggregateArgs>): Prisma.PrismaPromise<GetDeviceAggregateType<T>>;
|
|
1363
|
+
/**
|
|
1364
|
+
* Group by Device.
|
|
1365
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1366
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1367
|
+
* @param {DeviceGroupByArgs} args - Group by arguments.
|
|
1368
|
+
* @example
|
|
1369
|
+
* // Group by city, order by createdAt, get count
|
|
1370
|
+
* const result = await prisma.user.groupBy({
|
|
1371
|
+
* by: ['city', 'createdAt'],
|
|
1372
|
+
* orderBy: {
|
|
1373
|
+
* createdAt: true
|
|
1374
|
+
* },
|
|
1375
|
+
* _count: {
|
|
1376
|
+
* _all: true
|
|
1377
|
+
* },
|
|
1378
|
+
* })
|
|
1379
|
+
*
|
|
1380
|
+
**/
|
|
1381
|
+
groupBy<T extends DeviceGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
1382
|
+
orderBy: DeviceGroupByArgs['orderBy'];
|
|
1383
|
+
} : {
|
|
1384
|
+
orderBy?: DeviceGroupByArgs['orderBy'];
|
|
1385
|
+
}, 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 ? {
|
|
1386
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
1387
|
+
Error,
|
|
1388
|
+
'Field ',
|
|
1389
|
+
P,
|
|
1390
|
+
` in "having" needs to be provided in "by"`
|
|
1391
|
+
];
|
|
1392
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
1393
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1394
|
+
}[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 ? {} : {
|
|
1395
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1396
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
1397
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1398
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, DeviceGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetDeviceGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
1399
|
+
/**
|
|
1400
|
+
* Fields of the Device model
|
|
1401
|
+
*/
|
|
1402
|
+
readonly fields: DeviceFieldRefs;
|
|
1403
|
+
}
|
|
1404
|
+
/**
|
|
1405
|
+
* The delegate class that acts as a "Promise-like" for Device.
|
|
1406
|
+
* Why is this prefixed with `Prisma__`?
|
|
1407
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1408
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1409
|
+
*/
|
|
1410
|
+
export interface Prisma__DeviceClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1411
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1412
|
+
member<T extends Prisma.MemberDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.MemberDefaultArgs<ExtArgs>>): Prisma.Prisma__MemberClient<runtime.Types.Result.GetResult<Prisma.$MemberPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1413
|
+
organization<T extends Prisma.OrganizationDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.OrganizationDefaultArgs<ExtArgs>>): Prisma.Prisma__OrganizationClient<runtime.Types.Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1414
|
+
/**
|
|
1415
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1416
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1417
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1418
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1419
|
+
*/
|
|
1420
|
+
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>;
|
|
1421
|
+
/**
|
|
1422
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1423
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1424
|
+
* @returns A Promise for the completion of the callback.
|
|
1425
|
+
*/
|
|
1426
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
1427
|
+
/**
|
|
1428
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1429
|
+
* resolved value cannot be modified from the callback.
|
|
1430
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1431
|
+
* @returns A Promise for the completion of the callback.
|
|
1432
|
+
*/
|
|
1433
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
1434
|
+
}
|
|
1435
|
+
/**
|
|
1436
|
+
* Fields of the Device model
|
|
1437
|
+
*/
|
|
1438
|
+
export interface DeviceFieldRefs {
|
|
1439
|
+
readonly id: Prisma.FieldRef<"Device", 'String'>;
|
|
1440
|
+
readonly name: Prisma.FieldRef<"Device", 'String'>;
|
|
1441
|
+
readonly hostname: Prisma.FieldRef<"Device", 'String'>;
|
|
1442
|
+
readonly platform: Prisma.FieldRef<"Device", 'DevicePlatform'>;
|
|
1443
|
+
readonly osVersion: Prisma.FieldRef<"Device", 'String'>;
|
|
1444
|
+
readonly serialNumber: Prisma.FieldRef<"Device", 'String'>;
|
|
1445
|
+
readonly hardwareModel: Prisma.FieldRef<"Device", 'String'>;
|
|
1446
|
+
readonly memberId: Prisma.FieldRef<"Device", 'String'>;
|
|
1447
|
+
readonly organizationId: Prisma.FieldRef<"Device", 'String'>;
|
|
1448
|
+
readonly isCompliant: Prisma.FieldRef<"Device", 'Boolean'>;
|
|
1449
|
+
readonly diskEncryptionEnabled: Prisma.FieldRef<"Device", 'Boolean'>;
|
|
1450
|
+
readonly antivirusEnabled: Prisma.FieldRef<"Device", 'Boolean'>;
|
|
1451
|
+
readonly passwordPolicySet: Prisma.FieldRef<"Device", 'Boolean'>;
|
|
1452
|
+
readonly screenLockEnabled: Prisma.FieldRef<"Device", 'Boolean'>;
|
|
1453
|
+
readonly checkDetails: Prisma.FieldRef<"Device", 'Json'>;
|
|
1454
|
+
readonly lastCheckIn: Prisma.FieldRef<"Device", 'DateTime'>;
|
|
1455
|
+
readonly agentVersion: Prisma.FieldRef<"Device", 'String'>;
|
|
1456
|
+
readonly installedAt: Prisma.FieldRef<"Device", 'DateTime'>;
|
|
1457
|
+
readonly updatedAt: Prisma.FieldRef<"Device", 'DateTime'>;
|
|
1458
|
+
}
|
|
1459
|
+
/**
|
|
1460
|
+
* Device findUnique
|
|
1461
|
+
*/
|
|
1462
|
+
export type DeviceFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1463
|
+
/**
|
|
1464
|
+
* Select specific fields to fetch from the Device
|
|
1465
|
+
*/
|
|
1466
|
+
select?: Prisma.DeviceSelect<ExtArgs> | null;
|
|
1467
|
+
/**
|
|
1468
|
+
* Omit specific fields from the Device
|
|
1469
|
+
*/
|
|
1470
|
+
omit?: Prisma.DeviceOmit<ExtArgs> | null;
|
|
1471
|
+
/**
|
|
1472
|
+
* Choose, which related nodes to fetch as well
|
|
1473
|
+
*/
|
|
1474
|
+
include?: Prisma.DeviceInclude<ExtArgs> | null;
|
|
1475
|
+
/**
|
|
1476
|
+
* Filter, which Device to fetch.
|
|
1477
|
+
*/
|
|
1478
|
+
where: Prisma.DeviceWhereUniqueInput;
|
|
1479
|
+
};
|
|
1480
|
+
/**
|
|
1481
|
+
* Device findUniqueOrThrow
|
|
1482
|
+
*/
|
|
1483
|
+
export type DeviceFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1484
|
+
/**
|
|
1485
|
+
* Select specific fields to fetch from the Device
|
|
1486
|
+
*/
|
|
1487
|
+
select?: Prisma.DeviceSelect<ExtArgs> | null;
|
|
1488
|
+
/**
|
|
1489
|
+
* Omit specific fields from the Device
|
|
1490
|
+
*/
|
|
1491
|
+
omit?: Prisma.DeviceOmit<ExtArgs> | null;
|
|
1492
|
+
/**
|
|
1493
|
+
* Choose, which related nodes to fetch as well
|
|
1494
|
+
*/
|
|
1495
|
+
include?: Prisma.DeviceInclude<ExtArgs> | null;
|
|
1496
|
+
/**
|
|
1497
|
+
* Filter, which Device to fetch.
|
|
1498
|
+
*/
|
|
1499
|
+
where: Prisma.DeviceWhereUniqueInput;
|
|
1500
|
+
};
|
|
1501
|
+
/**
|
|
1502
|
+
* Device findFirst
|
|
1503
|
+
*/
|
|
1504
|
+
export type DeviceFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1505
|
+
/**
|
|
1506
|
+
* Select specific fields to fetch from the Device
|
|
1507
|
+
*/
|
|
1508
|
+
select?: Prisma.DeviceSelect<ExtArgs> | null;
|
|
1509
|
+
/**
|
|
1510
|
+
* Omit specific fields from the Device
|
|
1511
|
+
*/
|
|
1512
|
+
omit?: Prisma.DeviceOmit<ExtArgs> | null;
|
|
1513
|
+
/**
|
|
1514
|
+
* Choose, which related nodes to fetch as well
|
|
1515
|
+
*/
|
|
1516
|
+
include?: Prisma.DeviceInclude<ExtArgs> | null;
|
|
1517
|
+
/**
|
|
1518
|
+
* Filter, which Device to fetch.
|
|
1519
|
+
*/
|
|
1520
|
+
where?: Prisma.DeviceWhereInput;
|
|
1521
|
+
/**
|
|
1522
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1523
|
+
*
|
|
1524
|
+
* Determine the order of Devices to fetch.
|
|
1525
|
+
*/
|
|
1526
|
+
orderBy?: Prisma.DeviceOrderByWithRelationInput | Prisma.DeviceOrderByWithRelationInput[];
|
|
1527
|
+
/**
|
|
1528
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1529
|
+
*
|
|
1530
|
+
* Sets the position for searching for Devices.
|
|
1531
|
+
*/
|
|
1532
|
+
cursor?: Prisma.DeviceWhereUniqueInput;
|
|
1533
|
+
/**
|
|
1534
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1535
|
+
*
|
|
1536
|
+
* Take `±n` Devices from the position of the cursor.
|
|
1537
|
+
*/
|
|
1538
|
+
take?: number;
|
|
1539
|
+
/**
|
|
1540
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1541
|
+
*
|
|
1542
|
+
* Skip the first `n` Devices.
|
|
1543
|
+
*/
|
|
1544
|
+
skip?: number;
|
|
1545
|
+
/**
|
|
1546
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1547
|
+
*
|
|
1548
|
+
* Filter by unique combinations of Devices.
|
|
1549
|
+
*/
|
|
1550
|
+
distinct?: Prisma.DeviceScalarFieldEnum | Prisma.DeviceScalarFieldEnum[];
|
|
1551
|
+
};
|
|
1552
|
+
/**
|
|
1553
|
+
* Device findFirstOrThrow
|
|
1554
|
+
*/
|
|
1555
|
+
export type DeviceFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1556
|
+
/**
|
|
1557
|
+
* Select specific fields to fetch from the Device
|
|
1558
|
+
*/
|
|
1559
|
+
select?: Prisma.DeviceSelect<ExtArgs> | null;
|
|
1560
|
+
/**
|
|
1561
|
+
* Omit specific fields from the Device
|
|
1562
|
+
*/
|
|
1563
|
+
omit?: Prisma.DeviceOmit<ExtArgs> | null;
|
|
1564
|
+
/**
|
|
1565
|
+
* Choose, which related nodes to fetch as well
|
|
1566
|
+
*/
|
|
1567
|
+
include?: Prisma.DeviceInclude<ExtArgs> | null;
|
|
1568
|
+
/**
|
|
1569
|
+
* Filter, which Device to fetch.
|
|
1570
|
+
*/
|
|
1571
|
+
where?: Prisma.DeviceWhereInput;
|
|
1572
|
+
/**
|
|
1573
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1574
|
+
*
|
|
1575
|
+
* Determine the order of Devices to fetch.
|
|
1576
|
+
*/
|
|
1577
|
+
orderBy?: Prisma.DeviceOrderByWithRelationInput | Prisma.DeviceOrderByWithRelationInput[];
|
|
1578
|
+
/**
|
|
1579
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1580
|
+
*
|
|
1581
|
+
* Sets the position for searching for Devices.
|
|
1582
|
+
*/
|
|
1583
|
+
cursor?: Prisma.DeviceWhereUniqueInput;
|
|
1584
|
+
/**
|
|
1585
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1586
|
+
*
|
|
1587
|
+
* Take `±n` Devices from the position of the cursor.
|
|
1588
|
+
*/
|
|
1589
|
+
take?: number;
|
|
1590
|
+
/**
|
|
1591
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1592
|
+
*
|
|
1593
|
+
* Skip the first `n` Devices.
|
|
1594
|
+
*/
|
|
1595
|
+
skip?: number;
|
|
1596
|
+
/**
|
|
1597
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1598
|
+
*
|
|
1599
|
+
* Filter by unique combinations of Devices.
|
|
1600
|
+
*/
|
|
1601
|
+
distinct?: Prisma.DeviceScalarFieldEnum | Prisma.DeviceScalarFieldEnum[];
|
|
1602
|
+
};
|
|
1603
|
+
/**
|
|
1604
|
+
* Device findMany
|
|
1605
|
+
*/
|
|
1606
|
+
export type DeviceFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1607
|
+
/**
|
|
1608
|
+
* Select specific fields to fetch from the Device
|
|
1609
|
+
*/
|
|
1610
|
+
select?: Prisma.DeviceSelect<ExtArgs> | null;
|
|
1611
|
+
/**
|
|
1612
|
+
* Omit specific fields from the Device
|
|
1613
|
+
*/
|
|
1614
|
+
omit?: Prisma.DeviceOmit<ExtArgs> | null;
|
|
1615
|
+
/**
|
|
1616
|
+
* Choose, which related nodes to fetch as well
|
|
1617
|
+
*/
|
|
1618
|
+
include?: Prisma.DeviceInclude<ExtArgs> | null;
|
|
1619
|
+
/**
|
|
1620
|
+
* Filter, which Devices to fetch.
|
|
1621
|
+
*/
|
|
1622
|
+
where?: Prisma.DeviceWhereInput;
|
|
1623
|
+
/**
|
|
1624
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1625
|
+
*
|
|
1626
|
+
* Determine the order of Devices to fetch.
|
|
1627
|
+
*/
|
|
1628
|
+
orderBy?: Prisma.DeviceOrderByWithRelationInput | Prisma.DeviceOrderByWithRelationInput[];
|
|
1629
|
+
/**
|
|
1630
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1631
|
+
*
|
|
1632
|
+
* Sets the position for listing Devices.
|
|
1633
|
+
*/
|
|
1634
|
+
cursor?: Prisma.DeviceWhereUniqueInput;
|
|
1635
|
+
/**
|
|
1636
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1637
|
+
*
|
|
1638
|
+
* Take `±n` Devices from the position of the cursor.
|
|
1639
|
+
*/
|
|
1640
|
+
take?: number;
|
|
1641
|
+
/**
|
|
1642
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1643
|
+
*
|
|
1644
|
+
* Skip the first `n` Devices.
|
|
1645
|
+
*/
|
|
1646
|
+
skip?: number;
|
|
1647
|
+
/**
|
|
1648
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1649
|
+
*
|
|
1650
|
+
* Filter by unique combinations of Devices.
|
|
1651
|
+
*/
|
|
1652
|
+
distinct?: Prisma.DeviceScalarFieldEnum | Prisma.DeviceScalarFieldEnum[];
|
|
1653
|
+
};
|
|
1654
|
+
/**
|
|
1655
|
+
* Device create
|
|
1656
|
+
*/
|
|
1657
|
+
export type DeviceCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1658
|
+
/**
|
|
1659
|
+
* Select specific fields to fetch from the Device
|
|
1660
|
+
*/
|
|
1661
|
+
select?: Prisma.DeviceSelect<ExtArgs> | null;
|
|
1662
|
+
/**
|
|
1663
|
+
* Omit specific fields from the Device
|
|
1664
|
+
*/
|
|
1665
|
+
omit?: Prisma.DeviceOmit<ExtArgs> | null;
|
|
1666
|
+
/**
|
|
1667
|
+
* Choose, which related nodes to fetch as well
|
|
1668
|
+
*/
|
|
1669
|
+
include?: Prisma.DeviceInclude<ExtArgs> | null;
|
|
1670
|
+
/**
|
|
1671
|
+
* The data needed to create a Device.
|
|
1672
|
+
*/
|
|
1673
|
+
data: Prisma.XOR<Prisma.DeviceCreateInput, Prisma.DeviceUncheckedCreateInput>;
|
|
1674
|
+
};
|
|
1675
|
+
/**
|
|
1676
|
+
* Device createMany
|
|
1677
|
+
*/
|
|
1678
|
+
export type DeviceCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1679
|
+
/**
|
|
1680
|
+
* The data used to create many Devices.
|
|
1681
|
+
*/
|
|
1682
|
+
data: Prisma.DeviceCreateManyInput | Prisma.DeviceCreateManyInput[];
|
|
1683
|
+
skipDuplicates?: boolean;
|
|
1684
|
+
};
|
|
1685
|
+
/**
|
|
1686
|
+
* Device createManyAndReturn
|
|
1687
|
+
*/
|
|
1688
|
+
export type DeviceCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1689
|
+
/**
|
|
1690
|
+
* Select specific fields to fetch from the Device
|
|
1691
|
+
*/
|
|
1692
|
+
select?: Prisma.DeviceSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1693
|
+
/**
|
|
1694
|
+
* Omit specific fields from the Device
|
|
1695
|
+
*/
|
|
1696
|
+
omit?: Prisma.DeviceOmit<ExtArgs> | null;
|
|
1697
|
+
/**
|
|
1698
|
+
* The data used to create many Devices.
|
|
1699
|
+
*/
|
|
1700
|
+
data: Prisma.DeviceCreateManyInput | Prisma.DeviceCreateManyInput[];
|
|
1701
|
+
skipDuplicates?: boolean;
|
|
1702
|
+
/**
|
|
1703
|
+
* Choose, which related nodes to fetch as well
|
|
1704
|
+
*/
|
|
1705
|
+
include?: Prisma.DeviceIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1706
|
+
};
|
|
1707
|
+
/**
|
|
1708
|
+
* Device update
|
|
1709
|
+
*/
|
|
1710
|
+
export type DeviceUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1711
|
+
/**
|
|
1712
|
+
* Select specific fields to fetch from the Device
|
|
1713
|
+
*/
|
|
1714
|
+
select?: Prisma.DeviceSelect<ExtArgs> | null;
|
|
1715
|
+
/**
|
|
1716
|
+
* Omit specific fields from the Device
|
|
1717
|
+
*/
|
|
1718
|
+
omit?: Prisma.DeviceOmit<ExtArgs> | null;
|
|
1719
|
+
/**
|
|
1720
|
+
* Choose, which related nodes to fetch as well
|
|
1721
|
+
*/
|
|
1722
|
+
include?: Prisma.DeviceInclude<ExtArgs> | null;
|
|
1723
|
+
/**
|
|
1724
|
+
* The data needed to update a Device.
|
|
1725
|
+
*/
|
|
1726
|
+
data: Prisma.XOR<Prisma.DeviceUpdateInput, Prisma.DeviceUncheckedUpdateInput>;
|
|
1727
|
+
/**
|
|
1728
|
+
* Choose, which Device to update.
|
|
1729
|
+
*/
|
|
1730
|
+
where: Prisma.DeviceWhereUniqueInput;
|
|
1731
|
+
};
|
|
1732
|
+
/**
|
|
1733
|
+
* Device updateMany
|
|
1734
|
+
*/
|
|
1735
|
+
export type DeviceUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1736
|
+
/**
|
|
1737
|
+
* The data used to update Devices.
|
|
1738
|
+
*/
|
|
1739
|
+
data: Prisma.XOR<Prisma.DeviceUpdateManyMutationInput, Prisma.DeviceUncheckedUpdateManyInput>;
|
|
1740
|
+
/**
|
|
1741
|
+
* Filter which Devices to update
|
|
1742
|
+
*/
|
|
1743
|
+
where?: Prisma.DeviceWhereInput;
|
|
1744
|
+
/**
|
|
1745
|
+
* Limit how many Devices to update.
|
|
1746
|
+
*/
|
|
1747
|
+
limit?: number;
|
|
1748
|
+
};
|
|
1749
|
+
/**
|
|
1750
|
+
* Device updateManyAndReturn
|
|
1751
|
+
*/
|
|
1752
|
+
export type DeviceUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1753
|
+
/**
|
|
1754
|
+
* Select specific fields to fetch from the Device
|
|
1755
|
+
*/
|
|
1756
|
+
select?: Prisma.DeviceSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1757
|
+
/**
|
|
1758
|
+
* Omit specific fields from the Device
|
|
1759
|
+
*/
|
|
1760
|
+
omit?: Prisma.DeviceOmit<ExtArgs> | null;
|
|
1761
|
+
/**
|
|
1762
|
+
* The data used to update Devices.
|
|
1763
|
+
*/
|
|
1764
|
+
data: Prisma.XOR<Prisma.DeviceUpdateManyMutationInput, Prisma.DeviceUncheckedUpdateManyInput>;
|
|
1765
|
+
/**
|
|
1766
|
+
* Filter which Devices to update
|
|
1767
|
+
*/
|
|
1768
|
+
where?: Prisma.DeviceWhereInput;
|
|
1769
|
+
/**
|
|
1770
|
+
* Limit how many Devices to update.
|
|
1771
|
+
*/
|
|
1772
|
+
limit?: number;
|
|
1773
|
+
/**
|
|
1774
|
+
* Choose, which related nodes to fetch as well
|
|
1775
|
+
*/
|
|
1776
|
+
include?: Prisma.DeviceIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1777
|
+
};
|
|
1778
|
+
/**
|
|
1779
|
+
* Device upsert
|
|
1780
|
+
*/
|
|
1781
|
+
export type DeviceUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1782
|
+
/**
|
|
1783
|
+
* Select specific fields to fetch from the Device
|
|
1784
|
+
*/
|
|
1785
|
+
select?: Prisma.DeviceSelect<ExtArgs> | null;
|
|
1786
|
+
/**
|
|
1787
|
+
* Omit specific fields from the Device
|
|
1788
|
+
*/
|
|
1789
|
+
omit?: Prisma.DeviceOmit<ExtArgs> | null;
|
|
1790
|
+
/**
|
|
1791
|
+
* Choose, which related nodes to fetch as well
|
|
1792
|
+
*/
|
|
1793
|
+
include?: Prisma.DeviceInclude<ExtArgs> | null;
|
|
1794
|
+
/**
|
|
1795
|
+
* The filter to search for the Device to update in case it exists.
|
|
1796
|
+
*/
|
|
1797
|
+
where: Prisma.DeviceWhereUniqueInput;
|
|
1798
|
+
/**
|
|
1799
|
+
* In case the Device found by the `where` argument doesn't exist, create a new Device with this data.
|
|
1800
|
+
*/
|
|
1801
|
+
create: Prisma.XOR<Prisma.DeviceCreateInput, Prisma.DeviceUncheckedCreateInput>;
|
|
1802
|
+
/**
|
|
1803
|
+
* In case the Device was found with the provided `where` argument, update it with this data.
|
|
1804
|
+
*/
|
|
1805
|
+
update: Prisma.XOR<Prisma.DeviceUpdateInput, Prisma.DeviceUncheckedUpdateInput>;
|
|
1806
|
+
};
|
|
1807
|
+
/**
|
|
1808
|
+
* Device delete
|
|
1809
|
+
*/
|
|
1810
|
+
export type DeviceDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1811
|
+
/**
|
|
1812
|
+
* Select specific fields to fetch from the Device
|
|
1813
|
+
*/
|
|
1814
|
+
select?: Prisma.DeviceSelect<ExtArgs> | null;
|
|
1815
|
+
/**
|
|
1816
|
+
* Omit specific fields from the Device
|
|
1817
|
+
*/
|
|
1818
|
+
omit?: Prisma.DeviceOmit<ExtArgs> | null;
|
|
1819
|
+
/**
|
|
1820
|
+
* Choose, which related nodes to fetch as well
|
|
1821
|
+
*/
|
|
1822
|
+
include?: Prisma.DeviceInclude<ExtArgs> | null;
|
|
1823
|
+
/**
|
|
1824
|
+
* Filter which Device to delete.
|
|
1825
|
+
*/
|
|
1826
|
+
where: Prisma.DeviceWhereUniqueInput;
|
|
1827
|
+
};
|
|
1828
|
+
/**
|
|
1829
|
+
* Device deleteMany
|
|
1830
|
+
*/
|
|
1831
|
+
export type DeviceDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1832
|
+
/**
|
|
1833
|
+
* Filter which Devices to delete
|
|
1834
|
+
*/
|
|
1835
|
+
where?: Prisma.DeviceWhereInput;
|
|
1836
|
+
/**
|
|
1837
|
+
* Limit how many Devices to delete.
|
|
1838
|
+
*/
|
|
1839
|
+
limit?: number;
|
|
1840
|
+
};
|
|
1841
|
+
/**
|
|
1842
|
+
* Device without action
|
|
1843
|
+
*/
|
|
1844
|
+
export type DeviceDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1845
|
+
/**
|
|
1846
|
+
* Select specific fields to fetch from the Device
|
|
1847
|
+
*/
|
|
1848
|
+
select?: Prisma.DeviceSelect<ExtArgs> | null;
|
|
1849
|
+
/**
|
|
1850
|
+
* Omit specific fields from the Device
|
|
1851
|
+
*/
|
|
1852
|
+
omit?: Prisma.DeviceOmit<ExtArgs> | null;
|
|
1853
|
+
/**
|
|
1854
|
+
* Choose, which related nodes to fetch as well
|
|
1855
|
+
*/
|
|
1856
|
+
include?: Prisma.DeviceInclude<ExtArgs> | null;
|
|
1857
|
+
};
|
|
1858
|
+
//# sourceMappingURL=Device.d.ts.map
|