@naisys/hub-database 3.0.0-beta.4 → 3.0.0-beta.5

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.
Files changed (41) hide show
  1. package/dist/dbConfig.js +1 -1
  2. package/dist/generated/prisma/browser.js +4 -4
  3. package/dist/generated/prisma/client.js +5 -5
  4. package/dist/generated/prisma/commonInputTypes.js +1 -1
  5. package/dist/generated/prisma/enums.js +34 -34
  6. package/dist/generated/prisma/internal/class.js +36 -28
  7. package/dist/generated/prisma/internal/prismaNamespace.js +150 -147
  8. package/dist/generated/prisma/internal/prismaNamespaceBrowser.js +142 -142
  9. package/dist/hubDatabaseService.js +30 -30
  10. package/dist/hubSessionService.js +59 -71
  11. package/dist/index.js +10 -2
  12. package/dist/prismaClient.js +12 -12
  13. package/package.json +6 -4
  14. package/dist/dbConfig.d.ts +0 -2
  15. package/dist/generated/prisma/browser.d.ts +0 -80
  16. package/dist/generated/prisma/client.d.ts +0 -99
  17. package/dist/generated/prisma/commonInputTypes.d.ts +0 -758
  18. package/dist/generated/prisma/enums.d.ts +0 -57
  19. package/dist/generated/prisma/internal/class.d.ts +0 -285
  20. package/dist/generated/prisma/internal/prismaNamespace.d.ts +0 -1777
  21. package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts +0 -223
  22. package/dist/generated/prisma/models/attachments.d.ts +0 -1624
  23. package/dist/generated/prisma/models/config_revisions.d.ts +0 -1320
  24. package/dist/generated/prisma/models/context_log.d.ts +0 -1889
  25. package/dist/generated/prisma/models/costs.d.ts +0 -1834
  26. package/dist/generated/prisma/models/hosts.d.ts +0 -1892
  27. package/dist/generated/prisma/models/mail_attachments.d.ts +0 -1244
  28. package/dist/generated/prisma/models/mail_messages.d.ts +0 -1721
  29. package/dist/generated/prisma/models/mail_recipients.d.ts +0 -1409
  30. package/dist/generated/prisma/models/models.d.ts +0 -1175
  31. package/dist/generated/prisma/models/run_session.d.ts +0 -1894
  32. package/dist/generated/prisma/models/schema_version.d.ts +0 -984
  33. package/dist/generated/prisma/models/user_hosts.d.ts +0 -1244
  34. package/dist/generated/prisma/models/user_notifications.d.ts +0 -1543
  35. package/dist/generated/prisma/models/users.d.ts +0 -3229
  36. package/dist/generated/prisma/models/variables.d.ts +0 -1052
  37. package/dist/generated/prisma/models.d.ts +0 -17
  38. package/dist/hubDatabaseService.d.ts +0 -7
  39. package/dist/hubSessionService.d.ts +0 -41
  40. package/dist/index.d.ts +0 -8
  41. package/dist/prismaClient.d.ts +0 -7
