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