zorihq 0.15.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 +16 -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 +112 -27
- package/resources/v1/analytics/analytics.d.mts.map +1 -1
- package/resources/v1/analytics/analytics.d.ts +112 -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 +105 -134
- package/resources/v1/analytics/tiles.d.mts.map +1 -1
- package/resources/v1/analytics/tiles.d.ts +105 -134
- package/resources/v1/analytics/tiles.d.ts.map +1 -1
- package/resources/v1/analytics/tiles.js +74 -46
- package/resources/v1/analytics/tiles.js.map +1 -1
- package/resources/v1/analytics/tiles.mjs +74 -46
- 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 +214 -92
- package/src/resources/v1/analytics/index.ts +36 -30
- package/src/resources/v1/analytics/tiles.ts +149 -206
- package/src/resources/v1/index.ts +21 -2
- package/src/resources/v1/v1.ts +42 -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
|
@@ -9,14 +9,14 @@ class Tiles extends resource_1.APIResource {
|
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* ```ts
|
|
12
|
-
* const
|
|
13
|
-
* await client.v1.analytics.tiles.
|
|
12
|
+
* const bounceRateResponse =
|
|
13
|
+
* await client.v1.analytics.tiles.bounceRate({
|
|
14
14
|
* project_id: 'project_id',
|
|
15
15
|
* time_range: 'last_hour',
|
|
16
16
|
* });
|
|
17
17
|
* ```
|
|
18
18
|
*/
|
|
19
|
-
|
|
19
|
+
bounceRate(query, options) {
|
|
20
20
|
return this._client.get('/api/v1/analytics/tiles/bounce-rate', { query, ...options });
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
@@ -24,14 +24,13 @@ class Tiles extends resource_1.APIResource {
|
|
|
24
24
|
*
|
|
25
25
|
* @example
|
|
26
26
|
* ```ts
|
|
27
|
-
* const
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
* });
|
|
27
|
+
* const dauResponse = await client.v1.analytics.tiles.dau({
|
|
28
|
+
* project_id: 'project_id',
|
|
29
|
+
* time_range: 'last_hour',
|
|
30
|
+
* });
|
|
32
31
|
* ```
|
|
33
32
|
*/
|
|
34
|
-
|
|
33
|
+
dau(query, options) {
|
|
35
34
|
return this._client.get('/api/v1/analytics/tiles/dau', { query, ...options });
|
|
36
35
|
}
|
|
37
36
|
/**
|
|
@@ -39,14 +38,13 @@ class Tiles extends resource_1.APIResource {
|
|
|
39
38
|
*
|
|
40
39
|
* @example
|
|
41
40
|
* ```ts
|
|
42
|
-
* const
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
* });
|
|
41
|
+
* const mauResponse = await client.v1.analytics.tiles.mau({
|
|
42
|
+
* project_id: 'project_id',
|
|
43
|
+
* time_range: 'last_hour',
|
|
44
|
+
* });
|
|
47
45
|
* ```
|
|
48
46
|
*/
|
|
49
|
-
|
|
47
|
+
mau(query, options) {
|
|
50
48
|
return this._client.get('/api/v1/analytics/tiles/mau', { query, ...options });
|
|
51
49
|
}
|
|
52
50
|
/**
|
|
@@ -55,14 +53,14 @@ class Tiles extends resource_1.APIResource {
|
|
|
55
53
|
*
|
|
56
54
|
* @example
|
|
57
55
|
* ```ts
|
|
58
|
-
* const
|
|
59
|
-
* await client.v1.analytics.tiles.
|
|
56
|
+
* const pagesPerSessionResponse =
|
|
57
|
+
* await client.v1.analytics.tiles.pagesPerSession({
|
|
60
58
|
* project_id: 'project_id',
|
|
61
59
|
* time_range: 'last_hour',
|
|
62
60
|
* });
|
|
63
61
|
* ```
|
|
64
62
|
*/
|
|
65
|
-
|
|
63
|
+
pagesPerSession(query, options) {
|
|
66
64
|
return this._client.get('/api/v1/analytics/tiles/pages-per-session', { query, ...options });
|
|
67
65
|
}
|
|
68
66
|
/**
|
|
@@ -71,14 +69,14 @@ class Tiles extends resource_1.APIResource {
|
|
|
71
69
|
*
|
|
72
70
|
* @example
|
|
73
71
|
* ```ts
|
|
74
|
-
* const
|
|
75
|
-
* await client.v1.analytics.tiles.
|
|
72
|
+
* const returnRateResponse =
|
|
73
|
+
* await client.v1.analytics.tiles.returnRate({
|
|
76
74
|
* project_id: 'project_id',
|
|
77
75
|
* time_range: 'last_hour',
|
|
78
76
|
* });
|
|
79
77
|
* ```
|
|
80
78
|
*/
|
|
81
|
-
|
|
79
|
+
returnRate(query, options) {
|
|
82
80
|
return this._client.get('/api/v1/analytics/tiles/return-rate', { query, ...options });
|
|
83
81
|
}
|
|
84
82
|
/**
|
|
@@ -87,14 +85,14 @@ class Tiles extends resource_1.APIResource {
|
|
|
87
85
|
*
|
|
88
86
|
* @example
|
|
89
87
|
* ```ts
|
|
90
|
-
* const
|
|
91
|
-
* await client.v1.analytics.tiles.
|
|
88
|
+
* const sessionDurationResponse =
|
|
89
|
+
* await client.v1.analytics.tiles.sessionDuration({
|
|
92
90
|
* project_id: 'project_id',
|
|
93
91
|
* time_range: 'last_hour',
|
|
94
92
|
* });
|
|
95
93
|
* ```
|
|
96
94
|
*/
|
|
97
|
-
|
|
95
|
+
sessionDuration(query, options) {
|
|
98
96
|
return this._client.get('/api/v1/analytics/tiles/session-duration', { query, ...options });
|
|
99
97
|
}
|
|
100
98
|
/**
|
|
@@ -103,14 +101,14 @@ class Tiles extends resource_1.APIResource {
|
|
|
103
101
|
*
|
|
104
102
|
* @example
|
|
105
103
|
* ```ts
|
|
106
|
-
* const
|
|
107
|
-
* await client.v1.analytics.tiles.
|
|
104
|
+
* const timeBetweenVisitsResponse =
|
|
105
|
+
* await client.v1.analytics.tiles.timeBetweenVisits({
|
|
108
106
|
* project_id: 'project_id',
|
|
109
107
|
* time_range: 'last_hour',
|
|
110
108
|
* });
|
|
111
109
|
* ```
|
|
112
110
|
*/
|
|
113
|
-
|
|
111
|
+
timeBetweenVisits(query, options) {
|
|
114
112
|
return this._client.get('/api/v1/analytics/tiles/time-between-visits', { query, ...options });
|
|
115
113
|
}
|
|
116
114
|
/**
|
|
@@ -118,14 +116,14 @@ class Tiles extends resource_1.APIResource {
|
|
|
118
116
|
*
|
|
119
117
|
* @example
|
|
120
118
|
* ```ts
|
|
121
|
-
* const
|
|
122
|
-
* await client.v1.analytics.tiles.
|
|
119
|
+
* const countryTrafficSourceResponse =
|
|
120
|
+
* await client.v1.analytics.tiles.trafficByCountry({
|
|
123
121
|
* project_id: 'project_id',
|
|
124
122
|
* time_range: 'last_hour',
|
|
125
123
|
* });
|
|
126
124
|
* ```
|
|
127
125
|
*/
|
|
128
|
-
|
|
126
|
+
trafficByCountry(query, options) {
|
|
129
127
|
return this._client.get('/api/v1/analytics/tiles/traffic-by-country', { query, ...options });
|
|
130
128
|
}
|
|
131
129
|
/**
|
|
@@ -133,14 +131,14 @@ class Tiles extends resource_1.APIResource {
|
|
|
133
131
|
*
|
|
134
132
|
* @example
|
|
135
133
|
* ```ts
|
|
136
|
-
* const
|
|
137
|
-
* await client.v1.analytics.tiles.
|
|
134
|
+
* const refererTrafficSourceResponse =
|
|
135
|
+
* await client.v1.analytics.tiles.trafficByReferer({
|
|
138
136
|
* project_id: 'project_id',
|
|
139
137
|
* time_range: 'last_hour',
|
|
140
138
|
* });
|
|
141
139
|
* ```
|
|
142
140
|
*/
|
|
143
|
-
|
|
141
|
+
trafficByReferer(query, options) {
|
|
144
142
|
return this._client.get('/api/v1/analytics/tiles/traffic-by-referer', { query, ...options });
|
|
145
143
|
}
|
|
146
144
|
/**
|
|
@@ -148,14 +146,14 @@ class Tiles extends resource_1.APIResource {
|
|
|
148
146
|
*
|
|
149
147
|
* @example
|
|
150
148
|
* ```ts
|
|
151
|
-
* const
|
|
152
|
-
* await client.v1.analytics.tiles.
|
|
149
|
+
* const utmTrafficSourceResponse =
|
|
150
|
+
* await client.v1.analytics.tiles.trafficByUtm({
|
|
153
151
|
* project_id: 'project_id',
|
|
154
152
|
* time_range: 'last_hour',
|
|
155
153
|
* });
|
|
156
154
|
* ```
|
|
157
155
|
*/
|
|
158
|
-
|
|
156
|
+
trafficByUtm(query, options) {
|
|
159
157
|
return this._client.get('/api/v1/analytics/tiles/traffic-by-utm', { query, ...options });
|
|
160
158
|
}
|
|
161
159
|
/**
|
|
@@ -163,14 +161,14 @@ class Tiles extends resource_1.APIResource {
|
|
|
163
161
|
*
|
|
164
162
|
* @example
|
|
165
163
|
* ```ts
|
|
166
|
-
* const
|
|
167
|
-
* await client.v1.analytics.tiles.
|
|
164
|
+
* const uniqueSessionsResponse =
|
|
165
|
+
* await client.v1.analytics.tiles.uniqueSessions({
|
|
168
166
|
* project_id: 'project_id',
|
|
169
167
|
* time_range: 'last_hour',
|
|
170
168
|
* });
|
|
171
169
|
* ```
|
|
172
170
|
*/
|
|
173
|
-
|
|
171
|
+
uniqueSessions(query, options) {
|
|
174
172
|
return this._client.get('/api/v1/analytics/tiles/unique-sessions', { query, ...options });
|
|
175
173
|
}
|
|
176
174
|
/**
|
|
@@ -178,29 +176,59 @@ class Tiles extends resource_1.APIResource {
|
|
|
178
176
|
*
|
|
179
177
|
* @example
|
|
180
178
|
* ```ts
|
|
181
|
-
* const
|
|
182
|
-
* await client.v1.analytics.tiles.
|
|
179
|
+
* const uniqueVisitorsResponse =
|
|
180
|
+
* await client.v1.analytics.tiles.uniqueVisitors({
|
|
183
181
|
* project_id: 'project_id',
|
|
184
182
|
* time_range: 'last_hour',
|
|
185
183
|
* });
|
|
186
184
|
* ```
|
|
187
185
|
*/
|
|
188
|
-
|
|
186
|
+
uniqueVisitors(query, options) {
|
|
189
187
|
return this._client.get('/api/v1/analytics/tiles/unique-visitors', { query, ...options });
|
|
190
188
|
}
|
|
191
189
|
/**
|
|
192
|
-
* Get
|
|
190
|
+
* Get number of visitors by browser for current period compared to the previous
|
|
191
|
+
* period
|
|
193
192
|
*
|
|
194
193
|
* @example
|
|
195
194
|
* ```ts
|
|
196
|
-
* const
|
|
197
|
-
* await client.v1.analytics.tiles.
|
|
195
|
+
* const visitorsByBrowserResponse =
|
|
196
|
+
* await client.v1.analytics.tiles.visitorsByBrowser({
|
|
198
197
|
* project_id: 'project_id',
|
|
199
198
|
* time_range: 'last_hour',
|
|
200
199
|
* });
|
|
201
200
|
* ```
|
|
202
201
|
*/
|
|
203
|
-
|
|
202
|
+
visitorsByBrowser(query, options) {
|
|
203
|
+
return this._client.get('/api/v1/analytics/tiles/visitors-by-browser', { query, ...options });
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* Get number of visitors by OS for current period compared to the previous period
|
|
207
|
+
*
|
|
208
|
+
* @example
|
|
209
|
+
* ```ts
|
|
210
|
+
* const visitorsByOsResponse =
|
|
211
|
+
* await client.v1.analytics.tiles.visitorsByOs({
|
|
212
|
+
* project_id: 'project_id',
|
|
213
|
+
* time_range: 'last_hour',
|
|
214
|
+
* });
|
|
215
|
+
* ```
|
|
216
|
+
*/
|
|
217
|
+
visitorsByOs(query, options) {
|
|
218
|
+
return this._client.get('/api/v1/analytics/tiles/visitors-by-os', { query, ...options });
|
|
219
|
+
}
|
|
220
|
+
/**
|
|
221
|
+
* Get weekly active user count (last 7 days) compared to the previous week
|
|
222
|
+
*
|
|
223
|
+
* @example
|
|
224
|
+
* ```ts
|
|
225
|
+
* const wauResponse = await client.v1.analytics.tiles.wau({
|
|
226
|
+
* project_id: 'project_id',
|
|
227
|
+
* time_range: 'last_hour',
|
|
228
|
+
* });
|
|
229
|
+
* ```
|
|
230
|
+
*/
|
|
231
|
+
wau(query, options) {
|
|
204
232
|
return this._client.get('/api/v1/analytics/tiles/wau', { query, ...options });
|
|
205
233
|
}
|
|
206
234
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tiles.js","sourceRoot":"","sources":["../../../src/resources/v1/analytics/tiles.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;
|
|
1
|
+
{"version":3,"file":"tiles.js","sourceRoot":"","sources":["../../../src/resources/v1/analytics/tiles.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAKrD,MAAa,KAAM,SAAQ,sBAAW;IACpC;;;;;;;;;;;OAWG;IACH,UAAU,CACR,KAA2B,EAC3B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,qCAAqC,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxF,CAAC;IAED;;;;;;;;;;OAUG;IACH,GAAG,CAAC,KAAoB,EAAE,OAAwB;QAChD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,6BAA6B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;IAED;;;;;;;;;;OAUG;IACH,GAAG,CAAC,KAAoB,EAAE,OAAwB;QAChD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,6BAA6B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,eAAe,CACb,KAAgC,EAChC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,2CAA2C,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9F,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,UAAU,CACR,KAA2B,EAC3B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,qCAAqC,EAAE,EAAE,KAAK,EAAE,GAAG,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AAO,CAAC,GAAG,CAAC,yCAAyC,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5F,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,iBAAiB,CACf,KAAkC,EAClC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,6CAA6C,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChG,CAAC;IAED;;;;;;;;;;;OAWG;IACH,YAAY,CACV,KAA6B,EAC7B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,wCAAwC,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3F,CAAC;IAED;;;;;;;;;;OAUG;IACH,GAAG,CAAC,KAAoB,EAAE,OAAwB;QAChD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,6BAA6B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;CACF;AAtRD,sBAsRC"}
|
|
@@ -6,14 +6,14 @@ export class Tiles extends APIResource {
|
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* ```ts
|
|
9
|
-
* const
|
|
10
|
-
* await client.v1.analytics.tiles.
|
|
9
|
+
* const bounceRateResponse =
|
|
10
|
+
* await client.v1.analytics.tiles.bounceRate({
|
|
11
11
|
* project_id: 'project_id',
|
|
12
12
|
* time_range: 'last_hour',
|
|
13
13
|
* });
|
|
14
14
|
* ```
|
|
15
15
|
*/
|
|
16
|
-
|
|
16
|
+
bounceRate(query, options) {
|
|
17
17
|
return this._client.get('/api/v1/analytics/tiles/bounce-rate', { query, ...options });
|
|
18
18
|
}
|
|
19
19
|
/**
|
|
@@ -21,14 +21,13 @@ export class Tiles extends APIResource {
|
|
|
21
21
|
*
|
|
22
22
|
* @example
|
|
23
23
|
* ```ts
|
|
24
|
-
* const
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
* });
|
|
24
|
+
* const dauResponse = await client.v1.analytics.tiles.dau({
|
|
25
|
+
* project_id: 'project_id',
|
|
26
|
+
* time_range: 'last_hour',
|
|
27
|
+
* });
|
|
29
28
|
* ```
|
|
30
29
|
*/
|
|
31
|
-
|
|
30
|
+
dau(query, options) {
|
|
32
31
|
return this._client.get('/api/v1/analytics/tiles/dau', { query, ...options });
|
|
33
32
|
}
|
|
34
33
|
/**
|
|
@@ -36,14 +35,13 @@ export class Tiles extends APIResource {
|
|
|
36
35
|
*
|
|
37
36
|
* @example
|
|
38
37
|
* ```ts
|
|
39
|
-
* const
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
* });
|
|
38
|
+
* const mauResponse = await client.v1.analytics.tiles.mau({
|
|
39
|
+
* project_id: 'project_id',
|
|
40
|
+
* time_range: 'last_hour',
|
|
41
|
+
* });
|
|
44
42
|
* ```
|
|
45
43
|
*/
|
|
46
|
-
|
|
44
|
+
mau(query, options) {
|
|
47
45
|
return this._client.get('/api/v1/analytics/tiles/mau', { query, ...options });
|
|
48
46
|
}
|
|
49
47
|
/**
|
|
@@ -52,14 +50,14 @@ export class Tiles extends APIResource {
|
|
|
52
50
|
*
|
|
53
51
|
* @example
|
|
54
52
|
* ```ts
|
|
55
|
-
* const
|
|
56
|
-
* await client.v1.analytics.tiles.
|
|
53
|
+
* const pagesPerSessionResponse =
|
|
54
|
+
* await client.v1.analytics.tiles.pagesPerSession({
|
|
57
55
|
* project_id: 'project_id',
|
|
58
56
|
* time_range: 'last_hour',
|
|
59
57
|
* });
|
|
60
58
|
* ```
|
|
61
59
|
*/
|
|
62
|
-
|
|
60
|
+
pagesPerSession(query, options) {
|
|
63
61
|
return this._client.get('/api/v1/analytics/tiles/pages-per-session', { query, ...options });
|
|
64
62
|
}
|
|
65
63
|
/**
|
|
@@ -68,14 +66,14 @@ export class Tiles extends APIResource {
|
|
|
68
66
|
*
|
|
69
67
|
* @example
|
|
70
68
|
* ```ts
|
|
71
|
-
* const
|
|
72
|
-
* await client.v1.analytics.tiles.
|
|
69
|
+
* const returnRateResponse =
|
|
70
|
+
* await client.v1.analytics.tiles.returnRate({
|
|
73
71
|
* project_id: 'project_id',
|
|
74
72
|
* time_range: 'last_hour',
|
|
75
73
|
* });
|
|
76
74
|
* ```
|
|
77
75
|
*/
|
|
78
|
-
|
|
76
|
+
returnRate(query, options) {
|
|
79
77
|
return this._client.get('/api/v1/analytics/tiles/return-rate', { query, ...options });
|
|
80
78
|
}
|
|
81
79
|
/**
|
|
@@ -84,14 +82,14 @@ export class Tiles extends APIResource {
|
|
|
84
82
|
*
|
|
85
83
|
* @example
|
|
86
84
|
* ```ts
|
|
87
|
-
* const
|
|
88
|
-
* await client.v1.analytics.tiles.
|
|
85
|
+
* const sessionDurationResponse =
|
|
86
|
+
* await client.v1.analytics.tiles.sessionDuration({
|
|
89
87
|
* project_id: 'project_id',
|
|
90
88
|
* time_range: 'last_hour',
|
|
91
89
|
* });
|
|
92
90
|
* ```
|
|
93
91
|
*/
|
|
94
|
-
|
|
92
|
+
sessionDuration(query, options) {
|
|
95
93
|
return this._client.get('/api/v1/analytics/tiles/session-duration', { query, ...options });
|
|
96
94
|
}
|
|
97
95
|
/**
|
|
@@ -100,14 +98,14 @@ export class Tiles extends APIResource {
|
|
|
100
98
|
*
|
|
101
99
|
* @example
|
|
102
100
|
* ```ts
|
|
103
|
-
* const
|
|
104
|
-
* await client.v1.analytics.tiles.
|
|
101
|
+
* const timeBetweenVisitsResponse =
|
|
102
|
+
* await client.v1.analytics.tiles.timeBetweenVisits({
|
|
105
103
|
* project_id: 'project_id',
|
|
106
104
|
* time_range: 'last_hour',
|
|
107
105
|
* });
|
|
108
106
|
* ```
|
|
109
107
|
*/
|
|
110
|
-
|
|
108
|
+
timeBetweenVisits(query, options) {
|
|
111
109
|
return this._client.get('/api/v1/analytics/tiles/time-between-visits', { query, ...options });
|
|
112
110
|
}
|
|
113
111
|
/**
|
|
@@ -115,14 +113,14 @@ export class Tiles extends APIResource {
|
|
|
115
113
|
*
|
|
116
114
|
* @example
|
|
117
115
|
* ```ts
|
|
118
|
-
* const
|
|
119
|
-
* await client.v1.analytics.tiles.
|
|
116
|
+
* const countryTrafficSourceResponse =
|
|
117
|
+
* await client.v1.analytics.tiles.trafficByCountry({
|
|
120
118
|
* project_id: 'project_id',
|
|
121
119
|
* time_range: 'last_hour',
|
|
122
120
|
* });
|
|
123
121
|
* ```
|
|
124
122
|
*/
|
|
125
|
-
|
|
123
|
+
trafficByCountry(query, options) {
|
|
126
124
|
return this._client.get('/api/v1/analytics/tiles/traffic-by-country', { query, ...options });
|
|
127
125
|
}
|
|
128
126
|
/**
|
|
@@ -130,14 +128,14 @@ export class Tiles extends APIResource {
|
|
|
130
128
|
*
|
|
131
129
|
* @example
|
|
132
130
|
* ```ts
|
|
133
|
-
* const
|
|
134
|
-
* await client.v1.analytics.tiles.
|
|
131
|
+
* const refererTrafficSourceResponse =
|
|
132
|
+
* await client.v1.analytics.tiles.trafficByReferer({
|
|
135
133
|
* project_id: 'project_id',
|
|
136
134
|
* time_range: 'last_hour',
|
|
137
135
|
* });
|
|
138
136
|
* ```
|
|
139
137
|
*/
|
|
140
|
-
|
|
138
|
+
trafficByReferer(query, options) {
|
|
141
139
|
return this._client.get('/api/v1/analytics/tiles/traffic-by-referer', { query, ...options });
|
|
142
140
|
}
|
|
143
141
|
/**
|
|
@@ -145,14 +143,14 @@ export class Tiles extends APIResource {
|
|
|
145
143
|
*
|
|
146
144
|
* @example
|
|
147
145
|
* ```ts
|
|
148
|
-
* const
|
|
149
|
-
* await client.v1.analytics.tiles.
|
|
146
|
+
* const utmTrafficSourceResponse =
|
|
147
|
+
* await client.v1.analytics.tiles.trafficByUtm({
|
|
150
148
|
* project_id: 'project_id',
|
|
151
149
|
* time_range: 'last_hour',
|
|
152
150
|
* });
|
|
153
151
|
* ```
|
|
154
152
|
*/
|
|
155
|
-
|
|
153
|
+
trafficByUtm(query, options) {
|
|
156
154
|
return this._client.get('/api/v1/analytics/tiles/traffic-by-utm', { query, ...options });
|
|
157
155
|
}
|
|
158
156
|
/**
|
|
@@ -160,14 +158,14 @@ export class Tiles extends APIResource {
|
|
|
160
158
|
*
|
|
161
159
|
* @example
|
|
162
160
|
* ```ts
|
|
163
|
-
* const
|
|
164
|
-
* await client.v1.analytics.tiles.
|
|
161
|
+
* const uniqueSessionsResponse =
|
|
162
|
+
* await client.v1.analytics.tiles.uniqueSessions({
|
|
165
163
|
* project_id: 'project_id',
|
|
166
164
|
* time_range: 'last_hour',
|
|
167
165
|
* });
|
|
168
166
|
* ```
|
|
169
167
|
*/
|
|
170
|
-
|
|
168
|
+
uniqueSessions(query, options) {
|
|
171
169
|
return this._client.get('/api/v1/analytics/tiles/unique-sessions', { query, ...options });
|
|
172
170
|
}
|
|
173
171
|
/**
|
|
@@ -175,29 +173,59 @@ export class Tiles extends APIResource {
|
|
|
175
173
|
*
|
|
176
174
|
* @example
|
|
177
175
|
* ```ts
|
|
178
|
-
* const
|
|
179
|
-
* await client.v1.analytics.tiles.
|
|
176
|
+
* const uniqueVisitorsResponse =
|
|
177
|
+
* await client.v1.analytics.tiles.uniqueVisitors({
|
|
180
178
|
* project_id: 'project_id',
|
|
181
179
|
* time_range: 'last_hour',
|
|
182
180
|
* });
|
|
183
181
|
* ```
|
|
184
182
|
*/
|
|
185
|
-
|
|
183
|
+
uniqueVisitors(query, options) {
|
|
186
184
|
return this._client.get('/api/v1/analytics/tiles/unique-visitors', { query, ...options });
|
|
187
185
|
}
|
|
188
186
|
/**
|
|
189
|
-
* Get
|
|
187
|
+
* Get number of visitors by browser for current period compared to the previous
|
|
188
|
+
* period
|
|
190
189
|
*
|
|
191
190
|
* @example
|
|
192
191
|
* ```ts
|
|
193
|
-
* const
|
|
194
|
-
* await client.v1.analytics.tiles.
|
|
192
|
+
* const visitorsByBrowserResponse =
|
|
193
|
+
* await client.v1.analytics.tiles.visitorsByBrowser({
|
|
195
194
|
* project_id: 'project_id',
|
|
196
195
|
* time_range: 'last_hour',
|
|
197
196
|
* });
|
|
198
197
|
* ```
|
|
199
198
|
*/
|
|
200
|
-
|
|
199
|
+
visitorsByBrowser(query, options) {
|
|
200
|
+
return this._client.get('/api/v1/analytics/tiles/visitors-by-browser', { query, ...options });
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* Get number of visitors by OS for current period compared to the previous period
|
|
204
|
+
*
|
|
205
|
+
* @example
|
|
206
|
+
* ```ts
|
|
207
|
+
* const visitorsByOsResponse =
|
|
208
|
+
* await client.v1.analytics.tiles.visitorsByOs({
|
|
209
|
+
* project_id: 'project_id',
|
|
210
|
+
* time_range: 'last_hour',
|
|
211
|
+
* });
|
|
212
|
+
* ```
|
|
213
|
+
*/
|
|
214
|
+
visitorsByOs(query, options) {
|
|
215
|
+
return this._client.get('/api/v1/analytics/tiles/visitors-by-os', { query, ...options });
|
|
216
|
+
}
|
|
217
|
+
/**
|
|
218
|
+
* Get weekly active user count (last 7 days) compared to the previous week
|
|
219
|
+
*
|
|
220
|
+
* @example
|
|
221
|
+
* ```ts
|
|
222
|
+
* const wauResponse = await client.v1.analytics.tiles.wau({
|
|
223
|
+
* project_id: 'project_id',
|
|
224
|
+
* time_range: 'last_hour',
|
|
225
|
+
* });
|
|
226
|
+
* ```
|
|
227
|
+
*/
|
|
228
|
+
wau(query, options) {
|
|
201
229
|
return this._client.get('/api/v1/analytics/tiles/wau', { query, ...options });
|
|
202
230
|
}
|
|
203
231
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tiles.mjs","sourceRoot":"","sources":["../../../src/resources/v1/analytics/tiles.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"tiles.mjs","sourceRoot":"","sources":["../../../src/resources/v1/analytics/tiles.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW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IACH,YAAY,CACV,KAA6B,EAC7B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,wCAAwC,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3F,CAAC;IAED;;;;;;;;;;OAUG;IACH,GAAG,CAAC,KAAoB,EAAE,OAAwB;QAChD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,6BAA6B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;CACF"}
|
package/resources/v1/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Analytics, type ChurnRateResponse, type CohortAnalysisResponse, type CohortData, type EventFilterOptionsResponse, type EventsOverTimeDataPoint, type ManualIdentifyRequest, type ManualIdentifyResponse, type RecentEvent, type RecentEventsResponse, type TopVisitor, type TopVisitorsResponse, type VisitorDataPoint, type VisitorEvent, type VisitorProfileResponse, type VisitorsByDeviceResponse, type
|
|
1
|
+
export { Analytics, type BounceRateResponse, type CardPrecision, type ChurnRateResponse, type CohortAnalysisResponse, type CohortData, type CountryTrafficSourceData, type CountryTrafficSourceResponse, type DauResponse, type EventFilterOptionsResponse, type EventsOverTimeDataPoint, type ManualIdentifyRequest, type ManualIdentifyResponse, type MauResponse, type PagesPerSessionResponse, type RecentEvent, type RecentEventsResponse, type RefererTrafficSourceData, type RefererTrafficSourceResponse, type ReturnRateResponse, type SessionDurationResponse, type TimeBetweenVisitsResponse, type TimelineTileData, type TimelineTileResponse, type TopVisitor, type TopVisitorsResponse, type UniqueSessionsResponse, type UniqueVisitorsResponse, type UtmTrafficSourceResponse, type VisitorDataPoint, type VisitorEvent, type VisitorProfileResponse, type VisitorsByBrowserResponse, type VisitorsByDeviceResponse, type VisitorsByOsResponse, type WauResponse, type AnalyticsTimelineParams, } from "./analytics/index.mjs";
|
|
2
2
|
export { Auth, type LoginRequest, type LoginResponse, type AuthLoginParams } from "./auth.mjs";
|
|
3
3
|
export { PaymentProviders, type CreatePaymentProviderRequest, type ListPaymentProvidersResponse, type PaymentProviderResponse, type ProviderField, type ProviderInstructionsResponse, type UpdatePaymentProviderRequest, type PaymentProviderDeleteResponse, type PaymentProviderCreateParams, type PaymentProviderUpdateParams, type PaymentProviderListParams, type PaymentProviderInstructionsParams, } from "./payment-providers/index.mjs";
|
|
4
4
|
export { Projects, type CreateProjectRequest, type ListProjectsResponse, type Project, type ProjectResponse, type UpdateProjectRequest, type ProjectDeleteResponse, type ProjectCreateParams, type ProjectUpdateParams, } from "./projects.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/v1/index.ts"],"names":[],"mappings":"OAEO,EACL,SAAS,EACT,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,EAC3B,KAAK,UAAU,EACf,KAAK,0BAA0B,EAC/B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,WAAW,EAChB,KAAK,oBAAoB,EACzB,KAAK,UAAU,EACf,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACjB,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/v1/index.ts"],"names":[],"mappings":"OAEO,EACL,SAAS,EACT,KAAK,kBAAkB,EACvB,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,EAC3B,KAAK,UAAU,EACf,KAAK,wBAAwB,EAC7B,KAAK,4BAA4B,EACjC,KAAK,WAAW,EAChB,KAAK,0BAA0B,EAC/B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,WAAW,EAChB,KAAK,uBAAuB,EAC5B,KAAK,WAAW,EAChB,KAAK,oBAAoB,EACzB,KAAK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,qBAAqB,GAC3B;OACM,EAAE,EAAE,EAAE"}
|
package/resources/v1/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Analytics, type ChurnRateResponse, type CohortAnalysisResponse, type CohortData, type EventFilterOptionsResponse, type EventsOverTimeDataPoint, type ManualIdentifyRequest, type ManualIdentifyResponse, type RecentEvent, type RecentEventsResponse, type TopVisitor, type TopVisitorsResponse, type VisitorDataPoint, type VisitorEvent, type VisitorProfileResponse, type VisitorsByDeviceResponse, type
|
|
1
|
+
export { Analytics, type BounceRateResponse, type CardPrecision, type ChurnRateResponse, type CohortAnalysisResponse, type CohortData, type CountryTrafficSourceData, type CountryTrafficSourceResponse, type DauResponse, type EventFilterOptionsResponse, type EventsOverTimeDataPoint, type ManualIdentifyRequest, type ManualIdentifyResponse, type MauResponse, type PagesPerSessionResponse, type RecentEvent, type RecentEventsResponse, type RefererTrafficSourceData, type RefererTrafficSourceResponse, type ReturnRateResponse, type SessionDurationResponse, type TimeBetweenVisitsResponse, type TimelineTileData, type TimelineTileResponse, type TopVisitor, type TopVisitorsResponse, type UniqueSessionsResponse, type UniqueVisitorsResponse, type UtmTrafficSourceResponse, type VisitorDataPoint, type VisitorEvent, type VisitorProfileResponse, type VisitorsByBrowserResponse, type VisitorsByDeviceResponse, type VisitorsByOsResponse, type WauResponse, type AnalyticsTimelineParams, } from "./analytics/index.js";
|
|
2
2
|
export { Auth, type LoginRequest, type LoginResponse, type AuthLoginParams } from "./auth.js";
|
|
3
3
|
export { PaymentProviders, type CreatePaymentProviderRequest, type ListPaymentProvidersResponse, type PaymentProviderResponse, type ProviderField, type ProviderInstructionsResponse, type UpdatePaymentProviderRequest, type PaymentProviderDeleteResponse, type PaymentProviderCreateParams, type PaymentProviderUpdateParams, type PaymentProviderListParams, type PaymentProviderInstructionsParams, } from "./payment-providers/index.js";
|
|
4
4
|
export { Projects, type CreateProjectRequest, type ListProjectsResponse, type Project, type ProjectResponse, type UpdateProjectRequest, type ProjectDeleteResponse, type ProjectCreateParams, type ProjectUpdateParams, } from "./projects.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/v1/index.ts"],"names":[],"mappings":"OAEO,EACL,SAAS,EACT,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,EAC3B,KAAK,UAAU,EACf,KAAK,0BAA0B,EAC/B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,WAAW,EAChB,KAAK,oBAAoB,EACzB,KAAK,UAAU,EACf,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACjB,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/v1/index.ts"],"names":[],"mappings":"OAEO,EACL,SAAS,EACT,KAAK,kBAAkB,EACvB,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,EAC3B,KAAK,UAAU,EACf,KAAK,wBAAwB,EAC7B,KAAK,4BAA4B,EACjC,KAAK,WAAW,EAChB,KAAK,0BAA0B,EAC/B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,WAAW,EAChB,KAAK,uBAAuB,EAC5B,KAAK,WAAW,EAChB,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,4BAA4B,EACjC,KAAK,kBAAkB,EACvB,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EACzB,KAAK,UAAU,EACf,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACjB,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,WAAW,EAChB,KAAK,uBAAuB,GAC7B;OACM,EAAE,IAAI,EAAE,KAAK,YAAY,EAAE,KAAK,aAAa,EAAE,KAAK,eAAe,EAAE;OACrE,EACL,gBAAgB,EAChB,KAAK,4BAA4B,EACjC,KAAK,4BAA4B,EACjC,KAAK,uBAAuB,EAC5B,KAAK,aAAa,EAClB,KAAK,4BAA4B,EACjC,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAClC,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAC9B,KAAK,iCAAiC,GACvC;OACM,EACL,QAAQ,EACR,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,OAAO,EACZ,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB;OACM,EACL,OAAO,EACP,KAAK,2BAA2B,EAChC,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,iBAAiB,EACtB,KAAK,0BAA0B,EAC/B,KAAK,OAAO,EACZ,KAAK,wBAAwB,EAC7B,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAChB,KAAK,oBAAoB,EACzB,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,GAC3B;OACM,EAAE,EAAE,EAAE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/v1/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/v1/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,8CAsC2B;AArCzB,kGAAA,SAAS,OAAA;AAsCX,kCAA2F;AAAlF,4FAAA,IAAI,OAAA;AACb,sDAamC;AAZjC,yGAAA,gBAAgB,OAAA;AAalB,0CAUoB;AATlB,oGAAA,QAAQ,OAAA;AAUV,4CAiByB;AAhBvB,gGAAA,OAAO,OAAA;AAiBT,8BAA0B;AAAjB,wFAAA,EAAE,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/v1/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,SAAS,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/v1/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,SAAS,GAqCV;OACM,EAAE,IAAI,EAA+D;OACrE,EACL,gBAAgB,GAYjB;OACM,EACL,QAAQ,GAST;OACM,EACL,OAAO,GAgBR;OACM,EAAE,EAAE,EAAE"}
|
package/resources/v1/v1.d.mts
CHANGED
|
@@ -4,7 +4,7 @@ import { Auth, AuthLoginParams, LoginRequest, LoginResponse } from "./auth.mjs";
|
|
|
4
4
|
import * as ProjectsAPI from "./projects.mjs";
|
|
5
5
|
import { CreateProjectRequest, ListProjectsResponse, Project, ProjectCreateParams, ProjectDeleteResponse, ProjectResponse, ProjectUpdateParams, Projects, UpdateProjectRequest } from "./projects.mjs";
|
|
6
6
|
import * as AnalyticsAPI from "./analytics/analytics.mjs";
|
|
7
|
-
import { Analytics,
|
|
7
|
+
import { Analytics, AnalyticsTimelineParams, BounceRateResponse, CardPrecision, ChurnRateResponse, CohortAnalysisResponse, CohortData, CountryTrafficSourceData, CountryTrafficSourceResponse, DauResponse, EventFilterOptionsResponse, EventsOverTimeDataPoint, ManualIdentifyRequest, ManualIdentifyResponse, MauResponse, PagesPerSessionResponse, RecentEvent, RecentEventsResponse, RefererTrafficSourceData, RefererTrafficSourceResponse, ReturnRateResponse, SessionDurationResponse, TimeBetweenVisitsResponse, TimelineTileData, TimelineTileResponse, TopVisitor, TopVisitorsResponse, UniqueSessionsResponse, UniqueVisitorsResponse, UtmTrafficSourceResponse, VisitorDataPoint, VisitorEvent, VisitorProfileResponse, VisitorsByBrowserResponse, VisitorsByDeviceResponse, VisitorsByOsResponse, WauResponse } from "./analytics/analytics.mjs";
|
|
8
8
|
import * as PaymentProvidersAPI from "./payment-providers/payment-providers.mjs";
|
|
9
9
|
import { CreatePaymentProviderRequest, ListPaymentProvidersResponse, PaymentProviderCreateParams, PaymentProviderDeleteResponse, PaymentProviderInstructionsParams, PaymentProviderListParams, PaymentProviderResponse, PaymentProviderUpdateParams, PaymentProviders, ProviderField, ProviderInstructionsResponse, UpdatePaymentProviderRequest } from "./payment-providers/payment-providers.mjs";
|
|
10
10
|
import * as RevenueAPI from "./revenue/revenue.mjs";
|
|
@@ -18,7 +18,7 @@ export declare class V1 extends APIResource {
|
|
|
18
18
|
}
|
|
19
19
|
export declare namespace V1 {
|
|
20
20
|
export { Auth as Auth, type LoginRequest as LoginRequest, type LoginResponse as LoginResponse, type AuthLoginParams as AuthLoginParams, };
|
|
21
|
-
export { Analytics as Analytics, type ChurnRateResponse as ChurnRateResponse, type CohortAnalysisResponse as CohortAnalysisResponse, type CohortData as CohortData, type EventFilterOptionsResponse as EventFilterOptionsResponse, type EventsOverTimeDataPoint as EventsOverTimeDataPoint, type ManualIdentifyRequest as ManualIdentifyRequest, type ManualIdentifyResponse as ManualIdentifyResponse, type RecentEvent as RecentEvent, type RecentEventsResponse as RecentEventsResponse, type TopVisitor as TopVisitor, type TopVisitorsResponse as TopVisitorsResponse, type VisitorDataPoint as VisitorDataPoint, type VisitorEvent as VisitorEvent, type VisitorProfileResponse as VisitorProfileResponse, type VisitorsByDeviceResponse as VisitorsByDeviceResponse, type
|
|
21
|
+
export { Analytics as Analytics, type BounceRateResponse as BounceRateResponse, type CardPrecision as CardPrecision, type ChurnRateResponse as ChurnRateResponse, type CohortAnalysisResponse as CohortAnalysisResponse, type CohortData as CohortData, type CountryTrafficSourceData as CountryTrafficSourceData, type CountryTrafficSourceResponse as CountryTrafficSourceResponse, type DauResponse as DauResponse, type EventFilterOptionsResponse as EventFilterOptionsResponse, type EventsOverTimeDataPoint as EventsOverTimeDataPoint, type ManualIdentifyRequest as ManualIdentifyRequest, type ManualIdentifyResponse as ManualIdentifyResponse, type MauResponse as MauResponse, type PagesPerSessionResponse as PagesPerSessionResponse, type RecentEvent as RecentEvent, type RecentEventsResponse as RecentEventsResponse, type RefererTrafficSourceData as RefererTrafficSourceData, type RefererTrafficSourceResponse as RefererTrafficSourceResponse, type ReturnRateResponse as ReturnRateResponse, type SessionDurationResponse as SessionDurationResponse, type TimeBetweenVisitsResponse as TimeBetweenVisitsResponse, type TimelineTileData as TimelineTileData, type TimelineTileResponse as TimelineTileResponse, type TopVisitor as TopVisitor, type TopVisitorsResponse as TopVisitorsResponse, type UniqueSessionsResponse as UniqueSessionsResponse, type UniqueVisitorsResponse as UniqueVisitorsResponse, type UtmTrafficSourceResponse as UtmTrafficSourceResponse, type VisitorDataPoint as VisitorDataPoint, type VisitorEvent as VisitorEvent, type VisitorProfileResponse as VisitorProfileResponse, type VisitorsByBrowserResponse as VisitorsByBrowserResponse, type VisitorsByDeviceResponse as VisitorsByDeviceResponse, type VisitorsByOsResponse as VisitorsByOsResponse, type WauResponse as WauResponse, type AnalyticsTimelineParams as AnalyticsTimelineParams, };
|
|
22
22
|
export { Revenue as Revenue, type AttributionByOriginResponse as AttributionByOriginResponse, type AttributionByUtmResponse as AttributionByUtmResponse, type ConversionMetricsResponse as ConversionMetricsResponse, type CustomerProfileResponse as CustomerProfileResponse, type DashboardResponse as DashboardResponse, type OriginAttributionDataPoint as OriginAttributionDataPoint, type Payment as Payment, type RevenueOverTimeDataPoint as RevenueOverTimeDataPoint, type TimelineDataPoint as TimelineDataPoint, type TimelineResponse as TimelineResponse, type TopCustomer as TopCustomer, type TopCustomersResponse as TopCustomersResponse, type UtmAttributionDataPoint as UtmAttributionDataPoint, type RevenueDashboardParams as RevenueDashboardParams, type RevenueTimelineParams as RevenueTimelineParams, };
|
|
23
23
|
export { Projects as Projects, type CreateProjectRequest as CreateProjectRequest, type ListProjectsResponse as ListProjectsResponse, type Project as Project, type ProjectResponse as ProjectResponse, type UpdateProjectRequest as UpdateProjectRequest, type ProjectDeleteResponse as ProjectDeleteResponse, type ProjectCreateParams as ProjectCreateParams, type ProjectUpdateParams as ProjectUpdateParams, };
|
|
24
24
|
export { PaymentProviders as PaymentProviders, type CreatePaymentProviderRequest as CreatePaymentProviderRequest, type ListPaymentProvidersResponse as ListPaymentProvidersResponse, type PaymentProviderResponse as PaymentProviderResponse, type ProviderField as ProviderField, type ProviderInstructionsResponse as ProviderInstructionsResponse, type UpdatePaymentProviderRequest as UpdatePaymentProviderRequest, type PaymentProviderDeleteResponse as PaymentProviderDeleteResponse, type PaymentProviderCreateParams as PaymentProviderCreateParams, type PaymentProviderUpdateParams as PaymentProviderUpdateParams, type PaymentProviderListParams as PaymentProviderListParams, type PaymentProviderInstructionsParams as PaymentProviderInstructionsParams, };
|