@@ -1,1721 +0,0 @@
1
- import type * as runtime from "@prisma/client/runtime/client";
2
- import type * as $Enums from "../enums.js";
3
- import type * as Prisma from "../internal/prismaNamespace.js";
4
- /**
5
- * Model mail_messages
6
- *
7
- */
8
- export type mail_messagesModel = runtime.Types.Result.DefaultSelection<Prisma.$mail_messagesPayload>;
9
- export type AggregateMail_messages = {
10
- _count: Mail_messagesCountAggregateOutputType | null;
11
- _avg: Mail_messagesAvgAggregateOutputType | null;
12
- _sum: Mail_messagesSumAggregateOutputType | null;
13
- _min: Mail_messagesMinAggregateOutputType | null;
14
- _max: Mail_messagesMaxAggregateOutputType | null;
15
- };
16
- export type Mail_messagesAvgAggregateOutputType = {
17
- id: number | null;
18
- from_user_id: number | null;
19
- host_id: number | null;
20
- };
21
- export type Mail_messagesSumAggregateOutputType = {
22
- id: number | null;
23
- from_user_id: number | null;
24
- host_id: number | null;
25
- };
26
- export type Mail_messagesMinAggregateOutputType = {
27
- id: number | null;
28
- from_user_id: number | null;
29
- host_id: number | null;
30
- kind: $Enums.MessageKind | null;
31
- participants: string | null;
32
- subject: string | null;
33
- body: string | null;
34
- created_at: Date | null;
35
- };
36
- export type Mail_messagesMaxAggregateOutputType = {
37
- id: number | null;
38
- from_user_id: number | null;
39
- host_id: number | null;
40
- kind: $Enums.MessageKind | null;
41
- participants: string | null;
42
- subject: string | null;
43
- body: string | null;
44
- created_at: Date | null;
45
- };
46
- export type Mail_messagesCountAggregateOutputType = {
47
- id: number;
48
- from_user_id: number;
49
- host_id: number;
50
- kind: number;
51
- participants: number;
52
- subject: number;
53
- body: number;
54
- created_at: number;
55
- _all: number;
56
- };
57
- export type Mail_messagesAvgAggregateInputType = {
58
- id?: true;
59
- from_user_id?: true;
60
- host_id?: true;
61
- };
62
- export type Mail_messagesSumAggregateInputType = {
63
- id?: true;
64
- from_user_id?: true;
65
- host_id?: true;
66
- };
67
- export type Mail_messagesMinAggregateInputType = {
68
- id?: true;
69
- from_user_id?: true;
70
- host_id?: true;
71
- kind?: true;
72
- participants?: true;
73
- subject?: true;
74
- body?: true;
75
- created_at?: true;
76
- };
77
- export type Mail_messagesMaxAggregateInputType = {
78
- id?: true;
79
- from_user_id?: true;
80
- host_id?: true;
81
- kind?: true;
82
- participants?: true;
83
- subject?: true;
84
- body?: true;
85
- created_at?: true;
86
- };
87
- export type Mail_messagesCountAggregateInputType = {
88
- id?: true;
89
- from_user_id?: true;
90
- host_id?: true;
91
- kind?: true;
92
- participants?: true;
93
- subject?: true;
94
- body?: true;
95
- created_at?: true;
96
- _all?: true;
97
- };
98
- export type Mail_messagesAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
99
- /**
100
- * Filter which mail_messages to aggregate.
101
- */
102
- where?: Prisma.mail_messagesWhereInput;
103
- /**
104
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
105
- *
106
- * Determine the order of mail_messages to fetch.
107
- */
108
- orderBy?: Prisma.mail_messagesOrderByWithRelationInput | Prisma.mail_messagesOrderByWithRelationInput[];
109
- /**
110
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
111
- *
112
- * Sets the start position
113
- */
114
- cursor?: Prisma.mail_messagesWhereUniqueInput;
115
- /**
116
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
117
- *
118
- * Take `±n` mail_messages from the position of the cursor.
119
- */
120
- take?: number;
121
- /**
122
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
123
- *
124
- * Skip the first `n` mail_messages.
125
- */
126
- skip?: number;
127
- /**
128
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
129
- *
130
- * Count returned mail_messages
131
- **/
132
- _count?: true | Mail_messagesCountAggregateInputType;
133
- /**
134
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
135
- *
136
- * Select which fields to average
137
- **/
138
- _avg?: Mail_messagesAvgAggregateInputType;
139
- /**
140
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
141
- *
142
- * Select which fields to sum
143
- **/
144
- _sum?: Mail_messagesSumAggregateInputType;
145
- /**
146
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
147
- *
148
- * Select which fields to find the minimum value
149
- **/
150
- _min?: Mail_messagesMinAggregateInputType;
151
- /**
152
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
153
- *
154
- * Select which fields to find the maximum value
155
- **/
156
- _max?: Mail_messagesMaxAggregateInputType;
157
- };
158
- export type GetMail_messagesAggregateType<T extends Mail_messagesAggregateArgs> = {
159
- [P in keyof T & keyof AggregateMail_messages]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateMail_messages[P]> : Prisma.GetScalarType<T[P], AggregateMail_messages[P]>;
160
- };
161
- export type mail_messagesGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
162
- where?: Prisma.mail_messagesWhereInput;
163
- orderBy?: Prisma.mail_messagesOrderByWithAggregationInput | Prisma.mail_messagesOrderByWithAggregationInput[];
164
- by: Prisma.Mail_messagesScalarFieldEnum[] | Prisma.Mail_messagesScalarFieldEnum;
165
- having?: Prisma.mail_messagesScalarWhereWithAggregatesInput;
166
- take?: number;
167
- skip?: number;
168
- _count?: Mail_messagesCountAggregateInputType | true;
169
- _avg?: Mail_messagesAvgAggregateInputType;
170
- _sum?: Mail_messagesSumAggregateInputType;
171
- _min?: Mail_messagesMinAggregateInputType;
172
- _max?: Mail_messagesMaxAggregateInputType;
173
- };
174
- export type Mail_messagesGroupByOutputType = {
175
- id: number;
176
- from_user_id: number;
177
- host_id: number | null;
178
- kind: $Enums.MessageKind;
179
- participants: string;
180
- subject: string;
181
- body: string;
182
- created_at: Date;
183
- _count: Mail_messagesCountAggregateOutputType | null;
184
- _avg: Mail_messagesAvgAggregateOutputType | null;
185
- _sum: Mail_messagesSumAggregateOutputType | null;
186
- _min: Mail_messagesMinAggregateOutputType | null;
187
- _max: Mail_messagesMaxAggregateOutputType | null;
188
- };
189
- export type GetMail_messagesGroupByPayload<T extends mail_messagesGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Mail_messagesGroupByOutputType, T['by']> & {
190
- [P in ((keyof T) & (keyof Mail_messagesGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Mail_messagesGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Mail_messagesGroupByOutputType[P]>;
191
- }>>;
192
- export type mail_messagesWhereInput = {
193
- AND?: Prisma.mail_messagesWhereInput | Prisma.mail_messagesWhereInput[];
194
- OR?: Prisma.mail_messagesWhereInput[];
195
- NOT?: Prisma.mail_messagesWhereInput | Prisma.mail_messagesWhereInput[];
196
- id?: Prisma.IntFilter<"mail_messages"> | number;
197
- from_user_id?: Prisma.IntFilter<"mail_messages"> | number;
198
- host_id?: Prisma.IntNullableFilter<"mail_messages"> | number | null;
199
- kind?: Prisma.EnumMessageKindFilter<"mail_messages"> | $Enums.MessageKind;
200
- participants?: Prisma.StringFilter<"mail_messages"> | string;
201
- subject?: Prisma.StringFilter<"mail_messages"> | string;
202
- body?: Prisma.StringFilter<"mail_messages"> | string;
203
- created_at?: Prisma.DateTimeFilter<"mail_messages"> | Date | string;
204
- from_user?: Prisma.XOR<Prisma.UsersScalarRelationFilter, Prisma.usersWhereInput>;
205
- host?: Prisma.XOR<Prisma.HostsNullableScalarRelationFilter, Prisma.hostsWhereInput> | null;
206
- recipients?: Prisma.Mail_recipientsListRelationFilter;
207
- mail_attachments?: Prisma.Mail_attachmentsListRelationFilter;
208
- };
209
- export type mail_messagesOrderByWithRelationInput = {
210
- id?: Prisma.SortOrder;
211
- from_user_id?: Prisma.SortOrder;
212
- host_id?: Prisma.SortOrderInput | Prisma.SortOrder;
213
- kind?: Prisma.SortOrder;
214
- participants?: Prisma.SortOrder;
215
- subject?: Prisma.SortOrder;
216
- body?: Prisma.SortOrder;
217
- created_at?: Prisma.SortOrder;
218
- from_user?: Prisma.usersOrderByWithRelationInput;
219
- host?: Prisma.hostsOrderByWithRelationInput;
220
- recipients?: Prisma.mail_recipientsOrderByRelationAggregateInput;
221
- mail_attachments?: Prisma.mail_attachmentsOrderByRelationAggregateInput;
222
- };
223
- export type mail_messagesWhereUniqueInput = Prisma.AtLeast<{
224
- id?: number;
225
- AND?: Prisma.mail_messagesWhereInput | Prisma.mail_messagesWhereInput[];
226
- OR?: Prisma.mail_messagesWhereInput[];
227
- NOT?: Prisma.mail_messagesWhereInput | Prisma.mail_messagesWhereInput[];
228
- from_user_id?: Prisma.IntFilter<"mail_messages"> | number;
229
- host_id?: Prisma.IntNullableFilter<"mail_messages"> | number | null;
230
- kind?: Prisma.EnumMessageKindFilter<"mail_messages"> | $Enums.MessageKind;
231
- participants?: Prisma.StringFilter<"mail_messages"> | string;
232
- subject?: Prisma.StringFilter<"mail_messages"> | string;
233
- body?: Prisma.StringFilter<"mail_messages"> | string;
234
- created_at?: Prisma.DateTimeFilter<"mail_messages"> | Date | string;
235
- from_user?: Prisma.XOR<Prisma.UsersScalarRelationFilter, Prisma.usersWhereInput>;
236
- host?: Prisma.XOR<Prisma.HostsNullableScalarRelationFilter, Prisma.hostsWhereInput> | null;
237
- recipients?: Prisma.Mail_recipientsListRelationFilter;
238
- mail_attachments?: Prisma.Mail_attachmentsListRelationFilter;
239
- }, "id">;
240
- export type mail_messagesOrderByWithAggregationInput = {
241
- id?: Prisma.SortOrder;
242
- from_user_id?: Prisma.SortOrder;
243
- host_id?: Prisma.SortOrderInput | Prisma.SortOrder;
244
- kind?: Prisma.SortOrder;
245
- participants?: Prisma.SortOrder;
246
- subject?: Prisma.SortOrder;
247
- body?: Prisma.SortOrder;
248
- created_at?: Prisma.SortOrder;
249
- _count?: Prisma.mail_messagesCountOrderByAggregateInput;
250
- _avg?: Prisma.mail_messagesAvgOrderByAggregateInput;
251
- _max?: Prisma.mail_messagesMaxOrderByAggregateInput;
252
- _min?: Prisma.mail_messagesMinOrderByAggregateInput;
253
- _sum?: Prisma.mail_messagesSumOrderByAggregateInput;
254
- };
255
- export type mail_messagesScalarWhereWithAggregatesInput = {
256
- AND?: Prisma.mail_messagesScalarWhereWithAggregatesInput | Prisma.mail_messagesScalarWhereWithAggregatesInput[];
257
- OR?: Prisma.mail_messagesScalarWhereWithAggregatesInput[];
258
- NOT?: Prisma.mail_messagesScalarWhereWithAggregatesInput | Prisma.mail_messagesScalarWhereWithAggregatesInput[];
259
- id?: Prisma.IntWithAggregatesFilter<"mail_messages"> | number;
260
- from_user_id?: Prisma.IntWithAggregatesFilter<"mail_messages"> | number;
261
- host_id?: Prisma.IntNullableWithAggregatesFilter<"mail_messages"> | number | null;
262
- kind?: Prisma.EnumMessageKindWithAggregatesFilter<"mail_messages"> | $Enums.MessageKind;
263
- participants?: Prisma.StringWithAggregatesFilter<"mail_messages"> | string;
264
- subject?: Prisma.StringWithAggregatesFilter<"mail_messages"> | string;
265
- body?: Prisma.StringWithAggregatesFilter<"mail_messages"> | string;
266
- created_at?: Prisma.DateTimeWithAggregatesFilter<"mail_messages"> | Date | string;
267
- };
268
- export type mail_messagesCreateInput = {
269
- kind?: $Enums.MessageKind;
270
- participants: string;
271
- subject: string;
272
- body: string;
273
- created_at?: Date | string;
274
- from_user: Prisma.usersCreateNestedOneWithoutMail_messages_sentInput;
275
- host?: Prisma.hostsCreateNestedOneWithoutMail_messagesInput;
276
- recipients?: Prisma.mail_recipientsCreateNestedManyWithoutMessageInput;
277
- mail_attachments?: Prisma.mail_attachmentsCreateNestedManyWithoutMessageInput;
278
- };
279
- export type mail_messagesUncheckedCreateInput = {
280
- id?: number;
281
- from_user_id: number;
282
- host_id?: number | null;
283
- kind?: $Enums.MessageKind;
284
- participants: string;
285
- subject: string;
286
- body: string;
287
- created_at?: Date | string;
288
- recipients?: Prisma.mail_recipientsUncheckedCreateNestedManyWithoutMessageInput;
289
- mail_attachments?: Prisma.mail_attachmentsUncheckedCreateNestedManyWithoutMessageInput;
290
- };
291
- export type mail_messagesUpdateInput = {
292
- kind?: Prisma.EnumMessageKindFieldUpdateOperationsInput | $Enums.MessageKind;
293
- participants?: Prisma.StringFieldUpdateOperationsInput | string;
294
- subject?: Prisma.StringFieldUpdateOperationsInput | string;
295
- body?: Prisma.StringFieldUpdateOperationsInput | string;
296
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
297
- from_user?: Prisma.usersUpdateOneRequiredWithoutMail_messages_sentNestedInput;
298
- host?: Prisma.hostsUpdateOneWithoutMail_messagesNestedInput;
299
- recipients?: Prisma.mail_recipientsUpdateManyWithoutMessageNestedInput;
300
- mail_attachments?: Prisma.mail_attachmentsUpdateManyWithoutMessageNestedInput;
301
- };
302
- export type mail_messagesUncheckedUpdateInput = {
303
- id?: Prisma.IntFieldUpdateOperationsInput | number;
304
- from_user_id?: Prisma.IntFieldUpdateOperationsInput | number;
305
- host_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
306
- kind?: Prisma.EnumMessageKindFieldUpdateOperationsInput | $Enums.MessageKind;
307
- participants?: Prisma.StringFieldUpdateOperationsInput | string;
308
- subject?: Prisma.StringFieldUpdateOperationsInput | string;
309
- body?: Prisma.StringFieldUpdateOperationsInput | string;
310
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
311
- recipients?: Prisma.mail_recipientsUncheckedUpdateManyWithoutMessageNestedInput;
312
- mail_attachments?: Prisma.mail_attachmentsUncheckedUpdateManyWithoutMessageNestedInput;
313
- };
314
- export type mail_messagesCreateManyInput = {
315
- id?: number;
316
- from_user_id: number;
317
- host_id?: number | null;
318
- kind?: $Enums.MessageKind;
319
- participants: string;
320
- subject: string;
321
- body: string;
322
- created_at?: Date | string;
323
- };
324
- export type mail_messagesUpdateManyMutationInput = {
325
- kind?: Prisma.EnumMessageKindFieldUpdateOperationsInput | $Enums.MessageKind;
326
- participants?: Prisma.StringFieldUpdateOperationsInput | string;
327
- subject?: Prisma.StringFieldUpdateOperationsInput | string;
328
- body?: Prisma.StringFieldUpdateOperationsInput | string;
329
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
330
- };
331
- export type mail_messagesUncheckedUpdateManyInput = {
332
- id?: Prisma.IntFieldUpdateOperationsInput | number;
333
- from_user_id?: Prisma.IntFieldUpdateOperationsInput | number;
334
- host_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
335
- kind?: Prisma.EnumMessageKindFieldUpdateOperationsInput | $Enums.MessageKind;
336
- participants?: Prisma.StringFieldUpdateOperationsInput | string;
337
- subject?: Prisma.StringFieldUpdateOperationsInput | string;
338
- body?: Prisma.StringFieldUpdateOperationsInput | string;
339
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
340
- };
341
- export type mail_messagesCountOrderByAggregateInput = {
342
- id?: Prisma.SortOrder;
343
- from_user_id?: Prisma.SortOrder;
344
- host_id?: Prisma.SortOrder;
345
- kind?: Prisma.SortOrder;
346
- participants?: Prisma.SortOrder;
347
- subject?: Prisma.SortOrder;
348
- body?: Prisma.SortOrder;
349
- created_at?: Prisma.SortOrder;
350
- };
351
- export type mail_messagesAvgOrderByAggregateInput = {
352
- id?: Prisma.SortOrder;
353
- from_user_id?: Prisma.SortOrder;
354
- host_id?: Prisma.SortOrder;
355
- };
356
- export type mail_messagesMaxOrderByAggregateInput = {
357
- id?: Prisma.SortOrder;
358
- from_user_id?: Prisma.SortOrder;
359
- host_id?: Prisma.SortOrder;
360
- kind?: Prisma.SortOrder;
361
- participants?: Prisma.SortOrder;
362
- subject?: Prisma.SortOrder;
363
- body?: Prisma.SortOrder;
364
- created_at?: Prisma.SortOrder;
365
- };
366
- export type mail_messagesMinOrderByAggregateInput = {
367
- id?: Prisma.SortOrder;
368
- from_user_id?: Prisma.SortOrder;
369
- host_id?: Prisma.SortOrder;
370
- kind?: Prisma.SortOrder;
371
- participants?: Prisma.SortOrder;
372
- subject?: Prisma.SortOrder;
373
- body?: Prisma.SortOrder;
374
- created_at?: Prisma.SortOrder;
375
- };
376
- export type mail_messagesSumOrderByAggregateInput = {
377
- id?: Prisma.SortOrder;
378
- from_user_id?: Prisma.SortOrder;
379
- host_id?: Prisma.SortOrder;
380
- };
381
- export type Mail_messagesScalarRelationFilter = {
382
- is?: Prisma.mail_messagesWhereInput;
383
- isNot?: Prisma.mail_messagesWhereInput;
384
- };
385
- export type Mail_messagesListRelationFilter = {
386
- every?: Prisma.mail_messagesWhereInput;
387
- some?: Prisma.mail_messagesWhereInput;
388
- none?: Prisma.mail_messagesWhereInput;
389
- };
390
- export type mail_messagesOrderByRelationAggregateInput = {
391
- _count?: Prisma.SortOrder;
392
- };
393
- export type EnumMessageKindFieldUpdateOperationsInput = {
394
- set?: $Enums.MessageKind;
395
- };
396
- export type mail_messagesCreateNestedOneWithoutMail_attachmentsInput = {
397
- create?: Prisma.XOR<Prisma.mail_messagesCreateWithoutMail_attachmentsInput, Prisma.mail_messagesUncheckedCreateWithoutMail_attachmentsInput>;
398
- connectOrCreate?: Prisma.mail_messagesCreateOrConnectWithoutMail_attachmentsInput;
399
- connect?: Prisma.mail_messagesWhereUniqueInput;
400
- };
401
- export type mail_messagesUpdateOneRequiredWithoutMail_attachmentsNestedInput = {
402
- create?: Prisma.XOR<Prisma.mail_messagesCreateWithoutMail_attachmentsInput, Prisma.mail_messagesUncheckedCreateWithoutMail_attachmentsInput>;
403
- connectOrCreate?: Prisma.mail_messagesCreateOrConnectWithoutMail_attachmentsInput;
404
- upsert?: Prisma.mail_messagesUpsertWithoutMail_attachmentsInput;
405
- connect?: Prisma.mail_messagesWhereUniqueInput;
406
- update?: Prisma.XOR<Prisma.XOR<Prisma.mail_messagesUpdateToOneWithWhereWithoutMail_attachmentsInput, Prisma.mail_messagesUpdateWithoutMail_attachmentsInput>, Prisma.mail_messagesUncheckedUpdateWithoutMail_attachmentsInput>;
407
- };
408
- export type mail_messagesCreateNestedOneWithoutRecipientsInput = {
409
- create?: Prisma.XOR<Prisma.mail_messagesCreateWithoutRecipientsInput, Prisma.mail_messagesUncheckedCreateWithoutRecipientsInput>;
410
- connectOrCreate?: Prisma.mail_messagesCreateOrConnectWithoutRecipientsInput;
411
- connect?: Prisma.mail_messagesWhereUniqueInput;
412
- };
413
- export type mail_messagesUpdateOneRequiredWithoutRecipientsNestedInput = {
414
- create?: Prisma.XOR<Prisma.mail_messagesCreateWithoutRecipientsInput, Prisma.mail_messagesUncheckedCreateWithoutRecipientsInput>;
415
- connectOrCreate?: Prisma.mail_messagesCreateOrConnectWithoutRecipientsInput;
416
- upsert?: Prisma.mail_messagesUpsertWithoutRecipientsInput;
417
- connect?: Prisma.mail_messagesWhereUniqueInput;
418
- update?: Prisma.XOR<Prisma.XOR<Prisma.mail_messagesUpdateToOneWithWhereWithoutRecipientsInput, Prisma.mail_messagesUpdateWithoutRecipientsInput>, Prisma.mail_messagesUncheckedUpdateWithoutRecipientsInput>;
419
- };
420
- export type mail_messagesCreateNestedManyWithoutFrom_userInput = {
421
- create?: Prisma.XOR<Prisma.mail_messagesCreateWithoutFrom_userInput, Prisma.mail_messagesUncheckedCreateWithoutFrom_userInput> | Prisma.mail_messagesCreateWithoutFrom_userInput[] | Prisma.mail_messagesUncheckedCreateWithoutFrom_userInput[];
422
- connectOrCreate?: Prisma.mail_messagesCreateOrConnectWithoutFrom_userInput | Prisma.mail_messagesCreateOrConnectWithoutFrom_userInput[];
423
- createMany?: Prisma.mail_messagesCreateManyFrom_userInputEnvelope;
424
- connect?: Prisma.mail_messagesWhereUniqueInput | Prisma.mail_messagesWhereUniqueInput[];
425
- };
426
- export type mail_messagesUncheckedCreateNestedManyWithoutFrom_userInput = {
427
- create?: Prisma.XOR<Prisma.mail_messagesCreateWithoutFrom_userInput, Prisma.mail_messagesUncheckedCreateWithoutFrom_userInput> | Prisma.mail_messagesCreateWithoutFrom_userInput[] | Prisma.mail_messagesUncheckedCreateWithoutFrom_userInput[];
428
- connectOrCreate?: Prisma.mail_messagesCreateOrConnectWithoutFrom_userInput | Prisma.mail_messagesCreateOrConnectWithoutFrom_userInput[];
429
- createMany?: Prisma.mail_messagesCreateManyFrom_userInputEnvelope;
430
- connect?: Prisma.mail_messagesWhereUniqueInput | Prisma.mail_messagesWhereUniqueInput[];
431
- };
432
- export type mail_messagesUpdateManyWithoutFrom_userNestedInput = {
433
- create?: Prisma.XOR<Prisma.mail_messagesCreateWithoutFrom_userInput, Prisma.mail_messagesUncheckedCreateWithoutFrom_userInput> | Prisma.mail_messagesCreateWithoutFrom_userInput[] | Prisma.mail_messagesUncheckedCreateWithoutFrom_userInput[];
434
- connectOrCreate?: Prisma.mail_messagesCreateOrConnectWithoutFrom_userInput | Prisma.mail_messagesCreateOrConnectWithoutFrom_userInput[];
435
- upsert?: Prisma.mail_messagesUpsertWithWhereUniqueWithoutFrom_userInput | Prisma.mail_messagesUpsertWithWhereUniqueWithoutFrom_userInput[];
436
- createMany?: Prisma.mail_messagesCreateManyFrom_userInputEnvelope;
437
- set?: Prisma.mail_messagesWhereUniqueInput | Prisma.mail_messagesWhereUniqueInput[];
438
- disconnect?: Prisma.mail_messagesWhereUniqueInput | Prisma.mail_messagesWhereUniqueInput[];
439
- delete?: Prisma.mail_messagesWhereUniqueInput | Prisma.mail_messagesWhereUniqueInput[];
440
- connect?: Prisma.mail_messagesWhereUniqueInput | Prisma.mail_messagesWhereUniqueInput[];
441
- update?: Prisma.mail_messagesUpdateWithWhereUniqueWithoutFrom_userInput | Prisma.mail_messagesUpdateWithWhereUniqueWithoutFrom_userInput[];
442
- updateMany?: Prisma.mail_messagesUpdateManyWithWhereWithoutFrom_userInput | Prisma.mail_messagesUpdateManyWithWhereWithoutFrom_userInput[];
443
- deleteMany?: Prisma.mail_messagesScalarWhereInput | Prisma.mail_messagesScalarWhereInput[];
444
- };
445
- export type mail_messagesUncheckedUpdateManyWithoutFrom_userNestedInput = {
446
- create?: Prisma.XOR<Prisma.mail_messagesCreateWithoutFrom_userInput, Prisma.mail_messagesUncheckedCreateWithoutFrom_userInput> | Prisma.mail_messagesCreateWithoutFrom_userInput[] | Prisma.mail_messagesUncheckedCreateWithoutFrom_userInput[];
447
- connectOrCreate?: Prisma.mail_messagesCreateOrConnectWithoutFrom_userInput | Prisma.mail_messagesCreateOrConnectWithoutFrom_userInput[];
448
- upsert?: Prisma.mail_messagesUpsertWithWhereUniqueWithoutFrom_userInput | Prisma.mail_messagesUpsertWithWhereUniqueWithoutFrom_userInput[];
449
- createMany?: Prisma.mail_messagesCreateManyFrom_userInputEnvelope;
450
- set?: Prisma.mail_messagesWhereUniqueInput | Prisma.mail_messagesWhereUniqueInput[];
451
- disconnect?: Prisma.mail_messagesWhereUniqueInput | Prisma.mail_messagesWhereUniqueInput[];
452
- delete?: Prisma.mail_messagesWhereUniqueInput | Prisma.mail_messagesWhereUniqueInput[];
453
- connect?: Prisma.mail_messagesWhereUniqueInput | Prisma.mail_messagesWhereUniqueInput[];
454
- update?: Prisma.mail_messagesUpdateWithWhereUniqueWithoutFrom_userInput | Prisma.mail_messagesUpdateWithWhereUniqueWithoutFrom_userInput[];
455
- updateMany?: Prisma.mail_messagesUpdateManyWithWhereWithoutFrom_userInput | Prisma.mail_messagesUpdateManyWithWhereWithoutFrom_userInput[];
456
- deleteMany?: Prisma.mail_messagesScalarWhereInput | Prisma.mail_messagesScalarWhereInput[];
457
- };
458
- export type mail_messagesCreateNestedManyWithoutHostInput = {
459
- create?: Prisma.XOR<Prisma.mail_messagesCreateWithoutHostInput, Prisma.mail_messagesUncheckedCreateWithoutHostInput> | Prisma.mail_messagesCreateWithoutHostInput[] | Prisma.mail_messagesUncheckedCreateWithoutHostInput[];
460
- connectOrCreate?: Prisma.mail_messagesCreateOrConnectWithoutHostInput | Prisma.mail_messagesCreateOrConnectWithoutHostInput[];
461
- createMany?: Prisma.mail_messagesCreateManyHostInputEnvelope;
462
- connect?: Prisma.mail_messagesWhereUniqueInput | Prisma.mail_messagesWhereUniqueInput[];
463
- };
464
- export type mail_messagesUncheckedCreateNestedManyWithoutHostInput = {
465
- create?: Prisma.XOR<Prisma.mail_messagesCreateWithoutHostInput, Prisma.mail_messagesUncheckedCreateWithoutHostInput> | Prisma.mail_messagesCreateWithoutHostInput[] | Prisma.mail_messagesUncheckedCreateWithoutHostInput[];
466
- connectOrCreate?: Prisma.mail_messagesCreateOrConnectWithoutHostInput | Prisma.mail_messagesCreateOrConnectWithoutHostInput[];
467
- createMany?: Prisma.mail_messagesCreateManyHostInputEnvelope;
468
- connect?: Prisma.mail_messagesWhereUniqueInput | Prisma.mail_messagesWhereUniqueInput[];
469
- };
470
- export type mail_messagesUpdateManyWithoutHostNestedInput = {
471
- create?: Prisma.XOR<Prisma.mail_messagesCreateWithoutHostInput, Prisma.mail_messagesUncheckedCreateWithoutHostInput> | Prisma.mail_messagesCreateWithoutHostInput[] | Prisma.mail_messagesUncheckedCreateWithoutHostInput[];
472
- connectOrCreate?: Prisma.mail_messagesCreateOrConnectWithoutHostInput | Prisma.mail_messagesCreateOrConnectWithoutHostInput[];
473
- upsert?: Prisma.mail_messagesUpsertWithWhereUniqueWithoutHostInput | Prisma.mail_messagesUpsertWithWhereUniqueWithoutHostInput[];
474
- createMany?: Prisma.mail_messagesCreateManyHostInputEnvelope;
475
- set?: Prisma.mail_messagesWhereUniqueInput | Prisma.mail_messagesWhereUniqueInput[];
476
- disconnect?: Prisma.mail_messagesWhereUniqueInput | Prisma.mail_messagesWhereUniqueInput[];
477
- delete?: Prisma.mail_messagesWhereUniqueInput | Prisma.mail_messagesWhereUniqueInput[];
478
- connect?: Prisma.mail_messagesWhereUniqueInput | Prisma.mail_messagesWhereUniqueInput[];
479
- update?: Prisma.mail_messagesUpdateWithWhereUniqueWithoutHostInput | Prisma.mail_messagesUpdateWithWhereUniqueWithoutHostInput[];
480
- updateMany?: Prisma.mail_messagesUpdateManyWithWhereWithoutHostInput | Prisma.mail_messagesUpdateManyWithWhereWithoutHostInput[];
481
- deleteMany?: Prisma.mail_messagesScalarWhereInput | Prisma.mail_messagesScalarWhereInput[];
482
- };
483
- export type mail_messagesUncheckedUpdateManyWithoutHostNestedInput = {
484
- create?: Prisma.XOR<Prisma.mail_messagesCreateWithoutHostInput, Prisma.mail_messagesUncheckedCreateWithoutHostInput> | Prisma.mail_messagesCreateWithoutHostInput[] | Prisma.mail_messagesUncheckedCreateWithoutHostInput[];
485
- connectOrCreate?: Prisma.mail_messagesCreateOrConnectWithoutHostInput | Prisma.mail_messagesCreateOrConnectWithoutHostInput[];
486
- upsert?: Prisma.mail_messagesUpsertWithWhereUniqueWithoutHostInput | Prisma.mail_messagesUpsertWithWhereUniqueWithoutHostInput[];
487
- createMany?: Prisma.mail_messagesCreateManyHostInputEnvelope;
488
- set?: Prisma.mail_messagesWhereUniqueInput | Prisma.mail_messagesWhereUniqueInput[];
489
- disconnect?: Prisma.mail_messagesWhereUniqueInput | Prisma.mail_messagesWhereUniqueInput[];
490
- delete?: Prisma.mail_messagesWhereUniqueInput | Prisma.mail_messagesWhereUniqueInput[];
491
- connect?: Prisma.mail_messagesWhereUniqueInput | Prisma.mail_messagesWhereUniqueInput[];
492
- update?: Prisma.mail_messagesUpdateWithWhereUniqueWithoutHostInput | Prisma.mail_messagesUpdateWithWhereUniqueWithoutHostInput[];
493
- updateMany?: Prisma.mail_messagesUpdateManyWithWhereWithoutHostInput | Prisma.mail_messagesUpdateManyWithWhereWithoutHostInput[];
494
- deleteMany?: Prisma.mail_messagesScalarWhereInput | Prisma.mail_messagesScalarWhereInput[];
495
- };
496
- export type mail_messagesCreateWithoutMail_attachmentsInput = {
497
- kind?: $Enums.MessageKind;
498
- participants: string;
499
- subject: string;
500
- body: string;
501
- created_at?: Date | string;
502
- from_user: Prisma.usersCreateNestedOneWithoutMail_messages_sentInput;
503
- host?: Prisma.hostsCreateNestedOneWithoutMail_messagesInput;
504
- recipients?: Prisma.mail_recipientsCreateNestedManyWithoutMessageInput;
505
- };
506
- export type mail_messagesUncheckedCreateWithoutMail_attachmentsInput = {
507
- id?: number;
508
- from_user_id: number;
509
- host_id?: number | null;
510
- kind?: $Enums.MessageKind;
511
- participants: string;
512
- subject: string;
513
- body: string;
514
- created_at?: Date | string;
515
- recipients?: Prisma.mail_recipientsUncheckedCreateNestedManyWithoutMessageInput;
516
- };
517
- export type mail_messagesCreateOrConnectWithoutMail_attachmentsInput = {
518
- where: Prisma.mail_messagesWhereUniqueInput;
519
- create: Prisma.XOR<Prisma.mail_messagesCreateWithoutMail_attachmentsInput, Prisma.mail_messagesUncheckedCreateWithoutMail_attachmentsInput>;
520
- };
521
- export type mail_messagesUpsertWithoutMail_attachmentsInput = {
522
- update: Prisma.XOR<Prisma.mail_messagesUpdateWithoutMail_attachmentsInput, Prisma.mail_messagesUncheckedUpdateWithoutMail_attachmentsInput>;
523
- create: Prisma.XOR<Prisma.mail_messagesCreateWithoutMail_attachmentsInput, Prisma.mail_messagesUncheckedCreateWithoutMail_attachmentsInput>;
524
- where?: Prisma.mail_messagesWhereInput;
525
- };
526
- export type mail_messagesUpdateToOneWithWhereWithoutMail_attachmentsInput = {
527
- where?: Prisma.mail_messagesWhereInput;
528
- data: Prisma.XOR<Prisma.mail_messagesUpdateWithoutMail_attachmentsInput, Prisma.mail_messagesUncheckedUpdateWithoutMail_attachmentsInput>;
529
- };
530
- export type mail_messagesUpdateWithoutMail_attachmentsInput = {
531
- kind?: Prisma.EnumMessageKindFieldUpdateOperationsInput | $Enums.MessageKind;
532
- participants?: Prisma.StringFieldUpdateOperationsInput | string;
533
- subject?: Prisma.StringFieldUpdateOperationsInput | string;
534
- body?: Prisma.StringFieldUpdateOperationsInput | string;
535
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
536
- from_user?: Prisma.usersUpdateOneRequiredWithoutMail_messages_sentNestedInput;
537
- host?: Prisma.hostsUpdateOneWithoutMail_messagesNestedInput;
538
- recipients?: Prisma.mail_recipientsUpdateManyWithoutMessageNestedInput;
539
- };
540
- export type mail_messagesUncheckedUpdateWithoutMail_attachmentsInput = {
541
- id?: Prisma.IntFieldUpdateOperationsInput | number;
542
- from_user_id?: Prisma.IntFieldUpdateOperationsInput | number;
543
- host_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
544
- kind?: Prisma.EnumMessageKindFieldUpdateOperationsInput | $Enums.MessageKind;
545
- participants?: Prisma.StringFieldUpdateOperationsInput | string;
546
- subject?: Prisma.StringFieldUpdateOperationsInput | string;
547
- body?: Prisma.StringFieldUpdateOperationsInput | string;
548
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
549
- recipients?: Prisma.mail_recipientsUncheckedUpdateManyWithoutMessageNestedInput;
550
- };
551
- export type mail_messagesCreateWithoutRecipientsInput = {
552
- kind?: $Enums.MessageKind;
553
- participants: string;
554
- subject: string;
555
- body: string;
556
- created_at?: Date | string;
557
- from_user: Prisma.usersCreateNestedOneWithoutMail_messages_sentInput;
558
- host?: Prisma.hostsCreateNestedOneWithoutMail_messagesInput;
559
- mail_attachments?: Prisma.mail_attachmentsCreateNestedManyWithoutMessageInput;
560
- };
561
- export type mail_messagesUncheckedCreateWithoutRecipientsInput = {
562
- id?: number;
563
- from_user_id: number;
564
- host_id?: number | null;
565
- kind?: $Enums.MessageKind;
566
- participants: string;
567
- subject: string;
568
- body: string;
569
- created_at?: Date | string;
570
- mail_attachments?: Prisma.mail_attachmentsUncheckedCreateNestedManyWithoutMessageInput;
571
- };
572
- export type mail_messagesCreateOrConnectWithoutRecipientsInput = {
573
- where: Prisma.mail_messagesWhereUniqueInput;
574
- create: Prisma.XOR<Prisma.mail_messagesCreateWithoutRecipientsInput, Prisma.mail_messagesUncheckedCreateWithoutRecipientsInput>;
575
- };
576
- export type mail_messagesUpsertWithoutRecipientsInput = {
577
- update: Prisma.XOR<Prisma.mail_messagesUpdateWithoutRecipientsInput, Prisma.mail_messagesUncheckedUpdateWithoutRecipientsInput>;
578
- create: Prisma.XOR<Prisma.mail_messagesCreateWithoutRecipientsInput, Prisma.mail_messagesUncheckedCreateWithoutRecipientsInput>;
579
- where?: Prisma.mail_messagesWhereInput;
580
- };
581
- export type mail_messagesUpdateToOneWithWhereWithoutRecipientsInput = {
582
- where?: Prisma.mail_messagesWhereInput;
583
- data: Prisma.XOR<Prisma.mail_messagesUpdateWithoutRecipientsInput, Prisma.mail_messagesUncheckedUpdateWithoutRecipientsInput>;
584
- };
585
- export type mail_messagesUpdateWithoutRecipientsInput = {
586
- kind?: Prisma.EnumMessageKindFieldUpdateOperationsInput | $Enums.MessageKind;
587
- participants?: Prisma.StringFieldUpdateOperationsInput | string;
588
- subject?: Prisma.StringFieldUpdateOperationsInput | string;
589
- body?: Prisma.StringFieldUpdateOperationsInput | string;
590
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
591
- from_user?: Prisma.usersUpdateOneRequiredWithoutMail_messages_sentNestedInput;
592
- host?: Prisma.hostsUpdateOneWithoutMail_messagesNestedInput;
593
- mail_attachments?: Prisma.mail_attachmentsUpdateManyWithoutMessageNestedInput;
594
- };
595
- export type mail_messagesUncheckedUpdateWithoutRecipientsInput = {
596
- id?: Prisma.IntFieldUpdateOperationsInput | number;
597
- from_user_id?: Prisma.IntFieldUpdateOperationsInput | number;
598
- host_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
599
- kind?: Prisma.EnumMessageKindFieldUpdateOperationsInput | $Enums.MessageKind;
600
- participants?: Prisma.StringFieldUpdateOperationsInput | string;
601
- subject?: Prisma.StringFieldUpdateOperationsInput | string;
602
- body?: Prisma.StringFieldUpdateOperationsInput | string;
603
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
604
- mail_attachments?: Prisma.mail_attachmentsUncheckedUpdateManyWithoutMessageNestedInput;
605
- };
606
- export type mail_messagesCreateWithoutFrom_userInput = {
607
- kind?: $Enums.MessageKind;
608
- participants: string;
609
- subject: string;
610
- body: string;
611
- created_at?: Date | string;
612
- host?: Prisma.hostsCreateNestedOneWithoutMail_messagesInput;
613
- recipients?: Prisma.mail_recipientsCreateNestedManyWithoutMessageInput;
614
- mail_attachments?: Prisma.mail_attachmentsCreateNestedManyWithoutMessageInput;
615
- };
616
- export type mail_messagesUncheckedCreateWithoutFrom_userInput = {
617
- id?: number;
618
- host_id?: number | null;
619
- kind?: $Enums.MessageKind;
620
- participants: string;
621
- subject: string;
622
- body: string;
623
- created_at?: Date | string;
624
- recipients?: Prisma.mail_recipientsUncheckedCreateNestedManyWithoutMessageInput;
625
- mail_attachments?: Prisma.mail_attachmentsUncheckedCreateNestedManyWithoutMessageInput;
626
- };
627
- export type mail_messagesCreateOrConnectWithoutFrom_userInput = {
628
- where: Prisma.mail_messagesWhereUniqueInput;
629
- create: Prisma.XOR<Prisma.mail_messagesCreateWithoutFrom_userInput, Prisma.mail_messagesUncheckedCreateWithoutFrom_userInput>;
630
- };
631
- export type mail_messagesCreateManyFrom_userInputEnvelope = {
632
- data: Prisma.mail_messagesCreateManyFrom_userInput | Prisma.mail_messagesCreateManyFrom_userInput[];
633
- };
634
- export type mail_messagesUpsertWithWhereUniqueWithoutFrom_userInput = {
635
- where: Prisma.mail_messagesWhereUniqueInput;
636
- update: Prisma.XOR<Prisma.mail_messagesUpdateWithoutFrom_userInput, Prisma.mail_messagesUncheckedUpdateWithoutFrom_userInput>;
637
- create: Prisma.XOR<Prisma.mail_messagesCreateWithoutFrom_userInput, Prisma.mail_messagesUncheckedCreateWithoutFrom_userInput>;
638
- };
639
- export type mail_messagesUpdateWithWhereUniqueWithoutFrom_userInput = {
640
- where: Prisma.mail_messagesWhereUniqueInput;
641
- data: Prisma.XOR<Prisma.mail_messagesUpdateWithoutFrom_userInput, Prisma.mail_messagesUncheckedUpdateWithoutFrom_userInput>;
642
- };
643
- export type mail_messagesUpdateManyWithWhereWithoutFrom_userInput = {
644
- where: Prisma.mail_messagesScalarWhereInput;
645
- data: Prisma.XOR<Prisma.mail_messagesUpdateManyMutationInput, Prisma.mail_messagesUncheckedUpdateManyWithoutFrom_userInput>;
646
- };
647
- export type mail_messagesScalarWhereInput = {
648
- AND?: Prisma.mail_messagesScalarWhereInput | Prisma.mail_messagesScalarWhereInput[];
649
- OR?: Prisma.mail_messagesScalarWhereInput[];
650
- NOT?: Prisma.mail_messagesScalarWhereInput | Prisma.mail_messagesScalarWhereInput[];
651
- id?: Prisma.IntFilter<"mail_messages"> | number;
652
- from_user_id?: Prisma.IntFilter<"mail_messages"> | number;
653
- host_id?: Prisma.IntNullableFilter<"mail_messages"> | number | null;
654
- kind?: Prisma.EnumMessageKindFilter<"mail_messages"> | $Enums.MessageKind;
655
- participants?: Prisma.StringFilter<"mail_messages"> | string;
656
- subject?: Prisma.StringFilter<"mail_messages"> | string;
657
- body?: Prisma.StringFilter<"mail_messages"> | string;
658
- created_at?: Prisma.DateTimeFilter<"mail_messages"> | Date | string;
659
- };
660
- export type mail_messagesCreateWithoutHostInput = {
661
- kind?: $Enums.MessageKind;
662
- participants: string;
663
- subject: string;
664
- body: string;
665
- created_at?: Date | string;
666
- from_user: Prisma.usersCreateNestedOneWithoutMail_messages_sentInput;
667
- recipients?: Prisma.mail_recipientsCreateNestedManyWithoutMessageInput;
668
- mail_attachments?: Prisma.mail_attachmentsCreateNestedManyWithoutMessageInput;
669
- };
670
- export type mail_messagesUncheckedCreateWithoutHostInput = {
671
- id?: number;
672
- from_user_id: number;
673
- kind?: $Enums.MessageKind;
674
- participants: string;
675
- subject: string;
676
- body: string;
677
- created_at?: Date | string;
678
- recipients?: Prisma.mail_recipientsUncheckedCreateNestedManyWithoutMessageInput;
679
- mail_attachments?: Prisma.mail_attachmentsUncheckedCreateNestedManyWithoutMessageInput;
680
- };
681
- export type mail_messagesCreateOrConnectWithoutHostInput = {
682
- where: Prisma.mail_messagesWhereUniqueInput;
683
- create: Prisma.XOR<Prisma.mail_messagesCreateWithoutHostInput, Prisma.mail_messagesUncheckedCreateWithoutHostInput>;
684
- };
685
- export type mail_messagesCreateManyHostInputEnvelope = {
686
- data: Prisma.mail_messagesCreateManyHostInput | Prisma.mail_messagesCreateManyHostInput[];
687
- };
688
- export type mail_messagesUpsertWithWhereUniqueWithoutHostInput = {
689
- where: Prisma.mail_messagesWhereUniqueInput;
690
- update: Prisma.XOR<Prisma.mail_messagesUpdateWithoutHostInput, Prisma.mail_messagesUncheckedUpdateWithoutHostInput>;
691
- create: Prisma.XOR<Prisma.mail_messagesCreateWithoutHostInput, Prisma.mail_messagesUncheckedCreateWithoutHostInput>;
692
- };
693
- export type mail_messagesUpdateWithWhereUniqueWithoutHostInput = {
694
- where: Prisma.mail_messagesWhereUniqueInput;
695
- data: Prisma.XOR<Prisma.mail_messagesUpdateWithoutHostInput, Prisma.mail_messagesUncheckedUpdateWithoutHostInput>;
696
- };
697
- export type mail_messagesUpdateManyWithWhereWithoutHostInput = {
698
- where: Prisma.mail_messagesScalarWhereInput;
699
- data: Prisma.XOR<Prisma.mail_messagesUpdateManyMutationInput, Prisma.mail_messagesUncheckedUpdateManyWithoutHostInput>;
700
- };
701
- export type mail_messagesCreateManyFrom_userInput = {
702
- id?: number;
703
- host_id?: number | null;
704
- kind?: $Enums.MessageKind;
705
- participants: string;
706
- subject: string;
707
- body: string;
708
- created_at?: Date | string;
709
- };
710
- export type mail_messagesUpdateWithoutFrom_userInput = {
711
- kind?: Prisma.EnumMessageKindFieldUpdateOperationsInput | $Enums.MessageKind;
712
- participants?: Prisma.StringFieldUpdateOperationsInput | string;
713
- subject?: Prisma.StringFieldUpdateOperationsInput | string;
714
- body?: Prisma.StringFieldUpdateOperationsInput | string;
715
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
716
- host?: Prisma.hostsUpdateOneWithoutMail_messagesNestedInput;
717
- recipients?: Prisma.mail_recipientsUpdateManyWithoutMessageNestedInput;
718
- mail_attachments?: Prisma.mail_attachmentsUpdateManyWithoutMessageNestedInput;
719
- };
720
- export type mail_messagesUncheckedUpdateWithoutFrom_userInput = {
721
- id?: Prisma.IntFieldUpdateOperationsInput | number;
722
- host_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
723
- kind?: Prisma.EnumMessageKindFieldUpdateOperationsInput | $Enums.MessageKind;
724
- participants?: Prisma.StringFieldUpdateOperationsInput | string;
725
- subject?: Prisma.StringFieldUpdateOperationsInput | string;
726
- body?: Prisma.StringFieldUpdateOperationsInput | string;
727
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
728
- recipients?: Prisma.mail_recipientsUncheckedUpdateManyWithoutMessageNestedInput;
729
- mail_attachments?: Prisma.mail_attachmentsUncheckedUpdateManyWithoutMessageNestedInput;
730
- };
731
- export type mail_messagesUncheckedUpdateManyWithoutFrom_userInput = {
732
- id?: Prisma.IntFieldUpdateOperationsInput | number;
733
- host_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
734
- kind?: Prisma.EnumMessageKindFieldUpdateOperationsInput | $Enums.MessageKind;
735
- participants?: Prisma.StringFieldUpdateOperationsInput | string;
736
- subject?: Prisma.StringFieldUpdateOperationsInput | string;
737
- body?: Prisma.StringFieldUpdateOperationsInput | string;
738
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
739
- };
740
- export type mail_messagesCreateManyHostInput = {
741
- id?: number;
742
- from_user_id: number;
743
- kind?: $Enums.MessageKind;
744
- participants: string;
745
- subject: string;
746
- body: string;
747
- created_at?: Date | string;
748
- };
749
- export type mail_messagesUpdateWithoutHostInput = {
750
- kind?: Prisma.EnumMessageKindFieldUpdateOperationsInput | $Enums.MessageKind;
751
- participants?: Prisma.StringFieldUpdateOperationsInput | string;
752
- subject?: Prisma.StringFieldUpdateOperationsInput | string;
753
- body?: Prisma.StringFieldUpdateOperationsInput | string;
754
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
755
- from_user?: Prisma.usersUpdateOneRequiredWithoutMail_messages_sentNestedInput;
756
- recipients?: Prisma.mail_recipientsUpdateManyWithoutMessageNestedInput;
757
- mail_attachments?: Prisma.mail_attachmentsUpdateManyWithoutMessageNestedInput;
758
- };
759
- export type mail_messagesUncheckedUpdateWithoutHostInput = {
760
- id?: Prisma.IntFieldUpdateOperationsInput | number;
761
- from_user_id?: Prisma.IntFieldUpdateOperationsInput | number;
762
- kind?: Prisma.EnumMessageKindFieldUpdateOperationsInput | $Enums.MessageKind;
763
- participants?: Prisma.StringFieldUpdateOperationsInput | string;
764
- subject?: Prisma.StringFieldUpdateOperationsInput | string;
765
- body?: Prisma.StringFieldUpdateOperationsInput | string;
766
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
767
- recipients?: Prisma.mail_recipientsUncheckedUpdateManyWithoutMessageNestedInput;
768
- mail_attachments?: Prisma.mail_attachmentsUncheckedUpdateManyWithoutMessageNestedInput;
769
- };
770
- export type mail_messagesUncheckedUpdateManyWithoutHostInput = {
771
- id?: Prisma.IntFieldUpdateOperationsInput | number;
772
- from_user_id?: Prisma.IntFieldUpdateOperationsInput | number;
773
- kind?: Prisma.EnumMessageKindFieldUpdateOperationsInput | $Enums.MessageKind;
774
- participants?: Prisma.StringFieldUpdateOperationsInput | string;
775
- subject?: Prisma.StringFieldUpdateOperationsInput | string;
776
- body?: Prisma.StringFieldUpdateOperationsInput | string;
777
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
778
- };
779
- /**
780
- * Count Type Mail_messagesCountOutputType
781
- */
782
- export type Mail_messagesCountOutputType = {
783
- recipients: number;
784
- mail_attachments: number;
785
- };
786
- export type Mail_messagesCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
787
- recipients?: boolean | Mail_messagesCountOutputTypeCountRecipientsArgs;
788
- mail_attachments?: boolean | Mail_messagesCountOutputTypeCountMail_attachmentsArgs;
789
- };
790
- /**
791
- * Mail_messagesCountOutputType without action
792
- */
793
- export type Mail_messagesCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
794
- /**
795
- * Select specific fields to fetch from the Mail_messagesCountOutputType
796
- */
797
- select?: Prisma.Mail_messagesCountOutputTypeSelect<ExtArgs> | null;
798
- };
799
- /**
800
- * Mail_messagesCountOutputType without action
801
- */
802
- export type Mail_messagesCountOutputTypeCountRecipientsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
803
- where?: Prisma.mail_recipientsWhereInput;
804
- };
805
- /**
806
- * Mail_messagesCountOutputType without action
807
- */
808
- export type Mail_messagesCountOutputTypeCountMail_attachmentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
809
- where?: Prisma.mail_attachmentsWhereInput;
810
- };
811
- export type mail_messagesSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
812
- id?: boolean;
813
- from_user_id?: boolean;
814
- host_id?: boolean;
815
- kind?: boolean;
816
- participants?: boolean;
817
- subject?: boolean;
818
- body?: boolean;
819
- created_at?: boolean;
820
- from_user?: boolean | Prisma.usersDefaultArgs<ExtArgs>;
821
- host?: boolean | Prisma.mail_messages$hostArgs<ExtArgs>;
822
- recipients?: boolean | Prisma.mail_messages$recipientsArgs<ExtArgs>;
823
- mail_attachments?: boolean | Prisma.mail_messages$mail_attachmentsArgs<ExtArgs>;
824
- _count?: boolean | Prisma.Mail_messagesCountOutputTypeDefaultArgs<ExtArgs>;
825
- }, ExtArgs["result"]["mail_messages"]>;
826
- export type mail_messagesSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
827
- id?: boolean;
828
- from_user_id?: boolean;
829
- host_id?: boolean;
830
- kind?: boolean;
831
- participants?: boolean;
832
- subject?: boolean;
833
- body?: boolean;
834
- created_at?: boolean;
835
- from_user?: boolean | Prisma.usersDefaultArgs<ExtArgs>;
836
- host?: boolean | Prisma.mail_messages$hostArgs<ExtArgs>;
837
- }, ExtArgs["result"]["mail_messages"]>;
838
- export type mail_messagesSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
839
- id?: boolean;
840
- from_user_id?: boolean;
841
- host_id?: boolean;
842
- kind?: boolean;
843
- participants?: boolean;
844
- subject?: boolean;
845
- body?: boolean;
846
- created_at?: boolean;
847
- from_user?: boolean | Prisma.usersDefaultArgs<ExtArgs>;
848
- host?: boolean | Prisma.mail_messages$hostArgs<ExtArgs>;
849
- }, ExtArgs["result"]["mail_messages"]>;
850
- export type mail_messagesSelectScalar = {
851
- id?: boolean;
852
- from_user_id?: boolean;
853
- host_id?: boolean;
854
- kind?: boolean;
855
- participants?: boolean;
856
- subject?: boolean;
857
- body?: boolean;
858
- created_at?: boolean;
859
- };
860
- export type mail_messagesOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "from_user_id" | "host_id" | "kind" | "participants" | "subject" | "body" | "created_at", ExtArgs["result"]["mail_messages"]>;
861
- export type mail_messagesInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
862
- from_user?: boolean | Prisma.usersDefaultArgs<ExtArgs>;
863
- host?: boolean | Prisma.mail_messages$hostArgs<ExtArgs>;
864
- recipients?: boolean | Prisma.mail_messages$recipientsArgs<ExtArgs>;
865
- mail_attachments?: boolean | Prisma.mail_messages$mail_attachmentsArgs<ExtArgs>;
866
- _count?: boolean | Prisma.Mail_messagesCountOutputTypeDefaultArgs<ExtArgs>;
867
- };
868
- export type mail_messagesIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
869
- from_user?: boolean | Prisma.usersDefaultArgs<ExtArgs>;
870
- host?: boolean | Prisma.mail_messages$hostArgs<ExtArgs>;
871
- };
872
- export type mail_messagesIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
873
- from_user?: boolean | Prisma.usersDefaultArgs<ExtArgs>;
874
- host?: boolean | Prisma.mail_messages$hostArgs<ExtArgs>;
875
- };
876
- export type $mail_messagesPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
877
- name: "mail_messages";
878
- objects: {
879
- from_user: Prisma.$usersPayload<ExtArgs>;
880
- host: Prisma.$hostsPayload<ExtArgs> | null;
881
- recipients: Prisma.$mail_recipientsPayload<ExtArgs>[];
882
- mail_attachments: Prisma.$mail_attachmentsPayload<ExtArgs>[];
883
- };
884
- scalars: runtime.Types.Extensions.GetPayloadResult<{
885
- id: number;
886
- from_user_id: number;
887
- host_id: number | null;
888
- kind: $Enums.MessageKind;
889
- participants: string;
890
- subject: string;
891
- body: string;
892
- created_at: Date;
893
- }, ExtArgs["result"]["mail_messages"]>;
894
- composites: {};
895
- };
896
- export type mail_messagesGetPayload<S extends boolean | null | undefined | mail_messagesDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$mail_messagesPayload, S>;
897
- export type mail_messagesCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<mail_messagesFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
898
- select?: Mail_messagesCountAggregateInputType | true;
899
- };
900
- export interface mail_messagesDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
901
- [K: symbol]: {
902
- types: Prisma.TypeMap<ExtArgs>['model']['mail_messages'];
903
- meta: {
904
- name: 'mail_messages';
905
- };
906
- };
907
- /**
908
- * Find zero or one Mail_messages that matches the filter.
909
- * @param {mail_messagesFindUniqueArgs} args - Arguments to find a Mail_messages
910
- * @example
911
- * // Get one Mail_messages
912
- * const mail_messages = await prisma.mail_messages.findUnique({
913
- * where: {
914
- * // ... provide filter here
915
- * }
916
- * })
917
- */
918
- findUnique<T extends mail_messagesFindUniqueArgs>(args: Prisma.SelectSubset<T, mail_messagesFindUniqueArgs<ExtArgs>>): Prisma.Prisma__mail_messagesClient<runtime.Types.Result.GetResult<Prisma.$mail_messagesPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
919
- /**
920
- * Find one Mail_messages that matches the filter or throw an error with `error.code='P2025'`
921
- * if no matches were found.
922
- * @param {mail_messagesFindUniqueOrThrowArgs} args - Arguments to find a Mail_messages
923
- * @example
924
- * // Get one Mail_messages
925
- * const mail_messages = await prisma.mail_messages.findUniqueOrThrow({
926
- * where: {
927
- * // ... provide filter here
928
- * }
929
- * })
930
- */
931
- findUniqueOrThrow<T extends mail_messagesFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, mail_messagesFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__mail_messagesClient<runtime.Types.Result.GetResult<Prisma.$mail_messagesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
932
- /**
933
- * Find the first Mail_messages that matches the filter.
934
- * Note, that providing `undefined` is treated as the value not being there.
935
- * Read more here: https://pris.ly/d/null-undefined
936
- * @param {mail_messagesFindFirstArgs} args - Arguments to find a Mail_messages
937
- * @example
938
- * // Get one Mail_messages
939
- * const mail_messages = await prisma.mail_messages.findFirst({
940
- * where: {
941
- * // ... provide filter here
942
- * }
943
- * })
944
- */
945
- findFirst<T extends mail_messagesFindFirstArgs>(args?: Prisma.SelectSubset<T, mail_messagesFindFirstArgs<ExtArgs>>): Prisma.Prisma__mail_messagesClient<runtime.Types.Result.GetResult<Prisma.$mail_messagesPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
946
- /**
947
- * Find the first Mail_messages that matches the filter or
948
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
949
- * Note, that providing `undefined` is treated as the value not being there.
950
- * Read more here: https://pris.ly/d/null-undefined
951
- * @param {mail_messagesFindFirstOrThrowArgs} args - Arguments to find a Mail_messages
952
- * @example
953
- * // Get one Mail_messages
954
- * const mail_messages = await prisma.mail_messages.findFirstOrThrow({
955
- * where: {
956
- * // ... provide filter here
957
- * }
958
- * })
959
- */
960
- findFirstOrThrow<T extends mail_messagesFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, mail_messagesFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__mail_messagesClient<runtime.Types.Result.GetResult<Prisma.$mail_messagesPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
961
- /**
962
- * Find zero or more Mail_messages that matches the filter.
963
- * Note, that providing `undefined` is treated as the value not being there.
964
- * Read more here: https://pris.ly/d/null-undefined
965
- * @param {mail_messagesFindManyArgs} args - Arguments to filter and select certain fields only.
966
- * @example
967
- * // Get all Mail_messages
968
- * const mail_messages = await prisma.mail_messages.findMany()
969
- *
970
- * // Get first 10 Mail_messages
971
- * const mail_messages = await prisma.mail_messages.findMany({ take: 10 })
972
- *
973
- * // Only select the `id`
974
- * const mail_messagesWithIdOnly = await prisma.mail_messages.findMany({ select: { id: true } })
975
- *
976
- */
977
- findMany<T extends mail_messagesFindManyArgs>(args?: Prisma.SelectSubset<T, mail_messagesFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$mail_messagesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
978
- /**
979
- * Create a Mail_messages.
980
- * @param {mail_messagesCreateArgs} args - Arguments to create a Mail_messages.
981
- * @example
982
- * // Create one Mail_messages
983
- * const Mail_messages = await prisma.mail_messages.create({
984
- * data: {
985
- * // ... data to create a Mail_messages
986
- * }
987
- * })
988
- *
989
- */
990
- create<T extends mail_messagesCreateArgs>(args: Prisma.SelectSubset<T, mail_messagesCreateArgs<ExtArgs>>): Prisma.Prisma__mail_messagesClient<runtime.Types.Result.GetResult<Prisma.$mail_messagesPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
991
- /**
992
- * Create many Mail_messages.
993
- * @param {mail_messagesCreateManyArgs} args - Arguments to create many Mail_messages.
994
- * @example
995
- * // Create many Mail_messages
996
- * const mail_messages = await prisma.mail_messages.createMany({
997
- * data: [
998
- * // ... provide data here
999
- * ]
1000
- * })
1001
- *
1002
- */
1003
- createMany<T extends mail_messagesCreateManyArgs>(args?: Prisma.SelectSubset<T, mail_messagesCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
1004
- /**
1005
- * Create many Mail_messages and returns the data saved in the database.
1006
- * @param {mail_messagesCreateManyAndReturnArgs} args - Arguments to create many Mail_messages.
1007
- * @example
1008
- * // Create many Mail_messages
1009
- * const mail_messages = await prisma.mail_messages.createManyAndReturn({
1010
- * data: [
1011
- * // ... provide data here
1012
- * ]
1013
- * })
1014
- *
1015
- * // Create many Mail_messages and only return the `id`
1016
- * const mail_messagesWithIdOnly = await prisma.mail_messages.createManyAndReturn({
1017
- * select: { id: true },
1018
- * data: [
1019
- * // ... provide data here
1020
- * ]
1021
- * })
1022
- * Note, that providing `undefined` is treated as the value not being there.
1023
- * Read more here: https://pris.ly/d/null-undefined
1024
- *
1025
- */
1026
- createManyAndReturn<T extends mail_messagesCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, mail_messagesCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$mail_messagesPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
1027
- /**
1028
- * Delete a Mail_messages.
1029
- * @param {mail_messagesDeleteArgs} args - Arguments to delete one Mail_messages.
1030
- * @example
1031
- * // Delete one Mail_messages
1032
- * const Mail_messages = await prisma.mail_messages.delete({
1033
- * where: {
1034
- * // ... filter to delete one Mail_messages
1035
- * }
1036
- * })
1037
- *
1038
- */
1039
- delete<T extends mail_messagesDeleteArgs>(args: Prisma.SelectSubset<T, mail_messagesDeleteArgs<ExtArgs>>): Prisma.Prisma__mail_messagesClient<runtime.Types.Result.GetResult<Prisma.$mail_messagesPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1040
- /**
1041
- * Update one Mail_messages.
1042
- * @param {mail_messagesUpdateArgs} args - Arguments to update one Mail_messages.
1043
- * @example
1044
- * // Update one Mail_messages
1045
- * const mail_messages = await prisma.mail_messages.update({
1046
- * where: {
1047
- * // ... provide filter here
1048
- * },
1049
- * data: {
1050
- * // ... provide data here
1051
- * }
1052
- * })
1053
- *
1054
- */
1055
- update<T extends mail_messagesUpdateArgs>(args: Prisma.SelectSubset<T, mail_messagesUpdateArgs<ExtArgs>>): Prisma.Prisma__mail_messagesClient<runtime.Types.Result.GetResult<Prisma.$mail_messagesPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1056
- /**
1057
- * Delete zero or more Mail_messages.
1058
- * @param {mail_messagesDeleteManyArgs} args - Arguments to filter Mail_messages to delete.
1059
- * @example
1060
- * // Delete a few Mail_messages
1061
- * const { count } = await prisma.mail_messages.deleteMany({
1062
- * where: {
1063
- * // ... provide filter here
1064
- * }
1065
- * })
1066
- *
1067
- */
1068
- deleteMany<T extends mail_messagesDeleteManyArgs>(args?: Prisma.SelectSubset<T, mail_messagesDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
1069
- /**
1070
- * Update zero or more Mail_messages.
1071
- * Note, that providing `undefined` is treated as the value not being there.
1072
- * Read more here: https://pris.ly/d/null-undefined
1073
- * @param {mail_messagesUpdateManyArgs} args - Arguments to update one or more rows.
1074
- * @example
1075
- * // Update many Mail_messages
1076
- * const mail_messages = await prisma.mail_messages.updateMany({
1077
- * where: {
1078
- * // ... provide filter here
1079
- * },
1080
- * data: {
1081
- * // ... provide data here
1082
- * }
1083
- * })
1084
- *
1085
- */
1086
- updateMany<T extends mail_messagesUpdateManyArgs>(args: Prisma.SelectSubset<T, mail_messagesUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
1087
- /**
1088
- * Update zero or more Mail_messages and returns the data updated in the database.
1089
- * @param {mail_messagesUpdateManyAndReturnArgs} args - Arguments to update many Mail_messages.
1090
- * @example
1091
- * // Update many Mail_messages
1092
- * const mail_messages = await prisma.mail_messages.updateManyAndReturn({
1093
- * where: {
1094
- * // ... provide filter here
1095
- * },
1096
- * data: [
1097
- * // ... provide data here
1098
- * ]
1099
- * })
1100
- *
1101
- * // Update zero or more Mail_messages and only return the `id`
1102
- * const mail_messagesWithIdOnly = await prisma.mail_messages.updateManyAndReturn({
1103
- * select: { id: true },
1104
- * where: {
1105
- * // ... provide filter here
1106
- * },
1107
- * data: [
1108
- * // ... provide data here
1109
- * ]
1110
- * })
1111
- * Note, that providing `undefined` is treated as the value not being there.
1112
- * Read more here: https://pris.ly/d/null-undefined
1113
- *
1114
- */
1115
- updateManyAndReturn<T extends mail_messagesUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, mail_messagesUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$mail_messagesPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
1116
- /**
1117
- * Create or update one Mail_messages.
1118
- * @param {mail_messagesUpsertArgs} args - Arguments to update or create a Mail_messages.
1119
- * @example
1120
- * // Update or create a Mail_messages
1121
- * const mail_messages = await prisma.mail_messages.upsert({
1122
- * create: {
1123
- * // ... data to create a Mail_messages
1124
- * },
1125
- * update: {
1126
- * // ... in case it already exists, update
1127
- * },
1128
- * where: {
1129
- * // ... the filter for the Mail_messages we want to update
1130
- * }
1131
- * })
1132
- */
1133
- upsert<T extends mail_messagesUpsertArgs>(args: Prisma.SelectSubset<T, mail_messagesUpsertArgs<ExtArgs>>): Prisma.Prisma__mail_messagesClient<runtime.Types.Result.GetResult<Prisma.$mail_messagesPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1134
- /**
1135
- * Count the number of Mail_messages.
1136
- * Note, that providing `undefined` is treated as the value not being there.
1137
- * Read more here: https://pris.ly/d/null-undefined
1138
- * @param {mail_messagesCountArgs} args - Arguments to filter Mail_messages to count.
1139
- * @example
1140
- * // Count the number of Mail_messages
1141
- * const count = await prisma.mail_messages.count({
1142
- * where: {
1143
- * // ... the filter for the Mail_messages we want to count
1144
- * }
1145
- * })
1146
- **/
1147
- count<T extends mail_messagesCountArgs>(args?: Prisma.Subset<T, mail_messagesCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Mail_messagesCountAggregateOutputType> : number>;
1148
- /**
1149
- * Allows you to perform aggregations operations on a Mail_messages.
1150
- * Note, that providing `undefined` is treated as the value not being there.
1151
- * Read more here: https://pris.ly/d/null-undefined
1152
- * @param {Mail_messagesAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1153
- * @example
1154
- * // Ordered by age ascending
1155
- * // Where email contains prisma.io
1156
- * // Limited to the 10 users
1157
- * const aggregations = await prisma.user.aggregate({
1158
- * _avg: {
1159
- * age: true,
1160
- * },
1161
- * where: {
1162
- * email: {
1163
- * contains: "prisma.io",
1164
- * },
1165
- * },
1166
- * orderBy: {
1167
- * age: "asc",
1168
- * },
1169
- * take: 10,
1170
- * })
1171
- **/
1172
- aggregate<T extends Mail_messagesAggregateArgs>(args: Prisma.Subset<T, Mail_messagesAggregateArgs>): Prisma.PrismaPromise<GetMail_messagesAggregateType<T>>;
1173
- /**
1174
- * Group by Mail_messages.
1175
- * Note, that providing `undefined` is treated as the value not being there.
1176
- * Read more here: https://pris.ly/d/null-undefined
1177
- * @param {mail_messagesGroupByArgs} args - Group by arguments.
1178
- * @example
1179
- * // Group by city, order by createdAt, get count
1180
- * const result = await prisma.user.groupBy({
1181
- * by: ['city', 'createdAt'],
1182
- * orderBy: {
1183
- * createdAt: true
1184
- * },
1185
- * _count: {
1186
- * _all: true
1187
- * },
1188
- * })
1189
- *
1190
- **/
1191
- groupBy<T extends mail_messagesGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
1192
- orderBy: mail_messagesGroupByArgs['orderBy'];
1193
- } : {
1194
- orderBy?: mail_messagesGroupByArgs['orderBy'];
1195
- }, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? {
1196
- [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
1197
- Error,
1198
- 'Field ',
1199
- P,
1200
- ` in "having" needs to be provided in "by"`
1201
- ];
1202
- }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
1203
- [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1204
- }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
1205
- [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1206
- }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
1207
- [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1208
- }[OrderFields]>(args: Prisma.SubsetIntersection<T, mail_messagesGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetMail_messagesGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
1209
- /**
1210
- * Fields of the mail_messages model
1211
- */
1212
- readonly fields: mail_messagesFieldRefs;
1213
- }
1214
- /**
1215
- * The delegate class that acts as a "Promise-like" for mail_messages.
1216
- * Why is this prefixed with `Prisma__`?
1217
- * Because we want to prevent naming conflicts as mentioned in
1218
- * https://github.com/prisma/prisma-client-js/issues/707
1219
- */
1220
- export interface Prisma__mail_messagesClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1221
- readonly [Symbol.toStringTag]: "PrismaPromise";
1222
- from_user<T extends Prisma.usersDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.usersDefaultArgs<ExtArgs>>): Prisma.Prisma__usersClient<runtime.Types.Result.GetResult<Prisma.$usersPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
1223
- host<T extends Prisma.mail_messages$hostArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.mail_messages$hostArgs<ExtArgs>>): Prisma.Prisma__hostsClient<runtime.Types.Result.GetResult<Prisma.$hostsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1224
- recipients<T extends Prisma.mail_messages$recipientsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.mail_messages$recipientsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$mail_recipientsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1225
- mail_attachments<T extends Prisma.mail_messages$mail_attachmentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.mail_messages$mail_attachmentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$mail_attachmentsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1226
- /**
1227
- * Attaches callbacks for the resolution and/or rejection of the Promise.
1228
- * @param onfulfilled The callback to execute when the Promise is resolved.
1229
- * @param onrejected The callback to execute when the Promise is rejected.
1230
- * @returns A Promise for the completion of which ever callback is executed.
1231
- */
1232
- 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>;
1233
- /**
1234
- * Attaches a callback for only the rejection of the Promise.
1235
- * @param onrejected The callback to execute when the Promise is rejected.
1236
- * @returns A Promise for the completion of the callback.
1237
- */
1238
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
1239
- /**
1240
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1241
- * resolved value cannot be modified from the callback.
1242
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1243
- * @returns A Promise for the completion of the callback.
1244
- */
1245
- finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
1246
- }
1247
- /**
1248
- * Fields of the mail_messages model
1249
- */
1250
- export interface mail_messagesFieldRefs {
1251
- readonly id: Prisma.FieldRef<"mail_messages", 'Int'>;
1252
- readonly from_user_id: Prisma.FieldRef<"mail_messages", 'Int'>;
1253
- readonly host_id: Prisma.FieldRef<"mail_messages", 'Int'>;
1254
- readonly kind: Prisma.FieldRef<"mail_messages", 'MessageKind'>;
1255
- readonly participants: Prisma.FieldRef<"mail_messages", 'String'>;
1256
- readonly subject: Prisma.FieldRef<"mail_messages", 'String'>;
1257
- readonly body: Prisma.FieldRef<"mail_messages", 'String'>;
1258
- readonly created_at: Prisma.FieldRef<"mail_messages", 'DateTime'>;
1259
- }
1260
- /**
1261
- * mail_messages findUnique
1262
- */
1263
- export type mail_messagesFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1264
- /**
1265
- * Select specific fields to fetch from the mail_messages
1266
- */
1267
- select?: Prisma.mail_messagesSelect<ExtArgs> | null;
1268
- /**
1269
- * Omit specific fields from the mail_messages
1270
- */
1271
- omit?: Prisma.mail_messagesOmit<ExtArgs> | null;
1272
- /**
1273
- * Choose, which related nodes to fetch as well
1274
- */
1275
- include?: Prisma.mail_messagesInclude<ExtArgs> | null;
1276
- /**
1277
- * Filter, which mail_messages to fetch.
1278
- */
1279
- where: Prisma.mail_messagesWhereUniqueInput;
1280
- };
1281
- /**
1282
- * mail_messages findUniqueOrThrow
1283
- */
1284
- export type mail_messagesFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1285
- /**
1286
- * Select specific fields to fetch from the mail_messages
1287
- */
1288
- select?: Prisma.mail_messagesSelect<ExtArgs> | null;
1289
- /**
1290
- * Omit specific fields from the mail_messages
1291
- */
1292
- omit?: Prisma.mail_messagesOmit<ExtArgs> | null;
1293
- /**
1294
- * Choose, which related nodes to fetch as well
1295
- */
1296
- include?: Prisma.mail_messagesInclude<ExtArgs> | null;
1297
- /**
1298
- * Filter, which mail_messages to fetch.
1299
- */
1300
- where: Prisma.mail_messagesWhereUniqueInput;
1301
- };
1302
- /**
1303
- * mail_messages findFirst
1304
- */
1305
- export type mail_messagesFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1306
- /**
1307
- * Select specific fields to fetch from the mail_messages
1308
- */
1309
- select?: Prisma.mail_messagesSelect<ExtArgs> | null;
1310
- /**
1311
- * Omit specific fields from the mail_messages
1312
- */
1313
- omit?: Prisma.mail_messagesOmit<ExtArgs> | null;
1314
- /**
1315
- * Choose, which related nodes to fetch as well
1316
- */
1317
- include?: Prisma.mail_messagesInclude<ExtArgs> | null;
1318
- /**
1319
- * Filter, which mail_messages to fetch.
1320
- */
1321
- where?: Prisma.mail_messagesWhereInput;
1322
- /**
1323
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1324
- *
1325
- * Determine the order of mail_messages to fetch.
1326
- */
1327
- orderBy?: Prisma.mail_messagesOrderByWithRelationInput | Prisma.mail_messagesOrderByWithRelationInput[];
1328
- /**
1329
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1330
- *
1331
- * Sets the position for searching for mail_messages.
1332
- */
1333
- cursor?: Prisma.mail_messagesWhereUniqueInput;
1334
- /**
1335
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1336
- *
1337
- * Take `±n` mail_messages from the position of the cursor.
1338
- */
1339
- take?: number;
1340
- /**
1341
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1342
- *
1343
- * Skip the first `n` mail_messages.
1344
- */
1345
- skip?: number;
1346
- /**
1347
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1348
- *
1349
- * Filter by unique combinations of mail_messages.
1350
- */
1351
- distinct?: Prisma.Mail_messagesScalarFieldEnum | Prisma.Mail_messagesScalarFieldEnum[];
1352
- };
1353
- /**
1354
- * mail_messages findFirstOrThrow
1355
- */
1356
- export type mail_messagesFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1357
- /**
1358
- * Select specific fields to fetch from the mail_messages
1359
- */
1360
- select?: Prisma.mail_messagesSelect<ExtArgs> | null;
1361
- /**
1362
- * Omit specific fields from the mail_messages
1363
- */
1364
- omit?: Prisma.mail_messagesOmit<ExtArgs> | null;
1365
- /**
1366
- * Choose, which related nodes to fetch as well
1367
- */
1368
- include?: Prisma.mail_messagesInclude<ExtArgs> | null;
1369
- /**
1370
- * Filter, which mail_messages to fetch.
1371
- */
1372
- where?: Prisma.mail_messagesWhereInput;
1373
- /**
1374
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1375
- *
1376
- * Determine the order of mail_messages to fetch.
1377
- */
1378
- orderBy?: Prisma.mail_messagesOrderByWithRelationInput | Prisma.mail_messagesOrderByWithRelationInput[];
1379
- /**
1380
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1381
- *
1382
- * Sets the position for searching for mail_messages.
1383
- */
1384
- cursor?: Prisma.mail_messagesWhereUniqueInput;
1385
- /**
1386
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1387
- *
1388
- * Take `±n` mail_messages from the position of the cursor.
1389
- */
1390
- take?: number;
1391
- /**
1392
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1393
- *
1394
- * Skip the first `n` mail_messages.
1395
- */
1396
- skip?: number;
1397
- /**
1398
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1399
- *
1400
- * Filter by unique combinations of mail_messages.
1401
- */
1402
- distinct?: Prisma.Mail_messagesScalarFieldEnum | Prisma.Mail_messagesScalarFieldEnum[];
1403
- };
1404
- /**
1405
- * mail_messages findMany
1406
- */
1407
- export type mail_messagesFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1408
- /**
1409
- * Select specific fields to fetch from the mail_messages
1410
- */
1411
- select?: Prisma.mail_messagesSelect<ExtArgs> | null;
1412
- /**
1413
- * Omit specific fields from the mail_messages
1414
- */
1415
- omit?: Prisma.mail_messagesOmit<ExtArgs> | null;
1416
- /**
1417
- * Choose, which related nodes to fetch as well
1418
- */
1419
- include?: Prisma.mail_messagesInclude<ExtArgs> | null;
1420
- /**
1421
- * Filter, which mail_messages to fetch.
1422
- */
1423
- where?: Prisma.mail_messagesWhereInput;
1424
- /**
1425
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1426
- *
1427
- * Determine the order of mail_messages to fetch.
1428
- */
1429
- orderBy?: Prisma.mail_messagesOrderByWithRelationInput | Prisma.mail_messagesOrderByWithRelationInput[];
1430
- /**
1431
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1432
- *
1433
- * Sets the position for listing mail_messages.
1434
- */
1435
- cursor?: Prisma.mail_messagesWhereUniqueInput;
1436
- /**
1437
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1438
- *
1439
- * Take `±n` mail_messages from the position of the cursor.
1440
- */
1441
- take?: number;
1442
- /**
1443
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1444
- *
1445
- * Skip the first `n` mail_messages.
1446
- */
1447
- skip?: number;
1448
- /**
1449
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1450
- *
1451
- * Filter by unique combinations of mail_messages.
1452
- */
1453
- distinct?: Prisma.Mail_messagesScalarFieldEnum | Prisma.Mail_messagesScalarFieldEnum[];
1454
- };
1455
- /**
1456
- * mail_messages create
1457
- */
1458
- export type mail_messagesCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1459
- /**
1460
- * Select specific fields to fetch from the mail_messages
1461
- */
1462
- select?: Prisma.mail_messagesSelect<ExtArgs> | null;
1463
- /**
1464
- * Omit specific fields from the mail_messages
1465
- */
1466
- omit?: Prisma.mail_messagesOmit<ExtArgs> | null;
1467
- /**
1468
- * Choose, which related nodes to fetch as well
1469
- */
1470
- include?: Prisma.mail_messagesInclude<ExtArgs> | null;
1471
- /**
1472
- * The data needed to create a mail_messages.
1473
- */
1474
- data: Prisma.XOR<Prisma.mail_messagesCreateInput, Prisma.mail_messagesUncheckedCreateInput>;
1475
- };
1476
- /**
1477
- * mail_messages createMany
1478
- */
1479
- export type mail_messagesCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1480
- /**
1481
- * The data used to create many mail_messages.
1482
- */
1483
- data: Prisma.mail_messagesCreateManyInput | Prisma.mail_messagesCreateManyInput[];
1484
- };
1485
- /**
1486
- * mail_messages createManyAndReturn
1487
- */
1488
- export type mail_messagesCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1489
- /**
1490
- * Select specific fields to fetch from the mail_messages
1491
- */
1492
- select?: Prisma.mail_messagesSelectCreateManyAndReturn<ExtArgs> | null;
1493
- /**
1494
- * Omit specific fields from the mail_messages
1495
- */
1496
- omit?: Prisma.mail_messagesOmit<ExtArgs> | null;
1497
- /**
1498
- * The data used to create many mail_messages.
1499
- */
1500
- data: Prisma.mail_messagesCreateManyInput | Prisma.mail_messagesCreateManyInput[];
1501
- /**
1502
- * Choose, which related nodes to fetch as well
1503
- */
1504
- include?: Prisma.mail_messagesIncludeCreateManyAndReturn<ExtArgs> | null;
1505
- };
1506
- /**
1507
- * mail_messages update
1508
- */
1509
- export type mail_messagesUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1510
- /**
1511
- * Select specific fields to fetch from the mail_messages
1512
- */
1513
- select?: Prisma.mail_messagesSelect<ExtArgs> | null;
1514
- /**
1515
- * Omit specific fields from the mail_messages
1516
- */
1517
- omit?: Prisma.mail_messagesOmit<ExtArgs> | null;
1518
- /**
1519
- * Choose, which related nodes to fetch as well
1520
- */
1521
- include?: Prisma.mail_messagesInclude<ExtArgs> | null;
1522
- /**
1523
- * The data needed to update a mail_messages.
1524
- */
1525
- data: Prisma.XOR<Prisma.mail_messagesUpdateInput, Prisma.mail_messagesUncheckedUpdateInput>;
1526
- /**
1527
- * Choose, which mail_messages to update.
1528
- */
1529
- where: Prisma.mail_messagesWhereUniqueInput;
1530
- };
1531
- /**
1532
- * mail_messages updateMany
1533
- */
1534
- export type mail_messagesUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1535
- /**
1536
- * The data used to update mail_messages.
1537
- */
1538
- data: Prisma.XOR<Prisma.mail_messagesUpdateManyMutationInput, Prisma.mail_messagesUncheckedUpdateManyInput>;
1539
- /**
1540
- * Filter which mail_messages to update
1541
- */
1542
- where?: Prisma.mail_messagesWhereInput;
1543
- /**
1544
- * Limit how many mail_messages to update.
1545
- */
1546
- limit?: number;
1547
- };
1548
- /**
1549
- * mail_messages updateManyAndReturn
1550
- */
1551
- export type mail_messagesUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1552
- /**
1553
- * Select specific fields to fetch from the mail_messages
1554
- */
1555
- select?: Prisma.mail_messagesSelectUpdateManyAndReturn<ExtArgs> | null;
1556
- /**
1557
- * Omit specific fields from the mail_messages
1558
- */
1559
- omit?: Prisma.mail_messagesOmit<ExtArgs> | null;
1560
- /**
1561
- * The data used to update mail_messages.
1562
- */
1563
- data: Prisma.XOR<Prisma.mail_messagesUpdateManyMutationInput, Prisma.mail_messagesUncheckedUpdateManyInput>;
1564
- /**
1565
- * Filter which mail_messages to update
1566
- */
1567
- where?: Prisma.mail_messagesWhereInput;
1568
- /**
1569
- * Limit how many mail_messages to update.
1570
- */
1571
- limit?: number;
1572
- /**
1573
- * Choose, which related nodes to fetch as well
1574
- */
1575
- include?: Prisma.mail_messagesIncludeUpdateManyAndReturn<ExtArgs> | null;
1576
- };
1577
- /**
1578
- * mail_messages upsert
1579
- */
1580
- export type mail_messagesUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1581
- /**
1582
- * Select specific fields to fetch from the mail_messages
1583
- */
1584
- select?: Prisma.mail_messagesSelect<ExtArgs> | null;
1585
- /**
1586
- * Omit specific fields from the mail_messages
1587
- */
1588
- omit?: Prisma.mail_messagesOmit<ExtArgs> | null;
1589
- /**
1590
- * Choose, which related nodes to fetch as well
1591
- */
1592
- include?: Prisma.mail_messagesInclude<ExtArgs> | null;
1593
- /**
1594
- * The filter to search for the mail_messages to update in case it exists.
1595
- */
1596
- where: Prisma.mail_messagesWhereUniqueInput;
1597
- /**
1598
- * In case the mail_messages found by the `where` argument doesn't exist, create a new mail_messages with this data.
1599
- */
1600
- create: Prisma.XOR<Prisma.mail_messagesCreateInput, Prisma.mail_messagesUncheckedCreateInput>;
1601
- /**
1602
- * In case the mail_messages was found with the provided `where` argument, update it with this data.
1603
- */
1604
- update: Prisma.XOR<Prisma.mail_messagesUpdateInput, Prisma.mail_messagesUncheckedUpdateInput>;
1605
- };
1606
- /**
1607
- * mail_messages delete
1608
- */
1609
- export type mail_messagesDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1610
- /**
1611
- * Select specific fields to fetch from the mail_messages
1612
- */
1613
- select?: Prisma.mail_messagesSelect<ExtArgs> | null;
1614
- /**
1615
- * Omit specific fields from the mail_messages
1616
- */
1617
- omit?: Prisma.mail_messagesOmit<ExtArgs> | null;
1618
- /**
1619
- * Choose, which related nodes to fetch as well
1620
- */
1621
- include?: Prisma.mail_messagesInclude<ExtArgs> | null;
1622
- /**
1623
- * Filter which mail_messages to delete.
1624
- */
1625
- where: Prisma.mail_messagesWhereUniqueInput;
1626
- };
1627
- /**
1628
- * mail_messages deleteMany
1629
- */
1630
- export type mail_messagesDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1631
- /**
1632
- * Filter which mail_messages to delete
1633
- */
1634
- where?: Prisma.mail_messagesWhereInput;
1635
- /**
1636
- * Limit how many mail_messages to delete.
1637
- */
1638
- limit?: number;
1639
- };
1640
- /**
1641
- * mail_messages.host
1642
- */
1643
- export type mail_messages$hostArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1644
- /**
1645
- * Select specific fields to fetch from the hosts
1646
- */
1647
- select?: Prisma.hostsSelect<ExtArgs> | null;
1648
- /**
1649
- * Omit specific fields from the hosts
1650
- */
1651
- omit?: Prisma.hostsOmit<ExtArgs> | null;
1652
- /**
1653
- * Choose, which related nodes to fetch as well
1654
- */
1655
- include?: Prisma.hostsInclude<ExtArgs> | null;
1656
- where?: Prisma.hostsWhereInput;
1657
- };
1658
- /**
1659
- * mail_messages.recipients
1660
- */
1661
- export type mail_messages$recipientsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1662
- /**
1663
- * Select specific fields to fetch from the mail_recipients
1664
- */
1665
- select?: Prisma.mail_recipientsSelect<ExtArgs> | null;
1666
- /**
1667
- * Omit specific fields from the mail_recipients
1668
- */
1669
- omit?: Prisma.mail_recipientsOmit<ExtArgs> | null;
1670
- /**
1671
- * Choose, which related nodes to fetch as well
1672
- */
1673
- include?: Prisma.mail_recipientsInclude<ExtArgs> | null;
1674
- where?: Prisma.mail_recipientsWhereInput;
1675
- orderBy?: Prisma.mail_recipientsOrderByWithRelationInput | Prisma.mail_recipientsOrderByWithRelationInput[];
1676
- cursor?: Prisma.mail_recipientsWhereUniqueInput;
1677
- take?: number;
1678
- skip?: number;
1679
- distinct?: Prisma.Mail_recipientsScalarFieldEnum | Prisma.Mail_recipientsScalarFieldEnum[];
1680
- };
1681
- /**
1682
- * mail_messages.mail_attachments
1683
- */
1684
- export type mail_messages$mail_attachmentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1685
- /**
1686
- * Select specific fields to fetch from the mail_attachments
1687
- */
1688
- select?: Prisma.mail_attachmentsSelect<ExtArgs> | null;
1689
- /**
1690
- * Omit specific fields from the mail_attachments
1691
- */
1692
- omit?: Prisma.mail_attachmentsOmit<ExtArgs> | null;
1693
- /**
1694
- * Choose, which related nodes to fetch as well
1695
- */
1696
- include?: Prisma.mail_attachmentsInclude<ExtArgs> | null;
1697
- where?: Prisma.mail_attachmentsWhereInput;
1698
- orderBy?: Prisma.mail_attachmentsOrderByWithRelationInput | Prisma.mail_attachmentsOrderByWithRelationInput[];
1699
- cursor?: Prisma.mail_attachmentsWhereUniqueInput;
1700
- take?: number;
1701
- skip?: number;
1702
- distinct?: Prisma.Mail_attachmentsScalarFieldEnum | Prisma.Mail_attachmentsScalarFieldEnum[];
1703
- };
1704
- /**
1705
- * mail_messages without action
1706
- */
1707
- export type mail_messagesDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1708
- /**
1709
- * Select specific fields to fetch from the mail_messages
1710
- */
1711
- select?: Prisma.mail_messagesSelect<ExtArgs> | null;
1712
- /**
1713
- * Omit specific fields from the mail_messages
1714
- */
1715
- omit?: Prisma.mail_messagesOmit<ExtArgs> | null;
1716
- /**
1717
- * Choose, which related nodes to fetch as well
1718
- */
1719
- include?: Prisma.mail_messagesInclude<ExtArgs> | null;
1720
- };
1721
- //# sourceMappingURL=mail_messages.d.ts.map