analytica.click 0.0.518 → 0.0.519

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.
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  declare module 'analytica.click/dist/components/AnalyticaClickProvider/index' {
2
- import type { IAnalyticaConfig } from 'analytica.click/dist/common-ui/src/types/widgets';
3
2
  import React from 'react';
3
+ import type { IAnalyticaConfig } from 'analytica.click/dist/types';
4
4
  export const AnalyticaConfigContext: React.Context<IAnalyticaConfig>;
5
5
  export const AnalyticaClickProvider: ({ children, values, }: {
6
6
  children: React.ReactNode;
@@ -9,8 +9,8 @@ declare module 'analytica.click/dist/components/AnalyticaClickProvider/index' {
9
9
 
10
10
  }
11
11
  declare module 'analytica.click/dist/components/ErrorBoundary/Comp' {
12
- import type { TErrorMessage } from 'analytica.click/dist/common-ui/src/types/widgets';
13
12
  import React, { Component } from 'react';
13
+ import type { TErrorMessage } from 'analytica.click/dist/types';
14
14
  export interface IErrorBoundaryProps {
15
15
  notify?: TErrorMessage;
16
16
  children?: React.ReactNode;
@@ -34,11 +34,6 @@ declare module 'analytica.click/dist/components/ErrorBoundary/index' {
34
34
  children?: React.ReactNode;
35
35
  }) => JSX.Element;
36
36
 
37
- }
38
- declare module 'analytica.click/dist/components/index' {
39
- export * from 'analytica.click/dist/components/AnalyticaClickProvider/index';
40
- export * from 'analytica.click/dist/components/Modal/index';
41
-
42
37
  }
43
38
  declare module 'analytica.click/dist/components/Modal/index' {
44
39
  import React from 'react';
@@ -49,9 +44,14 @@ declare module 'analytica.click/dist/components/Modal/index' {
49
44
  }
50
45
  export const Modal: React.FC<ModalProps>;
51
46
 
47
+ }
48
+ declare module 'analytica.click/dist/components/index' {
49
+ export * from 'analytica.click/dist/components/AnalyticaClickProvider/index';
50
+ export * from 'analytica.click/dist/components/Modal/index';
51
+
52
52
  }
53
53
  declare module 'analytica.click/dist/helpers/browser' {
54
- import type { IAnalyticaConfig } from 'analytica.click/dist/common-ui/src/types/index';
54
+ import type { IAnalyticaConfig } from 'analytica.click/dist/types';
55
55
  export function onBrowserError({ ev, values, }: {
56
56
  ev: ErrorEvent;
57
57
  values: IAnalyticaConfig;
@@ -60,13 +60,13 @@ declare module 'analytica.click/dist/helpers/browser' {
60
60
 
61
61
  }
62
62
  declare module 'analytica.click/dist/helpers/console' {
63
- import type { IAnalyticaConfig } from 'analytica.click/dist/common-ui/src/types/index';
63
+ import type { IAnalyticaConfig } from 'analytica.click/dist/types';
64
64
  export function OverloadConsole(values: IAnalyticaConfig): void;
65
65
 
66
66
  }
67
67
  declare module 'analytica.click/dist/helpers/errorTrack' {
68
68
  import 'cross-fetch/polyfill';
69
- import type { PostError } from 'analytica.click/dist/common-ui/src/types/api';
69
+ import type { PostError, PostErrorData } from '@ui/src/server/schema';
70
70
  export const errorTrack: ({ data, overrideBaseUrl, ignoreBrowserErrors, devMode, }: {
71
71
  data: PostError;
72
72
  overrideBaseUrl?: string;
@@ -74,6 +74,7 @@ declare module 'analytica.click/dist/helpers/errorTrack' {
74
74
  ignoreBrowserErrors?: string[];
75
75
  devMode?: boolean;
76
76
  }) => Promise<{} | undefined>;
77
+ export const getErrorKey: (p: PostErrorData) => string;
77
78
 
78
79
  }
79
80
  declare module 'analytica.click/dist/helpers/index' {
@@ -88,7 +89,7 @@ declare module 'analytica.click/dist/helpers/log' {
88
89
 
89
90
  }
90
91
  declare module 'analytica.click/dist/helpers/node' {
91
- import type { IAnalyticaConfig } from 'analytica.click/dist/common-ui/src/types/index';
92
+ import type { IAnalyticaConfig } from 'analytica.click/dist/types';
92
93
  export function OverloadNode(values: IAnalyticaConfig): void;
93
94
 
94
95
  }
@@ -101,7 +102,7 @@ declare module 'analytica.click/dist/helpers/object' {
101
102
  }
102
103
  declare module 'analytica.click/dist/helpers/server' {
103
104
  import 'cross-fetch/polyfill';
104
- import type { TEvent, TPage } from 'analytica.click/dist/common-ui/src/types/index';
105
+ import type { TEvent, TPage } from 'analytica.click/dist/types';
105
106
  /** used for tracking arbitrary events */
106
107
  export const event: TEvent;
107
108
  /** used for tracking visits to a page */
@@ -109,7 +110,7 @@ declare module 'analytica.click/dist/helpers/server' {
109
110
 
110
111
  }
111
112
  declare module 'analytica.click/dist/helpers/useAnalytica' {
112
- import type { IEvent, IPage } from 'analytica.click/dist/common-ui/src/types/index';
113
+ import type { IEvent, IPage } from 'analytica.click/dist/types';
113
114
  export const useAnalytica: () => {
114
115
  event: (d: Omit<IEvent, "analyticaToken" | "overrideBaseUrl">) => void;
115
116
  page: (d: Omit<IPage, "analyticaToken" | "overrideBaseUrl">) => void;
@@ -117,32 +118,12 @@ declare module 'analytica.click/dist/helpers/useAnalytica' {
117
118
 
118
119
  }
119
120
  declare module 'analytica.click/dist/index' {
120
- export * from 'analytica.click/dist/common-ui/src/types/index';
121
121
 
122
122
  export * from 'analytica.click/dist/components/index';
123
123
  export * from 'analytica.click/dist/helpers/index';
124
124
 
125
125
  }
126
- declare module 'analytica.click/dist/common-ui/src/types/api' {
127
- export interface PostError {
128
- key: string;
129
- data: PostErrorData;
130
- }
131
- export interface PostErrorData {
132
- message: string;
133
- name?: string;
134
- stack?: string;
135
- href: string;
136
- filename?: string;
137
- }
138
-
139
- }
140
- declare module 'analytica.click/dist/common-ui/src/types/index' {
141
- export type * from 'analytica.click/dist/common-ui/src/types/api';
142
- export type * from 'analytica.click/dist/common-ui/src/types/widgets';
143
-
144
- }
145
- declare module 'analytica.click/dist/common-ui/src/types/widgets' {
126
+ declare module 'analytica.click/dist/types' {
146
127
  export type TEvent = (p: IEvent) => Promise<{
147
128
  error?: string;
148
129
  }>;
@@ -183,6 +164,544 @@ declare module 'analytica.click/dist/common-ui/src/types/widgets' {
183
164
  };
184
165
  }
185
166
 
167
+ }
168
+ declare module 'analytica.click/dist/ui/src/server/schema/index' {
169
+ import { z } from 'zod';
170
+ export const createSiteSchema: z.ZodObject<{
171
+ site: z.ZodString;
172
+ }, z.core.$strip>;
173
+ export const deleteSiteSchema: z.ZodObject<{
174
+ site: z.ZodString;
175
+ }, z.core.$strip>;
176
+ export const createGoogleIntegrationSchema: z.ZodObject<{
177
+ email: z.ZodString;
178
+ key: z.ZodString;
179
+ }, z.core.$strip>;
180
+ export const createBingIntegrationSchema: z.ZodObject<{
181
+ key: z.ZodString;
182
+ }, z.core.$strip>;
183
+ export const successResponseSchema: z.ZodObject<{
184
+ success: z.ZodBoolean;
185
+ }, z.core.$strip>;
186
+ export const errorResponseSchema: z.ZodObject<{
187
+ error: z.ZodString;
188
+ }, z.core.$strip>;
189
+ export const SeoResultValuesSchema: z.ZodObject<{
190
+ clicks: z.ZodNumber;
191
+ impressions: z.ZodNumber;
192
+ position: z.ZodNumber;
193
+ query: z.ZodString;
194
+ }, z.core.$strip>;
195
+ export const SeoResultSchema: z.ZodObject<{
196
+ account: z.ZodString;
197
+ email: z.ZodString;
198
+ site: z.ZodString;
199
+ datetime: z.ZodNumber;
200
+ category: z.ZodString;
201
+ totals: z.ZodObject<{
202
+ clicks: z.ZodNumber;
203
+ impressions: z.ZodNumber;
204
+ position: z.ZodNumber;
205
+ query: z.ZodString;
206
+ }, z.core.$strip>;
207
+ queries: z.ZodArray<z.ZodObject<{
208
+ clicks: z.ZodNumber;
209
+ impressions: z.ZodNumber;
210
+ position: z.ZodNumber;
211
+ query: z.ZodString;
212
+ }, z.core.$strip>>;
213
+ }, z.core.$strip>;
214
+ export const GetAccountSchema: z.ZodObject<{
215
+ site: z.ZodString;
216
+ account: z.ZodString;
217
+ apiKey: z.ZodString;
218
+ adminApiKey: z.ZodString;
219
+ }, z.core.$strip>;
220
+ export const GetAccountsSchema: z.ZodObject<{
221
+ accounts: z.ZodArray<z.ZodObject<{
222
+ site: z.ZodString;
223
+ account: z.ZodString;
224
+ apiKey: z.ZodString;
225
+ adminApiKey: z.ZodString;
226
+ }, z.core.$strip>>;
227
+ googleEmail: z.ZodOptional<z.ZodString>;
228
+ googleKey: z.ZodOptional<z.ZodString>;
229
+ bingKey: z.ZodOptional<z.ZodString>;
230
+ bingAccount: z.ZodOptional<z.ZodString>;
231
+ }, z.core.$strip>;
232
+ export const GoogleIntegrationSchema: z.ZodObject<{
233
+ email: z.ZodString;
234
+ key: z.ZodString;
235
+ account: z.ZodString;
236
+ }, z.core.$strip>;
237
+ export const BingIntegrationSchema: z.ZodObject<{
238
+ key: z.ZodString;
239
+ account: z.ZodString;
240
+ }, z.core.$strip>;
241
+ export const ApiKeySchema: z.ZodObject<{
242
+ key: z.ZodString;
243
+ adminKey: z.ZodString;
244
+ account: z.ZodString;
245
+ site: z.ZodString;
246
+ }, z.core.$strip>;
247
+ export const QuerySchema: z.ZodObject<{
248
+ account: z.ZodOptional<z.ZodString>;
249
+ datetime: z.ZodNumber;
250
+ site: z.ZodString;
251
+ pathName: z.ZodString;
252
+ search: z.ZodOptional<z.ZodString>;
253
+ hash: z.ZodOptional<z.ZodString>;
254
+ count: z.ZodNumber;
255
+ category: z.ZodString;
256
+ }, z.core.$strip>;
257
+ export const BrowserSchema: z.ZodObject<{
258
+ account: z.ZodOptional<z.ZodString>;
259
+ datetime: z.ZodNumber;
260
+ site: z.ZodString;
261
+ browser: z.ZodString;
262
+ count: z.ZodNumber;
263
+ category: z.ZodString;
264
+ }, z.core.$strip>;
265
+ export const ResolutionSchema: z.ZodObject<{
266
+ account: z.ZodOptional<z.ZodString>;
267
+ datetime: z.ZodNumber;
268
+ site: z.ZodString;
269
+ resolution: z.ZodString;
270
+ count: z.ZodNumber;
271
+ category: z.ZodString;
272
+ }, z.core.$strip>;
273
+ export const ReferrerSchema: z.ZodObject<{
274
+ account: z.ZodOptional<z.ZodString>;
275
+ datetime: z.ZodNumber;
276
+ site: z.ZodString;
277
+ referrer: z.ZodString;
278
+ count: z.ZodNumber;
279
+ category: z.ZodString;
280
+ }, z.core.$strip>;
281
+ export const LocationSchema: z.ZodObject<{
282
+ account: z.ZodOptional<z.ZodString>;
283
+ datetime: z.ZodNumber;
284
+ site: z.ZodString;
285
+ countryRegion: z.ZodString;
286
+ category: z.ZodString;
287
+ count: z.ZodNumber;
288
+ }, z.core.$strip>;
289
+ export const LanguageSchema: z.ZodObject<{
290
+ account: z.ZodOptional<z.ZodString>;
291
+ datetime: z.ZodNumber;
292
+ site: z.ZodString;
293
+ language: z.ZodString;
294
+ count: z.ZodNumber;
295
+ category: z.ZodString;
296
+ }, z.core.$strip>;
297
+ export const FingerprintSchema: z.ZodObject<{
298
+ account: z.ZodOptional<z.ZodString>;
299
+ datetime: z.ZodNumber;
300
+ site: z.ZodString;
301
+ fingerprint: z.ZodString;
302
+ count: z.ZodNumber;
303
+ category: z.ZodString;
304
+ }, z.core.$strip>;
305
+ export const EventSchema: z.ZodObject<{
306
+ account: z.ZodOptional<z.ZodString>;
307
+ site: z.ZodString;
308
+ eventName: z.ZodString;
309
+ datetime: z.ZodNumber;
310
+ count: z.ZodNumber;
311
+ category: z.ZodString;
312
+ }, z.core.$strip>;
313
+ export const HealthSchema: z.ZodObject<{
314
+ account: z.ZodOptional<z.ZodString>;
315
+ datetime: z.ZodNumber;
316
+ site: z.ZodString;
317
+ responseTimeMs: z.ZodNumber;
318
+ success: z.ZodBoolean;
319
+ }, z.core.$strip>;
320
+ export const ModelErrorSchema: z.ZodObject<{
321
+ PK: z.ZodString;
322
+ messageHash: z.ZodOptional<z.ZodString>;
323
+ site: z.ZodString;
324
+ account: z.ZodString;
325
+ message: z.ZodOptional<z.ZodString>;
326
+ name: z.ZodOptional<z.ZodString>;
327
+ stack: z.ZodOptional<z.ZodString>;
328
+ href: z.ZodString;
329
+ filename: z.ZodOptional<z.ZodString>;
330
+ datetime: z.ZodNumber;
331
+ archived: z.ZodOptional<z.ZodBoolean>;
332
+ count: z.ZodNumber;
333
+ category: z.ZodString;
334
+ }, z.core.$strip>;
335
+ export const RollupTopReferrersSchema: z.ZodObject<{
336
+ referrer: z.ZodString;
337
+ count: z.ZodNumber;
338
+ }, z.core.$strip>;
339
+ export const RollupTopResolutionsSchema: z.ZodObject<{
340
+ resolution: z.ZodString;
341
+ count: z.ZodNumber;
342
+ }, z.core.$strip>;
343
+ export const RollupTopFingerprintsSchema: z.ZodObject<{
344
+ fingerprint: z.ZodString;
345
+ count: z.ZodNumber;
346
+ }, z.core.$strip>;
347
+ export const RollupTopQueriesSchema: z.ZodObject<{
348
+ pathName: z.ZodString;
349
+ count: z.ZodNumber;
350
+ }, z.core.$strip>;
351
+ export const RollupTopLocationsSchema: z.ZodObject<{
352
+ countryRegion: z.ZodString;
353
+ count: z.ZodNumber;
354
+ }, z.core.$strip>;
355
+ export const RollupTopBrowsersSchema: z.ZodObject<{
356
+ browser: z.ZodString;
357
+ count: z.ZodNumber;
358
+ }, z.core.$strip>;
359
+ export const RollupTopEventsSchema: z.ZodObject<{
360
+ eventName: z.ZodString;
361
+ count: z.ZodNumber;
362
+ }, z.core.$strip>;
363
+ export const RollupTopLanguagesSchema: z.ZodObject<{
364
+ language: z.ZodString;
365
+ count: z.ZodNumber;
366
+ }, z.core.$strip>;
367
+ export const RollupTopErrorsSchema: z.ZodObject<{
368
+ href: z.ZodString;
369
+ count: z.ZodNumber;
370
+ }, z.core.$strip>;
371
+ export const RollupSchema: z.ZodObject<{
372
+ account: z.ZodString;
373
+ site: z.ZodString;
374
+ datetime: z.ZodNumber;
375
+ category: z.ZodString;
376
+ topReferrers: z.ZodOptional<z.ZodArray<z.ZodObject<{
377
+ referrer: z.ZodString;
378
+ count: z.ZodNumber;
379
+ }, z.core.$strip>>>;
380
+ topResolutions: z.ZodOptional<z.ZodArray<z.ZodObject<{
381
+ resolution: z.ZodString;
382
+ count: z.ZodNumber;
383
+ }, z.core.$strip>>>;
384
+ topFingerprints: z.ZodOptional<z.ZodArray<z.ZodObject<{
385
+ fingerprint: z.ZodString;
386
+ count: z.ZodNumber;
387
+ }, z.core.$strip>>>;
388
+ topQueries: z.ZodOptional<z.ZodArray<z.ZodObject<{
389
+ pathName: z.ZodString;
390
+ count: z.ZodNumber;
391
+ }, z.core.$strip>>>;
392
+ topLocations: z.ZodOptional<z.ZodArray<z.ZodObject<{
393
+ countryRegion: z.ZodString;
394
+ count: z.ZodNumber;
395
+ }, z.core.$strip>>>;
396
+ topBrowsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
397
+ browser: z.ZodString;
398
+ count: z.ZodNumber;
399
+ }, z.core.$strip>>>;
400
+ topEvents: z.ZodOptional<z.ZodArray<z.ZodObject<{
401
+ eventName: z.ZodString;
402
+ count: z.ZodNumber;
403
+ }, z.core.$strip>>>;
404
+ topLanguages: z.ZodOptional<z.ZodArray<z.ZodObject<{
405
+ language: z.ZodString;
406
+ count: z.ZodNumber;
407
+ }, z.core.$strip>>>;
408
+ topErrors: z.ZodOptional<z.ZodArray<z.ZodObject<{
409
+ href: z.ZodString;
410
+ count: z.ZodNumber;
411
+ }, z.core.$strip>>>;
412
+ averageResponseTimeMs: z.ZodOptional<z.ZodNumber>;
413
+ }, z.core.$strip>;
414
+ export const PostEventDataSchema: z.ZodObject<{
415
+ eventName: z.ZodString;
416
+ pageReferrer: z.ZodOptional<z.ZodString>;
417
+ pageTitle: z.ZodOptional<z.ZodString>;
418
+ browserResolution: z.ZodOptional<z.ZodString>;
419
+ browserLanguage: z.ZodOptional<z.ZodString>;
420
+ browserFingerprint: z.ZodOptional<z.ZodString>;
421
+ pageLocation: z.ZodString;
422
+ }, z.core.$strip>;
423
+ export const PostEventSchema: z.ZodObject<{
424
+ key: z.ZodString;
425
+ data: z.ZodObject<{
426
+ eventName: z.ZodString;
427
+ pageReferrer: z.ZodOptional<z.ZodString>;
428
+ pageTitle: z.ZodOptional<z.ZodString>;
429
+ browserResolution: z.ZodOptional<z.ZodString>;
430
+ browserLanguage: z.ZodOptional<z.ZodString>;
431
+ browserFingerprint: z.ZodOptional<z.ZodString>;
432
+ pageLocation: z.ZodString;
433
+ }, z.core.$strip>;
434
+ }, z.core.$strip>;
435
+ export const PostSiteTrackDataSchema: z.ZodObject<{
436
+ pageReferrer: z.ZodOptional<z.ZodString>;
437
+ pageTitle: z.ZodOptional<z.ZodString>;
438
+ browserResolution: z.ZodOptional<z.ZodString>;
439
+ browserLanguage: z.ZodOptional<z.ZodString>;
440
+ browserFingerprint: z.ZodOptional<z.ZodString>;
441
+ pageLocation: z.ZodString;
442
+ }, z.core.$strip>;
443
+ export const PostSiteTrackSchema: z.ZodObject<{
444
+ key: z.ZodString;
445
+ data: z.ZodObject<{
446
+ pageReferrer: z.ZodOptional<z.ZodString>;
447
+ pageTitle: z.ZodOptional<z.ZodString>;
448
+ browserResolution: z.ZodOptional<z.ZodString>;
449
+ browserLanguage: z.ZodOptional<z.ZodString>;
450
+ browserFingerprint: z.ZodOptional<z.ZodString>;
451
+ pageLocation: z.ZodString;
452
+ }, z.core.$strip>;
453
+ }, z.core.$strip>;
454
+ export const PostErrorDataSchema: z.ZodObject<{
455
+ message: z.ZodString;
456
+ name: z.ZodOptional<z.ZodString>;
457
+ stack: z.ZodOptional<z.ZodString>;
458
+ href: z.ZodString;
459
+ filename: z.ZodOptional<z.ZodString>;
460
+ }, z.core.$strip>;
461
+ export const PostErrorSchema: z.ZodObject<{
462
+ data: z.ZodObject<{
463
+ message: z.ZodString;
464
+ name: z.ZodOptional<z.ZodString>;
465
+ stack: z.ZodOptional<z.ZodString>;
466
+ href: z.ZodString;
467
+ filename: z.ZodOptional<z.ZodString>;
468
+ }, z.core.$strip>;
469
+ key: z.ZodString;
470
+ }, z.core.$strip>;
471
+ export const SiteDetailsSchema: z.ZodObject<{
472
+ site: z.ZodString;
473
+ account: z.ZodString;
474
+ title: z.ZodOptional<z.ZodString>;
475
+ description: z.ZodOptional<z.ZodString>;
476
+ keywords: z.ZodOptional<z.ZodString>;
477
+ author: z.ZodOptional<z.ZodString>;
478
+ language: z.ZodOptional<z.ZodString>;
479
+ canonical: z.ZodOptional<z.ZodString>;
480
+ robots: z.ZodOptional<z.ZodString>;
481
+ viewport: z.ZodOptional<z.ZodString>;
482
+ charset: z.ZodOptional<z.ZodString>;
483
+ generator: z.ZodOptional<z.ZodString>;
484
+ category: z.ZodString;
485
+ datetime: z.ZodNumber;
486
+ }, z.core.$strip>;
487
+ export const SiteDataSchema: z.ZodObject<{
488
+ accountDetails: z.ZodOptional<z.ZodObject<{
489
+ site: z.ZodString;
490
+ account: z.ZodString;
491
+ apiKey: z.ZodString;
492
+ adminApiKey: z.ZodString;
493
+ }, z.core.$strip>>;
494
+ browsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
495
+ account: z.ZodOptional<z.ZodString>;
496
+ datetime: z.ZodNumber;
497
+ site: z.ZodString;
498
+ browser: z.ZodString;
499
+ count: z.ZodNumber;
500
+ category: z.ZodString;
501
+ }, z.core.$strip>>>;
502
+ events: z.ZodOptional<z.ZodArray<z.ZodObject<{
503
+ account: z.ZodOptional<z.ZodString>;
504
+ site: z.ZodString;
505
+ eventName: z.ZodString;
506
+ datetime: z.ZodNumber;
507
+ count: z.ZodNumber;
508
+ category: z.ZodString;
509
+ }, z.core.$strip>>>;
510
+ locations: z.ZodOptional<z.ZodArray<z.ZodObject<{
511
+ account: z.ZodOptional<z.ZodString>;
512
+ datetime: z.ZodNumber;
513
+ site: z.ZodString;
514
+ countryRegion: z.ZodString;
515
+ category: z.ZodString;
516
+ count: z.ZodNumber;
517
+ }, z.core.$strip>>>;
518
+ queries: z.ZodOptional<z.ZodArray<z.ZodObject<{
519
+ account: z.ZodOptional<z.ZodString>;
520
+ datetime: z.ZodNumber;
521
+ site: z.ZodString;
522
+ pathName: z.ZodString;
523
+ search: z.ZodOptional<z.ZodString>;
524
+ hash: z.ZodOptional<z.ZodString>;
525
+ count: z.ZodNumber;
526
+ category: z.ZodString;
527
+ }, z.core.$strip>>>;
528
+ referrers: z.ZodOptional<z.ZodArray<z.ZodObject<{
529
+ account: z.ZodOptional<z.ZodString>;
530
+ datetime: z.ZodNumber;
531
+ site: z.ZodString;
532
+ referrer: z.ZodString;
533
+ count: z.ZodNumber;
534
+ category: z.ZodString;
535
+ }, z.core.$strip>>>;
536
+ resolutions: z.ZodOptional<z.ZodArray<z.ZodObject<{
537
+ account: z.ZodOptional<z.ZodString>;
538
+ datetime: z.ZodNumber;
539
+ site: z.ZodString;
540
+ resolution: z.ZodString;
541
+ count: z.ZodNumber;
542
+ category: z.ZodString;
543
+ }, z.core.$strip>>>;
544
+ fingerprints: z.ZodOptional<z.ZodArray<z.ZodObject<{
545
+ account: z.ZodOptional<z.ZodString>;
546
+ datetime: z.ZodNumber;
547
+ site: z.ZodString;
548
+ fingerprint: z.ZodString;
549
+ count: z.ZodNumber;
550
+ category: z.ZodString;
551
+ }, z.core.$strip>>>;
552
+ health: z.ZodOptional<z.ZodArray<z.ZodObject<{
553
+ account: z.ZodOptional<z.ZodString>;
554
+ datetime: z.ZodNumber;
555
+ site: z.ZodString;
556
+ responseTimeMs: z.ZodNumber;
557
+ success: z.ZodBoolean;
558
+ }, z.core.$strip>>>;
559
+ languages: z.ZodOptional<z.ZodArray<z.ZodObject<{
560
+ account: z.ZodOptional<z.ZodString>;
561
+ datetime: z.ZodNumber;
562
+ site: z.ZodString;
563
+ language: z.ZodString;
564
+ count: z.ZodNumber;
565
+ category: z.ZodString;
566
+ }, z.core.$strip>>>;
567
+ rollups: z.ZodOptional<z.ZodArray<z.ZodObject<{
568
+ account: z.ZodString;
569
+ site: z.ZodString;
570
+ datetime: z.ZodNumber;
571
+ category: z.ZodString;
572
+ topReferrers: z.ZodOptional<z.ZodArray<z.ZodObject<{
573
+ referrer: z.ZodString;
574
+ count: z.ZodNumber;
575
+ }, z.core.$strip>>>;
576
+ topResolutions: z.ZodOptional<z.ZodArray<z.ZodObject<{
577
+ resolution: z.ZodString;
578
+ count: z.ZodNumber;
579
+ }, z.core.$strip>>>;
580
+ topFingerprints: z.ZodOptional<z.ZodArray<z.ZodObject<{
581
+ fingerprint: z.ZodString;
582
+ count: z.ZodNumber;
583
+ }, z.core.$strip>>>;
584
+ topQueries: z.ZodOptional<z.ZodArray<z.ZodObject<{
585
+ pathName: z.ZodString;
586
+ count: z.ZodNumber;
587
+ }, z.core.$strip>>>;
588
+ topLocations: z.ZodOptional<z.ZodArray<z.ZodObject<{
589
+ countryRegion: z.ZodString;
590
+ count: z.ZodNumber;
591
+ }, z.core.$strip>>>;
592
+ topBrowsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
593
+ browser: z.ZodString;
594
+ count: z.ZodNumber;
595
+ }, z.core.$strip>>>;
596
+ topEvents: z.ZodOptional<z.ZodArray<z.ZodObject<{
597
+ eventName: z.ZodString;
598
+ count: z.ZodNumber;
599
+ }, z.core.$strip>>>;
600
+ topLanguages: z.ZodOptional<z.ZodArray<z.ZodObject<{
601
+ language: z.ZodString;
602
+ count: z.ZodNumber;
603
+ }, z.core.$strip>>>;
604
+ topErrors: z.ZodOptional<z.ZodArray<z.ZodObject<{
605
+ href: z.ZodString;
606
+ count: z.ZodNumber;
607
+ }, z.core.$strip>>>;
608
+ averageResponseTimeMs: z.ZodOptional<z.ZodNumber>;
609
+ }, z.core.$strip>>>;
610
+ errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
611
+ PK: z.ZodString;
612
+ messageHash: z.ZodOptional<z.ZodString>;
613
+ site: z.ZodString;
614
+ account: z.ZodString;
615
+ message: z.ZodOptional<z.ZodString>;
616
+ name: z.ZodOptional<z.ZodString>;
617
+ stack: z.ZodOptional<z.ZodString>;
618
+ href: z.ZodString;
619
+ filename: z.ZodOptional<z.ZodString>;
620
+ datetime: z.ZodNumber;
621
+ archived: z.ZodOptional<z.ZodBoolean>;
622
+ count: z.ZodNumber;
623
+ category: z.ZodString;
624
+ }, z.core.$strip>>>;
625
+ google: z.ZodOptional<z.ZodArray<z.ZodObject<{
626
+ account: z.ZodString;
627
+ email: z.ZodString;
628
+ site: z.ZodString;
629
+ datetime: z.ZodNumber;
630
+ category: z.ZodString;
631
+ totals: z.ZodObject<{
632
+ clicks: z.ZodNumber;
633
+ impressions: z.ZodNumber;
634
+ position: z.ZodNumber;
635
+ query: z.ZodString;
636
+ }, z.core.$strip>;
637
+ queries: z.ZodArray<z.ZodObject<{
638
+ clicks: z.ZodNumber;
639
+ impressions: z.ZodNumber;
640
+ position: z.ZodNumber;
641
+ query: z.ZodString;
642
+ }, z.core.$strip>>;
643
+ }, z.core.$strip>>>;
644
+ bing: z.ZodOptional<z.ZodArray<z.ZodObject<{
645
+ account: z.ZodString;
646
+ email: z.ZodString;
647
+ site: z.ZodString;
648
+ datetime: z.ZodNumber;
649
+ category: z.ZodString;
650
+ totals: z.ZodObject<{
651
+ clicks: z.ZodNumber;
652
+ impressions: z.ZodNumber;
653
+ position: z.ZodNumber;
654
+ query: z.ZodString;
655
+ }, z.core.$strip>;
656
+ queries: z.ZodArray<z.ZodObject<{
657
+ clicks: z.ZodNumber;
658
+ impressions: z.ZodNumber;
659
+ position: z.ZodNumber;
660
+ query: z.ZodString;
661
+ }, z.core.$strip>>;
662
+ }, z.core.$strip>>>;
663
+ }, z.core.$strip>;
664
+ export const PostAccountSchema: z.ZodObject<{
665
+ site: z.ZodString;
666
+ account: z.ZodString;
667
+ }, z.core.$strip>;
668
+ export const DeleteAccountSchema: z.ZodObject<{
669
+ site: z.ZodString;
670
+ account: z.ZodString;
671
+ }, z.core.$strip>;
672
+ export const ArchiveErrorsSchema: z.ZodObject<{
673
+ PKs: z.ZodArray<z.ZodString>;
674
+ }, z.core.$strip>;
675
+ export type SeoResultValues = z.infer<typeof SeoResultValuesSchema>;
676
+ export type SeoResult = z.infer<typeof SeoResultSchema>;
677
+ export type GetAccount = z.infer<typeof GetAccountSchema>;
678
+ export type GetAccounts = z.infer<typeof GetAccountsSchema>;
679
+ export type GoogleIntegration = z.infer<typeof GoogleIntegrationSchema>;
680
+ export type BingIntegration = z.infer<typeof BingIntegrationSchema>;
681
+ export type ApiKey = z.infer<typeof ApiKeySchema>;
682
+ export type Query = z.infer<typeof QuerySchema>;
683
+ export type Browser = z.infer<typeof BrowserSchema>;
684
+ export type Resolution = z.infer<typeof ResolutionSchema>;
685
+ export type Referrer = z.infer<typeof ReferrerSchema>;
686
+ export type Location = z.infer<typeof LocationSchema>;
687
+ export type Language = z.infer<typeof LanguageSchema>;
688
+ export type Fingerprint = z.infer<typeof FingerprintSchema>;
689
+ export type Event = z.infer<typeof EventSchema>;
690
+ export type Health = z.infer<typeof HealthSchema>;
691
+ export type ModelError = z.infer<typeof ModelErrorSchema>;
692
+ export type Rollup = z.infer<typeof RollupSchema>;
693
+ export type SiteData = z.infer<typeof SiteDataSchema>;
694
+ export type SiteDetails = z.infer<typeof SiteDetailsSchema>;
695
+ export type PostEventData = z.infer<typeof PostEventDataSchema>;
696
+ export type PostEvent = z.infer<typeof PostEventSchema>;
697
+ export type PostSiteTrackData = z.infer<typeof PostSiteTrackDataSchema>;
698
+ export type PostSiteTrack = z.infer<typeof PostSiteTrackSchema>;
699
+ export type PostErrorData = z.infer<typeof PostErrorDataSchema>;
700
+ export type PostError = z.infer<typeof PostErrorSchema>;
701
+ export type PostAccount = z.infer<typeof PostAccountSchema>;
702
+ export type DeleteAccount = z.infer<typeof DeleteAccountSchema>;
703
+ export type ArchiveErrors = z.infer<typeof ArchiveErrorsSchema>;
704
+
186
705
  }
187
706
  declare module 'analytica.click' {
188
707
  import main = require('analytica.click/dist/index');