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