zorihq 0.8.0 → 0.10.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 +17 -0
- package/README.md +18 -16
- package/package.json +1 -1
- package/resources/v1/analytics/analytics.d.mts +39 -124
- package/resources/v1/analytics/analytics.d.mts.map +1 -1
- package/resources/v1/analytics/analytics.d.ts +39 -124
- package/resources/v1/analytics/analytics.d.ts.map +1 -1
- package/resources/v1/analytics/analytics.js +0 -4
- package/resources/v1/analytics/analytics.js.map +1 -1
- package/resources/v1/analytics/analytics.mjs +0 -4
- package/resources/v1/analytics/analytics.mjs.map +1 -1
- package/resources/v1/analytics/index.d.mts +1 -2
- package/resources/v1/analytics/index.d.mts.map +1 -1
- package/resources/v1/analytics/index.d.ts +1 -2
- package/resources/v1/analytics/index.d.ts.map +1 -1
- package/resources/v1/analytics/index.js +1 -3
- package/resources/v1/analytics/index.js.map +1 -1
- package/resources/v1/analytics/index.mjs +0 -1
- package/resources/v1/analytics/index.mjs.map +1 -1
- package/resources/v1/index.d.mts +3 -3
- package/resources/v1/index.d.mts.map +1 -1
- package/resources/v1/index.d.ts +3 -3
- package/resources/v1/index.d.ts.map +1 -1
- package/resources/v1/index.js +3 -3
- package/resources/v1/index.js.map +1 -1
- package/resources/v1/index.mjs +1 -1
- package/resources/v1/index.mjs.map +1 -1
- package/resources/v1/payment-providers.d.mts +38 -1
- package/resources/v1/payment-providers.d.mts.map +1 -1
- package/resources/v1/payment-providers.d.ts +38 -1
- package/resources/v1/payment-providers.d.ts.map +1 -1
- package/resources/v1/payment-providers.js +15 -0
- package/resources/v1/payment-providers.js.map +1 -1
- package/resources/v1/payment-providers.mjs +15 -0
- package/resources/v1/payment-providers.mjs.map +1 -1
- package/resources/v1/projects.d.mts +0 -3
- package/resources/v1/projects.d.mts.map +1 -1
- package/resources/v1/projects.d.ts +0 -3
- package/resources/v1/projects.d.ts.map +1 -1
- package/resources/v1/projects.js.map +1 -1
- package/resources/v1/projects.mjs.map +1 -1
- package/resources/v1/{analytics/revenue.d.mts → revenue/attribution.d.mts} +21 -19
- package/resources/v1/revenue/attribution.d.mts.map +1 -0
- package/resources/v1/{analytics/revenue.d.ts → revenue/attribution.d.ts} +21 -19
- package/resources/v1/revenue/attribution.d.ts.map +1 -0
- package/resources/v1/revenue/attribution.js +41 -0
- package/resources/v1/revenue/attribution.js.map +1 -0
- package/resources/v1/revenue/attribution.mjs +37 -0
- package/resources/v1/revenue/attribution.mjs.map +1 -0
- package/resources/v1/revenue/conversion.d.mts +34 -0
- package/resources/v1/revenue/conversion.d.mts.map +1 -0
- package/resources/v1/revenue/conversion.d.ts +34 -0
- package/resources/v1/revenue/conversion.d.ts.map +1 -0
- package/resources/v1/revenue/conversion.js +25 -0
- package/resources/v1/revenue/conversion.js.map +1 -0
- package/resources/v1/revenue/conversion.mjs +21 -0
- package/resources/v1/revenue/conversion.mjs.map +1 -0
- package/resources/v1/revenue/customers.d.mts +61 -0
- package/resources/v1/revenue/customers.d.mts.map +1 -0
- package/resources/v1/revenue/customers.d.ts +61 -0
- package/resources/v1/revenue/customers.d.ts.map +1 -0
- package/resources/v1/revenue/customers.js +40 -0
- package/resources/v1/revenue/customers.js.map +1 -0
- package/resources/v1/revenue/customers.mjs +36 -0
- package/resources/v1/revenue/customers.mjs.map +1 -0
- package/resources/v1/revenue/index.d.mts +5 -0
- package/resources/v1/revenue/index.d.mts.map +1 -0
- package/resources/v1/revenue/index.d.ts +5 -0
- package/resources/v1/revenue/index.d.ts.map +1 -0
- package/resources/v1/revenue/index.js +13 -0
- package/resources/v1/revenue/index.js.map +1 -0
- package/resources/v1/revenue/index.mjs +6 -0
- package/resources/v1/revenue/index.mjs.map +1 -0
- package/resources/v1/revenue/revenue.d.mts +252 -0
- package/resources/v1/revenue/revenue.d.mts.map +1 -0
- package/resources/v1/revenue/revenue.d.ts +252 -0
- package/resources/v1/revenue/revenue.d.ts.map +1 -0
- package/resources/v1/revenue/revenue.js +53 -0
- package/resources/v1/revenue/revenue.js.map +1 -0
- package/resources/v1/revenue/revenue.mjs +48 -0
- package/resources/v1/revenue/revenue.mjs.map +1 -0
- package/resources/v1/revenue.d.mts +2 -0
- package/resources/v1/revenue.d.mts.map +1 -0
- package/resources/v1/revenue.d.ts +2 -0
- package/resources/v1/revenue.d.ts.map +1 -0
- package/resources/v1/revenue.js +6 -0
- package/resources/v1/revenue.js.map +1 -0
- package/resources/v1/revenue.mjs +3 -0
- package/resources/v1/revenue.mjs.map +1 -0
- package/resources/v1/v1.d.mts +8 -8
- package/resources/v1/v1.d.mts.map +1 -1
- package/resources/v1/v1.d.ts +8 -8
- package/resources/v1/v1.d.ts.map +1 -1
- package/resources/v1/v1.js +4 -4
- package/resources/v1/v1.js.map +1 -1
- package/resources/v1/v1.mjs +4 -4
- package/resources/v1/v1.mjs.map +1 -1
- package/src/resources/v1/analytics/analytics.ts +56 -175
- package/src/resources/v1/analytics/index.ts +0 -6
- package/src/resources/v1/index.ts +21 -18
- package/src/resources/v1/payment-providers.ts +58 -0
- package/src/resources/v1/projects.ts +0 -5
- package/src/resources/v1/{analytics/revenue.ts → revenue/attribution.ts} +29 -24
- package/src/resources/v1/revenue/conversion.ts +44 -0
- package/src/resources/v1/revenue/customers.ts +77 -0
- package/src/resources/v1/revenue/index.ts +23 -0
- package/src/resources/v1/revenue/revenue.ts +382 -0
- package/src/resources/v1/revenue.ts +3 -0
- package/src/resources/v1/v1.ts +46 -40
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.mts.map +1 -1
- package/version.d.ts +1 -1
- package/version.d.ts.map +1 -1
- package/version.js +1 -1
- package/version.js.map +1 -1
- package/version.mjs +1 -1
- package/version.mjs.map +1 -1
- package/resources/v1/analytics/revenue.d.mts.map +0 -1
- package/resources/v1/analytics/revenue.d.ts.map +0 -1
- package/resources/v1/analytics/revenue.js +0 -39
- package/resources/v1/analytics/revenue.js.map +0 -1
- package/resources/v1/analytics/revenue.mjs +0 -35
- package/resources/v1/analytics/revenue.mjs.map +0 -1
- package/resources/v1/auth.d.mts +0 -141
- package/resources/v1/auth.d.mts.map +0 -1
- package/resources/v1/auth.d.ts +0 -141
- package/resources/v1/auth.d.ts.map +0 -1
- package/resources/v1/auth.js +0 -95
- package/resources/v1/auth.js.map +0 -1
- package/resources/v1/auth.mjs +0 -91
- package/resources/v1/auth.mjs.map +0 -1
- package/src/resources/v1/auth.ts +0 -210
|
@@ -3,8 +3,6 @@ import * as EventsAPI from "./events.js";
|
|
|
3
3
|
import { EventFilterOptionsParams, EventRecentParams, Events } from "./events.js";
|
|
4
4
|
import * as RetentionAPI from "./retention.js";
|
|
5
5
|
import { Retention, RetentionChurnRateParams, RetentionCohortsParams, RetentionReturnRateParams } from "./retention.js";
|
|
6
|
-
import * as RevenueAPI from "./revenue.js";
|
|
7
|
-
import { Revenue, RevenueByUtmParams, RevenueTimelineParams } from "./revenue.js";
|
|
8
6
|
import * as SessionsAPI from "./sessions.js";
|
|
9
7
|
import { SessionBounceRateParams, SessionMetricsParams, Sessions } from "./sessions.js";
|
|
10
8
|
import * as UsersAPI from "./users.js";
|
|
@@ -16,7 +14,6 @@ import { RequestOptions } from "../../../internal/request-options.js";
|
|
|
16
14
|
export declare class Analytics extends APIResource {
|
|
17
15
|
visitors: VisitorsAPI.Visitors;
|
|
18
16
|
events: EventsAPI.Events;
|
|
19
|
-
revenue: RevenueAPI.Revenue;
|
|
20
17
|
sessions: SessionsAPI.Sessions;
|
|
21
18
|
users: UsersAPI.Users;
|
|
22
19
|
retention: RetentionAPI.Retention;
|
|
@@ -75,41 +72,16 @@ export interface CountryDataPoint {
|
|
|
75
72
|
}
|
|
76
73
|
export interface DashboardMetricsResponse {
|
|
77
74
|
avg_pages_per_session?: number;
|
|
78
|
-
/**
|
|
79
|
-
* Average revenue for identified visitors only (deprecated)
|
|
80
|
-
*/
|
|
81
|
-
avg_revenue_per_identified_customer?: number;
|
|
82
|
-
/**
|
|
83
|
-
* 3. Average revenue per unique session
|
|
84
|
-
*/
|
|
85
|
-
avg_revenue_per_session?: number;
|
|
86
|
-
/**
|
|
87
|
-
* Average revenue per paying visitor
|
|
88
|
-
*/
|
|
89
|
-
avg_revenue_per_visitor?: number;
|
|
90
75
|
avg_session_duration_seconds?: number;
|
|
91
76
|
/**
|
|
92
77
|
* Engagement metrics
|
|
93
78
|
*/
|
|
94
79
|
bounce_rate?: number;
|
|
95
|
-
/**
|
|
96
|
-
* 4. % of unique visitors who made payment
|
|
97
|
-
*/
|
|
98
|
-
conversion_rate?: number;
|
|
99
|
-
/**
|
|
100
|
-
* Same as ConversionRate (deprecated, use ConversionRate)
|
|
101
|
-
*/
|
|
102
|
-
conversion_to_paying?: number;
|
|
103
|
-
currency?: string;
|
|
104
80
|
/**
|
|
105
81
|
* Active users
|
|
106
82
|
*/
|
|
107
83
|
dau?: number;
|
|
108
84
|
mau?: number;
|
|
109
|
-
/**
|
|
110
|
-
* Additional revenue metrics (kept for compatibility)
|
|
111
|
-
*/
|
|
112
|
-
paying_visitors?: number;
|
|
113
85
|
return_rate?: number;
|
|
114
86
|
/**
|
|
115
87
|
* Sessions
|
|
@@ -119,18 +91,6 @@ export interface DashboardMetricsResponse {
|
|
|
119
91
|
* Total metrics
|
|
120
92
|
*/
|
|
121
93
|
total_events?: number;
|
|
122
|
-
/**
|
|
123
|
-
* Count of successful payments
|
|
124
|
-
*/
|
|
125
|
-
total_payments?: number;
|
|
126
|
-
/**
|
|
127
|
-
* Revenue metrics - 4 key metrics as separate queries
|
|
128
|
-
*/
|
|
129
|
-
total_revenue?: number;
|
|
130
|
-
/**
|
|
131
|
-
* 2. Total revenue for identified customers only
|
|
132
|
-
*/
|
|
133
|
-
total_revenue_identified_customers?: number;
|
|
134
94
|
total_sessions_in_period?: number;
|
|
135
95
|
/**
|
|
136
96
|
* Total unique sessions in period
|
|
@@ -171,32 +131,35 @@ export interface ManualIdentifyResponse {
|
|
|
171
131
|
visitor_id?: string;
|
|
172
132
|
}
|
|
173
133
|
export interface OriginDataPoint {
|
|
174
|
-
/**
|
|
175
|
-
* Average revenue per paying visitor
|
|
176
|
-
*/
|
|
177
|
-
avg_revenue_per_visitor?: number;
|
|
178
|
-
/**
|
|
179
|
-
* paying_visitors / unique_visitors \* 100
|
|
180
|
-
*/
|
|
181
|
-
conversion_rate?: number;
|
|
182
|
-
currency?: string;
|
|
183
134
|
origin?: string;
|
|
184
|
-
paying_visitors?: number;
|
|
185
|
-
payment_count?: number;
|
|
186
135
|
percentage?: number;
|
|
187
|
-
revenue_percentage?: number;
|
|
188
|
-
/**
|
|
189
|
-
* Revenue in smallest currency unit (cents)
|
|
190
|
-
*/
|
|
191
|
-
total_revenue?: number;
|
|
192
136
|
unique_visitors?: number;
|
|
193
137
|
}
|
|
194
138
|
export interface RecentEvent {
|
|
195
139
|
browser_name?: string;
|
|
140
|
+
click_element_category?: string;
|
|
141
|
+
click_element_selector?: string;
|
|
142
|
+
/**
|
|
143
|
+
* Click element details
|
|
144
|
+
*/
|
|
145
|
+
click_element_tag?: string;
|
|
146
|
+
click_element_text?: string;
|
|
147
|
+
/**
|
|
148
|
+
* Click element classification
|
|
149
|
+
*/
|
|
150
|
+
click_element_type?: string;
|
|
151
|
+
click_position_x?: number;
|
|
152
|
+
click_position_y?: number;
|
|
153
|
+
click_screen_height?: number;
|
|
154
|
+
click_screen_width?: number;
|
|
196
155
|
client_timestamp_utc?: string;
|
|
197
156
|
device_type?: string;
|
|
198
157
|
event_name?: string;
|
|
199
158
|
external_id?: string;
|
|
159
|
+
is_cta_click?: boolean;
|
|
160
|
+
is_download_link?: boolean;
|
|
161
|
+
is_external_link?: boolean;
|
|
162
|
+
link_destination?: string;
|
|
200
163
|
location_city?: string;
|
|
201
164
|
location_country_iso?: string;
|
|
202
165
|
location_latitude?: number;
|
|
@@ -220,21 +183,6 @@ export interface ReturnRateResponse {
|
|
|
220
183
|
returning_users?: number;
|
|
221
184
|
total_users?: number;
|
|
222
185
|
}
|
|
223
|
-
export interface RevenueByUtmResponse {
|
|
224
|
-
data?: Array<UtmRevenueDataPoint>;
|
|
225
|
-
}
|
|
226
|
-
export interface RevenueTimelineDataPoint {
|
|
227
|
-
currency?: string;
|
|
228
|
-
payment_count?: number;
|
|
229
|
-
timestamp?: string;
|
|
230
|
-
/**
|
|
231
|
-
* Revenue in smallest currency unit (cents)
|
|
232
|
-
*/
|
|
233
|
-
total_revenue?: number;
|
|
234
|
-
}
|
|
235
|
-
export interface RevenueTimelineResponse {
|
|
236
|
-
data?: Array<RevenueTimelineDataPoint>;
|
|
237
|
-
}
|
|
238
186
|
export interface SessionMetricsResponse {
|
|
239
187
|
average_pages_per_session?: number;
|
|
240
188
|
average_session_duration_seconds?: number;
|
|
@@ -242,7 +190,6 @@ export interface SessionMetricsResponse {
|
|
|
242
190
|
}
|
|
243
191
|
export interface TopVisitor {
|
|
244
192
|
browser_name?: string;
|
|
245
|
-
currency?: string;
|
|
246
193
|
device_type?: string;
|
|
247
194
|
event_count?: number;
|
|
248
195
|
external_id?: string;
|
|
@@ -250,11 +197,6 @@ export interface TopVisitor {
|
|
|
250
197
|
last_seen?: string;
|
|
251
198
|
location_city?: string;
|
|
252
199
|
location_country_iso?: string;
|
|
253
|
-
payment_count?: number;
|
|
254
|
-
/**
|
|
255
|
-
* Total revenue in smallest currency unit (cents)
|
|
256
|
-
*/
|
|
257
|
-
total_revenue?: number;
|
|
258
200
|
user_id?: string;
|
|
259
201
|
visitor_id?: string;
|
|
260
202
|
}
|
|
@@ -270,29 +212,6 @@ export interface UniqueVisitorsDataPoint {
|
|
|
270
212
|
export interface UniqueVisitorsTimelineResponse {
|
|
271
213
|
data?: Array<UniqueVisitorsDataPoint>;
|
|
272
214
|
}
|
|
273
|
-
export interface UtmRevenueDataPoint {
|
|
274
|
-
/**
|
|
275
|
-
* Average revenue per paying visitor
|
|
276
|
-
*/
|
|
277
|
-
avg_revenue_per_visitor?: number;
|
|
278
|
-
/**
|
|
279
|
-
* paying_visitors / unique_visitors \* 100
|
|
280
|
-
*/
|
|
281
|
-
conversion_rate?: number;
|
|
282
|
-
currency?: string;
|
|
283
|
-
paying_visitors?: number;
|
|
284
|
-
payment_count?: number;
|
|
285
|
-
revenue_percentage?: number;
|
|
286
|
-
/**
|
|
287
|
-
* Revenue in smallest currency unit (cents)
|
|
288
|
-
*/
|
|
289
|
-
total_revenue?: number;
|
|
290
|
-
unique_visitors?: number;
|
|
291
|
-
/**
|
|
292
|
-
* The UTM parameter value
|
|
293
|
-
*/
|
|
294
|
-
utm_value?: string;
|
|
295
|
-
}
|
|
296
215
|
export interface VisitorDataPoint {
|
|
297
216
|
desktop?: number;
|
|
298
217
|
mobile?: number;
|
|
@@ -301,28 +220,33 @@ export interface VisitorDataPoint {
|
|
|
301
220
|
}
|
|
302
221
|
export interface VisitorEvent {
|
|
303
222
|
browser_name?: string;
|
|
223
|
+
click_element_category?: string;
|
|
224
|
+
click_element_selector?: string;
|
|
225
|
+
/**
|
|
226
|
+
* Click element details
|
|
227
|
+
*/
|
|
228
|
+
click_element_tag?: string;
|
|
229
|
+
click_element_text?: string;
|
|
230
|
+
/**
|
|
231
|
+
* Click element classification
|
|
232
|
+
*/
|
|
233
|
+
click_element_type?: string;
|
|
234
|
+
click_position_x?: number;
|
|
235
|
+
click_position_y?: number;
|
|
236
|
+
click_screen_height?: number;
|
|
237
|
+
click_screen_width?: number;
|
|
304
238
|
client_timestamp_utc?: string;
|
|
305
239
|
device_type?: string;
|
|
306
240
|
event_name?: string;
|
|
241
|
+
is_cta_click?: boolean;
|
|
242
|
+
is_download_link?: boolean;
|
|
243
|
+
is_external_link?: boolean;
|
|
244
|
+
link_destination?: string;
|
|
307
245
|
page_path?: string;
|
|
308
246
|
page_url?: string;
|
|
309
247
|
referrer_url?: string;
|
|
310
248
|
}
|
|
311
|
-
export interface VisitorPayment {
|
|
312
|
-
amount?: number;
|
|
313
|
-
currency?: string;
|
|
314
|
-
payment_id?: string;
|
|
315
|
-
payment_timestamp?: string;
|
|
316
|
-
product_name?: string;
|
|
317
|
-
provider_type?: string;
|
|
318
|
-
status?: string;
|
|
319
|
-
}
|
|
320
249
|
export interface VisitorProfileResponse {
|
|
321
|
-
/**
|
|
322
|
-
* Average payment amount
|
|
323
|
-
*/
|
|
324
|
-
avg_order_value?: number;
|
|
325
|
-
currency?: string;
|
|
326
250
|
custom_traits?: {
|
|
327
251
|
[key: string]: unknown;
|
|
328
252
|
};
|
|
@@ -331,25 +255,17 @@ export interface VisitorProfileResponse {
|
|
|
331
255
|
events_over_time?: Array<EventsOverTimeDataPoint>;
|
|
332
256
|
external_id?: string;
|
|
333
257
|
first_identified_at?: string;
|
|
334
|
-
first_payment_date?: string;
|
|
335
258
|
first_referrer_url?: string;
|
|
336
259
|
first_seen?: string;
|
|
337
260
|
first_traffic_origin?: string;
|
|
338
261
|
is_identified?: boolean;
|
|
339
262
|
last_identified_at?: string;
|
|
340
|
-
last_payment_date?: string;
|
|
341
263
|
last_seen?: string;
|
|
342
264
|
location_city?: string;
|
|
343
265
|
location_country_iso?: string;
|
|
344
266
|
name?: string;
|
|
345
|
-
payment_count?: number;
|
|
346
|
-
payments?: Array<VisitorPayment>;
|
|
347
267
|
phone?: string;
|
|
348
268
|
total_events?: number;
|
|
349
|
-
/**
|
|
350
|
-
* Revenue fields
|
|
351
|
-
*/
|
|
352
|
-
total_revenue?: number;
|
|
353
269
|
user_id?: string;
|
|
354
270
|
visitor_id?: string;
|
|
355
271
|
}
|
|
@@ -373,10 +289,9 @@ export interface AnalyticsDashboardParams {
|
|
|
373
289
|
time_range: 'last_hour' | 'today' | 'last_7_days' | 'last_30_days' | 'last_90_days';
|
|
374
290
|
}
|
|
375
291
|
export declare namespace Analytics {
|
|
376
|
-
export { type ActiveUsersResponse as ActiveUsersResponse, type BounceRateByPageMetric as BounceRateByPageMetric, type BounceRateResponse as BounceRateResponse, type ChurnRateResponse as ChurnRateResponse, type CohortAnalysisResponse as CohortAnalysisResponse, type CohortData as CohortData, type CountryDataPoint as CountryDataPoint, type DashboardMetricsResponse as DashboardMetricsResponse, type EventFilterOptionsResponse as EventFilterOptionsResponse, type EventsOverTimeDataPoint as EventsOverTimeDataPoint, type ManualIdentifyRequest as ManualIdentifyRequest, type ManualIdentifyResponse as ManualIdentifyResponse, type OriginDataPoint as OriginDataPoint, type RecentEvent as RecentEvent, type RecentEventsResponse as RecentEventsResponse, type ReturnRateResponse as ReturnRateResponse, type
|
|
292
|
+
export { type ActiveUsersResponse as ActiveUsersResponse, type BounceRateByPageMetric as BounceRateByPageMetric, type BounceRateResponse as BounceRateResponse, type ChurnRateResponse as ChurnRateResponse, type CohortAnalysisResponse as CohortAnalysisResponse, type CohortData as CohortData, type CountryDataPoint as CountryDataPoint, type DashboardMetricsResponse as DashboardMetricsResponse, type EventFilterOptionsResponse as EventFilterOptionsResponse, type EventsOverTimeDataPoint as EventsOverTimeDataPoint, type ManualIdentifyRequest as ManualIdentifyRequest, type ManualIdentifyResponse as ManualIdentifyResponse, type OriginDataPoint as OriginDataPoint, type RecentEvent as RecentEvent, type RecentEventsResponse as RecentEventsResponse, type ReturnRateResponse as ReturnRateResponse, type SessionMetricsResponse as SessionMetricsResponse, type TopVisitor as TopVisitor, type TopVisitorsResponse as TopVisitorsResponse, type UniqueVisitorsDataPoint as UniqueVisitorsDataPoint, type UniqueVisitorsTimelineResponse as UniqueVisitorsTimelineResponse, type VisitorDataPoint as VisitorDataPoint, type VisitorEvent as VisitorEvent, type VisitorProfileResponse as VisitorProfileResponse, type VisitorsByCountryResponse as VisitorsByCountryResponse, type VisitorsByDeviceResponse as VisitorsByDeviceResponse, type VisitorsByOriginResponse as VisitorsByOriginResponse, type AnalyticsDashboardParams as AnalyticsDashboardParams, };
|
|
377
293
|
export { Visitors as Visitors, type VisitorByCountryParams as VisitorByCountryParams, type VisitorByDeviceParams as VisitorByDeviceParams, type VisitorByOriginParams as VisitorByOriginParams, type VisitorIdentifyParams as VisitorIdentifyParams, type VisitorProfileParams as VisitorProfileParams, type VisitorTimelineParams as VisitorTimelineParams, type VisitorTopParams as VisitorTopParams, };
|
|
378
294
|
export { Events as Events, type EventFilterOptionsParams as EventFilterOptionsParams, type EventRecentParams as EventRecentParams, };
|
|
379
|
-
export { Revenue as Revenue, type RevenueByUtmParams as RevenueByUtmParams, type RevenueTimelineParams as RevenueTimelineParams, };
|
|
380
295
|
export { Sessions as Sessions, type SessionBounceRateParams as SessionBounceRateParams, type SessionMetricsParams as SessionMetricsParams, };
|
|
381
296
|
export { Users as Users, type UserActiveParams as UserActiveParams };
|
|
382
297
|
export { Retention as Retention, type RetentionChurnRateParams as RetentionChurnRateParams, type RetentionCohortsParams as RetentionCohortsParams, type RetentionReturnRateParams as RetentionReturnRateParams, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"analytics.d.ts","sourceRoot":"","sources":["../../../src/resources/v1/analytics/analytics.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAE,wBAAwB,EAAE,iBAAiB,EAAE,MAAM,EAAE;OACvD,KAAK,YAAY;OACjB,EACL,SAAS,EACT,wBAAwB,EACxB,sBAAsB,EACtB,yBAAyB,EAC1B;OACM,KAAK,
|
|
1
|
+
{"version":3,"file":"analytics.d.ts","sourceRoot":"","sources":["../../../src/resources/v1/analytics/analytics.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAE,wBAAwB,EAAE,iBAAiB,EAAE,MAAM,EAAE;OACvD,KAAK,YAAY;OACjB,EACL,SAAS,EACT,wBAAwB,EACxB,sBAAsB,EACtB,yBAAyB,EAC1B;OACM,KAAK,WAAW;OAChB,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,QAAQ,EAAE;OAC3D,KAAK,QAAQ;OACb,EAAE,gBAAgB,EAAE,KAAK,EAAE;OAC3B,KAAK,WAAW;OAChB,EACL,sBAAsB,EACtB,qBAAqB,EACrB,qBAAqB,EACrB,qBAAqB,EACrB,oBAAoB,EAC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,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;IAEF,OAAO,EACL,QAAQ,IAAI,QAAQ,EACpB,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;IAEF,OAAO,EACL,MAAM,IAAI,MAAM,EAChB,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;IAEF,OAAO,EACL,QAAQ,IAAI,QAAQ,EACpB,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;IAEF,OAAO,EAAE,KAAK,IAAI,KAAK,EAAE,KAAK,gBAAgB,IAAI,gBAAgB,EAAE,CAAC;IAErE,OAAO,EACL,SAAS,IAAI,SAAS,EACtB,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;CACH"}
|
|
@@ -8,8 +8,6 @@ const EventsAPI = tslib_1.__importStar(require("./events.js"));
|
|
|
8
8
|
const events_1 = require("./events.js");
|
|
9
9
|
const RetentionAPI = tslib_1.__importStar(require("./retention.js"));
|
|
10
10
|
const retention_1 = require("./retention.js");
|
|
11
|
-
const RevenueAPI = tslib_1.__importStar(require("./revenue.js"));
|
|
12
|
-
const revenue_1 = require("./revenue.js");
|
|
13
11
|
const SessionsAPI = tslib_1.__importStar(require("./sessions.js"));
|
|
14
12
|
const sessions_1 = require("./sessions.js");
|
|
15
13
|
const UsersAPI = tslib_1.__importStar(require("./users.js"));
|
|
@@ -21,7 +19,6 @@ class Analytics extends resource_1.APIResource {
|
|
|
21
19
|
super(...arguments);
|
|
22
20
|
this.visitors = new VisitorsAPI.Visitors(this._client);
|
|
23
21
|
this.events = new EventsAPI.Events(this._client);
|
|
24
|
-
this.revenue = new RevenueAPI.Revenue(this._client);
|
|
25
22
|
this.sessions = new SessionsAPI.Sessions(this._client);
|
|
26
23
|
this.users = new UsersAPI.Users(this._client);
|
|
27
24
|
this.retention = new RetentionAPI.Retention(this._client);
|
|
@@ -46,7 +43,6 @@ class Analytics extends resource_1.APIResource {
|
|
|
46
43
|
exports.Analytics = Analytics;
|
|
47
44
|
Analytics.Visitors = visitors_1.Visitors;
|
|
48
45
|
Analytics.Events = events_1.Events;
|
|
49
|
-
Analytics.Revenue = revenue_1.Revenue;
|
|
50
46
|
Analytics.Sessions = sessions_1.Sessions;
|
|
51
47
|
Analytics.Users = users_1.Users;
|
|
52
48
|
Analytics.Retention = retention_1.Retention;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"analytics.js","sourceRoot":"","sources":["../../../src/resources/v1/analytics/analytics.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AACrD,+DAAsC;AACtC,wCAA+E;AAC/E,qEAA4C;AAC5C,8CAKqB;AACrB,
|
|
1
|
+
{"version":3,"file":"analytics.js","sourceRoot":"","sources":["../../../src/resources/v1/analytics/analytics.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AACrD,+DAAsC;AACtC,wCAA+E;AAC/E,qEAA4C;AAC5C,8CAKqB;AACrB,mEAA0C;AAC1C,4CAAqF;AACrF,6DAAoC;AACpC,sCAAkD;AAClD,mEAA0C;AAC1C,4CASoB;AAIpB,MAAa,SAAU,SAAQ,sBAAW;IAA1C;;QACE,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxE,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC9D,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxE,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACzD,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAkB/E,CAAC;IAhBC;;;;;;;;;;;;OAYG;IACH,SAAS,CAAC,KAA+B,EAAE,OAAwB;QACjE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,6BAA6B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;CACF;AAvBD,8BAuBC;AA2ZD,SAAS,CAAC,QAAQ,GAAG,mBAAQ,CAAC;AAC9B,SAAS,CAAC,MAAM,GAAG,eAAM,CAAC;AAC1B,SAAS,CAAC,QAAQ,GAAG,mBAAQ,CAAC;AAC9B,SAAS,CAAC,KAAK,GAAG,aAAK,CAAC;AACxB,SAAS,CAAC,SAAS,GAAG,qBAAS,CAAC"}
|
|
@@ -4,8 +4,6 @@ import * as EventsAPI from "./events.mjs";
|
|
|
4
4
|
import { Events } from "./events.mjs";
|
|
5
5
|
import * as RetentionAPI from "./retention.mjs";
|
|
6
6
|
import { Retention, } from "./retention.mjs";
|
|
7
|
-
import * as RevenueAPI from "./revenue.mjs";
|
|
8
|
-
import { Revenue } from "./revenue.mjs";
|
|
9
7
|
import * as SessionsAPI from "./sessions.mjs";
|
|
10
8
|
import { Sessions } from "./sessions.mjs";
|
|
11
9
|
import * as UsersAPI from "./users.mjs";
|
|
@@ -17,7 +15,6 @@ export class Analytics extends APIResource {
|
|
|
17
15
|
super(...arguments);
|
|
18
16
|
this.visitors = new VisitorsAPI.Visitors(this._client);
|
|
19
17
|
this.events = new EventsAPI.Events(this._client);
|
|
20
|
-
this.revenue = new RevenueAPI.Revenue(this._client);
|
|
21
18
|
this.sessions = new SessionsAPI.Sessions(this._client);
|
|
22
19
|
this.users = new UsersAPI.Users(this._client);
|
|
23
20
|
this.retention = new RetentionAPI.Retention(this._client);
|
|
@@ -41,7 +38,6 @@ export class Analytics extends APIResource {
|
|
|
41
38
|
}
|
|
42
39
|
Analytics.Visitors = Visitors;
|
|
43
40
|
Analytics.Events = Events;
|
|
44
|
-
Analytics.Revenue = Revenue;
|
|
45
41
|
Analytics.Sessions = Sessions;
|
|
46
42
|
Analytics.Users = Users;
|
|
47
43
|
Analytics.Retention = Retention;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"analytics.mjs","sourceRoot":"","sources":["../../../src/resources/v1/analytics/analytics.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAA+C,MAAM,EAAE;OACvD,KAAK,YAAY;OACjB,EACL,SAAS,GAIV;OACM,KAAK,
|
|
1
|
+
{"version":3,"file":"analytics.mjs","sourceRoot":"","sources":["../../../src/resources/v1/analytics/analytics.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAA+C,MAAM,EAAE;OACvD,KAAK,YAAY;OACjB,EACL,SAAS,GAIV;OACM,KAAK,WAAW;OAChB,EAAiD,QAAQ,EAAE;OAC3D,KAAK,QAAQ;OACb,EAAoB,KAAK,EAAE;OAC3B,KAAK,WAAW;OAChB,EAQL,QAAQ,GACT;AAID,MAAM,OAAO,SAAU,SAAQ,WAAW;IAA1C;;QACE,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxE,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC9D,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxE,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACzD,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAkB/E,CAAC;IAhBC;;;;;;;;;;;;OAYG;IACH,SAAS,CAAC,KAA+B,EAAE,OAAwB;QACjE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,6BAA6B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;CACF;AA2ZD,SAAS,CAAC,QAAQ,GAAG,QAAQ,CAAC;AAC9B,SAAS,CAAC,MAAM,GAAG,MAAM,CAAC;AAC1B,SAAS,CAAC,QAAQ,GAAG,QAAQ,CAAC;AAC9B,SAAS,CAAC,KAAK,GAAG,KAAK,CAAC;AACxB,SAAS,CAAC,SAAS,GAAG,SAAS,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
export { Analytics, type ActiveUsersResponse, type BounceRateByPageMetric, type BounceRateResponse, type ChurnRateResponse, type CohortAnalysisResponse, type CohortData, type CountryDataPoint, type DashboardMetricsResponse, type EventFilterOptionsResponse, type EventsOverTimeDataPoint, type ManualIdentifyRequest, type ManualIdentifyResponse, type OriginDataPoint, type RecentEvent, type RecentEventsResponse, type ReturnRateResponse, type
|
|
1
|
+
export { Analytics, type ActiveUsersResponse, type BounceRateByPageMetric, type BounceRateResponse, type ChurnRateResponse, type CohortAnalysisResponse, type CohortData, type CountryDataPoint, type DashboardMetricsResponse, type EventFilterOptionsResponse, type EventsOverTimeDataPoint, type ManualIdentifyRequest, type ManualIdentifyResponse, type OriginDataPoint, type RecentEvent, type RecentEventsResponse, type ReturnRateResponse, type SessionMetricsResponse, type TopVisitor, type TopVisitorsResponse, type UniqueVisitorsDataPoint, type UniqueVisitorsTimelineResponse, type VisitorDataPoint, type VisitorEvent, type VisitorProfileResponse, type VisitorsByCountryResponse, type VisitorsByDeviceResponse, type VisitorsByOriginResponse, type AnalyticsDashboardParams, } from "./analytics.mjs";
|
|
2
2
|
export { Events, type EventFilterOptionsParams, type EventRecentParams } from "./events.mjs";
|
|
3
3
|
export { Retention, type RetentionChurnRateParams, type RetentionCohortsParams, type RetentionReturnRateParams, } from "./retention.mjs";
|
|
4
|
-
export { Revenue, type RevenueByUtmParams, type RevenueTimelineParams } from "./revenue.mjs";
|
|
5
4
|
export { Sessions, type SessionBounceRateParams, type SessionMetricsParams } from "./sessions.mjs";
|
|
6
5
|
export { Users, type UserActiveParams } from "./users.mjs";
|
|
7
6
|
export { Visitors, type VisitorByCountryParams, type VisitorByDeviceParams, type VisitorByOriginParams, type VisitorIdentifyParams, type VisitorProfileParams, type VisitorTimelineParams, type VisitorTopParams, } from "./visitors.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/v1/analytics/index.ts"],"names":[],"mappings":"OAEO,EACL,SAAS,EACT,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,EAC3B,KAAK,UAAU,EACf,KAAK,gBAAgB,EACrB,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/v1/analytics/index.ts"],"names":[],"mappings":"OAEO,EACL,SAAS,EACT,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,EAC3B,KAAK,UAAU,EACf,KAAK,gBAAgB,EACrB,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,UAAU,EACf,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,8BAA8B,EACnC,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACjB,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,GAC9B;OACM,EAAE,MAAM,EAAE,KAAK,wBAAwB,EAAE,KAAK,iBAAiB,EAAE;OACjE,EACL,SAAS,EACT,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,GAC/B;OACM,EAAE,QAAQ,EAAE,KAAK,uBAAuB,EAAE,KAAK,oBAAoB,EAAE;OACrE,EAAE,KAAK,EAAE,KAAK,gBAAgB,EAAE;OAChC,EACL,QAAQ,EACR,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,GACtB"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
export { Analytics, type ActiveUsersResponse, type BounceRateByPageMetric, type BounceRateResponse, type ChurnRateResponse, type CohortAnalysisResponse, type CohortData, type CountryDataPoint, type DashboardMetricsResponse, type EventFilterOptionsResponse, type EventsOverTimeDataPoint, type ManualIdentifyRequest, type ManualIdentifyResponse, type OriginDataPoint, type RecentEvent, type RecentEventsResponse, type ReturnRateResponse, type
|
|
1
|
+
export { Analytics, type ActiveUsersResponse, type BounceRateByPageMetric, type BounceRateResponse, type ChurnRateResponse, type CohortAnalysisResponse, type CohortData, type CountryDataPoint, type DashboardMetricsResponse, type EventFilterOptionsResponse, type EventsOverTimeDataPoint, type ManualIdentifyRequest, type ManualIdentifyResponse, type OriginDataPoint, type RecentEvent, type RecentEventsResponse, type ReturnRateResponse, type SessionMetricsResponse, type TopVisitor, type TopVisitorsResponse, type UniqueVisitorsDataPoint, type UniqueVisitorsTimelineResponse, type VisitorDataPoint, type VisitorEvent, type VisitorProfileResponse, type VisitorsByCountryResponse, type VisitorsByDeviceResponse, type VisitorsByOriginResponse, type AnalyticsDashboardParams, } from "./analytics.js";
|
|
2
2
|
export { Events, type EventFilterOptionsParams, type EventRecentParams } from "./events.js";
|
|
3
3
|
export { Retention, type RetentionChurnRateParams, type RetentionCohortsParams, type RetentionReturnRateParams, } from "./retention.js";
|
|
4
|
-
export { Revenue, type RevenueByUtmParams, type RevenueTimelineParams } from "./revenue.js";
|
|
5
4
|
export { Sessions, type SessionBounceRateParams, type SessionMetricsParams } from "./sessions.js";
|
|
6
5
|
export { Users, type UserActiveParams } from "./users.js";
|
|
7
6
|
export { Visitors, type VisitorByCountryParams, type VisitorByDeviceParams, type VisitorByOriginParams, type VisitorIdentifyParams, type VisitorProfileParams, type VisitorTimelineParams, type VisitorTopParams, } from "./visitors.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/v1/analytics/index.ts"],"names":[],"mappings":"OAEO,EACL,SAAS,EACT,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,EAC3B,KAAK,UAAU,EACf,KAAK,gBAAgB,EACrB,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,uBAAuB,EAC5B,KAA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,GACtB"}
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Visitors = exports.Users = exports.Sessions = exports.
|
|
4
|
+
exports.Visitors = exports.Users = exports.Sessions = exports.Retention = exports.Events = exports.Analytics = void 0;
|
|
5
5
|
var analytics_1 = require("./analytics.js");
|
|
6
6
|
Object.defineProperty(exports, "Analytics", { enumerable: true, get: function () { return analytics_1.Analytics; } });
|
|
7
7
|
var events_1 = require("./events.js");
|
|
8
8
|
Object.defineProperty(exports, "Events", { enumerable: true, get: function () { return events_1.Events; } });
|
|
9
9
|
var retention_1 = require("./retention.js");
|
|
10
10
|
Object.defineProperty(exports, "Retention", { enumerable: true, get: function () { return retention_1.Retention; } });
|
|
11
|
-
var revenue_1 = require("./revenue.js");
|
|
12
|
-
Object.defineProperty(exports, "Revenue", { enumerable: true, get: function () { return revenue_1.Revenue; } });
|
|
13
11
|
var sessions_1 = require("./sessions.js");
|
|
14
12
|
Object.defineProperty(exports, "Sessions", { enumerable: true, get: function () { return sessions_1.Sessions; } });
|
|
15
13
|
var users_1 = require("./users.js");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/v1/analytics/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/v1/analytics/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,4CA8BqB;AA7BnB,sGAAA,SAAS,OAAA;AA8BX,sCAAyF;AAAhF,gGAAA,MAAM,OAAA;AACf,4CAKqB;AAJnB,sGAAA,SAAS,OAAA;AAKX,0CAA+F;AAAtF,oGAAA,QAAQ,OAAA;AACjB,oCAAuD;AAA9C,8FAAA,KAAK,OAAA;AACd,0CASoB;AARlB,oGAAA,QAAQ,OAAA"}
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
export { Analytics, } from "./analytics.mjs";
|
|
3
3
|
export { Events } from "./events.mjs";
|
|
4
4
|
export { Retention, } from "./retention.mjs";
|
|
5
|
-
export { Revenue } from "./revenue.mjs";
|
|
6
5
|
export { Sessions } from "./sessions.mjs";
|
|
7
6
|
export { Users } from "./users.mjs";
|
|
8
7
|
export { Visitors, } from "./visitors.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/v1/analytics/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,SAAS,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/v1/analytics/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,SAAS,GA6BV;OACM,EAAE,MAAM,EAAyD;OACjE,EACL,SAAS,GAIV;OACM,EAAE,QAAQ,EAA2D;OACrE,EAAE,KAAK,EAAyB;OAChC,EACL,QAAQ,GAQT"}
|
package/resources/v1/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { Analytics, type ActiveUsersResponse, type BounceRateByPageMetric, type BounceRateResponse, type ChurnRateResponse, type CohortAnalysisResponse, type CohortData, type CountryDataPoint, type DashboardMetricsResponse, type EventFilterOptionsResponse, type EventsOverTimeDataPoint, type ManualIdentifyRequest, type ManualIdentifyResponse, type OriginDataPoint, type RecentEvent, type RecentEventsResponse, type ReturnRateResponse, type
|
|
2
|
-
export {
|
|
3
|
-
export { PaymentProviders, type CreatePaymentProviderRequest, type ListPaymentProvidersResponse, type PaymentProviderResponse, type UpdatePaymentProviderRequest, type PaymentProviderDeleteResponse, type PaymentProviderCreateParams, type PaymentProviderUpdateParams, type PaymentProviderListParams, } from "./payment-providers.mjs";
|
|
1
|
+
export { Analytics, type ActiveUsersResponse, type BounceRateByPageMetric, type BounceRateResponse, type ChurnRateResponse, type CohortAnalysisResponse, type CohortData, type CountryDataPoint, type DashboardMetricsResponse, type EventFilterOptionsResponse, type EventsOverTimeDataPoint, type ManualIdentifyRequest, type ManualIdentifyResponse, type OriginDataPoint, type RecentEvent, type RecentEventsResponse, type ReturnRateResponse, type SessionMetricsResponse, type TopVisitor, type TopVisitorsResponse, type UniqueVisitorsDataPoint, type UniqueVisitorsTimelineResponse, type VisitorDataPoint, type VisitorEvent, type VisitorProfileResponse, type VisitorsByCountryResponse, type VisitorsByDeviceResponse, type VisitorsByOriginResponse, type AnalyticsDashboardParams, } from "./analytics/index.mjs";
|
|
2
|
+
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.mjs";
|
|
4
3
|
export { Projects, type CreateProjectRequest, type ListProjectsResponse, type Project, type ProjectResponse, type UpdateProjectRequest, type ProjectDeleteResponse, type ProjectCreateParams, type ProjectUpdateParams, } from "./projects.mjs";
|
|
4
|
+
export { Revenue, type AttributionByOriginResponse, type AttributionByUtmResponse, type ConversionMetricsResponse, type CustomerProfileResponse, type DashboardResponse, type OriginAttributionDataPoint, type Payment, type RevenueOverTimeDataPoint, type TimelineDataPoint, type TimelineResponse, type TopCustomer, type TopCustomersResponse, type UtmAttributionDataPoint, type RevenueDashboardParams, type RevenueTimelineParams, } from "./revenue/index.mjs";
|
|
5
5
|
export { V1 } from "./v1.mjs";
|
|
6
6
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/v1/index.ts"],"names":[],"mappings":"OAEO,EACL,SAAS,EACT,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,kB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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"}
|
package/resources/v1/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { Analytics, type ActiveUsersResponse, type BounceRateByPageMetric, type BounceRateResponse, type ChurnRateResponse, type CohortAnalysisResponse, type CohortData, type CountryDataPoint, type DashboardMetricsResponse, type EventFilterOptionsResponse, type EventsOverTimeDataPoint, type ManualIdentifyRequest, type ManualIdentifyResponse, type OriginDataPoint, type RecentEvent, type RecentEventsResponse, type ReturnRateResponse, type
|
|
2
|
-
export {
|
|
3
|
-
export { PaymentProviders, type CreatePaymentProviderRequest, type ListPaymentProvidersResponse, type PaymentProviderResponse, type UpdatePaymentProviderRequest, type PaymentProviderDeleteResponse, type PaymentProviderCreateParams, type PaymentProviderUpdateParams, type PaymentProviderListParams, } from "./payment-providers.js";
|
|
1
|
+
export { Analytics, type ActiveUsersResponse, type BounceRateByPageMetric, type BounceRateResponse, type ChurnRateResponse, type CohortAnalysisResponse, type CohortData, type CountryDataPoint, type DashboardMetricsResponse, type EventFilterOptionsResponse, type EventsOverTimeDataPoint, type ManualIdentifyRequest, type ManualIdentifyResponse, type OriginDataPoint, type RecentEvent, type RecentEventsResponse, type ReturnRateResponse, type SessionMetricsResponse, type TopVisitor, type TopVisitorsResponse, type UniqueVisitorsDataPoint, type UniqueVisitorsTimelineResponse, type VisitorDataPoint, type VisitorEvent, type VisitorProfileResponse, type VisitorsByCountryResponse, type VisitorsByDeviceResponse, type VisitorsByOriginResponse, type AnalyticsDashboardParams, } from "./analytics/index.js";
|
|
2
|
+
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.js";
|
|
4
3
|
export { Projects, type CreateProjectRequest, type ListProjectsResponse, type Project, type ProjectResponse, type UpdateProjectRequest, type ProjectDeleteResponse, type ProjectCreateParams, type ProjectUpdateParams, } from "./projects.js";
|
|
4
|
+
export { Revenue, type AttributionByOriginResponse, type AttributionByUtmResponse, type ConversionMetricsResponse, type CustomerProfileResponse, type DashboardResponse, type OriginAttributionDataPoint, type Payment, type RevenueOverTimeDataPoint, type TimelineDataPoint, type TimelineResponse, type TopCustomer, type TopCustomersResponse, type UtmAttributionDataPoint, type RevenueDashboardParams, type RevenueTimelineParams, } from "./revenue/index.js";
|
|
5
5
|
export { V1 } from "./v1.js";
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/v1/index.ts"],"names":[],"mappings":"OAEO,EACL,SAAS,EACT,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,EAC3B,KAAK,UAAU,EACf,KAAK,gBAAgB,EACrB,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/v1/index.ts"],"names":[],"mappings":"OAEO,EACL,SAAS,EACT,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,EAC3B,KAAK,UAAU,EACf,KAAK,gBAAgB,EACrB,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,UAAU,EACf,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,8BAA8B,EACnC,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACjB,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,GAC9B;OACM,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"}
|
package/resources/v1/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.V1 = exports.
|
|
4
|
+
exports.V1 = exports.Revenue = exports.Projects = exports.PaymentProviders = exports.Analytics = void 0;
|
|
5
5
|
var index_1 = require("./analytics/index.js");
|
|
6
6
|
Object.defineProperty(exports, "Analytics", { enumerable: true, get: function () { return index_1.Analytics; } });
|
|
7
|
-
var auth_1 = require("./auth.js");
|
|
8
|
-
Object.defineProperty(exports, "Auth", { enumerable: true, get: function () { return auth_1.Auth; } });
|
|
9
7
|
var payment_providers_1 = require("./payment-providers.js");
|
|
10
8
|
Object.defineProperty(exports, "PaymentProviders", { enumerable: true, get: function () { return payment_providers_1.PaymentProviders; } });
|
|
11
9
|
var projects_1 = require("./projects.js");
|
|
12
10
|
Object.defineProperty(exports, "Projects", { enumerable: true, get: function () { return projects_1.Projects; } });
|
|
11
|
+
var index_2 = require("./revenue/index.js");
|
|
12
|
+
Object.defineProperty(exports, "Revenue", { enumerable: true, get: function () { return index_2.Revenue; } });
|
|
13
13
|
var v1_1 = require("./v1.js");
|
|
14
14
|
Object.defineProperty(exports, "V1", { enumerable: true, get: function () { return v1_1.V1; } });
|
|
15
15
|
//# sourceMappingURL=index.js.map
|
|
@@ -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,8CA8B2B;AA7BzB,kGAAA,SAAS,OAAA;AA8BX,4DAa6B;AAZ3B,qHAAA,gBAAgB,OAAA;AAalB,0CAUoB;AATlB,oGAAA,QAAQ,OAAA;AAUV,4CAiByB;AAhBvB,gGAAA,OAAO,OAAA;AAiBT,8BAA0B;AAAjB,wFAAA,EAAE,OAAA"}
|
package/resources/v1/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
export { Analytics, } from "./analytics/index.mjs";
|
|
3
|
-
export { Auth, } from "./auth.mjs";
|
|
4
3
|
export { PaymentProviders, } from "./payment-providers.mjs";
|
|
5
4
|
export { Projects, } from "./projects.mjs";
|
|
5
|
+
export { Revenue, } from "./revenue/index.mjs";
|
|
6
6
|
export { V1 } from "./v1.mjs";
|
|
7
7
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -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,GA6BV;OACM,EACL,gBAAgB,GAYjB;OACM,EACL,QAAQ,GAST;OACM,EACL,OAAO,GAgBR;OACM,EAAE,EAAE,EAAE"}
|