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.
- 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 +128 -27
- package/resources/v1/analytics/analytics.d.mts.map +1 -1
- package/resources/v1/analytics/analytics.d.ts +128 -27
- package/resources/v1/analytics/analytics.d.ts.map +1 -1
- package/resources/v1/analytics/analytics.js +8 -14
- package/resources/v1/analytics/analytics.js.map +1 -1
- package/resources/v1/analytics/analytics.mjs +8 -14
- package/resources/v1/analytics/analytics.mjs.map +1 -1
- package/resources/v1/analytics/index.d.mts +2 -4
- package/resources/v1/analytics/index.d.mts.map +1 -1
- package/resources/v1/analytics/index.d.ts +2 -4
- package/resources/v1/analytics/index.d.ts.map +1 -1
- package/resources/v1/analytics/index.js +1 -5
- package/resources/v1/analytics/index.js.map +1 -1
- package/resources/v1/analytics/index.mjs +0 -2
- package/resources/v1/analytics/index.mjs.map +1 -1
- package/resources/v1/analytics/tiles.d.mts +148 -127
- package/resources/v1/analytics/tiles.d.mts.map +1 -1
- package/resources/v1/analytics/tiles.d.ts +148 -127
- package/resources/v1/analytics/tiles.d.ts.map +1 -1
- package/resources/v1/analytics/tiles.js +102 -42
- package/resources/v1/analytics/tiles.js.map +1 -1
- package/resources/v1/analytics/tiles.mjs +102 -42
- package/resources/v1/analytics/tiles.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 +246 -92
- package/src/resources/v1/analytics/index.ts +42 -30
- package/src/resources/v1/analytics/tiles.ts +207 -182
- package/src/resources/v1/index.ts +25 -2
- package/src/resources/v1/v1.ts +50 -4
- 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 -4
- package/resources/v1/analytics/sessions.d.mts.map +0 -1
- package/resources/v1/analytics/sessions.d.ts +0 -4
- package/resources/v1/analytics/sessions.d.ts.map +0 -1
- package/resources/v1/analytics/sessions.js +0 -9
- package/resources/v1/analytics/sessions.js.map +0 -1
- package/resources/v1/analytics/sessions.mjs +0 -5
- package/resources/v1/analytics/sessions.mjs.map +0 -1
- package/resources/v1/analytics/users.d.mts +0 -4
- package/resources/v1/analytics/users.d.mts.map +0 -1
- package/resources/v1/analytics/users.d.ts +0 -4
- package/resources/v1/analytics/users.d.ts.map +0 -1
- package/resources/v1/analytics/users.js +0 -9
- package/resources/v1/analytics/users.js.map +0 -1
- package/resources/v1/analytics/users.mjs +0 -5
- package/resources/v1/analytics/users.mjs.map +0 -1
- package/src/resources/v1/analytics/sessions.ts +0 -5
- 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
|
|
14
|
-
* await client.v1.analytics.tiles.
|
|
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
|
-
|
|
21
|
-
query:
|
|
21
|
+
bounceRate(
|
|
22
|
+
query: TileBounceRateParams,
|
|
22
23
|
options?: RequestOptions,
|
|
23
|
-
): APIPromise<
|
|
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
|
|
33
|
-
*
|
|
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
|
-
|
|
40
|
-
query:
|
|
56
|
+
entryPages(
|
|
57
|
+
query: TileEntryPagesParams,
|
|
41
58
|
options?: RequestOptions,
|
|
42
|
-
): APIPromise<
|
|
43
|
-
return this._client.get('/api/v1/analytics/tiles/
|
|
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
|
|
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
|
|
52
|
-
* await client.v1.analytics.tiles.
|
|
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
|
-
|
|
59
|
-
query:
|
|
76
|
+
exitPages(
|
|
77
|
+
query: TileExitPagesParams,
|
|
60
78
|
options?: RequestOptions,
|
|
61
|
-
): APIPromise<
|
|
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
|
|
72
|
-
* await client.v1.analytics.tiles.
|
|
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
|
-
|
|
79
|
-
query:
|
|
111
|
+
pagesPerSession(
|
|
112
|
+
query: TilePagesPerSessionParams,
|
|
80
113
|
options?: RequestOptions,
|
|
81
|
-
): APIPromise<
|
|
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
|
|
92
|
-
* await client.v1.analytics.tiles.
|
|
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
|
-
|
|
99
|
-
query:
|
|
131
|
+
returnRate(
|
|
132
|
+
query: TileReturnRateParams,
|
|
100
133
|
options?: RequestOptions,
|
|
101
|
-
): APIPromise<
|
|
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
|
|
112
|
-
* await client.v1.analytics.tiles.
|
|
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
|
-
|
|
119
|
-
query:
|
|
151
|
+
sessionDuration(
|
|
152
|
+
query: TileSessionDurationParams,
|
|
120
153
|
options?: RequestOptions,
|
|
121
|
-
): APIPromise<
|
|
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
|
|
132
|
-
* await client.v1.analytics.tiles.
|
|
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
|
-
|
|
139
|
-
query:
|
|
171
|
+
timeBetweenVisits(
|
|
172
|
+
query: TileTimeBetweenVisitsParams,
|
|
140
173
|
options?: RequestOptions,
|
|
141
|
-
): APIPromise<
|
|
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
|
|
151
|
-
* await client.v1.analytics.tiles.
|
|
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
|
-
|
|
158
|
-
query:
|
|
190
|
+
trafficByCountry(
|
|
191
|
+
query: TileTrafficByCountryParams,
|
|
159
192
|
options?: RequestOptions,
|
|
160
|
-
): APIPromise<
|
|
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
|
|
170
|
-
* await client.v1.analytics.tiles.
|
|
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
|
-
|
|
177
|
-
query:
|
|
209
|
+
trafficByReferer(
|
|
210
|
+
query: TileTrafficByRefererParams,
|
|
178
211
|
options?: RequestOptions,
|
|
179
|
-
): APIPromise<
|
|
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
|
|
189
|
-
* await client.v1.analytics.tiles.
|
|
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
|
-
|
|
196
|
-
query:
|
|
228
|
+
trafficByUtm(
|
|
229
|
+
query: TileTrafficByUtmParams,
|
|
197
230
|
options?: RequestOptions,
|
|
198
|
-
): APIPromise<
|
|
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
|
|
208
|
-
* await client.v1.analytics.tiles.
|
|
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
|
-
|
|
215
|
-
query:
|
|
247
|
+
uniqueSessions(
|
|
248
|
+
query: TileUniqueSessionsParams,
|
|
216
249
|
options?: RequestOptions,
|
|
217
|
-
): APIPromise<
|
|
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
|
|
227
|
-
* await client.v1.analytics.tiles.
|
|
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
|
-
|
|
234
|
-
query:
|
|
266
|
+
uniqueVisitors(
|
|
267
|
+
query: TileUniqueVisitorsParams,
|
|
235
268
|
options?: RequestOptions,
|
|
236
|
-
): APIPromise<
|
|
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
|
|
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
|
|
246
|
-
* await client.v1.analytics.tiles.
|
|
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
|
-
|
|
253
|
-
query:
|
|
286
|
+
visitorsByBrowser(
|
|
287
|
+
query: TileVisitorsByBrowserParams,
|
|
254
288
|
options?: RequestOptions,
|
|
255
|
-
): APIPromise<
|
|
256
|
-
return this._client.get('/api/v1/analytics/tiles/
|
|
289
|
+
): APIPromise<AnalyticsAPI.VisitorsByBrowserResponse> {
|
|
290
|
+
return this._client.get('/api/v1/analytics/tiles/visitors-by-browser', { query, ...options });
|
|
257
291
|
}
|
|
258
|
-
}
|
|
259
292
|
|
|
260
|
-
|
|
261
|
-
|
|
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
|
-
|
|
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
|
|
267
|
-
|
|
328
|
+
export interface TileBounceRateParams {
|
|
329
|
+
project_id: string;
|
|
268
330
|
|
|
269
|
-
|
|
270
|
-
}
|
|
331
|
+
time_range: 'last_hour' | 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'last_90_days';
|
|
271
332
|
|
|
272
|
-
|
|
273
|
-
count?: number;
|
|
333
|
+
customer_id?: string;
|
|
274
334
|
|
|
275
|
-
|
|
276
|
-
}
|
|
335
|
+
limit?: number;
|
|
277
336
|
|
|
278
|
-
|
|
279
|
-
avg_pages?: number;
|
|
337
|
+
offset?: number;
|
|
280
338
|
|
|
281
|
-
|
|
282
|
-
}
|
|
339
|
+
referrer?: string;
|
|
283
340
|
|
|
284
|
-
|
|
285
|
-
|
|
341
|
+
utmtag?: string;
|
|
342
|
+
|
|
343
|
+
utmtagValue?: string;
|
|
286
344
|
|
|
287
|
-
|
|
345
|
+
visitor_id?: string;
|
|
288
346
|
}
|
|
289
347
|
|
|
290
|
-
export interface
|
|
291
|
-
|
|
348
|
+
export interface TileDauParams {
|
|
349
|
+
project_id: string;
|
|
292
350
|
|
|
293
|
-
|
|
294
|
-
}
|
|
351
|
+
time_range: 'last_hour' | 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'last_90_days';
|
|
295
352
|
|
|
296
|
-
|
|
297
|
-
avg_hours?: number;
|
|
353
|
+
customer_id?: string;
|
|
298
354
|
|
|
299
|
-
|
|
300
|
-
}
|
|
355
|
+
limit?: number;
|
|
301
356
|
|
|
302
|
-
|
|
303
|
-
data?: Array<TileGetTrafficByCountryResponse.Data>;
|
|
304
|
-
}
|
|
357
|
+
offset?: number;
|
|
305
358
|
|
|
306
|
-
|
|
307
|
-
export interface Data {
|
|
308
|
-
count?: number;
|
|
359
|
+
referrer?: string;
|
|
309
360
|
|
|
310
|
-
|
|
361
|
+
utmtag?: string;
|
|
311
362
|
|
|
312
|
-
|
|
313
|
-
}
|
|
314
|
-
}
|
|
363
|
+
utmtagValue?: string;
|
|
315
364
|
|
|
316
|
-
|
|
317
|
-
data?: Array<TileGetTrafficByRefererResponse.Data>;
|
|
365
|
+
visitor_id?: string;
|
|
318
366
|
}
|
|
319
367
|
|
|
320
|
-
export
|
|
321
|
-
|
|
322
|
-
count?: number;
|
|
323
|
-
|
|
324
|
-
previous_count?: number;
|
|
368
|
+
export interface TileEntryPagesParams {
|
|
369
|
+
project_id: string;
|
|
325
370
|
|
|
326
|
-
|
|
371
|
+
time_range: 'last_hour' | 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'last_90_days';
|
|
327
372
|
|
|
328
|
-
|
|
373
|
+
customer_id?: string;
|
|
329
374
|
|
|
330
|
-
|
|
331
|
-
}
|
|
332
|
-
}
|
|
375
|
+
limit?: number;
|
|
333
376
|
|
|
334
|
-
|
|
335
|
-
data?: Array<TileGetTrafficByUtmResponse.Data>;
|
|
336
|
-
}
|
|
377
|
+
offset?: number;
|
|
337
378
|
|
|
338
|
-
|
|
339
|
-
export interface Data {
|
|
340
|
-
count?: number;
|
|
379
|
+
referrer?: string;
|
|
341
380
|
|
|
342
|
-
|
|
381
|
+
utmtag?: string;
|
|
343
382
|
|
|
344
|
-
|
|
383
|
+
utmtagValue?: string;
|
|
345
384
|
|
|
346
|
-
|
|
385
|
+
visitor_id?: string;
|
|
386
|
+
}
|
|
347
387
|
|
|
348
|
-
|
|
388
|
+
export interface TileExitPagesParams {
|
|
389
|
+
project_id: string;
|
|
349
390
|
|
|
350
|
-
|
|
391
|
+
time_range: 'last_hour' | 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'last_90_days';
|
|
351
392
|
|
|
352
|
-
|
|
353
|
-
}
|
|
354
|
-
}
|
|
393
|
+
customer_id?: string;
|
|
355
394
|
|
|
356
|
-
|
|
357
|
-
count?: number;
|
|
395
|
+
limit?: number;
|
|
358
396
|
|
|
359
|
-
|
|
360
|
-
}
|
|
397
|
+
offset?: number;
|
|
361
398
|
|
|
362
|
-
|
|
363
|
-
count?: number;
|
|
399
|
+
referrer?: string;
|
|
364
400
|
|
|
365
|
-
|
|
366
|
-
}
|
|
401
|
+
utmtag?: string;
|
|
367
402
|
|
|
368
|
-
|
|
369
|
-
count?: number;
|
|
403
|
+
utmtagValue?: string;
|
|
370
404
|
|
|
371
|
-
|
|
405
|
+
visitor_id?: string;
|
|
372
406
|
}
|
|
373
407
|
|
|
374
|
-
export interface
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
637
|
-
type
|
|
638
|
-
type
|
|
639
|
-
type
|
|
640
|
-
type
|
|
641
|
-
type
|
|
642
|
-
type
|
|
643
|
-
type
|
|
644
|
-
type
|
|
645
|
-
type
|
|
646
|
-
type
|
|
647
|
-
type
|
|
648
|
-
type
|
|
649
|
-
type
|
|
650
|
-
type
|
|
651
|
-
type
|
|
652
|
-
type
|
|
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
|
}
|