@allbluecn/database 0.4.0 → 0.4.1
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/desktop-init.ts +128 -0
- package/generated/browser.ts +494 -0
- package/generated/client.ts +518 -0
- package/generated/commonInputTypes.ts +1056 -0
- package/generated/enums.ts +93 -0
- package/generated/internal/class.ts +1144 -0
- package/generated/internal/prismaNamespace.ts +9603 -0
- package/generated/internal/prismaNamespaceBrowser.ts +1695 -0
- package/generated/models/Account.ts +1648 -0
- package/generated/models/AgentConversation.ts +1651 -0
- package/generated/models/AgentMessage.ts +1409 -0
- package/generated/models/AiProvider.ts +1607 -0
- package/generated/models/AiProviderConfig.ts +1514 -0
- package/generated/models/AiUsageLog.ts +1863 -0
- package/generated/models/AnyHubApp.ts +1911 -0
- package/generated/models/AnyHubMarketApp.ts +2008 -0
- package/generated/models/AnyHubPermission.ts +1422 -0
- package/generated/models/AnyHubRecommendation.ts +1870 -0
- package/generated/models/AnyHubRecommender.ts +1471 -0
- package/generated/models/Artboard.ts +1811 -0
- package/generated/models/ArtboardExport.ts +1548 -0
- package/generated/models/ArticleFavorite.ts +1352 -0
- package/generated/models/AuditLog.ts +1533 -0
- package/generated/models/Block.ts +1650 -0
- package/generated/models/BlockComponent.ts +1734 -0
- package/generated/models/BlockInstance.ts +2043 -0
- package/generated/models/BookmarkCategory.ts +1670 -0
- package/generated/models/ChatInterrupt.ts +1699 -0
- package/generated/models/ChatMessage.ts +1438 -0
- package/generated/models/ChatRun.ts +1632 -0
- package/generated/models/ChatThread.ts +2133 -0
- package/generated/models/Comment.ts +2206 -0
- package/generated/models/CommentIgnore.ts +1430 -0
- package/generated/models/CommentReaction.ts +1472 -0
- package/generated/models/ComplianceExport.ts +1345 -0
- package/generated/models/Component.ts +2345 -0
- package/generated/models/ComponentInstance.ts +2102 -0
- package/generated/models/ComponentTag.ts +1281 -0
- package/generated/models/CustomRole.ts +1560 -0
- package/generated/models/DesignProject.ts +1643 -0
- package/generated/models/DictionaryTerm.ts +1642 -0
- package/generated/models/GenerationRun.ts +1543 -0
- package/generated/models/IndustryCompliance.ts +1797 -0
- package/generated/models/InvitationCode.ts +1417 -0
- package/generated/models/InvitationUse.ts +1424 -0
- package/generated/models/Invoice.ts +1710 -0
- package/generated/models/KnowledgeBase.ts +1671 -0
- package/generated/models/KnowledgeDocument.ts +2458 -0
- package/generated/models/KnowledgeShareRecord.ts +1352 -0
- package/generated/models/Label.ts +1482 -0
- package/generated/models/LegalRegulation.ts +1873 -0
- package/generated/models/LicenseActivation.ts +1415 -0
- package/generated/models/LicenseKey.ts +1884 -0
- package/generated/models/LoginLog.ts +1450 -0
- package/generated/models/MonitoringErrorReport.ts +1299 -0
- package/generated/models/MonitoringHealthSnapshot.ts +1249 -0
- package/generated/models/MonitoringMetricsSnapshot.ts +1369 -0
- package/generated/models/MonitoringRequestLog.ts +1283 -0
- package/generated/models/PRD.ts +2805 -0
- package/generated/models/PRDPage.ts +2402 -0
- package/generated/models/PRDTag.ts +1430 -0
- package/generated/models/PRDVersion.ts +2121 -0
- package/generated/models/PageVersion.ts +1523 -0
- package/generated/models/PasswordResetToken.ts +1380 -0
- package/generated/models/Plan.ts +2069 -0
- package/generated/models/Project.ts +2148 -0
- package/generated/models/ProjectActivity.ts +1582 -0
- package/generated/models/ProjectMember.ts +1512 -0
- package/generated/models/ProviderEvent.ts +1227 -0
- package/generated/models/Reference.ts +1177 -0
- package/generated/models/Review.ts +1912 -0
- package/generated/models/ReviewComment.ts +1904 -0
- package/generated/models/RoleAssignment.ts +1430 -0
- package/generated/models/SequenceCounter.ts +1137 -0
- package/generated/models/Share.ts +1681 -0
- package/generated/models/ShareVersion.ts +1389 -0
- package/generated/models/SsoMapping.ts +1512 -0
- package/generated/models/SsoProvider.ts +1639 -0
- package/generated/models/Story.ts +5234 -0
- package/generated/models/StoryActivity.ts +1664 -0
- package/generated/models/StoryAttachment.ts +1467 -0
- package/generated/models/StoryComment.ts +1992 -0
- package/generated/models/StoryDependency.ts +1517 -0
- package/generated/models/StoryDocLink.ts +1430 -0
- package/generated/models/StoryFilterView.ts +1587 -0
- package/generated/models/StoryLabel.ts +1349 -0
- package/generated/models/StoryLink.ts +1415 -0
- package/generated/models/StoryPrdLink.ts +1430 -0
- package/generated/models/StoryReaction.ts +1472 -0
- package/generated/models/Subscription.ts +2147 -0
- package/generated/models/SystemSetting.ts +1217 -0
- package/generated/models/Tag.ts +1655 -0
- package/generated/models/TeamInvitation.ts +1526 -0
- package/generated/models/TeamMembership.ts +1436 -0
- package/generated/models/Template.ts +1391 -0
- package/generated/models/TemplateBlock.ts +1664 -0
- package/generated/models/ThirdPartyDependency.ts +1473 -0
- package/generated/models/UsageRecord.ts +1505 -0
- package/generated/models/User.ts +20998 -0
- package/generated/models/UserAgent.ts +1900 -0
- package/generated/models/UserSkill.ts +1456 -0
- package/generated/models/WebsiteBookmark.ts +2219 -0
- package/generated/models/Workspace.ts +2279 -0
- package/generated/models.ts +106 -0
- package/generated-sqlite/browser.ts +399 -0
- package/generated-sqlite/client.ts +423 -0
- package/generated-sqlite/commonInputTypes.ts +608 -0
- package/generated-sqlite/enums.ts +15 -0
- package/generated-sqlite/internal/class.ts +954 -0
- package/generated-sqlite/internal/prismaNamespace.ts +7716 -0
- package/generated-sqlite/internal/prismaNamespaceBrowser.ts +1415 -0
- package/generated-sqlite/models/AgentConversation.ts +1647 -0
- package/generated-sqlite/models/AgentMessage.ts +1406 -0
- package/generated-sqlite/models/AiProvider.ts +1605 -0
- package/generated-sqlite/models/AiProviderConfig.ts +1511 -0
- package/generated-sqlite/models/AiUsageLog.ts +1845 -0
- package/generated-sqlite/models/AnyHubApp.ts +1908 -0
- package/generated-sqlite/models/AnyHubMarketApp.ts +1997 -0
- package/generated-sqlite/models/AnyHubPermission.ts +1419 -0
- package/generated-sqlite/models/AnyHubRecommendation.ts +1867 -0
- package/generated-sqlite/models/AnyHubRecommender.ts +1467 -0
- package/generated-sqlite/models/Artboard.ts +1808 -0
- package/generated-sqlite/models/ArtboardExport.ts +1545 -0
- package/generated-sqlite/models/ArticleFavorite.ts +1349 -0
- package/generated-sqlite/models/AuditLog.ts +1287 -0
- package/generated-sqlite/models/Block.ts +1648 -0
- package/generated-sqlite/models/BlockComponent.ts +1730 -0
- package/generated-sqlite/models/BlockInstance.ts +2039 -0
- package/generated-sqlite/models/BookmarkCategory.ts +1667 -0
- package/generated-sqlite/models/ChatInterrupt.ts +1695 -0
- package/generated-sqlite/models/ChatMessage.ts +1435 -0
- package/generated-sqlite/models/ChatRun.ts +1629 -0
- package/generated-sqlite/models/ChatThread.ts +2129 -0
- package/generated-sqlite/models/Comment.ts +2201 -0
- package/generated-sqlite/models/CommentIgnore.ts +1426 -0
- package/generated-sqlite/models/ComplianceExport.ts +1343 -0
- package/generated-sqlite/models/Component.ts +2326 -0
- package/generated-sqlite/models/ComponentInstance.ts +2097 -0
- package/generated-sqlite/models/ComponentTag.ts +1278 -0
- package/generated-sqlite/models/CustomRole.ts +1209 -0
- package/generated-sqlite/models/DesignProject.ts +1640 -0
- package/generated-sqlite/models/DictionaryTerm.ts +1639 -0
- package/generated-sqlite/models/GenerationRun.ts +1540 -0
- package/generated-sqlite/models/IndustryCompliance.ts +1794 -0
- package/generated-sqlite/models/InvitationCode.ts +1415 -0
- package/generated-sqlite/models/InvitationUse.ts +1420 -0
- package/generated-sqlite/models/Invoice.ts +1707 -0
- package/generated-sqlite/models/KnowledgeBase.ts +1668 -0
- package/generated-sqlite/models/KnowledgeDocument.ts +2282 -0
- package/generated-sqlite/models/KnowledgeShareRecord.ts +1349 -0
- package/generated-sqlite/models/LegalRegulation.ts +1870 -0
- package/generated-sqlite/models/LicenseActivation.ts +1203 -0
- package/generated-sqlite/models/LicenseKey.ts +1443 -0
- package/generated-sqlite/models/LoginLog.ts +1447 -0
- package/generated-sqlite/models/PRD.ts +2616 -0
- package/generated-sqlite/models/PRDPage.ts +2398 -0
- package/generated-sqlite/models/PRDTag.ts +1426 -0
- package/generated-sqlite/models/PRDVersion.ts +2117 -0
- package/generated-sqlite/models/PageVersion.ts +1528 -0
- package/generated-sqlite/models/PasswordResetToken.ts +1377 -0
- package/generated-sqlite/models/Plan.ts +2060 -0
- package/generated-sqlite/models/Project.ts +1994 -0
- package/generated-sqlite/models/ProjectActivity.ts +1578 -0
- package/generated-sqlite/models/ProjectMember.ts +1508 -0
- package/generated-sqlite/models/ProviderEvent.ts +1225 -0
- package/generated-sqlite/models/Reference.ts +1175 -0
- package/generated-sqlite/models/Review.ts +1903 -0
- package/generated-sqlite/models/ReviewComment.ts +1899 -0
- package/generated-sqlite/models/RoleAssignment.ts +1125 -0
- package/generated-sqlite/models/Share.ts +1674 -0
- package/generated-sqlite/models/ShareVersion.ts +1385 -0
- package/generated-sqlite/models/SsoMapping.ts +1181 -0
- package/generated-sqlite/models/SsoProvider.ts +1266 -0
- package/generated-sqlite/models/Subscription.ts +2137 -0
- package/generated-sqlite/models/SystemSetting.ts +1215 -0
- package/generated-sqlite/models/Tag.ts +1652 -0
- package/generated-sqlite/models/TeamInvitation.ts +1523 -0
- package/generated-sqlite/models/TeamMembership.ts +1433 -0
- package/generated-sqlite/models/Template.ts +1389 -0
- package/generated-sqlite/models/TemplateBlock.ts +1660 -0
- package/generated-sqlite/models/ThirdPartyDependency.ts +1471 -0
- package/generated-sqlite/models/UsageRecord.ts +1498 -0
- package/generated-sqlite/models/User.ts +13558 -0
- package/generated-sqlite/models/UserAgent.ts +1897 -0
- package/generated-sqlite/models/UserSkill.ts +1453 -0
- package/generated-sqlite/models/WebsiteBookmark.ts +2215 -0
- package/generated-sqlite/models/Workspace.ts +1824 -0
- package/generated-sqlite/models.ts +87 -0
- package/package.json +7 -3
- package/LICENSE +0 -661
|
@@ -0,0 +1,1526 @@
|
|
|
1
|
+
|
|
2
|
+
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// biome-ignore-all lint: generated file
|
|
5
|
+
// @ts-nocheck
|
|
6
|
+
/*
|
|
7
|
+
* This file exports the `TeamInvitation` model and its related types.
|
|
8
|
+
*
|
|
9
|
+
* 🟢 You can import this file directly.
|
|
10
|
+
*/
|
|
11
|
+
import type * as runtime from "@prisma/client/runtime/client"
|
|
12
|
+
import type * as $Enums from "../enums"
|
|
13
|
+
import type * as Prisma from "../internal/prismaNamespace"
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Model TeamInvitation
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type TeamInvitationModel = runtime.Types.Result.DefaultSelection<Prisma.$TeamInvitationPayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateTeamInvitation = {
|
|
22
|
+
_count: TeamInvitationCountAggregateOutputType | null
|
|
23
|
+
_min: TeamInvitationMinAggregateOutputType | null
|
|
24
|
+
_max: TeamInvitationMaxAggregateOutputType | null
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export type TeamInvitationMinAggregateOutputType = {
|
|
28
|
+
id: string | null
|
|
29
|
+
ownerId: string | null
|
|
30
|
+
email: string | null
|
|
31
|
+
seatType: string | null
|
|
32
|
+
token: string | null
|
|
33
|
+
channel: string | null
|
|
34
|
+
status: string | null
|
|
35
|
+
expiresAt: Date | null
|
|
36
|
+
createdAt: Date | null
|
|
37
|
+
acceptedBy: string | null
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export type TeamInvitationMaxAggregateOutputType = {
|
|
41
|
+
id: string | null
|
|
42
|
+
ownerId: string | null
|
|
43
|
+
email: string | null
|
|
44
|
+
seatType: string | null
|
|
45
|
+
token: string | null
|
|
46
|
+
channel: string | null
|
|
47
|
+
status: string | null
|
|
48
|
+
expiresAt: Date | null
|
|
49
|
+
createdAt: Date | null
|
|
50
|
+
acceptedBy: string | null
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export type TeamInvitationCountAggregateOutputType = {
|
|
54
|
+
id: number
|
|
55
|
+
ownerId: number
|
|
56
|
+
email: number
|
|
57
|
+
seatType: number
|
|
58
|
+
token: number
|
|
59
|
+
channel: number
|
|
60
|
+
status: number
|
|
61
|
+
expiresAt: number
|
|
62
|
+
createdAt: number
|
|
63
|
+
acceptedBy: number
|
|
64
|
+
_all: number
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
export type TeamInvitationMinAggregateInputType = {
|
|
69
|
+
id?: true
|
|
70
|
+
ownerId?: true
|
|
71
|
+
email?: true
|
|
72
|
+
seatType?: true
|
|
73
|
+
token?: true
|
|
74
|
+
channel?: true
|
|
75
|
+
status?: true
|
|
76
|
+
expiresAt?: true
|
|
77
|
+
createdAt?: true
|
|
78
|
+
acceptedBy?: true
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export type TeamInvitationMaxAggregateInputType = {
|
|
82
|
+
id?: true
|
|
83
|
+
ownerId?: true
|
|
84
|
+
email?: true
|
|
85
|
+
seatType?: true
|
|
86
|
+
token?: true
|
|
87
|
+
channel?: true
|
|
88
|
+
status?: true
|
|
89
|
+
expiresAt?: true
|
|
90
|
+
createdAt?: true
|
|
91
|
+
acceptedBy?: true
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export type TeamInvitationCountAggregateInputType = {
|
|
95
|
+
id?: true
|
|
96
|
+
ownerId?: true
|
|
97
|
+
email?: true
|
|
98
|
+
seatType?: true
|
|
99
|
+
token?: true
|
|
100
|
+
channel?: true
|
|
101
|
+
status?: true
|
|
102
|
+
expiresAt?: true
|
|
103
|
+
createdAt?: true
|
|
104
|
+
acceptedBy?: true
|
|
105
|
+
_all?: true
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export type TeamInvitationAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
109
|
+
/**
|
|
110
|
+
* Filter which TeamInvitation to aggregate.
|
|
111
|
+
*/
|
|
112
|
+
where?: Prisma.TeamInvitationWhereInput
|
|
113
|
+
/**
|
|
114
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
115
|
+
*
|
|
116
|
+
* Determine the order of TeamInvitations to fetch.
|
|
117
|
+
*/
|
|
118
|
+
orderBy?: Prisma.TeamInvitationOrderByWithRelationInput | Prisma.TeamInvitationOrderByWithRelationInput[]
|
|
119
|
+
/**
|
|
120
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
121
|
+
*
|
|
122
|
+
* Sets the start position
|
|
123
|
+
*/
|
|
124
|
+
cursor?: Prisma.TeamInvitationWhereUniqueInput
|
|
125
|
+
/**
|
|
126
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
127
|
+
*
|
|
128
|
+
* Take `±n` TeamInvitations from the position of the cursor.
|
|
129
|
+
*/
|
|
130
|
+
take?: number
|
|
131
|
+
/**
|
|
132
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
133
|
+
*
|
|
134
|
+
* Skip the first `n` TeamInvitations.
|
|
135
|
+
*/
|
|
136
|
+
skip?: number
|
|
137
|
+
/**
|
|
138
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
139
|
+
*
|
|
140
|
+
* Count returned TeamInvitations
|
|
141
|
+
**/
|
|
142
|
+
_count?: true | TeamInvitationCountAggregateInputType
|
|
143
|
+
/**
|
|
144
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
145
|
+
*
|
|
146
|
+
* Select which fields to find the minimum value
|
|
147
|
+
**/
|
|
148
|
+
_min?: TeamInvitationMinAggregateInputType
|
|
149
|
+
/**
|
|
150
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
151
|
+
*
|
|
152
|
+
* Select which fields to find the maximum value
|
|
153
|
+
**/
|
|
154
|
+
_max?: TeamInvitationMaxAggregateInputType
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
export type GetTeamInvitationAggregateType<T extends TeamInvitationAggregateArgs> = {
|
|
158
|
+
[P in keyof T & keyof AggregateTeamInvitation]: P extends '_count' | 'count'
|
|
159
|
+
? T[P] extends true
|
|
160
|
+
? number
|
|
161
|
+
: Prisma.GetScalarType<T[P], AggregateTeamInvitation[P]>
|
|
162
|
+
: Prisma.GetScalarType<T[P], AggregateTeamInvitation[P]>
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
export type TeamInvitationGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
169
|
+
where?: Prisma.TeamInvitationWhereInput
|
|
170
|
+
orderBy?: Prisma.TeamInvitationOrderByWithAggregationInput | Prisma.TeamInvitationOrderByWithAggregationInput[]
|
|
171
|
+
by: Prisma.TeamInvitationScalarFieldEnum[] | Prisma.TeamInvitationScalarFieldEnum
|
|
172
|
+
having?: Prisma.TeamInvitationScalarWhereWithAggregatesInput
|
|
173
|
+
take?: number
|
|
174
|
+
skip?: number
|
|
175
|
+
_count?: TeamInvitationCountAggregateInputType | true
|
|
176
|
+
_min?: TeamInvitationMinAggregateInputType
|
|
177
|
+
_max?: TeamInvitationMaxAggregateInputType
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
export type TeamInvitationGroupByOutputType = {
|
|
181
|
+
id: string
|
|
182
|
+
ownerId: string
|
|
183
|
+
email: string
|
|
184
|
+
seatType: string
|
|
185
|
+
token: string
|
|
186
|
+
channel: string
|
|
187
|
+
status: string
|
|
188
|
+
expiresAt: Date
|
|
189
|
+
createdAt: Date
|
|
190
|
+
acceptedBy: string | null
|
|
191
|
+
_count: TeamInvitationCountAggregateOutputType | null
|
|
192
|
+
_min: TeamInvitationMinAggregateOutputType | null
|
|
193
|
+
_max: TeamInvitationMaxAggregateOutputType | null
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
export type GetTeamInvitationGroupByPayload<T extends TeamInvitationGroupByArgs> = Prisma.PrismaPromise<
|
|
197
|
+
Array<
|
|
198
|
+
Prisma.PickEnumerable<TeamInvitationGroupByOutputType, T['by']> &
|
|
199
|
+
{
|
|
200
|
+
[P in ((keyof T) & (keyof TeamInvitationGroupByOutputType))]: P extends '_count'
|
|
201
|
+
? T[P] extends boolean
|
|
202
|
+
? number
|
|
203
|
+
: Prisma.GetScalarType<T[P], TeamInvitationGroupByOutputType[P]>
|
|
204
|
+
: Prisma.GetScalarType<T[P], TeamInvitationGroupByOutputType[P]>
|
|
205
|
+
}
|
|
206
|
+
>
|
|
207
|
+
>
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
export type TeamInvitationWhereInput = {
|
|
212
|
+
AND?: Prisma.TeamInvitationWhereInput | Prisma.TeamInvitationWhereInput[]
|
|
213
|
+
OR?: Prisma.TeamInvitationWhereInput[]
|
|
214
|
+
NOT?: Prisma.TeamInvitationWhereInput | Prisma.TeamInvitationWhereInput[]
|
|
215
|
+
id?: Prisma.StringFilter<"TeamInvitation"> | string
|
|
216
|
+
ownerId?: Prisma.StringFilter<"TeamInvitation"> | string
|
|
217
|
+
email?: Prisma.StringFilter<"TeamInvitation"> | string
|
|
218
|
+
seatType?: Prisma.StringFilter<"TeamInvitation"> | string
|
|
219
|
+
token?: Prisma.StringFilter<"TeamInvitation"> | string
|
|
220
|
+
channel?: Prisma.StringFilter<"TeamInvitation"> | string
|
|
221
|
+
status?: Prisma.StringFilter<"TeamInvitation"> | string
|
|
222
|
+
expiresAt?: Prisma.DateTimeFilter<"TeamInvitation"> | Date | string
|
|
223
|
+
createdAt?: Prisma.DateTimeFilter<"TeamInvitation"> | Date | string
|
|
224
|
+
acceptedBy?: Prisma.StringNullableFilter<"TeamInvitation"> | string | null
|
|
225
|
+
owner?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
export type TeamInvitationOrderByWithRelationInput = {
|
|
229
|
+
id?: Prisma.SortOrder
|
|
230
|
+
ownerId?: Prisma.SortOrder
|
|
231
|
+
email?: Prisma.SortOrder
|
|
232
|
+
seatType?: Prisma.SortOrder
|
|
233
|
+
token?: Prisma.SortOrder
|
|
234
|
+
channel?: Prisma.SortOrder
|
|
235
|
+
status?: Prisma.SortOrder
|
|
236
|
+
expiresAt?: Prisma.SortOrder
|
|
237
|
+
createdAt?: Prisma.SortOrder
|
|
238
|
+
acceptedBy?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
239
|
+
owner?: Prisma.UserOrderByWithRelationInput
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
export type TeamInvitationWhereUniqueInput = Prisma.AtLeast<{
|
|
243
|
+
id?: string
|
|
244
|
+
token?: string
|
|
245
|
+
ownerId_email?: Prisma.TeamInvitationOwnerIdEmailCompoundUniqueInput
|
|
246
|
+
AND?: Prisma.TeamInvitationWhereInput | Prisma.TeamInvitationWhereInput[]
|
|
247
|
+
OR?: Prisma.TeamInvitationWhereInput[]
|
|
248
|
+
NOT?: Prisma.TeamInvitationWhereInput | Prisma.TeamInvitationWhereInput[]
|
|
249
|
+
ownerId?: Prisma.StringFilter<"TeamInvitation"> | string
|
|
250
|
+
email?: Prisma.StringFilter<"TeamInvitation"> | string
|
|
251
|
+
seatType?: Prisma.StringFilter<"TeamInvitation"> | string
|
|
252
|
+
channel?: Prisma.StringFilter<"TeamInvitation"> | string
|
|
253
|
+
status?: Prisma.StringFilter<"TeamInvitation"> | string
|
|
254
|
+
expiresAt?: Prisma.DateTimeFilter<"TeamInvitation"> | Date | string
|
|
255
|
+
createdAt?: Prisma.DateTimeFilter<"TeamInvitation"> | Date | string
|
|
256
|
+
acceptedBy?: Prisma.StringNullableFilter<"TeamInvitation"> | string | null
|
|
257
|
+
owner?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
258
|
+
}, "id" | "token" | "ownerId_email">
|
|
259
|
+
|
|
260
|
+
export type TeamInvitationOrderByWithAggregationInput = {
|
|
261
|
+
id?: Prisma.SortOrder
|
|
262
|
+
ownerId?: Prisma.SortOrder
|
|
263
|
+
email?: Prisma.SortOrder
|
|
264
|
+
seatType?: Prisma.SortOrder
|
|
265
|
+
token?: Prisma.SortOrder
|
|
266
|
+
channel?: Prisma.SortOrder
|
|
267
|
+
status?: Prisma.SortOrder
|
|
268
|
+
expiresAt?: Prisma.SortOrder
|
|
269
|
+
createdAt?: Prisma.SortOrder
|
|
270
|
+
acceptedBy?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
271
|
+
_count?: Prisma.TeamInvitationCountOrderByAggregateInput
|
|
272
|
+
_max?: Prisma.TeamInvitationMaxOrderByAggregateInput
|
|
273
|
+
_min?: Prisma.TeamInvitationMinOrderByAggregateInput
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
export type TeamInvitationScalarWhereWithAggregatesInput = {
|
|
277
|
+
AND?: Prisma.TeamInvitationScalarWhereWithAggregatesInput | Prisma.TeamInvitationScalarWhereWithAggregatesInput[]
|
|
278
|
+
OR?: Prisma.TeamInvitationScalarWhereWithAggregatesInput[]
|
|
279
|
+
NOT?: Prisma.TeamInvitationScalarWhereWithAggregatesInput | Prisma.TeamInvitationScalarWhereWithAggregatesInput[]
|
|
280
|
+
id?: Prisma.StringWithAggregatesFilter<"TeamInvitation"> | string
|
|
281
|
+
ownerId?: Prisma.StringWithAggregatesFilter<"TeamInvitation"> | string
|
|
282
|
+
email?: Prisma.StringWithAggregatesFilter<"TeamInvitation"> | string
|
|
283
|
+
seatType?: Prisma.StringWithAggregatesFilter<"TeamInvitation"> | string
|
|
284
|
+
token?: Prisma.StringWithAggregatesFilter<"TeamInvitation"> | string
|
|
285
|
+
channel?: Prisma.StringWithAggregatesFilter<"TeamInvitation"> | string
|
|
286
|
+
status?: Prisma.StringWithAggregatesFilter<"TeamInvitation"> | string
|
|
287
|
+
expiresAt?: Prisma.DateTimeWithAggregatesFilter<"TeamInvitation"> | Date | string
|
|
288
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"TeamInvitation"> | Date | string
|
|
289
|
+
acceptedBy?: Prisma.StringNullableWithAggregatesFilter<"TeamInvitation"> | string | null
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
export type TeamInvitationCreateInput = {
|
|
293
|
+
id?: string
|
|
294
|
+
email: string
|
|
295
|
+
seatType?: string
|
|
296
|
+
token: string
|
|
297
|
+
channel?: string
|
|
298
|
+
status?: string
|
|
299
|
+
expiresAt: Date | string
|
|
300
|
+
createdAt?: Date | string
|
|
301
|
+
acceptedBy?: string | null
|
|
302
|
+
owner: Prisma.UserCreateNestedOneWithoutSentInvitationsInput
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
export type TeamInvitationUncheckedCreateInput = {
|
|
306
|
+
id?: string
|
|
307
|
+
ownerId: string
|
|
308
|
+
email: string
|
|
309
|
+
seatType?: string
|
|
310
|
+
token: string
|
|
311
|
+
channel?: string
|
|
312
|
+
status?: string
|
|
313
|
+
expiresAt: Date | string
|
|
314
|
+
createdAt?: Date | string
|
|
315
|
+
acceptedBy?: string | null
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
export type TeamInvitationUpdateInput = {
|
|
319
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
320
|
+
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
321
|
+
seatType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
322
|
+
token?: Prisma.StringFieldUpdateOperationsInput | string
|
|
323
|
+
channel?: Prisma.StringFieldUpdateOperationsInput | string
|
|
324
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
325
|
+
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
326
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
327
|
+
acceptedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
328
|
+
owner?: Prisma.UserUpdateOneRequiredWithoutSentInvitationsNestedInput
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
export type TeamInvitationUncheckedUpdateInput = {
|
|
332
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
333
|
+
ownerId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
334
|
+
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
335
|
+
seatType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
336
|
+
token?: Prisma.StringFieldUpdateOperationsInput | string
|
|
337
|
+
channel?: Prisma.StringFieldUpdateOperationsInput | string
|
|
338
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
339
|
+
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
340
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
341
|
+
acceptedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
export type TeamInvitationCreateManyInput = {
|
|
345
|
+
id?: string
|
|
346
|
+
ownerId: string
|
|
347
|
+
email: string
|
|
348
|
+
seatType?: string
|
|
349
|
+
token: string
|
|
350
|
+
channel?: string
|
|
351
|
+
status?: string
|
|
352
|
+
expiresAt: Date | string
|
|
353
|
+
createdAt?: Date | string
|
|
354
|
+
acceptedBy?: string | null
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
export type TeamInvitationUpdateManyMutationInput = {
|
|
358
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
359
|
+
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
360
|
+
seatType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
361
|
+
token?: Prisma.StringFieldUpdateOperationsInput | string
|
|
362
|
+
channel?: Prisma.StringFieldUpdateOperationsInput | string
|
|
363
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
364
|
+
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
365
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
366
|
+
acceptedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
export type TeamInvitationUncheckedUpdateManyInput = {
|
|
370
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
371
|
+
ownerId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
372
|
+
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
373
|
+
seatType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
374
|
+
token?: Prisma.StringFieldUpdateOperationsInput | string
|
|
375
|
+
channel?: Prisma.StringFieldUpdateOperationsInput | string
|
|
376
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
377
|
+
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
378
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
379
|
+
acceptedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
export type TeamInvitationListRelationFilter = {
|
|
383
|
+
every?: Prisma.TeamInvitationWhereInput
|
|
384
|
+
some?: Prisma.TeamInvitationWhereInput
|
|
385
|
+
none?: Prisma.TeamInvitationWhereInput
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
export type TeamInvitationOrderByRelationAggregateInput = {
|
|
389
|
+
_count?: Prisma.SortOrder
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
export type TeamInvitationOwnerIdEmailCompoundUniqueInput = {
|
|
393
|
+
ownerId: string
|
|
394
|
+
email: string
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
export type TeamInvitationCountOrderByAggregateInput = {
|
|
398
|
+
id?: Prisma.SortOrder
|
|
399
|
+
ownerId?: Prisma.SortOrder
|
|
400
|
+
email?: Prisma.SortOrder
|
|
401
|
+
seatType?: Prisma.SortOrder
|
|
402
|
+
token?: Prisma.SortOrder
|
|
403
|
+
channel?: Prisma.SortOrder
|
|
404
|
+
status?: Prisma.SortOrder
|
|
405
|
+
expiresAt?: Prisma.SortOrder
|
|
406
|
+
createdAt?: Prisma.SortOrder
|
|
407
|
+
acceptedBy?: Prisma.SortOrder
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
export type TeamInvitationMaxOrderByAggregateInput = {
|
|
411
|
+
id?: Prisma.SortOrder
|
|
412
|
+
ownerId?: Prisma.SortOrder
|
|
413
|
+
email?: Prisma.SortOrder
|
|
414
|
+
seatType?: Prisma.SortOrder
|
|
415
|
+
token?: Prisma.SortOrder
|
|
416
|
+
channel?: Prisma.SortOrder
|
|
417
|
+
status?: Prisma.SortOrder
|
|
418
|
+
expiresAt?: Prisma.SortOrder
|
|
419
|
+
createdAt?: Prisma.SortOrder
|
|
420
|
+
acceptedBy?: Prisma.SortOrder
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
export type TeamInvitationMinOrderByAggregateInput = {
|
|
424
|
+
id?: Prisma.SortOrder
|
|
425
|
+
ownerId?: Prisma.SortOrder
|
|
426
|
+
email?: Prisma.SortOrder
|
|
427
|
+
seatType?: Prisma.SortOrder
|
|
428
|
+
token?: Prisma.SortOrder
|
|
429
|
+
channel?: Prisma.SortOrder
|
|
430
|
+
status?: Prisma.SortOrder
|
|
431
|
+
expiresAt?: Prisma.SortOrder
|
|
432
|
+
createdAt?: Prisma.SortOrder
|
|
433
|
+
acceptedBy?: Prisma.SortOrder
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
export type TeamInvitationCreateNestedManyWithoutOwnerInput = {
|
|
437
|
+
create?: Prisma.XOR<Prisma.TeamInvitationCreateWithoutOwnerInput, Prisma.TeamInvitationUncheckedCreateWithoutOwnerInput> | Prisma.TeamInvitationCreateWithoutOwnerInput[] | Prisma.TeamInvitationUncheckedCreateWithoutOwnerInput[]
|
|
438
|
+
connectOrCreate?: Prisma.TeamInvitationCreateOrConnectWithoutOwnerInput | Prisma.TeamInvitationCreateOrConnectWithoutOwnerInput[]
|
|
439
|
+
createMany?: Prisma.TeamInvitationCreateManyOwnerInputEnvelope
|
|
440
|
+
connect?: Prisma.TeamInvitationWhereUniqueInput | Prisma.TeamInvitationWhereUniqueInput[]
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
export type TeamInvitationUncheckedCreateNestedManyWithoutOwnerInput = {
|
|
444
|
+
create?: Prisma.XOR<Prisma.TeamInvitationCreateWithoutOwnerInput, Prisma.TeamInvitationUncheckedCreateWithoutOwnerInput> | Prisma.TeamInvitationCreateWithoutOwnerInput[] | Prisma.TeamInvitationUncheckedCreateWithoutOwnerInput[]
|
|
445
|
+
connectOrCreate?: Prisma.TeamInvitationCreateOrConnectWithoutOwnerInput | Prisma.TeamInvitationCreateOrConnectWithoutOwnerInput[]
|
|
446
|
+
createMany?: Prisma.TeamInvitationCreateManyOwnerInputEnvelope
|
|
447
|
+
connect?: Prisma.TeamInvitationWhereUniqueInput | Prisma.TeamInvitationWhereUniqueInput[]
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
export type TeamInvitationUpdateManyWithoutOwnerNestedInput = {
|
|
451
|
+
create?: Prisma.XOR<Prisma.TeamInvitationCreateWithoutOwnerInput, Prisma.TeamInvitationUncheckedCreateWithoutOwnerInput> | Prisma.TeamInvitationCreateWithoutOwnerInput[] | Prisma.TeamInvitationUncheckedCreateWithoutOwnerInput[]
|
|
452
|
+
connectOrCreate?: Prisma.TeamInvitationCreateOrConnectWithoutOwnerInput | Prisma.TeamInvitationCreateOrConnectWithoutOwnerInput[]
|
|
453
|
+
upsert?: Prisma.TeamInvitationUpsertWithWhereUniqueWithoutOwnerInput | Prisma.TeamInvitationUpsertWithWhereUniqueWithoutOwnerInput[]
|
|
454
|
+
createMany?: Prisma.TeamInvitationCreateManyOwnerInputEnvelope
|
|
455
|
+
set?: Prisma.TeamInvitationWhereUniqueInput | Prisma.TeamInvitationWhereUniqueInput[]
|
|
456
|
+
disconnect?: Prisma.TeamInvitationWhereUniqueInput | Prisma.TeamInvitationWhereUniqueInput[]
|
|
457
|
+
delete?: Prisma.TeamInvitationWhereUniqueInput | Prisma.TeamInvitationWhereUniqueInput[]
|
|
458
|
+
connect?: Prisma.TeamInvitationWhereUniqueInput | Prisma.TeamInvitationWhereUniqueInput[]
|
|
459
|
+
update?: Prisma.TeamInvitationUpdateWithWhereUniqueWithoutOwnerInput | Prisma.TeamInvitationUpdateWithWhereUniqueWithoutOwnerInput[]
|
|
460
|
+
updateMany?: Prisma.TeamInvitationUpdateManyWithWhereWithoutOwnerInput | Prisma.TeamInvitationUpdateManyWithWhereWithoutOwnerInput[]
|
|
461
|
+
deleteMany?: Prisma.TeamInvitationScalarWhereInput | Prisma.TeamInvitationScalarWhereInput[]
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
export type TeamInvitationUncheckedUpdateManyWithoutOwnerNestedInput = {
|
|
465
|
+
create?: Prisma.XOR<Prisma.TeamInvitationCreateWithoutOwnerInput, Prisma.TeamInvitationUncheckedCreateWithoutOwnerInput> | Prisma.TeamInvitationCreateWithoutOwnerInput[] | Prisma.TeamInvitationUncheckedCreateWithoutOwnerInput[]
|
|
466
|
+
connectOrCreate?: Prisma.TeamInvitationCreateOrConnectWithoutOwnerInput | Prisma.TeamInvitationCreateOrConnectWithoutOwnerInput[]
|
|
467
|
+
upsert?: Prisma.TeamInvitationUpsertWithWhereUniqueWithoutOwnerInput | Prisma.TeamInvitationUpsertWithWhereUniqueWithoutOwnerInput[]
|
|
468
|
+
createMany?: Prisma.TeamInvitationCreateManyOwnerInputEnvelope
|
|
469
|
+
set?: Prisma.TeamInvitationWhereUniqueInput | Prisma.TeamInvitationWhereUniqueInput[]
|
|
470
|
+
disconnect?: Prisma.TeamInvitationWhereUniqueInput | Prisma.TeamInvitationWhereUniqueInput[]
|
|
471
|
+
delete?: Prisma.TeamInvitationWhereUniqueInput | Prisma.TeamInvitationWhereUniqueInput[]
|
|
472
|
+
connect?: Prisma.TeamInvitationWhereUniqueInput | Prisma.TeamInvitationWhereUniqueInput[]
|
|
473
|
+
update?: Prisma.TeamInvitationUpdateWithWhereUniqueWithoutOwnerInput | Prisma.TeamInvitationUpdateWithWhereUniqueWithoutOwnerInput[]
|
|
474
|
+
updateMany?: Prisma.TeamInvitationUpdateManyWithWhereWithoutOwnerInput | Prisma.TeamInvitationUpdateManyWithWhereWithoutOwnerInput[]
|
|
475
|
+
deleteMany?: Prisma.TeamInvitationScalarWhereInput | Prisma.TeamInvitationScalarWhereInput[]
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
export type TeamInvitationCreateWithoutOwnerInput = {
|
|
479
|
+
id?: string
|
|
480
|
+
email: string
|
|
481
|
+
seatType?: string
|
|
482
|
+
token: string
|
|
483
|
+
channel?: string
|
|
484
|
+
status?: string
|
|
485
|
+
expiresAt: Date | string
|
|
486
|
+
createdAt?: Date | string
|
|
487
|
+
acceptedBy?: string | null
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
export type TeamInvitationUncheckedCreateWithoutOwnerInput = {
|
|
491
|
+
id?: string
|
|
492
|
+
email: string
|
|
493
|
+
seatType?: string
|
|
494
|
+
token: string
|
|
495
|
+
channel?: string
|
|
496
|
+
status?: string
|
|
497
|
+
expiresAt: Date | string
|
|
498
|
+
createdAt?: Date | string
|
|
499
|
+
acceptedBy?: string | null
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
export type TeamInvitationCreateOrConnectWithoutOwnerInput = {
|
|
503
|
+
where: Prisma.TeamInvitationWhereUniqueInput
|
|
504
|
+
create: Prisma.XOR<Prisma.TeamInvitationCreateWithoutOwnerInput, Prisma.TeamInvitationUncheckedCreateWithoutOwnerInput>
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
export type TeamInvitationCreateManyOwnerInputEnvelope = {
|
|
508
|
+
data: Prisma.TeamInvitationCreateManyOwnerInput | Prisma.TeamInvitationCreateManyOwnerInput[]
|
|
509
|
+
skipDuplicates?: boolean
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
export type TeamInvitationUpsertWithWhereUniqueWithoutOwnerInput = {
|
|
513
|
+
where: Prisma.TeamInvitationWhereUniqueInput
|
|
514
|
+
update: Prisma.XOR<Prisma.TeamInvitationUpdateWithoutOwnerInput, Prisma.TeamInvitationUncheckedUpdateWithoutOwnerInput>
|
|
515
|
+
create: Prisma.XOR<Prisma.TeamInvitationCreateWithoutOwnerInput, Prisma.TeamInvitationUncheckedCreateWithoutOwnerInput>
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
export type TeamInvitationUpdateWithWhereUniqueWithoutOwnerInput = {
|
|
519
|
+
where: Prisma.TeamInvitationWhereUniqueInput
|
|
520
|
+
data: Prisma.XOR<Prisma.TeamInvitationUpdateWithoutOwnerInput, Prisma.TeamInvitationUncheckedUpdateWithoutOwnerInput>
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
export type TeamInvitationUpdateManyWithWhereWithoutOwnerInput = {
|
|
524
|
+
where: Prisma.TeamInvitationScalarWhereInput
|
|
525
|
+
data: Prisma.XOR<Prisma.TeamInvitationUpdateManyMutationInput, Prisma.TeamInvitationUncheckedUpdateManyWithoutOwnerInput>
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
export type TeamInvitationScalarWhereInput = {
|
|
529
|
+
AND?: Prisma.TeamInvitationScalarWhereInput | Prisma.TeamInvitationScalarWhereInput[]
|
|
530
|
+
OR?: Prisma.TeamInvitationScalarWhereInput[]
|
|
531
|
+
NOT?: Prisma.TeamInvitationScalarWhereInput | Prisma.TeamInvitationScalarWhereInput[]
|
|
532
|
+
id?: Prisma.StringFilter<"TeamInvitation"> | string
|
|
533
|
+
ownerId?: Prisma.StringFilter<"TeamInvitation"> | string
|
|
534
|
+
email?: Prisma.StringFilter<"TeamInvitation"> | string
|
|
535
|
+
seatType?: Prisma.StringFilter<"TeamInvitation"> | string
|
|
536
|
+
token?: Prisma.StringFilter<"TeamInvitation"> | string
|
|
537
|
+
channel?: Prisma.StringFilter<"TeamInvitation"> | string
|
|
538
|
+
status?: Prisma.StringFilter<"TeamInvitation"> | string
|
|
539
|
+
expiresAt?: Prisma.DateTimeFilter<"TeamInvitation"> | Date | string
|
|
540
|
+
createdAt?: Prisma.DateTimeFilter<"TeamInvitation"> | Date | string
|
|
541
|
+
acceptedBy?: Prisma.StringNullableFilter<"TeamInvitation"> | string | null
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
export type TeamInvitationCreateManyOwnerInput = {
|
|
545
|
+
id?: string
|
|
546
|
+
email: string
|
|
547
|
+
seatType?: string
|
|
548
|
+
token: string
|
|
549
|
+
channel?: string
|
|
550
|
+
status?: string
|
|
551
|
+
expiresAt: Date | string
|
|
552
|
+
createdAt?: Date | string
|
|
553
|
+
acceptedBy?: string | null
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
export type TeamInvitationUpdateWithoutOwnerInput = {
|
|
557
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
558
|
+
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
559
|
+
seatType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
560
|
+
token?: Prisma.StringFieldUpdateOperationsInput | string
|
|
561
|
+
channel?: Prisma.StringFieldUpdateOperationsInput | string
|
|
562
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
563
|
+
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
564
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
565
|
+
acceptedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
export type TeamInvitationUncheckedUpdateWithoutOwnerInput = {
|
|
569
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
570
|
+
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
571
|
+
seatType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
572
|
+
token?: Prisma.StringFieldUpdateOperationsInput | string
|
|
573
|
+
channel?: Prisma.StringFieldUpdateOperationsInput | string
|
|
574
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
575
|
+
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
576
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
577
|
+
acceptedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
export type TeamInvitationUncheckedUpdateManyWithoutOwnerInput = {
|
|
581
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
582
|
+
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
583
|
+
seatType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
584
|
+
token?: Prisma.StringFieldUpdateOperationsInput | string
|
|
585
|
+
channel?: Prisma.StringFieldUpdateOperationsInput | string
|
|
586
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
587
|
+
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
588
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
589
|
+
acceptedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
|
|
593
|
+
|
|
594
|
+
export type TeamInvitationSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
595
|
+
id?: boolean
|
|
596
|
+
ownerId?: boolean
|
|
597
|
+
email?: boolean
|
|
598
|
+
seatType?: boolean
|
|
599
|
+
token?: boolean
|
|
600
|
+
channel?: boolean
|
|
601
|
+
status?: boolean
|
|
602
|
+
expiresAt?: boolean
|
|
603
|
+
createdAt?: boolean
|
|
604
|
+
acceptedBy?: boolean
|
|
605
|
+
owner?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
606
|
+
}, ExtArgs["result"]["teamInvitation"]>
|
|
607
|
+
|
|
608
|
+
export type TeamInvitationSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
609
|
+
id?: boolean
|
|
610
|
+
ownerId?: boolean
|
|
611
|
+
email?: boolean
|
|
612
|
+
seatType?: boolean
|
|
613
|
+
token?: boolean
|
|
614
|
+
channel?: boolean
|
|
615
|
+
status?: boolean
|
|
616
|
+
expiresAt?: boolean
|
|
617
|
+
createdAt?: boolean
|
|
618
|
+
acceptedBy?: boolean
|
|
619
|
+
owner?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
620
|
+
}, ExtArgs["result"]["teamInvitation"]>
|
|
621
|
+
|
|
622
|
+
export type TeamInvitationSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
623
|
+
id?: boolean
|
|
624
|
+
ownerId?: boolean
|
|
625
|
+
email?: boolean
|
|
626
|
+
seatType?: boolean
|
|
627
|
+
token?: boolean
|
|
628
|
+
channel?: boolean
|
|
629
|
+
status?: boolean
|
|
630
|
+
expiresAt?: boolean
|
|
631
|
+
createdAt?: boolean
|
|
632
|
+
acceptedBy?: boolean
|
|
633
|
+
owner?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
634
|
+
}, ExtArgs["result"]["teamInvitation"]>
|
|
635
|
+
|
|
636
|
+
export type TeamInvitationSelectScalar = {
|
|
637
|
+
id?: boolean
|
|
638
|
+
ownerId?: boolean
|
|
639
|
+
email?: boolean
|
|
640
|
+
seatType?: boolean
|
|
641
|
+
token?: boolean
|
|
642
|
+
channel?: boolean
|
|
643
|
+
status?: boolean
|
|
644
|
+
expiresAt?: boolean
|
|
645
|
+
createdAt?: boolean
|
|
646
|
+
acceptedBy?: boolean
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
export type TeamInvitationOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "ownerId" | "email" | "seatType" | "token" | "channel" | "status" | "expiresAt" | "createdAt" | "acceptedBy", ExtArgs["result"]["teamInvitation"]>
|
|
650
|
+
export type TeamInvitationInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
651
|
+
owner?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
652
|
+
}
|
|
653
|
+
export type TeamInvitationIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
654
|
+
owner?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
655
|
+
}
|
|
656
|
+
export type TeamInvitationIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
657
|
+
owner?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
export type $TeamInvitationPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
661
|
+
name: "TeamInvitation"
|
|
662
|
+
objects: {
|
|
663
|
+
owner: Prisma.$UserPayload<ExtArgs>
|
|
664
|
+
}
|
|
665
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
666
|
+
id: string
|
|
667
|
+
ownerId: string
|
|
668
|
+
email: string
|
|
669
|
+
seatType: string
|
|
670
|
+
token: string
|
|
671
|
+
channel: string
|
|
672
|
+
status: string
|
|
673
|
+
expiresAt: Date
|
|
674
|
+
createdAt: Date
|
|
675
|
+
acceptedBy: string | null
|
|
676
|
+
}, ExtArgs["result"]["teamInvitation"]>
|
|
677
|
+
composites: {}
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
export type TeamInvitationGetPayload<S extends boolean | null | undefined | TeamInvitationDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$TeamInvitationPayload, S>
|
|
681
|
+
|
|
682
|
+
export type TeamInvitationCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
683
|
+
Omit<TeamInvitationFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
684
|
+
select?: TeamInvitationCountAggregateInputType | true
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
export interface TeamInvitationDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
688
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['TeamInvitation'], meta: { name: 'TeamInvitation' } }
|
|
689
|
+
/**
|
|
690
|
+
* Find zero or one TeamInvitation that matches the filter.
|
|
691
|
+
* @param {TeamInvitationFindUniqueArgs} args - Arguments to find a TeamInvitation
|
|
692
|
+
* @example
|
|
693
|
+
* // Get one TeamInvitation
|
|
694
|
+
* const teamInvitation = await prisma.teamInvitation.findUnique({
|
|
695
|
+
* where: {
|
|
696
|
+
* // ... provide filter here
|
|
697
|
+
* }
|
|
698
|
+
* })
|
|
699
|
+
*/
|
|
700
|
+
findUnique<T extends TeamInvitationFindUniqueArgs>(args: Prisma.SelectSubset<T, TeamInvitationFindUniqueArgs<ExtArgs>>): Prisma.Prisma__TeamInvitationClient<runtime.Types.Result.GetResult<Prisma.$TeamInvitationPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
701
|
+
|
|
702
|
+
/**
|
|
703
|
+
* Find one TeamInvitation that matches the filter or throw an error with `error.code='P2025'`
|
|
704
|
+
* if no matches were found.
|
|
705
|
+
* @param {TeamInvitationFindUniqueOrThrowArgs} args - Arguments to find a TeamInvitation
|
|
706
|
+
* @example
|
|
707
|
+
* // Get one TeamInvitation
|
|
708
|
+
* const teamInvitation = await prisma.teamInvitation.findUniqueOrThrow({
|
|
709
|
+
* where: {
|
|
710
|
+
* // ... provide filter here
|
|
711
|
+
* }
|
|
712
|
+
* })
|
|
713
|
+
*/
|
|
714
|
+
findUniqueOrThrow<T extends TeamInvitationFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, TeamInvitationFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__TeamInvitationClient<runtime.Types.Result.GetResult<Prisma.$TeamInvitationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
715
|
+
|
|
716
|
+
/**
|
|
717
|
+
* Find the first TeamInvitation that matches the filter.
|
|
718
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
719
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
720
|
+
* @param {TeamInvitationFindFirstArgs} args - Arguments to find a TeamInvitation
|
|
721
|
+
* @example
|
|
722
|
+
* // Get one TeamInvitation
|
|
723
|
+
* const teamInvitation = await prisma.teamInvitation.findFirst({
|
|
724
|
+
* where: {
|
|
725
|
+
* // ... provide filter here
|
|
726
|
+
* }
|
|
727
|
+
* })
|
|
728
|
+
*/
|
|
729
|
+
findFirst<T extends TeamInvitationFindFirstArgs>(args?: Prisma.SelectSubset<T, TeamInvitationFindFirstArgs<ExtArgs>>): Prisma.Prisma__TeamInvitationClient<runtime.Types.Result.GetResult<Prisma.$TeamInvitationPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
730
|
+
|
|
731
|
+
/**
|
|
732
|
+
* Find the first TeamInvitation that matches the filter or
|
|
733
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
734
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
735
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
736
|
+
* @param {TeamInvitationFindFirstOrThrowArgs} args - Arguments to find a TeamInvitation
|
|
737
|
+
* @example
|
|
738
|
+
* // Get one TeamInvitation
|
|
739
|
+
* const teamInvitation = await prisma.teamInvitation.findFirstOrThrow({
|
|
740
|
+
* where: {
|
|
741
|
+
* // ... provide filter here
|
|
742
|
+
* }
|
|
743
|
+
* })
|
|
744
|
+
*/
|
|
745
|
+
findFirstOrThrow<T extends TeamInvitationFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, TeamInvitationFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__TeamInvitationClient<runtime.Types.Result.GetResult<Prisma.$TeamInvitationPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
746
|
+
|
|
747
|
+
/**
|
|
748
|
+
* Find zero or more TeamInvitations that matches the filter.
|
|
749
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
750
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
751
|
+
* @param {TeamInvitationFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
752
|
+
* @example
|
|
753
|
+
* // Get all TeamInvitations
|
|
754
|
+
* const teamInvitations = await prisma.teamInvitation.findMany()
|
|
755
|
+
*
|
|
756
|
+
* // Get first 10 TeamInvitations
|
|
757
|
+
* const teamInvitations = await prisma.teamInvitation.findMany({ take: 10 })
|
|
758
|
+
*
|
|
759
|
+
* // Only select the `id`
|
|
760
|
+
* const teamInvitationWithIdOnly = await prisma.teamInvitation.findMany({ select: { id: true } })
|
|
761
|
+
*
|
|
762
|
+
*/
|
|
763
|
+
findMany<T extends TeamInvitationFindManyArgs>(args?: Prisma.SelectSubset<T, TeamInvitationFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TeamInvitationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
764
|
+
|
|
765
|
+
/**
|
|
766
|
+
* Create a TeamInvitation.
|
|
767
|
+
* @param {TeamInvitationCreateArgs} args - Arguments to create a TeamInvitation.
|
|
768
|
+
* @example
|
|
769
|
+
* // Create one TeamInvitation
|
|
770
|
+
* const TeamInvitation = await prisma.teamInvitation.create({
|
|
771
|
+
* data: {
|
|
772
|
+
* // ... data to create a TeamInvitation
|
|
773
|
+
* }
|
|
774
|
+
* })
|
|
775
|
+
*
|
|
776
|
+
*/
|
|
777
|
+
create<T extends TeamInvitationCreateArgs>(args: Prisma.SelectSubset<T, TeamInvitationCreateArgs<ExtArgs>>): Prisma.Prisma__TeamInvitationClient<runtime.Types.Result.GetResult<Prisma.$TeamInvitationPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
778
|
+
|
|
779
|
+
/**
|
|
780
|
+
* Create many TeamInvitations.
|
|
781
|
+
* @param {TeamInvitationCreateManyArgs} args - Arguments to create many TeamInvitations.
|
|
782
|
+
* @example
|
|
783
|
+
* // Create many TeamInvitations
|
|
784
|
+
* const teamInvitation = await prisma.teamInvitation.createMany({
|
|
785
|
+
* data: [
|
|
786
|
+
* // ... provide data here
|
|
787
|
+
* ]
|
|
788
|
+
* })
|
|
789
|
+
*
|
|
790
|
+
*/
|
|
791
|
+
createMany<T extends TeamInvitationCreateManyArgs>(args?: Prisma.SelectSubset<T, TeamInvitationCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
792
|
+
|
|
793
|
+
/**
|
|
794
|
+
* Create many TeamInvitations and returns the data saved in the database.
|
|
795
|
+
* @param {TeamInvitationCreateManyAndReturnArgs} args - Arguments to create many TeamInvitations.
|
|
796
|
+
* @example
|
|
797
|
+
* // Create many TeamInvitations
|
|
798
|
+
* const teamInvitation = await prisma.teamInvitation.createManyAndReturn({
|
|
799
|
+
* data: [
|
|
800
|
+
* // ... provide data here
|
|
801
|
+
* ]
|
|
802
|
+
* })
|
|
803
|
+
*
|
|
804
|
+
* // Create many TeamInvitations and only return the `id`
|
|
805
|
+
* const teamInvitationWithIdOnly = await prisma.teamInvitation.createManyAndReturn({
|
|
806
|
+
* select: { id: true },
|
|
807
|
+
* data: [
|
|
808
|
+
* // ... provide data here
|
|
809
|
+
* ]
|
|
810
|
+
* })
|
|
811
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
812
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
813
|
+
*
|
|
814
|
+
*/
|
|
815
|
+
createManyAndReturn<T extends TeamInvitationCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, TeamInvitationCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TeamInvitationPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
816
|
+
|
|
817
|
+
/**
|
|
818
|
+
* Delete a TeamInvitation.
|
|
819
|
+
* @param {TeamInvitationDeleteArgs} args - Arguments to delete one TeamInvitation.
|
|
820
|
+
* @example
|
|
821
|
+
* // Delete one TeamInvitation
|
|
822
|
+
* const TeamInvitation = await prisma.teamInvitation.delete({
|
|
823
|
+
* where: {
|
|
824
|
+
* // ... filter to delete one TeamInvitation
|
|
825
|
+
* }
|
|
826
|
+
* })
|
|
827
|
+
*
|
|
828
|
+
*/
|
|
829
|
+
delete<T extends TeamInvitationDeleteArgs>(args: Prisma.SelectSubset<T, TeamInvitationDeleteArgs<ExtArgs>>): Prisma.Prisma__TeamInvitationClient<runtime.Types.Result.GetResult<Prisma.$TeamInvitationPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
830
|
+
|
|
831
|
+
/**
|
|
832
|
+
* Update one TeamInvitation.
|
|
833
|
+
* @param {TeamInvitationUpdateArgs} args - Arguments to update one TeamInvitation.
|
|
834
|
+
* @example
|
|
835
|
+
* // Update one TeamInvitation
|
|
836
|
+
* const teamInvitation = await prisma.teamInvitation.update({
|
|
837
|
+
* where: {
|
|
838
|
+
* // ... provide filter here
|
|
839
|
+
* },
|
|
840
|
+
* data: {
|
|
841
|
+
* // ... provide data here
|
|
842
|
+
* }
|
|
843
|
+
* })
|
|
844
|
+
*
|
|
845
|
+
*/
|
|
846
|
+
update<T extends TeamInvitationUpdateArgs>(args: Prisma.SelectSubset<T, TeamInvitationUpdateArgs<ExtArgs>>): Prisma.Prisma__TeamInvitationClient<runtime.Types.Result.GetResult<Prisma.$TeamInvitationPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
847
|
+
|
|
848
|
+
/**
|
|
849
|
+
* Delete zero or more TeamInvitations.
|
|
850
|
+
* @param {TeamInvitationDeleteManyArgs} args - Arguments to filter TeamInvitations to delete.
|
|
851
|
+
* @example
|
|
852
|
+
* // Delete a few TeamInvitations
|
|
853
|
+
* const { count } = await prisma.teamInvitation.deleteMany({
|
|
854
|
+
* where: {
|
|
855
|
+
* // ... provide filter here
|
|
856
|
+
* }
|
|
857
|
+
* })
|
|
858
|
+
*
|
|
859
|
+
*/
|
|
860
|
+
deleteMany<T extends TeamInvitationDeleteManyArgs>(args?: Prisma.SelectSubset<T, TeamInvitationDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
861
|
+
|
|
862
|
+
/**
|
|
863
|
+
* Update zero or more TeamInvitations.
|
|
864
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
865
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
866
|
+
* @param {TeamInvitationUpdateManyArgs} args - Arguments to update one or more rows.
|
|
867
|
+
* @example
|
|
868
|
+
* // Update many TeamInvitations
|
|
869
|
+
* const teamInvitation = await prisma.teamInvitation.updateMany({
|
|
870
|
+
* where: {
|
|
871
|
+
* // ... provide filter here
|
|
872
|
+
* },
|
|
873
|
+
* data: {
|
|
874
|
+
* // ... provide data here
|
|
875
|
+
* }
|
|
876
|
+
* })
|
|
877
|
+
*
|
|
878
|
+
*/
|
|
879
|
+
updateMany<T extends TeamInvitationUpdateManyArgs>(args: Prisma.SelectSubset<T, TeamInvitationUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
880
|
+
|
|
881
|
+
/**
|
|
882
|
+
* Update zero or more TeamInvitations and returns the data updated in the database.
|
|
883
|
+
* @param {TeamInvitationUpdateManyAndReturnArgs} args - Arguments to update many TeamInvitations.
|
|
884
|
+
* @example
|
|
885
|
+
* // Update many TeamInvitations
|
|
886
|
+
* const teamInvitation = await prisma.teamInvitation.updateManyAndReturn({
|
|
887
|
+
* where: {
|
|
888
|
+
* // ... provide filter here
|
|
889
|
+
* },
|
|
890
|
+
* data: [
|
|
891
|
+
* // ... provide data here
|
|
892
|
+
* ]
|
|
893
|
+
* })
|
|
894
|
+
*
|
|
895
|
+
* // Update zero or more TeamInvitations and only return the `id`
|
|
896
|
+
* const teamInvitationWithIdOnly = await prisma.teamInvitation.updateManyAndReturn({
|
|
897
|
+
* select: { id: true },
|
|
898
|
+
* where: {
|
|
899
|
+
* // ... provide filter here
|
|
900
|
+
* },
|
|
901
|
+
* data: [
|
|
902
|
+
* // ... provide data here
|
|
903
|
+
* ]
|
|
904
|
+
* })
|
|
905
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
906
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
907
|
+
*
|
|
908
|
+
*/
|
|
909
|
+
updateManyAndReturn<T extends TeamInvitationUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, TeamInvitationUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TeamInvitationPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
910
|
+
|
|
911
|
+
/**
|
|
912
|
+
* Create or update one TeamInvitation.
|
|
913
|
+
* @param {TeamInvitationUpsertArgs} args - Arguments to update or create a TeamInvitation.
|
|
914
|
+
* @example
|
|
915
|
+
* // Update or create a TeamInvitation
|
|
916
|
+
* const teamInvitation = await prisma.teamInvitation.upsert({
|
|
917
|
+
* create: {
|
|
918
|
+
* // ... data to create a TeamInvitation
|
|
919
|
+
* },
|
|
920
|
+
* update: {
|
|
921
|
+
* // ... in case it already exists, update
|
|
922
|
+
* },
|
|
923
|
+
* where: {
|
|
924
|
+
* // ... the filter for the TeamInvitation we want to update
|
|
925
|
+
* }
|
|
926
|
+
* })
|
|
927
|
+
*/
|
|
928
|
+
upsert<T extends TeamInvitationUpsertArgs>(args: Prisma.SelectSubset<T, TeamInvitationUpsertArgs<ExtArgs>>): Prisma.Prisma__TeamInvitationClient<runtime.Types.Result.GetResult<Prisma.$TeamInvitationPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
929
|
+
|
|
930
|
+
|
|
931
|
+
/**
|
|
932
|
+
* Count the number of TeamInvitations.
|
|
933
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
934
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
935
|
+
* @param {TeamInvitationCountArgs} args - Arguments to filter TeamInvitations to count.
|
|
936
|
+
* @example
|
|
937
|
+
* // Count the number of TeamInvitations
|
|
938
|
+
* const count = await prisma.teamInvitation.count({
|
|
939
|
+
* where: {
|
|
940
|
+
* // ... the filter for the TeamInvitations we want to count
|
|
941
|
+
* }
|
|
942
|
+
* })
|
|
943
|
+
**/
|
|
944
|
+
count<T extends TeamInvitationCountArgs>(
|
|
945
|
+
args?: Prisma.Subset<T, TeamInvitationCountArgs>,
|
|
946
|
+
): Prisma.PrismaPromise<
|
|
947
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
948
|
+
? T['select'] extends true
|
|
949
|
+
? number
|
|
950
|
+
: Prisma.GetScalarType<T['select'], TeamInvitationCountAggregateOutputType>
|
|
951
|
+
: number
|
|
952
|
+
>
|
|
953
|
+
|
|
954
|
+
/**
|
|
955
|
+
* Allows you to perform aggregations operations on a TeamInvitation.
|
|
956
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
957
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
958
|
+
* @param {TeamInvitationAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
959
|
+
* @example
|
|
960
|
+
* // Ordered by age ascending
|
|
961
|
+
* // Where email contains prisma.io
|
|
962
|
+
* // Limited to the 10 users
|
|
963
|
+
* const aggregations = await prisma.user.aggregate({
|
|
964
|
+
* _avg: {
|
|
965
|
+
* age: true,
|
|
966
|
+
* },
|
|
967
|
+
* where: {
|
|
968
|
+
* email: {
|
|
969
|
+
* contains: "prisma.io",
|
|
970
|
+
* },
|
|
971
|
+
* },
|
|
972
|
+
* orderBy: {
|
|
973
|
+
* age: "asc",
|
|
974
|
+
* },
|
|
975
|
+
* take: 10,
|
|
976
|
+
* })
|
|
977
|
+
**/
|
|
978
|
+
aggregate<T extends TeamInvitationAggregateArgs>(args: Prisma.Subset<T, TeamInvitationAggregateArgs>): Prisma.PrismaPromise<GetTeamInvitationAggregateType<T>>
|
|
979
|
+
|
|
980
|
+
/**
|
|
981
|
+
* Group by TeamInvitation.
|
|
982
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
983
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
984
|
+
* @param {TeamInvitationGroupByArgs} args - Group by arguments.
|
|
985
|
+
* @example
|
|
986
|
+
* // Group by city, order by createdAt, get count
|
|
987
|
+
* const result = await prisma.user.groupBy({
|
|
988
|
+
* by: ['city', 'createdAt'],
|
|
989
|
+
* orderBy: {
|
|
990
|
+
* createdAt: true
|
|
991
|
+
* },
|
|
992
|
+
* _count: {
|
|
993
|
+
* _all: true
|
|
994
|
+
* },
|
|
995
|
+
* })
|
|
996
|
+
*
|
|
997
|
+
**/
|
|
998
|
+
groupBy<
|
|
999
|
+
T extends TeamInvitationGroupByArgs,
|
|
1000
|
+
HasSelectOrTake extends Prisma.Or<
|
|
1001
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
1002
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
1003
|
+
>,
|
|
1004
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
1005
|
+
? { orderBy: TeamInvitationGroupByArgs['orderBy'] }
|
|
1006
|
+
: { orderBy?: TeamInvitationGroupByArgs['orderBy'] },
|
|
1007
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
1008
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
1009
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
1010
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
1011
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
1012
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
1013
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
1014
|
+
? `Error: "by" must not be empty.`
|
|
1015
|
+
: HavingValid extends Prisma.False
|
|
1016
|
+
? {
|
|
1017
|
+
[P in HavingFields]: P extends ByFields
|
|
1018
|
+
? never
|
|
1019
|
+
: P extends string
|
|
1020
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
1021
|
+
: [
|
|
1022
|
+
Error,
|
|
1023
|
+
'Field ',
|
|
1024
|
+
P,
|
|
1025
|
+
` in "having" needs to be provided in "by"`,
|
|
1026
|
+
]
|
|
1027
|
+
}[HavingFields]
|
|
1028
|
+
: 'take' extends Prisma.Keys<T>
|
|
1029
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1030
|
+
? ByValid extends Prisma.True
|
|
1031
|
+
? {}
|
|
1032
|
+
: {
|
|
1033
|
+
[P in OrderFields]: P extends ByFields
|
|
1034
|
+
? never
|
|
1035
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1036
|
+
}[OrderFields]
|
|
1037
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
1038
|
+
: 'skip' extends Prisma.Keys<T>
|
|
1039
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1040
|
+
? ByValid extends Prisma.True
|
|
1041
|
+
? {}
|
|
1042
|
+
: {
|
|
1043
|
+
[P in OrderFields]: P extends ByFields
|
|
1044
|
+
? never
|
|
1045
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1046
|
+
}[OrderFields]
|
|
1047
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
1048
|
+
: ByValid extends Prisma.True
|
|
1049
|
+
? {}
|
|
1050
|
+
: {
|
|
1051
|
+
[P in OrderFields]: P extends ByFields
|
|
1052
|
+
? never
|
|
1053
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1054
|
+
}[OrderFields]
|
|
1055
|
+
>(args: Prisma.SubsetIntersection<T, TeamInvitationGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetTeamInvitationGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
1056
|
+
/**
|
|
1057
|
+
* Fields of the TeamInvitation model
|
|
1058
|
+
*/
|
|
1059
|
+
readonly fields: TeamInvitationFieldRefs;
|
|
1060
|
+
}
|
|
1061
|
+
|
|
1062
|
+
/**
|
|
1063
|
+
* The delegate class that acts as a "Promise-like" for TeamInvitation.
|
|
1064
|
+
* Why is this prefixed with `Prisma__`?
|
|
1065
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1066
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1067
|
+
*/
|
|
1068
|
+
export interface Prisma__TeamInvitationClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1069
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1070
|
+
owner<T extends Prisma.UserDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.UserDefaultArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
1071
|
+
/**
|
|
1072
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1073
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1074
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1075
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1076
|
+
*/
|
|
1077
|
+
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>
|
|
1078
|
+
/**
|
|
1079
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1080
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1081
|
+
* @returns A Promise for the completion of the callback.
|
|
1082
|
+
*/
|
|
1083
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
1084
|
+
/**
|
|
1085
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1086
|
+
* resolved value cannot be modified from the callback.
|
|
1087
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1088
|
+
* @returns A Promise for the completion of the callback.
|
|
1089
|
+
*/
|
|
1090
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
1091
|
+
}
|
|
1092
|
+
|
|
1093
|
+
|
|
1094
|
+
|
|
1095
|
+
|
|
1096
|
+
/**
|
|
1097
|
+
* Fields of the TeamInvitation model
|
|
1098
|
+
*/
|
|
1099
|
+
export interface TeamInvitationFieldRefs {
|
|
1100
|
+
readonly id: Prisma.FieldRef<"TeamInvitation", 'String'>
|
|
1101
|
+
readonly ownerId: Prisma.FieldRef<"TeamInvitation", 'String'>
|
|
1102
|
+
readonly email: Prisma.FieldRef<"TeamInvitation", 'String'>
|
|
1103
|
+
readonly seatType: Prisma.FieldRef<"TeamInvitation", 'String'>
|
|
1104
|
+
readonly token: Prisma.FieldRef<"TeamInvitation", 'String'>
|
|
1105
|
+
readonly channel: Prisma.FieldRef<"TeamInvitation", 'String'>
|
|
1106
|
+
readonly status: Prisma.FieldRef<"TeamInvitation", 'String'>
|
|
1107
|
+
readonly expiresAt: Prisma.FieldRef<"TeamInvitation", 'DateTime'>
|
|
1108
|
+
readonly createdAt: Prisma.FieldRef<"TeamInvitation", 'DateTime'>
|
|
1109
|
+
readonly acceptedBy: Prisma.FieldRef<"TeamInvitation", 'String'>
|
|
1110
|
+
}
|
|
1111
|
+
|
|
1112
|
+
|
|
1113
|
+
// Custom InputTypes
|
|
1114
|
+
/**
|
|
1115
|
+
* TeamInvitation findUnique
|
|
1116
|
+
*/
|
|
1117
|
+
export type TeamInvitationFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1118
|
+
/**
|
|
1119
|
+
* Select specific fields to fetch from the TeamInvitation
|
|
1120
|
+
*/
|
|
1121
|
+
select?: Prisma.TeamInvitationSelect<ExtArgs> | null
|
|
1122
|
+
/**
|
|
1123
|
+
* Omit specific fields from the TeamInvitation
|
|
1124
|
+
*/
|
|
1125
|
+
omit?: Prisma.TeamInvitationOmit<ExtArgs> | null
|
|
1126
|
+
/**
|
|
1127
|
+
* Choose, which related nodes to fetch as well
|
|
1128
|
+
*/
|
|
1129
|
+
include?: Prisma.TeamInvitationInclude<ExtArgs> | null
|
|
1130
|
+
/**
|
|
1131
|
+
* Filter, which TeamInvitation to fetch.
|
|
1132
|
+
*/
|
|
1133
|
+
where: Prisma.TeamInvitationWhereUniqueInput
|
|
1134
|
+
}
|
|
1135
|
+
|
|
1136
|
+
/**
|
|
1137
|
+
* TeamInvitation findUniqueOrThrow
|
|
1138
|
+
*/
|
|
1139
|
+
export type TeamInvitationFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1140
|
+
/**
|
|
1141
|
+
* Select specific fields to fetch from the TeamInvitation
|
|
1142
|
+
*/
|
|
1143
|
+
select?: Prisma.TeamInvitationSelect<ExtArgs> | null
|
|
1144
|
+
/**
|
|
1145
|
+
* Omit specific fields from the TeamInvitation
|
|
1146
|
+
*/
|
|
1147
|
+
omit?: Prisma.TeamInvitationOmit<ExtArgs> | null
|
|
1148
|
+
/**
|
|
1149
|
+
* Choose, which related nodes to fetch as well
|
|
1150
|
+
*/
|
|
1151
|
+
include?: Prisma.TeamInvitationInclude<ExtArgs> | null
|
|
1152
|
+
/**
|
|
1153
|
+
* Filter, which TeamInvitation to fetch.
|
|
1154
|
+
*/
|
|
1155
|
+
where: Prisma.TeamInvitationWhereUniqueInput
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1158
|
+
/**
|
|
1159
|
+
* TeamInvitation findFirst
|
|
1160
|
+
*/
|
|
1161
|
+
export type TeamInvitationFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1162
|
+
/**
|
|
1163
|
+
* Select specific fields to fetch from the TeamInvitation
|
|
1164
|
+
*/
|
|
1165
|
+
select?: Prisma.TeamInvitationSelect<ExtArgs> | null
|
|
1166
|
+
/**
|
|
1167
|
+
* Omit specific fields from the TeamInvitation
|
|
1168
|
+
*/
|
|
1169
|
+
omit?: Prisma.TeamInvitationOmit<ExtArgs> | null
|
|
1170
|
+
/**
|
|
1171
|
+
* Choose, which related nodes to fetch as well
|
|
1172
|
+
*/
|
|
1173
|
+
include?: Prisma.TeamInvitationInclude<ExtArgs> | null
|
|
1174
|
+
/**
|
|
1175
|
+
* Filter, which TeamInvitation to fetch.
|
|
1176
|
+
*/
|
|
1177
|
+
where?: Prisma.TeamInvitationWhereInput
|
|
1178
|
+
/**
|
|
1179
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1180
|
+
*
|
|
1181
|
+
* Determine the order of TeamInvitations to fetch.
|
|
1182
|
+
*/
|
|
1183
|
+
orderBy?: Prisma.TeamInvitationOrderByWithRelationInput | Prisma.TeamInvitationOrderByWithRelationInput[]
|
|
1184
|
+
/**
|
|
1185
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1186
|
+
*
|
|
1187
|
+
* Sets the position for searching for TeamInvitations.
|
|
1188
|
+
*/
|
|
1189
|
+
cursor?: Prisma.TeamInvitationWhereUniqueInput
|
|
1190
|
+
/**
|
|
1191
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1192
|
+
*
|
|
1193
|
+
* Take `±n` TeamInvitations from the position of the cursor.
|
|
1194
|
+
*/
|
|
1195
|
+
take?: number
|
|
1196
|
+
/**
|
|
1197
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1198
|
+
*
|
|
1199
|
+
* Skip the first `n` TeamInvitations.
|
|
1200
|
+
*/
|
|
1201
|
+
skip?: number
|
|
1202
|
+
/**
|
|
1203
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1204
|
+
*
|
|
1205
|
+
* Filter by unique combinations of TeamInvitations.
|
|
1206
|
+
*/
|
|
1207
|
+
distinct?: Prisma.TeamInvitationScalarFieldEnum | Prisma.TeamInvitationScalarFieldEnum[]
|
|
1208
|
+
}
|
|
1209
|
+
|
|
1210
|
+
/**
|
|
1211
|
+
* TeamInvitation findFirstOrThrow
|
|
1212
|
+
*/
|
|
1213
|
+
export type TeamInvitationFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1214
|
+
/**
|
|
1215
|
+
* Select specific fields to fetch from the TeamInvitation
|
|
1216
|
+
*/
|
|
1217
|
+
select?: Prisma.TeamInvitationSelect<ExtArgs> | null
|
|
1218
|
+
/**
|
|
1219
|
+
* Omit specific fields from the TeamInvitation
|
|
1220
|
+
*/
|
|
1221
|
+
omit?: Prisma.TeamInvitationOmit<ExtArgs> | null
|
|
1222
|
+
/**
|
|
1223
|
+
* Choose, which related nodes to fetch as well
|
|
1224
|
+
*/
|
|
1225
|
+
include?: Prisma.TeamInvitationInclude<ExtArgs> | null
|
|
1226
|
+
/**
|
|
1227
|
+
* Filter, which TeamInvitation to fetch.
|
|
1228
|
+
*/
|
|
1229
|
+
where?: Prisma.TeamInvitationWhereInput
|
|
1230
|
+
/**
|
|
1231
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1232
|
+
*
|
|
1233
|
+
* Determine the order of TeamInvitations to fetch.
|
|
1234
|
+
*/
|
|
1235
|
+
orderBy?: Prisma.TeamInvitationOrderByWithRelationInput | Prisma.TeamInvitationOrderByWithRelationInput[]
|
|
1236
|
+
/**
|
|
1237
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1238
|
+
*
|
|
1239
|
+
* Sets the position for searching for TeamInvitations.
|
|
1240
|
+
*/
|
|
1241
|
+
cursor?: Prisma.TeamInvitationWhereUniqueInput
|
|
1242
|
+
/**
|
|
1243
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1244
|
+
*
|
|
1245
|
+
* Take `±n` TeamInvitations from the position of the cursor.
|
|
1246
|
+
*/
|
|
1247
|
+
take?: number
|
|
1248
|
+
/**
|
|
1249
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1250
|
+
*
|
|
1251
|
+
* Skip the first `n` TeamInvitations.
|
|
1252
|
+
*/
|
|
1253
|
+
skip?: number
|
|
1254
|
+
/**
|
|
1255
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1256
|
+
*
|
|
1257
|
+
* Filter by unique combinations of TeamInvitations.
|
|
1258
|
+
*/
|
|
1259
|
+
distinct?: Prisma.TeamInvitationScalarFieldEnum | Prisma.TeamInvitationScalarFieldEnum[]
|
|
1260
|
+
}
|
|
1261
|
+
|
|
1262
|
+
/**
|
|
1263
|
+
* TeamInvitation findMany
|
|
1264
|
+
*/
|
|
1265
|
+
export type TeamInvitationFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1266
|
+
/**
|
|
1267
|
+
* Select specific fields to fetch from the TeamInvitation
|
|
1268
|
+
*/
|
|
1269
|
+
select?: Prisma.TeamInvitationSelect<ExtArgs> | null
|
|
1270
|
+
/**
|
|
1271
|
+
* Omit specific fields from the TeamInvitation
|
|
1272
|
+
*/
|
|
1273
|
+
omit?: Prisma.TeamInvitationOmit<ExtArgs> | null
|
|
1274
|
+
/**
|
|
1275
|
+
* Choose, which related nodes to fetch as well
|
|
1276
|
+
*/
|
|
1277
|
+
include?: Prisma.TeamInvitationInclude<ExtArgs> | null
|
|
1278
|
+
/**
|
|
1279
|
+
* Filter, which TeamInvitations to fetch.
|
|
1280
|
+
*/
|
|
1281
|
+
where?: Prisma.TeamInvitationWhereInput
|
|
1282
|
+
/**
|
|
1283
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1284
|
+
*
|
|
1285
|
+
* Determine the order of TeamInvitations to fetch.
|
|
1286
|
+
*/
|
|
1287
|
+
orderBy?: Prisma.TeamInvitationOrderByWithRelationInput | Prisma.TeamInvitationOrderByWithRelationInput[]
|
|
1288
|
+
/**
|
|
1289
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1290
|
+
*
|
|
1291
|
+
* Sets the position for listing TeamInvitations.
|
|
1292
|
+
*/
|
|
1293
|
+
cursor?: Prisma.TeamInvitationWhereUniqueInput
|
|
1294
|
+
/**
|
|
1295
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1296
|
+
*
|
|
1297
|
+
* Take `±n` TeamInvitations from the position of the cursor.
|
|
1298
|
+
*/
|
|
1299
|
+
take?: number
|
|
1300
|
+
/**
|
|
1301
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1302
|
+
*
|
|
1303
|
+
* Skip the first `n` TeamInvitations.
|
|
1304
|
+
*/
|
|
1305
|
+
skip?: number
|
|
1306
|
+
/**
|
|
1307
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1308
|
+
*
|
|
1309
|
+
* Filter by unique combinations of TeamInvitations.
|
|
1310
|
+
*/
|
|
1311
|
+
distinct?: Prisma.TeamInvitationScalarFieldEnum | Prisma.TeamInvitationScalarFieldEnum[]
|
|
1312
|
+
}
|
|
1313
|
+
|
|
1314
|
+
/**
|
|
1315
|
+
* TeamInvitation create
|
|
1316
|
+
*/
|
|
1317
|
+
export type TeamInvitationCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1318
|
+
/**
|
|
1319
|
+
* Select specific fields to fetch from the TeamInvitation
|
|
1320
|
+
*/
|
|
1321
|
+
select?: Prisma.TeamInvitationSelect<ExtArgs> | null
|
|
1322
|
+
/**
|
|
1323
|
+
* Omit specific fields from the TeamInvitation
|
|
1324
|
+
*/
|
|
1325
|
+
omit?: Prisma.TeamInvitationOmit<ExtArgs> | null
|
|
1326
|
+
/**
|
|
1327
|
+
* Choose, which related nodes to fetch as well
|
|
1328
|
+
*/
|
|
1329
|
+
include?: Prisma.TeamInvitationInclude<ExtArgs> | null
|
|
1330
|
+
/**
|
|
1331
|
+
* The data needed to create a TeamInvitation.
|
|
1332
|
+
*/
|
|
1333
|
+
data: Prisma.XOR<Prisma.TeamInvitationCreateInput, Prisma.TeamInvitationUncheckedCreateInput>
|
|
1334
|
+
}
|
|
1335
|
+
|
|
1336
|
+
/**
|
|
1337
|
+
* TeamInvitation createMany
|
|
1338
|
+
*/
|
|
1339
|
+
export type TeamInvitationCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1340
|
+
/**
|
|
1341
|
+
* The data used to create many TeamInvitations.
|
|
1342
|
+
*/
|
|
1343
|
+
data: Prisma.TeamInvitationCreateManyInput | Prisma.TeamInvitationCreateManyInput[]
|
|
1344
|
+
skipDuplicates?: boolean
|
|
1345
|
+
}
|
|
1346
|
+
|
|
1347
|
+
/**
|
|
1348
|
+
* TeamInvitation createManyAndReturn
|
|
1349
|
+
*/
|
|
1350
|
+
export type TeamInvitationCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1351
|
+
/**
|
|
1352
|
+
* Select specific fields to fetch from the TeamInvitation
|
|
1353
|
+
*/
|
|
1354
|
+
select?: Prisma.TeamInvitationSelectCreateManyAndReturn<ExtArgs> | null
|
|
1355
|
+
/**
|
|
1356
|
+
* Omit specific fields from the TeamInvitation
|
|
1357
|
+
*/
|
|
1358
|
+
omit?: Prisma.TeamInvitationOmit<ExtArgs> | null
|
|
1359
|
+
/**
|
|
1360
|
+
* The data used to create many TeamInvitations.
|
|
1361
|
+
*/
|
|
1362
|
+
data: Prisma.TeamInvitationCreateManyInput | Prisma.TeamInvitationCreateManyInput[]
|
|
1363
|
+
skipDuplicates?: boolean
|
|
1364
|
+
/**
|
|
1365
|
+
* Choose, which related nodes to fetch as well
|
|
1366
|
+
*/
|
|
1367
|
+
include?: Prisma.TeamInvitationIncludeCreateManyAndReturn<ExtArgs> | null
|
|
1368
|
+
}
|
|
1369
|
+
|
|
1370
|
+
/**
|
|
1371
|
+
* TeamInvitation update
|
|
1372
|
+
*/
|
|
1373
|
+
export type TeamInvitationUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1374
|
+
/**
|
|
1375
|
+
* Select specific fields to fetch from the TeamInvitation
|
|
1376
|
+
*/
|
|
1377
|
+
select?: Prisma.TeamInvitationSelect<ExtArgs> | null
|
|
1378
|
+
/**
|
|
1379
|
+
* Omit specific fields from the TeamInvitation
|
|
1380
|
+
*/
|
|
1381
|
+
omit?: Prisma.TeamInvitationOmit<ExtArgs> | null
|
|
1382
|
+
/**
|
|
1383
|
+
* Choose, which related nodes to fetch as well
|
|
1384
|
+
*/
|
|
1385
|
+
include?: Prisma.TeamInvitationInclude<ExtArgs> | null
|
|
1386
|
+
/**
|
|
1387
|
+
* The data needed to update a TeamInvitation.
|
|
1388
|
+
*/
|
|
1389
|
+
data: Prisma.XOR<Prisma.TeamInvitationUpdateInput, Prisma.TeamInvitationUncheckedUpdateInput>
|
|
1390
|
+
/**
|
|
1391
|
+
* Choose, which TeamInvitation to update.
|
|
1392
|
+
*/
|
|
1393
|
+
where: Prisma.TeamInvitationWhereUniqueInput
|
|
1394
|
+
}
|
|
1395
|
+
|
|
1396
|
+
/**
|
|
1397
|
+
* TeamInvitation updateMany
|
|
1398
|
+
*/
|
|
1399
|
+
export type TeamInvitationUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1400
|
+
/**
|
|
1401
|
+
* The data used to update TeamInvitations.
|
|
1402
|
+
*/
|
|
1403
|
+
data: Prisma.XOR<Prisma.TeamInvitationUpdateManyMutationInput, Prisma.TeamInvitationUncheckedUpdateManyInput>
|
|
1404
|
+
/**
|
|
1405
|
+
* Filter which TeamInvitations to update
|
|
1406
|
+
*/
|
|
1407
|
+
where?: Prisma.TeamInvitationWhereInput
|
|
1408
|
+
/**
|
|
1409
|
+
* Limit how many TeamInvitations to update.
|
|
1410
|
+
*/
|
|
1411
|
+
limit?: number
|
|
1412
|
+
}
|
|
1413
|
+
|
|
1414
|
+
/**
|
|
1415
|
+
* TeamInvitation updateManyAndReturn
|
|
1416
|
+
*/
|
|
1417
|
+
export type TeamInvitationUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1418
|
+
/**
|
|
1419
|
+
* Select specific fields to fetch from the TeamInvitation
|
|
1420
|
+
*/
|
|
1421
|
+
select?: Prisma.TeamInvitationSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1422
|
+
/**
|
|
1423
|
+
* Omit specific fields from the TeamInvitation
|
|
1424
|
+
*/
|
|
1425
|
+
omit?: Prisma.TeamInvitationOmit<ExtArgs> | null
|
|
1426
|
+
/**
|
|
1427
|
+
* The data used to update TeamInvitations.
|
|
1428
|
+
*/
|
|
1429
|
+
data: Prisma.XOR<Prisma.TeamInvitationUpdateManyMutationInput, Prisma.TeamInvitationUncheckedUpdateManyInput>
|
|
1430
|
+
/**
|
|
1431
|
+
* Filter which TeamInvitations to update
|
|
1432
|
+
*/
|
|
1433
|
+
where?: Prisma.TeamInvitationWhereInput
|
|
1434
|
+
/**
|
|
1435
|
+
* Limit how many TeamInvitations to update.
|
|
1436
|
+
*/
|
|
1437
|
+
limit?: number
|
|
1438
|
+
/**
|
|
1439
|
+
* Choose, which related nodes to fetch as well
|
|
1440
|
+
*/
|
|
1441
|
+
include?: Prisma.TeamInvitationIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
1442
|
+
}
|
|
1443
|
+
|
|
1444
|
+
/**
|
|
1445
|
+
* TeamInvitation upsert
|
|
1446
|
+
*/
|
|
1447
|
+
export type TeamInvitationUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1448
|
+
/**
|
|
1449
|
+
* Select specific fields to fetch from the TeamInvitation
|
|
1450
|
+
*/
|
|
1451
|
+
select?: Prisma.TeamInvitationSelect<ExtArgs> | null
|
|
1452
|
+
/**
|
|
1453
|
+
* Omit specific fields from the TeamInvitation
|
|
1454
|
+
*/
|
|
1455
|
+
omit?: Prisma.TeamInvitationOmit<ExtArgs> | null
|
|
1456
|
+
/**
|
|
1457
|
+
* Choose, which related nodes to fetch as well
|
|
1458
|
+
*/
|
|
1459
|
+
include?: Prisma.TeamInvitationInclude<ExtArgs> | null
|
|
1460
|
+
/**
|
|
1461
|
+
* The filter to search for the TeamInvitation to update in case it exists.
|
|
1462
|
+
*/
|
|
1463
|
+
where: Prisma.TeamInvitationWhereUniqueInput
|
|
1464
|
+
/**
|
|
1465
|
+
* In case the TeamInvitation found by the `where` argument doesn't exist, create a new TeamInvitation with this data.
|
|
1466
|
+
*/
|
|
1467
|
+
create: Prisma.XOR<Prisma.TeamInvitationCreateInput, Prisma.TeamInvitationUncheckedCreateInput>
|
|
1468
|
+
/**
|
|
1469
|
+
* In case the TeamInvitation was found with the provided `where` argument, update it with this data.
|
|
1470
|
+
*/
|
|
1471
|
+
update: Prisma.XOR<Prisma.TeamInvitationUpdateInput, Prisma.TeamInvitationUncheckedUpdateInput>
|
|
1472
|
+
}
|
|
1473
|
+
|
|
1474
|
+
/**
|
|
1475
|
+
* TeamInvitation delete
|
|
1476
|
+
*/
|
|
1477
|
+
export type TeamInvitationDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1478
|
+
/**
|
|
1479
|
+
* Select specific fields to fetch from the TeamInvitation
|
|
1480
|
+
*/
|
|
1481
|
+
select?: Prisma.TeamInvitationSelect<ExtArgs> | null
|
|
1482
|
+
/**
|
|
1483
|
+
* Omit specific fields from the TeamInvitation
|
|
1484
|
+
*/
|
|
1485
|
+
omit?: Prisma.TeamInvitationOmit<ExtArgs> | null
|
|
1486
|
+
/**
|
|
1487
|
+
* Choose, which related nodes to fetch as well
|
|
1488
|
+
*/
|
|
1489
|
+
include?: Prisma.TeamInvitationInclude<ExtArgs> | null
|
|
1490
|
+
/**
|
|
1491
|
+
* Filter which TeamInvitation to delete.
|
|
1492
|
+
*/
|
|
1493
|
+
where: Prisma.TeamInvitationWhereUniqueInput
|
|
1494
|
+
}
|
|
1495
|
+
|
|
1496
|
+
/**
|
|
1497
|
+
* TeamInvitation deleteMany
|
|
1498
|
+
*/
|
|
1499
|
+
export type TeamInvitationDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1500
|
+
/**
|
|
1501
|
+
* Filter which TeamInvitations to delete
|
|
1502
|
+
*/
|
|
1503
|
+
where?: Prisma.TeamInvitationWhereInput
|
|
1504
|
+
/**
|
|
1505
|
+
* Limit how many TeamInvitations to delete.
|
|
1506
|
+
*/
|
|
1507
|
+
limit?: number
|
|
1508
|
+
}
|
|
1509
|
+
|
|
1510
|
+
/**
|
|
1511
|
+
* TeamInvitation without action
|
|
1512
|
+
*/
|
|
1513
|
+
export type TeamInvitationDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1514
|
+
/**
|
|
1515
|
+
* Select specific fields to fetch from the TeamInvitation
|
|
1516
|
+
*/
|
|
1517
|
+
select?: Prisma.TeamInvitationSelect<ExtArgs> | null
|
|
1518
|
+
/**
|
|
1519
|
+
* Omit specific fields from the TeamInvitation
|
|
1520
|
+
*/
|
|
1521
|
+
omit?: Prisma.TeamInvitationOmit<ExtArgs> | null
|
|
1522
|
+
/**
|
|
1523
|
+
* Choose, which related nodes to fetch as well
|
|
1524
|
+
*/
|
|
1525
|
+
include?: Prisma.TeamInvitationInclude<ExtArgs> | null
|
|
1526
|
+
}
|