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