zorihq 0.15.0 → 0.18.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 (75) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/client.d.mts +4 -4
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +4 -4
  5. package/client.d.ts.map +1 -1
  6. package/client.js +15 -9
  7. package/client.js.map +1 -1
  8. package/client.mjs +15 -9
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/v1/analytics/analytics.d.mts +128 -27
  12. package/resources/v1/analytics/analytics.d.mts.map +1 -1
  13. package/resources/v1/analytics/analytics.d.ts +128 -27
  14. package/resources/v1/analytics/analytics.d.ts.map +1 -1
  15. package/resources/v1/analytics/analytics.js +8 -14
  16. package/resources/v1/analytics/analytics.js.map +1 -1
  17. package/resources/v1/analytics/analytics.mjs +8 -14
  18. package/resources/v1/analytics/analytics.mjs.map +1 -1
  19. package/resources/v1/analytics/index.d.mts +2 -4
  20. package/resources/v1/analytics/index.d.mts.map +1 -1
  21. package/resources/v1/analytics/index.d.ts +2 -4
  22. package/resources/v1/analytics/index.d.ts.map +1 -1
  23. package/resources/v1/analytics/index.js +1 -5
  24. package/resources/v1/analytics/index.js.map +1 -1
  25. package/resources/v1/analytics/index.mjs +0 -2
  26. package/resources/v1/analytics/index.mjs.map +1 -1
  27. package/resources/v1/analytics/tiles.d.mts +148 -127
  28. package/resources/v1/analytics/tiles.d.mts.map +1 -1
  29. package/resources/v1/analytics/tiles.d.ts +148 -127
  30. package/resources/v1/analytics/tiles.d.ts.map +1 -1
  31. package/resources/v1/analytics/tiles.js +102 -42
  32. package/resources/v1/analytics/tiles.js.map +1 -1
  33. package/resources/v1/analytics/tiles.mjs +102 -42
  34. package/resources/v1/analytics/tiles.mjs.map +1 -1
  35. package/resources/v1/index.d.mts +1 -1
  36. package/resources/v1/index.d.mts.map +1 -1
  37. package/resources/v1/index.d.ts +1 -1
  38. package/resources/v1/index.d.ts.map +1 -1
  39. package/resources/v1/index.js.map +1 -1
  40. package/resources/v1/index.mjs.map +1 -1
  41. package/resources/v1/v1.d.mts +2 -2
  42. package/resources/v1/v1.d.mts.map +1 -1
  43. package/resources/v1/v1.d.ts +2 -2
  44. package/resources/v1/v1.d.ts.map +1 -1
  45. package/resources/v1/v1.js.map +1 -1
  46. package/resources/v1/v1.mjs.map +1 -1
  47. package/src/client.ts +20 -14
  48. package/src/resources/v1/analytics/analytics.ts +246 -92
  49. package/src/resources/v1/analytics/index.ts +42 -30
  50. package/src/resources/v1/analytics/tiles.ts +207 -182
  51. package/src/resources/v1/index.ts +25 -2
  52. package/src/resources/v1/v1.ts +50 -4
  53. package/src/version.ts +1 -1
  54. package/version.d.mts +1 -1
  55. package/version.d.ts +1 -1
  56. package/version.js +1 -1
  57. package/version.mjs +1 -1
  58. package/resources/v1/analytics/sessions.d.mts +0 -4
  59. package/resources/v1/analytics/sessions.d.mts.map +0 -1
  60. package/resources/v1/analytics/sessions.d.ts +0 -4
  61. package/resources/v1/analytics/sessions.d.ts.map +0 -1
  62. package/resources/v1/analytics/sessions.js +0 -9
  63. package/resources/v1/analytics/sessions.js.map +0 -1
  64. package/resources/v1/analytics/sessions.mjs +0 -5
  65. package/resources/v1/analytics/sessions.mjs.map +0 -1
  66. package/resources/v1/analytics/users.d.mts +0 -4
  67. package/resources/v1/analytics/users.d.mts.map +0 -1
  68. package/resources/v1/analytics/users.d.ts +0 -4
  69. package/resources/v1/analytics/users.d.ts.map +0 -1
  70. package/resources/v1/analytics/users.js +0 -9
  71. package/resources/v1/analytics/users.js.map +0 -1
  72. package/resources/v1/analytics/users.mjs +0 -5
  73. package/resources/v1/analytics/users.mjs.map +0 -1
  74. package/src/resources/v1/analytics/sessions.ts +0 -5
  75. package/src/resources/v1/analytics/users.ts +0 -5
