@prenta/core 5.8.0 → 5.9.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 (104) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/api/handler-factory.d.ts.map +1 -1
  3. package/dist/api/handler-factory.js +15 -6
  4. package/dist/api/handler-factory.js.map +1 -1
  5. package/dist/api/handlers.d.ts.map +1 -1
  6. package/dist/api/handlers.js +2 -0
  7. package/dist/api/handlers.js.map +1 -1
  8. package/dist/api/routes/scheduling.d.ts.map +1 -1
  9. package/dist/api/routes/scheduling.js +8 -1
  10. package/dist/api/routes/scheduling.js.map +1 -1
  11. package/dist/api/routes/seo-geo.d.ts +23 -0
  12. package/dist/api/routes/seo-geo.d.ts.map +1 -0
  13. package/dist/api/routes/seo-geo.js +188 -0
  14. package/dist/api/routes/seo-geo.js.map +1 -0
  15. package/dist/astro-redirects.d.ts +5 -0
  16. package/dist/astro-redirects.d.ts.map +1 -1
  17. package/dist/astro-redirects.js +13 -1
  18. package/dist/astro-redirects.js.map +1 -1
  19. package/dist/cron/index.d.ts +8 -0
  20. package/dist/cron/index.d.ts.map +1 -1
  21. package/dist/cron/index.js +21 -0
  22. package/dist/cron/index.js.map +1 -1
  23. package/dist/db/model-types.d.ts +21 -0
  24. package/dist/db/model-types.d.ts.map +1 -1
  25. package/dist/forms/attribution.d.ts +6 -2
  26. package/dist/forms/attribution.d.ts.map +1 -1
  27. package/dist/forms/attribution.js +5 -0
  28. package/dist/forms/attribution.js.map +1 -1
  29. package/dist/forms/index.d.ts +2 -2
  30. package/dist/forms/index.d.ts.map +1 -1
  31. package/dist/forms/index.js +1 -1
  32. package/dist/forms/index.js.map +1 -1
  33. package/dist/generated/browser.d.ts +18 -0
  34. package/dist/generated/client.d.ts +18 -0
  35. package/dist/generated/internal/class.d.ts +22 -0
  36. package/dist/generated/internal/class.js +4 -4
  37. package/dist/generated/internal/prismaNamespace.d.ts +187 -1
  38. package/dist/generated/internal/prismaNamespace.js +32 -0
  39. package/dist/generated/internal/prismaNamespaceBrowser.d.ts +36 -0
  40. package/dist/generated/internal/prismaNamespaceBrowser.js +32 -0
  41. package/dist/generated/models/GeoCrawlDaily.d.ts +1144 -0
  42. package/dist/generated/models/GeoCrawlDaily.js +1 -0
  43. package/dist/generated/models/GeoReferralDaily.d.ts +1116 -0
  44. package/dist/generated/models/GeoReferralDaily.js +1 -0
  45. package/dist/generated/models.d.ts +2 -0
  46. package/dist/index.d.ts +7 -4
  47. package/dist/index.d.ts.map +1 -1
  48. package/dist/index.js +5 -2
  49. package/dist/index.js.map +1 -1
  50. package/dist/public-geo.d.ts +39 -0
  51. package/dist/public-geo.d.ts.map +1 -0
  52. package/dist/public-geo.js +79 -0
  53. package/dist/public-geo.js.map +1 -0
  54. package/dist/security/rate-limit-policy.d.ts +23 -0
  55. package/dist/security/rate-limit-policy.d.ts.map +1 -1
  56. package/dist/security/rate-limit-policy.js +36 -2
  57. package/dist/security/rate-limit-policy.js.map +1 -1
  58. package/dist/seo/ai-bots.d.ts +38 -7
  59. package/dist/seo/ai-bots.d.ts.map +1 -1
  60. package/dist/seo/ai-bots.js +82 -27
  61. package/dist/seo/ai-bots.js.map +1 -1
  62. package/dist/seo/ai-crawler-log.d.ts +2 -0
  63. package/dist/seo/ai-crawler-log.d.ts.map +1 -1
  64. package/dist/seo/ai-crawler-log.js +19 -1
  65. package/dist/seo/ai-crawler-log.js.map +1 -1
  66. package/dist/seo/ai-referrers.d.ts +25 -0
  67. package/dist/seo/ai-referrers.d.ts.map +1 -0
  68. package/dist/seo/ai-referrers.js +96 -0
  69. package/dist/seo/ai-referrers.js.map +1 -0
  70. package/dist/seo/config-store.d.ts +4 -0
  71. package/dist/seo/config-store.d.ts.map +1 -1
  72. package/dist/seo/config-store.js +3 -0
  73. package/dist/seo/config-store.js.map +1 -1
  74. package/dist/seo/digest.d.ts +23 -0
  75. package/dist/seo/digest.d.ts.map +1 -1
  76. package/dist/seo/digest.js +89 -3
  77. package/dist/seo/digest.js.map +1 -1
  78. package/dist/seo/geo-record.d.ts +75 -0
  79. package/dist/seo/geo-record.d.ts.map +1 -0
  80. package/dist/seo/geo-record.js +252 -0
  81. package/dist/seo/geo-record.js.map +1 -0
  82. package/dist/seo/geo-report.d.ts +96 -0
  83. package/dist/seo/geo-report.d.ts.map +1 -0
  84. package/dist/seo/geo-report.js +315 -0
  85. package/dist/seo/geo-report.js.map +1 -0
  86. package/dist/seo/geo-retention.d.ts +19 -0
  87. package/dist/seo/geo-retention.d.ts.map +1 -0
  88. package/dist/seo/geo-retention.js +23 -0
  89. package/dist/seo/geo-retention.js.map +1 -0
  90. package/dist/seo/index.d.ts +9 -2
  91. package/dist/seo/index.d.ts.map +1 -1
  92. package/dist/seo/index.js +5 -1
  93. package/dist/seo/index.js.map +1 -1
  94. package/dist/seo/search-console/sync.d.ts +8 -0
  95. package/dist/seo/search-console/sync.d.ts.map +1 -1
  96. package/dist/seo/search-console/sync.js +6 -3
  97. package/dist/seo/search-console/sync.js.map +1 -1
  98. package/dist/site.d.ts +5 -0
  99. package/dist/site.d.ts.map +1 -1
  100. package/dist/site.js +3 -0
  101. package/dist/site.js.map +1 -1
  102. package/package.json +3 -3
  103. package/prisma/migrations/0018_geo_daily/migration.sql +35 -0
  104. package/prisma/schema.prisma +41 -0
