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