@@ -1,6 +1,7 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  import { APIResource } from '../../../core/resource';
4
+ import * as AnalyticsAPI from './analytics';
4
5
  import { APIPromise } from '../../../core/api-promise';
5
6
  import { RequestOptions } from '../../../internal/request-options';
6
7
 
@@ -10,17 +11,17 @@ export class Tiles extends APIResource {
10
11
  *
11
12
  * @example
12
13
  * ```ts
13
- * const response =
14
- * await client.v1.analytics.tiles.getBounceRate({
14
+ * const bounceRateResponse =
15
+ * await client.v1.analytics.tiles.bounceRate({
15
16
  * project_id: 'project_id',
16
17
  * time_range: 'last_hour',
17
18
  * });
18
19
  * ```
19
20
  */
20
- getBounceRate(
21
- query: TileGetBounceRateParams,
21
+ bounceRate(
22
+ query: TileBounceRateParams,
22
23
  options?: RequestOptions,
23
- ): APIPromise<TileGetBounceRateResponse> {
24
+ ): APIPromise<AnalyticsAPI.BounceRateResponse> {
24
25
  return this._client.get('/api/v1/analytics/tiles/bounce-rate', { query, ...options });
25
26
  }
26
27
 
@@ -29,36 +30,68 @@ export class Tiles extends APIResource {
29
30
  *
30
31
  * @example
31
32
  * ```ts
32
- * const response =
33
- * await client.v1.analytics.tiles.getDailyActiveUsers({
33
+ * const dauResponse = await client.v1.analytics.tiles.dau({
34
+ * project_id: 'project_id',
35
+ * time_range: 'last_hour',
36
+ * });
37
+ * ```
38
+ */
39
+ dau(query: TileDauParams, options?: RequestOptions): APIPromise<AnalyticsAPI.DauResponse> {
40
+ return this._client.get('/api/v1/analytics/tiles/dau', { query, ...options });
41
+ }
42
+
43
+ /**
44
+ * Get top entry pages where new visitors first land for current period compared to
45
+ * the previous period
46
+ *
47
+ * @example
48
+ * ```ts
49
+ * const entryPagesResponse =
50
+ * await client.v1.analytics.tiles.entryPages({
34
51
  * project_id: 'project_id',
35
52
  * time_range: 'last_hour',
36
53
  * });
37
54
  * ```
38
55
  */
39
- getDailyActiveUsers(
40
- query: TileGetDailyActiveUsersParams,
56
+ entryPages(
57
+ query: TileEntryPagesParams,
41
58
  options?: RequestOptions,
42
- ): APIPromise<TileGetDailyActiveUsersResponse> {
43
- return this._client.get('/api/v1/analytics/tiles/dau', { query, ...options });
59
+ ): APIPromise<AnalyticsAPI.EntryPagesResponse> {
60
+ return this._client.get('/api/v1/analytics/tiles/entry-pages', { query, ...options });
44
61
  }
45
62
 
46
63
  /**
47
- * Get monthly active user count (last 30 days) compared to the previous month
64
+ * Get top exit pages where sessions end for current period compared to the
65
+ * previous period
48
66
  *
49
67
  * @example
50
68
  * ```ts
51
- * const response =
52
- * await client.v1.analytics.tiles.getMonthlyActiveUsers({
69
+ * const exitPagesResponse =
70
+ * await client.v1.analytics.tiles.exitPages({
53
71
  * project_id: 'project_id',
54
72
  * time_range: 'last_hour',
55
73
  * });
56
74
  * ```
57
75
  */
58
- getMonthlyActiveUsers(
59
- query: TileGetMonthlyActiveUsersParams,
76
+ exitPages(
77
+ query: TileExitPagesParams,
60
78
  options?: RequestOptions,
61
- ): APIPromise<TileGetMonthlyActiveUsersResponse> {
79
+ ): APIPromise<AnalyticsAPI.ExitPagesResponse> {
80
+ return this._client.get('/api/v1/analytics/tiles/exit-pages', { query, ...options });
81
+ }
82
+
83
+ /**
84
+ * Get monthly active user count (last 30 days) compared to the previous month
85
+ *
86
+ * @example
87
+ * ```ts
88
+ * const mauResponse = await client.v1.analytics.tiles.mau({
89
+ * project_id: 'project_id',
90
+ * time_range: 'last_hour',
91
+ * });
92
+ * ```
93
+ */
94
+ mau(query: TileMauParams, options?: RequestOptions): APIPromise<AnalyticsAPI.MauResponse> {
62
95
  return this._client.get('/api/v1/analytics/tiles/mau', { query, ...options });
63
96
  }
64
97
 
@@ -68,17 +101,17 @@ export class Tiles extends APIResource {
68
101
  *
69
102
  * @example
70
103
  * ```ts
71
- * const response =
72
- * await client.v1.analytics.tiles.getPagesPerSession({
104
+ * const pagesPerSessionResponse =
105
+ * await client.v1.analytics.tiles.pagesPerSession({
73
106
  * project_id: 'project_id',
74
107
  * time_range: 'last_hour',
75
108
  * });
76
109
  * ```
77
110
  */
78
- getPagesPerSession(
79
- query: TileGetPagesPerSessionParams,
111
+ pagesPerSession(
112
+ query: TilePagesPerSessionParams,
80
113
  options?: RequestOptions,
81
- ): APIPromise<TileGetPagesPerSessionResponse> {
114
+ ): APIPromise<AnalyticsAPI.PagesPerSessionResponse> {
82
115
  return this._client.get('/api/v1/analytics/tiles/pages-per-session', { query, ...options });
83
116
  }
84
117
 
@@ -88,17 +121,17 @@ export class Tiles extends APIResource {
88
121
  *
89
122
  * @example
90
123
  * ```ts
91
- * const response =
92
- * await client.v1.analytics.tiles.getReturnRate({
124
+ * const returnRateResponse =
125
+ * await client.v1.analytics.tiles.returnRate({
93
126
  * project_id: 'project_id',
94
127
  * time_range: 'last_hour',
95
128
  * });
96
129
  * ```
97
130
  */
98
- getReturnRate(
99
- query: TileGetReturnRateParams,
131
+ returnRate(
132
+ query: TileReturnRateParams,
100
133
  options?: RequestOptions,
101
- ): APIPromise<TileGetReturnRateResponse> {
134
+ ): APIPromise<AnalyticsAPI.ReturnRateResponse> {
102
135
  return this._client.get('/api/v1/analytics/tiles/return-rate', { query, ...options });
103
136
  }
104
137
 
@@ -108,17 +141,17 @@ export class Tiles extends APIResource {
108
141
  *
109
142
  * @example
110
143
  * ```ts
111
- * const response =
112
- * await client.v1.analytics.tiles.getSessionDuration({
144
+ * const sessionDurationResponse =
145
+ * await client.v1.analytics.tiles.sessionDuration({
113
146
  * project_id: 'project_id',
114
147
  * time_range: 'last_hour',
115
148
  * });
116
149
  * ```
117
150
  */
118
- getSessionDuration(
119
- query: TileGetSessionDurationParams,
151
+ sessionDuration(
152
+ query: TileSessionDurationParams,
120
153
  options?: RequestOptions,
121
- ): APIPromise<TileGetSessionDurationResponse> {
154
+ ): APIPromise<AnalyticsAPI.SessionDurationResponse> {
122
155
  return this._client.get('/api/v1/analytics/tiles/session-duration', { query, ...options });
123
156
  }
124
157
 
@@ -128,17 +161,17 @@ export class Tiles extends APIResource {
128
161
  *
129
162
  * @example
130
163
  * ```ts
131
- * const response =
132
- * await client.v1.analytics.tiles.getTimeBetweenVisits({
164
+ * const timeBetweenVisitsResponse =
165
+ * await client.v1.analytics.tiles.timeBetweenVisits({
133
166
  * project_id: 'project_id',
134
167
  * time_range: 'last_hour',
135
168
  * });
136
169
  * ```
137
170
  */
138
- getTimeBetweenVisits(
139
- query: TileGetTimeBetweenVisitsParams,
171
+ timeBetweenVisits(
172
+ query: TileTimeBetweenVisitsParams,
140
173
  options?: RequestOptions,
141
- ): APIPromise<TileGetTimeBetweenVisitsResponse> {
174
+ ): APIPromise<AnalyticsAPI.TimeBetweenVisitsResponse> {
142
175
  return this._client.get('/api/v1/analytics/tiles/time-between-visits', { query, ...options });
143
176
  }
144
177
 
@@ -147,17 +180,17 @@ export class Tiles extends APIResource {
147
180
  *
148
181
  * @example
149
182
  * ```ts
150
- * const response =
151
- * await client.v1.analytics.tiles.getTrafficByCountry({
183
+ * const countryTrafficSourceResponse =
184
+ * await client.v1.analytics.tiles.trafficByCountry({
152
185
  * project_id: 'project_id',
153
186
  * time_range: 'last_hour',
154
187
  * });
155
188
  * ```
156
189
  */
157
- getTrafficByCountry(
158
- query: TileGetTrafficByCountryParams,
190
+ trafficByCountry(
191
+ query: TileTrafficByCountryParams,
159
192
  options?: RequestOptions,
160
- ): APIPromise<TileGetTrafficByCountryResponse> {
193
+ ): APIPromise<AnalyticsAPI.CountryTrafficSourceResponse> {
161
194
  return this._client.get('/api/v1/analytics/tiles/traffic-by-country', { query, ...options });
162
195
  }
163
196
 
@@ -166,17 +199,17 @@ export class Tiles extends APIResource {
166
199
  *
167
200
  * @example
168
201
  * ```ts
169
- * const response =
170
- * await client.v1.analytics.tiles.getTrafficByReferer({
202
+ * const refererTrafficSourceResponse =
203
+ * await client.v1.analytics.tiles.trafficByReferer({
171
204
  * project_id: 'project_id',
172
205
  * time_range: 'last_hour',
173
206
  * });
174
207
  * ```
175
208
  */
176
- getTrafficByReferer(
177
- query: TileGetTrafficByRefererParams,
209
+ trafficByReferer(
210
+ query: TileTrafficByRefererParams,
178
211
  options?: RequestOptions,
179
- ): APIPromise<TileGetTrafficByRefererResponse> {
212
+ ): APIPromise<AnalyticsAPI.RefererTrafficSourceResponse> {
180
213
  return this._client.get('/api/v1/analytics/tiles/traffic-by-referer', { query, ...options });
181
214
  }
182
215
 
@@ -185,17 +218,17 @@ export class Tiles extends APIResource {
185
218
  *
186
219
  * @example
187
220
  * ```ts
188
- * const response =
189
- * await client.v1.analytics.tiles.getTrafficByUtm({
221
+ * const utmTrafficSourceResponse =
222
+ * await client.v1.analytics.tiles.trafficByUtm({
190
223
  * project_id: 'project_id',
191
224
  * time_range: 'last_hour',
192
225
  * });
193
226
  * ```
194
227
  */
195
- getTrafficByUtm(
196
- query: TileGetTrafficByUtmParams,
228
+ trafficByUtm(
229
+ query: TileTrafficByUtmParams,
197
230
  options?: RequestOptions,
198
- ): APIPromise<TileGetTrafficByUtmResponse> {
231
+ ): APIPromise<AnalyticsAPI.UtmTrafficSourceResponse> {
199
232
  return this._client.get('/api/v1/analytics/tiles/traffic-by-utm', { query, ...options });
200
233
  }
201
234
 
@@ -204,17 +237,17 @@ export class Tiles extends APIResource {
204
237
  *
205
238
  * @example
206
239
  * ```ts
207
- * const response =
208
- * await client.v1.analytics.tiles.getUniqueSessions({
240
+ * const uniqueSessionsResponse =
241
+ * await client.v1.analytics.tiles.uniqueSessions({
209
242
  * project_id: 'project_id',
210
243
  * time_range: 'last_hour',
211
244
  * });
212
245
  * ```
213
246
  */
214
- getUniqueSessions(
215
- query: TileGetUniqueSessionsParams,
247
+ uniqueSessions(
248
+ query: TileUniqueSessionsParams,
216
249
  options?: RequestOptions,
217
- ): APIPromise<TileGetUniqueSessionsResponse> {
250
+ ): APIPromise<AnalyticsAPI.UniqueSessionsResponse> {
218
251
  return this._client.get('/api/v1/analytics/tiles/unique-sessions', { query, ...options });
219
252
  }
220
253
 
@@ -223,155 +256,156 @@ export class Tiles extends APIResource {
223
256
  *
224
257
  * @example
225
258
  * ```ts
226
- * const response =
227
- * await client.v1.analytics.tiles.getUniqueVisitors({
259
+ * const uniqueVisitorsResponse =
260
+ * await client.v1.analytics.tiles.uniqueVisitors({
228
261
  * project_id: 'project_id',
229
262
  * time_range: 'last_hour',
230
263
  * });
231
264
  * ```
232
265
  */
233
- getUniqueVisitors(
234
- query: TileGetUniqueVisitorsParams,
266
+ uniqueVisitors(
267
+ query: TileUniqueVisitorsParams,
235
268
  options?: RequestOptions,
236
- ): APIPromise<TileGetUniqueVisitorsResponse> {
269
+ ): APIPromise<AnalyticsAPI.UniqueVisitorsResponse> {
237
270
  return this._client.get('/api/v1/analytics/tiles/unique-visitors', { query, ...options });
238
271
  }
239
272
 
240
273
  /**
241
- * Get weekly active user count (last 7 days) compared to the previous week
274
+ * Get number of visitors by browser for current period compared to the previous
275
+ * period
242
276
  *
243
277
  * @example
244
278
  * ```ts
245
- * const response =
246
- * await client.v1.analytics.tiles.getWeeklyActiveUsers({
279
+ * const visitorsByBrowserResponse =
280
+ * await client.v1.analytics.tiles.visitorsByBrowser({
247
281
  * project_id: 'project_id',
248
282
  * time_range: 'last_hour',
249
283
  * });
250
284
  * ```
251
285
  */
252
- getWeeklyActiveUsers(
253
- query: TileGetWeeklyActiveUsersParams,
286
+ visitorsByBrowser(
287
+ query: TileVisitorsByBrowserParams,
254
288
  options?: RequestOptions,
255
- ): APIPromise<TileGetWeeklyActiveUsersResponse> {
256
- return this._client.get('/api/v1/analytics/tiles/wau', { query, ...options });
289
+ ): APIPromise<AnalyticsAPI.VisitorsByBrowserResponse> {
290
+ return this._client.get('/api/v1/analytics/tiles/visitors-by-browser', { query, ...options });
257
291
  }
258
- }
259
292
 
260
- export interface TileGetBounceRateResponse {
261
- previous_rate?: number;
293
+ /**
294
+ * Get number of visitors by OS for current period compared to the previous period
295
+ *
296
+ * @example
297
+ * ```ts
298
+ * const visitorsByOsResponse =
299
+ * await client.v1.analytics.tiles.visitorsByOs({
300
+ * project_id: 'project_id',
301
+ * time_range: 'last_hour',
302
+ * });
303
+ * ```
304
+ */
305
+ visitorsByOs(
306
+ query: TileVisitorsByOsParams,
307
+ options?: RequestOptions,
308
+ ): APIPromise<AnalyticsAPI.VisitorsByOsResponse> {
309
+ return this._client.get('/api/v1/analytics/tiles/visitors-by-os', { query, ...options });
310
+ }
262
311
 
263
- rate?: number;
312
+ /**
313
+ * Get weekly active user count (last 7 days) compared to the previous week
314
+ *
315
+ * @example
316
+ * ```ts
317
+ * const wauResponse = await client.v1.analytics.tiles.wau({
318
+ * project_id: 'project_id',
319
+ * time_range: 'last_hour',
320
+ * });
321
+ * ```
322
+ */
323
+ wau(query: TileWauParams, options?: RequestOptions): APIPromise<AnalyticsAPI.WauResponse> {
324
+ return this._client.get('/api/v1/analytics/tiles/wau', { query, ...options });
325
+ }
264
326
  }
265
327
 
266
- export interface TileGetDailyActiveUsersResponse {
267
- count?: number;
328
+ export interface TileBounceRateParams {
329
+ project_id: string;
268
330
 
269
- previous_count?: number;
270
- }
331
+ time_range: 'last_hour' | 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'last_90_days';
271
332
 
272
- export interface TileGetMonthlyActiveUsersResponse {
273
- count?: number;
333
+ customer_id?: string;
274
334
 
275
- previous_count?: number;
276
- }
335
+ limit?: number;
277
336
 
278
- export interface TileGetPagesPerSessionResponse {
279
- avg_pages?: number;
337
+ offset?: number;
280
338
 
281
- previous_avg_pages?: number;
282
- }
339
+ referrer?: string;
283
340
 
284
- export interface TileGetReturnRateResponse {
285
- previous_rate?: number;
341
+ utmtag?: string;
342
+
343
+ utmtagValue?: string;
286
344
 
287
- rate?: number;
345
+ visitor_id?: string;
288
346
  }
289
347
 
290
- export interface TileGetSessionDurationResponse {
291
- avg_duration?: number;
348
+ export interface TileDauParams {
349
+ project_id: string;
292
350
 
293
- previous_avg_duration?: number;
294
- }
351
+ time_range: 'last_hour' | 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'last_90_days';
295
352
 
296
- export interface TileGetTimeBetweenVisitsResponse {
297
- avg_hours?: number;
353
+ customer_id?: string;
298
354
 
299
- previous_avg_hours?: number;
300
- }
355
+ limit?: number;
301
356
 
302
- export interface TileGetTrafficByCountryResponse {
303
- data?: Array<TileGetTrafficByCountryResponse.Data>;
304
- }
357
+ offset?: number;
305
358
 
306
- export namespace TileGetTrafficByCountryResponse {
307
- export interface Data {
308
- count?: number;
359
+ referrer?: string;
309
360
 
310
- country?: string;
361
+ utmtag?: string;
311
362
 
312
- previous_count?: number;
313
- }
314
- }
363
+ utmtagValue?: string;
315
364
 
316
- export interface TileGetTrafficByRefererResponse {
317
- data?: Array<TileGetTrafficByRefererResponse.Data>;
365
+ visitor_id?: string;
318
366
  }
319
367
 
320
- export namespace TileGetTrafficByRefererResponse {
321
- export interface Data {
322
- count?: number;
323
-
324
- previous_count?: number;
368
+ export interface TileEntryPagesParams {
369
+ project_id: string;
325
370
 
326
- previous_revenue?: number;
371
+ time_range: 'last_hour' | 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'last_90_days';
327
372
 
328
- referer_url?: string;
373
+ customer_id?: string;
329
374
 
330
- revenue?: number;
331
- }
332
- }
375
+ limit?: number;
333
376
 
334
- export interface TileGetTrafficByUtmResponse {
335
- data?: Array<TileGetTrafficByUtmResponse.Data>;
336
- }
377
+ offset?: number;
337
378
 
338
- export namespace TileGetTrafficByUtmResponse {
339
- export interface Data {
340
- count?: number;
379
+ referrer?: string;
341
380
 
342
- previous_count?: number;
381
+ utmtag?: string;
343
382
 
344
- previous_revenue?: number;
383
+ utmtagValue?: string;
345
384
 
346
- revenue?: number;
385
+ visitor_id?: string;
386
+ }
347
387
 
348
- utm_campaign?: string;
388
+ export interface TileExitPagesParams {
389
+ project_id: string;
349
390
 
350
- utm_medium?: string;
391
+ time_range: 'last_hour' | 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'last_90_days';
351
392
 
352
- utm_source?: string;
353
- }
354
- }
393
+ customer_id?: string;
355
394
 
356
- export interface TileGetUniqueSessionsResponse {
357
- count?: number;
395
+ limit?: number;
358
396
 
359
- previous_count?: number;
360
- }
397
+ offset?: number;
361
398
 
362
- export interface TileGetUniqueVisitorsResponse {
363
- count?: number;
399
+ referrer?: string;
364
400
 
365
- previous_count?: number;
366
- }
401
+ utmtag?: string;
367
402
 
368
- export interface TileGetWeeklyActiveUsersResponse {
369
- count?: number;
403
+ utmtagValue?: string;
370
404
 
371
- previous_count?: number;
405
+ visitor_id?: string;
372
406
  }
373
407
 
374
- export interface TileGetBounceRateParams {
408
+ export interface TileMauParams {
375
409
  project_id: string;
376
410
 
377
411
  time_range: 'last_hour' | 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'last_90_days';
@@ -391,7 +425,7 @@ export interface TileGetBounceRateParams {
391
425
  visitor_id?: string;
392
426
  }
393
427
 
394
- export interface TileGetDailyActiveUsersParams {
428
+ export interface TilePagesPerSessionParams {
395
429
  project_id: string;
396
430
 
397
431
  time_range: 'last_hour' | 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'last_90_days';
@@ -411,7 +445,7 @@ export interface TileGetDailyActiveUsersParams {
411
445
  visitor_id?: string;
412
446
  }
413
447
 
414
- export interface TileGetMonthlyActiveUsersParams {
448
+ export interface TileReturnRateParams {
415
449
  project_id: string;
416
450
 
417
451
  time_range: 'last_hour' | 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'last_90_days';
@@ -431,7 +465,7 @@ export interface TileGetMonthlyActiveUsersParams {
431
465
  visitor_id?: string;
432
466
  }
433
467
 
434
- export interface TileGetPagesPerSessionParams {
468
+ export interface TileSessionDurationParams {
435
469
  project_id: string;
436
470
 
437
471
  time_range: 'last_hour' | 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'last_90_days';
@@ -451,7 +485,7 @@ export interface TileGetPagesPerSessionParams {
451
485
  visitor_id?: string;
452
486
  }
453
487
 
454
- export interface TileGetReturnRateParams {
488
+ export interface TileTimeBetweenVisitsParams {
455
489
  project_id: string;
456
490
 
457
491
  time_range: 'last_hour' | 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'last_90_days';
@@ -471,7 +505,7 @@ export interface TileGetReturnRateParams {
471
505
  visitor_id?: string;
472
506
  }
473
507
 
474
- export interface TileGetSessionDurationParams {
508
+ export interface TileTrafficByCountryParams {
475
509
  project_id: string;
476
510
 
477
511
  time_range: 'last_hour' | 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'last_90_days';
@@ -491,7 +525,7 @@ export interface TileGetSessionDurationParams {
491
525
  visitor_id?: string;
492
526
  }
493
527
 
494
- export interface TileGetTimeBetweenVisitsParams {
528
+ export interface TileTrafficByRefererParams {
495
529
  project_id: string;
496
530
 
497
531
  time_range: 'last_hour' | 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'last_90_days';
@@ -511,7 +545,7 @@ export interface TileGetTimeBetweenVisitsParams {
511
545
  visitor_id?: string;
512
546
  }
513
547
 
514
- export interface TileGetTrafficByCountryParams {
548
+ export interface TileTrafficByUtmParams {
515
549
  project_id: string;
516
550
 
517
551
  time_range: 'last_hour' | 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'last_90_days';
@@ -531,7 +565,7 @@ export interface TileGetTrafficByCountryParams {
531
565
  visitor_id?: string;
532
566
  }
533
567
 
534
- export interface TileGetTrafficByRefererParams {
568
+ export interface TileUniqueSessionsParams {
535
569
  project_id: string;
536
570
 
537
571
  time_range: 'last_hour' | 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'last_90_days';
@@ -551,7 +585,7 @@ export interface TileGetTrafficByRefererParams {
551
585
  visitor_id?: string;
552
586
  }
553
587
 
554
- export interface TileGetTrafficByUtmParams {
588
+ export interface TileUniqueVisitorsParams {
555
589
  project_id: string;
556
590
 
557
591
  time_range: 'last_hour' | 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'last_90_days';
@@ -571,7 +605,7 @@ export interface TileGetTrafficByUtmParams {
571
605
  visitor_id?: string;
572
606
  }
573
607
 
574
- export interface TileGetUniqueSessionsParams {
608
+ export interface TileVisitorsByBrowserParams {
575
609
  project_id: string;
576
610
 
577
611
  time_range: 'last_hour' | 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'last_90_days';
@@ -591,7 +625,7 @@ export interface TileGetUniqueSessionsParams {
591
625
  visitor_id?: string;
592
626
  }
593
627
 
594
- export interface TileGetUniqueVisitorsParams {
628
+ export interface TileVisitorsByOsParams {
595
629
  project_id: string;
596
630
 
597
631
  time_range: 'last_hour' | 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'last_90_days';
@@ -611,7 +645,7 @@ export interface TileGetUniqueVisitorsParams {
611
645
  visitor_id?: string;
612
646
  }
613
647
 
614
- export interface TileGetWeeklyActiveUsersParams {
648
+ export interface TileWauParams {
615
649
  project_id: string;
616
650
 
617
651
  time_range: 'last_hour' | 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'last_90_days';
@@ -633,31 +667,22 @@ export interface TileGetWeeklyActiveUsersParams {
633
667
 
634
668
  export declare namespace Tiles {
635
669
  export {
636
- type TileGetBounceRateResponse as TileGetBounceRateResponse,
637
- type TileGetDailyActiveUsersResponse as TileGetDailyActiveUsersResponse,
638
- type TileGetMonthlyActiveUsersResponse as TileGetMonthlyActiveUsersResponse,
639
- type TileGetPagesPerSessionResponse as TileGetPagesPerSessionResponse,
640
- type TileGetReturnRateResponse as TileGetReturnRateResponse,
641
- type TileGetSessionDurationResponse as TileGetSessionDurationResponse,
642
- type TileGetTimeBetweenVisitsResponse as TileGetTimeBetweenVisitsResponse,
643
- type TileGetTrafficByCountryResponse as TileGetTrafficByCountryResponse,
644
- type TileGetTrafficByRefererResponse as TileGetTrafficByRefererResponse,
645
- type TileGetTrafficByUtmResponse as TileGetTrafficByUtmResponse,
646
- type TileGetUniqueSessionsResponse as TileGetUniqueSessionsResponse,
647
- type TileGetUniqueVisitorsResponse as TileGetUniqueVisitorsResponse,
648
- type TileGetWeeklyActiveUsersResponse as TileGetWeeklyActiveUsersResponse,
649
- type TileGetBounceRateParams as TileGetBounceRateParams,
650
- type TileGetDailyActiveUsersParams as TileGetDailyActiveUsersParams,
651
- type TileGetMonthlyActiveUsersParams as TileGetMonthlyActiveUsersParams,
652
- type TileGetPagesPerSessionParams as TileGetPagesPerSessionParams,
653
- type TileGetReturnRateParams as TileGetReturnRateParams,
654
- type TileGetSessionDurationParams as TileGetSessionDurationParams,
655
- type TileGetTimeBetweenVisitsParams as TileGetTimeBetweenVisitsParams,
656
- type TileGetTrafficByCountryParams as TileGetTrafficByCountryParams,
657
- type TileGetTrafficByRefererParams as TileGetTrafficByRefererParams,
658
- type TileGetTrafficByUtmParams as TileGetTrafficByUtmParams,
659
- type TileGetUniqueSessionsParams as TileGetUniqueSessionsParams,
660
- type TileGetUniqueVisitorsParams as TileGetUniqueVisitorsParams,
661
- type TileGetWeeklyActiveUsersParams as TileGetWeeklyActiveUsersParams,
670
+ type TileBounceRateParams as TileBounceRateParams,
671
+ type TileDauParams as TileDauParams,
672
+ type TileEntryPagesParams as TileEntryPagesParams,
673
+ type TileExitPagesParams as TileExitPagesParams,
674
+ type TileMauParams as TileMauParams,
675
+ type TilePagesPerSessionParams as TilePagesPerSessionParams,
676
+ type TileReturnRateParams as TileReturnRateParams,
677
+ type TileSessionDurationParams as TileSessionDurationParams,
678
+ type TileTimeBetweenVisitsParams as TileTimeBetweenVisitsParams,
679
+ type TileTrafficByCountryParams as TileTrafficByCountryParams,
680
+ type TileTrafficByRefererParams as TileTrafficByRefererParams,
681
+ type TileTrafficByUtmParams as TileTrafficByUtmParams,
682
+ type TileUniqueSessionsParams as TileUniqueSessionsParams,
683
+ type TileUniqueVisitorsParams as TileUniqueVisitorsParams,
684
+ type TileVisitorsByBrowserParams as TileVisitorsByBrowserParams,
685
+ type TileVisitorsByOsParams as TileVisitorsByOsParams,
686
+ type TileWauParams as TileWauParams,
662
687
  };
663
688
  }