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