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,2000 +0,0 @@
1
- import type * as runtime from "@prisma/client/runtime/client";
2
- import type * as $Enums from "../enums.js";
3
- import type * as Prisma from "../internal/prismaNamespace.js";
4
- /**
5
- * Model accounts
6
- *
7
- */
8
- export type accountsModel = runtime.Types.Result.DefaultSelection<Prisma.$accountsPayload>;
9
- export type AggregateAccounts = {
10
- _count: AccountsCountAggregateOutputType | null;
11
- _min: AccountsMinAggregateOutputType | null;
12
- _max: AccountsMaxAggregateOutputType | null;
13
- };
14
- export type AccountsMinAggregateOutputType = {
15
- email: string | null;
16
- account_status: $Enums.AccountStatus | null;
17
- tokens: string | null;
18
- created_at: Date | null;
19
- updated_at: Date | null;
20
- };
21
- export type AccountsMaxAggregateOutputType = {
22
- email: string | null;
23
- account_status: $Enums.AccountStatus | null;
24
- tokens: string | null;
25
- created_at: Date | null;
26
- updated_at: Date | null;
27
- };
28
- export type AccountsCountAggregateOutputType = {
29
- email: number;
30
- account_status: number;
31
- tokens: number;
32
- created_at: number;
33
- updated_at: number;
34
- _all: number;
35
- };
36
- export type AccountsMinAggregateInputType = {
37
- email?: true;
38
- account_status?: true;
39
- tokens?: true;
40
- created_at?: true;
41
- updated_at?: true;
42
- };
43
- export type AccountsMaxAggregateInputType = {
44
- email?: true;
45
- account_status?: true;
46
- tokens?: true;
47
- created_at?: true;
48
- updated_at?: true;
49
- };
50
- export type AccountsCountAggregateInputType = {
51
- email?: true;
52
- account_status?: true;
53
- tokens?: true;
54
- created_at?: true;
55
- updated_at?: true;
56
- _all?: true;
57
- };
58
- export type AccountsAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
59
- /**
60
- * Filter which accounts to aggregate.
61
- */
62
- where?: Prisma.accountsWhereInput;
63
- /**
64
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
65
- *
66
- * Determine the order of accounts to fetch.
67
- */
68
- orderBy?: Prisma.accountsOrderByWithRelationInput | Prisma.accountsOrderByWithRelationInput[];
69
- /**
70
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
71
- *
72
- * Sets the start position
73
- */
74
- cursor?: Prisma.accountsWhereUniqueInput;
75
- /**
76
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
77
- *
78
- * Take `±n` accounts from the position of the cursor.
79
- */
80
- take?: number;
81
- /**
82
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
83
- *
84
- * Skip the first `n` accounts.
85
- */
86
- skip?: number;
87
- /**
88
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
89
- *
90
- * Count returned accounts
91
- **/
92
- _count?: true | AccountsCountAggregateInputType;
93
- /**
94
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
95
- *
96
- * Select which fields to find the minimum value
97
- **/
98
- _min?: AccountsMinAggregateInputType;
99
- /**
100
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
101
- *
102
- * Select which fields to find the maximum value
103
- **/
104
- _max?: AccountsMaxAggregateInputType;
105
- };
106
- export type GetAccountsAggregateType<T extends AccountsAggregateArgs> = {
107
- [P in keyof T & keyof AggregateAccounts]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateAccounts[P]> : Prisma.GetScalarType<T[P], AggregateAccounts[P]>;
108
- };
109
- export type accountsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
110
- where?: Prisma.accountsWhereInput;
111
- orderBy?: Prisma.accountsOrderByWithAggregationInput | Prisma.accountsOrderByWithAggregationInput[];
112
- by: Prisma.AccountsScalarFieldEnum[] | Prisma.AccountsScalarFieldEnum;
113
- having?: Prisma.accountsScalarWhereWithAggregatesInput;
114
- take?: number;
115
- skip?: number;
116
- _count?: AccountsCountAggregateInputType | true;
117
- _min?: AccountsMinAggregateInputType;
118
- _max?: AccountsMaxAggregateInputType;
119
- };
120
- export type AccountsGroupByOutputType = {
121
- email: string;
122
- account_status: $Enums.AccountStatus;
123
- tokens: string;
124
- created_at: Date;
125
- updated_at: Date;
126
- _count: AccountsCountAggregateOutputType | null;
127
- _min: AccountsMinAggregateOutputType | null;
128
- _max: AccountsMaxAggregateOutputType | null;
129
- };
130
- type GetAccountsGroupByPayload<T extends accountsGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<AccountsGroupByOutputType, T['by']> & {
131
- [P in ((keyof T) & (keyof AccountsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], AccountsGroupByOutputType[P]> : Prisma.GetScalarType<T[P], AccountsGroupByOutputType[P]>;
132
- }>>;
133
- export type accountsWhereInput = {
134
- AND?: Prisma.accountsWhereInput | Prisma.accountsWhereInput[];
135
- OR?: Prisma.accountsWhereInput[];
136
- NOT?: Prisma.accountsWhereInput | Prisma.accountsWhereInput[];
137
- email?: Prisma.StringFilter<"accounts"> | string;
138
- account_status?: Prisma.EnumAccountStatusFilter<"accounts"> | $Enums.AccountStatus;
139
- tokens?: Prisma.StringFilter<"accounts"> | string;
140
- created_at?: Prisma.DateTimeFilter<"accounts"> | Date | string;
141
- updated_at?: Prisma.DateTimeFilter<"accounts"> | Date | string;
142
- thread_lists?: Prisma.Thread_listsListRelationFilter;
143
- threads?: Prisma.ThreadsListRelationFilter;
144
- labels?: Prisma.XOR<Prisma.LabelsNullableScalarRelationFilter, Prisma.labelsWhereInput> | null;
145
- label_counts?: Prisma.XOR<Prisma.Label_countsNullableScalarRelationFilter, Prisma.label_countsWhereInput> | null;
146
- profiles?: Prisma.XOR<Prisma.ProfilesNullableScalarRelationFilter, Prisma.profilesWhereInput> | null;
147
- sync_states?: Prisma.Sync_statesListRelationFilter;
148
- calendar_lists?: Prisma.XOR<Prisma.Calendar_listsNullableScalarRelationFilter, Prisma.calendar_listsWhereInput> | null;
149
- calendar_events?: Prisma.Calendar_eventsListRelationFilter;
150
- };
151
- export type accountsOrderByWithRelationInput = {
152
- email?: Prisma.SortOrder;
153
- account_status?: Prisma.SortOrder;
154
- tokens?: Prisma.SortOrder;
155
- created_at?: Prisma.SortOrder;
156
- updated_at?: Prisma.SortOrder;
157
- thread_lists?: Prisma.thread_listsOrderByRelationAggregateInput;
158
- threads?: Prisma.threadsOrderByRelationAggregateInput;
159
- labels?: Prisma.labelsOrderByWithRelationInput;
160
- label_counts?: Prisma.label_countsOrderByWithRelationInput;
161
- profiles?: Prisma.profilesOrderByWithRelationInput;
162
- sync_states?: Prisma.sync_statesOrderByRelationAggregateInput;
163
- calendar_lists?: Prisma.calendar_listsOrderByWithRelationInput;
164
- calendar_events?: Prisma.calendar_eventsOrderByRelationAggregateInput;
165
- };
166
- export type accountsWhereUniqueInput = Prisma.AtLeast<{
167
- email?: string;
168
- AND?: Prisma.accountsWhereInput | Prisma.accountsWhereInput[];
169
- OR?: Prisma.accountsWhereInput[];
170
- NOT?: Prisma.accountsWhereInput | Prisma.accountsWhereInput[];
171
- account_status?: Prisma.EnumAccountStatusFilter<"accounts"> | $Enums.AccountStatus;
172
- tokens?: Prisma.StringFilter<"accounts"> | string;
173
- created_at?: Prisma.DateTimeFilter<"accounts"> | Date | string;
174
- updated_at?: Prisma.DateTimeFilter<"accounts"> | Date | string;
175
- thread_lists?: Prisma.Thread_listsListRelationFilter;
176
- threads?: Prisma.ThreadsListRelationFilter;
177
- labels?: Prisma.XOR<Prisma.LabelsNullableScalarRelationFilter, Prisma.labelsWhereInput> | null;
178
- label_counts?: Prisma.XOR<Prisma.Label_countsNullableScalarRelationFilter, Prisma.label_countsWhereInput> | null;
179
- profiles?: Prisma.XOR<Prisma.ProfilesNullableScalarRelationFilter, Prisma.profilesWhereInput> | null;
180
- sync_states?: Prisma.Sync_statesListRelationFilter;
181
- calendar_lists?: Prisma.XOR<Prisma.Calendar_listsNullableScalarRelationFilter, Prisma.calendar_listsWhereInput> | null;
182
- calendar_events?: Prisma.Calendar_eventsListRelationFilter;
183
- }, "email">;
184
- export type accountsOrderByWithAggregationInput = {
185
- email?: Prisma.SortOrder;
186
- account_status?: Prisma.SortOrder;
187
- tokens?: Prisma.SortOrder;
188
- created_at?: Prisma.SortOrder;
189
- updated_at?: Prisma.SortOrder;
190
- _count?: Prisma.accountsCountOrderByAggregateInput;
191
- _max?: Prisma.accountsMaxOrderByAggregateInput;
192
- _min?: Prisma.accountsMinOrderByAggregateInput;
193
- };
194
- export type accountsScalarWhereWithAggregatesInput = {
195
- AND?: Prisma.accountsScalarWhereWithAggregatesInput | Prisma.accountsScalarWhereWithAggregatesInput[];
196
- OR?: Prisma.accountsScalarWhereWithAggregatesInput[];
197
- NOT?: Prisma.accountsScalarWhereWithAggregatesInput | Prisma.accountsScalarWhereWithAggregatesInput[];
198
- email?: Prisma.StringWithAggregatesFilter<"accounts"> | string;
199
- account_status?: Prisma.EnumAccountStatusWithAggregatesFilter<"accounts"> | $Enums.AccountStatus;
200
- tokens?: Prisma.StringWithAggregatesFilter<"accounts"> | string;
201
- created_at?: Prisma.DateTimeWithAggregatesFilter<"accounts"> | Date | string;
202
- updated_at?: Prisma.DateTimeWithAggregatesFilter<"accounts"> | Date | string;
203
- };
204
- export type accountsCreateInput = {
205
- email: string;
206
- account_status?: $Enums.AccountStatus;
207
- tokens: string;
208
- created_at?: Date | string;
209
- updated_at?: Date | string;
210
- thread_lists?: Prisma.thread_listsCreateNestedManyWithoutAccountInput;
211
- threads?: Prisma.threadsCreateNestedManyWithoutAccountInput;
212
- labels?: Prisma.labelsCreateNestedOneWithoutAccountInput;
213
- label_counts?: Prisma.label_countsCreateNestedOneWithoutAccountInput;
214
- profiles?: Prisma.profilesCreateNestedOneWithoutAccountInput;
215
- sync_states?: Prisma.sync_statesCreateNestedManyWithoutAccountInput;
216
- calendar_lists?: Prisma.calendar_listsCreateNestedOneWithoutAccountInput;
217
- calendar_events?: Prisma.calendar_eventsCreateNestedManyWithoutAccountInput;
218
- };
219
- export type accountsUncheckedCreateInput = {
220
- email: string;
221
- account_status?: $Enums.AccountStatus;
222
- tokens: string;
223
- created_at?: Date | string;
224
- updated_at?: Date | string;
225
- thread_lists?: Prisma.thread_listsUncheckedCreateNestedManyWithoutAccountInput;
226
- threads?: Prisma.threadsUncheckedCreateNestedManyWithoutAccountInput;
227
- labels?: Prisma.labelsUncheckedCreateNestedOneWithoutAccountInput;
228
- label_counts?: Prisma.label_countsUncheckedCreateNestedOneWithoutAccountInput;
229
- profiles?: Prisma.profilesUncheckedCreateNestedOneWithoutAccountInput;
230
- sync_states?: Prisma.sync_statesUncheckedCreateNestedManyWithoutAccountInput;
231
- calendar_lists?: Prisma.calendar_listsUncheckedCreateNestedOneWithoutAccountInput;
232
- calendar_events?: Prisma.calendar_eventsUncheckedCreateNestedManyWithoutAccountInput;
233
- };
234
- export type accountsUpdateInput = {
235
- email?: Prisma.StringFieldUpdateOperationsInput | string;
236
- account_status?: Prisma.EnumAccountStatusFieldUpdateOperationsInput | $Enums.AccountStatus;
237
- tokens?: Prisma.StringFieldUpdateOperationsInput | string;
238
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
239
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
240
- thread_lists?: Prisma.thread_listsUpdateManyWithoutAccountNestedInput;
241
- threads?: Prisma.threadsUpdateManyWithoutAccountNestedInput;
242
- labels?: Prisma.labelsUpdateOneWithoutAccountNestedInput;
243
- label_counts?: Prisma.label_countsUpdateOneWithoutAccountNestedInput;
244
- profiles?: Prisma.profilesUpdateOneWithoutAccountNestedInput;
245
- sync_states?: Prisma.sync_statesUpdateManyWithoutAccountNestedInput;
246
- calendar_lists?: Prisma.calendar_listsUpdateOneWithoutAccountNestedInput;
247
- calendar_events?: Prisma.calendar_eventsUpdateManyWithoutAccountNestedInput;
248
- };
249
- export type accountsUncheckedUpdateInput = {
250
- email?: Prisma.StringFieldUpdateOperationsInput | string;
251
- account_status?: Prisma.EnumAccountStatusFieldUpdateOperationsInput | $Enums.AccountStatus;
252
- tokens?: Prisma.StringFieldUpdateOperationsInput | string;
253
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
254
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
255
- thread_lists?: Prisma.thread_listsUncheckedUpdateManyWithoutAccountNestedInput;
256
- threads?: Prisma.threadsUncheckedUpdateManyWithoutAccountNestedInput;
257
- labels?: Prisma.labelsUncheckedUpdateOneWithoutAccountNestedInput;
258
- label_counts?: Prisma.label_countsUncheckedUpdateOneWithoutAccountNestedInput;
259
- profiles?: Prisma.profilesUncheckedUpdateOneWithoutAccountNestedInput;
260
- sync_states?: Prisma.sync_statesUncheckedUpdateManyWithoutAccountNestedInput;
261
- calendar_lists?: Prisma.calendar_listsUncheckedUpdateOneWithoutAccountNestedInput;
262
- calendar_events?: Prisma.calendar_eventsUncheckedUpdateManyWithoutAccountNestedInput;
263
- };
264
- export type accountsCreateManyInput = {
265
- email: string;
266
- account_status?: $Enums.AccountStatus;
267
- tokens: string;
268
- created_at?: Date | string;
269
- updated_at?: Date | string;
270
- };
271
- export type accountsUpdateManyMutationInput = {
272
- email?: Prisma.StringFieldUpdateOperationsInput | string;
273
- account_status?: Prisma.EnumAccountStatusFieldUpdateOperationsInput | $Enums.AccountStatus;
274
- tokens?: Prisma.StringFieldUpdateOperationsInput | string;
275
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
276
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
277
- };
278
- export type accountsUncheckedUpdateManyInput = {
279
- email?: Prisma.StringFieldUpdateOperationsInput | string;
280
- account_status?: Prisma.EnumAccountStatusFieldUpdateOperationsInput | $Enums.AccountStatus;
281
- tokens?: Prisma.StringFieldUpdateOperationsInput | string;
282
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
283
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
284
- };
285
- export type accountsCountOrderByAggregateInput = {
286
- email?: Prisma.SortOrder;
287
- account_status?: Prisma.SortOrder;
288
- tokens?: Prisma.SortOrder;
289
- created_at?: Prisma.SortOrder;
290
- updated_at?: Prisma.SortOrder;
291
- };
292
- export type accountsMaxOrderByAggregateInput = {
293
- email?: Prisma.SortOrder;
294
- account_status?: Prisma.SortOrder;
295
- tokens?: Prisma.SortOrder;
296
- created_at?: Prisma.SortOrder;
297
- updated_at?: Prisma.SortOrder;
298
- };
299
- export type accountsMinOrderByAggregateInput = {
300
- email?: Prisma.SortOrder;
301
- account_status?: Prisma.SortOrder;
302
- tokens?: Prisma.SortOrder;
303
- created_at?: Prisma.SortOrder;
304
- updated_at?: Prisma.SortOrder;
305
- };
306
- export type AccountsScalarRelationFilter = {
307
- is?: Prisma.accountsWhereInput;
308
- isNot?: Prisma.accountsWhereInput;
309
- };
310
- export type StringFieldUpdateOperationsInput = {
311
- set?: string;
312
- };
313
- export type EnumAccountStatusFieldUpdateOperationsInput = {
314
- set?: $Enums.AccountStatus;
315
- };
316
- export type DateTimeFieldUpdateOperationsInput = {
317
- set?: Date | string;
318
- };
319
- export type accountsCreateNestedOneWithoutThread_listsInput = {
320
- create?: Prisma.XOR<Prisma.accountsCreateWithoutThread_listsInput, Prisma.accountsUncheckedCreateWithoutThread_listsInput>;
321
- connectOrCreate?: Prisma.accountsCreateOrConnectWithoutThread_listsInput;
322
- connect?: Prisma.accountsWhereUniqueInput;
323
- };
324
- export type accountsUpdateOneRequiredWithoutThread_listsNestedInput = {
325
- create?: Prisma.XOR<Prisma.accountsCreateWithoutThread_listsInput, Prisma.accountsUncheckedCreateWithoutThread_listsInput>;
326
- connectOrCreate?: Prisma.accountsCreateOrConnectWithoutThread_listsInput;
327
- upsert?: Prisma.accountsUpsertWithoutThread_listsInput;
328
- connect?: Prisma.accountsWhereUniqueInput;
329
- update?: Prisma.XOR<Prisma.XOR<Prisma.accountsUpdateToOneWithWhereWithoutThread_listsInput, Prisma.accountsUpdateWithoutThread_listsInput>, Prisma.accountsUncheckedUpdateWithoutThread_listsInput>;
330
- };
331
- export type accountsCreateNestedOneWithoutThreadsInput = {
332
- create?: Prisma.XOR<Prisma.accountsCreateWithoutThreadsInput, Prisma.accountsUncheckedCreateWithoutThreadsInput>;
333
- connectOrCreate?: Prisma.accountsCreateOrConnectWithoutThreadsInput;
334
- connect?: Prisma.accountsWhereUniqueInput;
335
- };
336
- export type accountsUpdateOneRequiredWithoutThreadsNestedInput = {
337
- create?: Prisma.XOR<Prisma.accountsCreateWithoutThreadsInput, Prisma.accountsUncheckedCreateWithoutThreadsInput>;
338
- connectOrCreate?: Prisma.accountsCreateOrConnectWithoutThreadsInput;
339
- upsert?: Prisma.accountsUpsertWithoutThreadsInput;
340
- connect?: Prisma.accountsWhereUniqueInput;
341
- update?: Prisma.XOR<Prisma.XOR<Prisma.accountsUpdateToOneWithWhereWithoutThreadsInput, Prisma.accountsUpdateWithoutThreadsInput>, Prisma.accountsUncheckedUpdateWithoutThreadsInput>;
342
- };
343
- export type accountsCreateNestedOneWithoutLabelsInput = {
344
- create?: Prisma.XOR<Prisma.accountsCreateWithoutLabelsInput, Prisma.accountsUncheckedCreateWithoutLabelsInput>;
345
- connectOrCreate?: Prisma.accountsCreateOrConnectWithoutLabelsInput;
346
- connect?: Prisma.accountsWhereUniqueInput;
347
- };
348
- export type accountsUpdateOneRequiredWithoutLabelsNestedInput = {
349
- create?: Prisma.XOR<Prisma.accountsCreateWithoutLabelsInput, Prisma.accountsUncheckedCreateWithoutLabelsInput>;
350
- connectOrCreate?: Prisma.accountsCreateOrConnectWithoutLabelsInput;
351
- upsert?: Prisma.accountsUpsertWithoutLabelsInput;
352
- connect?: Prisma.accountsWhereUniqueInput;
353
- update?: Prisma.XOR<Prisma.XOR<Prisma.accountsUpdateToOneWithWhereWithoutLabelsInput, Prisma.accountsUpdateWithoutLabelsInput>, Prisma.accountsUncheckedUpdateWithoutLabelsInput>;
354
- };
355
- export type accountsCreateNestedOneWithoutLabel_countsInput = {
356
- create?: Prisma.XOR<Prisma.accountsCreateWithoutLabel_countsInput, Prisma.accountsUncheckedCreateWithoutLabel_countsInput>;
357
- connectOrCreate?: Prisma.accountsCreateOrConnectWithoutLabel_countsInput;
358
- connect?: Prisma.accountsWhereUniqueInput;
359
- };
360
- export type accountsUpdateOneRequiredWithoutLabel_countsNestedInput = {
361
- create?: Prisma.XOR<Prisma.accountsCreateWithoutLabel_countsInput, Prisma.accountsUncheckedCreateWithoutLabel_countsInput>;
362
- connectOrCreate?: Prisma.accountsCreateOrConnectWithoutLabel_countsInput;
363
- upsert?: Prisma.accountsUpsertWithoutLabel_countsInput;
364
- connect?: Prisma.accountsWhereUniqueInput;
365
- update?: Prisma.XOR<Prisma.XOR<Prisma.accountsUpdateToOneWithWhereWithoutLabel_countsInput, Prisma.accountsUpdateWithoutLabel_countsInput>, Prisma.accountsUncheckedUpdateWithoutLabel_countsInput>;
366
- };
367
- export type accountsCreateNestedOneWithoutProfilesInput = {
368
- create?: Prisma.XOR<Prisma.accountsCreateWithoutProfilesInput, Prisma.accountsUncheckedCreateWithoutProfilesInput>;
369
- connectOrCreate?: Prisma.accountsCreateOrConnectWithoutProfilesInput;
370
- connect?: Prisma.accountsWhereUniqueInput;
371
- };
372
- export type accountsUpdateOneRequiredWithoutProfilesNestedInput = {
373
- create?: Prisma.XOR<Prisma.accountsCreateWithoutProfilesInput, Prisma.accountsUncheckedCreateWithoutProfilesInput>;
374
- connectOrCreate?: Prisma.accountsCreateOrConnectWithoutProfilesInput;
375
- upsert?: Prisma.accountsUpsertWithoutProfilesInput;
376
- connect?: Prisma.accountsWhereUniqueInput;
377
- update?: Prisma.XOR<Prisma.XOR<Prisma.accountsUpdateToOneWithWhereWithoutProfilesInput, Prisma.accountsUpdateWithoutProfilesInput>, Prisma.accountsUncheckedUpdateWithoutProfilesInput>;
378
- };
379
- export type accountsCreateNestedOneWithoutCalendar_listsInput = {
380
- create?: Prisma.XOR<Prisma.accountsCreateWithoutCalendar_listsInput, Prisma.accountsUncheckedCreateWithoutCalendar_listsInput>;
381
- connectOrCreate?: Prisma.accountsCreateOrConnectWithoutCalendar_listsInput;
382
- connect?: Prisma.accountsWhereUniqueInput;
383
- };
384
- export type accountsUpdateOneRequiredWithoutCalendar_listsNestedInput = {
385
- create?: Prisma.XOR<Prisma.accountsCreateWithoutCalendar_listsInput, Prisma.accountsUncheckedCreateWithoutCalendar_listsInput>;
386
- connectOrCreate?: Prisma.accountsCreateOrConnectWithoutCalendar_listsInput;
387
- upsert?: Prisma.accountsUpsertWithoutCalendar_listsInput;
388
- connect?: Prisma.accountsWhereUniqueInput;
389
- update?: Prisma.XOR<Prisma.XOR<Prisma.accountsUpdateToOneWithWhereWithoutCalendar_listsInput, Prisma.accountsUpdateWithoutCalendar_listsInput>, Prisma.accountsUncheckedUpdateWithoutCalendar_listsInput>;
390
- };
391
- export type accountsCreateNestedOneWithoutCalendar_eventsInput = {
392
- create?: Prisma.XOR<Prisma.accountsCreateWithoutCalendar_eventsInput, Prisma.accountsUncheckedCreateWithoutCalendar_eventsInput>;
393
- connectOrCreate?: Prisma.accountsCreateOrConnectWithoutCalendar_eventsInput;
394
- connect?: Prisma.accountsWhereUniqueInput;
395
- };
396
- export type accountsUpdateOneRequiredWithoutCalendar_eventsNestedInput = {
397
- create?: Prisma.XOR<Prisma.accountsCreateWithoutCalendar_eventsInput, Prisma.accountsUncheckedCreateWithoutCalendar_eventsInput>;
398
- connectOrCreate?: Prisma.accountsCreateOrConnectWithoutCalendar_eventsInput;
399
- upsert?: Prisma.accountsUpsertWithoutCalendar_eventsInput;
400
- connect?: Prisma.accountsWhereUniqueInput;
401
- update?: Prisma.XOR<Prisma.XOR<Prisma.accountsUpdateToOneWithWhereWithoutCalendar_eventsInput, Prisma.accountsUpdateWithoutCalendar_eventsInput>, Prisma.accountsUncheckedUpdateWithoutCalendar_eventsInput>;
402
- };
403
- export type accountsCreateNestedOneWithoutSync_statesInput = {
404
- create?: Prisma.XOR<Prisma.accountsCreateWithoutSync_statesInput, Prisma.accountsUncheckedCreateWithoutSync_statesInput>;
405
- connectOrCreate?: Prisma.accountsCreateOrConnectWithoutSync_statesInput;
406
- connect?: Prisma.accountsWhereUniqueInput;
407
- };
408
- export type accountsUpdateOneRequiredWithoutSync_statesNestedInput = {
409
- create?: Prisma.XOR<Prisma.accountsCreateWithoutSync_statesInput, Prisma.accountsUncheckedCreateWithoutSync_statesInput>;
410
- connectOrCreate?: Prisma.accountsCreateOrConnectWithoutSync_statesInput;
411
- upsert?: Prisma.accountsUpsertWithoutSync_statesInput;
412
- connect?: Prisma.accountsWhereUniqueInput;
413
- update?: Prisma.XOR<Prisma.XOR<Prisma.accountsUpdateToOneWithWhereWithoutSync_statesInput, Prisma.accountsUpdateWithoutSync_statesInput>, Prisma.accountsUncheckedUpdateWithoutSync_statesInput>;
414
- };
415
- export type accountsCreateWithoutThread_listsInput = {
416
- email: string;
417
- account_status?: $Enums.AccountStatus;
418
- tokens: string;
419
- created_at?: Date | string;
420
- updated_at?: Date | string;
421
- threads?: Prisma.threadsCreateNestedManyWithoutAccountInput;
422
- labels?: Prisma.labelsCreateNestedOneWithoutAccountInput;
423
- label_counts?: Prisma.label_countsCreateNestedOneWithoutAccountInput;
424
- profiles?: Prisma.profilesCreateNestedOneWithoutAccountInput;
425
- sync_states?: Prisma.sync_statesCreateNestedManyWithoutAccountInput;
426
- calendar_lists?: Prisma.calendar_listsCreateNestedOneWithoutAccountInput;
427
- calendar_events?: Prisma.calendar_eventsCreateNestedManyWithoutAccountInput;
428
- };
429
- export type accountsUncheckedCreateWithoutThread_listsInput = {
430
- email: string;
431
- account_status?: $Enums.AccountStatus;
432
- tokens: string;
433
- created_at?: Date | string;
434
- updated_at?: Date | string;
435
- threads?: Prisma.threadsUncheckedCreateNestedManyWithoutAccountInput;
436
- labels?: Prisma.labelsUncheckedCreateNestedOneWithoutAccountInput;
437
- label_counts?: Prisma.label_countsUncheckedCreateNestedOneWithoutAccountInput;
438
- profiles?: Prisma.profilesUncheckedCreateNestedOneWithoutAccountInput;
439
- sync_states?: Prisma.sync_statesUncheckedCreateNestedManyWithoutAccountInput;
440
- calendar_lists?: Prisma.calendar_listsUncheckedCreateNestedOneWithoutAccountInput;
441
- calendar_events?: Prisma.calendar_eventsUncheckedCreateNestedManyWithoutAccountInput;
442
- };
443
- export type accountsCreateOrConnectWithoutThread_listsInput = {
444
- where: Prisma.accountsWhereUniqueInput;
445
- create: Prisma.XOR<Prisma.accountsCreateWithoutThread_listsInput, Prisma.accountsUncheckedCreateWithoutThread_listsInput>;
446
- };
447
- export type accountsUpsertWithoutThread_listsInput = {
448
- update: Prisma.XOR<Prisma.accountsUpdateWithoutThread_listsInput, Prisma.accountsUncheckedUpdateWithoutThread_listsInput>;
449
- create: Prisma.XOR<Prisma.accountsCreateWithoutThread_listsInput, Prisma.accountsUncheckedCreateWithoutThread_listsInput>;
450
- where?: Prisma.accountsWhereInput;
451
- };
452
- export type accountsUpdateToOneWithWhereWithoutThread_listsInput = {
453
- where?: Prisma.accountsWhereInput;
454
- data: Prisma.XOR<Prisma.accountsUpdateWithoutThread_listsInput, Prisma.accountsUncheckedUpdateWithoutThread_listsInput>;
455
- };
456
- export type accountsUpdateWithoutThread_listsInput = {
457
- email?: Prisma.StringFieldUpdateOperationsInput | string;
458
- account_status?: Prisma.EnumAccountStatusFieldUpdateOperationsInput | $Enums.AccountStatus;
459
- tokens?: Prisma.StringFieldUpdateOperationsInput | string;
460
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
461
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
462
- threads?: Prisma.threadsUpdateManyWithoutAccountNestedInput;
463
- labels?: Prisma.labelsUpdateOneWithoutAccountNestedInput;
464
- label_counts?: Prisma.label_countsUpdateOneWithoutAccountNestedInput;
465
- profiles?: Prisma.profilesUpdateOneWithoutAccountNestedInput;
466
- sync_states?: Prisma.sync_statesUpdateManyWithoutAccountNestedInput;
467
- calendar_lists?: Prisma.calendar_listsUpdateOneWithoutAccountNestedInput;
468
- calendar_events?: Prisma.calendar_eventsUpdateManyWithoutAccountNestedInput;
469
- };
470
- export type accountsUncheckedUpdateWithoutThread_listsInput = {
471
- email?: Prisma.StringFieldUpdateOperationsInput | string;
472
- account_status?: Prisma.EnumAccountStatusFieldUpdateOperationsInput | $Enums.AccountStatus;
473
- tokens?: Prisma.StringFieldUpdateOperationsInput | string;
474
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
475
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
476
- threads?: Prisma.threadsUncheckedUpdateManyWithoutAccountNestedInput;
477
- labels?: Prisma.labelsUncheckedUpdateOneWithoutAccountNestedInput;
478
- label_counts?: Prisma.label_countsUncheckedUpdateOneWithoutAccountNestedInput;
479
- profiles?: Prisma.profilesUncheckedUpdateOneWithoutAccountNestedInput;
480
- sync_states?: Prisma.sync_statesUncheckedUpdateManyWithoutAccountNestedInput;
481
- calendar_lists?: Prisma.calendar_listsUncheckedUpdateOneWithoutAccountNestedInput;
482
- calendar_events?: Prisma.calendar_eventsUncheckedUpdateManyWithoutAccountNestedInput;
483
- };
484
- export type accountsCreateWithoutThreadsInput = {
485
- email: string;
486
- account_status?: $Enums.AccountStatus;
487
- tokens: string;
488
- created_at?: Date | string;
489
- updated_at?: Date | string;
490
- thread_lists?: Prisma.thread_listsCreateNestedManyWithoutAccountInput;
491
- labels?: Prisma.labelsCreateNestedOneWithoutAccountInput;
492
- label_counts?: Prisma.label_countsCreateNestedOneWithoutAccountInput;
493
- profiles?: Prisma.profilesCreateNestedOneWithoutAccountInput;
494
- sync_states?: Prisma.sync_statesCreateNestedManyWithoutAccountInput;
495
- calendar_lists?: Prisma.calendar_listsCreateNestedOneWithoutAccountInput;
496
- calendar_events?: Prisma.calendar_eventsCreateNestedManyWithoutAccountInput;
497
- };
498
- export type accountsUncheckedCreateWithoutThreadsInput = {
499
- email: string;
500
- account_status?: $Enums.AccountStatus;
501
- tokens: string;
502
- created_at?: Date | string;
503
- updated_at?: Date | string;
504
- thread_lists?: Prisma.thread_listsUncheckedCreateNestedManyWithoutAccountInput;
505
- labels?: Prisma.labelsUncheckedCreateNestedOneWithoutAccountInput;
506
- label_counts?: Prisma.label_countsUncheckedCreateNestedOneWithoutAccountInput;
507
- profiles?: Prisma.profilesUncheckedCreateNestedOneWithoutAccountInput;
508
- sync_states?: Prisma.sync_statesUncheckedCreateNestedManyWithoutAccountInput;
509
- calendar_lists?: Prisma.calendar_listsUncheckedCreateNestedOneWithoutAccountInput;
510
- calendar_events?: Prisma.calendar_eventsUncheckedCreateNestedManyWithoutAccountInput;
511
- };
512
- export type accountsCreateOrConnectWithoutThreadsInput = {
513
- where: Prisma.accountsWhereUniqueInput;
514
- create: Prisma.XOR<Prisma.accountsCreateWithoutThreadsInput, Prisma.accountsUncheckedCreateWithoutThreadsInput>;
515
- };
516
- export type accountsUpsertWithoutThreadsInput = {
517
- update: Prisma.XOR<Prisma.accountsUpdateWithoutThreadsInput, Prisma.accountsUncheckedUpdateWithoutThreadsInput>;
518
- create: Prisma.XOR<Prisma.accountsCreateWithoutThreadsInput, Prisma.accountsUncheckedCreateWithoutThreadsInput>;
519
- where?: Prisma.accountsWhereInput;
520
- };
521
- export type accountsUpdateToOneWithWhereWithoutThreadsInput = {
522
- where?: Prisma.accountsWhereInput;
523
- data: Prisma.XOR<Prisma.accountsUpdateWithoutThreadsInput, Prisma.accountsUncheckedUpdateWithoutThreadsInput>;
524
- };
525
- export type accountsUpdateWithoutThreadsInput = {
526
- email?: Prisma.StringFieldUpdateOperationsInput | string;
527
- account_status?: Prisma.EnumAccountStatusFieldUpdateOperationsInput | $Enums.AccountStatus;
528
- tokens?: Prisma.StringFieldUpdateOperationsInput | string;
529
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
530
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
531
- thread_lists?: Prisma.thread_listsUpdateManyWithoutAccountNestedInput;
532
- labels?: Prisma.labelsUpdateOneWithoutAccountNestedInput;
533
- label_counts?: Prisma.label_countsUpdateOneWithoutAccountNestedInput;
534
- profiles?: Prisma.profilesUpdateOneWithoutAccountNestedInput;
535
- sync_states?: Prisma.sync_statesUpdateManyWithoutAccountNestedInput;
536
- calendar_lists?: Prisma.calendar_listsUpdateOneWithoutAccountNestedInput;
537
- calendar_events?: Prisma.calendar_eventsUpdateManyWithoutAccountNestedInput;
538
- };
539
- export type accountsUncheckedUpdateWithoutThreadsInput = {
540
- email?: Prisma.StringFieldUpdateOperationsInput | string;
541
- account_status?: Prisma.EnumAccountStatusFieldUpdateOperationsInput | $Enums.AccountStatus;
542
- tokens?: Prisma.StringFieldUpdateOperationsInput | string;
543
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
544
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
545
- thread_lists?: Prisma.thread_listsUncheckedUpdateManyWithoutAccountNestedInput;
546
- labels?: Prisma.labelsUncheckedUpdateOneWithoutAccountNestedInput;
547
- label_counts?: Prisma.label_countsUncheckedUpdateOneWithoutAccountNestedInput;
548
- profiles?: Prisma.profilesUncheckedUpdateOneWithoutAccountNestedInput;
549
- sync_states?: Prisma.sync_statesUncheckedUpdateManyWithoutAccountNestedInput;
550
- calendar_lists?: Prisma.calendar_listsUncheckedUpdateOneWithoutAccountNestedInput;
551
- calendar_events?: Prisma.calendar_eventsUncheckedUpdateManyWithoutAccountNestedInput;
552
- };
553
- export type accountsCreateWithoutLabelsInput = {
554
- email: string;
555
- account_status?: $Enums.AccountStatus;
556
- tokens: string;
557
- created_at?: Date | string;
558
- updated_at?: Date | string;
559
- thread_lists?: Prisma.thread_listsCreateNestedManyWithoutAccountInput;
560
- threads?: Prisma.threadsCreateNestedManyWithoutAccountInput;
561
- label_counts?: Prisma.label_countsCreateNestedOneWithoutAccountInput;
562
- profiles?: Prisma.profilesCreateNestedOneWithoutAccountInput;
563
- sync_states?: Prisma.sync_statesCreateNestedManyWithoutAccountInput;
564
- calendar_lists?: Prisma.calendar_listsCreateNestedOneWithoutAccountInput;
565
- calendar_events?: Prisma.calendar_eventsCreateNestedManyWithoutAccountInput;
566
- };
567
- export type accountsUncheckedCreateWithoutLabelsInput = {
568
- email: string;
569
- account_status?: $Enums.AccountStatus;
570
- tokens: string;
571
- created_at?: Date | string;
572
- updated_at?: Date | string;
573
- thread_lists?: Prisma.thread_listsUncheckedCreateNestedManyWithoutAccountInput;
574
- threads?: Prisma.threadsUncheckedCreateNestedManyWithoutAccountInput;
575
- label_counts?: Prisma.label_countsUncheckedCreateNestedOneWithoutAccountInput;
576
- profiles?: Prisma.profilesUncheckedCreateNestedOneWithoutAccountInput;
577
- sync_states?: Prisma.sync_statesUncheckedCreateNestedManyWithoutAccountInput;
578
- calendar_lists?: Prisma.calendar_listsUncheckedCreateNestedOneWithoutAccountInput;
579
- calendar_events?: Prisma.calendar_eventsUncheckedCreateNestedManyWithoutAccountInput;
580
- };
581
- export type accountsCreateOrConnectWithoutLabelsInput = {
582
- where: Prisma.accountsWhereUniqueInput;
583
- create: Prisma.XOR<Prisma.accountsCreateWithoutLabelsInput, Prisma.accountsUncheckedCreateWithoutLabelsInput>;
584
- };
585
- export type accountsUpsertWithoutLabelsInput = {
586
- update: Prisma.XOR<Prisma.accountsUpdateWithoutLabelsInput, Prisma.accountsUncheckedUpdateWithoutLabelsInput>;
587
- create: Prisma.XOR<Prisma.accountsCreateWithoutLabelsInput, Prisma.accountsUncheckedCreateWithoutLabelsInput>;
588
- where?: Prisma.accountsWhereInput;
589
- };
590
- export type accountsUpdateToOneWithWhereWithoutLabelsInput = {
591
- where?: Prisma.accountsWhereInput;
592
- data: Prisma.XOR<Prisma.accountsUpdateWithoutLabelsInput, Prisma.accountsUncheckedUpdateWithoutLabelsInput>;
593
- };
594
- export type accountsUpdateWithoutLabelsInput = {
595
- email?: Prisma.StringFieldUpdateOperationsInput | string;
596
- account_status?: Prisma.EnumAccountStatusFieldUpdateOperationsInput | $Enums.AccountStatus;
597
- tokens?: Prisma.StringFieldUpdateOperationsInput | string;
598
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
599
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
600
- thread_lists?: Prisma.thread_listsUpdateManyWithoutAccountNestedInput;
601
- threads?: Prisma.threadsUpdateManyWithoutAccountNestedInput;
602
- label_counts?: Prisma.label_countsUpdateOneWithoutAccountNestedInput;
603
- profiles?: Prisma.profilesUpdateOneWithoutAccountNestedInput;
604
- sync_states?: Prisma.sync_statesUpdateManyWithoutAccountNestedInput;
605
- calendar_lists?: Prisma.calendar_listsUpdateOneWithoutAccountNestedInput;
606
- calendar_events?: Prisma.calendar_eventsUpdateManyWithoutAccountNestedInput;
607
- };
608
- export type accountsUncheckedUpdateWithoutLabelsInput = {
609
- email?: Prisma.StringFieldUpdateOperationsInput | string;
610
- account_status?: Prisma.EnumAccountStatusFieldUpdateOperationsInput | $Enums.AccountStatus;
611
- tokens?: Prisma.StringFieldUpdateOperationsInput | string;
612
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
613
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
614
- thread_lists?: Prisma.thread_listsUncheckedUpdateManyWithoutAccountNestedInput;
615
- threads?: Prisma.threadsUncheckedUpdateManyWithoutAccountNestedInput;
616
- label_counts?: Prisma.label_countsUncheckedUpdateOneWithoutAccountNestedInput;
617
- profiles?: Prisma.profilesUncheckedUpdateOneWithoutAccountNestedInput;
618
- sync_states?: Prisma.sync_statesUncheckedUpdateManyWithoutAccountNestedInput;
619
- calendar_lists?: Prisma.calendar_listsUncheckedUpdateOneWithoutAccountNestedInput;
620
- calendar_events?: Prisma.calendar_eventsUncheckedUpdateManyWithoutAccountNestedInput;
621
- };
622
- export type accountsCreateWithoutLabel_countsInput = {
623
- email: string;
624
- account_status?: $Enums.AccountStatus;
625
- tokens: string;
626
- created_at?: Date | string;
627
- updated_at?: Date | string;
628
- thread_lists?: Prisma.thread_listsCreateNestedManyWithoutAccountInput;
629
- threads?: Prisma.threadsCreateNestedManyWithoutAccountInput;
630
- labels?: Prisma.labelsCreateNestedOneWithoutAccountInput;
631
- profiles?: Prisma.profilesCreateNestedOneWithoutAccountInput;
632
- sync_states?: Prisma.sync_statesCreateNestedManyWithoutAccountInput;
633
- calendar_lists?: Prisma.calendar_listsCreateNestedOneWithoutAccountInput;
634
- calendar_events?: Prisma.calendar_eventsCreateNestedManyWithoutAccountInput;
635
- };
636
- export type accountsUncheckedCreateWithoutLabel_countsInput = {
637
- email: string;
638
- account_status?: $Enums.AccountStatus;
639
- tokens: string;
640
- created_at?: Date | string;
641
- updated_at?: Date | string;
642
- thread_lists?: Prisma.thread_listsUncheckedCreateNestedManyWithoutAccountInput;
643
- threads?: Prisma.threadsUncheckedCreateNestedManyWithoutAccountInput;
644
- labels?: Prisma.labelsUncheckedCreateNestedOneWithoutAccountInput;
645
- profiles?: Prisma.profilesUncheckedCreateNestedOneWithoutAccountInput;
646
- sync_states?: Prisma.sync_statesUncheckedCreateNestedManyWithoutAccountInput;
647
- calendar_lists?: Prisma.calendar_listsUncheckedCreateNestedOneWithoutAccountInput;
648
- calendar_events?: Prisma.calendar_eventsUncheckedCreateNestedManyWithoutAccountInput;
649
- };
650
- export type accountsCreateOrConnectWithoutLabel_countsInput = {
651
- where: Prisma.accountsWhereUniqueInput;
652
- create: Prisma.XOR<Prisma.accountsCreateWithoutLabel_countsInput, Prisma.accountsUncheckedCreateWithoutLabel_countsInput>;
653
- };
654
- export type accountsUpsertWithoutLabel_countsInput = {
655
- update: Prisma.XOR<Prisma.accountsUpdateWithoutLabel_countsInput, Prisma.accountsUncheckedUpdateWithoutLabel_countsInput>;
656
- create: Prisma.XOR<Prisma.accountsCreateWithoutLabel_countsInput, Prisma.accountsUncheckedCreateWithoutLabel_countsInput>;
657
- where?: Prisma.accountsWhereInput;
658
- };
659
- export type accountsUpdateToOneWithWhereWithoutLabel_countsInput = {
660
- where?: Prisma.accountsWhereInput;
661
- data: Prisma.XOR<Prisma.accountsUpdateWithoutLabel_countsInput, Prisma.accountsUncheckedUpdateWithoutLabel_countsInput>;
662
- };
663
- export type accountsUpdateWithoutLabel_countsInput = {
664
- email?: Prisma.StringFieldUpdateOperationsInput | string;
665
- account_status?: Prisma.EnumAccountStatusFieldUpdateOperationsInput | $Enums.AccountStatus;
666
- tokens?: Prisma.StringFieldUpdateOperationsInput | string;
667
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
668
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
669
- thread_lists?: Prisma.thread_listsUpdateManyWithoutAccountNestedInput;
670
- threads?: Prisma.threadsUpdateManyWithoutAccountNestedInput;
671
- labels?: Prisma.labelsUpdateOneWithoutAccountNestedInput;
672
- profiles?: Prisma.profilesUpdateOneWithoutAccountNestedInput;
673
- sync_states?: Prisma.sync_statesUpdateManyWithoutAccountNestedInput;
674
- calendar_lists?: Prisma.calendar_listsUpdateOneWithoutAccountNestedInput;
675
- calendar_events?: Prisma.calendar_eventsUpdateManyWithoutAccountNestedInput;
676
- };
677
- export type accountsUncheckedUpdateWithoutLabel_countsInput = {
678
- email?: Prisma.StringFieldUpdateOperationsInput | string;
679
- account_status?: Prisma.EnumAccountStatusFieldUpdateOperationsInput | $Enums.AccountStatus;
680
- tokens?: Prisma.StringFieldUpdateOperationsInput | string;
681
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
682
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
683
- thread_lists?: Prisma.thread_listsUncheckedUpdateManyWithoutAccountNestedInput;
684
- threads?: Prisma.threadsUncheckedUpdateManyWithoutAccountNestedInput;
685
- labels?: Prisma.labelsUncheckedUpdateOneWithoutAccountNestedInput;
686
- profiles?: Prisma.profilesUncheckedUpdateOneWithoutAccountNestedInput;
687
- sync_states?: Prisma.sync_statesUncheckedUpdateManyWithoutAccountNestedInput;
688
- calendar_lists?: Prisma.calendar_listsUncheckedUpdateOneWithoutAccountNestedInput;
689
- calendar_events?: Prisma.calendar_eventsUncheckedUpdateManyWithoutAccountNestedInput;
690
- };
691
- export type accountsCreateWithoutProfilesInput = {
692
- email: string;
693
- account_status?: $Enums.AccountStatus;
694
- tokens: string;
695
- created_at?: Date | string;
696
- updated_at?: Date | string;
697
- thread_lists?: Prisma.thread_listsCreateNestedManyWithoutAccountInput;
698
- threads?: Prisma.threadsCreateNestedManyWithoutAccountInput;
699
- labels?: Prisma.labelsCreateNestedOneWithoutAccountInput;
700
- label_counts?: Prisma.label_countsCreateNestedOneWithoutAccountInput;
701
- sync_states?: Prisma.sync_statesCreateNestedManyWithoutAccountInput;
702
- calendar_lists?: Prisma.calendar_listsCreateNestedOneWithoutAccountInput;
703
- calendar_events?: Prisma.calendar_eventsCreateNestedManyWithoutAccountInput;
704
- };
705
- export type accountsUncheckedCreateWithoutProfilesInput = {
706
- email: string;
707
- account_status?: $Enums.AccountStatus;
708
- tokens: string;
709
- created_at?: Date | string;
710
- updated_at?: Date | string;
711
- thread_lists?: Prisma.thread_listsUncheckedCreateNestedManyWithoutAccountInput;
712
- threads?: Prisma.threadsUncheckedCreateNestedManyWithoutAccountInput;
713
- labels?: Prisma.labelsUncheckedCreateNestedOneWithoutAccountInput;
714
- label_counts?: Prisma.label_countsUncheckedCreateNestedOneWithoutAccountInput;
715
- sync_states?: Prisma.sync_statesUncheckedCreateNestedManyWithoutAccountInput;
716
- calendar_lists?: Prisma.calendar_listsUncheckedCreateNestedOneWithoutAccountInput;
717
- calendar_events?: Prisma.calendar_eventsUncheckedCreateNestedManyWithoutAccountInput;
718
- };
719
- export type accountsCreateOrConnectWithoutProfilesInput = {
720
- where: Prisma.accountsWhereUniqueInput;
721
- create: Prisma.XOR<Prisma.accountsCreateWithoutProfilesInput, Prisma.accountsUncheckedCreateWithoutProfilesInput>;
722
- };
723
- export type accountsUpsertWithoutProfilesInput = {
724
- update: Prisma.XOR<Prisma.accountsUpdateWithoutProfilesInput, Prisma.accountsUncheckedUpdateWithoutProfilesInput>;
725
- create: Prisma.XOR<Prisma.accountsCreateWithoutProfilesInput, Prisma.accountsUncheckedCreateWithoutProfilesInput>;
726
- where?: Prisma.accountsWhereInput;
727
- };
728
- export type accountsUpdateToOneWithWhereWithoutProfilesInput = {
729
- where?: Prisma.accountsWhereInput;
730
- data: Prisma.XOR<Prisma.accountsUpdateWithoutProfilesInput, Prisma.accountsUncheckedUpdateWithoutProfilesInput>;
731
- };
732
- export type accountsUpdateWithoutProfilesInput = {
733
- email?: Prisma.StringFieldUpdateOperationsInput | string;
734
- account_status?: Prisma.EnumAccountStatusFieldUpdateOperationsInput | $Enums.AccountStatus;
735
- tokens?: Prisma.StringFieldUpdateOperationsInput | string;
736
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
737
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
738
- thread_lists?: Prisma.thread_listsUpdateManyWithoutAccountNestedInput;
739
- threads?: Prisma.threadsUpdateManyWithoutAccountNestedInput;
740
- labels?: Prisma.labelsUpdateOneWithoutAccountNestedInput;
741
- label_counts?: Prisma.label_countsUpdateOneWithoutAccountNestedInput;
742
- sync_states?: Prisma.sync_statesUpdateManyWithoutAccountNestedInput;
743
- calendar_lists?: Prisma.calendar_listsUpdateOneWithoutAccountNestedInput;
744
- calendar_events?: Prisma.calendar_eventsUpdateManyWithoutAccountNestedInput;
745
- };
746
- export type accountsUncheckedUpdateWithoutProfilesInput = {
747
- email?: Prisma.StringFieldUpdateOperationsInput | string;
748
- account_status?: Prisma.EnumAccountStatusFieldUpdateOperationsInput | $Enums.AccountStatus;
749
- tokens?: Prisma.StringFieldUpdateOperationsInput | string;
750
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
751
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
752
- thread_lists?: Prisma.thread_listsUncheckedUpdateManyWithoutAccountNestedInput;
753
- threads?: Prisma.threadsUncheckedUpdateManyWithoutAccountNestedInput;
754
- labels?: Prisma.labelsUncheckedUpdateOneWithoutAccountNestedInput;
755
- label_counts?: Prisma.label_countsUncheckedUpdateOneWithoutAccountNestedInput;
756
- sync_states?: Prisma.sync_statesUncheckedUpdateManyWithoutAccountNestedInput;
757
- calendar_lists?: Prisma.calendar_listsUncheckedUpdateOneWithoutAccountNestedInput;
758
- calendar_events?: Prisma.calendar_eventsUncheckedUpdateManyWithoutAccountNestedInput;
759
- };
760
- export type accountsCreateWithoutCalendar_listsInput = {
761
- email: string;
762
- account_status?: $Enums.AccountStatus;
763
- tokens: string;
764
- created_at?: Date | string;
765
- updated_at?: Date | string;
766
- thread_lists?: Prisma.thread_listsCreateNestedManyWithoutAccountInput;
767
- threads?: Prisma.threadsCreateNestedManyWithoutAccountInput;
768
- labels?: Prisma.labelsCreateNestedOneWithoutAccountInput;
769
- label_counts?: Prisma.label_countsCreateNestedOneWithoutAccountInput;
770
- profiles?: Prisma.profilesCreateNestedOneWithoutAccountInput;
771
- sync_states?: Prisma.sync_statesCreateNestedManyWithoutAccountInput;
772
- calendar_events?: Prisma.calendar_eventsCreateNestedManyWithoutAccountInput;
773
- };
774
- export type accountsUncheckedCreateWithoutCalendar_listsInput = {
775
- email: string;
776
- account_status?: $Enums.AccountStatus;
777
- tokens: string;
778
- created_at?: Date | string;
779
- updated_at?: Date | string;
780
- thread_lists?: Prisma.thread_listsUncheckedCreateNestedManyWithoutAccountInput;
781
- threads?: Prisma.threadsUncheckedCreateNestedManyWithoutAccountInput;
782
- labels?: Prisma.labelsUncheckedCreateNestedOneWithoutAccountInput;
783
- label_counts?: Prisma.label_countsUncheckedCreateNestedOneWithoutAccountInput;
784
- profiles?: Prisma.profilesUncheckedCreateNestedOneWithoutAccountInput;
785
- sync_states?: Prisma.sync_statesUncheckedCreateNestedManyWithoutAccountInput;
786
- calendar_events?: Prisma.calendar_eventsUncheckedCreateNestedManyWithoutAccountInput;
787
- };
788
- export type accountsCreateOrConnectWithoutCalendar_listsInput = {
789
- where: Prisma.accountsWhereUniqueInput;
790
- create: Prisma.XOR<Prisma.accountsCreateWithoutCalendar_listsInput, Prisma.accountsUncheckedCreateWithoutCalendar_listsInput>;
791
- };
792
- export type accountsUpsertWithoutCalendar_listsInput = {
793
- update: Prisma.XOR<Prisma.accountsUpdateWithoutCalendar_listsInput, Prisma.accountsUncheckedUpdateWithoutCalendar_listsInput>;
794
- create: Prisma.XOR<Prisma.accountsCreateWithoutCalendar_listsInput, Prisma.accountsUncheckedCreateWithoutCalendar_listsInput>;
795
- where?: Prisma.accountsWhereInput;
796
- };
797
- export type accountsUpdateToOneWithWhereWithoutCalendar_listsInput = {
798
- where?: Prisma.accountsWhereInput;
799
- data: Prisma.XOR<Prisma.accountsUpdateWithoutCalendar_listsInput, Prisma.accountsUncheckedUpdateWithoutCalendar_listsInput>;
800
- };
801
- export type accountsUpdateWithoutCalendar_listsInput = {
802
- email?: Prisma.StringFieldUpdateOperationsInput | string;
803
- account_status?: Prisma.EnumAccountStatusFieldUpdateOperationsInput | $Enums.AccountStatus;
804
- tokens?: Prisma.StringFieldUpdateOperationsInput | string;
805
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
806
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
807
- thread_lists?: Prisma.thread_listsUpdateManyWithoutAccountNestedInput;
808
- threads?: Prisma.threadsUpdateManyWithoutAccountNestedInput;
809
- labels?: Prisma.labelsUpdateOneWithoutAccountNestedInput;
810
- label_counts?: Prisma.label_countsUpdateOneWithoutAccountNestedInput;
811
- profiles?: Prisma.profilesUpdateOneWithoutAccountNestedInput;
812
- sync_states?: Prisma.sync_statesUpdateManyWithoutAccountNestedInput;
813
- calendar_events?: Prisma.calendar_eventsUpdateManyWithoutAccountNestedInput;
814
- };
815
- export type accountsUncheckedUpdateWithoutCalendar_listsInput = {
816
- email?: Prisma.StringFieldUpdateOperationsInput | string;
817
- account_status?: Prisma.EnumAccountStatusFieldUpdateOperationsInput | $Enums.AccountStatus;
818
- tokens?: Prisma.StringFieldUpdateOperationsInput | string;
819
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
820
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
821
- thread_lists?: Prisma.thread_listsUncheckedUpdateManyWithoutAccountNestedInput;
822
- threads?: Prisma.threadsUncheckedUpdateManyWithoutAccountNestedInput;
823
- labels?: Prisma.labelsUncheckedUpdateOneWithoutAccountNestedInput;
824
- label_counts?: Prisma.label_countsUncheckedUpdateOneWithoutAccountNestedInput;
825
- profiles?: Prisma.profilesUncheckedUpdateOneWithoutAccountNestedInput;
826
- sync_states?: Prisma.sync_statesUncheckedUpdateManyWithoutAccountNestedInput;
827
- calendar_events?: Prisma.calendar_eventsUncheckedUpdateManyWithoutAccountNestedInput;
828
- };
829
- export type accountsCreateWithoutCalendar_eventsInput = {
830
- email: string;
831
- account_status?: $Enums.AccountStatus;
832
- tokens: string;
833
- created_at?: Date | string;
834
- updated_at?: Date | string;
835
- thread_lists?: Prisma.thread_listsCreateNestedManyWithoutAccountInput;
836
- threads?: Prisma.threadsCreateNestedManyWithoutAccountInput;
837
- labels?: Prisma.labelsCreateNestedOneWithoutAccountInput;
838
- label_counts?: Prisma.label_countsCreateNestedOneWithoutAccountInput;
839
- profiles?: Prisma.profilesCreateNestedOneWithoutAccountInput;
840
- sync_states?: Prisma.sync_statesCreateNestedManyWithoutAccountInput;
841
- calendar_lists?: Prisma.calendar_listsCreateNestedOneWithoutAccountInput;
842
- };
843
- export type accountsUncheckedCreateWithoutCalendar_eventsInput = {
844
- email: string;
845
- account_status?: $Enums.AccountStatus;
846
- tokens: string;
847
- created_at?: Date | string;
848
- updated_at?: Date | string;
849
- thread_lists?: Prisma.thread_listsUncheckedCreateNestedManyWithoutAccountInput;
850
- threads?: Prisma.threadsUncheckedCreateNestedManyWithoutAccountInput;
851
- labels?: Prisma.labelsUncheckedCreateNestedOneWithoutAccountInput;
852
- label_counts?: Prisma.label_countsUncheckedCreateNestedOneWithoutAccountInput;
853
- profiles?: Prisma.profilesUncheckedCreateNestedOneWithoutAccountInput;
854
- sync_states?: Prisma.sync_statesUncheckedCreateNestedManyWithoutAccountInput;
855
- calendar_lists?: Prisma.calendar_listsUncheckedCreateNestedOneWithoutAccountInput;
856
- };
857
- export type accountsCreateOrConnectWithoutCalendar_eventsInput = {
858
- where: Prisma.accountsWhereUniqueInput;
859
- create: Prisma.XOR<Prisma.accountsCreateWithoutCalendar_eventsInput, Prisma.accountsUncheckedCreateWithoutCalendar_eventsInput>;
860
- };
861
- export type accountsUpsertWithoutCalendar_eventsInput = {
862
- update: Prisma.XOR<Prisma.accountsUpdateWithoutCalendar_eventsInput, Prisma.accountsUncheckedUpdateWithoutCalendar_eventsInput>;
863
- create: Prisma.XOR<Prisma.accountsCreateWithoutCalendar_eventsInput, Prisma.accountsUncheckedCreateWithoutCalendar_eventsInput>;
864
- where?: Prisma.accountsWhereInput;
865
- };
866
- export type accountsUpdateToOneWithWhereWithoutCalendar_eventsInput = {
867
- where?: Prisma.accountsWhereInput;
868
- data: Prisma.XOR<Prisma.accountsUpdateWithoutCalendar_eventsInput, Prisma.accountsUncheckedUpdateWithoutCalendar_eventsInput>;
869
- };
870
- export type accountsUpdateWithoutCalendar_eventsInput = {
871
- email?: Prisma.StringFieldUpdateOperationsInput | string;
872
- account_status?: Prisma.EnumAccountStatusFieldUpdateOperationsInput | $Enums.AccountStatus;
873
- tokens?: Prisma.StringFieldUpdateOperationsInput | string;
874
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
875
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
876
- thread_lists?: Prisma.thread_listsUpdateManyWithoutAccountNestedInput;
877
- threads?: Prisma.threadsUpdateManyWithoutAccountNestedInput;
878
- labels?: Prisma.labelsUpdateOneWithoutAccountNestedInput;
879
- label_counts?: Prisma.label_countsUpdateOneWithoutAccountNestedInput;
880
- profiles?: Prisma.profilesUpdateOneWithoutAccountNestedInput;
881
- sync_states?: Prisma.sync_statesUpdateManyWithoutAccountNestedInput;
882
- calendar_lists?: Prisma.calendar_listsUpdateOneWithoutAccountNestedInput;
883
- };
884
- export type accountsUncheckedUpdateWithoutCalendar_eventsInput = {
885
- email?: Prisma.StringFieldUpdateOperationsInput | string;
886
- account_status?: Prisma.EnumAccountStatusFieldUpdateOperationsInput | $Enums.AccountStatus;
887
- tokens?: Prisma.StringFieldUpdateOperationsInput | string;
888
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
889
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
890
- thread_lists?: Prisma.thread_listsUncheckedUpdateManyWithoutAccountNestedInput;
891
- threads?: Prisma.threadsUncheckedUpdateManyWithoutAccountNestedInput;
892
- labels?: Prisma.labelsUncheckedUpdateOneWithoutAccountNestedInput;
893
- label_counts?: Prisma.label_countsUncheckedUpdateOneWithoutAccountNestedInput;
894
- profiles?: Prisma.profilesUncheckedUpdateOneWithoutAccountNestedInput;
895
- sync_states?: Prisma.sync_statesUncheckedUpdateManyWithoutAccountNestedInput;
896
- calendar_lists?: Prisma.calendar_listsUncheckedUpdateOneWithoutAccountNestedInput;
897
- };
898
- export type accountsCreateWithoutSync_statesInput = {
899
- email: string;
900
- account_status?: $Enums.AccountStatus;
901
- tokens: string;
902
- created_at?: Date | string;
903
- updated_at?: Date | string;
904
- thread_lists?: Prisma.thread_listsCreateNestedManyWithoutAccountInput;
905
- threads?: Prisma.threadsCreateNestedManyWithoutAccountInput;
906
- labels?: Prisma.labelsCreateNestedOneWithoutAccountInput;
907
- label_counts?: Prisma.label_countsCreateNestedOneWithoutAccountInput;
908
- profiles?: Prisma.profilesCreateNestedOneWithoutAccountInput;
909
- calendar_lists?: Prisma.calendar_listsCreateNestedOneWithoutAccountInput;
910
- calendar_events?: Prisma.calendar_eventsCreateNestedManyWithoutAccountInput;
911
- };
912
- export type accountsUncheckedCreateWithoutSync_statesInput = {
913
- email: string;
914
- account_status?: $Enums.AccountStatus;
915
- tokens: string;
916
- created_at?: Date | string;
917
- updated_at?: Date | string;
918
- thread_lists?: Prisma.thread_listsUncheckedCreateNestedManyWithoutAccountInput;
919
- threads?: Prisma.threadsUncheckedCreateNestedManyWithoutAccountInput;
920
- labels?: Prisma.labelsUncheckedCreateNestedOneWithoutAccountInput;
921
- label_counts?: Prisma.label_countsUncheckedCreateNestedOneWithoutAccountInput;
922
- profiles?: Prisma.profilesUncheckedCreateNestedOneWithoutAccountInput;
923
- calendar_lists?: Prisma.calendar_listsUncheckedCreateNestedOneWithoutAccountInput;
924
- calendar_events?: Prisma.calendar_eventsUncheckedCreateNestedManyWithoutAccountInput;
925
- };
926
- export type accountsCreateOrConnectWithoutSync_statesInput = {
927
- where: Prisma.accountsWhereUniqueInput;
928
- create: Prisma.XOR<Prisma.accountsCreateWithoutSync_statesInput, Prisma.accountsUncheckedCreateWithoutSync_statesInput>;
929
- };
930
- export type accountsUpsertWithoutSync_statesInput = {
931
- update: Prisma.XOR<Prisma.accountsUpdateWithoutSync_statesInput, Prisma.accountsUncheckedUpdateWithoutSync_statesInput>;
932
- create: Prisma.XOR<Prisma.accountsCreateWithoutSync_statesInput, Prisma.accountsUncheckedCreateWithoutSync_statesInput>;
933
- where?: Prisma.accountsWhereInput;
934
- };
935
- export type accountsUpdateToOneWithWhereWithoutSync_statesInput = {
936
- where?: Prisma.accountsWhereInput;
937
- data: Prisma.XOR<Prisma.accountsUpdateWithoutSync_statesInput, Prisma.accountsUncheckedUpdateWithoutSync_statesInput>;
938
- };
939
- export type accountsUpdateWithoutSync_statesInput = {
940
- email?: Prisma.StringFieldUpdateOperationsInput | string;
941
- account_status?: Prisma.EnumAccountStatusFieldUpdateOperationsInput | $Enums.AccountStatus;
942
- tokens?: Prisma.StringFieldUpdateOperationsInput | string;
943
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
944
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
945
- thread_lists?: Prisma.thread_listsUpdateManyWithoutAccountNestedInput;
946
- threads?: Prisma.threadsUpdateManyWithoutAccountNestedInput;
947
- labels?: Prisma.labelsUpdateOneWithoutAccountNestedInput;
948
- label_counts?: Prisma.label_countsUpdateOneWithoutAccountNestedInput;
949
- profiles?: Prisma.profilesUpdateOneWithoutAccountNestedInput;
950
- calendar_lists?: Prisma.calendar_listsUpdateOneWithoutAccountNestedInput;
951
- calendar_events?: Prisma.calendar_eventsUpdateManyWithoutAccountNestedInput;
952
- };
953
- export type accountsUncheckedUpdateWithoutSync_statesInput = {
954
- email?: Prisma.StringFieldUpdateOperationsInput | string;
955
- account_status?: Prisma.EnumAccountStatusFieldUpdateOperationsInput | $Enums.AccountStatus;
956
- tokens?: Prisma.StringFieldUpdateOperationsInput | string;
957
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
958
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
959
- thread_lists?: Prisma.thread_listsUncheckedUpdateManyWithoutAccountNestedInput;
960
- threads?: Prisma.threadsUncheckedUpdateManyWithoutAccountNestedInput;
961
- labels?: Prisma.labelsUncheckedUpdateOneWithoutAccountNestedInput;
962
- label_counts?: Prisma.label_countsUncheckedUpdateOneWithoutAccountNestedInput;
963
- profiles?: Prisma.profilesUncheckedUpdateOneWithoutAccountNestedInput;
964
- calendar_lists?: Prisma.calendar_listsUncheckedUpdateOneWithoutAccountNestedInput;
965
- calendar_events?: Prisma.calendar_eventsUncheckedUpdateManyWithoutAccountNestedInput;
966
- };
967
- /**
968
- * Count Type AccountsCountOutputType
969
- */
970
- export type AccountsCountOutputType = {
971
- thread_lists: number;
972
- threads: number;
973
- sync_states: number;
974
- calendar_events: number;
975
- };
976
- export type AccountsCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
977
- thread_lists?: boolean | AccountsCountOutputTypeCountThread_listsArgs;
978
- threads?: boolean | AccountsCountOutputTypeCountThreadsArgs;
979
- sync_states?: boolean | AccountsCountOutputTypeCountSync_statesArgs;
980
- calendar_events?: boolean | AccountsCountOutputTypeCountCalendar_eventsArgs;
981
- };
982
- /**
983
- * AccountsCountOutputType without action
984
- */
985
- export type AccountsCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
986
- /**
987
- * Select specific fields to fetch from the AccountsCountOutputType
988
- */
989
- select?: Prisma.AccountsCountOutputTypeSelect<ExtArgs> | null;
990
- };
991
- /**
992
- * AccountsCountOutputType without action
993
- */
994
- export type AccountsCountOutputTypeCountThread_listsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
995
- where?: Prisma.thread_listsWhereInput;
996
- };
997
- /**
998
- * AccountsCountOutputType without action
999
- */
1000
- export type AccountsCountOutputTypeCountThreadsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1001
- where?: Prisma.threadsWhereInput;
1002
- };
1003
- /**
1004
- * AccountsCountOutputType without action
1005
- */
1006
- export type AccountsCountOutputTypeCountSync_statesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1007
- where?: Prisma.sync_statesWhereInput;
1008
- };
1009
- /**
1010
- * AccountsCountOutputType without action
1011
- */
1012
- export type AccountsCountOutputTypeCountCalendar_eventsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1013
- where?: Prisma.calendar_eventsWhereInput;
1014
- };
1015
- export type accountsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1016
- email?: boolean;
1017
- account_status?: boolean;
1018
- tokens?: boolean;
1019
- created_at?: boolean;
1020
- updated_at?: boolean;
1021
- thread_lists?: boolean | Prisma.accounts$thread_listsArgs<ExtArgs>;
1022
- threads?: boolean | Prisma.accounts$threadsArgs<ExtArgs>;
1023
- labels?: boolean | Prisma.accounts$labelsArgs<ExtArgs>;
1024
- label_counts?: boolean | Prisma.accounts$label_countsArgs<ExtArgs>;
1025
- profiles?: boolean | Prisma.accounts$profilesArgs<ExtArgs>;
1026
- sync_states?: boolean | Prisma.accounts$sync_statesArgs<ExtArgs>;
1027
- calendar_lists?: boolean | Prisma.accounts$calendar_listsArgs<ExtArgs>;
1028
- calendar_events?: boolean | Prisma.accounts$calendar_eventsArgs<ExtArgs>;
1029
- _count?: boolean | Prisma.AccountsCountOutputTypeDefaultArgs<ExtArgs>;
1030
- }, ExtArgs["result"]["accounts"]>;
1031
- export type accountsSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1032
- email?: boolean;
1033
- account_status?: boolean;
1034
- tokens?: boolean;
1035
- created_at?: boolean;
1036
- updated_at?: boolean;
1037
- }, ExtArgs["result"]["accounts"]>;
1038
- export type accountsSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1039
- email?: boolean;
1040
- account_status?: boolean;
1041
- tokens?: boolean;
1042
- created_at?: boolean;
1043
- updated_at?: boolean;
1044
- }, ExtArgs["result"]["accounts"]>;
1045
- export type accountsSelectScalar = {
1046
- email?: boolean;
1047
- account_status?: boolean;
1048
- tokens?: boolean;
1049
- created_at?: boolean;
1050
- updated_at?: boolean;
1051
- };
1052
- export type accountsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"email" | "account_status" | "tokens" | "created_at" | "updated_at", ExtArgs["result"]["accounts"]>;
1053
- export type accountsInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1054
- thread_lists?: boolean | Prisma.accounts$thread_listsArgs<ExtArgs>;
1055
- threads?: boolean | Prisma.accounts$threadsArgs<ExtArgs>;
1056
- labels?: boolean | Prisma.accounts$labelsArgs<ExtArgs>;
1057
- label_counts?: boolean | Prisma.accounts$label_countsArgs<ExtArgs>;
1058
- profiles?: boolean | Prisma.accounts$profilesArgs<ExtArgs>;
1059
- sync_states?: boolean | Prisma.accounts$sync_statesArgs<ExtArgs>;
1060
- calendar_lists?: boolean | Prisma.accounts$calendar_listsArgs<ExtArgs>;
1061
- calendar_events?: boolean | Prisma.accounts$calendar_eventsArgs<ExtArgs>;
1062
- _count?: boolean | Prisma.AccountsCountOutputTypeDefaultArgs<ExtArgs>;
1063
- };
1064
- export type accountsIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {};
1065
- export type accountsIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {};
1066
- export type $accountsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1067
- name: "accounts";
1068
- objects: {
1069
- thread_lists: Prisma.$thread_listsPayload<ExtArgs>[];
1070
- threads: Prisma.$threadsPayload<ExtArgs>[];
1071
- labels: Prisma.$labelsPayload<ExtArgs> | null;
1072
- label_counts: Prisma.$label_countsPayload<ExtArgs> | null;
1073
- profiles: Prisma.$profilesPayload<ExtArgs> | null;
1074
- sync_states: Prisma.$sync_statesPayload<ExtArgs>[];
1075
- calendar_lists: Prisma.$calendar_listsPayload<ExtArgs> | null;
1076
- calendar_events: Prisma.$calendar_eventsPayload<ExtArgs>[];
1077
- };
1078
- scalars: runtime.Types.Extensions.GetPayloadResult<{
1079
- email: string;
1080
- account_status: $Enums.AccountStatus;
1081
- tokens: string;
1082
- created_at: Date;
1083
- updated_at: Date;
1084
- }, ExtArgs["result"]["accounts"]>;
1085
- composites: {};
1086
- };
1087
- export type accountsGetPayload<S extends boolean | null | undefined | accountsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$accountsPayload, S>;
1088
- export type accountsCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<accountsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
1089
- select?: AccountsCountAggregateInputType | true;
1090
- };
1091
- export interface accountsDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
1092
- [K: symbol]: {
1093
- types: Prisma.TypeMap<ExtArgs>['model']['accounts'];
1094
- meta: {
1095
- name: 'accounts';
1096
- };
1097
- };
1098
- /**
1099
- * Find zero or one Accounts that matches the filter.
1100
- * @param {accountsFindUniqueArgs} args - Arguments to find a Accounts
1101
- * @example
1102
- * // Get one Accounts
1103
- * const accounts = await prisma.accounts.findUnique({
1104
- * where: {
1105
- * // ... provide filter here
1106
- * }
1107
- * })
1108
- */
1109
- findUnique<T extends accountsFindUniqueArgs>(args: Prisma.SelectSubset<T, accountsFindUniqueArgs<ExtArgs>>): Prisma.Prisma__accountsClient<runtime.Types.Result.GetResult<Prisma.$accountsPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1110
- /**
1111
- * Find one Accounts that matches the filter or throw an error with `error.code='P2025'`
1112
- * if no matches were found.
1113
- * @param {accountsFindUniqueOrThrowArgs} args - Arguments to find a Accounts
1114
- * @example
1115
- * // Get one Accounts
1116
- * const accounts = await prisma.accounts.findUniqueOrThrow({
1117
- * where: {
1118
- * // ... provide filter here
1119
- * }
1120
- * })
1121
- */
1122
- findUniqueOrThrow<T extends accountsFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, accountsFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__accountsClient<runtime.Types.Result.GetResult<Prisma.$accountsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1123
- /**
1124
- * Find the first Accounts that matches the filter.
1125
- * Note, that providing `undefined` is treated as the value not being there.
1126
- * Read more here: https://pris.ly/d/null-undefined
1127
- * @param {accountsFindFirstArgs} args - Arguments to find a Accounts
1128
- * @example
1129
- * // Get one Accounts
1130
- * const accounts = await prisma.accounts.findFirst({
1131
- * where: {
1132
- * // ... provide filter here
1133
- * }
1134
- * })
1135
- */
1136
- findFirst<T extends accountsFindFirstArgs>(args?: Prisma.SelectSubset<T, accountsFindFirstArgs<ExtArgs>>): Prisma.Prisma__accountsClient<runtime.Types.Result.GetResult<Prisma.$accountsPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1137
- /**
1138
- * Find the first Accounts that matches the filter or
1139
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
1140
- * Note, that providing `undefined` is treated as the value not being there.
1141
- * Read more here: https://pris.ly/d/null-undefined
1142
- * @param {accountsFindFirstOrThrowArgs} args - Arguments to find a Accounts
1143
- * @example
1144
- * // Get one Accounts
1145
- * const accounts = await prisma.accounts.findFirstOrThrow({
1146
- * where: {
1147
- * // ... provide filter here
1148
- * }
1149
- * })
1150
- */
1151
- findFirstOrThrow<T extends accountsFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, accountsFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__accountsClient<runtime.Types.Result.GetResult<Prisma.$accountsPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1152
- /**
1153
- * Find zero or more Accounts that matches the filter.
1154
- * Note, that providing `undefined` is treated as the value not being there.
1155
- * Read more here: https://pris.ly/d/null-undefined
1156
- * @param {accountsFindManyArgs} args - Arguments to filter and select certain fields only.
1157
- * @example
1158
- * // Get all Accounts
1159
- * const accounts = await prisma.accounts.findMany()
1160
- *
1161
- * // Get first 10 Accounts
1162
- * const accounts = await prisma.accounts.findMany({ take: 10 })
1163
- *
1164
- * // Only select the `email`
1165
- * const accountsWithEmailOnly = await prisma.accounts.findMany({ select: { email: true } })
1166
- *
1167
- */
1168
- findMany<T extends accountsFindManyArgs>(args?: Prisma.SelectSubset<T, accountsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$accountsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
1169
- /**
1170
- * Create a Accounts.
1171
- * @param {accountsCreateArgs} args - Arguments to create a Accounts.
1172
- * @example
1173
- * // Create one Accounts
1174
- * const Accounts = await prisma.accounts.create({
1175
- * data: {
1176
- * // ... data to create a Accounts
1177
- * }
1178
- * })
1179
- *
1180
- */
1181
- create<T extends accountsCreateArgs>(args: Prisma.SelectSubset<T, accountsCreateArgs<ExtArgs>>): Prisma.Prisma__accountsClient<runtime.Types.Result.GetResult<Prisma.$accountsPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1182
- /**
1183
- * Create many Accounts.
1184
- * @param {accountsCreateManyArgs} args - Arguments to create many Accounts.
1185
- * @example
1186
- * // Create many Accounts
1187
- * const accounts = await prisma.accounts.createMany({
1188
- * data: [
1189
- * // ... provide data here
1190
- * ]
1191
- * })
1192
- *
1193
- */
1194
- createMany<T extends accountsCreateManyArgs>(args?: Prisma.SelectSubset<T, accountsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
1195
- /**
1196
- * Create many Accounts and returns the data saved in the database.
1197
- * @param {accountsCreateManyAndReturnArgs} args - Arguments to create many Accounts.
1198
- * @example
1199
- * // Create many Accounts
1200
- * const accounts = await prisma.accounts.createManyAndReturn({
1201
- * data: [
1202
- * // ... provide data here
1203
- * ]
1204
- * })
1205
- *
1206
- * // Create many Accounts and only return the `email`
1207
- * const accountsWithEmailOnly = await prisma.accounts.createManyAndReturn({
1208
- * select: { email: true },
1209
- * data: [
1210
- * // ... provide data here
1211
- * ]
1212
- * })
1213
- * Note, that providing `undefined` is treated as the value not being there.
1214
- * Read more here: https://pris.ly/d/null-undefined
1215
- *
1216
- */
1217
- createManyAndReturn<T extends accountsCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, accountsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$accountsPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
1218
- /**
1219
- * Delete a Accounts.
1220
- * @param {accountsDeleteArgs} args - Arguments to delete one Accounts.
1221
- * @example
1222
- * // Delete one Accounts
1223
- * const Accounts = await prisma.accounts.delete({
1224
- * where: {
1225
- * // ... filter to delete one Accounts
1226
- * }
1227
- * })
1228
- *
1229
- */
1230
- delete<T extends accountsDeleteArgs>(args: Prisma.SelectSubset<T, accountsDeleteArgs<ExtArgs>>): Prisma.Prisma__accountsClient<runtime.Types.Result.GetResult<Prisma.$accountsPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1231
- /**
1232
- * Update one Accounts.
1233
- * @param {accountsUpdateArgs} args - Arguments to update one Accounts.
1234
- * @example
1235
- * // Update one Accounts
1236
- * const accounts = await prisma.accounts.update({
1237
- * where: {
1238
- * // ... provide filter here
1239
- * },
1240
- * data: {
1241
- * // ... provide data here
1242
- * }
1243
- * })
1244
- *
1245
- */
1246
- update<T extends accountsUpdateArgs>(args: Prisma.SelectSubset<T, accountsUpdateArgs<ExtArgs>>): Prisma.Prisma__accountsClient<runtime.Types.Result.GetResult<Prisma.$accountsPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1247
- /**
1248
- * Delete zero or more Accounts.
1249
- * @param {accountsDeleteManyArgs} args - Arguments to filter Accounts to delete.
1250
- * @example
1251
- * // Delete a few Accounts
1252
- * const { count } = await prisma.accounts.deleteMany({
1253
- * where: {
1254
- * // ... provide filter here
1255
- * }
1256
- * })
1257
- *
1258
- */
1259
- deleteMany<T extends accountsDeleteManyArgs>(args?: Prisma.SelectSubset<T, accountsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
1260
- /**
1261
- * Update zero or more Accounts.
1262
- * Note, that providing `undefined` is treated as the value not being there.
1263
- * Read more here: https://pris.ly/d/null-undefined
1264
- * @param {accountsUpdateManyArgs} args - Arguments to update one or more rows.
1265
- * @example
1266
- * // Update many Accounts
1267
- * const accounts = await prisma.accounts.updateMany({
1268
- * where: {
1269
- * // ... provide filter here
1270
- * },
1271
- * data: {
1272
- * // ... provide data here
1273
- * }
1274
- * })
1275
- *
1276
- */
1277
- updateMany<T extends accountsUpdateManyArgs>(args: Prisma.SelectSubset<T, accountsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
1278
- /**
1279
- * Update zero or more Accounts and returns the data updated in the database.
1280
- * @param {accountsUpdateManyAndReturnArgs} args - Arguments to update many Accounts.
1281
- * @example
1282
- * // Update many Accounts
1283
- * const accounts = await prisma.accounts.updateManyAndReturn({
1284
- * where: {
1285
- * // ... provide filter here
1286
- * },
1287
- * data: [
1288
- * // ... provide data here
1289
- * ]
1290
- * })
1291
- *
1292
- * // Update zero or more Accounts and only return the `email`
1293
- * const accountsWithEmailOnly = await prisma.accounts.updateManyAndReturn({
1294
- * select: { email: true },
1295
- * where: {
1296
- * // ... provide filter here
1297
- * },
1298
- * data: [
1299
- * // ... provide data here
1300
- * ]
1301
- * })
1302
- * Note, that providing `undefined` is treated as the value not being there.
1303
- * Read more here: https://pris.ly/d/null-undefined
1304
- *
1305
- */
1306
- updateManyAndReturn<T extends accountsUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, accountsUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$accountsPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
1307
- /**
1308
- * Create or update one Accounts.
1309
- * @param {accountsUpsertArgs} args - Arguments to update or create a Accounts.
1310
- * @example
1311
- * // Update or create a Accounts
1312
- * const accounts = await prisma.accounts.upsert({
1313
- * create: {
1314
- * // ... data to create a Accounts
1315
- * },
1316
- * update: {
1317
- * // ... in case it already exists, update
1318
- * },
1319
- * where: {
1320
- * // ... the filter for the Accounts we want to update
1321
- * }
1322
- * })
1323
- */
1324
- upsert<T extends accountsUpsertArgs>(args: Prisma.SelectSubset<T, accountsUpsertArgs<ExtArgs>>): Prisma.Prisma__accountsClient<runtime.Types.Result.GetResult<Prisma.$accountsPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1325
- /**
1326
- * Count the number of Accounts.
1327
- * Note, that providing `undefined` is treated as the value not being there.
1328
- * Read more here: https://pris.ly/d/null-undefined
1329
- * @param {accountsCountArgs} args - Arguments to filter Accounts to count.
1330
- * @example
1331
- * // Count the number of Accounts
1332
- * const count = await prisma.accounts.count({
1333
- * where: {
1334
- * // ... the filter for the Accounts we want to count
1335
- * }
1336
- * })
1337
- **/
1338
- count<T extends accountsCountArgs>(args?: Prisma.Subset<T, accountsCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], AccountsCountAggregateOutputType> : number>;
1339
- /**
1340
- * Allows you to perform aggregations operations on a Accounts.
1341
- * Note, that providing `undefined` is treated as the value not being there.
1342
- * Read more here: https://pris.ly/d/null-undefined
1343
- * @param {AccountsAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1344
- * @example
1345
- * // Ordered by age ascending
1346
- * // Where email contains prisma.io
1347
- * // Limited to the 10 users
1348
- * const aggregations = await prisma.user.aggregate({
1349
- * _avg: {
1350
- * age: true,
1351
- * },
1352
- * where: {
1353
- * email: {
1354
- * contains: "prisma.io",
1355
- * },
1356
- * },
1357
- * orderBy: {
1358
- * age: "asc",
1359
- * },
1360
- * take: 10,
1361
- * })
1362
- **/
1363
- aggregate<T extends AccountsAggregateArgs>(args: Prisma.Subset<T, AccountsAggregateArgs>): Prisma.PrismaPromise<GetAccountsAggregateType<T>>;
1364
- /**
1365
- * Group by Accounts.
1366
- * Note, that providing `undefined` is treated as the value not being there.
1367
- * Read more here: https://pris.ly/d/null-undefined
1368
- * @param {accountsGroupByArgs} args - Group by arguments.
1369
- * @example
1370
- * // Group by city, order by createdAt, get count
1371
- * const result = await prisma.user.groupBy({
1372
- * by: ['city', 'createdAt'],
1373
- * orderBy: {
1374
- * createdAt: true
1375
- * },
1376
- * _count: {
1377
- * _all: true
1378
- * },
1379
- * })
1380
- *
1381
- **/
1382
- groupBy<T extends accountsGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
1383
- orderBy: accountsGroupByArgs['orderBy'];
1384
- } : {
1385
- orderBy?: accountsGroupByArgs['orderBy'];
1386
- }, 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 ? {
1387
- [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
1388
- Error,
1389
- 'Field ',
1390
- P,
1391
- ` in "having" needs to be provided in "by"`
1392
- ];
1393
- }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
1394
- [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1395
- }[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 ? {} : {
1396
- [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1397
- }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
1398
- [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1399
- }[OrderFields]>(args: Prisma.SubsetIntersection<T, accountsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAccountsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
1400
- /**
1401
- * Fields of the accounts model
1402
- */
1403
- readonly fields: accountsFieldRefs;
1404
- }
1405
- /**
1406
- * The delegate class that acts as a "Promise-like" for accounts.
1407
- * Why is this prefixed with `Prisma__`?
1408
- * Because we want to prevent naming conflicts as mentioned in
1409
- * https://github.com/prisma/prisma-client-js/issues/707
1410
- */
1411
- export interface Prisma__accountsClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1412
- readonly [Symbol.toStringTag]: "PrismaPromise";
1413
- thread_lists<T extends Prisma.accounts$thread_listsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.accounts$thread_listsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$thread_listsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1414
- threads<T extends Prisma.accounts$threadsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.accounts$threadsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$threadsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1415
- labels<T extends Prisma.accounts$labelsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.accounts$labelsArgs<ExtArgs>>): Prisma.Prisma__labelsClient<runtime.Types.Result.GetResult<Prisma.$labelsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1416
- label_counts<T extends Prisma.accounts$label_countsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.accounts$label_countsArgs<ExtArgs>>): Prisma.Prisma__label_countsClient<runtime.Types.Result.GetResult<Prisma.$label_countsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1417
- profiles<T extends Prisma.accounts$profilesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.accounts$profilesArgs<ExtArgs>>): Prisma.Prisma__profilesClient<runtime.Types.Result.GetResult<Prisma.$profilesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1418
- sync_states<T extends Prisma.accounts$sync_statesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.accounts$sync_statesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$sync_statesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1419
- calendar_lists<T extends Prisma.accounts$calendar_listsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.accounts$calendar_listsArgs<ExtArgs>>): Prisma.Prisma__calendar_listsClient<runtime.Types.Result.GetResult<Prisma.$calendar_listsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1420
- calendar_events<T extends Prisma.accounts$calendar_eventsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.accounts$calendar_eventsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$calendar_eventsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1421
- /**
1422
- * Attaches callbacks for the resolution and/or rejection of the Promise.
1423
- * @param onfulfilled The callback to execute when the Promise is resolved.
1424
- * @param onrejected The callback to execute when the Promise is rejected.
1425
- * @returns A Promise for the completion of which ever callback is executed.
1426
- */
1427
- 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>;
1428
- /**
1429
- * Attaches a callback for only the rejection of the Promise.
1430
- * @param onrejected The callback to execute when the Promise is rejected.
1431
- * @returns A Promise for the completion of the callback.
1432
- */
1433
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
1434
- /**
1435
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1436
- * resolved value cannot be modified from the callback.
1437
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1438
- * @returns A Promise for the completion of the callback.
1439
- */
1440
- finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
1441
- }
1442
- /**
1443
- * Fields of the accounts model
1444
- */
1445
- export interface accountsFieldRefs {
1446
- readonly email: Prisma.FieldRef<"accounts", 'String'>;
1447
- readonly account_status: Prisma.FieldRef<"accounts", 'AccountStatus'>;
1448
- readonly tokens: Prisma.FieldRef<"accounts", 'String'>;
1449
- readonly created_at: Prisma.FieldRef<"accounts", 'DateTime'>;
1450
- readonly updated_at: Prisma.FieldRef<"accounts", 'DateTime'>;
1451
- }
1452
- /**
1453
- * accounts findUnique
1454
- */
1455
- export type accountsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1456
- /**
1457
- * Select specific fields to fetch from the accounts
1458
- */
1459
- select?: Prisma.accountsSelect<ExtArgs> | null;
1460
- /**
1461
- * Omit specific fields from the accounts
1462
- */
1463
- omit?: Prisma.accountsOmit<ExtArgs> | null;
1464
- /**
1465
- * Choose, which related nodes to fetch as well
1466
- */
1467
- include?: Prisma.accountsInclude<ExtArgs> | null;
1468
- /**
1469
- * Filter, which accounts to fetch.
1470
- */
1471
- where: Prisma.accountsWhereUniqueInput;
1472
- };
1473
- /**
1474
- * accounts findUniqueOrThrow
1475
- */
1476
- export type accountsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1477
- /**
1478
- * Select specific fields to fetch from the accounts
1479
- */
1480
- select?: Prisma.accountsSelect<ExtArgs> | null;
1481
- /**
1482
- * Omit specific fields from the accounts
1483
- */
1484
- omit?: Prisma.accountsOmit<ExtArgs> | null;
1485
- /**
1486
- * Choose, which related nodes to fetch as well
1487
- */
1488
- include?: Prisma.accountsInclude<ExtArgs> | null;
1489
- /**
1490
- * Filter, which accounts to fetch.
1491
- */
1492
- where: Prisma.accountsWhereUniqueInput;
1493
- };
1494
- /**
1495
- * accounts findFirst
1496
- */
1497
- export type accountsFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1498
- /**
1499
- * Select specific fields to fetch from the accounts
1500
- */
1501
- select?: Prisma.accountsSelect<ExtArgs> | null;
1502
- /**
1503
- * Omit specific fields from the accounts
1504
- */
1505
- omit?: Prisma.accountsOmit<ExtArgs> | null;
1506
- /**
1507
- * Choose, which related nodes to fetch as well
1508
- */
1509
- include?: Prisma.accountsInclude<ExtArgs> | null;
1510
- /**
1511
- * Filter, which accounts to fetch.
1512
- */
1513
- where?: Prisma.accountsWhereInput;
1514
- /**
1515
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1516
- *
1517
- * Determine the order of accounts to fetch.
1518
- */
1519
- orderBy?: Prisma.accountsOrderByWithRelationInput | Prisma.accountsOrderByWithRelationInput[];
1520
- /**
1521
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1522
- *
1523
- * Sets the position for searching for accounts.
1524
- */
1525
- cursor?: Prisma.accountsWhereUniqueInput;
1526
- /**
1527
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1528
- *
1529
- * Take `±n` accounts from the position of the cursor.
1530
- */
1531
- take?: number;
1532
- /**
1533
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1534
- *
1535
- * Skip the first `n` accounts.
1536
- */
1537
- skip?: number;
1538
- /**
1539
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1540
- *
1541
- * Filter by unique combinations of accounts.
1542
- */
1543
- distinct?: Prisma.AccountsScalarFieldEnum | Prisma.AccountsScalarFieldEnum[];
1544
- };
1545
- /**
1546
- * accounts findFirstOrThrow
1547
- */
1548
- export type accountsFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1549
- /**
1550
- * Select specific fields to fetch from the accounts
1551
- */
1552
- select?: Prisma.accountsSelect<ExtArgs> | null;
1553
- /**
1554
- * Omit specific fields from the accounts
1555
- */
1556
- omit?: Prisma.accountsOmit<ExtArgs> | null;
1557
- /**
1558
- * Choose, which related nodes to fetch as well
1559
- */
1560
- include?: Prisma.accountsInclude<ExtArgs> | null;
1561
- /**
1562
- * Filter, which accounts to fetch.
1563
- */
1564
- where?: Prisma.accountsWhereInput;
1565
- /**
1566
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1567
- *
1568
- * Determine the order of accounts to fetch.
1569
- */
1570
- orderBy?: Prisma.accountsOrderByWithRelationInput | Prisma.accountsOrderByWithRelationInput[];
1571
- /**
1572
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1573
- *
1574
- * Sets the position for searching for accounts.
1575
- */
1576
- cursor?: Prisma.accountsWhereUniqueInput;
1577
- /**
1578
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1579
- *
1580
- * Take `±n` accounts from the position of the cursor.
1581
- */
1582
- take?: number;
1583
- /**
1584
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1585
- *
1586
- * Skip the first `n` accounts.
1587
- */
1588
- skip?: number;
1589
- /**
1590
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1591
- *
1592
- * Filter by unique combinations of accounts.
1593
- */
1594
- distinct?: Prisma.AccountsScalarFieldEnum | Prisma.AccountsScalarFieldEnum[];
1595
- };
1596
- /**
1597
- * accounts findMany
1598
- */
1599
- export type accountsFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1600
- /**
1601
- * Select specific fields to fetch from the accounts
1602
- */
1603
- select?: Prisma.accountsSelect<ExtArgs> | null;
1604
- /**
1605
- * Omit specific fields from the accounts
1606
- */
1607
- omit?: Prisma.accountsOmit<ExtArgs> | null;
1608
- /**
1609
- * Choose, which related nodes to fetch as well
1610
- */
1611
- include?: Prisma.accountsInclude<ExtArgs> | null;
1612
- /**
1613
- * Filter, which accounts to fetch.
1614
- */
1615
- where?: Prisma.accountsWhereInput;
1616
- /**
1617
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1618
- *
1619
- * Determine the order of accounts to fetch.
1620
- */
1621
- orderBy?: Prisma.accountsOrderByWithRelationInput | Prisma.accountsOrderByWithRelationInput[];
1622
- /**
1623
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1624
- *
1625
- * Sets the position for listing accounts.
1626
- */
1627
- cursor?: Prisma.accountsWhereUniqueInput;
1628
- /**
1629
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1630
- *
1631
- * Take `±n` accounts from the position of the cursor.
1632
- */
1633
- take?: number;
1634
- /**
1635
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1636
- *
1637
- * Skip the first `n` accounts.
1638
- */
1639
- skip?: number;
1640
- distinct?: Prisma.AccountsScalarFieldEnum | Prisma.AccountsScalarFieldEnum[];
1641
- };
1642
- /**
1643
- * accounts create
1644
- */
1645
- export type accountsCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1646
- /**
1647
- * Select specific fields to fetch from the accounts
1648
- */
1649
- select?: Prisma.accountsSelect<ExtArgs> | null;
1650
- /**
1651
- * Omit specific fields from the accounts
1652
- */
1653
- omit?: Prisma.accountsOmit<ExtArgs> | null;
1654
- /**
1655
- * Choose, which related nodes to fetch as well
1656
- */
1657
- include?: Prisma.accountsInclude<ExtArgs> | null;
1658
- /**
1659
- * The data needed to create a accounts.
1660
- */
1661
- data: Prisma.XOR<Prisma.accountsCreateInput, Prisma.accountsUncheckedCreateInput>;
1662
- };
1663
- /**
1664
- * accounts createMany
1665
- */
1666
- export type accountsCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1667
- /**
1668
- * The data used to create many accounts.
1669
- */
1670
- data: Prisma.accountsCreateManyInput | Prisma.accountsCreateManyInput[];
1671
- };
1672
- /**
1673
- * accounts createManyAndReturn
1674
- */
1675
- export type accountsCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1676
- /**
1677
- * Select specific fields to fetch from the accounts
1678
- */
1679
- select?: Prisma.accountsSelectCreateManyAndReturn<ExtArgs> | null;
1680
- /**
1681
- * Omit specific fields from the accounts
1682
- */
1683
- omit?: Prisma.accountsOmit<ExtArgs> | null;
1684
- /**
1685
- * The data used to create many accounts.
1686
- */
1687
- data: Prisma.accountsCreateManyInput | Prisma.accountsCreateManyInput[];
1688
- };
1689
- /**
1690
- * accounts update
1691
- */
1692
- export type accountsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1693
- /**
1694
- * Select specific fields to fetch from the accounts
1695
- */
1696
- select?: Prisma.accountsSelect<ExtArgs> | null;
1697
- /**
1698
- * Omit specific fields from the accounts
1699
- */
1700
- omit?: Prisma.accountsOmit<ExtArgs> | null;
1701
- /**
1702
- * Choose, which related nodes to fetch as well
1703
- */
1704
- include?: Prisma.accountsInclude<ExtArgs> | null;
1705
- /**
1706
- * The data needed to update a accounts.
1707
- */
1708
- data: Prisma.XOR<Prisma.accountsUpdateInput, Prisma.accountsUncheckedUpdateInput>;
1709
- /**
1710
- * Choose, which accounts to update.
1711
- */
1712
- where: Prisma.accountsWhereUniqueInput;
1713
- };
1714
- /**
1715
- * accounts updateMany
1716
- */
1717
- export type accountsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1718
- /**
1719
- * The data used to update accounts.
1720
- */
1721
- data: Prisma.XOR<Prisma.accountsUpdateManyMutationInput, Prisma.accountsUncheckedUpdateManyInput>;
1722
- /**
1723
- * Filter which accounts to update
1724
- */
1725
- where?: Prisma.accountsWhereInput;
1726
- /**
1727
- * Limit how many accounts to update.
1728
- */
1729
- limit?: number;
1730
- };
1731
- /**
1732
- * accounts updateManyAndReturn
1733
- */
1734
- export type accountsUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1735
- /**
1736
- * Select specific fields to fetch from the accounts
1737
- */
1738
- select?: Prisma.accountsSelectUpdateManyAndReturn<ExtArgs> | null;
1739
- /**
1740
- * Omit specific fields from the accounts
1741
- */
1742
- omit?: Prisma.accountsOmit<ExtArgs> | null;
1743
- /**
1744
- * The data used to update accounts.
1745
- */
1746
- data: Prisma.XOR<Prisma.accountsUpdateManyMutationInput, Prisma.accountsUncheckedUpdateManyInput>;
1747
- /**
1748
- * Filter which accounts to update
1749
- */
1750
- where?: Prisma.accountsWhereInput;
1751
- /**
1752
- * Limit how many accounts to update.
1753
- */
1754
- limit?: number;
1755
- };
1756
- /**
1757
- * accounts upsert
1758
- */
1759
- export type accountsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1760
- /**
1761
- * Select specific fields to fetch from the accounts
1762
- */
1763
- select?: Prisma.accountsSelect<ExtArgs> | null;
1764
- /**
1765
- * Omit specific fields from the accounts
1766
- */
1767
- omit?: Prisma.accountsOmit<ExtArgs> | null;
1768
- /**
1769
- * Choose, which related nodes to fetch as well
1770
- */
1771
- include?: Prisma.accountsInclude<ExtArgs> | null;
1772
- /**
1773
- * The filter to search for the accounts to update in case it exists.
1774
- */
1775
- where: Prisma.accountsWhereUniqueInput;
1776
- /**
1777
- * In case the accounts found by the `where` argument doesn't exist, create a new accounts with this data.
1778
- */
1779
- create: Prisma.XOR<Prisma.accountsCreateInput, Prisma.accountsUncheckedCreateInput>;
1780
- /**
1781
- * In case the accounts was found with the provided `where` argument, update it with this data.
1782
- */
1783
- update: Prisma.XOR<Prisma.accountsUpdateInput, Prisma.accountsUncheckedUpdateInput>;
1784
- };
1785
- /**
1786
- * accounts delete
1787
- */
1788
- export type accountsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1789
- /**
1790
- * Select specific fields to fetch from the accounts
1791
- */
1792
- select?: Prisma.accountsSelect<ExtArgs> | null;
1793
- /**
1794
- * Omit specific fields from the accounts
1795
- */
1796
- omit?: Prisma.accountsOmit<ExtArgs> | null;
1797
- /**
1798
- * Choose, which related nodes to fetch as well
1799
- */
1800
- include?: Prisma.accountsInclude<ExtArgs> | null;
1801
- /**
1802
- * Filter which accounts to delete.
1803
- */
1804
- where: Prisma.accountsWhereUniqueInput;
1805
- };
1806
- /**
1807
- * accounts deleteMany
1808
- */
1809
- export type accountsDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1810
- /**
1811
- * Filter which accounts to delete
1812
- */
1813
- where?: Prisma.accountsWhereInput;
1814
- /**
1815
- * Limit how many accounts to delete.
1816
- */
1817
- limit?: number;
1818
- };
1819
- /**
1820
- * accounts.thread_lists
1821
- */
1822
- export type accounts$thread_listsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1823
- /**
1824
- * Select specific fields to fetch from the thread_lists
1825
- */
1826
- select?: Prisma.thread_listsSelect<ExtArgs> | null;
1827
- /**
1828
- * Omit specific fields from the thread_lists
1829
- */
1830
- omit?: Prisma.thread_listsOmit<ExtArgs> | null;
1831
- /**
1832
- * Choose, which related nodes to fetch as well
1833
- */
1834
- include?: Prisma.thread_listsInclude<ExtArgs> | null;
1835
- where?: Prisma.thread_listsWhereInput;
1836
- orderBy?: Prisma.thread_listsOrderByWithRelationInput | Prisma.thread_listsOrderByWithRelationInput[];
1837
- cursor?: Prisma.thread_listsWhereUniqueInput;
1838
- take?: number;
1839
- skip?: number;
1840
- distinct?: Prisma.Thread_listsScalarFieldEnum | Prisma.Thread_listsScalarFieldEnum[];
1841
- };
1842
- /**
1843
- * accounts.threads
1844
- */
1845
- export type accounts$threadsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1846
- /**
1847
- * Select specific fields to fetch from the threads
1848
- */
1849
- select?: Prisma.threadsSelect<ExtArgs> | null;
1850
- /**
1851
- * Omit specific fields from the threads
1852
- */
1853
- omit?: Prisma.threadsOmit<ExtArgs> | null;
1854
- /**
1855
- * Choose, which related nodes to fetch as well
1856
- */
1857
- include?: Prisma.threadsInclude<ExtArgs> | null;
1858
- where?: Prisma.threadsWhereInput;
1859
- orderBy?: Prisma.threadsOrderByWithRelationInput | Prisma.threadsOrderByWithRelationInput[];
1860
- cursor?: Prisma.threadsWhereUniqueInput;
1861
- take?: number;
1862
- skip?: number;
1863
- distinct?: Prisma.ThreadsScalarFieldEnum | Prisma.ThreadsScalarFieldEnum[];
1864
- };
1865
- /**
1866
- * accounts.labels
1867
- */
1868
- export type accounts$labelsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1869
- /**
1870
- * Select specific fields to fetch from the labels
1871
- */
1872
- select?: Prisma.labelsSelect<ExtArgs> | null;
1873
- /**
1874
- * Omit specific fields from the labels
1875
- */
1876
- omit?: Prisma.labelsOmit<ExtArgs> | null;
1877
- /**
1878
- * Choose, which related nodes to fetch as well
1879
- */
1880
- include?: Prisma.labelsInclude<ExtArgs> | null;
1881
- where?: Prisma.labelsWhereInput;
1882
- };
1883
- /**
1884
- * accounts.label_counts
1885
- */
1886
- export type accounts$label_countsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1887
- /**
1888
- * Select specific fields to fetch from the label_counts
1889
- */
1890
- select?: Prisma.label_countsSelect<ExtArgs> | null;
1891
- /**
1892
- * Omit specific fields from the label_counts
1893
- */
1894
- omit?: Prisma.label_countsOmit<ExtArgs> | null;
1895
- /**
1896
- * Choose, which related nodes to fetch as well
1897
- */
1898
- include?: Prisma.label_countsInclude<ExtArgs> | null;
1899
- where?: Prisma.label_countsWhereInput;
1900
- };
1901
- /**
1902
- * accounts.profiles
1903
- */
1904
- export type accounts$profilesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1905
- /**
1906
- * Select specific fields to fetch from the profiles
1907
- */
1908
- select?: Prisma.profilesSelect<ExtArgs> | null;
1909
- /**
1910
- * Omit specific fields from the profiles
1911
- */
1912
- omit?: Prisma.profilesOmit<ExtArgs> | null;
1913
- /**
1914
- * Choose, which related nodes to fetch as well
1915
- */
1916
- include?: Prisma.profilesInclude<ExtArgs> | null;
1917
- where?: Prisma.profilesWhereInput;
1918
- };
1919
- /**
1920
- * accounts.sync_states
1921
- */
1922
- export type accounts$sync_statesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1923
- /**
1924
- * Select specific fields to fetch from the sync_states
1925
- */
1926
- select?: Prisma.sync_statesSelect<ExtArgs> | null;
1927
- /**
1928
- * Omit specific fields from the sync_states
1929
- */
1930
- omit?: Prisma.sync_statesOmit<ExtArgs> | null;
1931
- /**
1932
- * Choose, which related nodes to fetch as well
1933
- */
1934
- include?: Prisma.sync_statesInclude<ExtArgs> | null;
1935
- where?: Prisma.sync_statesWhereInput;
1936
- orderBy?: Prisma.sync_statesOrderByWithRelationInput | Prisma.sync_statesOrderByWithRelationInput[];
1937
- cursor?: Prisma.sync_statesWhereUniqueInput;
1938
- take?: number;
1939
- skip?: number;
1940
- distinct?: Prisma.Sync_statesScalarFieldEnum | Prisma.Sync_statesScalarFieldEnum[];
1941
- };
1942
- /**
1943
- * accounts.calendar_lists
1944
- */
1945
- export type accounts$calendar_listsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1946
- /**
1947
- * Select specific fields to fetch from the calendar_lists
1948
- */
1949
- select?: Prisma.calendar_listsSelect<ExtArgs> | null;
1950
- /**
1951
- * Omit specific fields from the calendar_lists
1952
- */
1953
- omit?: Prisma.calendar_listsOmit<ExtArgs> | null;
1954
- /**
1955
- * Choose, which related nodes to fetch as well
1956
- */
1957
- include?: Prisma.calendar_listsInclude<ExtArgs> | null;
1958
- where?: Prisma.calendar_listsWhereInput;
1959
- };
1960
- /**
1961
- * accounts.calendar_events
1962
- */
1963
- export type accounts$calendar_eventsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1964
- /**
1965
- * Select specific fields to fetch from the calendar_events
1966
- */
1967
- select?: Prisma.calendar_eventsSelect<ExtArgs> | null;
1968
- /**
1969
- * Omit specific fields from the calendar_events
1970
- */
1971
- omit?: Prisma.calendar_eventsOmit<ExtArgs> | null;
1972
- /**
1973
- * Choose, which related nodes to fetch as well
1974
- */
1975
- include?: Prisma.calendar_eventsInclude<ExtArgs> | null;
1976
- where?: Prisma.calendar_eventsWhereInput;
1977
- orderBy?: Prisma.calendar_eventsOrderByWithRelationInput | Prisma.calendar_eventsOrderByWithRelationInput[];
1978
- cursor?: Prisma.calendar_eventsWhereUniqueInput;
1979
- take?: number;
1980
- skip?: number;
1981
- distinct?: Prisma.Calendar_eventsScalarFieldEnum | Prisma.Calendar_eventsScalarFieldEnum[];
1982
- };
1983
- /**
1984
- * accounts without action
1985
- */
1986
- export type accountsDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1987
- /**
1988
- * Select specific fields to fetch from the accounts
1989
- */
1990
- select?: Prisma.accountsSelect<ExtArgs> | null;
1991
- /**
1992
- * Omit specific fields from the accounts
1993
- */
1994
- omit?: Prisma.accountsOmit<ExtArgs> | null;
1995
- /**
1996
- * Choose, which related nodes to fetch as well
1997
- */
1998
- include?: Prisma.accountsInclude<ExtArgs> | null;
1999
- };
2000
- export {};