@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.
Files changed (29) hide show
  1. package/package.json +6 -4
  2. package/dist/dbConfig.d.ts +0 -2
  3. package/dist/generated/prisma/browser.d.ts +0 -80
  4. package/dist/generated/prisma/client.d.ts +0 -99
  5. package/dist/generated/prisma/commonInputTypes.d.ts +0 -758
  6. package/dist/generated/prisma/enums.d.ts +0 -57
  7. package/dist/generated/prisma/internal/class.d.ts +0 -285
  8. package/dist/generated/prisma/internal/prismaNamespace.d.ts +0 -1777
  9. package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts +0 -223
  10. package/dist/generated/prisma/models/attachments.d.ts +0 -1624
  11. package/dist/generated/prisma/models/config_revisions.d.ts +0 -1320
  12. package/dist/generated/prisma/models/context_log.d.ts +0 -1889
  13. package/dist/generated/prisma/models/costs.d.ts +0 -1834
  14. package/dist/generated/prisma/models/hosts.d.ts +0 -1892
  15. package/dist/generated/prisma/models/mail_attachments.d.ts +0 -1244
  16. package/dist/generated/prisma/models/mail_messages.d.ts +0 -1721
  17. package/dist/generated/prisma/models/mail_recipients.d.ts +0 -1409
  18. package/dist/generated/prisma/models/models.d.ts +0 -1175
  19. package/dist/generated/prisma/models/run_session.d.ts +0 -1894
  20. package/dist/generated/prisma/models/schema_version.d.ts +0 -984
  21. package/dist/generated/prisma/models/user_hosts.d.ts +0 -1244
  22. package/dist/generated/prisma/models/user_notifications.d.ts +0 -1543
  23. package/dist/generated/prisma/models/users.d.ts +0 -3229
  24. package/dist/generated/prisma/models/variables.d.ts +0 -1052
  25. package/dist/generated/prisma/models.d.ts +0 -17
  26. package/dist/hubDatabaseService.d.ts +0 -7
  27. package/dist/hubSessionService.d.ts +0 -41
  28. package/dist/index.d.ts +0 -8
  29. package/dist/prismaClient.d.ts +0 -7
