@schibsted/pulse-sdk 8.0.0-rc.4 → 8.0.0-rc.6

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