analytica.click 0.0.540 → 0.0.542

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.
@@ -1,613 +0,0 @@
1
- import { z } from 'zod';
2
- import { RollupSchema } from './rollup';
3
- export * from './rollup';
4
- export declare const category: z.ZodEnum<{
5
- SERVER: "SERVER";
6
- CLIENT: "CLIENT";
7
- }>;
8
- export type Category = z.infer<typeof category>;
9
- export declare const SeoResultValues: z.ZodObject<{
10
- clicks: z.ZodNumber;
11
- impressions: z.ZodNumber;
12
- position: z.ZodNumber;
13
- query: z.ZodString;
14
- }, z.core.$strip>;
15
- export declare const SeoResultSchema: z.ZodObject<{
16
- account: z.ZodString;
17
- email: z.ZodString;
18
- site: z.ZodString;
19
- datetime: z.ZodNumber;
20
- category: z.ZodEnum<{
21
- SERVER: "SERVER";
22
- CLIENT: "CLIENT";
23
- }>;
24
- totals: z.ZodObject<{
25
- clicks: z.ZodNumber;
26
- impressions: z.ZodNumber;
27
- position: z.ZodNumber;
28
- query: z.ZodString;
29
- }, z.core.$strip>;
30
- queries: z.ZodArray<z.ZodObject<{
31
- clicks: z.ZodNumber;
32
- impressions: z.ZodNumber;
33
- position: z.ZodNumber;
34
- query: z.ZodString;
35
- }, z.core.$strip>>;
36
- }, z.core.$strip>;
37
- export declare const GoogleIntegration: z.ZodObject<{
38
- email: z.ZodString;
39
- key: z.ZodString;
40
- account: z.ZodString;
41
- }, z.core.$strip>;
42
- export declare const BingIntegrationSchema: z.ZodObject<{
43
- key: z.ZodString;
44
- account: z.ZodString;
45
- }, z.core.$strip>;
46
- export declare const CloudflareIntegrationSchema: z.ZodObject<{
47
- key: z.ZodString;
48
- account: z.ZodString;
49
- }, z.core.$strip>;
50
- export declare const ApiKeySchema: z.ZodObject<{
51
- key: z.ZodString;
52
- adminKey: z.ZodString;
53
- account: z.ZodString;
54
- site: z.ZodString;
55
- healthCheckPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
- }, z.core.$strip>;
57
- export declare const QuerySchema: z.ZodObject<{
58
- account: z.ZodOptional<z.ZodString>;
59
- datetime: z.ZodNumber;
60
- site: z.ZodString;
61
- pathName: z.ZodString;
62
- search: z.ZodOptional<z.ZodString>;
63
- hash: z.ZodOptional<z.ZodString>;
64
- count: z.ZodNumber;
65
- category: z.ZodEnum<{
66
- SERVER: "SERVER";
67
- CLIENT: "CLIENT";
68
- }>;
69
- }, z.core.$strip>;
70
- export declare const BrowserSchema: z.ZodObject<{
71
- account: z.ZodOptional<z.ZodString>;
72
- datetime: z.ZodNumber;
73
- site: z.ZodString;
74
- browser: z.ZodString;
75
- count: z.ZodNumber;
76
- category: z.ZodEnum<{
77
- SERVER: "SERVER";
78
- CLIENT: "CLIENT";
79
- }>;
80
- }, z.core.$strip>;
81
- export declare const ResolutionSchema: z.ZodObject<{
82
- account: z.ZodOptional<z.ZodString>;
83
- datetime: z.ZodNumber;
84
- site: z.ZodString;
85
- resolution: z.ZodString;
86
- count: z.ZodNumber;
87
- category: z.ZodEnum<{
88
- SERVER: "SERVER";
89
- CLIENT: "CLIENT";
90
- }>;
91
- }, z.core.$strip>;
92
- export declare const ReferrerSchema: z.ZodObject<{
93
- account: z.ZodOptional<z.ZodString>;
94
- datetime: z.ZodNumber;
95
- site: z.ZodString;
96
- referrer: z.ZodString;
97
- count: z.ZodNumber;
98
- category: z.ZodEnum<{
99
- SERVER: "SERVER";
100
- CLIENT: "CLIENT";
101
- }>;
102
- }, z.core.$strip>;
103
- export declare const LocationSchema: z.ZodObject<{
104
- account: z.ZodOptional<z.ZodString>;
105
- datetime: z.ZodNumber;
106
- site: z.ZodString;
107
- countryRegion: z.ZodString;
108
- category: z.ZodEnum<{
109
- SERVER: "SERVER";
110
- CLIENT: "CLIENT";
111
- }>;
112
- count: z.ZodNumber;
113
- }, z.core.$strip>;
114
- export declare const LanguageSchema: z.ZodObject<{
115
- account: z.ZodOptional<z.ZodString>;
116
- datetime: z.ZodNumber;
117
- site: z.ZodString;
118
- language: z.ZodString;
119
- count: z.ZodNumber;
120
- category: z.ZodEnum<{
121
- SERVER: "SERVER";
122
- CLIENT: "CLIENT";
123
- }>;
124
- }, z.core.$strip>;
125
- export declare const FingerprintSchema: z.ZodObject<{
126
- account: z.ZodOptional<z.ZodString>;
127
- datetime: z.ZodNumber;
128
- site: z.ZodString;
129
- fingerprint: z.ZodString;
130
- count: z.ZodNumber;
131
- category: z.ZodEnum<{
132
- SERVER: "SERVER";
133
- CLIENT: "CLIENT";
134
- }>;
135
- }, z.core.$strip>;
136
- export declare const EventSchema: z.ZodObject<{
137
- account: z.ZodOptional<z.ZodString>;
138
- site: z.ZodString;
139
- eventName: z.ZodString;
140
- datetime: z.ZodNumber;
141
- count: z.ZodNumber;
142
- category: z.ZodEnum<{
143
- SERVER: "SERVER";
144
- CLIENT: "CLIENT";
145
- }>;
146
- }, z.core.$strip>;
147
- export declare const HealthMetricSchema: z.ZodObject<{
148
- type: z.ZodLiteral<"health">;
149
- responseTimeMs: z.ZodNumber;
150
- success: z.ZodBoolean;
151
- }, z.core.$strip>;
152
- export declare const UserMetricSchema: z.ZodObject<{
153
- type: z.ZodString;
154
- value: z.ZodNumber;
155
- }, z.core.$strip>;
156
- export declare const MetricItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
157
- type: z.ZodLiteral<"health">;
158
- responseTimeMs: z.ZodNumber;
159
- success: z.ZodBoolean;
160
- }, z.core.$strip>, z.ZodObject<{
161
- type: z.ZodString;
162
- value: z.ZodNumber;
163
- }, z.core.$strip>]>;
164
- export declare const MetricSchema: z.ZodObject<{
165
- account: z.ZodOptional<z.ZodString>;
166
- site: z.ZodString;
167
- datetime: z.ZodNumber;
168
- category: z.ZodEnum<{
169
- SERVER: "SERVER";
170
- CLIENT: "CLIENT";
171
- }>;
172
- metric: z.ZodDiscriminatedUnion<[z.ZodObject<{
173
- type: z.ZodLiteral<"health">;
174
- responseTimeMs: z.ZodNumber;
175
- success: z.ZodBoolean;
176
- }, z.core.$strip>, z.ZodObject<{
177
- type: z.ZodString;
178
- value: z.ZodNumber;
179
- }, z.core.$strip>]>;
180
- }, z.core.$strip>;
181
- export interface IMetric extends z.infer<typeof MetricSchema> {
182
- }
183
- export interface IHealthMetric extends z.infer<typeof HealthMetricSchema> {
184
- }
185
- export interface IUserMetric extends z.infer<typeof UserMetricSchema> {
186
- }
187
- export declare const ModelErrorSchema: z.ZodObject<{
188
- PK: z.ZodString;
189
- messageHash: z.ZodOptional<z.ZodString>;
190
- site: z.ZodString;
191
- account: z.ZodString;
192
- message: z.ZodOptional<z.ZodString>;
193
- name: z.ZodOptional<z.ZodString>;
194
- stack: z.ZodOptional<z.ZodString>;
195
- href: z.ZodString;
196
- filename: z.ZodOptional<z.ZodString>;
197
- datetime: z.ZodNumber;
198
- archived: z.ZodOptional<z.ZodBoolean>;
199
- count: z.ZodNumber;
200
- category: z.ZodEnum<{
201
- SERVER: "SERVER";
202
- CLIENT: "CLIENT";
203
- }>;
204
- }, z.core.$strip>;
205
- export declare const PostEventDataSchema: z.ZodObject<{
206
- eventName: z.ZodString;
207
- pageReferrer: z.ZodOptional<z.ZodString>;
208
- pageTitle: z.ZodOptional<z.ZodString>;
209
- browserResolution: z.ZodOptional<z.ZodString>;
210
- browserLanguage: z.ZodOptional<z.ZodString>;
211
- browserFingerprint: z.ZodOptional<z.ZodString>;
212
- pageLocation: z.ZodString;
213
- browser: z.ZodOptional<z.ZodString>;
214
- }, z.core.$strip>;
215
- export declare const PostEventSchema: z.ZodObject<{
216
- key: z.ZodString;
217
- data: z.ZodObject<{
218
- eventName: z.ZodString;
219
- pageReferrer: z.ZodOptional<z.ZodString>;
220
- pageTitle: z.ZodOptional<z.ZodString>;
221
- browserResolution: z.ZodOptional<z.ZodString>;
222
- browserLanguage: z.ZodOptional<z.ZodString>;
223
- browserFingerprint: z.ZodOptional<z.ZodString>;
224
- pageLocation: z.ZodString;
225
- browser: z.ZodOptional<z.ZodString>;
226
- }, z.core.$strip>;
227
- }, z.core.$strip>;
228
- export declare const PostSiteTrackDataSchema: z.ZodObject<{
229
- pageReferrer: z.ZodOptional<z.ZodString>;
230
- pageTitle: z.ZodOptional<z.ZodString>;
231
- browserResolution: z.ZodOptional<z.ZodString>;
232
- browserLanguage: z.ZodOptional<z.ZodString>;
233
- browserFingerprint: z.ZodOptional<z.ZodString>;
234
- pageLocation: z.ZodString;
235
- browser: z.ZodOptional<z.ZodString>;
236
- }, z.core.$strip>;
237
- export declare const PostSiteTrackSchema: z.ZodObject<{
238
- key: z.ZodString;
239
- data: z.ZodObject<{
240
- pageReferrer: z.ZodOptional<z.ZodString>;
241
- pageTitle: z.ZodOptional<z.ZodString>;
242
- browserResolution: z.ZodOptional<z.ZodString>;
243
- browserLanguage: z.ZodOptional<z.ZodString>;
244
- browserFingerprint: z.ZodOptional<z.ZodString>;
245
- pageLocation: z.ZodString;
246
- browser: z.ZodOptional<z.ZodString>;
247
- }, z.core.$strip>;
248
- }, z.core.$strip>;
249
- export declare const PostErrorDataSchema: z.ZodObject<{
250
- message: z.ZodString;
251
- name: z.ZodOptional<z.ZodString>;
252
- stack: z.ZodOptional<z.ZodString>;
253
- href: z.ZodString;
254
- filename: z.ZodOptional<z.ZodString>;
255
- }, z.core.$strip>;
256
- export declare const PostErrorSchema: z.ZodObject<{
257
- data: z.ZodObject<{
258
- message: z.ZodString;
259
- name: z.ZodOptional<z.ZodString>;
260
- stack: z.ZodOptional<z.ZodString>;
261
- href: z.ZodString;
262
- filename: z.ZodOptional<z.ZodString>;
263
- }, z.core.$strip>;
264
- key: z.ZodString;
265
- }, z.core.$strip>;
266
- export declare const PostMetricDataSchema: z.ZodObject<{
267
- type: z.ZodString;
268
- value: z.ZodNumber;
269
- }, z.core.$strip>;
270
- export declare const PostMetricSchema: z.ZodObject<{
271
- key: z.ZodString;
272
- data: z.ZodObject<{
273
- type: z.ZodString;
274
- value: z.ZodNumber;
275
- }, z.core.$strip>;
276
- }, z.core.$strip>;
277
- export declare const SiteDetailsSchema: z.ZodObject<{
278
- site: z.ZodString;
279
- account: z.ZodString;
280
- datetime: z.ZodOptional<z.ZodNumber>;
281
- healthCheckPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
282
- }, z.core.$strip>;
283
- export declare const GetAccountSchema: z.ZodObject<{
284
- site: z.ZodString;
285
- account: z.ZodString;
286
- apiKey: z.ZodString;
287
- adminApiKey: z.ZodString;
288
- siteDetail: z.ZodObject<{
289
- site: z.ZodString;
290
- account: z.ZodString;
291
- datetime: z.ZodOptional<z.ZodNumber>;
292
- healthCheckPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
293
- }, z.core.$strip>;
294
- }, z.core.$strip>;
295
- export declare const SiteDataSchema: z.ZodObject<{
296
- accountDetails: z.ZodOptional<z.ZodObject<{
297
- site: z.ZodString;
298
- account: z.ZodString;
299
- apiKey: z.ZodString;
300
- adminApiKey: z.ZodString;
301
- siteDetail: z.ZodObject<{
302
- site: z.ZodString;
303
- account: z.ZodString;
304
- datetime: z.ZodOptional<z.ZodNumber>;
305
- healthCheckPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
306
- }, z.core.$strip>;
307
- }, z.core.$strip>>;
308
- browsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
309
- account: z.ZodOptional<z.ZodString>;
310
- datetime: z.ZodNumber;
311
- site: z.ZodString;
312
- browser: z.ZodString;
313
- count: z.ZodNumber;
314
- category: z.ZodEnum<{
315
- SERVER: "SERVER";
316
- CLIENT: "CLIENT";
317
- }>;
318
- }, z.core.$strip>>>;
319
- events: z.ZodOptional<z.ZodArray<z.ZodObject<{
320
- account: z.ZodOptional<z.ZodString>;
321
- site: z.ZodString;
322
- eventName: z.ZodString;
323
- datetime: z.ZodNumber;
324
- count: z.ZodNumber;
325
- category: z.ZodEnum<{
326
- SERVER: "SERVER";
327
- CLIENT: "CLIENT";
328
- }>;
329
- }, z.core.$strip>>>;
330
- locations: z.ZodOptional<z.ZodArray<z.ZodObject<{
331
- account: z.ZodOptional<z.ZodString>;
332
- datetime: z.ZodNumber;
333
- site: z.ZodString;
334
- countryRegion: z.ZodString;
335
- category: z.ZodEnum<{
336
- SERVER: "SERVER";
337
- CLIENT: "CLIENT";
338
- }>;
339
- count: z.ZodNumber;
340
- }, z.core.$strip>>>;
341
- queries: z.ZodOptional<z.ZodArray<z.ZodObject<{
342
- account: z.ZodOptional<z.ZodString>;
343
- datetime: z.ZodNumber;
344
- site: z.ZodString;
345
- pathName: z.ZodString;
346
- search: z.ZodOptional<z.ZodString>;
347
- hash: z.ZodOptional<z.ZodString>;
348
- count: z.ZodNumber;
349
- category: z.ZodEnum<{
350
- SERVER: "SERVER";
351
- CLIENT: "CLIENT";
352
- }>;
353
- }, z.core.$strip>>>;
354
- referrers: z.ZodOptional<z.ZodArray<z.ZodObject<{
355
- account: z.ZodOptional<z.ZodString>;
356
- datetime: z.ZodNumber;
357
- site: z.ZodString;
358
- referrer: z.ZodString;
359
- count: z.ZodNumber;
360
- category: z.ZodEnum<{
361
- SERVER: "SERVER";
362
- CLIENT: "CLIENT";
363
- }>;
364
- }, z.core.$strip>>>;
365
- resolutions: z.ZodOptional<z.ZodArray<z.ZodObject<{
366
- account: z.ZodOptional<z.ZodString>;
367
- datetime: z.ZodNumber;
368
- site: z.ZodString;
369
- resolution: z.ZodString;
370
- count: z.ZodNumber;
371
- category: z.ZodEnum<{
372
- SERVER: "SERVER";
373
- CLIENT: "CLIENT";
374
- }>;
375
- }, z.core.$strip>>>;
376
- fingerprints: z.ZodOptional<z.ZodArray<z.ZodObject<{
377
- account: z.ZodOptional<z.ZodString>;
378
- datetime: z.ZodNumber;
379
- site: z.ZodString;
380
- fingerprint: z.ZodString;
381
- count: z.ZodNumber;
382
- category: z.ZodEnum<{
383
- SERVER: "SERVER";
384
- CLIENT: "CLIENT";
385
- }>;
386
- }, z.core.$strip>>>;
387
- metrics: z.ZodOptional<z.ZodArray<z.ZodObject<{
388
- account: z.ZodOptional<z.ZodString>;
389
- site: z.ZodString;
390
- datetime: z.ZodNumber;
391
- category: z.ZodEnum<{
392
- SERVER: "SERVER";
393
- CLIENT: "CLIENT";
394
- }>;
395
- metric: z.ZodDiscriminatedUnion<[z.ZodObject<{
396
- type: z.ZodLiteral<"health">;
397
- responseTimeMs: z.ZodNumber;
398
- success: z.ZodBoolean;
399
- }, z.core.$strip>, z.ZodObject<{
400
- type: z.ZodString;
401
- value: z.ZodNumber;
402
- }, z.core.$strip>]>;
403
- }, z.core.$strip>>>;
404
- languages: z.ZodOptional<z.ZodArray<z.ZodObject<{
405
- account: z.ZodOptional<z.ZodString>;
406
- datetime: z.ZodNumber;
407
- site: z.ZodString;
408
- language: z.ZodString;
409
- count: z.ZodNumber;
410
- category: z.ZodEnum<{
411
- SERVER: "SERVER";
412
- CLIENT: "CLIENT";
413
- }>;
414
- }, z.core.$strip>>>;
415
- rollups: z.ZodOptional<z.ZodArray<z.ZodObject<{
416
- account: z.ZodString;
417
- site: z.ZodString;
418
- datetime: z.ZodNumber;
419
- category: z.ZodEnum<{
420
- SERVER: "SERVER";
421
- CLIENT: "CLIENT";
422
- }>;
423
- topReferrers: z.ZodOptional<z.ZodArray<z.ZodObject<{
424
- referrer: z.ZodString;
425
- count: z.ZodNumber;
426
- }, z.core.$strip>>>;
427
- topResolutions: z.ZodOptional<z.ZodArray<z.ZodObject<{
428
- resolution: z.ZodString;
429
- count: z.ZodNumber;
430
- }, z.core.$strip>>>;
431
- topFingerprints: z.ZodOptional<z.ZodArray<z.ZodObject<{
432
- fingerprint: z.ZodString;
433
- count: z.ZodNumber;
434
- }, z.core.$strip>>>;
435
- topQueries: z.ZodOptional<z.ZodArray<z.ZodObject<{
436
- pathName: z.ZodString;
437
- count: z.ZodNumber;
438
- }, z.core.$strip>>>;
439
- topLocations: z.ZodOptional<z.ZodArray<z.ZodObject<{
440
- countryRegion: z.ZodString;
441
- count: z.ZodNumber;
442
- }, z.core.$strip>>>;
443
- topBrowsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
444
- browser: z.ZodString;
445
- count: z.ZodNumber;
446
- }, z.core.$strip>>>;
447
- topEvents: z.ZodOptional<z.ZodArray<z.ZodObject<{
448
- eventName: z.ZodString;
449
- count: z.ZodNumber;
450
- }, z.core.$strip>>>;
451
- topLanguages: z.ZodOptional<z.ZodArray<z.ZodObject<{
452
- language: z.ZodString;
453
- count: z.ZodNumber;
454
- }, z.core.$strip>>>;
455
- topErrors: z.ZodOptional<z.ZodArray<z.ZodObject<{
456
- href: z.ZodString;
457
- count: z.ZodNumber;
458
- }, z.core.$strip>>>;
459
- metrics: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
460
- count: z.ZodNumber;
461
- sum: z.ZodNumber;
462
- average: z.ZodNumber;
463
- }, z.core.$strip>>>;
464
- }, z.core.$strip>>>;
465
- errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
466
- PK: z.ZodString;
467
- messageHash: z.ZodOptional<z.ZodString>;
468
- site: z.ZodString;
469
- account: z.ZodString;
470
- message: z.ZodOptional<z.ZodString>;
471
- name: z.ZodOptional<z.ZodString>;
472
- stack: z.ZodOptional<z.ZodString>;
473
- href: z.ZodString;
474
- filename: z.ZodOptional<z.ZodString>;
475
- datetime: z.ZodNumber;
476
- archived: z.ZodOptional<z.ZodBoolean>;
477
- count: z.ZodNumber;
478
- category: z.ZodEnum<{
479
- SERVER: "SERVER";
480
- CLIENT: "CLIENT";
481
- }>;
482
- }, z.core.$strip>>>;
483
- google: z.ZodOptional<z.ZodArray<z.ZodObject<{
484
- account: z.ZodString;
485
- email: z.ZodString;
486
- site: z.ZodString;
487
- datetime: z.ZodNumber;
488
- category: z.ZodEnum<{
489
- SERVER: "SERVER";
490
- CLIENT: "CLIENT";
491
- }>;
492
- totals: z.ZodObject<{
493
- clicks: z.ZodNumber;
494
- impressions: z.ZodNumber;
495
- position: z.ZodNumber;
496
- query: z.ZodString;
497
- }, z.core.$strip>;
498
- queries: z.ZodArray<z.ZodObject<{
499
- clicks: z.ZodNumber;
500
- impressions: z.ZodNumber;
501
- position: z.ZodNumber;
502
- query: z.ZodString;
503
- }, z.core.$strip>>;
504
- }, z.core.$strip>>>;
505
- bing: z.ZodOptional<z.ZodArray<z.ZodObject<{
506
- account: z.ZodString;
507
- email: z.ZodString;
508
- site: z.ZodString;
509
- datetime: z.ZodNumber;
510
- category: z.ZodEnum<{
511
- SERVER: "SERVER";
512
- CLIENT: "CLIENT";
513
- }>;
514
- totals: z.ZodObject<{
515
- clicks: z.ZodNumber;
516
- impressions: z.ZodNumber;
517
- position: z.ZodNumber;
518
- query: z.ZodString;
519
- }, z.core.$strip>;
520
- queries: z.ZodArray<z.ZodObject<{
521
- clicks: z.ZodNumber;
522
- impressions: z.ZodNumber;
523
- position: z.ZodNumber;
524
- query: z.ZodString;
525
- }, z.core.$strip>>;
526
- }, z.core.$strip>>>;
527
- cloudflare: z.ZodOptional<z.ZodArray<z.ZodObject<{
528
- account: z.ZodString;
529
- email: z.ZodString;
530
- site: z.ZodString;
531
- datetime: z.ZodNumber;
532
- category: z.ZodEnum<{
533
- SERVER: "SERVER";
534
- CLIENT: "CLIENT";
535
- }>;
536
- totals: z.ZodObject<{
537
- clicks: z.ZodNumber;
538
- impressions: z.ZodNumber;
539
- position: z.ZodNumber;
540
- query: z.ZodString;
541
- }, z.core.$strip>;
542
- queries: z.ZodArray<z.ZodObject<{
543
- clicks: z.ZodNumber;
544
- impressions: z.ZodNumber;
545
- position: z.ZodNumber;
546
- query: z.ZodString;
547
- }, z.core.$strip>>;
548
- }, z.core.$strip>>>;
549
- }, z.core.$strip>;
550
- export declare const PostAccountSchema: z.ZodObject<{
551
- site: z.ZodString;
552
- account: z.ZodString;
553
- }, z.core.$strip>;
554
- export declare const DeleteAccountSchema: z.ZodObject<{
555
- site: z.ZodString;
556
- account: z.ZodString;
557
- }, z.core.$strip>;
558
- export declare const ArchiveErrorsSchema: z.ZodObject<{
559
- PKs: z.ZodArray<z.ZodString>;
560
- }, z.core.$strip>;
561
- export declare const GetAccountsSchema: z.ZodObject<{
562
- accounts: z.ZodArray<z.ZodObject<{
563
- site: z.ZodString;
564
- account: z.ZodString;
565
- apiKey: z.ZodString;
566
- adminApiKey: z.ZodString;
567
- siteDetail: z.ZodObject<{
568
- site: z.ZodString;
569
- account: z.ZodString;
570
- datetime: z.ZodOptional<z.ZodNumber>;
571
- healthCheckPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
572
- }, z.core.$strip>;
573
- }, z.core.$strip>>;
574
- googleEmail: z.ZodOptional<z.ZodString>;
575
- googleKey: z.ZodOptional<z.ZodString>;
576
- bingKey: z.ZodOptional<z.ZodString>;
577
- bingAccount: z.ZodOptional<z.ZodString>;
578
- cloudflareKey: z.ZodOptional<z.ZodString>;
579
- cloudflareAccount: z.ZodOptional<z.ZodString>;
580
- }, z.core.$strip>;
581
- export type ISeoResultValues = z.infer<typeof SeoResultValues>;
582
- export type SeoResult = z.infer<typeof SeoResultSchema>;
583
- export type GetAccount = z.infer<typeof GetAccountSchema>;
584
- export type GetAccounts = z.infer<typeof GetAccountsSchema>;
585
- export type IGoogleIntegration = z.infer<typeof GoogleIntegration>;
586
- export type BingIntegration = z.infer<typeof BingIntegrationSchema>;
587
- export type CloudflareIntegration = z.infer<typeof CloudflareIntegrationSchema>;
588
- export type ApiKey = z.infer<typeof ApiKeySchema>;
589
- export type Query = z.infer<typeof QuerySchema>;
590
- export type Browser = z.infer<typeof BrowserSchema>;
591
- export type Resolution = z.infer<typeof ResolutionSchema>;
592
- export type Referrer = z.infer<typeof ReferrerSchema>;
593
- export type Location = z.infer<typeof LocationSchema>;
594
- export type Language = z.infer<typeof LanguageSchema>;
595
- export type Fingerprint = z.infer<typeof FingerprintSchema>;
596
- export type Event = z.infer<typeof EventSchema>;
597
- export type MetricItem = z.infer<typeof MetricItemSchema>;
598
- export type Metric = z.infer<typeof MetricSchema>;
599
- export type ModelError = z.infer<typeof ModelErrorSchema>;
600
- export type Rollup = z.infer<typeof RollupSchema>;
601
- export type SiteData = z.infer<typeof SiteDataSchema>;
602
- export type SiteDetails = z.infer<typeof SiteDetailsSchema>;
603
- export type PostEventData = z.infer<typeof PostEventDataSchema>;
604
- export type PostEvent = z.infer<typeof PostEventSchema>;
605
- export type PostSiteTrackData = z.infer<typeof PostSiteTrackDataSchema>;
606
- export type PostSiteTrack = z.infer<typeof PostSiteTrackSchema>;
607
- export type PostErrorData = z.infer<typeof PostErrorDataSchema>;
608
- export type PostError = z.infer<typeof PostErrorSchema>;
609
- export type PostMetricData = z.infer<typeof PostMetricDataSchema>;
610
- export type PostMetric = z.infer<typeof PostMetricSchema>;
611
- export type PostAccount = z.infer<typeof PostAccountSchema>;
612
- export type DeleteAccount = z.infer<typeof DeleteAccountSchema>;
613
- export type ArchiveErrors = z.infer<typeof ArchiveErrorsSchema>;
@@ -1,93 +0,0 @@
1
- import z from 'zod';
2
- export declare const RollupTopReferrersSchema: z.ZodObject<{
3
- referrer: z.ZodString;
4
- count: z.ZodNumber;
5
- }, z.core.$strip>;
6
- export declare const RollupTopResolutionsSchema: z.ZodObject<{
7
- resolution: z.ZodString;
8
- count: z.ZodNumber;
9
- }, z.core.$strip>;
10
- export declare const RollupTopFingerprintsSchema: z.ZodObject<{
11
- fingerprint: z.ZodString;
12
- count: z.ZodNumber;
13
- }, z.core.$strip>;
14
- export declare const RollupTopQueriesSchema: z.ZodObject<{
15
- pathName: z.ZodString;
16
- count: z.ZodNumber;
17
- }, z.core.$strip>;
18
- export declare const RollupTopLocationsSchema: z.ZodObject<{
19
- countryRegion: z.ZodString;
20
- count: z.ZodNumber;
21
- }, z.core.$strip>;
22
- export declare const RollupTopBrowsersSchema: z.ZodObject<{
23
- browser: z.ZodString;
24
- count: z.ZodNumber;
25
- }, z.core.$strip>;
26
- export declare const RollupTopEventsSchema: z.ZodObject<{
27
- eventName: z.ZodString;
28
- count: z.ZodNumber;
29
- }, z.core.$strip>;
30
- export declare const RollupTopLanguagesSchema: z.ZodObject<{
31
- language: z.ZodString;
32
- count: z.ZodNumber;
33
- }, z.core.$strip>;
34
- export declare const RollupTopErrorsSchema: z.ZodObject<{
35
- href: z.ZodString;
36
- count: z.ZodNumber;
37
- }, z.core.$strip>;
38
- export declare const RollupMetricSummary: z.ZodObject<{
39
- count: z.ZodNumber;
40
- sum: z.ZodNumber;
41
- average: z.ZodNumber;
42
- }, z.core.$strip>;
43
- export declare const RollupSchema: z.ZodObject<{
44
- account: z.ZodString;
45
- site: z.ZodString;
46
- datetime: z.ZodNumber;
47
- category: z.ZodEnum<{
48
- SERVER: "SERVER";
49
- CLIENT: "CLIENT";
50
- }>;
51
- topReferrers: z.ZodOptional<z.ZodArray<z.ZodObject<{
52
- referrer: z.ZodString;
53
- count: z.ZodNumber;
54
- }, z.core.$strip>>>;
55
- topResolutions: z.ZodOptional<z.ZodArray<z.ZodObject<{
56
- resolution: z.ZodString;
57
- count: z.ZodNumber;
58
- }, z.core.$strip>>>;
59
- topFingerprints: z.ZodOptional<z.ZodArray<z.ZodObject<{
60
- fingerprint: z.ZodString;
61
- count: z.ZodNumber;
62
- }, z.core.$strip>>>;
63
- topQueries: z.ZodOptional<z.ZodArray<z.ZodObject<{
64
- pathName: z.ZodString;
65
- count: z.ZodNumber;
66
- }, z.core.$strip>>>;
67
- topLocations: z.ZodOptional<z.ZodArray<z.ZodObject<{
68
- countryRegion: z.ZodString;
69
- count: z.ZodNumber;
70
- }, z.core.$strip>>>;
71
- topBrowsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
72
- browser: z.ZodString;
73
- count: z.ZodNumber;
74
- }, z.core.$strip>>>;
75
- topEvents: z.ZodOptional<z.ZodArray<z.ZodObject<{
76
- eventName: z.ZodString;
77
- count: z.ZodNumber;
78
- }, z.core.$strip>>>;
79
- topLanguages: z.ZodOptional<z.ZodArray<z.ZodObject<{
80
- language: z.ZodString;
81
- count: z.ZodNumber;
82
- }, z.core.$strip>>>;
83
- topErrors: z.ZodOptional<z.ZodArray<z.ZodObject<{
84
- href: z.ZodString;
85
- count: z.ZodNumber;
86
- }, z.core.$strip>>>;
87
- metrics: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
88
- count: z.ZodNumber;
89
- sum: z.ZodNumber;
90
- average: z.ZodNumber;
91
- }, z.core.$strip>>>;
92
- }, z.core.$strip>;
93
- export type IRollupMetricSummary = z.infer<typeof RollupMetricSummary>;