@oursprivacy/platform-sdk 1.68.0 → 1.69.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 +7 -0
- package/client.d.mts +2 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +2 -2
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/analytics.d.mts +10 -0
- package/resources/analytics.d.mts.map +1 -1
- package/resources/analytics.d.ts +10 -0
- package/resources/analytics.d.ts.map +1 -1
- package/resources/dashboards.d.mts +646 -4
- package/resources/dashboards.d.mts.map +1 -1
- package/resources/dashboards.d.ts +646 -4
- package/resources/dashboards.d.ts.map +1 -1
- package/resources/destinations.d.mts +7 -7
- package/resources/destinations.d.mts.map +1 -1
- package/resources/destinations.d.ts +7 -7
- package/resources/destinations.d.ts.map +1 -1
- package/resources/funnels.d.mts +253 -7
- package/resources/funnels.d.mts.map +1 -1
- package/resources/funnels.d.ts +253 -7
- package/resources/funnels.d.ts.map +1 -1
- package/resources/funnels.js +10 -7
- package/resources/funnels.js.map +1 -1
- package/resources/funnels.mjs +10 -7
- package/resources/funnels.mjs.map +1 -1
- package/resources/index.d.mts +1 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/insights.d.mts +73 -12
- package/resources/insights.d.mts.map +1 -1
- package/resources/insights.d.ts +73 -12
- package/resources/insights.d.ts.map +1 -1
- package/resources/insights.js +9 -7
- package/resources/insights.js.map +1 -1
- package/resources/insights.mjs +9 -7
- package/resources/insights.mjs.map +1 -1
- package/resources/journey-flows.d.mts +242 -18
- package/resources/journey-flows.d.mts.map +1 -1
- package/resources/journey-flows.d.ts +242 -18
- package/resources/journey-flows.d.ts.map +1 -1
- package/resources/journey-flows.js +18 -12
- package/resources/journey-flows.js.map +1 -1
- package/resources/journey-flows.mjs +18 -12
- package/resources/journey-flows.mjs.map +1 -1
- package/resources/query-events.d.mts +10 -0
- package/resources/query-events.d.mts.map +1 -1
- package/resources/query-events.d.ts +10 -0
- package/resources/query-events.d.ts.map +1 -1
- package/resources/report-branding.d.mts +112 -28
- package/resources/report-branding.d.mts.map +1 -1
- package/resources/report-branding.d.ts +112 -28
- package/resources/report-branding.d.ts.map +1 -1
- package/resources/report-branding.js +29 -15
- package/resources/report-branding.js.map +1 -1
- package/resources/report-branding.mjs +29 -15
- package/resources/report-branding.mjs.map +1 -1
- package/resources/sources.d.mts +6 -6
- package/resources/sources.d.mts.map +1 -1
- package/resources/sources.d.ts +6 -6
- package/resources/sources.d.ts.map +1 -1
- package/resources/test-events.d.mts +28 -0
- package/resources/test-events.d.mts.map +1 -1
- package/resources/test-events.d.ts +28 -0
- package/resources/test-events.d.ts.map +1 -1
- package/resources/web-analytics.d.mts +24 -0
- package/resources/web-analytics.d.mts.map +1 -1
- package/resources/web-analytics.d.ts +24 -0
- package/resources/web-analytics.d.ts.map +1 -1
- package/src/client.ts +4 -0
- package/src/resources/analytics.ts +12 -0
- package/src/resources/dashboards.ts +876 -8
- package/src/resources/destinations.ts +23 -2
- package/src/resources/funnels.ts +332 -7
- package/src/resources/index.ts +2 -0
- package/src/resources/insights.ts +107 -12
- package/src/resources/journey-flows.ts +300 -22
- package/src/resources/query-events.ts +12 -0
- package/src/resources/report-branding.ts +132 -27
- package/src/resources/sources.ts +12 -0
- package/src/resources/test-events.ts +33 -0
- package/src/resources/web-analytics.ts +40 -0
- 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
|
@@ -83,11 +83,14 @@ export class JourneyFlows extends APIResource {
|
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
/**
|
|
86
|
-
* Compute a saved Journey Flow result.
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
*
|
|
86
|
+
* Compute a saved Journey Flow result. Requires expectedRevision and permits an
|
|
87
|
+
* optional complete report context override. Pass `breakdown` to add per-value
|
|
88
|
+
* segments after All traffic; nodes match across segments by `key`, not `id`. Pass
|
|
89
|
+
* `comparison` to add a series for other dates; neither is saved. `topPathsLimit`
|
|
90
|
+
* and `includeSamples=false` shrink large results. Results may be served from a
|
|
91
|
+
* recent cache; pass refresh=true to recompute. Reports selecting specific sources
|
|
92
|
+
* also require source:view permission. Requires API-key scope or current OAuth
|
|
93
|
+
* user permission: web-analytics:view
|
|
91
94
|
*/
|
|
92
95
|
results(
|
|
93
96
|
id: string,
|
|
@@ -100,10 +103,12 @@ export class JourneyFlows extends APIResource {
|
|
|
100
103
|
/**
|
|
101
104
|
* Export the saved Journey Flow as CSV with its effective scope, exact aggregate
|
|
102
105
|
* counts, timing, graph and bounded Top Paths. Requires expectedRevision; display
|
|
103
|
-
* limits and omitted path weight are included.
|
|
104
|
-
*
|
|
105
|
-
*
|
|
106
|
-
*
|
|
106
|
+
* limits and omitted path weight are included. Accepts the same `breakdown` and
|
|
107
|
+
* `comparison` as the result route; rows then identify their period and segment.
|
|
108
|
+
* The response contains the CSV content and filename. Visitor and session samples
|
|
109
|
+
* are not included. Reports selecting specific sources also require source:view
|
|
110
|
+
* permission. Requires API-key scope or current OAuth user permission:
|
|
111
|
+
* web-analytics:view
|
|
107
112
|
*/
|
|
108
113
|
export(
|
|
109
114
|
id: string,
|
|
@@ -115,9 +120,10 @@ export class JourneyFlows extends APIResource {
|
|
|
115
120
|
|
|
116
121
|
/**
|
|
117
122
|
* Compute a bounded preview from a serialized Journey Flow definition, report
|
|
118
|
-
* context, and view
|
|
119
|
-
* budget. Reports selecting specific
|
|
120
|
-
* Requires API-key scope or current
|
|
123
|
+
* context, and view, optionally with a breakdown and comparison. Use GraphQL when
|
|
124
|
+
* the serialized input exceeds the HTTP URL budget. Reports selecting specific
|
|
125
|
+
* sources also require source:view permission. Requires API-key scope or current
|
|
126
|
+
* OAuth user permission: web-analytics:view
|
|
121
127
|
*/
|
|
122
128
|
preview(query: JourneyFlowPreviewParams, options?: RequestOptions): APIPromise<JourneyFlowPreviewResponse> {
|
|
123
129
|
return this._client.get('/rest/v1/journey-flows/preview', { query, ...options });
|
|
@@ -5077,8 +5083,16 @@ export interface JourneyFlowCapabilitiesResponse {
|
|
|
5077
5083
|
|
|
5078
5084
|
maxAnchors: number;
|
|
5079
5085
|
|
|
5086
|
+
/**
|
|
5087
|
+
* Largest accepted breakdown limit.
|
|
5088
|
+
*/
|
|
5089
|
+
maxBreakdownSegments: number;
|
|
5090
|
+
|
|
5080
5091
|
maxBuckets: number;
|
|
5081
5092
|
|
|
5093
|
+
/**
|
|
5094
|
+
* Always 0; use the comparison parameter instead.
|
|
5095
|
+
*/
|
|
5082
5096
|
maxComparisons: number;
|
|
5083
5097
|
|
|
5084
5098
|
maxExclusions: number;
|
|
@@ -5099,6 +5113,11 @@ export interface JourneyFlowCapabilitiesResponse {
|
|
|
5099
5113
|
|
|
5100
5114
|
sampleLimitPerOutcome: number;
|
|
5101
5115
|
|
|
5116
|
+
/**
|
|
5117
|
+
* Accepted comparison kinds.
|
|
5118
|
+
*/
|
|
5119
|
+
supportedComparisons: Array<'previous_period' | 'previous_year' | 'custom'>;
|
|
5120
|
+
|
|
5102
5121
|
supportedCounting: Array<'UNIQUE' | 'TOTALS' | 'SESSIONS'>;
|
|
5103
5122
|
|
|
5104
5123
|
supportedMatcherKinds: Array<'EVENT' | 'PAGE'>;
|
|
@@ -5111,10 +5130,16 @@ export interface JourneyFlowCapabilitiesResponse {
|
|
|
5111
5130
|
|
|
5112
5131
|
supportedVisualizations: Array<'SANKEY' | 'TOP_PATHS'>;
|
|
5113
5132
|
|
|
5133
|
+
/**
|
|
5134
|
+
* Whether the breakdown parameter is available.
|
|
5135
|
+
*/
|
|
5114
5136
|
supportsBreakdowns: boolean;
|
|
5115
5137
|
|
|
5116
5138
|
supportsCollapseRepeats: boolean;
|
|
5117
5139
|
|
|
5140
|
+
/**
|
|
5141
|
+
* Whether the comparison parameter is available.
|
|
5142
|
+
*/
|
|
5118
5143
|
supportsComparisons: boolean;
|
|
5119
5144
|
|
|
5120
5145
|
supportsCsvExport: boolean;
|
|
@@ -5187,6 +5212,16 @@ export namespace JourneyFlowResultsResponse {
|
|
|
5187
5212
|
reentry: 'FIRST' | 'BEST';
|
|
5188
5213
|
|
|
5189
5214
|
sourceIds: Array<string>;
|
|
5215
|
+
|
|
5216
|
+
/**
|
|
5217
|
+
* The requested breakdown; null without one.
|
|
5218
|
+
*/
|
|
5219
|
+
breakdown?: EffectiveContext.Breakdown | null;
|
|
5220
|
+
|
|
5221
|
+
/**
|
|
5222
|
+
* The compared dates; null without a comparison.
|
|
5223
|
+
*/
|
|
5224
|
+
comparison?: EffectiveContext.Comparison | null;
|
|
5190
5225
|
}
|
|
5191
5226
|
|
|
5192
5227
|
export namespace EffectiveContext {
|
|
@@ -5365,11 +5400,50 @@ export namespace JourneyFlowResultsResponse {
|
|
|
5365
5400
|
|
|
5366
5401
|
to: string;
|
|
5367
5402
|
}
|
|
5403
|
+
|
|
5404
|
+
/**
|
|
5405
|
+
* The requested breakdown; null without one.
|
|
5406
|
+
*/
|
|
5407
|
+
export interface Breakdown {
|
|
5408
|
+
atAnchorId: string | null;
|
|
5409
|
+
|
|
5410
|
+
limit: number;
|
|
5411
|
+
|
|
5412
|
+
property: Breakdown.Property;
|
|
5413
|
+
|
|
5414
|
+
stepNumber: number | null;
|
|
5415
|
+
|
|
5416
|
+
truncated: boolean;
|
|
5417
|
+
|
|
5418
|
+
/**
|
|
5419
|
+
* Distinct values seen.
|
|
5420
|
+
*/
|
|
5421
|
+
valueCount: number;
|
|
5422
|
+
}
|
|
5423
|
+
|
|
5424
|
+
export namespace Breakdown {
|
|
5425
|
+
export interface Property {
|
|
5426
|
+
property: string;
|
|
5427
|
+
|
|
5428
|
+
type: 'string' | 'number' | 'boolean';
|
|
5429
|
+
|
|
5430
|
+
path?: Array<string>;
|
|
5431
|
+
}
|
|
5432
|
+
}
|
|
5433
|
+
|
|
5434
|
+
/**
|
|
5435
|
+
* The compared dates; null without a comparison.
|
|
5436
|
+
*/
|
|
5437
|
+
export interface Comparison {
|
|
5438
|
+
from: string;
|
|
5439
|
+
|
|
5440
|
+
kind: 'previous_period' | 'previous_year' | 'custom';
|
|
5441
|
+
|
|
5442
|
+
to: string;
|
|
5443
|
+
}
|
|
5368
5444
|
}
|
|
5369
5445
|
|
|
5370
5446
|
export interface Execution {
|
|
5371
|
-
cacheHit: boolean;
|
|
5372
|
-
|
|
5373
5447
|
generatedAt: string;
|
|
5374
5448
|
|
|
5375
5449
|
queryId: string;
|
|
@@ -5377,8 +5451,6 @@ export namespace JourneyFlowResultsResponse {
|
|
|
5377
5451
|
sampled: boolean;
|
|
5378
5452
|
|
|
5379
5453
|
warnings: Array<Execution.Warning>;
|
|
5380
|
-
|
|
5381
|
-
cacheAgeMs?: number | null;
|
|
5382
5454
|
}
|
|
5383
5455
|
|
|
5384
5456
|
export namespace Execution {
|
|
@@ -5450,15 +5522,27 @@ export namespace JourneyFlowResultsResponse {
|
|
|
5450
5522
|
}
|
|
5451
5523
|
|
|
5452
5524
|
export interface Series {
|
|
5525
|
+
/**
|
|
5526
|
+
* Period: '' for the selected dates, or the comparison kind (previous_period,
|
|
5527
|
+
* previous_year, custom).
|
|
5528
|
+
*/
|
|
5453
5529
|
id: string;
|
|
5454
5530
|
|
|
5455
5531
|
label: string;
|
|
5456
5532
|
|
|
5457
5533
|
segments: Array<Series.Segment>;
|
|
5534
|
+
|
|
5535
|
+
/**
|
|
5536
|
+
* The compared dates on a comparison series; null on the selected dates.
|
|
5537
|
+
*/
|
|
5538
|
+
comparison?: Series.Comparison | null;
|
|
5458
5539
|
}
|
|
5459
5540
|
|
|
5460
5541
|
export namespace Series {
|
|
5461
5542
|
export interface Segment {
|
|
5543
|
+
/**
|
|
5544
|
+
* '' for All traffic (always first), otherwise the breakdown segment key.
|
|
5545
|
+
*/
|
|
5462
5546
|
id: string;
|
|
5463
5547
|
|
|
5464
5548
|
columns: Array<Segment.Column>;
|
|
@@ -5485,6 +5569,11 @@ export namespace JourneyFlowResultsResponse {
|
|
|
5485
5569
|
|
|
5486
5570
|
unfocusedEntryCount: string;
|
|
5487
5571
|
|
|
5572
|
+
/**
|
|
5573
|
+
* The breakdown segment; null on All traffic.
|
|
5574
|
+
*/
|
|
5575
|
+
breakdown?: Segment.Breakdown | null;
|
|
5576
|
+
|
|
5488
5577
|
observationIncompleteCount?: string | null;
|
|
5489
5578
|
|
|
5490
5579
|
timedOutCount?: string | null;
|
|
@@ -5558,6 +5647,9 @@ export namespace JourneyFlowResultsResponse {
|
|
|
5558
5647
|
|
|
5559
5648
|
denominator: string;
|
|
5560
5649
|
|
|
5650
|
+
/**
|
|
5651
|
+
* Stable across segments and periods; id is not.
|
|
5652
|
+
*/
|
|
5561
5653
|
key: string;
|
|
5562
5654
|
|
|
5563
5655
|
kind: 'ANCHOR' | 'EVENT' | 'PAGE' | 'TERMINAL' | 'OMITTED_STEPS' | 'OTHER_EVENTS';
|
|
@@ -6096,6 +6188,38 @@ export namespace JourneyFlowResultsResponse {
|
|
|
6096
6188
|
}
|
|
6097
6189
|
}
|
|
6098
6190
|
}
|
|
6191
|
+
|
|
6192
|
+
/**
|
|
6193
|
+
* The breakdown segment; null on All traffic.
|
|
6194
|
+
*/
|
|
6195
|
+
export interface Breakdown {
|
|
6196
|
+
/**
|
|
6197
|
+
* Segment key: v:<value>, $other, or $none.
|
|
6198
|
+
*/
|
|
6199
|
+
key: string;
|
|
6200
|
+
|
|
6201
|
+
kind: 'value' | 'other' | 'not_set';
|
|
6202
|
+
|
|
6203
|
+
label: string;
|
|
6204
|
+
|
|
6205
|
+
rank: number;
|
|
6206
|
+
|
|
6207
|
+
/**
|
|
6208
|
+
* Null for other and not_set.
|
|
6209
|
+
*/
|
|
6210
|
+
value: string | null;
|
|
6211
|
+
}
|
|
6212
|
+
}
|
|
6213
|
+
|
|
6214
|
+
/**
|
|
6215
|
+
* The compared dates on a comparison series; null on the selected dates.
|
|
6216
|
+
*/
|
|
6217
|
+
export interface Comparison {
|
|
6218
|
+
from: string;
|
|
6219
|
+
|
|
6220
|
+
kind: 'previous_period' | 'previous_year' | 'custom';
|
|
6221
|
+
|
|
6222
|
+
to: string;
|
|
6099
6223
|
}
|
|
6100
6224
|
}
|
|
6101
6225
|
|
|
@@ -6179,6 +6303,16 @@ export namespace JourneyFlowPreviewResponse {
|
|
|
6179
6303
|
reentry: 'FIRST' | 'BEST';
|
|
6180
6304
|
|
|
6181
6305
|
sourceIds: Array<string>;
|
|
6306
|
+
|
|
6307
|
+
/**
|
|
6308
|
+
* The requested breakdown; null without one.
|
|
6309
|
+
*/
|
|
6310
|
+
breakdown?: EffectiveContext.Breakdown | null;
|
|
6311
|
+
|
|
6312
|
+
/**
|
|
6313
|
+
* The compared dates; null without a comparison.
|
|
6314
|
+
*/
|
|
6315
|
+
comparison?: EffectiveContext.Comparison | null;
|
|
6182
6316
|
}
|
|
6183
6317
|
|
|
6184
6318
|
export namespace EffectiveContext {
|
|
@@ -6357,11 +6491,50 @@ export namespace JourneyFlowPreviewResponse {
|
|
|
6357
6491
|
|
|
6358
6492
|
to: string;
|
|
6359
6493
|
}
|
|
6494
|
+
|
|
6495
|
+
/**
|
|
6496
|
+
* The requested breakdown; null without one.
|
|
6497
|
+
*/
|
|
6498
|
+
export interface Breakdown {
|
|
6499
|
+
atAnchorId: string | null;
|
|
6500
|
+
|
|
6501
|
+
limit: number;
|
|
6502
|
+
|
|
6503
|
+
property: Breakdown.Property;
|
|
6504
|
+
|
|
6505
|
+
stepNumber: number | null;
|
|
6506
|
+
|
|
6507
|
+
truncated: boolean;
|
|
6508
|
+
|
|
6509
|
+
/**
|
|
6510
|
+
* Distinct values seen.
|
|
6511
|
+
*/
|
|
6512
|
+
valueCount: number;
|
|
6513
|
+
}
|
|
6514
|
+
|
|
6515
|
+
export namespace Breakdown {
|
|
6516
|
+
export interface Property {
|
|
6517
|
+
property: string;
|
|
6518
|
+
|
|
6519
|
+
type: 'string' | 'number' | 'boolean';
|
|
6520
|
+
|
|
6521
|
+
path?: Array<string>;
|
|
6522
|
+
}
|
|
6523
|
+
}
|
|
6524
|
+
|
|
6525
|
+
/**
|
|
6526
|
+
* The compared dates; null without a comparison.
|
|
6527
|
+
*/
|
|
6528
|
+
export interface Comparison {
|
|
6529
|
+
from: string;
|
|
6530
|
+
|
|
6531
|
+
kind: 'previous_period' | 'previous_year' | 'custom';
|
|
6532
|
+
|
|
6533
|
+
to: string;
|
|
6534
|
+
}
|
|
6360
6535
|
}
|
|
6361
6536
|
|
|
6362
6537
|
export interface Execution {
|
|
6363
|
-
cacheHit: boolean;
|
|
6364
|
-
|
|
6365
6538
|
generatedAt: string;
|
|
6366
6539
|
|
|
6367
6540
|
queryId: string;
|
|
@@ -6369,8 +6542,6 @@ export namespace JourneyFlowPreviewResponse {
|
|
|
6369
6542
|
sampled: boolean;
|
|
6370
6543
|
|
|
6371
6544
|
warnings: Array<Execution.Warning>;
|
|
6372
|
-
|
|
6373
|
-
cacheAgeMs?: number | null;
|
|
6374
6545
|
}
|
|
6375
6546
|
|
|
6376
6547
|
export namespace Execution {
|
|
@@ -6442,15 +6613,27 @@ export namespace JourneyFlowPreviewResponse {
|
|
|
6442
6613
|
}
|
|
6443
6614
|
|
|
6444
6615
|
export interface Series {
|
|
6616
|
+
/**
|
|
6617
|
+
* Period: '' for the selected dates, or the comparison kind (previous_period,
|
|
6618
|
+
* previous_year, custom).
|
|
6619
|
+
*/
|
|
6445
6620
|
id: string;
|
|
6446
6621
|
|
|
6447
6622
|
label: string;
|
|
6448
6623
|
|
|
6449
6624
|
segments: Array<Series.Segment>;
|
|
6625
|
+
|
|
6626
|
+
/**
|
|
6627
|
+
* The compared dates on a comparison series; null on the selected dates.
|
|
6628
|
+
*/
|
|
6629
|
+
comparison?: Series.Comparison | null;
|
|
6450
6630
|
}
|
|
6451
6631
|
|
|
6452
6632
|
export namespace Series {
|
|
6453
6633
|
export interface Segment {
|
|
6634
|
+
/**
|
|
6635
|
+
* '' for All traffic (always first), otherwise the breakdown segment key.
|
|
6636
|
+
*/
|
|
6454
6637
|
id: string;
|
|
6455
6638
|
|
|
6456
6639
|
columns: Array<Segment.Column>;
|
|
@@ -6477,6 +6660,11 @@ export namespace JourneyFlowPreviewResponse {
|
|
|
6477
6660
|
|
|
6478
6661
|
unfocusedEntryCount: string;
|
|
6479
6662
|
|
|
6663
|
+
/**
|
|
6664
|
+
* The breakdown segment; null on All traffic.
|
|
6665
|
+
*/
|
|
6666
|
+
breakdown?: Segment.Breakdown | null;
|
|
6667
|
+
|
|
6480
6668
|
observationIncompleteCount?: string | null;
|
|
6481
6669
|
|
|
6482
6670
|
timedOutCount?: string | null;
|
|
@@ -6550,6 +6738,9 @@ export namespace JourneyFlowPreviewResponse {
|
|
|
6550
6738
|
|
|
6551
6739
|
denominator: string;
|
|
6552
6740
|
|
|
6741
|
+
/**
|
|
6742
|
+
* Stable across segments and periods; id is not.
|
|
6743
|
+
*/
|
|
6553
6744
|
key: string;
|
|
6554
6745
|
|
|
6555
6746
|
kind: 'ANCHOR' | 'EVENT' | 'PAGE' | 'TERMINAL' | 'OMITTED_STEPS' | 'OTHER_EVENTS';
|
|
@@ -7088,6 +7279,38 @@ export namespace JourneyFlowPreviewResponse {
|
|
|
7088
7279
|
}
|
|
7089
7280
|
}
|
|
7090
7281
|
}
|
|
7282
|
+
|
|
7283
|
+
/**
|
|
7284
|
+
* The breakdown segment; null on All traffic.
|
|
7285
|
+
*/
|
|
7286
|
+
export interface Breakdown {
|
|
7287
|
+
/**
|
|
7288
|
+
* Segment key: v:<value>, $other, or $none.
|
|
7289
|
+
*/
|
|
7290
|
+
key: string;
|
|
7291
|
+
|
|
7292
|
+
kind: 'value' | 'other' | 'not_set';
|
|
7293
|
+
|
|
7294
|
+
label: string;
|
|
7295
|
+
|
|
7296
|
+
rank: number;
|
|
7297
|
+
|
|
7298
|
+
/**
|
|
7299
|
+
* Null for other and not_set.
|
|
7300
|
+
*/
|
|
7301
|
+
value: string | null;
|
|
7302
|
+
}
|
|
7303
|
+
}
|
|
7304
|
+
|
|
7305
|
+
/**
|
|
7306
|
+
* The compared dates on a comparison series; null on the selected dates.
|
|
7307
|
+
*/
|
|
7308
|
+
export interface Comparison {
|
|
7309
|
+
from: string;
|
|
7310
|
+
|
|
7311
|
+
kind: 'previous_period' | 'previous_year' | 'custom';
|
|
7312
|
+
|
|
7313
|
+
to: string;
|
|
7091
7314
|
}
|
|
7092
7315
|
}
|
|
7093
7316
|
|
|
@@ -9594,6 +9817,28 @@ export interface JourneyFlowResultsParams {
|
|
|
9594
9817
|
*/
|
|
9595
9818
|
expectedRevision: string;
|
|
9596
9819
|
|
|
9820
|
+
/**
|
|
9821
|
+
* Split results by a property. JSON object
|
|
9822
|
+
* {property:{property,path?,type},limit?}. type is string, number or boolean;
|
|
9823
|
+
* limit is 1–10 (default 5). Properties come from GET
|
|
9824
|
+
* /rest/v1/analytics/query-catalog. Optional atAnchorId names the anchor whose
|
|
9825
|
+
* event supplies the value. Example:
|
|
9826
|
+
* {"property":{"property":"session.device_type","type":"string"},"atAnchorId":"<anchor id>"}
|
|
9827
|
+
*/
|
|
9828
|
+
breakdown?: string;
|
|
9829
|
+
|
|
9830
|
+
/**
|
|
9831
|
+
* Compare with another range of the same length. JSON object {kind,from?}: kind is
|
|
9832
|
+
* previous_period, previous_year or custom; custom requires from (YYYY-MM-DD).
|
|
9833
|
+
* Example: {"kind":"previous_period"}
|
|
9834
|
+
*/
|
|
9835
|
+
comparison?: string;
|
|
9836
|
+
|
|
9837
|
+
/**
|
|
9838
|
+
* Include sample visitor and session IDs; defaults to true.
|
|
9839
|
+
*/
|
|
9840
|
+
includeSamples?: boolean;
|
|
9841
|
+
|
|
9597
9842
|
/**
|
|
9598
9843
|
* Recompute instead of serving a cached result for identical inputs.
|
|
9599
9844
|
*/
|
|
@@ -9603,6 +9848,11 @@ export interface JourneyFlowResultsParams {
|
|
|
9603
9848
|
* Complete report context override; JSON-encoded in the REST query string.
|
|
9604
9849
|
*/
|
|
9605
9850
|
reportContextOverride?: string;
|
|
9851
|
+
|
|
9852
|
+
/**
|
|
9853
|
+
* Top paths per segment, at most the saved view's topPaths.
|
|
9854
|
+
*/
|
|
9855
|
+
topPathsLimit?: number;
|
|
9606
9856
|
}
|
|
9607
9857
|
|
|
9608
9858
|
export interface JourneyFlowExportParams {
|
|
@@ -9612,6 +9862,28 @@ export interface JourneyFlowExportParams {
|
|
|
9612
9862
|
*/
|
|
9613
9863
|
expectedRevision: string;
|
|
9614
9864
|
|
|
9865
|
+
/**
|
|
9866
|
+
* Split results by a property. JSON object
|
|
9867
|
+
* {property:{property,path?,type},limit?}. type is string, number or boolean;
|
|
9868
|
+
* limit is 1–10 (default 5). Properties come from GET
|
|
9869
|
+
* /rest/v1/analytics/query-catalog. Optional atAnchorId names the anchor whose
|
|
9870
|
+
* event supplies the value. Example:
|
|
9871
|
+
* {"property":{"property":"session.device_type","type":"string"},"atAnchorId":"<anchor id>"}
|
|
9872
|
+
*/
|
|
9873
|
+
breakdown?: string;
|
|
9874
|
+
|
|
9875
|
+
/**
|
|
9876
|
+
* Compare with another range of the same length. JSON object {kind,from?}: kind is
|
|
9877
|
+
* previous_period, previous_year or custom; custom requires from (YYYY-MM-DD).
|
|
9878
|
+
* Example: {"kind":"previous_period"}
|
|
9879
|
+
*/
|
|
9880
|
+
comparison?: string;
|
|
9881
|
+
|
|
9882
|
+
/**
|
|
9883
|
+
* Include sample visitor and session IDs; defaults to true.
|
|
9884
|
+
*/
|
|
9885
|
+
includeSamples?: boolean;
|
|
9886
|
+
|
|
9615
9887
|
/**
|
|
9616
9888
|
* Recompute instead of serving a cached result for identical inputs.
|
|
9617
9889
|
*/
|
|
@@ -9621,12 +9893,18 @@ export interface JourneyFlowExportParams {
|
|
|
9621
9893
|
* Complete report context override; JSON-encoded in the REST query string.
|
|
9622
9894
|
*/
|
|
9623
9895
|
reportContextOverride?: string;
|
|
9896
|
+
|
|
9897
|
+
/**
|
|
9898
|
+
* Top paths per segment, at most the saved view's topPaths.
|
|
9899
|
+
*/
|
|
9900
|
+
topPathsLimit?: number;
|
|
9624
9901
|
}
|
|
9625
9902
|
|
|
9626
9903
|
export interface JourneyFlowPreviewParams {
|
|
9627
9904
|
/**
|
|
9628
|
-
* Object with required definition, reportContext, and view, plus optional refresh
|
|
9629
|
-
* JSON-encode input in the REST query string; maximum
|
|
9905
|
+
* Object with required definition, reportContext, and view, plus optional refresh,
|
|
9906
|
+
* breakdown, and comparison. JSON-encode input in the REST query string; maximum
|
|
9907
|
+
* 16384 bytes.
|
|
9630
9908
|
*/
|
|
9631
9909
|
input: string;
|
|
9632
9910
|
}
|
|
@@ -215,6 +215,12 @@ export namespace QueryEventCatalogResponse {
|
|
|
215
215
|
*/
|
|
216
216
|
scope: string;
|
|
217
217
|
|
|
218
|
+
/**
|
|
219
|
+
* False when the field identifies a person, so reports can filter on it but not
|
|
220
|
+
* break down by it.
|
|
221
|
+
*/
|
|
222
|
+
supportsBreakdown: boolean;
|
|
223
|
+
|
|
218
224
|
/**
|
|
219
225
|
* Value type the filter compares against.
|
|
220
226
|
*/
|
|
@@ -266,6 +272,12 @@ export namespace QueryEventPropertySuggestionsResponse {
|
|
|
266
272
|
*/
|
|
267
273
|
property: 'event.properties' | 'event.visitor_properties';
|
|
268
274
|
|
|
275
|
+
/**
|
|
276
|
+
* False when the path identifies a person, so reports can filter on it but not
|
|
277
|
+
* break down by it.
|
|
278
|
+
*/
|
|
279
|
+
supportsBreakdown: boolean;
|
|
280
|
+
|
|
269
281
|
/**
|
|
270
282
|
* Value type observed at this path.
|
|
271
283
|
*/
|