@schibsted/pulse-sdk 8.0.0-rc.13 → 8.0.0-rc.14
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/dist/cjs/Tracker.js +22 -0
- package/dist/cjs/leaveTrackingTpaas/index.js +18 -6
- package/dist/cjs/tpaas-builders/builders/device.js +1 -1
- package/dist/cjs/tpaas-builders/builders/trackerBuilder.js +2 -1
- package/dist/cjs/tpaas-builders/builders.js +10 -6
- package/dist/cjs/tpaas-schemas/constants.js +59 -51
- package/dist/cjs/version.js +1 -1
- package/dist/ejs/Tracker.js +23 -1
- package/dist/ejs/leaveTrackingTpaas/index.js +18 -6
- package/dist/ejs/tpaas-builders/builders/device.js +1 -1
- package/dist/ejs/tpaas-builders/builders/trackerBuilder.js +2 -1
- package/dist/ejs/tpaas-builders/builders.js +10 -7
- package/dist/ejs/tpaas-schemas/constants.js +57 -49
- package/dist/ejs/version.js +1 -1
- package/dist/types/Tracker.d.ts +6 -1
- package/dist/types/builders/consents.d.ts +2 -2
- package/dist/types/builders/device-node.d.ts +2 -2
- package/dist/types/builders/events-anonymous-node.d.ts +4 -4
- package/dist/types/builders/events-node.d.ts +5 -5
- package/dist/types/builders/objects/objects-anonymous-node.d.ts +1 -1
- package/dist/types/builders/objects/objects-node.d.ts +1 -1
- package/dist/types/builders/origin-node.d.ts +1 -1
- package/dist/types/cis-sync/storage/pulseStorage.d.ts +8 -4
- package/dist/types/config.d.ts +1 -1
- package/dist/types/tpaas-builders/builders/device.d.ts +1 -1
- package/dist/types/tpaas-builders/builders/experiments.d.ts +1 -1
- package/dist/types/tpaas-builders/builders/navigationType.d.ts +2 -2
- package/dist/types/tpaas-builders/builders/pageviewId.d.ts +1 -1
- package/dist/types/tpaas-builders/builders/trackerBuilder.d.ts +1 -1
- package/dist/types/tpaas-builders/builders/user.d.ts +1 -1
- package/dist/types/tpaas-builders/builders.d.ts +41 -39
- package/dist/types/tpaas-builders/index.d.ts +1 -1
- package/dist/types/tpaas-builders/types.d.ts +2 -0
- package/dist/types/tpaas-schemas/constants.d.ts +182 -174
- package/dist/types/tpaas-schemas/types/ITpaasEvent.d.ts +2 -0
- package/dist/types/tpaas-schemas/types/schemas/IEngagementAudio.d.ts +0 -6
- package/dist/types/tpaas-schemas/types/schemas/IEngagementTeaser.d.ts +9 -0
- package/dist/types/tpaas-schemas/types/schemas/IEngagementTvModule.d.ts +130 -0
- package/dist/types/tpaas-schemas/types/schemas/IEngagementUIElement.d.ts +4 -0
- package/dist/types/tpaas-schemas/types/schemas/IEngagementVideo.d.ts +1 -7
- package/dist/types/tpaas-schemas/types/schemas/IImpressionForm.d.ts +2 -2
- package/dist/types/tpaas-schemas/types/schemas/IImpressionTeaser.d.ts +9 -0
- package/dist/types/tpaas-schemas/types/schemas/ILeaveArticle.d.ts +1 -1
- package/dist/types/tpaas-schemas/types/schemas/ILeaveAudioPage.d.ts +1 -1
- package/dist/types/tpaas-schemas/types/schemas/ILeaveFrontpage.d.ts +1 -1
- package/dist/types/tpaas-schemas/types/schemas/ILeaveLockedArticle.d.ts +1 -1
- package/dist/types/tpaas-schemas/types/schemas/ILeaveVideoPage.d.ts +1 -1
- package/dist/types/tpaas-schemas/types/schemas/IViewArticle.d.ts +1 -1
- package/dist/types/tpaas-schemas/types/schemas/IViewAudioPage.d.ts +1 -1
- package/dist/types/tpaas-schemas/types/schemas/IViewFrontpage.d.ts +1 -1
- package/dist/types/tpaas-schemas/types/schemas/IViewLockedArticle.d.ts +1 -1
- package/dist/types/tpaas-schemas/types/schemas/IViewVideoPage.d.ts +1 -1
- package/dist/types/tpaas-schemas/types/schemas/index.d.ts +1 -0
- package/dist/types/tpaas-schemas/types/templates/IDevice.d.ts +1 -1
- package/dist/types/tpaas-schemas/types/templates/IProvider.d.ts +1 -1
- package/dist/types/tpaas-schemas/types/templates/ITracker.d.ts +4 -0
- package/dist/types/tpaas-schemas/types.d.ts +3 -3
- package/dist/types/tracker-proxy/consts.d.ts +2 -2
- package/dist/types/version.d.ts +1 -1
- package/dist/types/wrapper/types/event.d.ts +1 -1
- package/package.json +8 -7
package/dist/cjs/Tracker.js
CHANGED
|
@@ -114,6 +114,17 @@ const anonymousEvents = {
|
|
|
114
114
|
function getAnonymousEventBuilder(name) {
|
|
115
115
|
return name in anonymousEvents ? anonymousEvents[name] : anonymousEvents.trackerEvent;
|
|
116
116
|
}
|
|
117
|
+
// This looks overkill, but a mapping feels safer than doing string operations (capitalize) with javascript
|
|
118
|
+
const mapDeployStageToTpaasStage = (deployStage) => {
|
|
119
|
+
switch (deployStage) {
|
|
120
|
+
case 'dev':
|
|
121
|
+
return 'Dev';
|
|
122
|
+
case 'pre':
|
|
123
|
+
return 'Pre';
|
|
124
|
+
case 'pro':
|
|
125
|
+
return 'Pro';
|
|
126
|
+
}
|
|
127
|
+
};
|
|
117
128
|
/**
|
|
118
129
|
* Determines if the SDK is running in a Hybrid (WebView) environment.
|
|
119
130
|
*
|
|
@@ -524,6 +535,7 @@ class Tracker {
|
|
|
524
535
|
providerGroup: this.state.provider?.group,
|
|
525
536
|
component: this.state.component,
|
|
526
537
|
componentVersion: this.state.componentVersion,
|
|
538
|
+
routingStage: mapDeployStageToTpaasStage(this.state.deployStageTpaas),
|
|
527
539
|
experiments,
|
|
528
540
|
currentPageReferrer,
|
|
529
541
|
};
|
|
@@ -608,6 +620,7 @@ class Tracker {
|
|
|
608
620
|
component: this.state.component,
|
|
609
621
|
componentVersion: this.state.componentVersion,
|
|
610
622
|
pageviewId: this.state.pageViewId,
|
|
623
|
+
routingStage: mapDeployStageToTpaasStage(this.state.deployStageTpaas),
|
|
611
624
|
currentPage,
|
|
612
625
|
currentPageReferrer,
|
|
613
626
|
experiments,
|
|
@@ -1558,6 +1571,15 @@ class Tracker {
|
|
|
1558
1571
|
const event = (0, tpaas_builders_1.buildEngagementTeaserEvent)(input, dependencies);
|
|
1559
1572
|
return this.sendTpaasEvent(event);
|
|
1560
1573
|
}
|
|
1574
|
+
/**
|
|
1575
|
+
* @param input
|
|
1576
|
+
* @category TPaaS Tracking
|
|
1577
|
+
*/
|
|
1578
|
+
async trackEngagementTvModule(input) {
|
|
1579
|
+
const dependencies = await this.prepareTpaasEvent();
|
|
1580
|
+
const event = (0, tpaas_builders_1.buildEngagementTvModuleEvent)(input, dependencies);
|
|
1581
|
+
return this.sendTpaasEvent(event);
|
|
1582
|
+
}
|
|
1561
1583
|
/**
|
|
1562
1584
|
* @param input
|
|
1563
1585
|
* @category TPaaS Tracking
|
|
@@ -57,7 +57,8 @@ let activityListeners = [];
|
|
|
57
57
|
let resizeObserver = null;
|
|
58
58
|
let throttledUpdateFn = (0, utils_1.throttle)(() => undefined, 0);
|
|
59
59
|
let durationStartTime = 0;
|
|
60
|
-
let
|
|
60
|
+
let previousActivityTime = 0;
|
|
61
|
+
let activityDurationMs = 0;
|
|
61
62
|
let currentLeaveEvent = (0, constants_1.DEFAULT_PAGE_LEAVE_EVENT)();
|
|
62
63
|
let additionalHeightBuilder;
|
|
63
64
|
/**
|
|
@@ -90,8 +91,9 @@ function addTpaasLeaveTracking({ objectElement, pageElement, schema, objectResiz
|
|
|
90
91
|
additionalHeightBuilder = heightBuilder;
|
|
91
92
|
addTpaasLeaveListeners();
|
|
92
93
|
addUpdateEventListeners(objectDomElement, pageDomElement, objectResizable);
|
|
93
|
-
|
|
94
|
+
previousActivityTime = resetTime();
|
|
94
95
|
durationStartTime = resetTime();
|
|
96
|
+
activityDurationMs = 0;
|
|
95
97
|
currentLeaveSchema = schema;
|
|
96
98
|
currentTrackMethod = trackMethod;
|
|
97
99
|
logger.debug('addLeaveTracking:after:state', currentLeaveEvent);
|
|
@@ -184,7 +186,8 @@ function removeUpdateEventListeners() {
|
|
|
184
186
|
const resetEventDefaults = () => {
|
|
185
187
|
currentLeaveEvent = (0, constants_1.DEFAULT_PAGE_LEAVE_EVENT)();
|
|
186
188
|
durationStartTime = resetTime();
|
|
187
|
-
|
|
189
|
+
previousActivityTime = resetTime();
|
|
190
|
+
activityDurationMs = 0;
|
|
188
191
|
};
|
|
189
192
|
const resetTpaasViewedContent = () => {
|
|
190
193
|
currentLeaveEvent = (0, constants_1.DEFAULT_PAGE_LEAVE_EVENT)();
|
|
@@ -223,11 +226,13 @@ function getTpaasLeaveObject() {
|
|
|
223
226
|
const endTime = Date.now();
|
|
224
227
|
// TPaaS leave event requires duration/activity to be at least 1ms, otherwise the event is rejected
|
|
225
228
|
// also, in practice, it's almost impossible to have an activity or duration of 0ms
|
|
229
|
+
// We don't call increaseActivityDuration here because it's possible to call getTpaasLeaveObject multiple times
|
|
230
|
+
// without any activity events in between, which would incorrectly increase the activity duration.
|
|
226
231
|
const durationMs = Math.max(endTime - durationStartTime, 1);
|
|
227
|
-
const
|
|
232
|
+
const lastActivityDuration = calculateActivityGap(endTime);
|
|
228
233
|
const leave = {
|
|
229
234
|
durationMs,
|
|
230
|
-
activityDurationMs,
|
|
235
|
+
activityDurationMs: Math.max(activityDurationMs + lastActivityDuration, 1),
|
|
231
236
|
...currentLeaveEvent,
|
|
232
237
|
};
|
|
233
238
|
logger.debug('trackTpaasLeave: event', leave);
|
|
@@ -314,9 +319,16 @@ function addUpdateActivityDurationListeners() {
|
|
|
314
319
|
types_1.BrowserEvents.TOUCHSTART,
|
|
315
320
|
];
|
|
316
321
|
activityListeners = addEventListeners(activityEvents, () => {
|
|
317
|
-
|
|
322
|
+
increaseActivityDuration(Date.now());
|
|
318
323
|
}, { passive: true });
|
|
319
324
|
}
|
|
325
|
+
function calculateActivityGap(activityEndTime) {
|
|
326
|
+
return Math.min(activityEndTime - previousActivityTime, constants_1.ACTIVITY_DURATION_LIMIT_MS);
|
|
327
|
+
}
|
|
328
|
+
function increaseActivityDuration(activityEndTime) {
|
|
329
|
+
activityDurationMs += calculateActivityGap(activityEndTime);
|
|
330
|
+
previousActivityTime = resetTime();
|
|
331
|
+
}
|
|
320
332
|
/*
|
|
321
333
|
Add listeners to a set of browser events.
|
|
322
334
|
*/
|
|
@@ -139,7 +139,7 @@ function getOperatingSystem(uaParser) {
|
|
|
139
139
|
if (osName.includes('windows')) {
|
|
140
140
|
return 'Windows';
|
|
141
141
|
}
|
|
142
|
-
if (osName.includes('macos')) {
|
|
142
|
+
if (osName.includes('macos') || osName.includes('mac os')) {
|
|
143
143
|
return 'Mac';
|
|
144
144
|
}
|
|
145
145
|
if (osName.includes('android')) {
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.builder = void 0;
|
|
4
|
-
const builder = (autoTrackerVersion, isHybrid, version) => {
|
|
4
|
+
const builder = ({ autoTrackerVersion, isHybrid, routingStage, version, }) => {
|
|
5
5
|
return {
|
|
6
6
|
tracker: {
|
|
7
7
|
autoTrackerVersion,
|
|
8
8
|
isAutoTracker: !!autoTrackerVersion,
|
|
9
9
|
isHybrid,
|
|
10
|
+
routingStage,
|
|
10
11
|
trackerType: 'JS',
|
|
11
12
|
version,
|
|
12
13
|
},
|
|
@@ -33,6 +33,7 @@ exports.buildEngagementAudioEvent = buildEngagementAudioEvent;
|
|
|
33
33
|
exports.buildEngagementFormEvent = buildEngagementFormEvent;
|
|
34
34
|
exports.buildEngagementOfferEvent = buildEngagementOfferEvent;
|
|
35
35
|
exports.buildEngagementTeaserEvent = buildEngagementTeaserEvent;
|
|
36
|
+
exports.buildEngagementTvModuleEvent = buildEngagementTvModuleEvent;
|
|
36
37
|
exports.buildEngagementUIElementEvent = buildEngagementUIElementEvent;
|
|
37
38
|
exports.buildEngagementVideoEvent = buildEngagementVideoEvent;
|
|
38
39
|
exports.buildEngagementVideoAdEvent = buildEngagementVideoAdEvent;
|
|
@@ -73,9 +74,9 @@ const utm_1 = require("./builders/utm");
|
|
|
73
74
|
* @private
|
|
74
75
|
*/
|
|
75
76
|
const getCommonBuildersOutput = (createdAt, dependencies, input) => {
|
|
76
|
-
const { autoTrackerVersion, isHybrid, version, environmentId, jwe, user, consents, providerId, providerName, providerGroup, component, componentVersion, pageviewId, currentPage, currentPageReferrer, } = dependencies;
|
|
77
|
+
const { autoTrackerVersion, isHybrid, version, environmentId, jwe, user, consents, providerId, providerName, providerGroup, component, componentVersion, pageviewId, currentPage, currentPageReferrer, routingStage, } = dependencies;
|
|
77
78
|
const { experiments } = input;
|
|
78
|
-
return (0, ts_deepmerge_1.merge)((0, trackerBuilder_1.builder)(autoTrackerVersion, isHybrid, version), (0, time_1.builder)(createdAt), (0, session_1.builder)(createdAt), (0, device_1.builder)(environmentId, jwe), (0, user_1.builder)(user), (0, baseEvent_1.builder)(), (0, consents_1.builder)(consents), (0, provider_1.builder)(providerId, component, componentVersion, providerName, providerGroup), (0, pageInfo_1.builder)(currentPage), (0, pageviewId_1.builder)(pageviewId), (0, utm_1.builder)(), (0, referrer_1.builder)(currentPageReferrer), (0, catalogVersion_1.builder)(), (0, experiments_1.builder)(dependencies.experiments, experiments));
|
|
79
|
+
return (0, ts_deepmerge_1.merge)((0, trackerBuilder_1.builder)({ autoTrackerVersion, isHybrid, version, routingStage }), (0, time_1.builder)(createdAt), (0, session_1.builder)(createdAt), (0, device_1.builder)(environmentId, jwe), (0, user_1.builder)(user), (0, baseEvent_1.builder)(), (0, consents_1.builder)(consents), (0, provider_1.builder)(providerId, component, componentVersion, providerName, providerGroup), (0, pageInfo_1.builder)(currentPage), (0, pageviewId_1.builder)(pageviewId), (0, utm_1.builder)(), (0, referrer_1.builder)(currentPageReferrer), (0, catalogVersion_1.builder)(), (0, experiments_1.builder)(dependencies.experiments, experiments));
|
|
79
80
|
};
|
|
80
81
|
exports.getCommonBuildersOutput = getCommonBuildersOutput;
|
|
81
82
|
// there's a bug in the ts-deepmerge library that doesn't properly resolve merging optionals with required properties
|
|
@@ -107,8 +108,8 @@ const normalizePageInput = (input) => {
|
|
|
107
108
|
// #region AnonymousView Event Builders
|
|
108
109
|
function buildAnonymousViewUIElementEvent(input, dependencies) {
|
|
109
110
|
const createdAt = new Date();
|
|
110
|
-
const { autoTrackerVersion, isHybrid, version, pageviewId, providerId, providerName, providerGroup, component, componentVersion, currentPageReferrer, } = dependencies;
|
|
111
|
-
return (0, ts_deepmerge_1.merge)(tpaas_schemas_1.AnonymousViewUIElement, (0, baseEvent_1.builder)(), (0, trackerBuilder_1.builder)(autoTrackerVersion, isHybrid, version), (0, time_1.builder)(createdAt), (0, pageviewId_1.builder)(pageviewId), (0, utm_1.builder)(), (0, anonymous_1.builder)(), (0, provider_1.builder)(providerId, component, componentVersion, providerName, providerGroup), (0, referrer_1.builder)(currentPageReferrer), (0, experiments_1.builder)(dependencies.experiments, input.experiments), (0, catalogVersion_1.builder)(), normalizePageInput(input));
|
|
111
|
+
const { autoTrackerVersion, isHybrid, version, pageviewId, providerId, providerName, providerGroup, component, componentVersion, currentPageReferrer, routingStage, } = dependencies;
|
|
112
|
+
return (0, ts_deepmerge_1.merge)(tpaas_schemas_1.AnonymousViewUIElement, (0, baseEvent_1.builder)(), (0, trackerBuilder_1.builder)({ autoTrackerVersion, isHybrid, version, routingStage }), (0, time_1.builder)(createdAt), (0, pageviewId_1.builder)(pageviewId), (0, utm_1.builder)(), (0, anonymous_1.builder)(), (0, provider_1.builder)(providerId, component, componentVersion, providerName, providerGroup), (0, referrer_1.builder)(currentPageReferrer), (0, experiments_1.builder)(dependencies.experiments, input.experiments), (0, catalogVersion_1.builder)(), normalizePageInput(input));
|
|
112
113
|
}
|
|
113
114
|
// #endregion
|
|
114
115
|
// #region View Event Builders
|
|
@@ -194,8 +195,8 @@ function buildLeaveVideoPageEvent(input, dependencies) {
|
|
|
194
195
|
}
|
|
195
196
|
function buildLeaveWeatherEvent(input, dependencies) {
|
|
196
197
|
const createdAt = new Date();
|
|
197
|
-
const { autoTrackerVersion, isHybrid, version, providerId, providerName, providerGroup, component, componentVersion, user, experiments, } = dependencies;
|
|
198
|
-
return (0, ts_deepmerge_1.merge)(normalizePageInput(input), tpaas_schemas_1.LeaveWeather, (0, time_1.builder)(createdAt), (0, trackerBuilder_1.builder)(autoTrackerVersion, isHybrid, version), (0, baseEvent_1.builder)(), (0, provider_1.builder)(providerId, component, componentVersion, providerName, providerGroup), (0, user_1.builder)(user), (0, experiments_1.builder)(experiments, input.experiments), (0, consents_1.builder)(dependencies.consents), (0, device_1.builder)(dependencies.environmentId, dependencies.jwe), (0, catalogVersion_1.builder)(), (0, navigationType_1.builder)(input.page?.navigationType), (0, pageviewId_1.builder)(dependencies.pageviewId), (0, pageInfo_1.builder)(dependencies.currentPage), (0, referrer_1.builder)(dependencies.currentPageReferrer));
|
|
198
|
+
const { autoTrackerVersion, isHybrid, version, providerId, providerName, providerGroup, component, componentVersion, user, experiments, routingStage, } = dependencies;
|
|
199
|
+
return (0, ts_deepmerge_1.merge)(normalizePageInput(input), tpaas_schemas_1.LeaveWeather, (0, time_1.builder)(createdAt), (0, trackerBuilder_1.builder)({ autoTrackerVersion, isHybrid, version, routingStage }), (0, baseEvent_1.builder)(), (0, provider_1.builder)(providerId, component, componentVersion, providerName, providerGroup), (0, user_1.builder)(user), (0, experiments_1.builder)(experiments, input.experiments), (0, consents_1.builder)(dependencies.consents), (0, device_1.builder)(dependencies.environmentId, dependencies.jwe), (0, catalogVersion_1.builder)(), (0, navigationType_1.builder)(input.page?.navigationType), (0, pageviewId_1.builder)(dependencies.pageviewId), (0, pageInfo_1.builder)(dependencies.currentPage), (0, referrer_1.builder)(dependencies.currentPageReferrer));
|
|
199
200
|
}
|
|
200
201
|
// #endregion
|
|
201
202
|
// #region Engagement Event Builders
|
|
@@ -211,6 +212,9 @@ function buildEngagementOfferEvent(input, dependencies) {
|
|
|
211
212
|
function buildEngagementTeaserEvent(input, dependencies) {
|
|
212
213
|
return (0, ts_deepmerge_1.merge)(tpaas_schemas_1.EngagementTeaser, (0, exports.getCommonBuildersOutput)(new Date(), dependencies, input), normalizePageInput(input));
|
|
213
214
|
}
|
|
215
|
+
function buildEngagementTvModuleEvent(input, dependencies) {
|
|
216
|
+
return (0, ts_deepmerge_1.merge)(tpaas_schemas_1.EngagementTvModule, (0, exports.getCommonBuildersOutput)(new Date(), dependencies, input), normalizePageInput(input));
|
|
217
|
+
}
|
|
214
218
|
function buildEngagementUIElementEvent(input, dependencies) {
|
|
215
219
|
return (0, ts_deepmerge_1.merge)(tpaas_schemas_1.EngagementUIElement, (0, exports.getCommonBuildersOutput)(new Date(), dependencies, input), normalizePageInput(input));
|
|
216
220
|
}
|
|
@@ -1,336 +1,343 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.CATALOG_VERSION = exports.UTM_MEDIUM_VALUES = exports.REGION_VALUES = exports.TRACKER_TYPE_VALUES = exports.USER_THEME_VALUES = exports.SPORT_VIEW_VALUES = exports.SPORT_SUBVIEW_VALUES = exports.SPORT_EVENT_STATUS_VALUES = exports.SPORT_EVENT_COVERAGE_VALUES = exports.STAGE_VALUES = exports.PRIMARY_AXIS_VALUES = exports.FOLD_POSITION_VALUES = exports.COLUMN_NAME_VALUES = exports.PAGE_TYPE_VALUES = exports.PHYSICAL_ACTIVITY_TYPE_VALUES = exports.UNIT_TYPE_VALUES = exports.FOOD_TYPE_VALUES = exports.ACTION_VALUES = exports.VIEWPORT_SIZE_VALUES = exports.SCREEN_ORIENTATION_VALUES = exports.OPERATING_SYSTEM_VALUES = exports.DEVICE_TYPE_VALUES = exports.CLIENT_TYPE_VALUES = exports.FORMAT_SUBTYPE_VALUES = exports.FORMAT_VALUES = exports.ACCESS_LEVEL_VALUES = exports.PERSONALIZATION_VALUES = void 0;
|
|
3
|
+
exports.ANALYTICS_VALUES = exports.ADVERTISING_VALUES = exports.ViewWeather = exports.ViewVideoPage = exports.ViewTitle = exports.ViewSportsPage = exports.ViewPage = exports.ViewLockedVideoPage = exports.ViewLockedAudioPage = exports.ViewLockedArticle = exports.ViewListing = exports.ViewLandingpage = exports.ViewHealthPage = exports.ViewFrontpage = exports.ViewError = exports.ViewAudioPage = exports.ViewArticle = exports.LeaveWeather = exports.LeaveVideoPage = exports.LeaveSportsPage = exports.LeavePage = exports.LeaveLockedVideoPage = exports.LeaveLockedAudioPage = exports.LeaveLockedArticle = exports.LeaveListing = exports.LeaveLandingpage = exports.LeaveFrontpage = exports.LeaveError = exports.LeaveAudioPage = exports.LeaveArticle = exports.ImpressionWidget = exports.ImpressionUIElement = exports.ImpressionTeaser = exports.ImpressionPlayer = exports.ImpressionOffer = exports.ImpressionHealthUIElement = exports.ImpressionForm = exports.ImpressionAdSlot = exports.EngagementWidget = exports.EngagementVideoAd = exports.EngagementVideo = exports.EngagementUIElement = exports.EngagementTvModule = exports.EngagementTeaser = exports.EngagementOffer = exports.EngagementHealthUIElement = exports.EngagementForm = exports.EngagementAudio = exports.CompletedHealthAction = exports.AnonymousViewUIElement = void 0;
|
|
4
|
+
exports.CATALOG_VERSION = exports.UTM_MEDIUM_VALUES = exports.REGION_VALUES = exports.TRACKER_TYPE_VALUES = exports.ROUTING_STAGE_VALUES = exports.USER_THEME_VALUES = exports.SPORT_VIEW_VALUES = exports.SPORT_SUBVIEW_VALUES = exports.SPORT_EVENT_STATUS_VALUES = exports.SPORT_EVENT_COVERAGE_VALUES = exports.STAGE_VALUES = exports.PRIMARY_AXIS_VALUES = exports.FOLD_POSITION_VALUES = exports.COLUMN_NAME_VALUES = exports.PAGE_TYPE_VALUES = exports.PHYSICAL_ACTIVITY_TYPE_VALUES = exports.UNIT_TYPE_VALUES = exports.FOOD_TYPE_VALUES = exports.ACTION_VALUES = exports.VIEWPORT_SIZE_VALUES = exports.SCREEN_ORIENTATION_VALUES = exports.OPERATING_SYSTEM_VALUES = exports.DEVICE_TYPE_VALUES = exports.CLIENT_TYPE_VALUES = exports.FORMAT_SUBTYPE_VALUES = exports.FORMAT_VALUES = exports.ACCESS_LEVEL_VALUES = exports.PERSONALIZATION_VALUES = exports.MARKETING_VALUES = void 0;
|
|
5
5
|
exports.AnonymousViewUIElement = {
|
|
6
6
|
eventType: 'AnonymousView',
|
|
7
7
|
isAnonymous: true,
|
|
8
8
|
object: {
|
|
9
9
|
objectType: 'UIElement',
|
|
10
10
|
},
|
|
11
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
11
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/AnonymousViewUIElement.json',
|
|
12
12
|
};
|
|
13
13
|
exports.CompletedHealthAction = {
|
|
14
14
|
eventType: 'Completed',
|
|
15
15
|
object: {
|
|
16
16
|
objectType: 'HealthAction',
|
|
17
17
|
},
|
|
18
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
18
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/CompletedHealthAction.json',
|
|
19
19
|
};
|
|
20
20
|
exports.EngagementAudio = {
|
|
21
21
|
eventType: 'Engagement',
|
|
22
22
|
object: {
|
|
23
23
|
objectType: 'Audio',
|
|
24
24
|
},
|
|
25
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
25
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/EngagementAudio.json',
|
|
26
26
|
};
|
|
27
27
|
exports.EngagementForm = {
|
|
28
28
|
eventType: 'Engagement',
|
|
29
29
|
object: {
|
|
30
30
|
objectType: 'Form',
|
|
31
31
|
},
|
|
32
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
32
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/EngagementForm.json',
|
|
33
33
|
};
|
|
34
34
|
exports.EngagementHealthUIElement = {
|
|
35
35
|
eventType: 'Engagement',
|
|
36
36
|
object: {
|
|
37
37
|
objectType: 'HealthUIElement',
|
|
38
38
|
},
|
|
39
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
39
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/EngagementHealthUIElement.json',
|
|
40
40
|
};
|
|
41
41
|
exports.EngagementOffer = {
|
|
42
42
|
eventType: 'Engagement',
|
|
43
43
|
object: {
|
|
44
44
|
objectType: 'Offer',
|
|
45
45
|
},
|
|
46
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
46
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/EngagementOffer.json',
|
|
47
47
|
};
|
|
48
48
|
exports.EngagementTeaser = {
|
|
49
49
|
eventType: 'Engagement',
|
|
50
50
|
object: {
|
|
51
51
|
objectType: 'Teaser',
|
|
52
52
|
},
|
|
53
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
53
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/EngagementTeaser.json',
|
|
54
|
+
};
|
|
55
|
+
exports.EngagementTvModule = {
|
|
56
|
+
eventType: 'Engagement',
|
|
57
|
+
object: {
|
|
58
|
+
objectType: 'TvModule',
|
|
59
|
+
},
|
|
60
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/EngagementTvModule.json',
|
|
54
61
|
};
|
|
55
62
|
exports.EngagementUIElement = {
|
|
56
63
|
eventType: 'Engagement',
|
|
57
64
|
object: {
|
|
58
65
|
objectType: 'UIElement',
|
|
59
66
|
},
|
|
60
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
67
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/EngagementUIElement.json',
|
|
61
68
|
};
|
|
62
69
|
exports.EngagementVideo = {
|
|
63
70
|
eventType: 'Engagement',
|
|
64
71
|
object: {
|
|
65
72
|
objectType: 'Video',
|
|
66
73
|
},
|
|
67
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
74
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/EngagementVideo.json',
|
|
68
75
|
};
|
|
69
76
|
exports.EngagementVideoAd = {
|
|
70
77
|
eventType: 'Engagement',
|
|
71
78
|
object: {
|
|
72
79
|
objectType: 'VideoAd',
|
|
73
80
|
},
|
|
74
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
81
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/EngagementVideoAd.json',
|
|
75
82
|
};
|
|
76
83
|
exports.EngagementWidget = {
|
|
77
84
|
eventType: 'Engagement',
|
|
78
85
|
object: {
|
|
79
86
|
objectType: 'Widget',
|
|
80
87
|
},
|
|
81
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
88
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/EngagementWidget.json',
|
|
82
89
|
};
|
|
83
90
|
exports.ImpressionAdSlot = {
|
|
84
91
|
eventType: 'Impression',
|
|
85
92
|
object: {
|
|
86
93
|
objectType: 'AdSlot',
|
|
87
94
|
},
|
|
88
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
95
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/ImpressionAdSlot.json',
|
|
89
96
|
};
|
|
90
97
|
exports.ImpressionForm = {
|
|
91
98
|
eventType: 'Impression',
|
|
92
99
|
object: {
|
|
93
100
|
objectType: 'Form',
|
|
94
101
|
},
|
|
95
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
102
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/ImpressionForm.json',
|
|
96
103
|
};
|
|
97
104
|
exports.ImpressionHealthUIElement = {
|
|
98
105
|
eventType: 'Impression',
|
|
99
106
|
object: {
|
|
100
107
|
objectType: 'HealthUIElement',
|
|
101
108
|
},
|
|
102
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
109
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/ImpressionHealthUIElement.json',
|
|
103
110
|
};
|
|
104
111
|
exports.ImpressionOffer = {
|
|
105
112
|
eventType: 'Impression',
|
|
106
113
|
object: {
|
|
107
114
|
objectType: 'Offer',
|
|
108
115
|
},
|
|
109
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
116
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/ImpressionOffer.json',
|
|
110
117
|
};
|
|
111
118
|
exports.ImpressionPlayer = {
|
|
112
119
|
eventType: 'Impression',
|
|
113
120
|
object: {
|
|
114
121
|
objectType: 'Player',
|
|
115
122
|
},
|
|
116
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
123
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/ImpressionPlayer.json',
|
|
117
124
|
};
|
|
118
125
|
exports.ImpressionTeaser = {
|
|
119
126
|
eventType: 'Impression',
|
|
120
127
|
object: {
|
|
121
128
|
objectType: 'Teaser',
|
|
122
129
|
},
|
|
123
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
130
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/ImpressionTeaser.json',
|
|
124
131
|
};
|
|
125
132
|
exports.ImpressionUIElement = {
|
|
126
133
|
eventType: 'Impression',
|
|
127
134
|
object: {
|
|
128
135
|
objectType: 'UIElement',
|
|
129
136
|
},
|
|
130
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
137
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/ImpressionUIElement.json',
|
|
131
138
|
};
|
|
132
139
|
exports.ImpressionWidget = {
|
|
133
140
|
eventType: 'Impression',
|
|
134
141
|
object: {
|
|
135
142
|
objectType: 'Widget',
|
|
136
143
|
},
|
|
137
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
144
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/ImpressionWidget.json',
|
|
138
145
|
};
|
|
139
146
|
exports.LeaveArticle = {
|
|
140
147
|
eventType: 'Leave',
|
|
141
148
|
object: {
|
|
142
149
|
objectType: 'Article',
|
|
143
150
|
},
|
|
144
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
151
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/LeaveArticle.json',
|
|
145
152
|
};
|
|
146
153
|
exports.LeaveAudioPage = {
|
|
147
154
|
eventType: 'Leave',
|
|
148
155
|
object: {
|
|
149
156
|
objectType: 'AudioPage',
|
|
150
157
|
},
|
|
151
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
158
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/LeaveAudioPage.json',
|
|
152
159
|
};
|
|
153
160
|
exports.LeaveError = {
|
|
154
161
|
eventType: 'Leave',
|
|
155
162
|
object: {
|
|
156
163
|
objectType: 'Error',
|
|
157
164
|
},
|
|
158
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
165
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/LeaveError.json',
|
|
159
166
|
};
|
|
160
167
|
exports.LeaveFrontpage = {
|
|
161
168
|
eventType: 'Leave',
|
|
162
169
|
object: {
|
|
163
170
|
objectType: 'Frontpage',
|
|
164
171
|
},
|
|
165
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
172
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/LeaveFrontpage.json',
|
|
166
173
|
};
|
|
167
174
|
exports.LeaveLandingpage = {
|
|
168
175
|
eventType: 'Leave',
|
|
169
176
|
object: {
|
|
170
177
|
objectType: 'Landingpage',
|
|
171
178
|
},
|
|
172
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
179
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/LeaveLandingpage.json',
|
|
173
180
|
};
|
|
174
181
|
exports.LeaveListing = {
|
|
175
182
|
eventType: 'Leave',
|
|
176
183
|
object: {
|
|
177
184
|
objectType: 'Listing',
|
|
178
185
|
},
|
|
179
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
186
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/LeaveListing.json',
|
|
180
187
|
};
|
|
181
188
|
exports.LeaveLockedArticle = {
|
|
182
189
|
eventType: 'Leave',
|
|
183
190
|
object: {
|
|
184
191
|
objectType: 'LockedArticle',
|
|
185
192
|
},
|
|
186
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
193
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/LeaveLockedArticle.json',
|
|
187
194
|
};
|
|
188
195
|
exports.LeaveLockedAudioPage = {
|
|
189
196
|
eventType: 'Leave',
|
|
190
197
|
object: {
|
|
191
198
|
objectType: 'LockedAudioPage',
|
|
192
199
|
},
|
|
193
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
200
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/LeaveLockedAudioPage.json',
|
|
194
201
|
};
|
|
195
202
|
exports.LeaveLockedVideoPage = {
|
|
196
203
|
eventType: 'Leave',
|
|
197
204
|
object: {
|
|
198
205
|
objectType: 'LockedVideoPage',
|
|
199
206
|
},
|
|
200
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
207
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/LeaveLockedVideoPage.json',
|
|
201
208
|
};
|
|
202
209
|
exports.LeavePage = {
|
|
203
210
|
eventType: 'Leave',
|
|
204
211
|
object: {
|
|
205
212
|
objectType: 'Page',
|
|
206
213
|
},
|
|
207
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
214
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/LeavePage.json',
|
|
208
215
|
};
|
|
209
216
|
exports.LeaveSportsPage = {
|
|
210
217
|
eventType: 'Leave',
|
|
211
218
|
object: {
|
|
212
219
|
objectType: 'SportsPage',
|
|
213
220
|
},
|
|
214
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
221
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/LeaveSportsPage.json',
|
|
215
222
|
};
|
|
216
223
|
exports.LeaveVideoPage = {
|
|
217
224
|
eventType: 'Leave',
|
|
218
225
|
object: {
|
|
219
226
|
objectType: 'VideoPage',
|
|
220
227
|
},
|
|
221
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
228
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/LeaveVideoPage.json',
|
|
222
229
|
};
|
|
223
230
|
exports.LeaveWeather = {
|
|
224
231
|
eventType: 'Leave',
|
|
225
232
|
object: {
|
|
226
233
|
objectType: 'Weather',
|
|
227
234
|
},
|
|
228
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
235
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/LeaveWeather.json',
|
|
229
236
|
};
|
|
230
237
|
exports.ViewArticle = {
|
|
231
238
|
eventType: 'View',
|
|
232
239
|
object: {
|
|
233
240
|
objectType: 'Article',
|
|
234
241
|
},
|
|
235
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
242
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/ViewArticle.json',
|
|
236
243
|
};
|
|
237
244
|
exports.ViewAudioPage = {
|
|
238
245
|
eventType: 'View',
|
|
239
246
|
object: {
|
|
240
247
|
objectType: 'AudioPage',
|
|
241
248
|
},
|
|
242
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
249
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/ViewAudioPage.json',
|
|
243
250
|
};
|
|
244
251
|
exports.ViewError = {
|
|
245
252
|
eventType: 'View',
|
|
246
253
|
object: {
|
|
247
254
|
objectType: 'Error',
|
|
248
255
|
},
|
|
249
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
256
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/ViewError.json',
|
|
250
257
|
};
|
|
251
258
|
exports.ViewFrontpage = {
|
|
252
259
|
eventType: 'View',
|
|
253
260
|
object: {
|
|
254
261
|
objectType: 'Frontpage',
|
|
255
262
|
},
|
|
256
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
263
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/ViewFrontpage.json',
|
|
257
264
|
};
|
|
258
265
|
exports.ViewHealthPage = {
|
|
259
266
|
eventType: 'View',
|
|
260
267
|
object: {
|
|
261
268
|
objectType: 'HealthPage',
|
|
262
269
|
},
|
|
263
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
270
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/ViewHealthPage.json',
|
|
264
271
|
};
|
|
265
272
|
exports.ViewLandingpage = {
|
|
266
273
|
eventType: 'View',
|
|
267
274
|
object: {
|
|
268
275
|
objectType: 'Landingpage',
|
|
269
276
|
},
|
|
270
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
277
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/ViewLandingpage.json',
|
|
271
278
|
};
|
|
272
279
|
exports.ViewListing = {
|
|
273
280
|
eventType: 'View',
|
|
274
281
|
object: {
|
|
275
282
|
objectType: 'Listing',
|
|
276
283
|
},
|
|
277
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
284
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/ViewListing.json',
|
|
278
285
|
};
|
|
279
286
|
exports.ViewLockedArticle = {
|
|
280
287
|
eventType: 'View',
|
|
281
288
|
object: {
|
|
282
289
|
objectType: 'LockedArticle',
|
|
283
290
|
},
|
|
284
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
291
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/ViewLockedArticle.json',
|
|
285
292
|
};
|
|
286
293
|
exports.ViewLockedAudioPage = {
|
|
287
294
|
eventType: 'View',
|
|
288
295
|
object: {
|
|
289
296
|
objectType: 'LockedAudioPage',
|
|
290
297
|
},
|
|
291
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
298
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/ViewLockedAudioPage.json',
|
|
292
299
|
};
|
|
293
300
|
exports.ViewLockedVideoPage = {
|
|
294
301
|
eventType: 'View',
|
|
295
302
|
object: {
|
|
296
303
|
objectType: 'LockedVideoPage',
|
|
297
304
|
},
|
|
298
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
305
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/ViewLockedVideoPage.json',
|
|
299
306
|
};
|
|
300
307
|
exports.ViewPage = {
|
|
301
308
|
eventType: 'View',
|
|
302
309
|
object: {
|
|
303
310
|
objectType: 'Page',
|
|
304
311
|
},
|
|
305
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
312
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/ViewPage.json',
|
|
306
313
|
};
|
|
307
314
|
exports.ViewSportsPage = {
|
|
308
315
|
eventType: 'View',
|
|
309
316
|
object: {
|
|
310
317
|
objectType: 'SportsPage',
|
|
311
318
|
},
|
|
312
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
319
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/ViewSportsPage.json',
|
|
313
320
|
};
|
|
314
321
|
exports.ViewTitle = {
|
|
315
322
|
eventType: 'View',
|
|
316
323
|
object: {
|
|
317
324
|
objectType: 'Title',
|
|
318
325
|
},
|
|
319
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
326
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/ViewTitle.json',
|
|
320
327
|
};
|
|
321
328
|
exports.ViewVideoPage = {
|
|
322
329
|
eventType: 'View',
|
|
323
330
|
object: {
|
|
324
331
|
objectType: 'VideoPage',
|
|
325
332
|
},
|
|
326
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
333
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/ViewVideoPage.json',
|
|
327
334
|
};
|
|
328
335
|
exports.ViewWeather = {
|
|
329
336
|
eventType: 'View',
|
|
330
337
|
object: {
|
|
331
338
|
objectType: 'Weather',
|
|
332
339
|
},
|
|
333
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
340
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/ViewWeather.json',
|
|
334
341
|
};
|
|
335
342
|
exports.ADVERTISING_VALUES = ['Accepted', 'Rejected', 'Unknown'];
|
|
336
343
|
exports.ANALYTICS_VALUES = ['Accepted', 'Rejected', 'Unknown'];
|
|
@@ -391,7 +398,7 @@ exports.PAGE_TYPE_VALUES = [
|
|
|
391
398
|
exports.COLUMN_NAME_VALUES = ['main', 'aside'];
|
|
392
399
|
exports.FOLD_POSITION_VALUES = ['Above', 'Below', 'Unknown'];
|
|
393
400
|
exports.PRIMARY_AXIS_VALUES = ['Horizontal', 'Vertical'];
|
|
394
|
-
exports.STAGE_VALUES = ['Dev', '
|
|
401
|
+
exports.STAGE_VALUES = ['Dev', 'Pre', 'Pro'];
|
|
395
402
|
exports.SPORT_EVENT_COVERAGE_VALUES = ['Manual', 'SemiAutomatic', 'Automatic'];
|
|
396
403
|
exports.SPORT_EVENT_STATUS_VALUES = [
|
|
397
404
|
'NotStarted',
|
|
@@ -441,6 +448,7 @@ exports.SPORT_VIEW_VALUES = [
|
|
|
441
448
|
'Studio',
|
|
442
449
|
];
|
|
443
450
|
exports.USER_THEME_VALUES = ['Light', 'Dark', 'System', 'Other'];
|
|
451
|
+
exports.ROUTING_STAGE_VALUES = ['Dev', 'Pre', 'Pro'];
|
|
444
452
|
exports.TRACKER_TYPE_VALUES = ['JS', 'IOS', 'Android', 'Backend'];
|
|
445
453
|
exports.REGION_VALUES = ['Norway', 'Sweden', 'Finland'];
|
|
446
454
|
exports.UTM_MEDIUM_VALUES = [
|
|
@@ -454,4 +462,4 @@ exports.UTM_MEDIUM_VALUES = [
|
|
|
454
462
|
'Video',
|
|
455
463
|
'Internal',
|
|
456
464
|
];
|
|
457
|
-
exports.CATALOG_VERSION = '2.
|
|
465
|
+
exports.CATALOG_VERSION = '2.10.0';
|
package/dist/cjs/version.js
CHANGED