@oursprivacy/platform-sdk 1.51.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 +14 -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 +351 -12
- package/resources/test-events.d.mts.map +1 -1
- package/resources/test-events.d.ts +351 -12
- package/resources/test-events.d.ts.map +1 -1
- package/resources/test-events.js +11 -8
- package/resources/test-events.js.map +1 -1
- package/resources/test-events.mjs +11 -8
- 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 +429 -12
- 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
|
@@ -3,62 +3,97 @@ import { APIPromise } from "../core/api-promise.mjs";
|
|
|
3
3
|
import { RequestOptions } from "../internal/request-options.mjs";
|
|
4
4
|
export declare 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?: RequestOptions): APIPromise<ConsentSettingListResponse>;
|
|
9
10
|
/**
|
|
10
|
-
* Create a new consent
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
* Requires scope: consentSettings:create
|
|
11
|
+
* Create a new consent setting. POST takes no request body. The new draft is
|
|
12
|
+
* Disabled with no allowed domains, an opt-out default rule, English translations,
|
|
13
|
+
* necessary/analytics/advertising categories, and no regions. Configure it with
|
|
14
|
+
* PATCH or PUT before enabling it. Returns the same fields as GET, including its
|
|
15
|
+
* `id`, default rule, and categories. Requires API-key scope or current OAuth user
|
|
16
|
+
* permission: consentSettings:create
|
|
17
17
|
*/
|
|
18
18
|
create(options?: RequestOptions): APIPromise<ConsentSettingCreateResponse>;
|
|
19
19
|
/**
|
|
20
|
-
* Find a single consent setting by ID. Requires scope
|
|
20
|
+
* Find a single consent setting by ID. Requires API-key scope or current OAuth
|
|
21
|
+
* user permission: consentSettings:find
|
|
21
22
|
*/
|
|
22
23
|
retrieve(id: string, options?: RequestOptions): APIPromise<ConsentSettingRetrieveResponse | null>;
|
|
23
24
|
/**
|
|
24
|
-
*
|
|
25
|
-
*
|
|
25
|
+
* Update a consent setting with all required fields. Omitted optional top-level
|
|
26
|
+
* fields retain their saved values; the required default rule and lists are
|
|
27
|
+
* replaced by supplied values. Send null or [] to clear an optional field when
|
|
28
|
+
* allowed. Enabled requires at least one allowed domain in this request. Omitting
|
|
29
|
+
* or clearing `whitelistDomains` with null or [] while Enabled returns an HTTP 400
|
|
30
|
+
* validation error. Disabled settings may have no allowed domains. Use PATCH for
|
|
31
|
+
* partial updates. Requires API-key scope or current OAuth user permission:
|
|
26
32
|
* consentSettings:update
|
|
27
33
|
*/
|
|
28
34
|
replace(id: string, body: ConsentSettingReplaceParams, options?: RequestOptions): APIPromise<ConsentSettingReplaceResponse>;
|
|
29
35
|
/**
|
|
30
|
-
* Partially update a consent setting.
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
36
|
+
* Partially update a consent setting. Omitted fields keep their saved values.
|
|
37
|
+
* List-valued fields (services, categories, regions) are replaced in full when
|
|
38
|
+
* sent. Omitting `whitelistDomains` preserves saved domains; sending it replaces
|
|
39
|
+
* the list. Clear allowed domains with null or [] only when the resulting status
|
|
40
|
+
* is Disabled. Enabled requires at least one allowed domain, either already saved
|
|
41
|
+
* or sent with this request. Invalid combinations return HTTP 400 validation
|
|
42
|
+
* errors. Requires API-key scope or current OAuth user permission:
|
|
43
|
+
* consentSettings:update
|
|
34
44
|
*/
|
|
35
45
|
update(id: string, body: ConsentSettingUpdateParams, options?: RequestOptions): APIPromise<ConsentSettingUpdateResponse>;
|
|
36
46
|
/**
|
|
37
|
-
* Delete a consent setting. Requires scope
|
|
47
|
+
* Delete a consent setting. Requires API-key scope or current OAuth user
|
|
48
|
+
* permission: consentSettings:delete
|
|
38
49
|
*/
|
|
39
50
|
delete(id: string, options?: RequestOptions): APIPromise<ConsentSettingDeleteResponse>;
|
|
40
51
|
/**
|
|
41
52
|
* Time-series consent analytics for a single consent settings record: banner
|
|
42
53
|
* views, opt-ins, opt-outs, close-icon clicks, and derived opt-in/out rates per
|
|
43
|
-
* UTC day
|
|
54
|
+
* UTC hour, day, Monday-based week, or calendar month. The window is zero-filled
|
|
44
55
|
* so callers get a contiguous series, and rates are person-level
|
|
45
|
-
* (`COUNT(DISTINCT visitor_id)`). Use the
|
|
46
|
-
* to scope
|
|
47
|
-
* to also receive the matching prior window.
|
|
48
|
-
*
|
|
49
|
-
* `
|
|
50
|
-
*
|
|
51
|
-
* Requires scope
|
|
56
|
+
* (`COUNT(DISTINCT visitor_id)`). Use the JSON-encoded shared analytics `filter`
|
|
57
|
+
* to scope events by source, page, visitor, or session properties; use
|
|
58
|
+
* `compareWithPreviousPeriod=true` to also receive the matching prior window.
|
|
59
|
+
* Included days: at most 180 days for `DAILY`, 365 for `WEEKLY`, 365 for
|
|
60
|
+
* `MONTHLY`, or 14 for `HOURLY`. Partial buckets identify their actual selected
|
|
61
|
+
* dates. Previous-period comparisons are supported for daily and hourly output.
|
|
62
|
+
* Requires the API-key scope `report:consent-analytics` (this endpoint returns
|
|
63
|
+
* consent analytics report data, which is PHI-bearing and gated separately from
|
|
64
|
+
* consent-settings management). Requires API-key scope or current OAuth user
|
|
65
|
+
* permission: report:consent-analytics
|
|
52
66
|
*/
|
|
53
67
|
analytics(id: string, query: ConsentSettingAnalyticsParams, options?: RequestOptions): APIPromise<ConsentSettingAnalyticsResponse>;
|
|
68
|
+
/**
|
|
69
|
+
* Monthly consent trends over up to 365 included days. Returns unique visitor
|
|
70
|
+
* counts within each UTC calendar month, event counts for dismissals, rates, and
|
|
71
|
+
* partial-month bounds. Uses the same shared analytics filter as the other consent
|
|
72
|
+
* reports. This series-only output omits whole-window totals and breakdowns.
|
|
73
|
+
* Requires API-key scope or current OAuth user permission:
|
|
74
|
+
* report:consent-analytics
|
|
75
|
+
*/
|
|
76
|
+
analyticsMonthly(id: string, query: ConsentSettingAnalyticsMonthlyParams, options?: RequestOptions): APIPromise<ConsentSettingAnalyticsMonthlyResponse>;
|
|
77
|
+
/**
|
|
78
|
+
* Returns interval limits for a Consent report kind: SUMMARY, TRENDS, or PAGES.
|
|
79
|
+
* The organization is determined by the API key. Default included days: at most
|
|
80
|
+
* 180 days for `DAILY`, 365 for `WEEKLY`, 365 for `MONTHLY`, or 14 for `HOURLY`;
|
|
81
|
+
* organization limits may narrow these allowances. TRENDS requires
|
|
82
|
+
* report:consent-analytics, PAGES requires report:consent-page-analysis, and
|
|
83
|
+
* SUMMARY requires both. Dates, filters, search and pagination are not part of
|
|
84
|
+
* this request. Requires API-key scope or current OAuth user permission:
|
|
85
|
+
* report:consent-analytics or report:consent-page-analysis
|
|
86
|
+
*/
|
|
87
|
+
analyticsCapabilities(query?: ConsentSettingAnalyticsCapabilitiesParams | null | undefined, options?: RequestOptions): APIPromise<ConsentSettingAnalyticsCapabilitiesResponse>;
|
|
54
88
|
/**
|
|
55
89
|
* Per-page consent breakdown for one consent settings record, ranked by opt-outs
|
|
56
90
|
* (descending). Each row bundles banner views, opt-outs, close-icon clicks, and
|
|
57
|
-
* the derived opt-out rate.
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
* (PHI-bearing report data). Requires
|
|
91
|
+
* the derived opt-out rate. Returns `{ entities, pagination }`. Continue with
|
|
92
|
+
* `pagination.nextCursor`; results sort by opt-outs descending, then page path
|
|
93
|
+
* ascending. `search` is a substring match against `pathname`; the JSON-encoded
|
|
94
|
+
* shared analytics `filter` scopes the underlying events. Requires the API-key
|
|
95
|
+
* scope `report:consent-page-analysis` (PHI-bearing report data). Requires API-key
|
|
96
|
+
* scope or current OAuth user permission: report:consent-page-analysis
|
|
62
97
|
*/
|
|
63
98
|
pageAnalysis(id: string, query: ConsentSettingPageAnalysisParams, options?: RequestOptions): APIPromise<ConsentSettingPageAnalysisResponse>;
|
|
64
99
|
/**
|
|
@@ -66,11 +101,10 @@ export declare class ConsentSettings extends APIResource {
|
|
|
66
101
|
* close-icon clicks, and derived rates per visitor `country_region_name`, ranked
|
|
67
102
|
* by banner views (descending). Visitors whose region cannot be resolved (e.g. bot
|
|
68
103
|
* traffic, IP geo failure) are bucketed under the literal `Unknown` so per-region
|
|
69
|
-
* counts always sum to the global totals. Use
|
|
70
|
-
*
|
|
71
|
-
* `
|
|
72
|
-
*
|
|
73
|
-
* report:consent-analytics
|
|
104
|
+
* counts always sum to the global totals. Use the JSON-encoded shared analytics
|
|
105
|
+
* `filter` to scope the underlying events. Requires the API-key scope
|
|
106
|
+
* `report:consent-analytics` (PHI-bearing report data). Requires API-key scope or
|
|
107
|
+
* current OAuth user permission: report:consent-analytics
|
|
74
108
|
*/
|
|
75
109
|
analyticsByRegion(id: string, query: ConsentSettingAnalyticsByRegionParams, options?: RequestOptions): APIPromise<ConsentSettingAnalyticsByRegionResponse>;
|
|
76
110
|
}
|
|
@@ -114,7 +148,8 @@ export declare namespace ConsentSettingListResponse {
|
|
|
114
148
|
*/
|
|
115
149
|
services: Array<Entity.Service>;
|
|
116
150
|
/**
|
|
117
|
-
* Enabled
|
|
151
|
+
* Enabled serves the CMP on its allowed domains and requires at least one.
|
|
152
|
+
* Disabled does not serve the CMP and may have no allowed domains.
|
|
118
153
|
*/
|
|
119
154
|
status: 'Disabled' | 'Enabled';
|
|
120
155
|
/**
|
|
@@ -153,9 +188,9 @@ export declare namespace ConsentSettingListResponse {
|
|
|
153
188
|
*/
|
|
154
189
|
webSDKToken?: string | null;
|
|
155
190
|
/**
|
|
156
|
-
*
|
|
157
|
-
*
|
|
158
|
-
* subdomains.
|
|
191
|
+
* Domains where this CMP may run. An Enabled CMP requires at least one allowed
|
|
192
|
+
* domain; with none configured, the CMP does not run. Matching domains may share
|
|
193
|
+
* consent across subdomains.
|
|
159
194
|
*/
|
|
160
195
|
whitelistDomains?: Array<string> | null;
|
|
161
196
|
}
|
|
@@ -481,7 +516,8 @@ export interface ConsentSettingCreateResponse {
|
|
|
481
516
|
*/
|
|
482
517
|
services: Array<ConsentSettingCreateResponse.Service>;
|
|
483
518
|
/**
|
|
484
|
-
* Enabled
|
|
519
|
+
* Enabled serves the CMP on its allowed domains and requires at least one.
|
|
520
|
+
* Disabled does not serve the CMP and may have no allowed domains.
|
|
485
521
|
*/
|
|
486
522
|
status: 'Disabled' | 'Enabled';
|
|
487
523
|
/**
|
|
@@ -520,9 +556,9 @@ export interface ConsentSettingCreateResponse {
|
|
|
520
556
|
*/
|
|
521
557
|
webSDKToken?: string | null;
|
|
522
558
|
/**
|
|
523
|
-
*
|
|
524
|
-
*
|
|
525
|
-
* subdomains.
|
|
559
|
+
* Domains where this CMP may run. An Enabled CMP requires at least one allowed
|
|
560
|
+
* domain; with none configured, the CMP does not run. Matching domains may share
|
|
561
|
+
* consent across subdomains.
|
|
526
562
|
*/
|
|
527
563
|
whitelistDomains?: Array<string> | null;
|
|
528
564
|
}
|
|
@@ -847,7 +883,8 @@ export interface ConsentSettingRetrieveResponse {
|
|
|
847
883
|
*/
|
|
848
884
|
services: Array<ConsentSettingRetrieveResponse.Service>;
|
|
849
885
|
/**
|
|
850
|
-
* Enabled
|
|
886
|
+
* Enabled serves the CMP on its allowed domains and requires at least one.
|
|
887
|
+
* Disabled does not serve the CMP and may have no allowed domains.
|
|
851
888
|
*/
|
|
852
889
|
status: 'Disabled' | 'Enabled';
|
|
853
890
|
/**
|
|
@@ -886,9 +923,9 @@ export interface ConsentSettingRetrieveResponse {
|
|
|
886
923
|
*/
|
|
887
924
|
webSDKToken?: string | null;
|
|
888
925
|
/**
|
|
889
|
-
*
|
|
890
|
-
*
|
|
891
|
-
* subdomains.
|
|
926
|
+
* Domains where this CMP may run. An Enabled CMP requires at least one allowed
|
|
927
|
+
* domain; with none configured, the CMP does not run. Matching domains may share
|
|
928
|
+
* consent across subdomains.
|
|
892
929
|
*/
|
|
893
930
|
whitelistDomains?: Array<string> | null;
|
|
894
931
|
}
|
|
@@ -1213,7 +1250,8 @@ export interface ConsentSettingReplaceResponse {
|
|
|
1213
1250
|
*/
|
|
1214
1251
|
services: Array<ConsentSettingReplaceResponse.Service>;
|
|
1215
1252
|
/**
|
|
1216
|
-
* Enabled
|
|
1253
|
+
* Enabled serves the CMP on its allowed domains and requires at least one.
|
|
1254
|
+
* Disabled does not serve the CMP and may have no allowed domains.
|
|
1217
1255
|
*/
|
|
1218
1256
|
status: 'Disabled' | 'Enabled';
|
|
1219
1257
|
/**
|
|
@@ -1252,9 +1290,9 @@ export interface ConsentSettingReplaceResponse {
|
|
|
1252
1290
|
*/
|
|
1253
1291
|
webSDKToken?: string | null;
|
|
1254
1292
|
/**
|
|
1255
|
-
*
|
|
1256
|
-
*
|
|
1257
|
-
* subdomains.
|
|
1293
|
+
* Domains where this CMP may run. An Enabled CMP requires at least one allowed
|
|
1294
|
+
* domain; with none configured, the CMP does not run. Matching domains may share
|
|
1295
|
+
* consent across subdomains.
|
|
1258
1296
|
*/
|
|
1259
1297
|
whitelistDomains?: Array<string> | null;
|
|
1260
1298
|
}
|
|
@@ -1579,7 +1617,8 @@ export interface ConsentSettingUpdateResponse {
|
|
|
1579
1617
|
*/
|
|
1580
1618
|
services: Array<ConsentSettingUpdateResponse.Service>;
|
|
1581
1619
|
/**
|
|
1582
|
-
* Enabled
|
|
1620
|
+
* Enabled serves the CMP on its allowed domains and requires at least one.
|
|
1621
|
+
* Disabled does not serve the CMP and may have no allowed domains.
|
|
1583
1622
|
*/
|
|
1584
1623
|
status: 'Disabled' | 'Enabled';
|
|
1585
1624
|
/**
|
|
@@ -1618,9 +1657,9 @@ export interface ConsentSettingUpdateResponse {
|
|
|
1618
1657
|
*/
|
|
1619
1658
|
webSDKToken?: string | null;
|
|
1620
1659
|
/**
|
|
1621
|
-
*
|
|
1622
|
-
*
|
|
1623
|
-
* subdomains.
|
|
1660
|
+
* Domains where this CMP may run. An Enabled CMP requires at least one allowed
|
|
1661
|
+
* domain; with none configured, the CMP does not run. Matching domains may share
|
|
1662
|
+
* consent across subdomains.
|
|
1624
1663
|
*/
|
|
1625
1664
|
whitelistDomains?: Array<string> | null;
|
|
1626
1665
|
}
|
|
@@ -1945,7 +1984,8 @@ export interface ConsentSettingDeleteResponse {
|
|
|
1945
1984
|
*/
|
|
1946
1985
|
services: Array<ConsentSettingDeleteResponse.Service>;
|
|
1947
1986
|
/**
|
|
1948
|
-
* Enabled
|
|
1987
|
+
* Enabled serves the CMP on its allowed domains and requires at least one.
|
|
1988
|
+
* Disabled does not serve the CMP and may have no allowed domains.
|
|
1949
1989
|
*/
|
|
1950
1990
|
status: 'Disabled' | 'Enabled';
|
|
1951
1991
|
/**
|
|
@@ -1984,9 +2024,9 @@ export interface ConsentSettingDeleteResponse {
|
|
|
1984
2024
|
*/
|
|
1985
2025
|
webSDKToken?: string | null;
|
|
1986
2026
|
/**
|
|
1987
|
-
*
|
|
1988
|
-
*
|
|
1989
|
-
* subdomains.
|
|
2027
|
+
* Domains where this CMP may run. An Enabled CMP requires at least one allowed
|
|
2028
|
+
* domain; with none configured, the CMP does not run. Matching domains may share
|
|
2029
|
+
* consent across subdomains.
|
|
1990
2030
|
*/
|
|
1991
2031
|
whitelistDomains?: Array<string> | null;
|
|
1992
2032
|
}
|
|
@@ -2277,9 +2317,9 @@ export declare namespace ConsentSettingDeleteResponse {
|
|
|
2277
2317
|
}
|
|
2278
2318
|
export interface ConsentSettingAnalyticsResponse {
|
|
2279
2319
|
/**
|
|
2280
|
-
* One entry per time bucket (day or
|
|
2281
|
-
* full window — empty windows are zero-filled so
|
|
2282
|
-
* time series without gap-handling logic.
|
|
2320
|
+
* One entry per time bucket (hour, day, week, or month, depending on
|
|
2321
|
+
* `granularity`) covering the full window — empty windows are zero-filled so
|
|
2322
|
+
* callers can render contiguous time series without gap-handling logic.
|
|
2283
2323
|
*/
|
|
2284
2324
|
items: Array<ConsentSettingAnalyticsResponse.Item>;
|
|
2285
2325
|
totals: ConsentSettingAnalyticsResponse.Totals;
|
|
@@ -2293,6 +2333,9 @@ export declare namespace ConsentSettingAnalyticsResponse {
|
|
|
2293
2333
|
explicitOptOuts: number;
|
|
2294
2334
|
optInRate: number;
|
|
2295
2335
|
optOutRate: number;
|
|
2336
|
+
partialPeriod: boolean;
|
|
2337
|
+
periodFrom: string;
|
|
2338
|
+
periodTo: string;
|
|
2296
2339
|
percentageChangeBannerViews?: number | null;
|
|
2297
2340
|
percentageChangeCloseIconClicks?: number | null;
|
|
2298
2341
|
percentageChangeExplicitOptIns?: number | null;
|
|
@@ -2313,31 +2356,54 @@ export declare namespace ConsentSettingAnalyticsResponse {
|
|
|
2313
2356
|
optOutRate: number;
|
|
2314
2357
|
}
|
|
2315
2358
|
}
|
|
2359
|
+
export interface ConsentSettingAnalyticsMonthlyResponse {
|
|
2360
|
+
items: Array<ConsentSettingAnalyticsMonthlyResponse.Item>;
|
|
2361
|
+
}
|
|
2362
|
+
export declare namespace ConsentSettingAnalyticsMonthlyResponse {
|
|
2363
|
+
interface Item {
|
|
2364
|
+
bannerViews: number;
|
|
2365
|
+
closeIconClicks: number;
|
|
2366
|
+
dateTime: string;
|
|
2367
|
+
explicitOptIns: number;
|
|
2368
|
+
explicitOptOuts: number;
|
|
2369
|
+
optInRate: number;
|
|
2370
|
+
optOutRate: number;
|
|
2371
|
+
partialPeriod: boolean;
|
|
2372
|
+
periodFrom: string;
|
|
2373
|
+
periodTo: string;
|
|
2374
|
+
}
|
|
2375
|
+
}
|
|
2376
|
+
export interface ConsentSettingAnalyticsCapabilitiesResponse {
|
|
2377
|
+
expiresAt: string;
|
|
2378
|
+
intervals: Array<ConsentSettingAnalyticsCapabilitiesResponse.Interval>;
|
|
2379
|
+
policyVersion: string;
|
|
2380
|
+
}
|
|
2381
|
+
export declare namespace ConsentSettingAnalyticsCapabilitiesResponse {
|
|
2382
|
+
interface Interval {
|
|
2383
|
+
comparisonSupported: boolean;
|
|
2384
|
+
granularity: 'DAILY' | 'HOURLY' | 'MONTHLY' | 'WEEKLY';
|
|
2385
|
+
maxIncludedDays: number;
|
|
2386
|
+
}
|
|
2387
|
+
}
|
|
2316
2388
|
export interface ConsentSettingPageAnalysisResponse {
|
|
2317
2389
|
/**
|
|
2318
|
-
*
|
|
2319
|
-
*/
|
|
2320
|
-
hasMore: boolean;
|
|
2321
|
-
/**
|
|
2322
|
-
* Pages with consent activity in the window, ranked by opt-outs (descending). Each
|
|
2323
|
-
* page bundles banner views, opt-outs, close-icon clicks, and the derived opt-out
|
|
2324
|
-
* rate.
|
|
2325
|
-
*/
|
|
2326
|
-
items: Array<ConsentSettingPageAnalysisResponse.Item>;
|
|
2327
|
-
/**
|
|
2328
|
-
* Running count of pages loaded so far (`offset + items.length`). Approximate for
|
|
2329
|
-
* load-more flows; query without `offset` to get the exact size of the first page.
|
|
2390
|
+
* Pages ranked by opt-outs descending, then page path ascending.
|
|
2330
2391
|
*/
|
|
2331
|
-
|
|
2392
|
+
entities: Array<ConsentSettingPageAnalysisResponse.Entity>;
|
|
2393
|
+
pagination: ConsentSettingPageAnalysisResponse.Pagination;
|
|
2332
2394
|
}
|
|
2333
2395
|
export declare namespace ConsentSettingPageAnalysisResponse {
|
|
2334
|
-
interface
|
|
2396
|
+
interface Entity {
|
|
2335
2397
|
bannerViews: number;
|
|
2336
2398
|
closeIconClicks: number;
|
|
2337
2399
|
optOutRate: number;
|
|
2338
2400
|
optOuts: number;
|
|
2339
2401
|
page: string;
|
|
2340
2402
|
}
|
|
2403
|
+
interface Pagination {
|
|
2404
|
+
hasMore: boolean;
|
|
2405
|
+
nextCursor?: string | null;
|
|
2406
|
+
}
|
|
2341
2407
|
}
|
|
2342
2408
|
export interface ConsentSettingAnalyticsByRegionResponse {
|
|
2343
2409
|
/**
|
|
@@ -2383,7 +2449,7 @@ export interface ConsentSettingReplaceParams {
|
|
|
2383
2449
|
*/
|
|
2384
2450
|
services: Array<ConsentSettingReplaceParams.Service>;
|
|
2385
2451
|
/**
|
|
2386
|
-
* Enabled
|
|
2452
|
+
* Enabled requires at least one allowed domain. Disabled may have none.
|
|
2387
2453
|
*/
|
|
2388
2454
|
status: 'Disabled' | 'Enabled';
|
|
2389
2455
|
/**
|
|
@@ -2414,7 +2480,9 @@ export interface ConsentSettingReplaceParams {
|
|
|
2414
2480
|
*/
|
|
2415
2481
|
webSDKToken?: string | null;
|
|
2416
2482
|
/**
|
|
2417
|
-
*
|
|
2483
|
+
* Domains where this CMP may run. Enabled requires at least one allowed domain;
|
|
2484
|
+
* omitting, null, or [] fails validation when status is Enabled. Disabled may have
|
|
2485
|
+
* none.
|
|
2418
2486
|
*/
|
|
2419
2487
|
whitelistDomains?: Array<string> | null;
|
|
2420
2488
|
}
|
|
@@ -2747,7 +2815,8 @@ export interface ConsentSettingUpdateParams {
|
|
|
2747
2815
|
*/
|
|
2748
2816
|
skipBlockingClassNames?: Array<string> | null;
|
|
2749
2817
|
/**
|
|
2750
|
-
*
|
|
2818
|
+
* Set Enabled or Disabled. Enabling requires at least one allowed domain, either
|
|
2819
|
+
* already saved or sent with this request.
|
|
2751
2820
|
*/
|
|
2752
2821
|
status?: 'Disabled' | 'Enabled';
|
|
2753
2822
|
/**
|
|
@@ -2756,7 +2825,8 @@ export interface ConsentSettingUpdateParams {
|
|
|
2756
2825
|
*/
|
|
2757
2826
|
webSDKToken?: string | null;
|
|
2758
2827
|
/**
|
|
2759
|
-
* Replace the
|
|
2828
|
+
* Replace the allowed domains when sent. Omit to preserve saved domains. Pass null
|
|
2829
|
+
* or [] to clear only when the resulting status is Disabled.
|
|
2760
2830
|
*/
|
|
2761
2831
|
whitelistDomains?: Array<string> | null;
|
|
2762
2832
|
}
|
|
@@ -3048,20 +3118,20 @@ export declare namespace ConsentSettingUpdateParams {
|
|
|
3048
3118
|
export interface ConsentSettingAnalyticsParams {
|
|
3049
3119
|
/**
|
|
3050
3120
|
* Inclusive lower bound of the analytics window, as a UTC calendar day in
|
|
3051
|
-
* `YYYY-MM-DD` format.
|
|
3052
|
-
*
|
|
3121
|
+
* `YYYY-MM-DD` format. Count both selected dates: at most 180 days for `DAILY`,
|
|
3122
|
+
* 365 for `WEEKLY`, 365 for `MONTHLY`, or 14 for `HOURLY`.
|
|
3053
3123
|
*/
|
|
3054
3124
|
from: string;
|
|
3055
3125
|
/**
|
|
3056
3126
|
* Inclusive upper bound of the analytics window, as a UTC calendar day in
|
|
3057
|
-
* `YYYY-MM-DD` format.
|
|
3058
|
-
*
|
|
3127
|
+
* `YYYY-MM-DD` format. Count both selected dates: at most 180 days for `DAILY`,
|
|
3128
|
+
* 365 for `WEEKLY`, 365 for `MONTHLY`, or 14 for `HOURLY`.
|
|
3059
3129
|
*/
|
|
3060
3130
|
to: string;
|
|
3061
3131
|
/**
|
|
3062
|
-
* When `true`, each bucket also returns the
|
|
3063
|
-
* preceding window of equal length (in
|
|
3064
|
-
* fields). Defaults to `false`.
|
|
3132
|
+
* Supported for DAILY and HOURLY. When `true`, each bucket also returns the
|
|
3133
|
+
* matching bucket from the immediately preceding window of equal length (in
|
|
3134
|
+
* `previous*` and `percentageChange*` fields). Defaults to `false`.
|
|
3065
3135
|
*/
|
|
3066
3136
|
compareWithPreviousPeriod?: boolean;
|
|
3067
3137
|
/**
|
|
@@ -3080,75 +3150,105 @@ export interface ConsentSettingAnalyticsParams {
|
|
|
3080
3150
|
*/
|
|
3081
3151
|
comparisonTo?: string;
|
|
3082
3152
|
/**
|
|
3083
|
-
*
|
|
3084
|
-
*
|
|
3153
|
+
* JSON-encoded versioned analytics filter. Uses the shared analytics catalog
|
|
3154
|
+
* property IDs and operators, including event, session, and custom properties.
|
|
3155
|
+
*/
|
|
3156
|
+
filter?: string;
|
|
3157
|
+
/**
|
|
3158
|
+
* Reporting interval: DAILY (default), WEEKLY (UTC weeks starting Monday), MONTHLY
|
|
3159
|
+
* (UTC calendar months), or HOURLY. Included-day limits: at most 180 days for
|
|
3160
|
+
* `DAILY`, 365 for `WEEKLY`, 365 for `MONTHLY`, or 14 for `HOURLY`. Breakdown
|
|
3161
|
+
* reports aggregate the entire selected range.
|
|
3162
|
+
*/
|
|
3163
|
+
granularity?: 'DAILY' | 'HOURLY' | 'MONTHLY' | 'WEEKLY';
|
|
3164
|
+
}
|
|
3165
|
+
export interface ConsentSettingAnalyticsMonthlyParams {
|
|
3166
|
+
/**
|
|
3167
|
+
* Inclusive lower bound of the analytics window, as a UTC calendar day in
|
|
3168
|
+
* `YYYY-MM-DD` format. Count both selected dates: at most 180 days for `DAILY`,
|
|
3169
|
+
* 365 for `WEEKLY`, 365 for `MONTHLY`, or 14 for `HOURLY`.
|
|
3085
3170
|
*/
|
|
3086
|
-
|
|
3171
|
+
from: string;
|
|
3087
3172
|
/**
|
|
3088
|
-
*
|
|
3089
|
-
*
|
|
3173
|
+
* Inclusive upper bound of the analytics window, as a UTC calendar day in
|
|
3174
|
+
* `YYYY-MM-DD` format. Count both selected dates: at most 180 days for `DAILY`,
|
|
3175
|
+
* 365 for `WEEKLY`, 365 for `MONTHLY`, or 14 for `HOURLY`.
|
|
3090
3176
|
*/
|
|
3091
|
-
|
|
3177
|
+
to: string;
|
|
3092
3178
|
/**
|
|
3093
|
-
*
|
|
3094
|
-
*
|
|
3095
|
-
* (`California,Texas`). Case-sensitive. Use
|
|
3096
|
-
* `GET /rest/v1/consent-settings/{id}/analytics-by-region` to discover the region
|
|
3097
|
-
* names available for an account.
|
|
3179
|
+
* JSON-encoded versioned analytics filter. Uses the shared analytics catalog
|
|
3180
|
+
* property IDs and operators, including event, session, and custom properties.
|
|
3098
3181
|
*/
|
|
3099
|
-
|
|
3182
|
+
filter?: string;
|
|
3183
|
+
}
|
|
3184
|
+
export interface ConsentSettingAnalyticsCapabilitiesParams {
|
|
3185
|
+
kind?: 'PAGES' | 'SUMMARY' | 'TRENDS';
|
|
3100
3186
|
}
|
|
3101
3187
|
export interface ConsentSettingPageAnalysisParams {
|
|
3102
3188
|
/**
|
|
3103
3189
|
* Inclusive lower bound of the analytics window, as a UTC calendar day in
|
|
3104
|
-
* `YYYY-MM-DD` format.
|
|
3105
|
-
*
|
|
3190
|
+
* `YYYY-MM-DD` format. Count both selected dates: at most 180 days for `DAILY`,
|
|
3191
|
+
* 365 for `WEEKLY`, 365 for `MONTHLY`, or 14 for `HOURLY`.
|
|
3106
3192
|
*/
|
|
3107
3193
|
from: string;
|
|
3108
3194
|
/**
|
|
3109
3195
|
* Inclusive upper bound of the analytics window, as a UTC calendar day in
|
|
3110
|
-
* `YYYY-MM-DD` format.
|
|
3111
|
-
*
|
|
3196
|
+
* `YYYY-MM-DD` format. Count both selected dates: at most 180 days for `DAILY`,
|
|
3197
|
+
* 365 for `WEEKLY`, 365 for `MONTHLY`, or 14 for `HOURLY`.
|
|
3112
3198
|
*/
|
|
3113
3199
|
to: string;
|
|
3114
3200
|
/**
|
|
3115
|
-
*
|
|
3201
|
+
* Opaque cursor from pagination.nextCursor. Omit for the first page.
|
|
3116
3202
|
*/
|
|
3117
|
-
|
|
3203
|
+
cursor?: string;
|
|
3118
3204
|
/**
|
|
3119
|
-
*
|
|
3120
|
-
*
|
|
3205
|
+
* JSON-encoded versioned analytics filter. Uses the shared analytics catalog
|
|
3206
|
+
* property IDs and operators, including event, session, and custom properties.
|
|
3121
3207
|
*/
|
|
3122
|
-
|
|
3208
|
+
filter?: string;
|
|
3123
3209
|
/**
|
|
3124
|
-
*
|
|
3125
|
-
*
|
|
3126
|
-
*
|
|
3127
|
-
*
|
|
3128
|
-
* names available for an account.
|
|
3210
|
+
* Reporting interval: DAILY (default), WEEKLY (UTC weeks starting Monday), MONTHLY
|
|
3211
|
+
* (UTC calendar months), or HOURLY. Included-day limits: at most 180 days for
|
|
3212
|
+
* `DAILY`, 365 for `WEEKLY`, 365 for `MONTHLY`, or 14 for `HOURLY`. Breakdown
|
|
3213
|
+
* reports aggregate the entire selected range.
|
|
3129
3214
|
*/
|
|
3130
|
-
|
|
3215
|
+
granularity?: 'DAILY' | 'HOURLY' | 'MONTHLY' | 'WEEKLY';
|
|
3131
3216
|
/**
|
|
3132
|
-
*
|
|
3133
|
-
|
|
3217
|
+
* Maximum number of pages to return. Defaults to 50; clamped to 1–200.
|
|
3218
|
+
*/
|
|
3219
|
+
limit?: number | null;
|
|
3220
|
+
/**
|
|
3221
|
+
* Case-sensitive substring match against the page path.
|
|
3134
3222
|
*/
|
|
3135
3223
|
search?: string;
|
|
3136
3224
|
}
|
|
3137
3225
|
export interface ConsentSettingAnalyticsByRegionParams {
|
|
3138
3226
|
/**
|
|
3139
3227
|
* Inclusive lower bound of the analytics window, as a UTC calendar day in
|
|
3140
|
-
* `YYYY-MM-DD` format.
|
|
3141
|
-
*
|
|
3228
|
+
* `YYYY-MM-DD` format. Count both selected dates: at most 180 days for `DAILY`,
|
|
3229
|
+
* 365 for `WEEKLY`, 365 for `MONTHLY`, or 14 for `HOURLY`.
|
|
3142
3230
|
*/
|
|
3143
3231
|
from: string;
|
|
3144
3232
|
/**
|
|
3145
3233
|
* Inclusive upper bound of the analytics window, as a UTC calendar day in
|
|
3146
|
-
* `YYYY-MM-DD` format.
|
|
3147
|
-
*
|
|
3234
|
+
* `YYYY-MM-DD` format. Count both selected dates: at most 180 days for `DAILY`,
|
|
3235
|
+
* 365 for `WEEKLY`, 365 for `MONTHLY`, or 14 for `HOURLY`.
|
|
3148
3236
|
*/
|
|
3149
3237
|
to: string;
|
|
3238
|
+
/**
|
|
3239
|
+
* JSON-encoded versioned analytics filter. Uses the shared analytics catalog
|
|
3240
|
+
* property IDs and operators, including event, session, and custom properties.
|
|
3241
|
+
*/
|
|
3242
|
+
filter?: string;
|
|
3243
|
+
/**
|
|
3244
|
+
* Reporting interval: DAILY (default), WEEKLY (UTC weeks starting Monday), MONTHLY
|
|
3245
|
+
* (UTC calendar months), or HOURLY. Included-day limits: at most 180 days for
|
|
3246
|
+
* `DAILY`, 365 for `WEEKLY`, 365 for `MONTHLY`, or 14 for `HOURLY`. Breakdown
|
|
3247
|
+
* reports aggregate the entire selected range.
|
|
3248
|
+
*/
|
|
3249
|
+
granularity?: 'DAILY' | 'HOURLY' | 'MONTHLY' | 'WEEKLY';
|
|
3150
3250
|
}
|
|
3151
3251
|
export declare namespace ConsentSettings {
|
|
3152
|
-
export { type ConsentSettingListResponse as ConsentSettingListResponse, type ConsentSettingCreateResponse as ConsentSettingCreateResponse, type ConsentSettingRetrieveResponse as ConsentSettingRetrieveResponse, type ConsentSettingReplaceResponse as ConsentSettingReplaceResponse, type ConsentSettingUpdateResponse as ConsentSettingUpdateResponse, type ConsentSettingDeleteResponse as ConsentSettingDeleteResponse, type ConsentSettingAnalyticsResponse as ConsentSettingAnalyticsResponse, type ConsentSettingPageAnalysisResponse as ConsentSettingPageAnalysisResponse, type ConsentSettingAnalyticsByRegionResponse as ConsentSettingAnalyticsByRegionResponse, type ConsentSettingReplaceParams as ConsentSettingReplaceParams, type ConsentSettingUpdateParams as ConsentSettingUpdateParams, type ConsentSettingAnalyticsParams as ConsentSettingAnalyticsParams, type ConsentSettingPageAnalysisParams as ConsentSettingPageAnalysisParams, type ConsentSettingAnalyticsByRegionParams as ConsentSettingAnalyticsByRegionParams, };
|
|
3252
|
+
export { type ConsentSettingListResponse as ConsentSettingListResponse, type ConsentSettingCreateResponse as ConsentSettingCreateResponse, type ConsentSettingRetrieveResponse as ConsentSettingRetrieveResponse, type ConsentSettingReplaceResponse as ConsentSettingReplaceResponse, type ConsentSettingUpdateResponse as ConsentSettingUpdateResponse, type ConsentSettingDeleteResponse as ConsentSettingDeleteResponse, type ConsentSettingAnalyticsResponse as ConsentSettingAnalyticsResponse, type ConsentSettingAnalyticsMonthlyResponse as ConsentSettingAnalyticsMonthlyResponse, type ConsentSettingAnalyticsCapabilitiesResponse as ConsentSettingAnalyticsCapabilitiesResponse, type ConsentSettingPageAnalysisResponse as ConsentSettingPageAnalysisResponse, type ConsentSettingAnalyticsByRegionResponse as ConsentSettingAnalyticsByRegionResponse, type ConsentSettingReplaceParams as ConsentSettingReplaceParams, type ConsentSettingUpdateParams as ConsentSettingUpdateParams, type ConsentSettingAnalyticsParams as ConsentSettingAnalyticsParams, type ConsentSettingAnalyticsMonthlyParams as ConsentSettingAnalyticsMonthlyParams, type ConsentSettingAnalyticsCapabilitiesParams as ConsentSettingAnalyticsCapabilitiesParams, type ConsentSettingPageAnalysisParams as ConsentSettingPageAnalysisParams, type ConsentSettingAnalyticsByRegionParams as ConsentSettingAnalyticsByRegionParams, };
|
|
3153
3253
|
}
|
|
3154
3254
|
//# sourceMappingURL=consent-settings.d.mts.map
|