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