zele 0.1.2 → 0.2.0

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