@wix/analytics-session 1.0.5 → 1.0.7
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/analytics-session",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"type-bundles"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@wix/analytics-session_analytics-session": "1.0.
|
|
21
|
+
"@wix/analytics-session_analytics-session": "1.0.7"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"glob": "^10.4.1",
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"fqdn": ""
|
|
43
43
|
}
|
|
44
44
|
},
|
|
45
|
-
"falconPackageHash": "
|
|
45
|
+
"falconPackageHash": "63182cb26763192cc4c7d79f14ec1d819bcee771b12626afe2ea45c2"
|
|
46
46
|
}
|
|
@@ -131,7 +131,9 @@ declare enum DeviceType {
|
|
|
131
131
|
/** Mobile. */
|
|
132
132
|
MOBILE = "MOBILE",
|
|
133
133
|
/** Tablet. */
|
|
134
|
-
TABLET = "TABLET"
|
|
134
|
+
TABLET = "TABLET",
|
|
135
|
+
/** All. */
|
|
136
|
+
ALL = "ALL"
|
|
135
137
|
}
|
|
136
138
|
/** List sessions async response. */
|
|
137
139
|
interface ListSessionsAsyncResponse {
|
|
@@ -141,11 +143,11 @@ interface ListSessionsAsyncResponse {
|
|
|
141
143
|
/** Get list sessions job result request. */
|
|
142
144
|
interface GetListSessionsJobResultRequest {
|
|
143
145
|
/** List sessions job ID. */
|
|
144
|
-
jobId
|
|
146
|
+
jobId: string;
|
|
145
147
|
/** Number of items to load. */
|
|
146
|
-
limit
|
|
148
|
+
limit: number;
|
|
147
149
|
/** Number of items to skip in the current sort order. */
|
|
148
|
-
offset
|
|
150
|
+
offset: number;
|
|
149
151
|
}
|
|
150
152
|
/** Get list sessions job result response. */
|
|
151
153
|
interface GetListSessionsJobResultResponse {
|
|
@@ -175,88 +177,25 @@ declare enum JobStatus {
|
|
|
175
177
|
/** Request for getting store conversion sessions. */
|
|
176
178
|
interface CountFunnelSessionsRequest extends CountFunnelSessionsRequestPeriodOneOf {
|
|
177
179
|
/** Custom time period with start & end dates. */
|
|
178
|
-
|
|
180
|
+
customTimePeriod?: CustomTimePeriod;
|
|
179
181
|
/** Predefined time period. */
|
|
180
|
-
|
|
182
|
+
predefinedTimePeriod?: PredefinedTimePeriod;
|
|
181
183
|
/** User timezone. If not provided it will be taken from site properties. */
|
|
182
184
|
timezone?: string | null;
|
|
183
185
|
}
|
|
184
186
|
/** @oneof */
|
|
185
187
|
interface CountFunnelSessionsRequestPeriodOneOf {
|
|
186
188
|
/** Custom time period with start & end dates. */
|
|
187
|
-
|
|
189
|
+
customTimePeriod?: CustomTimePeriod;
|
|
188
190
|
/** Predefined time period. */
|
|
189
|
-
|
|
190
|
-
}
|
|
191
|
-
/** Custom period. Doesn't have comparison period, so use with SELECTED_PERIOD. */
|
|
192
|
-
interface CustomPeriod {
|
|
193
|
-
/** Custom period start date in provided timezone. By default in UTC. */
|
|
194
|
-
start?: string;
|
|
195
|
-
/** Custom period end date in provided timezone. By default in UTC. */
|
|
196
|
-
end?: string;
|
|
197
|
-
}
|
|
198
|
-
/** Predefined period. Could be used with comparison period. */
|
|
199
|
-
interface PredefinedPeriod {
|
|
200
|
-
/** Predefined period type. */
|
|
201
|
-
period?: PredefinedPeriodEnum;
|
|
202
|
-
}
|
|
203
|
-
/** Query period. */
|
|
204
|
-
declare enum PredefinedPeriodEnum {
|
|
205
|
-
/** Today. */
|
|
206
|
-
TODAY = "TODAY",
|
|
207
|
-
/** Yesterday. */
|
|
208
|
-
YESTERDAY = "YESTERDAY",
|
|
209
|
-
/** Last 7 days. */
|
|
210
|
-
LAST_7_DAYS = "LAST_7_DAYS",
|
|
211
|
-
/** Lat 14 days. */
|
|
212
|
-
LAST_14_DAYS = "LAST_14_DAYS",
|
|
213
|
-
/** Last 30 days. */
|
|
214
|
-
LAST_30_DAYS = "LAST_30_DAYS",
|
|
215
|
-
/** Last 90 days. */
|
|
216
|
-
LAST_90_DAYS = "LAST_90_DAYS",
|
|
217
|
-
/** Last 28 days. */
|
|
218
|
-
LAST_28_DAYS = "LAST_28_DAYS",
|
|
219
|
-
/** Last 180 days. */
|
|
220
|
-
LAST_180_DAYS = "LAST_180_DAYS",
|
|
221
|
-
/** Last 365 days. */
|
|
222
|
-
LAST_365_DAYS = "LAST_365_DAYS",
|
|
223
|
-
/** Current week. Week start is Monday. */
|
|
224
|
-
THIS_WEEK = "THIS_WEEK",
|
|
225
|
-
/** Current month. */
|
|
226
|
-
THIS_MONTH = "THIS_MONTH",
|
|
227
|
-
/** Current quater. */
|
|
228
|
-
THIS_QUATER = "THIS_QUATER",
|
|
229
|
-
/** This year. */
|
|
230
|
-
THIS_YEAR = "THIS_YEAR",
|
|
231
|
-
/** Last week (previous week). */
|
|
232
|
-
LAST_WEEK = "LAST_WEEK",
|
|
233
|
-
/** Last month. */
|
|
234
|
-
LAST_MONTH = "LAST_MONTH",
|
|
235
|
-
/** Last quater. */
|
|
236
|
-
LAST_QUATER = "LAST_QUATER",
|
|
237
|
-
/** Last year. */
|
|
238
|
-
LAST_YEAR = "LAST_YEAR",
|
|
239
|
-
/** Last 7 days up until yesterday. */
|
|
240
|
-
LAST_7_DAYS_BEFORE_TODAY = "LAST_7_DAYS_BEFORE_TODAY",
|
|
241
|
-
/** Lat 14 days up until yesterday. */
|
|
242
|
-
LAST_14_DAYS_BEFORE_TODAY = "LAST_14_DAYS_BEFORE_TODAY",
|
|
243
|
-
/** Last 30 days up until yesterday. */
|
|
244
|
-
LAST_30_DAYS_BEFORE_TODAY = "LAST_30_DAYS_BEFORE_TODAY",
|
|
245
|
-
/** Last 90 days up until yesterday. */
|
|
246
|
-
LAST_90_DAYS_BEFORE_TODAY = "LAST_90_DAYS_BEFORE_TODAY",
|
|
247
|
-
/** Last 28 days up until yesterday. */
|
|
248
|
-
LAST_28_DAYS_BEFORE_TODAY = "LAST_28_DAYS_BEFORE_TODAY",
|
|
249
|
-
/** Last 180 days up until yesterday. */
|
|
250
|
-
LAST_180_DAYS_BEFORE_TODAY = "LAST_180_DAYS_BEFORE_TODAY",
|
|
251
|
-
/** Last 365 days up until yesterday. */
|
|
252
|
-
LAST_365_DAYS_BEFORE_TODAY = "LAST_365_DAYS_BEFORE_TODAY",
|
|
253
|
-
/** Last 12 months. */
|
|
254
|
-
LAST_12_MONTHS = "LAST_12_MONTHS"
|
|
191
|
+
predefinedTimePeriod?: PredefinedTimePeriod;
|
|
255
192
|
}
|
|
256
193
|
/** Response for getting store conversion sessions. */
|
|
257
194
|
interface CountFunnelSessionsResponse {
|
|
195
|
+
/** Recordings. */
|
|
258
196
|
recordings?: Recordings;
|
|
259
197
|
}
|
|
198
|
+
/** Recordings. */
|
|
260
199
|
interface Recordings {
|
|
261
200
|
/** Saved Session count. */
|
|
262
201
|
siteSessions?: number | null;
|
|
@@ -272,18 +211,18 @@ interface Recordings {
|
|
|
272
211
|
/** Request for getting the total number of sessions. */
|
|
273
212
|
interface CountSessionsRequest extends CountSessionsRequestPeriodOneOf {
|
|
274
213
|
/** Custom time period with start & end dates. */
|
|
275
|
-
|
|
214
|
+
customTimePeriod?: CustomTimePeriod;
|
|
276
215
|
/** Predefined time period. */
|
|
277
|
-
|
|
216
|
+
predefinedTimePeriod?: PredefinedTimePeriod;
|
|
278
217
|
/** User timezone. If not provided it will be taken from site properties. */
|
|
279
218
|
timezone?: string | null;
|
|
280
219
|
}
|
|
281
220
|
/** @oneof */
|
|
282
221
|
interface CountSessionsRequestPeriodOneOf {
|
|
283
222
|
/** Custom time period with start & end dates. */
|
|
284
|
-
|
|
223
|
+
customTimePeriod?: CustomTimePeriod;
|
|
285
224
|
/** Predefined time period. */
|
|
286
|
-
|
|
225
|
+
predefinedTimePeriod?: PredefinedTimePeriod;
|
|
287
226
|
}
|
|
288
227
|
/** Response for getting the total number of sessions. */
|
|
289
228
|
interface CountSessionsResponse {
|
|
@@ -293,7 +232,7 @@ interface CountSessionsResponse {
|
|
|
293
232
|
/** Mark a browser session as recorded. */
|
|
294
233
|
interface MarkSessionAsRecordedRequest {
|
|
295
234
|
/** Browser session ID. */
|
|
296
|
-
sessionId
|
|
235
|
+
sessionId: string;
|
|
297
236
|
}
|
|
298
237
|
/** Mark a browser session as recorded. */
|
|
299
238
|
interface MarkSessionAsRecordedResponse {
|
|
@@ -323,16 +262,10 @@ interface ListSessionsAsyncOptions extends ListSessionsAsyncRequestPeriodOneOf,
|
|
|
323
262
|
deviceType?: SessionsByDeviceParams;
|
|
324
263
|
}
|
|
325
264
|
interface GetListSessionsJobResultOptions {
|
|
326
|
-
/** List sessions job ID. */
|
|
327
|
-
jobId?: string;
|
|
328
265
|
/** Number of items to load. */
|
|
329
|
-
limit
|
|
266
|
+
limit: number;
|
|
330
267
|
/** Number of items to skip in the current sort order. */
|
|
331
|
-
offset
|
|
332
|
-
}
|
|
333
|
-
interface MarkSessionAsRecordedOptions {
|
|
334
|
-
/** Browser session ID. */
|
|
335
|
-
sessionId?: string;
|
|
268
|
+
offset: number;
|
|
336
269
|
}
|
|
337
270
|
|
|
338
271
|
type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
|
|
@@ -382,7 +315,6 @@ type context_CountFunnelSessionsResponse = CountFunnelSessionsResponse;
|
|
|
382
315
|
type context_CountSessionsRequest = CountSessionsRequest;
|
|
383
316
|
type context_CountSessionsRequestPeriodOneOf = CountSessionsRequestPeriodOneOf;
|
|
384
317
|
type context_CountSessionsResponse = CountSessionsResponse;
|
|
385
|
-
type context_CustomPeriod = CustomPeriod;
|
|
386
318
|
type context_CustomTimePeriod = CustomTimePeriod;
|
|
387
319
|
type context_DeviceType = DeviceType;
|
|
388
320
|
declare const context_DeviceType: typeof DeviceType;
|
|
@@ -401,13 +333,9 @@ type context_ListSessionsAsyncRequestParamsOneOf = ListSessionsAsyncRequestParam
|
|
|
401
333
|
type context_ListSessionsAsyncRequestPeriodOneOf = ListSessionsAsyncRequestPeriodOneOf;
|
|
402
334
|
type context_ListSessionsAsyncResponse = ListSessionsAsyncResponse;
|
|
403
335
|
type context_ListSessionsAsyncResponseNonNullableFields = ListSessionsAsyncResponseNonNullableFields;
|
|
404
|
-
type context_MarkSessionAsRecordedOptions = MarkSessionAsRecordedOptions;
|
|
405
336
|
type context_MarkSessionAsRecordedRequest = MarkSessionAsRecordedRequest;
|
|
406
337
|
type context_MarkSessionAsRecordedResponse = MarkSessionAsRecordedResponse;
|
|
407
338
|
type context_NavigationFlowSessionsParams = NavigationFlowSessionsParams;
|
|
408
|
-
type context_PredefinedPeriod = PredefinedPeriod;
|
|
409
|
-
type context_PredefinedPeriodEnum = PredefinedPeriodEnum;
|
|
410
|
-
declare const context_PredefinedPeriodEnum: typeof PredefinedPeriodEnum;
|
|
411
339
|
type context_PredefinedTimePeriod = PredefinedTimePeriod;
|
|
412
340
|
declare const context_PredefinedTimePeriod: typeof PredefinedTimePeriod;
|
|
413
341
|
type context_Recordings = Recordings;
|
|
@@ -417,7 +345,7 @@ declare const context_getListSessionsJobResult: typeof getListSessionsJobResult;
|
|
|
417
345
|
declare const context_listSessionsAsync: typeof listSessionsAsync;
|
|
418
346
|
declare const context_markSessionAsRecorded: typeof markSessionAsRecorded;
|
|
419
347
|
declare namespace context {
|
|
420
|
-
export { type context_ConversionFunnelSessionsParams as ConversionFunnelSessionsParams, type context_CountFunnelSessionsRequest as CountFunnelSessionsRequest, type context_CountFunnelSessionsRequestPeriodOneOf as CountFunnelSessionsRequestPeriodOneOf, type context_CountFunnelSessionsResponse as CountFunnelSessionsResponse, type context_CountSessionsRequest as CountSessionsRequest, type context_CountSessionsRequestPeriodOneOf as CountSessionsRequestPeriodOneOf, type context_CountSessionsResponse as CountSessionsResponse, type
|
|
348
|
+
export { type context_ConversionFunnelSessionsParams as ConversionFunnelSessionsParams, type context_CountFunnelSessionsRequest as CountFunnelSessionsRequest, type context_CountFunnelSessionsRequestPeriodOneOf as CountFunnelSessionsRequestPeriodOneOf, type context_CountFunnelSessionsResponse as CountFunnelSessionsResponse, type context_CountSessionsRequest as CountSessionsRequest, type context_CountSessionsRequestPeriodOneOf as CountSessionsRequestPeriodOneOf, type context_CountSessionsResponse as CountSessionsResponse, type context_CustomTimePeriod as CustomTimePeriod, context_DeviceType as DeviceType, context_FunnelStep as FunnelStep, type context_GetListSessionsJobResultOptions as GetListSessionsJobResultOptions, type context_GetListSessionsJobResultRequest as GetListSessionsJobResultRequest, type context_GetListSessionsJobResultResponse as GetListSessionsJobResultResponse, type context_GetListSessionsJobResultResponseNonNullableFields as GetListSessionsJobResultResponseNonNullableFields, type context_JobResult as JobResult, context_JobStatus as JobStatus, type context_ListSessionsAsyncOptions as ListSessionsAsyncOptions, type context_ListSessionsAsyncRequest as ListSessionsAsyncRequest, type context_ListSessionsAsyncRequestParamsOneOf as ListSessionsAsyncRequestParamsOneOf, type context_ListSessionsAsyncRequestPeriodOneOf as ListSessionsAsyncRequestPeriodOneOf, type context_ListSessionsAsyncResponse as ListSessionsAsyncResponse, type context_ListSessionsAsyncResponseNonNullableFields as ListSessionsAsyncResponseNonNullableFields, type context_MarkSessionAsRecordedRequest as MarkSessionAsRecordedRequest, type context_MarkSessionAsRecordedResponse as MarkSessionAsRecordedResponse, type context_NavigationFlowSessionsParams as NavigationFlowSessionsParams, context_PredefinedTimePeriod as PredefinedTimePeriod, type context_Recordings as Recordings, type context_Session as Session, type context_SessionsByDeviceParams as SessionsByDeviceParams, context_getListSessionsJobResult as getListSessionsJobResult, context_listSessionsAsync as listSessionsAsync, context_markSessionAsRecorded as markSessionAsRecorded };
|
|
421
349
|
}
|
|
422
350
|
|
|
423
351
|
export { context as analyticsSession };
|
|
@@ -131,7 +131,9 @@ declare enum DeviceType {
|
|
|
131
131
|
/** Mobile. */
|
|
132
132
|
MOBILE = "MOBILE",
|
|
133
133
|
/** Tablet. */
|
|
134
|
-
TABLET = "TABLET"
|
|
134
|
+
TABLET = "TABLET",
|
|
135
|
+
/** All. */
|
|
136
|
+
ALL = "ALL"
|
|
135
137
|
}
|
|
136
138
|
/** List sessions async response. */
|
|
137
139
|
interface ListSessionsAsyncResponse {
|
|
@@ -141,11 +143,11 @@ interface ListSessionsAsyncResponse {
|
|
|
141
143
|
/** Get list sessions job result request. */
|
|
142
144
|
interface GetListSessionsJobResultRequest {
|
|
143
145
|
/** List sessions job ID. */
|
|
144
|
-
jobId
|
|
146
|
+
jobId: string;
|
|
145
147
|
/** Number of items to load. */
|
|
146
|
-
limit
|
|
148
|
+
limit: number;
|
|
147
149
|
/** Number of items to skip in the current sort order. */
|
|
148
|
-
offset
|
|
150
|
+
offset: number;
|
|
149
151
|
}
|
|
150
152
|
/** Get list sessions job result response. */
|
|
151
153
|
interface GetListSessionsJobResultResponse {
|
|
@@ -175,88 +177,25 @@ declare enum JobStatus {
|
|
|
175
177
|
/** Request for getting store conversion sessions. */
|
|
176
178
|
interface CountFunnelSessionsRequest extends CountFunnelSessionsRequestPeriodOneOf {
|
|
177
179
|
/** Custom time period with start & end dates. */
|
|
178
|
-
|
|
180
|
+
customTimePeriod?: CustomTimePeriod;
|
|
179
181
|
/** Predefined time period. */
|
|
180
|
-
|
|
182
|
+
predefinedTimePeriod?: PredefinedTimePeriod;
|
|
181
183
|
/** User timezone. If not provided it will be taken from site properties. */
|
|
182
184
|
timezone?: string | null;
|
|
183
185
|
}
|
|
184
186
|
/** @oneof */
|
|
185
187
|
interface CountFunnelSessionsRequestPeriodOneOf {
|
|
186
188
|
/** Custom time period with start & end dates. */
|
|
187
|
-
|
|
189
|
+
customTimePeriod?: CustomTimePeriod;
|
|
188
190
|
/** Predefined time period. */
|
|
189
|
-
|
|
190
|
-
}
|
|
191
|
-
/** Custom period. Doesn't have comparison period, so use with SELECTED_PERIOD. */
|
|
192
|
-
interface CustomPeriod {
|
|
193
|
-
/** Custom period start date in provided timezone. By default in UTC. */
|
|
194
|
-
start?: string;
|
|
195
|
-
/** Custom period end date in provided timezone. By default in UTC. */
|
|
196
|
-
end?: string;
|
|
197
|
-
}
|
|
198
|
-
/** Predefined period. Could be used with comparison period. */
|
|
199
|
-
interface PredefinedPeriod {
|
|
200
|
-
/** Predefined period type. */
|
|
201
|
-
period?: PredefinedPeriodEnum;
|
|
202
|
-
}
|
|
203
|
-
/** Query period. */
|
|
204
|
-
declare enum PredefinedPeriodEnum {
|
|
205
|
-
/** Today. */
|
|
206
|
-
TODAY = "TODAY",
|
|
207
|
-
/** Yesterday. */
|
|
208
|
-
YESTERDAY = "YESTERDAY",
|
|
209
|
-
/** Last 7 days. */
|
|
210
|
-
LAST_7_DAYS = "LAST_7_DAYS",
|
|
211
|
-
/** Lat 14 days. */
|
|
212
|
-
LAST_14_DAYS = "LAST_14_DAYS",
|
|
213
|
-
/** Last 30 days. */
|
|
214
|
-
LAST_30_DAYS = "LAST_30_DAYS",
|
|
215
|
-
/** Last 90 days. */
|
|
216
|
-
LAST_90_DAYS = "LAST_90_DAYS",
|
|
217
|
-
/** Last 28 days. */
|
|
218
|
-
LAST_28_DAYS = "LAST_28_DAYS",
|
|
219
|
-
/** Last 180 days. */
|
|
220
|
-
LAST_180_DAYS = "LAST_180_DAYS",
|
|
221
|
-
/** Last 365 days. */
|
|
222
|
-
LAST_365_DAYS = "LAST_365_DAYS",
|
|
223
|
-
/** Current week. Week start is Monday. */
|
|
224
|
-
THIS_WEEK = "THIS_WEEK",
|
|
225
|
-
/** Current month. */
|
|
226
|
-
THIS_MONTH = "THIS_MONTH",
|
|
227
|
-
/** Current quater. */
|
|
228
|
-
THIS_QUATER = "THIS_QUATER",
|
|
229
|
-
/** This year. */
|
|
230
|
-
THIS_YEAR = "THIS_YEAR",
|
|
231
|
-
/** Last week (previous week). */
|
|
232
|
-
LAST_WEEK = "LAST_WEEK",
|
|
233
|
-
/** Last month. */
|
|
234
|
-
LAST_MONTH = "LAST_MONTH",
|
|
235
|
-
/** Last quater. */
|
|
236
|
-
LAST_QUATER = "LAST_QUATER",
|
|
237
|
-
/** Last year. */
|
|
238
|
-
LAST_YEAR = "LAST_YEAR",
|
|
239
|
-
/** Last 7 days up until yesterday. */
|
|
240
|
-
LAST_7_DAYS_BEFORE_TODAY = "LAST_7_DAYS_BEFORE_TODAY",
|
|
241
|
-
/** Lat 14 days up until yesterday. */
|
|
242
|
-
LAST_14_DAYS_BEFORE_TODAY = "LAST_14_DAYS_BEFORE_TODAY",
|
|
243
|
-
/** Last 30 days up until yesterday. */
|
|
244
|
-
LAST_30_DAYS_BEFORE_TODAY = "LAST_30_DAYS_BEFORE_TODAY",
|
|
245
|
-
/** Last 90 days up until yesterday. */
|
|
246
|
-
LAST_90_DAYS_BEFORE_TODAY = "LAST_90_DAYS_BEFORE_TODAY",
|
|
247
|
-
/** Last 28 days up until yesterday. */
|
|
248
|
-
LAST_28_DAYS_BEFORE_TODAY = "LAST_28_DAYS_BEFORE_TODAY",
|
|
249
|
-
/** Last 180 days up until yesterday. */
|
|
250
|
-
LAST_180_DAYS_BEFORE_TODAY = "LAST_180_DAYS_BEFORE_TODAY",
|
|
251
|
-
/** Last 365 days up until yesterday. */
|
|
252
|
-
LAST_365_DAYS_BEFORE_TODAY = "LAST_365_DAYS_BEFORE_TODAY",
|
|
253
|
-
/** Last 12 months. */
|
|
254
|
-
LAST_12_MONTHS = "LAST_12_MONTHS"
|
|
191
|
+
predefinedTimePeriod?: PredefinedTimePeriod;
|
|
255
192
|
}
|
|
256
193
|
/** Response for getting store conversion sessions. */
|
|
257
194
|
interface CountFunnelSessionsResponse {
|
|
195
|
+
/** Recordings. */
|
|
258
196
|
recordings?: Recordings;
|
|
259
197
|
}
|
|
198
|
+
/** Recordings. */
|
|
260
199
|
interface Recordings {
|
|
261
200
|
/** Saved Session count. */
|
|
262
201
|
siteSessions?: number | null;
|
|
@@ -272,18 +211,18 @@ interface Recordings {
|
|
|
272
211
|
/** Request for getting the total number of sessions. */
|
|
273
212
|
interface CountSessionsRequest extends CountSessionsRequestPeriodOneOf {
|
|
274
213
|
/** Custom time period with start & end dates. */
|
|
275
|
-
|
|
214
|
+
customTimePeriod?: CustomTimePeriod;
|
|
276
215
|
/** Predefined time period. */
|
|
277
|
-
|
|
216
|
+
predefinedTimePeriod?: PredefinedTimePeriod;
|
|
278
217
|
/** User timezone. If not provided it will be taken from site properties. */
|
|
279
218
|
timezone?: string | null;
|
|
280
219
|
}
|
|
281
220
|
/** @oneof */
|
|
282
221
|
interface CountSessionsRequestPeriodOneOf {
|
|
283
222
|
/** Custom time period with start & end dates. */
|
|
284
|
-
|
|
223
|
+
customTimePeriod?: CustomTimePeriod;
|
|
285
224
|
/** Predefined time period. */
|
|
286
|
-
|
|
225
|
+
predefinedTimePeriod?: PredefinedTimePeriod;
|
|
287
226
|
}
|
|
288
227
|
/** Response for getting the total number of sessions. */
|
|
289
228
|
interface CountSessionsResponse {
|
|
@@ -293,7 +232,7 @@ interface CountSessionsResponse {
|
|
|
293
232
|
/** Mark a browser session as recorded. */
|
|
294
233
|
interface MarkSessionAsRecordedRequest {
|
|
295
234
|
/** Browser session ID. */
|
|
296
|
-
sessionId
|
|
235
|
+
sessionId: string;
|
|
297
236
|
}
|
|
298
237
|
/** Mark a browser session as recorded. */
|
|
299
238
|
interface MarkSessionAsRecordedResponse {
|
|
@@ -323,16 +262,10 @@ interface ListSessionsAsyncOptions extends ListSessionsAsyncRequestPeriodOneOf,
|
|
|
323
262
|
deviceType?: SessionsByDeviceParams;
|
|
324
263
|
}
|
|
325
264
|
interface GetListSessionsJobResultOptions {
|
|
326
|
-
/** List sessions job ID. */
|
|
327
|
-
jobId?: string;
|
|
328
265
|
/** Number of items to load. */
|
|
329
|
-
limit
|
|
266
|
+
limit: number;
|
|
330
267
|
/** Number of items to skip in the current sort order. */
|
|
331
|
-
offset
|
|
332
|
-
}
|
|
333
|
-
interface MarkSessionAsRecordedOptions {
|
|
334
|
-
/** Browser session ID. */
|
|
335
|
-
sessionId?: string;
|
|
268
|
+
offset: number;
|
|
336
269
|
}
|
|
337
270
|
|
|
338
271
|
type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
|
|
@@ -382,7 +315,6 @@ type index_d_CountFunnelSessionsResponse = CountFunnelSessionsResponse;
|
|
|
382
315
|
type index_d_CountSessionsRequest = CountSessionsRequest;
|
|
383
316
|
type index_d_CountSessionsRequestPeriodOneOf = CountSessionsRequestPeriodOneOf;
|
|
384
317
|
type index_d_CountSessionsResponse = CountSessionsResponse;
|
|
385
|
-
type index_d_CustomPeriod = CustomPeriod;
|
|
386
318
|
type index_d_CustomTimePeriod = CustomTimePeriod;
|
|
387
319
|
type index_d_DeviceType = DeviceType;
|
|
388
320
|
declare const index_d_DeviceType: typeof DeviceType;
|
|
@@ -401,13 +333,9 @@ type index_d_ListSessionsAsyncRequestParamsOneOf = ListSessionsAsyncRequestParam
|
|
|
401
333
|
type index_d_ListSessionsAsyncRequestPeriodOneOf = ListSessionsAsyncRequestPeriodOneOf;
|
|
402
334
|
type index_d_ListSessionsAsyncResponse = ListSessionsAsyncResponse;
|
|
403
335
|
type index_d_ListSessionsAsyncResponseNonNullableFields = ListSessionsAsyncResponseNonNullableFields;
|
|
404
|
-
type index_d_MarkSessionAsRecordedOptions = MarkSessionAsRecordedOptions;
|
|
405
336
|
type index_d_MarkSessionAsRecordedRequest = MarkSessionAsRecordedRequest;
|
|
406
337
|
type index_d_MarkSessionAsRecordedResponse = MarkSessionAsRecordedResponse;
|
|
407
338
|
type index_d_NavigationFlowSessionsParams = NavigationFlowSessionsParams;
|
|
408
|
-
type index_d_PredefinedPeriod = PredefinedPeriod;
|
|
409
|
-
type index_d_PredefinedPeriodEnum = PredefinedPeriodEnum;
|
|
410
|
-
declare const index_d_PredefinedPeriodEnum: typeof PredefinedPeriodEnum;
|
|
411
339
|
type index_d_PredefinedTimePeriod = PredefinedTimePeriod;
|
|
412
340
|
declare const index_d_PredefinedTimePeriod: typeof PredefinedTimePeriod;
|
|
413
341
|
type index_d_Recordings = Recordings;
|
|
@@ -417,7 +345,7 @@ declare const index_d_getListSessionsJobResult: typeof getListSessionsJobResult;
|
|
|
417
345
|
declare const index_d_listSessionsAsync: typeof listSessionsAsync;
|
|
418
346
|
declare const index_d_markSessionAsRecorded: typeof markSessionAsRecorded;
|
|
419
347
|
declare namespace index_d {
|
|
420
|
-
export { type index_d_ConversionFunnelSessionsParams as ConversionFunnelSessionsParams, type index_d_CountFunnelSessionsRequest as CountFunnelSessionsRequest, type index_d_CountFunnelSessionsRequestPeriodOneOf as CountFunnelSessionsRequestPeriodOneOf, type index_d_CountFunnelSessionsResponse as CountFunnelSessionsResponse, type index_d_CountSessionsRequest as CountSessionsRequest, type index_d_CountSessionsRequestPeriodOneOf as CountSessionsRequestPeriodOneOf, type index_d_CountSessionsResponse as CountSessionsResponse, type
|
|
348
|
+
export { type index_d_ConversionFunnelSessionsParams as ConversionFunnelSessionsParams, type index_d_CountFunnelSessionsRequest as CountFunnelSessionsRequest, type index_d_CountFunnelSessionsRequestPeriodOneOf as CountFunnelSessionsRequestPeriodOneOf, type index_d_CountFunnelSessionsResponse as CountFunnelSessionsResponse, type index_d_CountSessionsRequest as CountSessionsRequest, type index_d_CountSessionsRequestPeriodOneOf as CountSessionsRequestPeriodOneOf, type index_d_CountSessionsResponse as CountSessionsResponse, type index_d_CustomTimePeriod as CustomTimePeriod, index_d_DeviceType as DeviceType, index_d_FunnelStep as FunnelStep, type index_d_GetListSessionsJobResultOptions as GetListSessionsJobResultOptions, type index_d_GetListSessionsJobResultRequest as GetListSessionsJobResultRequest, type index_d_GetListSessionsJobResultResponse as GetListSessionsJobResultResponse, type index_d_GetListSessionsJobResultResponseNonNullableFields as GetListSessionsJobResultResponseNonNullableFields, type index_d_JobResult as JobResult, index_d_JobStatus as JobStatus, type index_d_ListSessionsAsyncOptions as ListSessionsAsyncOptions, type index_d_ListSessionsAsyncRequest as ListSessionsAsyncRequest, type index_d_ListSessionsAsyncRequestParamsOneOf as ListSessionsAsyncRequestParamsOneOf, type index_d_ListSessionsAsyncRequestPeriodOneOf as ListSessionsAsyncRequestPeriodOneOf, type index_d_ListSessionsAsyncResponse as ListSessionsAsyncResponse, type index_d_ListSessionsAsyncResponseNonNullableFields as ListSessionsAsyncResponseNonNullableFields, type index_d_MarkSessionAsRecordedRequest as MarkSessionAsRecordedRequest, type index_d_MarkSessionAsRecordedResponse as MarkSessionAsRecordedResponse, type index_d_NavigationFlowSessionsParams as NavigationFlowSessionsParams, index_d_PredefinedTimePeriod as PredefinedTimePeriod, type index_d_Recordings as Recordings, type index_d_Session as Session, type index_d_SessionsByDeviceParams as SessionsByDeviceParams, index_d_getListSessionsJobResult as getListSessionsJobResult, index_d_listSessionsAsync as listSessionsAsync, index_d_markSessionAsRecorded as markSessionAsRecorded };
|
|
421
349
|
}
|
|
422
350
|
|
|
423
351
|
export { index_d as analyticsSession };
|
|
@@ -127,7 +127,9 @@ declare enum DeviceType$1 {
|
|
|
127
127
|
/** Mobile. */
|
|
128
128
|
MOBILE = "MOBILE",
|
|
129
129
|
/** Tablet. */
|
|
130
|
-
TABLET = "TABLET"
|
|
130
|
+
TABLET = "TABLET",
|
|
131
|
+
/** All. */
|
|
132
|
+
ALL = "ALL"
|
|
131
133
|
}
|
|
132
134
|
/** List sessions async response. */
|
|
133
135
|
interface ListSessionsAsyncResponse$1 {
|
|
@@ -137,11 +139,11 @@ interface ListSessionsAsyncResponse$1 {
|
|
|
137
139
|
/** Get list sessions job result request. */
|
|
138
140
|
interface GetListSessionsJobResultRequest$1 {
|
|
139
141
|
/** List sessions job ID. */
|
|
140
|
-
jobId
|
|
142
|
+
jobId: string;
|
|
141
143
|
/** Number of items to load. */
|
|
142
|
-
limit
|
|
144
|
+
limit: number;
|
|
143
145
|
/** Number of items to skip in the current sort order. */
|
|
144
|
-
offset
|
|
146
|
+
offset: number;
|
|
145
147
|
}
|
|
146
148
|
/** Get list sessions job result response. */
|
|
147
149
|
interface GetListSessionsJobResultResponse$1 {
|
|
@@ -171,7 +173,7 @@ declare enum JobStatus$1 {
|
|
|
171
173
|
/** Mark a browser session as recorded. */
|
|
172
174
|
interface MarkSessionAsRecordedRequest$1 {
|
|
173
175
|
/** Browser session ID. */
|
|
174
|
-
sessionId
|
|
176
|
+
sessionId: string;
|
|
175
177
|
}
|
|
176
178
|
/** Mark a browser session as recorded. */
|
|
177
179
|
interface MarkSessionAsRecordedResponse$1 {
|
|
@@ -316,7 +318,9 @@ declare enum DeviceType {
|
|
|
316
318
|
/** Mobile. */
|
|
317
319
|
MOBILE = "MOBILE",
|
|
318
320
|
/** Tablet. */
|
|
319
|
-
TABLET = "TABLET"
|
|
321
|
+
TABLET = "TABLET",
|
|
322
|
+
/** All. */
|
|
323
|
+
ALL = "ALL"
|
|
320
324
|
}
|
|
321
325
|
/** List sessions async response. */
|
|
322
326
|
interface ListSessionsAsyncResponse {
|
|
@@ -326,11 +330,11 @@ interface ListSessionsAsyncResponse {
|
|
|
326
330
|
/** Get list sessions job result request. */
|
|
327
331
|
interface GetListSessionsJobResultRequest {
|
|
328
332
|
/** List sessions job ID. */
|
|
329
|
-
jobId
|
|
333
|
+
jobId: string;
|
|
330
334
|
/** Number of items to load. */
|
|
331
|
-
limit
|
|
335
|
+
limit: number;
|
|
332
336
|
/** Number of items to skip in the current sort order. */
|
|
333
|
-
offset
|
|
337
|
+
offset: number;
|
|
334
338
|
}
|
|
335
339
|
/** Get list sessions job result response. */
|
|
336
340
|
interface GetListSessionsJobResultResponse {
|
|
@@ -360,7 +364,7 @@ declare enum JobStatus {
|
|
|
360
364
|
/** Mark a browser session as recorded. */
|
|
361
365
|
interface MarkSessionAsRecordedRequest {
|
|
362
366
|
/** Browser session ID. */
|
|
363
|
-
sessionId
|
|
367
|
+
sessionId: string;
|
|
364
368
|
}
|
|
365
369
|
/** Mark a browser session as recorded. */
|
|
366
370
|
interface MarkSessionAsRecordedResponse {
|