@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
|
@@ -5,11 +5,11 @@ import { RequestOptions } from "../internal/request-options.js";
|
|
|
5
5
|
export declare class TestEvents extends APIResource {
|
|
6
6
|
/**
|
|
7
7
|
* List browser, server, and synthetic events captured with debug mode during the
|
|
8
|
-
* last 48 hours, newest received first. Includes live-token
|
|
9
|
-
*
|
|
8
|
+
* last 48 hours, newest received first. Includes live-token and test-token events;
|
|
9
|
+
* `isTestEvent` indicates whether a test token was used. Returns full event
|
|
10
10
|
* properties. Pass an entity id unchanged to the detail or dispatch endpoint. Use
|
|
11
11
|
* `limit` (default 25, maximum 100) and `cursor` to page through results. Requires
|
|
12
|
-
* scope: report:list-events
|
|
12
|
+
* API-key scope or current OAuth user permission: report:list-events
|
|
13
13
|
*
|
|
14
14
|
* @example
|
|
15
15
|
* ```ts
|
|
@@ -22,12 +22,14 @@ export declare class TestEvents extends APIResource {
|
|
|
22
22
|
list(query?: TestEventListParams | null | undefined, options?: RequestOptions): PagePromise<TestEventListResponsesCursor, TestEventListResponse>;
|
|
23
23
|
/**
|
|
24
24
|
* Send a test event through the same processing your production events go through,
|
|
25
|
-
*
|
|
26
|
-
*
|
|
25
|
+
* using the source’s live token with debug capture enabled. This can deliver real
|
|
26
|
+
* data to configured destinations. The response acknowledges acceptance for
|
|
27
|
+
* processing; it does not contain processing results. The event is captured in
|
|
27
28
|
* Recent Events. Use the returned `id` with
|
|
28
29
|
* `GET /rest/v1/test-events/{id}/dispatches` to retrieve recorded dispatches.
|
|
29
30
|
* Supply `visitorId` and `distinctId` to choose the identity yourself; otherwise
|
|
30
|
-
* they are generated and returned. Requires scope
|
|
31
|
+
* they are generated and returned. Requires API-key scope or current OAuth user
|
|
32
|
+
* permission: test-event:create
|
|
31
33
|
*
|
|
32
34
|
* @example
|
|
33
35
|
* ```ts
|
|
@@ -41,7 +43,8 @@ export declare class TestEvents extends APIResource {
|
|
|
41
43
|
* Retrieve one browser, server, or synthetic event captured in debug mode within
|
|
42
44
|
* the last 48 hours. Use an id returned by the create or list endpoint. Events
|
|
43
45
|
* that have not arrived, expired events, and events outside your account
|
|
44
|
-
* return 404. Requires scope
|
|
46
|
+
* return 404. Requires API-key scope or current OAuth user permission:
|
|
47
|
+
* report:view-event
|
|
45
48
|
*
|
|
46
49
|
* @example
|
|
47
50
|
* ```ts
|
|
@@ -58,7 +61,7 @@ export declare class TestEvents extends APIResource {
|
|
|
58
61
|
* until dispatch records arrive, and may remain empty when no dispatch occurs.
|
|
59
62
|
* Results can grow as processing continues; this endpoint does not predict
|
|
60
63
|
* destinations or signal completion. Requires the report:view-dispatch scope.
|
|
61
|
-
* Requires scope: report:view-dispatch
|
|
64
|
+
* Requires API-key scope or current OAuth user permission: report:view-dispatch
|
|
62
65
|
*
|
|
63
66
|
* @example
|
|
64
67
|
* ```ts
|
|
@@ -128,7 +131,8 @@ export interface TestEventDispatchesResponse {
|
|
|
128
131
|
id: string;
|
|
129
132
|
/**
|
|
130
133
|
* Dispatches recorded so far. Empty until dispatches arrive; no predicted
|
|
131
|
-
* destinations or completion signal.
|
|
134
|
+
* destinations or completion signal. Events created through this API can be
|
|
135
|
+
* delivered to live destinations.
|
|
132
136
|
*/
|
|
133
137
|
entities: Array<TestEventDispatchesResponse.Entity>;
|
|
134
138
|
}
|
|
@@ -169,10 +173,10 @@ export interface TestEventCreateParams {
|
|
|
169
173
|
*/
|
|
170
174
|
eventName: string;
|
|
171
175
|
/**
|
|
172
|
-
*
|
|
173
|
-
*
|
|
176
|
+
* Known context properties used by ingest and destination mappings. Use
|
|
177
|
+
* current_url for the page URL. Unknown properties are ignored.
|
|
174
178
|
*/
|
|
175
|
-
defaultProperties?:
|
|
179
|
+
defaultProperties?: TestEventCreateParams.DefaultProperties | null;
|
|
176
180
|
/**
|
|
177
181
|
* Event identity for this specific event. Generated when omitted. Letters,
|
|
178
182
|
* numbers, hyphens, and underscores only.
|
|
@@ -197,6 +201,341 @@ export interface TestEventCreateParams {
|
|
|
197
201
|
*/
|
|
198
202
|
visitorId?: string | null;
|
|
199
203
|
}
|
|
204
|
+
export declare namespace TestEventCreateParams {
|
|
205
|
+
/**
|
|
206
|
+
* Known context properties used by ingest and destination mappings. Use
|
|
207
|
+
* current_url for the page URL. Unknown properties are ignored.
|
|
208
|
+
*/
|
|
209
|
+
interface DefaultProperties {
|
|
210
|
+
/**
|
|
211
|
+
* The Everflow affiliate Click (Transaction) ID, captured from the
|
|
212
|
+
* `_ef_transaction_id` URL parameter. Ex: ef_click_abc123
|
|
213
|
+
*/
|
|
214
|
+
_ef_transaction_id?: string | null;
|
|
215
|
+
/**
|
|
216
|
+
* The active time in milliseconds that the user had this tab active
|
|
217
|
+
*/
|
|
218
|
+
activeDuration?: number | null;
|
|
219
|
+
/**
|
|
220
|
+
* The ad id for detected in the session. This is set by the web sdk automatically.
|
|
221
|
+
*/
|
|
222
|
+
ad_id?: string | null;
|
|
223
|
+
/**
|
|
224
|
+
* The Admitad (Mitgo) affiliate Click ID. Ex: admitad_uid_abc123
|
|
225
|
+
*/
|
|
226
|
+
admitad_uid?: string | null;
|
|
227
|
+
/**
|
|
228
|
+
* The adset id for detected in the session. This is set by the web sdk
|
|
229
|
+
* automatically.
|
|
230
|
+
*/
|
|
231
|
+
adset_id?: string | null;
|
|
232
|
+
/**
|
|
233
|
+
* The AppLovin alart query parameter. Ex: alart123
|
|
234
|
+
*/
|
|
235
|
+
alart?: string | null;
|
|
236
|
+
/**
|
|
237
|
+
* The AppLovin aleid query parameter. Ex: aleid123
|
|
238
|
+
*/
|
|
239
|
+
aleid?: string | null;
|
|
240
|
+
/**
|
|
241
|
+
* The AppLovin pixel cookie value (\_axwrt). Web-only.
|
|
242
|
+
*/
|
|
243
|
+
axwrt?: string | null;
|
|
244
|
+
/**
|
|
245
|
+
* The Basis DSP Click ID. Ex: basis_cid123
|
|
246
|
+
*/
|
|
247
|
+
basis_cid?: string | null;
|
|
248
|
+
/**
|
|
249
|
+
* The Beeswax (FreeWheel Buyer Cloud) auction ID, captured from the
|
|
250
|
+
* `{{AUCTION_ID}}` macro on creative click URLs. Ex: bx-auc-abc123
|
|
251
|
+
*/
|
|
252
|
+
beeswax_auction_id?: string | null;
|
|
253
|
+
/**
|
|
254
|
+
* The language of the browser. Ex: en-US
|
|
255
|
+
*/
|
|
256
|
+
browser_language?: string | null;
|
|
257
|
+
/**
|
|
258
|
+
* The name of the browser. Ex: Chrome
|
|
259
|
+
*/
|
|
260
|
+
browser_name?: string | null;
|
|
261
|
+
/**
|
|
262
|
+
* The version of the browser. Ex: 114.0
|
|
263
|
+
*/
|
|
264
|
+
browser_version?: string | null;
|
|
265
|
+
/**
|
|
266
|
+
* The campaign id for detected in the session. This is set by the web sdk
|
|
267
|
+
* automatically.
|
|
268
|
+
*/
|
|
269
|
+
campaign_id?: string | null;
|
|
270
|
+
/**
|
|
271
|
+
* The Click ID. Ex: clickid123
|
|
272
|
+
*/
|
|
273
|
+
clickid?: string | null;
|
|
274
|
+
/**
|
|
275
|
+
* The Generic Click ID. Ex: clid123
|
|
276
|
+
*/
|
|
277
|
+
clid?: string | null;
|
|
278
|
+
/**
|
|
279
|
+
* The architecture of the CPU. Ex: x64
|
|
280
|
+
*/
|
|
281
|
+
cpu_architecture?: string | null;
|
|
282
|
+
/**
|
|
283
|
+
* The full url (including query params) of the current page
|
|
284
|
+
*/
|
|
285
|
+
current_url?: string | null;
|
|
286
|
+
/**
|
|
287
|
+
* The DoubleClick Click ID. Ex: dclid123
|
|
288
|
+
*/
|
|
289
|
+
dclid?: string | null;
|
|
290
|
+
/**
|
|
291
|
+
* The model of the device. Ex: iPhone 13
|
|
292
|
+
*/
|
|
293
|
+
device_model?: string | null;
|
|
294
|
+
/**
|
|
295
|
+
* The type of device the user is using. Ex: mobile
|
|
296
|
+
*/
|
|
297
|
+
device_type?: string | null;
|
|
298
|
+
/**
|
|
299
|
+
* The vendor of the device. Ex: Apple
|
|
300
|
+
*/
|
|
301
|
+
device_vendor?: string | null;
|
|
302
|
+
/**
|
|
303
|
+
* The time in milliseconds since the page was loaded // script was loaded
|
|
304
|
+
*/
|
|
305
|
+
duration?: number | null;
|
|
306
|
+
/**
|
|
307
|
+
* The browsers encoding. Ex: UTF-8
|
|
308
|
+
*/
|
|
309
|
+
encoding?: string | null;
|
|
310
|
+
/**
|
|
311
|
+
* The name of the browser engine. Ex: Blink
|
|
312
|
+
*/
|
|
313
|
+
engine_name?: string | null;
|
|
314
|
+
/**
|
|
315
|
+
* The version of the browser engine. Ex: 114.0
|
|
316
|
+
*/
|
|
317
|
+
engine_version?: string | null;
|
|
318
|
+
/**
|
|
319
|
+
* The Pinterest Click ID. Ex: epik456
|
|
320
|
+
*/
|
|
321
|
+
epik?: string | null;
|
|
322
|
+
/**
|
|
323
|
+
* Facebook Click ID with prefix format for Conversions API tracking. Ex:
|
|
324
|
+
* fb.1.1554763741205.AbCdEfGhIjKlMnOpQrStUvWxYz1234567890
|
|
325
|
+
*/
|
|
326
|
+
fbc?: string | null;
|
|
327
|
+
/**
|
|
328
|
+
* Raw Facebook Click ID query parameter without prefix from ad clicks. Ex:
|
|
329
|
+
* AbCdEfGhIjKlMnOpQrStUvWxYz1234567890
|
|
330
|
+
*/
|
|
331
|
+
fbclid?: string | null;
|
|
332
|
+
/**
|
|
333
|
+
* Facebook Browser ID parameter for identifying browsers and attributing events.
|
|
334
|
+
* Ex: fb.1.1554763741205.1098115397
|
|
335
|
+
*/
|
|
336
|
+
fbp?: string | null;
|
|
337
|
+
/**
|
|
338
|
+
* Deprecated
|
|
339
|
+
*/
|
|
340
|
+
fv?: boolean | null;
|
|
341
|
+
/**
|
|
342
|
+
* The Google Ad Source. Ex: google
|
|
343
|
+
*/
|
|
344
|
+
gad_source?: string | null;
|
|
345
|
+
/**
|
|
346
|
+
* The Google Braid ID. Ex: gbraid123
|
|
347
|
+
*/
|
|
348
|
+
gbraid?: string | null;
|
|
349
|
+
/**
|
|
350
|
+
* The Google Click ID. Ex: gclid123
|
|
351
|
+
*/
|
|
352
|
+
gclid?: string | null;
|
|
353
|
+
/**
|
|
354
|
+
* The host of the current page. Ex: example.com
|
|
355
|
+
*/
|
|
356
|
+
host?: string | null;
|
|
357
|
+
/**
|
|
358
|
+
* Whether the user is in an iframe. Ex: true
|
|
359
|
+
*/
|
|
360
|
+
iframe?: boolean | null;
|
|
361
|
+
/**
|
|
362
|
+
* The Impact Click ID reference. Ex: im_ref123
|
|
363
|
+
*/
|
|
364
|
+
im_ref?: string | null;
|
|
365
|
+
/**
|
|
366
|
+
* The IP address of the user. Ex: 127.0.0.1
|
|
367
|
+
*/
|
|
368
|
+
ip?: string | null;
|
|
369
|
+
/**
|
|
370
|
+
* The Impact Click ID. Ex: irclickid123
|
|
371
|
+
*/
|
|
372
|
+
irclickid?: string | null;
|
|
373
|
+
/**
|
|
374
|
+
* Whether we have detected that the user is a bot. This is set automatically by
|
|
375
|
+
* the Ours server primarily for events tracked through the web SDK.
|
|
376
|
+
*/
|
|
377
|
+
is_bot?: boolean | null;
|
|
378
|
+
/**
|
|
379
|
+
* The LinkedIn Click ID. Ex: li_fat_id123
|
|
380
|
+
*/
|
|
381
|
+
li_fat_id?: string | null;
|
|
382
|
+
/**
|
|
383
|
+
* The Microsoft Click ID. Ex: msclkid123
|
|
384
|
+
*/
|
|
385
|
+
msclkid?: string | null;
|
|
386
|
+
/**
|
|
387
|
+
* The NextDoor Click ID. Ex: ndclid123
|
|
388
|
+
*/
|
|
389
|
+
ndclid?: string | null;
|
|
390
|
+
/**
|
|
391
|
+
* Deprecated
|
|
392
|
+
*/
|
|
393
|
+
new_s?: boolean | null;
|
|
394
|
+
/**
|
|
395
|
+
* The Outbrain click ID, captured from the `ob_click_id` URL parameter (Outbrain
|
|
396
|
+
* `{{ob_click_id}}` macro) on the landing page. Ex: ob_click_abc123
|
|
397
|
+
*/
|
|
398
|
+
ob_click_id?: string | null;
|
|
399
|
+
/**
|
|
400
|
+
* The OpenAI Ads privacy-preserving reference, captured from the `oppref` URL
|
|
401
|
+
* parameter on landing pages (the OpenAI Pixel also stores it in a `__oppref`
|
|
402
|
+
* cookie). Sent to OpenAI Ads on Conversions API events for attribution. Ex:
|
|
403
|
+
* oppref_abc
|
|
404
|
+
*/
|
|
405
|
+
oppref?: string | null;
|
|
406
|
+
/**
|
|
407
|
+
* The name of the operating system. Ex: Windows
|
|
408
|
+
*/
|
|
409
|
+
os_name?: string | null;
|
|
410
|
+
/**
|
|
411
|
+
* The version of the operating system. Ex: 10.0
|
|
412
|
+
*/
|
|
413
|
+
os_version?: string | null;
|
|
414
|
+
/**
|
|
415
|
+
* A random set of numbers for the page load
|
|
416
|
+
*/
|
|
417
|
+
page_hash?: number | null;
|
|
418
|
+
/**
|
|
419
|
+
* The pathname of the current page. Ex: /home
|
|
420
|
+
*/
|
|
421
|
+
pathname?: string | null;
|
|
422
|
+
/**
|
|
423
|
+
* The Quora Click ID. Ex: qclid123
|
|
424
|
+
*/
|
|
425
|
+
qclid?: string | null;
|
|
426
|
+
/**
|
|
427
|
+
* The Reddit Click ID. Ex: rdt_cid123
|
|
428
|
+
*/
|
|
429
|
+
rdt_cid?: string | null;
|
|
430
|
+
/**
|
|
431
|
+
* The time the event was received by an Ours server in ISO format
|
|
432
|
+
*/
|
|
433
|
+
received_at?: string | null;
|
|
434
|
+
/**
|
|
435
|
+
* The referrer URL of the current page
|
|
436
|
+
*/
|
|
437
|
+
referrer?: string | null;
|
|
438
|
+
/**
|
|
439
|
+
* The referring domain of the current page
|
|
440
|
+
*/
|
|
441
|
+
referring_domain?: string | null;
|
|
442
|
+
/**
|
|
443
|
+
* The StackAdapt Tracking ID. Ex: sacid123
|
|
444
|
+
*/
|
|
445
|
+
sacid?: string | null;
|
|
446
|
+
/**
|
|
447
|
+
* The SnapChat Click ID. Ex: sccid123
|
|
448
|
+
*/
|
|
449
|
+
sccid?: string | null;
|
|
450
|
+
/**
|
|
451
|
+
* The height of the screen. Ex: 1080
|
|
452
|
+
*/
|
|
453
|
+
screen_height?: number | null;
|
|
454
|
+
/**
|
|
455
|
+
* The width of the screen. Ex: 1920
|
|
456
|
+
*/
|
|
457
|
+
screen_width?: number | null;
|
|
458
|
+
/**
|
|
459
|
+
* The number of sessions the user has had. Ex: 3
|
|
460
|
+
*/
|
|
461
|
+
sessionCount?: number | null;
|
|
462
|
+
/**
|
|
463
|
+
* The session ID as assigned automatically by the web SDK. This is required for
|
|
464
|
+
* session replay
|
|
465
|
+
*/
|
|
466
|
+
sid?: string | null;
|
|
467
|
+
sr?: string | null;
|
|
468
|
+
/**
|
|
469
|
+
* The title of the current page
|
|
470
|
+
*/
|
|
471
|
+
title?: string | null;
|
|
472
|
+
/**
|
|
473
|
+
* The TikTok Click ID. Ex: ttclid123
|
|
474
|
+
*/
|
|
475
|
+
ttclid?: string | null;
|
|
476
|
+
/**
|
|
477
|
+
* The Twitter Click ID. Ex: twclid123
|
|
478
|
+
*/
|
|
479
|
+
twclid?: string | null;
|
|
480
|
+
/**
|
|
481
|
+
* User agent as a full list of strings.
|
|
482
|
+
*/
|
|
483
|
+
uafvl?: string | null;
|
|
484
|
+
/**
|
|
485
|
+
* The user agent of the browser
|
|
486
|
+
*/
|
|
487
|
+
user_agent?: string | null;
|
|
488
|
+
/**
|
|
489
|
+
* The UTM Campaign. The web SDK automatically captures this from the query params.
|
|
490
|
+
*/
|
|
491
|
+
utm_campaign?: string | null;
|
|
492
|
+
/**
|
|
493
|
+
* The UTM Content. The web SDK automatically captures this from the query params.
|
|
494
|
+
*/
|
|
495
|
+
utm_content?: string | null;
|
|
496
|
+
/**
|
|
497
|
+
* The UTM Medium. The web SDK automatically captures this from the query params.
|
|
498
|
+
*/
|
|
499
|
+
utm_medium?: string | null;
|
|
500
|
+
/**
|
|
501
|
+
* The UTM Name. The web SDK automatically captures this from the query params.
|
|
502
|
+
*/
|
|
503
|
+
utm_name?: string | null;
|
|
504
|
+
/**
|
|
505
|
+
* The UTM Source. The web SDK automatically captures this from the query params.
|
|
506
|
+
*/
|
|
507
|
+
utm_source?: string | null;
|
|
508
|
+
/**
|
|
509
|
+
* The UTM Term. The web SDK automatically captures this from the query params.
|
|
510
|
+
*/
|
|
511
|
+
utm_term?: string | null;
|
|
512
|
+
/**
|
|
513
|
+
* The SDK version (e.g., web SDK or ingest-sdk-\* via generated SDK headers)
|
|
514
|
+
*/
|
|
515
|
+
version?: string | null;
|
|
516
|
+
/**
|
|
517
|
+
* The Viant (Adelphic) Click ID, captured from the `viant_click_id` URL parameter
|
|
518
|
+
* (Viant `${ADELPHIC_CLICKID}` macro). Sent as `xid` on Viant postbacks. Ex:
|
|
519
|
+
* viant_click_abc123
|
|
520
|
+
*/
|
|
521
|
+
viant_click_id?: string | null;
|
|
522
|
+
/**
|
|
523
|
+
* The Viant (Adelphic) Impression ID, captured from the `viant_impression_id` URL
|
|
524
|
+
* parameter (Viant `${ADELPHIC_IMPRESSIONID}` macro). Sent as `imp_id` on Viant
|
|
525
|
+
* postbacks for post-view attribution. Ex: viant_imp_abc123
|
|
526
|
+
*/
|
|
527
|
+
viant_impression_id?: string | null;
|
|
528
|
+
/**
|
|
529
|
+
* The WBRAID Identifier. The web SDK automatically captures this from the query
|
|
530
|
+
* params.
|
|
531
|
+
*/
|
|
532
|
+
wbraid?: string | null;
|
|
533
|
+
/**
|
|
534
|
+
* Whether the user is in a webview. Ex: true
|
|
535
|
+
*/
|
|
536
|
+
webview?: boolean | null;
|
|
537
|
+
}
|
|
538
|
+
}
|
|
200
539
|
export declare namespace TestEvents {
|
|
201
540
|
export { type TestEventListResponse as TestEventListResponse, type TestEventCreateResponse as TestEventCreateResponse, type TestEventRetrieveResponse as TestEventRetrieveResponse, type TestEventDispatchesResponse as TestEventDispatchesResponse, type TestEventListResponsesCursor as TestEventListResponsesCursor, type TestEventListParams as TestEventListParams, type TestEventCreateParams as TestEventCreateParams, };
|
|
202
541
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-events.d.ts","sourceRoot":"","sources":["../src/resources/test-events.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,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;;;;;;OAeG;IACH,IAAI,CACF,KAAK,GAAE,mBAAmB,GAAG,IAAI,GAAG,SAAc,EAClD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,4BAA4B,EAAE,qBAAqB,CAAC;IAOnE
|
|
1
|
+
{"version":3,"file":"test-events.d.ts","sourceRoot":"","sources":["../src/resources/test-events.ts"],"names":[],"mappings":"AAEA,OAAO,EA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2B,IAAI,2BAA2B,EAC/D,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH"}
|
package/resources/test-events.js
CHANGED
|
@@ -8,11 +8,11 @@ const path_1 = require("../internal/utils/path.js");
|
|
|
8
8
|
class TestEvents extends resource_1.APIResource {
|
|
9
9
|
/**
|
|
10
10
|
* List browser, server, and synthetic events captured with debug mode during the
|
|
11
|
-
* last 48 hours, newest received first. Includes live-token
|
|
12
|
-
*
|
|
11
|
+
* last 48 hours, newest received first. Includes live-token and test-token events;
|
|
12
|
+
* `isTestEvent` indicates whether a test token was used. Returns full event
|
|
13
13
|
* properties. Pass an entity id unchanged to the detail or dispatch endpoint. Use
|
|
14
14
|
* `limit` (default 25, maximum 100) and `cursor` to page through results. Requires
|
|
15
|
-
* scope: report:list-events
|
|
15
|
+
* API-key scope or current OAuth user permission: report:list-events
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* ```ts
|
|
@@ -30,12 +30,14 @@ class TestEvents extends resource_1.APIResource {
|
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
32
|
* Send a test event through the same processing your production events go through,
|
|
33
|
-
*
|
|
34
|
-
*
|
|
33
|
+
* using the source’s live token with debug capture enabled. This can deliver real
|
|
34
|
+
* data to configured destinations. The response acknowledges acceptance for
|
|
35
|
+
* processing; it does not contain processing results. The event is captured in
|
|
35
36
|
* Recent Events. Use the returned `id` with
|
|
36
37
|
* `GET /rest/v1/test-events/{id}/dispatches` to retrieve recorded dispatches.
|
|
37
38
|
* Supply `visitorId` and `distinctId` to choose the identity yourself; otherwise
|
|
38
|
-
* they are generated and returned. Requires scope
|
|
39
|
+
* they are generated and returned. Requires API-key scope or current OAuth user
|
|
40
|
+
* permission: test-event:create
|
|
39
41
|
*
|
|
40
42
|
* @example
|
|
41
43
|
* ```ts
|
|
@@ -51,7 +53,8 @@ class TestEvents extends resource_1.APIResource {
|
|
|
51
53
|
* Retrieve one browser, server, or synthetic event captured in debug mode within
|
|
52
54
|
* the last 48 hours. Use an id returned by the create or list endpoint. Events
|
|
53
55
|
* that have not arrived, expired events, and events outside your account
|
|
54
|
-
* return 404. Requires scope
|
|
56
|
+
* return 404. Requires API-key scope or current OAuth user permission:
|
|
57
|
+
* report:view-event
|
|
55
58
|
*
|
|
56
59
|
* @example
|
|
57
60
|
* ```ts
|
|
@@ -70,7 +73,7 @@ class TestEvents extends resource_1.APIResource {
|
|
|
70
73
|
* until dispatch records arrive, and may remain empty when no dispatch occurs.
|
|
71
74
|
* Results can grow as processing continues; this endpoint does not predict
|
|
72
75
|
* destinations or signal completion. Requires the report:view-dispatch scope.
|
|
73
|
-
* Requires scope: report:view-dispatch
|
|
76
|
+
* Requires API-key scope or current OAuth user permission: report:view-dispatch
|
|
74
77
|
*
|
|
75
78
|
* @example
|
|
76
79
|
* ```ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-events.js","sourceRoot":"","sources":["../src/resources/test-events.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,sDAA4E;AAE5E,oDAA8C;AAE9C,MAAa,UAAW,SAAQ,sBAAW;IACzC;;;;;;;;;;;;;;;OAeG;IACH,IAAI,CACF,QAAgD,EAAE,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,sBAAsB,EAAE,CAAA,mBAA6B,CAAA,EAAE;YACpF,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED
|
|
1
|
+
{"version":3,"file":"test-events.js","sourceRoot":"","sources":["../src/resources/test-events.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,sDAA4E;AAE5E,oDAA8C;AAE9C,MAAa,UAAW,SAAQ,sBAAW;IACzC;;;;;;;;;;;;;;;OAeG;IACH,IAAI,CACF,QAAgD,EAAE,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,sBAAsB,EAAE,CAAA,mBAA6B,CAAA,EAAE;YACpF,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;OAiBG;IACH,MAAM,CAAC,IAA2B,EAAE,OAAwB;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,sBAAsB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzE,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,wBAAwB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;IAED;;;;;;;;;;;;;;;OAeG;IACH,UAAU,CAAC,EAAU,EAAE,OAAwB;QAC7C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,wBAAwB,EAAE,aAAa,EAAE,OAAO,CAAC,CAAC;IAChF,CAAC;CACF;AAtFD,gCAsFC"}
|
|
@@ -5,11 +5,11 @@ import { path } from "../internal/utils/path.mjs";
|
|
|
5
5
|
export class TestEvents extends APIResource {
|
|
6
6
|
/**
|
|
7
7
|
* List browser, server, and synthetic events captured with debug mode during the
|
|
8
|
-
* last 48 hours, newest received first. Includes live-token
|
|
9
|
-
*
|
|
8
|
+
* last 48 hours, newest received first. Includes live-token and test-token events;
|
|
9
|
+
* `isTestEvent` indicates whether a test token was used. Returns full event
|
|
10
10
|
* properties. Pass an entity id unchanged to the detail or dispatch endpoint. Use
|
|
11
11
|
* `limit` (default 25, maximum 100) and `cursor` to page through results. Requires
|
|
12
|
-
* scope: report:list-events
|
|
12
|
+
* API-key scope or current OAuth user permission: report:list-events
|
|
13
13
|
*
|
|
14
14
|
* @example
|
|
15
15
|
* ```ts
|
|
@@ -27,12 +27,14 @@ export class TestEvents extends APIResource {
|
|
|
27
27
|
}
|
|
28
28
|
/**
|
|
29
29
|
* Send a test event through the same processing your production events go through,
|
|
30
|
-
*
|
|
31
|
-
*
|
|
30
|
+
* using the source’s live token with debug capture enabled. This can deliver real
|
|
31
|
+
* data to configured destinations. The response acknowledges acceptance for
|
|
32
|
+
* processing; it does not contain processing results. The event is captured in
|
|
32
33
|
* Recent Events. Use the returned `id` with
|
|
33
34
|
* `GET /rest/v1/test-events/{id}/dispatches` to retrieve recorded dispatches.
|
|
34
35
|
* Supply `visitorId` and `distinctId` to choose the identity yourself; otherwise
|
|
35
|
-
* they are generated and returned. Requires scope
|
|
36
|
+
* they are generated and returned. Requires API-key scope or current OAuth user
|
|
37
|
+
* permission: test-event:create
|
|
36
38
|
*
|
|
37
39
|
* @example
|
|
38
40
|
* ```ts
|
|
@@ -48,7 +50,8 @@ export class TestEvents extends APIResource {
|
|
|
48
50
|
* Retrieve one browser, server, or synthetic event captured in debug mode within
|
|
49
51
|
* the last 48 hours. Use an id returned by the create or list endpoint. Events
|
|
50
52
|
* that have not arrived, expired events, and events outside your account
|
|
51
|
-
* return 404. Requires scope
|
|
53
|
+
* return 404. Requires API-key scope or current OAuth user permission:
|
|
54
|
+
* report:view-event
|
|
52
55
|
*
|
|
53
56
|
* @example
|
|
54
57
|
* ```ts
|
|
@@ -67,7 +70,7 @@ export class TestEvents extends APIResource {
|
|
|
67
70
|
* until dispatch records arrive, and may remain empty when no dispatch occurs.
|
|
68
71
|
* Results can grow as processing continues; this endpoint does not predict
|
|
69
72
|
* destinations or signal completion. Requires the report:view-dispatch scope.
|
|
70
|
-
* Requires scope: report:view-dispatch
|
|
73
|
+
* Requires API-key scope or current OAuth user permission: report:view-dispatch
|
|
71
74
|
*
|
|
72
75
|
* @example
|
|
73
76
|
* ```ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-events.mjs","sourceRoot":"","sources":["../src/resources/test-events.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,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;;;;;;OAeG;IACH,IAAI,CACF,QAAgD,EAAE,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,sBAAsB,EAAE,CAAA,MAA6B,CAAA,EAAE;YACpF,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED
|
|
1
|
+
{"version":3,"file":"test-events.mjs","sourceRoot":"","sources":["../src/resources/test-events.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,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;;;;;;OAeG;IACH,IAAI,CACF,QAAgD,EAAE,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,sBAAsB,EAAE,CAAA,MAA6B,CAAA,EAAE;YACpF,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;OAiBG;IACH,MAAM,CAAC,IAA2B,EAAE,OAAwB;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,sBAAsB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzE,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,wBAAwB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;IAED;;;;;;;;;;;;;;;OAeG;IACH,UAAU,CAAC,EAAU,EAAE,OAAwB;QAC7C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,wBAAwB,EAAE,aAAa,EAAE,OAAO,CAAC,CAAC;IAChF,CAAC;CACF"}
|
|
@@ -5,8 +5,8 @@ export declare class TranslationWidgets extends APIResource {
|
|
|
5
5
|
/**
|
|
6
6
|
* List every translation widget configured on the account, including the domains
|
|
7
7
|
* it runs on, its appearance settings, and the languages it offers. Not paginated
|
|
8
|
-
* — widgets are capped by the account's translation widget limit. Requires
|
|
9
|
-
* translationWidget:list
|
|
8
|
+
* — widgets are capped by the account's translation widget limit. Requires API-key
|
|
9
|
+
* scope or current OAuth user permission: translationWidget:list
|
|
10
10
|
*
|
|
11
11
|
* @example
|
|
12
12
|
* ```ts
|
|
@@ -20,7 +20,8 @@ export declare class TranslationWidgets extends APIResource {
|
|
|
20
20
|
* back as `null` and the widget falls back to its built-in appearance, and
|
|
21
21
|
* omitting `enabledLanguages` offers every supported language. Returns the full
|
|
22
22
|
* widget, including its id, so it can be installed without a follow-up request.
|
|
23
|
-
* Requires scope
|
|
23
|
+
* Requires API-key scope or current OAuth user permission:
|
|
24
|
+
* translationWidget:create
|
|
24
25
|
*
|
|
25
26
|
* @example
|
|
26
27
|
* ```ts
|
|
@@ -31,7 +32,7 @@ export declare class TranslationWidgets extends APIResource {
|
|
|
31
32
|
create(body: TranslationWidgetCreateParams, options?: RequestOptions): APIPromise<TranslationWidgetCreateResponse>;
|
|
32
33
|
/**
|
|
33
34
|
* Fetch one translation widget by its id. Returns 404 when it does not exist.
|
|
34
|
-
* Requires scope: translationWidget:find
|
|
35
|
+
* Requires API-key scope or current OAuth user permission: translationWidget:find
|
|
35
36
|
*
|
|
36
37
|
* @example
|
|
37
38
|
* ```ts
|
|
@@ -44,8 +45,8 @@ export declare class TranslationWidgets extends APIResource {
|
|
|
44
45
|
retrieve(id: string, options?: RequestOptions): APIPromise<TranslationWidgetRetrieveResponse>;
|
|
45
46
|
/**
|
|
46
47
|
* Return usage totals and language, host, and page breakdowns for one translation
|
|
47
|
-
* widget over the requested date range. Requires scope
|
|
48
|
-
* report:translation-analytics
|
|
48
|
+
* widget over the requested date range. Requires API-key scope or current OAuth
|
|
49
|
+
* user permission: report:translation-analytics
|
|
49
50
|
*
|
|
50
51
|
* @example
|
|
51
52
|
* ```ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translation-widgets.d.mts","sourceRoot":"","sources":["../src/resources/translation-widgets.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAG7D,qBAAa,kBAAmB,SAAQ,WAAW;IACjD;;;;;;;;;;;OAWG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,6BAA6B,CAAC;IAIzE
|
|
1
|
+
{"version":3,"file":"translation-widgets.d.mts","sourceRoot":"","sources":["../src/resources/translation-widgets.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAG7D,qBAAa,kBAAmB,SAAQ,WAAW;IACjD;;;;;;;;;;;OAWG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,6BAA6B,CAAC;IAIzE;;;;;;;;;;;;;OAaG;IACH,MAAM,CACJ,IAAI,EAAE,6BAA6B,EACnC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,+BAA+B,CAAC;IAI9C;;;;;;;;;;;OAWG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,iCAAiC,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