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