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