zorihq 0.14.0 → 0.17.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.
- package/CHANGELOG.md +24 -0
- package/client.d.mts +4 -4
- package/client.d.mts.map +1 -1
- package/client.d.ts +4 -4
- package/client.d.ts.map +1 -1
- package/client.js +15 -9
- package/client.js.map +1 -1
- package/client.mjs +15 -9
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/v1/analytics/analytics.d.mts +109 -71
- package/resources/v1/analytics/analytics.d.mts.map +1 -1
- package/resources/v1/analytics/analytics.d.ts +109 -71
- package/resources/v1/analytics/analytics.d.ts.map +1 -1
- package/resources/v1/analytics/analytics.js +10 -14
- package/resources/v1/analytics/analytics.js.map +1 -1
- package/resources/v1/analytics/analytics.mjs +11 -15
- package/resources/v1/analytics/analytics.mjs.map +1 -1
- package/resources/v1/analytics/index.d.mts +4 -5
- package/resources/v1/analytics/index.d.mts.map +1 -1
- package/resources/v1/analytics/index.d.ts +4 -5
- package/resources/v1/analytics/index.d.ts.map +1 -1
- package/resources/v1/analytics/index.js +3 -5
- package/resources/v1/analytics/index.js.map +1 -1
- package/resources/v1/analytics/index.mjs +2 -3
- package/resources/v1/analytics/index.mjs.map +1 -1
- package/resources/v1/analytics/retention.d.mts +1 -25
- package/resources/v1/analytics/retention.d.mts.map +1 -1
- package/resources/v1/analytics/retention.d.ts +1 -25
- package/resources/v1/analytics/retention.d.ts.map +1 -1
- package/resources/v1/analytics/retention.js +0 -15
- package/resources/v1/analytics/retention.js.map +1 -1
- package/resources/v1/analytics/retention.mjs +0 -15
- package/resources/v1/analytics/retention.mjs.map +1 -1
- package/resources/v1/analytics/tiles.d.mts +372 -0
- package/resources/v1/analytics/tiles.d.mts.map +1 -0
- package/resources/v1/analytics/tiles.d.ts +372 -0
- package/resources/v1/analytics/tiles.d.ts.map +1 -0
- package/resources/v1/analytics/tiles.js +236 -0
- package/resources/v1/analytics/tiles.js.map +1 -0
- package/resources/v1/analytics/tiles.mjs +232 -0
- package/resources/v1/analytics/tiles.mjs.map +1 -0
- package/resources/v1/analytics/visitors.d.mts +1 -74
- package/resources/v1/analytics/visitors.d.mts.map +1 -1
- package/resources/v1/analytics/visitors.d.ts +1 -74
- package/resources/v1/analytics/visitors.d.ts.map +1 -1
- package/resources/v1/analytics/visitors.js +0 -46
- package/resources/v1/analytics/visitors.js.map +1 -1
- package/resources/v1/analytics/visitors.mjs +0 -46
- package/resources/v1/analytics/visitors.mjs.map +1 -1
- package/resources/v1/index.d.mts +1 -1
- package/resources/v1/index.d.mts.map +1 -1
- package/resources/v1/index.d.ts +1 -1
- package/resources/v1/index.d.ts.map +1 -1
- package/resources/v1/index.js.map +1 -1
- package/resources/v1/index.mjs.map +1 -1
- package/resources/v1/v1.d.mts +2 -2
- package/resources/v1/v1.d.mts.map +1 -1
- package/resources/v1/v1.d.ts +2 -2
- package/resources/v1/v1.d.ts.map +1 -1
- package/resources/v1/v1.js.map +1 -1
- package/resources/v1/v1.mjs.map +1 -1
- package/src/client.ts +20 -14
- package/src/resources/v1/analytics/analytics.ts +187 -109
- package/src/resources/v1/analytics/index.ts +37 -21
- package/src/resources/v1/analytics/retention.ts +0 -40
- package/src/resources/v1/analytics/tiles.ts +606 -0
- package/src/resources/v1/analytics/visitors.ts +0 -121
- package/src/resources/v1/index.ts +19 -11
- package/src/resources/v1/v1.ts +38 -22
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/v1/analytics/sessions.d.mts +0 -58
- package/resources/v1/analytics/sessions.d.mts.map +0 -1
- package/resources/v1/analytics/sessions.d.ts +0 -58
- package/resources/v1/analytics/sessions.d.ts.map +0 -1
- package/resources/v1/analytics/sessions.js +0 -39
- package/resources/v1/analytics/sessions.js.map +0 -1
- package/resources/v1/analytics/sessions.mjs +0 -35
- package/resources/v1/analytics/sessions.mjs.map +0 -1
- package/resources/v1/analytics/users.d.mts +0 -34
- package/resources/v1/analytics/users.d.mts.map +0 -1
- package/resources/v1/analytics/users.d.ts +0 -34
- package/resources/v1/analytics/users.d.ts.map +0 -1
- package/resources/v1/analytics/users.js +0 -24
- package/resources/v1/analytics/users.js.map +0 -1
- package/resources/v1/analytics/users.mjs +0 -20
- package/resources/v1/analytics/users.mjs.map +0 -1
- package/src/resources/v1/analytics/sessions.ts +0 -93
- package/src/resources/v1/analytics/users.ts +0 -48
|
@@ -0,0 +1,606 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../../core/resource';
|
|
4
|
+
import * as AnalyticsAPI from './analytics';
|
|
5
|
+
import { APIPromise } from '../../../core/api-promise';
|
|
6
|
+
import { RequestOptions } from '../../../internal/request-options';
|
|
7
|
+
|
|
8
|
+
export class Tiles extends APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get bounce rate percentage for current period compared to the previous period
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```ts
|
|
14
|
+
* const bounceRateResponse =
|
|
15
|
+
* await client.v1.analytics.tiles.bounceRate({
|
|
16
|
+
* project_id: 'project_id',
|
|
17
|
+
* time_range: 'last_hour',
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
bounceRate(
|
|
22
|
+
query: TileBounceRateParams,
|
|
23
|
+
options?: RequestOptions,
|
|
24
|
+
): APIPromise<AnalyticsAPI.BounceRateResponse> {
|
|
25
|
+
return this._client.get('/api/v1/analytics/tiles/bounce-rate', { query, ...options });
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Get daily active user count (last 24h) compared to the previous day
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* ```ts
|
|
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 monthly active user count (last 30 days) compared to the previous month
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* ```ts
|
|
48
|
+
* const mauResponse = await client.v1.analytics.tiles.mau({
|
|
49
|
+
* project_id: 'project_id',
|
|
50
|
+
* time_range: 'last_hour',
|
|
51
|
+
* });
|
|
52
|
+
* ```
|
|
53
|
+
*/
|
|
54
|
+
mau(query: TileMauParams, options?: RequestOptions): APIPromise<AnalyticsAPI.MauResponse> {
|
|
55
|
+
return this._client.get('/api/v1/analytics/tiles/mau', { query, ...options });
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Get average number of pages viewed per session for current period compared to
|
|
60
|
+
* the previous period
|
|
61
|
+
*
|
|
62
|
+
* @example
|
|
63
|
+
* ```ts
|
|
64
|
+
* const pagesPerSessionResponse =
|
|
65
|
+
* await client.v1.analytics.tiles.pagesPerSession({
|
|
66
|
+
* project_id: 'project_id',
|
|
67
|
+
* time_range: 'last_hour',
|
|
68
|
+
* });
|
|
69
|
+
* ```
|
|
70
|
+
*/
|
|
71
|
+
pagesPerSession(
|
|
72
|
+
query: TilePagesPerSessionParams,
|
|
73
|
+
options?: RequestOptions,
|
|
74
|
+
): APIPromise<AnalyticsAPI.PagesPerSessionResponse> {
|
|
75
|
+
return this._client.get('/api/v1/analytics/tiles/pages-per-session', { query, ...options });
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Get percentage of visitors with more than one session for current period
|
|
80
|
+
* compared to the previous period
|
|
81
|
+
*
|
|
82
|
+
* @example
|
|
83
|
+
* ```ts
|
|
84
|
+
* const returnRateResponse =
|
|
85
|
+
* await client.v1.analytics.tiles.returnRate({
|
|
86
|
+
* project_id: 'project_id',
|
|
87
|
+
* time_range: 'last_hour',
|
|
88
|
+
* });
|
|
89
|
+
* ```
|
|
90
|
+
*/
|
|
91
|
+
returnRate(
|
|
92
|
+
query: TileReturnRateParams,
|
|
93
|
+
options?: RequestOptions,
|
|
94
|
+
): APIPromise<AnalyticsAPI.ReturnRateResponse> {
|
|
95
|
+
return this._client.get('/api/v1/analytics/tiles/return-rate', { query, ...options });
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* Get average session duration in seconds for current period compared to the
|
|
100
|
+
* previous period
|
|
101
|
+
*
|
|
102
|
+
* @example
|
|
103
|
+
* ```ts
|
|
104
|
+
* const sessionDurationResponse =
|
|
105
|
+
* await client.v1.analytics.tiles.sessionDuration({
|
|
106
|
+
* project_id: 'project_id',
|
|
107
|
+
* time_range: 'last_hour',
|
|
108
|
+
* });
|
|
109
|
+
* ```
|
|
110
|
+
*/
|
|
111
|
+
sessionDuration(
|
|
112
|
+
query: TileSessionDurationParams,
|
|
113
|
+
options?: RequestOptions,
|
|
114
|
+
): APIPromise<AnalyticsAPI.SessionDurationResponse> {
|
|
115
|
+
return this._client.get('/api/v1/analytics/tiles/session-duration', { query, ...options });
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Get average hours between consecutive visits per visitor for current period
|
|
120
|
+
* compared to the previous period
|
|
121
|
+
*
|
|
122
|
+
* @example
|
|
123
|
+
* ```ts
|
|
124
|
+
* const timeBetweenVisitsResponse =
|
|
125
|
+
* await client.v1.analytics.tiles.timeBetweenVisits({
|
|
126
|
+
* project_id: 'project_id',
|
|
127
|
+
* time_range: 'last_hour',
|
|
128
|
+
* });
|
|
129
|
+
* ```
|
|
130
|
+
*/
|
|
131
|
+
timeBetweenVisits(
|
|
132
|
+
query: TileTimeBetweenVisitsParams,
|
|
133
|
+
options?: RequestOptions,
|
|
134
|
+
): APIPromise<AnalyticsAPI.TimeBetweenVisitsResponse> {
|
|
135
|
+
return this._client.get('/api/v1/analytics/tiles/time-between-visits', { query, ...options });
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Get unique visitor counts grouped by country code
|
|
140
|
+
*
|
|
141
|
+
* @example
|
|
142
|
+
* ```ts
|
|
143
|
+
* const countryTrafficSourceResponse =
|
|
144
|
+
* await client.v1.analytics.tiles.trafficByCountry({
|
|
145
|
+
* project_id: 'project_id',
|
|
146
|
+
* time_range: 'last_hour',
|
|
147
|
+
* });
|
|
148
|
+
* ```
|
|
149
|
+
*/
|
|
150
|
+
trafficByCountry(
|
|
151
|
+
query: TileTrafficByCountryParams,
|
|
152
|
+
options?: RequestOptions,
|
|
153
|
+
): APIPromise<AnalyticsAPI.CountryTrafficSourceResponse> {
|
|
154
|
+
return this._client.get('/api/v1/analytics/tiles/traffic-by-country', { query, ...options });
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* Get unique visitor counts grouped by referrer domain (traffic source)
|
|
159
|
+
*
|
|
160
|
+
* @example
|
|
161
|
+
* ```ts
|
|
162
|
+
* const refererTrafficSourceResponse =
|
|
163
|
+
* await client.v1.analytics.tiles.trafficByReferer({
|
|
164
|
+
* project_id: 'project_id',
|
|
165
|
+
* time_range: 'last_hour',
|
|
166
|
+
* });
|
|
167
|
+
* ```
|
|
168
|
+
*/
|
|
169
|
+
trafficByReferer(
|
|
170
|
+
query: TileTrafficByRefererParams,
|
|
171
|
+
options?: RequestOptions,
|
|
172
|
+
): APIPromise<AnalyticsAPI.RefererTrafficSourceResponse> {
|
|
173
|
+
return this._client.get('/api/v1/analytics/tiles/traffic-by-referer', { query, ...options });
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* Get unique visitor counts grouped by UTM source, medium, and campaign
|
|
178
|
+
*
|
|
179
|
+
* @example
|
|
180
|
+
* ```ts
|
|
181
|
+
* const utmTrafficSourceResponse =
|
|
182
|
+
* await client.v1.analytics.tiles.trafficByUtm({
|
|
183
|
+
* project_id: 'project_id',
|
|
184
|
+
* time_range: 'last_hour',
|
|
185
|
+
* });
|
|
186
|
+
* ```
|
|
187
|
+
*/
|
|
188
|
+
trafficByUtm(
|
|
189
|
+
query: TileTrafficByUtmParams,
|
|
190
|
+
options?: RequestOptions,
|
|
191
|
+
): APIPromise<AnalyticsAPI.UtmTrafficSourceResponse> {
|
|
192
|
+
return this._client.get('/api/v1/analytics/tiles/traffic-by-utm', { query, ...options });
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* Get unique session count for current period compared to the previous period
|
|
197
|
+
*
|
|
198
|
+
* @example
|
|
199
|
+
* ```ts
|
|
200
|
+
* const uniqueSessionsResponse =
|
|
201
|
+
* await client.v1.analytics.tiles.uniqueSessions({
|
|
202
|
+
* project_id: 'project_id',
|
|
203
|
+
* time_range: 'last_hour',
|
|
204
|
+
* });
|
|
205
|
+
* ```
|
|
206
|
+
*/
|
|
207
|
+
uniqueSessions(
|
|
208
|
+
query: TileUniqueSessionsParams,
|
|
209
|
+
options?: RequestOptions,
|
|
210
|
+
): APIPromise<AnalyticsAPI.UniqueSessionsResponse> {
|
|
211
|
+
return this._client.get('/api/v1/analytics/tiles/unique-sessions', { query, ...options });
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* Get unique visitor count for current period compared to the previous period
|
|
216
|
+
*
|
|
217
|
+
* @example
|
|
218
|
+
* ```ts
|
|
219
|
+
* const uniqueVisitorsResponse =
|
|
220
|
+
* await client.v1.analytics.tiles.uniqueVisitors({
|
|
221
|
+
* project_id: 'project_id',
|
|
222
|
+
* time_range: 'last_hour',
|
|
223
|
+
* });
|
|
224
|
+
* ```
|
|
225
|
+
*/
|
|
226
|
+
uniqueVisitors(
|
|
227
|
+
query: TileUniqueVisitorsParams,
|
|
228
|
+
options?: RequestOptions,
|
|
229
|
+
): APIPromise<AnalyticsAPI.UniqueVisitorsResponse> {
|
|
230
|
+
return this._client.get('/api/v1/analytics/tiles/unique-visitors', { query, ...options });
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* Get number of visitors by browser for current period compared to the previous
|
|
235
|
+
* period
|
|
236
|
+
*
|
|
237
|
+
* @example
|
|
238
|
+
* ```ts
|
|
239
|
+
* const visitorsByBrowserResponse =
|
|
240
|
+
* await client.v1.analytics.tiles.visitorsByBrowser({
|
|
241
|
+
* project_id: 'project_id',
|
|
242
|
+
* time_range: 'last_hour',
|
|
243
|
+
* });
|
|
244
|
+
* ```
|
|
245
|
+
*/
|
|
246
|
+
visitorsByBrowser(
|
|
247
|
+
query: TileVisitorsByBrowserParams,
|
|
248
|
+
options?: RequestOptions,
|
|
249
|
+
): APIPromise<AnalyticsAPI.VisitorsByBrowserResponse> {
|
|
250
|
+
return this._client.get('/api/v1/analytics/tiles/visitors-by-browser', { query, ...options });
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* Get number of visitors by OS for current period compared to the previous period
|
|
255
|
+
*
|
|
256
|
+
* @example
|
|
257
|
+
* ```ts
|
|
258
|
+
* const visitorsByOsResponse =
|
|
259
|
+
* await client.v1.analytics.tiles.visitorsByOs({
|
|
260
|
+
* project_id: 'project_id',
|
|
261
|
+
* time_range: 'last_hour',
|
|
262
|
+
* });
|
|
263
|
+
* ```
|
|
264
|
+
*/
|
|
265
|
+
visitorsByOs(
|
|
266
|
+
query: TileVisitorsByOsParams,
|
|
267
|
+
options?: RequestOptions,
|
|
268
|
+
): APIPromise<AnalyticsAPI.VisitorsByOsResponse> {
|
|
269
|
+
return this._client.get('/api/v1/analytics/tiles/visitors-by-os', { query, ...options });
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* Get weekly active user count (last 7 days) compared to the previous week
|
|
274
|
+
*
|
|
275
|
+
* @example
|
|
276
|
+
* ```ts
|
|
277
|
+
* const wauResponse = await client.v1.analytics.tiles.wau({
|
|
278
|
+
* project_id: 'project_id',
|
|
279
|
+
* time_range: 'last_hour',
|
|
280
|
+
* });
|
|
281
|
+
* ```
|
|
282
|
+
*/
|
|
283
|
+
wau(query: TileWauParams, options?: RequestOptions): APIPromise<AnalyticsAPI.WauResponse> {
|
|
284
|
+
return this._client.get('/api/v1/analytics/tiles/wau', { query, ...options });
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
export interface TileBounceRateParams {
|
|
289
|
+
project_id: string;
|
|
290
|
+
|
|
291
|
+
time_range: 'last_hour' | 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'last_90_days';
|
|
292
|
+
|
|
293
|
+
customer_id?: string;
|
|
294
|
+
|
|
295
|
+
limit?: number;
|
|
296
|
+
|
|
297
|
+
offset?: number;
|
|
298
|
+
|
|
299
|
+
referrer?: string;
|
|
300
|
+
|
|
301
|
+
utmtag?: string;
|
|
302
|
+
|
|
303
|
+
utmtagValue?: string;
|
|
304
|
+
|
|
305
|
+
visitor_id?: string;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
export interface TileDauParams {
|
|
309
|
+
project_id: string;
|
|
310
|
+
|
|
311
|
+
time_range: 'last_hour' | 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'last_90_days';
|
|
312
|
+
|
|
313
|
+
customer_id?: string;
|
|
314
|
+
|
|
315
|
+
limit?: number;
|
|
316
|
+
|
|
317
|
+
offset?: number;
|
|
318
|
+
|
|
319
|
+
referrer?: string;
|
|
320
|
+
|
|
321
|
+
utmtag?: string;
|
|
322
|
+
|
|
323
|
+
utmtagValue?: string;
|
|
324
|
+
|
|
325
|
+
visitor_id?: string;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
export interface TileMauParams {
|
|
329
|
+
project_id: string;
|
|
330
|
+
|
|
331
|
+
time_range: 'last_hour' | 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'last_90_days';
|
|
332
|
+
|
|
333
|
+
customer_id?: string;
|
|
334
|
+
|
|
335
|
+
limit?: number;
|
|
336
|
+
|
|
337
|
+
offset?: number;
|
|
338
|
+
|
|
339
|
+
referrer?: string;
|
|
340
|
+
|
|
341
|
+
utmtag?: string;
|
|
342
|
+
|
|
343
|
+
utmtagValue?: string;
|
|
344
|
+
|
|
345
|
+
visitor_id?: string;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
export interface TilePagesPerSessionParams {
|
|
349
|
+
project_id: string;
|
|
350
|
+
|
|
351
|
+
time_range: 'last_hour' | 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'last_90_days';
|
|
352
|
+
|
|
353
|
+
customer_id?: string;
|
|
354
|
+
|
|
355
|
+
limit?: number;
|
|
356
|
+
|
|
357
|
+
offset?: number;
|
|
358
|
+
|
|
359
|
+
referrer?: string;
|
|
360
|
+
|
|
361
|
+
utmtag?: string;
|
|
362
|
+
|
|
363
|
+
utmtagValue?: string;
|
|
364
|
+
|
|
365
|
+
visitor_id?: string;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
export interface TileReturnRateParams {
|
|
369
|
+
project_id: string;
|
|
370
|
+
|
|
371
|
+
time_range: 'last_hour' | 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'last_90_days';
|
|
372
|
+
|
|
373
|
+
customer_id?: string;
|
|
374
|
+
|
|
375
|
+
limit?: number;
|
|
376
|
+
|
|
377
|
+
offset?: number;
|
|
378
|
+
|
|
379
|
+
referrer?: string;
|
|
380
|
+
|
|
381
|
+
utmtag?: string;
|
|
382
|
+
|
|
383
|
+
utmtagValue?: string;
|
|
384
|
+
|
|
385
|
+
visitor_id?: string;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
export interface TileSessionDurationParams {
|
|
389
|
+
project_id: string;
|
|
390
|
+
|
|
391
|
+
time_range: 'last_hour' | 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'last_90_days';
|
|
392
|
+
|
|
393
|
+
customer_id?: string;
|
|
394
|
+
|
|
395
|
+
limit?: number;
|
|
396
|
+
|
|
397
|
+
offset?: number;
|
|
398
|
+
|
|
399
|
+
referrer?: string;
|
|
400
|
+
|
|
401
|
+
utmtag?: string;
|
|
402
|
+
|
|
403
|
+
utmtagValue?: string;
|
|
404
|
+
|
|
405
|
+
visitor_id?: string;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
export interface TileTimeBetweenVisitsParams {
|
|
409
|
+
project_id: string;
|
|
410
|
+
|
|
411
|
+
time_range: 'last_hour' | 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'last_90_days';
|
|
412
|
+
|
|
413
|
+
customer_id?: string;
|
|
414
|
+
|
|
415
|
+
limit?: number;
|
|
416
|
+
|
|
417
|
+
offset?: number;
|
|
418
|
+
|
|
419
|
+
referrer?: string;
|
|
420
|
+
|
|
421
|
+
utmtag?: string;
|
|
422
|
+
|
|
423
|
+
utmtagValue?: string;
|
|
424
|
+
|
|
425
|
+
visitor_id?: string;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
export interface TileTrafficByCountryParams {
|
|
429
|
+
project_id: string;
|
|
430
|
+
|
|
431
|
+
time_range: 'last_hour' | 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'last_90_days';
|
|
432
|
+
|
|
433
|
+
customer_id?: string;
|
|
434
|
+
|
|
435
|
+
limit?: number;
|
|
436
|
+
|
|
437
|
+
offset?: number;
|
|
438
|
+
|
|
439
|
+
referrer?: string;
|
|
440
|
+
|
|
441
|
+
utmtag?: string;
|
|
442
|
+
|
|
443
|
+
utmtagValue?: string;
|
|
444
|
+
|
|
445
|
+
visitor_id?: string;
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
export interface TileTrafficByRefererParams {
|
|
449
|
+
project_id: string;
|
|
450
|
+
|
|
451
|
+
time_range: 'last_hour' | 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'last_90_days';
|
|
452
|
+
|
|
453
|
+
customer_id?: string;
|
|
454
|
+
|
|
455
|
+
limit?: number;
|
|
456
|
+
|
|
457
|
+
offset?: number;
|
|
458
|
+
|
|
459
|
+
referrer?: string;
|
|
460
|
+
|
|
461
|
+
utmtag?: string;
|
|
462
|
+
|
|
463
|
+
utmtagValue?: string;
|
|
464
|
+
|
|
465
|
+
visitor_id?: string;
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
export interface TileTrafficByUtmParams {
|
|
469
|
+
project_id: string;
|
|
470
|
+
|
|
471
|
+
time_range: 'last_hour' | 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'last_90_days';
|
|
472
|
+
|
|
473
|
+
customer_id?: string;
|
|
474
|
+
|
|
475
|
+
limit?: number;
|
|
476
|
+
|
|
477
|
+
offset?: number;
|
|
478
|
+
|
|
479
|
+
referrer?: string;
|
|
480
|
+
|
|
481
|
+
utmtag?: string;
|
|
482
|
+
|
|
483
|
+
utmtagValue?: string;
|
|
484
|
+
|
|
485
|
+
visitor_id?: string;
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
export interface TileUniqueSessionsParams {
|
|
489
|
+
project_id: string;
|
|
490
|
+
|
|
491
|
+
time_range: 'last_hour' | 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'last_90_days';
|
|
492
|
+
|
|
493
|
+
customer_id?: string;
|
|
494
|
+
|
|
495
|
+
limit?: number;
|
|
496
|
+
|
|
497
|
+
offset?: number;
|
|
498
|
+
|
|
499
|
+
referrer?: string;
|
|
500
|
+
|
|
501
|
+
utmtag?: string;
|
|
502
|
+
|
|
503
|
+
utmtagValue?: string;
|
|
504
|
+
|
|
505
|
+
visitor_id?: string;
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
export interface TileUniqueVisitorsParams {
|
|
509
|
+
project_id: string;
|
|
510
|
+
|
|
511
|
+
time_range: 'last_hour' | 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'last_90_days';
|
|
512
|
+
|
|
513
|
+
customer_id?: string;
|
|
514
|
+
|
|
515
|
+
limit?: number;
|
|
516
|
+
|
|
517
|
+
offset?: number;
|
|
518
|
+
|
|
519
|
+
referrer?: string;
|
|
520
|
+
|
|
521
|
+
utmtag?: string;
|
|
522
|
+
|
|
523
|
+
utmtagValue?: string;
|
|
524
|
+
|
|
525
|
+
visitor_id?: string;
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
export interface TileVisitorsByBrowserParams {
|
|
529
|
+
project_id: string;
|
|
530
|
+
|
|
531
|
+
time_range: 'last_hour' | 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'last_90_days';
|
|
532
|
+
|
|
533
|
+
customer_id?: string;
|
|
534
|
+
|
|
535
|
+
limit?: number;
|
|
536
|
+
|
|
537
|
+
offset?: number;
|
|
538
|
+
|
|
539
|
+
referrer?: string;
|
|
540
|
+
|
|
541
|
+
utmtag?: string;
|
|
542
|
+
|
|
543
|
+
utmtagValue?: string;
|
|
544
|
+
|
|
545
|
+
visitor_id?: string;
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
export interface TileVisitorsByOsParams {
|
|
549
|
+
project_id: string;
|
|
550
|
+
|
|
551
|
+
time_range: 'last_hour' | 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'last_90_days';
|
|
552
|
+
|
|
553
|
+
customer_id?: string;
|
|
554
|
+
|
|
555
|
+
limit?: number;
|
|
556
|
+
|
|
557
|
+
offset?: number;
|
|
558
|
+
|
|
559
|
+
referrer?: string;
|
|
560
|
+
|
|
561
|
+
utmtag?: string;
|
|
562
|
+
|
|
563
|
+
utmtagValue?: string;
|
|
564
|
+
|
|
565
|
+
visitor_id?: string;
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
export interface TileWauParams {
|
|
569
|
+
project_id: string;
|
|
570
|
+
|
|
571
|
+
time_range: 'last_hour' | 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'last_90_days';
|
|
572
|
+
|
|
573
|
+
customer_id?: string;
|
|
574
|
+
|
|
575
|
+
limit?: number;
|
|
576
|
+
|
|
577
|
+
offset?: number;
|
|
578
|
+
|
|
579
|
+
referrer?: string;
|
|
580
|
+
|
|
581
|
+
utmtag?: string;
|
|
582
|
+
|
|
583
|
+
utmtagValue?: string;
|
|
584
|
+
|
|
585
|
+
visitor_id?: string;
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
export declare namespace Tiles {
|
|
589
|
+
export {
|
|
590
|
+
type TileBounceRateParams as TileBounceRateParams,
|
|
591
|
+
type TileDauParams as TileDauParams,
|
|
592
|
+
type TileMauParams as TileMauParams,
|
|
593
|
+
type TilePagesPerSessionParams as TilePagesPerSessionParams,
|
|
594
|
+
type TileReturnRateParams as TileReturnRateParams,
|
|
595
|
+
type TileSessionDurationParams as TileSessionDurationParams,
|
|
596
|
+
type TileTimeBetweenVisitsParams as TileTimeBetweenVisitsParams,
|
|
597
|
+
type TileTrafficByCountryParams as TileTrafficByCountryParams,
|
|
598
|
+
type TileTrafficByRefererParams as TileTrafficByRefererParams,
|
|
599
|
+
type TileTrafficByUtmParams as TileTrafficByUtmParams,
|
|
600
|
+
type TileUniqueSessionsParams as TileUniqueSessionsParams,
|
|
601
|
+
type TileUniqueVisitorsParams as TileUniqueVisitorsParams,
|
|
602
|
+
type TileVisitorsByBrowserParams as TileVisitorsByBrowserParams,
|
|
603
|
+
type TileVisitorsByOsParams as TileVisitorsByOsParams,
|
|
604
|
+
type TileWauParams as TileWauParams,
|
|
605
|
+
};
|
|
606
|
+
}
|