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