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