@oursprivacy/platform-sdk 1.56.0 → 1.57.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 +15 -6
- package/client.d.mts.map +1 -1
- package/client.d.ts +15 -6
- package/client.d.ts.map +1 -1
- package/client.js +9 -0
- package/client.js.map +1 -1
- package/client.mjs +9 -0
- package/client.mjs.map +1 -1
- package/internal/utils/log.d.mts.map +1 -1
- package/internal/utils/log.d.ts.map +1 -1
- package/internal/utils/log.js.map +1 -1
- package/internal/utils/log.mjs.map +1 -1
- package/package.json +4 -2
- package/resources/consent-settings.d.mts +90 -1
- package/resources/consent-settings.d.mts.map +1 -1
- package/resources/consent-settings.d.ts +90 -1
- package/resources/consent-settings.d.ts.map +1 -1
- package/resources/consent-settings.js +13 -0
- package/resources/consent-settings.js.map +1 -1
- package/resources/consent-settings.mjs +13 -0
- package/resources/consent-settings.mjs.map +1 -1
- package/resources/custom-domains.d.mts +10 -4
- package/resources/custom-domains.d.mts.map +1 -1
- package/resources/custom-domains.d.ts +10 -4
- package/resources/custom-domains.d.ts.map +1 -1
- package/resources/custom-domains.js +3 -2
- package/resources/custom-domains.js.map +1 -1
- package/resources/custom-domains.mjs +3 -2
- package/resources/custom-domains.mjs.map +1 -1
- package/resources/dashboards.d.mts +4737 -0
- package/resources/dashboards.d.mts.map +1 -0
- package/resources/dashboards.d.ts +4737 -0
- package/resources/dashboards.d.ts.map +1 -0
- package/resources/dashboards.js +124 -0
- package/resources/dashboards.js.map +1 -0
- package/resources/dashboards.mjs +120 -0
- package/resources/dashboards.mjs.map +1 -0
- package/resources/data-governance.d.mts +19 -26
- package/resources/data-governance.d.mts.map +1 -1
- package/resources/data-governance.d.ts +19 -26
- package/resources/data-governance.d.ts.map +1 -1
- package/resources/data-governance.js +14 -13
- package/resources/data-governance.js.map +1 -1
- package/resources/data-governance.mjs +14 -13
- package/resources/data-governance.mjs.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/experiment-settings.d.mts +84 -24
- package/resources/experiment-settings.d.mts.map +1 -1
- package/resources/experiment-settings.d.ts +84 -24
- package/resources/experiment-settings.d.ts.map +1 -1
- package/resources/experiment-settings.js +9 -4
- package/resources/experiment-settings.js.map +1 -1
- package/resources/experiment-settings.mjs +9 -4
- package/resources/experiment-settings.mjs.map +1 -1
- package/resources/funnels.d.mts +64 -7
- package/resources/funnels.d.mts.map +1 -1
- package/resources/funnels.d.ts +64 -7
- package/resources/funnels.d.ts.map +1 -1
- package/resources/funnels.js +2 -1
- package/resources/funnels.js.map +1 -1
- package/resources/funnels.mjs +2 -1
- package/resources/funnels.mjs.map +1 -1
- package/resources/index.d.mts +6 -3
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +6 -3
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +7 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +3 -0
- package/resources/index.mjs.map +1 -1
- package/resources/insights.d.mts +1152 -0
- package/resources/insights.d.mts.map +1 -0
- package/resources/insights.d.ts +1152 -0
- package/resources/insights.d.ts.map +1 -0
- package/resources/insights.js +81 -0
- package/resources/insights.js.map +1 -0
- package/resources/insights.mjs +77 -0
- package/resources/insights.mjs.map +1 -0
- package/resources/journey-flows.d.mts +214 -17
- package/resources/journey-flows.d.mts.map +1 -1
- package/resources/journey-flows.d.ts +214 -17
- package/resources/journey-flows.d.ts.map +1 -1
- package/resources/journey-flows.js +17 -13
- package/resources/journey-flows.js.map +1 -1
- package/resources/journey-flows.mjs +17 -13
- package/resources/journey-flows.mjs.map +1 -1
- package/resources/replay-settings.d.mts +3 -2
- package/resources/replay-settings.d.mts.map +1 -1
- package/resources/replay-settings.d.ts +3 -2
- package/resources/replay-settings.d.ts.map +1 -1
- package/resources/replay-settings.js +3 -2
- package/resources/replay-settings.js.map +1 -1
- package/resources/replay-settings.mjs +3 -2
- package/resources/replay-settings.mjs.map +1 -1
- package/resources/report-branding.d.mts +157 -0
- package/resources/report-branding.d.mts.map +1 -0
- package/resources/report-branding.d.ts +157 -0
- package/resources/report-branding.d.ts.map +1 -0
- package/resources/report-branding.js +39 -0
- package/resources/report-branding.js.map +1 -0
- package/resources/report-branding.mjs +35 -0
- package/resources/report-branding.mjs.map +1 -0
- package/resources/tag-manager-triggers.d.mts +46 -4
- package/resources/tag-manager-triggers.d.mts.map +1 -1
- package/resources/tag-manager-triggers.d.ts +46 -4
- package/resources/tag-manager-triggers.d.ts.map +1 -1
- package/resources/tag-manager-triggers.js +6 -4
- package/resources/tag-manager-triggers.js.map +1 -1
- package/resources/tag-manager-triggers.mjs +6 -4
- package/resources/tag-manager-triggers.mjs.map +1 -1
- package/resources/tag-manager-variables.d.mts +25 -13
- package/resources/tag-manager-variables.d.mts.map +1 -1
- package/resources/tag-manager-variables.d.ts +25 -13
- package/resources/tag-manager-variables.d.ts.map +1 -1
- package/resources/tag-manager-variables.js +9 -4
- package/resources/tag-manager-variables.js.map +1 -1
- package/resources/tag-manager-variables.mjs +9 -4
- package/resources/tag-manager-variables.mjs.map +1 -1
- package/resources/tag-managers.d.mts +17 -1
- package/resources/tag-managers.d.mts.map +1 -1
- package/resources/tag-managers.d.ts +17 -1
- package/resources/tag-managers.d.ts.map +1 -1
- package/resources/tag-managers.js +10 -0
- package/resources/tag-managers.js.map +1 -1
- package/resources/tag-managers.mjs +10 -0
- package/resources/tag-managers.mjs.map +1 -1
- package/resources/test-events.d.mts +18 -13
- package/resources/test-events.d.mts.map +1 -1
- package/resources/test-events.d.ts +18 -13
- package/resources/test-events.d.ts.map +1 -1
- package/resources/web-analytics.d.mts +91 -39
- package/resources/web-analytics.d.mts.map +1 -1
- package/resources/web-analytics.d.ts +91 -39
- package/resources/web-analytics.d.ts.map +1 -1
- package/resources/web-analytics.js +11 -0
- package/resources/web-analytics.js.map +1 -1
- package/resources/web-analytics.mjs +11 -0
- package/resources/web-analytics.mjs.map +1 -1
- package/resources/web-scanners.d.mts +3 -2
- package/resources/web-scanners.d.mts.map +1 -1
- package/resources/web-scanners.d.ts +3 -2
- package/resources/web-scanners.d.ts.map +1 -1
- package/resources/web-scanners.js +3 -2
- package/resources/web-scanners.js.map +1 -1
- package/resources/web-scanners.mjs +3 -2
- package/resources/web-scanners.mjs.map +1 -1
- package/src/client.ts +118 -3
- package/src/internal/utils/log.ts +1 -3
- package/src/resources/consent-settings.ts +117 -0
- package/src/resources/custom-domains.ts +14 -4
- package/src/resources/dashboards.ts +8757 -0
- package/src/resources/data-governance.ts +19 -26
- package/src/resources/destinations.ts +9 -2
- package/src/resources/experiment-settings.ts +84 -24
- package/src/resources/funnels.ts +64 -7
- package/src/resources/index.ts +54 -0
- package/src/resources/insights.ts +1976 -0
- package/src/resources/journey-flows.ts +214 -17
- package/src/resources/replay-settings.ts +3 -2
- package/src/resources/report-branding.ts +207 -0
- package/src/resources/tag-manager-triggers.ts +55 -4
- package/src/resources/tag-manager-variables.ts +25 -13
- package/src/resources/tag-managers.ts +21 -0
- package/src/resources/test-events.ts +18 -13
- package/src/resources/web-analytics.ts +137 -38
- package/src/resources/web-scanners.ts +3 -2
- 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
|
@@ -10,10 +10,10 @@ export declare class JourneyFlows extends APIResource {
|
|
|
10
10
|
*/
|
|
11
11
|
list(query?: JourneyFlowListParams | null | undefined, options?: RequestOptions): PagePromise<JourneyFlowListResponsesCursor, JourneyFlowListResponse>;
|
|
12
12
|
/**
|
|
13
|
-
* Save a validated Journey Flow configuration. Source ownership, UTC
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
* web-analytics:write
|
|
13
|
+
* Save a validated Journey Flow configuration. Source ownership, UTC dates, and
|
|
14
|
+
* supported journey settings are validated before saving. Reports selecting
|
|
15
|
+
* specific sources also require source:view permission. Requires API-key scope or
|
|
16
|
+
* current OAuth user permission: web-analytics:write
|
|
17
17
|
*/
|
|
18
18
|
create(body: JourneyFlowCreateParams, options?: RequestOptions): APIPromise<JourneyFlowCreateResponse>;
|
|
19
19
|
/**
|
|
@@ -25,8 +25,9 @@ export declare class JourneyFlows extends APIResource {
|
|
|
25
25
|
/**
|
|
26
26
|
* Partially update a Journey Flow using expectedRevision for optimistic
|
|
27
27
|
* concurrency. Omitted top-level fields remain unchanged; nested values replace
|
|
28
|
-
* the complete nested value.
|
|
29
|
-
*
|
|
28
|
+
* the complete nested value. Reports selecting specific sources also require
|
|
29
|
+
* source:view permission. Requires API-key scope or current OAuth user permission:
|
|
30
|
+
* web-analytics:write
|
|
30
31
|
*/
|
|
31
32
|
update(id: string, body: JourneyFlowUpdateParams, options?: RequestOptions): APIPromise<JourneyFlowUpdateResponse>;
|
|
32
33
|
/**
|
|
@@ -42,24 +43,27 @@ export declare class JourneyFlows extends APIResource {
|
|
|
42
43
|
*/
|
|
43
44
|
capabilities(options?: RequestOptions): APIPromise<JourneyFlowCapabilitiesResponse>;
|
|
44
45
|
/**
|
|
45
|
-
* Compute a saved Journey Flow result
|
|
46
|
-
*
|
|
47
|
-
*
|
|
46
|
+
* Compute a saved Journey Flow result. Pass refresh=true to recompute instead of
|
|
47
|
+
* serving a cached result for identical inputs. Requires expectedRevision and
|
|
48
|
+
* permits an optional complete report context override. Reports selecting specific
|
|
49
|
+
* sources also require source:view permission. Requires API-key scope or current
|
|
50
|
+
* OAuth user permission: web-analytics:view
|
|
48
51
|
*/
|
|
49
52
|
results(id: string, query: JourneyFlowResultsParams, options?: RequestOptions): APIPromise<JourneyFlowResultsResponse>;
|
|
50
53
|
/**
|
|
51
54
|
* Export the saved Journey Flow as CSV with its effective scope, exact aggregate
|
|
52
55
|
* counts, timing, graph and bounded Top Paths. Requires expectedRevision; display
|
|
53
56
|
* limits and omitted path weight are included. The response contains the CSV
|
|
54
|
-
* content and filename. Visitor and session samples are not included.
|
|
55
|
-
*
|
|
57
|
+
* content and filename. Visitor and session samples are not included. Reports
|
|
58
|
+
* selecting specific sources also require source:view permission. Requires API-key
|
|
59
|
+
* scope or current OAuth user permission: web-analytics:view
|
|
56
60
|
*/
|
|
57
61
|
export(id: string, query: JourneyFlowExportParams, options?: RequestOptions): APIPromise<JourneyFlowExportResponse>;
|
|
58
62
|
/**
|
|
59
63
|
* Compute a bounded preview from a serialized Journey Flow definition, report
|
|
60
64
|
* context, and view. Use GraphQL when the serialized input exceeds the HTTP URL
|
|
61
|
-
* budget.
|
|
62
|
-
* web-analytics:view
|
|
65
|
+
* budget. Reports selecting specific sources also require source:view permission.
|
|
66
|
+
* Requires API-key scope or current OAuth user permission: web-analytics:view
|
|
63
67
|
*/
|
|
64
68
|
preview(query: JourneyFlowPreviewParams, options?: RequestOptions): APIPromise<JourneyFlowPreviewResponse>;
|
|
65
69
|
}
|
|
@@ -68,16 +72,36 @@ export interface JourneyFlowListResponse {
|
|
|
68
72
|
id: string;
|
|
69
73
|
createdAt: string;
|
|
70
74
|
createdByUserId: string;
|
|
75
|
+
/**
|
|
76
|
+
* Version 1 Journey Flow definition with anchors, event or page matchers,
|
|
77
|
+
* counting, scope, and exploration settings. Selecting specific sourceIds also
|
|
78
|
+
* requires source:view permission.
|
|
79
|
+
*/
|
|
71
80
|
definition: JourneyFlowListResponse.Definition;
|
|
72
81
|
name: string;
|
|
82
|
+
/**
|
|
83
|
+
* Complete UTC date range and comparisons for this Journey Flow.
|
|
84
|
+
*/
|
|
73
85
|
reportContext: JourneyFlowListResponse.ReportContext;
|
|
74
86
|
revision: string;
|
|
75
87
|
updatedAt: string;
|
|
76
88
|
updatedByUserId: string;
|
|
89
|
+
/**
|
|
90
|
+
* Complete visualization settings. Supplied view replaces the saved value on
|
|
91
|
+
* PATCH.
|
|
92
|
+
*/
|
|
77
93
|
view: JourneyFlowListResponse.View;
|
|
94
|
+
/**
|
|
95
|
+
* Optional description; null clears it.
|
|
96
|
+
*/
|
|
78
97
|
description?: string | null;
|
|
79
98
|
}
|
|
80
99
|
export declare namespace JourneyFlowListResponse {
|
|
100
|
+
/**
|
|
101
|
+
* Version 1 Journey Flow definition with anchors, event or page matchers,
|
|
102
|
+
* counting, scope, and exploration settings. Selecting specific sourceIds also
|
|
103
|
+
* requires source:view permission.
|
|
104
|
+
*/
|
|
81
105
|
interface Definition {
|
|
82
106
|
anchors: Array<Definition.Anchor>;
|
|
83
107
|
exploration: Definition.Exploration;
|
|
@@ -583,6 +607,9 @@ export declare namespace JourneyFlowListResponse {
|
|
|
583
607
|
}
|
|
584
608
|
}
|
|
585
609
|
}
|
|
610
|
+
/**
|
|
611
|
+
* Complete UTC date range and comparisons for this Journey Flow.
|
|
612
|
+
*/
|
|
586
613
|
interface ReportContext {
|
|
587
614
|
dateRange: ReportContext.DateRange;
|
|
588
615
|
comparisons?: Array<ReportContext.Comparison>;
|
|
@@ -652,6 +679,10 @@ export declare namespace JourneyFlowListResponse {
|
|
|
652
679
|
}
|
|
653
680
|
}
|
|
654
681
|
}
|
|
682
|
+
/**
|
|
683
|
+
* Complete visualization settings. Supplied view replaces the saved value on
|
|
684
|
+
* PATCH.
|
|
685
|
+
*/
|
|
655
686
|
interface View {
|
|
656
687
|
showDropOff?: boolean;
|
|
657
688
|
showElapsedTime?: boolean;
|
|
@@ -664,16 +695,36 @@ export interface JourneyFlowCreateResponse {
|
|
|
664
695
|
id: string;
|
|
665
696
|
createdAt: string;
|
|
666
697
|
createdByUserId: string;
|
|
698
|
+
/**
|
|
699
|
+
* Version 1 Journey Flow definition with anchors, event or page matchers,
|
|
700
|
+
* counting, scope, and exploration settings. Selecting specific sourceIds also
|
|
701
|
+
* requires source:view permission.
|
|
702
|
+
*/
|
|
667
703
|
definition: JourneyFlowCreateResponse.Definition;
|
|
668
704
|
name: string;
|
|
705
|
+
/**
|
|
706
|
+
* Complete UTC date range and comparisons for this Journey Flow.
|
|
707
|
+
*/
|
|
669
708
|
reportContext: JourneyFlowCreateResponse.ReportContext;
|
|
670
709
|
revision: string;
|
|
671
710
|
updatedAt: string;
|
|
672
711
|
updatedByUserId: string;
|
|
712
|
+
/**
|
|
713
|
+
* Complete visualization settings. Supplied view replaces the saved value on
|
|
714
|
+
* PATCH.
|
|
715
|
+
*/
|
|
673
716
|
view: JourneyFlowCreateResponse.View;
|
|
717
|
+
/**
|
|
718
|
+
* Optional description; null clears it.
|
|
719
|
+
*/
|
|
674
720
|
description?: string | null;
|
|
675
721
|
}
|
|
676
722
|
export declare namespace JourneyFlowCreateResponse {
|
|
723
|
+
/**
|
|
724
|
+
* Version 1 Journey Flow definition with anchors, event or page matchers,
|
|
725
|
+
* counting, scope, and exploration settings. Selecting specific sourceIds also
|
|
726
|
+
* requires source:view permission.
|
|
727
|
+
*/
|
|
677
728
|
interface Definition {
|
|
678
729
|
anchors: Array<Definition.Anchor>;
|
|
679
730
|
exploration: Definition.Exploration;
|
|
@@ -1179,6 +1230,9 @@ export declare namespace JourneyFlowCreateResponse {
|
|
|
1179
1230
|
}
|
|
1180
1231
|
}
|
|
1181
1232
|
}
|
|
1233
|
+
/**
|
|
1234
|
+
* Complete UTC date range and comparisons for this Journey Flow.
|
|
1235
|
+
*/
|
|
1182
1236
|
interface ReportContext {
|
|
1183
1237
|
dateRange: ReportContext.DateRange;
|
|
1184
1238
|
comparisons?: Array<ReportContext.Comparison>;
|
|
@@ -1248,6 +1302,10 @@ export declare namespace JourneyFlowCreateResponse {
|
|
|
1248
1302
|
}
|
|
1249
1303
|
}
|
|
1250
1304
|
}
|
|
1305
|
+
/**
|
|
1306
|
+
* Complete visualization settings. Supplied view replaces the saved value on
|
|
1307
|
+
* PATCH.
|
|
1308
|
+
*/
|
|
1251
1309
|
interface View {
|
|
1252
1310
|
showDropOff?: boolean;
|
|
1253
1311
|
showElapsedTime?: boolean;
|
|
@@ -1260,16 +1318,36 @@ export interface JourneyFlowRetrieveResponse {
|
|
|
1260
1318
|
id: string;
|
|
1261
1319
|
createdAt: string;
|
|
1262
1320
|
createdByUserId: string;
|
|
1321
|
+
/**
|
|
1322
|
+
* Version 1 Journey Flow definition with anchors, event or page matchers,
|
|
1323
|
+
* counting, scope, and exploration settings. Selecting specific sourceIds also
|
|
1324
|
+
* requires source:view permission.
|
|
1325
|
+
*/
|
|
1263
1326
|
definition: JourneyFlowRetrieveResponse.Definition;
|
|
1264
1327
|
name: string;
|
|
1328
|
+
/**
|
|
1329
|
+
* Complete UTC date range and comparisons for this Journey Flow.
|
|
1330
|
+
*/
|
|
1265
1331
|
reportContext: JourneyFlowRetrieveResponse.ReportContext;
|
|
1266
1332
|
revision: string;
|
|
1267
1333
|
updatedAt: string;
|
|
1268
1334
|
updatedByUserId: string;
|
|
1335
|
+
/**
|
|
1336
|
+
* Complete visualization settings. Supplied view replaces the saved value on
|
|
1337
|
+
* PATCH.
|
|
1338
|
+
*/
|
|
1269
1339
|
view: JourneyFlowRetrieveResponse.View;
|
|
1340
|
+
/**
|
|
1341
|
+
* Optional description; null clears it.
|
|
1342
|
+
*/
|
|
1270
1343
|
description?: string | null;
|
|
1271
1344
|
}
|
|
1272
1345
|
export declare namespace JourneyFlowRetrieveResponse {
|
|
1346
|
+
/**
|
|
1347
|
+
* Version 1 Journey Flow definition with anchors, event or page matchers,
|
|
1348
|
+
* counting, scope, and exploration settings. Selecting specific sourceIds also
|
|
1349
|
+
* requires source:view permission.
|
|
1350
|
+
*/
|
|
1273
1351
|
interface Definition {
|
|
1274
1352
|
anchors: Array<Definition.Anchor>;
|
|
1275
1353
|
exploration: Definition.Exploration;
|
|
@@ -1775,6 +1853,9 @@ export declare namespace JourneyFlowRetrieveResponse {
|
|
|
1775
1853
|
}
|
|
1776
1854
|
}
|
|
1777
1855
|
}
|
|
1856
|
+
/**
|
|
1857
|
+
* Complete UTC date range and comparisons for this Journey Flow.
|
|
1858
|
+
*/
|
|
1778
1859
|
interface ReportContext {
|
|
1779
1860
|
dateRange: ReportContext.DateRange;
|
|
1780
1861
|
comparisons?: Array<ReportContext.Comparison>;
|
|
@@ -1844,6 +1925,10 @@ export declare namespace JourneyFlowRetrieveResponse {
|
|
|
1844
1925
|
}
|
|
1845
1926
|
}
|
|
1846
1927
|
}
|
|
1928
|
+
/**
|
|
1929
|
+
* Complete visualization settings. Supplied view replaces the saved value on
|
|
1930
|
+
* PATCH.
|
|
1931
|
+
*/
|
|
1847
1932
|
interface View {
|
|
1848
1933
|
showDropOff?: boolean;
|
|
1849
1934
|
showElapsedTime?: boolean;
|
|
@@ -1856,16 +1941,36 @@ export interface JourneyFlowUpdateResponse {
|
|
|
1856
1941
|
id: string;
|
|
1857
1942
|
createdAt: string;
|
|
1858
1943
|
createdByUserId: string;
|
|
1944
|
+
/**
|
|
1945
|
+
* Version 1 Journey Flow definition with anchors, event or page matchers,
|
|
1946
|
+
* counting, scope, and exploration settings. Selecting specific sourceIds also
|
|
1947
|
+
* requires source:view permission.
|
|
1948
|
+
*/
|
|
1859
1949
|
definition: JourneyFlowUpdateResponse.Definition;
|
|
1860
1950
|
name: string;
|
|
1951
|
+
/**
|
|
1952
|
+
* Complete UTC date range and comparisons for this Journey Flow.
|
|
1953
|
+
*/
|
|
1861
1954
|
reportContext: JourneyFlowUpdateResponse.ReportContext;
|
|
1862
1955
|
revision: string;
|
|
1863
1956
|
updatedAt: string;
|
|
1864
1957
|
updatedByUserId: string;
|
|
1958
|
+
/**
|
|
1959
|
+
* Complete visualization settings. Supplied view replaces the saved value on
|
|
1960
|
+
* PATCH.
|
|
1961
|
+
*/
|
|
1865
1962
|
view: JourneyFlowUpdateResponse.View;
|
|
1963
|
+
/**
|
|
1964
|
+
* Optional description; null clears it.
|
|
1965
|
+
*/
|
|
1866
1966
|
description?: string | null;
|
|
1867
1967
|
}
|
|
1868
1968
|
export declare namespace JourneyFlowUpdateResponse {
|
|
1969
|
+
/**
|
|
1970
|
+
* Version 1 Journey Flow definition with anchors, event or page matchers,
|
|
1971
|
+
* counting, scope, and exploration settings. Selecting specific sourceIds also
|
|
1972
|
+
* requires source:view permission.
|
|
1973
|
+
*/
|
|
1869
1974
|
interface Definition {
|
|
1870
1975
|
anchors: Array<Definition.Anchor>;
|
|
1871
1976
|
exploration: Definition.Exploration;
|
|
@@ -2371,6 +2476,9 @@ export declare namespace JourneyFlowUpdateResponse {
|
|
|
2371
2476
|
}
|
|
2372
2477
|
}
|
|
2373
2478
|
}
|
|
2479
|
+
/**
|
|
2480
|
+
* Complete UTC date range and comparisons for this Journey Flow.
|
|
2481
|
+
*/
|
|
2374
2482
|
interface ReportContext {
|
|
2375
2483
|
dateRange: ReportContext.DateRange;
|
|
2376
2484
|
comparisons?: Array<ReportContext.Comparison>;
|
|
@@ -2440,6 +2548,10 @@ export declare namespace JourneyFlowUpdateResponse {
|
|
|
2440
2548
|
}
|
|
2441
2549
|
}
|
|
2442
2550
|
}
|
|
2551
|
+
/**
|
|
2552
|
+
* Complete visualization settings. Supplied view replaces the saved value on
|
|
2553
|
+
* PATCH.
|
|
2554
|
+
*/
|
|
2443
2555
|
interface View {
|
|
2444
2556
|
showDropOff?: boolean;
|
|
2445
2557
|
showElapsedTime?: boolean;
|
|
@@ -3509,16 +3621,42 @@ export declare namespace JourneyFlowPreviewResponse {
|
|
|
3509
3621
|
}
|
|
3510
3622
|
}
|
|
3511
3623
|
export interface JourneyFlowListParams extends CursorParams {
|
|
3624
|
+
/**
|
|
3625
|
+
* Case-insensitive search in the name and description.
|
|
3626
|
+
*/
|
|
3512
3627
|
search?: string;
|
|
3513
3628
|
}
|
|
3514
3629
|
export interface JourneyFlowCreateParams {
|
|
3630
|
+
/**
|
|
3631
|
+
* Version 1 Journey Flow definition with anchors, event or page matchers,
|
|
3632
|
+
* counting, scope, and exploration settings. Selecting specific sourceIds also
|
|
3633
|
+
* requires source:view permission.
|
|
3634
|
+
*/
|
|
3515
3635
|
definition: JourneyFlowCreateParams.Definition;
|
|
3636
|
+
/**
|
|
3637
|
+
* Display name for the saved Journey Flow.
|
|
3638
|
+
*/
|
|
3516
3639
|
name: string;
|
|
3640
|
+
/**
|
|
3641
|
+
* Complete UTC date range and comparisons for this Journey Flow.
|
|
3642
|
+
*/
|
|
3517
3643
|
reportContext: JourneyFlowCreateParams.ReportContext;
|
|
3644
|
+
/**
|
|
3645
|
+
* Complete visualization settings. Supplied view replaces the saved value on
|
|
3646
|
+
* PATCH.
|
|
3647
|
+
*/
|
|
3518
3648
|
view: JourneyFlowCreateParams.View;
|
|
3649
|
+
/**
|
|
3650
|
+
* Optional description; null clears it.
|
|
3651
|
+
*/
|
|
3519
3652
|
description?: string | null;
|
|
3520
3653
|
}
|
|
3521
3654
|
export declare namespace JourneyFlowCreateParams {
|
|
3655
|
+
/**
|
|
3656
|
+
* Version 1 Journey Flow definition with anchors, event or page matchers,
|
|
3657
|
+
* counting, scope, and exploration settings. Selecting specific sourceIds also
|
|
3658
|
+
* requires source:view permission.
|
|
3659
|
+
*/
|
|
3522
3660
|
interface Definition {
|
|
3523
3661
|
anchors: Array<Definition.Anchor>;
|
|
3524
3662
|
exploration: Definition.Exploration;
|
|
@@ -4024,6 +4162,9 @@ export declare namespace JourneyFlowCreateParams {
|
|
|
4024
4162
|
}
|
|
4025
4163
|
}
|
|
4026
4164
|
}
|
|
4165
|
+
/**
|
|
4166
|
+
* Complete UTC date range and comparisons for this Journey Flow.
|
|
4167
|
+
*/
|
|
4027
4168
|
interface ReportContext {
|
|
4028
4169
|
dateRange: ReportContext.DateRange;
|
|
4029
4170
|
comparisons?: Array<ReportContext.Comparison>;
|
|
@@ -4093,6 +4234,10 @@ export declare namespace JourneyFlowCreateParams {
|
|
|
4093
4234
|
}
|
|
4094
4235
|
}
|
|
4095
4236
|
}
|
|
4237
|
+
/**
|
|
4238
|
+
* Complete visualization settings. Supplied view replaces the saved value on
|
|
4239
|
+
* PATCH.
|
|
4240
|
+
*/
|
|
4096
4241
|
interface View {
|
|
4097
4242
|
showDropOff?: boolean;
|
|
4098
4243
|
showElapsedTime?: boolean;
|
|
@@ -4102,14 +4247,41 @@ export declare namespace JourneyFlowCreateParams {
|
|
|
4102
4247
|
}
|
|
4103
4248
|
}
|
|
4104
4249
|
export interface JourneyFlowUpdateParams {
|
|
4250
|
+
/**
|
|
4251
|
+
* Revision returned by get/list or the last write. A stale revision returns 409;
|
|
4252
|
+
* reload before retrying.
|
|
4253
|
+
*/
|
|
4105
4254
|
expectedRevision: string;
|
|
4255
|
+
/**
|
|
4256
|
+
* Version 1 Journey Flow definition with anchors, event or page matchers,
|
|
4257
|
+
* counting, scope, and exploration settings. Selecting specific sourceIds also
|
|
4258
|
+
* requires source:view permission.
|
|
4259
|
+
*/
|
|
4106
4260
|
definition?: JourneyFlowUpdateParams.Definition;
|
|
4261
|
+
/**
|
|
4262
|
+
* Optional description; null clears it.
|
|
4263
|
+
*/
|
|
4107
4264
|
description?: string | null;
|
|
4265
|
+
/**
|
|
4266
|
+
* Display name for the saved Journey Flow.
|
|
4267
|
+
*/
|
|
4108
4268
|
name?: string;
|
|
4269
|
+
/**
|
|
4270
|
+
* Complete UTC date range and comparisons for this Journey Flow.
|
|
4271
|
+
*/
|
|
4109
4272
|
reportContext?: JourneyFlowUpdateParams.ReportContext;
|
|
4273
|
+
/**
|
|
4274
|
+
* Complete visualization settings. Supplied view replaces the saved value on
|
|
4275
|
+
* PATCH.
|
|
4276
|
+
*/
|
|
4110
4277
|
view?: JourneyFlowUpdateParams.View;
|
|
4111
4278
|
}
|
|
4112
4279
|
export declare namespace JourneyFlowUpdateParams {
|
|
4280
|
+
/**
|
|
4281
|
+
* Version 1 Journey Flow definition with anchors, event or page matchers,
|
|
4282
|
+
* counting, scope, and exploration settings. Selecting specific sourceIds also
|
|
4283
|
+
* requires source:view permission.
|
|
4284
|
+
*/
|
|
4113
4285
|
interface Definition {
|
|
4114
4286
|
anchors: Array<Definition.Anchor>;
|
|
4115
4287
|
exploration: Definition.Exploration;
|
|
@@ -4615,6 +4787,9 @@ export declare namespace JourneyFlowUpdateParams {
|
|
|
4615
4787
|
}
|
|
4616
4788
|
}
|
|
4617
4789
|
}
|
|
4790
|
+
/**
|
|
4791
|
+
* Complete UTC date range and comparisons for this Journey Flow.
|
|
4792
|
+
*/
|
|
4618
4793
|
interface ReportContext {
|
|
4619
4794
|
dateRange: ReportContext.DateRange;
|
|
4620
4795
|
comparisons?: Array<ReportContext.Comparison>;
|
|
@@ -4684,6 +4859,10 @@ export declare namespace JourneyFlowUpdateParams {
|
|
|
4684
4859
|
}
|
|
4685
4860
|
}
|
|
4686
4861
|
}
|
|
4862
|
+
/**
|
|
4863
|
+
* Complete visualization settings. Supplied view replaces the saved value on
|
|
4864
|
+
* PATCH.
|
|
4865
|
+
*/
|
|
4687
4866
|
interface View {
|
|
4688
4867
|
showDropOff?: boolean;
|
|
4689
4868
|
showElapsedTime?: boolean;
|
|
@@ -4693,28 +4872,46 @@ export declare namespace JourneyFlowUpdateParams {
|
|
|
4693
4872
|
}
|
|
4694
4873
|
}
|
|
4695
4874
|
export interface JourneyFlowDeleteParams {
|
|
4875
|
+
/**
|
|
4876
|
+
* Revision returned by get/list or the last write. A stale revision returns 409;
|
|
4877
|
+
* reload before retrying.
|
|
4878
|
+
*/
|
|
4696
4879
|
expectedRevision: string;
|
|
4697
4880
|
}
|
|
4698
4881
|
export interface JourneyFlowResultsParams {
|
|
4882
|
+
/**
|
|
4883
|
+
* Revision returned by get/list or the last write. A stale revision returns 409;
|
|
4884
|
+
* reload before retrying.
|
|
4885
|
+
*/
|
|
4699
4886
|
expectedRevision: string;
|
|
4887
|
+
/**
|
|
4888
|
+
* Recompute instead of serving a cached result for identical inputs.
|
|
4889
|
+
*/
|
|
4700
4890
|
refresh?: boolean;
|
|
4701
4891
|
/**
|
|
4702
|
-
*
|
|
4892
|
+
* Complete report context override; JSON-encoded in the REST query string.
|
|
4703
4893
|
*/
|
|
4704
4894
|
reportContextOverride?: string;
|
|
4705
4895
|
}
|
|
4706
4896
|
export interface JourneyFlowExportParams {
|
|
4897
|
+
/**
|
|
4898
|
+
* Revision returned by get/list or the last write. A stale revision returns 409;
|
|
4899
|
+
* reload before retrying.
|
|
4900
|
+
*/
|
|
4707
4901
|
expectedRevision: string;
|
|
4902
|
+
/**
|
|
4903
|
+
* Recompute instead of serving a cached result for identical inputs.
|
|
4904
|
+
*/
|
|
4708
4905
|
refresh?: boolean;
|
|
4709
4906
|
/**
|
|
4710
|
-
*
|
|
4907
|
+
* Complete report context override; JSON-encoded in the REST query string.
|
|
4711
4908
|
*/
|
|
4712
4909
|
reportContextOverride?: string;
|
|
4713
4910
|
}
|
|
4714
4911
|
export interface JourneyFlowPreviewParams {
|
|
4715
4912
|
/**
|
|
4716
|
-
*
|
|
4717
|
-
*
|
|
4913
|
+
* Object with required definition, reportContext, and view, plus optional refresh.
|
|
4914
|
+
* JSON-encode input in the REST query string; maximum 16384 bytes.
|
|
4718
4915
|
*/
|
|
4719
4916
|
input: string;
|
|
4720
4917
|
}
|