analytica.click 0.0.539 → 0.0.541

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,5 +1,5 @@
1
1
  import 'cross-fetch/polyfill';
2
- import type { PostError, PostErrorData } from '@ui/src/server/schema';
2
+ import type { PostError, PostErrorData } from '@ui/src/server/schema/api';
3
3
  export declare const errorTrack: ({ data, overrideBaseUrl, ignoreBrowserErrors, devMode, }: {
4
4
  data: PostError;
5
5
  overrideBaseUrl?: string;
package/dist/index.d.ts CHANGED
@@ -66,7 +66,7 @@ declare module 'analytica.click/dist/helpers/console' {
66
66
  }
67
67
  declare module 'analytica.click/dist/helpers/errorTrack' {
68
68
  import 'cross-fetch/polyfill';
69
- import type { PostError, PostErrorData } from '@ui/src/server/schema';
69
+ import type { PostError, PostErrorData } from '@ui/src/server/schema/api';
70
70
  export const errorTrack: ({ data, overrideBaseUrl, ignoreBrowserErrors, devMode, }: {
71
71
  data: PostError;
72
72
  overrideBaseUrl?: string;
@@ -179,326 +179,16 @@ declare module 'analytica.click/dist/types' {
179
179
  }
180
180
 
181
181
  }
182
- declare module 'analytica.click/dist/ui/src/server/schema/index' {
182
+ declare module 'analytica.click/dist/ui/src/server/schema/api' {
183
183
  import { z } from 'zod';
184
- export const category: z.ZodEnum<{
185
- SERVER: "SERVER";
186
- CLIENT: "CLIENT";
187
- }>;
188
- export type Category = z.infer<typeof category>;
189
- export const createSiteSchema: z.ZodObject<{
190
- site: z.ZodString;
191
- }, z.core.$strip>;
192
- export const deleteSiteSchema: z.ZodObject<{
193
- site: z.ZodString;
194
- }, z.core.$strip>;
195
- export const updateSiteDetailsSchema: z.ZodObject<{
196
- site: z.ZodString;
197
- healthCheckPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
198
- }, z.core.$strip>;
199
- export const createGoogleIntegrationSchema: z.ZodObject<{
200
- email: z.ZodString;
201
- key: z.ZodString;
202
- }, z.core.$strip>;
203
- export const createBingIntegrationSchema: z.ZodObject<{
204
- key: z.ZodString;
205
- }, z.core.$strip>;
206
- export const createCloudflareIntegrationSchema: z.ZodObject<{
207
- key: z.ZodString;
208
- }, z.core.$strip>;
209
- export const successResponseSchema: z.ZodObject<{
210
- success: z.ZodBoolean;
211
- }, z.core.$strip>;
212
- export const errorResponseSchema: z.ZodObject<{
213
- error: z.ZodString;
214
- }, z.core.$strip>;
215
- export const SeoResultValuesSchema: z.ZodObject<{
216
- clicks: z.ZodNumber;
217
- impressions: z.ZodNumber;
218
- position: z.ZodNumber;
219
- query: z.ZodString;
220
- }, z.core.$strip>;
221
- export const SeoResultSchema: z.ZodObject<{
222
- account: z.ZodString;
223
- email: z.ZodString;
224
- site: z.ZodString;
225
- datetime: z.ZodNumber;
226
- category: z.ZodEnum<{
227
- SERVER: "SERVER";
228
- CLIENT: "CLIENT";
229
- }>;
230
- totals: z.ZodObject<{
231
- clicks: z.ZodNumber;
232
- impressions: z.ZodNumber;
233
- position: z.ZodNumber;
234
- query: z.ZodString;
235
- }, z.core.$strip>;
236
- queries: z.ZodArray<z.ZodObject<{
237
- clicks: z.ZodNumber;
238
- impressions: z.ZodNumber;
239
- position: z.ZodNumber;
240
- query: z.ZodString;
241
- }, z.core.$strip>>;
242
- }, z.core.$strip>;
243
- export const GoogleIntegrationSchema: z.ZodObject<{
244
- email: z.ZodString;
245
- key: z.ZodString;
246
- account: z.ZodString;
247
- }, z.core.$strip>;
248
- export const BingIntegrationSchema: z.ZodObject<{
249
- key: z.ZodString;
250
- account: z.ZodString;
251
- }, z.core.$strip>;
252
- export const CloudflareIntegrationSchema: z.ZodObject<{
253
- key: z.ZodString;
254
- account: z.ZodString;
255
- }, z.core.$strip>;
256
- export const ApiKeySchema: z.ZodObject<{
257
- key: z.ZodString;
258
- adminKey: z.ZodString;
259
- account: z.ZodString;
260
- site: z.ZodString;
261
- healthCheckPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
262
- }, z.core.$strip>;
263
- export const QuerySchema: z.ZodObject<{
264
- account: z.ZodOptional<z.ZodString>;
265
- datetime: z.ZodNumber;
266
- site: z.ZodString;
267
- pathName: z.ZodString;
268
- search: z.ZodOptional<z.ZodString>;
269
- hash: z.ZodOptional<z.ZodString>;
270
- count: z.ZodNumber;
271
- category: z.ZodEnum<{
272
- SERVER: "SERVER";
273
- CLIENT: "CLIENT";
274
- }>;
275
- }, z.core.$strip>;
276
- export const BrowserSchema: z.ZodObject<{
277
- account: z.ZodOptional<z.ZodString>;
278
- datetime: z.ZodNumber;
279
- site: z.ZodString;
280
- browser: z.ZodString;
281
- count: z.ZodNumber;
282
- category: z.ZodEnum<{
283
- SERVER: "SERVER";
284
- CLIENT: "CLIENT";
285
- }>;
184
+ export const IdentifyInputSchema: z.ZodObject<{
185
+ url: z.ZodString;
286
186
  }, z.core.$strip>;
287
- export const ResolutionSchema: z.ZodObject<{
288
- account: z.ZodOptional<z.ZodString>;
289
- datetime: z.ZodNumber;
290
- site: z.ZodString;
291
- resolution: z.ZodString;
292
- count: z.ZodNumber;
293
- category: z.ZodEnum<{
294
- SERVER: "SERVER";
295
- CLIENT: "CLIENT";
296
- }>;
297
- }, z.core.$strip>;
298
- export const ReferrerSchema: z.ZodObject<{
299
- account: z.ZodOptional<z.ZodString>;
300
- datetime: z.ZodNumber;
301
- site: z.ZodString;
302
- referrer: z.ZodString;
303
- count: z.ZodNumber;
304
- category: z.ZodEnum<{
305
- SERVER: "SERVER";
306
- CLIENT: "CLIENT";
307
- }>;
308
- }, z.core.$strip>;
309
- export const LocationSchema: z.ZodObject<{
310
- account: z.ZodOptional<z.ZodString>;
311
- datetime: z.ZodNumber;
312
- site: z.ZodString;
313
- countryRegion: z.ZodString;
314
- category: z.ZodEnum<{
315
- SERVER: "SERVER";
316
- CLIENT: "CLIENT";
317
- }>;
318
- count: z.ZodNumber;
319
- }, z.core.$strip>;
320
- export const LanguageSchema: z.ZodObject<{
321
- account: z.ZodOptional<z.ZodString>;
322
- datetime: z.ZodNumber;
323
- site: z.ZodString;
324
- language: z.ZodString;
325
- count: z.ZodNumber;
326
- category: z.ZodEnum<{
327
- SERVER: "SERVER";
328
- CLIENT: "CLIENT";
329
- }>;
330
- }, z.core.$strip>;
331
- export const FingerprintSchema: z.ZodObject<{
332
- account: z.ZodOptional<z.ZodString>;
333
- datetime: z.ZodNumber;
334
- site: z.ZodString;
335
- fingerprint: z.ZodString;
336
- count: z.ZodNumber;
337
- category: z.ZodEnum<{
338
- SERVER: "SERVER";
339
- CLIENT: "CLIENT";
340
- }>;
341
- }, z.core.$strip>;
342
- export const EventSchema: z.ZodObject<{
343
- account: z.ZodOptional<z.ZodString>;
344
- site: z.ZodString;
345
- eventName: z.ZodString;
346
- datetime: z.ZodNumber;
347
- count: z.ZodNumber;
348
- category: z.ZodEnum<{
349
- SERVER: "SERVER";
350
- CLIENT: "CLIENT";
351
- }>;
352
- }, z.core.$strip>;
353
- export const HealthMetricSchema: z.ZodObject<{
354
- type: z.ZodLiteral<"health">;
355
- responseTimeMs: z.ZodNumber;
356
- success: z.ZodBoolean;
357
- }, z.core.$strip>;
358
- export const UserMetricSchema: z.ZodObject<{
359
- type: z.ZodString;
360
- value: z.ZodNumber;
361
- }, z.core.$strip>;
362
- export const MetricItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
363
- type: z.ZodLiteral<"health">;
364
- responseTimeMs: z.ZodNumber;
365
- success: z.ZodBoolean;
366
- }, z.core.$strip>, z.ZodObject<{
367
- type: z.ZodString;
368
- value: z.ZodNumber;
369
- }, z.core.$strip>], "type">;
370
- export const MetricSchema: z.ZodObject<{
371
- account: z.ZodOptional<z.ZodString>;
372
- site: z.ZodString;
373
- datetime: z.ZodNumber;
374
- category: z.ZodEnum<{
375
- SERVER: "SERVER";
376
- CLIENT: "CLIENT";
377
- }>;
378
- metric: z.ZodDiscriminatedUnion<[z.ZodObject<{
379
- type: z.ZodLiteral<"health">;
380
- responseTimeMs: z.ZodNumber;
381
- success: z.ZodBoolean;
382
- }, z.core.$strip>, z.ZodObject<{
383
- type: z.ZodString;
384
- value: z.ZodNumber;
385
- }, z.core.$strip>], "type">;
386
- }, z.core.$strip>;
387
- export interface IMetric extends z.infer<typeof MetricSchema> {
388
- }
389
- export interface IHealthMetric extends z.infer<typeof HealthMetricSchema> {
390
- }
391
- export interface IUserMetric extends z.infer<typeof UserMetricSchema> {
392
- }
393
- export const ModelErrorSchema: z.ZodObject<{
394
- PK: z.ZodString;
395
- messageHash: z.ZodOptional<z.ZodString>;
396
- site: z.ZodString;
397
- account: z.ZodString;
398
- message: z.ZodOptional<z.ZodString>;
399
- name: z.ZodOptional<z.ZodString>;
400
- stack: z.ZodOptional<z.ZodString>;
401
- href: z.ZodString;
402
- filename: z.ZodOptional<z.ZodString>;
403
- datetime: z.ZodNumber;
404
- archived: z.ZodOptional<z.ZodBoolean>;
405
- count: z.ZodNumber;
406
- category: z.ZodEnum<{
407
- SERVER: "SERVER";
408
- CLIENT: "CLIENT";
409
- }>;
410
- }, z.core.$strip>;
411
- export const RollupTopReferrersSchema: z.ZodObject<{
412
- referrer: z.ZodString;
413
- count: z.ZodNumber;
414
- }, z.core.$strip>;
415
- export const RollupTopResolutionsSchema: z.ZodObject<{
416
- resolution: z.ZodString;
417
- count: z.ZodNumber;
418
- }, z.core.$strip>;
419
- export const RollupTopFingerprintsSchema: z.ZodObject<{
420
- fingerprint: z.ZodString;
421
- count: z.ZodNumber;
422
- }, z.core.$strip>;
423
- export const RollupTopQueriesSchema: z.ZodObject<{
424
- pathName: z.ZodString;
425
- count: z.ZodNumber;
426
- }, z.core.$strip>;
427
- export const RollupTopLocationsSchema: z.ZodObject<{
428
- countryRegion: z.ZodString;
429
- count: z.ZodNumber;
430
- }, z.core.$strip>;
431
- export const RollupTopBrowsersSchema: z.ZodObject<{
432
- browser: z.ZodString;
433
- count: z.ZodNumber;
434
- }, z.core.$strip>;
435
- export const RollupTopEventsSchema: z.ZodObject<{
436
- eventName: z.ZodString;
437
- count: z.ZodNumber;
438
- }, z.core.$strip>;
439
- export const RollupTopLanguagesSchema: z.ZodObject<{
440
- language: z.ZodString;
441
- count: z.ZodNumber;
442
- }, z.core.$strip>;
443
- export const RollupTopErrorsSchema: z.ZodObject<{
444
- href: z.ZodString;
445
- count: z.ZodNumber;
446
- }, z.core.$strip>;
447
- export const RollupMetricSummarySchema: z.ZodObject<{
448
- count: z.ZodNumber;
449
- sum: z.ZodNumber;
450
- average: z.ZodNumber;
451
- }, z.core.$strip>;
452
- export const RollupSchema: z.ZodObject<{
453
- account: z.ZodString;
454
- site: z.ZodString;
455
- datetime: z.ZodNumber;
456
- category: z.ZodEnum<{
457
- SERVER: "SERVER";
458
- CLIENT: "CLIENT";
459
- }>;
460
- topReferrers: z.ZodOptional<z.ZodArray<z.ZodObject<{
461
- referrer: z.ZodString;
462
- count: z.ZodNumber;
463
- }, z.core.$strip>>>;
464
- topResolutions: z.ZodOptional<z.ZodArray<z.ZodObject<{
465
- resolution: z.ZodString;
466
- count: z.ZodNumber;
467
- }, z.core.$strip>>>;
468
- topFingerprints: z.ZodOptional<z.ZodArray<z.ZodObject<{
469
- fingerprint: z.ZodString;
470
- count: z.ZodNumber;
471
- }, z.core.$strip>>>;
472
- topQueries: z.ZodOptional<z.ZodArray<z.ZodObject<{
473
- pathName: z.ZodString;
474
- count: z.ZodNumber;
475
- }, z.core.$strip>>>;
476
- topLocations: z.ZodOptional<z.ZodArray<z.ZodObject<{
477
- countryRegion: z.ZodString;
478
- count: z.ZodNumber;
479
- }, z.core.$strip>>>;
480
- topBrowsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
481
- browser: z.ZodString;
482
- count: z.ZodNumber;
483
- }, z.core.$strip>>>;
484
- topEvents: z.ZodOptional<z.ZodArray<z.ZodObject<{
485
- eventName: z.ZodString;
486
- count: z.ZodNumber;
487
- }, z.core.$strip>>>;
488
- topLanguages: z.ZodOptional<z.ZodArray<z.ZodObject<{
489
- language: z.ZodString;
490
- count: z.ZodNumber;
491
- }, z.core.$strip>>>;
492
- topErrors: z.ZodOptional<z.ZodArray<z.ZodObject<{
493
- href: z.ZodString;
494
- count: z.ZodNumber;
495
- }, z.core.$strip>>>;
496
- metrics: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
497
- count: z.ZodNumber;
498
- sum: z.ZodNumber;
499
- average: z.ZodNumber;
500
- }, z.core.$strip>>>;
187
+ export type IIdentifyInputSchema = z.infer<typeof IdentifyInputSchema>;
188
+ export const IdentifyResponseSchema: z.ZodObject<{
189
+ url: z.ZodString;
501
190
  }, z.core.$strip>;
191
+ export type IIdentifyResponseSchema = z.infer<typeof IdentifyResponseSchema>;
502
192
  export const PostEventDataSchema: z.ZodObject<{
503
193
  eventName: z.ZodString;
504
194
  pageReferrer: z.ZodOptional<z.ZodString>;
@@ -571,333 +261,6 @@ declare module 'analytica.click/dist/ui/src/server/schema/index' {
571
261
  value: z.ZodNumber;
572
262
  }, z.core.$strip>;
573
263
  }, z.core.$strip>;
574
- export const SiteDetailsSchema: z.ZodObject<{
575
- site: z.ZodString;
576
- account: z.ZodString;
577
- datetime: z.ZodOptional<z.ZodNumber>;
578
- healthCheckPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
579
- }, z.core.$strip>;
580
- export const GetAccountSchema: z.ZodObject<{
581
- site: z.ZodString;
582
- account: z.ZodString;
583
- apiKey: z.ZodString;
584
- adminApiKey: z.ZodString;
585
- siteDetail: z.ZodObject<{
586
- site: z.ZodString;
587
- account: z.ZodString;
588
- datetime: z.ZodOptional<z.ZodNumber>;
589
- healthCheckPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
590
- }, z.core.$strip>;
591
- }, z.core.$strip>;
592
- export const SiteDataSchema: z.ZodObject<{
593
- accountDetails: z.ZodOptional<z.ZodObject<{
594
- site: z.ZodString;
595
- account: z.ZodString;
596
- apiKey: z.ZodString;
597
- adminApiKey: z.ZodString;
598
- siteDetail: z.ZodObject<{
599
- site: z.ZodString;
600
- account: z.ZodString;
601
- datetime: z.ZodOptional<z.ZodNumber>;
602
- healthCheckPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
603
- }, z.core.$strip>;
604
- }, z.core.$strip>>;
605
- browsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
606
- account: z.ZodOptional<z.ZodString>;
607
- datetime: z.ZodNumber;
608
- site: z.ZodString;
609
- browser: z.ZodString;
610
- count: z.ZodNumber;
611
- category: z.ZodEnum<{
612
- SERVER: "SERVER";
613
- CLIENT: "CLIENT";
614
- }>;
615
- }, z.core.$strip>>>;
616
- events: z.ZodOptional<z.ZodArray<z.ZodObject<{
617
- account: z.ZodOptional<z.ZodString>;
618
- site: z.ZodString;
619
- eventName: z.ZodString;
620
- datetime: z.ZodNumber;
621
- count: z.ZodNumber;
622
- category: z.ZodEnum<{
623
- SERVER: "SERVER";
624
- CLIENT: "CLIENT";
625
- }>;
626
- }, z.core.$strip>>>;
627
- locations: z.ZodOptional<z.ZodArray<z.ZodObject<{
628
- account: z.ZodOptional<z.ZodString>;
629
- datetime: z.ZodNumber;
630
- site: z.ZodString;
631
- countryRegion: z.ZodString;
632
- category: z.ZodEnum<{
633
- SERVER: "SERVER";
634
- CLIENT: "CLIENT";
635
- }>;
636
- count: z.ZodNumber;
637
- }, z.core.$strip>>>;
638
- queries: z.ZodOptional<z.ZodArray<z.ZodObject<{
639
- account: z.ZodOptional<z.ZodString>;
640
- datetime: z.ZodNumber;
641
- site: z.ZodString;
642
- pathName: z.ZodString;
643
- search: z.ZodOptional<z.ZodString>;
644
- hash: z.ZodOptional<z.ZodString>;
645
- count: z.ZodNumber;
646
- category: z.ZodEnum<{
647
- SERVER: "SERVER";
648
- CLIENT: "CLIENT";
649
- }>;
650
- }, z.core.$strip>>>;
651
- referrers: z.ZodOptional<z.ZodArray<z.ZodObject<{
652
- account: z.ZodOptional<z.ZodString>;
653
- datetime: z.ZodNumber;
654
- site: z.ZodString;
655
- referrer: z.ZodString;
656
- count: z.ZodNumber;
657
- category: z.ZodEnum<{
658
- SERVER: "SERVER";
659
- CLIENT: "CLIENT";
660
- }>;
661
- }, z.core.$strip>>>;
662
- resolutions: z.ZodOptional<z.ZodArray<z.ZodObject<{
663
- account: z.ZodOptional<z.ZodString>;
664
- datetime: z.ZodNumber;
665
- site: z.ZodString;
666
- resolution: z.ZodString;
667
- count: z.ZodNumber;
668
- category: z.ZodEnum<{
669
- SERVER: "SERVER";
670
- CLIENT: "CLIENT";
671
- }>;
672
- }, z.core.$strip>>>;
673
- fingerprints: z.ZodOptional<z.ZodArray<z.ZodObject<{
674
- account: z.ZodOptional<z.ZodString>;
675
- datetime: z.ZodNumber;
676
- site: z.ZodString;
677
- fingerprint: z.ZodString;
678
- count: z.ZodNumber;
679
- category: z.ZodEnum<{
680
- SERVER: "SERVER";
681
- CLIENT: "CLIENT";
682
- }>;
683
- }, z.core.$strip>>>;
684
- metrics: z.ZodOptional<z.ZodArray<z.ZodObject<{
685
- account: z.ZodOptional<z.ZodString>;
686
- site: z.ZodString;
687
- datetime: z.ZodNumber;
688
- category: z.ZodEnum<{
689
- SERVER: "SERVER";
690
- CLIENT: "CLIENT";
691
- }>;
692
- metric: z.ZodDiscriminatedUnion<[z.ZodObject<{
693
- type: z.ZodLiteral<"health">;
694
- responseTimeMs: z.ZodNumber;
695
- success: z.ZodBoolean;
696
- }, z.core.$strip>, z.ZodObject<{
697
- type: z.ZodString;
698
- value: z.ZodNumber;
699
- }, z.core.$strip>], "type">;
700
- }, z.core.$strip>>>;
701
- languages: z.ZodOptional<z.ZodArray<z.ZodObject<{
702
- account: z.ZodOptional<z.ZodString>;
703
- datetime: z.ZodNumber;
704
- site: z.ZodString;
705
- language: z.ZodString;
706
- count: z.ZodNumber;
707
- category: z.ZodEnum<{
708
- SERVER: "SERVER";
709
- CLIENT: "CLIENT";
710
- }>;
711
- }, z.core.$strip>>>;
712
- rollups: z.ZodOptional<z.ZodArray<z.ZodObject<{
713
- account: z.ZodString;
714
- site: z.ZodString;
715
- datetime: z.ZodNumber;
716
- category: z.ZodEnum<{
717
- SERVER: "SERVER";
718
- CLIENT: "CLIENT";
719
- }>;
720
- topReferrers: z.ZodOptional<z.ZodArray<z.ZodObject<{
721
- referrer: z.ZodString;
722
- count: z.ZodNumber;
723
- }, z.core.$strip>>>;
724
- topResolutions: z.ZodOptional<z.ZodArray<z.ZodObject<{
725
- resolution: z.ZodString;
726
- count: z.ZodNumber;
727
- }, z.core.$strip>>>;
728
- topFingerprints: z.ZodOptional<z.ZodArray<z.ZodObject<{
729
- fingerprint: z.ZodString;
730
- count: z.ZodNumber;
731
- }, z.core.$strip>>>;
732
- topQueries: z.ZodOptional<z.ZodArray<z.ZodObject<{
733
- pathName: z.ZodString;
734
- count: z.ZodNumber;
735
- }, z.core.$strip>>>;
736
- topLocations: z.ZodOptional<z.ZodArray<z.ZodObject<{
737
- countryRegion: z.ZodString;
738
- count: z.ZodNumber;
739
- }, z.core.$strip>>>;
740
- topBrowsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
741
- browser: z.ZodString;
742
- count: z.ZodNumber;
743
- }, z.core.$strip>>>;
744
- topEvents: z.ZodOptional<z.ZodArray<z.ZodObject<{
745
- eventName: z.ZodString;
746
- count: z.ZodNumber;
747
- }, z.core.$strip>>>;
748
- topLanguages: z.ZodOptional<z.ZodArray<z.ZodObject<{
749
- language: z.ZodString;
750
- count: z.ZodNumber;
751
- }, z.core.$strip>>>;
752
- topErrors: z.ZodOptional<z.ZodArray<z.ZodObject<{
753
- href: z.ZodString;
754
- count: z.ZodNumber;
755
- }, z.core.$strip>>>;
756
- metrics: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
757
- count: z.ZodNumber;
758
- sum: z.ZodNumber;
759
- average: z.ZodNumber;
760
- }, z.core.$strip>>>;
761
- }, z.core.$strip>>>;
762
- errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
763
- PK: z.ZodString;
764
- messageHash: z.ZodOptional<z.ZodString>;
765
- site: z.ZodString;
766
- account: z.ZodString;
767
- message: z.ZodOptional<z.ZodString>;
768
- name: z.ZodOptional<z.ZodString>;
769
- stack: z.ZodOptional<z.ZodString>;
770
- href: z.ZodString;
771
- filename: z.ZodOptional<z.ZodString>;
772
- datetime: z.ZodNumber;
773
- archived: z.ZodOptional<z.ZodBoolean>;
774
- count: z.ZodNumber;
775
- category: z.ZodEnum<{
776
- SERVER: "SERVER";
777
- CLIENT: "CLIENT";
778
- }>;
779
- }, z.core.$strip>>>;
780
- google: z.ZodOptional<z.ZodArray<z.ZodObject<{
781
- account: z.ZodString;
782
- email: z.ZodString;
783
- site: z.ZodString;
784
- datetime: z.ZodNumber;
785
- category: z.ZodEnum<{
786
- SERVER: "SERVER";
787
- CLIENT: "CLIENT";
788
- }>;
789
- totals: z.ZodObject<{
790
- clicks: z.ZodNumber;
791
- impressions: z.ZodNumber;
792
- position: z.ZodNumber;
793
- query: z.ZodString;
794
- }, z.core.$strip>;
795
- queries: z.ZodArray<z.ZodObject<{
796
- clicks: z.ZodNumber;
797
- impressions: z.ZodNumber;
798
- position: z.ZodNumber;
799
- query: z.ZodString;
800
- }, z.core.$strip>>;
801
- }, z.core.$strip>>>;
802
- bing: z.ZodOptional<z.ZodArray<z.ZodObject<{
803
- account: z.ZodString;
804
- email: z.ZodString;
805
- site: z.ZodString;
806
- datetime: z.ZodNumber;
807
- category: z.ZodEnum<{
808
- SERVER: "SERVER";
809
- CLIENT: "CLIENT";
810
- }>;
811
- totals: z.ZodObject<{
812
- clicks: z.ZodNumber;
813
- impressions: z.ZodNumber;
814
- position: z.ZodNumber;
815
- query: z.ZodString;
816
- }, z.core.$strip>;
817
- queries: z.ZodArray<z.ZodObject<{
818
- clicks: z.ZodNumber;
819
- impressions: z.ZodNumber;
820
- position: z.ZodNumber;
821
- query: z.ZodString;
822
- }, z.core.$strip>>;
823
- }, z.core.$strip>>>;
824
- cloudflare: z.ZodOptional<z.ZodArray<z.ZodObject<{
825
- account: z.ZodString;
826
- email: z.ZodString;
827
- site: z.ZodString;
828
- datetime: z.ZodNumber;
829
- category: z.ZodEnum<{
830
- SERVER: "SERVER";
831
- CLIENT: "CLIENT";
832
- }>;
833
- totals: z.ZodObject<{
834
- clicks: z.ZodNumber;
835
- impressions: z.ZodNumber;
836
- position: z.ZodNumber;
837
- query: z.ZodString;
838
- }, z.core.$strip>;
839
- queries: z.ZodArray<z.ZodObject<{
840
- clicks: z.ZodNumber;
841
- impressions: z.ZodNumber;
842
- position: z.ZodNumber;
843
- query: z.ZodString;
844
- }, z.core.$strip>>;
845
- }, z.core.$strip>>>;
846
- }, z.core.$strip>;
847
- export const PostAccountSchema: z.ZodObject<{
848
- site: z.ZodString;
849
- account: z.ZodString;
850
- }, z.core.$strip>;
851
- export const DeleteAccountSchema: z.ZodObject<{
852
- site: z.ZodString;
853
- account: z.ZodString;
854
- }, z.core.$strip>;
855
- export const ArchiveErrorsSchema: z.ZodObject<{
856
- PKs: z.ZodArray<z.ZodString>;
857
- }, z.core.$strip>;
858
- export const GetAccountsSchema: z.ZodObject<{
859
- accounts: z.ZodArray<z.ZodObject<{
860
- site: z.ZodString;
861
- account: z.ZodString;
862
- apiKey: z.ZodString;
863
- adminApiKey: z.ZodString;
864
- siteDetail: z.ZodObject<{
865
- site: z.ZodString;
866
- account: z.ZodString;
867
- datetime: z.ZodOptional<z.ZodNumber>;
868
- healthCheckPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
869
- }, z.core.$strip>;
870
- }, z.core.$strip>>;
871
- googleEmail: z.ZodOptional<z.ZodString>;
872
- googleKey: z.ZodOptional<z.ZodString>;
873
- bingKey: z.ZodOptional<z.ZodString>;
874
- bingAccount: z.ZodOptional<z.ZodString>;
875
- cloudflareKey: z.ZodOptional<z.ZodString>;
876
- cloudflareAccount: z.ZodOptional<z.ZodString>;
877
- }, z.core.$strip>;
878
- export type SeoResultValues = z.infer<typeof SeoResultValuesSchema>;
879
- export type SeoResult = z.infer<typeof SeoResultSchema>;
880
- export type GetAccount = z.infer<typeof GetAccountSchema>;
881
- export type GetAccounts = z.infer<typeof GetAccountsSchema>;
882
- export type GoogleIntegration = z.infer<typeof GoogleIntegrationSchema>;
883
- export type BingIntegration = z.infer<typeof BingIntegrationSchema>;
884
- export type CloudflareIntegration = z.infer<typeof CloudflareIntegrationSchema>;
885
- export type ApiKey = z.infer<typeof ApiKeySchema>;
886
- export type Query = z.infer<typeof QuerySchema>;
887
- export type Browser = z.infer<typeof BrowserSchema>;
888
- export type Resolution = z.infer<typeof ResolutionSchema>;
889
- export type Referrer = z.infer<typeof ReferrerSchema>;
890
- export type Location = z.infer<typeof LocationSchema>;
891
- export type Language = z.infer<typeof LanguageSchema>;
892
- export type Fingerprint = z.infer<typeof FingerprintSchema>;
893
- export type Event = z.infer<typeof EventSchema>;
894
- export type MetricItem = z.infer<typeof MetricItemSchema>;
895
- export type Metric = z.infer<typeof MetricSchema>;
896
- export type ModelError = z.infer<typeof ModelErrorSchema>;
897
- export type RollupMetricSummary = z.infer<typeof RollupMetricSummarySchema>;
898
- export type Rollup = z.infer<typeof RollupSchema>;
899
- export type SiteData = z.infer<typeof SiteDataSchema>;
900
- export type SiteDetails = z.infer<typeof SiteDetailsSchema>;
901
264
  export type PostEventData = z.infer<typeof PostEventDataSchema>;
902
265
  export type PostEvent = z.infer<typeof PostEventSchema>;
903
266
  export type PostSiteTrackData = z.infer<typeof PostSiteTrackDataSchema>;
@@ -906,9 +269,6 @@ declare module 'analytica.click/dist/ui/src/server/schema/index' {
906
269
  export type PostError = z.infer<typeof PostErrorSchema>;
907
270
  export type PostMetricData = z.infer<typeof PostMetricDataSchema>;
908
271
  export type PostMetric = z.infer<typeof PostMetricSchema>;
909
- export type PostAccount = z.infer<typeof PostAccountSchema>;
910
- export type DeleteAccount = z.infer<typeof DeleteAccountSchema>;
911
- export type ArchiveErrors = z.infer<typeof ArchiveErrorsSchema>;
912
272
 
913
273
  }
914
274
  declare module 'analytica.click' {