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