@allbluecn/database 0.14.6 → 0.14.8

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