@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,1328 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as $Enums from "../enums.js";
|
|
3
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
4
|
+
/**
|
|
5
|
+
* Model TrustResource
|
|
6
|
+
*
|
|
7
|
+
*/
|
|
8
|
+
export type TrustResourceModel = runtime.Types.Result.DefaultSelection<Prisma.$TrustResourcePayload>;
|
|
9
|
+
export type AggregateTrustResource = {
|
|
10
|
+
_count: TrustResourceCountAggregateOutputType | null;
|
|
11
|
+
_avg: TrustResourceAvgAggregateOutputType | null;
|
|
12
|
+
_sum: TrustResourceSumAggregateOutputType | null;
|
|
13
|
+
_min: TrustResourceMinAggregateOutputType | null;
|
|
14
|
+
_max: TrustResourceMaxAggregateOutputType | null;
|
|
15
|
+
};
|
|
16
|
+
export type TrustResourceAvgAggregateOutputType = {
|
|
17
|
+
fileSize: number | null;
|
|
18
|
+
};
|
|
19
|
+
export type TrustResourceSumAggregateOutputType = {
|
|
20
|
+
fileSize: number | null;
|
|
21
|
+
};
|
|
22
|
+
export type TrustResourceMinAggregateOutputType = {
|
|
23
|
+
id: string | null;
|
|
24
|
+
organizationId: string | null;
|
|
25
|
+
framework: $Enums.TrustFramework | null;
|
|
26
|
+
s3Key: string | null;
|
|
27
|
+
fileName: string | null;
|
|
28
|
+
fileSize: number | null;
|
|
29
|
+
createdAt: Date | null;
|
|
30
|
+
updatedAt: Date | null;
|
|
31
|
+
};
|
|
32
|
+
export type TrustResourceMaxAggregateOutputType = {
|
|
33
|
+
id: string | null;
|
|
34
|
+
organizationId: string | null;
|
|
35
|
+
framework: $Enums.TrustFramework | null;
|
|
36
|
+
s3Key: string | null;
|
|
37
|
+
fileName: string | null;
|
|
38
|
+
fileSize: number | null;
|
|
39
|
+
createdAt: Date | null;
|
|
40
|
+
updatedAt: Date | null;
|
|
41
|
+
};
|
|
42
|
+
export type TrustResourceCountAggregateOutputType = {
|
|
43
|
+
id: number;
|
|
44
|
+
organizationId: number;
|
|
45
|
+
framework: number;
|
|
46
|
+
s3Key: number;
|
|
47
|
+
fileName: number;
|
|
48
|
+
fileSize: number;
|
|
49
|
+
createdAt: number;
|
|
50
|
+
updatedAt: number;
|
|
51
|
+
_all: number;
|
|
52
|
+
};
|
|
53
|
+
export type TrustResourceAvgAggregateInputType = {
|
|
54
|
+
fileSize?: true;
|
|
55
|
+
};
|
|
56
|
+
export type TrustResourceSumAggregateInputType = {
|
|
57
|
+
fileSize?: true;
|
|
58
|
+
};
|
|
59
|
+
export type TrustResourceMinAggregateInputType = {
|
|
60
|
+
id?: true;
|
|
61
|
+
organizationId?: true;
|
|
62
|
+
framework?: true;
|
|
63
|
+
s3Key?: true;
|
|
64
|
+
fileName?: true;
|
|
65
|
+
fileSize?: true;
|
|
66
|
+
createdAt?: true;
|
|
67
|
+
updatedAt?: true;
|
|
68
|
+
};
|
|
69
|
+
export type TrustResourceMaxAggregateInputType = {
|
|
70
|
+
id?: true;
|
|
71
|
+
organizationId?: true;
|
|
72
|
+
framework?: true;
|
|
73
|
+
s3Key?: true;
|
|
74
|
+
fileName?: true;
|
|
75
|
+
fileSize?: true;
|
|
76
|
+
createdAt?: true;
|
|
77
|
+
updatedAt?: true;
|
|
78
|
+
};
|
|
79
|
+
export type TrustResourceCountAggregateInputType = {
|
|
80
|
+
id?: true;
|
|
81
|
+
organizationId?: true;
|
|
82
|
+
framework?: true;
|
|
83
|
+
s3Key?: true;
|
|
84
|
+
fileName?: true;
|
|
85
|
+
fileSize?: true;
|
|
86
|
+
createdAt?: true;
|
|
87
|
+
updatedAt?: true;
|
|
88
|
+
_all?: true;
|
|
89
|
+
};
|
|
90
|
+
export type TrustResourceAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
91
|
+
/**
|
|
92
|
+
* Filter which TrustResource to aggregate.
|
|
93
|
+
*/
|
|
94
|
+
where?: Prisma.TrustResourceWhereInput;
|
|
95
|
+
/**
|
|
96
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
97
|
+
*
|
|
98
|
+
* Determine the order of TrustResources to fetch.
|
|
99
|
+
*/
|
|
100
|
+
orderBy?: Prisma.TrustResourceOrderByWithRelationInput | Prisma.TrustResourceOrderByWithRelationInput[];
|
|
101
|
+
/**
|
|
102
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
103
|
+
*
|
|
104
|
+
* Sets the start position
|
|
105
|
+
*/
|
|
106
|
+
cursor?: Prisma.TrustResourceWhereUniqueInput;
|
|
107
|
+
/**
|
|
108
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
109
|
+
*
|
|
110
|
+
* Take `±n` TrustResources from the position of the cursor.
|
|
111
|
+
*/
|
|
112
|
+
take?: number;
|
|
113
|
+
/**
|
|
114
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
115
|
+
*
|
|
116
|
+
* Skip the first `n` TrustResources.
|
|
117
|
+
*/
|
|
118
|
+
skip?: number;
|
|
119
|
+
/**
|
|
120
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
121
|
+
*
|
|
122
|
+
* Count returned TrustResources
|
|
123
|
+
**/
|
|
124
|
+
_count?: true | TrustResourceCountAggregateInputType;
|
|
125
|
+
/**
|
|
126
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
127
|
+
*
|
|
128
|
+
* Select which fields to average
|
|
129
|
+
**/
|
|
130
|
+
_avg?: TrustResourceAvgAggregateInputType;
|
|
131
|
+
/**
|
|
132
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
133
|
+
*
|
|
134
|
+
* Select which fields to sum
|
|
135
|
+
**/
|
|
136
|
+
_sum?: TrustResourceSumAggregateInputType;
|
|
137
|
+
/**
|
|
138
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
139
|
+
*
|
|
140
|
+
* Select which fields to find the minimum value
|
|
141
|
+
**/
|
|
142
|
+
_min?: TrustResourceMinAggregateInputType;
|
|
143
|
+
/**
|
|
144
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
145
|
+
*
|
|
146
|
+
* Select which fields to find the maximum value
|
|
147
|
+
**/
|
|
148
|
+
_max?: TrustResourceMaxAggregateInputType;
|
|
149
|
+
};
|
|
150
|
+
export type GetTrustResourceAggregateType<T extends TrustResourceAggregateArgs> = {
|
|
151
|
+
[P in keyof T & keyof AggregateTrustResource]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateTrustResource[P]> : Prisma.GetScalarType<T[P], AggregateTrustResource[P]>;
|
|
152
|
+
};
|
|
153
|
+
export type TrustResourceGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
154
|
+
where?: Prisma.TrustResourceWhereInput;
|
|
155
|
+
orderBy?: Prisma.TrustResourceOrderByWithAggregationInput | Prisma.TrustResourceOrderByWithAggregationInput[];
|
|
156
|
+
by: Prisma.TrustResourceScalarFieldEnum[] | Prisma.TrustResourceScalarFieldEnum;
|
|
157
|
+
having?: Prisma.TrustResourceScalarWhereWithAggregatesInput;
|
|
158
|
+
take?: number;
|
|
159
|
+
skip?: number;
|
|
160
|
+
_count?: TrustResourceCountAggregateInputType | true;
|
|
161
|
+
_avg?: TrustResourceAvgAggregateInputType;
|
|
162
|
+
_sum?: TrustResourceSumAggregateInputType;
|
|
163
|
+
_min?: TrustResourceMinAggregateInputType;
|
|
164
|
+
_max?: TrustResourceMaxAggregateInputType;
|
|
165
|
+
};
|
|
166
|
+
export type TrustResourceGroupByOutputType = {
|
|
167
|
+
id: string;
|
|
168
|
+
organizationId: string;
|
|
169
|
+
framework: $Enums.TrustFramework;
|
|
170
|
+
s3Key: string;
|
|
171
|
+
fileName: string;
|
|
172
|
+
fileSize: number;
|
|
173
|
+
createdAt: Date;
|
|
174
|
+
updatedAt: Date;
|
|
175
|
+
_count: TrustResourceCountAggregateOutputType | null;
|
|
176
|
+
_avg: TrustResourceAvgAggregateOutputType | null;
|
|
177
|
+
_sum: TrustResourceSumAggregateOutputType | null;
|
|
178
|
+
_min: TrustResourceMinAggregateOutputType | null;
|
|
179
|
+
_max: TrustResourceMaxAggregateOutputType | null;
|
|
180
|
+
};
|
|
181
|
+
export type GetTrustResourceGroupByPayload<T extends TrustResourceGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<TrustResourceGroupByOutputType, T['by']> & {
|
|
182
|
+
[P in ((keyof T) & (keyof TrustResourceGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], TrustResourceGroupByOutputType[P]> : Prisma.GetScalarType<T[P], TrustResourceGroupByOutputType[P]>;
|
|
183
|
+
}>>;
|
|
184
|
+
export type TrustResourceWhereInput = {
|
|
185
|
+
AND?: Prisma.TrustResourceWhereInput | Prisma.TrustResourceWhereInput[];
|
|
186
|
+
OR?: Prisma.TrustResourceWhereInput[];
|
|
187
|
+
NOT?: Prisma.TrustResourceWhereInput | Prisma.TrustResourceWhereInput[];
|
|
188
|
+
id?: Prisma.StringFilter<"TrustResource"> | string;
|
|
189
|
+
organizationId?: Prisma.StringFilter<"TrustResource"> | string;
|
|
190
|
+
framework?: Prisma.EnumTrustFrameworkFilter<"TrustResource"> | $Enums.TrustFramework;
|
|
191
|
+
s3Key?: Prisma.StringFilter<"TrustResource"> | string;
|
|
192
|
+
fileName?: Prisma.StringFilter<"TrustResource"> | string;
|
|
193
|
+
fileSize?: Prisma.IntFilter<"TrustResource"> | number;
|
|
194
|
+
createdAt?: Prisma.DateTimeFilter<"TrustResource"> | Date | string;
|
|
195
|
+
updatedAt?: Prisma.DateTimeFilter<"TrustResource"> | Date | string;
|
|
196
|
+
organization?: Prisma.XOR<Prisma.OrganizationScalarRelationFilter, Prisma.OrganizationWhereInput>;
|
|
197
|
+
};
|
|
198
|
+
export type TrustResourceOrderByWithRelationInput = {
|
|
199
|
+
id?: Prisma.SortOrder;
|
|
200
|
+
organizationId?: Prisma.SortOrder;
|
|
201
|
+
framework?: Prisma.SortOrder;
|
|
202
|
+
s3Key?: Prisma.SortOrder;
|
|
203
|
+
fileName?: Prisma.SortOrder;
|
|
204
|
+
fileSize?: Prisma.SortOrder;
|
|
205
|
+
createdAt?: Prisma.SortOrder;
|
|
206
|
+
updatedAt?: Prisma.SortOrder;
|
|
207
|
+
organization?: Prisma.OrganizationOrderByWithRelationInput;
|
|
208
|
+
};
|
|
209
|
+
export type TrustResourceWhereUniqueInput = Prisma.AtLeast<{
|
|
210
|
+
id?: string;
|
|
211
|
+
organizationId_framework?: Prisma.TrustResourceOrganizationIdFrameworkCompoundUniqueInput;
|
|
212
|
+
AND?: Prisma.TrustResourceWhereInput | Prisma.TrustResourceWhereInput[];
|
|
213
|
+
OR?: Prisma.TrustResourceWhereInput[];
|
|
214
|
+
NOT?: Prisma.TrustResourceWhereInput | Prisma.TrustResourceWhereInput[];
|
|
215
|
+
organizationId?: Prisma.StringFilter<"TrustResource"> | string;
|
|
216
|
+
framework?: Prisma.EnumTrustFrameworkFilter<"TrustResource"> | $Enums.TrustFramework;
|
|
217
|
+
s3Key?: Prisma.StringFilter<"TrustResource"> | string;
|
|
218
|
+
fileName?: Prisma.StringFilter<"TrustResource"> | string;
|
|
219
|
+
fileSize?: Prisma.IntFilter<"TrustResource"> | number;
|
|
220
|
+
createdAt?: Prisma.DateTimeFilter<"TrustResource"> | Date | string;
|
|
221
|
+
updatedAt?: Prisma.DateTimeFilter<"TrustResource"> | Date | string;
|
|
222
|
+
organization?: Prisma.XOR<Prisma.OrganizationScalarRelationFilter, Prisma.OrganizationWhereInput>;
|
|
223
|
+
}, "id" | "organizationId_framework">;
|
|
224
|
+
export type TrustResourceOrderByWithAggregationInput = {
|
|
225
|
+
id?: Prisma.SortOrder;
|
|
226
|
+
organizationId?: Prisma.SortOrder;
|
|
227
|
+
framework?: Prisma.SortOrder;
|
|
228
|
+
s3Key?: Prisma.SortOrder;
|
|
229
|
+
fileName?: Prisma.SortOrder;
|
|
230
|
+
fileSize?: Prisma.SortOrder;
|
|
231
|
+
createdAt?: Prisma.SortOrder;
|
|
232
|
+
updatedAt?: Prisma.SortOrder;
|
|
233
|
+
_count?: Prisma.TrustResourceCountOrderByAggregateInput;
|
|
234
|
+
_avg?: Prisma.TrustResourceAvgOrderByAggregateInput;
|
|
235
|
+
_max?: Prisma.TrustResourceMaxOrderByAggregateInput;
|
|
236
|
+
_min?: Prisma.TrustResourceMinOrderByAggregateInput;
|
|
237
|
+
_sum?: Prisma.TrustResourceSumOrderByAggregateInput;
|
|
238
|
+
};
|
|
239
|
+
export type TrustResourceScalarWhereWithAggregatesInput = {
|
|
240
|
+
AND?: Prisma.TrustResourceScalarWhereWithAggregatesInput | Prisma.TrustResourceScalarWhereWithAggregatesInput[];
|
|
241
|
+
OR?: Prisma.TrustResourceScalarWhereWithAggregatesInput[];
|
|
242
|
+
NOT?: Prisma.TrustResourceScalarWhereWithAggregatesInput | Prisma.TrustResourceScalarWhereWithAggregatesInput[];
|
|
243
|
+
id?: Prisma.StringWithAggregatesFilter<"TrustResource"> | string;
|
|
244
|
+
organizationId?: Prisma.StringWithAggregatesFilter<"TrustResource"> | string;
|
|
245
|
+
framework?: Prisma.EnumTrustFrameworkWithAggregatesFilter<"TrustResource"> | $Enums.TrustFramework;
|
|
246
|
+
s3Key?: Prisma.StringWithAggregatesFilter<"TrustResource"> | string;
|
|
247
|
+
fileName?: Prisma.StringWithAggregatesFilter<"TrustResource"> | string;
|
|
248
|
+
fileSize?: Prisma.IntWithAggregatesFilter<"TrustResource"> | number;
|
|
249
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"TrustResource"> | Date | string;
|
|
250
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"TrustResource"> | Date | string;
|
|
251
|
+
};
|
|
252
|
+
export type TrustResourceCreateInput = {
|
|
253
|
+
id?: string;
|
|
254
|
+
framework: $Enums.TrustFramework;
|
|
255
|
+
s3Key: string;
|
|
256
|
+
fileName: string;
|
|
257
|
+
fileSize: number;
|
|
258
|
+
createdAt?: Date | string;
|
|
259
|
+
updatedAt?: Date | string;
|
|
260
|
+
organization: Prisma.OrganizationCreateNestedOneWithoutTrustResourcesInput;
|
|
261
|
+
};
|
|
262
|
+
export type TrustResourceUncheckedCreateInput = {
|
|
263
|
+
id?: string;
|
|
264
|
+
organizationId: string;
|
|
265
|
+
framework: $Enums.TrustFramework;
|
|
266
|
+
s3Key: string;
|
|
267
|
+
fileName: string;
|
|
268
|
+
fileSize: number;
|
|
269
|
+
createdAt?: Date | string;
|
|
270
|
+
updatedAt?: Date | string;
|
|
271
|
+
};
|
|
272
|
+
export type TrustResourceUpdateInput = {
|
|
273
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
274
|
+
framework?: Prisma.EnumTrustFrameworkFieldUpdateOperationsInput | $Enums.TrustFramework;
|
|
275
|
+
s3Key?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
276
|
+
fileName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
277
|
+
fileSize?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
278
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
279
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
280
|
+
organization?: Prisma.OrganizationUpdateOneRequiredWithoutTrustResourcesNestedInput;
|
|
281
|
+
};
|
|
282
|
+
export type TrustResourceUncheckedUpdateInput = {
|
|
283
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
284
|
+
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
285
|
+
framework?: Prisma.EnumTrustFrameworkFieldUpdateOperationsInput | $Enums.TrustFramework;
|
|
286
|
+
s3Key?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
287
|
+
fileName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
288
|
+
fileSize?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
289
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
290
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
291
|
+
};
|
|
292
|
+
export type TrustResourceCreateManyInput = {
|
|
293
|
+
id?: string;
|
|
294
|
+
organizationId: string;
|
|
295
|
+
framework: $Enums.TrustFramework;
|
|
296
|
+
s3Key: string;
|
|
297
|
+
fileName: string;
|
|
298
|
+
fileSize: number;
|
|
299
|
+
createdAt?: Date | string;
|
|
300
|
+
updatedAt?: Date | string;
|
|
301
|
+
};
|
|
302
|
+
export type TrustResourceUpdateManyMutationInput = {
|
|
303
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
304
|
+
framework?: Prisma.EnumTrustFrameworkFieldUpdateOperationsInput | $Enums.TrustFramework;
|
|
305
|
+
s3Key?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
306
|
+
fileName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
307
|
+
fileSize?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
308
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
309
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
310
|
+
};
|
|
311
|
+
export type TrustResourceUncheckedUpdateManyInput = {
|
|
312
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
313
|
+
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
314
|
+
framework?: Prisma.EnumTrustFrameworkFieldUpdateOperationsInput | $Enums.TrustFramework;
|
|
315
|
+
s3Key?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
316
|
+
fileName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
317
|
+
fileSize?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
318
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
319
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
320
|
+
};
|
|
321
|
+
export type TrustResourceListRelationFilter = {
|
|
322
|
+
every?: Prisma.TrustResourceWhereInput;
|
|
323
|
+
some?: Prisma.TrustResourceWhereInput;
|
|
324
|
+
none?: Prisma.TrustResourceWhereInput;
|
|
325
|
+
};
|
|
326
|
+
export type TrustResourceOrderByRelationAggregateInput = {
|
|
327
|
+
_count?: Prisma.SortOrder;
|
|
328
|
+
};
|
|
329
|
+
export type TrustResourceOrganizationIdFrameworkCompoundUniqueInput = {
|
|
330
|
+
organizationId: string;
|
|
331
|
+
framework: $Enums.TrustFramework;
|
|
332
|
+
};
|
|
333
|
+
export type TrustResourceCountOrderByAggregateInput = {
|
|
334
|
+
id?: Prisma.SortOrder;
|
|
335
|
+
organizationId?: Prisma.SortOrder;
|
|
336
|
+
framework?: Prisma.SortOrder;
|
|
337
|
+
s3Key?: Prisma.SortOrder;
|
|
338
|
+
fileName?: Prisma.SortOrder;
|
|
339
|
+
fileSize?: Prisma.SortOrder;
|
|
340
|
+
createdAt?: Prisma.SortOrder;
|
|
341
|
+
updatedAt?: Prisma.SortOrder;
|
|
342
|
+
};
|
|
343
|
+
export type TrustResourceAvgOrderByAggregateInput = {
|
|
344
|
+
fileSize?: Prisma.SortOrder;
|
|
345
|
+
};
|
|
346
|
+
export type TrustResourceMaxOrderByAggregateInput = {
|
|
347
|
+
id?: Prisma.SortOrder;
|
|
348
|
+
organizationId?: Prisma.SortOrder;
|
|
349
|
+
framework?: Prisma.SortOrder;
|
|
350
|
+
s3Key?: Prisma.SortOrder;
|
|
351
|
+
fileName?: Prisma.SortOrder;
|
|
352
|
+
fileSize?: Prisma.SortOrder;
|
|
353
|
+
createdAt?: Prisma.SortOrder;
|
|
354
|
+
updatedAt?: Prisma.SortOrder;
|
|
355
|
+
};
|
|
356
|
+
export type TrustResourceMinOrderByAggregateInput = {
|
|
357
|
+
id?: Prisma.SortOrder;
|
|
358
|
+
organizationId?: Prisma.SortOrder;
|
|
359
|
+
framework?: Prisma.SortOrder;
|
|
360
|
+
s3Key?: Prisma.SortOrder;
|
|
361
|
+
fileName?: Prisma.SortOrder;
|
|
362
|
+
fileSize?: Prisma.SortOrder;
|
|
363
|
+
createdAt?: Prisma.SortOrder;
|
|
364
|
+
updatedAt?: Prisma.SortOrder;
|
|
365
|
+
};
|
|
366
|
+
export type TrustResourceSumOrderByAggregateInput = {
|
|
367
|
+
fileSize?: Prisma.SortOrder;
|
|
368
|
+
};
|
|
369
|
+
export type TrustResourceCreateNestedManyWithoutOrganizationInput = {
|
|
370
|
+
create?: Prisma.XOR<Prisma.TrustResourceCreateWithoutOrganizationInput, Prisma.TrustResourceUncheckedCreateWithoutOrganizationInput> | Prisma.TrustResourceCreateWithoutOrganizationInput[] | Prisma.TrustResourceUncheckedCreateWithoutOrganizationInput[];
|
|
371
|
+
connectOrCreate?: Prisma.TrustResourceCreateOrConnectWithoutOrganizationInput | Prisma.TrustResourceCreateOrConnectWithoutOrganizationInput[];
|
|
372
|
+
createMany?: Prisma.TrustResourceCreateManyOrganizationInputEnvelope;
|
|
373
|
+
connect?: Prisma.TrustResourceWhereUniqueInput | Prisma.TrustResourceWhereUniqueInput[];
|
|
374
|
+
};
|
|
375
|
+
export type TrustResourceUncheckedCreateNestedManyWithoutOrganizationInput = {
|
|
376
|
+
create?: Prisma.XOR<Prisma.TrustResourceCreateWithoutOrganizationInput, Prisma.TrustResourceUncheckedCreateWithoutOrganizationInput> | Prisma.TrustResourceCreateWithoutOrganizationInput[] | Prisma.TrustResourceUncheckedCreateWithoutOrganizationInput[];
|
|
377
|
+
connectOrCreate?: Prisma.TrustResourceCreateOrConnectWithoutOrganizationInput | Prisma.TrustResourceCreateOrConnectWithoutOrganizationInput[];
|
|
378
|
+
createMany?: Prisma.TrustResourceCreateManyOrganizationInputEnvelope;
|
|
379
|
+
connect?: Prisma.TrustResourceWhereUniqueInput | Prisma.TrustResourceWhereUniqueInput[];
|
|
380
|
+
};
|
|
381
|
+
export type TrustResourceUpdateManyWithoutOrganizationNestedInput = {
|
|
382
|
+
create?: Prisma.XOR<Prisma.TrustResourceCreateWithoutOrganizationInput, Prisma.TrustResourceUncheckedCreateWithoutOrganizationInput> | Prisma.TrustResourceCreateWithoutOrganizationInput[] | Prisma.TrustResourceUncheckedCreateWithoutOrganizationInput[];
|
|
383
|
+
connectOrCreate?: Prisma.TrustResourceCreateOrConnectWithoutOrganizationInput | Prisma.TrustResourceCreateOrConnectWithoutOrganizationInput[];
|
|
384
|
+
upsert?: Prisma.TrustResourceUpsertWithWhereUniqueWithoutOrganizationInput | Prisma.TrustResourceUpsertWithWhereUniqueWithoutOrganizationInput[];
|
|
385
|
+
createMany?: Prisma.TrustResourceCreateManyOrganizationInputEnvelope;
|
|
386
|
+
set?: Prisma.TrustResourceWhereUniqueInput | Prisma.TrustResourceWhereUniqueInput[];
|
|
387
|
+
disconnect?: Prisma.TrustResourceWhereUniqueInput | Prisma.TrustResourceWhereUniqueInput[];
|
|
388
|
+
delete?: Prisma.TrustResourceWhereUniqueInput | Prisma.TrustResourceWhereUniqueInput[];
|
|
389
|
+
connect?: Prisma.TrustResourceWhereUniqueInput | Prisma.TrustResourceWhereUniqueInput[];
|
|
390
|
+
update?: Prisma.TrustResourceUpdateWithWhereUniqueWithoutOrganizationInput | Prisma.TrustResourceUpdateWithWhereUniqueWithoutOrganizationInput[];
|
|
391
|
+
updateMany?: Prisma.TrustResourceUpdateManyWithWhereWithoutOrganizationInput | Prisma.TrustResourceUpdateManyWithWhereWithoutOrganizationInput[];
|
|
392
|
+
deleteMany?: Prisma.TrustResourceScalarWhereInput | Prisma.TrustResourceScalarWhereInput[];
|
|
393
|
+
};
|
|
394
|
+
export type TrustResourceUncheckedUpdateManyWithoutOrganizationNestedInput = {
|
|
395
|
+
create?: Prisma.XOR<Prisma.TrustResourceCreateWithoutOrganizationInput, Prisma.TrustResourceUncheckedCreateWithoutOrganizationInput> | Prisma.TrustResourceCreateWithoutOrganizationInput[] | Prisma.TrustResourceUncheckedCreateWithoutOrganizationInput[];
|
|
396
|
+
connectOrCreate?: Prisma.TrustResourceCreateOrConnectWithoutOrganizationInput | Prisma.TrustResourceCreateOrConnectWithoutOrganizationInput[];
|
|
397
|
+
upsert?: Prisma.TrustResourceUpsertWithWhereUniqueWithoutOrganizationInput | Prisma.TrustResourceUpsertWithWhereUniqueWithoutOrganizationInput[];
|
|
398
|
+
createMany?: Prisma.TrustResourceCreateManyOrganizationInputEnvelope;
|
|
399
|
+
set?: Prisma.TrustResourceWhereUniqueInput | Prisma.TrustResourceWhereUniqueInput[];
|
|
400
|
+
disconnect?: Prisma.TrustResourceWhereUniqueInput | Prisma.TrustResourceWhereUniqueInput[];
|
|
401
|
+
delete?: Prisma.TrustResourceWhereUniqueInput | Prisma.TrustResourceWhereUniqueInput[];
|
|
402
|
+
connect?: Prisma.TrustResourceWhereUniqueInput | Prisma.TrustResourceWhereUniqueInput[];
|
|
403
|
+
update?: Prisma.TrustResourceUpdateWithWhereUniqueWithoutOrganizationInput | Prisma.TrustResourceUpdateWithWhereUniqueWithoutOrganizationInput[];
|
|
404
|
+
updateMany?: Prisma.TrustResourceUpdateManyWithWhereWithoutOrganizationInput | Prisma.TrustResourceUpdateManyWithWhereWithoutOrganizationInput[];
|
|
405
|
+
deleteMany?: Prisma.TrustResourceScalarWhereInput | Prisma.TrustResourceScalarWhereInput[];
|
|
406
|
+
};
|
|
407
|
+
export type EnumTrustFrameworkFieldUpdateOperationsInput = {
|
|
408
|
+
set?: $Enums.TrustFramework;
|
|
409
|
+
};
|
|
410
|
+
export type TrustResourceCreateWithoutOrganizationInput = {
|
|
411
|
+
id?: string;
|
|
412
|
+
framework: $Enums.TrustFramework;
|
|
413
|
+
s3Key: string;
|
|
414
|
+
fileName: string;
|
|
415
|
+
fileSize: number;
|
|
416
|
+
createdAt?: Date | string;
|
|
417
|
+
updatedAt?: Date | string;
|
|
418
|
+
};
|
|
419
|
+
export type TrustResourceUncheckedCreateWithoutOrganizationInput = {
|
|
420
|
+
id?: string;
|
|
421
|
+
framework: $Enums.TrustFramework;
|
|
422
|
+
s3Key: string;
|
|
423
|
+
fileName: string;
|
|
424
|
+
fileSize: number;
|
|
425
|
+
createdAt?: Date | string;
|
|
426
|
+
updatedAt?: Date | string;
|
|
427
|
+
};
|
|
428
|
+
export type TrustResourceCreateOrConnectWithoutOrganizationInput = {
|
|
429
|
+
where: Prisma.TrustResourceWhereUniqueInput;
|
|
430
|
+
create: Prisma.XOR<Prisma.TrustResourceCreateWithoutOrganizationInput, Prisma.TrustResourceUncheckedCreateWithoutOrganizationInput>;
|
|
431
|
+
};
|
|
432
|
+
export type TrustResourceCreateManyOrganizationInputEnvelope = {
|
|
433
|
+
data: Prisma.TrustResourceCreateManyOrganizationInput | Prisma.TrustResourceCreateManyOrganizationInput[];
|
|
434
|
+
skipDuplicates?: boolean;
|
|
435
|
+
};
|
|
436
|
+
export type TrustResourceUpsertWithWhereUniqueWithoutOrganizationInput = {
|
|
437
|
+
where: Prisma.TrustResourceWhereUniqueInput;
|
|
438
|
+
update: Prisma.XOR<Prisma.TrustResourceUpdateWithoutOrganizationInput, Prisma.TrustResourceUncheckedUpdateWithoutOrganizationInput>;
|
|
439
|
+
create: Prisma.XOR<Prisma.TrustResourceCreateWithoutOrganizationInput, Prisma.TrustResourceUncheckedCreateWithoutOrganizationInput>;
|
|
440
|
+
};
|
|
441
|
+
export type TrustResourceUpdateWithWhereUniqueWithoutOrganizationInput = {
|
|
442
|
+
where: Prisma.TrustResourceWhereUniqueInput;
|
|
443
|
+
data: Prisma.XOR<Prisma.TrustResourceUpdateWithoutOrganizationInput, Prisma.TrustResourceUncheckedUpdateWithoutOrganizationInput>;
|
|
444
|
+
};
|
|
445
|
+
export type TrustResourceUpdateManyWithWhereWithoutOrganizationInput = {
|
|
446
|
+
where: Prisma.TrustResourceScalarWhereInput;
|
|
447
|
+
data: Prisma.XOR<Prisma.TrustResourceUpdateManyMutationInput, Prisma.TrustResourceUncheckedUpdateManyWithoutOrganizationInput>;
|
|
448
|
+
};
|
|
449
|
+
export type TrustResourceScalarWhereInput = {
|
|
450
|
+
AND?: Prisma.TrustResourceScalarWhereInput | Prisma.TrustResourceScalarWhereInput[];
|
|
451
|
+
OR?: Prisma.TrustResourceScalarWhereInput[];
|
|
452
|
+
NOT?: Prisma.TrustResourceScalarWhereInput | Prisma.TrustResourceScalarWhereInput[];
|
|
453
|
+
id?: Prisma.StringFilter<"TrustResource"> | string;
|
|
454
|
+
organizationId?: Prisma.StringFilter<"TrustResource"> | string;
|
|
455
|
+
framework?: Prisma.EnumTrustFrameworkFilter<"TrustResource"> | $Enums.TrustFramework;
|
|
456
|
+
s3Key?: Prisma.StringFilter<"TrustResource"> | string;
|
|
457
|
+
fileName?: Prisma.StringFilter<"TrustResource"> | string;
|
|
458
|
+
fileSize?: Prisma.IntFilter<"TrustResource"> | number;
|
|
459
|
+
createdAt?: Prisma.DateTimeFilter<"TrustResource"> | Date | string;
|
|
460
|
+
updatedAt?: Prisma.DateTimeFilter<"TrustResource"> | Date | string;
|
|
461
|
+
};
|
|
462
|
+
export type TrustResourceCreateManyOrganizationInput = {
|
|
463
|
+
id?: string;
|
|
464
|
+
framework: $Enums.TrustFramework;
|
|
465
|
+
s3Key: string;
|
|
466
|
+
fileName: string;
|
|
467
|
+
fileSize: number;
|
|
468
|
+
createdAt?: Date | string;
|
|
469
|
+
updatedAt?: Date | string;
|
|
470
|
+
};
|
|
471
|
+
export type TrustResourceUpdateWithoutOrganizationInput = {
|
|
472
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
473
|
+
framework?: Prisma.EnumTrustFrameworkFieldUpdateOperationsInput | $Enums.TrustFramework;
|
|
474
|
+
s3Key?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
475
|
+
fileName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
476
|
+
fileSize?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
477
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
478
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
479
|
+
};
|
|
480
|
+
export type TrustResourceUncheckedUpdateWithoutOrganizationInput = {
|
|
481
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
482
|
+
framework?: Prisma.EnumTrustFrameworkFieldUpdateOperationsInput | $Enums.TrustFramework;
|
|
483
|
+
s3Key?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
484
|
+
fileName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
485
|
+
fileSize?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
486
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
487
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
488
|
+
};
|
|
489
|
+
export type TrustResourceUncheckedUpdateManyWithoutOrganizationInput = {
|
|
490
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
491
|
+
framework?: Prisma.EnumTrustFrameworkFieldUpdateOperationsInput | $Enums.TrustFramework;
|
|
492
|
+
s3Key?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
493
|
+
fileName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
494
|
+
fileSize?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
495
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
496
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
497
|
+
};
|
|
498
|
+
export type TrustResourceSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
499
|
+
id?: boolean;
|
|
500
|
+
organizationId?: boolean;
|
|
501
|
+
framework?: boolean;
|
|
502
|
+
s3Key?: boolean;
|
|
503
|
+
fileName?: boolean;
|
|
504
|
+
fileSize?: boolean;
|
|
505
|
+
createdAt?: boolean;
|
|
506
|
+
updatedAt?: boolean;
|
|
507
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
508
|
+
}, ExtArgs["result"]["trustResource"]>;
|
|
509
|
+
export type TrustResourceSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
510
|
+
id?: boolean;
|
|
511
|
+
organizationId?: boolean;
|
|
512
|
+
framework?: boolean;
|
|
513
|
+
s3Key?: boolean;
|
|
514
|
+
fileName?: boolean;
|
|
515
|
+
fileSize?: boolean;
|
|
516
|
+
createdAt?: boolean;
|
|
517
|
+
updatedAt?: boolean;
|
|
518
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
519
|
+
}, ExtArgs["result"]["trustResource"]>;
|
|
520
|
+
export type TrustResourceSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
521
|
+
id?: boolean;
|
|
522
|
+
organizationId?: boolean;
|
|
523
|
+
framework?: boolean;
|
|
524
|
+
s3Key?: boolean;
|
|
525
|
+
fileName?: boolean;
|
|
526
|
+
fileSize?: boolean;
|
|
527
|
+
createdAt?: boolean;
|
|
528
|
+
updatedAt?: boolean;
|
|
529
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
530
|
+
}, ExtArgs["result"]["trustResource"]>;
|
|
531
|
+
export type TrustResourceSelectScalar = {
|
|
532
|
+
id?: boolean;
|
|
533
|
+
organizationId?: boolean;
|
|
534
|
+
framework?: boolean;
|
|
535
|
+
s3Key?: boolean;
|
|
536
|
+
fileName?: boolean;
|
|
537
|
+
fileSize?: boolean;
|
|
538
|
+
createdAt?: boolean;
|
|
539
|
+
updatedAt?: boolean;
|
|
540
|
+
};
|
|
541
|
+
export type TrustResourceOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "organizationId" | "framework" | "s3Key" | "fileName" | "fileSize" | "createdAt" | "updatedAt", ExtArgs["result"]["trustResource"]>;
|
|
542
|
+
export type TrustResourceInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
543
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
544
|
+
};
|
|
545
|
+
export type TrustResourceIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
546
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
547
|
+
};
|
|
548
|
+
export type TrustResourceIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
549
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
550
|
+
};
|
|
551
|
+
export type $TrustResourcePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
552
|
+
name: "TrustResource";
|
|
553
|
+
objects: {
|
|
554
|
+
organization: Prisma.$OrganizationPayload<ExtArgs>;
|
|
555
|
+
};
|
|
556
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
557
|
+
id: string;
|
|
558
|
+
organizationId: string;
|
|
559
|
+
framework: $Enums.TrustFramework;
|
|
560
|
+
s3Key: string;
|
|
561
|
+
fileName: string;
|
|
562
|
+
fileSize: number;
|
|
563
|
+
createdAt: Date;
|
|
564
|
+
updatedAt: Date;
|
|
565
|
+
}, ExtArgs["result"]["trustResource"]>;
|
|
566
|
+
composites: {};
|
|
567
|
+
};
|
|
568
|
+
export type TrustResourceGetPayload<S extends boolean | null | undefined | TrustResourceDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$TrustResourcePayload, S>;
|
|
569
|
+
export type TrustResourceCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<TrustResourceFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
570
|
+
select?: TrustResourceCountAggregateInputType | true;
|
|
571
|
+
};
|
|
572
|
+
export interface TrustResourceDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
573
|
+
[K: symbol]: {
|
|
574
|
+
types: Prisma.TypeMap<ExtArgs>['model']['TrustResource'];
|
|
575
|
+
meta: {
|
|
576
|
+
name: 'TrustResource';
|
|
577
|
+
};
|
|
578
|
+
};
|
|
579
|
+
/**
|
|
580
|
+
* Find zero or one TrustResource that matches the filter.
|
|
581
|
+
* @param {TrustResourceFindUniqueArgs} args - Arguments to find a TrustResource
|
|
582
|
+
* @example
|
|
583
|
+
* // Get one TrustResource
|
|
584
|
+
* const trustResource = await prisma.trustResource.findUnique({
|
|
585
|
+
* where: {
|
|
586
|
+
* // ... provide filter here
|
|
587
|
+
* }
|
|
588
|
+
* })
|
|
589
|
+
*/
|
|
590
|
+
findUnique<T extends TrustResourceFindUniqueArgs>(args: Prisma.SelectSubset<T, TrustResourceFindUniqueArgs<ExtArgs>>): Prisma.Prisma__TrustResourceClient<runtime.Types.Result.GetResult<Prisma.$TrustResourcePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
591
|
+
/**
|
|
592
|
+
* Find one TrustResource that matches the filter or throw an error with `error.code='P2025'`
|
|
593
|
+
* if no matches were found.
|
|
594
|
+
* @param {TrustResourceFindUniqueOrThrowArgs} args - Arguments to find a TrustResource
|
|
595
|
+
* @example
|
|
596
|
+
* // Get one TrustResource
|
|
597
|
+
* const trustResource = await prisma.trustResource.findUniqueOrThrow({
|
|
598
|
+
* where: {
|
|
599
|
+
* // ... provide filter here
|
|
600
|
+
* }
|
|
601
|
+
* })
|
|
602
|
+
*/
|
|
603
|
+
findUniqueOrThrow<T extends TrustResourceFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, TrustResourceFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__TrustResourceClient<runtime.Types.Result.GetResult<Prisma.$TrustResourcePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
604
|
+
/**
|
|
605
|
+
* Find the first TrustResource that matches the filter.
|
|
606
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
607
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
608
|
+
* @param {TrustResourceFindFirstArgs} args - Arguments to find a TrustResource
|
|
609
|
+
* @example
|
|
610
|
+
* // Get one TrustResource
|
|
611
|
+
* const trustResource = await prisma.trustResource.findFirst({
|
|
612
|
+
* where: {
|
|
613
|
+
* // ... provide filter here
|
|
614
|
+
* }
|
|
615
|
+
* })
|
|
616
|
+
*/
|
|
617
|
+
findFirst<T extends TrustResourceFindFirstArgs>(args?: Prisma.SelectSubset<T, TrustResourceFindFirstArgs<ExtArgs>>): Prisma.Prisma__TrustResourceClient<runtime.Types.Result.GetResult<Prisma.$TrustResourcePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
618
|
+
/**
|
|
619
|
+
* Find the first TrustResource that matches the filter or
|
|
620
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
621
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
622
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
623
|
+
* @param {TrustResourceFindFirstOrThrowArgs} args - Arguments to find a TrustResource
|
|
624
|
+
* @example
|
|
625
|
+
* // Get one TrustResource
|
|
626
|
+
* const trustResource = await prisma.trustResource.findFirstOrThrow({
|
|
627
|
+
* where: {
|
|
628
|
+
* // ... provide filter here
|
|
629
|
+
* }
|
|
630
|
+
* })
|
|
631
|
+
*/
|
|
632
|
+
findFirstOrThrow<T extends TrustResourceFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, TrustResourceFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__TrustResourceClient<runtime.Types.Result.GetResult<Prisma.$TrustResourcePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
633
|
+
/**
|
|
634
|
+
* Find zero or more TrustResources that matches the filter.
|
|
635
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
636
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
637
|
+
* @param {TrustResourceFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
638
|
+
* @example
|
|
639
|
+
* // Get all TrustResources
|
|
640
|
+
* const trustResources = await prisma.trustResource.findMany()
|
|
641
|
+
*
|
|
642
|
+
* // Get first 10 TrustResources
|
|
643
|
+
* const trustResources = await prisma.trustResource.findMany({ take: 10 })
|
|
644
|
+
*
|
|
645
|
+
* // Only select the `id`
|
|
646
|
+
* const trustResourceWithIdOnly = await prisma.trustResource.findMany({ select: { id: true } })
|
|
647
|
+
*
|
|
648
|
+
*/
|
|
649
|
+
findMany<T extends TrustResourceFindManyArgs>(args?: Prisma.SelectSubset<T, TrustResourceFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TrustResourcePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
650
|
+
/**
|
|
651
|
+
* Create a TrustResource.
|
|
652
|
+
* @param {TrustResourceCreateArgs} args - Arguments to create a TrustResource.
|
|
653
|
+
* @example
|
|
654
|
+
* // Create one TrustResource
|
|
655
|
+
* const TrustResource = await prisma.trustResource.create({
|
|
656
|
+
* data: {
|
|
657
|
+
* // ... data to create a TrustResource
|
|
658
|
+
* }
|
|
659
|
+
* })
|
|
660
|
+
*
|
|
661
|
+
*/
|
|
662
|
+
create<T extends TrustResourceCreateArgs>(args: Prisma.SelectSubset<T, TrustResourceCreateArgs<ExtArgs>>): Prisma.Prisma__TrustResourceClient<runtime.Types.Result.GetResult<Prisma.$TrustResourcePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
663
|
+
/**
|
|
664
|
+
* Create many TrustResources.
|
|
665
|
+
* @param {TrustResourceCreateManyArgs} args - Arguments to create many TrustResources.
|
|
666
|
+
* @example
|
|
667
|
+
* // Create many TrustResources
|
|
668
|
+
* const trustResource = await prisma.trustResource.createMany({
|
|
669
|
+
* data: [
|
|
670
|
+
* // ... provide data here
|
|
671
|
+
* ]
|
|
672
|
+
* })
|
|
673
|
+
*
|
|
674
|
+
*/
|
|
675
|
+
createMany<T extends TrustResourceCreateManyArgs>(args?: Prisma.SelectSubset<T, TrustResourceCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
676
|
+
/**
|
|
677
|
+
* Create many TrustResources and returns the data saved in the database.
|
|
678
|
+
* @param {TrustResourceCreateManyAndReturnArgs} args - Arguments to create many TrustResources.
|
|
679
|
+
* @example
|
|
680
|
+
* // Create many TrustResources
|
|
681
|
+
* const trustResource = await prisma.trustResource.createManyAndReturn({
|
|
682
|
+
* data: [
|
|
683
|
+
* // ... provide data here
|
|
684
|
+
* ]
|
|
685
|
+
* })
|
|
686
|
+
*
|
|
687
|
+
* // Create many TrustResources and only return the `id`
|
|
688
|
+
* const trustResourceWithIdOnly = await prisma.trustResource.createManyAndReturn({
|
|
689
|
+
* select: { id: true },
|
|
690
|
+
* data: [
|
|
691
|
+
* // ... provide data here
|
|
692
|
+
* ]
|
|
693
|
+
* })
|
|
694
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
695
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
696
|
+
*
|
|
697
|
+
*/
|
|
698
|
+
createManyAndReturn<T extends TrustResourceCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, TrustResourceCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TrustResourcePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
699
|
+
/**
|
|
700
|
+
* Delete a TrustResource.
|
|
701
|
+
* @param {TrustResourceDeleteArgs} args - Arguments to delete one TrustResource.
|
|
702
|
+
* @example
|
|
703
|
+
* // Delete one TrustResource
|
|
704
|
+
* const TrustResource = await prisma.trustResource.delete({
|
|
705
|
+
* where: {
|
|
706
|
+
* // ... filter to delete one TrustResource
|
|
707
|
+
* }
|
|
708
|
+
* })
|
|
709
|
+
*
|
|
710
|
+
*/
|
|
711
|
+
delete<T extends TrustResourceDeleteArgs>(args: Prisma.SelectSubset<T, TrustResourceDeleteArgs<ExtArgs>>): Prisma.Prisma__TrustResourceClient<runtime.Types.Result.GetResult<Prisma.$TrustResourcePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
712
|
+
/**
|
|
713
|
+
* Update one TrustResource.
|
|
714
|
+
* @param {TrustResourceUpdateArgs} args - Arguments to update one TrustResource.
|
|
715
|
+
* @example
|
|
716
|
+
* // Update one TrustResource
|
|
717
|
+
* const trustResource = await prisma.trustResource.update({
|
|
718
|
+
* where: {
|
|
719
|
+
* // ... provide filter here
|
|
720
|
+
* },
|
|
721
|
+
* data: {
|
|
722
|
+
* // ... provide data here
|
|
723
|
+
* }
|
|
724
|
+
* })
|
|
725
|
+
*
|
|
726
|
+
*/
|
|
727
|
+
update<T extends TrustResourceUpdateArgs>(args: Prisma.SelectSubset<T, TrustResourceUpdateArgs<ExtArgs>>): Prisma.Prisma__TrustResourceClient<runtime.Types.Result.GetResult<Prisma.$TrustResourcePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
728
|
+
/**
|
|
729
|
+
* Delete zero or more TrustResources.
|
|
730
|
+
* @param {TrustResourceDeleteManyArgs} args - Arguments to filter TrustResources to delete.
|
|
731
|
+
* @example
|
|
732
|
+
* // Delete a few TrustResources
|
|
733
|
+
* const { count } = await prisma.trustResource.deleteMany({
|
|
734
|
+
* where: {
|
|
735
|
+
* // ... provide filter here
|
|
736
|
+
* }
|
|
737
|
+
* })
|
|
738
|
+
*
|
|
739
|
+
*/
|
|
740
|
+
deleteMany<T extends TrustResourceDeleteManyArgs>(args?: Prisma.SelectSubset<T, TrustResourceDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
741
|
+
/**
|
|
742
|
+
* Update zero or more TrustResources.
|
|
743
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
744
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
745
|
+
* @param {TrustResourceUpdateManyArgs} args - Arguments to update one or more rows.
|
|
746
|
+
* @example
|
|
747
|
+
* // Update many TrustResources
|
|
748
|
+
* const trustResource = await prisma.trustResource.updateMany({
|
|
749
|
+
* where: {
|
|
750
|
+
* // ... provide filter here
|
|
751
|
+
* },
|
|
752
|
+
* data: {
|
|
753
|
+
* // ... provide data here
|
|
754
|
+
* }
|
|
755
|
+
* })
|
|
756
|
+
*
|
|
757
|
+
*/
|
|
758
|
+
updateMany<T extends TrustResourceUpdateManyArgs>(args: Prisma.SelectSubset<T, TrustResourceUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
759
|
+
/**
|
|
760
|
+
* Update zero or more TrustResources and returns the data updated in the database.
|
|
761
|
+
* @param {TrustResourceUpdateManyAndReturnArgs} args - Arguments to update many TrustResources.
|
|
762
|
+
* @example
|
|
763
|
+
* // Update many TrustResources
|
|
764
|
+
* const trustResource = await prisma.trustResource.updateManyAndReturn({
|
|
765
|
+
* where: {
|
|
766
|
+
* // ... provide filter here
|
|
767
|
+
* },
|
|
768
|
+
* data: [
|
|
769
|
+
* // ... provide data here
|
|
770
|
+
* ]
|
|
771
|
+
* })
|
|
772
|
+
*
|
|
773
|
+
* // Update zero or more TrustResources and only return the `id`
|
|
774
|
+
* const trustResourceWithIdOnly = await prisma.trustResource.updateManyAndReturn({
|
|
775
|
+
* select: { id: true },
|
|
776
|
+
* where: {
|
|
777
|
+
* // ... provide filter here
|
|
778
|
+
* },
|
|
779
|
+
* data: [
|
|
780
|
+
* // ... provide data here
|
|
781
|
+
* ]
|
|
782
|
+
* })
|
|
783
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
784
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
785
|
+
*
|
|
786
|
+
*/
|
|
787
|
+
updateManyAndReturn<T extends TrustResourceUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, TrustResourceUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TrustResourcePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
788
|
+
/**
|
|
789
|
+
* Create or update one TrustResource.
|
|
790
|
+
* @param {TrustResourceUpsertArgs} args - Arguments to update or create a TrustResource.
|
|
791
|
+
* @example
|
|
792
|
+
* // Update or create a TrustResource
|
|
793
|
+
* const trustResource = await prisma.trustResource.upsert({
|
|
794
|
+
* create: {
|
|
795
|
+
* // ... data to create a TrustResource
|
|
796
|
+
* },
|
|
797
|
+
* update: {
|
|
798
|
+
* // ... in case it already exists, update
|
|
799
|
+
* },
|
|
800
|
+
* where: {
|
|
801
|
+
* // ... the filter for the TrustResource we want to update
|
|
802
|
+
* }
|
|
803
|
+
* })
|
|
804
|
+
*/
|
|
805
|
+
upsert<T extends TrustResourceUpsertArgs>(args: Prisma.SelectSubset<T, TrustResourceUpsertArgs<ExtArgs>>): Prisma.Prisma__TrustResourceClient<runtime.Types.Result.GetResult<Prisma.$TrustResourcePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
806
|
+
/**
|
|
807
|
+
* Count the number of TrustResources.
|
|
808
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
809
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
810
|
+
* @param {TrustResourceCountArgs} args - Arguments to filter TrustResources to count.
|
|
811
|
+
* @example
|
|
812
|
+
* // Count the number of TrustResources
|
|
813
|
+
* const count = await prisma.trustResource.count({
|
|
814
|
+
* where: {
|
|
815
|
+
* // ... the filter for the TrustResources we want to count
|
|
816
|
+
* }
|
|
817
|
+
* })
|
|
818
|
+
**/
|
|
819
|
+
count<T extends TrustResourceCountArgs>(args?: Prisma.Subset<T, TrustResourceCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], TrustResourceCountAggregateOutputType> : number>;
|
|
820
|
+
/**
|
|
821
|
+
* Allows you to perform aggregations operations on a TrustResource.
|
|
822
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
823
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
824
|
+
* @param {TrustResourceAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
825
|
+
* @example
|
|
826
|
+
* // Ordered by age ascending
|
|
827
|
+
* // Where email contains prisma.io
|
|
828
|
+
* // Limited to the 10 users
|
|
829
|
+
* const aggregations = await prisma.user.aggregate({
|
|
830
|
+
* _avg: {
|
|
831
|
+
* age: true,
|
|
832
|
+
* },
|
|
833
|
+
* where: {
|
|
834
|
+
* email: {
|
|
835
|
+
* contains: "prisma.io",
|
|
836
|
+
* },
|
|
837
|
+
* },
|
|
838
|
+
* orderBy: {
|
|
839
|
+
* age: "asc",
|
|
840
|
+
* },
|
|
841
|
+
* take: 10,
|
|
842
|
+
* })
|
|
843
|
+
**/
|
|
844
|
+
aggregate<T extends TrustResourceAggregateArgs>(args: Prisma.Subset<T, TrustResourceAggregateArgs>): Prisma.PrismaPromise<GetTrustResourceAggregateType<T>>;
|
|
845
|
+
/**
|
|
846
|
+
* Group by TrustResource.
|
|
847
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
848
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
849
|
+
* @param {TrustResourceGroupByArgs} args - Group by arguments.
|
|
850
|
+
* @example
|
|
851
|
+
* // Group by city, order by createdAt, get count
|
|
852
|
+
* const result = await prisma.user.groupBy({
|
|
853
|
+
* by: ['city', 'createdAt'],
|
|
854
|
+
* orderBy: {
|
|
855
|
+
* createdAt: true
|
|
856
|
+
* },
|
|
857
|
+
* _count: {
|
|
858
|
+
* _all: true
|
|
859
|
+
* },
|
|
860
|
+
* })
|
|
861
|
+
*
|
|
862
|
+
**/
|
|
863
|
+
groupBy<T extends TrustResourceGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
864
|
+
orderBy: TrustResourceGroupByArgs['orderBy'];
|
|
865
|
+
} : {
|
|
866
|
+
orderBy?: TrustResourceGroupByArgs['orderBy'];
|
|
867
|
+
}, 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 ? {
|
|
868
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
869
|
+
Error,
|
|
870
|
+
'Field ',
|
|
871
|
+
P,
|
|
872
|
+
` in "having" needs to be provided in "by"`
|
|
873
|
+
];
|
|
874
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
875
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
876
|
+
}[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 ? {} : {
|
|
877
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
878
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
879
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
880
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, TrustResourceGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetTrustResourceGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
881
|
+
/**
|
|
882
|
+
* Fields of the TrustResource model
|
|
883
|
+
*/
|
|
884
|
+
readonly fields: TrustResourceFieldRefs;
|
|
885
|
+
}
|
|
886
|
+
/**
|
|
887
|
+
* The delegate class that acts as a "Promise-like" for TrustResource.
|
|
888
|
+
* Why is this prefixed with `Prisma__`?
|
|
889
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
890
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
891
|
+
*/
|
|
892
|
+
export interface Prisma__TrustResourceClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
893
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
894
|
+
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>;
|
|
895
|
+
/**
|
|
896
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
897
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
898
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
899
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
900
|
+
*/
|
|
901
|
+
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>;
|
|
902
|
+
/**
|
|
903
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
904
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
905
|
+
* @returns A Promise for the completion of the callback.
|
|
906
|
+
*/
|
|
907
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
908
|
+
/**
|
|
909
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
910
|
+
* resolved value cannot be modified from the callback.
|
|
911
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
912
|
+
* @returns A Promise for the completion of the callback.
|
|
913
|
+
*/
|
|
914
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
915
|
+
}
|
|
916
|
+
/**
|
|
917
|
+
* Fields of the TrustResource model
|
|
918
|
+
*/
|
|
919
|
+
export interface TrustResourceFieldRefs {
|
|
920
|
+
readonly id: Prisma.FieldRef<"TrustResource", 'String'>;
|
|
921
|
+
readonly organizationId: Prisma.FieldRef<"TrustResource", 'String'>;
|
|
922
|
+
readonly framework: Prisma.FieldRef<"TrustResource", 'TrustFramework'>;
|
|
923
|
+
readonly s3Key: Prisma.FieldRef<"TrustResource", 'String'>;
|
|
924
|
+
readonly fileName: Prisma.FieldRef<"TrustResource", 'String'>;
|
|
925
|
+
readonly fileSize: Prisma.FieldRef<"TrustResource", 'Int'>;
|
|
926
|
+
readonly createdAt: Prisma.FieldRef<"TrustResource", 'DateTime'>;
|
|
927
|
+
readonly updatedAt: Prisma.FieldRef<"TrustResource", 'DateTime'>;
|
|
928
|
+
}
|
|
929
|
+
/**
|
|
930
|
+
* TrustResource findUnique
|
|
931
|
+
*/
|
|
932
|
+
export type TrustResourceFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
933
|
+
/**
|
|
934
|
+
* Select specific fields to fetch from the TrustResource
|
|
935
|
+
*/
|
|
936
|
+
select?: Prisma.TrustResourceSelect<ExtArgs> | null;
|
|
937
|
+
/**
|
|
938
|
+
* Omit specific fields from the TrustResource
|
|
939
|
+
*/
|
|
940
|
+
omit?: Prisma.TrustResourceOmit<ExtArgs> | null;
|
|
941
|
+
/**
|
|
942
|
+
* Choose, which related nodes to fetch as well
|
|
943
|
+
*/
|
|
944
|
+
include?: Prisma.TrustResourceInclude<ExtArgs> | null;
|
|
945
|
+
/**
|
|
946
|
+
* Filter, which TrustResource to fetch.
|
|
947
|
+
*/
|
|
948
|
+
where: Prisma.TrustResourceWhereUniqueInput;
|
|
949
|
+
};
|
|
950
|
+
/**
|
|
951
|
+
* TrustResource findUniqueOrThrow
|
|
952
|
+
*/
|
|
953
|
+
export type TrustResourceFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
954
|
+
/**
|
|
955
|
+
* Select specific fields to fetch from the TrustResource
|
|
956
|
+
*/
|
|
957
|
+
select?: Prisma.TrustResourceSelect<ExtArgs> | null;
|
|
958
|
+
/**
|
|
959
|
+
* Omit specific fields from the TrustResource
|
|
960
|
+
*/
|
|
961
|
+
omit?: Prisma.TrustResourceOmit<ExtArgs> | null;
|
|
962
|
+
/**
|
|
963
|
+
* Choose, which related nodes to fetch as well
|
|
964
|
+
*/
|
|
965
|
+
include?: Prisma.TrustResourceInclude<ExtArgs> | null;
|
|
966
|
+
/**
|
|
967
|
+
* Filter, which TrustResource to fetch.
|
|
968
|
+
*/
|
|
969
|
+
where: Prisma.TrustResourceWhereUniqueInput;
|
|
970
|
+
};
|
|
971
|
+
/**
|
|
972
|
+
* TrustResource findFirst
|
|
973
|
+
*/
|
|
974
|
+
export type TrustResourceFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
975
|
+
/**
|
|
976
|
+
* Select specific fields to fetch from the TrustResource
|
|
977
|
+
*/
|
|
978
|
+
select?: Prisma.TrustResourceSelect<ExtArgs> | null;
|
|
979
|
+
/**
|
|
980
|
+
* Omit specific fields from the TrustResource
|
|
981
|
+
*/
|
|
982
|
+
omit?: Prisma.TrustResourceOmit<ExtArgs> | null;
|
|
983
|
+
/**
|
|
984
|
+
* Choose, which related nodes to fetch as well
|
|
985
|
+
*/
|
|
986
|
+
include?: Prisma.TrustResourceInclude<ExtArgs> | null;
|
|
987
|
+
/**
|
|
988
|
+
* Filter, which TrustResource to fetch.
|
|
989
|
+
*/
|
|
990
|
+
where?: Prisma.TrustResourceWhereInput;
|
|
991
|
+
/**
|
|
992
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
993
|
+
*
|
|
994
|
+
* Determine the order of TrustResources to fetch.
|
|
995
|
+
*/
|
|
996
|
+
orderBy?: Prisma.TrustResourceOrderByWithRelationInput | Prisma.TrustResourceOrderByWithRelationInput[];
|
|
997
|
+
/**
|
|
998
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
999
|
+
*
|
|
1000
|
+
* Sets the position for searching for TrustResources.
|
|
1001
|
+
*/
|
|
1002
|
+
cursor?: Prisma.TrustResourceWhereUniqueInput;
|
|
1003
|
+
/**
|
|
1004
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1005
|
+
*
|
|
1006
|
+
* Take `±n` TrustResources from the position of the cursor.
|
|
1007
|
+
*/
|
|
1008
|
+
take?: number;
|
|
1009
|
+
/**
|
|
1010
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1011
|
+
*
|
|
1012
|
+
* Skip the first `n` TrustResources.
|
|
1013
|
+
*/
|
|
1014
|
+
skip?: number;
|
|
1015
|
+
/**
|
|
1016
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1017
|
+
*
|
|
1018
|
+
* Filter by unique combinations of TrustResources.
|
|
1019
|
+
*/
|
|
1020
|
+
distinct?: Prisma.TrustResourceScalarFieldEnum | Prisma.TrustResourceScalarFieldEnum[];
|
|
1021
|
+
};
|
|
1022
|
+
/**
|
|
1023
|
+
* TrustResource findFirstOrThrow
|
|
1024
|
+
*/
|
|
1025
|
+
export type TrustResourceFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1026
|
+
/**
|
|
1027
|
+
* Select specific fields to fetch from the TrustResource
|
|
1028
|
+
*/
|
|
1029
|
+
select?: Prisma.TrustResourceSelect<ExtArgs> | null;
|
|
1030
|
+
/**
|
|
1031
|
+
* Omit specific fields from the TrustResource
|
|
1032
|
+
*/
|
|
1033
|
+
omit?: Prisma.TrustResourceOmit<ExtArgs> | null;
|
|
1034
|
+
/**
|
|
1035
|
+
* Choose, which related nodes to fetch as well
|
|
1036
|
+
*/
|
|
1037
|
+
include?: Prisma.TrustResourceInclude<ExtArgs> | null;
|
|
1038
|
+
/**
|
|
1039
|
+
* Filter, which TrustResource to fetch.
|
|
1040
|
+
*/
|
|
1041
|
+
where?: Prisma.TrustResourceWhereInput;
|
|
1042
|
+
/**
|
|
1043
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1044
|
+
*
|
|
1045
|
+
* Determine the order of TrustResources to fetch.
|
|
1046
|
+
*/
|
|
1047
|
+
orderBy?: Prisma.TrustResourceOrderByWithRelationInput | Prisma.TrustResourceOrderByWithRelationInput[];
|
|
1048
|
+
/**
|
|
1049
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1050
|
+
*
|
|
1051
|
+
* Sets the position for searching for TrustResources.
|
|
1052
|
+
*/
|
|
1053
|
+
cursor?: Prisma.TrustResourceWhereUniqueInput;
|
|
1054
|
+
/**
|
|
1055
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1056
|
+
*
|
|
1057
|
+
* Take `±n` TrustResources from the position of the cursor.
|
|
1058
|
+
*/
|
|
1059
|
+
take?: number;
|
|
1060
|
+
/**
|
|
1061
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1062
|
+
*
|
|
1063
|
+
* Skip the first `n` TrustResources.
|
|
1064
|
+
*/
|
|
1065
|
+
skip?: number;
|
|
1066
|
+
/**
|
|
1067
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1068
|
+
*
|
|
1069
|
+
* Filter by unique combinations of TrustResources.
|
|
1070
|
+
*/
|
|
1071
|
+
distinct?: Prisma.TrustResourceScalarFieldEnum | Prisma.TrustResourceScalarFieldEnum[];
|
|
1072
|
+
};
|
|
1073
|
+
/**
|
|
1074
|
+
* TrustResource findMany
|
|
1075
|
+
*/
|
|
1076
|
+
export type TrustResourceFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1077
|
+
/**
|
|
1078
|
+
* Select specific fields to fetch from the TrustResource
|
|
1079
|
+
*/
|
|
1080
|
+
select?: Prisma.TrustResourceSelect<ExtArgs> | null;
|
|
1081
|
+
/**
|
|
1082
|
+
* Omit specific fields from the TrustResource
|
|
1083
|
+
*/
|
|
1084
|
+
omit?: Prisma.TrustResourceOmit<ExtArgs> | null;
|
|
1085
|
+
/**
|
|
1086
|
+
* Choose, which related nodes to fetch as well
|
|
1087
|
+
*/
|
|
1088
|
+
include?: Prisma.TrustResourceInclude<ExtArgs> | null;
|
|
1089
|
+
/**
|
|
1090
|
+
* Filter, which TrustResources to fetch.
|
|
1091
|
+
*/
|
|
1092
|
+
where?: Prisma.TrustResourceWhereInput;
|
|
1093
|
+
/**
|
|
1094
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1095
|
+
*
|
|
1096
|
+
* Determine the order of TrustResources to fetch.
|
|
1097
|
+
*/
|
|
1098
|
+
orderBy?: Prisma.TrustResourceOrderByWithRelationInput | Prisma.TrustResourceOrderByWithRelationInput[];
|
|
1099
|
+
/**
|
|
1100
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1101
|
+
*
|
|
1102
|
+
* Sets the position for listing TrustResources.
|
|
1103
|
+
*/
|
|
1104
|
+
cursor?: Prisma.TrustResourceWhereUniqueInput;
|
|
1105
|
+
/**
|
|
1106
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1107
|
+
*
|
|
1108
|
+
* Take `±n` TrustResources from the position of the cursor.
|
|
1109
|
+
*/
|
|
1110
|
+
take?: number;
|
|
1111
|
+
/**
|
|
1112
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1113
|
+
*
|
|
1114
|
+
* Skip the first `n` TrustResources.
|
|
1115
|
+
*/
|
|
1116
|
+
skip?: number;
|
|
1117
|
+
/**
|
|
1118
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1119
|
+
*
|
|
1120
|
+
* Filter by unique combinations of TrustResources.
|
|
1121
|
+
*/
|
|
1122
|
+
distinct?: Prisma.TrustResourceScalarFieldEnum | Prisma.TrustResourceScalarFieldEnum[];
|
|
1123
|
+
};
|
|
1124
|
+
/**
|
|
1125
|
+
* TrustResource create
|
|
1126
|
+
*/
|
|
1127
|
+
export type TrustResourceCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1128
|
+
/**
|
|
1129
|
+
* Select specific fields to fetch from the TrustResource
|
|
1130
|
+
*/
|
|
1131
|
+
select?: Prisma.TrustResourceSelect<ExtArgs> | null;
|
|
1132
|
+
/**
|
|
1133
|
+
* Omit specific fields from the TrustResource
|
|
1134
|
+
*/
|
|
1135
|
+
omit?: Prisma.TrustResourceOmit<ExtArgs> | null;
|
|
1136
|
+
/**
|
|
1137
|
+
* Choose, which related nodes to fetch as well
|
|
1138
|
+
*/
|
|
1139
|
+
include?: Prisma.TrustResourceInclude<ExtArgs> | null;
|
|
1140
|
+
/**
|
|
1141
|
+
* The data needed to create a TrustResource.
|
|
1142
|
+
*/
|
|
1143
|
+
data: Prisma.XOR<Prisma.TrustResourceCreateInput, Prisma.TrustResourceUncheckedCreateInput>;
|
|
1144
|
+
};
|
|
1145
|
+
/**
|
|
1146
|
+
* TrustResource createMany
|
|
1147
|
+
*/
|
|
1148
|
+
export type TrustResourceCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1149
|
+
/**
|
|
1150
|
+
* The data used to create many TrustResources.
|
|
1151
|
+
*/
|
|
1152
|
+
data: Prisma.TrustResourceCreateManyInput | Prisma.TrustResourceCreateManyInput[];
|
|
1153
|
+
skipDuplicates?: boolean;
|
|
1154
|
+
};
|
|
1155
|
+
/**
|
|
1156
|
+
* TrustResource createManyAndReturn
|
|
1157
|
+
*/
|
|
1158
|
+
export type TrustResourceCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1159
|
+
/**
|
|
1160
|
+
* Select specific fields to fetch from the TrustResource
|
|
1161
|
+
*/
|
|
1162
|
+
select?: Prisma.TrustResourceSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1163
|
+
/**
|
|
1164
|
+
* Omit specific fields from the TrustResource
|
|
1165
|
+
*/
|
|
1166
|
+
omit?: Prisma.TrustResourceOmit<ExtArgs> | null;
|
|
1167
|
+
/**
|
|
1168
|
+
* The data used to create many TrustResources.
|
|
1169
|
+
*/
|
|
1170
|
+
data: Prisma.TrustResourceCreateManyInput | Prisma.TrustResourceCreateManyInput[];
|
|
1171
|
+
skipDuplicates?: boolean;
|
|
1172
|
+
/**
|
|
1173
|
+
* Choose, which related nodes to fetch as well
|
|
1174
|
+
*/
|
|
1175
|
+
include?: Prisma.TrustResourceIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1176
|
+
};
|
|
1177
|
+
/**
|
|
1178
|
+
* TrustResource update
|
|
1179
|
+
*/
|
|
1180
|
+
export type TrustResourceUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1181
|
+
/**
|
|
1182
|
+
* Select specific fields to fetch from the TrustResource
|
|
1183
|
+
*/
|
|
1184
|
+
select?: Prisma.TrustResourceSelect<ExtArgs> | null;
|
|
1185
|
+
/**
|
|
1186
|
+
* Omit specific fields from the TrustResource
|
|
1187
|
+
*/
|
|
1188
|
+
omit?: Prisma.TrustResourceOmit<ExtArgs> | null;
|
|
1189
|
+
/**
|
|
1190
|
+
* Choose, which related nodes to fetch as well
|
|
1191
|
+
*/
|
|
1192
|
+
include?: Prisma.TrustResourceInclude<ExtArgs> | null;
|
|
1193
|
+
/**
|
|
1194
|
+
* The data needed to update a TrustResource.
|
|
1195
|
+
*/
|
|
1196
|
+
data: Prisma.XOR<Prisma.TrustResourceUpdateInput, Prisma.TrustResourceUncheckedUpdateInput>;
|
|
1197
|
+
/**
|
|
1198
|
+
* Choose, which TrustResource to update.
|
|
1199
|
+
*/
|
|
1200
|
+
where: Prisma.TrustResourceWhereUniqueInput;
|
|
1201
|
+
};
|
|
1202
|
+
/**
|
|
1203
|
+
* TrustResource updateMany
|
|
1204
|
+
*/
|
|
1205
|
+
export type TrustResourceUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1206
|
+
/**
|
|
1207
|
+
* The data used to update TrustResources.
|
|
1208
|
+
*/
|
|
1209
|
+
data: Prisma.XOR<Prisma.TrustResourceUpdateManyMutationInput, Prisma.TrustResourceUncheckedUpdateManyInput>;
|
|
1210
|
+
/**
|
|
1211
|
+
* Filter which TrustResources to update
|
|
1212
|
+
*/
|
|
1213
|
+
where?: Prisma.TrustResourceWhereInput;
|
|
1214
|
+
/**
|
|
1215
|
+
* Limit how many TrustResources to update.
|
|
1216
|
+
*/
|
|
1217
|
+
limit?: number;
|
|
1218
|
+
};
|
|
1219
|
+
/**
|
|
1220
|
+
* TrustResource updateManyAndReturn
|
|
1221
|
+
*/
|
|
1222
|
+
export type TrustResourceUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1223
|
+
/**
|
|
1224
|
+
* Select specific fields to fetch from the TrustResource
|
|
1225
|
+
*/
|
|
1226
|
+
select?: Prisma.TrustResourceSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1227
|
+
/**
|
|
1228
|
+
* Omit specific fields from the TrustResource
|
|
1229
|
+
*/
|
|
1230
|
+
omit?: Prisma.TrustResourceOmit<ExtArgs> | null;
|
|
1231
|
+
/**
|
|
1232
|
+
* The data used to update TrustResources.
|
|
1233
|
+
*/
|
|
1234
|
+
data: Prisma.XOR<Prisma.TrustResourceUpdateManyMutationInput, Prisma.TrustResourceUncheckedUpdateManyInput>;
|
|
1235
|
+
/**
|
|
1236
|
+
* Filter which TrustResources to update
|
|
1237
|
+
*/
|
|
1238
|
+
where?: Prisma.TrustResourceWhereInput;
|
|
1239
|
+
/**
|
|
1240
|
+
* Limit how many TrustResources to update.
|
|
1241
|
+
*/
|
|
1242
|
+
limit?: number;
|
|
1243
|
+
/**
|
|
1244
|
+
* Choose, which related nodes to fetch as well
|
|
1245
|
+
*/
|
|
1246
|
+
include?: Prisma.TrustResourceIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1247
|
+
};
|
|
1248
|
+
/**
|
|
1249
|
+
* TrustResource upsert
|
|
1250
|
+
*/
|
|
1251
|
+
export type TrustResourceUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1252
|
+
/**
|
|
1253
|
+
* Select specific fields to fetch from the TrustResource
|
|
1254
|
+
*/
|
|
1255
|
+
select?: Prisma.TrustResourceSelect<ExtArgs> | null;
|
|
1256
|
+
/**
|
|
1257
|
+
* Omit specific fields from the TrustResource
|
|
1258
|
+
*/
|
|
1259
|
+
omit?: Prisma.TrustResourceOmit<ExtArgs> | null;
|
|
1260
|
+
/**
|
|
1261
|
+
* Choose, which related nodes to fetch as well
|
|
1262
|
+
*/
|
|
1263
|
+
include?: Prisma.TrustResourceInclude<ExtArgs> | null;
|
|
1264
|
+
/**
|
|
1265
|
+
* The filter to search for the TrustResource to update in case it exists.
|
|
1266
|
+
*/
|
|
1267
|
+
where: Prisma.TrustResourceWhereUniqueInput;
|
|
1268
|
+
/**
|
|
1269
|
+
* In case the TrustResource found by the `where` argument doesn't exist, create a new TrustResource with this data.
|
|
1270
|
+
*/
|
|
1271
|
+
create: Prisma.XOR<Prisma.TrustResourceCreateInput, Prisma.TrustResourceUncheckedCreateInput>;
|
|
1272
|
+
/**
|
|
1273
|
+
* In case the TrustResource was found with the provided `where` argument, update it with this data.
|
|
1274
|
+
*/
|
|
1275
|
+
update: Prisma.XOR<Prisma.TrustResourceUpdateInput, Prisma.TrustResourceUncheckedUpdateInput>;
|
|
1276
|
+
};
|
|
1277
|
+
/**
|
|
1278
|
+
* TrustResource delete
|
|
1279
|
+
*/
|
|
1280
|
+
export type TrustResourceDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1281
|
+
/**
|
|
1282
|
+
* Select specific fields to fetch from the TrustResource
|
|
1283
|
+
*/
|
|
1284
|
+
select?: Prisma.TrustResourceSelect<ExtArgs> | null;
|
|
1285
|
+
/**
|
|
1286
|
+
* Omit specific fields from the TrustResource
|
|
1287
|
+
*/
|
|
1288
|
+
omit?: Prisma.TrustResourceOmit<ExtArgs> | null;
|
|
1289
|
+
/**
|
|
1290
|
+
* Choose, which related nodes to fetch as well
|
|
1291
|
+
*/
|
|
1292
|
+
include?: Prisma.TrustResourceInclude<ExtArgs> | null;
|
|
1293
|
+
/**
|
|
1294
|
+
* Filter which TrustResource to delete.
|
|
1295
|
+
*/
|
|
1296
|
+
where: Prisma.TrustResourceWhereUniqueInput;
|
|
1297
|
+
};
|
|
1298
|
+
/**
|
|
1299
|
+
* TrustResource deleteMany
|
|
1300
|
+
*/
|
|
1301
|
+
export type TrustResourceDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1302
|
+
/**
|
|
1303
|
+
* Filter which TrustResources to delete
|
|
1304
|
+
*/
|
|
1305
|
+
where?: Prisma.TrustResourceWhereInput;
|
|
1306
|
+
/**
|
|
1307
|
+
* Limit how many TrustResources to delete.
|
|
1308
|
+
*/
|
|
1309
|
+
limit?: number;
|
|
1310
|
+
};
|
|
1311
|
+
/**
|
|
1312
|
+
* TrustResource without action
|
|
1313
|
+
*/
|
|
1314
|
+
export type TrustResourceDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1315
|
+
/**
|
|
1316
|
+
* Select specific fields to fetch from the TrustResource
|
|
1317
|
+
*/
|
|
1318
|
+
select?: Prisma.TrustResourceSelect<ExtArgs> | null;
|
|
1319
|
+
/**
|
|
1320
|
+
* Omit specific fields from the TrustResource
|
|
1321
|
+
*/
|
|
1322
|
+
omit?: Prisma.TrustResourceOmit<ExtArgs> | null;
|
|
1323
|
+
/**
|
|
1324
|
+
* Choose, which related nodes to fetch as well
|
|
1325
|
+
*/
|
|
1326
|
+
include?: Prisma.TrustResourceInclude<ExtArgs> | null;
|
|
1327
|
+
};
|
|
1328
|
+
//# sourceMappingURL=TrustResource.d.ts.map
|