@oursprivacy/platform-sdk 1.52.0 → 1.54.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 +14 -0
- package/client.d.mts +12 -6
- package/client.d.mts.map +1 -1
- package/client.d.ts +12 -6
- package/client.d.ts.map +1 -1
- package/client.js +6 -0
- package/client.js.map +1 -1
- package/client.mjs +6 -0
- package/client.mjs.map +1 -1
- package/package.json +2 -2
- 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 +6238 -650
- package/resources/consent-settings.d.mts.map +1 -1
- package/resources/consent-settings.d.ts +6238 -650
- 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/custom-domains.d.mts +301 -0
- package/resources/custom-domains.d.mts.map +1 -0
- package/resources/custom-domains.d.ts +301 -0
- package/resources/custom-domains.d.ts.map +1 -0
- package/resources/custom-domains.js +55 -0
- package/resources/custom-domains.js.map +1 -0
- package/resources/custom-domains.mjs +51 -0
- package/resources/custom-domains.mjs.map +1 -0
- package/resources/data-governance.d.mts +83 -21
- package/resources/data-governance.d.mts.map +1 -1
- package/resources/data-governance.d.ts +83 -21
- 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 +213 -8
- package/resources/default-mappings.d.mts.map +1 -1
- package/resources/default-mappings.d.ts +213 -8
- 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 +45 -20
- package/resources/destinations.d.mts.map +1 -1
- package/resources/destinations.d.ts +45 -20
- 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 +126 -19
- package/resources/experiment-variants.d.mts.map +1 -1
- package/resources/experiment-variants.d.ts +126 -19
- 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 +4009 -272
- package/resources/experiments.d.mts.map +1 -1
- package/resources/experiments.d.ts +4009 -272
- 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 +659 -17
- package/resources/funnels.d.mts.map +1 -1
- package/resources/funnels.d.ts +659 -17
- 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 +5 -3
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +5 -3
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +5 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -0
- package/resources/index.mjs.map +1 -1
- package/resources/journey-flows.d.mts +597 -28
- package/resources/journey-flows.d.mts.map +1 -1
- package/resources/journey-flows.d.ts +597 -28
- 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 +31 -10
- package/resources/locations.d.mts.map +1 -1
- package/resources/locations.d.ts +31 -10
- 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 +558 -24
- package/resources/mappings.d.mts.map +1 -1
- package/resources/mappings.d.ts +558 -24
- package/resources/mappings.d.ts.map +1 -1
- package/resources/mappings.js +40 -12
- package/resources/mappings.js.map +1 -1
- package/resources/mappings.mjs +40 -12
- package/resources/mappings.mjs.map +1 -1
- package/resources/me.d.mts +29 -0
- package/resources/me.d.mts.map +1 -0
- package/resources/me.d.ts +29 -0
- package/resources/me.d.ts.map +1 -0
- package/resources/me.js +17 -0
- package/resources/me.js.map +1 -0
- package/resources/me.mjs +13 -0
- package/resources/me.mjs.map +1 -0
- 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 +126 -9
- package/resources/replay-settings.d.mts.map +1 -1
- package/resources/replay-settings.d.ts +126 -9
- 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 +9 -2
- package/resources/session-replays.d.mts.map +1 -1
- package/resources/session-replays.d.ts +9 -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 +733 -17
- package/resources/short-links.d.mts.map +1 -1
- package/resources/short-links.d.ts +733 -17
- 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 +98 -17
- package/resources/sources.d.mts.map +1 -1
- package/resources/sources.d.ts +98 -17
- 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 +13 -7
- package/resources/tag-manager-tags.d.mts.map +1 -1
- package/resources/tag-manager-tags.d.ts +13 -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 +14 -7
- package/resources/tag-manager-triggers.d.mts.map +1 -1
- package/resources/tag-manager-triggers.d.ts +14 -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 +53 -23
- package/resources/tag-manager-variables.d.mts.map +1 -1
- package/resources/tag-manager-variables.d.ts +53 -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 +24 -6
- package/resources/tag-managers.d.mts.map +1 -1
- package/resources/tag-managers.d.ts +24 -6
- package/resources/tag-managers.d.ts.map +1 -1
- package/resources/tag-managers.js +18 -5
- package/resources/tag-managers.js.map +1 -1
- package/resources/tag-managers.mjs +18 -5
- package/resources/tag-managers.mjs.map +1 -1
- package/resources/test-events.d.mts +73 -15
- package/resources/test-events.d.mts.map +1 -1
- package/resources/test-events.d.ts +73 -15
- 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 +102 -47
- package/resources/versions.d.mts.map +1 -1
- package/resources/versions.d.ts +102 -47
- package/resources/versions.d.ts.map +1 -1
- package/resources/versions.js +20 -15
- package/resources/versions.js.map +1 -1
- package/resources/versions.mjs +20 -15
- package/resources/versions.mjs.map +1 -1
- package/resources/video-channels.d.mts +47 -13
- package/resources/video-channels.d.mts.map +1 -1
- package/resources/video-channels.d.ts +47 -13
- 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 +44 -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 +7576 -519
- package/src/resources/conversion-journey-summaries.ts +10 -5
- package/src/resources/custom-domains.ts +450 -0
- package/src/resources/data-governance.ts +53 -21
- package/src/resources/default-mappings.ts +309 -8
- package/src/resources/destinations.ts +40 -15
- package/src/resources/experiment-settings.ts +9 -6
- package/src/resources/experiment-variants.ts +140 -19
- package/src/resources/experiments.ts +8051 -462
- package/src/resources/funnels.ts +1366 -17
- package/src/resources/heatmap-pages.ts +3 -2
- package/src/resources/index.ts +19 -0
- package/src/resources/journey-flows.ts +1241 -28
- package/src/resources/locations.ts +41 -10
- package/src/resources/mappings.ts +812 -31
- package/src/resources/me.ts +37 -0
- package/src/resources/personalization-properties.ts +10 -7
- package/src/resources/replay-settings.ts +147 -9
- package/src/resources/session-replays.ts +10 -2
- package/src/resources/short-links.ts +883 -17
- package/src/resources/sources.ts +108 -17
- 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 +17 -7
- package/src/resources/tag-manager-triggers.ts +18 -7
- package/src/resources/tag-manager-variables.ts +101 -19
- package/src/resources/tag-managers.ts +35 -5
- package/src/resources/test-events.ts +53 -15
- package/src/resources/translation-widgets.ts +7 -6
- package/src/resources/versions.ts +104 -47
- package/src/resources/video-channels.ts +59 -13
- 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
|
@@ -3,48 +3,59 @@ import { APIResource } from "../core/resource.mjs";
|
|
|
3
3
|
import { path } from "../internal/utils/path.mjs";
|
|
4
4
|
export class ConsentSettings extends APIResource {
|
|
5
5
|
/**
|
|
6
|
-
* List all consent settings. Requires scope
|
|
6
|
+
* List all consent settings. Requires API-key scope or current OAuth user
|
|
7
|
+
* permission: consentSettings:list
|
|
7
8
|
*/
|
|
8
9
|
list(options) {
|
|
9
10
|
return this._client.get('/rest/v1/consent-settings', options);
|
|
10
11
|
}
|
|
11
12
|
/**
|
|
12
|
-
* Create a new consent
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
* Requires scope: consentSettings:create
|
|
13
|
+
* Create a new consent setting. POST takes no request body. The new draft is
|
|
14
|
+
* Disabled with no allowed domains, an opt-out default rule, English translations,
|
|
15
|
+
* necessary/analytics/advertising categories, and no regions. Configure it with
|
|
16
|
+
* PATCH or PUT before enabling it. Returns the same fields as GET, including its
|
|
17
|
+
* `id`, default rule, and categories. Requires API-key scope or current OAuth user
|
|
18
|
+
* permission: consentSettings:create
|
|
19
19
|
*/
|
|
20
20
|
create(options) {
|
|
21
21
|
return this._client.post('/rest/v1/consent-settings', options);
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
|
-
* Find a single consent setting by ID. Requires scope
|
|
24
|
+
* Find a single consent setting by ID. Requires API-key scope or current OAuth
|
|
25
|
+
* user permission: consentSettings:find
|
|
25
26
|
*/
|
|
26
27
|
retrieve(id, options) {
|
|
27
28
|
return this._client.get(path `/rest/v1/consent-settings/${id}`, options);
|
|
28
29
|
}
|
|
29
30
|
/**
|
|
30
|
-
*
|
|
31
|
-
*
|
|
31
|
+
* Update a consent setting with all required fields. Omitted optional top-level
|
|
32
|
+
* fields retain their saved values; the required default rule and lists are
|
|
33
|
+
* replaced by supplied values. Send null or [] to clear an optional field when
|
|
34
|
+
* allowed. Enabled requires at least one allowed domain in this request. Omitting
|
|
35
|
+
* or clearing `whitelistDomains` with null or [] while Enabled returns an HTTP 400
|
|
36
|
+
* validation error. Disabled settings may have no allowed domains. Use PATCH for
|
|
37
|
+
* partial updates. Requires API-key scope or current OAuth user permission:
|
|
32
38
|
* consentSettings:update
|
|
33
39
|
*/
|
|
34
40
|
replace(id, body, options) {
|
|
35
41
|
return this._client.put(path `/rest/v1/consent-settings/${id}`, { body, ...options });
|
|
36
42
|
}
|
|
37
43
|
/**
|
|
38
|
-
* Partially update a consent setting.
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
44
|
+
* Partially update a consent setting. Omitted fields keep their saved values.
|
|
45
|
+
* List-valued fields (services, categories, regions) are replaced in full when
|
|
46
|
+
* sent. Omitting `whitelistDomains` preserves saved domains; sending it replaces
|
|
47
|
+
* the list. Clear allowed domains with null or [] only when the resulting status
|
|
48
|
+
* is Disabled. Enabled requires at least one allowed domain, either already saved
|
|
49
|
+
* or sent with this request. Invalid combinations return HTTP 400 validation
|
|
50
|
+
* errors. Requires API-key scope or current OAuth user permission:
|
|
51
|
+
* consentSettings:update
|
|
42
52
|
*/
|
|
43
53
|
update(id, body, options) {
|
|
44
54
|
return this._client.patch(path `/rest/v1/consent-settings/${id}`, { body, ...options });
|
|
45
55
|
}
|
|
46
56
|
/**
|
|
47
|
-
* Delete a consent setting. Requires scope
|
|
57
|
+
* Delete a consent setting. Requires API-key scope or current OAuth user
|
|
58
|
+
* permission: consentSettings:delete
|
|
48
59
|
*/
|
|
49
60
|
delete(id, options) {
|
|
50
61
|
return this._client.delete(path `/rest/v1/consent-settings/${id}`, options);
|
|
@@ -52,27 +63,55 @@ export class ConsentSettings extends APIResource {
|
|
|
52
63
|
/**
|
|
53
64
|
* Time-series consent analytics for a single consent settings record: banner
|
|
54
65
|
* views, opt-ins, opt-outs, close-icon clicks, and derived opt-in/out rates per
|
|
55
|
-
* UTC day
|
|
66
|
+
* UTC hour, day, Monday-based week, or calendar month. The window is zero-filled
|
|
56
67
|
* so callers get a contiguous series, and rates are person-level
|
|
57
|
-
* (`COUNT(DISTINCT visitor_id)`). Use the
|
|
58
|
-
* to scope
|
|
59
|
-
* to also receive the matching prior window.
|
|
60
|
-
*
|
|
61
|
-
* `
|
|
62
|
-
*
|
|
63
|
-
* Requires scope
|
|
68
|
+
* (`COUNT(DISTINCT visitor_id)`). Use the JSON-encoded shared analytics `filter`
|
|
69
|
+
* to scope events by source, page, visitor, or session properties; use
|
|
70
|
+
* `compareWithPreviousPeriod=true` to also receive the matching prior window.
|
|
71
|
+
* Included days: at most 180 days for `DAILY`, 365 for `WEEKLY`, 365 for
|
|
72
|
+
* `MONTHLY`, or 14 for `HOURLY`. Partial buckets identify their actual selected
|
|
73
|
+
* dates. Previous-period comparisons are supported for daily and hourly output.
|
|
74
|
+
* Requires the API-key scope `report:consent-analytics` (this endpoint returns
|
|
75
|
+
* consent analytics report data, which is PHI-bearing and gated separately from
|
|
76
|
+
* consent-settings management). Requires API-key scope or current OAuth user
|
|
77
|
+
* permission: report:consent-analytics
|
|
64
78
|
*/
|
|
65
79
|
analytics(id, query, options) {
|
|
66
80
|
return this._client.get(path `/rest/v1/consent-settings/${id}/analytics`, { query, ...options });
|
|
67
81
|
}
|
|
82
|
+
/**
|
|
83
|
+
* Monthly consent trends over up to 365 included days. Returns unique visitor
|
|
84
|
+
* counts within each UTC calendar month, event counts for dismissals, rates, and
|
|
85
|
+
* partial-month bounds. Uses the same shared analytics filter as the other consent
|
|
86
|
+
* reports. This series-only output omits whole-window totals and breakdowns.
|
|
87
|
+
* Requires API-key scope or current OAuth user permission:
|
|
88
|
+
* report:consent-analytics
|
|
89
|
+
*/
|
|
90
|
+
analyticsMonthly(id, query, options) {
|
|
91
|
+
return this._client.get(path `/rest/v1/consent-settings/${id}/analytics-monthly`, { query, ...options });
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Returns interval limits for a Consent report kind: SUMMARY, TRENDS, or PAGES.
|
|
95
|
+
* The organization is determined by the API key. Default included days: at most
|
|
96
|
+
* 180 days for `DAILY`, 365 for `WEEKLY`, 365 for `MONTHLY`, or 14 for `HOURLY`;
|
|
97
|
+
* organization limits may narrow these allowances. TRENDS requires
|
|
98
|
+
* report:consent-analytics, PAGES requires report:consent-page-analysis, and
|
|
99
|
+
* SUMMARY requires both. Dates, filters, search and pagination are not part of
|
|
100
|
+
* this request. Requires API-key scope or current OAuth user permission:
|
|
101
|
+
* report:consent-analytics or report:consent-page-analysis
|
|
102
|
+
*/
|
|
103
|
+
analyticsCapabilities(query = {}, options) {
|
|
104
|
+
return this._client.get('/rest/v1/consent-settings/analytics-capabilities', { query, ...options });
|
|
105
|
+
}
|
|
68
106
|
/**
|
|
69
107
|
* Per-page consent breakdown for one consent settings record, ranked by opt-outs
|
|
70
108
|
* (descending). Each row bundles banner views, opt-outs, close-icon clicks, and
|
|
71
|
-
* the derived opt-out rate.
|
|
72
|
-
*
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
* (PHI-bearing report data). Requires
|
|
109
|
+
* the derived opt-out rate. Returns `{ entities, pagination }`. Continue with
|
|
110
|
+
* `pagination.nextCursor`; results sort by opt-outs descending, then page path
|
|
111
|
+
* ascending. `search` is a substring match against `pathname`; the JSON-encoded
|
|
112
|
+
* shared analytics `filter` scopes the underlying events. Requires the API-key
|
|
113
|
+
* scope `report:consent-page-analysis` (PHI-bearing report data). Requires API-key
|
|
114
|
+
* scope or current OAuth user permission: report:consent-page-analysis
|
|
76
115
|
*/
|
|
77
116
|
pageAnalysis(id, query, options) {
|
|
78
117
|
return this._client.get(path `/rest/v1/consent-settings/${id}/page-analysis`, { query, ...options });
|
|
@@ -82,11 +121,10 @@ export class ConsentSettings extends APIResource {
|
|
|
82
121
|
* close-icon clicks, and derived rates per visitor `country_region_name`, ranked
|
|
83
122
|
* by banner views (descending). Visitors whose region cannot be resolved (e.g. bot
|
|
84
123
|
* traffic, IP geo failure) are bucketed under the literal `Unknown` so per-region
|
|
85
|
-
* counts always sum to the global totals. Use
|
|
86
|
-
*
|
|
87
|
-
* `
|
|
88
|
-
*
|
|
89
|
-
* report:consent-analytics
|
|
124
|
+
* counts always sum to the global totals. Use the JSON-encoded shared analytics
|
|
125
|
+
* `filter` to scope the underlying events. Requires the API-key scope
|
|
126
|
+
* `report:consent-analytics` (PHI-bearing report data). Requires API-key scope or
|
|
127
|
+
* current OAuth user permission: report:consent-analytics
|
|
90
128
|
*/
|
|
91
129
|
analyticsByRegion(id, query, options) {
|
|
92
130
|
return this._client.get(path `/rest/v1/consent-settings/${id}/analytics-by-region`, { query, ...options });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consent-settings.mjs","sourceRoot":"","sources":["../src/resources/consent-settings.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAG/C,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C,MAAM,OAAO,eAAgB,SAAQ,WAAW;IAC9C
|
|
1
|
+
{"version":3,"file":"consent-settings.mjs","sourceRoot":"","sources":["../src/resources/consent-settings.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAG/C,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C,MAAM,OAAO,eAAgB,SAAQ,WAAW;IAC9C;;;OAGG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,2BAA2B,EAAE,OAAO,CAAC,CAAC;IAChE,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,OAAwB;QAC7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,2BAA2B,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAED;;;OAGG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,O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C,OAAO,CAAC,GAAG,CAAC,kDAAkD,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrG,CAAC;IAED;;;;;;;;;OASG;IACH,YAAY,CACV,EAAU,EACV,KAAuC,EACvC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,6BAA6B,EAAE,gBAAgB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtG,CAAC;IAED;;;;;;;;;OASG;IACH,iBAAiB,CACf,EAAU,EACV,KAA4C,EAC5C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,6BAA6B,EAAE,sBAAsB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5G,CAAC;CACF"}
|
|
@@ -7,7 +7,8 @@ export declare class ConversionJourneySummaries extends APIResource {
|
|
|
7
7
|
* List saved Conversion Journey Summary configurations, most recently updated
|
|
8
8
|
* first. Supports cursor pagination. Each result contains the conversion event,
|
|
9
9
|
* analysis window, attribution window, filters, and bot/source settings needed to
|
|
10
|
-
* reopen the saved analysis. Requires scope
|
|
10
|
+
* reopen the saved analysis. Requires API-key scope or current OAuth user
|
|
11
|
+
* permission: web-analytics:view
|
|
11
12
|
*
|
|
12
13
|
* @example
|
|
13
14
|
* ```ts
|
|
@@ -21,7 +22,8 @@ export declare class ConversionJourneySummaries extends APIResource {
|
|
|
21
22
|
/**
|
|
22
23
|
* Save a named Conversion Journey Summary configuration. Returns the full saved
|
|
23
24
|
* summary so callers can reopen the same analysis without a follow-up request.
|
|
24
|
-
* Each account can save up to 100 summaries. Requires scope
|
|
25
|
+
* Each account can save up to 100 summaries. Requires API-key scope or current
|
|
26
|
+
* OAuth user permission: web-analytics:write
|
|
25
27
|
*
|
|
26
28
|
* @example
|
|
27
29
|
* ```ts
|
|
@@ -38,7 +40,8 @@ export declare class ConversionJourneySummaries extends APIResource {
|
|
|
38
40
|
create(body: ConversionJourneySummaryCreateParams, options?: RequestOptions): APIPromise<ConversionJourneySummaryCreateResponse>;
|
|
39
41
|
/**
|
|
40
42
|
* Fetch a saved Conversion Journey Summary by its id. Returns 404 when it does not
|
|
41
|
-
* exist. Requires scope
|
|
43
|
+
* exist. Requires API-key scope or current OAuth user permission:
|
|
44
|
+
* web-analytics:view
|
|
42
45
|
*
|
|
43
46
|
* @example
|
|
44
47
|
* ```ts
|
|
@@ -51,7 +54,8 @@ export declare class ConversionJourneySummaries extends APIResource {
|
|
|
51
54
|
* Update one or more fields on a saved Conversion Journey Summary. Omitted fields
|
|
52
55
|
* remain unchanged. When provided, `filters` replaces the complete saved filter
|
|
53
56
|
* list. Send `null` for `webSourceId` or `excludeBots` to clear that optional
|
|
54
|
-
* setting. Requires scope
|
|
57
|
+
* setting. Requires API-key scope or current OAuth user permission:
|
|
58
|
+
* web-analytics:write
|
|
55
59
|
*
|
|
56
60
|
* @example
|
|
57
61
|
* ```ts
|
|
@@ -62,7 +66,8 @@ export declare class ConversionJourneySummaries extends APIResource {
|
|
|
62
66
|
update(id: string, body: ConversionJourneySummaryUpdateParams, options?: RequestOptions): APIPromise<ConversionJourneySummaryUpdateResponse>;
|
|
63
67
|
/**
|
|
64
68
|
* Delete a saved Conversion Journey Summary. The underlying analytics data is
|
|
65
|
-
* unaffected. Requires scope
|
|
69
|
+
* unaffected. Requires API-key scope or current OAuth user permission:
|
|
70
|
+
* web-analytics:write
|
|
66
71
|
*
|
|
67
72
|
* @example
|
|
68
73
|
* ```ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conversion-journey-summaries.d.mts","sourceRoot":"","sources":["../src/resources/conversion-journey-summaries.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,MAAM,EAAE,KAAK,YAAY,EAAE,WAAW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O,EACL,KAAK,oCAAoC,IAAI,oCAAoC,EACjF,KAAK,sCAAsC,IAAI,sCAAsC,EACrF,KAAK,wCAAwC,IAAI,wCAAwC,EACzF,KAAK,sCAAsC,IAAI,sCAAsC,EACrF,KAAK,sCAAsC,IAAI,sCAAsC,EACrF,KAAK,2CAA2C,IAAI,2CAA2C,EAC/F,KAAK,kCAAkC,IAAI,kCAAkC,EAC7E,KAAK,oCAAoC,IAAI,oCAAoC,EACjF,KAAK,oCAAoC,IAAI,oCAAoC,GAClF,CAAC;CACH"}
|
|
@@ -7,7 +7,8 @@ export declare class ConversionJourneySummaries extends APIResource {
|
|
|
7
7
|
* List saved Conversion Journey Summary configurations, most recently updated
|
|
8
8
|
* first. Supports cursor pagination. Each result contains the conversion event,
|
|
9
9
|
* analysis window, attribution window, filters, and bot/source settings needed to
|
|
10
|
-
* reopen the saved analysis. Requires scope
|
|
10
|
+
* reopen the saved analysis. Requires API-key scope or current OAuth user
|
|
11
|
+
* permission: web-analytics:view
|
|
11
12
|
*
|
|
12
13
|
* @example
|
|
13
14
|
* ```ts
|
|
@@ -21,7 +22,8 @@ export declare class ConversionJourneySummaries extends APIResource {
|
|
|
21
22
|
/**
|
|
22
23
|
* Save a named Conversion Journey Summary configuration. Returns the full saved
|
|
23
24
|
* summary so callers can reopen the same analysis without a follow-up request.
|
|
24
|
-
* Each account can save up to 100 summaries. Requires scope
|
|
25
|
+
* Each account can save up to 100 summaries. Requires API-key scope or current
|
|
26
|
+
* OAuth user permission: web-analytics:write
|
|
25
27
|
*
|
|
26
28
|
* @example
|
|
27
29
|
* ```ts
|
|
@@ -38,7 +40,8 @@ export declare class ConversionJourneySummaries extends APIResource {
|
|
|
38
40
|
create(body: ConversionJourneySummaryCreateParams, options?: RequestOptions): APIPromise<ConversionJourneySummaryCreateResponse>;
|
|
39
41
|
/**
|
|
40
42
|
* Fetch a saved Conversion Journey Summary by its id. Returns 404 when it does not
|
|
41
|
-
* exist. Requires scope
|
|
43
|
+
* exist. Requires API-key scope or current OAuth user permission:
|
|
44
|
+
* web-analytics:view
|
|
42
45
|
*
|
|
43
46
|
* @example
|
|
44
47
|
* ```ts
|
|
@@ -51,7 +54,8 @@ export declare class ConversionJourneySummaries extends APIResource {
|
|
|
51
54
|
* Update one or more fields on a saved Conversion Journey Summary. Omitted fields
|
|
52
55
|
* remain unchanged. When provided, `filters` replaces the complete saved filter
|
|
53
56
|
* list. Send `null` for `webSourceId` or `excludeBots` to clear that optional
|
|
54
|
-
* setting. Requires scope
|
|
57
|
+
* setting. Requires API-key scope or current OAuth user permission:
|
|
58
|
+
* web-analytics:write
|
|
55
59
|
*
|
|
56
60
|
* @example
|
|
57
61
|
* ```ts
|
|
@@ -62,7 +66,8 @@ export declare class ConversionJourneySummaries extends APIResource {
|
|
|
62
66
|
update(id: string, body: ConversionJourneySummaryUpdateParams, options?: RequestOptions): APIPromise<ConversionJourneySummaryUpdateResponse>;
|
|
63
67
|
/**
|
|
64
68
|
* Delete a saved Conversion Journey Summary. The underlying analytics data is
|
|
65
|
-
* unaffected. Requires scope
|
|
69
|
+
* unaffected. Requires API-key scope or current OAuth user permission:
|
|
70
|
+
* web-analytics:write
|
|
66
71
|
*
|
|
67
72
|
* @example
|
|
68
73
|
* ```ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conversion-journey-summaries.d.ts","sourceRoot":"","sources":["../src/resources/conversion-journey-summaries.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,MAAM,EAAE,KAAK,YAAY,EAAE,WAAW,EAAE,8BAA2B;AAC5E,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAG7D,qBAAa,0BAA2B,SAAQ,WAAW;IACzD
|
|
1
|
+
{"version":3,"file":"conversion-journey-summaries.d.ts","sourceRoot":"","sources":["../src/resources/conversion-journey-summaries.ts"],"names":[],"mappings":"AAEA,OAAO,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2C,EAC/F,KAAK,kCAAkC,IAAI,kCAAkC,EAC7E,KAAK,oCAAoC,IAAI,oCAAoC,EACjF,KAAK,oCAAoC,IAAI,oCAAoC,GAClF,CAAC;CACH"}
|
|
@@ -10,7 +10,8 @@ class ConversionJourneySummaries extends resource_1.APIResource {
|
|
|
10
10
|
* List saved Conversion Journey Summary configurations, most recently updated
|
|
11
11
|
* first. Supports cursor pagination. Each result contains the conversion event,
|
|
12
12
|
* analysis window, attribution window, filters, and bot/source settings needed to
|
|
13
|
-
* reopen the saved analysis. Requires scope
|
|
13
|
+
* reopen the saved analysis. Requires API-key scope or current OAuth user
|
|
14
|
+
* permission: web-analytics:view
|
|
14
15
|
*
|
|
15
16
|
* @example
|
|
16
17
|
* ```ts
|
|
@@ -26,7 +27,8 @@ class ConversionJourneySummaries extends resource_1.APIResource {
|
|
|
26
27
|
/**
|
|
27
28
|
* Save a named Conversion Journey Summary configuration. Returns the full saved
|
|
28
29
|
* summary so callers can reopen the same analysis without a follow-up request.
|
|
29
|
-
* Each account can save up to 100 summaries. Requires scope
|
|
30
|
+
* Each account can save up to 100 summaries. Requires API-key scope or current
|
|
31
|
+
* OAuth user permission: web-analytics:write
|
|
30
32
|
*
|
|
31
33
|
* @example
|
|
32
34
|
* ```ts
|
|
@@ -45,7 +47,8 @@ class ConversionJourneySummaries extends resource_1.APIResource {
|
|
|
45
47
|
}
|
|
46
48
|
/**
|
|
47
49
|
* Fetch a saved Conversion Journey Summary by its id. Returns 404 when it does not
|
|
48
|
-
* exist. Requires scope
|
|
50
|
+
* exist. Requires API-key scope or current OAuth user permission:
|
|
51
|
+
* web-analytics:view
|
|
49
52
|
*
|
|
50
53
|
* @example
|
|
51
54
|
* ```ts
|
|
@@ -60,7 +63,8 @@ class ConversionJourneySummaries extends resource_1.APIResource {
|
|
|
60
63
|
* Update one or more fields on a saved Conversion Journey Summary. Omitted fields
|
|
61
64
|
* remain unchanged. When provided, `filters` replaces the complete saved filter
|
|
62
65
|
* list. Send `null` for `webSourceId` or `excludeBots` to clear that optional
|
|
63
|
-
* setting. Requires scope
|
|
66
|
+
* setting. Requires API-key scope or current OAuth user permission:
|
|
67
|
+
* web-analytics:write
|
|
64
68
|
*
|
|
65
69
|
* @example
|
|
66
70
|
* ```ts
|
|
@@ -73,7 +77,8 @@ class ConversionJourneySummaries extends resource_1.APIResource {
|
|
|
73
77
|
}
|
|
74
78
|
/**
|
|
75
79
|
* Delete a saved Conversion Journey Summary. The underlying analytics data is
|
|
76
|
-
* unaffected. Requires scope
|
|
80
|
+
* unaffected. Requires API-key scope or current OAuth user permission:
|
|
81
|
+
* web-analytics:write
|
|
77
82
|
*
|
|
78
83
|
* @example
|
|
79
84
|
* ```ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conversion-journey-summaries.js","sourceRoot":"","sources":["../src/resources/conversion-journey-summaries.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,sDAA4E;AAE5E,oDAA8C;AAE9C,MAAa,0BAA2B,SAAQ,sBAAW;IACzD
|
|
1
|
+
{"version":3,"file":"conversion-journey-summaries.js","sourceRoot":"","sources":["../src/resources/conversion-journey-summaries.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,sDAA4E;AAE5E,oDAA8C;AAE9C,MAAa,0BAA2B,SAAQ,sBAAW;IACzD;;;;;;;;;;;;;;OAcG;IACH,IAAI,CACF,QAA+D,EAAE,EACjE,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,uCAAuC,EACvC,CAAA,mBAA4C,CAAA,EAC5C,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;;;;;;;;;;;;;;;;OAiBG;IACH,MAAM,CACJ,IAA0C,EAC1C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,uCAAuC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1F,CAAC;IAED;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,yCAAyC,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACtF,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,MAAM,CACJ,EAAU,EACV,IAA0C,EAC1C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,yCAAyC,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrG,CAAC;IAED;;;;;;;;;;OAUG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,yCAAyC,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACzF,CAAC;CACF;AAtGD,gEAsGC"}
|
|
@@ -7,7 +7,8 @@ export class ConversionJourneySummaries extends APIResource {
|
|
|
7
7
|
* List saved Conversion Journey Summary configurations, most recently updated
|
|
8
8
|
* first. Supports cursor pagination. Each result contains the conversion event,
|
|
9
9
|
* analysis window, attribution window, filters, and bot/source settings needed to
|
|
10
|
-
* reopen the saved analysis. Requires scope
|
|
10
|
+
* reopen the saved analysis. Requires API-key scope or current OAuth user
|
|
11
|
+
* permission: web-analytics:view
|
|
11
12
|
*
|
|
12
13
|
* @example
|
|
13
14
|
* ```ts
|
|
@@ -23,7 +24,8 @@ export class ConversionJourneySummaries extends APIResource {
|
|
|
23
24
|
/**
|
|
24
25
|
* Save a named Conversion Journey Summary configuration. Returns the full saved
|
|
25
26
|
* summary so callers can reopen the same analysis without a follow-up request.
|
|
26
|
-
* Each account can save up to 100 summaries. Requires scope
|
|
27
|
+
* Each account can save up to 100 summaries. Requires API-key scope or current
|
|
28
|
+
* OAuth user permission: web-analytics:write
|
|
27
29
|
*
|
|
28
30
|
* @example
|
|
29
31
|
* ```ts
|
|
@@ -42,7 +44,8 @@ export class ConversionJourneySummaries extends APIResource {
|
|
|
42
44
|
}
|
|
43
45
|
/**
|
|
44
46
|
* Fetch a saved Conversion Journey Summary by its id. Returns 404 when it does not
|
|
45
|
-
* exist. Requires scope
|
|
47
|
+
* exist. Requires API-key scope or current OAuth user permission:
|
|
48
|
+
* web-analytics:view
|
|
46
49
|
*
|
|
47
50
|
* @example
|
|
48
51
|
* ```ts
|
|
@@ -57,7 +60,8 @@ export class ConversionJourneySummaries extends APIResource {
|
|
|
57
60
|
* Update one or more fields on a saved Conversion Journey Summary. Omitted fields
|
|
58
61
|
* remain unchanged. When provided, `filters` replaces the complete saved filter
|
|
59
62
|
* list. Send `null` for `webSourceId` or `excludeBots` to clear that optional
|
|
60
|
-
* setting. Requires scope
|
|
63
|
+
* setting. Requires API-key scope or current OAuth user permission:
|
|
64
|
+
* web-analytics:write
|
|
61
65
|
*
|
|
62
66
|
* @example
|
|
63
67
|
* ```ts
|
|
@@ -70,7 +74,8 @@ export class ConversionJourneySummaries extends APIResource {
|
|
|
70
74
|
}
|
|
71
75
|
/**
|
|
72
76
|
* Delete a saved Conversion Journey Summary. The underlying analytics data is
|
|
73
|
-
* unaffected. Requires scope
|
|
77
|
+
* unaffected. Requires API-key scope or current OAuth user permission:
|
|
78
|
+
* web-analytics:write
|
|
74
79
|
*
|
|
75
80
|
* @example
|
|
76
81
|
* ```ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conversion-journey-summaries.mjs","sourceRoot":"","sources":["../src/resources/conversion-journey-summaries.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,0BAA2B,SAAQ,WAAW;IACzD
|
|
1
|
+
{"version":3,"file":"conversion-journey-summaries.mjs","sourceRoot":"","sources":["../src/resources/conversion-journey-summaries.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,0BAA2B,SAAQ,WAAW;IACzD;;;;;;;;;;;;;;OAcG;IACH,IAAI,CACF,QAA+D,EAAE,EACjE,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,uCAAuC,EACvC,CAAA,MAA4C,CAAA,EAC5C,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;;;;;;;;;;;;;;;;OAiBG;IACH,MAAM,CACJ,IAA0C,EAC1C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,uCAAuC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1F,CAAC;IAED;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,yCAAyC,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACtF,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,MAAM,CACJ,EAAU,EACV,IAA0C,EAC1C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,yCAAyC,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrG,CAAC;IAED;;;;;;;;;;OAUG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,yCAAyC,EAAE,EAAE,EAAE,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