@igstack/app-catalog-backend-core 0.1.1-alpha-20260304050203 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/dist/index.d.ts +11282 -20
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +5507 -117
  4. package/dist/index.js.map +1 -1
  5. package/package.json +6 -6
  6. package/prisma/schema.prisma +2 -2
  7. package/src/db/client.ts +20 -2
  8. package/src/db/prisma.ts +3 -0
  9. package/src/db/syncAppCatalog.ts +1 -1
  10. package/src/db/tableSyncMagazine.ts +1 -1
  11. package/src/db/tableSyncPrismaAdapter.ts +2 -3
  12. package/src/generated/prisma/browser.ts +59 -0
  13. package/src/generated/prisma/client.ts +83 -0
  14. package/src/generated/prisma/commonInputTypes.ts +658 -0
  15. package/src/generated/prisma/enums.ts +26 -0
  16. package/src/generated/prisma/internal/class.ts +274 -0
  17. package/src/generated/prisma/internal/prismaNamespace.ts +1506 -0
  18. package/src/generated/prisma/internal/prismaNamespaceBrowser.ts +250 -0
  19. package/src/generated/prisma/models/DbAppForCatalog.ts +1490 -0
  20. package/src/generated/prisma/models/DbAppTagDefinition.ts +1199 -0
  21. package/src/generated/prisma/models/DbApprovalMethod.ts +1181 -0
  22. package/src/generated/prisma/models/DbAsset.ts +1394 -0
  23. package/src/generated/prisma/models/account.ts +1632 -0
  24. package/src/generated/prisma/models/session.ts +1447 -0
  25. package/src/generated/prisma/models/user.ts +1562 -0
  26. package/src/generated/prisma/models/verification.ts +1180 -0
  27. package/src/generated/prisma/models.ts +19 -0
  28. package/src/generated/prisma/pjtg.ts +183 -0
  29. package/src/index.ts +3 -0
  30. package/src/middleware/database.ts +13 -2
  31. package/src/modules/approvalMethod/approvalMethodRouter.ts +1 -1
  32. package/src/modules/approvalMethod/syncApprovalMethods.ts +1 -1
  33. package/src/modules/assets/upsertAsset.ts +1 -1