@@ -0,0 +1,1144 @@
1
+ import type * as runtime from "@prisma/client/runtime/client";
2
+ import type * as Prisma from "../internal/prismaNamespace.js";
3
+ /**
4
+ * Model GeoCrawlDaily
5
+ * GEO measurement: one row per (UTC day, crawler token, path) for known AI
6
+ * training / AI retrieval / search crawlers observed by the site middleware
7
+ * (spec 2026-09-08-geo-measurement-design.md §4). Distinct paths per
8
+ * (date, bot) are capped at GEO_CRAWL_PATH_CAP; overflow rolls into a
9
+ * single "(other)" row. Pruned by the cleanup cron after geoRetentionDays.
10
+ */
11
+ export type GeoCrawlDailyModel = runtime.Types.Result.DefaultSelection<Prisma.$GeoCrawlDailyPayload>;
12
+ export type AggregateGeoCrawlDaily = {
13
+ _count: GeoCrawlDailyCountAggregateOutputType | null;
14
+ _avg: GeoCrawlDailyAvgAggregateOutputType | null;
15
+ _sum: GeoCrawlDailySumAggregateOutputType | null;
16
+ _min: GeoCrawlDailyMinAggregateOutputType | null;
17
+ _max: GeoCrawlDailyMaxAggregateOutputType | null;
18
+ };
19
+ export type GeoCrawlDailyAvgAggregateOutputType = {
20
+ hits: number | null;
21
+ };
22
+ export type GeoCrawlDailySumAggregateOutputType = {
23
+ hits: number | null;
24
+ };
25
+ export type GeoCrawlDailyMinAggregateOutputType = {
26
+ id: string | null;
27
+ date: Date | null;
28
+ bot: string | null;
29
+ category: string | null;
30
+ path: string | null;
31
+ hits: number | null;
32
+ createdAt: Date | null;
33
+ updatedAt: Date | null;
34
+ };
35
+ export type GeoCrawlDailyMaxAggregateOutputType = {
36
+ id: string | null;
37
+ date: Date | null;
38
+ bot: string | null;
39
+ category: string | null;
40
+ path: string | null;
41
+ hits: number | null;
42
+ createdAt: Date | null;
43
+ updatedAt: Date | null;
44
+ };
45
+ export type GeoCrawlDailyCountAggregateOutputType = {
46
+ id: number;
47
+ date: number;
48
+ bot: number;
49
+ category: number;
50
+ path: number;
51
+ hits: number;
52
+ createdAt: number;
53
+ updatedAt: number;
54
+ _all: number;
55
+ };
56
+ export type GeoCrawlDailyAvgAggregateInputType = {
57
+ hits?: true;
58
+ };
59
+ export type GeoCrawlDailySumAggregateInputType = {
60
+ hits?: true;
61
+ };
62
+ export type GeoCrawlDailyMinAggregateInputType = {
63
+ id?: true;
64
+ date?: true;
65
+ bot?: true;
66
+ category?: true;
67
+ path?: true;
68
+ hits?: true;
69
+ createdAt?: true;
70
+ updatedAt?: true;
71
+ };
72
+ export type GeoCrawlDailyMaxAggregateInputType = {
73
+ id?: true;
74
+ date?: true;
75
+ bot?: true;
76
+ category?: true;
77
+ path?: true;
78
+ hits?: true;
79
+ createdAt?: true;
80
+ updatedAt?: true;
81
+ };
82
+ export type GeoCrawlDailyCountAggregateInputType = {
83
+ id?: true;
84
+ date?: true;
85
+ bot?: true;
86
+ category?: true;
87
+ path?: true;
88
+ hits?: true;
89
+ createdAt?: true;
90
+ updatedAt?: true;
91
+ _all?: true;
92
+ };
93
+ export type GeoCrawlDailyAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
94
+ /**
95
+ * Filter which GeoCrawlDaily to aggregate.
96
+ */
97
+ where?: Prisma.GeoCrawlDailyWhereInput;
98
+ /**
99
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
100
+ *
101
+ * Determine the order of GeoCrawlDailies to fetch.
102
+ */
103
+ orderBy?: Prisma.GeoCrawlDailyOrderByWithRelationInput | Prisma.GeoCrawlDailyOrderByWithRelationInput[];
104
+ /**
105
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
106
+ *
107
+ * Sets the start position
108
+ */
109
+ cursor?: Prisma.GeoCrawlDailyWhereUniqueInput;
110
+ /**
111
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
112
+ *
113
+ * Take `±n` GeoCrawlDailies from the position of the cursor.
114
+ */
115
+ take?: number;
116
+ /**
117
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
118
+ *
119
+ * Skip the first `n` GeoCrawlDailies.
120
+ */
121
+ skip?: number;
122
+ /**
123
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
124
+ *
125
+ * Count returned GeoCrawlDailies
126
+ **/
127
+ _count?: true | GeoCrawlDailyCountAggregateInputType;
128
+ /**
129
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
130
+ *
131
+ * Select which fields to average
132
+ **/
133
+ _avg?: GeoCrawlDailyAvgAggregateInputType;
134
+ /**
135
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
136
+ *
137
+ * Select which fields to sum
138
+ **/
139
+ _sum?: GeoCrawlDailySumAggregateInputType;
140
+ /**
141
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
142
+ *
143
+ * Select which fields to find the minimum value
144
+ **/
145
+ _min?: GeoCrawlDailyMinAggregateInputType;
146
+ /**
147
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
148
+ *
149
+ * Select which fields to find the maximum value
150
+ **/
151
+ _max?: GeoCrawlDailyMaxAggregateInputType;
152
+ };
153
+ export type GetGeoCrawlDailyAggregateType<T extends GeoCrawlDailyAggregateArgs> = {
154
+ [P in keyof T & keyof AggregateGeoCrawlDaily]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateGeoCrawlDaily[P]> : Prisma.GetScalarType<T[P], AggregateGeoCrawlDaily[P]>;
155
+ };
156
+ export type GeoCrawlDailyGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
157
+ where?: Prisma.GeoCrawlDailyWhereInput;
158
+ orderBy?: Prisma.GeoCrawlDailyOrderByWithAggregationInput | Prisma.GeoCrawlDailyOrderByWithAggregationInput[];
159
+ by: Prisma.GeoCrawlDailyScalarFieldEnum[] | Prisma.GeoCrawlDailyScalarFieldEnum;
160
+ having?: Prisma.GeoCrawlDailyScalarWhereWithAggregatesInput;
161
+ take?: number;
162
+ skip?: number;
163
+ _count?: GeoCrawlDailyCountAggregateInputType | true;
164
+ _avg?: GeoCrawlDailyAvgAggregateInputType;
165
+ _sum?: GeoCrawlDailySumAggregateInputType;
166
+ _min?: GeoCrawlDailyMinAggregateInputType;
167
+ _max?: GeoCrawlDailyMaxAggregateInputType;
168
+ };
169
+ export type GeoCrawlDailyGroupByOutputType = {
170
+ id: string;
171
+ date: Date;
172
+ bot: string;
173
+ category: string;
174
+ path: string;
175
+ hits: number;
176
+ createdAt: Date;
177
+ updatedAt: Date;
178
+ _count: GeoCrawlDailyCountAggregateOutputType | null;
179
+ _avg: GeoCrawlDailyAvgAggregateOutputType | null;
180
+ _sum: GeoCrawlDailySumAggregateOutputType | null;
181
+ _min: GeoCrawlDailyMinAggregateOutputType | null;
182
+ _max: GeoCrawlDailyMaxAggregateOutputType | null;
183
+ };
184
+ export type GetGeoCrawlDailyGroupByPayload<T extends GeoCrawlDailyGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<GeoCrawlDailyGroupByOutputType, T['by']> & {
185
+ [P in ((keyof T) & (keyof GeoCrawlDailyGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], GeoCrawlDailyGroupByOutputType[P]> : Prisma.GetScalarType<T[P], GeoCrawlDailyGroupByOutputType[P]>;
186
+ }>>;
187
+ export type GeoCrawlDailyWhereInput = {
188
+ AND?: Prisma.GeoCrawlDailyWhereInput | Prisma.GeoCrawlDailyWhereInput[];
189
+ OR?: Prisma.GeoCrawlDailyWhereInput[];
190
+ NOT?: Prisma.GeoCrawlDailyWhereInput | Prisma.GeoCrawlDailyWhereInput[];
191
+ id?: Prisma.StringFilter<"GeoCrawlDaily"> | string;
192
+ date?: Prisma.DateTimeFilter<"GeoCrawlDaily"> | Date | string;
193
+ bot?: Prisma.StringFilter<"GeoCrawlDaily"> | string;
194
+ category?: Prisma.StringFilter<"GeoCrawlDaily"> | string;
195
+ path?: Prisma.StringFilter<"GeoCrawlDaily"> | string;
196
+ hits?: Prisma.IntFilter<"GeoCrawlDaily"> | number;
197
+ createdAt?: Prisma.DateTimeFilter<"GeoCrawlDaily"> | Date | string;
198
+ updatedAt?: Prisma.DateTimeFilter<"GeoCrawlDaily"> | Date | string;
199
+ };
200
+ export type GeoCrawlDailyOrderByWithRelationInput = {
201
+ id?: Prisma.SortOrder;
202
+ date?: Prisma.SortOrder;
203
+ bot?: Prisma.SortOrder;
204
+ category?: Prisma.SortOrder;
205
+ path?: Prisma.SortOrder;
206
+ hits?: Prisma.SortOrder;
207
+ createdAt?: Prisma.SortOrder;
208
+ updatedAt?: Prisma.SortOrder;
209
+ _relevance?: Prisma.GeoCrawlDailyOrderByRelevanceInput;
210
+ };
211
+ export type GeoCrawlDailyWhereUniqueInput = Prisma.AtLeast<{
212
+ id?: string;
213
+ date_bot_path?: Prisma.GeoCrawlDailyDateBotPathCompoundUniqueInput;
214
+ AND?: Prisma.GeoCrawlDailyWhereInput | Prisma.GeoCrawlDailyWhereInput[];
215
+ OR?: Prisma.GeoCrawlDailyWhereInput[];
216
+ NOT?: Prisma.GeoCrawlDailyWhereInput | Prisma.GeoCrawlDailyWhereInput[];
217
+ date?: Prisma.DateTimeFilter<"GeoCrawlDaily"> | Date | string;
218
+ bot?: Prisma.StringFilter<"GeoCrawlDaily"> | string;
219
+ category?: Prisma.StringFilter<"GeoCrawlDaily"> | string;
220
+ path?: Prisma.StringFilter<"GeoCrawlDaily"> | string;
221
+ hits?: Prisma.IntFilter<"GeoCrawlDaily"> | number;
222
+ createdAt?: Prisma.DateTimeFilter<"GeoCrawlDaily"> | Date | string;
223
+ updatedAt?: Prisma.DateTimeFilter<"GeoCrawlDaily"> | Date | string;
224
+ }, "id" | "date_bot_path">;
225
+ export type GeoCrawlDailyOrderByWithAggregationInput = {
226
+ id?: Prisma.SortOrder;
227
+ date?: Prisma.SortOrder;
228
+ bot?: Prisma.SortOrder;
229
+ category?: Prisma.SortOrder;
230
+ path?: Prisma.SortOrder;
231
+ hits?: Prisma.SortOrder;
232
+ createdAt?: Prisma.SortOrder;
233
+ updatedAt?: Prisma.SortOrder;
234
+ _count?: Prisma.GeoCrawlDailyCountOrderByAggregateInput;
235
+ _avg?: Prisma.GeoCrawlDailyAvgOrderByAggregateInput;
236
+ _max?: Prisma.GeoCrawlDailyMaxOrderByAggregateInput;
237
+ _min?: Prisma.GeoCrawlDailyMinOrderByAggregateInput;
238
+ _sum?: Prisma.GeoCrawlDailySumOrderByAggregateInput;
239
+ };
240
+ export type GeoCrawlDailyScalarWhereWithAggregatesInput = {
241
+ AND?: Prisma.GeoCrawlDailyScalarWhereWithAggregatesInput | Prisma.GeoCrawlDailyScalarWhereWithAggregatesInput[];
242
+ OR?: Prisma.GeoCrawlDailyScalarWhereWithAggregatesInput[];
243
+ NOT?: Prisma.GeoCrawlDailyScalarWhereWithAggregatesInput | Prisma.GeoCrawlDailyScalarWhereWithAggregatesInput[];
244
+ id?: Prisma.StringWithAggregatesFilter<"GeoCrawlDaily"> | string;
245
+ date?: Prisma.DateTimeWithAggregatesFilter<"GeoCrawlDaily"> | Date | string;
246
+ bot?: Prisma.StringWithAggregatesFilter<"GeoCrawlDaily"> | string;
247
+ category?: Prisma.StringWithAggregatesFilter<"GeoCrawlDaily"> | string;
248
+ path?: Prisma.StringWithAggregatesFilter<"GeoCrawlDaily"> | string;
249
+ hits?: Prisma.IntWithAggregatesFilter<"GeoCrawlDaily"> | number;
250
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"GeoCrawlDaily"> | Date | string;
251
+ updatedAt?: Prisma.DateTimeWithAggregatesFilter<"GeoCrawlDaily"> | Date | string;
252
+ };
253
+ export type GeoCrawlDailyCreateInput = {
254
+ id?: string;
255
+ date: Date | string;
256
+ bot: string;
257
+ category: string;
258
+ path: string;
259
+ hits?: number;
260
+ createdAt?: Date | string;
261
+ updatedAt?: Date | string;
262
+ };
263
+ export type GeoCrawlDailyUncheckedCreateInput = {
264
+ id?: string;
265
+ date: Date | string;
266
+ bot: string;
267
+ category: string;
268
+ path: string;
269
+ hits?: number;
270
+ createdAt?: Date | string;
271
+ updatedAt?: Date | string;
272
+ };
273
+ export type GeoCrawlDailyUpdateInput = {
274
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
275
+ date?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
276
+ bot?: Prisma.StringFieldUpdateOperationsInput | string;
277
+ category?: Prisma.StringFieldUpdateOperationsInput | string;
278
+ path?: Prisma.StringFieldUpdateOperationsInput | string;
279
+ hits?: Prisma.IntFieldUpdateOperationsInput | number;
280
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
281
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
282
+ };
283
+ export type GeoCrawlDailyUncheckedUpdateInput = {
284
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
285
+ date?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
286
+ bot?: Prisma.StringFieldUpdateOperationsInput | string;
287
+ category?: Prisma.StringFieldUpdateOperationsInput | string;
288
+ path?: Prisma.StringFieldUpdateOperationsInput | string;
289
+ hits?: Prisma.IntFieldUpdateOperationsInput | number;
290
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
291
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
292
+ };
293
+ export type GeoCrawlDailyCreateManyInput = {
294
+ id?: string;
295
+ date: Date | string;
296
+ bot: string;
297
+ category: string;
298
+ path: string;
299
+ hits?: number;
300
+ createdAt?: Date | string;
301
+ updatedAt?: Date | string;
302
+ };
303
+ export type GeoCrawlDailyUpdateManyMutationInput = {
304
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
305
+ date?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
306
+ bot?: Prisma.StringFieldUpdateOperationsInput | string;
307
+ category?: Prisma.StringFieldUpdateOperationsInput | string;
308
+ path?: Prisma.StringFieldUpdateOperationsInput | string;
309
+ hits?: Prisma.IntFieldUpdateOperationsInput | number;
310
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
311
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
312
+ };
313
+ export type GeoCrawlDailyUncheckedUpdateManyInput = {
314
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
315
+ date?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
316
+ bot?: Prisma.StringFieldUpdateOperationsInput | string;
317
+ category?: Prisma.StringFieldUpdateOperationsInput | string;
318
+ path?: Prisma.StringFieldUpdateOperationsInput | string;
319
+ hits?: Prisma.IntFieldUpdateOperationsInput | number;
320
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
321
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
322
+ };
323
+ export type GeoCrawlDailyOrderByRelevanceInput = {
324
+ fields: Prisma.GeoCrawlDailyOrderByRelevanceFieldEnum | Prisma.GeoCrawlDailyOrderByRelevanceFieldEnum[];
325
+ sort: Prisma.SortOrder;
326
+ search: string;
327
+ };
328
+ export type GeoCrawlDailyDateBotPathCompoundUniqueInput = {
329
+ date: Date | string;
330
+ bot: string;
331
+ path: string;
332
+ };
333
+ export type GeoCrawlDailyCountOrderByAggregateInput = {
334
+ id?: Prisma.SortOrder;
335
+ date?: Prisma.SortOrder;
336
+ bot?: Prisma.SortOrder;
337
+ category?: Prisma.SortOrder;
338
+ path?: Prisma.SortOrder;
339
+ hits?: Prisma.SortOrder;
340
+ createdAt?: Prisma.SortOrder;
341
+ updatedAt?: Prisma.SortOrder;
342
+ };
343
+ export type GeoCrawlDailyAvgOrderByAggregateInput = {
344
+ hits?: Prisma.SortOrder;
345
+ };
346
+ export type GeoCrawlDailyMaxOrderByAggregateInput = {
347
+ id?: Prisma.SortOrder;
348
+ date?: Prisma.SortOrder;
349
+ bot?: Prisma.SortOrder;
350
+ category?: Prisma.SortOrder;
351
+ path?: Prisma.SortOrder;
352
+ hits?: Prisma.SortOrder;
353
+ createdAt?: Prisma.SortOrder;
354
+ updatedAt?: Prisma.SortOrder;
355
+ };
356
+ export type GeoCrawlDailyMinOrderByAggregateInput = {
357
+ id?: Prisma.SortOrder;
358
+ date?: Prisma.SortOrder;
359
+ bot?: Prisma.SortOrder;
360
+ category?: Prisma.SortOrder;
361
+ path?: Prisma.SortOrder;
362
+ hits?: Prisma.SortOrder;
363
+ createdAt?: Prisma.SortOrder;
364
+ updatedAt?: Prisma.SortOrder;
365
+ };
366
+ export type GeoCrawlDailySumOrderByAggregateInput = {
367
+ hits?: Prisma.SortOrder;
368
+ };
369
+ export type GeoCrawlDailySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
370
+ id?: boolean;
371
+ date?: boolean;
372
+ bot?: boolean;
373
+ category?: boolean;
374
+ path?: boolean;
375
+ hits?: boolean;
376
+ createdAt?: boolean;
377
+ updatedAt?: boolean;
378
+ }, ExtArgs["result"]["geoCrawlDaily"]>;
379
+ export type GeoCrawlDailySelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
380
+ id?: boolean;
381
+ date?: boolean;
382
+ bot?: boolean;
383
+ category?: boolean;
384
+ path?: boolean;
385
+ hits?: boolean;
386
+ createdAt?: boolean;
387
+ updatedAt?: boolean;
388
+ }, ExtArgs["result"]["geoCrawlDaily"]>;
389
+ export type GeoCrawlDailySelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
390
+ id?: boolean;
391
+ date?: boolean;
392
+ bot?: boolean;
393
+ category?: boolean;
394
+ path?: boolean;
395
+ hits?: boolean;
396
+ createdAt?: boolean;
397
+ updatedAt?: boolean;
398
+ }, ExtArgs["result"]["geoCrawlDaily"]>;
399
+ export type GeoCrawlDailySelectScalar = {
400
+ id?: boolean;
401
+ date?: boolean;
402
+ bot?: boolean;
403
+ category?: boolean;
404
+ path?: boolean;
405
+ hits?: boolean;
406
+ createdAt?: boolean;
407
+ updatedAt?: boolean;
408
+ };
409
+ export type GeoCrawlDailyOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "date" | "bot" | "category" | "path" | "hits" | "createdAt" | "updatedAt", ExtArgs["result"]["geoCrawlDaily"]>;
410
+ export type $GeoCrawlDailyPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
411
+ name: "GeoCrawlDaily";
412
+ objects: {};
413
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
414
+ id: string;
415
+ date: Date;
416
+ bot: string;
417
+ category: string;
418
+ path: string;
419
+ hits: number;
420
+ createdAt: Date;
421
+ updatedAt: Date;
422
+ }, ExtArgs["result"]["geoCrawlDaily"]>;
423
+ composites: {};
424
+ };
425
+ export type GeoCrawlDailyGetPayload<S extends boolean | null | undefined | GeoCrawlDailyDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$GeoCrawlDailyPayload, S>;
426
+ export type GeoCrawlDailyCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<GeoCrawlDailyFindManyArgs, 'select' | 'include' | 'distinct' | 'omit' | 'relationLoadStrategy'> & {
427
+ select?: GeoCrawlDailyCountAggregateInputType | true;
428
+ };
429
+ export interface GeoCrawlDailyDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
430
+ [K: symbol]: {
431
+ types: Prisma.TypeMap<ExtArgs>['model']['GeoCrawlDaily'];
432
+ meta: {
433
+ name: 'GeoCrawlDaily';
434
+ };
435
+ };
436
+ /**
437
+ * Find zero or one GeoCrawlDaily that matches the filter.
438
+ * @param {GeoCrawlDailyFindUniqueArgs} args - Arguments to find a GeoCrawlDaily
439
+ * @example
440
+ * // Get one GeoCrawlDaily
441
+ * const geoCrawlDaily = await prisma.geoCrawlDaily.findUnique({
442
+ * where: {
443
+ * // ... provide filter here
444
+ * }
445
+ * })
446
+ */
447
+ findUnique<T extends GeoCrawlDailyFindUniqueArgs>(args: Prisma.SelectSubset<T, GeoCrawlDailyFindUniqueArgs<ExtArgs>>): Prisma.Prisma__GeoCrawlDailyClient<runtime.Types.Result.GetResult<Prisma.$GeoCrawlDailyPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
448
+ /**
449
+ * Find one GeoCrawlDaily that matches the filter or throw an error with `error.code='P2025'`
450
+ * if no matches were found.
451
+ * @param {GeoCrawlDailyFindUniqueOrThrowArgs} args - Arguments to find a GeoCrawlDaily
452
+ * @example
453
+ * // Get one GeoCrawlDaily
454
+ * const geoCrawlDaily = await prisma.geoCrawlDaily.findUniqueOrThrow({
455
+ * where: {
456
+ * // ... provide filter here
457
+ * }
458
+ * })
459
+ */
460
+ findUniqueOrThrow<T extends GeoCrawlDailyFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, GeoCrawlDailyFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__GeoCrawlDailyClient<runtime.Types.Result.GetResult<Prisma.$GeoCrawlDailyPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
461
+ /**
462
+ * Find the first GeoCrawlDaily that matches the filter.
463
+ * Note, that providing `undefined` is treated as the value not being there.
464
+ * Read more here: https://pris.ly/d/null-undefined
465
+ * @param {GeoCrawlDailyFindFirstArgs} args - Arguments to find a GeoCrawlDaily
466
+ * @example
467
+ * // Get one GeoCrawlDaily
468
+ * const geoCrawlDaily = await prisma.geoCrawlDaily.findFirst({
469
+ * where: {
470
+ * // ... provide filter here
471
+ * }
472
+ * })
473
+ */
474
+ findFirst<T extends GeoCrawlDailyFindFirstArgs>(args?: Prisma.SelectSubset<T, GeoCrawlDailyFindFirstArgs<ExtArgs>>): Prisma.Prisma__GeoCrawlDailyClient<runtime.Types.Result.GetResult<Prisma.$GeoCrawlDailyPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
475
+ /**
476
+ * Find the first GeoCrawlDaily that matches the filter or
477
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
478
+ * Note, that providing `undefined` is treated as the value not being there.
479
+ * Read more here: https://pris.ly/d/null-undefined
480
+ * @param {GeoCrawlDailyFindFirstOrThrowArgs} args - Arguments to find a GeoCrawlDaily
481
+ * @example
482
+ * // Get one GeoCrawlDaily
483
+ * const geoCrawlDaily = await prisma.geoCrawlDaily.findFirstOrThrow({
484
+ * where: {
485
+ * // ... provide filter here
486
+ * }
487
+ * })
488
+ */
489
+ findFirstOrThrow<T extends GeoCrawlDailyFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, GeoCrawlDailyFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__GeoCrawlDailyClient<runtime.Types.Result.GetResult<Prisma.$GeoCrawlDailyPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
490
+ /**
491
+ * Find zero or more GeoCrawlDailies that matches the filter.
492
+ * Note, that providing `undefined` is treated as the value not being there.
493
+ * Read more here: https://pris.ly/d/null-undefined
494
+ * @param {GeoCrawlDailyFindManyArgs} args - Arguments to filter and select certain fields only.
495
+ * @example
496
+ * // Get all GeoCrawlDailies
497
+ * const geoCrawlDailies = await prisma.geoCrawlDaily.findMany()
498
+ *
499
+ * // Get first 10 GeoCrawlDailies
500
+ * const geoCrawlDailies = await prisma.geoCrawlDaily.findMany({ take: 10 })
501
+ *
502
+ * // Only select the `id`
503
+ * const geoCrawlDailyWithIdOnly = await prisma.geoCrawlDaily.findMany({ select: { id: true } })
504
+ *
505
+ */
506
+ findMany<T extends GeoCrawlDailyFindManyArgs>(args?: Prisma.SelectSubset<T, GeoCrawlDailyFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$GeoCrawlDailyPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
507
+ /**
508
+ * Create a GeoCrawlDaily.
509
+ * @param {GeoCrawlDailyCreateArgs} args - Arguments to create a GeoCrawlDaily.
510
+ * @example
511
+ * // Create one GeoCrawlDaily
512
+ * const GeoCrawlDaily = await prisma.geoCrawlDaily.create({
513
+ * data: {
514
+ * // ... data to create a GeoCrawlDaily
515
+ * }
516
+ * })
517
+ *
518
+ */
519
+ create<T extends GeoCrawlDailyCreateArgs>(args: Prisma.SelectSubset<T, GeoCrawlDailyCreateArgs<ExtArgs>>): Prisma.Prisma__GeoCrawlDailyClient<runtime.Types.Result.GetResult<Prisma.$GeoCrawlDailyPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
520
+ /**
521
+ * Create many GeoCrawlDailies.
522
+ * @param {GeoCrawlDailyCreateManyArgs} args - Arguments to create many GeoCrawlDailies.
523
+ * @example
524
+ * // Create many GeoCrawlDailies
525
+ * const geoCrawlDaily = await prisma.geoCrawlDaily.createMany({
526
+ * data: [
527
+ * // ... provide data here
528
+ * ]
529
+ * })
530
+ *
531
+ */
532
+ createMany<T extends GeoCrawlDailyCreateManyArgs>(args?: Prisma.SelectSubset<T, GeoCrawlDailyCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
533
+ /**
534
+ * Create many GeoCrawlDailies and returns the data saved in the database.
535
+ * @param {GeoCrawlDailyCreateManyAndReturnArgs} args - Arguments to create many GeoCrawlDailies.
536
+ * @example
537
+ * // Create many GeoCrawlDailies
538
+ * const geoCrawlDaily = await prisma.geoCrawlDaily.createManyAndReturn({
539
+ * data: [
540
+ * // ... provide data here
541
+ * ]
542
+ * })
543
+ *
544
+ * // Create many GeoCrawlDailies and only return the `id`
545
+ * const geoCrawlDailyWithIdOnly = await prisma.geoCrawlDaily.createManyAndReturn({
546
+ * select: { id: true },
547
+ * data: [
548
+ * // ... provide data here
549
+ * ]
550
+ * })
551
+ * Note, that providing `undefined` is treated as the value not being there.
552
+ * Read more here: https://pris.ly/d/null-undefined
553
+ *
554
+ */
555
+ createManyAndReturn<T extends GeoCrawlDailyCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, GeoCrawlDailyCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$GeoCrawlDailyPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
556
+ /**
557
+ * Delete a GeoCrawlDaily.
558
+ * @param {GeoCrawlDailyDeleteArgs} args - Arguments to delete one GeoCrawlDaily.
559
+ * @example
560
+ * // Delete one GeoCrawlDaily
561
+ * const GeoCrawlDaily = await prisma.geoCrawlDaily.delete({
562
+ * where: {
563
+ * // ... filter to delete one GeoCrawlDaily
564
+ * }
565
+ * })
566
+ *
567
+ */
568
+ delete<T extends GeoCrawlDailyDeleteArgs>(args: Prisma.SelectSubset<T, GeoCrawlDailyDeleteArgs<ExtArgs>>): Prisma.Prisma__GeoCrawlDailyClient<runtime.Types.Result.GetResult<Prisma.$GeoCrawlDailyPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
569
+ /**
570
+ * Update one GeoCrawlDaily.
571
+ * @param {GeoCrawlDailyUpdateArgs} args - Arguments to update one GeoCrawlDaily.
572
+ * @example
573
+ * // Update one GeoCrawlDaily
574
+ * const geoCrawlDaily = await prisma.geoCrawlDaily.update({
575
+ * where: {
576
+ * // ... provide filter here
577
+ * },
578
+ * data: {
579
+ * // ... provide data here
580
+ * }
581
+ * })
582
+ *
583
+ */
584
+ update<T extends GeoCrawlDailyUpdateArgs>(args: Prisma.SelectSubset<T, GeoCrawlDailyUpdateArgs<ExtArgs>>): Prisma.Prisma__GeoCrawlDailyClient<runtime.Types.Result.GetResult<Prisma.$GeoCrawlDailyPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
585
+ /**
586
+ * Delete zero or more GeoCrawlDailies.
587
+ * @param {GeoCrawlDailyDeleteManyArgs} args - Arguments to filter GeoCrawlDailies to delete.
588
+ * @example
589
+ * // Delete a few GeoCrawlDailies
590
+ * const { count } = await prisma.geoCrawlDaily.deleteMany({
591
+ * where: {
592
+ * // ... provide filter here
593
+ * }
594
+ * })
595
+ *
596
+ */
597
+ deleteMany<T extends GeoCrawlDailyDeleteManyArgs>(args?: Prisma.SelectSubset<T, GeoCrawlDailyDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
598
+ /**
599
+ * Update zero or more GeoCrawlDailies.
600
+ * Note, that providing `undefined` is treated as the value not being there.
601
+ * Read more here: https://pris.ly/d/null-undefined
602
+ * @param {GeoCrawlDailyUpdateManyArgs} args - Arguments to update one or more rows.
603
+ * @example
604
+ * // Update many GeoCrawlDailies
605
+ * const geoCrawlDaily = await prisma.geoCrawlDaily.updateMany({
606
+ * where: {
607
+ * // ... provide filter here
608
+ * },
609
+ * data: {
610
+ * // ... provide data here
611
+ * }
612
+ * })
613
+ *
614
+ */
615
+ updateMany<T extends GeoCrawlDailyUpdateManyArgs>(args: Prisma.SelectSubset<T, GeoCrawlDailyUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
616
+ /**
617
+ * Update zero or more GeoCrawlDailies and returns the data updated in the database.
618
+ * @param {GeoCrawlDailyUpdateManyAndReturnArgs} args - Arguments to update many GeoCrawlDailies.
619
+ * @example
620
+ * // Update many GeoCrawlDailies
621
+ * const geoCrawlDaily = await prisma.geoCrawlDaily.updateManyAndReturn({
622
+ * where: {
623
+ * // ... provide filter here
624
+ * },
625
+ * data: [
626
+ * // ... provide data here
627
+ * ]
628
+ * })
629
+ *
630
+ * // Update zero or more GeoCrawlDailies and only return the `id`
631
+ * const geoCrawlDailyWithIdOnly = await prisma.geoCrawlDaily.updateManyAndReturn({
632
+ * select: { id: true },
633
+ * where: {
634
+ * // ... provide filter here
635
+ * },
636
+ * data: [
637
+ * // ... provide data here
638
+ * ]
639
+ * })
640
+ * Note, that providing `undefined` is treated as the value not being there.
641
+ * Read more here: https://pris.ly/d/null-undefined
642
+ *
643
+ */
644
+ updateManyAndReturn<T extends GeoCrawlDailyUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, GeoCrawlDailyUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$GeoCrawlDailyPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
645
+ /**
646
+ * Create or update one GeoCrawlDaily.
647
+ * @param {GeoCrawlDailyUpsertArgs} args - Arguments to update or create a GeoCrawlDaily.
648
+ * @example
649
+ * // Update or create a GeoCrawlDaily
650
+ * const geoCrawlDaily = await prisma.geoCrawlDaily.upsert({
651
+ * create: {
652
+ * // ... data to create a GeoCrawlDaily
653
+ * },
654
+ * update: {
655
+ * // ... in case it already exists, update
656
+ * },
657
+ * where: {
658
+ * // ... the filter for the GeoCrawlDaily we want to update
659
+ * }
660
+ * })
661
+ */
662
+ upsert<T extends GeoCrawlDailyUpsertArgs>(args: Prisma.SelectSubset<T, GeoCrawlDailyUpsertArgs<ExtArgs>>): Prisma.Prisma__GeoCrawlDailyClient<runtime.Types.Result.GetResult<Prisma.$GeoCrawlDailyPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
663
+ /**
664
+ * Count the number of GeoCrawlDailies.
665
+ * Note, that providing `undefined` is treated as the value not being there.
666
+ * Read more here: https://pris.ly/d/null-undefined
667
+ * @param {GeoCrawlDailyCountArgs} args - Arguments to filter GeoCrawlDailies to count.
668
+ * @example
669
+ * // Count the number of GeoCrawlDailies
670
+ * const count = await prisma.geoCrawlDaily.count({
671
+ * where: {
672
+ * // ... the filter for the GeoCrawlDailies we want to count
673
+ * }
674
+ * })
675
+ **/
676
+ count<T extends GeoCrawlDailyCountArgs>(args?: Prisma.Subset<T, GeoCrawlDailyCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], GeoCrawlDailyCountAggregateOutputType> : number>;
677
+ /**
678
+ * Allows you to perform aggregations operations on a GeoCrawlDaily.
679
+ * Note, that providing `undefined` is treated as the value not being there.
680
+ * Read more here: https://pris.ly/d/null-undefined
681
+ * @param {GeoCrawlDailyAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
682
+ * @example
683
+ * // Ordered by age ascending
684
+ * // Where email contains prisma.io
685
+ * // Limited to the 10 users
686
+ * const aggregations = await prisma.user.aggregate({
687
+ * _avg: {
688
+ * age: true,
689
+ * },
690
+ * where: {
691
+ * email: {
692
+ * contains: "prisma.io",
693
+ * },
694
+ * },
695
+ * orderBy: {
696
+ * age: "asc",
697
+ * },
698
+ * take: 10,
699
+ * })
700
+ **/
701
+ aggregate<T extends GeoCrawlDailyAggregateArgs>(args: Prisma.Subset<T, GeoCrawlDailyAggregateArgs>): Prisma.PrismaPromise<GetGeoCrawlDailyAggregateType<T>>;
702
+ /**
703
+ * Group by GeoCrawlDaily.
704
+ * Note, that providing `undefined` is treated as the value not being there.
705
+ * Read more here: https://pris.ly/d/null-undefined
706
+ * @param {GeoCrawlDailyGroupByArgs} args - Group by arguments.
707
+ * @example
708
+ * // Group by city, order by createdAt, get count
709
+ * const result = await prisma.user.groupBy({
710
+ * by: ['city', 'createdAt'],
711
+ * orderBy: {
712
+ * createdAt: true
713
+ * },
714
+ * _count: {
715
+ * _all: true
716
+ * },
717
+ * })
718
+ *
719
+ **/
720
+ groupBy<T extends GeoCrawlDailyGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
721
+ orderBy: GeoCrawlDailyGroupByArgs['orderBy'];
722
+ } : {
723
+ orderBy?: GeoCrawlDailyGroupByArgs['orderBy'];
724
+ }, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? {
725
+ [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
726
+ Error,
727
+ 'Field ',
728
+ P,
729
+ ` in "having" needs to be provided in "by"`
730
+ ];
731
+ }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
732
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
733
+ }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
734
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
735
+ }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
736
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
737
+ }[OrderFields]>(args: Prisma.SubsetIntersection<T, GeoCrawlDailyGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetGeoCrawlDailyGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
738
+ /**
739
+ * Fields of the GeoCrawlDaily model
740
+ */
741
+ readonly fields: GeoCrawlDailyFieldRefs;
742
+ }
743
+ /**
744
+ * The delegate class that acts as a "Promise-like" for GeoCrawlDaily.
745
+ * Why is this prefixed with `Prisma__`?
746
+ * Because we want to prevent naming conflicts as mentioned in
747
+ * https://github.com/prisma/prisma-client-js/issues/707
748
+ */
749
+ export interface Prisma__GeoCrawlDailyClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
750
+ readonly [Symbol.toStringTag]: "PrismaPromise";
751
+ /**
752
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
753
+ * @param onfulfilled The callback to execute when the Promise is resolved.
754
+ * @param onrejected The callback to execute when the Promise is rejected.
755
+ * @returns A Promise for the completion of which ever callback is executed.
756
+ */
757
+ 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>;
758
+ /**
759
+ * Attaches a callback for only the rejection of the Promise.
760
+ * @param onrejected The callback to execute when the Promise is rejected.
761
+ * @returns A Promise for the completion of the callback.
762
+ */
763
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
764
+ /**
765
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
766
+ * resolved value cannot be modified from the callback.
767
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
768
+ * @returns A Promise for the completion of the callback.
769
+ */
770
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
771
+ }
772
+ /**
773
+ * Fields of the GeoCrawlDaily model
774
+ */
775
+ export interface GeoCrawlDailyFieldRefs {
776
+ readonly id: Prisma.FieldRef<"GeoCrawlDaily", 'String'>;
777
+ readonly date: Prisma.FieldRef<"GeoCrawlDaily", 'DateTime'>;
778
+ readonly bot: Prisma.FieldRef<"GeoCrawlDaily", 'String'>;
779
+ readonly category: Prisma.FieldRef<"GeoCrawlDaily", 'String'>;
780
+ readonly path: Prisma.FieldRef<"GeoCrawlDaily", 'String'>;
781
+ readonly hits: Prisma.FieldRef<"GeoCrawlDaily", 'Int'>;
782
+ readonly createdAt: Prisma.FieldRef<"GeoCrawlDaily", 'DateTime'>;
783
+ readonly updatedAt: Prisma.FieldRef<"GeoCrawlDaily", 'DateTime'>;
784
+ }
785
+ /**
786
+ * GeoCrawlDaily findUnique
787
+ */
788
+ export type GeoCrawlDailyFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
789
+ /**
790
+ * Select specific fields to fetch from the GeoCrawlDaily
791
+ */
792
+ select?: Prisma.GeoCrawlDailySelect<ExtArgs> | null;
793
+ /**
794
+ * Omit specific fields from the GeoCrawlDaily
795
+ */
796
+ omit?: Prisma.GeoCrawlDailyOmit<ExtArgs> | null;
797
+ /**
798
+ * Filter, which GeoCrawlDaily to fetch.
799
+ */
800
+ where: Prisma.GeoCrawlDailyWhereUniqueInput;
801
+ relationLoadStrategy?: Prisma.RelationLoadStrategy;
802
+ };
803
+ /**
804
+ * GeoCrawlDaily findUniqueOrThrow
805
+ */
806
+ export type GeoCrawlDailyFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
807
+ /**
808
+ * Select specific fields to fetch from the GeoCrawlDaily
809
+ */
810
+ select?: Prisma.GeoCrawlDailySelect<ExtArgs> | null;
811
+ /**
812
+ * Omit specific fields from the GeoCrawlDaily
813
+ */
814
+ omit?: Prisma.GeoCrawlDailyOmit<ExtArgs> | null;
815
+ /**
816
+ * Filter, which GeoCrawlDaily to fetch.
817
+ */
818
+ where: Prisma.GeoCrawlDailyWhereUniqueInput;
819
+ relationLoadStrategy?: Prisma.RelationLoadStrategy;
820
+ };
821
+ /**
822
+ * GeoCrawlDaily findFirst
823
+ */
824
+ export type GeoCrawlDailyFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
825
+ /**
826
+ * Select specific fields to fetch from the GeoCrawlDaily
827
+ */
828
+ select?: Prisma.GeoCrawlDailySelect<ExtArgs> | null;
829
+ /**
830
+ * Omit specific fields from the GeoCrawlDaily
831
+ */
832
+ omit?: Prisma.GeoCrawlDailyOmit<ExtArgs> | null;
833
+ /**
834
+ * Filter, which GeoCrawlDaily to fetch.
835
+ */
836
+ where?: Prisma.GeoCrawlDailyWhereInput;
837
+ /**
838
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
839
+ *
840
+ * Determine the order of GeoCrawlDailies to fetch.
841
+ */
842
+ orderBy?: Prisma.GeoCrawlDailyOrderByWithRelationInput | Prisma.GeoCrawlDailyOrderByWithRelationInput[];
843
+ /**
844
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
845
+ *
846
+ * Sets the position for searching for GeoCrawlDailies.
847
+ */
848
+ cursor?: Prisma.GeoCrawlDailyWhereUniqueInput;
849
+ /**
850
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
851
+ *
852
+ * Take `±n` GeoCrawlDailies from the position of the cursor.
853
+ */
854
+ take?: number;
855
+ /**
856
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
857
+ *
858
+ * Skip the first `n` GeoCrawlDailies.
859
+ */
860
+ skip?: number;
861
+ /**
862
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
863
+ *
864
+ * Filter by unique combinations of GeoCrawlDailies.
865
+ */
866
+ distinct?: Prisma.GeoCrawlDailyScalarFieldEnum | Prisma.GeoCrawlDailyScalarFieldEnum[];
867
+ relationLoadStrategy?: Prisma.RelationLoadStrategy;
868
+ };
869
+ /**
870
+ * GeoCrawlDaily findFirstOrThrow
871
+ */
872
+ export type GeoCrawlDailyFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
873
+ /**
874
+ * Select specific fields to fetch from the GeoCrawlDaily
875
+ */
876
+ select?: Prisma.GeoCrawlDailySelect<ExtArgs> | null;
877
+ /**
878
+ * Omit specific fields from the GeoCrawlDaily
879
+ */
880
+ omit?: Prisma.GeoCrawlDailyOmit<ExtArgs> | null;
881
+ /**
882
+ * Filter, which GeoCrawlDaily to fetch.
883
+ */
884
+ where?: Prisma.GeoCrawlDailyWhereInput;
885
+ /**
886
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
887
+ *
888
+ * Determine the order of GeoCrawlDailies to fetch.
889
+ */
890
+ orderBy?: Prisma.GeoCrawlDailyOrderByWithRelationInput | Prisma.GeoCrawlDailyOrderByWithRelationInput[];
891
+ /**
892
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
893
+ *
894
+ * Sets the position for searching for GeoCrawlDailies.
895
+ */
896
+ cursor?: Prisma.GeoCrawlDailyWhereUniqueInput;
897
+ /**
898
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
899
+ *
900
+ * Take `±n` GeoCrawlDailies from the position of the cursor.
901
+ */
902
+ take?: number;
903
+ /**
904
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
905
+ *
906
+ * Skip the first `n` GeoCrawlDailies.
907
+ */
908
+ skip?: number;
909
+ /**
910
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
911
+ *
912
+ * Filter by unique combinations of GeoCrawlDailies.
913
+ */
914
+ distinct?: Prisma.GeoCrawlDailyScalarFieldEnum | Prisma.GeoCrawlDailyScalarFieldEnum[];
915
+ relationLoadStrategy?: Prisma.RelationLoadStrategy;
916
+ };
917
+ /**
918
+ * GeoCrawlDaily findMany
919
+ */
920
+ export type GeoCrawlDailyFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
921
+ /**
922
+ * Select specific fields to fetch from the GeoCrawlDaily
923
+ */
924
+ select?: Prisma.GeoCrawlDailySelect<ExtArgs> | null;
925
+ /**
926
+ * Omit specific fields from the GeoCrawlDaily
927
+ */
928
+ omit?: Prisma.GeoCrawlDailyOmit<ExtArgs> | null;
929
+ /**
930
+ * Filter, which GeoCrawlDailies to fetch.
931
+ */
932
+ where?: Prisma.GeoCrawlDailyWhereInput;
933
+ /**
934
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
935
+ *
936
+ * Determine the order of GeoCrawlDailies to fetch.
937
+ */
938
+ orderBy?: Prisma.GeoCrawlDailyOrderByWithRelationInput | Prisma.GeoCrawlDailyOrderByWithRelationInput[];
939
+ /**
940
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
941
+ *
942
+ * Sets the position for listing GeoCrawlDailies.
943
+ */
944
+ cursor?: Prisma.GeoCrawlDailyWhereUniqueInput;
945
+ /**
946
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
947
+ *
948
+ * Take `±n` GeoCrawlDailies from the position of the cursor.
949
+ */
950
+ take?: number;
951
+ /**
952
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
953
+ *
954
+ * Skip the first `n` GeoCrawlDailies.
955
+ */
956
+ skip?: number;
957
+ /**
958
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
959
+ *
960
+ * Filter by unique combinations of GeoCrawlDailies.
961
+ */
962
+ distinct?: Prisma.GeoCrawlDailyScalarFieldEnum | Prisma.GeoCrawlDailyScalarFieldEnum[];
963
+ relationLoadStrategy?: Prisma.RelationLoadStrategy;
964
+ };
965
+ /**
966
+ * GeoCrawlDaily create
967
+ */
968
+ export type GeoCrawlDailyCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
969
+ /**
970
+ * Select specific fields to fetch from the GeoCrawlDaily
971
+ */
972
+ select?: Prisma.GeoCrawlDailySelect<ExtArgs> | null;
973
+ /**
974
+ * Omit specific fields from the GeoCrawlDaily
975
+ */
976
+ omit?: Prisma.GeoCrawlDailyOmit<ExtArgs> | null;
977
+ /**
978
+ * The data needed to create a GeoCrawlDaily.
979
+ */
980
+ data: Prisma.XOR<Prisma.GeoCrawlDailyCreateInput, Prisma.GeoCrawlDailyUncheckedCreateInput>;
981
+ relationLoadStrategy?: Prisma.RelationLoadStrategy;
982
+ };
983
+ /**
984
+ * GeoCrawlDaily createMany
985
+ */
986
+ export type GeoCrawlDailyCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
987
+ /**
988
+ * The data used to create many GeoCrawlDailies.
989
+ */
990
+ data: Prisma.GeoCrawlDailyCreateManyInput | Prisma.GeoCrawlDailyCreateManyInput[];
991
+ skipDuplicates?: boolean;
992
+ };
993
+ /**
994
+ * GeoCrawlDaily createManyAndReturn
995
+ */
996
+ export type GeoCrawlDailyCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
997
+ /**
998
+ * Select specific fields to fetch from the GeoCrawlDaily
999
+ */
1000
+ select?: Prisma.GeoCrawlDailySelectCreateManyAndReturn<ExtArgs> | null;
1001
+ /**
1002
+ * Omit specific fields from the GeoCrawlDaily
1003
+ */
1004
+ omit?: Prisma.GeoCrawlDailyOmit<ExtArgs> | null;
1005
+ /**
1006
+ * The data used to create many GeoCrawlDailies.
1007
+ */
1008
+ data: Prisma.GeoCrawlDailyCreateManyInput | Prisma.GeoCrawlDailyCreateManyInput[];
1009
+ skipDuplicates?: boolean;
1010
+ };
1011
+ /**
1012
+ * GeoCrawlDaily update
1013
+ */
1014
+ export type GeoCrawlDailyUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1015
+ /**
1016
+ * Select specific fields to fetch from the GeoCrawlDaily
1017
+ */
1018
+ select?: Prisma.GeoCrawlDailySelect<ExtArgs> | null;
1019
+ /**
1020
+ * Omit specific fields from the GeoCrawlDaily
1021
+ */
1022
+ omit?: Prisma.GeoCrawlDailyOmit<ExtArgs> | null;
1023
+ /**
1024
+ * The data needed to update a GeoCrawlDaily.
1025
+ */
1026
+ data: Prisma.XOR<Prisma.GeoCrawlDailyUpdateInput, Prisma.GeoCrawlDailyUncheckedUpdateInput>;
1027
+ /**
1028
+ * Choose, which GeoCrawlDaily to update.
1029
+ */
1030
+ where: Prisma.GeoCrawlDailyWhereUniqueInput;
1031
+ relationLoadStrategy?: Prisma.RelationLoadStrategy;
1032
+ };
1033
+ /**
1034
+ * GeoCrawlDaily updateMany
1035
+ */
1036
+ export type GeoCrawlDailyUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1037
+ /**
1038
+ * The data used to update GeoCrawlDailies.
1039
+ */
1040
+ data: Prisma.XOR<Prisma.GeoCrawlDailyUpdateManyMutationInput, Prisma.GeoCrawlDailyUncheckedUpdateManyInput>;
1041
+ /**
1042
+ * Filter which GeoCrawlDailies to update
1043
+ */
1044
+ where?: Prisma.GeoCrawlDailyWhereInput;
1045
+ /**
1046
+ * Limit how many GeoCrawlDailies to update.
1047
+ */
1048
+ limit?: number;
1049
+ };
1050
+ /**
1051
+ * GeoCrawlDaily updateManyAndReturn
1052
+ */
1053
+ export type GeoCrawlDailyUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1054
+ /**
1055
+ * Select specific fields to fetch from the GeoCrawlDaily
1056
+ */
1057
+ select?: Prisma.GeoCrawlDailySelectUpdateManyAndReturn<ExtArgs> | null;
1058
+ /**
1059
+ * Omit specific fields from the GeoCrawlDaily
1060
+ */
1061
+ omit?: Prisma.GeoCrawlDailyOmit<ExtArgs> | null;
1062
+ /**
1063
+ * The data used to update GeoCrawlDailies.
1064
+ */
1065
+ data: Prisma.XOR<Prisma.GeoCrawlDailyUpdateManyMutationInput, Prisma.GeoCrawlDailyUncheckedUpdateManyInput>;
1066
+ /**
1067
+ * Filter which GeoCrawlDailies to update
1068
+ */
1069
+ where?: Prisma.GeoCrawlDailyWhereInput;
1070
+ /**
1071
+ * Limit how many GeoCrawlDailies to update.
1072
+ */
1073
+ limit?: number;
1074
+ };
1075
+ /**
1076
+ * GeoCrawlDaily upsert
1077
+ */
1078
+ export type GeoCrawlDailyUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1079
+ /**
1080
+ * Select specific fields to fetch from the GeoCrawlDaily
1081
+ */
1082
+ select?: Prisma.GeoCrawlDailySelect<ExtArgs> | null;
1083
+ /**
1084
+ * Omit specific fields from the GeoCrawlDaily
1085
+ */
1086
+ omit?: Prisma.GeoCrawlDailyOmit<ExtArgs> | null;
1087
+ /**
1088
+ * The filter to search for the GeoCrawlDaily to update in case it exists.
1089
+ */
1090
+ where: Prisma.GeoCrawlDailyWhereUniqueInput;
1091
+ /**
1092
+ * In case the GeoCrawlDaily found by the `where` argument doesn't exist, create a new GeoCrawlDaily with this data.
1093
+ */
1094
+ create: Prisma.XOR<Prisma.GeoCrawlDailyCreateInput, Prisma.GeoCrawlDailyUncheckedCreateInput>;
1095
+ /**
1096
+ * In case the GeoCrawlDaily was found with the provided `where` argument, update it with this data.
1097
+ */
1098
+ update: Prisma.XOR<Prisma.GeoCrawlDailyUpdateInput, Prisma.GeoCrawlDailyUncheckedUpdateInput>;
1099
+ relationLoadStrategy?: Prisma.RelationLoadStrategy;
1100
+ };
1101
+ /**
1102
+ * GeoCrawlDaily delete
1103
+ */
1104
+ export type GeoCrawlDailyDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1105
+ /**
1106
+ * Select specific fields to fetch from the GeoCrawlDaily
1107
+ */
1108
+ select?: Prisma.GeoCrawlDailySelect<ExtArgs> | null;
1109
+ /**
1110
+ * Omit specific fields from the GeoCrawlDaily
1111
+ */
1112
+ omit?: Prisma.GeoCrawlDailyOmit<ExtArgs> | null;
1113
+ /**
1114
+ * Filter which GeoCrawlDaily to delete.
1115
+ */
1116
+ where: Prisma.GeoCrawlDailyWhereUniqueInput;
1117
+ relationLoadStrategy?: Prisma.RelationLoadStrategy;
1118
+ };
1119
+ /**
1120
+ * GeoCrawlDaily deleteMany
1121
+ */
1122
+ export type GeoCrawlDailyDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1123
+ /**
1124
+ * Filter which GeoCrawlDailies to delete
1125
+ */
1126
+ where?: Prisma.GeoCrawlDailyWhereInput;
1127
+ /**
1128
+ * Limit how many GeoCrawlDailies to delete.
1129
+ */
1130
+ limit?: number;
1131
+ };
1132
+ /**
1133
+ * GeoCrawlDaily without action
1134
+ */
1135
+ export type GeoCrawlDailyDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1136
+ /**
1137
+ * Select specific fields to fetch from the GeoCrawlDaily
1138
+ */
1139
+ select?: Prisma.GeoCrawlDailySelect<ExtArgs> | null;
1140
+ /**
1141
+ * Omit specific fields from the GeoCrawlDaily
1142
+ */
1143
+ omit?: Prisma.GeoCrawlDailyOmit<ExtArgs> | null;
1144
+ };