@@ -1,3229 +0,0 @@
1
- import type * as runtime from "@prisma/client/runtime/client";
2
- import type * as Prisma from "../internal/prismaNamespace.js";
3
- /**
4
- * Model users
5
- *
6
- */
7
- export type usersModel = runtime.Types.Result.DefaultSelection<Prisma.$usersPayload>;
8
- export type AggregateUsers = {
9
- _count: UsersCountAggregateOutputType | null;
10
- _avg: UsersAvgAggregateOutputType | null;
11
- _sum: UsersSumAggregateOutputType | null;
12
- _min: UsersMinAggregateOutputType | null;
13
- _max: UsersMaxAggregateOutputType | null;
14
- };
15
- export type UsersAvgAggregateOutputType = {
16
- id: number | null;
17
- lead_user_id: number | null;
18
- };
19
- export type UsersSumAggregateOutputType = {
20
- id: number | null;
21
- lead_user_id: number | null;
22
- };
23
- export type UsersMinAggregateOutputType = {
24
- id: number | null;
25
- uuid: string | null;
26
- username: string | null;
27
- title: string | null;
28
- api_key: string | null;
29
- lead_user_id: number | null;
30
- config: string | null;
31
- created_at: Date | null;
32
- updated_at: Date | null;
33
- enabled: boolean | null;
34
- archived: boolean | null;
35
- };
36
- export type UsersMaxAggregateOutputType = {
37
- id: number | null;
38
- uuid: string | null;
39
- username: string | null;
40
- title: string | null;
41
- api_key: string | null;
42
- lead_user_id: number | null;
43
- config: string | null;
44
- created_at: Date | null;
45
- updated_at: Date | null;
46
- enabled: boolean | null;
47
- archived: boolean | null;
48
- };
49
- export type UsersCountAggregateOutputType = {
50
- id: number;
51
- uuid: number;
52
- username: number;
53
- title: number;
54
- api_key: number;
55
- lead_user_id: number;
56
- config: number;
57
- created_at: number;
58
- updated_at: number;
59
- enabled: number;
60
- archived: number;
61
- _all: number;
62
- };
63
- export type UsersAvgAggregateInputType = {
64
- id?: true;
65
- lead_user_id?: true;
66
- };
67
- export type UsersSumAggregateInputType = {
68
- id?: true;
69
- lead_user_id?: true;
70
- };
71
- export type UsersMinAggregateInputType = {
72
- id?: true;
73
- uuid?: true;
74
- username?: true;
75
- title?: true;
76
- api_key?: true;
77
- lead_user_id?: true;
78
- config?: true;
79
- created_at?: true;
80
- updated_at?: true;
81
- enabled?: true;
82
- archived?: true;
83
- };
84
- export type UsersMaxAggregateInputType = {
85
- id?: true;
86
- uuid?: true;
87
- username?: true;
88
- title?: true;
89
- api_key?: true;
90
- lead_user_id?: true;
91
- config?: true;
92
- created_at?: true;
93
- updated_at?: true;
94
- enabled?: true;
95
- archived?: true;
96
- };
97
- export type UsersCountAggregateInputType = {
98
- id?: true;
99
- uuid?: true;
100
- username?: true;
101
- title?: true;
102
- api_key?: true;
103
- lead_user_id?: true;
104
- config?: true;
105
- created_at?: true;
106
- updated_at?: true;
107
- enabled?: true;
108
- archived?: true;
109
- _all?: true;
110
- };
111
- export type UsersAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
112
- /**
113
- * Filter which users to aggregate.
114
- */
115
- where?: Prisma.usersWhereInput;
116
- /**
117
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
118
- *
119
- * Determine the order of users to fetch.
120
- */
121
- orderBy?: Prisma.usersOrderByWithRelationInput | Prisma.usersOrderByWithRelationInput[];
122
- /**
123
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
124
- *
125
- * Sets the start position
126
- */
127
- cursor?: Prisma.usersWhereUniqueInput;
128
- /**
129
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
130
- *
131
- * Take `±n` users from the position of the cursor.
132
- */
133
- take?: number;
134
- /**
135
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
136
- *
137
- * Skip the first `n` users.
138
- */
139
- skip?: number;
140
- /**
141
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
142
- *
143
- * Count returned users
144
- **/
145
- _count?: true | UsersCountAggregateInputType;
146
- /**
147
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
148
- *
149
- * Select which fields to average
150
- **/
151
- _avg?: UsersAvgAggregateInputType;
152
- /**
153
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
154
- *
155
- * Select which fields to sum
156
- **/
157
- _sum?: UsersSumAggregateInputType;
158
- /**
159
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
160
- *
161
- * Select which fields to find the minimum value
162
- **/
163
- _min?: UsersMinAggregateInputType;
164
- /**
165
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
166
- *
167
- * Select which fields to find the maximum value
168
- **/
169
- _max?: UsersMaxAggregateInputType;
170
- };
171
- export type GetUsersAggregateType<T extends UsersAggregateArgs> = {
172
- [P in keyof T & keyof AggregateUsers]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateUsers[P]> : Prisma.GetScalarType<T[P], AggregateUsers[P]>;
173
- };
174
- export type usersGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
175
- where?: Prisma.usersWhereInput;
176
- orderBy?: Prisma.usersOrderByWithAggregationInput | Prisma.usersOrderByWithAggregationInput[];
177
- by: Prisma.UsersScalarFieldEnum[] | Prisma.UsersScalarFieldEnum;
178
- having?: Prisma.usersScalarWhereWithAggregatesInput;
179
- take?: number;
180
- skip?: number;
181
- _count?: UsersCountAggregateInputType | true;
182
- _avg?: UsersAvgAggregateInputType;
183
- _sum?: UsersSumAggregateInputType;
184
- _min?: UsersMinAggregateInputType;
185
- _max?: UsersMaxAggregateInputType;
186
- };
187
- export type UsersGroupByOutputType = {
188
- id: number;
189
- uuid: string;
190
- username: string;
191
- title: string;
192
- api_key: string;
193
- lead_user_id: number | null;
194
- config: string;
195
- created_at: Date;
196
- updated_at: Date;
197
- enabled: boolean;
198
- archived: boolean;
199
- _count: UsersCountAggregateOutputType | null;
200
- _avg: UsersAvgAggregateOutputType | null;
201
- _sum: UsersSumAggregateOutputType | null;
202
- _min: UsersMinAggregateOutputType | null;
203
- _max: UsersMaxAggregateOutputType | null;
204
- };
205
- export type GetUsersGroupByPayload<T extends usersGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<UsersGroupByOutputType, T['by']> & {
206
- [P in ((keyof T) & (keyof UsersGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], UsersGroupByOutputType[P]> : Prisma.GetScalarType<T[P], UsersGroupByOutputType[P]>;
207
- }>>;
208
- export type usersWhereInput = {
209
- AND?: Prisma.usersWhereInput | Prisma.usersWhereInput[];
210
- OR?: Prisma.usersWhereInput[];
211
- NOT?: Prisma.usersWhereInput | Prisma.usersWhereInput[];
212
- id?: Prisma.IntFilter<"users"> | number;
213
- uuid?: Prisma.StringFilter<"users"> | string;
214
- username?: Prisma.StringFilter<"users"> | string;
215
- title?: Prisma.StringFilter<"users"> | string;
216
- api_key?: Prisma.StringFilter<"users"> | string;
217
- lead_user_id?: Prisma.IntNullableFilter<"users"> | number | null;
218
- config?: Prisma.StringFilter<"users"> | string;
219
- created_at?: Prisma.DateTimeFilter<"users"> | Date | string;
220
- updated_at?: Prisma.DateTimeFilter<"users"> | Date | string;
221
- enabled?: Prisma.BoolFilter<"users"> | boolean;
222
- archived?: Prisma.BoolFilter<"users"> | boolean;
223
- lead_user?: Prisma.XOR<Prisma.UsersNullableScalarRelationFilter, Prisma.usersWhereInput> | null;
224
- subagents?: Prisma.UsersListRelationFilter;
225
- mail_messages_sent?: Prisma.Mail_messagesListRelationFilter;
226
- mail_recipients?: Prisma.Mail_recipientsListRelationFilter;
227
- run_sessions?: Prisma.Run_sessionListRelationFilter;
228
- context_logs?: Prisma.Context_logListRelationFilter;
229
- costs?: Prisma.CostsListRelationFilter;
230
- uploaded_attachments?: Prisma.AttachmentsListRelationFilter;
231
- user_notifications?: Prisma.XOR<Prisma.User_notificationsNullableScalarRelationFilter, Prisma.user_notificationsWhereInput> | null;
232
- user_hosts?: Prisma.User_hostsListRelationFilter;
233
- config_revisions?: Prisma.Config_revisionsListRelationFilter;
234
- config_changes_made?: Prisma.Config_revisionsListRelationFilter;
235
- };
236
- export type usersOrderByWithRelationInput = {
237
- id?: Prisma.SortOrder;
238
- uuid?: Prisma.SortOrder;
239
- username?: Prisma.SortOrder;
240
- title?: Prisma.SortOrder;
241
- api_key?: Prisma.SortOrder;
242
- lead_user_id?: Prisma.SortOrderInput | Prisma.SortOrder;
243
- config?: Prisma.SortOrder;
244
- created_at?: Prisma.SortOrder;
245
- updated_at?: Prisma.SortOrder;
246
- enabled?: Prisma.SortOrder;
247
- archived?: Prisma.SortOrder;
248
- lead_user?: Prisma.usersOrderByWithRelationInput;
249
- subagents?: Prisma.usersOrderByRelationAggregateInput;
250
- mail_messages_sent?: Prisma.mail_messagesOrderByRelationAggregateInput;
251
- mail_recipients?: Prisma.mail_recipientsOrderByRelationAggregateInput;
252
- run_sessions?: Prisma.run_sessionOrderByRelationAggregateInput;
253
- context_logs?: Prisma.context_logOrderByRelationAggregateInput;
254
- costs?: Prisma.costsOrderByRelationAggregateInput;
255
- uploaded_attachments?: Prisma.attachmentsOrderByRelationAggregateInput;
256
- user_notifications?: Prisma.user_notificationsOrderByWithRelationInput;
257
- user_hosts?: Prisma.user_hostsOrderByRelationAggregateInput;
258
- config_revisions?: Prisma.config_revisionsOrderByRelationAggregateInput;
259
- config_changes_made?: Prisma.config_revisionsOrderByRelationAggregateInput;
260
- };
261
- export type usersWhereUniqueInput = Prisma.AtLeast<{
262
- id?: number;
263
- uuid?: string;
264
- username?: string;
265
- api_key?: string;
266
- AND?: Prisma.usersWhereInput | Prisma.usersWhereInput[];
267
- OR?: Prisma.usersWhereInput[];
268
- NOT?: Prisma.usersWhereInput | Prisma.usersWhereInput[];
269
- title?: Prisma.StringFilter<"users"> | string;
270
- lead_user_id?: Prisma.IntNullableFilter<"users"> | number | null;
271
- config?: Prisma.StringFilter<"users"> | string;
272
- created_at?: Prisma.DateTimeFilter<"users"> | Date | string;
273
- updated_at?: Prisma.DateTimeFilter<"users"> | Date | string;
274
- enabled?: Prisma.BoolFilter<"users"> | boolean;
275
- archived?: Prisma.BoolFilter<"users"> | boolean;
276
- lead_user?: Prisma.XOR<Prisma.UsersNullableScalarRelationFilter, Prisma.usersWhereInput> | null;
277
- subagents?: Prisma.UsersListRelationFilter;
278
- mail_messages_sent?: Prisma.Mail_messagesListRelationFilter;
279
- mail_recipients?: Prisma.Mail_recipientsListRelationFilter;
280
- run_sessions?: Prisma.Run_sessionListRelationFilter;
281
- context_logs?: Prisma.Context_logListRelationFilter;
282
- costs?: Prisma.CostsListRelationFilter;
283
- uploaded_attachments?: Prisma.AttachmentsListRelationFilter;
284
- user_notifications?: Prisma.XOR<Prisma.User_notificationsNullableScalarRelationFilter, Prisma.user_notificationsWhereInput> | null;
285
- user_hosts?: Prisma.User_hostsListRelationFilter;
286
- config_revisions?: Prisma.Config_revisionsListRelationFilter;
287
- config_changes_made?: Prisma.Config_revisionsListRelationFilter;
288
- }, "id" | "uuid" | "username" | "api_key">;
289
- export type usersOrderByWithAggregationInput = {
290
- id?: Prisma.SortOrder;
291
- uuid?: Prisma.SortOrder;
292
- username?: Prisma.SortOrder;
293
- title?: Prisma.SortOrder;
294
- api_key?: Prisma.SortOrder;
295
- lead_user_id?: Prisma.SortOrderInput | Prisma.SortOrder;
296
- config?: Prisma.SortOrder;
297
- created_at?: Prisma.SortOrder;
298
- updated_at?: Prisma.SortOrder;
299
- enabled?: Prisma.SortOrder;
300
- archived?: Prisma.SortOrder;
301
- _count?: Prisma.usersCountOrderByAggregateInput;
302
- _avg?: Prisma.usersAvgOrderByAggregateInput;
303
- _max?: Prisma.usersMaxOrderByAggregateInput;
304
- _min?: Prisma.usersMinOrderByAggregateInput;
305
- _sum?: Prisma.usersSumOrderByAggregateInput;
306
- };
307
- export type usersScalarWhereWithAggregatesInput = {
308
- AND?: Prisma.usersScalarWhereWithAggregatesInput | Prisma.usersScalarWhereWithAggregatesInput[];
309
- OR?: Prisma.usersScalarWhereWithAggregatesInput[];
310
- NOT?: Prisma.usersScalarWhereWithAggregatesInput | Prisma.usersScalarWhereWithAggregatesInput[];
311
- id?: Prisma.IntWithAggregatesFilter<"users"> | number;
312
- uuid?: Prisma.StringWithAggregatesFilter<"users"> | string;
313
- username?: Prisma.StringWithAggregatesFilter<"users"> | string;
314
- title?: Prisma.StringWithAggregatesFilter<"users"> | string;
315
- api_key?: Prisma.StringWithAggregatesFilter<"users"> | string;
316
- lead_user_id?: Prisma.IntNullableWithAggregatesFilter<"users"> | number | null;
317
- config?: Prisma.StringWithAggregatesFilter<"users"> | string;
318
- created_at?: Prisma.DateTimeWithAggregatesFilter<"users"> | Date | string;
319
- updated_at?: Prisma.DateTimeWithAggregatesFilter<"users"> | Date | string;
320
- enabled?: Prisma.BoolWithAggregatesFilter<"users"> | boolean;
321
- archived?: Prisma.BoolWithAggregatesFilter<"users"> | boolean;
322
- };
323
- export type usersCreateInput = {
324
- uuid: string;
325
- username: string;
326
- title: string;
327
- api_key: string;
328
- config?: string;
329
- created_at?: Date | string;
330
- updated_at?: Date | string;
331
- enabled?: boolean;
332
- archived?: boolean;
333
- lead_user?: Prisma.usersCreateNestedOneWithoutSubagentsInput;
334
- subagents?: Prisma.usersCreateNestedManyWithoutLead_userInput;
335
- mail_messages_sent?: Prisma.mail_messagesCreateNestedManyWithoutFrom_userInput;
336
- mail_recipients?: Prisma.mail_recipientsCreateNestedManyWithoutUserInput;
337
- run_sessions?: Prisma.run_sessionCreateNestedManyWithoutUsersInput;
338
- context_logs?: Prisma.context_logCreateNestedManyWithoutUsersInput;
339
- costs?: Prisma.costsCreateNestedManyWithoutUsersInput;
340
- uploaded_attachments?: Prisma.attachmentsCreateNestedManyWithoutUploaderInput;
341
- user_notifications?: Prisma.user_notificationsCreateNestedOneWithoutUsersInput;
342
- user_hosts?: Prisma.user_hostsCreateNestedManyWithoutUsersInput;
343
- config_revisions?: Prisma.config_revisionsCreateNestedManyWithoutUserInput;
344
- config_changes_made?: Prisma.config_revisionsCreateNestedManyWithoutChanged_byInput;
345
- };
346
- export type usersUncheckedCreateInput = {
347
- id?: number;
348
- uuid: string;
349
- username: string;
350
- title: string;
351
- api_key: string;
352
- lead_user_id?: number | null;
353
- config?: string;
354
- created_at?: Date | string;
355
- updated_at?: Date | string;
356
- enabled?: boolean;
357
- archived?: boolean;
358
- subagents?: Prisma.usersUncheckedCreateNestedManyWithoutLead_userInput;
359
- mail_messages_sent?: Prisma.mail_messagesUncheckedCreateNestedManyWithoutFrom_userInput;
360
- mail_recipients?: Prisma.mail_recipientsUncheckedCreateNestedManyWithoutUserInput;
361
- run_sessions?: Prisma.run_sessionUncheckedCreateNestedManyWithoutUsersInput;
362
- context_logs?: Prisma.context_logUncheckedCreateNestedManyWithoutUsersInput;
363
- costs?: Prisma.costsUncheckedCreateNestedManyWithoutUsersInput;
364
- uploaded_attachments?: Prisma.attachmentsUncheckedCreateNestedManyWithoutUploaderInput;
365
- user_notifications?: Prisma.user_notificationsUncheckedCreateNestedOneWithoutUsersInput;
366
- user_hosts?: Prisma.user_hostsUncheckedCreateNestedManyWithoutUsersInput;
367
- config_revisions?: Prisma.config_revisionsUncheckedCreateNestedManyWithoutUserInput;
368
- config_changes_made?: Prisma.config_revisionsUncheckedCreateNestedManyWithoutChanged_byInput;
369
- };
370
- export type usersUpdateInput = {
371
- uuid?: Prisma.StringFieldUpdateOperationsInput | string;
372
- username?: Prisma.StringFieldUpdateOperationsInput | string;
373
- title?: Prisma.StringFieldUpdateOperationsInput | string;
374
- api_key?: Prisma.StringFieldUpdateOperationsInput | string;
375
- config?: Prisma.StringFieldUpdateOperationsInput | string;
376
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
377
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
378
- enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
379
- archived?: Prisma.BoolFieldUpdateOperationsInput | boolean;
380
- lead_user?: Prisma.usersUpdateOneWithoutSubagentsNestedInput;
381
- subagents?: Prisma.usersUpdateManyWithoutLead_userNestedInput;
382
- mail_messages_sent?: Prisma.mail_messagesUpdateManyWithoutFrom_userNestedInput;
383
- mail_recipients?: Prisma.mail_recipientsUpdateManyWithoutUserNestedInput;
384
- run_sessions?: Prisma.run_sessionUpdateManyWithoutUsersNestedInput;
385
- context_logs?: Prisma.context_logUpdateManyWithoutUsersNestedInput;
386
- costs?: Prisma.costsUpdateManyWithoutUsersNestedInput;
387
- uploaded_attachments?: Prisma.attachmentsUpdateManyWithoutUploaderNestedInput;
388
- user_notifications?: Prisma.user_notificationsUpdateOneWithoutUsersNestedInput;
389
- user_hosts?: Prisma.user_hostsUpdateManyWithoutUsersNestedInput;
390
- config_revisions?: Prisma.config_revisionsUpdateManyWithoutUserNestedInput;
391
- config_changes_made?: Prisma.config_revisionsUpdateManyWithoutChanged_byNestedInput;
392
- };
393
- export type usersUncheckedUpdateInput = {
394
- id?: Prisma.IntFieldUpdateOperationsInput | number;
395
- uuid?: Prisma.StringFieldUpdateOperationsInput | string;
396
- username?: Prisma.StringFieldUpdateOperationsInput | string;
397
- title?: Prisma.StringFieldUpdateOperationsInput | string;
398
- api_key?: Prisma.StringFieldUpdateOperationsInput | string;
399
- lead_user_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
400
- config?: Prisma.StringFieldUpdateOperationsInput | string;
401
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
402
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
403
- enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
404
- archived?: Prisma.BoolFieldUpdateOperationsInput | boolean;
405
- subagents?: Prisma.usersUncheckedUpdateManyWithoutLead_userNestedInput;
406
- mail_messages_sent?: Prisma.mail_messagesUncheckedUpdateManyWithoutFrom_userNestedInput;
407
- mail_recipients?: Prisma.mail_recipientsUncheckedUpdateManyWithoutUserNestedInput;
408
- run_sessions?: Prisma.run_sessionUncheckedUpdateManyWithoutUsersNestedInput;
409
- context_logs?: Prisma.context_logUncheckedUpdateManyWithoutUsersNestedInput;
410
- costs?: Prisma.costsUncheckedUpdateManyWithoutUsersNestedInput;
411
- uploaded_attachments?: Prisma.attachmentsUncheckedUpdateManyWithoutUploaderNestedInput;
412
- user_notifications?: Prisma.user_notificationsUncheckedUpdateOneWithoutUsersNestedInput;
413
- user_hosts?: Prisma.user_hostsUncheckedUpdateManyWithoutUsersNestedInput;
414
- config_revisions?: Prisma.config_revisionsUncheckedUpdateManyWithoutUserNestedInput;
415
- config_changes_made?: Prisma.config_revisionsUncheckedUpdateManyWithoutChanged_byNestedInput;
416
- };
417
- export type usersCreateManyInput = {
418
- id?: number;
419
- uuid: string;
420
- username: string;
421
- title: string;
422
- api_key: string;
423
- lead_user_id?: number | null;
424
- config?: string;
425
- created_at?: Date | string;
426
- updated_at?: Date | string;
427
- enabled?: boolean;
428
- archived?: boolean;
429
- };
430
- export type usersUpdateManyMutationInput = {
431
- uuid?: Prisma.StringFieldUpdateOperationsInput | string;
432
- username?: Prisma.StringFieldUpdateOperationsInput | string;
433
- title?: Prisma.StringFieldUpdateOperationsInput | string;
434
- api_key?: Prisma.StringFieldUpdateOperationsInput | string;
435
- config?: Prisma.StringFieldUpdateOperationsInput | string;
436
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
437
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
438
- enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
439
- archived?: Prisma.BoolFieldUpdateOperationsInput | boolean;
440
- };
441
- export type usersUncheckedUpdateManyInput = {
442
- id?: Prisma.IntFieldUpdateOperationsInput | number;
443
- uuid?: Prisma.StringFieldUpdateOperationsInput | string;
444
- username?: Prisma.StringFieldUpdateOperationsInput | string;
445
- title?: Prisma.StringFieldUpdateOperationsInput | string;
446
- api_key?: Prisma.StringFieldUpdateOperationsInput | string;
447
- lead_user_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
448
- config?: Prisma.StringFieldUpdateOperationsInput | string;
449
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
450
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
451
- enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
452
- archived?: Prisma.BoolFieldUpdateOperationsInput | boolean;
453
- };
454
- export type UsersScalarRelationFilter = {
455
- is?: Prisma.usersWhereInput;
456
- isNot?: Prisma.usersWhereInput;
457
- };
458
- export type UsersNullableScalarRelationFilter = {
459
- is?: Prisma.usersWhereInput | null;
460
- isNot?: Prisma.usersWhereInput | null;
461
- };
462
- export type UsersListRelationFilter = {
463
- every?: Prisma.usersWhereInput;
464
- some?: Prisma.usersWhereInput;
465
- none?: Prisma.usersWhereInput;
466
- };
467
- export type usersOrderByRelationAggregateInput = {
468
- _count?: Prisma.SortOrder;
469
- };
470
- export type usersCountOrderByAggregateInput = {
471
- id?: Prisma.SortOrder;
472
- uuid?: Prisma.SortOrder;
473
- username?: Prisma.SortOrder;
474
- title?: Prisma.SortOrder;
475
- api_key?: Prisma.SortOrder;
476
- lead_user_id?: Prisma.SortOrder;
477
- config?: Prisma.SortOrder;
478
- created_at?: Prisma.SortOrder;
479
- updated_at?: Prisma.SortOrder;
480
- enabled?: Prisma.SortOrder;
481
- archived?: Prisma.SortOrder;
482
- };
483
- export type usersAvgOrderByAggregateInput = {
484
- id?: Prisma.SortOrder;
485
- lead_user_id?: Prisma.SortOrder;
486
- };
487
- export type usersMaxOrderByAggregateInput = {
488
- id?: Prisma.SortOrder;
489
- uuid?: Prisma.SortOrder;
490
- username?: Prisma.SortOrder;
491
- title?: Prisma.SortOrder;
492
- api_key?: Prisma.SortOrder;
493
- lead_user_id?: Prisma.SortOrder;
494
- config?: Prisma.SortOrder;
495
- created_at?: Prisma.SortOrder;
496
- updated_at?: Prisma.SortOrder;
497
- enabled?: Prisma.SortOrder;
498
- archived?: Prisma.SortOrder;
499
- };
500
- export type usersMinOrderByAggregateInput = {
501
- id?: Prisma.SortOrder;
502
- uuid?: Prisma.SortOrder;
503
- username?: Prisma.SortOrder;
504
- title?: Prisma.SortOrder;
505
- api_key?: Prisma.SortOrder;
506
- lead_user_id?: Prisma.SortOrder;
507
- config?: Prisma.SortOrder;
508
- created_at?: Prisma.SortOrder;
509
- updated_at?: Prisma.SortOrder;
510
- enabled?: Prisma.SortOrder;
511
- archived?: Prisma.SortOrder;
512
- };
513
- export type usersSumOrderByAggregateInput = {
514
- id?: Prisma.SortOrder;
515
- lead_user_id?: Prisma.SortOrder;
516
- };
517
- export type usersCreateNestedOneWithoutContext_logsInput = {
518
- create?: Prisma.XOR<Prisma.usersCreateWithoutContext_logsInput, Prisma.usersUncheckedCreateWithoutContext_logsInput>;
519
- connectOrCreate?: Prisma.usersCreateOrConnectWithoutContext_logsInput;
520
- connect?: Prisma.usersWhereUniqueInput;
521
- };
522
- export type usersUpdateOneRequiredWithoutContext_logsNestedInput = {
523
- create?: Prisma.XOR<Prisma.usersCreateWithoutContext_logsInput, Prisma.usersUncheckedCreateWithoutContext_logsInput>;
524
- connectOrCreate?: Prisma.usersCreateOrConnectWithoutContext_logsInput;
525
- upsert?: Prisma.usersUpsertWithoutContext_logsInput;
526
- connect?: Prisma.usersWhereUniqueInput;
527
- update?: Prisma.XOR<Prisma.XOR<Prisma.usersUpdateToOneWithWhereWithoutContext_logsInput, Prisma.usersUpdateWithoutContext_logsInput>, Prisma.usersUncheckedUpdateWithoutContext_logsInput>;
528
- };
529
- export type usersCreateNestedOneWithoutCostsInput = {
530
- create?: Prisma.XOR<Prisma.usersCreateWithoutCostsInput, Prisma.usersUncheckedCreateWithoutCostsInput>;
531
- connectOrCreate?: Prisma.usersCreateOrConnectWithoutCostsInput;
532
- connect?: Prisma.usersWhereUniqueInput;
533
- };
534
- export type usersUpdateOneRequiredWithoutCostsNestedInput = {
535
- create?: Prisma.XOR<Prisma.usersCreateWithoutCostsInput, Prisma.usersUncheckedCreateWithoutCostsInput>;
536
- connectOrCreate?: Prisma.usersCreateOrConnectWithoutCostsInput;
537
- upsert?: Prisma.usersUpsertWithoutCostsInput;
538
- connect?: Prisma.usersWhereUniqueInput;
539
- update?: Prisma.XOR<Prisma.XOR<Prisma.usersUpdateToOneWithWhereWithoutCostsInput, Prisma.usersUpdateWithoutCostsInput>, Prisma.usersUncheckedUpdateWithoutCostsInput>;
540
- };
541
- export type usersCreateNestedOneWithoutMail_messages_sentInput = {
542
- create?: Prisma.XOR<Prisma.usersCreateWithoutMail_messages_sentInput, Prisma.usersUncheckedCreateWithoutMail_messages_sentInput>;
543
- connectOrCreate?: Prisma.usersCreateOrConnectWithoutMail_messages_sentInput;
544
- connect?: Prisma.usersWhereUniqueInput;
545
- };
546
- export type usersUpdateOneRequiredWithoutMail_messages_sentNestedInput = {
547
- create?: Prisma.XOR<Prisma.usersCreateWithoutMail_messages_sentInput, Prisma.usersUncheckedCreateWithoutMail_messages_sentInput>;
548
- connectOrCreate?: Prisma.usersCreateOrConnectWithoutMail_messages_sentInput;
549
- upsert?: Prisma.usersUpsertWithoutMail_messages_sentInput;
550
- connect?: Prisma.usersWhereUniqueInput;
551
- update?: Prisma.XOR<Prisma.XOR<Prisma.usersUpdateToOneWithWhereWithoutMail_messages_sentInput, Prisma.usersUpdateWithoutMail_messages_sentInput>, Prisma.usersUncheckedUpdateWithoutMail_messages_sentInput>;
552
- };
553
- export type usersCreateNestedOneWithoutUploaded_attachmentsInput = {
554
- create?: Prisma.XOR<Prisma.usersCreateWithoutUploaded_attachmentsInput, Prisma.usersUncheckedCreateWithoutUploaded_attachmentsInput>;
555
- connectOrCreate?: Prisma.usersCreateOrConnectWithoutUploaded_attachmentsInput;
556
- connect?: Prisma.usersWhereUniqueInput;
557
- };
558
- export type usersUpdateOneRequiredWithoutUploaded_attachmentsNestedInput = {
559
- create?: Prisma.XOR<Prisma.usersCreateWithoutUploaded_attachmentsInput, Prisma.usersUncheckedCreateWithoutUploaded_attachmentsInput>;
560
- connectOrCreate?: Prisma.usersCreateOrConnectWithoutUploaded_attachmentsInput;
561
- upsert?: Prisma.usersUpsertWithoutUploaded_attachmentsInput;
562
- connect?: Prisma.usersWhereUniqueInput;
563
- update?: Prisma.XOR<Prisma.XOR<Prisma.usersUpdateToOneWithWhereWithoutUploaded_attachmentsInput, Prisma.usersUpdateWithoutUploaded_attachmentsInput>, Prisma.usersUncheckedUpdateWithoutUploaded_attachmentsInput>;
564
- };
565
- export type usersCreateNestedOneWithoutMail_recipientsInput = {
566
- create?: Prisma.XOR<Prisma.usersCreateWithoutMail_recipientsInput, Prisma.usersUncheckedCreateWithoutMail_recipientsInput>;
567
- connectOrCreate?: Prisma.usersCreateOrConnectWithoutMail_recipientsInput;
568
- connect?: Prisma.usersWhereUniqueInput;
569
- };
570
- export type usersUpdateOneRequiredWithoutMail_recipientsNestedInput = {
571
- create?: Prisma.XOR<Prisma.usersCreateWithoutMail_recipientsInput, Prisma.usersUncheckedCreateWithoutMail_recipientsInput>;
572
- connectOrCreate?: Prisma.usersCreateOrConnectWithoutMail_recipientsInput;
573
- upsert?: Prisma.usersUpsertWithoutMail_recipientsInput;
574
- connect?: Prisma.usersWhereUniqueInput;
575
- update?: Prisma.XOR<Prisma.XOR<Prisma.usersUpdateToOneWithWhereWithoutMail_recipientsInput, Prisma.usersUpdateWithoutMail_recipientsInput>, Prisma.usersUncheckedUpdateWithoutMail_recipientsInput>;
576
- };
577
- export type usersCreateNestedOneWithoutSubagentsInput = {
578
- create?: Prisma.XOR<Prisma.usersCreateWithoutSubagentsInput, Prisma.usersUncheckedCreateWithoutSubagentsInput>;
579
- connectOrCreate?: Prisma.usersCreateOrConnectWithoutSubagentsInput;
580
- connect?: Prisma.usersWhereUniqueInput;
581
- };
582
- export type usersCreateNestedManyWithoutLead_userInput = {
583
- create?: Prisma.XOR<Prisma.usersCreateWithoutLead_userInput, Prisma.usersUncheckedCreateWithoutLead_userInput> | Prisma.usersCreateWithoutLead_userInput[] | Prisma.usersUncheckedCreateWithoutLead_userInput[];
584
- connectOrCreate?: Prisma.usersCreateOrConnectWithoutLead_userInput | Prisma.usersCreateOrConnectWithoutLead_userInput[];
585
- createMany?: Prisma.usersCreateManyLead_userInputEnvelope;
586
- connect?: Prisma.usersWhereUniqueInput | Prisma.usersWhereUniqueInput[];
587
- };
588
- export type usersUncheckedCreateNestedManyWithoutLead_userInput = {
589
- create?: Prisma.XOR<Prisma.usersCreateWithoutLead_userInput, Prisma.usersUncheckedCreateWithoutLead_userInput> | Prisma.usersCreateWithoutLead_userInput[] | Prisma.usersUncheckedCreateWithoutLead_userInput[];
590
- connectOrCreate?: Prisma.usersCreateOrConnectWithoutLead_userInput | Prisma.usersCreateOrConnectWithoutLead_userInput[];
591
- createMany?: Prisma.usersCreateManyLead_userInputEnvelope;
592
- connect?: Prisma.usersWhereUniqueInput | Prisma.usersWhereUniqueInput[];
593
- };
594
- export type BoolFieldUpdateOperationsInput = {
595
- set?: boolean;
596
- };
597
- export type usersUpdateOneWithoutSubagentsNestedInput = {
598
- create?: Prisma.XOR<Prisma.usersCreateWithoutSubagentsInput, Prisma.usersUncheckedCreateWithoutSubagentsInput>;
599
- connectOrCreate?: Prisma.usersCreateOrConnectWithoutSubagentsInput;
600
- upsert?: Prisma.usersUpsertWithoutSubagentsInput;
601
- disconnect?: Prisma.usersWhereInput | boolean;
602
- delete?: Prisma.usersWhereInput | boolean;
603
- connect?: Prisma.usersWhereUniqueInput;
604
- update?: Prisma.XOR<Prisma.XOR<Prisma.usersUpdateToOneWithWhereWithoutSubagentsInput, Prisma.usersUpdateWithoutSubagentsInput>, Prisma.usersUncheckedUpdateWithoutSubagentsInput>;
605
- };
606
- export type usersUpdateManyWithoutLead_userNestedInput = {
607
- create?: Prisma.XOR<Prisma.usersCreateWithoutLead_userInput, Prisma.usersUncheckedCreateWithoutLead_userInput> | Prisma.usersCreateWithoutLead_userInput[] | Prisma.usersUncheckedCreateWithoutLead_userInput[];
608
- connectOrCreate?: Prisma.usersCreateOrConnectWithoutLead_userInput | Prisma.usersCreateOrConnectWithoutLead_userInput[];
609
- upsert?: Prisma.usersUpsertWithWhereUniqueWithoutLead_userInput | Prisma.usersUpsertWithWhereUniqueWithoutLead_userInput[];
610
- createMany?: Prisma.usersCreateManyLead_userInputEnvelope;
611
- set?: Prisma.usersWhereUniqueInput | Prisma.usersWhereUniqueInput[];
612
- disconnect?: Prisma.usersWhereUniqueInput | Prisma.usersWhereUniqueInput[];
613
- delete?: Prisma.usersWhereUniqueInput | Prisma.usersWhereUniqueInput[];
614
- connect?: Prisma.usersWhereUniqueInput | Prisma.usersWhereUniqueInput[];
615
- update?: Prisma.usersUpdateWithWhereUniqueWithoutLead_userInput | Prisma.usersUpdateWithWhereUniqueWithoutLead_userInput[];
616
- updateMany?: Prisma.usersUpdateManyWithWhereWithoutLead_userInput | Prisma.usersUpdateManyWithWhereWithoutLead_userInput[];
617
- deleteMany?: Prisma.usersScalarWhereInput | Prisma.usersScalarWhereInput[];
618
- };
619
- export type usersUncheckedUpdateManyWithoutLead_userNestedInput = {
620
- create?: Prisma.XOR<Prisma.usersCreateWithoutLead_userInput, Prisma.usersUncheckedCreateWithoutLead_userInput> | Prisma.usersCreateWithoutLead_userInput[] | Prisma.usersUncheckedCreateWithoutLead_userInput[];
621
- connectOrCreate?: Prisma.usersCreateOrConnectWithoutLead_userInput | Prisma.usersCreateOrConnectWithoutLead_userInput[];
622
- upsert?: Prisma.usersUpsertWithWhereUniqueWithoutLead_userInput | Prisma.usersUpsertWithWhereUniqueWithoutLead_userInput[];
623
- createMany?: Prisma.usersCreateManyLead_userInputEnvelope;
624
- set?: Prisma.usersWhereUniqueInput | Prisma.usersWhereUniqueInput[];
625
- disconnect?: Prisma.usersWhereUniqueInput | Prisma.usersWhereUniqueInput[];
626
- delete?: Prisma.usersWhereUniqueInput | Prisma.usersWhereUniqueInput[];
627
- connect?: Prisma.usersWhereUniqueInput | Prisma.usersWhereUniqueInput[];
628
- update?: Prisma.usersUpdateWithWhereUniqueWithoutLead_userInput | Prisma.usersUpdateWithWhereUniqueWithoutLead_userInput[];
629
- updateMany?: Prisma.usersUpdateManyWithWhereWithoutLead_userInput | Prisma.usersUpdateManyWithWhereWithoutLead_userInput[];
630
- deleteMany?: Prisma.usersScalarWhereInput | Prisma.usersScalarWhereInput[];
631
- };
632
- export type usersCreateNestedOneWithoutUser_notificationsInput = {
633
- create?: Prisma.XOR<Prisma.usersCreateWithoutUser_notificationsInput, Prisma.usersUncheckedCreateWithoutUser_notificationsInput>;
634
- connectOrCreate?: Prisma.usersCreateOrConnectWithoutUser_notificationsInput;
635
- connect?: Prisma.usersWhereUniqueInput;
636
- };
637
- export type usersUpdateOneRequiredWithoutUser_notificationsNestedInput = {
638
- create?: Prisma.XOR<Prisma.usersCreateWithoutUser_notificationsInput, Prisma.usersUncheckedCreateWithoutUser_notificationsInput>;
639
- connectOrCreate?: Prisma.usersCreateOrConnectWithoutUser_notificationsInput;
640
- upsert?: Prisma.usersUpsertWithoutUser_notificationsInput;
641
- connect?: Prisma.usersWhereUniqueInput;
642
- update?: Prisma.XOR<Prisma.XOR<Prisma.usersUpdateToOneWithWhereWithoutUser_notificationsInput, Prisma.usersUpdateWithoutUser_notificationsInput>, Prisma.usersUncheckedUpdateWithoutUser_notificationsInput>;
643
- };
644
- export type usersCreateNestedOneWithoutUser_hostsInput = {
645
- create?: Prisma.XOR<Prisma.usersCreateWithoutUser_hostsInput, Prisma.usersUncheckedCreateWithoutUser_hostsInput>;
646
- connectOrCreate?: Prisma.usersCreateOrConnectWithoutUser_hostsInput;
647
- connect?: Prisma.usersWhereUniqueInput;
648
- };
649
- export type usersUpdateOneRequiredWithoutUser_hostsNestedInput = {
650
- create?: Prisma.XOR<Prisma.usersCreateWithoutUser_hostsInput, Prisma.usersUncheckedCreateWithoutUser_hostsInput>;
651
- connectOrCreate?: Prisma.usersCreateOrConnectWithoutUser_hostsInput;
652
- upsert?: Prisma.usersUpsertWithoutUser_hostsInput;
653
- connect?: Prisma.usersWhereUniqueInput;
654
- update?: Prisma.XOR<Prisma.XOR<Prisma.usersUpdateToOneWithWhereWithoutUser_hostsInput, Prisma.usersUpdateWithoutUser_hostsInput>, Prisma.usersUncheckedUpdateWithoutUser_hostsInput>;
655
- };
656
- export type usersCreateNestedOneWithoutRun_sessionsInput = {
657
- create?: Prisma.XOR<Prisma.usersCreateWithoutRun_sessionsInput, Prisma.usersUncheckedCreateWithoutRun_sessionsInput>;
658
- connectOrCreate?: Prisma.usersCreateOrConnectWithoutRun_sessionsInput;
659
- connect?: Prisma.usersWhereUniqueInput;
660
- };
661
- export type usersUpdateOneRequiredWithoutRun_sessionsNestedInput = {
662
- create?: Prisma.XOR<Prisma.usersCreateWithoutRun_sessionsInput, Prisma.usersUncheckedCreateWithoutRun_sessionsInput>;
663
- connectOrCreate?: Prisma.usersCreateOrConnectWithoutRun_sessionsInput;
664
- upsert?: Prisma.usersUpsertWithoutRun_sessionsInput;
665
- connect?: Prisma.usersWhereUniqueInput;
666
- update?: Prisma.XOR<Prisma.XOR<Prisma.usersUpdateToOneWithWhereWithoutRun_sessionsInput, Prisma.usersUpdateWithoutRun_sessionsInput>, Prisma.usersUncheckedUpdateWithoutRun_sessionsInput>;
667
- };
668
- export type usersCreateNestedOneWithoutConfig_revisionsInput = {
669
- create?: Prisma.XOR<Prisma.usersCreateWithoutConfig_revisionsInput, Prisma.usersUncheckedCreateWithoutConfig_revisionsInput>;
670
- connectOrCreate?: Prisma.usersCreateOrConnectWithoutConfig_revisionsInput;
671
- connect?: Prisma.usersWhereUniqueInput;
672
- };
673
- export type usersCreateNestedOneWithoutConfig_changes_madeInput = {
674
- create?: Prisma.XOR<Prisma.usersCreateWithoutConfig_changes_madeInput, Prisma.usersUncheckedCreateWithoutConfig_changes_madeInput>;
675
- connectOrCreate?: Prisma.usersCreateOrConnectWithoutConfig_changes_madeInput;
676
- connect?: Prisma.usersWhereUniqueInput;
677
- };
678
- export type usersUpdateOneRequiredWithoutConfig_revisionsNestedInput = {
679
- create?: Prisma.XOR<Prisma.usersCreateWithoutConfig_revisionsInput, Prisma.usersUncheckedCreateWithoutConfig_revisionsInput>;
680
- connectOrCreate?: Prisma.usersCreateOrConnectWithoutConfig_revisionsInput;
681
- upsert?: Prisma.usersUpsertWithoutConfig_revisionsInput;
682
- connect?: Prisma.usersWhereUniqueInput;
683
- update?: Prisma.XOR<Prisma.XOR<Prisma.usersUpdateToOneWithWhereWithoutConfig_revisionsInput, Prisma.usersUpdateWithoutConfig_revisionsInput>, Prisma.usersUncheckedUpdateWithoutConfig_revisionsInput>;
684
- };
685
- export type usersUpdateOneRequiredWithoutConfig_changes_madeNestedInput = {
686
- create?: Prisma.XOR<Prisma.usersCreateWithoutConfig_changes_madeInput, Prisma.usersUncheckedCreateWithoutConfig_changes_madeInput>;
687
- connectOrCreate?: Prisma.usersCreateOrConnectWithoutConfig_changes_madeInput;
688
- upsert?: Prisma.usersUpsertWithoutConfig_changes_madeInput;
689
- connect?: Prisma.usersWhereUniqueInput;
690
- update?: Prisma.XOR<Prisma.XOR<Prisma.usersUpdateToOneWithWhereWithoutConfig_changes_madeInput, Prisma.usersUpdateWithoutConfig_changes_madeInput>, Prisma.usersUncheckedUpdateWithoutConfig_changes_madeInput>;
691
- };
692
- export type usersCreateWithoutContext_logsInput = {
693
- uuid: string;
694
- username: string;
695
- title: string;
696
- api_key: string;
697
- config?: string;
698
- created_at?: Date | string;
699
- updated_at?: Date | string;
700
- enabled?: boolean;
701
- archived?: boolean;
702
- lead_user?: Prisma.usersCreateNestedOneWithoutSubagentsInput;
703
- subagents?: Prisma.usersCreateNestedManyWithoutLead_userInput;
704
- mail_messages_sent?: Prisma.mail_messagesCreateNestedManyWithoutFrom_userInput;
705
- mail_recipients?: Prisma.mail_recipientsCreateNestedManyWithoutUserInput;
706
- run_sessions?: Prisma.run_sessionCreateNestedManyWithoutUsersInput;
707
- costs?: Prisma.costsCreateNestedManyWithoutUsersInput;
708
- uploaded_attachments?: Prisma.attachmentsCreateNestedManyWithoutUploaderInput;
709
- user_notifications?: Prisma.user_notificationsCreateNestedOneWithoutUsersInput;
710
- user_hosts?: Prisma.user_hostsCreateNestedManyWithoutUsersInput;
711
- config_revisions?: Prisma.config_revisionsCreateNestedManyWithoutUserInput;
712
- config_changes_made?: Prisma.config_revisionsCreateNestedManyWithoutChanged_byInput;
713
- };
714
- export type usersUncheckedCreateWithoutContext_logsInput = {
715
- id?: number;
716
- uuid: string;
717
- username: string;
718
- title: string;
719
- api_key: string;
720
- lead_user_id?: number | null;
721
- config?: string;
722
- created_at?: Date | string;
723
- updated_at?: Date | string;
724
- enabled?: boolean;
725
- archived?: boolean;
726
- subagents?: Prisma.usersUncheckedCreateNestedManyWithoutLead_userInput;
727
- mail_messages_sent?: Prisma.mail_messagesUncheckedCreateNestedManyWithoutFrom_userInput;
728
- mail_recipients?: Prisma.mail_recipientsUncheckedCreateNestedManyWithoutUserInput;
729
- run_sessions?: Prisma.run_sessionUncheckedCreateNestedManyWithoutUsersInput;
730
- costs?: Prisma.costsUncheckedCreateNestedManyWithoutUsersInput;
731
- uploaded_attachments?: Prisma.attachmentsUncheckedCreateNestedManyWithoutUploaderInput;
732
- user_notifications?: Prisma.user_notificationsUncheckedCreateNestedOneWithoutUsersInput;
733
- user_hosts?: Prisma.user_hostsUncheckedCreateNestedManyWithoutUsersInput;
734
- config_revisions?: Prisma.config_revisionsUncheckedCreateNestedManyWithoutUserInput;
735
- config_changes_made?: Prisma.config_revisionsUncheckedCreateNestedManyWithoutChanged_byInput;
736
- };
737
- export type usersCreateOrConnectWithoutContext_logsInput = {
738
- where: Prisma.usersWhereUniqueInput;
739
- create: Prisma.XOR<Prisma.usersCreateWithoutContext_logsInput, Prisma.usersUncheckedCreateWithoutContext_logsInput>;
740
- };
741
- export type usersUpsertWithoutContext_logsInput = {
742
- update: Prisma.XOR<Prisma.usersUpdateWithoutContext_logsInput, Prisma.usersUncheckedUpdateWithoutContext_logsInput>;
743
- create: Prisma.XOR<Prisma.usersCreateWithoutContext_logsInput, Prisma.usersUncheckedCreateWithoutContext_logsInput>;
744
- where?: Prisma.usersWhereInput;
745
- };
746
- export type usersUpdateToOneWithWhereWithoutContext_logsInput = {
747
- where?: Prisma.usersWhereInput;
748
- data: Prisma.XOR<Prisma.usersUpdateWithoutContext_logsInput, Prisma.usersUncheckedUpdateWithoutContext_logsInput>;
749
- };
750
- export type usersUpdateWithoutContext_logsInput = {
751
- uuid?: Prisma.StringFieldUpdateOperationsInput | string;
752
- username?: Prisma.StringFieldUpdateOperationsInput | string;
753
- title?: Prisma.StringFieldUpdateOperationsInput | string;
754
- api_key?: Prisma.StringFieldUpdateOperationsInput | string;
755
- config?: Prisma.StringFieldUpdateOperationsInput | string;
756
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
757
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
758
- enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
759
- archived?: Prisma.BoolFieldUpdateOperationsInput | boolean;
760
- lead_user?: Prisma.usersUpdateOneWithoutSubagentsNestedInput;
761
- subagents?: Prisma.usersUpdateManyWithoutLead_userNestedInput;
762
- mail_messages_sent?: Prisma.mail_messagesUpdateManyWithoutFrom_userNestedInput;
763
- mail_recipients?: Prisma.mail_recipientsUpdateManyWithoutUserNestedInput;
764
- run_sessions?: Prisma.run_sessionUpdateManyWithoutUsersNestedInput;
765
- costs?: Prisma.costsUpdateManyWithoutUsersNestedInput;
766
- uploaded_attachments?: Prisma.attachmentsUpdateManyWithoutUploaderNestedInput;
767
- user_notifications?: Prisma.user_notificationsUpdateOneWithoutUsersNestedInput;
768
- user_hosts?: Prisma.user_hostsUpdateManyWithoutUsersNestedInput;
769
- config_revisions?: Prisma.config_revisionsUpdateManyWithoutUserNestedInput;
770
- config_changes_made?: Prisma.config_revisionsUpdateManyWithoutChanged_byNestedInput;
771
- };
772
- export type usersUncheckedUpdateWithoutContext_logsInput = {
773
- id?: Prisma.IntFieldUpdateOperationsInput | number;
774
- uuid?: Prisma.StringFieldUpdateOperationsInput | string;
775
- username?: Prisma.StringFieldUpdateOperationsInput | string;
776
- title?: Prisma.StringFieldUpdateOperationsInput | string;
777
- api_key?: Prisma.StringFieldUpdateOperationsInput | string;
778
- lead_user_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
779
- config?: Prisma.StringFieldUpdateOperationsInput | string;
780
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
781
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
782
- enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
783
- archived?: Prisma.BoolFieldUpdateOperationsInput | boolean;
784
- subagents?: Prisma.usersUncheckedUpdateManyWithoutLead_userNestedInput;
785
- mail_messages_sent?: Prisma.mail_messagesUncheckedUpdateManyWithoutFrom_userNestedInput;
786
- mail_recipients?: Prisma.mail_recipientsUncheckedUpdateManyWithoutUserNestedInput;
787
- run_sessions?: Prisma.run_sessionUncheckedUpdateManyWithoutUsersNestedInput;
788
- costs?: Prisma.costsUncheckedUpdateManyWithoutUsersNestedInput;
789
- uploaded_attachments?: Prisma.attachmentsUncheckedUpdateManyWithoutUploaderNestedInput;
790
- user_notifications?: Prisma.user_notificationsUncheckedUpdateOneWithoutUsersNestedInput;
791
- user_hosts?: Prisma.user_hostsUncheckedUpdateManyWithoutUsersNestedInput;
792
- config_revisions?: Prisma.config_revisionsUncheckedUpdateManyWithoutUserNestedInput;
793
- config_changes_made?: Prisma.config_revisionsUncheckedUpdateManyWithoutChanged_byNestedInput;
794
- };
795
- export type usersCreateWithoutCostsInput = {
796
- uuid: string;
797
- username: string;
798
- title: string;
799
- api_key: string;
800
- config?: string;
801
- created_at?: Date | string;
802
- updated_at?: Date | string;
803
- enabled?: boolean;
804
- archived?: boolean;
805
- lead_user?: Prisma.usersCreateNestedOneWithoutSubagentsInput;
806
- subagents?: Prisma.usersCreateNestedManyWithoutLead_userInput;
807
- mail_messages_sent?: Prisma.mail_messagesCreateNestedManyWithoutFrom_userInput;
808
- mail_recipients?: Prisma.mail_recipientsCreateNestedManyWithoutUserInput;
809
- run_sessions?: Prisma.run_sessionCreateNestedManyWithoutUsersInput;
810
- context_logs?: Prisma.context_logCreateNestedManyWithoutUsersInput;
811
- uploaded_attachments?: Prisma.attachmentsCreateNestedManyWithoutUploaderInput;
812
- user_notifications?: Prisma.user_notificationsCreateNestedOneWithoutUsersInput;
813
- user_hosts?: Prisma.user_hostsCreateNestedManyWithoutUsersInput;
814
- config_revisions?: Prisma.config_revisionsCreateNestedManyWithoutUserInput;
815
- config_changes_made?: Prisma.config_revisionsCreateNestedManyWithoutChanged_byInput;
816
- };
817
- export type usersUncheckedCreateWithoutCostsInput = {
818
- id?: number;
819
- uuid: string;
820
- username: string;
821
- title: string;
822
- api_key: string;
823
- lead_user_id?: number | null;
824
- config?: string;
825
- created_at?: Date | string;
826
- updated_at?: Date | string;
827
- enabled?: boolean;
828
- archived?: boolean;
829
- subagents?: Prisma.usersUncheckedCreateNestedManyWithoutLead_userInput;
830
- mail_messages_sent?: Prisma.mail_messagesUncheckedCreateNestedManyWithoutFrom_userInput;
831
- mail_recipients?: Prisma.mail_recipientsUncheckedCreateNestedManyWithoutUserInput;
832
- run_sessions?: Prisma.run_sessionUncheckedCreateNestedManyWithoutUsersInput;
833
- context_logs?: Prisma.context_logUncheckedCreateNestedManyWithoutUsersInput;
834
- uploaded_attachments?: Prisma.attachmentsUncheckedCreateNestedManyWithoutUploaderInput;
835
- user_notifications?: Prisma.user_notificationsUncheckedCreateNestedOneWithoutUsersInput;
836
- user_hosts?: Prisma.user_hostsUncheckedCreateNestedManyWithoutUsersInput;
837
- config_revisions?: Prisma.config_revisionsUncheckedCreateNestedManyWithoutUserInput;
838
- config_changes_made?: Prisma.config_revisionsUncheckedCreateNestedManyWithoutChanged_byInput;
839
- };
840
- export type usersCreateOrConnectWithoutCostsInput = {
841
- where: Prisma.usersWhereUniqueInput;
842
- create: Prisma.XOR<Prisma.usersCreateWithoutCostsInput, Prisma.usersUncheckedCreateWithoutCostsInput>;
843
- };
844
- export type usersUpsertWithoutCostsInput = {
845
- update: Prisma.XOR<Prisma.usersUpdateWithoutCostsInput, Prisma.usersUncheckedUpdateWithoutCostsInput>;
846
- create: Prisma.XOR<Prisma.usersCreateWithoutCostsInput, Prisma.usersUncheckedCreateWithoutCostsInput>;
847
- where?: Prisma.usersWhereInput;
848
- };
849
- export type usersUpdateToOneWithWhereWithoutCostsInput = {
850
- where?: Prisma.usersWhereInput;
851
- data: Prisma.XOR<Prisma.usersUpdateWithoutCostsInput, Prisma.usersUncheckedUpdateWithoutCostsInput>;
852
- };
853
- export type usersUpdateWithoutCostsInput = {
854
- uuid?: Prisma.StringFieldUpdateOperationsInput | string;
855
- username?: Prisma.StringFieldUpdateOperationsInput | string;
856
- title?: Prisma.StringFieldUpdateOperationsInput | string;
857
- api_key?: Prisma.StringFieldUpdateOperationsInput | string;
858
- config?: Prisma.StringFieldUpdateOperationsInput | string;
859
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
860
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
861
- enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
862
- archived?: Prisma.BoolFieldUpdateOperationsInput | boolean;
863
- lead_user?: Prisma.usersUpdateOneWithoutSubagentsNestedInput;
864
- subagents?: Prisma.usersUpdateManyWithoutLead_userNestedInput;
865
- mail_messages_sent?: Prisma.mail_messagesUpdateManyWithoutFrom_userNestedInput;
866
- mail_recipients?: Prisma.mail_recipientsUpdateManyWithoutUserNestedInput;
867
- run_sessions?: Prisma.run_sessionUpdateManyWithoutUsersNestedInput;
868
- context_logs?: Prisma.context_logUpdateManyWithoutUsersNestedInput;
869
- uploaded_attachments?: Prisma.attachmentsUpdateManyWithoutUploaderNestedInput;
870
- user_notifications?: Prisma.user_notificationsUpdateOneWithoutUsersNestedInput;
871
- user_hosts?: Prisma.user_hostsUpdateManyWithoutUsersNestedInput;
872
- config_revisions?: Prisma.config_revisionsUpdateManyWithoutUserNestedInput;
873
- config_changes_made?: Prisma.config_revisionsUpdateManyWithoutChanged_byNestedInput;
874
- };
875
- export type usersUncheckedUpdateWithoutCostsInput = {
876
- id?: Prisma.IntFieldUpdateOperationsInput | number;
877
- uuid?: Prisma.StringFieldUpdateOperationsInput | string;
878
- username?: Prisma.StringFieldUpdateOperationsInput | string;
879
- title?: Prisma.StringFieldUpdateOperationsInput | string;
880
- api_key?: Prisma.StringFieldUpdateOperationsInput | string;
881
- lead_user_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
882
- config?: Prisma.StringFieldUpdateOperationsInput | string;
883
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
884
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
885
- enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
886
- archived?: Prisma.BoolFieldUpdateOperationsInput | boolean;
887
- subagents?: Prisma.usersUncheckedUpdateManyWithoutLead_userNestedInput;
888
- mail_messages_sent?: Prisma.mail_messagesUncheckedUpdateManyWithoutFrom_userNestedInput;
889
- mail_recipients?: Prisma.mail_recipientsUncheckedUpdateManyWithoutUserNestedInput;
890
- run_sessions?: Prisma.run_sessionUncheckedUpdateManyWithoutUsersNestedInput;
891
- context_logs?: Prisma.context_logUncheckedUpdateManyWithoutUsersNestedInput;
892
- uploaded_attachments?: Prisma.attachmentsUncheckedUpdateManyWithoutUploaderNestedInput;
893
- user_notifications?: Prisma.user_notificationsUncheckedUpdateOneWithoutUsersNestedInput;
894
- user_hosts?: Prisma.user_hostsUncheckedUpdateManyWithoutUsersNestedInput;
895
- config_revisions?: Prisma.config_revisionsUncheckedUpdateManyWithoutUserNestedInput;
896
- config_changes_made?: Prisma.config_revisionsUncheckedUpdateManyWithoutChanged_byNestedInput;
897
- };
898
- export type usersCreateWithoutMail_messages_sentInput = {
899
- uuid: string;
900
- username: string;
901
- title: string;
902
- api_key: string;
903
- config?: string;
904
- created_at?: Date | string;
905
- updated_at?: Date | string;
906
- enabled?: boolean;
907
- archived?: boolean;
908
- lead_user?: Prisma.usersCreateNestedOneWithoutSubagentsInput;
909
- subagents?: Prisma.usersCreateNestedManyWithoutLead_userInput;
910
- mail_recipients?: Prisma.mail_recipientsCreateNestedManyWithoutUserInput;
911
- run_sessions?: Prisma.run_sessionCreateNestedManyWithoutUsersInput;
912
- context_logs?: Prisma.context_logCreateNestedManyWithoutUsersInput;
913
- costs?: Prisma.costsCreateNestedManyWithoutUsersInput;
914
- uploaded_attachments?: Prisma.attachmentsCreateNestedManyWithoutUploaderInput;
915
- user_notifications?: Prisma.user_notificationsCreateNestedOneWithoutUsersInput;
916
- user_hosts?: Prisma.user_hostsCreateNestedManyWithoutUsersInput;
917
- config_revisions?: Prisma.config_revisionsCreateNestedManyWithoutUserInput;
918
- config_changes_made?: Prisma.config_revisionsCreateNestedManyWithoutChanged_byInput;
919
- };
920
- export type usersUncheckedCreateWithoutMail_messages_sentInput = {
921
- id?: number;
922
- uuid: string;
923
- username: string;
924
- title: string;
925
- api_key: string;
926
- lead_user_id?: number | null;
927
- config?: string;
928
- created_at?: Date | string;
929
- updated_at?: Date | string;
930
- enabled?: boolean;
931
- archived?: boolean;
932
- subagents?: Prisma.usersUncheckedCreateNestedManyWithoutLead_userInput;
933
- mail_recipients?: Prisma.mail_recipientsUncheckedCreateNestedManyWithoutUserInput;
934
- run_sessions?: Prisma.run_sessionUncheckedCreateNestedManyWithoutUsersInput;
935
- context_logs?: Prisma.context_logUncheckedCreateNestedManyWithoutUsersInput;
936
- costs?: Prisma.costsUncheckedCreateNestedManyWithoutUsersInput;
937
- uploaded_attachments?: Prisma.attachmentsUncheckedCreateNestedManyWithoutUploaderInput;
938
- user_notifications?: Prisma.user_notificationsUncheckedCreateNestedOneWithoutUsersInput;
939
- user_hosts?: Prisma.user_hostsUncheckedCreateNestedManyWithoutUsersInput;
940
- config_revisions?: Prisma.config_revisionsUncheckedCreateNestedManyWithoutUserInput;
941
- config_changes_made?: Prisma.config_revisionsUncheckedCreateNestedManyWithoutChanged_byInput;
942
- };
943
- export type usersCreateOrConnectWithoutMail_messages_sentInput = {
944
- where: Prisma.usersWhereUniqueInput;
945
- create: Prisma.XOR<Prisma.usersCreateWithoutMail_messages_sentInput, Prisma.usersUncheckedCreateWithoutMail_messages_sentInput>;
946
- };
947
- export type usersUpsertWithoutMail_messages_sentInput = {
948
- update: Prisma.XOR<Prisma.usersUpdateWithoutMail_messages_sentInput, Prisma.usersUncheckedUpdateWithoutMail_messages_sentInput>;
949
- create: Prisma.XOR<Prisma.usersCreateWithoutMail_messages_sentInput, Prisma.usersUncheckedCreateWithoutMail_messages_sentInput>;
950
- where?: Prisma.usersWhereInput;
951
- };
952
- export type usersUpdateToOneWithWhereWithoutMail_messages_sentInput = {
953
- where?: Prisma.usersWhereInput;
954
- data: Prisma.XOR<Prisma.usersUpdateWithoutMail_messages_sentInput, Prisma.usersUncheckedUpdateWithoutMail_messages_sentInput>;
955
- };
956
- export type usersUpdateWithoutMail_messages_sentInput = {
957
- uuid?: Prisma.StringFieldUpdateOperationsInput | string;
958
- username?: Prisma.StringFieldUpdateOperationsInput | string;
959
- title?: Prisma.StringFieldUpdateOperationsInput | string;
960
- api_key?: Prisma.StringFieldUpdateOperationsInput | string;
961
- config?: Prisma.StringFieldUpdateOperationsInput | string;
962
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
963
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
964
- enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
965
- archived?: Prisma.BoolFieldUpdateOperationsInput | boolean;
966
- lead_user?: Prisma.usersUpdateOneWithoutSubagentsNestedInput;
967
- subagents?: Prisma.usersUpdateManyWithoutLead_userNestedInput;
968
- mail_recipients?: Prisma.mail_recipientsUpdateManyWithoutUserNestedInput;
969
- run_sessions?: Prisma.run_sessionUpdateManyWithoutUsersNestedInput;
970
- context_logs?: Prisma.context_logUpdateManyWithoutUsersNestedInput;
971
- costs?: Prisma.costsUpdateManyWithoutUsersNestedInput;
972
- uploaded_attachments?: Prisma.attachmentsUpdateManyWithoutUploaderNestedInput;
973
- user_notifications?: Prisma.user_notificationsUpdateOneWithoutUsersNestedInput;
974
- user_hosts?: Prisma.user_hostsUpdateManyWithoutUsersNestedInput;
975
- config_revisions?: Prisma.config_revisionsUpdateManyWithoutUserNestedInput;
976
- config_changes_made?: Prisma.config_revisionsUpdateManyWithoutChanged_byNestedInput;
977
- };
978
- export type usersUncheckedUpdateWithoutMail_messages_sentInput = {
979
- id?: Prisma.IntFieldUpdateOperationsInput | number;
980
- uuid?: Prisma.StringFieldUpdateOperationsInput | string;
981
- username?: Prisma.StringFieldUpdateOperationsInput | string;
982
- title?: Prisma.StringFieldUpdateOperationsInput | string;
983
- api_key?: Prisma.StringFieldUpdateOperationsInput | string;
984
- lead_user_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
985
- config?: Prisma.StringFieldUpdateOperationsInput | string;
986
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
987
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
988
- enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
989
- archived?: Prisma.BoolFieldUpdateOperationsInput | boolean;
990
- subagents?: Prisma.usersUncheckedUpdateManyWithoutLead_userNestedInput;
991
- mail_recipients?: Prisma.mail_recipientsUncheckedUpdateManyWithoutUserNestedInput;
992
- run_sessions?: Prisma.run_sessionUncheckedUpdateManyWithoutUsersNestedInput;
993
- context_logs?: Prisma.context_logUncheckedUpdateManyWithoutUsersNestedInput;
994
- costs?: Prisma.costsUncheckedUpdateManyWithoutUsersNestedInput;
995
- uploaded_attachments?: Prisma.attachmentsUncheckedUpdateManyWithoutUploaderNestedInput;
996
- user_notifications?: Prisma.user_notificationsUncheckedUpdateOneWithoutUsersNestedInput;
997
- user_hosts?: Prisma.user_hostsUncheckedUpdateManyWithoutUsersNestedInput;
998
- config_revisions?: Prisma.config_revisionsUncheckedUpdateManyWithoutUserNestedInput;
999
- config_changes_made?: Prisma.config_revisionsUncheckedUpdateManyWithoutChanged_byNestedInput;
1000
- };
1001
- export type usersCreateWithoutUploaded_attachmentsInput = {
1002
- uuid: string;
1003
- username: string;
1004
- title: string;
1005
- api_key: string;
1006
- config?: string;
1007
- created_at?: Date | string;
1008
- updated_at?: Date | string;
1009
- enabled?: boolean;
1010
- archived?: boolean;
1011
- lead_user?: Prisma.usersCreateNestedOneWithoutSubagentsInput;
1012
- subagents?: Prisma.usersCreateNestedManyWithoutLead_userInput;
1013
- mail_messages_sent?: Prisma.mail_messagesCreateNestedManyWithoutFrom_userInput;
1014
- mail_recipients?: Prisma.mail_recipientsCreateNestedManyWithoutUserInput;
1015
- run_sessions?: Prisma.run_sessionCreateNestedManyWithoutUsersInput;
1016
- context_logs?: Prisma.context_logCreateNestedManyWithoutUsersInput;
1017
- costs?: Prisma.costsCreateNestedManyWithoutUsersInput;
1018
- user_notifications?: Prisma.user_notificationsCreateNestedOneWithoutUsersInput;
1019
- user_hosts?: Prisma.user_hostsCreateNestedManyWithoutUsersInput;
1020
- config_revisions?: Prisma.config_revisionsCreateNestedManyWithoutUserInput;
1021
- config_changes_made?: Prisma.config_revisionsCreateNestedManyWithoutChanged_byInput;
1022
- };
1023
- export type usersUncheckedCreateWithoutUploaded_attachmentsInput = {
1024
- id?: number;
1025
- uuid: string;
1026
- username: string;
1027
- title: string;
1028
- api_key: string;
1029
- lead_user_id?: number | null;
1030
- config?: string;
1031
- created_at?: Date | string;
1032
- updated_at?: Date | string;
1033
- enabled?: boolean;
1034
- archived?: boolean;
1035
- subagents?: Prisma.usersUncheckedCreateNestedManyWithoutLead_userInput;
1036
- mail_messages_sent?: Prisma.mail_messagesUncheckedCreateNestedManyWithoutFrom_userInput;
1037
- mail_recipients?: Prisma.mail_recipientsUncheckedCreateNestedManyWithoutUserInput;
1038
- run_sessions?: Prisma.run_sessionUncheckedCreateNestedManyWithoutUsersInput;
1039
- context_logs?: Prisma.context_logUncheckedCreateNestedManyWithoutUsersInput;
1040
- costs?: Prisma.costsUncheckedCreateNestedManyWithoutUsersInput;
1041
- user_notifications?: Prisma.user_notificationsUncheckedCreateNestedOneWithoutUsersInput;
1042
- user_hosts?: Prisma.user_hostsUncheckedCreateNestedManyWithoutUsersInput;
1043
- config_revisions?: Prisma.config_revisionsUncheckedCreateNestedManyWithoutUserInput;
1044
- config_changes_made?: Prisma.config_revisionsUncheckedCreateNestedManyWithoutChanged_byInput;
1045
- };
1046
- export type usersCreateOrConnectWithoutUploaded_attachmentsInput = {
1047
- where: Prisma.usersWhereUniqueInput;
1048
- create: Prisma.XOR<Prisma.usersCreateWithoutUploaded_attachmentsInput, Prisma.usersUncheckedCreateWithoutUploaded_attachmentsInput>;
1049
- };
1050
- export type usersUpsertWithoutUploaded_attachmentsInput = {
1051
- update: Prisma.XOR<Prisma.usersUpdateWithoutUploaded_attachmentsInput, Prisma.usersUncheckedUpdateWithoutUploaded_attachmentsInput>;
1052
- create: Prisma.XOR<Prisma.usersCreateWithoutUploaded_attachmentsInput, Prisma.usersUncheckedCreateWithoutUploaded_attachmentsInput>;
1053
- where?: Prisma.usersWhereInput;
1054
- };
1055
- export type usersUpdateToOneWithWhereWithoutUploaded_attachmentsInput = {
1056
- where?: Prisma.usersWhereInput;
1057
- data: Prisma.XOR<Prisma.usersUpdateWithoutUploaded_attachmentsInput, Prisma.usersUncheckedUpdateWithoutUploaded_attachmentsInput>;
1058
- };
1059
- export type usersUpdateWithoutUploaded_attachmentsInput = {
1060
- uuid?: Prisma.StringFieldUpdateOperationsInput | string;
1061
- username?: Prisma.StringFieldUpdateOperationsInput | string;
1062
- title?: Prisma.StringFieldUpdateOperationsInput | string;
1063
- api_key?: Prisma.StringFieldUpdateOperationsInput | string;
1064
- config?: Prisma.StringFieldUpdateOperationsInput | string;
1065
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1066
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1067
- enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1068
- archived?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1069
- lead_user?: Prisma.usersUpdateOneWithoutSubagentsNestedInput;
1070
- subagents?: Prisma.usersUpdateManyWithoutLead_userNestedInput;
1071
- mail_messages_sent?: Prisma.mail_messagesUpdateManyWithoutFrom_userNestedInput;
1072
- mail_recipients?: Prisma.mail_recipientsUpdateManyWithoutUserNestedInput;
1073
- run_sessions?: Prisma.run_sessionUpdateManyWithoutUsersNestedInput;
1074
- context_logs?: Prisma.context_logUpdateManyWithoutUsersNestedInput;
1075
- costs?: Prisma.costsUpdateManyWithoutUsersNestedInput;
1076
- user_notifications?: Prisma.user_notificationsUpdateOneWithoutUsersNestedInput;
1077
- user_hosts?: Prisma.user_hostsUpdateManyWithoutUsersNestedInput;
1078
- config_revisions?: Prisma.config_revisionsUpdateManyWithoutUserNestedInput;
1079
- config_changes_made?: Prisma.config_revisionsUpdateManyWithoutChanged_byNestedInput;
1080
- };
1081
- export type usersUncheckedUpdateWithoutUploaded_attachmentsInput = {
1082
- id?: Prisma.IntFieldUpdateOperationsInput | number;
1083
- uuid?: Prisma.StringFieldUpdateOperationsInput | string;
1084
- username?: Prisma.StringFieldUpdateOperationsInput | string;
1085
- title?: Prisma.StringFieldUpdateOperationsInput | string;
1086
- api_key?: Prisma.StringFieldUpdateOperationsInput | string;
1087
- lead_user_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1088
- config?: Prisma.StringFieldUpdateOperationsInput | string;
1089
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1090
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1091
- enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1092
- archived?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1093
- subagents?: Prisma.usersUncheckedUpdateManyWithoutLead_userNestedInput;
1094
- mail_messages_sent?: Prisma.mail_messagesUncheckedUpdateManyWithoutFrom_userNestedInput;
1095
- mail_recipients?: Prisma.mail_recipientsUncheckedUpdateManyWithoutUserNestedInput;
1096
- run_sessions?: Prisma.run_sessionUncheckedUpdateManyWithoutUsersNestedInput;
1097
- context_logs?: Prisma.context_logUncheckedUpdateManyWithoutUsersNestedInput;
1098
- costs?: Prisma.costsUncheckedUpdateManyWithoutUsersNestedInput;
1099
- user_notifications?: Prisma.user_notificationsUncheckedUpdateOneWithoutUsersNestedInput;
1100
- user_hosts?: Prisma.user_hostsUncheckedUpdateManyWithoutUsersNestedInput;
1101
- config_revisions?: Prisma.config_revisionsUncheckedUpdateManyWithoutUserNestedInput;
1102
- config_changes_made?: Prisma.config_revisionsUncheckedUpdateManyWithoutChanged_byNestedInput;
1103
- };
1104
- export type usersCreateWithoutMail_recipientsInput = {
1105
- uuid: string;
1106
- username: string;
1107
- title: string;
1108
- api_key: string;
1109
- config?: string;
1110
- created_at?: Date | string;
1111
- updated_at?: Date | string;
1112
- enabled?: boolean;
1113
- archived?: boolean;
1114
- lead_user?: Prisma.usersCreateNestedOneWithoutSubagentsInput;
1115
- subagents?: Prisma.usersCreateNestedManyWithoutLead_userInput;
1116
- mail_messages_sent?: Prisma.mail_messagesCreateNestedManyWithoutFrom_userInput;
1117
- run_sessions?: Prisma.run_sessionCreateNestedManyWithoutUsersInput;
1118
- context_logs?: Prisma.context_logCreateNestedManyWithoutUsersInput;
1119
- costs?: Prisma.costsCreateNestedManyWithoutUsersInput;
1120
- uploaded_attachments?: Prisma.attachmentsCreateNestedManyWithoutUploaderInput;
1121
- user_notifications?: Prisma.user_notificationsCreateNestedOneWithoutUsersInput;
1122
- user_hosts?: Prisma.user_hostsCreateNestedManyWithoutUsersInput;
1123
- config_revisions?: Prisma.config_revisionsCreateNestedManyWithoutUserInput;
1124
- config_changes_made?: Prisma.config_revisionsCreateNestedManyWithoutChanged_byInput;
1125
- };
1126
- export type usersUncheckedCreateWithoutMail_recipientsInput = {
1127
- id?: number;
1128
- uuid: string;
1129
- username: string;
1130
- title: string;
1131
- api_key: string;
1132
- lead_user_id?: number | null;
1133
- config?: string;
1134
- created_at?: Date | string;
1135
- updated_at?: Date | string;
1136
- enabled?: boolean;
1137
- archived?: boolean;
1138
- subagents?: Prisma.usersUncheckedCreateNestedManyWithoutLead_userInput;
1139
- mail_messages_sent?: Prisma.mail_messagesUncheckedCreateNestedManyWithoutFrom_userInput;
1140
- run_sessions?: Prisma.run_sessionUncheckedCreateNestedManyWithoutUsersInput;
1141
- context_logs?: Prisma.context_logUncheckedCreateNestedManyWithoutUsersInput;
1142
- costs?: Prisma.costsUncheckedCreateNestedManyWithoutUsersInput;
1143
- uploaded_attachments?: Prisma.attachmentsUncheckedCreateNestedManyWithoutUploaderInput;
1144
- user_notifications?: Prisma.user_notificationsUncheckedCreateNestedOneWithoutUsersInput;
1145
- user_hosts?: Prisma.user_hostsUncheckedCreateNestedManyWithoutUsersInput;
1146
- config_revisions?: Prisma.config_revisionsUncheckedCreateNestedManyWithoutUserInput;
1147
- config_changes_made?: Prisma.config_revisionsUncheckedCreateNestedManyWithoutChanged_byInput;
1148
- };
1149
- export type usersCreateOrConnectWithoutMail_recipientsInput = {
1150
- where: Prisma.usersWhereUniqueInput;
1151
- create: Prisma.XOR<Prisma.usersCreateWithoutMail_recipientsInput, Prisma.usersUncheckedCreateWithoutMail_recipientsInput>;
1152
- };
1153
- export type usersUpsertWithoutMail_recipientsInput = {
1154
- update: Prisma.XOR<Prisma.usersUpdateWithoutMail_recipientsInput, Prisma.usersUncheckedUpdateWithoutMail_recipientsInput>;
1155
- create: Prisma.XOR<Prisma.usersCreateWithoutMail_recipientsInput, Prisma.usersUncheckedCreateWithoutMail_recipientsInput>;
1156
- where?: Prisma.usersWhereInput;
1157
- };
1158
- export type usersUpdateToOneWithWhereWithoutMail_recipientsInput = {
1159
- where?: Prisma.usersWhereInput;
1160
- data: Prisma.XOR<Prisma.usersUpdateWithoutMail_recipientsInput, Prisma.usersUncheckedUpdateWithoutMail_recipientsInput>;
1161
- };
1162
- export type usersUpdateWithoutMail_recipientsInput = {
1163
- uuid?: Prisma.StringFieldUpdateOperationsInput | string;
1164
- username?: Prisma.StringFieldUpdateOperationsInput | string;
1165
- title?: Prisma.StringFieldUpdateOperationsInput | string;
1166
- api_key?: Prisma.StringFieldUpdateOperationsInput | string;
1167
- config?: Prisma.StringFieldUpdateOperationsInput | string;
1168
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1169
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1170
- enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1171
- archived?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1172
- lead_user?: Prisma.usersUpdateOneWithoutSubagentsNestedInput;
1173
- subagents?: Prisma.usersUpdateManyWithoutLead_userNestedInput;
1174
- mail_messages_sent?: Prisma.mail_messagesUpdateManyWithoutFrom_userNestedInput;
1175
- run_sessions?: Prisma.run_sessionUpdateManyWithoutUsersNestedInput;
1176
- context_logs?: Prisma.context_logUpdateManyWithoutUsersNestedInput;
1177
- costs?: Prisma.costsUpdateManyWithoutUsersNestedInput;
1178
- uploaded_attachments?: Prisma.attachmentsUpdateManyWithoutUploaderNestedInput;
1179
- user_notifications?: Prisma.user_notificationsUpdateOneWithoutUsersNestedInput;
1180
- user_hosts?: Prisma.user_hostsUpdateManyWithoutUsersNestedInput;
1181
- config_revisions?: Prisma.config_revisionsUpdateManyWithoutUserNestedInput;
1182
- config_changes_made?: Prisma.config_revisionsUpdateManyWithoutChanged_byNestedInput;
1183
- };
1184
- export type usersUncheckedUpdateWithoutMail_recipientsInput = {
1185
- id?: Prisma.IntFieldUpdateOperationsInput | number;
1186
- uuid?: Prisma.StringFieldUpdateOperationsInput | string;
1187
- username?: Prisma.StringFieldUpdateOperationsInput | string;
1188
- title?: Prisma.StringFieldUpdateOperationsInput | string;
1189
- api_key?: Prisma.StringFieldUpdateOperationsInput | string;
1190
- lead_user_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1191
- config?: Prisma.StringFieldUpdateOperationsInput | string;
1192
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1193
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1194
- enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1195
- archived?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1196
- subagents?: Prisma.usersUncheckedUpdateManyWithoutLead_userNestedInput;
1197
- mail_messages_sent?: Prisma.mail_messagesUncheckedUpdateManyWithoutFrom_userNestedInput;
1198
- run_sessions?: Prisma.run_sessionUncheckedUpdateManyWithoutUsersNestedInput;
1199
- context_logs?: Prisma.context_logUncheckedUpdateManyWithoutUsersNestedInput;
1200
- costs?: Prisma.costsUncheckedUpdateManyWithoutUsersNestedInput;
1201
- uploaded_attachments?: Prisma.attachmentsUncheckedUpdateManyWithoutUploaderNestedInput;
1202
- user_notifications?: Prisma.user_notificationsUncheckedUpdateOneWithoutUsersNestedInput;
1203
- user_hosts?: Prisma.user_hostsUncheckedUpdateManyWithoutUsersNestedInput;
1204
- config_revisions?: Prisma.config_revisionsUncheckedUpdateManyWithoutUserNestedInput;
1205
- config_changes_made?: Prisma.config_revisionsUncheckedUpdateManyWithoutChanged_byNestedInput;
1206
- };
1207
- export type usersCreateWithoutSubagentsInput = {
1208
- uuid: string;
1209
- username: string;
1210
- title: string;
1211
- api_key: string;
1212
- config?: string;
1213
- created_at?: Date | string;
1214
- updated_at?: Date | string;
1215
- enabled?: boolean;
1216
- archived?: boolean;
1217
- lead_user?: Prisma.usersCreateNestedOneWithoutSubagentsInput;
1218
- mail_messages_sent?: Prisma.mail_messagesCreateNestedManyWithoutFrom_userInput;
1219
- mail_recipients?: Prisma.mail_recipientsCreateNestedManyWithoutUserInput;
1220
- run_sessions?: Prisma.run_sessionCreateNestedManyWithoutUsersInput;
1221
- context_logs?: Prisma.context_logCreateNestedManyWithoutUsersInput;
1222
- costs?: Prisma.costsCreateNestedManyWithoutUsersInput;
1223
- uploaded_attachments?: Prisma.attachmentsCreateNestedManyWithoutUploaderInput;
1224
- user_notifications?: Prisma.user_notificationsCreateNestedOneWithoutUsersInput;
1225
- user_hosts?: Prisma.user_hostsCreateNestedManyWithoutUsersInput;
1226
- config_revisions?: Prisma.config_revisionsCreateNestedManyWithoutUserInput;
1227
- config_changes_made?: Prisma.config_revisionsCreateNestedManyWithoutChanged_byInput;
1228
- };
1229
- export type usersUncheckedCreateWithoutSubagentsInput = {
1230
- id?: number;
1231
- uuid: string;
1232
- username: string;
1233
- title: string;
1234
- api_key: string;
1235
- lead_user_id?: number | null;
1236
- config?: string;
1237
- created_at?: Date | string;
1238
- updated_at?: Date | string;
1239
- enabled?: boolean;
1240
- archived?: boolean;
1241
- mail_messages_sent?: Prisma.mail_messagesUncheckedCreateNestedManyWithoutFrom_userInput;
1242
- mail_recipients?: Prisma.mail_recipientsUncheckedCreateNestedManyWithoutUserInput;
1243
- run_sessions?: Prisma.run_sessionUncheckedCreateNestedManyWithoutUsersInput;
1244
- context_logs?: Prisma.context_logUncheckedCreateNestedManyWithoutUsersInput;
1245
- costs?: Prisma.costsUncheckedCreateNestedManyWithoutUsersInput;
1246
- uploaded_attachments?: Prisma.attachmentsUncheckedCreateNestedManyWithoutUploaderInput;
1247
- user_notifications?: Prisma.user_notificationsUncheckedCreateNestedOneWithoutUsersInput;
1248
- user_hosts?: Prisma.user_hostsUncheckedCreateNestedManyWithoutUsersInput;
1249
- config_revisions?: Prisma.config_revisionsUncheckedCreateNestedManyWithoutUserInput;
1250
- config_changes_made?: Prisma.config_revisionsUncheckedCreateNestedManyWithoutChanged_byInput;
1251
- };
1252
- export type usersCreateOrConnectWithoutSubagentsInput = {
1253
- where: Prisma.usersWhereUniqueInput;
1254
- create: Prisma.XOR<Prisma.usersCreateWithoutSubagentsInput, Prisma.usersUncheckedCreateWithoutSubagentsInput>;
1255
- };
1256
- export type usersCreateWithoutLead_userInput = {
1257
- uuid: string;
1258
- username: string;
1259
- title: string;
1260
- api_key: string;
1261
- config?: string;
1262
- created_at?: Date | string;
1263
- updated_at?: Date | string;
1264
- enabled?: boolean;
1265
- archived?: boolean;
1266
- subagents?: Prisma.usersCreateNestedManyWithoutLead_userInput;
1267
- mail_messages_sent?: Prisma.mail_messagesCreateNestedManyWithoutFrom_userInput;
1268
- mail_recipients?: Prisma.mail_recipientsCreateNestedManyWithoutUserInput;
1269
- run_sessions?: Prisma.run_sessionCreateNestedManyWithoutUsersInput;
1270
- context_logs?: Prisma.context_logCreateNestedManyWithoutUsersInput;
1271
- costs?: Prisma.costsCreateNestedManyWithoutUsersInput;
1272
- uploaded_attachments?: Prisma.attachmentsCreateNestedManyWithoutUploaderInput;
1273
- user_notifications?: Prisma.user_notificationsCreateNestedOneWithoutUsersInput;
1274
- user_hosts?: Prisma.user_hostsCreateNestedManyWithoutUsersInput;
1275
- config_revisions?: Prisma.config_revisionsCreateNestedManyWithoutUserInput;
1276
- config_changes_made?: Prisma.config_revisionsCreateNestedManyWithoutChanged_byInput;
1277
- };
1278
- export type usersUncheckedCreateWithoutLead_userInput = {
1279
- id?: number;
1280
- uuid: string;
1281
- username: string;
1282
- title: string;
1283
- api_key: string;
1284
- config?: string;
1285
- created_at?: Date | string;
1286
- updated_at?: Date | string;
1287
- enabled?: boolean;
1288
- archived?: boolean;
1289
- subagents?: Prisma.usersUncheckedCreateNestedManyWithoutLead_userInput;
1290
- mail_messages_sent?: Prisma.mail_messagesUncheckedCreateNestedManyWithoutFrom_userInput;
1291
- mail_recipients?: Prisma.mail_recipientsUncheckedCreateNestedManyWithoutUserInput;
1292
- run_sessions?: Prisma.run_sessionUncheckedCreateNestedManyWithoutUsersInput;
1293
- context_logs?: Prisma.context_logUncheckedCreateNestedManyWithoutUsersInput;
1294
- costs?: Prisma.costsUncheckedCreateNestedManyWithoutUsersInput;
1295
- uploaded_attachments?: Prisma.attachmentsUncheckedCreateNestedManyWithoutUploaderInput;
1296
- user_notifications?: Prisma.user_notificationsUncheckedCreateNestedOneWithoutUsersInput;
1297
- user_hosts?: Prisma.user_hostsUncheckedCreateNestedManyWithoutUsersInput;
1298
- config_revisions?: Prisma.config_revisionsUncheckedCreateNestedManyWithoutUserInput;
1299
- config_changes_made?: Prisma.config_revisionsUncheckedCreateNestedManyWithoutChanged_byInput;
1300
- };
1301
- export type usersCreateOrConnectWithoutLead_userInput = {
1302
- where: Prisma.usersWhereUniqueInput;
1303
- create: Prisma.XOR<Prisma.usersCreateWithoutLead_userInput, Prisma.usersUncheckedCreateWithoutLead_userInput>;
1304
- };
1305
- export type usersCreateManyLead_userInputEnvelope = {
1306
- data: Prisma.usersCreateManyLead_userInput | Prisma.usersCreateManyLead_userInput[];
1307
- };
1308
- export type usersUpsertWithoutSubagentsInput = {
1309
- update: Prisma.XOR<Prisma.usersUpdateWithoutSubagentsInput, Prisma.usersUncheckedUpdateWithoutSubagentsInput>;
1310
- create: Prisma.XOR<Prisma.usersCreateWithoutSubagentsInput, Prisma.usersUncheckedCreateWithoutSubagentsInput>;
1311
- where?: Prisma.usersWhereInput;
1312
- };
1313
- export type usersUpdateToOneWithWhereWithoutSubagentsInput = {
1314
- where?: Prisma.usersWhereInput;
1315
- data: Prisma.XOR<Prisma.usersUpdateWithoutSubagentsInput, Prisma.usersUncheckedUpdateWithoutSubagentsInput>;
1316
- };
1317
- export type usersUpdateWithoutSubagentsInput = {
1318
- uuid?: Prisma.StringFieldUpdateOperationsInput | string;
1319
- username?: Prisma.StringFieldUpdateOperationsInput | string;
1320
- title?: Prisma.StringFieldUpdateOperationsInput | string;
1321
- api_key?: Prisma.StringFieldUpdateOperationsInput | string;
1322
- config?: Prisma.StringFieldUpdateOperationsInput | string;
1323
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1324
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1325
- enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1326
- archived?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1327
- lead_user?: Prisma.usersUpdateOneWithoutSubagentsNestedInput;
1328
- mail_messages_sent?: Prisma.mail_messagesUpdateManyWithoutFrom_userNestedInput;
1329
- mail_recipients?: Prisma.mail_recipientsUpdateManyWithoutUserNestedInput;
1330
- run_sessions?: Prisma.run_sessionUpdateManyWithoutUsersNestedInput;
1331
- context_logs?: Prisma.context_logUpdateManyWithoutUsersNestedInput;
1332
- costs?: Prisma.costsUpdateManyWithoutUsersNestedInput;
1333
- uploaded_attachments?: Prisma.attachmentsUpdateManyWithoutUploaderNestedInput;
1334
- user_notifications?: Prisma.user_notificationsUpdateOneWithoutUsersNestedInput;
1335
- user_hosts?: Prisma.user_hostsUpdateManyWithoutUsersNestedInput;
1336
- config_revisions?: Prisma.config_revisionsUpdateManyWithoutUserNestedInput;
1337
- config_changes_made?: Prisma.config_revisionsUpdateManyWithoutChanged_byNestedInput;
1338
- };
1339
- export type usersUncheckedUpdateWithoutSubagentsInput = {
1340
- id?: Prisma.IntFieldUpdateOperationsInput | number;
1341
- uuid?: Prisma.StringFieldUpdateOperationsInput | string;
1342
- username?: Prisma.StringFieldUpdateOperationsInput | string;
1343
- title?: Prisma.StringFieldUpdateOperationsInput | string;
1344
- api_key?: Prisma.StringFieldUpdateOperationsInput | string;
1345
- lead_user_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1346
- config?: Prisma.StringFieldUpdateOperationsInput | string;
1347
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1348
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1349
- enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1350
- archived?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1351
- mail_messages_sent?: Prisma.mail_messagesUncheckedUpdateManyWithoutFrom_userNestedInput;
1352
- mail_recipients?: Prisma.mail_recipientsUncheckedUpdateManyWithoutUserNestedInput;
1353
- run_sessions?: Prisma.run_sessionUncheckedUpdateManyWithoutUsersNestedInput;
1354
- context_logs?: Prisma.context_logUncheckedUpdateManyWithoutUsersNestedInput;
1355
- costs?: Prisma.costsUncheckedUpdateManyWithoutUsersNestedInput;
1356
- uploaded_attachments?: Prisma.attachmentsUncheckedUpdateManyWithoutUploaderNestedInput;
1357
- user_notifications?: Prisma.user_notificationsUncheckedUpdateOneWithoutUsersNestedInput;
1358
- user_hosts?: Prisma.user_hostsUncheckedUpdateManyWithoutUsersNestedInput;
1359
- config_revisions?: Prisma.config_revisionsUncheckedUpdateManyWithoutUserNestedInput;
1360
- config_changes_made?: Prisma.config_revisionsUncheckedUpdateManyWithoutChanged_byNestedInput;
1361
- };
1362
- export type usersUpsertWithWhereUniqueWithoutLead_userInput = {
1363
- where: Prisma.usersWhereUniqueInput;
1364
- update: Prisma.XOR<Prisma.usersUpdateWithoutLead_userInput, Prisma.usersUncheckedUpdateWithoutLead_userInput>;
1365
- create: Prisma.XOR<Prisma.usersCreateWithoutLead_userInput, Prisma.usersUncheckedCreateWithoutLead_userInput>;
1366
- };
1367
- export type usersUpdateWithWhereUniqueWithoutLead_userInput = {
1368
- where: Prisma.usersWhereUniqueInput;
1369
- data: Prisma.XOR<Prisma.usersUpdateWithoutLead_userInput, Prisma.usersUncheckedUpdateWithoutLead_userInput>;
1370
- };
1371
- export type usersUpdateManyWithWhereWithoutLead_userInput = {
1372
- where: Prisma.usersScalarWhereInput;
1373
- data: Prisma.XOR<Prisma.usersUpdateManyMutationInput, Prisma.usersUncheckedUpdateManyWithoutLead_userInput>;
1374
- };
1375
- export type usersScalarWhereInput = {
1376
- AND?: Prisma.usersScalarWhereInput | Prisma.usersScalarWhereInput[];
1377
- OR?: Prisma.usersScalarWhereInput[];
1378
- NOT?: Prisma.usersScalarWhereInput | Prisma.usersScalarWhereInput[];
1379
- id?: Prisma.IntFilter<"users"> | number;
1380
- uuid?: Prisma.StringFilter<"users"> | string;
1381
- username?: Prisma.StringFilter<"users"> | string;
1382
- title?: Prisma.StringFilter<"users"> | string;
1383
- api_key?: Prisma.StringFilter<"users"> | string;
1384
- lead_user_id?: Prisma.IntNullableFilter<"users"> | number | null;
1385
- config?: Prisma.StringFilter<"users"> | string;
1386
- created_at?: Prisma.DateTimeFilter<"users"> | Date | string;
1387
- updated_at?: Prisma.DateTimeFilter<"users"> | Date | string;
1388
- enabled?: Prisma.BoolFilter<"users"> | boolean;
1389
- archived?: Prisma.BoolFilter<"users"> | boolean;
1390
- };
1391
- export type usersCreateWithoutUser_notificationsInput = {
1392
- uuid: string;
1393
- username: string;
1394
- title: string;
1395
- api_key: string;
1396
- config?: string;
1397
- created_at?: Date | string;
1398
- updated_at?: Date | string;
1399
- enabled?: boolean;
1400
- archived?: boolean;
1401
- lead_user?: Prisma.usersCreateNestedOneWithoutSubagentsInput;
1402
- subagents?: Prisma.usersCreateNestedManyWithoutLead_userInput;
1403
- mail_messages_sent?: Prisma.mail_messagesCreateNestedManyWithoutFrom_userInput;
1404
- mail_recipients?: Prisma.mail_recipientsCreateNestedManyWithoutUserInput;
1405
- run_sessions?: Prisma.run_sessionCreateNestedManyWithoutUsersInput;
1406
- context_logs?: Prisma.context_logCreateNestedManyWithoutUsersInput;
1407
- costs?: Prisma.costsCreateNestedManyWithoutUsersInput;
1408
- uploaded_attachments?: Prisma.attachmentsCreateNestedManyWithoutUploaderInput;
1409
- user_hosts?: Prisma.user_hostsCreateNestedManyWithoutUsersInput;
1410
- config_revisions?: Prisma.config_revisionsCreateNestedManyWithoutUserInput;
1411
- config_changes_made?: Prisma.config_revisionsCreateNestedManyWithoutChanged_byInput;
1412
- };
1413
- export type usersUncheckedCreateWithoutUser_notificationsInput = {
1414
- id?: number;
1415
- uuid: string;
1416
- username: string;
1417
- title: string;
1418
- api_key: string;
1419
- lead_user_id?: number | null;
1420
- config?: string;
1421
- created_at?: Date | string;
1422
- updated_at?: Date | string;
1423
- enabled?: boolean;
1424
- archived?: boolean;
1425
- subagents?: Prisma.usersUncheckedCreateNestedManyWithoutLead_userInput;
1426
- mail_messages_sent?: Prisma.mail_messagesUncheckedCreateNestedManyWithoutFrom_userInput;
1427
- mail_recipients?: Prisma.mail_recipientsUncheckedCreateNestedManyWithoutUserInput;
1428
- run_sessions?: Prisma.run_sessionUncheckedCreateNestedManyWithoutUsersInput;
1429
- context_logs?: Prisma.context_logUncheckedCreateNestedManyWithoutUsersInput;
1430
- costs?: Prisma.costsUncheckedCreateNestedManyWithoutUsersInput;
1431
- uploaded_attachments?: Prisma.attachmentsUncheckedCreateNestedManyWithoutUploaderInput;
1432
- user_hosts?: Prisma.user_hostsUncheckedCreateNestedManyWithoutUsersInput;
1433
- config_revisions?: Prisma.config_revisionsUncheckedCreateNestedManyWithoutUserInput;
1434
- config_changes_made?: Prisma.config_revisionsUncheckedCreateNestedManyWithoutChanged_byInput;
1435
- };
1436
- export type usersCreateOrConnectWithoutUser_notificationsInput = {
1437
- where: Prisma.usersWhereUniqueInput;
1438
- create: Prisma.XOR<Prisma.usersCreateWithoutUser_notificationsInput, Prisma.usersUncheckedCreateWithoutUser_notificationsInput>;
1439
- };
1440
- export type usersUpsertWithoutUser_notificationsInput = {
1441
- update: Prisma.XOR<Prisma.usersUpdateWithoutUser_notificationsInput, Prisma.usersUncheckedUpdateWithoutUser_notificationsInput>;
1442
- create: Prisma.XOR<Prisma.usersCreateWithoutUser_notificationsInput, Prisma.usersUncheckedCreateWithoutUser_notificationsInput>;
1443
- where?: Prisma.usersWhereInput;
1444
- };
1445
- export type usersUpdateToOneWithWhereWithoutUser_notificationsInput = {
1446
- where?: Prisma.usersWhereInput;
1447
- data: Prisma.XOR<Prisma.usersUpdateWithoutUser_notificationsInput, Prisma.usersUncheckedUpdateWithoutUser_notificationsInput>;
1448
- };
1449
- export type usersUpdateWithoutUser_notificationsInput = {
1450
- uuid?: Prisma.StringFieldUpdateOperationsInput | string;
1451
- username?: Prisma.StringFieldUpdateOperationsInput | string;
1452
- title?: Prisma.StringFieldUpdateOperationsInput | string;
1453
- api_key?: Prisma.StringFieldUpdateOperationsInput | string;
1454
- config?: Prisma.StringFieldUpdateOperationsInput | string;
1455
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1456
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1457
- enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1458
- archived?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1459
- lead_user?: Prisma.usersUpdateOneWithoutSubagentsNestedInput;
1460
- subagents?: Prisma.usersUpdateManyWithoutLead_userNestedInput;
1461
- mail_messages_sent?: Prisma.mail_messagesUpdateManyWithoutFrom_userNestedInput;
1462
- mail_recipients?: Prisma.mail_recipientsUpdateManyWithoutUserNestedInput;
1463
- run_sessions?: Prisma.run_sessionUpdateManyWithoutUsersNestedInput;
1464
- context_logs?: Prisma.context_logUpdateManyWithoutUsersNestedInput;
1465
- costs?: Prisma.costsUpdateManyWithoutUsersNestedInput;
1466
- uploaded_attachments?: Prisma.attachmentsUpdateManyWithoutUploaderNestedInput;
1467
- user_hosts?: Prisma.user_hostsUpdateManyWithoutUsersNestedInput;
1468
- config_revisions?: Prisma.config_revisionsUpdateManyWithoutUserNestedInput;
1469
- config_changes_made?: Prisma.config_revisionsUpdateManyWithoutChanged_byNestedInput;
1470
- };
1471
- export type usersUncheckedUpdateWithoutUser_notificationsInput = {
1472
- id?: Prisma.IntFieldUpdateOperationsInput | number;
1473
- uuid?: Prisma.StringFieldUpdateOperationsInput | string;
1474
- username?: Prisma.StringFieldUpdateOperationsInput | string;
1475
- title?: Prisma.StringFieldUpdateOperationsInput | string;
1476
- api_key?: Prisma.StringFieldUpdateOperationsInput | string;
1477
- lead_user_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1478
- config?: Prisma.StringFieldUpdateOperationsInput | string;
1479
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1480
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1481
- enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1482
- archived?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1483
- subagents?: Prisma.usersUncheckedUpdateManyWithoutLead_userNestedInput;
1484
- mail_messages_sent?: Prisma.mail_messagesUncheckedUpdateManyWithoutFrom_userNestedInput;
1485
- mail_recipients?: Prisma.mail_recipientsUncheckedUpdateManyWithoutUserNestedInput;
1486
- run_sessions?: Prisma.run_sessionUncheckedUpdateManyWithoutUsersNestedInput;
1487
- context_logs?: Prisma.context_logUncheckedUpdateManyWithoutUsersNestedInput;
1488
- costs?: Prisma.costsUncheckedUpdateManyWithoutUsersNestedInput;
1489
- uploaded_attachments?: Prisma.attachmentsUncheckedUpdateManyWithoutUploaderNestedInput;
1490
- user_hosts?: Prisma.user_hostsUncheckedUpdateManyWithoutUsersNestedInput;
1491
- config_revisions?: Prisma.config_revisionsUncheckedUpdateManyWithoutUserNestedInput;
1492
- config_changes_made?: Prisma.config_revisionsUncheckedUpdateManyWithoutChanged_byNestedInput;
1493
- };
1494
- export type usersCreateWithoutUser_hostsInput = {
1495
- uuid: string;
1496
- username: string;
1497
- title: string;
1498
- api_key: string;
1499
- config?: string;
1500
- created_at?: Date | string;
1501
- updated_at?: Date | string;
1502
- enabled?: boolean;
1503
- archived?: boolean;
1504
- lead_user?: Prisma.usersCreateNestedOneWithoutSubagentsInput;
1505
- subagents?: Prisma.usersCreateNestedManyWithoutLead_userInput;
1506
- mail_messages_sent?: Prisma.mail_messagesCreateNestedManyWithoutFrom_userInput;
1507
- mail_recipients?: Prisma.mail_recipientsCreateNestedManyWithoutUserInput;
1508
- run_sessions?: Prisma.run_sessionCreateNestedManyWithoutUsersInput;
1509
- context_logs?: Prisma.context_logCreateNestedManyWithoutUsersInput;
1510
- costs?: Prisma.costsCreateNestedManyWithoutUsersInput;
1511
- uploaded_attachments?: Prisma.attachmentsCreateNestedManyWithoutUploaderInput;
1512
- user_notifications?: Prisma.user_notificationsCreateNestedOneWithoutUsersInput;
1513
- config_revisions?: Prisma.config_revisionsCreateNestedManyWithoutUserInput;
1514
- config_changes_made?: Prisma.config_revisionsCreateNestedManyWithoutChanged_byInput;
1515
- };
1516
- export type usersUncheckedCreateWithoutUser_hostsInput = {
1517
- id?: number;
1518
- uuid: string;
1519
- username: string;
1520
- title: string;
1521
- api_key: string;
1522
- lead_user_id?: number | null;
1523
- config?: string;
1524
- created_at?: Date | string;
1525
- updated_at?: Date | string;
1526
- enabled?: boolean;
1527
- archived?: boolean;
1528
- subagents?: Prisma.usersUncheckedCreateNestedManyWithoutLead_userInput;
1529
- mail_messages_sent?: Prisma.mail_messagesUncheckedCreateNestedManyWithoutFrom_userInput;
1530
- mail_recipients?: Prisma.mail_recipientsUncheckedCreateNestedManyWithoutUserInput;
1531
- run_sessions?: Prisma.run_sessionUncheckedCreateNestedManyWithoutUsersInput;
1532
- context_logs?: Prisma.context_logUncheckedCreateNestedManyWithoutUsersInput;
1533
- costs?: Prisma.costsUncheckedCreateNestedManyWithoutUsersInput;
1534
- uploaded_attachments?: Prisma.attachmentsUncheckedCreateNestedManyWithoutUploaderInput;
1535
- user_notifications?: Prisma.user_notificationsUncheckedCreateNestedOneWithoutUsersInput;
1536
- config_revisions?: Prisma.config_revisionsUncheckedCreateNestedManyWithoutUserInput;
1537
- config_changes_made?: Prisma.config_revisionsUncheckedCreateNestedManyWithoutChanged_byInput;
1538
- };
1539
- export type usersCreateOrConnectWithoutUser_hostsInput = {
1540
- where: Prisma.usersWhereUniqueInput;
1541
- create: Prisma.XOR<Prisma.usersCreateWithoutUser_hostsInput, Prisma.usersUncheckedCreateWithoutUser_hostsInput>;
1542
- };
1543
- export type usersUpsertWithoutUser_hostsInput = {
1544
- update: Prisma.XOR<Prisma.usersUpdateWithoutUser_hostsInput, Prisma.usersUncheckedUpdateWithoutUser_hostsInput>;
1545
- create: Prisma.XOR<Prisma.usersCreateWithoutUser_hostsInput, Prisma.usersUncheckedCreateWithoutUser_hostsInput>;
1546
- where?: Prisma.usersWhereInput;
1547
- };
1548
- export type usersUpdateToOneWithWhereWithoutUser_hostsInput = {
1549
- where?: Prisma.usersWhereInput;
1550
- data: Prisma.XOR<Prisma.usersUpdateWithoutUser_hostsInput, Prisma.usersUncheckedUpdateWithoutUser_hostsInput>;
1551
- };
1552
- export type usersUpdateWithoutUser_hostsInput = {
1553
- uuid?: Prisma.StringFieldUpdateOperationsInput | string;
1554
- username?: Prisma.StringFieldUpdateOperationsInput | string;
1555
- title?: Prisma.StringFieldUpdateOperationsInput | string;
1556
- api_key?: Prisma.StringFieldUpdateOperationsInput | string;
1557
- config?: Prisma.StringFieldUpdateOperationsInput | string;
1558
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1559
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1560
- enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1561
- archived?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1562
- lead_user?: Prisma.usersUpdateOneWithoutSubagentsNestedInput;
1563
- subagents?: Prisma.usersUpdateManyWithoutLead_userNestedInput;
1564
- mail_messages_sent?: Prisma.mail_messagesUpdateManyWithoutFrom_userNestedInput;
1565
- mail_recipients?: Prisma.mail_recipientsUpdateManyWithoutUserNestedInput;
1566
- run_sessions?: Prisma.run_sessionUpdateManyWithoutUsersNestedInput;
1567
- context_logs?: Prisma.context_logUpdateManyWithoutUsersNestedInput;
1568
- costs?: Prisma.costsUpdateManyWithoutUsersNestedInput;
1569
- uploaded_attachments?: Prisma.attachmentsUpdateManyWithoutUploaderNestedInput;
1570
- user_notifications?: Prisma.user_notificationsUpdateOneWithoutUsersNestedInput;
1571
- config_revisions?: Prisma.config_revisionsUpdateManyWithoutUserNestedInput;
1572
- config_changes_made?: Prisma.config_revisionsUpdateManyWithoutChanged_byNestedInput;
1573
- };
1574
- export type usersUncheckedUpdateWithoutUser_hostsInput = {
1575
- id?: Prisma.IntFieldUpdateOperationsInput | number;
1576
- uuid?: Prisma.StringFieldUpdateOperationsInput | string;
1577
- username?: Prisma.StringFieldUpdateOperationsInput | string;
1578
- title?: Prisma.StringFieldUpdateOperationsInput | string;
1579
- api_key?: Prisma.StringFieldUpdateOperationsInput | string;
1580
- lead_user_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1581
- config?: Prisma.StringFieldUpdateOperationsInput | string;
1582
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1583
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1584
- enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1585
- archived?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1586
- subagents?: Prisma.usersUncheckedUpdateManyWithoutLead_userNestedInput;
1587
- mail_messages_sent?: Prisma.mail_messagesUncheckedUpdateManyWithoutFrom_userNestedInput;
1588
- mail_recipients?: Prisma.mail_recipientsUncheckedUpdateManyWithoutUserNestedInput;
1589
- run_sessions?: Prisma.run_sessionUncheckedUpdateManyWithoutUsersNestedInput;
1590
- context_logs?: Prisma.context_logUncheckedUpdateManyWithoutUsersNestedInput;
1591
- costs?: Prisma.costsUncheckedUpdateManyWithoutUsersNestedInput;
1592
- uploaded_attachments?: Prisma.attachmentsUncheckedUpdateManyWithoutUploaderNestedInput;
1593
- user_notifications?: Prisma.user_notificationsUncheckedUpdateOneWithoutUsersNestedInput;
1594
- config_revisions?: Prisma.config_revisionsUncheckedUpdateManyWithoutUserNestedInput;
1595
- config_changes_made?: Prisma.config_revisionsUncheckedUpdateManyWithoutChanged_byNestedInput;
1596
- };
1597
- export type usersCreateWithoutRun_sessionsInput = {
1598
- uuid: string;
1599
- username: string;
1600
- title: string;
1601
- api_key: string;
1602
- config?: string;
1603
- created_at?: Date | string;
1604
- updated_at?: Date | string;
1605
- enabled?: boolean;
1606
- archived?: boolean;
1607
- lead_user?: Prisma.usersCreateNestedOneWithoutSubagentsInput;
1608
- subagents?: Prisma.usersCreateNestedManyWithoutLead_userInput;
1609
- mail_messages_sent?: Prisma.mail_messagesCreateNestedManyWithoutFrom_userInput;
1610
- mail_recipients?: Prisma.mail_recipientsCreateNestedManyWithoutUserInput;
1611
- context_logs?: Prisma.context_logCreateNestedManyWithoutUsersInput;
1612
- costs?: Prisma.costsCreateNestedManyWithoutUsersInput;
1613
- uploaded_attachments?: Prisma.attachmentsCreateNestedManyWithoutUploaderInput;
1614
- user_notifications?: Prisma.user_notificationsCreateNestedOneWithoutUsersInput;
1615
- user_hosts?: Prisma.user_hostsCreateNestedManyWithoutUsersInput;
1616
- config_revisions?: Prisma.config_revisionsCreateNestedManyWithoutUserInput;
1617
- config_changes_made?: Prisma.config_revisionsCreateNestedManyWithoutChanged_byInput;
1618
- };
1619
- export type usersUncheckedCreateWithoutRun_sessionsInput = {
1620
- id?: number;
1621
- uuid: string;
1622
- username: string;
1623
- title: string;
1624
- api_key: string;
1625
- lead_user_id?: number | null;
1626
- config?: string;
1627
- created_at?: Date | string;
1628
- updated_at?: Date | string;
1629
- enabled?: boolean;
1630
- archived?: boolean;
1631
- subagents?: Prisma.usersUncheckedCreateNestedManyWithoutLead_userInput;
1632
- mail_messages_sent?: Prisma.mail_messagesUncheckedCreateNestedManyWithoutFrom_userInput;
1633
- mail_recipients?: Prisma.mail_recipientsUncheckedCreateNestedManyWithoutUserInput;
1634
- context_logs?: Prisma.context_logUncheckedCreateNestedManyWithoutUsersInput;
1635
- costs?: Prisma.costsUncheckedCreateNestedManyWithoutUsersInput;
1636
- uploaded_attachments?: Prisma.attachmentsUncheckedCreateNestedManyWithoutUploaderInput;
1637
- user_notifications?: Prisma.user_notificationsUncheckedCreateNestedOneWithoutUsersInput;
1638
- user_hosts?: Prisma.user_hostsUncheckedCreateNestedManyWithoutUsersInput;
1639
- config_revisions?: Prisma.config_revisionsUncheckedCreateNestedManyWithoutUserInput;
1640
- config_changes_made?: Prisma.config_revisionsUncheckedCreateNestedManyWithoutChanged_byInput;
1641
- };
1642
- export type usersCreateOrConnectWithoutRun_sessionsInput = {
1643
- where: Prisma.usersWhereUniqueInput;
1644
- create: Prisma.XOR<Prisma.usersCreateWithoutRun_sessionsInput, Prisma.usersUncheckedCreateWithoutRun_sessionsInput>;
1645
- };
1646
- export type usersUpsertWithoutRun_sessionsInput = {
1647
- update: Prisma.XOR<Prisma.usersUpdateWithoutRun_sessionsInput, Prisma.usersUncheckedUpdateWithoutRun_sessionsInput>;
1648
- create: Prisma.XOR<Prisma.usersCreateWithoutRun_sessionsInput, Prisma.usersUncheckedCreateWithoutRun_sessionsInput>;
1649
- where?: Prisma.usersWhereInput;
1650
- };
1651
- export type usersUpdateToOneWithWhereWithoutRun_sessionsInput = {
1652
- where?: Prisma.usersWhereInput;
1653
- data: Prisma.XOR<Prisma.usersUpdateWithoutRun_sessionsInput, Prisma.usersUncheckedUpdateWithoutRun_sessionsInput>;
1654
- };
1655
- export type usersUpdateWithoutRun_sessionsInput = {
1656
- uuid?: Prisma.StringFieldUpdateOperationsInput | string;
1657
- username?: Prisma.StringFieldUpdateOperationsInput | string;
1658
- title?: Prisma.StringFieldUpdateOperationsInput | string;
1659
- api_key?: Prisma.StringFieldUpdateOperationsInput | string;
1660
- config?: Prisma.StringFieldUpdateOperationsInput | string;
1661
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1662
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1663
- enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1664
- archived?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1665
- lead_user?: Prisma.usersUpdateOneWithoutSubagentsNestedInput;
1666
- subagents?: Prisma.usersUpdateManyWithoutLead_userNestedInput;
1667
- mail_messages_sent?: Prisma.mail_messagesUpdateManyWithoutFrom_userNestedInput;
1668
- mail_recipients?: Prisma.mail_recipientsUpdateManyWithoutUserNestedInput;
1669
- context_logs?: Prisma.context_logUpdateManyWithoutUsersNestedInput;
1670
- costs?: Prisma.costsUpdateManyWithoutUsersNestedInput;
1671
- uploaded_attachments?: Prisma.attachmentsUpdateManyWithoutUploaderNestedInput;
1672
- user_notifications?: Prisma.user_notificationsUpdateOneWithoutUsersNestedInput;
1673
- user_hosts?: Prisma.user_hostsUpdateManyWithoutUsersNestedInput;
1674
- config_revisions?: Prisma.config_revisionsUpdateManyWithoutUserNestedInput;
1675
- config_changes_made?: Prisma.config_revisionsUpdateManyWithoutChanged_byNestedInput;
1676
- };
1677
- export type usersUncheckedUpdateWithoutRun_sessionsInput = {
1678
- id?: Prisma.IntFieldUpdateOperationsInput | number;
1679
- uuid?: Prisma.StringFieldUpdateOperationsInput | string;
1680
- username?: Prisma.StringFieldUpdateOperationsInput | string;
1681
- title?: Prisma.StringFieldUpdateOperationsInput | string;
1682
- api_key?: Prisma.StringFieldUpdateOperationsInput | string;
1683
- lead_user_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1684
- config?: Prisma.StringFieldUpdateOperationsInput | string;
1685
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1686
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1687
- enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1688
- archived?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1689
- subagents?: Prisma.usersUncheckedUpdateManyWithoutLead_userNestedInput;
1690
- mail_messages_sent?: Prisma.mail_messagesUncheckedUpdateManyWithoutFrom_userNestedInput;
1691
- mail_recipients?: Prisma.mail_recipientsUncheckedUpdateManyWithoutUserNestedInput;
1692
- context_logs?: Prisma.context_logUncheckedUpdateManyWithoutUsersNestedInput;
1693
- costs?: Prisma.costsUncheckedUpdateManyWithoutUsersNestedInput;
1694
- uploaded_attachments?: Prisma.attachmentsUncheckedUpdateManyWithoutUploaderNestedInput;
1695
- user_notifications?: Prisma.user_notificationsUncheckedUpdateOneWithoutUsersNestedInput;
1696
- user_hosts?: Prisma.user_hostsUncheckedUpdateManyWithoutUsersNestedInput;
1697
- config_revisions?: Prisma.config_revisionsUncheckedUpdateManyWithoutUserNestedInput;
1698
- config_changes_made?: Prisma.config_revisionsUncheckedUpdateManyWithoutChanged_byNestedInput;
1699
- };
1700
- export type usersCreateWithoutConfig_revisionsInput = {
1701
- uuid: string;
1702
- username: string;
1703
- title: string;
1704
- api_key: string;
1705
- config?: string;
1706
- created_at?: Date | string;
1707
- updated_at?: Date | string;
1708
- enabled?: boolean;
1709
- archived?: boolean;
1710
- lead_user?: Prisma.usersCreateNestedOneWithoutSubagentsInput;
1711
- subagents?: Prisma.usersCreateNestedManyWithoutLead_userInput;
1712
- mail_messages_sent?: Prisma.mail_messagesCreateNestedManyWithoutFrom_userInput;
1713
- mail_recipients?: Prisma.mail_recipientsCreateNestedManyWithoutUserInput;
1714
- run_sessions?: Prisma.run_sessionCreateNestedManyWithoutUsersInput;
1715
- context_logs?: Prisma.context_logCreateNestedManyWithoutUsersInput;
1716
- costs?: Prisma.costsCreateNestedManyWithoutUsersInput;
1717
- uploaded_attachments?: Prisma.attachmentsCreateNestedManyWithoutUploaderInput;
1718
- user_notifications?: Prisma.user_notificationsCreateNestedOneWithoutUsersInput;
1719
- user_hosts?: Prisma.user_hostsCreateNestedManyWithoutUsersInput;
1720
- config_changes_made?: Prisma.config_revisionsCreateNestedManyWithoutChanged_byInput;
1721
- };
1722
- export type usersUncheckedCreateWithoutConfig_revisionsInput = {
1723
- id?: number;
1724
- uuid: string;
1725
- username: string;
1726
- title: string;
1727
- api_key: string;
1728
- lead_user_id?: number | null;
1729
- config?: string;
1730
- created_at?: Date | string;
1731
- updated_at?: Date | string;
1732
- enabled?: boolean;
1733
- archived?: boolean;
1734
- subagents?: Prisma.usersUncheckedCreateNestedManyWithoutLead_userInput;
1735
- mail_messages_sent?: Prisma.mail_messagesUncheckedCreateNestedManyWithoutFrom_userInput;
1736
- mail_recipients?: Prisma.mail_recipientsUncheckedCreateNestedManyWithoutUserInput;
1737
- run_sessions?: Prisma.run_sessionUncheckedCreateNestedManyWithoutUsersInput;
1738
- context_logs?: Prisma.context_logUncheckedCreateNestedManyWithoutUsersInput;
1739
- costs?: Prisma.costsUncheckedCreateNestedManyWithoutUsersInput;
1740
- uploaded_attachments?: Prisma.attachmentsUncheckedCreateNestedManyWithoutUploaderInput;
1741
- user_notifications?: Prisma.user_notificationsUncheckedCreateNestedOneWithoutUsersInput;
1742
- user_hosts?: Prisma.user_hostsUncheckedCreateNestedManyWithoutUsersInput;
1743
- config_changes_made?: Prisma.config_revisionsUncheckedCreateNestedManyWithoutChanged_byInput;
1744
- };
1745
- export type usersCreateOrConnectWithoutConfig_revisionsInput = {
1746
- where: Prisma.usersWhereUniqueInput;
1747
- create: Prisma.XOR<Prisma.usersCreateWithoutConfig_revisionsInput, Prisma.usersUncheckedCreateWithoutConfig_revisionsInput>;
1748
- };
1749
- export type usersCreateWithoutConfig_changes_madeInput = {
1750
- uuid: string;
1751
- username: string;
1752
- title: string;
1753
- api_key: string;
1754
- config?: string;
1755
- created_at?: Date | string;
1756
- updated_at?: Date | string;
1757
- enabled?: boolean;
1758
- archived?: boolean;
1759
- lead_user?: Prisma.usersCreateNestedOneWithoutSubagentsInput;
1760
- subagents?: Prisma.usersCreateNestedManyWithoutLead_userInput;
1761
- mail_messages_sent?: Prisma.mail_messagesCreateNestedManyWithoutFrom_userInput;
1762
- mail_recipients?: Prisma.mail_recipientsCreateNestedManyWithoutUserInput;
1763
- run_sessions?: Prisma.run_sessionCreateNestedManyWithoutUsersInput;
1764
- context_logs?: Prisma.context_logCreateNestedManyWithoutUsersInput;
1765
- costs?: Prisma.costsCreateNestedManyWithoutUsersInput;
1766
- uploaded_attachments?: Prisma.attachmentsCreateNestedManyWithoutUploaderInput;
1767
- user_notifications?: Prisma.user_notificationsCreateNestedOneWithoutUsersInput;
1768
- user_hosts?: Prisma.user_hostsCreateNestedManyWithoutUsersInput;
1769
- config_revisions?: Prisma.config_revisionsCreateNestedManyWithoutUserInput;
1770
- };
1771
- export type usersUncheckedCreateWithoutConfig_changes_madeInput = {
1772
- id?: number;
1773
- uuid: string;
1774
- username: string;
1775
- title: string;
1776
- api_key: string;
1777
- lead_user_id?: number | null;
1778
- config?: string;
1779
- created_at?: Date | string;
1780
- updated_at?: Date | string;
1781
- enabled?: boolean;
1782
- archived?: boolean;
1783
- subagents?: Prisma.usersUncheckedCreateNestedManyWithoutLead_userInput;
1784
- mail_messages_sent?: Prisma.mail_messagesUncheckedCreateNestedManyWithoutFrom_userInput;
1785
- mail_recipients?: Prisma.mail_recipientsUncheckedCreateNestedManyWithoutUserInput;
1786
- run_sessions?: Prisma.run_sessionUncheckedCreateNestedManyWithoutUsersInput;
1787
- context_logs?: Prisma.context_logUncheckedCreateNestedManyWithoutUsersInput;
1788
- costs?: Prisma.costsUncheckedCreateNestedManyWithoutUsersInput;
1789
- uploaded_attachments?: Prisma.attachmentsUncheckedCreateNestedManyWithoutUploaderInput;
1790
- user_notifications?: Prisma.user_notificationsUncheckedCreateNestedOneWithoutUsersInput;
1791
- user_hosts?: Prisma.user_hostsUncheckedCreateNestedManyWithoutUsersInput;
1792
- config_revisions?: Prisma.config_revisionsUncheckedCreateNestedManyWithoutUserInput;
1793
- };
1794
- export type usersCreateOrConnectWithoutConfig_changes_madeInput = {
1795
- where: Prisma.usersWhereUniqueInput;
1796
- create: Prisma.XOR<Prisma.usersCreateWithoutConfig_changes_madeInput, Prisma.usersUncheckedCreateWithoutConfig_changes_madeInput>;
1797
- };
1798
- export type usersUpsertWithoutConfig_revisionsInput = {
1799
- update: Prisma.XOR<Prisma.usersUpdateWithoutConfig_revisionsInput, Prisma.usersUncheckedUpdateWithoutConfig_revisionsInput>;
1800
- create: Prisma.XOR<Prisma.usersCreateWithoutConfig_revisionsInput, Prisma.usersUncheckedCreateWithoutConfig_revisionsInput>;
1801
- where?: Prisma.usersWhereInput;
1802
- };
1803
- export type usersUpdateToOneWithWhereWithoutConfig_revisionsInput = {
1804
- where?: Prisma.usersWhereInput;
1805
- data: Prisma.XOR<Prisma.usersUpdateWithoutConfig_revisionsInput, Prisma.usersUncheckedUpdateWithoutConfig_revisionsInput>;
1806
- };
1807
- export type usersUpdateWithoutConfig_revisionsInput = {
1808
- uuid?: Prisma.StringFieldUpdateOperationsInput | string;
1809
- username?: Prisma.StringFieldUpdateOperationsInput | string;
1810
- title?: Prisma.StringFieldUpdateOperationsInput | string;
1811
- api_key?: Prisma.StringFieldUpdateOperationsInput | string;
1812
- config?: Prisma.StringFieldUpdateOperationsInput | string;
1813
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1814
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1815
- enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1816
- archived?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1817
- lead_user?: Prisma.usersUpdateOneWithoutSubagentsNestedInput;
1818
- subagents?: Prisma.usersUpdateManyWithoutLead_userNestedInput;
1819
- mail_messages_sent?: Prisma.mail_messagesUpdateManyWithoutFrom_userNestedInput;
1820
- mail_recipients?: Prisma.mail_recipientsUpdateManyWithoutUserNestedInput;
1821
- run_sessions?: Prisma.run_sessionUpdateManyWithoutUsersNestedInput;
1822
- context_logs?: Prisma.context_logUpdateManyWithoutUsersNestedInput;
1823
- costs?: Prisma.costsUpdateManyWithoutUsersNestedInput;
1824
- uploaded_attachments?: Prisma.attachmentsUpdateManyWithoutUploaderNestedInput;
1825
- user_notifications?: Prisma.user_notificationsUpdateOneWithoutUsersNestedInput;
1826
- user_hosts?: Prisma.user_hostsUpdateManyWithoutUsersNestedInput;
1827
- config_changes_made?: Prisma.config_revisionsUpdateManyWithoutChanged_byNestedInput;
1828
- };
1829
- export type usersUncheckedUpdateWithoutConfig_revisionsInput = {
1830
- id?: Prisma.IntFieldUpdateOperationsInput | number;
1831
- uuid?: Prisma.StringFieldUpdateOperationsInput | string;
1832
- username?: Prisma.StringFieldUpdateOperationsInput | string;
1833
- title?: Prisma.StringFieldUpdateOperationsInput | string;
1834
- api_key?: Prisma.StringFieldUpdateOperationsInput | string;
1835
- lead_user_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1836
- config?: Prisma.StringFieldUpdateOperationsInput | string;
1837
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1838
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1839
- enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1840
- archived?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1841
- subagents?: Prisma.usersUncheckedUpdateManyWithoutLead_userNestedInput;
1842
- mail_messages_sent?: Prisma.mail_messagesUncheckedUpdateManyWithoutFrom_userNestedInput;
1843
- mail_recipients?: Prisma.mail_recipientsUncheckedUpdateManyWithoutUserNestedInput;
1844
- run_sessions?: Prisma.run_sessionUncheckedUpdateManyWithoutUsersNestedInput;
1845
- context_logs?: Prisma.context_logUncheckedUpdateManyWithoutUsersNestedInput;
1846
- costs?: Prisma.costsUncheckedUpdateManyWithoutUsersNestedInput;
1847
- uploaded_attachments?: Prisma.attachmentsUncheckedUpdateManyWithoutUploaderNestedInput;
1848
- user_notifications?: Prisma.user_notificationsUncheckedUpdateOneWithoutUsersNestedInput;
1849
- user_hosts?: Prisma.user_hostsUncheckedUpdateManyWithoutUsersNestedInput;
1850
- config_changes_made?: Prisma.config_revisionsUncheckedUpdateManyWithoutChanged_byNestedInput;
1851
- };
1852
- export type usersUpsertWithoutConfig_changes_madeInput = {
1853
- update: Prisma.XOR<Prisma.usersUpdateWithoutConfig_changes_madeInput, Prisma.usersUncheckedUpdateWithoutConfig_changes_madeInput>;
1854
- create: Prisma.XOR<Prisma.usersCreateWithoutConfig_changes_madeInput, Prisma.usersUncheckedCreateWithoutConfig_changes_madeInput>;
1855
- where?: Prisma.usersWhereInput;
1856
- };
1857
- export type usersUpdateToOneWithWhereWithoutConfig_changes_madeInput = {
1858
- where?: Prisma.usersWhereInput;
1859
- data: Prisma.XOR<Prisma.usersUpdateWithoutConfig_changes_madeInput, Prisma.usersUncheckedUpdateWithoutConfig_changes_madeInput>;
1860
- };
1861
- export type usersUpdateWithoutConfig_changes_madeInput = {
1862
- uuid?: Prisma.StringFieldUpdateOperationsInput | string;
1863
- username?: Prisma.StringFieldUpdateOperationsInput | string;
1864
- title?: Prisma.StringFieldUpdateOperationsInput | string;
1865
- api_key?: Prisma.StringFieldUpdateOperationsInput | string;
1866
- config?: Prisma.StringFieldUpdateOperationsInput | string;
1867
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1868
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1869
- enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1870
- archived?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1871
- lead_user?: Prisma.usersUpdateOneWithoutSubagentsNestedInput;
1872
- subagents?: Prisma.usersUpdateManyWithoutLead_userNestedInput;
1873
- mail_messages_sent?: Prisma.mail_messagesUpdateManyWithoutFrom_userNestedInput;
1874
- mail_recipients?: Prisma.mail_recipientsUpdateManyWithoutUserNestedInput;
1875
- run_sessions?: Prisma.run_sessionUpdateManyWithoutUsersNestedInput;
1876
- context_logs?: Prisma.context_logUpdateManyWithoutUsersNestedInput;
1877
- costs?: Prisma.costsUpdateManyWithoutUsersNestedInput;
1878
- uploaded_attachments?: Prisma.attachmentsUpdateManyWithoutUploaderNestedInput;
1879
- user_notifications?: Prisma.user_notificationsUpdateOneWithoutUsersNestedInput;
1880
- user_hosts?: Prisma.user_hostsUpdateManyWithoutUsersNestedInput;
1881
- config_revisions?: Prisma.config_revisionsUpdateManyWithoutUserNestedInput;
1882
- };
1883
- export type usersUncheckedUpdateWithoutConfig_changes_madeInput = {
1884
- id?: Prisma.IntFieldUpdateOperationsInput | number;
1885
- uuid?: Prisma.StringFieldUpdateOperationsInput | string;
1886
- username?: Prisma.StringFieldUpdateOperationsInput | string;
1887
- title?: Prisma.StringFieldUpdateOperationsInput | string;
1888
- api_key?: Prisma.StringFieldUpdateOperationsInput | string;
1889
- lead_user_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1890
- config?: Prisma.StringFieldUpdateOperationsInput | string;
1891
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1892
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1893
- enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1894
- archived?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1895
- subagents?: Prisma.usersUncheckedUpdateManyWithoutLead_userNestedInput;
1896
- mail_messages_sent?: Prisma.mail_messagesUncheckedUpdateManyWithoutFrom_userNestedInput;
1897
- mail_recipients?: Prisma.mail_recipientsUncheckedUpdateManyWithoutUserNestedInput;
1898
- run_sessions?: Prisma.run_sessionUncheckedUpdateManyWithoutUsersNestedInput;
1899
- context_logs?: Prisma.context_logUncheckedUpdateManyWithoutUsersNestedInput;
1900
- costs?: Prisma.costsUncheckedUpdateManyWithoutUsersNestedInput;
1901
- uploaded_attachments?: Prisma.attachmentsUncheckedUpdateManyWithoutUploaderNestedInput;
1902
- user_notifications?: Prisma.user_notificationsUncheckedUpdateOneWithoutUsersNestedInput;
1903
- user_hosts?: Prisma.user_hostsUncheckedUpdateManyWithoutUsersNestedInput;
1904
- config_revisions?: Prisma.config_revisionsUncheckedUpdateManyWithoutUserNestedInput;
1905
- };
1906
- export type usersCreateManyLead_userInput = {
1907
- id?: number;
1908
- uuid: string;
1909
- username: string;
1910
- title: string;
1911
- api_key: string;
1912
- config?: string;
1913
- created_at?: Date | string;
1914
- updated_at?: Date | string;
1915
- enabled?: boolean;
1916
- archived?: boolean;
1917
- };
1918
- export type usersUpdateWithoutLead_userInput = {
1919
- uuid?: Prisma.StringFieldUpdateOperationsInput | string;
1920
- username?: Prisma.StringFieldUpdateOperationsInput | string;
1921
- title?: Prisma.StringFieldUpdateOperationsInput | string;
1922
- api_key?: Prisma.StringFieldUpdateOperationsInput | string;
1923
- config?: Prisma.StringFieldUpdateOperationsInput | string;
1924
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1925
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1926
- enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1927
- archived?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1928
- subagents?: Prisma.usersUpdateManyWithoutLead_userNestedInput;
1929
- mail_messages_sent?: Prisma.mail_messagesUpdateManyWithoutFrom_userNestedInput;
1930
- mail_recipients?: Prisma.mail_recipientsUpdateManyWithoutUserNestedInput;
1931
- run_sessions?: Prisma.run_sessionUpdateManyWithoutUsersNestedInput;
1932
- context_logs?: Prisma.context_logUpdateManyWithoutUsersNestedInput;
1933
- costs?: Prisma.costsUpdateManyWithoutUsersNestedInput;
1934
- uploaded_attachments?: Prisma.attachmentsUpdateManyWithoutUploaderNestedInput;
1935
- user_notifications?: Prisma.user_notificationsUpdateOneWithoutUsersNestedInput;
1936
- user_hosts?: Prisma.user_hostsUpdateManyWithoutUsersNestedInput;
1937
- config_revisions?: Prisma.config_revisionsUpdateManyWithoutUserNestedInput;
1938
- config_changes_made?: Prisma.config_revisionsUpdateManyWithoutChanged_byNestedInput;
1939
- };
1940
- export type usersUncheckedUpdateWithoutLead_userInput = {
1941
- id?: Prisma.IntFieldUpdateOperationsInput | number;
1942
- uuid?: Prisma.StringFieldUpdateOperationsInput | string;
1943
- username?: Prisma.StringFieldUpdateOperationsInput | string;
1944
- title?: Prisma.StringFieldUpdateOperationsInput | string;
1945
- api_key?: Prisma.StringFieldUpdateOperationsInput | string;
1946
- config?: Prisma.StringFieldUpdateOperationsInput | string;
1947
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1948
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1949
- enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1950
- archived?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1951
- subagents?: Prisma.usersUncheckedUpdateManyWithoutLead_userNestedInput;
1952
- mail_messages_sent?: Prisma.mail_messagesUncheckedUpdateManyWithoutFrom_userNestedInput;
1953
- mail_recipients?: Prisma.mail_recipientsUncheckedUpdateManyWithoutUserNestedInput;
1954
- run_sessions?: Prisma.run_sessionUncheckedUpdateManyWithoutUsersNestedInput;
1955
- context_logs?: Prisma.context_logUncheckedUpdateManyWithoutUsersNestedInput;
1956
- costs?: Prisma.costsUncheckedUpdateManyWithoutUsersNestedInput;
1957
- uploaded_attachments?: Prisma.attachmentsUncheckedUpdateManyWithoutUploaderNestedInput;
1958
- user_notifications?: Prisma.user_notificationsUncheckedUpdateOneWithoutUsersNestedInput;
1959
- user_hosts?: Prisma.user_hostsUncheckedUpdateManyWithoutUsersNestedInput;
1960
- config_revisions?: Prisma.config_revisionsUncheckedUpdateManyWithoutUserNestedInput;
1961
- config_changes_made?: Prisma.config_revisionsUncheckedUpdateManyWithoutChanged_byNestedInput;
1962
- };
1963
- export type usersUncheckedUpdateManyWithoutLead_userInput = {
1964
- id?: Prisma.IntFieldUpdateOperationsInput | number;
1965
- uuid?: Prisma.StringFieldUpdateOperationsInput | string;
1966
- username?: Prisma.StringFieldUpdateOperationsInput | string;
1967
- title?: Prisma.StringFieldUpdateOperationsInput | string;
1968
- api_key?: Prisma.StringFieldUpdateOperationsInput | string;
1969
- config?: Prisma.StringFieldUpdateOperationsInput | string;
1970
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1971
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1972
- enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1973
- archived?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1974
- };
1975
- /**
1976
- * Count Type UsersCountOutputType
1977
- */
1978
- export type UsersCountOutputType = {
1979
- subagents: number;
1980
- mail_messages_sent: number;
1981
- mail_recipients: number;
1982
- run_sessions: number;
1983
- context_logs: number;
1984
- costs: number;
1985
- uploaded_attachments: number;
1986
- user_hosts: number;
1987
- config_revisions: number;
1988
- config_changes_made: number;
1989
- };
1990
- export type UsersCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1991
- subagents?: boolean | UsersCountOutputTypeCountSubagentsArgs;
1992
- mail_messages_sent?: boolean | UsersCountOutputTypeCountMail_messages_sentArgs;
1993
- mail_recipients?: boolean | UsersCountOutputTypeCountMail_recipientsArgs;
1994
- run_sessions?: boolean | UsersCountOutputTypeCountRun_sessionsArgs;
1995
- context_logs?: boolean | UsersCountOutputTypeCountContext_logsArgs;
1996
- costs?: boolean | UsersCountOutputTypeCountCostsArgs;
1997
- uploaded_attachments?: boolean | UsersCountOutputTypeCountUploaded_attachmentsArgs;
1998
- user_hosts?: boolean | UsersCountOutputTypeCountUser_hostsArgs;
1999
- config_revisions?: boolean | UsersCountOutputTypeCountConfig_revisionsArgs;
2000
- config_changes_made?: boolean | UsersCountOutputTypeCountConfig_changes_madeArgs;
2001
- };
2002
- /**
2003
- * UsersCountOutputType without action
2004
- */
2005
- export type UsersCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2006
- /**
2007
- * Select specific fields to fetch from the UsersCountOutputType
2008
- */
2009
- select?: Prisma.UsersCountOutputTypeSelect<ExtArgs> | null;
2010
- };
2011
- /**
2012
- * UsersCountOutputType without action
2013
- */
2014
- export type UsersCountOutputTypeCountSubagentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2015
- where?: Prisma.usersWhereInput;
2016
- };
2017
- /**
2018
- * UsersCountOutputType without action
2019
- */
2020
- export type UsersCountOutputTypeCountMail_messages_sentArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2021
- where?: Prisma.mail_messagesWhereInput;
2022
- };
2023
- /**
2024
- * UsersCountOutputType without action
2025
- */
2026
- export type UsersCountOutputTypeCountMail_recipientsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2027
- where?: Prisma.mail_recipientsWhereInput;
2028
- };
2029
- /**
2030
- * UsersCountOutputType without action
2031
- */
2032
- export type UsersCountOutputTypeCountRun_sessionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2033
- where?: Prisma.run_sessionWhereInput;
2034
- };
2035
- /**
2036
- * UsersCountOutputType without action
2037
- */
2038
- export type UsersCountOutputTypeCountContext_logsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2039
- where?: Prisma.context_logWhereInput;
2040
- };
2041
- /**
2042
- * UsersCountOutputType without action
2043
- */
2044
- export type UsersCountOutputTypeCountCostsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2045
- where?: Prisma.costsWhereInput;
2046
- };
2047
- /**
2048
- * UsersCountOutputType without action
2049
- */
2050
- export type UsersCountOutputTypeCountUploaded_attachmentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2051
- where?: Prisma.attachmentsWhereInput;
2052
- };
2053
- /**
2054
- * UsersCountOutputType without action
2055
- */
2056
- export type UsersCountOutputTypeCountUser_hostsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2057
- where?: Prisma.user_hostsWhereInput;
2058
- };
2059
- /**
2060
- * UsersCountOutputType without action
2061
- */
2062
- export type UsersCountOutputTypeCountConfig_revisionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2063
- where?: Prisma.config_revisionsWhereInput;
2064
- };
2065
- /**
2066
- * UsersCountOutputType without action
2067
- */
2068
- export type UsersCountOutputTypeCountConfig_changes_madeArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2069
- where?: Prisma.config_revisionsWhereInput;
2070
- };
2071
- export type usersSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
2072
- id?: boolean;
2073
- uuid?: boolean;
2074
- username?: boolean;
2075
- title?: boolean;
2076
- api_key?: boolean;
2077
- lead_user_id?: boolean;
2078
- config?: boolean;
2079
- created_at?: boolean;
2080
- updated_at?: boolean;
2081
- enabled?: boolean;
2082
- archived?: boolean;
2083
- lead_user?: boolean | Prisma.users$lead_userArgs<ExtArgs>;
2084
- subagents?: boolean | Prisma.users$subagentsArgs<ExtArgs>;
2085
- mail_messages_sent?: boolean | Prisma.users$mail_messages_sentArgs<ExtArgs>;
2086
- mail_recipients?: boolean | Prisma.users$mail_recipientsArgs<ExtArgs>;
2087
- run_sessions?: boolean | Prisma.users$run_sessionsArgs<ExtArgs>;
2088
- context_logs?: boolean | Prisma.users$context_logsArgs<ExtArgs>;
2089
- costs?: boolean | Prisma.users$costsArgs<ExtArgs>;
2090
- uploaded_attachments?: boolean | Prisma.users$uploaded_attachmentsArgs<ExtArgs>;
2091
- user_notifications?: boolean | Prisma.users$user_notificationsArgs<ExtArgs>;
2092
- user_hosts?: boolean | Prisma.users$user_hostsArgs<ExtArgs>;
2093
- config_revisions?: boolean | Prisma.users$config_revisionsArgs<ExtArgs>;
2094
- config_changes_made?: boolean | Prisma.users$config_changes_madeArgs<ExtArgs>;
2095
- _count?: boolean | Prisma.UsersCountOutputTypeDefaultArgs<ExtArgs>;
2096
- }, ExtArgs["result"]["users"]>;
2097
- export type usersSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
2098
- id?: boolean;
2099
- uuid?: boolean;
2100
- username?: boolean;
2101
- title?: boolean;
2102
- api_key?: boolean;
2103
- lead_user_id?: boolean;
2104
- config?: boolean;
2105
- created_at?: boolean;
2106
- updated_at?: boolean;
2107
- enabled?: boolean;
2108
- archived?: boolean;
2109
- lead_user?: boolean | Prisma.users$lead_userArgs<ExtArgs>;
2110
- }, ExtArgs["result"]["users"]>;
2111
- export type usersSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
2112
- id?: boolean;
2113
- uuid?: boolean;
2114
- username?: boolean;
2115
- title?: boolean;
2116
- api_key?: boolean;
2117
- lead_user_id?: boolean;
2118
- config?: boolean;
2119
- created_at?: boolean;
2120
- updated_at?: boolean;
2121
- enabled?: boolean;
2122
- archived?: boolean;
2123
- lead_user?: boolean | Prisma.users$lead_userArgs<ExtArgs>;
2124
- }, ExtArgs["result"]["users"]>;
2125
- export type usersSelectScalar = {
2126
- id?: boolean;
2127
- uuid?: boolean;
2128
- username?: boolean;
2129
- title?: boolean;
2130
- api_key?: boolean;
2131
- lead_user_id?: boolean;
2132
- config?: boolean;
2133
- created_at?: boolean;
2134
- updated_at?: boolean;
2135
- enabled?: boolean;
2136
- archived?: boolean;
2137
- };
2138
- export type usersOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "uuid" | "username" | "title" | "api_key" | "lead_user_id" | "config" | "created_at" | "updated_at" | "enabled" | "archived", ExtArgs["result"]["users"]>;
2139
- export type usersInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2140
- lead_user?: boolean | Prisma.users$lead_userArgs<ExtArgs>;
2141
- subagents?: boolean | Prisma.users$subagentsArgs<ExtArgs>;
2142
- mail_messages_sent?: boolean | Prisma.users$mail_messages_sentArgs<ExtArgs>;
2143
- mail_recipients?: boolean | Prisma.users$mail_recipientsArgs<ExtArgs>;
2144
- run_sessions?: boolean | Prisma.users$run_sessionsArgs<ExtArgs>;
2145
- context_logs?: boolean | Prisma.users$context_logsArgs<ExtArgs>;
2146
- costs?: boolean | Prisma.users$costsArgs<ExtArgs>;
2147
- uploaded_attachments?: boolean | Prisma.users$uploaded_attachmentsArgs<ExtArgs>;
2148
- user_notifications?: boolean | Prisma.users$user_notificationsArgs<ExtArgs>;
2149
- user_hosts?: boolean | Prisma.users$user_hostsArgs<ExtArgs>;
2150
- config_revisions?: boolean | Prisma.users$config_revisionsArgs<ExtArgs>;
2151
- config_changes_made?: boolean | Prisma.users$config_changes_madeArgs<ExtArgs>;
2152
- _count?: boolean | Prisma.UsersCountOutputTypeDefaultArgs<ExtArgs>;
2153
- };
2154
- export type usersIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2155
- lead_user?: boolean | Prisma.users$lead_userArgs<ExtArgs>;
2156
- };
2157
- export type usersIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2158
- lead_user?: boolean | Prisma.users$lead_userArgs<ExtArgs>;
2159
- };
2160
- export type $usersPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2161
- name: "users";
2162
- objects: {
2163
- lead_user: Prisma.$usersPayload<ExtArgs> | null;
2164
- subagents: Prisma.$usersPayload<ExtArgs>[];
2165
- mail_messages_sent: Prisma.$mail_messagesPayload<ExtArgs>[];
2166
- mail_recipients: Prisma.$mail_recipientsPayload<ExtArgs>[];
2167
- run_sessions: Prisma.$run_sessionPayload<ExtArgs>[];
2168
- context_logs: Prisma.$context_logPayload<ExtArgs>[];
2169
- costs: Prisma.$costsPayload<ExtArgs>[];
2170
- uploaded_attachments: Prisma.$attachmentsPayload<ExtArgs>[];
2171
- user_notifications: Prisma.$user_notificationsPayload<ExtArgs> | null;
2172
- user_hosts: Prisma.$user_hostsPayload<ExtArgs>[];
2173
- config_revisions: Prisma.$config_revisionsPayload<ExtArgs>[];
2174
- config_changes_made: Prisma.$config_revisionsPayload<ExtArgs>[];
2175
- };
2176
- scalars: runtime.Types.Extensions.GetPayloadResult<{
2177
- id: number;
2178
- uuid: string;
2179
- username: string;
2180
- title: string;
2181
- api_key: string;
2182
- lead_user_id: number | null;
2183
- config: string;
2184
- created_at: Date;
2185
- updated_at: Date;
2186
- enabled: boolean;
2187
- archived: boolean;
2188
- }, ExtArgs["result"]["users"]>;
2189
- composites: {};
2190
- };
2191
- export type usersGetPayload<S extends boolean | null | undefined | usersDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$usersPayload, S>;
2192
- export type usersCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<usersFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
2193
- select?: UsersCountAggregateInputType | true;
2194
- };
2195
- export interface usersDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
2196
- [K: symbol]: {
2197
- types: Prisma.TypeMap<ExtArgs>['model']['users'];
2198
- meta: {
2199
- name: 'users';
2200
- };
2201
- };
2202
- /**
2203
- * Find zero or one Users that matches the filter.
2204
- * @param {usersFindUniqueArgs} args - Arguments to find a Users
2205
- * @example
2206
- * // Get one Users
2207
- * const users = await prisma.users.findUnique({
2208
- * where: {
2209
- * // ... provide filter here
2210
- * }
2211
- * })
2212
- */
2213
- findUnique<T extends usersFindUniqueArgs>(args: Prisma.SelectSubset<T, usersFindUniqueArgs<ExtArgs>>): Prisma.Prisma__usersClient<runtime.Types.Result.GetResult<Prisma.$usersPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
2214
- /**
2215
- * Find one Users that matches the filter or throw an error with `error.code='P2025'`
2216
- * if no matches were found.
2217
- * @param {usersFindUniqueOrThrowArgs} args - Arguments to find a Users
2218
- * @example
2219
- * // Get one Users
2220
- * const users = await prisma.users.findUniqueOrThrow({
2221
- * where: {
2222
- * // ... provide filter here
2223
- * }
2224
- * })
2225
- */
2226
- findUniqueOrThrow<T extends usersFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, usersFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__usersClient<runtime.Types.Result.GetResult<Prisma.$usersPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
2227
- /**
2228
- * Find the first Users that matches the filter.
2229
- * Note, that providing `undefined` is treated as the value not being there.
2230
- * Read more here: https://pris.ly/d/null-undefined
2231
- * @param {usersFindFirstArgs} args - Arguments to find a Users
2232
- * @example
2233
- * // Get one Users
2234
- * const users = await prisma.users.findFirst({
2235
- * where: {
2236
- * // ... provide filter here
2237
- * }
2238
- * })
2239
- */
2240
- findFirst<T extends usersFindFirstArgs>(args?: Prisma.SelectSubset<T, usersFindFirstArgs<ExtArgs>>): Prisma.Prisma__usersClient<runtime.Types.Result.GetResult<Prisma.$usersPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
2241
- /**
2242
- * Find the first Users that matches the filter or
2243
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
2244
- * Note, that providing `undefined` is treated as the value not being there.
2245
- * Read more here: https://pris.ly/d/null-undefined
2246
- * @param {usersFindFirstOrThrowArgs} args - Arguments to find a Users
2247
- * @example
2248
- * // Get one Users
2249
- * const users = await prisma.users.findFirstOrThrow({
2250
- * where: {
2251
- * // ... provide filter here
2252
- * }
2253
- * })
2254
- */
2255
- findFirstOrThrow<T extends usersFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, usersFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__usersClient<runtime.Types.Result.GetResult<Prisma.$usersPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
2256
- /**
2257
- * Find zero or more Users that matches the filter.
2258
- * Note, that providing `undefined` is treated as the value not being there.
2259
- * Read more here: https://pris.ly/d/null-undefined
2260
- * @param {usersFindManyArgs} args - Arguments to filter and select certain fields only.
2261
- * @example
2262
- * // Get all Users
2263
- * const users = await prisma.users.findMany()
2264
- *
2265
- * // Get first 10 Users
2266
- * const users = await prisma.users.findMany({ take: 10 })
2267
- *
2268
- * // Only select the `id`
2269
- * const usersWithIdOnly = await prisma.users.findMany({ select: { id: true } })
2270
- *
2271
- */
2272
- findMany<T extends usersFindManyArgs>(args?: Prisma.SelectSubset<T, usersFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$usersPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
2273
- /**
2274
- * Create a Users.
2275
- * @param {usersCreateArgs} args - Arguments to create a Users.
2276
- * @example
2277
- * // Create one Users
2278
- * const Users = await prisma.users.create({
2279
- * data: {
2280
- * // ... data to create a Users
2281
- * }
2282
- * })
2283
- *
2284
- */
2285
- create<T extends usersCreateArgs>(args: Prisma.SelectSubset<T, usersCreateArgs<ExtArgs>>): Prisma.Prisma__usersClient<runtime.Types.Result.GetResult<Prisma.$usersPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
2286
- /**
2287
- * Create many Users.
2288
- * @param {usersCreateManyArgs} args - Arguments to create many Users.
2289
- * @example
2290
- * // Create many Users
2291
- * const users = await prisma.users.createMany({
2292
- * data: [
2293
- * // ... provide data here
2294
- * ]
2295
- * })
2296
- *
2297
- */
2298
- createMany<T extends usersCreateManyArgs>(args?: Prisma.SelectSubset<T, usersCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
2299
- /**
2300
- * Create many Users and returns the data saved in the database.
2301
- * @param {usersCreateManyAndReturnArgs} args - Arguments to create many Users.
2302
- * @example
2303
- * // Create many Users
2304
- * const users = await prisma.users.createManyAndReturn({
2305
- * data: [
2306
- * // ... provide data here
2307
- * ]
2308
- * })
2309
- *
2310
- * // Create many Users and only return the `id`
2311
- * const usersWithIdOnly = await prisma.users.createManyAndReturn({
2312
- * select: { id: true },
2313
- * data: [
2314
- * // ... provide data here
2315
- * ]
2316
- * })
2317
- * Note, that providing `undefined` is treated as the value not being there.
2318
- * Read more here: https://pris.ly/d/null-undefined
2319
- *
2320
- */
2321
- createManyAndReturn<T extends usersCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, usersCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$usersPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
2322
- /**
2323
- * Delete a Users.
2324
- * @param {usersDeleteArgs} args - Arguments to delete one Users.
2325
- * @example
2326
- * // Delete one Users
2327
- * const Users = await prisma.users.delete({
2328
- * where: {
2329
- * // ... filter to delete one Users
2330
- * }
2331
- * })
2332
- *
2333
- */
2334
- delete<T extends usersDeleteArgs>(args: Prisma.SelectSubset<T, usersDeleteArgs<ExtArgs>>): Prisma.Prisma__usersClient<runtime.Types.Result.GetResult<Prisma.$usersPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
2335
- /**
2336
- * Update one Users.
2337
- * @param {usersUpdateArgs} args - Arguments to update one Users.
2338
- * @example
2339
- * // Update one Users
2340
- * const users = await prisma.users.update({
2341
- * where: {
2342
- * // ... provide filter here
2343
- * },
2344
- * data: {
2345
- * // ... provide data here
2346
- * }
2347
- * })
2348
- *
2349
- */
2350
- update<T extends usersUpdateArgs>(args: Prisma.SelectSubset<T, usersUpdateArgs<ExtArgs>>): Prisma.Prisma__usersClient<runtime.Types.Result.GetResult<Prisma.$usersPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
2351
- /**
2352
- * Delete zero or more Users.
2353
- * @param {usersDeleteManyArgs} args - Arguments to filter Users to delete.
2354
- * @example
2355
- * // Delete a few Users
2356
- * const { count } = await prisma.users.deleteMany({
2357
- * where: {
2358
- * // ... provide filter here
2359
- * }
2360
- * })
2361
- *
2362
- */
2363
- deleteMany<T extends usersDeleteManyArgs>(args?: Prisma.SelectSubset<T, usersDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
2364
- /**
2365
- * Update zero or more Users.
2366
- * Note, that providing `undefined` is treated as the value not being there.
2367
- * Read more here: https://pris.ly/d/null-undefined
2368
- * @param {usersUpdateManyArgs} args - Arguments to update one or more rows.
2369
- * @example
2370
- * // Update many Users
2371
- * const users = await prisma.users.updateMany({
2372
- * where: {
2373
- * // ... provide filter here
2374
- * },
2375
- * data: {
2376
- * // ... provide data here
2377
- * }
2378
- * })
2379
- *
2380
- */
2381
- updateMany<T extends usersUpdateManyArgs>(args: Prisma.SelectSubset<T, usersUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
2382
- /**
2383
- * Update zero or more Users and returns the data updated in the database.
2384
- * @param {usersUpdateManyAndReturnArgs} args - Arguments to update many Users.
2385
- * @example
2386
- * // Update many Users
2387
- * const users = await prisma.users.updateManyAndReturn({
2388
- * where: {
2389
- * // ... provide filter here
2390
- * },
2391
- * data: [
2392
- * // ... provide data here
2393
- * ]
2394
- * })
2395
- *
2396
- * // Update zero or more Users and only return the `id`
2397
- * const usersWithIdOnly = await prisma.users.updateManyAndReturn({
2398
- * select: { id: true },
2399
- * where: {
2400
- * // ... provide filter here
2401
- * },
2402
- * data: [
2403
- * // ... provide data here
2404
- * ]
2405
- * })
2406
- * Note, that providing `undefined` is treated as the value not being there.
2407
- * Read more here: https://pris.ly/d/null-undefined
2408
- *
2409
- */
2410
- updateManyAndReturn<T extends usersUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, usersUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$usersPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
2411
- /**
2412
- * Create or update one Users.
2413
- * @param {usersUpsertArgs} args - Arguments to update or create a Users.
2414
- * @example
2415
- * // Update or create a Users
2416
- * const users = await prisma.users.upsert({
2417
- * create: {
2418
- * // ... data to create a Users
2419
- * },
2420
- * update: {
2421
- * // ... in case it already exists, update
2422
- * },
2423
- * where: {
2424
- * // ... the filter for the Users we want to update
2425
- * }
2426
- * })
2427
- */
2428
- upsert<T extends usersUpsertArgs>(args: Prisma.SelectSubset<T, usersUpsertArgs<ExtArgs>>): Prisma.Prisma__usersClient<runtime.Types.Result.GetResult<Prisma.$usersPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
2429
- /**
2430
- * Count the number of Users.
2431
- * Note, that providing `undefined` is treated as the value not being there.
2432
- * Read more here: https://pris.ly/d/null-undefined
2433
- * @param {usersCountArgs} args - Arguments to filter Users to count.
2434
- * @example
2435
- * // Count the number of Users
2436
- * const count = await prisma.users.count({
2437
- * where: {
2438
- * // ... the filter for the Users we want to count
2439
- * }
2440
- * })
2441
- **/
2442
- count<T extends usersCountArgs>(args?: Prisma.Subset<T, usersCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], UsersCountAggregateOutputType> : number>;
2443
- /**
2444
- * Allows you to perform aggregations operations on a Users.
2445
- * Note, that providing `undefined` is treated as the value not being there.
2446
- * Read more here: https://pris.ly/d/null-undefined
2447
- * @param {UsersAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
2448
- * @example
2449
- * // Ordered by age ascending
2450
- * // Where email contains prisma.io
2451
- * // Limited to the 10 users
2452
- * const aggregations = await prisma.user.aggregate({
2453
- * _avg: {
2454
- * age: true,
2455
- * },
2456
- * where: {
2457
- * email: {
2458
- * contains: "prisma.io",
2459
- * },
2460
- * },
2461
- * orderBy: {
2462
- * age: "asc",
2463
- * },
2464
- * take: 10,
2465
- * })
2466
- **/
2467
- aggregate<T extends UsersAggregateArgs>(args: Prisma.Subset<T, UsersAggregateArgs>): Prisma.PrismaPromise<GetUsersAggregateType<T>>;
2468
- /**
2469
- * Group by Users.
2470
- * Note, that providing `undefined` is treated as the value not being there.
2471
- * Read more here: https://pris.ly/d/null-undefined
2472
- * @param {usersGroupByArgs} args - Group by arguments.
2473
- * @example
2474
- * // Group by city, order by createdAt, get count
2475
- * const result = await prisma.user.groupBy({
2476
- * by: ['city', 'createdAt'],
2477
- * orderBy: {
2478
- * createdAt: true
2479
- * },
2480
- * _count: {
2481
- * _all: true
2482
- * },
2483
- * })
2484
- *
2485
- **/
2486
- groupBy<T extends usersGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
2487
- orderBy: usersGroupByArgs['orderBy'];
2488
- } : {
2489
- orderBy?: usersGroupByArgs['orderBy'];
2490
- }, 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 ? {
2491
- [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
2492
- Error,
2493
- 'Field ',
2494
- P,
2495
- ` in "having" needs to be provided in "by"`
2496
- ];
2497
- }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
2498
- [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
2499
- }[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 ? {} : {
2500
- [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
2501
- }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
2502
- [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
2503
- }[OrderFields]>(args: Prisma.SubsetIntersection<T, usersGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetUsersGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
2504
- /**
2505
- * Fields of the users model
2506
- */
2507
- readonly fields: usersFieldRefs;
2508
- }
2509
- /**
2510
- * The delegate class that acts as a "Promise-like" for users.
2511
- * Why is this prefixed with `Prisma__`?
2512
- * Because we want to prevent naming conflicts as mentioned in
2513
- * https://github.com/prisma/prisma-client-js/issues/707
2514
- */
2515
- export interface Prisma__usersClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
2516
- readonly [Symbol.toStringTag]: "PrismaPromise";
2517
- lead_user<T extends Prisma.users$lead_userArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.users$lead_userArgs<ExtArgs>>): Prisma.Prisma__usersClient<runtime.Types.Result.GetResult<Prisma.$usersPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
2518
- subagents<T extends Prisma.users$subagentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.users$subagentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$usersPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
2519
- mail_messages_sent<T extends Prisma.users$mail_messages_sentArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.users$mail_messages_sentArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$mail_messagesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
2520
- mail_recipients<T extends Prisma.users$mail_recipientsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.users$mail_recipientsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$mail_recipientsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
2521
- run_sessions<T extends Prisma.users$run_sessionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.users$run_sessionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$run_sessionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
2522
- context_logs<T extends Prisma.users$context_logsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.users$context_logsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$context_logPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
2523
- costs<T extends Prisma.users$costsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.users$costsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$costsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
2524
- uploaded_attachments<T extends Prisma.users$uploaded_attachmentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.users$uploaded_attachmentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$attachmentsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
2525
- user_notifications<T extends Prisma.users$user_notificationsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.users$user_notificationsArgs<ExtArgs>>): Prisma.Prisma__user_notificationsClient<runtime.Types.Result.GetResult<Prisma.$user_notificationsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
2526
- user_hosts<T extends Prisma.users$user_hostsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.users$user_hostsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$user_hostsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
2527
- config_revisions<T extends Prisma.users$config_revisionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.users$config_revisionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$config_revisionsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
2528
- config_changes_made<T extends Prisma.users$config_changes_madeArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.users$config_changes_madeArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$config_revisionsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
2529
- /**
2530
- * Attaches callbacks for the resolution and/or rejection of the Promise.
2531
- * @param onfulfilled The callback to execute when the Promise is resolved.
2532
- * @param onrejected The callback to execute when the Promise is rejected.
2533
- * @returns A Promise for the completion of which ever callback is executed.
2534
- */
2535
- 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>;
2536
- /**
2537
- * Attaches a callback for only the rejection of the Promise.
2538
- * @param onrejected The callback to execute when the Promise is rejected.
2539
- * @returns A Promise for the completion of the callback.
2540
- */
2541
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
2542
- /**
2543
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
2544
- * resolved value cannot be modified from the callback.
2545
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
2546
- * @returns A Promise for the completion of the callback.
2547
- */
2548
- finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
2549
- }
2550
- /**
2551
- * Fields of the users model
2552
- */
2553
- export interface usersFieldRefs {
2554
- readonly id: Prisma.FieldRef<"users", 'Int'>;
2555
- readonly uuid: Prisma.FieldRef<"users", 'String'>;
2556
- readonly username: Prisma.FieldRef<"users", 'String'>;
2557
- readonly title: Prisma.FieldRef<"users", 'String'>;
2558
- readonly api_key: Prisma.FieldRef<"users", 'String'>;
2559
- readonly lead_user_id: Prisma.FieldRef<"users", 'Int'>;
2560
- readonly config: Prisma.FieldRef<"users", 'String'>;
2561
- readonly created_at: Prisma.FieldRef<"users", 'DateTime'>;
2562
- readonly updated_at: Prisma.FieldRef<"users", 'DateTime'>;
2563
- readonly enabled: Prisma.FieldRef<"users", 'Boolean'>;
2564
- readonly archived: Prisma.FieldRef<"users", 'Boolean'>;
2565
- }
2566
- /**
2567
- * users findUnique
2568
- */
2569
- export type usersFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2570
- /**
2571
- * Select specific fields to fetch from the users
2572
- */
2573
- select?: Prisma.usersSelect<ExtArgs> | null;
2574
- /**
2575
- * Omit specific fields from the users
2576
- */
2577
- omit?: Prisma.usersOmit<ExtArgs> | null;
2578
- /**
2579
- * Choose, which related nodes to fetch as well
2580
- */
2581
- include?: Prisma.usersInclude<ExtArgs> | null;
2582
- /**
2583
- * Filter, which users to fetch.
2584
- */
2585
- where: Prisma.usersWhereUniqueInput;
2586
- };
2587
- /**
2588
- * users findUniqueOrThrow
2589
- */
2590
- export type usersFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2591
- /**
2592
- * Select specific fields to fetch from the users
2593
- */
2594
- select?: Prisma.usersSelect<ExtArgs> | null;
2595
- /**
2596
- * Omit specific fields from the users
2597
- */
2598
- omit?: Prisma.usersOmit<ExtArgs> | null;
2599
- /**
2600
- * Choose, which related nodes to fetch as well
2601
- */
2602
- include?: Prisma.usersInclude<ExtArgs> | null;
2603
- /**
2604
- * Filter, which users to fetch.
2605
- */
2606
- where: Prisma.usersWhereUniqueInput;
2607
- };
2608
- /**
2609
- * users findFirst
2610
- */
2611
- export type usersFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2612
- /**
2613
- * Select specific fields to fetch from the users
2614
- */
2615
- select?: Prisma.usersSelect<ExtArgs> | null;
2616
- /**
2617
- * Omit specific fields from the users
2618
- */
2619
- omit?: Prisma.usersOmit<ExtArgs> | null;
2620
- /**
2621
- * Choose, which related nodes to fetch as well
2622
- */
2623
- include?: Prisma.usersInclude<ExtArgs> | null;
2624
- /**
2625
- * Filter, which users to fetch.
2626
- */
2627
- where?: Prisma.usersWhereInput;
2628
- /**
2629
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2630
- *
2631
- * Determine the order of users to fetch.
2632
- */
2633
- orderBy?: Prisma.usersOrderByWithRelationInput | Prisma.usersOrderByWithRelationInput[];
2634
- /**
2635
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2636
- *
2637
- * Sets the position for searching for users.
2638
- */
2639
- cursor?: Prisma.usersWhereUniqueInput;
2640
- /**
2641
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2642
- *
2643
- * Take `±n` users from the position of the cursor.
2644
- */
2645
- take?: number;
2646
- /**
2647
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2648
- *
2649
- * Skip the first `n` users.
2650
- */
2651
- skip?: number;
2652
- /**
2653
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2654
- *
2655
- * Filter by unique combinations of users.
2656
- */
2657
- distinct?: Prisma.UsersScalarFieldEnum | Prisma.UsersScalarFieldEnum[];
2658
- };
2659
- /**
2660
- * users findFirstOrThrow
2661
- */
2662
- export type usersFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2663
- /**
2664
- * Select specific fields to fetch from the users
2665
- */
2666
- select?: Prisma.usersSelect<ExtArgs> | null;
2667
- /**
2668
- * Omit specific fields from the users
2669
- */
2670
- omit?: Prisma.usersOmit<ExtArgs> | null;
2671
- /**
2672
- * Choose, which related nodes to fetch as well
2673
- */
2674
- include?: Prisma.usersInclude<ExtArgs> | null;
2675
- /**
2676
- * Filter, which users to fetch.
2677
- */
2678
- where?: Prisma.usersWhereInput;
2679
- /**
2680
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2681
- *
2682
- * Determine the order of users to fetch.
2683
- */
2684
- orderBy?: Prisma.usersOrderByWithRelationInput | Prisma.usersOrderByWithRelationInput[];
2685
- /**
2686
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2687
- *
2688
- * Sets the position for searching for users.
2689
- */
2690
- cursor?: Prisma.usersWhereUniqueInput;
2691
- /**
2692
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2693
- *
2694
- * Take `±n` users from the position of the cursor.
2695
- */
2696
- take?: number;
2697
- /**
2698
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2699
- *
2700
- * Skip the first `n` users.
2701
- */
2702
- skip?: number;
2703
- /**
2704
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2705
- *
2706
- * Filter by unique combinations of users.
2707
- */
2708
- distinct?: Prisma.UsersScalarFieldEnum | Prisma.UsersScalarFieldEnum[];
2709
- };
2710
- /**
2711
- * users findMany
2712
- */
2713
- export type usersFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2714
- /**
2715
- * Select specific fields to fetch from the users
2716
- */
2717
- select?: Prisma.usersSelect<ExtArgs> | null;
2718
- /**
2719
- * Omit specific fields from the users
2720
- */
2721
- omit?: Prisma.usersOmit<ExtArgs> | null;
2722
- /**
2723
- * Choose, which related nodes to fetch as well
2724
- */
2725
- include?: Prisma.usersInclude<ExtArgs> | null;
2726
- /**
2727
- * Filter, which users to fetch.
2728
- */
2729
- where?: Prisma.usersWhereInput;
2730
- /**
2731
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2732
- *
2733
- * Determine the order of users to fetch.
2734
- */
2735
- orderBy?: Prisma.usersOrderByWithRelationInput | Prisma.usersOrderByWithRelationInput[];
2736
- /**
2737
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2738
- *
2739
- * Sets the position for listing users.
2740
- */
2741
- cursor?: Prisma.usersWhereUniqueInput;
2742
- /**
2743
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2744
- *
2745
- * Take `±n` users from the position of the cursor.
2746
- */
2747
- take?: number;
2748
- /**
2749
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2750
- *
2751
- * Skip the first `n` users.
2752
- */
2753
- skip?: number;
2754
- /**
2755
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2756
- *
2757
- * Filter by unique combinations of users.
2758
- */
2759
- distinct?: Prisma.UsersScalarFieldEnum | Prisma.UsersScalarFieldEnum[];
2760
- };
2761
- /**
2762
- * users create
2763
- */
2764
- export type usersCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2765
- /**
2766
- * Select specific fields to fetch from the users
2767
- */
2768
- select?: Prisma.usersSelect<ExtArgs> | null;
2769
- /**
2770
- * Omit specific fields from the users
2771
- */
2772
- omit?: Prisma.usersOmit<ExtArgs> | null;
2773
- /**
2774
- * Choose, which related nodes to fetch as well
2775
- */
2776
- include?: Prisma.usersInclude<ExtArgs> | null;
2777
- /**
2778
- * The data needed to create a users.
2779
- */
2780
- data: Prisma.XOR<Prisma.usersCreateInput, Prisma.usersUncheckedCreateInput>;
2781
- };
2782
- /**
2783
- * users createMany
2784
- */
2785
- export type usersCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2786
- /**
2787
- * The data used to create many users.
2788
- */
2789
- data: Prisma.usersCreateManyInput | Prisma.usersCreateManyInput[];
2790
- };
2791
- /**
2792
- * users createManyAndReturn
2793
- */
2794
- export type usersCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2795
- /**
2796
- * Select specific fields to fetch from the users
2797
- */
2798
- select?: Prisma.usersSelectCreateManyAndReturn<ExtArgs> | null;
2799
- /**
2800
- * Omit specific fields from the users
2801
- */
2802
- omit?: Prisma.usersOmit<ExtArgs> | null;
2803
- /**
2804
- * The data used to create many users.
2805
- */
2806
- data: Prisma.usersCreateManyInput | Prisma.usersCreateManyInput[];
2807
- /**
2808
- * Choose, which related nodes to fetch as well
2809
- */
2810
- include?: Prisma.usersIncludeCreateManyAndReturn<ExtArgs> | null;
2811
- };
2812
- /**
2813
- * users update
2814
- */
2815
- export type usersUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2816
- /**
2817
- * Select specific fields to fetch from the users
2818
- */
2819
- select?: Prisma.usersSelect<ExtArgs> | null;
2820
- /**
2821
- * Omit specific fields from the users
2822
- */
2823
- omit?: Prisma.usersOmit<ExtArgs> | null;
2824
- /**
2825
- * Choose, which related nodes to fetch as well
2826
- */
2827
- include?: Prisma.usersInclude<ExtArgs> | null;
2828
- /**
2829
- * The data needed to update a users.
2830
- */
2831
- data: Prisma.XOR<Prisma.usersUpdateInput, Prisma.usersUncheckedUpdateInput>;
2832
- /**
2833
- * Choose, which users to update.
2834
- */
2835
- where: Prisma.usersWhereUniqueInput;
2836
- };
2837
- /**
2838
- * users updateMany
2839
- */
2840
- export type usersUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2841
- /**
2842
- * The data used to update users.
2843
- */
2844
- data: Prisma.XOR<Prisma.usersUpdateManyMutationInput, Prisma.usersUncheckedUpdateManyInput>;
2845
- /**
2846
- * Filter which users to update
2847
- */
2848
- where?: Prisma.usersWhereInput;
2849
- /**
2850
- * Limit how many users to update.
2851
- */
2852
- limit?: number;
2853
- };
2854
- /**
2855
- * users updateManyAndReturn
2856
- */
2857
- export type usersUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2858
- /**
2859
- * Select specific fields to fetch from the users
2860
- */
2861
- select?: Prisma.usersSelectUpdateManyAndReturn<ExtArgs> | null;
2862
- /**
2863
- * Omit specific fields from the users
2864
- */
2865
- omit?: Prisma.usersOmit<ExtArgs> | null;
2866
- /**
2867
- * The data used to update users.
2868
- */
2869
- data: Prisma.XOR<Prisma.usersUpdateManyMutationInput, Prisma.usersUncheckedUpdateManyInput>;
2870
- /**
2871
- * Filter which users to update
2872
- */
2873
- where?: Prisma.usersWhereInput;
2874
- /**
2875
- * Limit how many users to update.
2876
- */
2877
- limit?: number;
2878
- /**
2879
- * Choose, which related nodes to fetch as well
2880
- */
2881
- include?: Prisma.usersIncludeUpdateManyAndReturn<ExtArgs> | null;
2882
- };
2883
- /**
2884
- * users upsert
2885
- */
2886
- export type usersUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2887
- /**
2888
- * Select specific fields to fetch from the users
2889
- */
2890
- select?: Prisma.usersSelect<ExtArgs> | null;
2891
- /**
2892
- * Omit specific fields from the users
2893
- */
2894
- omit?: Prisma.usersOmit<ExtArgs> | null;
2895
- /**
2896
- * Choose, which related nodes to fetch as well
2897
- */
2898
- include?: Prisma.usersInclude<ExtArgs> | null;
2899
- /**
2900
- * The filter to search for the users to update in case it exists.
2901
- */
2902
- where: Prisma.usersWhereUniqueInput;
2903
- /**
2904
- * In case the users found by the `where` argument doesn't exist, create a new users with this data.
2905
- */
2906
- create: Prisma.XOR<Prisma.usersCreateInput, Prisma.usersUncheckedCreateInput>;
2907
- /**
2908
- * In case the users was found with the provided `where` argument, update it with this data.
2909
- */
2910
- update: Prisma.XOR<Prisma.usersUpdateInput, Prisma.usersUncheckedUpdateInput>;
2911
- };
2912
- /**
2913
- * users delete
2914
- */
2915
- export type usersDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2916
- /**
2917
- * Select specific fields to fetch from the users
2918
- */
2919
- select?: Prisma.usersSelect<ExtArgs> | null;
2920
- /**
2921
- * Omit specific fields from the users
2922
- */
2923
- omit?: Prisma.usersOmit<ExtArgs> | null;
2924
- /**
2925
- * Choose, which related nodes to fetch as well
2926
- */
2927
- include?: Prisma.usersInclude<ExtArgs> | null;
2928
- /**
2929
- * Filter which users to delete.
2930
- */
2931
- where: Prisma.usersWhereUniqueInput;
2932
- };
2933
- /**
2934
- * users deleteMany
2935
- */
2936
- export type usersDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2937
- /**
2938
- * Filter which users to delete
2939
- */
2940
- where?: Prisma.usersWhereInput;
2941
- /**
2942
- * Limit how many users to delete.
2943
- */
2944
- limit?: number;
2945
- };
2946
- /**
2947
- * users.lead_user
2948
- */
2949
- export type users$lead_userArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2950
- /**
2951
- * Select specific fields to fetch from the users
2952
- */
2953
- select?: Prisma.usersSelect<ExtArgs> | null;
2954
- /**
2955
- * Omit specific fields from the users
2956
- */
2957
- omit?: Prisma.usersOmit<ExtArgs> | null;
2958
- /**
2959
- * Choose, which related nodes to fetch as well
2960
- */
2961
- include?: Prisma.usersInclude<ExtArgs> | null;
2962
- where?: Prisma.usersWhereInput;
2963
- };
2964
- /**
2965
- * users.subagents
2966
- */
2967
- export type users$subagentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2968
- /**
2969
- * Select specific fields to fetch from the users
2970
- */
2971
- select?: Prisma.usersSelect<ExtArgs> | null;
2972
- /**
2973
- * Omit specific fields from the users
2974
- */
2975
- omit?: Prisma.usersOmit<ExtArgs> | null;
2976
- /**
2977
- * Choose, which related nodes to fetch as well
2978
- */
2979
- include?: Prisma.usersInclude<ExtArgs> | null;
2980
- where?: Prisma.usersWhereInput;
2981
- orderBy?: Prisma.usersOrderByWithRelationInput | Prisma.usersOrderByWithRelationInput[];
2982
- cursor?: Prisma.usersWhereUniqueInput;
2983
- take?: number;
2984
- skip?: number;
2985
- distinct?: Prisma.UsersScalarFieldEnum | Prisma.UsersScalarFieldEnum[];
2986
- };
2987
- /**
2988
- * users.mail_messages_sent
2989
- */
2990
- export type users$mail_messages_sentArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2991
- /**
2992
- * Select specific fields to fetch from the mail_messages
2993
- */
2994
- select?: Prisma.mail_messagesSelect<ExtArgs> | null;
2995
- /**
2996
- * Omit specific fields from the mail_messages
2997
- */
2998
- omit?: Prisma.mail_messagesOmit<ExtArgs> | null;
2999
- /**
3000
- * Choose, which related nodes to fetch as well
3001
- */
3002
- include?: Prisma.mail_messagesInclude<ExtArgs> | null;
3003
- where?: Prisma.mail_messagesWhereInput;
3004
- orderBy?: Prisma.mail_messagesOrderByWithRelationInput | Prisma.mail_messagesOrderByWithRelationInput[];
3005
- cursor?: Prisma.mail_messagesWhereUniqueInput;
3006
- take?: number;
3007
- skip?: number;
3008
- distinct?: Prisma.Mail_messagesScalarFieldEnum | Prisma.Mail_messagesScalarFieldEnum[];
3009
- };
3010
- /**
3011
- * users.mail_recipients
3012
- */
3013
- export type users$mail_recipientsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3014
- /**
3015
- * Select specific fields to fetch from the mail_recipients
3016
- */
3017
- select?: Prisma.mail_recipientsSelect<ExtArgs> | null;
3018
- /**
3019
- * Omit specific fields from the mail_recipients
3020
- */
3021
- omit?: Prisma.mail_recipientsOmit<ExtArgs> | null;
3022
- /**
3023
- * Choose, which related nodes to fetch as well
3024
- */
3025
- include?: Prisma.mail_recipientsInclude<ExtArgs> | null;
3026
- where?: Prisma.mail_recipientsWhereInput;
3027
- orderBy?: Prisma.mail_recipientsOrderByWithRelationInput | Prisma.mail_recipientsOrderByWithRelationInput[];
3028
- cursor?: Prisma.mail_recipientsWhereUniqueInput;
3029
- take?: number;
3030
- skip?: number;
3031
- distinct?: Prisma.Mail_recipientsScalarFieldEnum | Prisma.Mail_recipientsScalarFieldEnum[];
3032
- };
3033
- /**
3034
- * users.run_sessions
3035
- */
3036
- export type users$run_sessionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3037
- /**
3038
- * Select specific fields to fetch from the run_session
3039
- */
3040
- select?: Prisma.run_sessionSelect<ExtArgs> | null;
3041
- /**
3042
- * Omit specific fields from the run_session
3043
- */
3044
- omit?: Prisma.run_sessionOmit<ExtArgs> | null;
3045
- /**
3046
- * Choose, which related nodes to fetch as well
3047
- */
3048
- include?: Prisma.run_sessionInclude<ExtArgs> | null;
3049
- where?: Prisma.run_sessionWhereInput;
3050
- orderBy?: Prisma.run_sessionOrderByWithRelationInput | Prisma.run_sessionOrderByWithRelationInput[];
3051
- cursor?: Prisma.run_sessionWhereUniqueInput;
3052
- take?: number;
3053
- skip?: number;
3054
- distinct?: Prisma.Run_sessionScalarFieldEnum | Prisma.Run_sessionScalarFieldEnum[];
3055
- };
3056
- /**
3057
- * users.context_logs
3058
- */
3059
- export type users$context_logsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3060
- /**
3061
- * Select specific fields to fetch from the context_log
3062
- */
3063
- select?: Prisma.context_logSelect<ExtArgs> | null;
3064
- /**
3065
- * Omit specific fields from the context_log
3066
- */
3067
- omit?: Prisma.context_logOmit<ExtArgs> | null;
3068
- /**
3069
- * Choose, which related nodes to fetch as well
3070
- */
3071
- include?: Prisma.context_logInclude<ExtArgs> | null;
3072
- where?: Prisma.context_logWhereInput;
3073
- orderBy?: Prisma.context_logOrderByWithRelationInput | Prisma.context_logOrderByWithRelationInput[];
3074
- cursor?: Prisma.context_logWhereUniqueInput;
3075
- take?: number;
3076
- skip?: number;
3077
- distinct?: Prisma.Context_logScalarFieldEnum | Prisma.Context_logScalarFieldEnum[];
3078
- };
3079
- /**
3080
- * users.costs
3081
- */
3082
- export type users$costsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3083
- /**
3084
- * Select specific fields to fetch from the costs
3085
- */
3086
- select?: Prisma.costsSelect<ExtArgs> | null;
3087
- /**
3088
- * Omit specific fields from the costs
3089
- */
3090
- omit?: Prisma.costsOmit<ExtArgs> | null;
3091
- /**
3092
- * Choose, which related nodes to fetch as well
3093
- */
3094
- include?: Prisma.costsInclude<ExtArgs> | null;
3095
- where?: Prisma.costsWhereInput;
3096
- orderBy?: Prisma.costsOrderByWithRelationInput | Prisma.costsOrderByWithRelationInput[];
3097
- cursor?: Prisma.costsWhereUniqueInput;
3098
- take?: number;
3099
- skip?: number;
3100
- distinct?: Prisma.CostsScalarFieldEnum | Prisma.CostsScalarFieldEnum[];
3101
- };
3102
- /**
3103
- * users.uploaded_attachments
3104
- */
3105
- export type users$uploaded_attachmentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3106
- /**
3107
- * Select specific fields to fetch from the attachments
3108
- */
3109
- select?: Prisma.attachmentsSelect<ExtArgs> | null;
3110
- /**
3111
- * Omit specific fields from the attachments
3112
- */
3113
- omit?: Prisma.attachmentsOmit<ExtArgs> | null;
3114
- /**
3115
- * Choose, which related nodes to fetch as well
3116
- */
3117
- include?: Prisma.attachmentsInclude<ExtArgs> | null;
3118
- where?: Prisma.attachmentsWhereInput;
3119
- orderBy?: Prisma.attachmentsOrderByWithRelationInput | Prisma.attachmentsOrderByWithRelationInput[];
3120
- cursor?: Prisma.attachmentsWhereUniqueInput;
3121
- take?: number;
3122
- skip?: number;
3123
- distinct?: Prisma.AttachmentsScalarFieldEnum | Prisma.AttachmentsScalarFieldEnum[];
3124
- };
3125
- /**
3126
- * users.user_notifications
3127
- */
3128
- export type users$user_notificationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3129
- /**
3130
- * Select specific fields to fetch from the user_notifications
3131
- */
3132
- select?: Prisma.user_notificationsSelect<ExtArgs> | null;
3133
- /**
3134
- * Omit specific fields from the user_notifications
3135
- */
3136
- omit?: Prisma.user_notificationsOmit<ExtArgs> | null;
3137
- /**
3138
- * Choose, which related nodes to fetch as well
3139
- */
3140
- include?: Prisma.user_notificationsInclude<ExtArgs> | null;
3141
- where?: Prisma.user_notificationsWhereInput;
3142
- };
3143
- /**
3144
- * users.user_hosts
3145
- */
3146
- export type users$user_hostsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3147
- /**
3148
- * Select specific fields to fetch from the user_hosts
3149
- */
3150
- select?: Prisma.user_hostsSelect<ExtArgs> | null;
3151
- /**
3152
- * Omit specific fields from the user_hosts
3153
- */
3154
- omit?: Prisma.user_hostsOmit<ExtArgs> | null;
3155
- /**
3156
- * Choose, which related nodes to fetch as well
3157
- */
3158
- include?: Prisma.user_hostsInclude<ExtArgs> | null;
3159
- where?: Prisma.user_hostsWhereInput;
3160
- orderBy?: Prisma.user_hostsOrderByWithRelationInput | Prisma.user_hostsOrderByWithRelationInput[];
3161
- cursor?: Prisma.user_hostsWhereUniqueInput;
3162
- take?: number;
3163
- skip?: number;
3164
- distinct?: Prisma.User_hostsScalarFieldEnum | Prisma.User_hostsScalarFieldEnum[];
3165
- };
3166
- /**
3167
- * users.config_revisions
3168
- */
3169
- export type users$config_revisionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3170
- /**
3171
- * Select specific fields to fetch from the config_revisions
3172
- */
3173
- select?: Prisma.config_revisionsSelect<ExtArgs> | null;
3174
- /**
3175
- * Omit specific fields from the config_revisions
3176
- */
3177
- omit?: Prisma.config_revisionsOmit<ExtArgs> | null;
3178
- /**
3179
- * Choose, which related nodes to fetch as well
3180
- */
3181
- include?: Prisma.config_revisionsInclude<ExtArgs> | null;
3182
- where?: Prisma.config_revisionsWhereInput;
3183
- orderBy?: Prisma.config_revisionsOrderByWithRelationInput | Prisma.config_revisionsOrderByWithRelationInput[];
3184
- cursor?: Prisma.config_revisionsWhereUniqueInput;
3185
- take?: number;
3186
- skip?: number;
3187
- distinct?: Prisma.Config_revisionsScalarFieldEnum | Prisma.Config_revisionsScalarFieldEnum[];
3188
- };
3189
- /**
3190
- * users.config_changes_made
3191
- */
3192
- export type users$config_changes_madeArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3193
- /**
3194
- * Select specific fields to fetch from the config_revisions
3195
- */
3196
- select?: Prisma.config_revisionsSelect<ExtArgs> | null;
3197
- /**
3198
- * Omit specific fields from the config_revisions
3199
- */
3200
- omit?: Prisma.config_revisionsOmit<ExtArgs> | null;
3201
- /**
3202
- * Choose, which related nodes to fetch as well
3203
- */
3204
- include?: Prisma.config_revisionsInclude<ExtArgs> | null;
3205
- where?: Prisma.config_revisionsWhereInput;
3206
- orderBy?: Prisma.config_revisionsOrderByWithRelationInput | Prisma.config_revisionsOrderByWithRelationInput[];
3207
- cursor?: Prisma.config_revisionsWhereUniqueInput;
3208
- take?: number;
3209
- skip?: number;
3210
- distinct?: Prisma.Config_revisionsScalarFieldEnum | Prisma.Config_revisionsScalarFieldEnum[];
3211
- };
3212
- /**
3213
- * users without action
3214
- */
3215
- export type usersDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3216
- /**
3217
- * Select specific fields to fetch from the users
3218
- */
3219
- select?: Prisma.usersSelect<ExtArgs> | null;
3220
- /**
3221
- * Omit specific fields from the users
3222
- */
3223
- omit?: Prisma.usersOmit<ExtArgs> | null;
3224
- /**
3225
- * Choose, which related nodes to fetch as well
3226
- */
3227
- include?: Prisma.usersInclude<ExtArgs> | null;
3228
- };
3229
- //# sourceMappingURL=users.d.ts.map