@trycompai/db 1.3.22-canary.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +2 -2
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +4 -5
- package/dist/client.ts +5 -2
- package/dist/generated/prisma/client.d.ts +427 -0
- package/dist/generated/prisma/client.d.ts.map +1 -0
- package/dist/generated/prisma/client.js +73 -0
- package/dist/generated/prisma/commonInputTypes.d.ts +2082 -0
- package/dist/generated/prisma/commonInputTypes.d.ts.map +1 -0
- package/dist/generated/prisma/commonInputTypes.js +11 -0
- package/dist/generated/prisma/enums.d.ts +367 -0
- package/dist/generated/prisma/enums.d.ts.map +1 -0
- package/dist/generated/prisma/enums.js +329 -0
- package/dist/generated/prisma/internal/class.d.ts +1000 -0
- package/dist/generated/prisma/internal/class.d.ts.map +1 -0
- package/dist/generated/prisma/internal/class.js +87 -0
- package/dist/generated/prisma/internal/prismaNamespace.d.ts +8063 -0
- package/dist/generated/prisma/internal/prismaNamespace.d.ts.map +1 -0
- package/dist/generated/prisma/internal/prismaNamespace.js +1256 -0
- package/dist/generated/prisma/models/Account.d.ts +1456 -0
- package/dist/generated/prisma/models/Account.d.ts.map +1 -0
- package/dist/generated/prisma/models/Account.js +2 -0
- package/dist/generated/prisma/models/ApiKey.d.ts +1387 -0
- package/dist/generated/prisma/models/ApiKey.d.ts.map +1 -0
- package/dist/generated/prisma/models/ApiKey.js +2 -0
- package/dist/generated/prisma/models/Attachment.d.ts +1520 -0
- package/dist/generated/prisma/models/Attachment.d.ts.map +1 -0
- package/dist/generated/prisma/models/Attachment.js +2 -0
- package/dist/generated/prisma/models/AuditLog.d.ts +1590 -0
- package/dist/generated/prisma/models/AuditLog.d.ts.map +1 -0
- package/dist/generated/prisma/models/AuditLog.js +2 -0
- package/dist/generated/prisma/models/BrowserAutomation.d.ts +1507 -0
- package/dist/generated/prisma/models/BrowserAutomation.d.ts.map +1 -0
- package/dist/generated/prisma/models/BrowserAutomation.js +2 -0
- package/dist/generated/prisma/models/BrowserAutomationRun.d.ts +1455 -0
- package/dist/generated/prisma/models/BrowserAutomationRun.d.ts.map +1 -0
- package/dist/generated/prisma/models/BrowserAutomationRun.js +2 -0
- package/dist/generated/prisma/models/BrowserbaseContext.d.ts +1139 -0
- package/dist/generated/prisma/models/BrowserbaseContext.d.ts.map +1 -0
- package/dist/generated/prisma/models/BrowserbaseContext.js +2 -0
- package/dist/generated/prisma/models/Comment.d.ts +1502 -0
- package/dist/generated/prisma/models/Comment.d.ts.map +1 -0
- package/dist/generated/prisma/models/Comment.js +2 -0
- package/dist/generated/prisma/models/Context.d.ts +1254 -0
- package/dist/generated/prisma/models/Context.d.ts.map +1 -0
- package/dist/generated/prisma/models/Context.js +2 -0
- package/dist/generated/prisma/models/Control.d.ts +1965 -0
- package/dist/generated/prisma/models/Control.d.ts.map +1 -0
- package/dist/generated/prisma/models/Control.js +2 -0
- package/dist/generated/prisma/models/ControlDocumentType.d.ts +1115 -0
- package/dist/generated/prisma/models/ControlDocumentType.d.ts.map +1 -0
- package/dist/generated/prisma/models/ControlDocumentType.js +2 -0
- package/dist/generated/prisma/models/Device.d.ts +1858 -0
- package/dist/generated/prisma/models/Device.d.ts.map +1 -0
- package/dist/generated/prisma/models/Device.js +2 -0
- package/dist/generated/prisma/models/DynamicCheck.d.ts +1517 -0
- package/dist/generated/prisma/models/DynamicCheck.d.ts.map +1 -0
- package/dist/generated/prisma/models/DynamicCheck.js +2 -0
- package/dist/generated/prisma/models/DynamicIntegration.d.ts +1528 -0
- package/dist/generated/prisma/models/DynamicIntegration.d.ts.map +1 -0
- package/dist/generated/prisma/models/DynamicIntegration.js +2 -0
- package/dist/generated/prisma/models/EmployeeTrainingVideoCompletion.d.ts +1146 -0
- package/dist/generated/prisma/models/EmployeeTrainingVideoCompletion.d.ts.map +1 -0
- package/dist/generated/prisma/models/EmployeeTrainingVideoCompletion.js +2 -0
- package/dist/generated/prisma/models/EvidenceAutomation.d.ts +1533 -0
- package/dist/generated/prisma/models/EvidenceAutomation.d.ts.map +1 -0
- package/dist/generated/prisma/models/EvidenceAutomation.js +2 -0
- package/dist/generated/prisma/models/EvidenceAutomationRun.d.ts +1833 -0
- package/dist/generated/prisma/models/EvidenceAutomationRun.d.ts.map +1 -0
- package/dist/generated/prisma/models/EvidenceAutomationRun.js +2 -0
- package/dist/generated/prisma/models/EvidenceAutomationVersion.d.ts +1331 -0
- package/dist/generated/prisma/models/EvidenceAutomationVersion.d.ts.map +1 -0
- package/dist/generated/prisma/models/EvidenceAutomationVersion.js +2 -0
- package/dist/generated/prisma/models/EvidenceSubmission.d.ts +1905 -0
- package/dist/generated/prisma/models/EvidenceSubmission.d.ts.map +1 -0
- package/dist/generated/prisma/models/EvidenceSubmission.js +2 -0
- package/dist/generated/prisma/models/Finding.d.ts +2386 -0
- package/dist/generated/prisma/models/Finding.d.ts.map +1 -0
- package/dist/generated/prisma/models/Finding.js +2 -0
- package/dist/generated/prisma/models/FindingTemplate.d.ts +1264 -0
- package/dist/generated/prisma/models/FindingTemplate.d.ts.map +1 -0
- package/dist/generated/prisma/models/FindingTemplate.js +2 -0
- package/dist/generated/prisma/models/FleetPolicyResult.d.ts +1484 -0
- package/dist/generated/prisma/models/FleetPolicyResult.d.ts.map +1 -0
- package/dist/generated/prisma/models/FleetPolicyResult.js +2 -0
- package/dist/generated/prisma/models/FrameworkEditorControlTemplate.d.ts +1669 -0
- package/dist/generated/prisma/models/FrameworkEditorControlTemplate.d.ts.map +1 -0
- package/dist/generated/prisma/models/FrameworkEditorControlTemplate.js +2 -0
- package/dist/generated/prisma/models/FrameworkEditorFramework.d.ts +1581 -0
- package/dist/generated/prisma/models/FrameworkEditorFramework.d.ts.map +1 -0
- package/dist/generated/prisma/models/FrameworkEditorFramework.js +2 -0
- package/dist/generated/prisma/models/FrameworkEditorPolicyTemplate.d.ts +1428 -0
- package/dist/generated/prisma/models/FrameworkEditorPolicyTemplate.d.ts.map +1 -0
- package/dist/generated/prisma/models/FrameworkEditorPolicyTemplate.js +2 -0
- package/dist/generated/prisma/models/FrameworkEditorRequirement.d.ts +1525 -0
- package/dist/generated/prisma/models/FrameworkEditorRequirement.d.ts.map +1 -0
- package/dist/generated/prisma/models/FrameworkEditorRequirement.js +2 -0
- package/dist/generated/prisma/models/FrameworkEditorTaskTemplate.d.ts +1434 -0
- package/dist/generated/prisma/models/FrameworkEditorTaskTemplate.d.ts.map +1 -0
- package/dist/generated/prisma/models/FrameworkEditorTaskTemplate.js +2 -0
- package/dist/generated/prisma/models/FrameworkEditorVideo.d.ts +1054 -0
- package/dist/generated/prisma/models/FrameworkEditorVideo.d.ts.map +1 -0
- package/dist/generated/prisma/models/FrameworkEditorVideo.js +2 -0
- package/dist/generated/prisma/models/FrameworkInstance.d.ts +1321 -0
- package/dist/generated/prisma/models/FrameworkInstance.d.ts.map +1 -0
- package/dist/generated/prisma/models/FrameworkInstance.js +2 -0
- package/dist/generated/prisma/models/GlobalVendors.d.ts +1358 -0
- package/dist/generated/prisma/models/GlobalVendors.d.ts.map +1 -0
- package/dist/generated/prisma/models/GlobalVendors.js +2 -0
- package/dist/generated/prisma/models/Integration.d.ts +1363 -0
- package/dist/generated/prisma/models/Integration.d.ts.map +1 -0
- package/dist/generated/prisma/models/Integration.js +2 -0
- package/dist/generated/prisma/models/IntegrationCheckResult.d.ts +1408 -0
- package/dist/generated/prisma/models/IntegrationCheckResult.d.ts.map +1 -0
- package/dist/generated/prisma/models/IntegrationCheckResult.js +2 -0
- package/dist/generated/prisma/models/IntegrationCheckRun.d.ts +1958 -0
- package/dist/generated/prisma/models/IntegrationCheckRun.d.ts.map +1 -0
- package/dist/generated/prisma/models/IntegrationCheckRun.js +2 -0
- package/dist/generated/prisma/models/IntegrationConnection.d.ts +2472 -0
- package/dist/generated/prisma/models/IntegrationConnection.d.ts.map +1 -0
- package/dist/generated/prisma/models/IntegrationConnection.js +2 -0
- package/dist/generated/prisma/models/IntegrationCredentialVersion.d.ts +1298 -0
- package/dist/generated/prisma/models/IntegrationCredentialVersion.d.ts.map +1 -0
- package/dist/generated/prisma/models/IntegrationCredentialVersion.js +2 -0
- package/dist/generated/prisma/models/IntegrationOAuthApp.d.ts +1362 -0
- package/dist/generated/prisma/models/IntegrationOAuthApp.d.ts.map +1 -0
- package/dist/generated/prisma/models/IntegrationOAuthApp.js +2 -0
- package/dist/generated/prisma/models/IntegrationOAuthState.d.ts +1131 -0
- package/dist/generated/prisma/models/IntegrationOAuthState.d.ts.map +1 -0
- package/dist/generated/prisma/models/IntegrationOAuthState.js +2 -0
- package/dist/generated/prisma/models/IntegrationPlatformCredential.d.ts +1237 -0
- package/dist/generated/prisma/models/IntegrationPlatformCredential.d.ts.map +1 -0
- package/dist/generated/prisma/models/IntegrationPlatformCredential.js +2 -0
- package/dist/generated/prisma/models/IntegrationPlatformFinding.d.ts +1652 -0
- package/dist/generated/prisma/models/IntegrationPlatformFinding.d.ts.map +1 -0
- package/dist/generated/prisma/models/IntegrationPlatformFinding.js +2 -0
- package/dist/generated/prisma/models/IntegrationProvider.d.ts +1300 -0
- package/dist/generated/prisma/models/IntegrationProvider.d.ts.map +1 -0
- package/dist/generated/prisma/models/IntegrationProvider.js +2 -0
- package/dist/generated/prisma/models/IntegrationResult.d.ts +1539 -0
- package/dist/generated/prisma/models/IntegrationResult.d.ts.map +1 -0
- package/dist/generated/prisma/models/IntegrationResult.js +2 -0
- package/dist/generated/prisma/models/IntegrationRun.d.ts +1596 -0
- package/dist/generated/prisma/models/IntegrationRun.d.ts.map +1 -0
- package/dist/generated/prisma/models/IntegrationRun.js +2 -0
- package/dist/generated/prisma/models/IntegrationSyncLog.d.ts +1716 -0
- package/dist/generated/prisma/models/IntegrationSyncLog.d.ts.map +1 -0
- package/dist/generated/prisma/models/IntegrationSyncLog.js +2 -0
- package/dist/generated/prisma/models/Invitation.d.ts +1404 -0
- package/dist/generated/prisma/models/Invitation.d.ts.map +1 -0
- package/dist/generated/prisma/models/Invitation.js +2 -0
- package/dist/generated/prisma/models/Jwks.d.ts +998 -0
- package/dist/generated/prisma/models/Jwks.d.ts.map +1 -0
- package/dist/generated/prisma/models/Jwks.js +2 -0
- package/dist/generated/prisma/models/KnowledgeBaseDocument.d.ts +1463 -0
- package/dist/generated/prisma/models/KnowledgeBaseDocument.d.ts.map +1 -0
- package/dist/generated/prisma/models/KnowledgeBaseDocument.js +2 -0
- package/dist/generated/prisma/models/Member.d.ts +5530 -0
- package/dist/generated/prisma/models/Member.d.ts.map +1 -0
- package/dist/generated/prisma/models/Member.js +2 -0
- package/dist/generated/prisma/models/Onboarding.d.ts +1376 -0
- package/dist/generated/prisma/models/Onboarding.d.ts.map +1 -0
- package/dist/generated/prisma/models/Onboarding.js +2 -0
- package/dist/generated/prisma/models/Organization.d.ts +14367 -0
- package/dist/generated/prisma/models/Organization.d.ts.map +1 -0
- package/dist/generated/prisma/models/Organization.js +2 -0
- package/dist/generated/prisma/models/OrganizationBilling.d.ts +1222 -0
- package/dist/generated/prisma/models/OrganizationBilling.d.ts.map +1 -0
- package/dist/generated/prisma/models/OrganizationBilling.js +2 -0
- package/dist/generated/prisma/models/OrganizationChart.d.ts +1248 -0
- package/dist/generated/prisma/models/OrganizationChart.d.ts.map +1 -0
- package/dist/generated/prisma/models/OrganizationChart.js +2 -0
- package/dist/generated/prisma/models/OrganizationRole.d.ts +1251 -0
- package/dist/generated/prisma/models/OrganizationRole.d.ts.map +1 -0
- package/dist/generated/prisma/models/OrganizationRole.js +2 -0
- package/dist/generated/prisma/models/PentestSubscription.d.ts +1497 -0
- package/dist/generated/prisma/models/PentestSubscription.d.ts.map +1 -0
- package/dist/generated/prisma/models/PentestSubscription.js +2 -0
- package/dist/generated/prisma/models/Policy.d.ts +3356 -0
- package/dist/generated/prisma/models/Policy.d.ts.map +1 -0
- package/dist/generated/prisma/models/Policy.js +2 -0
- package/dist/generated/prisma/models/PolicyVersion.d.ts +1619 -0
- package/dist/generated/prisma/models/PolicyVersion.d.ts.map +1 -0
- package/dist/generated/prisma/models/PolicyVersion.js +2 -0
- package/dist/generated/prisma/models/Questionnaire.d.ts +1808 -0
- package/dist/generated/prisma/models/Questionnaire.d.ts.map +1 -0
- package/dist/generated/prisma/models/Questionnaire.js +2 -0
- package/dist/generated/prisma/models/QuestionnaireQuestionAnswer.d.ts +1422 -0
- package/dist/generated/prisma/models/QuestionnaireQuestionAnswer.d.ts.map +1 -0
- package/dist/generated/prisma/models/QuestionnaireQuestionAnswer.js +2 -0
- package/dist/generated/prisma/models/RequirementMap.d.ts +1345 -0
- package/dist/generated/prisma/models/RequirementMap.d.ts.map +1 -0
- package/dist/generated/prisma/models/RequirementMap.js +2 -0
- package/dist/generated/prisma/models/Risk.d.ts +1975 -0
- package/dist/generated/prisma/models/Risk.d.ts.map +1 -0
- package/dist/generated/prisma/models/Risk.js +2 -0
- package/dist/generated/prisma/models/RoleNotificationSetting.d.ts +1391 -0
- package/dist/generated/prisma/models/RoleNotificationSetting.d.ts.map +1 -0
- package/dist/generated/prisma/models/RoleNotificationSetting.js +2 -0
- package/dist/generated/prisma/models/SOAAnswer.d.ts +1498 -0
- package/dist/generated/prisma/models/SOAAnswer.d.ts.map +1 -0
- package/dist/generated/prisma/models/SOAAnswer.js +2 -0
- package/dist/generated/prisma/models/SOADocument.d.ts +2272 -0
- package/dist/generated/prisma/models/SOADocument.d.ts.map +1 -0
- package/dist/generated/prisma/models/SOADocument.js +2 -0
- package/dist/generated/prisma/models/SOAFrameworkConfiguration.d.ts +1445 -0
- package/dist/generated/prisma/models/SOAFrameworkConfiguration.d.ts.map +1 -0
- package/dist/generated/prisma/models/SOAFrameworkConfiguration.js +2 -0
- package/dist/generated/prisma/models/Secret.d.ts +1321 -0
- package/dist/generated/prisma/models/Secret.d.ts.map +1 -0
- package/dist/generated/prisma/models/Secret.js +2 -0
- package/dist/generated/prisma/models/SecurityPenetrationTestRun.d.ts +1176 -0
- package/dist/generated/prisma/models/SecurityPenetrationTestRun.d.ts.map +1 -0
- package/dist/generated/prisma/models/SecurityPenetrationTestRun.js +2 -0
- package/dist/generated/prisma/models/SecurityQuestionnaireManualAnswer.d.ts +1510 -0
- package/dist/generated/prisma/models/SecurityQuestionnaireManualAnswer.d.ts.map +1 -0
- package/dist/generated/prisma/models/SecurityQuestionnaireManualAnswer.js +2 -0
- package/dist/generated/prisma/models/Session.d.ts +1351 -0
- package/dist/generated/prisma/models/Session.d.ts.map +1 -0
- package/dist/generated/prisma/models/Session.js +2 -0
- package/dist/generated/prisma/models/Task.d.ts +3980 -0
- package/dist/generated/prisma/models/Task.d.ts.map +1 -0
- package/dist/generated/prisma/models/Task.js +2 -0
- package/dist/generated/prisma/models/TaskItem.d.ts +1961 -0
- package/dist/generated/prisma/models/TaskItem.d.ts.map +1 -0
- package/dist/generated/prisma/models/TaskItem.js +2 -0
- package/dist/generated/prisma/models/Trust.d.ts +2242 -0
- package/dist/generated/prisma/models/Trust.d.ts.map +1 -0
- package/dist/generated/prisma/models/Trust.js +2 -0
- package/dist/generated/prisma/models/TrustAccessGrant.d.ts +1888 -0
- package/dist/generated/prisma/models/TrustAccessGrant.d.ts.map +1 -0
- package/dist/generated/prisma/models/TrustAccessGrant.js +2 -0
- package/dist/generated/prisma/models/TrustAccessRequest.d.ts +2103 -0
- package/dist/generated/prisma/models/TrustAccessRequest.d.ts.map +1 -0
- package/dist/generated/prisma/models/TrustAccessRequest.js +2 -0
- package/dist/generated/prisma/models/TrustCustomLink.d.ts +1354 -0
- package/dist/generated/prisma/models/TrustCustomLink.d.ts.map +1 -0
- package/dist/generated/prisma/models/TrustCustomLink.js +2 -0
- package/dist/generated/prisma/models/TrustDocument.d.ts +1281 -0
- package/dist/generated/prisma/models/TrustDocument.d.ts.map +1 -0
- package/dist/generated/prisma/models/TrustDocument.js +2 -0
- package/dist/generated/prisma/models/TrustNDAAgreement.d.ts +1877 -0
- package/dist/generated/prisma/models/TrustNDAAgreement.d.ts.map +1 -0
- package/dist/generated/prisma/models/TrustNDAAgreement.js +2 -0
- package/dist/generated/prisma/models/TrustResource.d.ts +1328 -0
- package/dist/generated/prisma/models/TrustResource.d.ts.map +1 -0
- package/dist/generated/prisma/models/TrustResource.js +2 -0
- package/dist/generated/prisma/models/User.d.ts +3070 -0
- package/dist/generated/prisma/models/User.d.ts.map +1 -0
- package/dist/generated/prisma/models/User.js +2 -0
- package/dist/generated/prisma/models/Vendor.d.ts +2307 -0
- package/dist/generated/prisma/models/Vendor.d.ts.map +1 -0
- package/dist/generated/prisma/models/Vendor.js +2 -0
- package/dist/generated/prisma/models/VendorContact.d.ts +1246 -0
- package/dist/generated/prisma/models/VendorContact.d.ts.map +1 -0
- package/dist/generated/prisma/models/VendorContact.js +2 -0
- package/dist/generated/prisma/models/Verification.d.ts +1026 -0
- package/dist/generated/prisma/models/Verification.d.ts.map +1 -0
- package/dist/generated/prisma/models/Verification.js +2 -0
- package/dist/generated/prisma/models.d.ts +82 -0
- package/dist/generated/prisma/models.d.ts.map +1 -0
- package/dist/generated/prisma/models.js +2 -0
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -3
- package/dist/index.ts +1 -2
- package/dist/postinstall.js +1 -1
- package/dist/schema.prisma +458 -39
- package/package.json +56 -55
|
@@ -0,0 +1,1716 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as $Enums from "../enums.js";
|
|
3
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
4
|
+
/**
|
|
5
|
+
* Model IntegrationSyncLog
|
|
6
|
+
*
|
|
7
|
+
*/
|
|
8
|
+
export type IntegrationSyncLogModel = runtime.Types.Result.DefaultSelection<Prisma.$IntegrationSyncLogPayload>;
|
|
9
|
+
export type AggregateIntegrationSyncLog = {
|
|
10
|
+
_count: IntegrationSyncLogCountAggregateOutputType | null;
|
|
11
|
+
_avg: IntegrationSyncLogAvgAggregateOutputType | null;
|
|
12
|
+
_sum: IntegrationSyncLogSumAggregateOutputType | null;
|
|
13
|
+
_min: IntegrationSyncLogMinAggregateOutputType | null;
|
|
14
|
+
_max: IntegrationSyncLogMaxAggregateOutputType | null;
|
|
15
|
+
};
|
|
16
|
+
export type IntegrationSyncLogAvgAggregateOutputType = {
|
|
17
|
+
durationMs: number | null;
|
|
18
|
+
};
|
|
19
|
+
export type IntegrationSyncLogSumAggregateOutputType = {
|
|
20
|
+
durationMs: number | null;
|
|
21
|
+
};
|
|
22
|
+
export type IntegrationSyncLogMinAggregateOutputType = {
|
|
23
|
+
id: string | null;
|
|
24
|
+
connectionId: string | null;
|
|
25
|
+
organizationId: string | null;
|
|
26
|
+
provider: string | null;
|
|
27
|
+
eventType: string | null;
|
|
28
|
+
status: $Enums.IntegrationSyncLogStatus | null;
|
|
29
|
+
startedAt: Date | null;
|
|
30
|
+
completedAt: Date | null;
|
|
31
|
+
durationMs: number | null;
|
|
32
|
+
error: string | null;
|
|
33
|
+
triggeredBy: string | null;
|
|
34
|
+
userId: string | null;
|
|
35
|
+
createdAt: Date | null;
|
|
36
|
+
};
|
|
37
|
+
export type IntegrationSyncLogMaxAggregateOutputType = {
|
|
38
|
+
id: string | null;
|
|
39
|
+
connectionId: string | null;
|
|
40
|
+
organizationId: string | null;
|
|
41
|
+
provider: string | null;
|
|
42
|
+
eventType: string | null;
|
|
43
|
+
status: $Enums.IntegrationSyncLogStatus | null;
|
|
44
|
+
startedAt: Date | null;
|
|
45
|
+
completedAt: Date | null;
|
|
46
|
+
durationMs: number | null;
|
|
47
|
+
error: string | null;
|
|
48
|
+
triggeredBy: string | null;
|
|
49
|
+
userId: string | null;
|
|
50
|
+
createdAt: Date | null;
|
|
51
|
+
};
|
|
52
|
+
export type IntegrationSyncLogCountAggregateOutputType = {
|
|
53
|
+
id: number;
|
|
54
|
+
connectionId: number;
|
|
55
|
+
organizationId: number;
|
|
56
|
+
provider: number;
|
|
57
|
+
eventType: number;
|
|
58
|
+
status: number;
|
|
59
|
+
startedAt: number;
|
|
60
|
+
completedAt: number;
|
|
61
|
+
durationMs: number;
|
|
62
|
+
result: number;
|
|
63
|
+
error: number;
|
|
64
|
+
triggeredBy: number;
|
|
65
|
+
userId: number;
|
|
66
|
+
createdAt: number;
|
|
67
|
+
_all: number;
|
|
68
|
+
};
|
|
69
|
+
export type IntegrationSyncLogAvgAggregateInputType = {
|
|
70
|
+
durationMs?: true;
|
|
71
|
+
};
|
|
72
|
+
export type IntegrationSyncLogSumAggregateInputType = {
|
|
73
|
+
durationMs?: true;
|
|
74
|
+
};
|
|
75
|
+
export type IntegrationSyncLogMinAggregateInputType = {
|
|
76
|
+
id?: true;
|
|
77
|
+
connectionId?: true;
|
|
78
|
+
organizationId?: true;
|
|
79
|
+
provider?: true;
|
|
80
|
+
eventType?: true;
|
|
81
|
+
status?: true;
|
|
82
|
+
startedAt?: true;
|
|
83
|
+
completedAt?: true;
|
|
84
|
+
durationMs?: true;
|
|
85
|
+
error?: true;
|
|
86
|
+
triggeredBy?: true;
|
|
87
|
+
userId?: true;
|
|
88
|
+
createdAt?: true;
|
|
89
|
+
};
|
|
90
|
+
export type IntegrationSyncLogMaxAggregateInputType = {
|
|
91
|
+
id?: true;
|
|
92
|
+
connectionId?: true;
|
|
93
|
+
organizationId?: true;
|
|
94
|
+
provider?: true;
|
|
95
|
+
eventType?: true;
|
|
96
|
+
status?: true;
|
|
97
|
+
startedAt?: true;
|
|
98
|
+
completedAt?: true;
|
|
99
|
+
durationMs?: true;
|
|
100
|
+
error?: true;
|
|
101
|
+
triggeredBy?: true;
|
|
102
|
+
userId?: true;
|
|
103
|
+
createdAt?: true;
|
|
104
|
+
};
|
|
105
|
+
export type IntegrationSyncLogCountAggregateInputType = {
|
|
106
|
+
id?: true;
|
|
107
|
+
connectionId?: true;
|
|
108
|
+
organizationId?: true;
|
|
109
|
+
provider?: true;
|
|
110
|
+
eventType?: true;
|
|
111
|
+
status?: true;
|
|
112
|
+
startedAt?: true;
|
|
113
|
+
completedAt?: true;
|
|
114
|
+
durationMs?: true;
|
|
115
|
+
result?: true;
|
|
116
|
+
error?: true;
|
|
117
|
+
triggeredBy?: true;
|
|
118
|
+
userId?: true;
|
|
119
|
+
createdAt?: true;
|
|
120
|
+
_all?: true;
|
|
121
|
+
};
|
|
122
|
+
export type IntegrationSyncLogAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
123
|
+
/**
|
|
124
|
+
* Filter which IntegrationSyncLog to aggregate.
|
|
125
|
+
*/
|
|
126
|
+
where?: Prisma.IntegrationSyncLogWhereInput;
|
|
127
|
+
/**
|
|
128
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
129
|
+
*
|
|
130
|
+
* Determine the order of IntegrationSyncLogs to fetch.
|
|
131
|
+
*/
|
|
132
|
+
orderBy?: Prisma.IntegrationSyncLogOrderByWithRelationInput | Prisma.IntegrationSyncLogOrderByWithRelationInput[];
|
|
133
|
+
/**
|
|
134
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
135
|
+
*
|
|
136
|
+
* Sets the start position
|
|
137
|
+
*/
|
|
138
|
+
cursor?: Prisma.IntegrationSyncLogWhereUniqueInput;
|
|
139
|
+
/**
|
|
140
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
141
|
+
*
|
|
142
|
+
* Take `±n` IntegrationSyncLogs from the position of the cursor.
|
|
143
|
+
*/
|
|
144
|
+
take?: number;
|
|
145
|
+
/**
|
|
146
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
147
|
+
*
|
|
148
|
+
* Skip the first `n` IntegrationSyncLogs.
|
|
149
|
+
*/
|
|
150
|
+
skip?: number;
|
|
151
|
+
/**
|
|
152
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
153
|
+
*
|
|
154
|
+
* Count returned IntegrationSyncLogs
|
|
155
|
+
**/
|
|
156
|
+
_count?: true | IntegrationSyncLogCountAggregateInputType;
|
|
157
|
+
/**
|
|
158
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
159
|
+
*
|
|
160
|
+
* Select which fields to average
|
|
161
|
+
**/
|
|
162
|
+
_avg?: IntegrationSyncLogAvgAggregateInputType;
|
|
163
|
+
/**
|
|
164
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
165
|
+
*
|
|
166
|
+
* Select which fields to sum
|
|
167
|
+
**/
|
|
168
|
+
_sum?: IntegrationSyncLogSumAggregateInputType;
|
|
169
|
+
/**
|
|
170
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
171
|
+
*
|
|
172
|
+
* Select which fields to find the minimum value
|
|
173
|
+
**/
|
|
174
|
+
_min?: IntegrationSyncLogMinAggregateInputType;
|
|
175
|
+
/**
|
|
176
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
177
|
+
*
|
|
178
|
+
* Select which fields to find the maximum value
|
|
179
|
+
**/
|
|
180
|
+
_max?: IntegrationSyncLogMaxAggregateInputType;
|
|
181
|
+
};
|
|
182
|
+
export type GetIntegrationSyncLogAggregateType<T extends IntegrationSyncLogAggregateArgs> = {
|
|
183
|
+
[P in keyof T & keyof AggregateIntegrationSyncLog]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateIntegrationSyncLog[P]> : Prisma.GetScalarType<T[P], AggregateIntegrationSyncLog[P]>;
|
|
184
|
+
};
|
|
185
|
+
export type IntegrationSyncLogGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
186
|
+
where?: Prisma.IntegrationSyncLogWhereInput;
|
|
187
|
+
orderBy?: Prisma.IntegrationSyncLogOrderByWithAggregationInput | Prisma.IntegrationSyncLogOrderByWithAggregationInput[];
|
|
188
|
+
by: Prisma.IntegrationSyncLogScalarFieldEnum[] | Prisma.IntegrationSyncLogScalarFieldEnum;
|
|
189
|
+
having?: Prisma.IntegrationSyncLogScalarWhereWithAggregatesInput;
|
|
190
|
+
take?: number;
|
|
191
|
+
skip?: number;
|
|
192
|
+
_count?: IntegrationSyncLogCountAggregateInputType | true;
|
|
193
|
+
_avg?: IntegrationSyncLogAvgAggregateInputType;
|
|
194
|
+
_sum?: IntegrationSyncLogSumAggregateInputType;
|
|
195
|
+
_min?: IntegrationSyncLogMinAggregateInputType;
|
|
196
|
+
_max?: IntegrationSyncLogMaxAggregateInputType;
|
|
197
|
+
};
|
|
198
|
+
export type IntegrationSyncLogGroupByOutputType = {
|
|
199
|
+
id: string;
|
|
200
|
+
connectionId: string;
|
|
201
|
+
organizationId: string;
|
|
202
|
+
provider: string;
|
|
203
|
+
eventType: string;
|
|
204
|
+
status: $Enums.IntegrationSyncLogStatus;
|
|
205
|
+
startedAt: Date | null;
|
|
206
|
+
completedAt: Date | null;
|
|
207
|
+
durationMs: number | null;
|
|
208
|
+
result: runtime.JsonValue | null;
|
|
209
|
+
error: string | null;
|
|
210
|
+
triggeredBy: string | null;
|
|
211
|
+
userId: string | null;
|
|
212
|
+
createdAt: Date;
|
|
213
|
+
_count: IntegrationSyncLogCountAggregateOutputType | null;
|
|
214
|
+
_avg: IntegrationSyncLogAvgAggregateOutputType | null;
|
|
215
|
+
_sum: IntegrationSyncLogSumAggregateOutputType | null;
|
|
216
|
+
_min: IntegrationSyncLogMinAggregateOutputType | null;
|
|
217
|
+
_max: IntegrationSyncLogMaxAggregateOutputType | null;
|
|
218
|
+
};
|
|
219
|
+
export type GetIntegrationSyncLogGroupByPayload<T extends IntegrationSyncLogGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<IntegrationSyncLogGroupByOutputType, T['by']> & {
|
|
220
|
+
[P in ((keyof T) & (keyof IntegrationSyncLogGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], IntegrationSyncLogGroupByOutputType[P]> : Prisma.GetScalarType<T[P], IntegrationSyncLogGroupByOutputType[P]>;
|
|
221
|
+
}>>;
|
|
222
|
+
export type IntegrationSyncLogWhereInput = {
|
|
223
|
+
AND?: Prisma.IntegrationSyncLogWhereInput | Prisma.IntegrationSyncLogWhereInput[];
|
|
224
|
+
OR?: Prisma.IntegrationSyncLogWhereInput[];
|
|
225
|
+
NOT?: Prisma.IntegrationSyncLogWhereInput | Prisma.IntegrationSyncLogWhereInput[];
|
|
226
|
+
id?: Prisma.StringFilter<"IntegrationSyncLog"> | string;
|
|
227
|
+
connectionId?: Prisma.StringFilter<"IntegrationSyncLog"> | string;
|
|
228
|
+
organizationId?: Prisma.StringFilter<"IntegrationSyncLog"> | string;
|
|
229
|
+
provider?: Prisma.StringFilter<"IntegrationSyncLog"> | string;
|
|
230
|
+
eventType?: Prisma.StringFilter<"IntegrationSyncLog"> | string;
|
|
231
|
+
status?: Prisma.EnumIntegrationSyncLogStatusFilter<"IntegrationSyncLog"> | $Enums.IntegrationSyncLogStatus;
|
|
232
|
+
startedAt?: Prisma.DateTimeNullableFilter<"IntegrationSyncLog"> | Date | string | null;
|
|
233
|
+
completedAt?: Prisma.DateTimeNullableFilter<"IntegrationSyncLog"> | Date | string | null;
|
|
234
|
+
durationMs?: Prisma.IntNullableFilter<"IntegrationSyncLog"> | number | null;
|
|
235
|
+
result?: Prisma.JsonNullableFilter<"IntegrationSyncLog">;
|
|
236
|
+
error?: Prisma.StringNullableFilter<"IntegrationSyncLog"> | string | null;
|
|
237
|
+
triggeredBy?: Prisma.StringNullableFilter<"IntegrationSyncLog"> | string | null;
|
|
238
|
+
userId?: Prisma.StringNullableFilter<"IntegrationSyncLog"> | string | null;
|
|
239
|
+
createdAt?: Prisma.DateTimeFilter<"IntegrationSyncLog"> | Date | string;
|
|
240
|
+
connection?: Prisma.XOR<Prisma.IntegrationConnectionScalarRelationFilter, Prisma.IntegrationConnectionWhereInput>;
|
|
241
|
+
organization?: Prisma.XOR<Prisma.OrganizationScalarRelationFilter, Prisma.OrganizationWhereInput>;
|
|
242
|
+
};
|
|
243
|
+
export type IntegrationSyncLogOrderByWithRelationInput = {
|
|
244
|
+
id?: Prisma.SortOrder;
|
|
245
|
+
connectionId?: Prisma.SortOrder;
|
|
246
|
+
organizationId?: Prisma.SortOrder;
|
|
247
|
+
provider?: Prisma.SortOrder;
|
|
248
|
+
eventType?: Prisma.SortOrder;
|
|
249
|
+
status?: Prisma.SortOrder;
|
|
250
|
+
startedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
251
|
+
completedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
252
|
+
durationMs?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
253
|
+
result?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
254
|
+
error?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
255
|
+
triggeredBy?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
256
|
+
userId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
257
|
+
createdAt?: Prisma.SortOrder;
|
|
258
|
+
connection?: Prisma.IntegrationConnectionOrderByWithRelationInput;
|
|
259
|
+
organization?: Prisma.OrganizationOrderByWithRelationInput;
|
|
260
|
+
};
|
|
261
|
+
export type IntegrationSyncLogWhereUniqueInput = Prisma.AtLeast<{
|
|
262
|
+
id?: string;
|
|
263
|
+
AND?: Prisma.IntegrationSyncLogWhereInput | Prisma.IntegrationSyncLogWhereInput[];
|
|
264
|
+
OR?: Prisma.IntegrationSyncLogWhereInput[];
|
|
265
|
+
NOT?: Prisma.IntegrationSyncLogWhereInput | Prisma.IntegrationSyncLogWhereInput[];
|
|
266
|
+
connectionId?: Prisma.StringFilter<"IntegrationSyncLog"> | string;
|
|
267
|
+
organizationId?: Prisma.StringFilter<"IntegrationSyncLog"> | string;
|
|
268
|
+
provider?: Prisma.StringFilter<"IntegrationSyncLog"> | string;
|
|
269
|
+
eventType?: Prisma.StringFilter<"IntegrationSyncLog"> | string;
|
|
270
|
+
status?: Prisma.EnumIntegrationSyncLogStatusFilter<"IntegrationSyncLog"> | $Enums.IntegrationSyncLogStatus;
|
|
271
|
+
startedAt?: Prisma.DateTimeNullableFilter<"IntegrationSyncLog"> | Date | string | null;
|
|
272
|
+
completedAt?: Prisma.DateTimeNullableFilter<"IntegrationSyncLog"> | Date | string | null;
|
|
273
|
+
durationMs?: Prisma.IntNullableFilter<"IntegrationSyncLog"> | number | null;
|
|
274
|
+
result?: Prisma.JsonNullableFilter<"IntegrationSyncLog">;
|
|
275
|
+
error?: Prisma.StringNullableFilter<"IntegrationSyncLog"> | string | null;
|
|
276
|
+
triggeredBy?: Prisma.StringNullableFilter<"IntegrationSyncLog"> | string | null;
|
|
277
|
+
userId?: Prisma.StringNullableFilter<"IntegrationSyncLog"> | string | null;
|
|
278
|
+
createdAt?: Prisma.DateTimeFilter<"IntegrationSyncLog"> | Date | string;
|
|
279
|
+
connection?: Prisma.XOR<Prisma.IntegrationConnectionScalarRelationFilter, Prisma.IntegrationConnectionWhereInput>;
|
|
280
|
+
organization?: Prisma.XOR<Prisma.OrganizationScalarRelationFilter, Prisma.OrganizationWhereInput>;
|
|
281
|
+
}, "id">;
|
|
282
|
+
export type IntegrationSyncLogOrderByWithAggregationInput = {
|
|
283
|
+
id?: Prisma.SortOrder;
|
|
284
|
+
connectionId?: Prisma.SortOrder;
|
|
285
|
+
organizationId?: Prisma.SortOrder;
|
|
286
|
+
provider?: Prisma.SortOrder;
|
|
287
|
+
eventType?: Prisma.SortOrder;
|
|
288
|
+
status?: Prisma.SortOrder;
|
|
289
|
+
startedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
290
|
+
completedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
291
|
+
durationMs?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
292
|
+
result?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
293
|
+
error?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
294
|
+
triggeredBy?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
295
|
+
userId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
296
|
+
createdAt?: Prisma.SortOrder;
|
|
297
|
+
_count?: Prisma.IntegrationSyncLogCountOrderByAggregateInput;
|
|
298
|
+
_avg?: Prisma.IntegrationSyncLogAvgOrderByAggregateInput;
|
|
299
|
+
_max?: Prisma.IntegrationSyncLogMaxOrderByAggregateInput;
|
|
300
|
+
_min?: Prisma.IntegrationSyncLogMinOrderByAggregateInput;
|
|
301
|
+
_sum?: Prisma.IntegrationSyncLogSumOrderByAggregateInput;
|
|
302
|
+
};
|
|
303
|
+
export type IntegrationSyncLogScalarWhereWithAggregatesInput = {
|
|
304
|
+
AND?: Prisma.IntegrationSyncLogScalarWhereWithAggregatesInput | Prisma.IntegrationSyncLogScalarWhereWithAggregatesInput[];
|
|
305
|
+
OR?: Prisma.IntegrationSyncLogScalarWhereWithAggregatesInput[];
|
|
306
|
+
NOT?: Prisma.IntegrationSyncLogScalarWhereWithAggregatesInput | Prisma.IntegrationSyncLogScalarWhereWithAggregatesInput[];
|
|
307
|
+
id?: Prisma.StringWithAggregatesFilter<"IntegrationSyncLog"> | string;
|
|
308
|
+
connectionId?: Prisma.StringWithAggregatesFilter<"IntegrationSyncLog"> | string;
|
|
309
|
+
organizationId?: Prisma.StringWithAggregatesFilter<"IntegrationSyncLog"> | string;
|
|
310
|
+
provider?: Prisma.StringWithAggregatesFilter<"IntegrationSyncLog"> | string;
|
|
311
|
+
eventType?: Prisma.StringWithAggregatesFilter<"IntegrationSyncLog"> | string;
|
|
312
|
+
status?: Prisma.EnumIntegrationSyncLogStatusWithAggregatesFilter<"IntegrationSyncLog"> | $Enums.IntegrationSyncLogStatus;
|
|
313
|
+
startedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"IntegrationSyncLog"> | Date | string | null;
|
|
314
|
+
completedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"IntegrationSyncLog"> | Date | string | null;
|
|
315
|
+
durationMs?: Prisma.IntNullableWithAggregatesFilter<"IntegrationSyncLog"> | number | null;
|
|
316
|
+
result?: Prisma.JsonNullableWithAggregatesFilter<"IntegrationSyncLog">;
|
|
317
|
+
error?: Prisma.StringNullableWithAggregatesFilter<"IntegrationSyncLog"> | string | null;
|
|
318
|
+
triggeredBy?: Prisma.StringNullableWithAggregatesFilter<"IntegrationSyncLog"> | string | null;
|
|
319
|
+
userId?: Prisma.StringNullableWithAggregatesFilter<"IntegrationSyncLog"> | string | null;
|
|
320
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"IntegrationSyncLog"> | Date | string;
|
|
321
|
+
};
|
|
322
|
+
export type IntegrationSyncLogCreateInput = {
|
|
323
|
+
id?: string;
|
|
324
|
+
provider: string;
|
|
325
|
+
eventType: string;
|
|
326
|
+
status?: $Enums.IntegrationSyncLogStatus;
|
|
327
|
+
startedAt?: Date | string | null;
|
|
328
|
+
completedAt?: Date | string | null;
|
|
329
|
+
durationMs?: number | null;
|
|
330
|
+
result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
331
|
+
error?: string | null;
|
|
332
|
+
triggeredBy?: string | null;
|
|
333
|
+
userId?: string | null;
|
|
334
|
+
createdAt?: Date | string;
|
|
335
|
+
connection: Prisma.IntegrationConnectionCreateNestedOneWithoutSyncLogsInput;
|
|
336
|
+
organization: Prisma.OrganizationCreateNestedOneWithoutIntegrationSyncLogsInput;
|
|
337
|
+
};
|
|
338
|
+
export type IntegrationSyncLogUncheckedCreateInput = {
|
|
339
|
+
id?: string;
|
|
340
|
+
connectionId: string;
|
|
341
|
+
organizationId: string;
|
|
342
|
+
provider: string;
|
|
343
|
+
eventType: string;
|
|
344
|
+
status?: $Enums.IntegrationSyncLogStatus;
|
|
345
|
+
startedAt?: Date | string | null;
|
|
346
|
+
completedAt?: Date | string | null;
|
|
347
|
+
durationMs?: number | null;
|
|
348
|
+
result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
349
|
+
error?: string | null;
|
|
350
|
+
triggeredBy?: string | null;
|
|
351
|
+
userId?: string | null;
|
|
352
|
+
createdAt?: Date | string;
|
|
353
|
+
};
|
|
354
|
+
export type IntegrationSyncLogUpdateInput = {
|
|
355
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
356
|
+
provider?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
357
|
+
eventType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
358
|
+
status?: Prisma.EnumIntegrationSyncLogStatusFieldUpdateOperationsInput | $Enums.IntegrationSyncLogStatus;
|
|
359
|
+
startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
360
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
361
|
+
durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
362
|
+
result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
363
|
+
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
364
|
+
triggeredBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
365
|
+
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
366
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
367
|
+
connection?: Prisma.IntegrationConnectionUpdateOneRequiredWithoutSyncLogsNestedInput;
|
|
368
|
+
organization?: Prisma.OrganizationUpdateOneRequiredWithoutIntegrationSyncLogsNestedInput;
|
|
369
|
+
};
|
|
370
|
+
export type IntegrationSyncLogUncheckedUpdateInput = {
|
|
371
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
372
|
+
connectionId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
373
|
+
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
374
|
+
provider?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
375
|
+
eventType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
376
|
+
status?: Prisma.EnumIntegrationSyncLogStatusFieldUpdateOperationsInput | $Enums.IntegrationSyncLogStatus;
|
|
377
|
+
startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
378
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
379
|
+
durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
380
|
+
result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
381
|
+
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
382
|
+
triggeredBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
383
|
+
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
384
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
385
|
+
};
|
|
386
|
+
export type IntegrationSyncLogCreateManyInput = {
|
|
387
|
+
id?: string;
|
|
388
|
+
connectionId: string;
|
|
389
|
+
organizationId: string;
|
|
390
|
+
provider: string;
|
|
391
|
+
eventType: string;
|
|
392
|
+
status?: $Enums.IntegrationSyncLogStatus;
|
|
393
|
+
startedAt?: Date | string | null;
|
|
394
|
+
completedAt?: Date | string | null;
|
|
395
|
+
durationMs?: number | null;
|
|
396
|
+
result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
397
|
+
error?: string | null;
|
|
398
|
+
triggeredBy?: string | null;
|
|
399
|
+
userId?: string | null;
|
|
400
|
+
createdAt?: Date | string;
|
|
401
|
+
};
|
|
402
|
+
export type IntegrationSyncLogUpdateManyMutationInput = {
|
|
403
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
404
|
+
provider?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
405
|
+
eventType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
406
|
+
status?: Prisma.EnumIntegrationSyncLogStatusFieldUpdateOperationsInput | $Enums.IntegrationSyncLogStatus;
|
|
407
|
+
startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
408
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
409
|
+
durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
410
|
+
result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
411
|
+
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
412
|
+
triggeredBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
413
|
+
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
414
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
415
|
+
};
|
|
416
|
+
export type IntegrationSyncLogUncheckedUpdateManyInput = {
|
|
417
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
418
|
+
connectionId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
419
|
+
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
420
|
+
provider?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
421
|
+
eventType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
422
|
+
status?: Prisma.EnumIntegrationSyncLogStatusFieldUpdateOperationsInput | $Enums.IntegrationSyncLogStatus;
|
|
423
|
+
startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
424
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
425
|
+
durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
426
|
+
result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
427
|
+
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
428
|
+
triggeredBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
429
|
+
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
430
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
431
|
+
};
|
|
432
|
+
export type IntegrationSyncLogListRelationFilter = {
|
|
433
|
+
every?: Prisma.IntegrationSyncLogWhereInput;
|
|
434
|
+
some?: Prisma.IntegrationSyncLogWhereInput;
|
|
435
|
+
none?: Prisma.IntegrationSyncLogWhereInput;
|
|
436
|
+
};
|
|
437
|
+
export type IntegrationSyncLogOrderByRelationAggregateInput = {
|
|
438
|
+
_count?: Prisma.SortOrder;
|
|
439
|
+
};
|
|
440
|
+
export type IntegrationSyncLogCountOrderByAggregateInput = {
|
|
441
|
+
id?: Prisma.SortOrder;
|
|
442
|
+
connectionId?: Prisma.SortOrder;
|
|
443
|
+
organizationId?: Prisma.SortOrder;
|
|
444
|
+
provider?: Prisma.SortOrder;
|
|
445
|
+
eventType?: Prisma.SortOrder;
|
|
446
|
+
status?: Prisma.SortOrder;
|
|
447
|
+
startedAt?: Prisma.SortOrder;
|
|
448
|
+
completedAt?: Prisma.SortOrder;
|
|
449
|
+
durationMs?: Prisma.SortOrder;
|
|
450
|
+
result?: Prisma.SortOrder;
|
|
451
|
+
error?: Prisma.SortOrder;
|
|
452
|
+
triggeredBy?: Prisma.SortOrder;
|
|
453
|
+
userId?: Prisma.SortOrder;
|
|
454
|
+
createdAt?: Prisma.SortOrder;
|
|
455
|
+
};
|
|
456
|
+
export type IntegrationSyncLogAvgOrderByAggregateInput = {
|
|
457
|
+
durationMs?: Prisma.SortOrder;
|
|
458
|
+
};
|
|
459
|
+
export type IntegrationSyncLogMaxOrderByAggregateInput = {
|
|
460
|
+
id?: Prisma.SortOrder;
|
|
461
|
+
connectionId?: Prisma.SortOrder;
|
|
462
|
+
organizationId?: Prisma.SortOrder;
|
|
463
|
+
provider?: Prisma.SortOrder;
|
|
464
|
+
eventType?: Prisma.SortOrder;
|
|
465
|
+
status?: Prisma.SortOrder;
|
|
466
|
+
startedAt?: Prisma.SortOrder;
|
|
467
|
+
completedAt?: Prisma.SortOrder;
|
|
468
|
+
durationMs?: Prisma.SortOrder;
|
|
469
|
+
error?: Prisma.SortOrder;
|
|
470
|
+
triggeredBy?: Prisma.SortOrder;
|
|
471
|
+
userId?: Prisma.SortOrder;
|
|
472
|
+
createdAt?: Prisma.SortOrder;
|
|
473
|
+
};
|
|
474
|
+
export type IntegrationSyncLogMinOrderByAggregateInput = {
|
|
475
|
+
id?: Prisma.SortOrder;
|
|
476
|
+
connectionId?: Prisma.SortOrder;
|
|
477
|
+
organizationId?: Prisma.SortOrder;
|
|
478
|
+
provider?: Prisma.SortOrder;
|
|
479
|
+
eventType?: Prisma.SortOrder;
|
|
480
|
+
status?: Prisma.SortOrder;
|
|
481
|
+
startedAt?: Prisma.SortOrder;
|
|
482
|
+
completedAt?: Prisma.SortOrder;
|
|
483
|
+
durationMs?: Prisma.SortOrder;
|
|
484
|
+
error?: Prisma.SortOrder;
|
|
485
|
+
triggeredBy?: Prisma.SortOrder;
|
|
486
|
+
userId?: Prisma.SortOrder;
|
|
487
|
+
createdAt?: Prisma.SortOrder;
|
|
488
|
+
};
|
|
489
|
+
export type IntegrationSyncLogSumOrderByAggregateInput = {
|
|
490
|
+
durationMs?: Prisma.SortOrder;
|
|
491
|
+
};
|
|
492
|
+
export type IntegrationSyncLogCreateNestedManyWithoutConnectionInput = {
|
|
493
|
+
create?: Prisma.XOR<Prisma.IntegrationSyncLogCreateWithoutConnectionInput, Prisma.IntegrationSyncLogUncheckedCreateWithoutConnectionInput> | Prisma.IntegrationSyncLogCreateWithoutConnectionInput[] | Prisma.IntegrationSyncLogUncheckedCreateWithoutConnectionInput[];
|
|
494
|
+
connectOrCreate?: Prisma.IntegrationSyncLogCreateOrConnectWithoutConnectionInput | Prisma.IntegrationSyncLogCreateOrConnectWithoutConnectionInput[];
|
|
495
|
+
createMany?: Prisma.IntegrationSyncLogCreateManyConnectionInputEnvelope;
|
|
496
|
+
connect?: Prisma.IntegrationSyncLogWhereUniqueInput | Prisma.IntegrationSyncLogWhereUniqueInput[];
|
|
497
|
+
};
|
|
498
|
+
export type IntegrationSyncLogUncheckedCreateNestedManyWithoutConnectionInput = {
|
|
499
|
+
create?: Prisma.XOR<Prisma.IntegrationSyncLogCreateWithoutConnectionInput, Prisma.IntegrationSyncLogUncheckedCreateWithoutConnectionInput> | Prisma.IntegrationSyncLogCreateWithoutConnectionInput[] | Prisma.IntegrationSyncLogUncheckedCreateWithoutConnectionInput[];
|
|
500
|
+
connectOrCreate?: Prisma.IntegrationSyncLogCreateOrConnectWithoutConnectionInput | Prisma.IntegrationSyncLogCreateOrConnectWithoutConnectionInput[];
|
|
501
|
+
createMany?: Prisma.IntegrationSyncLogCreateManyConnectionInputEnvelope;
|
|
502
|
+
connect?: Prisma.IntegrationSyncLogWhereUniqueInput | Prisma.IntegrationSyncLogWhereUniqueInput[];
|
|
503
|
+
};
|
|
504
|
+
export type IntegrationSyncLogUpdateManyWithoutConnectionNestedInput = {
|
|
505
|
+
create?: Prisma.XOR<Prisma.IntegrationSyncLogCreateWithoutConnectionInput, Prisma.IntegrationSyncLogUncheckedCreateWithoutConnectionInput> | Prisma.IntegrationSyncLogCreateWithoutConnectionInput[] | Prisma.IntegrationSyncLogUncheckedCreateWithoutConnectionInput[];
|
|
506
|
+
connectOrCreate?: Prisma.IntegrationSyncLogCreateOrConnectWithoutConnectionInput | Prisma.IntegrationSyncLogCreateOrConnectWithoutConnectionInput[];
|
|
507
|
+
upsert?: Prisma.IntegrationSyncLogUpsertWithWhereUniqueWithoutConnectionInput | Prisma.IntegrationSyncLogUpsertWithWhereUniqueWithoutConnectionInput[];
|
|
508
|
+
createMany?: Prisma.IntegrationSyncLogCreateManyConnectionInputEnvelope;
|
|
509
|
+
set?: Prisma.IntegrationSyncLogWhereUniqueInput | Prisma.IntegrationSyncLogWhereUniqueInput[];
|
|
510
|
+
disconnect?: Prisma.IntegrationSyncLogWhereUniqueInput | Prisma.IntegrationSyncLogWhereUniqueInput[];
|
|
511
|
+
delete?: Prisma.IntegrationSyncLogWhereUniqueInput | Prisma.IntegrationSyncLogWhereUniqueInput[];
|
|
512
|
+
connect?: Prisma.IntegrationSyncLogWhereUniqueInput | Prisma.IntegrationSyncLogWhereUniqueInput[];
|
|
513
|
+
update?: Prisma.IntegrationSyncLogUpdateWithWhereUniqueWithoutConnectionInput | Prisma.IntegrationSyncLogUpdateWithWhereUniqueWithoutConnectionInput[];
|
|
514
|
+
updateMany?: Prisma.IntegrationSyncLogUpdateManyWithWhereWithoutConnectionInput | Prisma.IntegrationSyncLogUpdateManyWithWhereWithoutConnectionInput[];
|
|
515
|
+
deleteMany?: Prisma.IntegrationSyncLogScalarWhereInput | Prisma.IntegrationSyncLogScalarWhereInput[];
|
|
516
|
+
};
|
|
517
|
+
export type IntegrationSyncLogUncheckedUpdateManyWithoutConnectionNestedInput = {
|
|
518
|
+
create?: Prisma.XOR<Prisma.IntegrationSyncLogCreateWithoutConnectionInput, Prisma.IntegrationSyncLogUncheckedCreateWithoutConnectionInput> | Prisma.IntegrationSyncLogCreateWithoutConnectionInput[] | Prisma.IntegrationSyncLogUncheckedCreateWithoutConnectionInput[];
|
|
519
|
+
connectOrCreate?: Prisma.IntegrationSyncLogCreateOrConnectWithoutConnectionInput | Prisma.IntegrationSyncLogCreateOrConnectWithoutConnectionInput[];
|
|
520
|
+
upsert?: Prisma.IntegrationSyncLogUpsertWithWhereUniqueWithoutConnectionInput | Prisma.IntegrationSyncLogUpsertWithWhereUniqueWithoutConnectionInput[];
|
|
521
|
+
createMany?: Prisma.IntegrationSyncLogCreateManyConnectionInputEnvelope;
|
|
522
|
+
set?: Prisma.IntegrationSyncLogWhereUniqueInput | Prisma.IntegrationSyncLogWhereUniqueInput[];
|
|
523
|
+
disconnect?: Prisma.IntegrationSyncLogWhereUniqueInput | Prisma.IntegrationSyncLogWhereUniqueInput[];
|
|
524
|
+
delete?: Prisma.IntegrationSyncLogWhereUniqueInput | Prisma.IntegrationSyncLogWhereUniqueInput[];
|
|
525
|
+
connect?: Prisma.IntegrationSyncLogWhereUniqueInput | Prisma.IntegrationSyncLogWhereUniqueInput[];
|
|
526
|
+
update?: Prisma.IntegrationSyncLogUpdateWithWhereUniqueWithoutConnectionInput | Prisma.IntegrationSyncLogUpdateWithWhereUniqueWithoutConnectionInput[];
|
|
527
|
+
updateMany?: Prisma.IntegrationSyncLogUpdateManyWithWhereWithoutConnectionInput | Prisma.IntegrationSyncLogUpdateManyWithWhereWithoutConnectionInput[];
|
|
528
|
+
deleteMany?: Prisma.IntegrationSyncLogScalarWhereInput | Prisma.IntegrationSyncLogScalarWhereInput[];
|
|
529
|
+
};
|
|
530
|
+
export type EnumIntegrationSyncLogStatusFieldUpdateOperationsInput = {
|
|
531
|
+
set?: $Enums.IntegrationSyncLogStatus;
|
|
532
|
+
};
|
|
533
|
+
export type IntegrationSyncLogCreateNestedManyWithoutOrganizationInput = {
|
|
534
|
+
create?: Prisma.XOR<Prisma.IntegrationSyncLogCreateWithoutOrganizationInput, Prisma.IntegrationSyncLogUncheckedCreateWithoutOrganizationInput> | Prisma.IntegrationSyncLogCreateWithoutOrganizationInput[] | Prisma.IntegrationSyncLogUncheckedCreateWithoutOrganizationInput[];
|
|
535
|
+
connectOrCreate?: Prisma.IntegrationSyncLogCreateOrConnectWithoutOrganizationInput | Prisma.IntegrationSyncLogCreateOrConnectWithoutOrganizationInput[];
|
|
536
|
+
createMany?: Prisma.IntegrationSyncLogCreateManyOrganizationInputEnvelope;
|
|
537
|
+
connect?: Prisma.IntegrationSyncLogWhereUniqueInput | Prisma.IntegrationSyncLogWhereUniqueInput[];
|
|
538
|
+
};
|
|
539
|
+
export type IntegrationSyncLogUncheckedCreateNestedManyWithoutOrganizationInput = {
|
|
540
|
+
create?: Prisma.XOR<Prisma.IntegrationSyncLogCreateWithoutOrganizationInput, Prisma.IntegrationSyncLogUncheckedCreateWithoutOrganizationInput> | Prisma.IntegrationSyncLogCreateWithoutOrganizationInput[] | Prisma.IntegrationSyncLogUncheckedCreateWithoutOrganizationInput[];
|
|
541
|
+
connectOrCreate?: Prisma.IntegrationSyncLogCreateOrConnectWithoutOrganizationInput | Prisma.IntegrationSyncLogCreateOrConnectWithoutOrganizationInput[];
|
|
542
|
+
createMany?: Prisma.IntegrationSyncLogCreateManyOrganizationInputEnvelope;
|
|
543
|
+
connect?: Prisma.IntegrationSyncLogWhereUniqueInput | Prisma.IntegrationSyncLogWhereUniqueInput[];
|
|
544
|
+
};
|
|
545
|
+
export type IntegrationSyncLogUpdateManyWithoutOrganizationNestedInput = {
|
|
546
|
+
create?: Prisma.XOR<Prisma.IntegrationSyncLogCreateWithoutOrganizationInput, Prisma.IntegrationSyncLogUncheckedCreateWithoutOrganizationInput> | Prisma.IntegrationSyncLogCreateWithoutOrganizationInput[] | Prisma.IntegrationSyncLogUncheckedCreateWithoutOrganizationInput[];
|
|
547
|
+
connectOrCreate?: Prisma.IntegrationSyncLogCreateOrConnectWithoutOrganizationInput | Prisma.IntegrationSyncLogCreateOrConnectWithoutOrganizationInput[];
|
|
548
|
+
upsert?: Prisma.IntegrationSyncLogUpsertWithWhereUniqueWithoutOrganizationInput | Prisma.IntegrationSyncLogUpsertWithWhereUniqueWithoutOrganizationInput[];
|
|
549
|
+
createMany?: Prisma.IntegrationSyncLogCreateManyOrganizationInputEnvelope;
|
|
550
|
+
set?: Prisma.IntegrationSyncLogWhereUniqueInput | Prisma.IntegrationSyncLogWhereUniqueInput[];
|
|
551
|
+
disconnect?: Prisma.IntegrationSyncLogWhereUniqueInput | Prisma.IntegrationSyncLogWhereUniqueInput[];
|
|
552
|
+
delete?: Prisma.IntegrationSyncLogWhereUniqueInput | Prisma.IntegrationSyncLogWhereUniqueInput[];
|
|
553
|
+
connect?: Prisma.IntegrationSyncLogWhereUniqueInput | Prisma.IntegrationSyncLogWhereUniqueInput[];
|
|
554
|
+
update?: Prisma.IntegrationSyncLogUpdateWithWhereUniqueWithoutOrganizationInput | Prisma.IntegrationSyncLogUpdateWithWhereUniqueWithoutOrganizationInput[];
|
|
555
|
+
updateMany?: Prisma.IntegrationSyncLogUpdateManyWithWhereWithoutOrganizationInput | Prisma.IntegrationSyncLogUpdateManyWithWhereWithoutOrganizationInput[];
|
|
556
|
+
deleteMany?: Prisma.IntegrationSyncLogScalarWhereInput | Prisma.IntegrationSyncLogScalarWhereInput[];
|
|
557
|
+
};
|
|
558
|
+
export type IntegrationSyncLogUncheckedUpdateManyWithoutOrganizationNestedInput = {
|
|
559
|
+
create?: Prisma.XOR<Prisma.IntegrationSyncLogCreateWithoutOrganizationInput, Prisma.IntegrationSyncLogUncheckedCreateWithoutOrganizationInput> | Prisma.IntegrationSyncLogCreateWithoutOrganizationInput[] | Prisma.IntegrationSyncLogUncheckedCreateWithoutOrganizationInput[];
|
|
560
|
+
connectOrCreate?: Prisma.IntegrationSyncLogCreateOrConnectWithoutOrganizationInput | Prisma.IntegrationSyncLogCreateOrConnectWithoutOrganizationInput[];
|
|
561
|
+
upsert?: Prisma.IntegrationSyncLogUpsertWithWhereUniqueWithoutOrganizationInput | Prisma.IntegrationSyncLogUpsertWithWhereUniqueWithoutOrganizationInput[];
|
|
562
|
+
createMany?: Prisma.IntegrationSyncLogCreateManyOrganizationInputEnvelope;
|
|
563
|
+
set?: Prisma.IntegrationSyncLogWhereUniqueInput | Prisma.IntegrationSyncLogWhereUniqueInput[];
|
|
564
|
+
disconnect?: Prisma.IntegrationSyncLogWhereUniqueInput | Prisma.IntegrationSyncLogWhereUniqueInput[];
|
|
565
|
+
delete?: Prisma.IntegrationSyncLogWhereUniqueInput | Prisma.IntegrationSyncLogWhereUniqueInput[];
|
|
566
|
+
connect?: Prisma.IntegrationSyncLogWhereUniqueInput | Prisma.IntegrationSyncLogWhereUniqueInput[];
|
|
567
|
+
update?: Prisma.IntegrationSyncLogUpdateWithWhereUniqueWithoutOrganizationInput | Prisma.IntegrationSyncLogUpdateWithWhereUniqueWithoutOrganizationInput[];
|
|
568
|
+
updateMany?: Prisma.IntegrationSyncLogUpdateManyWithWhereWithoutOrganizationInput | Prisma.IntegrationSyncLogUpdateManyWithWhereWithoutOrganizationInput[];
|
|
569
|
+
deleteMany?: Prisma.IntegrationSyncLogScalarWhereInput | Prisma.IntegrationSyncLogScalarWhereInput[];
|
|
570
|
+
};
|
|
571
|
+
export type IntegrationSyncLogCreateWithoutConnectionInput = {
|
|
572
|
+
id?: string;
|
|
573
|
+
provider: string;
|
|
574
|
+
eventType: string;
|
|
575
|
+
status?: $Enums.IntegrationSyncLogStatus;
|
|
576
|
+
startedAt?: Date | string | null;
|
|
577
|
+
completedAt?: Date | string | null;
|
|
578
|
+
durationMs?: number | null;
|
|
579
|
+
result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
580
|
+
error?: string | null;
|
|
581
|
+
triggeredBy?: string | null;
|
|
582
|
+
userId?: string | null;
|
|
583
|
+
createdAt?: Date | string;
|
|
584
|
+
organization: Prisma.OrganizationCreateNestedOneWithoutIntegrationSyncLogsInput;
|
|
585
|
+
};
|
|
586
|
+
export type IntegrationSyncLogUncheckedCreateWithoutConnectionInput = {
|
|
587
|
+
id?: string;
|
|
588
|
+
organizationId: string;
|
|
589
|
+
provider: string;
|
|
590
|
+
eventType: string;
|
|
591
|
+
status?: $Enums.IntegrationSyncLogStatus;
|
|
592
|
+
startedAt?: Date | string | null;
|
|
593
|
+
completedAt?: Date | string | null;
|
|
594
|
+
durationMs?: number | null;
|
|
595
|
+
result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
596
|
+
error?: string | null;
|
|
597
|
+
triggeredBy?: string | null;
|
|
598
|
+
userId?: string | null;
|
|
599
|
+
createdAt?: Date | string;
|
|
600
|
+
};
|
|
601
|
+
export type IntegrationSyncLogCreateOrConnectWithoutConnectionInput = {
|
|
602
|
+
where: Prisma.IntegrationSyncLogWhereUniqueInput;
|
|
603
|
+
create: Prisma.XOR<Prisma.IntegrationSyncLogCreateWithoutConnectionInput, Prisma.IntegrationSyncLogUncheckedCreateWithoutConnectionInput>;
|
|
604
|
+
};
|
|
605
|
+
export type IntegrationSyncLogCreateManyConnectionInputEnvelope = {
|
|
606
|
+
data: Prisma.IntegrationSyncLogCreateManyConnectionInput | Prisma.IntegrationSyncLogCreateManyConnectionInput[];
|
|
607
|
+
skipDuplicates?: boolean;
|
|
608
|
+
};
|
|
609
|
+
export type IntegrationSyncLogUpsertWithWhereUniqueWithoutConnectionInput = {
|
|
610
|
+
where: Prisma.IntegrationSyncLogWhereUniqueInput;
|
|
611
|
+
update: Prisma.XOR<Prisma.IntegrationSyncLogUpdateWithoutConnectionInput, Prisma.IntegrationSyncLogUncheckedUpdateWithoutConnectionInput>;
|
|
612
|
+
create: Prisma.XOR<Prisma.IntegrationSyncLogCreateWithoutConnectionInput, Prisma.IntegrationSyncLogUncheckedCreateWithoutConnectionInput>;
|
|
613
|
+
};
|
|
614
|
+
export type IntegrationSyncLogUpdateWithWhereUniqueWithoutConnectionInput = {
|
|
615
|
+
where: Prisma.IntegrationSyncLogWhereUniqueInput;
|
|
616
|
+
data: Prisma.XOR<Prisma.IntegrationSyncLogUpdateWithoutConnectionInput, Prisma.IntegrationSyncLogUncheckedUpdateWithoutConnectionInput>;
|
|
617
|
+
};
|
|
618
|
+
export type IntegrationSyncLogUpdateManyWithWhereWithoutConnectionInput = {
|
|
619
|
+
where: Prisma.IntegrationSyncLogScalarWhereInput;
|
|
620
|
+
data: Prisma.XOR<Prisma.IntegrationSyncLogUpdateManyMutationInput, Prisma.IntegrationSyncLogUncheckedUpdateManyWithoutConnectionInput>;
|
|
621
|
+
};
|
|
622
|
+
export type IntegrationSyncLogScalarWhereInput = {
|
|
623
|
+
AND?: Prisma.IntegrationSyncLogScalarWhereInput | Prisma.IntegrationSyncLogScalarWhereInput[];
|
|
624
|
+
OR?: Prisma.IntegrationSyncLogScalarWhereInput[];
|
|
625
|
+
NOT?: Prisma.IntegrationSyncLogScalarWhereInput | Prisma.IntegrationSyncLogScalarWhereInput[];
|
|
626
|
+
id?: Prisma.StringFilter<"IntegrationSyncLog"> | string;
|
|
627
|
+
connectionId?: Prisma.StringFilter<"IntegrationSyncLog"> | string;
|
|
628
|
+
organizationId?: Prisma.StringFilter<"IntegrationSyncLog"> | string;
|
|
629
|
+
provider?: Prisma.StringFilter<"IntegrationSyncLog"> | string;
|
|
630
|
+
eventType?: Prisma.StringFilter<"IntegrationSyncLog"> | string;
|
|
631
|
+
status?: Prisma.EnumIntegrationSyncLogStatusFilter<"IntegrationSyncLog"> | $Enums.IntegrationSyncLogStatus;
|
|
632
|
+
startedAt?: Prisma.DateTimeNullableFilter<"IntegrationSyncLog"> | Date | string | null;
|
|
633
|
+
completedAt?: Prisma.DateTimeNullableFilter<"IntegrationSyncLog"> | Date | string | null;
|
|
634
|
+
durationMs?: Prisma.IntNullableFilter<"IntegrationSyncLog"> | number | null;
|
|
635
|
+
result?: Prisma.JsonNullableFilter<"IntegrationSyncLog">;
|
|
636
|
+
error?: Prisma.StringNullableFilter<"IntegrationSyncLog"> | string | null;
|
|
637
|
+
triggeredBy?: Prisma.StringNullableFilter<"IntegrationSyncLog"> | string | null;
|
|
638
|
+
userId?: Prisma.StringNullableFilter<"IntegrationSyncLog"> | string | null;
|
|
639
|
+
createdAt?: Prisma.DateTimeFilter<"IntegrationSyncLog"> | Date | string;
|
|
640
|
+
};
|
|
641
|
+
export type IntegrationSyncLogCreateWithoutOrganizationInput = {
|
|
642
|
+
id?: string;
|
|
643
|
+
provider: string;
|
|
644
|
+
eventType: string;
|
|
645
|
+
status?: $Enums.IntegrationSyncLogStatus;
|
|
646
|
+
startedAt?: Date | string | null;
|
|
647
|
+
completedAt?: Date | string | null;
|
|
648
|
+
durationMs?: number | null;
|
|
649
|
+
result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
650
|
+
error?: string | null;
|
|
651
|
+
triggeredBy?: string | null;
|
|
652
|
+
userId?: string | null;
|
|
653
|
+
createdAt?: Date | string;
|
|
654
|
+
connection: Prisma.IntegrationConnectionCreateNestedOneWithoutSyncLogsInput;
|
|
655
|
+
};
|
|
656
|
+
export type IntegrationSyncLogUncheckedCreateWithoutOrganizationInput = {
|
|
657
|
+
id?: string;
|
|
658
|
+
connectionId: string;
|
|
659
|
+
provider: string;
|
|
660
|
+
eventType: string;
|
|
661
|
+
status?: $Enums.IntegrationSyncLogStatus;
|
|
662
|
+
startedAt?: Date | string | null;
|
|
663
|
+
completedAt?: Date | string | null;
|
|
664
|
+
durationMs?: number | null;
|
|
665
|
+
result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
666
|
+
error?: string | null;
|
|
667
|
+
triggeredBy?: string | null;
|
|
668
|
+
userId?: string | null;
|
|
669
|
+
createdAt?: Date | string;
|
|
670
|
+
};
|
|
671
|
+
export type IntegrationSyncLogCreateOrConnectWithoutOrganizationInput = {
|
|
672
|
+
where: Prisma.IntegrationSyncLogWhereUniqueInput;
|
|
673
|
+
create: Prisma.XOR<Prisma.IntegrationSyncLogCreateWithoutOrganizationInput, Prisma.IntegrationSyncLogUncheckedCreateWithoutOrganizationInput>;
|
|
674
|
+
};
|
|
675
|
+
export type IntegrationSyncLogCreateManyOrganizationInputEnvelope = {
|
|
676
|
+
data: Prisma.IntegrationSyncLogCreateManyOrganizationInput | Prisma.IntegrationSyncLogCreateManyOrganizationInput[];
|
|
677
|
+
skipDuplicates?: boolean;
|
|
678
|
+
};
|
|
679
|
+
export type IntegrationSyncLogUpsertWithWhereUniqueWithoutOrganizationInput = {
|
|
680
|
+
where: Prisma.IntegrationSyncLogWhereUniqueInput;
|
|
681
|
+
update: Prisma.XOR<Prisma.IntegrationSyncLogUpdateWithoutOrganizationInput, Prisma.IntegrationSyncLogUncheckedUpdateWithoutOrganizationInput>;
|
|
682
|
+
create: Prisma.XOR<Prisma.IntegrationSyncLogCreateWithoutOrganizationInput, Prisma.IntegrationSyncLogUncheckedCreateWithoutOrganizationInput>;
|
|
683
|
+
};
|
|
684
|
+
export type IntegrationSyncLogUpdateWithWhereUniqueWithoutOrganizationInput = {
|
|
685
|
+
where: Prisma.IntegrationSyncLogWhereUniqueInput;
|
|
686
|
+
data: Prisma.XOR<Prisma.IntegrationSyncLogUpdateWithoutOrganizationInput, Prisma.IntegrationSyncLogUncheckedUpdateWithoutOrganizationInput>;
|
|
687
|
+
};
|
|
688
|
+
export type IntegrationSyncLogUpdateManyWithWhereWithoutOrganizationInput = {
|
|
689
|
+
where: Prisma.IntegrationSyncLogScalarWhereInput;
|
|
690
|
+
data: Prisma.XOR<Prisma.IntegrationSyncLogUpdateManyMutationInput, Prisma.IntegrationSyncLogUncheckedUpdateManyWithoutOrganizationInput>;
|
|
691
|
+
};
|
|
692
|
+
export type IntegrationSyncLogCreateManyConnectionInput = {
|
|
693
|
+
id?: string;
|
|
694
|
+
organizationId: string;
|
|
695
|
+
provider: string;
|
|
696
|
+
eventType: string;
|
|
697
|
+
status?: $Enums.IntegrationSyncLogStatus;
|
|
698
|
+
startedAt?: Date | string | null;
|
|
699
|
+
completedAt?: Date | string | null;
|
|
700
|
+
durationMs?: number | null;
|
|
701
|
+
result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
702
|
+
error?: string | null;
|
|
703
|
+
triggeredBy?: string | null;
|
|
704
|
+
userId?: string | null;
|
|
705
|
+
createdAt?: Date | string;
|
|
706
|
+
};
|
|
707
|
+
export type IntegrationSyncLogUpdateWithoutConnectionInput = {
|
|
708
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
709
|
+
provider?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
710
|
+
eventType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
711
|
+
status?: Prisma.EnumIntegrationSyncLogStatusFieldUpdateOperationsInput | $Enums.IntegrationSyncLogStatus;
|
|
712
|
+
startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
713
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
714
|
+
durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
715
|
+
result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
716
|
+
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
717
|
+
triggeredBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
718
|
+
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
719
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
720
|
+
organization?: Prisma.OrganizationUpdateOneRequiredWithoutIntegrationSyncLogsNestedInput;
|
|
721
|
+
};
|
|
722
|
+
export type IntegrationSyncLogUncheckedUpdateWithoutConnectionInput = {
|
|
723
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
724
|
+
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
725
|
+
provider?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
726
|
+
eventType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
727
|
+
status?: Prisma.EnumIntegrationSyncLogStatusFieldUpdateOperationsInput | $Enums.IntegrationSyncLogStatus;
|
|
728
|
+
startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
729
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
730
|
+
durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
731
|
+
result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
732
|
+
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
733
|
+
triggeredBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
734
|
+
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
735
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
736
|
+
};
|
|
737
|
+
export type IntegrationSyncLogUncheckedUpdateManyWithoutConnectionInput = {
|
|
738
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
739
|
+
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
740
|
+
provider?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
741
|
+
eventType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
742
|
+
status?: Prisma.EnumIntegrationSyncLogStatusFieldUpdateOperationsInput | $Enums.IntegrationSyncLogStatus;
|
|
743
|
+
startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
744
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
745
|
+
durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
746
|
+
result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
747
|
+
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
748
|
+
triggeredBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
749
|
+
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
750
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
751
|
+
};
|
|
752
|
+
export type IntegrationSyncLogCreateManyOrganizationInput = {
|
|
753
|
+
id?: string;
|
|
754
|
+
connectionId: string;
|
|
755
|
+
provider: string;
|
|
756
|
+
eventType: string;
|
|
757
|
+
status?: $Enums.IntegrationSyncLogStatus;
|
|
758
|
+
startedAt?: Date | string | null;
|
|
759
|
+
completedAt?: Date | string | null;
|
|
760
|
+
durationMs?: number | null;
|
|
761
|
+
result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
762
|
+
error?: string | null;
|
|
763
|
+
triggeredBy?: string | null;
|
|
764
|
+
userId?: string | null;
|
|
765
|
+
createdAt?: Date | string;
|
|
766
|
+
};
|
|
767
|
+
export type IntegrationSyncLogUpdateWithoutOrganizationInput = {
|
|
768
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
769
|
+
provider?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
770
|
+
eventType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
771
|
+
status?: Prisma.EnumIntegrationSyncLogStatusFieldUpdateOperationsInput | $Enums.IntegrationSyncLogStatus;
|
|
772
|
+
startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
773
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
774
|
+
durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
775
|
+
result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
776
|
+
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
777
|
+
triggeredBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
778
|
+
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
779
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
780
|
+
connection?: Prisma.IntegrationConnectionUpdateOneRequiredWithoutSyncLogsNestedInput;
|
|
781
|
+
};
|
|
782
|
+
export type IntegrationSyncLogUncheckedUpdateWithoutOrganizationInput = {
|
|
783
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
784
|
+
connectionId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
785
|
+
provider?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
786
|
+
eventType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
787
|
+
status?: Prisma.EnumIntegrationSyncLogStatusFieldUpdateOperationsInput | $Enums.IntegrationSyncLogStatus;
|
|
788
|
+
startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
789
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
790
|
+
durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
791
|
+
result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
792
|
+
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
793
|
+
triggeredBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
794
|
+
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
795
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
796
|
+
};
|
|
797
|
+
export type IntegrationSyncLogUncheckedUpdateManyWithoutOrganizationInput = {
|
|
798
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
799
|
+
connectionId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
800
|
+
provider?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
801
|
+
eventType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
802
|
+
status?: Prisma.EnumIntegrationSyncLogStatusFieldUpdateOperationsInput | $Enums.IntegrationSyncLogStatus;
|
|
803
|
+
startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
804
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
805
|
+
durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
806
|
+
result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
807
|
+
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
808
|
+
triggeredBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
809
|
+
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
810
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
811
|
+
};
|
|
812
|
+
export type IntegrationSyncLogSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
813
|
+
id?: boolean;
|
|
814
|
+
connectionId?: boolean;
|
|
815
|
+
organizationId?: boolean;
|
|
816
|
+
provider?: boolean;
|
|
817
|
+
eventType?: boolean;
|
|
818
|
+
status?: boolean;
|
|
819
|
+
startedAt?: boolean;
|
|
820
|
+
completedAt?: boolean;
|
|
821
|
+
durationMs?: boolean;
|
|
822
|
+
result?: boolean;
|
|
823
|
+
error?: boolean;
|
|
824
|
+
triggeredBy?: boolean;
|
|
825
|
+
userId?: boolean;
|
|
826
|
+
createdAt?: boolean;
|
|
827
|
+
connection?: boolean | Prisma.IntegrationConnectionDefaultArgs<ExtArgs>;
|
|
828
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
829
|
+
}, ExtArgs["result"]["integrationSyncLog"]>;
|
|
830
|
+
export type IntegrationSyncLogSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
831
|
+
id?: boolean;
|
|
832
|
+
connectionId?: boolean;
|
|
833
|
+
organizationId?: boolean;
|
|
834
|
+
provider?: boolean;
|
|
835
|
+
eventType?: boolean;
|
|
836
|
+
status?: boolean;
|
|
837
|
+
startedAt?: boolean;
|
|
838
|
+
completedAt?: boolean;
|
|
839
|
+
durationMs?: boolean;
|
|
840
|
+
result?: boolean;
|
|
841
|
+
error?: boolean;
|
|
842
|
+
triggeredBy?: boolean;
|
|
843
|
+
userId?: boolean;
|
|
844
|
+
createdAt?: boolean;
|
|
845
|
+
connection?: boolean | Prisma.IntegrationConnectionDefaultArgs<ExtArgs>;
|
|
846
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
847
|
+
}, ExtArgs["result"]["integrationSyncLog"]>;
|
|
848
|
+
export type IntegrationSyncLogSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
849
|
+
id?: boolean;
|
|
850
|
+
connectionId?: boolean;
|
|
851
|
+
organizationId?: boolean;
|
|
852
|
+
provider?: boolean;
|
|
853
|
+
eventType?: boolean;
|
|
854
|
+
status?: boolean;
|
|
855
|
+
startedAt?: boolean;
|
|
856
|
+
completedAt?: boolean;
|
|
857
|
+
durationMs?: boolean;
|
|
858
|
+
result?: boolean;
|
|
859
|
+
error?: boolean;
|
|
860
|
+
triggeredBy?: boolean;
|
|
861
|
+
userId?: boolean;
|
|
862
|
+
createdAt?: boolean;
|
|
863
|
+
connection?: boolean | Prisma.IntegrationConnectionDefaultArgs<ExtArgs>;
|
|
864
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
865
|
+
}, ExtArgs["result"]["integrationSyncLog"]>;
|
|
866
|
+
export type IntegrationSyncLogSelectScalar = {
|
|
867
|
+
id?: boolean;
|
|
868
|
+
connectionId?: boolean;
|
|
869
|
+
organizationId?: boolean;
|
|
870
|
+
provider?: boolean;
|
|
871
|
+
eventType?: boolean;
|
|
872
|
+
status?: boolean;
|
|
873
|
+
startedAt?: boolean;
|
|
874
|
+
completedAt?: boolean;
|
|
875
|
+
durationMs?: boolean;
|
|
876
|
+
result?: boolean;
|
|
877
|
+
error?: boolean;
|
|
878
|
+
triggeredBy?: boolean;
|
|
879
|
+
userId?: boolean;
|
|
880
|
+
createdAt?: boolean;
|
|
881
|
+
};
|
|
882
|
+
export type IntegrationSyncLogOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "connectionId" | "organizationId" | "provider" | "eventType" | "status" | "startedAt" | "completedAt" | "durationMs" | "result" | "error" | "triggeredBy" | "userId" | "createdAt", ExtArgs["result"]["integrationSyncLog"]>;
|
|
883
|
+
export type IntegrationSyncLogInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
884
|
+
connection?: boolean | Prisma.IntegrationConnectionDefaultArgs<ExtArgs>;
|
|
885
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
886
|
+
};
|
|
887
|
+
export type IntegrationSyncLogIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
888
|
+
connection?: boolean | Prisma.IntegrationConnectionDefaultArgs<ExtArgs>;
|
|
889
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
890
|
+
};
|
|
891
|
+
export type IntegrationSyncLogIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
892
|
+
connection?: boolean | Prisma.IntegrationConnectionDefaultArgs<ExtArgs>;
|
|
893
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
894
|
+
};
|
|
895
|
+
export type $IntegrationSyncLogPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
896
|
+
name: "IntegrationSyncLog";
|
|
897
|
+
objects: {
|
|
898
|
+
connection: Prisma.$IntegrationConnectionPayload<ExtArgs>;
|
|
899
|
+
organization: Prisma.$OrganizationPayload<ExtArgs>;
|
|
900
|
+
};
|
|
901
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
902
|
+
id: string;
|
|
903
|
+
connectionId: string;
|
|
904
|
+
organizationId: string;
|
|
905
|
+
/**
|
|
906
|
+
* Provider slug (e.g., "ramp", "google-workspace", "rippling", "jumpcloud")
|
|
907
|
+
*/
|
|
908
|
+
provider: string;
|
|
909
|
+
/**
|
|
910
|
+
* Event type (e.g., "employee_sync", "role_discovery", "role_mapping_save")
|
|
911
|
+
*/
|
|
912
|
+
eventType: string;
|
|
913
|
+
/**
|
|
914
|
+
* Execution status
|
|
915
|
+
*/
|
|
916
|
+
status: $Enums.IntegrationSyncLogStatus;
|
|
917
|
+
/**
|
|
918
|
+
* When the operation started executing
|
|
919
|
+
*/
|
|
920
|
+
startedAt: Date | null;
|
|
921
|
+
/**
|
|
922
|
+
* When the operation completed (success or failure)
|
|
923
|
+
*/
|
|
924
|
+
completedAt: Date | null;
|
|
925
|
+
/**
|
|
926
|
+
* Duration in milliseconds
|
|
927
|
+
*/
|
|
928
|
+
durationMs: number | null;
|
|
929
|
+
/**
|
|
930
|
+
* Flexible result payload (e.g., { imported, deactivated, reactivated, skipped, errors })
|
|
931
|
+
*/
|
|
932
|
+
result: runtime.JsonValue | null;
|
|
933
|
+
/**
|
|
934
|
+
* Error message if failed
|
|
935
|
+
*/
|
|
936
|
+
error: string | null;
|
|
937
|
+
/**
|
|
938
|
+
* How the sync was triggered: "manual", "scheduled", "api"
|
|
939
|
+
*/
|
|
940
|
+
triggeredBy: string | null;
|
|
941
|
+
/**
|
|
942
|
+
* User who triggered the sync (null for automated/cron)
|
|
943
|
+
*/
|
|
944
|
+
userId: string | null;
|
|
945
|
+
createdAt: Date;
|
|
946
|
+
}, ExtArgs["result"]["integrationSyncLog"]>;
|
|
947
|
+
composites: {};
|
|
948
|
+
};
|
|
949
|
+
export type IntegrationSyncLogGetPayload<S extends boolean | null | undefined | IntegrationSyncLogDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$IntegrationSyncLogPayload, S>;
|
|
950
|
+
export type IntegrationSyncLogCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<IntegrationSyncLogFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
951
|
+
select?: IntegrationSyncLogCountAggregateInputType | true;
|
|
952
|
+
};
|
|
953
|
+
export interface IntegrationSyncLogDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
954
|
+
[K: symbol]: {
|
|
955
|
+
types: Prisma.TypeMap<ExtArgs>['model']['IntegrationSyncLog'];
|
|
956
|
+
meta: {
|
|
957
|
+
name: 'IntegrationSyncLog';
|
|
958
|
+
};
|
|
959
|
+
};
|
|
960
|
+
/**
|
|
961
|
+
* Find zero or one IntegrationSyncLog that matches the filter.
|
|
962
|
+
* @param {IntegrationSyncLogFindUniqueArgs} args - Arguments to find a IntegrationSyncLog
|
|
963
|
+
* @example
|
|
964
|
+
* // Get one IntegrationSyncLog
|
|
965
|
+
* const integrationSyncLog = await prisma.integrationSyncLog.findUnique({
|
|
966
|
+
* where: {
|
|
967
|
+
* // ... provide filter here
|
|
968
|
+
* }
|
|
969
|
+
* })
|
|
970
|
+
*/
|
|
971
|
+
findUnique<T extends IntegrationSyncLogFindUniqueArgs>(args: Prisma.SelectSubset<T, IntegrationSyncLogFindUniqueArgs<ExtArgs>>): Prisma.Prisma__IntegrationSyncLogClient<runtime.Types.Result.GetResult<Prisma.$IntegrationSyncLogPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
972
|
+
/**
|
|
973
|
+
* Find one IntegrationSyncLog that matches the filter or throw an error with `error.code='P2025'`
|
|
974
|
+
* if no matches were found.
|
|
975
|
+
* @param {IntegrationSyncLogFindUniqueOrThrowArgs} args - Arguments to find a IntegrationSyncLog
|
|
976
|
+
* @example
|
|
977
|
+
* // Get one IntegrationSyncLog
|
|
978
|
+
* const integrationSyncLog = await prisma.integrationSyncLog.findUniqueOrThrow({
|
|
979
|
+
* where: {
|
|
980
|
+
* // ... provide filter here
|
|
981
|
+
* }
|
|
982
|
+
* })
|
|
983
|
+
*/
|
|
984
|
+
findUniqueOrThrow<T extends IntegrationSyncLogFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, IntegrationSyncLogFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__IntegrationSyncLogClient<runtime.Types.Result.GetResult<Prisma.$IntegrationSyncLogPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
985
|
+
/**
|
|
986
|
+
* Find the first IntegrationSyncLog that matches the filter.
|
|
987
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
988
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
989
|
+
* @param {IntegrationSyncLogFindFirstArgs} args - Arguments to find a IntegrationSyncLog
|
|
990
|
+
* @example
|
|
991
|
+
* // Get one IntegrationSyncLog
|
|
992
|
+
* const integrationSyncLog = await prisma.integrationSyncLog.findFirst({
|
|
993
|
+
* where: {
|
|
994
|
+
* // ... provide filter here
|
|
995
|
+
* }
|
|
996
|
+
* })
|
|
997
|
+
*/
|
|
998
|
+
findFirst<T extends IntegrationSyncLogFindFirstArgs>(args?: Prisma.SelectSubset<T, IntegrationSyncLogFindFirstArgs<ExtArgs>>): Prisma.Prisma__IntegrationSyncLogClient<runtime.Types.Result.GetResult<Prisma.$IntegrationSyncLogPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
999
|
+
/**
|
|
1000
|
+
* Find the first IntegrationSyncLog that matches the filter or
|
|
1001
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
1002
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1003
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1004
|
+
* @param {IntegrationSyncLogFindFirstOrThrowArgs} args - Arguments to find a IntegrationSyncLog
|
|
1005
|
+
* @example
|
|
1006
|
+
* // Get one IntegrationSyncLog
|
|
1007
|
+
* const integrationSyncLog = await prisma.integrationSyncLog.findFirstOrThrow({
|
|
1008
|
+
* where: {
|
|
1009
|
+
* // ... provide filter here
|
|
1010
|
+
* }
|
|
1011
|
+
* })
|
|
1012
|
+
*/
|
|
1013
|
+
findFirstOrThrow<T extends IntegrationSyncLogFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, IntegrationSyncLogFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__IntegrationSyncLogClient<runtime.Types.Result.GetResult<Prisma.$IntegrationSyncLogPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1014
|
+
/**
|
|
1015
|
+
* Find zero or more IntegrationSyncLogs that matches the filter.
|
|
1016
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1017
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1018
|
+
* @param {IntegrationSyncLogFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
1019
|
+
* @example
|
|
1020
|
+
* // Get all IntegrationSyncLogs
|
|
1021
|
+
* const integrationSyncLogs = await prisma.integrationSyncLog.findMany()
|
|
1022
|
+
*
|
|
1023
|
+
* // Get first 10 IntegrationSyncLogs
|
|
1024
|
+
* const integrationSyncLogs = await prisma.integrationSyncLog.findMany({ take: 10 })
|
|
1025
|
+
*
|
|
1026
|
+
* // Only select the `id`
|
|
1027
|
+
* const integrationSyncLogWithIdOnly = await prisma.integrationSyncLog.findMany({ select: { id: true } })
|
|
1028
|
+
*
|
|
1029
|
+
*/
|
|
1030
|
+
findMany<T extends IntegrationSyncLogFindManyArgs>(args?: Prisma.SelectSubset<T, IntegrationSyncLogFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$IntegrationSyncLogPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
1031
|
+
/**
|
|
1032
|
+
* Create a IntegrationSyncLog.
|
|
1033
|
+
* @param {IntegrationSyncLogCreateArgs} args - Arguments to create a IntegrationSyncLog.
|
|
1034
|
+
* @example
|
|
1035
|
+
* // Create one IntegrationSyncLog
|
|
1036
|
+
* const IntegrationSyncLog = await prisma.integrationSyncLog.create({
|
|
1037
|
+
* data: {
|
|
1038
|
+
* // ... data to create a IntegrationSyncLog
|
|
1039
|
+
* }
|
|
1040
|
+
* })
|
|
1041
|
+
*
|
|
1042
|
+
*/
|
|
1043
|
+
create<T extends IntegrationSyncLogCreateArgs>(args: Prisma.SelectSubset<T, IntegrationSyncLogCreateArgs<ExtArgs>>): Prisma.Prisma__IntegrationSyncLogClient<runtime.Types.Result.GetResult<Prisma.$IntegrationSyncLogPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1044
|
+
/**
|
|
1045
|
+
* Create many IntegrationSyncLogs.
|
|
1046
|
+
* @param {IntegrationSyncLogCreateManyArgs} args - Arguments to create many IntegrationSyncLogs.
|
|
1047
|
+
* @example
|
|
1048
|
+
* // Create many IntegrationSyncLogs
|
|
1049
|
+
* const integrationSyncLog = await prisma.integrationSyncLog.createMany({
|
|
1050
|
+
* data: [
|
|
1051
|
+
* // ... provide data here
|
|
1052
|
+
* ]
|
|
1053
|
+
* })
|
|
1054
|
+
*
|
|
1055
|
+
*/
|
|
1056
|
+
createMany<T extends IntegrationSyncLogCreateManyArgs>(args?: Prisma.SelectSubset<T, IntegrationSyncLogCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1057
|
+
/**
|
|
1058
|
+
* Create many IntegrationSyncLogs and returns the data saved in the database.
|
|
1059
|
+
* @param {IntegrationSyncLogCreateManyAndReturnArgs} args - Arguments to create many IntegrationSyncLogs.
|
|
1060
|
+
* @example
|
|
1061
|
+
* // Create many IntegrationSyncLogs
|
|
1062
|
+
* const integrationSyncLog = await prisma.integrationSyncLog.createManyAndReturn({
|
|
1063
|
+
* data: [
|
|
1064
|
+
* // ... provide data here
|
|
1065
|
+
* ]
|
|
1066
|
+
* })
|
|
1067
|
+
*
|
|
1068
|
+
* // Create many IntegrationSyncLogs and only return the `id`
|
|
1069
|
+
* const integrationSyncLogWithIdOnly = await prisma.integrationSyncLog.createManyAndReturn({
|
|
1070
|
+
* select: { id: true },
|
|
1071
|
+
* data: [
|
|
1072
|
+
* // ... provide data here
|
|
1073
|
+
* ]
|
|
1074
|
+
* })
|
|
1075
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1076
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1077
|
+
*
|
|
1078
|
+
*/
|
|
1079
|
+
createManyAndReturn<T extends IntegrationSyncLogCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, IntegrationSyncLogCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$IntegrationSyncLogPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
1080
|
+
/**
|
|
1081
|
+
* Delete a IntegrationSyncLog.
|
|
1082
|
+
* @param {IntegrationSyncLogDeleteArgs} args - Arguments to delete one IntegrationSyncLog.
|
|
1083
|
+
* @example
|
|
1084
|
+
* // Delete one IntegrationSyncLog
|
|
1085
|
+
* const IntegrationSyncLog = await prisma.integrationSyncLog.delete({
|
|
1086
|
+
* where: {
|
|
1087
|
+
* // ... filter to delete one IntegrationSyncLog
|
|
1088
|
+
* }
|
|
1089
|
+
* })
|
|
1090
|
+
*
|
|
1091
|
+
*/
|
|
1092
|
+
delete<T extends IntegrationSyncLogDeleteArgs>(args: Prisma.SelectSubset<T, IntegrationSyncLogDeleteArgs<ExtArgs>>): Prisma.Prisma__IntegrationSyncLogClient<runtime.Types.Result.GetResult<Prisma.$IntegrationSyncLogPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1093
|
+
/**
|
|
1094
|
+
* Update one IntegrationSyncLog.
|
|
1095
|
+
* @param {IntegrationSyncLogUpdateArgs} args - Arguments to update one IntegrationSyncLog.
|
|
1096
|
+
* @example
|
|
1097
|
+
* // Update one IntegrationSyncLog
|
|
1098
|
+
* const integrationSyncLog = await prisma.integrationSyncLog.update({
|
|
1099
|
+
* where: {
|
|
1100
|
+
* // ... provide filter here
|
|
1101
|
+
* },
|
|
1102
|
+
* data: {
|
|
1103
|
+
* // ... provide data here
|
|
1104
|
+
* }
|
|
1105
|
+
* })
|
|
1106
|
+
*
|
|
1107
|
+
*/
|
|
1108
|
+
update<T extends IntegrationSyncLogUpdateArgs>(args: Prisma.SelectSubset<T, IntegrationSyncLogUpdateArgs<ExtArgs>>): Prisma.Prisma__IntegrationSyncLogClient<runtime.Types.Result.GetResult<Prisma.$IntegrationSyncLogPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1109
|
+
/**
|
|
1110
|
+
* Delete zero or more IntegrationSyncLogs.
|
|
1111
|
+
* @param {IntegrationSyncLogDeleteManyArgs} args - Arguments to filter IntegrationSyncLogs to delete.
|
|
1112
|
+
* @example
|
|
1113
|
+
* // Delete a few IntegrationSyncLogs
|
|
1114
|
+
* const { count } = await prisma.integrationSyncLog.deleteMany({
|
|
1115
|
+
* where: {
|
|
1116
|
+
* // ... provide filter here
|
|
1117
|
+
* }
|
|
1118
|
+
* })
|
|
1119
|
+
*
|
|
1120
|
+
*/
|
|
1121
|
+
deleteMany<T extends IntegrationSyncLogDeleteManyArgs>(args?: Prisma.SelectSubset<T, IntegrationSyncLogDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1122
|
+
/**
|
|
1123
|
+
* Update zero or more IntegrationSyncLogs.
|
|
1124
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1125
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1126
|
+
* @param {IntegrationSyncLogUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1127
|
+
* @example
|
|
1128
|
+
* // Update many IntegrationSyncLogs
|
|
1129
|
+
* const integrationSyncLog = await prisma.integrationSyncLog.updateMany({
|
|
1130
|
+
* where: {
|
|
1131
|
+
* // ... provide filter here
|
|
1132
|
+
* },
|
|
1133
|
+
* data: {
|
|
1134
|
+
* // ... provide data here
|
|
1135
|
+
* }
|
|
1136
|
+
* })
|
|
1137
|
+
*
|
|
1138
|
+
*/
|
|
1139
|
+
updateMany<T extends IntegrationSyncLogUpdateManyArgs>(args: Prisma.SelectSubset<T, IntegrationSyncLogUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1140
|
+
/**
|
|
1141
|
+
* Update zero or more IntegrationSyncLogs and returns the data updated in the database.
|
|
1142
|
+
* @param {IntegrationSyncLogUpdateManyAndReturnArgs} args - Arguments to update many IntegrationSyncLogs.
|
|
1143
|
+
* @example
|
|
1144
|
+
* // Update many IntegrationSyncLogs
|
|
1145
|
+
* const integrationSyncLog = await prisma.integrationSyncLog.updateManyAndReturn({
|
|
1146
|
+
* where: {
|
|
1147
|
+
* // ... provide filter here
|
|
1148
|
+
* },
|
|
1149
|
+
* data: [
|
|
1150
|
+
* // ... provide data here
|
|
1151
|
+
* ]
|
|
1152
|
+
* })
|
|
1153
|
+
*
|
|
1154
|
+
* // Update zero or more IntegrationSyncLogs and only return the `id`
|
|
1155
|
+
* const integrationSyncLogWithIdOnly = await prisma.integrationSyncLog.updateManyAndReturn({
|
|
1156
|
+
* select: { id: true },
|
|
1157
|
+
* where: {
|
|
1158
|
+
* // ... provide filter here
|
|
1159
|
+
* },
|
|
1160
|
+
* data: [
|
|
1161
|
+
* // ... provide data here
|
|
1162
|
+
* ]
|
|
1163
|
+
* })
|
|
1164
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1165
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1166
|
+
*
|
|
1167
|
+
*/
|
|
1168
|
+
updateManyAndReturn<T extends IntegrationSyncLogUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, IntegrationSyncLogUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$IntegrationSyncLogPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
1169
|
+
/**
|
|
1170
|
+
* Create or update one IntegrationSyncLog.
|
|
1171
|
+
* @param {IntegrationSyncLogUpsertArgs} args - Arguments to update or create a IntegrationSyncLog.
|
|
1172
|
+
* @example
|
|
1173
|
+
* // Update or create a IntegrationSyncLog
|
|
1174
|
+
* const integrationSyncLog = await prisma.integrationSyncLog.upsert({
|
|
1175
|
+
* create: {
|
|
1176
|
+
* // ... data to create a IntegrationSyncLog
|
|
1177
|
+
* },
|
|
1178
|
+
* update: {
|
|
1179
|
+
* // ... in case it already exists, update
|
|
1180
|
+
* },
|
|
1181
|
+
* where: {
|
|
1182
|
+
* // ... the filter for the IntegrationSyncLog we want to update
|
|
1183
|
+
* }
|
|
1184
|
+
* })
|
|
1185
|
+
*/
|
|
1186
|
+
upsert<T extends IntegrationSyncLogUpsertArgs>(args: Prisma.SelectSubset<T, IntegrationSyncLogUpsertArgs<ExtArgs>>): Prisma.Prisma__IntegrationSyncLogClient<runtime.Types.Result.GetResult<Prisma.$IntegrationSyncLogPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1187
|
+
/**
|
|
1188
|
+
* Count the number of IntegrationSyncLogs.
|
|
1189
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1190
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1191
|
+
* @param {IntegrationSyncLogCountArgs} args - Arguments to filter IntegrationSyncLogs to count.
|
|
1192
|
+
* @example
|
|
1193
|
+
* // Count the number of IntegrationSyncLogs
|
|
1194
|
+
* const count = await prisma.integrationSyncLog.count({
|
|
1195
|
+
* where: {
|
|
1196
|
+
* // ... the filter for the IntegrationSyncLogs we want to count
|
|
1197
|
+
* }
|
|
1198
|
+
* })
|
|
1199
|
+
**/
|
|
1200
|
+
count<T extends IntegrationSyncLogCountArgs>(args?: Prisma.Subset<T, IntegrationSyncLogCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], IntegrationSyncLogCountAggregateOutputType> : number>;
|
|
1201
|
+
/**
|
|
1202
|
+
* Allows you to perform aggregations operations on a IntegrationSyncLog.
|
|
1203
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1204
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1205
|
+
* @param {IntegrationSyncLogAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1206
|
+
* @example
|
|
1207
|
+
* // Ordered by age ascending
|
|
1208
|
+
* // Where email contains prisma.io
|
|
1209
|
+
* // Limited to the 10 users
|
|
1210
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1211
|
+
* _avg: {
|
|
1212
|
+
* age: true,
|
|
1213
|
+
* },
|
|
1214
|
+
* where: {
|
|
1215
|
+
* email: {
|
|
1216
|
+
* contains: "prisma.io",
|
|
1217
|
+
* },
|
|
1218
|
+
* },
|
|
1219
|
+
* orderBy: {
|
|
1220
|
+
* age: "asc",
|
|
1221
|
+
* },
|
|
1222
|
+
* take: 10,
|
|
1223
|
+
* })
|
|
1224
|
+
**/
|
|
1225
|
+
aggregate<T extends IntegrationSyncLogAggregateArgs>(args: Prisma.Subset<T, IntegrationSyncLogAggregateArgs>): Prisma.PrismaPromise<GetIntegrationSyncLogAggregateType<T>>;
|
|
1226
|
+
/**
|
|
1227
|
+
* Group by IntegrationSyncLog.
|
|
1228
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1229
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1230
|
+
* @param {IntegrationSyncLogGroupByArgs} args - Group by arguments.
|
|
1231
|
+
* @example
|
|
1232
|
+
* // Group by city, order by createdAt, get count
|
|
1233
|
+
* const result = await prisma.user.groupBy({
|
|
1234
|
+
* by: ['city', 'createdAt'],
|
|
1235
|
+
* orderBy: {
|
|
1236
|
+
* createdAt: true
|
|
1237
|
+
* },
|
|
1238
|
+
* _count: {
|
|
1239
|
+
* _all: true
|
|
1240
|
+
* },
|
|
1241
|
+
* })
|
|
1242
|
+
*
|
|
1243
|
+
**/
|
|
1244
|
+
groupBy<T extends IntegrationSyncLogGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
1245
|
+
orderBy: IntegrationSyncLogGroupByArgs['orderBy'];
|
|
1246
|
+
} : {
|
|
1247
|
+
orderBy?: IntegrationSyncLogGroupByArgs['orderBy'];
|
|
1248
|
+
}, 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 ? {
|
|
1249
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
1250
|
+
Error,
|
|
1251
|
+
'Field ',
|
|
1252
|
+
P,
|
|
1253
|
+
` in "having" needs to be provided in "by"`
|
|
1254
|
+
];
|
|
1255
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
1256
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1257
|
+
}[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 ? {} : {
|
|
1258
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1259
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
1260
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1261
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, IntegrationSyncLogGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetIntegrationSyncLogGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
1262
|
+
/**
|
|
1263
|
+
* Fields of the IntegrationSyncLog model
|
|
1264
|
+
*/
|
|
1265
|
+
readonly fields: IntegrationSyncLogFieldRefs;
|
|
1266
|
+
}
|
|
1267
|
+
/**
|
|
1268
|
+
* The delegate class that acts as a "Promise-like" for IntegrationSyncLog.
|
|
1269
|
+
* Why is this prefixed with `Prisma__`?
|
|
1270
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1271
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1272
|
+
*/
|
|
1273
|
+
export interface Prisma__IntegrationSyncLogClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1274
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1275
|
+
connection<T extends Prisma.IntegrationConnectionDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.IntegrationConnectionDefaultArgs<ExtArgs>>): Prisma.Prisma__IntegrationConnectionClient<runtime.Types.Result.GetResult<Prisma.$IntegrationConnectionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1276
|
+
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>;
|
|
1277
|
+
/**
|
|
1278
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1279
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1280
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1281
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1282
|
+
*/
|
|
1283
|
+
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>;
|
|
1284
|
+
/**
|
|
1285
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1286
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1287
|
+
* @returns A Promise for the completion of the callback.
|
|
1288
|
+
*/
|
|
1289
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
1290
|
+
/**
|
|
1291
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1292
|
+
* resolved value cannot be modified from the callback.
|
|
1293
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1294
|
+
* @returns A Promise for the completion of the callback.
|
|
1295
|
+
*/
|
|
1296
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
1297
|
+
}
|
|
1298
|
+
/**
|
|
1299
|
+
* Fields of the IntegrationSyncLog model
|
|
1300
|
+
*/
|
|
1301
|
+
export interface IntegrationSyncLogFieldRefs {
|
|
1302
|
+
readonly id: Prisma.FieldRef<"IntegrationSyncLog", 'String'>;
|
|
1303
|
+
readonly connectionId: Prisma.FieldRef<"IntegrationSyncLog", 'String'>;
|
|
1304
|
+
readonly organizationId: Prisma.FieldRef<"IntegrationSyncLog", 'String'>;
|
|
1305
|
+
readonly provider: Prisma.FieldRef<"IntegrationSyncLog", 'String'>;
|
|
1306
|
+
readonly eventType: Prisma.FieldRef<"IntegrationSyncLog", 'String'>;
|
|
1307
|
+
readonly status: Prisma.FieldRef<"IntegrationSyncLog", 'IntegrationSyncLogStatus'>;
|
|
1308
|
+
readonly startedAt: Prisma.FieldRef<"IntegrationSyncLog", 'DateTime'>;
|
|
1309
|
+
readonly completedAt: Prisma.FieldRef<"IntegrationSyncLog", 'DateTime'>;
|
|
1310
|
+
readonly durationMs: Prisma.FieldRef<"IntegrationSyncLog", 'Int'>;
|
|
1311
|
+
readonly result: Prisma.FieldRef<"IntegrationSyncLog", 'Json'>;
|
|
1312
|
+
readonly error: Prisma.FieldRef<"IntegrationSyncLog", 'String'>;
|
|
1313
|
+
readonly triggeredBy: Prisma.FieldRef<"IntegrationSyncLog", 'String'>;
|
|
1314
|
+
readonly userId: Prisma.FieldRef<"IntegrationSyncLog", 'String'>;
|
|
1315
|
+
readonly createdAt: Prisma.FieldRef<"IntegrationSyncLog", 'DateTime'>;
|
|
1316
|
+
}
|
|
1317
|
+
/**
|
|
1318
|
+
* IntegrationSyncLog findUnique
|
|
1319
|
+
*/
|
|
1320
|
+
export type IntegrationSyncLogFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1321
|
+
/**
|
|
1322
|
+
* Select specific fields to fetch from the IntegrationSyncLog
|
|
1323
|
+
*/
|
|
1324
|
+
select?: Prisma.IntegrationSyncLogSelect<ExtArgs> | null;
|
|
1325
|
+
/**
|
|
1326
|
+
* Omit specific fields from the IntegrationSyncLog
|
|
1327
|
+
*/
|
|
1328
|
+
omit?: Prisma.IntegrationSyncLogOmit<ExtArgs> | null;
|
|
1329
|
+
/**
|
|
1330
|
+
* Choose, which related nodes to fetch as well
|
|
1331
|
+
*/
|
|
1332
|
+
include?: Prisma.IntegrationSyncLogInclude<ExtArgs> | null;
|
|
1333
|
+
/**
|
|
1334
|
+
* Filter, which IntegrationSyncLog to fetch.
|
|
1335
|
+
*/
|
|
1336
|
+
where: Prisma.IntegrationSyncLogWhereUniqueInput;
|
|
1337
|
+
};
|
|
1338
|
+
/**
|
|
1339
|
+
* IntegrationSyncLog findUniqueOrThrow
|
|
1340
|
+
*/
|
|
1341
|
+
export type IntegrationSyncLogFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1342
|
+
/**
|
|
1343
|
+
* Select specific fields to fetch from the IntegrationSyncLog
|
|
1344
|
+
*/
|
|
1345
|
+
select?: Prisma.IntegrationSyncLogSelect<ExtArgs> | null;
|
|
1346
|
+
/**
|
|
1347
|
+
* Omit specific fields from the IntegrationSyncLog
|
|
1348
|
+
*/
|
|
1349
|
+
omit?: Prisma.IntegrationSyncLogOmit<ExtArgs> | null;
|
|
1350
|
+
/**
|
|
1351
|
+
* Choose, which related nodes to fetch as well
|
|
1352
|
+
*/
|
|
1353
|
+
include?: Prisma.IntegrationSyncLogInclude<ExtArgs> | null;
|
|
1354
|
+
/**
|
|
1355
|
+
* Filter, which IntegrationSyncLog to fetch.
|
|
1356
|
+
*/
|
|
1357
|
+
where: Prisma.IntegrationSyncLogWhereUniqueInput;
|
|
1358
|
+
};
|
|
1359
|
+
/**
|
|
1360
|
+
* IntegrationSyncLog findFirst
|
|
1361
|
+
*/
|
|
1362
|
+
export type IntegrationSyncLogFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1363
|
+
/**
|
|
1364
|
+
* Select specific fields to fetch from the IntegrationSyncLog
|
|
1365
|
+
*/
|
|
1366
|
+
select?: Prisma.IntegrationSyncLogSelect<ExtArgs> | null;
|
|
1367
|
+
/**
|
|
1368
|
+
* Omit specific fields from the IntegrationSyncLog
|
|
1369
|
+
*/
|
|
1370
|
+
omit?: Prisma.IntegrationSyncLogOmit<ExtArgs> | null;
|
|
1371
|
+
/**
|
|
1372
|
+
* Choose, which related nodes to fetch as well
|
|
1373
|
+
*/
|
|
1374
|
+
include?: Prisma.IntegrationSyncLogInclude<ExtArgs> | null;
|
|
1375
|
+
/**
|
|
1376
|
+
* Filter, which IntegrationSyncLog to fetch.
|
|
1377
|
+
*/
|
|
1378
|
+
where?: Prisma.IntegrationSyncLogWhereInput;
|
|
1379
|
+
/**
|
|
1380
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1381
|
+
*
|
|
1382
|
+
* Determine the order of IntegrationSyncLogs to fetch.
|
|
1383
|
+
*/
|
|
1384
|
+
orderBy?: Prisma.IntegrationSyncLogOrderByWithRelationInput | Prisma.IntegrationSyncLogOrderByWithRelationInput[];
|
|
1385
|
+
/**
|
|
1386
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1387
|
+
*
|
|
1388
|
+
* Sets the position for searching for IntegrationSyncLogs.
|
|
1389
|
+
*/
|
|
1390
|
+
cursor?: Prisma.IntegrationSyncLogWhereUniqueInput;
|
|
1391
|
+
/**
|
|
1392
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1393
|
+
*
|
|
1394
|
+
* Take `±n` IntegrationSyncLogs from the position of the cursor.
|
|
1395
|
+
*/
|
|
1396
|
+
take?: number;
|
|
1397
|
+
/**
|
|
1398
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1399
|
+
*
|
|
1400
|
+
* Skip the first `n` IntegrationSyncLogs.
|
|
1401
|
+
*/
|
|
1402
|
+
skip?: number;
|
|
1403
|
+
/**
|
|
1404
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1405
|
+
*
|
|
1406
|
+
* Filter by unique combinations of IntegrationSyncLogs.
|
|
1407
|
+
*/
|
|
1408
|
+
distinct?: Prisma.IntegrationSyncLogScalarFieldEnum | Prisma.IntegrationSyncLogScalarFieldEnum[];
|
|
1409
|
+
};
|
|
1410
|
+
/**
|
|
1411
|
+
* IntegrationSyncLog findFirstOrThrow
|
|
1412
|
+
*/
|
|
1413
|
+
export type IntegrationSyncLogFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1414
|
+
/**
|
|
1415
|
+
* Select specific fields to fetch from the IntegrationSyncLog
|
|
1416
|
+
*/
|
|
1417
|
+
select?: Prisma.IntegrationSyncLogSelect<ExtArgs> | null;
|
|
1418
|
+
/**
|
|
1419
|
+
* Omit specific fields from the IntegrationSyncLog
|
|
1420
|
+
*/
|
|
1421
|
+
omit?: Prisma.IntegrationSyncLogOmit<ExtArgs> | null;
|
|
1422
|
+
/**
|
|
1423
|
+
* Choose, which related nodes to fetch as well
|
|
1424
|
+
*/
|
|
1425
|
+
include?: Prisma.IntegrationSyncLogInclude<ExtArgs> | null;
|
|
1426
|
+
/**
|
|
1427
|
+
* Filter, which IntegrationSyncLog to fetch.
|
|
1428
|
+
*/
|
|
1429
|
+
where?: Prisma.IntegrationSyncLogWhereInput;
|
|
1430
|
+
/**
|
|
1431
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1432
|
+
*
|
|
1433
|
+
* Determine the order of IntegrationSyncLogs to fetch.
|
|
1434
|
+
*/
|
|
1435
|
+
orderBy?: Prisma.IntegrationSyncLogOrderByWithRelationInput | Prisma.IntegrationSyncLogOrderByWithRelationInput[];
|
|
1436
|
+
/**
|
|
1437
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1438
|
+
*
|
|
1439
|
+
* Sets the position for searching for IntegrationSyncLogs.
|
|
1440
|
+
*/
|
|
1441
|
+
cursor?: Prisma.IntegrationSyncLogWhereUniqueInput;
|
|
1442
|
+
/**
|
|
1443
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1444
|
+
*
|
|
1445
|
+
* Take `±n` IntegrationSyncLogs from the position of the cursor.
|
|
1446
|
+
*/
|
|
1447
|
+
take?: number;
|
|
1448
|
+
/**
|
|
1449
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1450
|
+
*
|
|
1451
|
+
* Skip the first `n` IntegrationSyncLogs.
|
|
1452
|
+
*/
|
|
1453
|
+
skip?: number;
|
|
1454
|
+
/**
|
|
1455
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1456
|
+
*
|
|
1457
|
+
* Filter by unique combinations of IntegrationSyncLogs.
|
|
1458
|
+
*/
|
|
1459
|
+
distinct?: Prisma.IntegrationSyncLogScalarFieldEnum | Prisma.IntegrationSyncLogScalarFieldEnum[];
|
|
1460
|
+
};
|
|
1461
|
+
/**
|
|
1462
|
+
* IntegrationSyncLog findMany
|
|
1463
|
+
*/
|
|
1464
|
+
export type IntegrationSyncLogFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1465
|
+
/**
|
|
1466
|
+
* Select specific fields to fetch from the IntegrationSyncLog
|
|
1467
|
+
*/
|
|
1468
|
+
select?: Prisma.IntegrationSyncLogSelect<ExtArgs> | null;
|
|
1469
|
+
/**
|
|
1470
|
+
* Omit specific fields from the IntegrationSyncLog
|
|
1471
|
+
*/
|
|
1472
|
+
omit?: Prisma.IntegrationSyncLogOmit<ExtArgs> | null;
|
|
1473
|
+
/**
|
|
1474
|
+
* Choose, which related nodes to fetch as well
|
|
1475
|
+
*/
|
|
1476
|
+
include?: Prisma.IntegrationSyncLogInclude<ExtArgs> | null;
|
|
1477
|
+
/**
|
|
1478
|
+
* Filter, which IntegrationSyncLogs to fetch.
|
|
1479
|
+
*/
|
|
1480
|
+
where?: Prisma.IntegrationSyncLogWhereInput;
|
|
1481
|
+
/**
|
|
1482
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1483
|
+
*
|
|
1484
|
+
* Determine the order of IntegrationSyncLogs to fetch.
|
|
1485
|
+
*/
|
|
1486
|
+
orderBy?: Prisma.IntegrationSyncLogOrderByWithRelationInput | Prisma.IntegrationSyncLogOrderByWithRelationInput[];
|
|
1487
|
+
/**
|
|
1488
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1489
|
+
*
|
|
1490
|
+
* Sets the position for listing IntegrationSyncLogs.
|
|
1491
|
+
*/
|
|
1492
|
+
cursor?: Prisma.IntegrationSyncLogWhereUniqueInput;
|
|
1493
|
+
/**
|
|
1494
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1495
|
+
*
|
|
1496
|
+
* Take `±n` IntegrationSyncLogs from the position of the cursor.
|
|
1497
|
+
*/
|
|
1498
|
+
take?: number;
|
|
1499
|
+
/**
|
|
1500
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1501
|
+
*
|
|
1502
|
+
* Skip the first `n` IntegrationSyncLogs.
|
|
1503
|
+
*/
|
|
1504
|
+
skip?: number;
|
|
1505
|
+
/**
|
|
1506
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1507
|
+
*
|
|
1508
|
+
* Filter by unique combinations of IntegrationSyncLogs.
|
|
1509
|
+
*/
|
|
1510
|
+
distinct?: Prisma.IntegrationSyncLogScalarFieldEnum | Prisma.IntegrationSyncLogScalarFieldEnum[];
|
|
1511
|
+
};
|
|
1512
|
+
/**
|
|
1513
|
+
* IntegrationSyncLog create
|
|
1514
|
+
*/
|
|
1515
|
+
export type IntegrationSyncLogCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1516
|
+
/**
|
|
1517
|
+
* Select specific fields to fetch from the IntegrationSyncLog
|
|
1518
|
+
*/
|
|
1519
|
+
select?: Prisma.IntegrationSyncLogSelect<ExtArgs> | null;
|
|
1520
|
+
/**
|
|
1521
|
+
* Omit specific fields from the IntegrationSyncLog
|
|
1522
|
+
*/
|
|
1523
|
+
omit?: Prisma.IntegrationSyncLogOmit<ExtArgs> | null;
|
|
1524
|
+
/**
|
|
1525
|
+
* Choose, which related nodes to fetch as well
|
|
1526
|
+
*/
|
|
1527
|
+
include?: Prisma.IntegrationSyncLogInclude<ExtArgs> | null;
|
|
1528
|
+
/**
|
|
1529
|
+
* The data needed to create a IntegrationSyncLog.
|
|
1530
|
+
*/
|
|
1531
|
+
data: Prisma.XOR<Prisma.IntegrationSyncLogCreateInput, Prisma.IntegrationSyncLogUncheckedCreateInput>;
|
|
1532
|
+
};
|
|
1533
|
+
/**
|
|
1534
|
+
* IntegrationSyncLog createMany
|
|
1535
|
+
*/
|
|
1536
|
+
export type IntegrationSyncLogCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1537
|
+
/**
|
|
1538
|
+
* The data used to create many IntegrationSyncLogs.
|
|
1539
|
+
*/
|
|
1540
|
+
data: Prisma.IntegrationSyncLogCreateManyInput | Prisma.IntegrationSyncLogCreateManyInput[];
|
|
1541
|
+
skipDuplicates?: boolean;
|
|
1542
|
+
};
|
|
1543
|
+
/**
|
|
1544
|
+
* IntegrationSyncLog createManyAndReturn
|
|
1545
|
+
*/
|
|
1546
|
+
export type IntegrationSyncLogCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1547
|
+
/**
|
|
1548
|
+
* Select specific fields to fetch from the IntegrationSyncLog
|
|
1549
|
+
*/
|
|
1550
|
+
select?: Prisma.IntegrationSyncLogSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1551
|
+
/**
|
|
1552
|
+
* Omit specific fields from the IntegrationSyncLog
|
|
1553
|
+
*/
|
|
1554
|
+
omit?: Prisma.IntegrationSyncLogOmit<ExtArgs> | null;
|
|
1555
|
+
/**
|
|
1556
|
+
* The data used to create many IntegrationSyncLogs.
|
|
1557
|
+
*/
|
|
1558
|
+
data: Prisma.IntegrationSyncLogCreateManyInput | Prisma.IntegrationSyncLogCreateManyInput[];
|
|
1559
|
+
skipDuplicates?: boolean;
|
|
1560
|
+
/**
|
|
1561
|
+
* Choose, which related nodes to fetch as well
|
|
1562
|
+
*/
|
|
1563
|
+
include?: Prisma.IntegrationSyncLogIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1564
|
+
};
|
|
1565
|
+
/**
|
|
1566
|
+
* IntegrationSyncLog update
|
|
1567
|
+
*/
|
|
1568
|
+
export type IntegrationSyncLogUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1569
|
+
/**
|
|
1570
|
+
* Select specific fields to fetch from the IntegrationSyncLog
|
|
1571
|
+
*/
|
|
1572
|
+
select?: Prisma.IntegrationSyncLogSelect<ExtArgs> | null;
|
|
1573
|
+
/**
|
|
1574
|
+
* Omit specific fields from the IntegrationSyncLog
|
|
1575
|
+
*/
|
|
1576
|
+
omit?: Prisma.IntegrationSyncLogOmit<ExtArgs> | null;
|
|
1577
|
+
/**
|
|
1578
|
+
* Choose, which related nodes to fetch as well
|
|
1579
|
+
*/
|
|
1580
|
+
include?: Prisma.IntegrationSyncLogInclude<ExtArgs> | null;
|
|
1581
|
+
/**
|
|
1582
|
+
* The data needed to update a IntegrationSyncLog.
|
|
1583
|
+
*/
|
|
1584
|
+
data: Prisma.XOR<Prisma.IntegrationSyncLogUpdateInput, Prisma.IntegrationSyncLogUncheckedUpdateInput>;
|
|
1585
|
+
/**
|
|
1586
|
+
* Choose, which IntegrationSyncLog to update.
|
|
1587
|
+
*/
|
|
1588
|
+
where: Prisma.IntegrationSyncLogWhereUniqueInput;
|
|
1589
|
+
};
|
|
1590
|
+
/**
|
|
1591
|
+
* IntegrationSyncLog updateMany
|
|
1592
|
+
*/
|
|
1593
|
+
export type IntegrationSyncLogUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1594
|
+
/**
|
|
1595
|
+
* The data used to update IntegrationSyncLogs.
|
|
1596
|
+
*/
|
|
1597
|
+
data: Prisma.XOR<Prisma.IntegrationSyncLogUpdateManyMutationInput, Prisma.IntegrationSyncLogUncheckedUpdateManyInput>;
|
|
1598
|
+
/**
|
|
1599
|
+
* Filter which IntegrationSyncLogs to update
|
|
1600
|
+
*/
|
|
1601
|
+
where?: Prisma.IntegrationSyncLogWhereInput;
|
|
1602
|
+
/**
|
|
1603
|
+
* Limit how many IntegrationSyncLogs to update.
|
|
1604
|
+
*/
|
|
1605
|
+
limit?: number;
|
|
1606
|
+
};
|
|
1607
|
+
/**
|
|
1608
|
+
* IntegrationSyncLog updateManyAndReturn
|
|
1609
|
+
*/
|
|
1610
|
+
export type IntegrationSyncLogUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1611
|
+
/**
|
|
1612
|
+
* Select specific fields to fetch from the IntegrationSyncLog
|
|
1613
|
+
*/
|
|
1614
|
+
select?: Prisma.IntegrationSyncLogSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1615
|
+
/**
|
|
1616
|
+
* Omit specific fields from the IntegrationSyncLog
|
|
1617
|
+
*/
|
|
1618
|
+
omit?: Prisma.IntegrationSyncLogOmit<ExtArgs> | null;
|
|
1619
|
+
/**
|
|
1620
|
+
* The data used to update IntegrationSyncLogs.
|
|
1621
|
+
*/
|
|
1622
|
+
data: Prisma.XOR<Prisma.IntegrationSyncLogUpdateManyMutationInput, Prisma.IntegrationSyncLogUncheckedUpdateManyInput>;
|
|
1623
|
+
/**
|
|
1624
|
+
* Filter which IntegrationSyncLogs to update
|
|
1625
|
+
*/
|
|
1626
|
+
where?: Prisma.IntegrationSyncLogWhereInput;
|
|
1627
|
+
/**
|
|
1628
|
+
* Limit how many IntegrationSyncLogs to update.
|
|
1629
|
+
*/
|
|
1630
|
+
limit?: number;
|
|
1631
|
+
/**
|
|
1632
|
+
* Choose, which related nodes to fetch as well
|
|
1633
|
+
*/
|
|
1634
|
+
include?: Prisma.IntegrationSyncLogIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1635
|
+
};
|
|
1636
|
+
/**
|
|
1637
|
+
* IntegrationSyncLog upsert
|
|
1638
|
+
*/
|
|
1639
|
+
export type IntegrationSyncLogUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1640
|
+
/**
|
|
1641
|
+
* Select specific fields to fetch from the IntegrationSyncLog
|
|
1642
|
+
*/
|
|
1643
|
+
select?: Prisma.IntegrationSyncLogSelect<ExtArgs> | null;
|
|
1644
|
+
/**
|
|
1645
|
+
* Omit specific fields from the IntegrationSyncLog
|
|
1646
|
+
*/
|
|
1647
|
+
omit?: Prisma.IntegrationSyncLogOmit<ExtArgs> | null;
|
|
1648
|
+
/**
|
|
1649
|
+
* Choose, which related nodes to fetch as well
|
|
1650
|
+
*/
|
|
1651
|
+
include?: Prisma.IntegrationSyncLogInclude<ExtArgs> | null;
|
|
1652
|
+
/**
|
|
1653
|
+
* The filter to search for the IntegrationSyncLog to update in case it exists.
|
|
1654
|
+
*/
|
|
1655
|
+
where: Prisma.IntegrationSyncLogWhereUniqueInput;
|
|
1656
|
+
/**
|
|
1657
|
+
* In case the IntegrationSyncLog found by the `where` argument doesn't exist, create a new IntegrationSyncLog with this data.
|
|
1658
|
+
*/
|
|
1659
|
+
create: Prisma.XOR<Prisma.IntegrationSyncLogCreateInput, Prisma.IntegrationSyncLogUncheckedCreateInput>;
|
|
1660
|
+
/**
|
|
1661
|
+
* In case the IntegrationSyncLog was found with the provided `where` argument, update it with this data.
|
|
1662
|
+
*/
|
|
1663
|
+
update: Prisma.XOR<Prisma.IntegrationSyncLogUpdateInput, Prisma.IntegrationSyncLogUncheckedUpdateInput>;
|
|
1664
|
+
};
|
|
1665
|
+
/**
|
|
1666
|
+
* IntegrationSyncLog delete
|
|
1667
|
+
*/
|
|
1668
|
+
export type IntegrationSyncLogDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1669
|
+
/**
|
|
1670
|
+
* Select specific fields to fetch from the IntegrationSyncLog
|
|
1671
|
+
*/
|
|
1672
|
+
select?: Prisma.IntegrationSyncLogSelect<ExtArgs> | null;
|
|
1673
|
+
/**
|
|
1674
|
+
* Omit specific fields from the IntegrationSyncLog
|
|
1675
|
+
*/
|
|
1676
|
+
omit?: Prisma.IntegrationSyncLogOmit<ExtArgs> | null;
|
|
1677
|
+
/**
|
|
1678
|
+
* Choose, which related nodes to fetch as well
|
|
1679
|
+
*/
|
|
1680
|
+
include?: Prisma.IntegrationSyncLogInclude<ExtArgs> | null;
|
|
1681
|
+
/**
|
|
1682
|
+
* Filter which IntegrationSyncLog to delete.
|
|
1683
|
+
*/
|
|
1684
|
+
where: Prisma.IntegrationSyncLogWhereUniqueInput;
|
|
1685
|
+
};
|
|
1686
|
+
/**
|
|
1687
|
+
* IntegrationSyncLog deleteMany
|
|
1688
|
+
*/
|
|
1689
|
+
export type IntegrationSyncLogDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1690
|
+
/**
|
|
1691
|
+
* Filter which IntegrationSyncLogs to delete
|
|
1692
|
+
*/
|
|
1693
|
+
where?: Prisma.IntegrationSyncLogWhereInput;
|
|
1694
|
+
/**
|
|
1695
|
+
* Limit how many IntegrationSyncLogs to delete.
|
|
1696
|
+
*/
|
|
1697
|
+
limit?: number;
|
|
1698
|
+
};
|
|
1699
|
+
/**
|
|
1700
|
+
* IntegrationSyncLog without action
|
|
1701
|
+
*/
|
|
1702
|
+
export type IntegrationSyncLogDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1703
|
+
/**
|
|
1704
|
+
* Select specific fields to fetch from the IntegrationSyncLog
|
|
1705
|
+
*/
|
|
1706
|
+
select?: Prisma.IntegrationSyncLogSelect<ExtArgs> | null;
|
|
1707
|
+
/**
|
|
1708
|
+
* Omit specific fields from the IntegrationSyncLog
|
|
1709
|
+
*/
|
|
1710
|
+
omit?: Prisma.IntegrationSyncLogOmit<ExtArgs> | null;
|
|
1711
|
+
/**
|
|
1712
|
+
* Choose, which related nodes to fetch as well
|
|
1713
|
+
*/
|
|
1714
|
+
include?: Prisma.IntegrationSyncLogInclude<ExtArgs> | null;
|
|
1715
|
+
};
|
|
1716
|
+
//# sourceMappingURL=IntegrationSyncLog.d.ts.map
|