@@ -0,0 +1,1632 @@
1
+
2
+ /* !!! This is code generated by Prisma. Do not edit directly. !!! */
3
+ /* eslint-disable */
4
+ // biome-ignore-all lint: generated file
5
+ // @ts-nocheck
6
+ /*
7
+ * This file exports the `account` model and its related types.
8
+ *
9
+ * 🟢 You can import this file directly.
10
+ */
11
+
12
+ import type * as PJTG from '../pjtg';
13
+ import type * as runtime from "@prisma/client/runtime/client"
14
+ import type * as $Enums from "../enums"
15
+ import type * as Prisma from "../internal/prismaNamespace"
16
+
17
+ /**
18
+ * Model account
19
+ *
20
+ */
21
+ export type accountModel = runtime.Types.Result.DefaultSelection<Prisma.$accountPayload>
22
+
23
+ export type AggregateAccount = {
24
+ _count: AccountCountAggregateOutputType | null
25
+ _min: AccountMinAggregateOutputType | null
26
+ _max: AccountMaxAggregateOutputType | null
27
+ }
28
+
29
+ export type AccountMinAggregateOutputType = {
30
+ id: string | null
31
+ userId: string | null
32
+ accountId: string | null
33
+ providerId: string | null
34
+ refreshToken: string | null
35
+ accessToken: string | null
36
+ accessTokenExpiresAt: Date | null
37
+ refreshTokenExpiresAt: Date | null
38
+ idToken: string | null
39
+ scope: string | null
40
+ password: string | null
41
+ createdAt: Date | null
42
+ updatedAt: Date | null
43
+ }
44
+
45
+ export type AccountMaxAggregateOutputType = {
46
+ id: string | null
47
+ userId: string | null
48
+ accountId: string | null
49
+ providerId: string | null
50
+ refreshToken: string | null
51
+ accessToken: string | null
52
+ accessTokenExpiresAt: Date | null
53
+ refreshTokenExpiresAt: Date | null
54
+ idToken: string | null
55
+ scope: string | null
56
+ password: string | null
57
+ createdAt: Date | null
58
+ updatedAt: Date | null
59
+ }
60
+
61
+ export type AccountCountAggregateOutputType = {
62
+ id: number
63
+ userId: number
64
+ accountId: number
65
+ providerId: number
66
+ refreshToken: number
67
+ accessToken: number
68
+ accessTokenExpiresAt: number
69
+ refreshTokenExpiresAt: number
70
+ idToken: number
71
+ scope: number
72
+ password: number
73
+ createdAt: number
74
+ updatedAt: number
75
+ _all: number
76
+ }
77
+
78
+
79
+ export type AccountMinAggregateInputType = {
80
+ id?: true
81
+ userId?: true
82
+ accountId?: true
83
+ providerId?: true
84
+ refreshToken?: true
85
+ accessToken?: true
86
+ accessTokenExpiresAt?: true
87
+ refreshTokenExpiresAt?: true
88
+ idToken?: true
89
+ scope?: true
90
+ password?: true
91
+ createdAt?: true
92
+ updatedAt?: true
93
+ }
94
+
95
+ export type AccountMaxAggregateInputType = {
96
+ id?: true
97
+ userId?: true
98
+ accountId?: true
99
+ providerId?: true
100
+ refreshToken?: true
101
+ accessToken?: true
102
+ accessTokenExpiresAt?: true
103
+ refreshTokenExpiresAt?: true
104
+ idToken?: true
105
+ scope?: true
106
+ password?: true
107
+ createdAt?: true
108
+ updatedAt?: true
109
+ }
110
+
111
+ export type AccountCountAggregateInputType = {
112
+ id?: true
113
+ userId?: true
114
+ accountId?: true
115
+ providerId?: true
116
+ refreshToken?: true
117
+ accessToken?: true
118
+ accessTokenExpiresAt?: true
119
+ refreshTokenExpiresAt?: true
120
+ idToken?: true
121
+ scope?: true
122
+ password?: true
123
+ createdAt?: true
124
+ updatedAt?: true
125
+ _all?: true
126
+ }
127
+
128
+ export type AccountAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
129
+ /**
130
+ * Filter which account to aggregate.
131
+ */
132
+ where?: Prisma.accountWhereInput
133
+ /**
134
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
135
+ *
136
+ * Determine the order of accounts to fetch.
137
+ */
138
+ orderBy?: Prisma.accountOrderByWithRelationInput | Prisma.accountOrderByWithRelationInput[]
139
+ /**
140
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
141
+ *
142
+ * Sets the start position
143
+ */
144
+ cursor?: Prisma.accountWhereUniqueInput
145
+ /**
146
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
147
+ *
148
+ * Take `±n` accounts from the position of the cursor.
149
+ */
150
+ take?: number
151
+ /**
152
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
153
+ *
154
+ * Skip the first `n` accounts.
155
+ */
156
+ skip?: number
157
+ /**
158
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
159
+ *
160
+ * Count returned accounts
161
+ **/
162
+ _count?: true | AccountCountAggregateInputType
163
+ /**
164
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
165
+ *
166
+ * Select which fields to find the minimum value
167
+ **/
168
+ _min?: AccountMinAggregateInputType
169
+ /**
170
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
171
+ *
172
+ * Select which fields to find the maximum value
173
+ **/
174
+ _max?: AccountMaxAggregateInputType
175
+ }
176
+
177
+ export type GetAccountAggregateType<T extends AccountAggregateArgs> = {
178
+ [P in keyof T & keyof AggregateAccount]: P extends '_count' | 'count'
179
+ ? T[P] extends true
180
+ ? number
181
+ : Prisma.GetScalarType<T[P], AggregateAccount[P]>
182
+ : Prisma.GetScalarType<T[P], AggregateAccount[P]>
183
+ }
184
+
185
+
186
+
187
+
188
+ export type accountGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
189
+ where?: Prisma.accountWhereInput
190
+ orderBy?: Prisma.accountOrderByWithAggregationInput | Prisma.accountOrderByWithAggregationInput[]
191
+ by: Prisma.AccountScalarFieldEnum[] | Prisma.AccountScalarFieldEnum
192
+ having?: Prisma.accountScalarWhereWithAggregatesInput
193
+ take?: number
194
+ skip?: number
195
+ _count?: AccountCountAggregateInputType | true
196
+ _min?: AccountMinAggregateInputType
197
+ _max?: AccountMaxAggregateInputType
198
+ }
199
+
200
+ export type AccountGroupByOutputType = {
201
+ id: string
202
+ userId: string
203
+ accountId: string
204
+ providerId: string
205
+ refreshToken: string | null
206
+ accessToken: string | null
207
+ accessTokenExpiresAt: Date | null
208
+ refreshTokenExpiresAt: Date | null
209
+ idToken: string | null
210
+ scope: string | null
211
+ password: string | null
212
+ createdAt: Date
213
+ updatedAt: Date
214
+ _count: AccountCountAggregateOutputType | null
215
+ _min: AccountMinAggregateOutputType | null
216
+ _max: AccountMaxAggregateOutputType | null
217
+ }
218
+
219
+ type GetAccountGroupByPayload<T extends accountGroupByArgs> = Prisma.PrismaPromise<
220
+ Array<
221
+ Prisma.PickEnumerable<AccountGroupByOutputType, T['by']> &
222
+ {
223
+ [P in ((keyof T) & (keyof AccountGroupByOutputType))]: P extends '_count'
224
+ ? T[P] extends boolean
225
+ ? number
226
+ : Prisma.GetScalarType<T[P], AccountGroupByOutputType[P]>
227
+ : Prisma.GetScalarType<T[P], AccountGroupByOutputType[P]>
228
+ }
229
+ >
230
+ >
231
+
232
+
233
+
234
+ export type accountWhereInput = {
235
+ AND?: Prisma.accountWhereInput | Prisma.accountWhereInput[]
236
+ OR?: Prisma.accountWhereInput[]
237
+ NOT?: Prisma.accountWhereInput | Prisma.accountWhereInput[]
238
+ id?: Prisma.StringFilter<"account"> | string
239
+ userId?: Prisma.StringFilter<"account"> | string
240
+ accountId?: Prisma.StringFilter<"account"> | string
241
+ providerId?: Prisma.StringFilter<"account"> | string
242
+ refreshToken?: Prisma.StringNullableFilter<"account"> | string | null
243
+ accessToken?: Prisma.StringNullableFilter<"account"> | string | null
244
+ accessTokenExpiresAt?: Prisma.DateTimeNullableFilter<"account"> | Date | string | null
245
+ refreshTokenExpiresAt?: Prisma.DateTimeNullableFilter<"account"> | Date | string | null
246
+ idToken?: Prisma.StringNullableFilter<"account"> | string | null
247
+ scope?: Prisma.StringNullableFilter<"account"> | string | null
248
+ password?: Prisma.StringNullableFilter<"account"> | string | null
249
+ createdAt?: Prisma.DateTimeFilter<"account"> | Date | string
250
+ updatedAt?: Prisma.DateTimeFilter<"account"> | Date | string
251
+ user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.userWhereInput>
252
+ }
253
+
254
+ export type accountOrderByWithRelationInput = {
255
+ id?: Prisma.SortOrder
256
+ userId?: Prisma.SortOrder
257
+ accountId?: Prisma.SortOrder
258
+ providerId?: Prisma.SortOrder
259
+ refreshToken?: Prisma.SortOrderInput | Prisma.SortOrder
260
+ accessToken?: Prisma.SortOrderInput | Prisma.SortOrder
261
+ accessTokenExpiresAt?: Prisma.SortOrderInput | Prisma.SortOrder
262
+ refreshTokenExpiresAt?: Prisma.SortOrderInput | Prisma.SortOrder
263
+ idToken?: Prisma.SortOrderInput | Prisma.SortOrder
264
+ scope?: Prisma.SortOrderInput | Prisma.SortOrder
265
+ password?: Prisma.SortOrderInput | Prisma.SortOrder
266
+ createdAt?: Prisma.SortOrder
267
+ updatedAt?: Prisma.SortOrder
268
+ user?: Prisma.userOrderByWithRelationInput
269
+ }
270
+
271
+ export type accountWhereUniqueInput = Prisma.AtLeast<{
272
+ id?: string
273
+ providerId_accountId?: Prisma.accountProviderIdAccountIdCompoundUniqueInput
274
+ AND?: Prisma.accountWhereInput | Prisma.accountWhereInput[]
275
+ OR?: Prisma.accountWhereInput[]
276
+ NOT?: Prisma.accountWhereInput | Prisma.accountWhereInput[]
277
+ userId?: Prisma.StringFilter<"account"> | string
278
+ accountId?: Prisma.StringFilter<"account"> | string
279
+ providerId?: Prisma.StringFilter<"account"> | string
280
+ refreshToken?: Prisma.StringNullableFilter<"account"> | string | null
281
+ accessToken?: Prisma.StringNullableFilter<"account"> | string | null
282
+ accessTokenExpiresAt?: Prisma.DateTimeNullableFilter<"account"> | Date | string | null
283
+ refreshTokenExpiresAt?: Prisma.DateTimeNullableFilter<"account"> | Date | string | null
284
+ idToken?: Prisma.StringNullableFilter<"account"> | string | null
285
+ scope?: Prisma.StringNullableFilter<"account"> | string | null
286
+ password?: Prisma.StringNullableFilter<"account"> | string | null
287
+ createdAt?: Prisma.DateTimeFilter<"account"> | Date | string
288
+ updatedAt?: Prisma.DateTimeFilter<"account"> | Date | string
289
+ user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.userWhereInput>
290
+ }, "id" | "providerId_accountId">
291
+
292
+ export type accountOrderByWithAggregationInput = {
293
+ id?: Prisma.SortOrder
294
+ userId?: Prisma.SortOrder
295
+ accountId?: Prisma.SortOrder
296
+ providerId?: Prisma.SortOrder
297
+ refreshToken?: Prisma.SortOrderInput | Prisma.SortOrder
298
+ accessToken?: Prisma.SortOrderInput | Prisma.SortOrder
299
+ accessTokenExpiresAt?: Prisma.SortOrderInput | Prisma.SortOrder
300
+ refreshTokenExpiresAt?: Prisma.SortOrderInput | Prisma.SortOrder
301
+ idToken?: Prisma.SortOrderInput | Prisma.SortOrder
302
+ scope?: Prisma.SortOrderInput | Prisma.SortOrder
303
+ password?: Prisma.SortOrderInput | Prisma.SortOrder
304
+ createdAt?: Prisma.SortOrder
305
+ updatedAt?: Prisma.SortOrder
306
+ _count?: Prisma.accountCountOrderByAggregateInput
307
+ _max?: Prisma.accountMaxOrderByAggregateInput
308
+ _min?: Prisma.accountMinOrderByAggregateInput
309
+ }
310
+
311
+ export type accountScalarWhereWithAggregatesInput = {
312
+ AND?: Prisma.accountScalarWhereWithAggregatesInput | Prisma.accountScalarWhereWithAggregatesInput[]
313
+ OR?: Prisma.accountScalarWhereWithAggregatesInput[]
314
+ NOT?: Prisma.accountScalarWhereWithAggregatesInput | Prisma.accountScalarWhereWithAggregatesInput[]
315
+ id?: Prisma.StringWithAggregatesFilter<"account"> | string
316
+ userId?: Prisma.StringWithAggregatesFilter<"account"> | string
317
+ accountId?: Prisma.StringWithAggregatesFilter<"account"> | string
318
+ providerId?: Prisma.StringWithAggregatesFilter<"account"> | string
319
+ refreshToken?: Prisma.StringNullableWithAggregatesFilter<"account"> | string | null
320
+ accessToken?: Prisma.StringNullableWithAggregatesFilter<"account"> | string | null
321
+ accessTokenExpiresAt?: Prisma.DateTimeNullableWithAggregatesFilter<"account"> | Date | string | null
322
+ refreshTokenExpiresAt?: Prisma.DateTimeNullableWithAggregatesFilter<"account"> | Date | string | null
323
+ idToken?: Prisma.StringNullableWithAggregatesFilter<"account"> | string | null
324
+ scope?: Prisma.StringNullableWithAggregatesFilter<"account"> | string | null
325
+ password?: Prisma.StringNullableWithAggregatesFilter<"account"> | string | null
326
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"account"> | Date | string
327
+ updatedAt?: Prisma.DateTimeWithAggregatesFilter<"account"> | Date | string
328
+ }
329
+
330
+ export type accountCreateInput = {
331
+ id: string
332
+ accountId: string
333
+ providerId: string
334
+ refreshToken?: string | null
335
+ accessToken?: string | null
336
+ accessTokenExpiresAt?: Date | string | null
337
+ refreshTokenExpiresAt?: Date | string | null
338
+ idToken?: string | null
339
+ scope?: string | null
340
+ password?: string | null
341
+ createdAt?: Date | string
342
+ updatedAt?: Date | string
343
+ user: Prisma.userCreateNestedOneWithoutAccountsInput
344
+ }
345
+
346
+ export type accountUncheckedCreateInput = {
347
+ id: string
348
+ userId: string
349
+ accountId: string
350
+ providerId: string
351
+ refreshToken?: string | null
352
+ accessToken?: string | null
353
+ accessTokenExpiresAt?: Date | string | null
354
+ refreshTokenExpiresAt?: Date | string | null
355
+ idToken?: string | null
356
+ scope?: string | null
357
+ password?: string | null
358
+ createdAt?: Date | string
359
+ updatedAt?: Date | string
360
+ }
361
+
362
+ export type accountUpdateInput = {
363
+ id?: Prisma.StringFieldUpdateOperationsInput | string
364
+ accountId?: Prisma.StringFieldUpdateOperationsInput | string
365
+ providerId?: Prisma.StringFieldUpdateOperationsInput | string
366
+ refreshToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
367
+ accessToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
368
+ accessTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
369
+ refreshTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
370
+ idToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
371
+ scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
372
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
373
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
374
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
375
+ user?: Prisma.userUpdateOneRequiredWithoutAccountsNestedInput
376
+ }
377
+
378
+ export type accountUncheckedUpdateInput = {
379
+ id?: Prisma.StringFieldUpdateOperationsInput | string
380
+ userId?: Prisma.StringFieldUpdateOperationsInput | string
381
+ accountId?: Prisma.StringFieldUpdateOperationsInput | string
382
+ providerId?: Prisma.StringFieldUpdateOperationsInput | string
383
+ refreshToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
384
+ accessToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
385
+ accessTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
386
+ refreshTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
387
+ idToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
388
+ scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
389
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
390
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
391
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
392
+ }
393
+
394
+ export type accountCreateManyInput = {
395
+ id: string
396
+ userId: string
397
+ accountId: string
398
+ providerId: string
399
+ refreshToken?: string | null
400
+ accessToken?: string | null
401
+ accessTokenExpiresAt?: Date | string | null
402
+ refreshTokenExpiresAt?: Date | string | null
403
+ idToken?: string | null
404
+ scope?: string | null
405
+ password?: string | null
406
+ createdAt?: Date | string
407
+ updatedAt?: Date | string
408
+ }
409
+
410
+ export type accountUpdateManyMutationInput = {
411
+ id?: Prisma.StringFieldUpdateOperationsInput | string
412
+ accountId?: Prisma.StringFieldUpdateOperationsInput | string
413
+ providerId?: Prisma.StringFieldUpdateOperationsInput | string
414
+ refreshToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
415
+ accessToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
416
+ accessTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
417
+ refreshTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
418
+ idToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
419
+ scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
420
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
421
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
422
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
423
+ }
424
+
425
+ export type accountUncheckedUpdateManyInput = {
426
+ id?: Prisma.StringFieldUpdateOperationsInput | string
427
+ userId?: Prisma.StringFieldUpdateOperationsInput | string
428
+ accountId?: Prisma.StringFieldUpdateOperationsInput | string
429
+ providerId?: Prisma.StringFieldUpdateOperationsInput | string
430
+ refreshToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
431
+ accessToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
432
+ accessTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
433
+ refreshTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
434
+ idToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
435
+ scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
436
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
437
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
438
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
439
+ }
440
+
441
+ export type AccountListRelationFilter = {
442
+ every?: Prisma.accountWhereInput
443
+ some?: Prisma.accountWhereInput
444
+ none?: Prisma.accountWhereInput
445
+ }
446
+
447
+ export type accountOrderByRelationAggregateInput = {
448
+ _count?: Prisma.SortOrder
449
+ }
450
+
451
+ export type accountProviderIdAccountIdCompoundUniqueInput = {
452
+ providerId: string
453
+ accountId: string
454
+ }
455
+
456
+ export type accountCountOrderByAggregateInput = {
457
+ id?: Prisma.SortOrder
458
+ userId?: Prisma.SortOrder
459
+ accountId?: Prisma.SortOrder
460
+ providerId?: Prisma.SortOrder
461
+ refreshToken?: Prisma.SortOrder
462
+ accessToken?: Prisma.SortOrder
463
+ accessTokenExpiresAt?: Prisma.SortOrder
464
+ refreshTokenExpiresAt?: Prisma.SortOrder
465
+ idToken?: Prisma.SortOrder
466
+ scope?: Prisma.SortOrder
467
+ password?: Prisma.SortOrder
468
+ createdAt?: Prisma.SortOrder
469
+ updatedAt?: Prisma.SortOrder
470
+ }
471
+
472
+ export type accountMaxOrderByAggregateInput = {
473
+ id?: Prisma.SortOrder
474
+ userId?: Prisma.SortOrder
475
+ accountId?: Prisma.SortOrder
476
+ providerId?: Prisma.SortOrder
477
+ refreshToken?: Prisma.SortOrder
478
+ accessToken?: Prisma.SortOrder
479
+ accessTokenExpiresAt?: Prisma.SortOrder
480
+ refreshTokenExpiresAt?: Prisma.SortOrder
481
+ idToken?: Prisma.SortOrder
482
+ scope?: Prisma.SortOrder
483
+ password?: Prisma.SortOrder
484
+ createdAt?: Prisma.SortOrder
485
+ updatedAt?: Prisma.SortOrder
486
+ }
487
+
488
+ export type accountMinOrderByAggregateInput = {
489
+ id?: Prisma.SortOrder
490
+ userId?: Prisma.SortOrder
491
+ accountId?: Prisma.SortOrder
492
+ providerId?: Prisma.SortOrder
493
+ refreshToken?: Prisma.SortOrder
494
+ accessToken?: Prisma.SortOrder
495
+ accessTokenExpiresAt?: Prisma.SortOrder
496
+ refreshTokenExpiresAt?: Prisma.SortOrder
497
+ idToken?: Prisma.SortOrder
498
+ scope?: Prisma.SortOrder
499
+ password?: Prisma.SortOrder
500
+ createdAt?: Prisma.SortOrder
501
+ updatedAt?: Prisma.SortOrder
502
+ }
503
+
504
+ export type accountCreateNestedManyWithoutUserInput = {
505
+ create?: Prisma.XOR<Prisma.accountCreateWithoutUserInput, Prisma.accountUncheckedCreateWithoutUserInput> | Prisma.accountCreateWithoutUserInput[] | Prisma.accountUncheckedCreateWithoutUserInput[]
506
+ connectOrCreate?: Prisma.accountCreateOrConnectWithoutUserInput | Prisma.accountCreateOrConnectWithoutUserInput[]
507
+ createMany?: Prisma.accountCreateManyUserInputEnvelope
508
+ connect?: Prisma.accountWhereUniqueInput | Prisma.accountWhereUniqueInput[]
509
+ }
510
+
511
+ export type accountUncheckedCreateNestedManyWithoutUserInput = {
512
+ create?: Prisma.XOR<Prisma.accountCreateWithoutUserInput, Prisma.accountUncheckedCreateWithoutUserInput> | Prisma.accountCreateWithoutUserInput[] | Prisma.accountUncheckedCreateWithoutUserInput[]
513
+ connectOrCreate?: Prisma.accountCreateOrConnectWithoutUserInput | Prisma.accountCreateOrConnectWithoutUserInput[]
514
+ createMany?: Prisma.accountCreateManyUserInputEnvelope
515
+ connect?: Prisma.accountWhereUniqueInput | Prisma.accountWhereUniqueInput[]
516
+ }
517
+
518
+ export type accountUpdateManyWithoutUserNestedInput = {
519
+ create?: Prisma.XOR<Prisma.accountCreateWithoutUserInput, Prisma.accountUncheckedCreateWithoutUserInput> | Prisma.accountCreateWithoutUserInput[] | Prisma.accountUncheckedCreateWithoutUserInput[]
520
+ connectOrCreate?: Prisma.accountCreateOrConnectWithoutUserInput | Prisma.accountCreateOrConnectWithoutUserInput[]
521
+ upsert?: Prisma.accountUpsertWithWhereUniqueWithoutUserInput | Prisma.accountUpsertWithWhereUniqueWithoutUserInput[]
522
+ createMany?: Prisma.accountCreateManyUserInputEnvelope
523
+ set?: Prisma.accountWhereUniqueInput | Prisma.accountWhereUniqueInput[]
524
+ disconnect?: Prisma.accountWhereUniqueInput | Prisma.accountWhereUniqueInput[]
525
+ delete?: Prisma.accountWhereUniqueInput | Prisma.accountWhereUniqueInput[]
526
+ connect?: Prisma.accountWhereUniqueInput | Prisma.accountWhereUniqueInput[]
527
+ update?: Prisma.accountUpdateWithWhereUniqueWithoutUserInput | Prisma.accountUpdateWithWhereUniqueWithoutUserInput[]
528
+ updateMany?: Prisma.accountUpdateManyWithWhereWithoutUserInput | Prisma.accountUpdateManyWithWhereWithoutUserInput[]
529
+ deleteMany?: Prisma.accountScalarWhereInput | Prisma.accountScalarWhereInput[]
530
+ }
531
+
532
+ export type accountUncheckedUpdateManyWithoutUserNestedInput = {
533
+ create?: Prisma.XOR<Prisma.accountCreateWithoutUserInput, Prisma.accountUncheckedCreateWithoutUserInput> | Prisma.accountCreateWithoutUserInput[] | Prisma.accountUncheckedCreateWithoutUserInput[]
534
+ connectOrCreate?: Prisma.accountCreateOrConnectWithoutUserInput | Prisma.accountCreateOrConnectWithoutUserInput[]
535
+ upsert?: Prisma.accountUpsertWithWhereUniqueWithoutUserInput | Prisma.accountUpsertWithWhereUniqueWithoutUserInput[]
536
+ createMany?: Prisma.accountCreateManyUserInputEnvelope
537
+ set?: Prisma.accountWhereUniqueInput | Prisma.accountWhereUniqueInput[]
538
+ disconnect?: Prisma.accountWhereUniqueInput | Prisma.accountWhereUniqueInput[]
539
+ delete?: Prisma.accountWhereUniqueInput | Prisma.accountWhereUniqueInput[]
540
+ connect?: Prisma.accountWhereUniqueInput | Prisma.accountWhereUniqueInput[]
541
+ update?: Prisma.accountUpdateWithWhereUniqueWithoutUserInput | Prisma.accountUpdateWithWhereUniqueWithoutUserInput[]
542
+ updateMany?: Prisma.accountUpdateManyWithWhereWithoutUserInput | Prisma.accountUpdateManyWithWhereWithoutUserInput[]
543
+ deleteMany?: Prisma.accountScalarWhereInput | Prisma.accountScalarWhereInput[]
544
+ }
545
+
546
+ export type NullableDateTimeFieldUpdateOperationsInput = {
547
+ set?: Date | string | null
548
+ }
549
+
550
+ export type accountCreateWithoutUserInput = {
551
+ id: string
552
+ accountId: string
553
+ providerId: string
554
+ refreshToken?: string | null
555
+ accessToken?: string | null
556
+ accessTokenExpiresAt?: Date | string | null
557
+ refreshTokenExpiresAt?: Date | string | null
558
+ idToken?: string | null
559
+ scope?: string | null
560
+ password?: string | null
561
+ createdAt?: Date | string
562
+ updatedAt?: Date | string
563
+ }
564
+
565
+ export type accountUncheckedCreateWithoutUserInput = {
566
+ id: string
567
+ accountId: string
568
+ providerId: string
569
+ refreshToken?: string | null
570
+ accessToken?: string | null
571
+ accessTokenExpiresAt?: Date | string | null
572
+ refreshTokenExpiresAt?: Date | string | null
573
+ idToken?: string | null
574
+ scope?: string | null
575
+ password?: string | null
576
+ createdAt?: Date | string
577
+ updatedAt?: Date | string
578
+ }
579
+
580
+ export type accountCreateOrConnectWithoutUserInput = {
581
+ where: Prisma.accountWhereUniqueInput
582
+ create: Prisma.XOR<Prisma.accountCreateWithoutUserInput, Prisma.accountUncheckedCreateWithoutUserInput>
583
+ }
584
+
585
+ export type accountCreateManyUserInputEnvelope = {
586
+ data: Prisma.accountCreateManyUserInput | Prisma.accountCreateManyUserInput[]
587
+ skipDuplicates?: boolean
588
+ }
589
+
590
+ export type accountUpsertWithWhereUniqueWithoutUserInput = {
591
+ where: Prisma.accountWhereUniqueInput
592
+ update: Prisma.XOR<Prisma.accountUpdateWithoutUserInput, Prisma.accountUncheckedUpdateWithoutUserInput>
593
+ create: Prisma.XOR<Prisma.accountCreateWithoutUserInput, Prisma.accountUncheckedCreateWithoutUserInput>
594
+ }
595
+
596
+ export type accountUpdateWithWhereUniqueWithoutUserInput = {
597
+ where: Prisma.accountWhereUniqueInput
598
+ data: Prisma.XOR<Prisma.accountUpdateWithoutUserInput, Prisma.accountUncheckedUpdateWithoutUserInput>
599
+ }
600
+
601
+ export type accountUpdateManyWithWhereWithoutUserInput = {
602
+ where: Prisma.accountScalarWhereInput
603
+ data: Prisma.XOR<Prisma.accountUpdateManyMutationInput, Prisma.accountUncheckedUpdateManyWithoutUserInput>
604
+ }
605
+
606
+ export type accountScalarWhereInput = {
607
+ AND?: Prisma.accountScalarWhereInput | Prisma.accountScalarWhereInput[]
608
+ OR?: Prisma.accountScalarWhereInput[]
609
+ NOT?: Prisma.accountScalarWhereInput | Prisma.accountScalarWhereInput[]
610
+ id?: Prisma.StringFilter<"account"> | string
611
+ userId?: Prisma.StringFilter<"account"> | string
612
+ accountId?: Prisma.StringFilter<"account"> | string
613
+ providerId?: Prisma.StringFilter<"account"> | string
614
+ refreshToken?: Prisma.StringNullableFilter<"account"> | string | null
615
+ accessToken?: Prisma.StringNullableFilter<"account"> | string | null
616
+ accessTokenExpiresAt?: Prisma.DateTimeNullableFilter<"account"> | Date | string | null
617
+ refreshTokenExpiresAt?: Prisma.DateTimeNullableFilter<"account"> | Date | string | null
618
+ idToken?: Prisma.StringNullableFilter<"account"> | string | null
619
+ scope?: Prisma.StringNullableFilter<"account"> | string | null
620
+ password?: Prisma.StringNullableFilter<"account"> | string | null
621
+ createdAt?: Prisma.DateTimeFilter<"account"> | Date | string
622
+ updatedAt?: Prisma.DateTimeFilter<"account"> | Date | string
623
+ }
624
+
625
+ export type accountCreateManyUserInput = {
626
+ id: string
627
+ accountId: string
628
+ providerId: string
629
+ refreshToken?: string | null
630
+ accessToken?: string | null
631
+ accessTokenExpiresAt?: Date | string | null
632
+ refreshTokenExpiresAt?: Date | string | null
633
+ idToken?: string | null
634
+ scope?: string | null
635
+ password?: string | null
636
+ createdAt?: Date | string
637
+ updatedAt?: Date | string
638
+ }
639
+
640
+ export type accountUpdateWithoutUserInput = {
641
+ id?: Prisma.StringFieldUpdateOperationsInput | string
642
+ accountId?: Prisma.StringFieldUpdateOperationsInput | string
643
+ providerId?: Prisma.StringFieldUpdateOperationsInput | string
644
+ refreshToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
645
+ accessToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
646
+ accessTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
647
+ refreshTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
648
+ idToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
649
+ scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
650
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
651
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
652
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
653
+ }
654
+
655
+ export type accountUncheckedUpdateWithoutUserInput = {
656
+ id?: Prisma.StringFieldUpdateOperationsInput | string
657
+ accountId?: Prisma.StringFieldUpdateOperationsInput | string
658
+ providerId?: Prisma.StringFieldUpdateOperationsInput | string
659
+ refreshToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
660
+ accessToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
661
+ accessTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
662
+ refreshTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
663
+ idToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
664
+ scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
665
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
666
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
667
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
668
+ }
669
+
670
+ export type accountUncheckedUpdateManyWithoutUserInput = {
671
+ id?: Prisma.StringFieldUpdateOperationsInput | string
672
+ accountId?: Prisma.StringFieldUpdateOperationsInput | string
673
+ providerId?: Prisma.StringFieldUpdateOperationsInput | string
674
+ refreshToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
675
+ accessToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
676
+ accessTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
677
+ refreshTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
678
+ idToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
679
+ scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
680
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
681
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
682
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
683
+ }
684
+
685
+
686
+
687
+ export type accountSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
688
+ id?: boolean
689
+ userId?: boolean
690
+ accountId?: boolean
691
+ providerId?: boolean
692
+ refreshToken?: boolean
693
+ accessToken?: boolean
694
+ accessTokenExpiresAt?: boolean
695
+ refreshTokenExpiresAt?: boolean
696
+ idToken?: boolean
697
+ scope?: boolean
698
+ password?: boolean
699
+ createdAt?: boolean
700
+ updatedAt?: boolean
701
+ user?: boolean | Prisma.userDefaultArgs<ExtArgs>
702
+ }, ExtArgs["result"]["account"]>
703
+
704
+ export type accountSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
705
+ id?: boolean
706
+ userId?: boolean
707
+ accountId?: boolean
708
+ providerId?: boolean
709
+ refreshToken?: boolean
710
+ accessToken?: boolean
711
+ accessTokenExpiresAt?: boolean
712
+ refreshTokenExpiresAt?: boolean
713
+ idToken?: boolean
714
+ scope?: boolean
715
+ password?: boolean
716
+ createdAt?: boolean
717
+ updatedAt?: boolean
718
+ user?: boolean | Prisma.userDefaultArgs<ExtArgs>
719
+ }, ExtArgs["result"]["account"]>
720
+
721
+ export type accountSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
722
+ id?: boolean
723
+ userId?: boolean
724
+ accountId?: boolean
725
+ providerId?: boolean
726
+ refreshToken?: boolean
727
+ accessToken?: boolean
728
+ accessTokenExpiresAt?: boolean
729
+ refreshTokenExpiresAt?: boolean
730
+ idToken?: boolean
731
+ scope?: boolean
732
+ password?: boolean
733
+ createdAt?: boolean
734
+ updatedAt?: boolean
735
+ user?: boolean | Prisma.userDefaultArgs<ExtArgs>
736
+ }, ExtArgs["result"]["account"]>
737
+
738
+ export type accountSelectScalar = {
739
+ id?: boolean
740
+ userId?: boolean
741
+ accountId?: boolean
742
+ providerId?: boolean
743
+ refreshToken?: boolean
744
+ accessToken?: boolean
745
+ accessTokenExpiresAt?: boolean
746
+ refreshTokenExpiresAt?: boolean
747
+ idToken?: boolean
748
+ scope?: boolean
749
+ password?: boolean
750
+ createdAt?: boolean
751
+ updatedAt?: boolean
752
+ }
753
+
754
+ export type accountOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "userId" | "accountId" | "providerId" | "refreshToken" | "accessToken" | "accessTokenExpiresAt" | "refreshTokenExpiresAt" | "idToken" | "scope" | "password" | "createdAt" | "updatedAt", ExtArgs["result"]["account"]>
755
+ export type accountInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
756
+ user?: boolean | Prisma.userDefaultArgs<ExtArgs>
757
+ }
758
+ export type accountIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
759
+ user?: boolean | Prisma.userDefaultArgs<ExtArgs>
760
+ }
761
+ export type accountIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
762
+ user?: boolean | Prisma.userDefaultArgs<ExtArgs>
763
+ }
764
+
765
+ export type $accountPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
766
+ name: "account"
767
+ objects: {
768
+ user: Prisma.$userPayload<ExtArgs>
769
+ }
770
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
771
+ id: string
772
+ userId: string
773
+ accountId: string
774
+ providerId: string
775
+ refreshToken: string | null
776
+ accessToken: string | null
777
+ accessTokenExpiresAt: Date | null
778
+ refreshTokenExpiresAt: Date | null
779
+ idToken: string | null
780
+ scope: string | null
781
+ password: string | null
782
+ createdAt: Date
783
+ updatedAt: Date
784
+ }, ExtArgs["result"]["account"]>
785
+ composites: {}
786
+ }
787
+
788
+ export type accountGetPayload<S extends boolean | null | undefined | accountDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$accountPayload, S>
789
+
790
+ export type accountCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
791
+ Omit<accountFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
792
+ select?: AccountCountAggregateInputType | true
793
+ }
794
+
795
+ export interface accountDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
796
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['account'], meta: { name: 'account' } }
797
+ /**
798
+ * Find zero or one Account that matches the filter.
799
+ * @param {accountFindUniqueArgs} args - Arguments to find a Account
800
+ * @example
801
+ * // Get one Account
802
+ * const account = await prisma.account.findUnique({
803
+ * where: {
804
+ * // ... provide filter here
805
+ * }
806
+ * })
807
+ */
808
+ findUnique<T extends accountFindUniqueArgs>(args: Prisma.SelectSubset<T, accountFindUniqueArgs<ExtArgs>>): Prisma.Prisma__accountClient<runtime.Types.Result.GetResult<Prisma.$accountPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
809
+
810
+ /**
811
+ * Find one Account that matches the filter or throw an error with `error.code='P2025'`
812
+ * if no matches were found.
813
+ * @param {accountFindUniqueOrThrowArgs} args - Arguments to find a Account
814
+ * @example
815
+ * // Get one Account
816
+ * const account = await prisma.account.findUniqueOrThrow({
817
+ * where: {
818
+ * // ... provide filter here
819
+ * }
820
+ * })
821
+ */
822
+ findUniqueOrThrow<T extends accountFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, accountFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__accountClient<runtime.Types.Result.GetResult<Prisma.$accountPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
823
+
824
+ /**
825
+ * Find the first Account that matches the filter.
826
+ * Note, that providing `undefined` is treated as the value not being there.
827
+ * Read more here: https://pris.ly/d/null-undefined
828
+ * @param {accountFindFirstArgs} args - Arguments to find a Account
829
+ * @example
830
+ * // Get one Account
831
+ * const account = await prisma.account.findFirst({
832
+ * where: {
833
+ * // ... provide filter here
834
+ * }
835
+ * })
836
+ */
837
+ findFirst<T extends accountFindFirstArgs>(args?: Prisma.SelectSubset<T, accountFindFirstArgs<ExtArgs>>): Prisma.Prisma__accountClient<runtime.Types.Result.GetResult<Prisma.$accountPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
838
+
839
+ /**
840
+ * Find the first Account that matches the filter or
841
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
842
+ * Note, that providing `undefined` is treated as the value not being there.
843
+ * Read more here: https://pris.ly/d/null-undefined
844
+ * @param {accountFindFirstOrThrowArgs} args - Arguments to find a Account
845
+ * @example
846
+ * // Get one Account
847
+ * const account = await prisma.account.findFirstOrThrow({
848
+ * where: {
849
+ * // ... provide filter here
850
+ * }
851
+ * })
852
+ */
853
+ findFirstOrThrow<T extends accountFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, accountFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__accountClient<runtime.Types.Result.GetResult<Prisma.$accountPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
854
+
855
+ /**
856
+ * Find zero or more Accounts that matches the filter.
857
+ * Note, that providing `undefined` is treated as the value not being there.
858
+ * Read more here: https://pris.ly/d/null-undefined
859
+ * @param {accountFindManyArgs} args - Arguments to filter and select certain fields only.
860
+ * @example
861
+ * // Get all Accounts
862
+ * const accounts = await prisma.account.findMany()
863
+ *
864
+ * // Get first 10 Accounts
865
+ * const accounts = await prisma.account.findMany({ take: 10 })
866
+ *
867
+ * // Only select the `id`
868
+ * const accountWithIdOnly = await prisma.account.findMany({ select: { id: true } })
869
+ *
870
+ */
871
+ findMany<T extends accountFindManyArgs>(args?: Prisma.SelectSubset<T, accountFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$accountPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
872
+
873
+ /**
874
+ * Create a Account.
875
+ * @param {accountCreateArgs} args - Arguments to create a Account.
876
+ * @example
877
+ * // Create one Account
878
+ * const Account = await prisma.account.create({
879
+ * data: {
880
+ * // ... data to create a Account
881
+ * }
882
+ * })
883
+ *
884
+ */
885
+ create<T extends accountCreateArgs>(args: Prisma.SelectSubset<T, accountCreateArgs<ExtArgs>>): Prisma.Prisma__accountClient<runtime.Types.Result.GetResult<Prisma.$accountPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
886
+
887
+ /**
888
+ * Create many Accounts.
889
+ * @param {accountCreateManyArgs} args - Arguments to create many Accounts.
890
+ * @example
891
+ * // Create many Accounts
892
+ * const account = await prisma.account.createMany({
893
+ * data: [
894
+ * // ... provide data here
895
+ * ]
896
+ * })
897
+ *
898
+ */
899
+ createMany<T extends accountCreateManyArgs>(args?: Prisma.SelectSubset<T, accountCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
900
+
901
+ /**
902
+ * Create many Accounts and returns the data saved in the database.
903
+ * @param {accountCreateManyAndReturnArgs} args - Arguments to create many Accounts.
904
+ * @example
905
+ * // Create many Accounts
906
+ * const account = await prisma.account.createManyAndReturn({
907
+ * data: [
908
+ * // ... provide data here
909
+ * ]
910
+ * })
911
+ *
912
+ * // Create many Accounts and only return the `id`
913
+ * const accountWithIdOnly = await prisma.account.createManyAndReturn({
914
+ * select: { id: true },
915
+ * data: [
916
+ * // ... provide data here
917
+ * ]
918
+ * })
919
+ * Note, that providing `undefined` is treated as the value not being there.
920
+ * Read more here: https://pris.ly/d/null-undefined
921
+ *
922
+ */
923
+ createManyAndReturn<T extends accountCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, accountCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$accountPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
924
+
925
+ /**
926
+ * Delete a Account.
927
+ * @param {accountDeleteArgs} args - Arguments to delete one Account.
928
+ * @example
929
+ * // Delete one Account
930
+ * const Account = await prisma.account.delete({
931
+ * where: {
932
+ * // ... filter to delete one Account
933
+ * }
934
+ * })
935
+ *
936
+ */
937
+ delete<T extends accountDeleteArgs>(args: Prisma.SelectSubset<T, accountDeleteArgs<ExtArgs>>): Prisma.Prisma__accountClient<runtime.Types.Result.GetResult<Prisma.$accountPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
938
+
939
+ /**
940
+ * Update one Account.
941
+ * @param {accountUpdateArgs} args - Arguments to update one Account.
942
+ * @example
943
+ * // Update one Account
944
+ * const account = await prisma.account.update({
945
+ * where: {
946
+ * // ... provide filter here
947
+ * },
948
+ * data: {
949
+ * // ... provide data here
950
+ * }
951
+ * })
952
+ *
953
+ */
954
+ update<T extends accountUpdateArgs>(args: Prisma.SelectSubset<T, accountUpdateArgs<ExtArgs>>): Prisma.Prisma__accountClient<runtime.Types.Result.GetResult<Prisma.$accountPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
955
+
956
+ /**
957
+ * Delete zero or more Accounts.
958
+ * @param {accountDeleteManyArgs} args - Arguments to filter Accounts to delete.
959
+ * @example
960
+ * // Delete a few Accounts
961
+ * const { count } = await prisma.account.deleteMany({
962
+ * where: {
963
+ * // ... provide filter here
964
+ * }
965
+ * })
966
+ *
967
+ */
968
+ deleteMany<T extends accountDeleteManyArgs>(args?: Prisma.SelectSubset<T, accountDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
969
+
970
+ /**
971
+ * Update zero or more Accounts.
972
+ * Note, that providing `undefined` is treated as the value not being there.
973
+ * Read more here: https://pris.ly/d/null-undefined
974
+ * @param {accountUpdateManyArgs} args - Arguments to update one or more rows.
975
+ * @example
976
+ * // Update many Accounts
977
+ * const account = await prisma.account.updateMany({
978
+ * where: {
979
+ * // ... provide filter here
980
+ * },
981
+ * data: {
982
+ * // ... provide data here
983
+ * }
984
+ * })
985
+ *
986
+ */
987
+ updateMany<T extends accountUpdateManyArgs>(args: Prisma.SelectSubset<T, accountUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
988
+
989
+ /**
990
+ * Update zero or more Accounts and returns the data updated in the database.
991
+ * @param {accountUpdateManyAndReturnArgs} args - Arguments to update many Accounts.
992
+ * @example
993
+ * // Update many Accounts
994
+ * const account = await prisma.account.updateManyAndReturn({
995
+ * where: {
996
+ * // ... provide filter here
997
+ * },
998
+ * data: [
999
+ * // ... provide data here
1000
+ * ]
1001
+ * })
1002
+ *
1003
+ * // Update zero or more Accounts and only return the `id`
1004
+ * const accountWithIdOnly = await prisma.account.updateManyAndReturn({
1005
+ * select: { id: true },
1006
+ * where: {
1007
+ * // ... provide filter here
1008
+ * },
1009
+ * data: [
1010
+ * // ... provide data here
1011
+ * ]
1012
+ * })
1013
+ * Note, that providing `undefined` is treated as the value not being there.
1014
+ * Read more here: https://pris.ly/d/null-undefined
1015
+ *
1016
+ */
1017
+ updateManyAndReturn<T extends accountUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, accountUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$accountPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
1018
+
1019
+ /**
1020
+ * Create or update one Account.
1021
+ * @param {accountUpsertArgs} args - Arguments to update or create a Account.
1022
+ * @example
1023
+ * // Update or create a Account
1024
+ * const account = await prisma.account.upsert({
1025
+ * create: {
1026
+ * // ... data to create a Account
1027
+ * },
1028
+ * update: {
1029
+ * // ... in case it already exists, update
1030
+ * },
1031
+ * where: {
1032
+ * // ... the filter for the Account we want to update
1033
+ * }
1034
+ * })
1035
+ */
1036
+ upsert<T extends accountUpsertArgs>(args: Prisma.SelectSubset<T, accountUpsertArgs<ExtArgs>>): Prisma.Prisma__accountClient<runtime.Types.Result.GetResult<Prisma.$accountPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1037
+
1038
+
1039
+ /**
1040
+ * Count the number of Accounts.
1041
+ * Note, that providing `undefined` is treated as the value not being there.
1042
+ * Read more here: https://pris.ly/d/null-undefined
1043
+ * @param {accountCountArgs} args - Arguments to filter Accounts to count.
1044
+ * @example
1045
+ * // Count the number of Accounts
1046
+ * const count = await prisma.account.count({
1047
+ * where: {
1048
+ * // ... the filter for the Accounts we want to count
1049
+ * }
1050
+ * })
1051
+ **/
1052
+ count<T extends accountCountArgs>(
1053
+ args?: Prisma.Subset<T, accountCountArgs>,
1054
+ ): Prisma.PrismaPromise<
1055
+ T extends runtime.Types.Utils.Record<'select', any>
1056
+ ? T['select'] extends true
1057
+ ? number
1058
+ : Prisma.GetScalarType<T['select'], AccountCountAggregateOutputType>
1059
+ : number
1060
+ >
1061
+
1062
+ /**
1063
+ * Allows you to perform aggregations operations on a Account.
1064
+ * Note, that providing `undefined` is treated as the value not being there.
1065
+ * Read more here: https://pris.ly/d/null-undefined
1066
+ * @param {AccountAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1067
+ * @example
1068
+ * // Ordered by age ascending
1069
+ * // Where email contains prisma.io
1070
+ * // Limited to the 10 users
1071
+ * const aggregations = await prisma.user.aggregate({
1072
+ * _avg: {
1073
+ * age: true,
1074
+ * },
1075
+ * where: {
1076
+ * email: {
1077
+ * contains: "prisma.io",
1078
+ * },
1079
+ * },
1080
+ * orderBy: {
1081
+ * age: "asc",
1082
+ * },
1083
+ * take: 10,
1084
+ * })
1085
+ **/
1086
+ aggregate<T extends AccountAggregateArgs>(args: Prisma.Subset<T, AccountAggregateArgs>): Prisma.PrismaPromise<GetAccountAggregateType<T>>
1087
+
1088
+ /**
1089
+ * Group by Account.
1090
+ * Note, that providing `undefined` is treated as the value not being there.
1091
+ * Read more here: https://pris.ly/d/null-undefined
1092
+ * @param {accountGroupByArgs} args - Group by arguments.
1093
+ * @example
1094
+ * // Group by city, order by createdAt, get count
1095
+ * const result = await prisma.user.groupBy({
1096
+ * by: ['city', 'createdAt'],
1097
+ * orderBy: {
1098
+ * createdAt: true
1099
+ * },
1100
+ * _count: {
1101
+ * _all: true
1102
+ * },
1103
+ * })
1104
+ *
1105
+ **/
1106
+ groupBy<
1107
+ T extends accountGroupByArgs,
1108
+ HasSelectOrTake extends Prisma.Or<
1109
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
1110
+ Prisma.Extends<'take', Prisma.Keys<T>>
1111
+ >,
1112
+ OrderByArg extends Prisma.True extends HasSelectOrTake
1113
+ ? { orderBy: accountGroupByArgs['orderBy'] }
1114
+ : { orderBy?: accountGroupByArgs['orderBy'] },
1115
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1116
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1117
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
1118
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
1119
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
1120
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1121
+ InputErrors extends ByEmpty extends Prisma.True
1122
+ ? `Error: "by" must not be empty.`
1123
+ : HavingValid extends Prisma.False
1124
+ ? {
1125
+ [P in HavingFields]: P extends ByFields
1126
+ ? never
1127
+ : P extends string
1128
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1129
+ : [
1130
+ Error,
1131
+ 'Field ',
1132
+ P,
1133
+ ` in "having" needs to be provided in "by"`,
1134
+ ]
1135
+ }[HavingFields]
1136
+ : 'take' extends Prisma.Keys<T>
1137
+ ? 'orderBy' extends Prisma.Keys<T>
1138
+ ? ByValid extends Prisma.True
1139
+ ? {}
1140
+ : {
1141
+ [P in OrderFields]: P extends ByFields
1142
+ ? never
1143
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1144
+ }[OrderFields]
1145
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
1146
+ : 'skip' extends Prisma.Keys<T>
1147
+ ? 'orderBy' extends Prisma.Keys<T>
1148
+ ? ByValid extends Prisma.True
1149
+ ? {}
1150
+ : {
1151
+ [P in OrderFields]: P extends ByFields
1152
+ ? never
1153
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1154
+ }[OrderFields]
1155
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
1156
+ : ByValid extends Prisma.True
1157
+ ? {}
1158
+ : {
1159
+ [P in OrderFields]: P extends ByFields
1160
+ ? never
1161
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1162
+ }[OrderFields]
1163
+ >(args: Prisma.SubsetIntersection<T, accountGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAccountGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1164
+ /**
1165
+ * Fields of the account model
1166
+ */
1167
+ readonly fields: accountFieldRefs;
1168
+ }
1169
+
1170
+ /**
1171
+ * The delegate class that acts as a "Promise-like" for account.
1172
+ * Why is this prefixed with `Prisma__`?
1173
+ * Because we want to prevent naming conflicts as mentioned in
1174
+ * https://github.com/prisma/prisma-client-js/issues/707
1175
+ */
1176
+ export interface Prisma__accountClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1177
+ readonly [Symbol.toStringTag]: "PrismaPromise"
1178
+ user<T extends Prisma.userDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.userDefaultArgs<ExtArgs>>): Prisma.Prisma__userClient<runtime.Types.Result.GetResult<Prisma.$userPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
1179
+ /**
1180
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1181
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1182
+ * @param onrejected The callback to execute when the Promise is rejected.
1183
+ * @returns A Promise for the completion of which ever callback is executed.
1184
+ */
1185
+ 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>
1186
+ /**
1187
+ * Attaches a callback for only the rejection of the Promise.
1188
+ * @param onrejected The callback to execute when the Promise is rejected.
1189
+ * @returns A Promise for the completion of the callback.
1190
+ */
1191
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1192
+ /**
1193
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1194
+ * resolved value cannot be modified from the callback.
1195
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1196
+ * @returns A Promise for the completion of the callback.
1197
+ */
1198
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1199
+ }
1200
+
1201
+
1202
+
1203
+
1204
+ /**
1205
+ * Fields of the account model
1206
+ */
1207
+ export interface accountFieldRefs {
1208
+ readonly id: Prisma.FieldRef<"account", 'String'>
1209
+ readonly userId: Prisma.FieldRef<"account", 'String'>
1210
+ readonly accountId: Prisma.FieldRef<"account", 'String'>
1211
+ readonly providerId: Prisma.FieldRef<"account", 'String'>
1212
+ readonly refreshToken: Prisma.FieldRef<"account", 'String'>
1213
+ readonly accessToken: Prisma.FieldRef<"account", 'String'>
1214
+ readonly accessTokenExpiresAt: Prisma.FieldRef<"account", 'DateTime'>
1215
+ readonly refreshTokenExpiresAt: Prisma.FieldRef<"account", 'DateTime'>
1216
+ readonly idToken: Prisma.FieldRef<"account", 'String'>
1217
+ readonly scope: Prisma.FieldRef<"account", 'String'>
1218
+ readonly password: Prisma.FieldRef<"account", 'String'>
1219
+ readonly createdAt: Prisma.FieldRef<"account", 'DateTime'>
1220
+ readonly updatedAt: Prisma.FieldRef<"account", 'DateTime'>
1221
+ }
1222
+
1223
+
1224
+ // Custom InputTypes
1225
+ /**
1226
+ * account findUnique
1227
+ */
1228
+ export type accountFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1229
+ /**
1230
+ * Select specific fields to fetch from the account
1231
+ */
1232
+ select?: Prisma.accountSelect<ExtArgs> | null
1233
+ /**
1234
+ * Omit specific fields from the account
1235
+ */
1236
+ omit?: Prisma.accountOmit<ExtArgs> | null
1237
+ /**
1238
+ * Choose, which related nodes to fetch as well
1239
+ */
1240
+ include?: Prisma.accountInclude<ExtArgs> | null
1241
+ /**
1242
+ * Filter, which account to fetch.
1243
+ */
1244
+ where: Prisma.accountWhereUniqueInput
1245
+ }
1246
+
1247
+ /**
1248
+ * account findUniqueOrThrow
1249
+ */
1250
+ export type accountFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1251
+ /**
1252
+ * Select specific fields to fetch from the account
1253
+ */
1254
+ select?: Prisma.accountSelect<ExtArgs> | null
1255
+ /**
1256
+ * Omit specific fields from the account
1257
+ */
1258
+ omit?: Prisma.accountOmit<ExtArgs> | null
1259
+ /**
1260
+ * Choose, which related nodes to fetch as well
1261
+ */
1262
+ include?: Prisma.accountInclude<ExtArgs> | null
1263
+ /**
1264
+ * Filter, which account to fetch.
1265
+ */
1266
+ where: Prisma.accountWhereUniqueInput
1267
+ }
1268
+
1269
+ /**
1270
+ * account findFirst
1271
+ */
1272
+ export type accountFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1273
+ /**
1274
+ * Select specific fields to fetch from the account
1275
+ */
1276
+ select?: Prisma.accountSelect<ExtArgs> | null
1277
+ /**
1278
+ * Omit specific fields from the account
1279
+ */
1280
+ omit?: Prisma.accountOmit<ExtArgs> | null
1281
+ /**
1282
+ * Choose, which related nodes to fetch as well
1283
+ */
1284
+ include?: Prisma.accountInclude<ExtArgs> | null
1285
+ /**
1286
+ * Filter, which account to fetch.
1287
+ */
1288
+ where?: Prisma.accountWhereInput
1289
+ /**
1290
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1291
+ *
1292
+ * Determine the order of accounts to fetch.
1293
+ */
1294
+ orderBy?: Prisma.accountOrderByWithRelationInput | Prisma.accountOrderByWithRelationInput[]
1295
+ /**
1296
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1297
+ *
1298
+ * Sets the position for searching for accounts.
1299
+ */
1300
+ cursor?: Prisma.accountWhereUniqueInput
1301
+ /**
1302
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1303
+ *
1304
+ * Take `±n` accounts from the position of the cursor.
1305
+ */
1306
+ take?: number
1307
+ /**
1308
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1309
+ *
1310
+ * Skip the first `n` accounts.
1311
+ */
1312
+ skip?: number
1313
+ /**
1314
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1315
+ *
1316
+ * Filter by unique combinations of accounts.
1317
+ */
1318
+ distinct?: Prisma.AccountScalarFieldEnum | Prisma.AccountScalarFieldEnum[]
1319
+ }
1320
+
1321
+ /**
1322
+ * account findFirstOrThrow
1323
+ */
1324
+ export type accountFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1325
+ /**
1326
+ * Select specific fields to fetch from the account
1327
+ */
1328
+ select?: Prisma.accountSelect<ExtArgs> | null
1329
+ /**
1330
+ * Omit specific fields from the account
1331
+ */
1332
+ omit?: Prisma.accountOmit<ExtArgs> | null
1333
+ /**
1334
+ * Choose, which related nodes to fetch as well
1335
+ */
1336
+ include?: Prisma.accountInclude<ExtArgs> | null
1337
+ /**
1338
+ * Filter, which account to fetch.
1339
+ */
1340
+ where?: Prisma.accountWhereInput
1341
+ /**
1342
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1343
+ *
1344
+ * Determine the order of accounts to fetch.
1345
+ */
1346
+ orderBy?: Prisma.accountOrderByWithRelationInput | Prisma.accountOrderByWithRelationInput[]
1347
+ /**
1348
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1349
+ *
1350
+ * Sets the position for searching for accounts.
1351
+ */
1352
+ cursor?: Prisma.accountWhereUniqueInput
1353
+ /**
1354
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1355
+ *
1356
+ * Take `±n` accounts from the position of the cursor.
1357
+ */
1358
+ take?: number
1359
+ /**
1360
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1361
+ *
1362
+ * Skip the first `n` accounts.
1363
+ */
1364
+ skip?: number
1365
+ /**
1366
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1367
+ *
1368
+ * Filter by unique combinations of accounts.
1369
+ */
1370
+ distinct?: Prisma.AccountScalarFieldEnum | Prisma.AccountScalarFieldEnum[]
1371
+ }
1372
+
1373
+ /**
1374
+ * account findMany
1375
+ */
1376
+ export type accountFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1377
+ /**
1378
+ * Select specific fields to fetch from the account
1379
+ */
1380
+ select?: Prisma.accountSelect<ExtArgs> | null
1381
+ /**
1382
+ * Omit specific fields from the account
1383
+ */
1384
+ omit?: Prisma.accountOmit<ExtArgs> | null
1385
+ /**
1386
+ * Choose, which related nodes to fetch as well
1387
+ */
1388
+ include?: Prisma.accountInclude<ExtArgs> | null
1389
+ /**
1390
+ * Filter, which accounts to fetch.
1391
+ */
1392
+ where?: Prisma.accountWhereInput
1393
+ /**
1394
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1395
+ *
1396
+ * Determine the order of accounts to fetch.
1397
+ */
1398
+ orderBy?: Prisma.accountOrderByWithRelationInput | Prisma.accountOrderByWithRelationInput[]
1399
+ /**
1400
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1401
+ *
1402
+ * Sets the position for listing accounts.
1403
+ */
1404
+ cursor?: Prisma.accountWhereUniqueInput
1405
+ /**
1406
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1407
+ *
1408
+ * Take `±n` accounts from the position of the cursor.
1409
+ */
1410
+ take?: number
1411
+ /**
1412
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1413
+ *
1414
+ * Skip the first `n` accounts.
1415
+ */
1416
+ skip?: number
1417
+ distinct?: Prisma.AccountScalarFieldEnum | Prisma.AccountScalarFieldEnum[]
1418
+ }
1419
+
1420
+ /**
1421
+ * account create
1422
+ */
1423
+ export type accountCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1424
+ /**
1425
+ * Select specific fields to fetch from the account
1426
+ */
1427
+ select?: Prisma.accountSelect<ExtArgs> | null
1428
+ /**
1429
+ * Omit specific fields from the account
1430
+ */
1431
+ omit?: Prisma.accountOmit<ExtArgs> | null
1432
+ /**
1433
+ * Choose, which related nodes to fetch as well
1434
+ */
1435
+ include?: Prisma.accountInclude<ExtArgs> | null
1436
+ /**
1437
+ * The data needed to create a account.
1438
+ */
1439
+ data: Prisma.XOR<Prisma.accountCreateInput, Prisma.accountUncheckedCreateInput>
1440
+ }
1441
+
1442
+ /**
1443
+ * account createMany
1444
+ */
1445
+ export type accountCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1446
+ /**
1447
+ * The data used to create many accounts.
1448
+ */
1449
+ data: Prisma.accountCreateManyInput | Prisma.accountCreateManyInput[]
1450
+ skipDuplicates?: boolean
1451
+ }
1452
+
1453
+ /**
1454
+ * account createManyAndReturn
1455
+ */
1456
+ export type accountCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1457
+ /**
1458
+ * Select specific fields to fetch from the account
1459
+ */
1460
+ select?: Prisma.accountSelectCreateManyAndReturn<ExtArgs> | null
1461
+ /**
1462
+ * Omit specific fields from the account
1463
+ */
1464
+ omit?: Prisma.accountOmit<ExtArgs> | null
1465
+ /**
1466
+ * The data used to create many accounts.
1467
+ */
1468
+ data: Prisma.accountCreateManyInput | Prisma.accountCreateManyInput[]
1469
+ skipDuplicates?: boolean
1470
+ /**
1471
+ * Choose, which related nodes to fetch as well
1472
+ */
1473
+ include?: Prisma.accountIncludeCreateManyAndReturn<ExtArgs> | null
1474
+ }
1475
+
1476
+ /**
1477
+ * account update
1478
+ */
1479
+ export type accountUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1480
+ /**
1481
+ * Select specific fields to fetch from the account
1482
+ */
1483
+ select?: Prisma.accountSelect<ExtArgs> | null
1484
+ /**
1485
+ * Omit specific fields from the account
1486
+ */
1487
+ omit?: Prisma.accountOmit<ExtArgs> | null
1488
+ /**
1489
+ * Choose, which related nodes to fetch as well
1490
+ */
1491
+ include?: Prisma.accountInclude<ExtArgs> | null
1492
+ /**
1493
+ * The data needed to update a account.
1494
+ */
1495
+ data: Prisma.XOR<Prisma.accountUpdateInput, Prisma.accountUncheckedUpdateInput>
1496
+ /**
1497
+ * Choose, which account to update.
1498
+ */
1499
+ where: Prisma.accountWhereUniqueInput
1500
+ }
1501
+
1502
+ /**
1503
+ * account updateMany
1504
+ */
1505
+ export type accountUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1506
+ /**
1507
+ * The data used to update accounts.
1508
+ */
1509
+ data: Prisma.XOR<Prisma.accountUpdateManyMutationInput, Prisma.accountUncheckedUpdateManyInput>
1510
+ /**
1511
+ * Filter which accounts to update
1512
+ */
1513
+ where?: Prisma.accountWhereInput
1514
+ /**
1515
+ * Limit how many accounts to update.
1516
+ */
1517
+ limit?: number
1518
+ }
1519
+
1520
+ /**
1521
+ * account updateManyAndReturn
1522
+ */
1523
+ export type accountUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1524
+ /**
1525
+ * Select specific fields to fetch from the account
1526
+ */
1527
+ select?: Prisma.accountSelectUpdateManyAndReturn<ExtArgs> | null
1528
+ /**
1529
+ * Omit specific fields from the account
1530
+ */
1531
+ omit?: Prisma.accountOmit<ExtArgs> | null
1532
+ /**
1533
+ * The data used to update accounts.
1534
+ */
1535
+ data: Prisma.XOR<Prisma.accountUpdateManyMutationInput, Prisma.accountUncheckedUpdateManyInput>
1536
+ /**
1537
+ * Filter which accounts to update
1538
+ */
1539
+ where?: Prisma.accountWhereInput
1540
+ /**
1541
+ * Limit how many accounts to update.
1542
+ */
1543
+ limit?: number
1544
+ /**
1545
+ * Choose, which related nodes to fetch as well
1546
+ */
1547
+ include?: Prisma.accountIncludeUpdateManyAndReturn<ExtArgs> | null
1548
+ }
1549
+
1550
+ /**
1551
+ * account upsert
1552
+ */
1553
+ export type accountUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1554
+ /**
1555
+ * Select specific fields to fetch from the account
1556
+ */
1557
+ select?: Prisma.accountSelect<ExtArgs> | null
1558
+ /**
1559
+ * Omit specific fields from the account
1560
+ */
1561
+ omit?: Prisma.accountOmit<ExtArgs> | null
1562
+ /**
1563
+ * Choose, which related nodes to fetch as well
1564
+ */
1565
+ include?: Prisma.accountInclude<ExtArgs> | null
1566
+ /**
1567
+ * The filter to search for the account to update in case it exists.
1568
+ */
1569
+ where: Prisma.accountWhereUniqueInput
1570
+ /**
1571
+ * In case the account found by the `where` argument doesn't exist, create a new account with this data.
1572
+ */
1573
+ create: Prisma.XOR<Prisma.accountCreateInput, Prisma.accountUncheckedCreateInput>
1574
+ /**
1575
+ * In case the account was found with the provided `where` argument, update it with this data.
1576
+ */
1577
+ update: Prisma.XOR<Prisma.accountUpdateInput, Prisma.accountUncheckedUpdateInput>
1578
+ }
1579
+
1580
+ /**
1581
+ * account delete
1582
+ */
1583
+ export type accountDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1584
+ /**
1585
+ * Select specific fields to fetch from the account
1586
+ */
1587
+ select?: Prisma.accountSelect<ExtArgs> | null
1588
+ /**
1589
+ * Omit specific fields from the account
1590
+ */
1591
+ omit?: Prisma.accountOmit<ExtArgs> | null
1592
+ /**
1593
+ * Choose, which related nodes to fetch as well
1594
+ */
1595
+ include?: Prisma.accountInclude<ExtArgs> | null
1596
+ /**
1597
+ * Filter which account to delete.
1598
+ */
1599
+ where: Prisma.accountWhereUniqueInput
1600
+ }
1601
+
1602
+ /**
1603
+ * account deleteMany
1604
+ */
1605
+ export type accountDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1606
+ /**
1607
+ * Filter which accounts to delete
1608
+ */
1609
+ where?: Prisma.accountWhereInput
1610
+ /**
1611
+ * Limit how many accounts to delete.
1612
+ */
1613
+ limit?: number
1614
+ }
1615
+
1616
+ /**
1617
+ * account without action
1618
+ */
1619
+ export type accountDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1620
+ /**
1621
+ * Select specific fields to fetch from the account
1622
+ */
1623
+ select?: Prisma.accountSelect<ExtArgs> | null
1624
+ /**
1625
+ * Omit specific fields from the account
1626
+ */
1627
+ omit?: Prisma.accountOmit<ExtArgs> | null
1628
+ /**
1629
+ * Choose, which related nodes to fetch as well
1630
+ */
1631
+ include?: Prisma.accountInclude<ExtArgs> | null
1632
+ }