zorihq 0.13.0 → 0.15.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/package.json +1 -1
- package/resources/v1/analytics/analytics.d.mts +44 -82
- package/resources/v1/analytics/analytics.d.mts.map +1 -1
- package/resources/v1/analytics/analytics.d.ts +44 -82
- package/resources/v1/analytics/analytics.d.ts.map +1 -1
- package/resources/v1/analytics/analytics.js +11 -9
- package/resources/v1/analytics/analytics.js.map +1 -1
- package/resources/v1/analytics/analytics.mjs +12 -10
- package/resources/v1/analytics/analytics.mjs.map +1 -1
- package/resources/v1/analytics/events.d.mts +8 -6
- package/resources/v1/analytics/events.d.mts.map +1 -1
- package/resources/v1/analytics/events.d.ts +8 -6
- package/resources/v1/analytics/events.d.ts.map +1 -1
- package/resources/v1/analytics/events.js +3 -2
- package/resources/v1/analytics/events.js.map +1 -1
- package/resources/v1/analytics/events.mjs +3 -2
- package/resources/v1/analytics/events.mjs.map +1 -1
- package/resources/v1/analytics/index.d.mts +6 -5
- package/resources/v1/analytics/index.d.mts.map +1 -1
- package/resources/v1/analytics/index.d.ts +6 -5
- package/resources/v1/analytics/index.d.ts.map +1 -1
- package/resources/v1/analytics/index.js +3 -1
- package/resources/v1/analytics/index.js.map +1 -1
- package/resources/v1/analytics/index.mjs +2 -1
- 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/sessions.d.mts +0 -54
- package/resources/v1/analytics/sessions.d.mts.map +1 -1
- package/resources/v1/analytics/sessions.d.ts +0 -54
- package/resources/v1/analytics/sessions.d.ts.map +1 -1
- package/resources/v1/analytics/sessions.js +0 -30
- package/resources/v1/analytics/sessions.js.map +1 -1
- package/resources/v1/analytics/sessions.mjs +0 -30
- package/resources/v1/analytics/sessions.mjs.map +1 -1
- package/resources/v1/analytics/tiles.d.mts +401 -0
- package/resources/v1/analytics/tiles.d.mts.map +1 -0
- package/resources/v1/analytics/tiles.d.ts +401 -0
- package/resources/v1/analytics/tiles.d.ts.map +1 -0
- package/resources/v1/analytics/tiles.js +208 -0
- package/resources/v1/analytics/tiles.js.map +1 -0
- package/resources/v1/analytics/tiles.mjs +204 -0
- package/resources/v1/analytics/tiles.mjs.map +1 -0
- package/resources/v1/analytics/users.d.mts +0 -30
- package/resources/v1/analytics/users.d.mts.map +1 -1
- package/resources/v1/analytics/users.d.ts +0 -30
- package/resources/v1/analytics/users.d.ts.map +1 -1
- package/resources/v1/analytics/users.js +0 -15
- package/resources/v1/analytics/users.js.map +1 -1
- package/resources/v1/analytics/users.mjs +0 -15
- package/resources/v1/analytics/users.mjs.map +1 -1
- package/resources/v1/analytics/visitors.d.mts +4 -75
- package/resources/v1/analytics/visitors.d.mts.map +1 -1
- package/resources/v1/analytics/visitors.d.ts +4 -75
- package/resources/v1/analytics/visitors.d.ts.map +1 -1
- package/resources/v1/analytics/visitors.js +3 -47
- package/resources/v1/analytics/visitors.js.map +1 -1
- package/resources/v1/analytics/visitors.mjs +3 -47
- 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/resources/v1/analytics/analytics.ts +119 -145
- package/src/resources/v1/analytics/events.ts +9 -6
- package/src/resources/v1/analytics/index.ts +33 -23
- package/src/resources/v1/analytics/retention.ts +0 -40
- package/src/resources/v1/analytics/sessions.ts +1 -89
- package/src/resources/v1/analytics/tiles.ts +663 -0
- package/src/resources/v1/analytics/users.ts +1 -44
- package/src/resources/v1/analytics/visitors.ts +3 -122
- package/src/resources/v1/index.ts +2 -13
- package/src/resources/v1/v1.ts +4 -26
- 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
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
3
|
+
export class Tiles extends APIResource {
|
|
4
|
+
/**
|
|
5
|
+
* Get bounce rate percentage for current period compared to the previous period
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* ```ts
|
|
9
|
+
* const response =
|
|
10
|
+
* await client.v1.analytics.tiles.getBounceRate({
|
|
11
|
+
* project_id: 'project_id',
|
|
12
|
+
* time_range: 'last_hour',
|
|
13
|
+
* });
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
getBounceRate(query, options) {
|
|
17
|
+
return this._client.get('/api/v1/analytics/tiles/bounce-rate', { query, ...options });
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Get daily active user count (last 24h) compared to the previous day
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* ```ts
|
|
24
|
+
* const response =
|
|
25
|
+
* await client.v1.analytics.tiles.getDailyActiveUsers({
|
|
26
|
+
* project_id: 'project_id',
|
|
27
|
+
* time_range: 'last_hour',
|
|
28
|
+
* });
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
getDailyActiveUsers(query, options) {
|
|
32
|
+
return this._client.get('/api/v1/analytics/tiles/dau', { query, ...options });
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Get monthly active user count (last 30 days) compared to the previous month
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* ```ts
|
|
39
|
+
* const response =
|
|
40
|
+
* await client.v1.analytics.tiles.getMonthlyActiveUsers({
|
|
41
|
+
* project_id: 'project_id',
|
|
42
|
+
* time_range: 'last_hour',
|
|
43
|
+
* });
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
getMonthlyActiveUsers(query, options) {
|
|
47
|
+
return this._client.get('/api/v1/analytics/tiles/mau', { query, ...options });
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Get average number of pages viewed per session for current period compared to
|
|
51
|
+
* the previous period
|
|
52
|
+
*
|
|
53
|
+
* @example
|
|
54
|
+
* ```ts
|
|
55
|
+
* const response =
|
|
56
|
+
* await client.v1.analytics.tiles.getPagesPerSession({
|
|
57
|
+
* project_id: 'project_id',
|
|
58
|
+
* time_range: 'last_hour',
|
|
59
|
+
* });
|
|
60
|
+
* ```
|
|
61
|
+
*/
|
|
62
|
+
getPagesPerSession(query, options) {
|
|
63
|
+
return this._client.get('/api/v1/analytics/tiles/pages-per-session', { query, ...options });
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Get percentage of visitors with more than one session for current period
|
|
67
|
+
* compared to the previous period
|
|
68
|
+
*
|
|
69
|
+
* @example
|
|
70
|
+
* ```ts
|
|
71
|
+
* const response =
|
|
72
|
+
* await client.v1.analytics.tiles.getReturnRate({
|
|
73
|
+
* project_id: 'project_id',
|
|
74
|
+
* time_range: 'last_hour',
|
|
75
|
+
* });
|
|
76
|
+
* ```
|
|
77
|
+
*/
|
|
78
|
+
getReturnRate(query, options) {
|
|
79
|
+
return this._client.get('/api/v1/analytics/tiles/return-rate', { query, ...options });
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Get average session duration in seconds for current period compared to the
|
|
83
|
+
* previous period
|
|
84
|
+
*
|
|
85
|
+
* @example
|
|
86
|
+
* ```ts
|
|
87
|
+
* const response =
|
|
88
|
+
* await client.v1.analytics.tiles.getSessionDuration({
|
|
89
|
+
* project_id: 'project_id',
|
|
90
|
+
* time_range: 'last_hour',
|
|
91
|
+
* });
|
|
92
|
+
* ```
|
|
93
|
+
*/
|
|
94
|
+
getSessionDuration(query, options) {
|
|
95
|
+
return this._client.get('/api/v1/analytics/tiles/session-duration', { query, ...options });
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Get average hours between consecutive visits per visitor for current period
|
|
99
|
+
* compared to the previous period
|
|
100
|
+
*
|
|
101
|
+
* @example
|
|
102
|
+
* ```ts
|
|
103
|
+
* const response =
|
|
104
|
+
* await client.v1.analytics.tiles.getTimeBetweenVisits({
|
|
105
|
+
* project_id: 'project_id',
|
|
106
|
+
* time_range: 'last_hour',
|
|
107
|
+
* });
|
|
108
|
+
* ```
|
|
109
|
+
*/
|
|
110
|
+
getTimeBetweenVisits(query, options) {
|
|
111
|
+
return this._client.get('/api/v1/analytics/tiles/time-between-visits', { query, ...options });
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* Get unique visitor counts grouped by country code
|
|
115
|
+
*
|
|
116
|
+
* @example
|
|
117
|
+
* ```ts
|
|
118
|
+
* const response =
|
|
119
|
+
* await client.v1.analytics.tiles.getTrafficByCountry({
|
|
120
|
+
* project_id: 'project_id',
|
|
121
|
+
* time_range: 'last_hour',
|
|
122
|
+
* });
|
|
123
|
+
* ```
|
|
124
|
+
*/
|
|
125
|
+
getTrafficByCountry(query, options) {
|
|
126
|
+
return this._client.get('/api/v1/analytics/tiles/traffic-by-country', { query, ...options });
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* Get unique visitor counts grouped by referrer domain (traffic source)
|
|
130
|
+
*
|
|
131
|
+
* @example
|
|
132
|
+
* ```ts
|
|
133
|
+
* const response =
|
|
134
|
+
* await client.v1.analytics.tiles.getTrafficByReferer({
|
|
135
|
+
* project_id: 'project_id',
|
|
136
|
+
* time_range: 'last_hour',
|
|
137
|
+
* });
|
|
138
|
+
* ```
|
|
139
|
+
*/
|
|
140
|
+
getTrafficByReferer(query, options) {
|
|
141
|
+
return this._client.get('/api/v1/analytics/tiles/traffic-by-referer', { query, ...options });
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Get unique visitor counts grouped by UTM source, medium, and campaign
|
|
145
|
+
*
|
|
146
|
+
* @example
|
|
147
|
+
* ```ts
|
|
148
|
+
* const response =
|
|
149
|
+
* await client.v1.analytics.tiles.getTrafficByUtm({
|
|
150
|
+
* project_id: 'project_id',
|
|
151
|
+
* time_range: 'last_hour',
|
|
152
|
+
* });
|
|
153
|
+
* ```
|
|
154
|
+
*/
|
|
155
|
+
getTrafficByUtm(query, options) {
|
|
156
|
+
return this._client.get('/api/v1/analytics/tiles/traffic-by-utm', { query, ...options });
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* Get unique session count for current period compared to the previous period
|
|
160
|
+
*
|
|
161
|
+
* @example
|
|
162
|
+
* ```ts
|
|
163
|
+
* const response =
|
|
164
|
+
* await client.v1.analytics.tiles.getUniqueSessions({
|
|
165
|
+
* project_id: 'project_id',
|
|
166
|
+
* time_range: 'last_hour',
|
|
167
|
+
* });
|
|
168
|
+
* ```
|
|
169
|
+
*/
|
|
170
|
+
getUniqueSessions(query, options) {
|
|
171
|
+
return this._client.get('/api/v1/analytics/tiles/unique-sessions', { query, ...options });
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* Get unique visitor count for current period compared to the previous period
|
|
175
|
+
*
|
|
176
|
+
* @example
|
|
177
|
+
* ```ts
|
|
178
|
+
* const response =
|
|
179
|
+
* await client.v1.analytics.tiles.getUniqueVisitors({
|
|
180
|
+
* project_id: 'project_id',
|
|
181
|
+
* time_range: 'last_hour',
|
|
182
|
+
* });
|
|
183
|
+
* ```
|
|
184
|
+
*/
|
|
185
|
+
getUniqueVisitors(query, options) {
|
|
186
|
+
return this._client.get('/api/v1/analytics/tiles/unique-visitors', { query, ...options });
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* Get weekly active user count (last 7 days) compared to the previous week
|
|
190
|
+
*
|
|
191
|
+
* @example
|
|
192
|
+
* ```ts
|
|
193
|
+
* const response =
|
|
194
|
+
* await client.v1.analytics.tiles.getWeeklyActiveUsers({
|
|
195
|
+
* project_id: 'project_id',
|
|
196
|
+
* time_range: 'last_hour',
|
|
197
|
+
* });
|
|
198
|
+
* ```
|
|
199
|
+
*/
|
|
200
|
+
getWeeklyActiveUsers(query, options) {
|
|
201
|
+
return this._client.get('/api/v1/analytics/tiles/wau', { query, ...options });
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
//# sourceMappingURL=tiles.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tiles.mjs","sourceRoot":"","sources":["../../../src/resources/v1/analytics/tiles.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,KAAM,SAAQ,WAAW;IACpC;;;;;;;;;;;OAWG;IACH,aAAa,CACX,KAA8B,EAC9B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,qCAAqC,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxF,CAAC;IAED;;;;;;;;;;;OAWG;IACH,mBAAmB,CACjB,KAAoC,EACpC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,6BAA6B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;IAED;;;;;;;;;;;OAWG;IACH,qBAAqB,CACnB,KAAsC,EACtC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,6BAA6B,EAAE,EAAE,KAAK,EAAE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,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,wCAAwC,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3F,CAAC;IAED;;;;;;;;;;;OAWG;IACH,iBAAiB,CACf,KAAkC,EAClC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,yCAAyC,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5F,CAAC;IAED;;;;;;;;;;;OAWG;IACH,iBAAiB,CACf,KAAkC,EAClC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,yCAAyC,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5F,CAAC;IAED;;;;;;;;;;;OAWG;IACH,oBAAoB,CAClB,KAAqC,EACrC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,6BAA6B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;CACF"}
|
|
@@ -1,34 +1,4 @@
|
|
|
1
1
|
import { APIResource } from "../../../core/resource.mjs";
|
|
2
|
-
import * as AnalyticsAPI from "./analytics.mjs";
|
|
3
|
-
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
4
|
-
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
5
2
|
export declare class Users extends APIResource {
|
|
6
|
-
/**
|
|
7
|
-
* Get daily, weekly, and monthly active user counts
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* ```ts
|
|
11
|
-
* const activeUsersResponse =
|
|
12
|
-
* await client.v1.analytics.users.active({
|
|
13
|
-
* project_id: 'project_id',
|
|
14
|
-
* time_range: 'last_hour',
|
|
15
|
-
* });
|
|
16
|
-
* ```
|
|
17
|
-
*/
|
|
18
|
-
active(query: UserActiveParams, options?: RequestOptions): APIPromise<AnalyticsAPI.ActiveUsersResponse>;
|
|
19
|
-
}
|
|
20
|
-
export interface UserActiveParams {
|
|
21
|
-
project_id: string;
|
|
22
|
-
time_range: 'last_hour' | 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'last_90_days';
|
|
23
|
-
customer_id?: string;
|
|
24
|
-
limit?: number;
|
|
25
|
-
offset?: number;
|
|
26
|
-
referrer?: string;
|
|
27
|
-
utmtag?: string;
|
|
28
|
-
utmtagValue?: string;
|
|
29
|
-
visitor_id?: string;
|
|
30
|
-
}
|
|
31
|
-
export declare namespace Users {
|
|
32
|
-
export { type UserActiveParams as UserActiveParams };
|
|
33
3
|
}
|
|
34
4
|
//# sourceMappingURL=users.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"users.d.mts","sourceRoot":"","sources":["../../../src/resources/v1/analytics/users.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"users.d.mts","sourceRoot":"","sources":["../../../src/resources/v1/analytics/users.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;AAEtB,qBAAa,KAAM,SAAQ,WAAW;CAAG"}
|
|
@@ -1,34 +1,4 @@
|
|
|
1
1
|
import { APIResource } from "../../../core/resource.js";
|
|
2
|
-
import * as AnalyticsAPI from "./analytics.js";
|
|
3
|
-
import { APIPromise } from "../../../core/api-promise.js";
|
|
4
|
-
import { RequestOptions } from "../../../internal/request-options.js";
|
|
5
2
|
export declare class Users extends APIResource {
|
|
6
|
-
/**
|
|
7
|
-
* Get daily, weekly, and monthly active user counts
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* ```ts
|
|
11
|
-
* const activeUsersResponse =
|
|
12
|
-
* await client.v1.analytics.users.active({
|
|
13
|
-
* project_id: 'project_id',
|
|
14
|
-
* time_range: 'last_hour',
|
|
15
|
-
* });
|
|
16
|
-
* ```
|
|
17
|
-
*/
|
|
18
|
-
active(query: UserActiveParams, options?: RequestOptions): APIPromise<AnalyticsAPI.ActiveUsersResponse>;
|
|
19
|
-
}
|
|
20
|
-
export interface UserActiveParams {
|
|
21
|
-
project_id: string;
|
|
22
|
-
time_range: 'last_hour' | 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'last_90_days';
|
|
23
|
-
customer_id?: string;
|
|
24
|
-
limit?: number;
|
|
25
|
-
offset?: number;
|
|
26
|
-
referrer?: string;
|
|
27
|
-
utmtag?: string;
|
|
28
|
-
utmtagValue?: string;
|
|
29
|
-
visitor_id?: string;
|
|
30
|
-
}
|
|
31
|
-
export declare namespace Users {
|
|
32
|
-
export { type UserActiveParams as UserActiveParams };
|
|
33
3
|
}
|
|
34
4
|
//# sourceMappingURL=users.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../../src/resources/v1/analytics/users.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../../src/resources/v1/analytics/users.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;AAEtB,qBAAa,KAAM,SAAQ,WAAW;CAAG"}
|
|
@@ -4,21 +4,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.Users = void 0;
|
|
5
5
|
const resource_1 = require("../../../core/resource.js");
|
|
6
6
|
class Users extends resource_1.APIResource {
|
|
7
|
-
/**
|
|
8
|
-
* Get daily, weekly, and monthly active user counts
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* ```ts
|
|
12
|
-
* const activeUsersResponse =
|
|
13
|
-
* await client.v1.analytics.users.active({
|
|
14
|
-
* project_id: 'project_id',
|
|
15
|
-
* time_range: 'last_hour',
|
|
16
|
-
* });
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
|
-
active(query, options) {
|
|
20
|
-
return this._client.get('/api/v1/analytics/users/active', { query, ...options });
|
|
21
|
-
}
|
|
22
7
|
}
|
|
23
8
|
exports.Users = Users;
|
|
24
9
|
//# sourceMappingURL=users.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"users.js","sourceRoot":"","sources":["../../../src/resources/v1/analytics/users.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;
|
|
1
|
+
{"version":3,"file":"users.js","sourceRoot":"","sources":["../../../src/resources/v1/analytics/users.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAErD,MAAa,KAAM,SAAQ,sBAAW;CAAG;AAAzC,sBAAyC"}
|
|
@@ -1,20 +1,5 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
import { APIResource } from "../../../core/resource.mjs";
|
|
3
3
|
export class Users extends APIResource {
|
|
4
|
-
/**
|
|
5
|
-
* Get daily, weekly, and monthly active user counts
|
|
6
|
-
*
|
|
7
|
-
* @example
|
|
8
|
-
* ```ts
|
|
9
|
-
* const activeUsersResponse =
|
|
10
|
-
* await client.v1.analytics.users.active({
|
|
11
|
-
* project_id: 'project_id',
|
|
12
|
-
* time_range: 'last_hour',
|
|
13
|
-
* });
|
|
14
|
-
* ```
|
|
15
|
-
*/
|
|
16
|
-
active(query, options) {
|
|
17
|
-
return this._client.get('/api/v1/analytics/users/active', { query, ...options });
|
|
18
|
-
}
|
|
19
4
|
}
|
|
20
5
|
//# sourceMappingURL=users.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"users.mjs","sourceRoot":"","sources":["../../../src/resources/v1/analytics/users.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"users.mjs","sourceRoot":"","sources":["../../../src/resources/v1/analytics/users.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAEtB,MAAM,OAAO,KAAM,SAAQ,WAAW;CAAG"}
|
|
@@ -3,19 +3,6 @@ import * as AnalyticsAPI from "./analytics.mjs";
|
|
|
3
3
|
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
4
4
|
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
5
5
|
export declare class Visitors extends APIResource {
|
|
6
|
-
/**
|
|
7
|
-
* Get unique visitor counts grouped by country code
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* ```ts
|
|
11
|
-
* const visitorsByCountryResponse =
|
|
12
|
-
* await client.v1.analytics.visitors.byCountry({
|
|
13
|
-
* project_id: 'project_id',
|
|
14
|
-
* time_range: 'last_hour',
|
|
15
|
-
* });
|
|
16
|
-
* ```
|
|
17
|
-
*/
|
|
18
|
-
byCountry(query: VisitorByCountryParams, options?: RequestOptions): APIPromise<AnalyticsAPI.VisitorsByCountryResponse>;
|
|
19
6
|
/**
|
|
20
7
|
* Get visitor counts grouped by device type (mobile, desktop, tablet) over a
|
|
21
8
|
* specified time range
|
|
@@ -30,19 +17,6 @@ export declare class Visitors extends APIResource {
|
|
|
30
17
|
* ```
|
|
31
18
|
*/
|
|
32
19
|
byDevice(query: VisitorByDeviceParams, options?: RequestOptions): APIPromise<AnalyticsAPI.VisitorsByDeviceResponse>;
|
|
33
|
-
/**
|
|
34
|
-
* Get unique visitor counts grouped by referrer domain (traffic source)
|
|
35
|
-
*
|
|
36
|
-
* @example
|
|
37
|
-
* ```ts
|
|
38
|
-
* const visitorsByOriginResponse =
|
|
39
|
-
* await client.v1.analytics.visitors.byOrigin({
|
|
40
|
-
* project_id: 'project_id',
|
|
41
|
-
* time_range: 'last_hour',
|
|
42
|
-
* });
|
|
43
|
-
* ```
|
|
44
|
-
*/
|
|
45
|
-
byOrigin(query: VisitorByOriginParams, options?: RequestOptions): APIPromise<AnalyticsAPI.VisitorsByOriginResponse>;
|
|
46
20
|
/**
|
|
47
21
|
* Manually identify a visitor by updating their profile information from the
|
|
48
22
|
* dashboard
|
|
@@ -71,21 +45,9 @@ export declare class Visitors extends APIResource {
|
|
|
71
45
|
*/
|
|
72
46
|
profile(query: VisitorProfileParams, options?: RequestOptions): APIPromise<AnalyticsAPI.VisitorProfileResponse>;
|
|
73
47
|
/**
|
|
74
|
-
* Get
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
* @example
|
|
78
|
-
* ```ts
|
|
79
|
-
* const uniqueVisitorsTimelineResponse =
|
|
80
|
-
* await client.v1.analytics.visitors.timeline({
|
|
81
|
-
* project_id: 'project_id',
|
|
82
|
-
* time_range: 'last_hour',
|
|
83
|
-
* });
|
|
84
|
-
* ```
|
|
85
|
-
*/
|
|
86
|
-
timeline(query: VisitorTimelineParams, options?: RequestOptions): APIPromise<AnalyticsAPI.UniqueVisitorsTimelineResponse>;
|
|
87
|
-
/**
|
|
88
|
-
* Get a list of the most active visitors ranked by event count
|
|
48
|
+
* Get top visitors grouped by identified information (user_id, external_id, email)
|
|
49
|
+
* with payment metrics including revenue, distinct payments, and time to first
|
|
50
|
+
* purchase
|
|
89
51
|
*
|
|
90
52
|
* @example
|
|
91
53
|
* ```ts
|
|
@@ -98,17 +60,6 @@ export declare class Visitors extends APIResource {
|
|
|
98
60
|
*/
|
|
99
61
|
top(query: VisitorTopParams, options?: RequestOptions): APIPromise<AnalyticsAPI.TopVisitorsResponse>;
|
|
100
62
|
}
|
|
101
|
-
export interface VisitorByCountryParams {
|
|
102
|
-
project_id: string;
|
|
103
|
-
time_range: 'last_hour' | 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'last_90_days';
|
|
104
|
-
customer_id?: string;
|
|
105
|
-
limit?: number;
|
|
106
|
-
offset?: number;
|
|
107
|
-
referrer?: string;
|
|
108
|
-
utmtag?: string;
|
|
109
|
-
utmtagValue?: string;
|
|
110
|
-
visitor_id?: string;
|
|
111
|
-
}
|
|
112
63
|
export interface VisitorByDeviceParams {
|
|
113
64
|
project_id: string;
|
|
114
65
|
time_range: 'last_hour' | 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'last_90_days';
|
|
@@ -120,17 +71,6 @@ export interface VisitorByDeviceParams {
|
|
|
120
71
|
utmtagValue?: string;
|
|
121
72
|
visitor_id?: string;
|
|
122
73
|
}
|
|
123
|
-
export interface VisitorByOriginParams {
|
|
124
|
-
project_id: string;
|
|
125
|
-
time_range: 'last_hour' | 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'last_90_days';
|
|
126
|
-
customer_id?: string;
|
|
127
|
-
limit?: number;
|
|
128
|
-
offset?: number;
|
|
129
|
-
referrer?: string;
|
|
130
|
-
utmtag?: string;
|
|
131
|
-
utmtagValue?: string;
|
|
132
|
-
visitor_id?: string;
|
|
133
|
-
}
|
|
134
74
|
export interface VisitorIdentifyParams {
|
|
135
75
|
project_id: string;
|
|
136
76
|
visitor_id: string;
|
|
@@ -148,17 +88,6 @@ export interface VisitorProfileParams {
|
|
|
148
88
|
customer_id?: string;
|
|
149
89
|
visitor_id?: string;
|
|
150
90
|
}
|
|
151
|
-
export interface VisitorTimelineParams {
|
|
152
|
-
project_id: string;
|
|
153
|
-
time_range: 'last_hour' | 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'last_90_days';
|
|
154
|
-
customer_id?: string;
|
|
155
|
-
limit?: number;
|
|
156
|
-
offset?: number;
|
|
157
|
-
referrer?: string;
|
|
158
|
-
utmtag?: string;
|
|
159
|
-
utmtagValue?: string;
|
|
160
|
-
visitor_id?: string;
|
|
161
|
-
}
|
|
162
91
|
export interface VisitorTopParams {
|
|
163
92
|
project_id: string;
|
|
164
93
|
time_range: 'last_hour' | 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'last_90_days';
|
|
@@ -171,6 +100,6 @@ export interface VisitorTopParams {
|
|
|
171
100
|
visitor_id?: string;
|
|
172
101
|
}
|
|
173
102
|
export declare namespace Visitors {
|
|
174
|
-
export { type
|
|
103
|
+
export { type VisitorByDeviceParams as VisitorByDeviceParams, type VisitorIdentifyParams as VisitorIdentifyParams, type VisitorProfileParams as VisitorProfileParams, type VisitorTopParams as VisitorTopParams, };
|
|
175
104
|
}
|
|
176
105
|
//# sourceMappingURL=visitors.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"visitors.d.mts","sourceRoot":"","sources":["../../../src/resources/v1/analytics/visitors.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,QAAS,SAAQ,WAAW;IACvC
|
|
1
|
+
{"version":3,"file":"visitors.d.mts","sourceRoot":"","sources":["../../../src/resources/v1/analytics/visitors.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;;;OAYG;IACH,QAAQ,CACN,KAAK,EAAE,qBAAqB,EAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,YAAY,CAAC,wBAAwB,CAAC;IAIpD;;;;;;;;;;;;OAYG;IACH,QAAQ,CACN,IAAI,EAAE,qBAAqB,EAC3B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,YAAY,CAAC,sBAAsB,CAAC;IAIlD;;;;;;;;;;;OAWG;IACH,OAAO,CACL,KAAK,EAAE,oBAAoB,EAC3B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,YAAY,CAAC,sBAAsB,CAAC;IAIlD;;;;;;;;;;;;;OAaG;IACH,GAAG,CAAC,KAAK,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,YAAY,CAAC,mBAAmB,CAAC;CAGrG;AAED,MAAM,WAAW,qBAAqB;IACpC,UAAU,EAAE,MAAM,CAAC;IAEnB,UAAU,EAAE,WAAW,GAAG,OAAO,GAAG,WAAW,GAAG,aAAa,GAAG,cAAc,GAAG,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AO,EACL,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"}
|
|
@@ -3,19 +3,6 @@ import * as AnalyticsAPI from "./analytics.js";
|
|
|
3
3
|
import { APIPromise } from "../../../core/api-promise.js";
|
|
4
4
|
import { RequestOptions } from "../../../internal/request-options.js";
|
|
5
5
|
export declare class Visitors extends APIResource {
|
|
6
|
-
/**
|
|
7
|
-
* Get unique visitor counts grouped by country code
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* ```ts
|
|
11
|
-
* const visitorsByCountryResponse =
|
|
12
|
-
* await client.v1.analytics.visitors.byCountry({
|
|
13
|
-
* project_id: 'project_id',
|
|
14
|
-
* time_range: 'last_hour',
|
|
15
|
-
* });
|
|
16
|
-
* ```
|
|
17
|
-
*/
|
|
18
|
-
byCountry(query: VisitorByCountryParams, options?: RequestOptions): APIPromise<AnalyticsAPI.VisitorsByCountryResponse>;
|
|
19
6
|
/**
|
|
20
7
|
* Get visitor counts grouped by device type (mobile, desktop, tablet) over a
|
|
21
8
|
* specified time range
|
|
@@ -30,19 +17,6 @@ export declare class Visitors extends APIResource {
|
|
|
30
17
|
* ```
|
|
31
18
|
*/
|
|
32
19
|
byDevice(query: VisitorByDeviceParams, options?: RequestOptions): APIPromise<AnalyticsAPI.VisitorsByDeviceResponse>;
|
|
33
|
-
/**
|
|
34
|
-
* Get unique visitor counts grouped by referrer domain (traffic source)
|
|
35
|
-
*
|
|
36
|
-
* @example
|
|
37
|
-
* ```ts
|
|
38
|
-
* const visitorsByOriginResponse =
|
|
39
|
-
* await client.v1.analytics.visitors.byOrigin({
|
|
40
|
-
* project_id: 'project_id',
|
|
41
|
-
* time_range: 'last_hour',
|
|
42
|
-
* });
|
|
43
|
-
* ```
|
|
44
|
-
*/
|
|
45
|
-
byOrigin(query: VisitorByOriginParams, options?: RequestOptions): APIPromise<AnalyticsAPI.VisitorsByOriginResponse>;
|
|
46
20
|
/**
|
|
47
21
|
* Manually identify a visitor by updating their profile information from the
|
|
48
22
|
* dashboard
|
|
@@ -71,21 +45,9 @@ export declare class Visitors extends APIResource {
|
|
|
71
45
|
*/
|
|
72
46
|
profile(query: VisitorProfileParams, options?: RequestOptions): APIPromise<AnalyticsAPI.VisitorProfileResponse>;
|
|
73
47
|
/**
|
|
74
|
-
* Get
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
* @example
|
|
78
|
-
* ```ts
|
|
79
|
-
* const uniqueVisitorsTimelineResponse =
|
|
80
|
-
* await client.v1.analytics.visitors.timeline({
|
|
81
|
-
* project_id: 'project_id',
|
|
82
|
-
* time_range: 'last_hour',
|
|
83
|
-
* });
|
|
84
|
-
* ```
|
|
85
|
-
*/
|
|
86
|
-
timeline(query: VisitorTimelineParams, options?: RequestOptions): APIPromise<AnalyticsAPI.UniqueVisitorsTimelineResponse>;
|
|
87
|
-
/**
|
|
88
|
-
* Get a list of the most active visitors ranked by event count
|
|
48
|
+
* Get top visitors grouped by identified information (user_id, external_id, email)
|
|
49
|
+
* with payment metrics including revenue, distinct payments, and time to first
|
|
50
|
+
* purchase
|
|
89
51
|
*
|
|
90
52
|
* @example
|
|
91
53
|
* ```ts
|
|
@@ -98,17 +60,6 @@ export declare class Visitors extends APIResource {
|
|
|
98
60
|
*/
|
|
99
61
|
top(query: VisitorTopParams, options?: RequestOptions): APIPromise<AnalyticsAPI.TopVisitorsResponse>;
|
|
100
62
|
}
|
|
101
|
-
export interface VisitorByCountryParams {
|
|
102
|
-
project_id: string;
|
|
103
|
-
time_range: 'last_hour' | 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'last_90_days';
|
|
104
|
-
customer_id?: string;
|
|
105
|
-
limit?: number;
|
|
106
|
-
offset?: number;
|
|
107
|
-
referrer?: string;
|
|
108
|
-
utmtag?: string;
|
|
109
|
-
utmtagValue?: string;
|
|
110
|
-
visitor_id?: string;
|
|
111
|
-
}
|
|
112
63
|
export interface VisitorByDeviceParams {
|
|
113
64
|
project_id: string;
|
|
114
65
|
time_range: 'last_hour' | 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'last_90_days';
|
|
@@ -120,17 +71,6 @@ export interface VisitorByDeviceParams {
|
|
|
120
71
|
utmtagValue?: string;
|
|
121
72
|
visitor_id?: string;
|
|
122
73
|
}
|
|
123
|
-
export interface VisitorByOriginParams {
|
|
124
|
-
project_id: string;
|
|
125
|
-
time_range: 'last_hour' | 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'last_90_days';
|
|
126
|
-
customer_id?: string;
|
|
127
|
-
limit?: number;
|
|
128
|
-
offset?: number;
|
|
129
|
-
referrer?: string;
|
|
130
|
-
utmtag?: string;
|
|
131
|
-
utmtagValue?: string;
|
|
132
|
-
visitor_id?: string;
|
|
133
|
-
}
|
|
134
74
|
export interface VisitorIdentifyParams {
|
|
135
75
|
project_id: string;
|
|
136
76
|
visitor_id: string;
|
|
@@ -148,17 +88,6 @@ export interface VisitorProfileParams {
|
|
|
148
88
|
customer_id?: string;
|
|
149
89
|
visitor_id?: string;
|
|
150
90
|
}
|
|
151
|
-
export interface VisitorTimelineParams {
|
|
152
|
-
project_id: string;
|
|
153
|
-
time_range: 'last_hour' | 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'last_90_days';
|
|
154
|
-
customer_id?: string;
|
|
155
|
-
limit?: number;
|
|
156
|
-
offset?: number;
|
|
157
|
-
referrer?: string;
|
|
158
|
-
utmtag?: string;
|
|
159
|
-
utmtagValue?: string;
|
|
160
|
-
visitor_id?: string;
|
|
161
|
-
}
|
|
162
91
|
export interface VisitorTopParams {
|
|
163
92
|
project_id: string;
|
|
164
93
|
time_range: 'last_hour' | 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'last_90_days';
|
|
@@ -171,6 +100,6 @@ export interface VisitorTopParams {
|
|
|
171
100
|
visitor_id?: string;
|
|
172
101
|
}
|
|
173
102
|
export declare namespace Visitors {
|
|
174
|
-
export { type
|
|
103
|
+
export { type VisitorByDeviceParams as VisitorByDeviceParams, type VisitorIdentifyParams as VisitorIdentifyParams, type VisitorProfileParams as VisitorProfileParams, type VisitorTopParams as VisitorTopParams, };
|
|
175
104
|
}
|
|
176
105
|
//# sourceMappingURL=visitors.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"visitors.d.ts","sourceRoot":"","sources":["../../../src/resources/v1/analytics/visitors.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,QAAS,SAAQ,WAAW;IACvC
|
|
1
|
+
{"version":3,"file":"visitors.d.ts","sourceRoot":"","sources":["../../../src/resources/v1/analytics/visitors.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;;;OAYG;IACH,QAAQ,CACN,KAAK,EAAE,qBAAqB,EAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,YAAY,CAAC,wBAAwB,CAAC;IAIpD;;;;;;;;;;;;OAYG;IACH,QAAQ,CACN,IAAI,EAAE,qBAAqB,EAC3B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,YAAY,CAAC,sBAAsB,CAAC;IAIlD;;;;;;;;;;;OAWG;IACH,OAAO,CACL,KAAK,EAAE,oBAAoB,EAC3B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,YAAY,CAAC,sBAAsB,CAAC;IAIlD;;;;;;;;;;;;;OAaG;IACH,GAAG,CAAC,KAAK,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,YAAY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