@oursprivacy/platform-sdk 1.52.0 → 1.53.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/allowed-events.d.mts +9 -7
- package/resources/allowed-events.d.mts.map +1 -1
- package/resources/allowed-events.d.ts +9 -7
- package/resources/allowed-events.d.ts.map +1 -1
- package/resources/allowed-events.js +9 -7
- package/resources/allowed-events.js.map +1 -1
- package/resources/allowed-events.mjs +9 -7
- package/resources/allowed-events.mjs.map +1 -1
- package/resources/analytics.d.mts +4 -2
- package/resources/analytics.d.mts.map +1 -1
- package/resources/analytics.d.ts +4 -2
- package/resources/analytics.d.ts.map +1 -1
- package/resources/analytics.js +4 -2
- package/resources/analytics.js.map +1 -1
- package/resources/analytics.mjs +4 -2
- package/resources/analytics.mjs.map +1 -1
- package/resources/attribution.d.mts +8 -5
- package/resources/attribution.d.mts.map +1 -1
- package/resources/attribution.d.ts +8 -5
- package/resources/attribution.d.ts.map +1 -1
- package/resources/attribution.js +8 -5
- package/resources/attribution.js.map +1 -1
- package/resources/attribution.mjs +8 -5
- package/resources/attribution.mjs.map +1 -1
- package/resources/audience-conversion-reports.d.mts +11 -9
- package/resources/audience-conversion-reports.d.mts.map +1 -1
- package/resources/audience-conversion-reports.d.ts +11 -9
- package/resources/audience-conversion-reports.d.ts.map +1 -1
- package/resources/audience-conversion-reports.js +11 -9
- package/resources/audience-conversion-reports.js.map +1 -1
- package/resources/audience-conversion-reports.mjs +11 -9
- package/resources/audience-conversion-reports.mjs.map +1 -1
- package/resources/consent-analytics.d.mts +2 -1
- package/resources/consent-analytics.d.mts.map +1 -1
- package/resources/consent-analytics.d.ts +2 -1
- package/resources/consent-analytics.d.ts.map +1 -1
- package/resources/consent-analytics.js +2 -1
- package/resources/consent-analytics.js.map +1 -1
- package/resources/consent-analytics.mjs +2 -1
- package/resources/consent-analytics.mjs.map +1 -1
- package/resources/consent-settings.d.mts +220 -120
- package/resources/consent-settings.d.mts.map +1 -1
- package/resources/consent-settings.d.ts +220 -120
- package/resources/consent-settings.d.ts.map +1 -1
- package/resources/consent-settings.js +72 -34
- package/resources/consent-settings.js.map +1 -1
- package/resources/consent-settings.mjs +72 -34
- package/resources/consent-settings.mjs.map +1 -1
- package/resources/conversion-journey-summaries.d.mts +10 -5
- package/resources/conversion-journey-summaries.d.mts.map +1 -1
- package/resources/conversion-journey-summaries.d.ts +10 -5
- package/resources/conversion-journey-summaries.d.ts.map +1 -1
- package/resources/conversion-journey-summaries.js +10 -5
- package/resources/conversion-journey-summaries.js.map +1 -1
- package/resources/conversion-journey-summaries.mjs +10 -5
- package/resources/conversion-journey-summaries.mjs.map +1 -1
- package/resources/data-governance.d.mts +8 -6
- package/resources/data-governance.d.mts.map +1 -1
- package/resources/data-governance.d.ts +8 -6
- package/resources/data-governance.d.ts.map +1 -1
- package/resources/data-governance.js +8 -6
- package/resources/data-governance.js.map +1 -1
- package/resources/data-governance.mjs +8 -6
- package/resources/data-governance.mjs.map +1 -1
- package/resources/default-mappings.d.mts +6 -5
- package/resources/default-mappings.d.mts.map +1 -1
- package/resources/default-mappings.d.ts +6 -5
- package/resources/default-mappings.d.ts.map +1 -1
- package/resources/default-mappings.js +6 -5
- package/resources/default-mappings.js.map +1 -1
- package/resources/default-mappings.mjs +6 -5
- package/resources/default-mappings.mjs.map +1 -1
- package/resources/destinations.d.mts +17 -12
- package/resources/destinations.d.mts.map +1 -1
- package/resources/destinations.d.ts +17 -12
- package/resources/destinations.d.ts.map +1 -1
- package/resources/destinations.js +12 -7
- package/resources/destinations.js.map +1 -1
- package/resources/destinations.mjs +12 -7
- package/resources/destinations.mjs.map +1 -1
- package/resources/experiment-settings.d.mts +9 -6
- package/resources/experiment-settings.d.mts.map +1 -1
- package/resources/experiment-settings.d.ts +9 -6
- package/resources/experiment-settings.d.ts.map +1 -1
- package/resources/experiment-settings.js +9 -6
- package/resources/experiment-settings.js.map +1 -1
- package/resources/experiment-settings.mjs +9 -6
- package/resources/experiment-settings.mjs.map +1 -1
- package/resources/experiment-variants.d.mts +9 -5
- package/resources/experiment-variants.d.mts.map +1 -1
- package/resources/experiment-variants.d.ts +9 -5
- package/resources/experiment-variants.d.ts.map +1 -1
- package/resources/experiment-variants.js +9 -5
- package/resources/experiment-variants.js.map +1 -1
- package/resources/experiment-variants.mjs +9 -5
- package/resources/experiment-variants.mjs.map +1 -1
- package/resources/experiments.d.mts +30 -19
- package/resources/experiments.d.mts.map +1 -1
- package/resources/experiments.d.ts +30 -19
- package/resources/experiments.d.ts.map +1 -1
- package/resources/experiments.js +30 -19
- package/resources/experiments.js.map +1 -1
- package/resources/experiments.mjs +30 -19
- package/resources/experiments.mjs.map +1 -1
- package/resources/funnels.d.mts +11 -10
- package/resources/funnels.d.mts.map +1 -1
- package/resources/funnels.d.ts +11 -10
- package/resources/funnels.d.ts.map +1 -1
- package/resources/funnels.js +11 -10
- package/resources/funnels.js.map +1 -1
- package/resources/funnels.mjs +11 -10
- package/resources/funnels.mjs.map +1 -1
- package/resources/heatmap-pages.d.mts +3 -2
- package/resources/heatmap-pages.d.mts.map +1 -1
- package/resources/heatmap-pages.d.ts +3 -2
- package/resources/heatmap-pages.d.ts.map +1 -1
- package/resources/heatmap-pages.js +3 -2
- package/resources/heatmap-pages.js.map +1 -1
- package/resources/heatmap-pages.mjs +3 -2
- package/resources/heatmap-pages.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/journey-flows.d.mts +17 -12
- package/resources/journey-flows.d.mts.map +1 -1
- package/resources/journey-flows.d.ts +17 -12
- package/resources/journey-flows.d.ts.map +1 -1
- package/resources/journey-flows.js +17 -12
- package/resources/journey-flows.js.map +1 -1
- package/resources/journey-flows.mjs +17 -12
- package/resources/journey-flows.mjs.map +1 -1
- package/resources/locations.d.mts +6 -5
- package/resources/locations.d.mts.map +1 -1
- package/resources/locations.d.ts +6 -5
- package/resources/locations.d.ts.map +1 -1
- package/resources/locations.js +6 -5
- package/resources/locations.js.map +1 -1
- package/resources/locations.mjs +6 -5
- package/resources/locations.mjs.map +1 -1
- package/resources/mappings.d.mts +18 -12
- package/resources/mappings.d.mts.map +1 -1
- package/resources/mappings.d.ts +18 -12
- package/resources/mappings.d.ts.map +1 -1
- package/resources/mappings.js +18 -12
- package/resources/mappings.js.map +1 -1
- package/resources/mappings.mjs +18 -12
- package/resources/mappings.mjs.map +1 -1
- package/resources/personalization-properties.d.mts +10 -7
- package/resources/personalization-properties.d.mts.map +1 -1
- package/resources/personalization-properties.d.ts +10 -7
- package/resources/personalization-properties.d.ts.map +1 -1
- package/resources/personalization-properties.js +10 -7
- package/resources/personalization-properties.js.map +1 -1
- package/resources/personalization-properties.mjs +10 -7
- package/resources/personalization-properties.mjs.map +1 -1
- package/resources/replay-settings.d.mts +9 -6
- package/resources/replay-settings.d.mts.map +1 -1
- package/resources/replay-settings.d.ts +9 -6
- package/resources/replay-settings.d.ts.map +1 -1
- package/resources/replay-settings.js +9 -6
- package/resources/replay-settings.js.map +1 -1
- package/resources/replay-settings.mjs +9 -6
- package/resources/replay-settings.mjs.map +1 -1
- package/resources/session-replays.d.mts +4 -2
- package/resources/session-replays.d.mts.map +1 -1
- package/resources/session-replays.d.ts +4 -2
- package/resources/session-replays.d.ts.map +1 -1
- package/resources/session-replays.js +4 -2
- package/resources/session-replays.js.map +1 -1
- package/resources/session-replays.mjs +4 -2
- package/resources/session-replays.mjs.map +1 -1
- package/resources/short-links.d.mts +11 -7
- package/resources/short-links.d.mts.map +1 -1
- package/resources/short-links.d.ts +11 -7
- package/resources/short-links.d.ts.map +1 -1
- package/resources/short-links.js +11 -7
- package/resources/short-links.js.map +1 -1
- package/resources/short-links.mjs +11 -7
- package/resources/short-links.mjs.map +1 -1
- package/resources/sources.d.mts +12 -6
- package/resources/sources.d.mts.map +1 -1
- package/resources/sources.d.ts +12 -6
- package/resources/sources.d.ts.map +1 -1
- package/resources/sources.js +12 -6
- package/resources/sources.js.map +1 -1
- package/resources/sources.mjs +12 -6
- package/resources/sources.mjs.map +1 -1
- package/resources/tag-manager-asset-folders.d.mts +2 -1
- package/resources/tag-manager-asset-folders.d.mts.map +1 -1
- package/resources/tag-manager-asset-folders.d.ts +2 -1
- package/resources/tag-manager-asset-folders.d.ts.map +1 -1
- package/resources/tag-manager-asset-folders.js +2 -1
- package/resources/tag-manager-asset-folders.js.map +1 -1
- package/resources/tag-manager-asset-folders.mjs +2 -1
- package/resources/tag-manager-asset-folders.mjs.map +1 -1
- package/resources/tag-manager-folders.d.mts +9 -7
- package/resources/tag-manager-folders.d.mts.map +1 -1
- package/resources/tag-manager-folders.d.ts +9 -7
- package/resources/tag-manager-folders.d.ts.map +1 -1
- package/resources/tag-manager-folders.js +9 -7
- package/resources/tag-manager-folders.js.map +1 -1
- package/resources/tag-manager-folders.mjs +9 -7
- package/resources/tag-manager-folders.mjs.map +1 -1
- package/resources/tag-manager-tags.d.mts +11 -7
- package/resources/tag-manager-tags.d.mts.map +1 -1
- package/resources/tag-manager-tags.d.ts +11 -7
- package/resources/tag-manager-tags.d.ts.map +1 -1
- package/resources/tag-manager-tags.js +10 -6
- package/resources/tag-manager-tags.js.map +1 -1
- package/resources/tag-manager-tags.mjs +10 -6
- package/resources/tag-manager-tags.mjs.map +1 -1
- package/resources/tag-manager-triggers.d.mts +12 -7
- package/resources/tag-manager-triggers.d.mts.map +1 -1
- package/resources/tag-manager-triggers.d.ts +12 -7
- package/resources/tag-manager-triggers.d.ts.map +1 -1
- package/resources/tag-manager-triggers.js +11 -6
- package/resources/tag-manager-triggers.js.map +1 -1
- package/resources/tag-manager-triggers.mjs +11 -6
- package/resources/tag-manager-triggers.mjs.map +1 -1
- package/resources/tag-manager-variables.d.mts +27 -23
- package/resources/tag-manager-variables.d.mts.map +1 -1
- package/resources/tag-manager-variables.d.ts +27 -23
- package/resources/tag-manager-variables.d.ts.map +1 -1
- package/resources/tag-manager-variables.js +10 -6
- package/resources/tag-manager-variables.js.map +1 -1
- package/resources/tag-manager-variables.mjs +10 -6
- package/resources/tag-manager-variables.mjs.map +1 -1
- package/resources/tag-managers.d.mts +10 -5
- package/resources/tag-managers.d.mts.map +1 -1
- package/resources/tag-managers.d.ts +10 -5
- package/resources/tag-managers.d.ts.map +1 -1
- package/resources/tag-managers.js +10 -5
- package/resources/tag-managers.js.map +1 -1
- package/resources/tag-managers.mjs +10 -5
- package/resources/tag-managers.mjs.map +1 -1
- package/resources/test-events.d.mts +6 -4
- package/resources/test-events.d.mts.map +1 -1
- package/resources/test-events.d.ts +6 -4
- package/resources/test-events.d.ts.map +1 -1
- package/resources/test-events.js +6 -4
- package/resources/test-events.js.map +1 -1
- package/resources/test-events.mjs +6 -4
- package/resources/test-events.mjs.map +1 -1
- package/resources/translation-widgets.d.mts +7 -6
- package/resources/translation-widgets.d.mts.map +1 -1
- package/resources/translation-widgets.d.ts +7 -6
- package/resources/translation-widgets.d.ts.map +1 -1
- package/resources/translation-widgets.js +7 -6
- package/resources/translation-widgets.js.map +1 -1
- package/resources/translation-widgets.mjs +7 -6
- package/resources/translation-widgets.mjs.map +1 -1
- package/resources/versions.d.mts +21 -11
- package/resources/versions.d.mts.map +1 -1
- package/resources/versions.d.ts +21 -11
- package/resources/versions.d.ts.map +1 -1
- package/resources/versions.js +16 -11
- package/resources/versions.js.map +1 -1
- package/resources/versions.mjs +16 -11
- package/resources/versions.mjs.map +1 -1
- package/resources/video-channels.d.mts +15 -9
- package/resources/video-channels.d.mts.map +1 -1
- package/resources/video-channels.d.ts +15 -9
- package/resources/video-channels.d.ts.map +1 -1
- package/resources/video-channels.js +15 -9
- package/resources/video-channels.js.map +1 -1
- package/resources/video-channels.mjs +15 -9
- package/resources/video-channels.mjs.map +1 -1
- package/resources/videos.d.mts +21 -14
- package/resources/videos.d.mts.map +1 -1
- package/resources/videos.d.ts +21 -14
- package/resources/videos.d.ts.map +1 -1
- package/resources/videos.js +21 -14
- package/resources/videos.js.map +1 -1
- package/resources/videos.mjs +21 -14
- package/resources/videos.mjs.map +1 -1
- package/resources/web-analytics.d.mts +14 -9
- package/resources/web-analytics.d.mts.map +1 -1
- package/resources/web-analytics.d.ts +14 -9
- package/resources/web-analytics.d.ts.map +1 -1
- package/resources/web-analytics.js +14 -9
- package/resources/web-analytics.js.map +1 -1
- package/resources/web-analytics.mjs +14 -9
- package/resources/web-analytics.mjs.map +1 -1
- package/resources/web-scanner-rules.d.mts +10 -6
- package/resources/web-scanner-rules.d.mts.map +1 -1
- package/resources/web-scanner-rules.d.ts +10 -6
- package/resources/web-scanner-rules.d.ts.map +1 -1
- package/resources/web-scanner-rules.js +10 -6
- package/resources/web-scanner-rules.js.map +1 -1
- package/resources/web-scanner-rules.mjs +10 -6
- package/resources/web-scanner-rules.mjs.map +1 -1
- package/resources/web-scanners.d.mts +26 -19
- package/resources/web-scanners.d.mts.map +1 -1
- package/resources/web-scanners.d.ts +26 -19
- package/resources/web-scanners.d.ts.map +1 -1
- package/resources/web-scanners.js +25 -18
- package/resources/web-scanners.js.map +1 -1
- package/resources/web-scanners.mjs +25 -18
- package/resources/web-scanners.mjs.map +1 -1
- package/src/client.ts +8 -0
- package/src/resources/allowed-events.ts +9 -7
- package/src/resources/analytics.ts +4 -2
- package/src/resources/attribution.ts +8 -5
- package/src/resources/audience-conversion-reports.ts +11 -9
- package/src/resources/consent-analytics.ts +2 -1
- package/src/resources/consent-settings.ts +264 -120
- package/src/resources/conversion-journey-summaries.ts +10 -5
- package/src/resources/data-governance.ts +8 -6
- package/src/resources/default-mappings.ts +6 -5
- package/src/resources/destinations.ts +17 -7
- package/src/resources/experiment-settings.ts +9 -6
- package/src/resources/experiment-variants.ts +9 -5
- package/src/resources/experiments.ts +30 -19
- package/src/resources/funnels.ts +11 -10
- package/src/resources/heatmap-pages.ts +3 -2
- package/src/resources/index.ts +4 -0
- package/src/resources/journey-flows.ts +17 -12
- package/src/resources/locations.ts +6 -5
- package/src/resources/mappings.ts +18 -12
- package/src/resources/personalization-properties.ts +10 -7
- package/src/resources/replay-settings.ts +9 -6
- package/src/resources/session-replays.ts +4 -2
- package/src/resources/short-links.ts +11 -7
- package/src/resources/sources.ts +12 -6
- package/src/resources/tag-manager-asset-folders.ts +2 -1
- package/src/resources/tag-manager-folders.ts +9 -7
- package/src/resources/tag-manager-tags.ts +11 -7
- package/src/resources/tag-manager-triggers.ts +12 -7
- package/src/resources/tag-manager-variables.ts +23 -19
- package/src/resources/tag-managers.ts +10 -5
- package/src/resources/test-events.ts +6 -4
- package/src/resources/translation-widgets.ts +7 -6
- package/src/resources/versions.ts +22 -11
- package/src/resources/video-channels.ts +15 -9
- package/src/resources/videos.ts +21 -14
- package/src/resources/web-analytics.ts +14 -9
- package/src/resources/web-scanner-rules.ts +10 -6
- package/src/resources/web-scanners.ts +26 -19
- 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
package/resources/videos.js
CHANGED
|
@@ -8,7 +8,8 @@ const path_1 = require("../internal/utils/path.js");
|
|
|
8
8
|
class Videos extends resource_1.APIResource {
|
|
9
9
|
/**
|
|
10
10
|
* List videos for the account, newest first. Supports cursor pagination and an
|
|
11
|
-
* optional case-insensitive title filter. Requires scope
|
|
11
|
+
* optional case-insensitive title filter. Requires API-key scope or current OAuth
|
|
12
|
+
* user permission: media:list
|
|
12
13
|
*
|
|
13
14
|
* @example
|
|
14
15
|
* ```ts
|
|
@@ -25,7 +26,7 @@ class Videos extends resource_1.APIResource {
|
|
|
25
26
|
* Create a video record and return a temporary upload target for the original MP4
|
|
26
27
|
* or WebM file. Upload the file directly using the returned URL and matching
|
|
27
28
|
* content type, then poll the video to observe processing progress. Requires
|
|
28
|
-
* scope: media:create
|
|
29
|
+
* API-key scope or current OAuth user permission: media:create
|
|
29
30
|
*
|
|
30
31
|
* @example
|
|
31
32
|
* ```ts
|
|
@@ -39,8 +40,8 @@ class Videos extends resource_1.APIResource {
|
|
|
39
40
|
}
|
|
40
41
|
/**
|
|
41
42
|
* Fetch a video and its current playback asset availability. The processed video,
|
|
42
|
-
* poster, and transcript are prepared asynchronously after upload. Requires
|
|
43
|
-
* media:find
|
|
43
|
+
* poster, and transcript are prepared asynchronously after upload. Requires
|
|
44
|
+
* API-key scope or current OAuth user permission: media:find
|
|
44
45
|
*
|
|
45
46
|
* @example
|
|
46
47
|
* ```ts
|
|
@@ -52,7 +53,8 @@ class Videos extends resource_1.APIResource {
|
|
|
52
53
|
}
|
|
53
54
|
/**
|
|
54
55
|
* Partially update video metadata. Only fields included in the body change; send
|
|
55
|
-
* `null` to clear a nullable field. Requires scope
|
|
56
|
+
* `null` to clear a nullable field. Requires API-key scope or current OAuth user
|
|
57
|
+
* permission: media:update
|
|
56
58
|
*
|
|
57
59
|
* @example
|
|
58
60
|
* ```ts
|
|
@@ -63,7 +65,8 @@ class Videos extends resource_1.APIResource {
|
|
|
63
65
|
return this._client.patch((0, path_1.path) `/rest/v1/videos/${id}`, { body, ...options });
|
|
64
66
|
}
|
|
65
67
|
/**
|
|
66
|
-
* Delete a video and its related assets. Requires scope
|
|
68
|
+
* Delete a video and its related assets. Requires API-key scope or current OAuth
|
|
69
|
+
* user permission: media:delete
|
|
67
70
|
*
|
|
68
71
|
* @example
|
|
69
72
|
* ```ts
|
|
@@ -76,8 +79,8 @@ class Videos extends resource_1.APIResource {
|
|
|
76
79
|
/**
|
|
77
80
|
* Return a temporary upload target for replacing this video’s original MP4 or WebM
|
|
78
81
|
* source. Upload the file directly using the returned URL and matching content
|
|
79
|
-
* type, then poll the video to observe processing progress. Requires scope
|
|
80
|
-
* media:update
|
|
82
|
+
* type, then poll the video to observe processing progress. Requires API-key scope
|
|
83
|
+
* or current OAuth user permission: media:update
|
|
81
84
|
*
|
|
82
85
|
* @example
|
|
83
86
|
* ```ts
|
|
@@ -92,7 +95,7 @@ class Videos extends resource_1.APIResource {
|
|
|
92
95
|
/**
|
|
93
96
|
* Read the current WebVTT transcript. Transcript text is available wherever the
|
|
94
97
|
* video is embedded, so do not include PHI or other confidential information.
|
|
95
|
-
* Requires scope: media:find
|
|
98
|
+
* Requires API-key scope or current OAuth user permission: media:find
|
|
96
99
|
*
|
|
97
100
|
* @example
|
|
98
101
|
* ```ts
|
|
@@ -105,7 +108,8 @@ class Videos extends resource_1.APIResource {
|
|
|
105
108
|
/**
|
|
106
109
|
* Replace the transcript with VTT or SRT text. SRT is normalized to WebVTT.
|
|
107
110
|
* Transcript text is available wherever the video is embedded, so do not include
|
|
108
|
-
* PHI or other confidential information. Requires scope
|
|
111
|
+
* PHI or other confidential information. Requires API-key scope or current OAuth
|
|
112
|
+
* user permission: media:update
|
|
109
113
|
*
|
|
110
114
|
* @example
|
|
111
115
|
* ```ts
|
|
@@ -120,7 +124,8 @@ class Videos extends resource_1.APIResource {
|
|
|
120
124
|
}
|
|
121
125
|
/**
|
|
122
126
|
* Queue a target-language caption translation. Specify replace to explicitly
|
|
123
|
-
* overwrite a track. Requires scope
|
|
127
|
+
* overwrite a track. Requires API-key scope or current OAuth user permission:
|
|
128
|
+
* media:update
|
|
124
129
|
*
|
|
125
130
|
* @example
|
|
126
131
|
* ```ts
|
|
@@ -135,7 +140,7 @@ class Videos extends resource_1.APIResource {
|
|
|
135
140
|
}
|
|
136
141
|
/**
|
|
137
142
|
* Cancel a queued or in-progress language translation without modifying other
|
|
138
|
-
* tracks. Requires scope: media:update
|
|
143
|
+
* tracks. Requires API-key scope or current OAuth user permission: media:update
|
|
139
144
|
*
|
|
140
145
|
* @example
|
|
141
146
|
* ```ts
|
|
@@ -153,7 +158,8 @@ class Videos extends resource_1.APIResource {
|
|
|
153
158
|
* for a date window. Optionally filter to one video with `videoId`; omit it to
|
|
154
159
|
* include all account videos. This derived report uses `limit` and `offset`
|
|
155
160
|
* pagination; `total` is the number of rows returned through the current offset,
|
|
156
|
-
* not a total match count. Requires scope
|
|
161
|
+
* not a total match count. Requires API-key scope or current OAuth user
|
|
162
|
+
* permission: report:video-analytics
|
|
157
163
|
*
|
|
158
164
|
* @example
|
|
159
165
|
* ```ts
|
|
@@ -169,7 +175,8 @@ class Videos extends resource_1.APIResource {
|
|
|
169
175
|
/**
|
|
170
176
|
* Return daily or hourly starts, unique viewers, completions, and completion rate
|
|
171
177
|
* for one video. Daily windows support up to 90 days; hourly windows support up to
|
|
172
|
-
* 14 days. Requires scope
|
|
178
|
+
* 14 days. Requires API-key scope or current OAuth user permission:
|
|
179
|
+
* report:video-analytics
|
|
173
180
|
*
|
|
174
181
|
* @example
|
|
175
182
|
* ```ts
|
package/resources/videos.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"videos.js","sourceRoot":"","sources":["../src/resources/videos.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,sDAA4E;AAE5E,oDAA8C;AAE9C,MAAa,MAAO,SAAQ,sBAAW;IACrC
|
|
1
|
+
{"version":3,"file":"videos.js","sourceRoot":"","sources":["../src/resources/videos.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,sDAA4E;AAE5E,oDAA8C;AAE9C,MAAa,MAAO,SAAQ,sBAAW;IACrC;;;;;;;;;;;;OAYG;IACH,IAAI,CACF,QAA4C,EAAE,EAC9C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,iBAAiB,EAAE,CAAA,mBAAyB,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtG,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,IAAuB,EAAE,OAAwB;QACtD,OAAO,IAAI,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AC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,mBAAmB,EAAE,aAAa,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxF,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,yBAAyB,CACvB,EAAU,EACV,IAA0C,EAC1C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,mBAAmB,EAAE,YAAY,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxF,CAAC;IAED;;;;;;;;;;;OAWG;IACH,wBAAwB,CACtB,EAAU,EACV,IAAyC,EACzC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,mBAAmB,EAAE,qBAAqB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjG,CAAC;IAED;;;;;;;;;;;;;;;OAeG;IACH,SAAS,CAAC,KAA2B,EAAE,OAAwB;QAC7D,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,2BAA2B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,mBAAmB,CACjB,EAAU,EACV,KAAqC,EACrC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,mBAAmB,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxF,CAAC;CACF;AA1ND,wBA0NC"}
|
package/resources/videos.mjs
CHANGED
|
@@ -5,7 +5,8 @@ import { path } from "../internal/utils/path.mjs";
|
|
|
5
5
|
export class Videos extends APIResource {
|
|
6
6
|
/**
|
|
7
7
|
* List videos for the account, newest first. Supports cursor pagination and an
|
|
8
|
-
* optional case-insensitive title filter. Requires scope
|
|
8
|
+
* optional case-insensitive title filter. Requires API-key scope or current OAuth
|
|
9
|
+
* user permission: media:list
|
|
9
10
|
*
|
|
10
11
|
* @example
|
|
11
12
|
* ```ts
|
|
@@ -22,7 +23,7 @@ export class Videos extends APIResource {
|
|
|
22
23
|
* Create a video record and return a temporary upload target for the original MP4
|
|
23
24
|
* or WebM file. Upload the file directly using the returned URL and matching
|
|
24
25
|
* content type, then poll the video to observe processing progress. Requires
|
|
25
|
-
* scope: media:create
|
|
26
|
+
* API-key scope or current OAuth user permission: media:create
|
|
26
27
|
*
|
|
27
28
|
* @example
|
|
28
29
|
* ```ts
|
|
@@ -36,8 +37,8 @@ export class Videos extends APIResource {
|
|
|
36
37
|
}
|
|
37
38
|
/**
|
|
38
39
|
* Fetch a video and its current playback asset availability. The processed video,
|
|
39
|
-
* poster, and transcript are prepared asynchronously after upload. Requires
|
|
40
|
-
* media:find
|
|
40
|
+
* poster, and transcript are prepared asynchronously after upload. Requires
|
|
41
|
+
* API-key scope or current OAuth user permission: media:find
|
|
41
42
|
*
|
|
42
43
|
* @example
|
|
43
44
|
* ```ts
|
|
@@ -49,7 +50,8 @@ export class Videos extends APIResource {
|
|
|
49
50
|
}
|
|
50
51
|
/**
|
|
51
52
|
* Partially update video metadata. Only fields included in the body change; send
|
|
52
|
-
* `null` to clear a nullable field. Requires scope
|
|
53
|
+
* `null` to clear a nullable field. Requires API-key scope or current OAuth user
|
|
54
|
+
* permission: media:update
|
|
53
55
|
*
|
|
54
56
|
* @example
|
|
55
57
|
* ```ts
|
|
@@ -60,7 +62,8 @@ export class Videos extends APIResource {
|
|
|
60
62
|
return this._client.patch(path `/rest/v1/videos/${id}`, { body, ...options });
|
|
61
63
|
}
|
|
62
64
|
/**
|
|
63
|
-
* Delete a video and its related assets. Requires scope
|
|
65
|
+
* Delete a video and its related assets. Requires API-key scope or current OAuth
|
|
66
|
+
* user permission: media:delete
|
|
64
67
|
*
|
|
65
68
|
* @example
|
|
66
69
|
* ```ts
|
|
@@ -73,8 +76,8 @@ export class Videos extends APIResource {
|
|
|
73
76
|
/**
|
|
74
77
|
* Return a temporary upload target for replacing this video’s original MP4 or WebM
|
|
75
78
|
* source. Upload the file directly using the returned URL and matching content
|
|
76
|
-
* type, then poll the video to observe processing progress. Requires scope
|
|
77
|
-
* media:update
|
|
79
|
+
* type, then poll the video to observe processing progress. Requires API-key scope
|
|
80
|
+
* or current OAuth user permission: media:update
|
|
78
81
|
*
|
|
79
82
|
* @example
|
|
80
83
|
* ```ts
|
|
@@ -89,7 +92,7 @@ export class Videos extends APIResource {
|
|
|
89
92
|
/**
|
|
90
93
|
* Read the current WebVTT transcript. Transcript text is available wherever the
|
|
91
94
|
* video is embedded, so do not include PHI or other confidential information.
|
|
92
|
-
* Requires scope: media:find
|
|
95
|
+
* Requires API-key scope or current OAuth user permission: media:find
|
|
93
96
|
*
|
|
94
97
|
* @example
|
|
95
98
|
* ```ts
|
|
@@ -102,7 +105,8 @@ export class Videos extends APIResource {
|
|
|
102
105
|
/**
|
|
103
106
|
* Replace the transcript with VTT or SRT text. SRT is normalized to WebVTT.
|
|
104
107
|
* Transcript text is available wherever the video is embedded, so do not include
|
|
105
|
-
* PHI or other confidential information. Requires scope
|
|
108
|
+
* PHI or other confidential information. Requires API-key scope or current OAuth
|
|
109
|
+
* user permission: media:update
|
|
106
110
|
*
|
|
107
111
|
* @example
|
|
108
112
|
* ```ts
|
|
@@ -117,7 +121,8 @@ export class Videos extends APIResource {
|
|
|
117
121
|
}
|
|
118
122
|
/**
|
|
119
123
|
* Queue a target-language caption translation. Specify replace to explicitly
|
|
120
|
-
* overwrite a track. Requires scope
|
|
124
|
+
* overwrite a track. Requires API-key scope or current OAuth user permission:
|
|
125
|
+
* media:update
|
|
121
126
|
*
|
|
122
127
|
* @example
|
|
123
128
|
* ```ts
|
|
@@ -132,7 +137,7 @@ export class Videos extends APIResource {
|
|
|
132
137
|
}
|
|
133
138
|
/**
|
|
134
139
|
* Cancel a queued or in-progress language translation without modifying other
|
|
135
|
-
* tracks. Requires scope: media:update
|
|
140
|
+
* tracks. Requires API-key scope or current OAuth user permission: media:update
|
|
136
141
|
*
|
|
137
142
|
* @example
|
|
138
143
|
* ```ts
|
|
@@ -150,7 +155,8 @@ export class Videos extends APIResource {
|
|
|
150
155
|
* for a date window. Optionally filter to one video with `videoId`; omit it to
|
|
151
156
|
* include all account videos. This derived report uses `limit` and `offset`
|
|
152
157
|
* pagination; `total` is the number of rows returned through the current offset,
|
|
153
|
-
* not a total match count. Requires scope
|
|
158
|
+
* not a total match count. Requires API-key scope or current OAuth user
|
|
159
|
+
* permission: report:video-analytics
|
|
154
160
|
*
|
|
155
161
|
* @example
|
|
156
162
|
* ```ts
|
|
@@ -166,7 +172,8 @@ export class Videos extends APIResource {
|
|
|
166
172
|
/**
|
|
167
173
|
* Return daily or hourly starts, unique viewers, completions, and completion rate
|
|
168
174
|
* for one video. Daily windows support up to 90 days; hourly windows support up to
|
|
169
|
-
* 14 days. Requires scope
|
|
175
|
+
* 14 days. Requires API-key scope or current OAuth user permission:
|
|
176
|
+
* report:video-analytics
|
|
170
177
|
*
|
|
171
178
|
* @example
|
|
172
179
|
* ```ts
|
package/resources/videos.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"videos.mjs","sourceRoot":"","sources":["../src/resources/videos.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAE/C,OAAO,EAAE,MAAM,EAAkC,+BAA2B;AAE5E,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C,MAAM,OAAO,MAAO,SAAQ,WAAW;IACrC
|
|
1
|
+
{"version":3,"file":"videos.mjs","sourceRoot":"","sources":["../src/resources/videos.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAE/C,OAAO,EAAE,MAAM,EAAkC,+BAA2B;AAE5E,OAAO,EAAE,IAAI,EAAE,mCAA+B;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E,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxF,CAAC;CACF"}
|
|
@@ -5,39 +5,44 @@ export declare class WebAnalytics extends APIResource {
|
|
|
5
5
|
/**
|
|
6
6
|
* Return privacy-first traffic metrics and a timeseries for the requested date
|
|
7
7
|
* range. Filter by source, geography, page, campaign, device, or other supported
|
|
8
|
-
* dimensions with the JSON-encoded `filters` query parameter. Requires
|
|
9
|
-
* web-analytics:view
|
|
8
|
+
* dimensions with the JSON-encoded `filters` query parameter. Requires API-key
|
|
9
|
+
* scope or current OAuth user permission: web-analytics:view
|
|
10
10
|
*/
|
|
11
11
|
overview(query: WebAnalyticsOverviewParams, options?: RequestOptions): APIPromise<WebAnalyticsOverviewResponse>;
|
|
12
12
|
/**
|
|
13
13
|
* Return visitor counts grouped by referrer or UTM source dimension for the
|
|
14
|
-
* requested date range. Requires scope
|
|
14
|
+
* requested date range. Requires API-key scope or current OAuth user permission:
|
|
15
|
+
* web-analytics:view
|
|
15
16
|
*/
|
|
16
17
|
sources(query: WebAnalyticsSourcesParams, options?: RequestOptions): APIPromise<WebAnalyticsSourcesResponse>;
|
|
17
18
|
/**
|
|
18
19
|
* Return page-level traffic metrics for top pages, entry pages, or exit pages in
|
|
19
|
-
* the requested date range. Requires scope
|
|
20
|
+
* the requested date range. Requires API-key scope or current OAuth user
|
|
21
|
+
* permission: web-analytics:view
|
|
20
22
|
*/
|
|
21
23
|
pages(query: WebAnalyticsPagesParams, options?: RequestOptions): APIPromise<WebAnalyticsPagesResponse>;
|
|
22
24
|
/**
|
|
23
25
|
* Return visitor counts grouped by country, region, or city for the requested date
|
|
24
|
-
* range. Requires scope
|
|
26
|
+
* range. Requires API-key scope or current OAuth user permission:
|
|
27
|
+
* web-analytics:view
|
|
25
28
|
*/
|
|
26
29
|
locations(query: WebAnalyticsLocationsParams, options?: RequestOptions): APIPromise<WebAnalyticsLocationsResponse>;
|
|
27
30
|
/**
|
|
28
31
|
* Return visitor counts grouped by device type, browser, or operating system for
|
|
29
|
-
* the requested date range. Requires scope
|
|
32
|
+
* the requested date range. Requires API-key scope or current OAuth user
|
|
33
|
+
* permission: web-analytics:view
|
|
30
34
|
*/
|
|
31
35
|
devices(query: WebAnalyticsDevicesParams, options?: RequestOptions): APIPromise<WebAnalyticsDevicesResponse>;
|
|
32
36
|
/**
|
|
33
37
|
* Return the distinct visitors active in the most recent 15-minute window,
|
|
34
|
-
* optionally scoped to one web source. Requires scope
|
|
38
|
+
* optionally scoped to one web source. Requires API-key scope or current OAuth
|
|
39
|
+
* user permission: web-analytics:view
|
|
35
40
|
*/
|
|
36
41
|
currentVisitors(query?: WebAnalyticsCurrentVisitorsParams | null | undefined, options?: RequestOptions): APIPromise<WebAnalyticsCurrentVisitorsResponse>;
|
|
37
42
|
/**
|
|
38
43
|
* Return the next or previous journey steps for a pinned path. The `path` and
|
|
39
|
-
* `filters` query parameters are JSON-encoded arrays. Requires scope
|
|
40
|
-
* web-analytics:view
|
|
44
|
+
* `filters` query parameters are JSON-encoded arrays. Requires API-key scope or
|
|
45
|
+
* current OAuth user permission: web-analytics:view
|
|
41
46
|
*/
|
|
42
47
|
pathExplorer(query: WebAnalyticsPathExplorerParams, options?: RequestOptions): APIPromise<WebAnalyticsPathExplorerResponse>;
|
|
43
48
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"web-analytics.d.mts","sourceRoot":"","sources":["../src/resources/web-analytics.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAE7D,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;OAKG;IACH,QAAQ,CACN,KAAK,EAAE,0BAA0B,EACjC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,4BAA4B,CAAC;IAI3C
|
|
1
|
+
{"version":3,"file":"web-analytics.d.mts","sourceRoot":"","sources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EACnE,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,gCAAgC,IAAI,gCAAgC,EACzE,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,8BAA8B,IAAI,8BAA8B,GACtE,CAAC;CACH"}
|
|
@@ -5,39 +5,44 @@ export declare class WebAnalytics extends APIResource {
|
|
|
5
5
|
/**
|
|
6
6
|
* Return privacy-first traffic metrics and a timeseries for the requested date
|
|
7
7
|
* range. Filter by source, geography, page, campaign, device, or other supported
|
|
8
|
-
* dimensions with the JSON-encoded `filters` query parameter. Requires
|
|
9
|
-
* web-analytics:view
|
|
8
|
+
* dimensions with the JSON-encoded `filters` query parameter. Requires API-key
|
|
9
|
+
* scope or current OAuth user permission: web-analytics:view
|
|
10
10
|
*/
|
|
11
11
|
overview(query: WebAnalyticsOverviewParams, options?: RequestOptions): APIPromise<WebAnalyticsOverviewResponse>;
|
|
12
12
|
/**
|
|
13
13
|
* Return visitor counts grouped by referrer or UTM source dimension for the
|
|
14
|
-
* requested date range. Requires scope
|
|
14
|
+
* requested date range. Requires API-key scope or current OAuth user permission:
|
|
15
|
+
* web-analytics:view
|
|
15
16
|
*/
|
|
16
17
|
sources(query: WebAnalyticsSourcesParams, options?: RequestOptions): APIPromise<WebAnalyticsSourcesResponse>;
|
|
17
18
|
/**
|
|
18
19
|
* Return page-level traffic metrics for top pages, entry pages, or exit pages in
|
|
19
|
-
* the requested date range. Requires scope
|
|
20
|
+
* the requested date range. Requires API-key scope or current OAuth user
|
|
21
|
+
* permission: web-analytics:view
|
|
20
22
|
*/
|
|
21
23
|
pages(query: WebAnalyticsPagesParams, options?: RequestOptions): APIPromise<WebAnalyticsPagesResponse>;
|
|
22
24
|
/**
|
|
23
25
|
* Return visitor counts grouped by country, region, or city for the requested date
|
|
24
|
-
* range. Requires scope
|
|
26
|
+
* range. Requires API-key scope or current OAuth user permission:
|
|
27
|
+
* web-analytics:view
|
|
25
28
|
*/
|
|
26
29
|
locations(query: WebAnalyticsLocationsParams, options?: RequestOptions): APIPromise<WebAnalyticsLocationsResponse>;
|
|
27
30
|
/**
|
|
28
31
|
* Return visitor counts grouped by device type, browser, or operating system for
|
|
29
|
-
* the requested date range. Requires scope
|
|
32
|
+
* the requested date range. Requires API-key scope or current OAuth user
|
|
33
|
+
* permission: web-analytics:view
|
|
30
34
|
*/
|
|
31
35
|
devices(query: WebAnalyticsDevicesParams, options?: RequestOptions): APIPromise<WebAnalyticsDevicesResponse>;
|
|
32
36
|
/**
|
|
33
37
|
* Return the distinct visitors active in the most recent 15-minute window,
|
|
34
|
-
* optionally scoped to one web source. Requires scope
|
|
38
|
+
* optionally scoped to one web source. Requires API-key scope or current OAuth
|
|
39
|
+
* user permission: web-analytics:view
|
|
35
40
|
*/
|
|
36
41
|
currentVisitors(query?: WebAnalyticsCurrentVisitorsParams | null | undefined, options?: RequestOptions): APIPromise<WebAnalyticsCurrentVisitorsResponse>;
|
|
37
42
|
/**
|
|
38
43
|
* Return the next or previous journey steps for a pinned path. The `path` and
|
|
39
|
-
* `filters` query parameters are JSON-encoded arrays. Requires scope
|
|
40
|
-
* web-analytics:view
|
|
44
|
+
* `filters` query parameters are JSON-encoded arrays. Requires API-key scope or
|
|
45
|
+
* current OAuth user permission: web-analytics:view
|
|
41
46
|
*/
|
|
42
47
|
pathExplorer(query: WebAnalyticsPathExplorerParams, options?: RequestOptions): APIPromise<WebAnalyticsPathExplorerResponse>;
|
|
43
48
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"web-analytics.d.ts","sourceRoot":"","sources":["../src/resources/web-analytics.ts"],"names":[],"mappings":"AAEA,OAAO,E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,MAAM,CAAC;IAEhB,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAE5B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,gCAAgC,IAAI,gCAAgC,EACzE,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,8BAA8B,IAAI,8BAA8B,GACtE,CAAC;CACH"}
|
|
@@ -7,51 +7,56 @@ class WebAnalytics extends resource_1.APIResource {
|
|
|
7
7
|
/**
|
|
8
8
|
* Return privacy-first traffic metrics and a timeseries for the requested date
|
|
9
9
|
* range. Filter by source, geography, page, campaign, device, or other supported
|
|
10
|
-
* dimensions with the JSON-encoded `filters` query parameter. Requires
|
|
11
|
-
* web-analytics:view
|
|
10
|
+
* dimensions with the JSON-encoded `filters` query parameter. Requires API-key
|
|
11
|
+
* scope or current OAuth user permission: web-analytics:view
|
|
12
12
|
*/
|
|
13
13
|
overview(query, options) {
|
|
14
14
|
return this._client.get('/rest/v1/web-analytics/overview', { query, ...options });
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
17
17
|
* Return visitor counts grouped by referrer or UTM source dimension for the
|
|
18
|
-
* requested date range. Requires scope
|
|
18
|
+
* requested date range. Requires API-key scope or current OAuth user permission:
|
|
19
|
+
* web-analytics:view
|
|
19
20
|
*/
|
|
20
21
|
sources(query, options) {
|
|
21
22
|
return this._client.get('/rest/v1/web-analytics/sources', { query, ...options });
|
|
22
23
|
}
|
|
23
24
|
/**
|
|
24
25
|
* Return page-level traffic metrics for top pages, entry pages, or exit pages in
|
|
25
|
-
* the requested date range. Requires scope
|
|
26
|
+
* the requested date range. Requires API-key scope or current OAuth user
|
|
27
|
+
* permission: web-analytics:view
|
|
26
28
|
*/
|
|
27
29
|
pages(query, options) {
|
|
28
30
|
return this._client.get('/rest/v1/web-analytics/pages', { query, ...options });
|
|
29
31
|
}
|
|
30
32
|
/**
|
|
31
33
|
* Return visitor counts grouped by country, region, or city for the requested date
|
|
32
|
-
* range. Requires scope
|
|
34
|
+
* range. Requires API-key scope or current OAuth user permission:
|
|
35
|
+
* web-analytics:view
|
|
33
36
|
*/
|
|
34
37
|
locations(query, options) {
|
|
35
38
|
return this._client.get('/rest/v1/web-analytics/locations', { query, ...options });
|
|
36
39
|
}
|
|
37
40
|
/**
|
|
38
41
|
* Return visitor counts grouped by device type, browser, or operating system for
|
|
39
|
-
* the requested date range. Requires scope
|
|
42
|
+
* the requested date range. Requires API-key scope or current OAuth user
|
|
43
|
+
* permission: web-analytics:view
|
|
40
44
|
*/
|
|
41
45
|
devices(query, options) {
|
|
42
46
|
return this._client.get('/rest/v1/web-analytics/devices', { query, ...options });
|
|
43
47
|
}
|
|
44
48
|
/**
|
|
45
49
|
* Return the distinct visitors active in the most recent 15-minute window,
|
|
46
|
-
* optionally scoped to one web source. Requires scope
|
|
50
|
+
* optionally scoped to one web source. Requires API-key scope or current OAuth
|
|
51
|
+
* user permission: web-analytics:view
|
|
47
52
|
*/
|
|
48
53
|
currentVisitors(query = {}, options) {
|
|
49
54
|
return this._client.get('/rest/v1/web-analytics/current-visitors', { query, ...options });
|
|
50
55
|
}
|
|
51
56
|
/**
|
|
52
57
|
* Return the next or previous journey steps for a pinned path. The `path` and
|
|
53
|
-
* `filters` query parameters are JSON-encoded arrays. Requires scope
|
|
54
|
-
* web-analytics:view
|
|
58
|
+
* `filters` query parameters are JSON-encoded arrays. Requires API-key scope or
|
|
59
|
+
* current OAuth user permission: web-analytics:view
|
|
55
60
|
*/
|
|
56
61
|
pathExplorer(query, options) {
|
|
57
62
|
return this._client.get('/rest/v1/web-analytics/path-explorer', { query, ...options });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"web-analytics.js","sourceRoot":"","sources":["../src/resources/web-analytics.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,MAAa,YAAa,SAAQ,sBAAW;IAC3C;;;;;OAKG;IACH,QAAQ,CACN,KAAiC,EACjC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,iCAAiC,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpF,CAAC;IAED
|
|
1
|
+
{"version":3,"file":"web-analytics.js","sourceRoot":"","sources":["../src/resources/web-analytics.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,MAAa,YAAa,SAAQ,sBAAW;IAC3C;;;;;OAKG;IACH,QAAQ,CACN,KAAiC,EACjC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,iCAAiC,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpF,CAAC;IAED;;;;OAIG;IACH,OAAO,CACL,KAAgC,EAChC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,gCAAgC,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnF,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,KAA8B,EAAE,OAAwB;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,8BAA8B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;IAED;;;;OAIG;IACH,SAAS,CACP,KAAkC,EAClC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kCAAkC,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrF,CAAC;IAED;;;;OAIG;IACH,OAAO,CACL,KAAgC,EAChC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,gCAAgC,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnF,CAAC;IAED;;;;OAIG;IACH,eAAe,CACb,QAA8D,EAAE,EAChE,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,yCAAyC,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5F,CAAC;IAED;;;;OAIG;IACH,YAAY,CACV,KAAqC,EACrC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,sCAAsC,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzF,CAAC;CACF;AAlFD,oCAkFC"}
|
|
@@ -4,51 +4,56 @@ export class WebAnalytics extends APIResource {
|
|
|
4
4
|
/**
|
|
5
5
|
* Return privacy-first traffic metrics and a timeseries for the requested date
|
|
6
6
|
* range. Filter by source, geography, page, campaign, device, or other supported
|
|
7
|
-
* dimensions with the JSON-encoded `filters` query parameter. Requires
|
|
8
|
-
* web-analytics:view
|
|
7
|
+
* dimensions with the JSON-encoded `filters` query parameter. Requires API-key
|
|
8
|
+
* scope or current OAuth user permission: web-analytics:view
|
|
9
9
|
*/
|
|
10
10
|
overview(query, options) {
|
|
11
11
|
return this._client.get('/rest/v1/web-analytics/overview', { query, ...options });
|
|
12
12
|
}
|
|
13
13
|
/**
|
|
14
14
|
* Return visitor counts grouped by referrer or UTM source dimension for the
|
|
15
|
-
* requested date range. Requires scope
|
|
15
|
+
* requested date range. Requires API-key scope or current OAuth user permission:
|
|
16
|
+
* web-analytics:view
|
|
16
17
|
*/
|
|
17
18
|
sources(query, options) {
|
|
18
19
|
return this._client.get('/rest/v1/web-analytics/sources', { query, ...options });
|
|
19
20
|
}
|
|
20
21
|
/**
|
|
21
22
|
* Return page-level traffic metrics for top pages, entry pages, or exit pages in
|
|
22
|
-
* the requested date range. Requires scope
|
|
23
|
+
* the requested date range. Requires API-key scope or current OAuth user
|
|
24
|
+
* permission: web-analytics:view
|
|
23
25
|
*/
|
|
24
26
|
pages(query, options) {
|
|
25
27
|
return this._client.get('/rest/v1/web-analytics/pages', { query, ...options });
|
|
26
28
|
}
|
|
27
29
|
/**
|
|
28
30
|
* Return visitor counts grouped by country, region, or city for the requested date
|
|
29
|
-
* range. Requires scope
|
|
31
|
+
* range. Requires API-key scope or current OAuth user permission:
|
|
32
|
+
* web-analytics:view
|
|
30
33
|
*/
|
|
31
34
|
locations(query, options) {
|
|
32
35
|
return this._client.get('/rest/v1/web-analytics/locations', { query, ...options });
|
|
33
36
|
}
|
|
34
37
|
/**
|
|
35
38
|
* Return visitor counts grouped by device type, browser, or operating system for
|
|
36
|
-
* the requested date range. Requires scope
|
|
39
|
+
* the requested date range. Requires API-key scope or current OAuth user
|
|
40
|
+
* permission: web-analytics:view
|
|
37
41
|
*/
|
|
38
42
|
devices(query, options) {
|
|
39
43
|
return this._client.get('/rest/v1/web-analytics/devices', { query, ...options });
|
|
40
44
|
}
|
|
41
45
|
/**
|
|
42
46
|
* Return the distinct visitors active in the most recent 15-minute window,
|
|
43
|
-
* optionally scoped to one web source. Requires scope
|
|
47
|
+
* optionally scoped to one web source. Requires API-key scope or current OAuth
|
|
48
|
+
* user permission: web-analytics:view
|
|
44
49
|
*/
|
|
45
50
|
currentVisitors(query = {}, options) {
|
|
46
51
|
return this._client.get('/rest/v1/web-analytics/current-visitors', { query, ...options });
|
|
47
52
|
}
|
|
48
53
|
/**
|
|
49
54
|
* Return the next or previous journey steps for a pinned path. The `path` and
|
|
50
|
-
* `filters` query parameters are JSON-encoded arrays. Requires scope
|
|
51
|
-
* web-analytics:view
|
|
55
|
+
* `filters` query parameters are JSON-encoded arrays. Requires API-key scope or
|
|
56
|
+
* current OAuth user permission: web-analytics:view
|
|
52
57
|
*/
|
|
53
58
|
pathExplorer(query, options) {
|
|
54
59
|
return this._client.get('/rest/v1/web-analytics/path-explorer', { query, ...options });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"web-analytics.mjs","sourceRoot":"","sources":["../src/resources/web-analytics.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAI/C,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC3C;;;;;OAKG;IACH,QAAQ,CACN,KAAiC,EACjC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,iCAAiC,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpF,CAAC;IAED
|
|
1
|
+
{"version":3,"file":"web-analytics.mjs","sourceRoot":"","sources":["../src/resources/web-analytics.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAI/C,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC3C;;;;;OAKG;IACH,QAAQ,CACN,KAAiC,EACjC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,iCAAiC,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpF,CAAC;IAED;;;;OAIG;IACH,OAAO,CACL,KAAgC,EAChC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,gCAAgC,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnF,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,KAA8B,EAAE,OAAwB;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,8BAA8B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;IAED;;;;OAIG;IACH,SAAS,CACP,KAAkC,EAClC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kCAAkC,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrF,CAAC;IAED;;;;OAIG;IACH,OAAO,CACL,KAAgC,EAChC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,gCAAgC,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnF,CAAC;IAED;;;;OAIG;IACH,eAAe,CACb,QAA8D,EAAE,EAChE,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,yCAAyC,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5F,CAAC;IAED;;;;OAIG;IACH,YAAY,CACV,KAAqC,EACrC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,sCAAsC,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzF,CAAC;CACF"}
|
|
@@ -5,29 +5,33 @@ export declare class WebScannerRules extends APIResource {
|
|
|
5
5
|
/**
|
|
6
6
|
* List suppression rules for a single web scanner. Requires the `scannerId` query
|
|
7
7
|
* parameter — rules are always scoped to a parent scanner. Not paginated; the
|
|
8
|
-
* per-scanner rule count is bounded. Requires scope
|
|
8
|
+
* per-scanner rule count is bounded. Requires API-key scope or current OAuth user
|
|
9
|
+
* permission: webScanner:find
|
|
9
10
|
*/
|
|
10
11
|
list(query: WebScannerRuleListParams, options?: RequestOptions): APIPromise<WebScannerRuleListResponse>;
|
|
11
12
|
/**
|
|
12
13
|
* Create a suppression rule on a web scanner. Auth is enforced against the parent
|
|
13
14
|
* scanner via `webScanner:update`. At least one of `cookiePatterns`,
|
|
14
15
|
* `domainPatterns`, or `scriptPatterns` should be set for the rule to match
|
|
15
|
-
* anything; omitted pattern arrays default to `[]`. Requires scope
|
|
16
|
-
* webScanner:update
|
|
16
|
+
* anything; omitted pattern arrays default to `[]`. Requires API-key scope or
|
|
17
|
+
* current OAuth user permission: webScanner:update
|
|
17
18
|
*/
|
|
18
19
|
create(body: WebScannerRuleCreateParams, options?: RequestOptions): APIPromise<WebScannerRuleCreateResponse>;
|
|
19
20
|
/**
|
|
20
|
-
* Find a single web scanner rule by ID. Requires scope
|
|
21
|
+
* Find a single web scanner rule by ID. Requires API-key scope or current OAuth
|
|
22
|
+
* user permission: webScanner:find
|
|
21
23
|
*/
|
|
22
24
|
retrieve(id: string, options?: RequestOptions): APIPromise<WebScannerRuleRetrieveResponse>;
|
|
23
25
|
/**
|
|
24
26
|
* Partially update a suppression rule. Only the fields you send are changed.
|
|
25
27
|
* List-valued fields (`cookiePatterns`, `domainPatterns`, `scriptPatterns`) are
|
|
26
|
-
* replaced wholesale when sent. Requires scope
|
|
28
|
+
* replaced wholesale when sent. Requires API-key scope or current OAuth user
|
|
29
|
+
* permission: webScanner:update
|
|
27
30
|
*/
|
|
28
31
|
update(id: string, body: WebScannerRuleUpdateParams, options?: RequestOptions): APIPromise<WebScannerRuleUpdateResponse>;
|
|
29
32
|
/**
|
|
30
|
-
* Delete a web scanner rule. Requires scope
|
|
33
|
+
* Delete a web scanner rule. Requires API-key scope or current OAuth user
|
|
34
|
+
* permission: webScanner:update
|
|
31
35
|
*/
|
|
32
36
|
delete(id: string, options?: RequestOptions): APIPromise<WebScannerRuleDeleteResponse>;
|
|
33
37
|
}
|