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