zele 0.3.0 → 0.3.6
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/README.md +1 -1
- package/bin/zele +27 -0
- package/dist/api-utils.d.ts +51 -2
- package/dist/api-utils.js +89 -3
- package/dist/api-utils.js.map +1 -1
- package/dist/auth.d.ts +27 -6
- package/dist/auth.js +185 -129
- package/dist/auth.js.map +1 -1
- package/dist/calendar-client.d.ts +16 -9
- package/dist/calendar-client.js +163 -59
- package/dist/calendar-client.js.map +1 -1
- package/dist/cli.js +34 -1
- package/dist/cli.js.map +1 -1
- package/dist/commands/attachment.js +17 -15
- package/dist/commands/attachment.js.map +1 -1
- package/dist/commands/auth-cmd.js +20 -9
- package/dist/commands/auth-cmd.js.map +1 -1
- package/dist/commands/calendar.js +67 -78
- package/dist/commands/calendar.js.map +1 -1
- package/dist/commands/draft.js +25 -18
- package/dist/commands/draft.js.map +1 -1
- package/dist/commands/label.js +33 -45
- package/dist/commands/label.js.map +1 -1
- package/dist/commands/mail-actions.js +11 -13
- package/dist/commands/mail-actions.js.map +1 -1
- package/dist/commands/mail.js +119 -127
- package/dist/commands/mail.js.map +1 -1
- package/dist/commands/profile.js +18 -21
- package/dist/commands/profile.js.map +1 -1
- package/dist/commands/watch.js +33 -261
- package/dist/commands/watch.js.map +1 -1
- package/dist/db.js +12 -13
- package/dist/db.js.map +1 -1
- package/dist/generated/browser.d.ts +12 -27
- package/dist/generated/client.d.ts +13 -28
- package/dist/generated/client.js +1 -1
- package/dist/generated/commonInputTypes.d.ts +90 -26
- package/dist/generated/enums.d.ts +0 -4
- package/dist/generated/enums.js +0 -3
- package/dist/generated/enums.js.map +1 -1
- package/dist/generated/internal/class.d.ts +22 -55
- package/dist/generated/internal/class.js +12 -4
- package/dist/generated/internal/class.js.map +1 -1
- package/dist/generated/internal/prismaNamespace.d.ts +272 -511
- package/dist/generated/internal/prismaNamespace.js +54 -66
- package/dist/generated/internal/prismaNamespace.js.map +1 -1
- package/dist/generated/internal/prismaNamespaceBrowser.d.ts +60 -74
- package/dist/generated/internal/prismaNamespaceBrowser.js +50 -62
- package/dist/generated/internal/prismaNamespaceBrowser.js.map +1 -1
- package/dist/generated/models/Account.d.ts +1637 -0
- package/dist/generated/models/Account.js +2 -0
- package/dist/generated/models/Account.js.map +1 -0
- package/dist/generated/models/CalendarList.d.ts +1161 -0
- package/dist/generated/models/CalendarList.js +2 -0
- package/dist/generated/models/CalendarList.js.map +1 -0
- package/dist/generated/models/Label.d.ts +1161 -0
- package/dist/generated/models/Label.js +2 -0
- package/dist/generated/models/Label.js.map +1 -0
- package/dist/generated/models/Profile.d.ts +1269 -0
- package/dist/generated/models/Profile.js +2 -0
- package/dist/generated/models/Profile.js.map +1 -0
- package/dist/generated/models/SyncState.d.ts +1130 -0
- package/dist/generated/models/SyncState.js +2 -0
- package/dist/generated/models/SyncState.js.map +1 -0
- package/dist/generated/models/Thread.d.ts +1608 -0
- package/dist/generated/models/Thread.js +2 -0
- package/dist/generated/models/Thread.js.map +1 -0
- package/dist/generated/models.d.ts +6 -9
- package/dist/gmail-client.d.ts +119 -94
- package/dist/gmail-client.js +862 -322
- package/dist/gmail-client.js.map +1 -1
- package/dist/mail-tui.d.ts +1 -0
- package/dist/mail-tui.js +517 -0
- package/dist/mail-tui.js.map +1 -0
- package/dist/output.d.ts +6 -0
- package/dist/output.js +124 -11
- package/dist/output.js.map +1 -1
- package/package.json +39 -11
- package/schema.prisma +81 -113
- package/src/api-utils.ts +103 -5
- package/src/auth.ts +224 -143
- package/src/calendar-client.ts +196 -89
- package/src/cli.ts +39 -1
- package/src/commands/attachment.ts +18 -19
- package/src/commands/auth-cmd.ts +19 -9
- package/src/commands/calendar.ts +42 -85
- package/src/commands/draft.ts +19 -22
- package/src/commands/label.ts +21 -57
- package/src/commands/mail-actions.ts +11 -19
- package/src/commands/mail.ts +109 -148
- package/src/commands/profile.ts +12 -28
- package/src/commands/watch.ts +37 -304
- package/src/db.ts +13 -16
- package/src/generated/browser.ts +49 -0
- package/src/generated/client.ts +71 -0
- package/src/generated/commonInputTypes.ts +332 -0
- package/src/generated/enums.ts +17 -0
- package/src/generated/internal/class.ts +250 -0
- package/src/generated/internal/prismaNamespace.ts +1198 -0
- package/src/generated/internal/prismaNamespaceBrowser.ts +169 -0
- package/src/generated/models/Account.ts +1848 -0
- package/src/generated/models/CalendarList.ts +1331 -0
- package/src/generated/models/Label.ts +1331 -0
- package/src/generated/models/Profile.ts +1439 -0
- package/src/generated/models/SyncState.ts +1300 -0
- package/src/generated/models/Thread.ts +1787 -0
- package/src/generated/models.ts +17 -0
- package/src/gmail-client.test.ts +59 -0
- package/src/gmail-client.ts +1034 -429
- package/src/mail-tui.tsx +1061 -0
- package/src/output.test.ts +1093 -0
- package/src/output.ts +128 -13
- package/src/schema.sql +58 -68
- package/src/test-fixtures/email-html/safe-claude-event.html +28 -0
- package/src/test-fixtures/email-html/safe-product-announcement.html +25 -0
- package/src/test-fixtures/email-html/safe-tracked-links.html +27 -0
- package/src/test-fixtures/email-html-snapshots/safe-claude-event.html.md +9 -0
- package/src/test-fixtures/email-html-snapshots/safe-product-announcement.html.md +13 -0
- package/src/test-fixtures/email-html-snapshots/safe-tracked-links.html.md +7 -0
- package/AGENTS.md +0 -26
- package/CHANGELOG.md +0 -43
- package/dist/generated/models/accounts.d.ts +0 -2000
- package/dist/generated/models/accounts.js +0 -2
- package/dist/generated/models/accounts.js.map +0 -1
- package/dist/generated/models/calendar_events.d.ts +0 -1433
- package/dist/generated/models/calendar_events.js +0 -2
- package/dist/generated/models/calendar_events.js.map +0 -1
- package/dist/generated/models/calendar_lists.d.ts +0 -1131
- package/dist/generated/models/calendar_lists.js +0 -2
- package/dist/generated/models/calendar_lists.js.map +0 -1
- package/dist/generated/models/label_counts.d.ts +0 -1131
- package/dist/generated/models/label_counts.js +0 -2
- package/dist/generated/models/label_counts.js.map +0 -1
- package/dist/generated/models/labels.d.ts +0 -1131
- package/dist/generated/models/labels.js +0 -2
- package/dist/generated/models/labels.js.map +0 -1
- package/dist/generated/models/profiles.d.ts +0 -1131
- package/dist/generated/models/profiles.js +0 -2
- package/dist/generated/models/profiles.js.map +0 -1
- package/dist/generated/models/sync_states.d.ts +0 -1107
- package/dist/generated/models/sync_states.js +0 -2
- package/dist/generated/models/sync_states.js.map +0 -1
- package/dist/generated/models/thread_lists.d.ts +0 -1404
- package/dist/generated/models/thread_lists.js +0 -2
- package/dist/generated/models/thread_lists.js.map +0 -1
- package/dist/generated/models/threads.d.ts +0 -1247
- package/dist/generated/models/threads.js +0 -2
- package/dist/generated/models/threads.js.map +0 -1
- package/dist/gmail-cache.d.ts +0 -60
- package/dist/gmail-cache.js +0 -264
- package/dist/gmail-cache.js.map +0 -1
- package/docs/gogcli-gmail-implementation.md +0 -599
- package/scripts/test-device-code-clients.ts +0 -186
- package/scripts/test-micropython-scopes.ts +0 -72
- package/scripts/test-oauth-clients.ts +0 -257
- package/src/gmail-cache.ts +0 -339
- package/tsconfig.json +0 -16
|
@@ -0,0 +1,1439 @@
|
|
|
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 `Profile` 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.js"
|
|
13
|
+
import type * as Prisma from "../internal/prismaNamespace.js"
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Model Profile
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type ProfileModel = runtime.Types.Result.DefaultSelection<Prisma.$ProfilePayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateProfile = {
|
|
22
|
+
_count: ProfileCountAggregateOutputType | null
|
|
23
|
+
_avg: ProfileAvgAggregateOutputType | null
|
|
24
|
+
_sum: ProfileSumAggregateOutputType | null
|
|
25
|
+
_min: ProfileMinAggregateOutputType | null
|
|
26
|
+
_max: ProfileMaxAggregateOutputType | null
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export type ProfileAvgAggregateOutputType = {
|
|
30
|
+
messagesTotal: number | null
|
|
31
|
+
threadsTotal: number | null
|
|
32
|
+
ttlMs: number | null
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export type ProfileSumAggregateOutputType = {
|
|
36
|
+
messagesTotal: number | null
|
|
37
|
+
threadsTotal: number | null
|
|
38
|
+
ttlMs: number | null
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export type ProfileMinAggregateOutputType = {
|
|
42
|
+
email: string | null
|
|
43
|
+
appId: string | null
|
|
44
|
+
emailAddress: string | null
|
|
45
|
+
messagesTotal: number | null
|
|
46
|
+
threadsTotal: number | null
|
|
47
|
+
historyId: string | null
|
|
48
|
+
ttlMs: number | null
|
|
49
|
+
createdAt: Date | null
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export type ProfileMaxAggregateOutputType = {
|
|
53
|
+
email: string | null
|
|
54
|
+
appId: string | null
|
|
55
|
+
emailAddress: string | null
|
|
56
|
+
messagesTotal: number | null
|
|
57
|
+
threadsTotal: number | null
|
|
58
|
+
historyId: string | null
|
|
59
|
+
ttlMs: number | null
|
|
60
|
+
createdAt: Date | null
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export type ProfileCountAggregateOutputType = {
|
|
64
|
+
email: number
|
|
65
|
+
appId: number
|
|
66
|
+
emailAddress: number
|
|
67
|
+
messagesTotal: number
|
|
68
|
+
threadsTotal: number
|
|
69
|
+
historyId: number
|
|
70
|
+
ttlMs: number
|
|
71
|
+
createdAt: number
|
|
72
|
+
_all: number
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
export type ProfileAvgAggregateInputType = {
|
|
77
|
+
messagesTotal?: true
|
|
78
|
+
threadsTotal?: true
|
|
79
|
+
ttlMs?: true
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export type ProfileSumAggregateInputType = {
|
|
83
|
+
messagesTotal?: true
|
|
84
|
+
threadsTotal?: true
|
|
85
|
+
ttlMs?: true
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export type ProfileMinAggregateInputType = {
|
|
89
|
+
email?: true
|
|
90
|
+
appId?: true
|
|
91
|
+
emailAddress?: true
|
|
92
|
+
messagesTotal?: true
|
|
93
|
+
threadsTotal?: true
|
|
94
|
+
historyId?: true
|
|
95
|
+
ttlMs?: true
|
|
96
|
+
createdAt?: true
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export type ProfileMaxAggregateInputType = {
|
|
100
|
+
email?: true
|
|
101
|
+
appId?: true
|
|
102
|
+
emailAddress?: true
|
|
103
|
+
messagesTotal?: true
|
|
104
|
+
threadsTotal?: true
|
|
105
|
+
historyId?: true
|
|
106
|
+
ttlMs?: true
|
|
107
|
+
createdAt?: true
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export type ProfileCountAggregateInputType = {
|
|
111
|
+
email?: true
|
|
112
|
+
appId?: true
|
|
113
|
+
emailAddress?: true
|
|
114
|
+
messagesTotal?: true
|
|
115
|
+
threadsTotal?: true
|
|
116
|
+
historyId?: true
|
|
117
|
+
ttlMs?: true
|
|
118
|
+
createdAt?: true
|
|
119
|
+
_all?: true
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
export type ProfileAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
123
|
+
/**
|
|
124
|
+
* Filter which Profile to aggregate.
|
|
125
|
+
*/
|
|
126
|
+
where?: Prisma.ProfileWhereInput
|
|
127
|
+
/**
|
|
128
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
129
|
+
*
|
|
130
|
+
* Determine the order of Profiles to fetch.
|
|
131
|
+
*/
|
|
132
|
+
orderBy?: Prisma.ProfileOrderByWithRelationInput | Prisma.ProfileOrderByWithRelationInput[]
|
|
133
|
+
/**
|
|
134
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
135
|
+
*
|
|
136
|
+
* Sets the start position
|
|
137
|
+
*/
|
|
138
|
+
cursor?: Prisma.ProfileWhereUniqueInput
|
|
139
|
+
/**
|
|
140
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
141
|
+
*
|
|
142
|
+
* Take `±n` Profiles from the position of the cursor.
|
|
143
|
+
*/
|
|
144
|
+
take?: number
|
|
145
|
+
/**
|
|
146
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
147
|
+
*
|
|
148
|
+
* Skip the first `n` Profiles.
|
|
149
|
+
*/
|
|
150
|
+
skip?: number
|
|
151
|
+
/**
|
|
152
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
153
|
+
*
|
|
154
|
+
* Count returned Profiles
|
|
155
|
+
**/
|
|
156
|
+
_count?: true | ProfileCountAggregateInputType
|
|
157
|
+
/**
|
|
158
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
159
|
+
*
|
|
160
|
+
* Select which fields to average
|
|
161
|
+
**/
|
|
162
|
+
_avg?: ProfileAvgAggregateInputType
|
|
163
|
+
/**
|
|
164
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
165
|
+
*
|
|
166
|
+
* Select which fields to sum
|
|
167
|
+
**/
|
|
168
|
+
_sum?: ProfileSumAggregateInputType
|
|
169
|
+
/**
|
|
170
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
171
|
+
*
|
|
172
|
+
* Select which fields to find the minimum value
|
|
173
|
+
**/
|
|
174
|
+
_min?: ProfileMinAggregateInputType
|
|
175
|
+
/**
|
|
176
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
177
|
+
*
|
|
178
|
+
* Select which fields to find the maximum value
|
|
179
|
+
**/
|
|
180
|
+
_max?: ProfileMaxAggregateInputType
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
export type GetProfileAggregateType<T extends ProfileAggregateArgs> = {
|
|
184
|
+
[P in keyof T & keyof AggregateProfile]: P extends '_count' | 'count'
|
|
185
|
+
? T[P] extends true
|
|
186
|
+
? number
|
|
187
|
+
: Prisma.GetScalarType<T[P], AggregateProfile[P]>
|
|
188
|
+
: Prisma.GetScalarType<T[P], AggregateProfile[P]>
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
export type ProfileGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
195
|
+
where?: Prisma.ProfileWhereInput
|
|
196
|
+
orderBy?: Prisma.ProfileOrderByWithAggregationInput | Prisma.ProfileOrderByWithAggregationInput[]
|
|
197
|
+
by: Prisma.ProfileScalarFieldEnum[] | Prisma.ProfileScalarFieldEnum
|
|
198
|
+
having?: Prisma.ProfileScalarWhereWithAggregatesInput
|
|
199
|
+
take?: number
|
|
200
|
+
skip?: number
|
|
201
|
+
_count?: ProfileCountAggregateInputType | true
|
|
202
|
+
_avg?: ProfileAvgAggregateInputType
|
|
203
|
+
_sum?: ProfileSumAggregateInputType
|
|
204
|
+
_min?: ProfileMinAggregateInputType
|
|
205
|
+
_max?: ProfileMaxAggregateInputType
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
export type ProfileGroupByOutputType = {
|
|
209
|
+
email: string
|
|
210
|
+
appId: string
|
|
211
|
+
emailAddress: string
|
|
212
|
+
messagesTotal: number
|
|
213
|
+
threadsTotal: number
|
|
214
|
+
historyId: string
|
|
215
|
+
ttlMs: number
|
|
216
|
+
createdAt: Date
|
|
217
|
+
_count: ProfileCountAggregateOutputType | null
|
|
218
|
+
_avg: ProfileAvgAggregateOutputType | null
|
|
219
|
+
_sum: ProfileSumAggregateOutputType | null
|
|
220
|
+
_min: ProfileMinAggregateOutputType | null
|
|
221
|
+
_max: ProfileMaxAggregateOutputType | null
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
type GetProfileGroupByPayload<T extends ProfileGroupByArgs> = Prisma.PrismaPromise<
|
|
225
|
+
Array<
|
|
226
|
+
Prisma.PickEnumerable<ProfileGroupByOutputType, T['by']> &
|
|
227
|
+
{
|
|
228
|
+
[P in ((keyof T) & (keyof ProfileGroupByOutputType))]: P extends '_count'
|
|
229
|
+
? T[P] extends boolean
|
|
230
|
+
? number
|
|
231
|
+
: Prisma.GetScalarType<T[P], ProfileGroupByOutputType[P]>
|
|
232
|
+
: Prisma.GetScalarType<T[P], ProfileGroupByOutputType[P]>
|
|
233
|
+
}
|
|
234
|
+
>
|
|
235
|
+
>
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
export type ProfileWhereInput = {
|
|
240
|
+
AND?: Prisma.ProfileWhereInput | Prisma.ProfileWhereInput[]
|
|
241
|
+
OR?: Prisma.ProfileWhereInput[]
|
|
242
|
+
NOT?: Prisma.ProfileWhereInput | Prisma.ProfileWhereInput[]
|
|
243
|
+
email?: Prisma.StringFilter<"Profile"> | string
|
|
244
|
+
appId?: Prisma.StringFilter<"Profile"> | string
|
|
245
|
+
emailAddress?: Prisma.StringFilter<"Profile"> | string
|
|
246
|
+
messagesTotal?: Prisma.IntFilter<"Profile"> | number
|
|
247
|
+
threadsTotal?: Prisma.IntFilter<"Profile"> | number
|
|
248
|
+
historyId?: Prisma.StringFilter<"Profile"> | string
|
|
249
|
+
ttlMs?: Prisma.IntFilter<"Profile"> | number
|
|
250
|
+
createdAt?: Prisma.DateTimeFilter<"Profile"> | Date | string
|
|
251
|
+
account?: Prisma.XOR<Prisma.AccountScalarRelationFilter, Prisma.AccountWhereInput>
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
export type ProfileOrderByWithRelationInput = {
|
|
255
|
+
email?: Prisma.SortOrder
|
|
256
|
+
appId?: Prisma.SortOrder
|
|
257
|
+
emailAddress?: Prisma.SortOrder
|
|
258
|
+
messagesTotal?: Prisma.SortOrder
|
|
259
|
+
threadsTotal?: Prisma.SortOrder
|
|
260
|
+
historyId?: Prisma.SortOrder
|
|
261
|
+
ttlMs?: Prisma.SortOrder
|
|
262
|
+
createdAt?: Prisma.SortOrder
|
|
263
|
+
account?: Prisma.AccountOrderByWithRelationInput
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
export type ProfileWhereUniqueInput = Prisma.AtLeast<{
|
|
267
|
+
email_appId?: Prisma.ProfileEmailAppIdCompoundUniqueInput
|
|
268
|
+
AND?: Prisma.ProfileWhereInput | Prisma.ProfileWhereInput[]
|
|
269
|
+
OR?: Prisma.ProfileWhereInput[]
|
|
270
|
+
NOT?: Prisma.ProfileWhereInput | Prisma.ProfileWhereInput[]
|
|
271
|
+
email?: Prisma.StringFilter<"Profile"> | string
|
|
272
|
+
appId?: Prisma.StringFilter<"Profile"> | string
|
|
273
|
+
emailAddress?: Prisma.StringFilter<"Profile"> | string
|
|
274
|
+
messagesTotal?: Prisma.IntFilter<"Profile"> | number
|
|
275
|
+
threadsTotal?: Prisma.IntFilter<"Profile"> | number
|
|
276
|
+
historyId?: Prisma.StringFilter<"Profile"> | string
|
|
277
|
+
ttlMs?: Prisma.IntFilter<"Profile"> | number
|
|
278
|
+
createdAt?: Prisma.DateTimeFilter<"Profile"> | Date | string
|
|
279
|
+
account?: Prisma.XOR<Prisma.AccountScalarRelationFilter, Prisma.AccountWhereInput>
|
|
280
|
+
}, "email_appId">
|
|
281
|
+
|
|
282
|
+
export type ProfileOrderByWithAggregationInput = {
|
|
283
|
+
email?: Prisma.SortOrder
|
|
284
|
+
appId?: Prisma.SortOrder
|
|
285
|
+
emailAddress?: Prisma.SortOrder
|
|
286
|
+
messagesTotal?: Prisma.SortOrder
|
|
287
|
+
threadsTotal?: Prisma.SortOrder
|
|
288
|
+
historyId?: Prisma.SortOrder
|
|
289
|
+
ttlMs?: Prisma.SortOrder
|
|
290
|
+
createdAt?: Prisma.SortOrder
|
|
291
|
+
_count?: Prisma.ProfileCountOrderByAggregateInput
|
|
292
|
+
_avg?: Prisma.ProfileAvgOrderByAggregateInput
|
|
293
|
+
_max?: Prisma.ProfileMaxOrderByAggregateInput
|
|
294
|
+
_min?: Prisma.ProfileMinOrderByAggregateInput
|
|
295
|
+
_sum?: Prisma.ProfileSumOrderByAggregateInput
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
export type ProfileScalarWhereWithAggregatesInput = {
|
|
299
|
+
AND?: Prisma.ProfileScalarWhereWithAggregatesInput | Prisma.ProfileScalarWhereWithAggregatesInput[]
|
|
300
|
+
OR?: Prisma.ProfileScalarWhereWithAggregatesInput[]
|
|
301
|
+
NOT?: Prisma.ProfileScalarWhereWithAggregatesInput | Prisma.ProfileScalarWhereWithAggregatesInput[]
|
|
302
|
+
email?: Prisma.StringWithAggregatesFilter<"Profile"> | string
|
|
303
|
+
appId?: Prisma.StringWithAggregatesFilter<"Profile"> | string
|
|
304
|
+
emailAddress?: Prisma.StringWithAggregatesFilter<"Profile"> | string
|
|
305
|
+
messagesTotal?: Prisma.IntWithAggregatesFilter<"Profile"> | number
|
|
306
|
+
threadsTotal?: Prisma.IntWithAggregatesFilter<"Profile"> | number
|
|
307
|
+
historyId?: Prisma.StringWithAggregatesFilter<"Profile"> | string
|
|
308
|
+
ttlMs?: Prisma.IntWithAggregatesFilter<"Profile"> | number
|
|
309
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"Profile"> | Date | string
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
export type ProfileCreateInput = {
|
|
313
|
+
emailAddress: string
|
|
314
|
+
messagesTotal: number
|
|
315
|
+
threadsTotal: number
|
|
316
|
+
historyId: string
|
|
317
|
+
ttlMs: number
|
|
318
|
+
createdAt: Date | string
|
|
319
|
+
account: Prisma.AccountCreateNestedOneWithoutProfilesInput
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
export type ProfileUncheckedCreateInput = {
|
|
323
|
+
email: string
|
|
324
|
+
appId: string
|
|
325
|
+
emailAddress: string
|
|
326
|
+
messagesTotal: number
|
|
327
|
+
threadsTotal: number
|
|
328
|
+
historyId: string
|
|
329
|
+
ttlMs: number
|
|
330
|
+
createdAt: Date | string
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
export type ProfileUpdateInput = {
|
|
334
|
+
emailAddress?: Prisma.StringFieldUpdateOperationsInput | string
|
|
335
|
+
messagesTotal?: Prisma.IntFieldUpdateOperationsInput | number
|
|
336
|
+
threadsTotal?: Prisma.IntFieldUpdateOperationsInput | number
|
|
337
|
+
historyId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
338
|
+
ttlMs?: Prisma.IntFieldUpdateOperationsInput | number
|
|
339
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
340
|
+
account?: Prisma.AccountUpdateOneRequiredWithoutProfilesNestedInput
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
export type ProfileUncheckedUpdateInput = {
|
|
344
|
+
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
345
|
+
appId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
346
|
+
emailAddress?: Prisma.StringFieldUpdateOperationsInput | string
|
|
347
|
+
messagesTotal?: Prisma.IntFieldUpdateOperationsInput | number
|
|
348
|
+
threadsTotal?: Prisma.IntFieldUpdateOperationsInput | number
|
|
349
|
+
historyId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
350
|
+
ttlMs?: Prisma.IntFieldUpdateOperationsInput | number
|
|
351
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
export type ProfileCreateManyInput = {
|
|
355
|
+
email: string
|
|
356
|
+
appId: string
|
|
357
|
+
emailAddress: string
|
|
358
|
+
messagesTotal: number
|
|
359
|
+
threadsTotal: number
|
|
360
|
+
historyId: string
|
|
361
|
+
ttlMs: number
|
|
362
|
+
createdAt: Date | string
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
export type ProfileUpdateManyMutationInput = {
|
|
366
|
+
emailAddress?: Prisma.StringFieldUpdateOperationsInput | string
|
|
367
|
+
messagesTotal?: Prisma.IntFieldUpdateOperationsInput | number
|
|
368
|
+
threadsTotal?: Prisma.IntFieldUpdateOperationsInput | number
|
|
369
|
+
historyId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
370
|
+
ttlMs?: Prisma.IntFieldUpdateOperationsInput | number
|
|
371
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
export type ProfileUncheckedUpdateManyInput = {
|
|
375
|
+
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
376
|
+
appId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
377
|
+
emailAddress?: Prisma.StringFieldUpdateOperationsInput | string
|
|
378
|
+
messagesTotal?: Prisma.IntFieldUpdateOperationsInput | number
|
|
379
|
+
threadsTotal?: Prisma.IntFieldUpdateOperationsInput | number
|
|
380
|
+
historyId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
381
|
+
ttlMs?: Prisma.IntFieldUpdateOperationsInput | number
|
|
382
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
export type ProfileNullableScalarRelationFilter = {
|
|
386
|
+
is?: Prisma.ProfileWhereInput | null
|
|
387
|
+
isNot?: Prisma.ProfileWhereInput | null
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
export type ProfileEmailAppIdCompoundUniqueInput = {
|
|
391
|
+
email: string
|
|
392
|
+
appId: string
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
export type ProfileCountOrderByAggregateInput = {
|
|
396
|
+
email?: Prisma.SortOrder
|
|
397
|
+
appId?: Prisma.SortOrder
|
|
398
|
+
emailAddress?: Prisma.SortOrder
|
|
399
|
+
messagesTotal?: Prisma.SortOrder
|
|
400
|
+
threadsTotal?: Prisma.SortOrder
|
|
401
|
+
historyId?: Prisma.SortOrder
|
|
402
|
+
ttlMs?: Prisma.SortOrder
|
|
403
|
+
createdAt?: Prisma.SortOrder
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
export type ProfileAvgOrderByAggregateInput = {
|
|
407
|
+
messagesTotal?: Prisma.SortOrder
|
|
408
|
+
threadsTotal?: Prisma.SortOrder
|
|
409
|
+
ttlMs?: Prisma.SortOrder
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
export type ProfileMaxOrderByAggregateInput = {
|
|
413
|
+
email?: Prisma.SortOrder
|
|
414
|
+
appId?: Prisma.SortOrder
|
|
415
|
+
emailAddress?: Prisma.SortOrder
|
|
416
|
+
messagesTotal?: Prisma.SortOrder
|
|
417
|
+
threadsTotal?: Prisma.SortOrder
|
|
418
|
+
historyId?: Prisma.SortOrder
|
|
419
|
+
ttlMs?: Prisma.SortOrder
|
|
420
|
+
createdAt?: Prisma.SortOrder
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
export type ProfileMinOrderByAggregateInput = {
|
|
424
|
+
email?: Prisma.SortOrder
|
|
425
|
+
appId?: Prisma.SortOrder
|
|
426
|
+
emailAddress?: Prisma.SortOrder
|
|
427
|
+
messagesTotal?: Prisma.SortOrder
|
|
428
|
+
threadsTotal?: Prisma.SortOrder
|
|
429
|
+
historyId?: Prisma.SortOrder
|
|
430
|
+
ttlMs?: Prisma.SortOrder
|
|
431
|
+
createdAt?: Prisma.SortOrder
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
export type ProfileSumOrderByAggregateInput = {
|
|
435
|
+
messagesTotal?: Prisma.SortOrder
|
|
436
|
+
threadsTotal?: Prisma.SortOrder
|
|
437
|
+
ttlMs?: Prisma.SortOrder
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
export type ProfileCreateNestedOneWithoutAccountInput = {
|
|
441
|
+
create?: Prisma.XOR<Prisma.ProfileCreateWithoutAccountInput, Prisma.ProfileUncheckedCreateWithoutAccountInput>
|
|
442
|
+
connectOrCreate?: Prisma.ProfileCreateOrConnectWithoutAccountInput
|
|
443
|
+
connect?: Prisma.ProfileWhereUniqueInput
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
export type ProfileUncheckedCreateNestedOneWithoutAccountInput = {
|
|
447
|
+
create?: Prisma.XOR<Prisma.ProfileCreateWithoutAccountInput, Prisma.ProfileUncheckedCreateWithoutAccountInput>
|
|
448
|
+
connectOrCreate?: Prisma.ProfileCreateOrConnectWithoutAccountInput
|
|
449
|
+
connect?: Prisma.ProfileWhereUniqueInput
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
export type ProfileUpdateOneWithoutAccountNestedInput = {
|
|
453
|
+
create?: Prisma.XOR<Prisma.ProfileCreateWithoutAccountInput, Prisma.ProfileUncheckedCreateWithoutAccountInput>
|
|
454
|
+
connectOrCreate?: Prisma.ProfileCreateOrConnectWithoutAccountInput
|
|
455
|
+
upsert?: Prisma.ProfileUpsertWithoutAccountInput
|
|
456
|
+
disconnect?: Prisma.ProfileWhereInput | boolean
|
|
457
|
+
delete?: Prisma.ProfileWhereInput | boolean
|
|
458
|
+
connect?: Prisma.ProfileWhereUniqueInput
|
|
459
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.ProfileUpdateToOneWithWhereWithoutAccountInput, Prisma.ProfileUpdateWithoutAccountInput>, Prisma.ProfileUncheckedUpdateWithoutAccountInput>
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
export type ProfileUncheckedUpdateOneWithoutAccountNestedInput = {
|
|
463
|
+
create?: Prisma.XOR<Prisma.ProfileCreateWithoutAccountInput, Prisma.ProfileUncheckedCreateWithoutAccountInput>
|
|
464
|
+
connectOrCreate?: Prisma.ProfileCreateOrConnectWithoutAccountInput
|
|
465
|
+
upsert?: Prisma.ProfileUpsertWithoutAccountInput
|
|
466
|
+
disconnect?: Prisma.ProfileWhereInput | boolean
|
|
467
|
+
delete?: Prisma.ProfileWhereInput | boolean
|
|
468
|
+
connect?: Prisma.ProfileWhereUniqueInput
|
|
469
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.ProfileUpdateToOneWithWhereWithoutAccountInput, Prisma.ProfileUpdateWithoutAccountInput>, Prisma.ProfileUncheckedUpdateWithoutAccountInput>
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
export type ProfileCreateWithoutAccountInput = {
|
|
473
|
+
emailAddress: string
|
|
474
|
+
messagesTotal: number
|
|
475
|
+
threadsTotal: number
|
|
476
|
+
historyId: string
|
|
477
|
+
ttlMs: number
|
|
478
|
+
createdAt: Date | string
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
export type ProfileUncheckedCreateWithoutAccountInput = {
|
|
482
|
+
emailAddress: string
|
|
483
|
+
messagesTotal: number
|
|
484
|
+
threadsTotal: number
|
|
485
|
+
historyId: string
|
|
486
|
+
ttlMs: number
|
|
487
|
+
createdAt: Date | string
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
export type ProfileCreateOrConnectWithoutAccountInput = {
|
|
491
|
+
where: Prisma.ProfileWhereUniqueInput
|
|
492
|
+
create: Prisma.XOR<Prisma.ProfileCreateWithoutAccountInput, Prisma.ProfileUncheckedCreateWithoutAccountInput>
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
export type ProfileUpsertWithoutAccountInput = {
|
|
496
|
+
update: Prisma.XOR<Prisma.ProfileUpdateWithoutAccountInput, Prisma.ProfileUncheckedUpdateWithoutAccountInput>
|
|
497
|
+
create: Prisma.XOR<Prisma.ProfileCreateWithoutAccountInput, Prisma.ProfileUncheckedCreateWithoutAccountInput>
|
|
498
|
+
where?: Prisma.ProfileWhereInput
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
export type ProfileUpdateToOneWithWhereWithoutAccountInput = {
|
|
502
|
+
where?: Prisma.ProfileWhereInput
|
|
503
|
+
data: Prisma.XOR<Prisma.ProfileUpdateWithoutAccountInput, Prisma.ProfileUncheckedUpdateWithoutAccountInput>
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
export type ProfileUpdateWithoutAccountInput = {
|
|
507
|
+
emailAddress?: Prisma.StringFieldUpdateOperationsInput | string
|
|
508
|
+
messagesTotal?: Prisma.IntFieldUpdateOperationsInput | number
|
|
509
|
+
threadsTotal?: Prisma.IntFieldUpdateOperationsInput | number
|
|
510
|
+
historyId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
511
|
+
ttlMs?: Prisma.IntFieldUpdateOperationsInput | number
|
|
512
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
export type ProfileUncheckedUpdateWithoutAccountInput = {
|
|
516
|
+
emailAddress?: Prisma.StringFieldUpdateOperationsInput | string
|
|
517
|
+
messagesTotal?: Prisma.IntFieldUpdateOperationsInput | number
|
|
518
|
+
threadsTotal?: Prisma.IntFieldUpdateOperationsInput | number
|
|
519
|
+
historyId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
520
|
+
ttlMs?: Prisma.IntFieldUpdateOperationsInput | number
|
|
521
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
|
|
525
|
+
|
|
526
|
+
export type ProfileSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
527
|
+
email?: boolean
|
|
528
|
+
appId?: boolean
|
|
529
|
+
emailAddress?: boolean
|
|
530
|
+
messagesTotal?: boolean
|
|
531
|
+
threadsTotal?: boolean
|
|
532
|
+
historyId?: boolean
|
|
533
|
+
ttlMs?: boolean
|
|
534
|
+
createdAt?: boolean
|
|
535
|
+
account?: boolean | Prisma.AccountDefaultArgs<ExtArgs>
|
|
536
|
+
}, ExtArgs["result"]["profile"]>
|
|
537
|
+
|
|
538
|
+
export type ProfileSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
539
|
+
email?: boolean
|
|
540
|
+
appId?: boolean
|
|
541
|
+
emailAddress?: boolean
|
|
542
|
+
messagesTotal?: boolean
|
|
543
|
+
threadsTotal?: boolean
|
|
544
|
+
historyId?: boolean
|
|
545
|
+
ttlMs?: boolean
|
|
546
|
+
createdAt?: boolean
|
|
547
|
+
account?: boolean | Prisma.AccountDefaultArgs<ExtArgs>
|
|
548
|
+
}, ExtArgs["result"]["profile"]>
|
|
549
|
+
|
|
550
|
+
export type ProfileSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
551
|
+
email?: boolean
|
|
552
|
+
appId?: boolean
|
|
553
|
+
emailAddress?: boolean
|
|
554
|
+
messagesTotal?: boolean
|
|
555
|
+
threadsTotal?: boolean
|
|
556
|
+
historyId?: boolean
|
|
557
|
+
ttlMs?: boolean
|
|
558
|
+
createdAt?: boolean
|
|
559
|
+
account?: boolean | Prisma.AccountDefaultArgs<ExtArgs>
|
|
560
|
+
}, ExtArgs["result"]["profile"]>
|
|
561
|
+
|
|
562
|
+
export type ProfileSelectScalar = {
|
|
563
|
+
email?: boolean
|
|
564
|
+
appId?: boolean
|
|
565
|
+
emailAddress?: boolean
|
|
566
|
+
messagesTotal?: boolean
|
|
567
|
+
threadsTotal?: boolean
|
|
568
|
+
historyId?: boolean
|
|
569
|
+
ttlMs?: boolean
|
|
570
|
+
createdAt?: boolean
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
export type ProfileOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"email" | "appId" | "emailAddress" | "messagesTotal" | "threadsTotal" | "historyId" | "ttlMs" | "createdAt", ExtArgs["result"]["profile"]>
|
|
574
|
+
export type ProfileInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
575
|
+
account?: boolean | Prisma.AccountDefaultArgs<ExtArgs>
|
|
576
|
+
}
|
|
577
|
+
export type ProfileIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
578
|
+
account?: boolean | Prisma.AccountDefaultArgs<ExtArgs>
|
|
579
|
+
}
|
|
580
|
+
export type ProfileIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
581
|
+
account?: boolean | Prisma.AccountDefaultArgs<ExtArgs>
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
export type $ProfilePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
585
|
+
name: "Profile"
|
|
586
|
+
objects: {
|
|
587
|
+
account: Prisma.$AccountPayload<ExtArgs>
|
|
588
|
+
}
|
|
589
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
590
|
+
email: string
|
|
591
|
+
appId: string
|
|
592
|
+
emailAddress: string
|
|
593
|
+
messagesTotal: number
|
|
594
|
+
threadsTotal: number
|
|
595
|
+
historyId: string
|
|
596
|
+
ttlMs: number
|
|
597
|
+
createdAt: Date
|
|
598
|
+
}, ExtArgs["result"]["profile"]>
|
|
599
|
+
composites: {}
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
export type ProfileGetPayload<S extends boolean | null | undefined | ProfileDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ProfilePayload, S>
|
|
603
|
+
|
|
604
|
+
export type ProfileCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
605
|
+
Omit<ProfileFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
606
|
+
select?: ProfileCountAggregateInputType | true
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
export interface ProfileDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
610
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Profile'], meta: { name: 'Profile' } }
|
|
611
|
+
/**
|
|
612
|
+
* Find zero or one Profile that matches the filter.
|
|
613
|
+
* @param {ProfileFindUniqueArgs} args - Arguments to find a Profile
|
|
614
|
+
* @example
|
|
615
|
+
* // Get one Profile
|
|
616
|
+
* const profile = await prisma.profile.findUnique({
|
|
617
|
+
* where: {
|
|
618
|
+
* // ... provide filter here
|
|
619
|
+
* }
|
|
620
|
+
* })
|
|
621
|
+
*/
|
|
622
|
+
findUnique<T extends ProfileFindUniqueArgs>(args: Prisma.SelectSubset<T, ProfileFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ProfileClient<runtime.Types.Result.GetResult<Prisma.$ProfilePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
623
|
+
|
|
624
|
+
/**
|
|
625
|
+
* Find one Profile that matches the filter or throw an error with `error.code='P2025'`
|
|
626
|
+
* if no matches were found.
|
|
627
|
+
* @param {ProfileFindUniqueOrThrowArgs} args - Arguments to find a Profile
|
|
628
|
+
* @example
|
|
629
|
+
* // Get one Profile
|
|
630
|
+
* const profile = await prisma.profile.findUniqueOrThrow({
|
|
631
|
+
* where: {
|
|
632
|
+
* // ... provide filter here
|
|
633
|
+
* }
|
|
634
|
+
* })
|
|
635
|
+
*/
|
|
636
|
+
findUniqueOrThrow<T extends ProfileFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ProfileFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProfileClient<runtime.Types.Result.GetResult<Prisma.$ProfilePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
637
|
+
|
|
638
|
+
/**
|
|
639
|
+
* Find the first Profile that matches the filter.
|
|
640
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
641
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
642
|
+
* @param {ProfileFindFirstArgs} args - Arguments to find a Profile
|
|
643
|
+
* @example
|
|
644
|
+
* // Get one Profile
|
|
645
|
+
* const profile = await prisma.profile.findFirst({
|
|
646
|
+
* where: {
|
|
647
|
+
* // ... provide filter here
|
|
648
|
+
* }
|
|
649
|
+
* })
|
|
650
|
+
*/
|
|
651
|
+
findFirst<T extends ProfileFindFirstArgs>(args?: Prisma.SelectSubset<T, ProfileFindFirstArgs<ExtArgs>>): Prisma.Prisma__ProfileClient<runtime.Types.Result.GetResult<Prisma.$ProfilePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
652
|
+
|
|
653
|
+
/**
|
|
654
|
+
* Find the first Profile that matches the filter or
|
|
655
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
656
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
657
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
658
|
+
* @param {ProfileFindFirstOrThrowArgs} args - Arguments to find a Profile
|
|
659
|
+
* @example
|
|
660
|
+
* // Get one Profile
|
|
661
|
+
* const profile = await prisma.profile.findFirstOrThrow({
|
|
662
|
+
* where: {
|
|
663
|
+
* // ... provide filter here
|
|
664
|
+
* }
|
|
665
|
+
* })
|
|
666
|
+
*/
|
|
667
|
+
findFirstOrThrow<T extends ProfileFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ProfileFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProfileClient<runtime.Types.Result.GetResult<Prisma.$ProfilePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
668
|
+
|
|
669
|
+
/**
|
|
670
|
+
* Find zero or more Profiles that matches the filter.
|
|
671
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
672
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
673
|
+
* @param {ProfileFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
674
|
+
* @example
|
|
675
|
+
* // Get all Profiles
|
|
676
|
+
* const profiles = await prisma.profile.findMany()
|
|
677
|
+
*
|
|
678
|
+
* // Get first 10 Profiles
|
|
679
|
+
* const profiles = await prisma.profile.findMany({ take: 10 })
|
|
680
|
+
*
|
|
681
|
+
* // Only select the `email`
|
|
682
|
+
* const profileWithEmailOnly = await prisma.profile.findMany({ select: { email: true } })
|
|
683
|
+
*
|
|
684
|
+
*/
|
|
685
|
+
findMany<T extends ProfileFindManyArgs>(args?: Prisma.SelectSubset<T, ProfileFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProfilePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
686
|
+
|
|
687
|
+
/**
|
|
688
|
+
* Create a Profile.
|
|
689
|
+
* @param {ProfileCreateArgs} args - Arguments to create a Profile.
|
|
690
|
+
* @example
|
|
691
|
+
* // Create one Profile
|
|
692
|
+
* const Profile = await prisma.profile.create({
|
|
693
|
+
* data: {
|
|
694
|
+
* // ... data to create a Profile
|
|
695
|
+
* }
|
|
696
|
+
* })
|
|
697
|
+
*
|
|
698
|
+
*/
|
|
699
|
+
create<T extends ProfileCreateArgs>(args: Prisma.SelectSubset<T, ProfileCreateArgs<ExtArgs>>): Prisma.Prisma__ProfileClient<runtime.Types.Result.GetResult<Prisma.$ProfilePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
700
|
+
|
|
701
|
+
/**
|
|
702
|
+
* Create many Profiles.
|
|
703
|
+
* @param {ProfileCreateManyArgs} args - Arguments to create many Profiles.
|
|
704
|
+
* @example
|
|
705
|
+
* // Create many Profiles
|
|
706
|
+
* const profile = await prisma.profile.createMany({
|
|
707
|
+
* data: [
|
|
708
|
+
* // ... provide data here
|
|
709
|
+
* ]
|
|
710
|
+
* })
|
|
711
|
+
*
|
|
712
|
+
*/
|
|
713
|
+
createMany<T extends ProfileCreateManyArgs>(args?: Prisma.SelectSubset<T, ProfileCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
714
|
+
|
|
715
|
+
/**
|
|
716
|
+
* Create many Profiles and returns the data saved in the database.
|
|
717
|
+
* @param {ProfileCreateManyAndReturnArgs} args - Arguments to create many Profiles.
|
|
718
|
+
* @example
|
|
719
|
+
* // Create many Profiles
|
|
720
|
+
* const profile = await prisma.profile.createManyAndReturn({
|
|
721
|
+
* data: [
|
|
722
|
+
* // ... provide data here
|
|
723
|
+
* ]
|
|
724
|
+
* })
|
|
725
|
+
*
|
|
726
|
+
* // Create many Profiles and only return the `email`
|
|
727
|
+
* const profileWithEmailOnly = await prisma.profile.createManyAndReturn({
|
|
728
|
+
* select: { email: true },
|
|
729
|
+
* data: [
|
|
730
|
+
* // ... provide data here
|
|
731
|
+
* ]
|
|
732
|
+
* })
|
|
733
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
734
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
735
|
+
*
|
|
736
|
+
*/
|
|
737
|
+
createManyAndReturn<T extends ProfileCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ProfileCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProfilePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
738
|
+
|
|
739
|
+
/**
|
|
740
|
+
* Delete a Profile.
|
|
741
|
+
* @param {ProfileDeleteArgs} args - Arguments to delete one Profile.
|
|
742
|
+
* @example
|
|
743
|
+
* // Delete one Profile
|
|
744
|
+
* const Profile = await prisma.profile.delete({
|
|
745
|
+
* where: {
|
|
746
|
+
* // ... filter to delete one Profile
|
|
747
|
+
* }
|
|
748
|
+
* })
|
|
749
|
+
*
|
|
750
|
+
*/
|
|
751
|
+
delete<T extends ProfileDeleteArgs>(args: Prisma.SelectSubset<T, ProfileDeleteArgs<ExtArgs>>): Prisma.Prisma__ProfileClient<runtime.Types.Result.GetResult<Prisma.$ProfilePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
752
|
+
|
|
753
|
+
/**
|
|
754
|
+
* Update one Profile.
|
|
755
|
+
* @param {ProfileUpdateArgs} args - Arguments to update one Profile.
|
|
756
|
+
* @example
|
|
757
|
+
* // Update one Profile
|
|
758
|
+
* const profile = await prisma.profile.update({
|
|
759
|
+
* where: {
|
|
760
|
+
* // ... provide filter here
|
|
761
|
+
* },
|
|
762
|
+
* data: {
|
|
763
|
+
* // ... provide data here
|
|
764
|
+
* }
|
|
765
|
+
* })
|
|
766
|
+
*
|
|
767
|
+
*/
|
|
768
|
+
update<T extends ProfileUpdateArgs>(args: Prisma.SelectSubset<T, ProfileUpdateArgs<ExtArgs>>): Prisma.Prisma__ProfileClient<runtime.Types.Result.GetResult<Prisma.$ProfilePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
769
|
+
|
|
770
|
+
/**
|
|
771
|
+
* Delete zero or more Profiles.
|
|
772
|
+
* @param {ProfileDeleteManyArgs} args - Arguments to filter Profiles to delete.
|
|
773
|
+
* @example
|
|
774
|
+
* // Delete a few Profiles
|
|
775
|
+
* const { count } = await prisma.profile.deleteMany({
|
|
776
|
+
* where: {
|
|
777
|
+
* // ... provide filter here
|
|
778
|
+
* }
|
|
779
|
+
* })
|
|
780
|
+
*
|
|
781
|
+
*/
|
|
782
|
+
deleteMany<T extends ProfileDeleteManyArgs>(args?: Prisma.SelectSubset<T, ProfileDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
783
|
+
|
|
784
|
+
/**
|
|
785
|
+
* Update zero or more Profiles.
|
|
786
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
787
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
788
|
+
* @param {ProfileUpdateManyArgs} args - Arguments to update one or more rows.
|
|
789
|
+
* @example
|
|
790
|
+
* // Update many Profiles
|
|
791
|
+
* const profile = await prisma.profile.updateMany({
|
|
792
|
+
* where: {
|
|
793
|
+
* // ... provide filter here
|
|
794
|
+
* },
|
|
795
|
+
* data: {
|
|
796
|
+
* // ... provide data here
|
|
797
|
+
* }
|
|
798
|
+
* })
|
|
799
|
+
*
|
|
800
|
+
*/
|
|
801
|
+
updateMany<T extends ProfileUpdateManyArgs>(args: Prisma.SelectSubset<T, ProfileUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
802
|
+
|
|
803
|
+
/**
|
|
804
|
+
* Update zero or more Profiles and returns the data updated in the database.
|
|
805
|
+
* @param {ProfileUpdateManyAndReturnArgs} args - Arguments to update many Profiles.
|
|
806
|
+
* @example
|
|
807
|
+
* // Update many Profiles
|
|
808
|
+
* const profile = await prisma.profile.updateManyAndReturn({
|
|
809
|
+
* where: {
|
|
810
|
+
* // ... provide filter here
|
|
811
|
+
* },
|
|
812
|
+
* data: [
|
|
813
|
+
* // ... provide data here
|
|
814
|
+
* ]
|
|
815
|
+
* })
|
|
816
|
+
*
|
|
817
|
+
* // Update zero or more Profiles and only return the `email`
|
|
818
|
+
* const profileWithEmailOnly = await prisma.profile.updateManyAndReturn({
|
|
819
|
+
* select: { email: true },
|
|
820
|
+
* where: {
|
|
821
|
+
* // ... provide filter here
|
|
822
|
+
* },
|
|
823
|
+
* data: [
|
|
824
|
+
* // ... provide data here
|
|
825
|
+
* ]
|
|
826
|
+
* })
|
|
827
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
828
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
829
|
+
*
|
|
830
|
+
*/
|
|
831
|
+
updateManyAndReturn<T extends ProfileUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ProfileUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProfilePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
832
|
+
|
|
833
|
+
/**
|
|
834
|
+
* Create or update one Profile.
|
|
835
|
+
* @param {ProfileUpsertArgs} args - Arguments to update or create a Profile.
|
|
836
|
+
* @example
|
|
837
|
+
* // Update or create a Profile
|
|
838
|
+
* const profile = await prisma.profile.upsert({
|
|
839
|
+
* create: {
|
|
840
|
+
* // ... data to create a Profile
|
|
841
|
+
* },
|
|
842
|
+
* update: {
|
|
843
|
+
* // ... in case it already exists, update
|
|
844
|
+
* },
|
|
845
|
+
* where: {
|
|
846
|
+
* // ... the filter for the Profile we want to update
|
|
847
|
+
* }
|
|
848
|
+
* })
|
|
849
|
+
*/
|
|
850
|
+
upsert<T extends ProfileUpsertArgs>(args: Prisma.SelectSubset<T, ProfileUpsertArgs<ExtArgs>>): Prisma.Prisma__ProfileClient<runtime.Types.Result.GetResult<Prisma.$ProfilePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
851
|
+
|
|
852
|
+
|
|
853
|
+
/**
|
|
854
|
+
* Count the number of Profiles.
|
|
855
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
856
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
857
|
+
* @param {ProfileCountArgs} args - Arguments to filter Profiles to count.
|
|
858
|
+
* @example
|
|
859
|
+
* // Count the number of Profiles
|
|
860
|
+
* const count = await prisma.profile.count({
|
|
861
|
+
* where: {
|
|
862
|
+
* // ... the filter for the Profiles we want to count
|
|
863
|
+
* }
|
|
864
|
+
* })
|
|
865
|
+
**/
|
|
866
|
+
count<T extends ProfileCountArgs>(
|
|
867
|
+
args?: Prisma.Subset<T, ProfileCountArgs>,
|
|
868
|
+
): Prisma.PrismaPromise<
|
|
869
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
870
|
+
? T['select'] extends true
|
|
871
|
+
? number
|
|
872
|
+
: Prisma.GetScalarType<T['select'], ProfileCountAggregateOutputType>
|
|
873
|
+
: number
|
|
874
|
+
>
|
|
875
|
+
|
|
876
|
+
/**
|
|
877
|
+
* Allows you to perform aggregations operations on a Profile.
|
|
878
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
879
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
880
|
+
* @param {ProfileAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
881
|
+
* @example
|
|
882
|
+
* // Ordered by age ascending
|
|
883
|
+
* // Where email contains prisma.io
|
|
884
|
+
* // Limited to the 10 users
|
|
885
|
+
* const aggregations = await prisma.user.aggregate({
|
|
886
|
+
* _avg: {
|
|
887
|
+
* age: true,
|
|
888
|
+
* },
|
|
889
|
+
* where: {
|
|
890
|
+
* email: {
|
|
891
|
+
* contains: "prisma.io",
|
|
892
|
+
* },
|
|
893
|
+
* },
|
|
894
|
+
* orderBy: {
|
|
895
|
+
* age: "asc",
|
|
896
|
+
* },
|
|
897
|
+
* take: 10,
|
|
898
|
+
* })
|
|
899
|
+
**/
|
|
900
|
+
aggregate<T extends ProfileAggregateArgs>(args: Prisma.Subset<T, ProfileAggregateArgs>): Prisma.PrismaPromise<GetProfileAggregateType<T>>
|
|
901
|
+
|
|
902
|
+
/**
|
|
903
|
+
* Group by Profile.
|
|
904
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
905
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
906
|
+
* @param {ProfileGroupByArgs} args - Group by arguments.
|
|
907
|
+
* @example
|
|
908
|
+
* // Group by city, order by createdAt, get count
|
|
909
|
+
* const result = await prisma.user.groupBy({
|
|
910
|
+
* by: ['city', 'createdAt'],
|
|
911
|
+
* orderBy: {
|
|
912
|
+
* createdAt: true
|
|
913
|
+
* },
|
|
914
|
+
* _count: {
|
|
915
|
+
* _all: true
|
|
916
|
+
* },
|
|
917
|
+
* })
|
|
918
|
+
*
|
|
919
|
+
**/
|
|
920
|
+
groupBy<
|
|
921
|
+
T extends ProfileGroupByArgs,
|
|
922
|
+
HasSelectOrTake extends Prisma.Or<
|
|
923
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
924
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
925
|
+
>,
|
|
926
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
927
|
+
? { orderBy: ProfileGroupByArgs['orderBy'] }
|
|
928
|
+
: { orderBy?: ProfileGroupByArgs['orderBy'] },
|
|
929
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
930
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
931
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
932
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
933
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
934
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
935
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
936
|
+
? `Error: "by" must not be empty.`
|
|
937
|
+
: HavingValid extends Prisma.False
|
|
938
|
+
? {
|
|
939
|
+
[P in HavingFields]: P extends ByFields
|
|
940
|
+
? never
|
|
941
|
+
: P extends string
|
|
942
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
943
|
+
: [
|
|
944
|
+
Error,
|
|
945
|
+
'Field ',
|
|
946
|
+
P,
|
|
947
|
+
` in "having" needs to be provided in "by"`,
|
|
948
|
+
]
|
|
949
|
+
}[HavingFields]
|
|
950
|
+
: 'take' extends Prisma.Keys<T>
|
|
951
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
952
|
+
? ByValid extends Prisma.True
|
|
953
|
+
? {}
|
|
954
|
+
: {
|
|
955
|
+
[P in OrderFields]: P extends ByFields
|
|
956
|
+
? never
|
|
957
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
958
|
+
}[OrderFields]
|
|
959
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
960
|
+
: 'skip' extends Prisma.Keys<T>
|
|
961
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
962
|
+
? ByValid extends Prisma.True
|
|
963
|
+
? {}
|
|
964
|
+
: {
|
|
965
|
+
[P in OrderFields]: P extends ByFields
|
|
966
|
+
? never
|
|
967
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
968
|
+
}[OrderFields]
|
|
969
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
970
|
+
: ByValid extends Prisma.True
|
|
971
|
+
? {}
|
|
972
|
+
: {
|
|
973
|
+
[P in OrderFields]: P extends ByFields
|
|
974
|
+
? never
|
|
975
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
976
|
+
}[OrderFields]
|
|
977
|
+
>(args: Prisma.SubsetIntersection<T, ProfileGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetProfileGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
978
|
+
/**
|
|
979
|
+
* Fields of the Profile model
|
|
980
|
+
*/
|
|
981
|
+
readonly fields: ProfileFieldRefs;
|
|
982
|
+
}
|
|
983
|
+
|
|
984
|
+
/**
|
|
985
|
+
* The delegate class that acts as a "Promise-like" for Profile.
|
|
986
|
+
* Why is this prefixed with `Prisma__`?
|
|
987
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
988
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
989
|
+
*/
|
|
990
|
+
export interface Prisma__ProfileClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
991
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
992
|
+
account<T extends Prisma.AccountDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AccountDefaultArgs<ExtArgs>>): Prisma.Prisma__AccountClient<runtime.Types.Result.GetResult<Prisma.$AccountPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
993
|
+
/**
|
|
994
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
995
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
996
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
997
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
998
|
+
*/
|
|
999
|
+
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>
|
|
1000
|
+
/**
|
|
1001
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1002
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1003
|
+
* @returns A Promise for the completion of the callback.
|
|
1004
|
+
*/
|
|
1005
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
1006
|
+
/**
|
|
1007
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1008
|
+
* resolved value cannot be modified from the callback.
|
|
1009
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1010
|
+
* @returns A Promise for the completion of the callback.
|
|
1011
|
+
*/
|
|
1012
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
|
|
1016
|
+
|
|
1017
|
+
|
|
1018
|
+
/**
|
|
1019
|
+
* Fields of the Profile model
|
|
1020
|
+
*/
|
|
1021
|
+
export interface ProfileFieldRefs {
|
|
1022
|
+
readonly email: Prisma.FieldRef<"Profile", 'String'>
|
|
1023
|
+
readonly appId: Prisma.FieldRef<"Profile", 'String'>
|
|
1024
|
+
readonly emailAddress: Prisma.FieldRef<"Profile", 'String'>
|
|
1025
|
+
readonly messagesTotal: Prisma.FieldRef<"Profile", 'Int'>
|
|
1026
|
+
readonly threadsTotal: Prisma.FieldRef<"Profile", 'Int'>
|
|
1027
|
+
readonly historyId: Prisma.FieldRef<"Profile", 'String'>
|
|
1028
|
+
readonly ttlMs: Prisma.FieldRef<"Profile", 'Int'>
|
|
1029
|
+
readonly createdAt: Prisma.FieldRef<"Profile", 'DateTime'>
|
|
1030
|
+
}
|
|
1031
|
+
|
|
1032
|
+
|
|
1033
|
+
// Custom InputTypes
|
|
1034
|
+
/**
|
|
1035
|
+
* Profile findUnique
|
|
1036
|
+
*/
|
|
1037
|
+
export type ProfileFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1038
|
+
/**
|
|
1039
|
+
* Select specific fields to fetch from the Profile
|
|
1040
|
+
*/
|
|
1041
|
+
select?: Prisma.ProfileSelect<ExtArgs> | null
|
|
1042
|
+
/**
|
|
1043
|
+
* Omit specific fields from the Profile
|
|
1044
|
+
*/
|
|
1045
|
+
omit?: Prisma.ProfileOmit<ExtArgs> | null
|
|
1046
|
+
/**
|
|
1047
|
+
* Choose, which related nodes to fetch as well
|
|
1048
|
+
*/
|
|
1049
|
+
include?: Prisma.ProfileInclude<ExtArgs> | null
|
|
1050
|
+
/**
|
|
1051
|
+
* Filter, which Profile to fetch.
|
|
1052
|
+
*/
|
|
1053
|
+
where: Prisma.ProfileWhereUniqueInput
|
|
1054
|
+
}
|
|
1055
|
+
|
|
1056
|
+
/**
|
|
1057
|
+
* Profile findUniqueOrThrow
|
|
1058
|
+
*/
|
|
1059
|
+
export type ProfileFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1060
|
+
/**
|
|
1061
|
+
* Select specific fields to fetch from the Profile
|
|
1062
|
+
*/
|
|
1063
|
+
select?: Prisma.ProfileSelect<ExtArgs> | null
|
|
1064
|
+
/**
|
|
1065
|
+
* Omit specific fields from the Profile
|
|
1066
|
+
*/
|
|
1067
|
+
omit?: Prisma.ProfileOmit<ExtArgs> | null
|
|
1068
|
+
/**
|
|
1069
|
+
* Choose, which related nodes to fetch as well
|
|
1070
|
+
*/
|
|
1071
|
+
include?: Prisma.ProfileInclude<ExtArgs> | null
|
|
1072
|
+
/**
|
|
1073
|
+
* Filter, which Profile to fetch.
|
|
1074
|
+
*/
|
|
1075
|
+
where: Prisma.ProfileWhereUniqueInput
|
|
1076
|
+
}
|
|
1077
|
+
|
|
1078
|
+
/**
|
|
1079
|
+
* Profile findFirst
|
|
1080
|
+
*/
|
|
1081
|
+
export type ProfileFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1082
|
+
/**
|
|
1083
|
+
* Select specific fields to fetch from the Profile
|
|
1084
|
+
*/
|
|
1085
|
+
select?: Prisma.ProfileSelect<ExtArgs> | null
|
|
1086
|
+
/**
|
|
1087
|
+
* Omit specific fields from the Profile
|
|
1088
|
+
*/
|
|
1089
|
+
omit?: Prisma.ProfileOmit<ExtArgs> | null
|
|
1090
|
+
/**
|
|
1091
|
+
* Choose, which related nodes to fetch as well
|
|
1092
|
+
*/
|
|
1093
|
+
include?: Prisma.ProfileInclude<ExtArgs> | null
|
|
1094
|
+
/**
|
|
1095
|
+
* Filter, which Profile to fetch.
|
|
1096
|
+
*/
|
|
1097
|
+
where?: Prisma.ProfileWhereInput
|
|
1098
|
+
/**
|
|
1099
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1100
|
+
*
|
|
1101
|
+
* Determine the order of Profiles to fetch.
|
|
1102
|
+
*/
|
|
1103
|
+
orderBy?: Prisma.ProfileOrderByWithRelationInput | Prisma.ProfileOrderByWithRelationInput[]
|
|
1104
|
+
/**
|
|
1105
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1106
|
+
*
|
|
1107
|
+
* Sets the position for searching for Profiles.
|
|
1108
|
+
*/
|
|
1109
|
+
cursor?: Prisma.ProfileWhereUniqueInput
|
|
1110
|
+
/**
|
|
1111
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1112
|
+
*
|
|
1113
|
+
* Take `±n` Profiles from the position of the cursor.
|
|
1114
|
+
*/
|
|
1115
|
+
take?: number
|
|
1116
|
+
/**
|
|
1117
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1118
|
+
*
|
|
1119
|
+
* Skip the first `n` Profiles.
|
|
1120
|
+
*/
|
|
1121
|
+
skip?: number
|
|
1122
|
+
/**
|
|
1123
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1124
|
+
*
|
|
1125
|
+
* Filter by unique combinations of Profiles.
|
|
1126
|
+
*/
|
|
1127
|
+
distinct?: Prisma.ProfileScalarFieldEnum | Prisma.ProfileScalarFieldEnum[]
|
|
1128
|
+
}
|
|
1129
|
+
|
|
1130
|
+
/**
|
|
1131
|
+
* Profile findFirstOrThrow
|
|
1132
|
+
*/
|
|
1133
|
+
export type ProfileFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1134
|
+
/**
|
|
1135
|
+
* Select specific fields to fetch from the Profile
|
|
1136
|
+
*/
|
|
1137
|
+
select?: Prisma.ProfileSelect<ExtArgs> | null
|
|
1138
|
+
/**
|
|
1139
|
+
* Omit specific fields from the Profile
|
|
1140
|
+
*/
|
|
1141
|
+
omit?: Prisma.ProfileOmit<ExtArgs> | null
|
|
1142
|
+
/**
|
|
1143
|
+
* Choose, which related nodes to fetch as well
|
|
1144
|
+
*/
|
|
1145
|
+
include?: Prisma.ProfileInclude<ExtArgs> | null
|
|
1146
|
+
/**
|
|
1147
|
+
* Filter, which Profile to fetch.
|
|
1148
|
+
*/
|
|
1149
|
+
where?: Prisma.ProfileWhereInput
|
|
1150
|
+
/**
|
|
1151
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1152
|
+
*
|
|
1153
|
+
* Determine the order of Profiles to fetch.
|
|
1154
|
+
*/
|
|
1155
|
+
orderBy?: Prisma.ProfileOrderByWithRelationInput | Prisma.ProfileOrderByWithRelationInput[]
|
|
1156
|
+
/**
|
|
1157
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1158
|
+
*
|
|
1159
|
+
* Sets the position for searching for Profiles.
|
|
1160
|
+
*/
|
|
1161
|
+
cursor?: Prisma.ProfileWhereUniqueInput
|
|
1162
|
+
/**
|
|
1163
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1164
|
+
*
|
|
1165
|
+
* Take `±n` Profiles from the position of the cursor.
|
|
1166
|
+
*/
|
|
1167
|
+
take?: number
|
|
1168
|
+
/**
|
|
1169
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1170
|
+
*
|
|
1171
|
+
* Skip the first `n` Profiles.
|
|
1172
|
+
*/
|
|
1173
|
+
skip?: number
|
|
1174
|
+
/**
|
|
1175
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1176
|
+
*
|
|
1177
|
+
* Filter by unique combinations of Profiles.
|
|
1178
|
+
*/
|
|
1179
|
+
distinct?: Prisma.ProfileScalarFieldEnum | Prisma.ProfileScalarFieldEnum[]
|
|
1180
|
+
}
|
|
1181
|
+
|
|
1182
|
+
/**
|
|
1183
|
+
* Profile findMany
|
|
1184
|
+
*/
|
|
1185
|
+
export type ProfileFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1186
|
+
/**
|
|
1187
|
+
* Select specific fields to fetch from the Profile
|
|
1188
|
+
*/
|
|
1189
|
+
select?: Prisma.ProfileSelect<ExtArgs> | null
|
|
1190
|
+
/**
|
|
1191
|
+
* Omit specific fields from the Profile
|
|
1192
|
+
*/
|
|
1193
|
+
omit?: Prisma.ProfileOmit<ExtArgs> | null
|
|
1194
|
+
/**
|
|
1195
|
+
* Choose, which related nodes to fetch as well
|
|
1196
|
+
*/
|
|
1197
|
+
include?: Prisma.ProfileInclude<ExtArgs> | null
|
|
1198
|
+
/**
|
|
1199
|
+
* Filter, which Profiles to fetch.
|
|
1200
|
+
*/
|
|
1201
|
+
where?: Prisma.ProfileWhereInput
|
|
1202
|
+
/**
|
|
1203
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1204
|
+
*
|
|
1205
|
+
* Determine the order of Profiles to fetch.
|
|
1206
|
+
*/
|
|
1207
|
+
orderBy?: Prisma.ProfileOrderByWithRelationInput | Prisma.ProfileOrderByWithRelationInput[]
|
|
1208
|
+
/**
|
|
1209
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1210
|
+
*
|
|
1211
|
+
* Sets the position for listing Profiles.
|
|
1212
|
+
*/
|
|
1213
|
+
cursor?: Prisma.ProfileWhereUniqueInput
|
|
1214
|
+
/**
|
|
1215
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1216
|
+
*
|
|
1217
|
+
* Take `±n` Profiles from the position of the cursor.
|
|
1218
|
+
*/
|
|
1219
|
+
take?: number
|
|
1220
|
+
/**
|
|
1221
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1222
|
+
*
|
|
1223
|
+
* Skip the first `n` Profiles.
|
|
1224
|
+
*/
|
|
1225
|
+
skip?: number
|
|
1226
|
+
distinct?: Prisma.ProfileScalarFieldEnum | Prisma.ProfileScalarFieldEnum[]
|
|
1227
|
+
}
|
|
1228
|
+
|
|
1229
|
+
/**
|
|
1230
|
+
* Profile create
|
|
1231
|
+
*/
|
|
1232
|
+
export type ProfileCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1233
|
+
/**
|
|
1234
|
+
* Select specific fields to fetch from the Profile
|
|
1235
|
+
*/
|
|
1236
|
+
select?: Prisma.ProfileSelect<ExtArgs> | null
|
|
1237
|
+
/**
|
|
1238
|
+
* Omit specific fields from the Profile
|
|
1239
|
+
*/
|
|
1240
|
+
omit?: Prisma.ProfileOmit<ExtArgs> | null
|
|
1241
|
+
/**
|
|
1242
|
+
* Choose, which related nodes to fetch as well
|
|
1243
|
+
*/
|
|
1244
|
+
include?: Prisma.ProfileInclude<ExtArgs> | null
|
|
1245
|
+
/**
|
|
1246
|
+
* The data needed to create a Profile.
|
|
1247
|
+
*/
|
|
1248
|
+
data: Prisma.XOR<Prisma.ProfileCreateInput, Prisma.ProfileUncheckedCreateInput>
|
|
1249
|
+
}
|
|
1250
|
+
|
|
1251
|
+
/**
|
|
1252
|
+
* Profile createMany
|
|
1253
|
+
*/
|
|
1254
|
+
export type ProfileCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1255
|
+
/**
|
|
1256
|
+
* The data used to create many Profiles.
|
|
1257
|
+
*/
|
|
1258
|
+
data: Prisma.ProfileCreateManyInput | Prisma.ProfileCreateManyInput[]
|
|
1259
|
+
}
|
|
1260
|
+
|
|
1261
|
+
/**
|
|
1262
|
+
* Profile createManyAndReturn
|
|
1263
|
+
*/
|
|
1264
|
+
export type ProfileCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1265
|
+
/**
|
|
1266
|
+
* Select specific fields to fetch from the Profile
|
|
1267
|
+
*/
|
|
1268
|
+
select?: Prisma.ProfileSelectCreateManyAndReturn<ExtArgs> | null
|
|
1269
|
+
/**
|
|
1270
|
+
* Omit specific fields from the Profile
|
|
1271
|
+
*/
|
|
1272
|
+
omit?: Prisma.ProfileOmit<ExtArgs> | null
|
|
1273
|
+
/**
|
|
1274
|
+
* The data used to create many Profiles.
|
|
1275
|
+
*/
|
|
1276
|
+
data: Prisma.ProfileCreateManyInput | Prisma.ProfileCreateManyInput[]
|
|
1277
|
+
/**
|
|
1278
|
+
* Choose, which related nodes to fetch as well
|
|
1279
|
+
*/
|
|
1280
|
+
include?: Prisma.ProfileIncludeCreateManyAndReturn<ExtArgs> | null
|
|
1281
|
+
}
|
|
1282
|
+
|
|
1283
|
+
/**
|
|
1284
|
+
* Profile update
|
|
1285
|
+
*/
|
|
1286
|
+
export type ProfileUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1287
|
+
/**
|
|
1288
|
+
* Select specific fields to fetch from the Profile
|
|
1289
|
+
*/
|
|
1290
|
+
select?: Prisma.ProfileSelect<ExtArgs> | null
|
|
1291
|
+
/**
|
|
1292
|
+
* Omit specific fields from the Profile
|
|
1293
|
+
*/
|
|
1294
|
+
omit?: Prisma.ProfileOmit<ExtArgs> | null
|
|
1295
|
+
/**
|
|
1296
|
+
* Choose, which related nodes to fetch as well
|
|
1297
|
+
*/
|
|
1298
|
+
include?: Prisma.ProfileInclude<ExtArgs> | null
|
|
1299
|
+
/**
|
|
1300
|
+
* The data needed to update a Profile.
|
|
1301
|
+
*/
|
|
1302
|
+
data: Prisma.XOR<Prisma.ProfileUpdateInput, Prisma.ProfileUncheckedUpdateInput>
|
|
1303
|
+
/**
|
|
1304
|
+
* Choose, which Profile to update.
|
|
1305
|
+
*/
|
|
1306
|
+
where: Prisma.ProfileWhereUniqueInput
|
|
1307
|
+
}
|
|
1308
|
+
|
|
1309
|
+
/**
|
|
1310
|
+
* Profile updateMany
|
|
1311
|
+
*/
|
|
1312
|
+
export type ProfileUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1313
|
+
/**
|
|
1314
|
+
* The data used to update Profiles.
|
|
1315
|
+
*/
|
|
1316
|
+
data: Prisma.XOR<Prisma.ProfileUpdateManyMutationInput, Prisma.ProfileUncheckedUpdateManyInput>
|
|
1317
|
+
/**
|
|
1318
|
+
* Filter which Profiles to update
|
|
1319
|
+
*/
|
|
1320
|
+
where?: Prisma.ProfileWhereInput
|
|
1321
|
+
/**
|
|
1322
|
+
* Limit how many Profiles to update.
|
|
1323
|
+
*/
|
|
1324
|
+
limit?: number
|
|
1325
|
+
}
|
|
1326
|
+
|
|
1327
|
+
/**
|
|
1328
|
+
* Profile updateManyAndReturn
|
|
1329
|
+
*/
|
|
1330
|
+
export type ProfileUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1331
|
+
/**
|
|
1332
|
+
* Select specific fields to fetch from the Profile
|
|
1333
|
+
*/
|
|
1334
|
+
select?: Prisma.ProfileSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1335
|
+
/**
|
|
1336
|
+
* Omit specific fields from the Profile
|
|
1337
|
+
*/
|
|
1338
|
+
omit?: Prisma.ProfileOmit<ExtArgs> | null
|
|
1339
|
+
/**
|
|
1340
|
+
* The data used to update Profiles.
|
|
1341
|
+
*/
|
|
1342
|
+
data: Prisma.XOR<Prisma.ProfileUpdateManyMutationInput, Prisma.ProfileUncheckedUpdateManyInput>
|
|
1343
|
+
/**
|
|
1344
|
+
* Filter which Profiles to update
|
|
1345
|
+
*/
|
|
1346
|
+
where?: Prisma.ProfileWhereInput
|
|
1347
|
+
/**
|
|
1348
|
+
* Limit how many Profiles to update.
|
|
1349
|
+
*/
|
|
1350
|
+
limit?: number
|
|
1351
|
+
/**
|
|
1352
|
+
* Choose, which related nodes to fetch as well
|
|
1353
|
+
*/
|
|
1354
|
+
include?: Prisma.ProfileIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
1355
|
+
}
|
|
1356
|
+
|
|
1357
|
+
/**
|
|
1358
|
+
* Profile upsert
|
|
1359
|
+
*/
|
|
1360
|
+
export type ProfileUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1361
|
+
/**
|
|
1362
|
+
* Select specific fields to fetch from the Profile
|
|
1363
|
+
*/
|
|
1364
|
+
select?: Prisma.ProfileSelect<ExtArgs> | null
|
|
1365
|
+
/**
|
|
1366
|
+
* Omit specific fields from the Profile
|
|
1367
|
+
*/
|
|
1368
|
+
omit?: Prisma.ProfileOmit<ExtArgs> | null
|
|
1369
|
+
/**
|
|
1370
|
+
* Choose, which related nodes to fetch as well
|
|
1371
|
+
*/
|
|
1372
|
+
include?: Prisma.ProfileInclude<ExtArgs> | null
|
|
1373
|
+
/**
|
|
1374
|
+
* The filter to search for the Profile to update in case it exists.
|
|
1375
|
+
*/
|
|
1376
|
+
where: Prisma.ProfileWhereUniqueInput
|
|
1377
|
+
/**
|
|
1378
|
+
* In case the Profile found by the `where` argument doesn't exist, create a new Profile with this data.
|
|
1379
|
+
*/
|
|
1380
|
+
create: Prisma.XOR<Prisma.ProfileCreateInput, Prisma.ProfileUncheckedCreateInput>
|
|
1381
|
+
/**
|
|
1382
|
+
* In case the Profile was found with the provided `where` argument, update it with this data.
|
|
1383
|
+
*/
|
|
1384
|
+
update: Prisma.XOR<Prisma.ProfileUpdateInput, Prisma.ProfileUncheckedUpdateInput>
|
|
1385
|
+
}
|
|
1386
|
+
|
|
1387
|
+
/**
|
|
1388
|
+
* Profile delete
|
|
1389
|
+
*/
|
|
1390
|
+
export type ProfileDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1391
|
+
/**
|
|
1392
|
+
* Select specific fields to fetch from the Profile
|
|
1393
|
+
*/
|
|
1394
|
+
select?: Prisma.ProfileSelect<ExtArgs> | null
|
|
1395
|
+
/**
|
|
1396
|
+
* Omit specific fields from the Profile
|
|
1397
|
+
*/
|
|
1398
|
+
omit?: Prisma.ProfileOmit<ExtArgs> | null
|
|
1399
|
+
/**
|
|
1400
|
+
* Choose, which related nodes to fetch as well
|
|
1401
|
+
*/
|
|
1402
|
+
include?: Prisma.ProfileInclude<ExtArgs> | null
|
|
1403
|
+
/**
|
|
1404
|
+
* Filter which Profile to delete.
|
|
1405
|
+
*/
|
|
1406
|
+
where: Prisma.ProfileWhereUniqueInput
|
|
1407
|
+
}
|
|
1408
|
+
|
|
1409
|
+
/**
|
|
1410
|
+
* Profile deleteMany
|
|
1411
|
+
*/
|
|
1412
|
+
export type ProfileDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1413
|
+
/**
|
|
1414
|
+
* Filter which Profiles to delete
|
|
1415
|
+
*/
|
|
1416
|
+
where?: Prisma.ProfileWhereInput
|
|
1417
|
+
/**
|
|
1418
|
+
* Limit how many Profiles to delete.
|
|
1419
|
+
*/
|
|
1420
|
+
limit?: number
|
|
1421
|
+
}
|
|
1422
|
+
|
|
1423
|
+
/**
|
|
1424
|
+
* Profile without action
|
|
1425
|
+
*/
|
|
1426
|
+
export type ProfileDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1427
|
+
/**
|
|
1428
|
+
* Select specific fields to fetch from the Profile
|
|
1429
|
+
*/
|
|
1430
|
+
select?: Prisma.ProfileSelect<ExtArgs> | null
|
|
1431
|
+
/**
|
|
1432
|
+
* Omit specific fields from the Profile
|
|
1433
|
+
*/
|
|
1434
|
+
omit?: Prisma.ProfileOmit<ExtArgs> | null
|
|
1435
|
+
/**
|
|
1436
|
+
* Choose, which related nodes to fetch as well
|
|
1437
|
+
*/
|
|
1438
|
+
include?: Prisma.ProfileInclude<ExtArgs> | null
|
|
1439
|
+
}
|