@schibsted/pulse-sdk 8.0.0-rc.3 → 8.0.0-rc.5
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 +14 -79
- package/dist/cjs/Tracker.test-d.js +2 -0
- package/dist/cjs/builders/actor.js +3 -3
- package/dist/cjs/identity/actor.js +18 -6
- package/dist/cjs/tracker-proxy/consts.js +0 -7
- package/dist/cjs/version.js +1 -1
- package/dist/ejs/Tracker.js +16 -81
- package/dist/ejs/Tracker.test-d.js +2 -0
- package/dist/ejs/builders/actor.js +2 -2
- package/dist/ejs/identity/actor.js +19 -7
- package/dist/ejs/tracker-proxy/consts.js +0 -7
- package/dist/ejs/version.js +1 -1
- package/dist/types/Tracker.d.ts +2 -39
- package/dist/types/builders/actor.d.ts +3 -2
- package/dist/types/identity/actor.d.ts +2 -2
- package/dist/types/identity/cis.d.ts +1 -1
- package/dist/types/tracker-proxy/consts.d.ts +1 -1
- package/dist/types/version.d.ts +1 -1
- package/node_modules/@schibsted/tpaas-event-builder/dist/cjs/builders/catalogVersion.js +9 -0
- package/node_modules/@schibsted/tpaas-event-builder/dist/cjs/builders.js +63 -78
- package/node_modules/@schibsted/tpaas-event-builder/dist/ejs/builders/catalogVersion.js +6 -0
- package/node_modules/@schibsted/tpaas-event-builder/dist/ejs/builders.js +64 -72
- package/node_modules/@schibsted/tpaas-event-builder/dist/index.d.ts +736 -1058
- package/node_modules/@schibsted/tpaas-event-builder/package.json +1 -1
- package/node_modules/@schibsted/tpaas-schemas/dist/cjs/constants.js +80 -107
- package/node_modules/@schibsted/tpaas-schemas/dist/ejs/constants.js +78 -105
- package/node_modules/@schibsted/tpaas-schemas/dist/index.d.ts +850 -1214
- package/node_modules/@schibsted/tpaas-schemas/package.json +1 -1
- package/package.json +3 -3
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"dist"
|
|
10
10
|
],
|
|
11
11
|
"scripts": {
|
|
12
|
-
"build": "pnpm run build:
|
|
12
|
+
"build": "pnpm run build:cjs && pnpm run build:ejs && pnpm run build:generate:types",
|
|
13
13
|
"build:cjs": "tsc",
|
|
14
14
|
"build:ejs": "tsc --project tsconfig.ejs.json",
|
|
15
15
|
"build:clean": "rm -fr dist",
|
|
@@ -1,119 +1,119 @@
|
|
|
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.PAGE_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.CONTENT_TYPE_VALUES = exports.CATEGORY_VALUES = exports.ACCESS_LEVEL_VALUES = exports.PERSONALIZATION_VALUES = exports.MARKETING_VALUES = exports.ANALYTICS_VALUES = exports.ADVERTISING_VALUES = exports.ViewWeather = exports.ViewVideoPage = exports.
|
|
3
|
+
exports.ViewPage = exports.ViewLockedVideoPage = exports.ViewLockedAudioPage = exports.ViewLockedArticle = exports.ViewListing = exports.ViewLandingpage = exports.ViewHealthPage = exports.ViewFrontpage = exports.ViewError = exports.ViewAudioPage = exports.ViewArticle = exports.PurchaseSubscription = 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.LaunchApp = exports.InternalProbe = exports.InternalAccessDecision = exports.ImpressionWidget = exports.ImpressionUIElement = exports.ImpressionTeaser = exports.ImpressionPlayer = exports.ImpressionOffer = exports.ImpressionNotification = exports.ImpressionHealthUIElement = exports.ImpressionForm = exports.EngagementWidget = exports.EngagementVideoAd = exports.EngagementVideo = exports.EngagementUIElement = exports.EngagementTeaser = exports.EngagementOffer = exports.EngagementNotification = exports.EngagementHealthUIElement = exports.EngagementForm = exports.EngagementAudio = exports.CompletedHealthAction = exports.ChangePushNotificationSettings = exports.CancelSubscription = exports.AnonymousViewUIElement = void 0;
|
|
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.COLUMN_NAME_VALUES = exports.PAGE_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.CONTENT_TYPE_VALUES = exports.CATEGORY_VALUES = exports.ACCESS_LEVEL_VALUES = exports.PERSONALIZATION_VALUES = exports.MARKETING_VALUES = exports.ANALYTICS_VALUES = exports.ADVERTISING_VALUES = exports.ViewWeather = exports.ViewVideoPage = exports.ViewTitle = exports.ViewSportsPage = 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.6.0/schemas/AnonymousViewUIElement.json',
|
|
12
12
|
};
|
|
13
13
|
exports.CancelSubscription = {
|
|
14
14
|
eventType: 'Cancel',
|
|
15
15
|
object: {
|
|
16
16
|
objectType: 'Subscription',
|
|
17
17
|
},
|
|
18
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
18
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/CancelSubscription.json',
|
|
19
|
+
};
|
|
20
|
+
exports.ChangePushNotificationSettings = {
|
|
21
|
+
eventType: 'Change',
|
|
22
|
+
object: {
|
|
23
|
+
objectType: 'PushNotificationSettings',
|
|
24
|
+
},
|
|
25
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ChangePushNotificationSettings.json',
|
|
19
26
|
};
|
|
20
27
|
exports.CompletedHealthAction = {
|
|
21
28
|
eventType: 'Completed',
|
|
22
29
|
object: {
|
|
23
30
|
objectType: 'HealthAction',
|
|
24
31
|
},
|
|
25
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
32
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/CompletedHealthAction.json',
|
|
26
33
|
};
|
|
27
34
|
exports.EngagementAudio = {
|
|
28
35
|
eventType: 'Engagement',
|
|
29
36
|
object: {
|
|
30
37
|
objectType: 'Audio',
|
|
31
38
|
},
|
|
32
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
39
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/EngagementAudio.json',
|
|
33
40
|
};
|
|
34
41
|
exports.EngagementForm = {
|
|
35
42
|
eventType: 'Engagement',
|
|
36
43
|
object: {
|
|
37
44
|
objectType: 'Form',
|
|
38
45
|
},
|
|
39
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
46
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/EngagementForm.json',
|
|
40
47
|
};
|
|
41
48
|
exports.EngagementHealthUIElement = {
|
|
42
49
|
eventType: 'Engagement',
|
|
43
50
|
object: {
|
|
44
51
|
objectType: 'HealthUIElement',
|
|
45
52
|
},
|
|
46
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
53
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/EngagementHealthUIElement.json',
|
|
47
54
|
};
|
|
48
55
|
exports.EngagementNotification = {
|
|
49
56
|
eventType: 'Engagement',
|
|
50
57
|
object: {
|
|
51
58
|
objectType: 'Notification',
|
|
52
59
|
},
|
|
53
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
60
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/EngagementNotification.json',
|
|
54
61
|
};
|
|
55
62
|
exports.EngagementOffer = {
|
|
56
63
|
eventType: 'Engagement',
|
|
57
64
|
object: {
|
|
58
65
|
objectType: 'Offer',
|
|
59
66
|
},
|
|
60
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
67
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/EngagementOffer.json',
|
|
61
68
|
};
|
|
62
69
|
exports.EngagementTeaser = {
|
|
63
70
|
eventType: 'Engagement',
|
|
64
71
|
object: {
|
|
65
72
|
objectType: 'Teaser',
|
|
66
73
|
},
|
|
67
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
74
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/EngagementTeaser.json',
|
|
68
75
|
};
|
|
69
76
|
exports.EngagementUIElement = {
|
|
70
77
|
eventType: 'Engagement',
|
|
71
78
|
object: {
|
|
72
79
|
objectType: 'UIElement',
|
|
73
80
|
},
|
|
74
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
81
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/EngagementUIElement.json',
|
|
75
82
|
};
|
|
76
83
|
exports.EngagementVideo = {
|
|
77
84
|
eventType: 'Engagement',
|
|
78
85
|
object: {
|
|
79
86
|
objectType: 'Video',
|
|
80
87
|
},
|
|
81
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
88
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/EngagementVideo.json',
|
|
82
89
|
};
|
|
83
90
|
exports.EngagementVideoAd = {
|
|
84
91
|
eventType: 'Engagement',
|
|
85
92
|
object: {
|
|
86
93
|
objectType: 'VideoAd',
|
|
87
94
|
},
|
|
88
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
95
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/EngagementVideoAd.json',
|
|
89
96
|
};
|
|
90
97
|
exports.EngagementWidget = {
|
|
91
98
|
eventType: 'Engagement',
|
|
92
99
|
object: {
|
|
93
100
|
objectType: 'Widget',
|
|
94
101
|
},
|
|
95
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
96
|
-
};
|
|
97
|
-
exports.ImpressionAdSlot = {
|
|
98
|
-
eventType: 'Impression',
|
|
99
|
-
object: {
|
|
100
|
-
objectType: 'AdSlot',
|
|
101
|
-
},
|
|
102
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.4.2/schemas/ImpressionAdSlot.json',
|
|
102
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/EngagementWidget.json',
|
|
103
103
|
};
|
|
104
104
|
exports.ImpressionForm = {
|
|
105
105
|
eventType: 'Impression',
|
|
106
106
|
object: {
|
|
107
107
|
objectType: 'Form',
|
|
108
108
|
},
|
|
109
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
109
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ImpressionForm.json',
|
|
110
110
|
};
|
|
111
111
|
exports.ImpressionHealthUIElement = {
|
|
112
112
|
eventType: 'Impression',
|
|
113
113
|
object: {
|
|
114
114
|
objectType: 'HealthUIElement',
|
|
115
115
|
},
|
|
116
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
116
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ImpressionHealthUIElement.json',
|
|
117
117
|
};
|
|
118
118
|
exports.ImpressionNotification = {
|
|
119
119
|
eventType: 'Impression',
|
|
@@ -121,294 +121,266 @@ exports.ImpressionNotification = {
|
|
|
121
121
|
name: 'PushNotification',
|
|
122
122
|
objectType: 'Notification',
|
|
123
123
|
},
|
|
124
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
124
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ImpressionNotification.json',
|
|
125
125
|
};
|
|
126
126
|
exports.ImpressionOffer = {
|
|
127
127
|
eventType: 'Impression',
|
|
128
128
|
object: {
|
|
129
129
|
objectType: 'Offer',
|
|
130
130
|
},
|
|
131
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
131
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ImpressionOffer.json',
|
|
132
132
|
};
|
|
133
133
|
exports.ImpressionPlayer = {
|
|
134
134
|
eventType: 'Impression',
|
|
135
135
|
object: {
|
|
136
136
|
objectType: 'Player',
|
|
137
137
|
},
|
|
138
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
138
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ImpressionPlayer.json',
|
|
139
139
|
};
|
|
140
140
|
exports.ImpressionTeaser = {
|
|
141
141
|
eventType: 'Impression',
|
|
142
142
|
object: {
|
|
143
143
|
objectType: 'Teaser',
|
|
144
144
|
},
|
|
145
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
145
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ImpressionTeaser.json',
|
|
146
146
|
};
|
|
147
147
|
exports.ImpressionUIElement = {
|
|
148
148
|
eventType: 'Impression',
|
|
149
149
|
object: {
|
|
150
150
|
objectType: 'UIElement',
|
|
151
151
|
},
|
|
152
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
152
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ImpressionUIElement.json',
|
|
153
153
|
};
|
|
154
154
|
exports.ImpressionWidget = {
|
|
155
155
|
eventType: 'Impression',
|
|
156
156
|
object: {
|
|
157
157
|
objectType: 'Widget',
|
|
158
158
|
},
|
|
159
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
159
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ImpressionWidget.json',
|
|
160
|
+
};
|
|
161
|
+
exports.InternalAccessDecision = {
|
|
162
|
+
eventType: 'Internal',
|
|
163
|
+
object: {
|
|
164
|
+
objectType: 'AccessDecision',
|
|
165
|
+
},
|
|
166
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/InternalAccessDecision.json',
|
|
160
167
|
};
|
|
161
168
|
exports.InternalProbe = {
|
|
162
169
|
eventType: 'Internal',
|
|
163
170
|
object: {
|
|
164
171
|
objectType: 'Probe',
|
|
165
172
|
},
|
|
166
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
173
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/InternalProbe.json',
|
|
174
|
+
};
|
|
175
|
+
exports.LaunchApp = {
|
|
176
|
+
eventType: 'Launch',
|
|
177
|
+
object: {
|
|
178
|
+
objectType: 'App',
|
|
179
|
+
},
|
|
180
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LaunchApp.json',
|
|
167
181
|
};
|
|
168
182
|
exports.LeaveArticle = {
|
|
169
183
|
eventType: 'Leave',
|
|
170
184
|
object: {
|
|
171
185
|
objectType: 'Article',
|
|
172
186
|
},
|
|
173
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
187
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LeaveArticle.json',
|
|
174
188
|
};
|
|
175
189
|
exports.LeaveAudioPage = {
|
|
176
190
|
eventType: 'Leave',
|
|
177
191
|
object: {
|
|
178
192
|
objectType: 'AudioPage',
|
|
179
193
|
},
|
|
180
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
194
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LeaveAudioPage.json',
|
|
181
195
|
};
|
|
182
196
|
exports.LeaveError = {
|
|
183
197
|
eventType: 'Leave',
|
|
184
198
|
object: {
|
|
185
199
|
objectType: 'Error',
|
|
186
200
|
},
|
|
187
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
201
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LeaveError.json',
|
|
188
202
|
};
|
|
189
203
|
exports.LeaveFrontpage = {
|
|
190
204
|
eventType: 'Leave',
|
|
191
205
|
object: {
|
|
192
206
|
objectType: 'Frontpage',
|
|
193
207
|
},
|
|
194
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
208
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LeaveFrontpage.json',
|
|
195
209
|
};
|
|
196
210
|
exports.LeaveLandingpage = {
|
|
197
211
|
eventType: 'Leave',
|
|
198
212
|
object: {
|
|
199
213
|
objectType: 'Landingpage',
|
|
200
214
|
},
|
|
201
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
215
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LeaveLandingpage.json',
|
|
202
216
|
};
|
|
203
217
|
exports.LeaveListing = {
|
|
204
218
|
eventType: 'Leave',
|
|
205
219
|
object: {
|
|
206
220
|
objectType: 'Listing',
|
|
207
221
|
},
|
|
208
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
222
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LeaveListing.json',
|
|
209
223
|
};
|
|
210
224
|
exports.LeaveLockedArticle = {
|
|
211
225
|
eventType: 'Leave',
|
|
212
226
|
object: {
|
|
213
227
|
objectType: 'LockedArticle',
|
|
214
228
|
},
|
|
215
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
216
|
-
};
|
|
217
|
-
exports.LeaveLockedAudio = {
|
|
218
|
-
eventType: 'Leave',
|
|
219
|
-
object: {
|
|
220
|
-
objectType: 'LockedAudio',
|
|
221
|
-
},
|
|
222
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.4.2/schemas/LeaveLockedAudio.json',
|
|
229
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LeaveLockedArticle.json',
|
|
223
230
|
};
|
|
224
231
|
exports.LeaveLockedAudioPage = {
|
|
225
232
|
eventType: 'Leave',
|
|
226
233
|
object: {
|
|
227
234
|
objectType: 'LockedAudioPage',
|
|
228
235
|
},
|
|
229
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
230
|
-
};
|
|
231
|
-
exports.LeaveLockedVideo = {
|
|
232
|
-
eventType: 'Leave',
|
|
233
|
-
object: {
|
|
234
|
-
objectType: 'LockedVideo',
|
|
235
|
-
},
|
|
236
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.4.2/schemas/LeaveLockedVideo.json',
|
|
236
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LeaveLockedAudioPage.json',
|
|
237
237
|
};
|
|
238
238
|
exports.LeaveLockedVideoPage = {
|
|
239
239
|
eventType: 'Leave',
|
|
240
240
|
object: {
|
|
241
241
|
objectType: 'LockedVideoPage',
|
|
242
242
|
},
|
|
243
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
243
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LeaveLockedVideoPage.json',
|
|
244
244
|
};
|
|
245
245
|
exports.LeavePage = {
|
|
246
246
|
eventType: 'Leave',
|
|
247
247
|
object: {
|
|
248
248
|
objectType: 'Page',
|
|
249
249
|
},
|
|
250
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
250
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LeavePage.json',
|
|
251
251
|
};
|
|
252
252
|
exports.LeaveSportsPage = {
|
|
253
253
|
eventType: 'Leave',
|
|
254
254
|
object: {
|
|
255
255
|
objectType: 'SportsPage',
|
|
256
256
|
},
|
|
257
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
257
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LeaveSportsPage.json',
|
|
258
258
|
};
|
|
259
259
|
exports.LeaveVideoPage = {
|
|
260
260
|
eventType: 'Leave',
|
|
261
261
|
object: {
|
|
262
262
|
objectType: 'VideoPage',
|
|
263
263
|
},
|
|
264
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
264
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LeaveVideoPage.json',
|
|
265
265
|
};
|
|
266
266
|
exports.LeaveWeather = {
|
|
267
267
|
eventType: 'Leave',
|
|
268
268
|
object: {
|
|
269
269
|
objectType: 'Weather',
|
|
270
270
|
},
|
|
271
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
271
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LeaveWeather.json',
|
|
272
272
|
};
|
|
273
273
|
exports.PurchaseSubscription = {
|
|
274
274
|
eventType: 'Purchase',
|
|
275
275
|
object: {
|
|
276
276
|
objectType: 'Subscription',
|
|
277
277
|
},
|
|
278
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
278
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/PurchaseSubscription.json',
|
|
279
279
|
};
|
|
280
280
|
exports.ViewArticle = {
|
|
281
281
|
eventType: 'View',
|
|
282
282
|
object: {
|
|
283
283
|
objectType: 'Article',
|
|
284
284
|
},
|
|
285
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
286
|
-
};
|
|
287
|
-
exports.ViewAudio = {
|
|
288
|
-
eventType: 'View',
|
|
289
|
-
object: {
|
|
290
|
-
objectType: 'Audio',
|
|
291
|
-
},
|
|
292
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.4.2/schemas/ViewAudio.json',
|
|
285
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewArticle.json',
|
|
293
286
|
};
|
|
294
287
|
exports.ViewAudioPage = {
|
|
295
288
|
eventType: 'View',
|
|
296
289
|
object: {
|
|
297
290
|
objectType: 'AudioPage',
|
|
298
291
|
},
|
|
299
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
292
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewAudioPage.json',
|
|
300
293
|
};
|
|
301
294
|
exports.ViewError = {
|
|
302
295
|
eventType: 'View',
|
|
303
296
|
object: {
|
|
304
297
|
objectType: 'Error',
|
|
305
298
|
},
|
|
306
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
299
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewError.json',
|
|
307
300
|
};
|
|
308
301
|
exports.ViewFrontpage = {
|
|
309
302
|
eventType: 'View',
|
|
310
303
|
object: {
|
|
311
304
|
objectType: 'Frontpage',
|
|
312
305
|
},
|
|
313
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
306
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewFrontpage.json',
|
|
314
307
|
};
|
|
315
308
|
exports.ViewHealthPage = {
|
|
316
309
|
eventType: 'View',
|
|
317
310
|
object: {
|
|
318
311
|
objectType: 'HealthPage',
|
|
319
312
|
},
|
|
320
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
313
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewHealthPage.json',
|
|
321
314
|
};
|
|
322
315
|
exports.ViewLandingpage = {
|
|
323
316
|
eventType: 'View',
|
|
324
317
|
object: {
|
|
325
318
|
objectType: 'Landingpage',
|
|
326
319
|
},
|
|
327
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
320
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewLandingpage.json',
|
|
328
321
|
};
|
|
329
322
|
exports.ViewListing = {
|
|
330
323
|
eventType: 'View',
|
|
331
324
|
object: {
|
|
332
325
|
objectType: 'Listing',
|
|
333
326
|
},
|
|
334
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
327
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewListing.json',
|
|
335
328
|
};
|
|
336
329
|
exports.ViewLockedArticle = {
|
|
337
330
|
eventType: 'View',
|
|
338
331
|
object: {
|
|
339
332
|
objectType: 'LockedArticle',
|
|
340
333
|
},
|
|
341
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
342
|
-
};
|
|
343
|
-
exports.ViewLockedAudio = {
|
|
344
|
-
eventType: 'View',
|
|
345
|
-
object: {
|
|
346
|
-
objectType: 'LockedAudio',
|
|
347
|
-
},
|
|
348
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.4.2/schemas/ViewLockedAudio.json',
|
|
334
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewLockedArticle.json',
|
|
349
335
|
};
|
|
350
336
|
exports.ViewLockedAudioPage = {
|
|
351
337
|
eventType: 'View',
|
|
352
338
|
object: {
|
|
353
339
|
objectType: 'LockedAudioPage',
|
|
354
340
|
},
|
|
355
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
356
|
-
};
|
|
357
|
-
exports.ViewLockedVideo = {
|
|
358
|
-
eventType: 'View',
|
|
359
|
-
object: {
|
|
360
|
-
objectType: 'LockedVideo',
|
|
361
|
-
},
|
|
362
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.4.2/schemas/ViewLockedVideo.json',
|
|
341
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewLockedAudioPage.json',
|
|
363
342
|
};
|
|
364
343
|
exports.ViewLockedVideoPage = {
|
|
365
344
|
eventType: 'View',
|
|
366
345
|
object: {
|
|
367
346
|
objectType: 'LockedVideoPage',
|
|
368
347
|
},
|
|
369
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
348
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewLockedVideoPage.json',
|
|
370
349
|
};
|
|
371
350
|
exports.ViewPage = {
|
|
372
351
|
eventType: 'View',
|
|
373
352
|
object: {
|
|
374
353
|
objectType: 'Page',
|
|
375
354
|
},
|
|
376
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
355
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewPage.json',
|
|
377
356
|
};
|
|
378
357
|
exports.ViewSportsPage = {
|
|
379
358
|
eventType: 'View',
|
|
380
359
|
object: {
|
|
381
360
|
objectType: 'SportsPage',
|
|
382
361
|
},
|
|
383
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
362
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewSportsPage.json',
|
|
384
363
|
};
|
|
385
364
|
exports.ViewTitle = {
|
|
386
365
|
eventType: 'View',
|
|
387
366
|
object: {
|
|
388
367
|
objectType: 'Title',
|
|
389
368
|
},
|
|
390
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
391
|
-
};
|
|
392
|
-
exports.ViewVideo = {
|
|
393
|
-
eventType: 'View',
|
|
394
|
-
object: {
|
|
395
|
-
objectType: 'Video',
|
|
396
|
-
},
|
|
397
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.4.2/schemas/ViewVideo.json',
|
|
369
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewTitle.json',
|
|
398
370
|
};
|
|
399
371
|
exports.ViewVideoPage = {
|
|
400
372
|
eventType: 'View',
|
|
401
373
|
object: {
|
|
402
374
|
objectType: 'VideoPage',
|
|
403
375
|
},
|
|
404
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
376
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewVideoPage.json',
|
|
405
377
|
};
|
|
406
378
|
exports.ViewWeather = {
|
|
407
379
|
eventType: 'View',
|
|
408
380
|
object: {
|
|
409
381
|
objectType: 'Weather',
|
|
410
382
|
},
|
|
411
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
383
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewWeather.json',
|
|
412
384
|
};
|
|
413
385
|
exports.ADVERTISING_VALUES = ['Accepted', 'Rejected', 'Unknown'];
|
|
414
386
|
exports.ANALYTICS_VALUES = ['Accepted', 'Rejected', 'Unknown'];
|
|
@@ -445,22 +417,23 @@ exports.VIEWPORT_SIZE_VALUES = ['XS', 'S', 'M', 'L', 'XL'];
|
|
|
445
417
|
exports.ACTION_VALUES = ['Click', 'Scroll', 'Drag', 'Drop', 'DoubleClick'];
|
|
446
418
|
exports.PAGE_TYPE_VALUES = [
|
|
447
419
|
'Article',
|
|
448
|
-
'
|
|
420
|
+
'AudioPage',
|
|
449
421
|
'Error',
|
|
450
422
|
'Frontpage',
|
|
451
423
|
'HealthPage',
|
|
452
424
|
'Landingpage',
|
|
453
425
|
'Listing',
|
|
454
426
|
'LockedArticle',
|
|
455
|
-
'
|
|
456
|
-
'
|
|
427
|
+
'LockedAudioPage',
|
|
428
|
+
'LockedVideoPage',
|
|
457
429
|
'Login',
|
|
458
430
|
'Page',
|
|
459
431
|
'SportsPage',
|
|
460
432
|
'Title',
|
|
461
|
-
'
|
|
433
|
+
'VideoPage',
|
|
462
434
|
'Weather',
|
|
463
435
|
];
|
|
436
|
+
exports.COLUMN_NAME_VALUES = ['main', 'aside'];
|
|
464
437
|
exports.STAGE_VALUES = ['Dev', 'Test', 'Pro'];
|
|
465
438
|
exports.SPORT_EVENT_COVERAGE_VALUES = ['Manual', 'SemiAutomatic', 'Automatic', 'AI'];
|
|
466
439
|
exports.SPORT_EVENT_STATUS_VALUES = [
|
|
@@ -508,4 +481,4 @@ exports.UTM_MEDIUM_VALUES = [
|
|
|
508
481
|
'Video',
|
|
509
482
|
'Internal',
|
|
510
483
|
];
|
|
511
|
-
exports.CATALOG_VERSION = '2.
|
|
484
|
+
exports.CATALOG_VERSION = '2.6.0';
|