zele 0.2.0 → 0.3.5

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