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