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

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 +92 -43
  2. package/dist/cjs/builders/experiments.js +1 -0
  3. package/dist/cjs/tracker-proxy/consts.js +1 -0
  4. package/dist/cjs/version.js +1 -1
  5. package/dist/cjs/visibility-observer/index.js +9 -7
  6. package/dist/cjs/wrapper/types/event.js +5 -0
  7. package/dist/ejs/Tracker.js +93 -44
  8. package/dist/ejs/builders/experiments.js +1 -1
  9. package/dist/ejs/tracker-proxy/consts.js +1 -0
  10. package/dist/ejs/version.js +1 -1
  11. package/dist/ejs/visibility-observer/index.js +9 -7
  12. package/dist/ejs/wrapper/types/event.js +4 -1
  13. package/dist/types/Tracker.d.ts +39 -17
  14. package/dist/types/builders/experiments.d.ts +1 -0
  15. package/dist/types/index.d.ts +0 -1
  16. package/dist/types/tracker-proxy/consts.d.ts +1 -1
  17. package/dist/types/version.d.ts +1 -1
  18. package/dist/types/visibility-observer/index.d.ts +6 -1
  19. package/dist/types/wrapper/types/event.d.ts +3 -1
  20. package/node_modules/@schibsted/tpaas-event-builder/dist/cjs/builders.js +53 -47
  21. package/node_modules/@schibsted/tpaas-event-builder/dist/cjs/guards.js +7 -0
  22. package/node_modules/@schibsted/tpaas-event-builder/dist/cjs/index.js +3 -0
  23. package/node_modules/@schibsted/tpaas-event-builder/dist/ejs/builders.js +53 -48
  24. package/node_modules/@schibsted/tpaas-event-builder/dist/ejs/guards.js +4 -0
  25. package/node_modules/@schibsted/tpaas-event-builder/dist/ejs/index.js +1 -0
  26. package/node_modules/@schibsted/tpaas-event-builder/dist/index.d.ts +822 -198
  27. package/node_modules/@schibsted/tpaas-event-builder/package.json +2 -1
  28. package/node_modules/@schibsted/tpaas-schemas/dist/cjs/constants.js +66 -57
  29. package/node_modules/@schibsted/tpaas-schemas/dist/cjs/index.js +1 -0
  30. package/node_modules/@schibsted/tpaas-schemas/dist/cjs/types.js +2 -0
  31. package/node_modules/@schibsted/tpaas-schemas/dist/ejs/constants.js +64 -55
  32. package/node_modules/@schibsted/tpaas-schemas/dist/ejs/index.js +1 -0
  33. package/node_modules/@schibsted/tpaas-schemas/dist/ejs/types.js +1 -0
  34. package/node_modules/@schibsted/tpaas-schemas/dist/index.d.ts +888 -223
  35. package/package.json +4 -4
@@ -25,9 +25,10 @@
25
25
  "@schibsted/pulse-utils": "workspace:*",
26
26
  "@schibsted/tpaas-schemas": "workspace:*",
27
27
  "loglevel": "1.9.2",
28
- "uuid": "13.0.0"
28
+ "uuid": "14.0.0"
29
29
  },
30
30
  "devDependencies": {
31
+ "@schibsted/tpaas-test-fixtures": "workspace:*",
31
32
  "@types/uuid": "11.0.0",
32
33
  "dts-bundle-generator": "9.5.1",
33
34
  "tsx": "4.21.0",
@@ -1,119 +1,126 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
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;
3
+ 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.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.PRIMARY_AXIS_VALUES = exports.FOLD_POSITION_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 = exports.ViewPage = 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.6.0/schemas/AnonymousViewUIElement.json',
11
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.1/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.6.0/schemas/CancelSubscription.json',
18
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.1/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.6.0/schemas/ChangePushNotificationSettings.json',
25
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.1/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.6.0/schemas/CompletedHealthAction.json',
32
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.1/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.6.0/schemas/EngagementAudio.json',
39
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.1/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.6.0/schemas/EngagementForm.json',
46
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.1/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.6.0/schemas/EngagementHealthUIElement.json',
53
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.1/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.6.0/schemas/EngagementNotification.json',
60
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.1/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.6.0/schemas/EngagementOffer.json',
67
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.1/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.6.0/schemas/EngagementTeaser.json',
74
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.1/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.6.0/schemas/EngagementUIElement.json',
81
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.1/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.6.0/schemas/EngagementVideo.json',
88
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.1/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.6.0/schemas/EngagementVideoAd.json',
95
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.1/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.6.0/schemas/EngagementWidget.json',
102
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.1/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.7.1/schemas/ImpressionAdSlot.json',
103
110
  };
104
111
  exports.ImpressionForm = {
105
112
  eventType: 'Impression',
106
113
  object: {
107
114
  objectType: 'Form',
108
115
  },
109
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ImpressionForm.json',
116
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.1/schemas/ImpressionForm.json',
110
117
  };
111
118
  exports.ImpressionHealthUIElement = {
112
119
  eventType: 'Impression',
113
120
  object: {
114
121
  objectType: 'HealthUIElement',
115
122
  },
116
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ImpressionHealthUIElement.json',
123
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.1/schemas/ImpressionHealthUIElement.json',
117
124
  };
118
125
  exports.ImpressionNotification = {
119
126
  eventType: 'Impression',
@@ -121,266 +128,266 @@ exports.ImpressionNotification = {
121
128
  name: 'PushNotification',
122
129
  objectType: 'Notification',
123
130
  },
124
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ImpressionNotification.json',
131
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.1/schemas/ImpressionNotification.json',
125
132
  };
126
133
  exports.ImpressionOffer = {
127
134
  eventType: 'Impression',
128
135
  object: {
129
136
  objectType: 'Offer',
130
137
  },
131
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ImpressionOffer.json',
138
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.1/schemas/ImpressionOffer.json',
132
139
  };
133
140
  exports.ImpressionPlayer = {
134
141
  eventType: 'Impression',
135
142
  object: {
136
143
  objectType: 'Player',
137
144
  },
138
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ImpressionPlayer.json',
145
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.1/schemas/ImpressionPlayer.json',
139
146
  };
140
147
  exports.ImpressionTeaser = {
141
148
  eventType: 'Impression',
142
149
  object: {
143
150
  objectType: 'Teaser',
144
151
  },
145
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ImpressionTeaser.json',
152
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.1/schemas/ImpressionTeaser.json',
146
153
  };
147
154
  exports.ImpressionUIElement = {
148
155
  eventType: 'Impression',
149
156
  object: {
150
157
  objectType: 'UIElement',
151
158
  },
152
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ImpressionUIElement.json',
159
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.1/schemas/ImpressionUIElement.json',
153
160
  };
154
161
  exports.ImpressionWidget = {
155
162
  eventType: 'Impression',
156
163
  object: {
157
164
  objectType: 'Widget',
158
165
  },
159
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ImpressionWidget.json',
166
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.1/schemas/ImpressionWidget.json',
160
167
  };
161
168
  exports.InternalAccessDecision = {
162
169
  eventType: 'Internal',
163
170
  object: {
164
171
  objectType: 'AccessDecision',
165
172
  },
166
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/InternalAccessDecision.json',
173
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.1/schemas/InternalAccessDecision.json',
167
174
  };
168
175
  exports.InternalProbe = {
169
176
  eventType: 'Internal',
170
177
  object: {
171
178
  objectType: 'Probe',
172
179
  },
173
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/InternalProbe.json',
180
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.1/schemas/InternalProbe.json',
174
181
  };
175
182
  exports.LaunchApp = {
176
183
  eventType: 'Launch',
177
184
  object: {
178
185
  objectType: 'App',
179
186
  },
180
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LaunchApp.json',
187
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.1/schemas/LaunchApp.json',
181
188
  };
182
189
  exports.LeaveArticle = {
183
190
  eventType: 'Leave',
184
191
  object: {
185
192
  objectType: 'Article',
186
193
  },
187
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LeaveArticle.json',
194
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.1/schemas/LeaveArticle.json',
188
195
  };
189
196
  exports.LeaveAudioPage = {
190
197
  eventType: 'Leave',
191
198
  object: {
192
199
  objectType: 'AudioPage',
193
200
  },
194
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LeaveAudioPage.json',
201
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.1/schemas/LeaveAudioPage.json',
195
202
  };
196
203
  exports.LeaveError = {
197
204
  eventType: 'Leave',
198
205
  object: {
199
206
  objectType: 'Error',
200
207
  },
201
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LeaveError.json',
208
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.1/schemas/LeaveError.json',
202
209
  };
203
210
  exports.LeaveFrontpage = {
204
211
  eventType: 'Leave',
205
212
  object: {
206
213
  objectType: 'Frontpage',
207
214
  },
208
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LeaveFrontpage.json',
215
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.1/schemas/LeaveFrontpage.json',
209
216
  };
210
217
  exports.LeaveLandingpage = {
211
218
  eventType: 'Leave',
212
219
  object: {
213
220
  objectType: 'Landingpage',
214
221
  },
215
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LeaveLandingpage.json',
222
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.1/schemas/LeaveLandingpage.json',
216
223
  };
217
224
  exports.LeaveListing = {
218
225
  eventType: 'Leave',
219
226
  object: {
220
227
  objectType: 'Listing',
221
228
  },
222
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LeaveListing.json',
229
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.1/schemas/LeaveListing.json',
223
230
  };
224
231
  exports.LeaveLockedArticle = {
225
232
  eventType: 'Leave',
226
233
  object: {
227
234
  objectType: 'LockedArticle',
228
235
  },
229
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LeaveLockedArticle.json',
236
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.1/schemas/LeaveLockedArticle.json',
230
237
  };
231
238
  exports.LeaveLockedAudioPage = {
232
239
  eventType: 'Leave',
233
240
  object: {
234
241
  objectType: 'LockedAudioPage',
235
242
  },
236
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LeaveLockedAudioPage.json',
243
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.1/schemas/LeaveLockedAudioPage.json',
237
244
  };
238
245
  exports.LeaveLockedVideoPage = {
239
246
  eventType: 'Leave',
240
247
  object: {
241
248
  objectType: 'LockedVideoPage',
242
249
  },
243
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LeaveLockedVideoPage.json',
250
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.1/schemas/LeaveLockedVideoPage.json',
244
251
  };
245
252
  exports.LeavePage = {
246
253
  eventType: 'Leave',
247
254
  object: {
248
255
  objectType: 'Page',
249
256
  },
250
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LeavePage.json',
257
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.1/schemas/LeavePage.json',
251
258
  };
252
259
  exports.LeaveSportsPage = {
253
260
  eventType: 'Leave',
254
261
  object: {
255
262
  objectType: 'SportsPage',
256
263
  },
257
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LeaveSportsPage.json',
264
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.1/schemas/LeaveSportsPage.json',
258
265
  };
259
266
  exports.LeaveVideoPage = {
260
267
  eventType: 'Leave',
261
268
  object: {
262
269
  objectType: 'VideoPage',
263
270
  },
264
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LeaveVideoPage.json',
271
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.1/schemas/LeaveVideoPage.json',
265
272
  };
266
273
  exports.LeaveWeather = {
267
274
  eventType: 'Leave',
268
275
  object: {
269
276
  objectType: 'Weather',
270
277
  },
271
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LeaveWeather.json',
278
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.1/schemas/LeaveWeather.json',
272
279
  };
273
280
  exports.PurchaseSubscription = {
274
281
  eventType: 'Purchase',
275
282
  object: {
276
283
  objectType: 'Subscription',
277
284
  },
278
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/PurchaseSubscription.json',
285
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.1/schemas/PurchaseSubscription.json',
279
286
  };
280
287
  exports.ViewArticle = {
281
288
  eventType: 'View',
282
289
  object: {
283
290
  objectType: 'Article',
284
291
  },
285
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewArticle.json',
292
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.1/schemas/ViewArticle.json',
286
293
  };
287
294
  exports.ViewAudioPage = {
288
295
  eventType: 'View',
289
296
  object: {
290
297
  objectType: 'AudioPage',
291
298
  },
292
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewAudioPage.json',
299
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.1/schemas/ViewAudioPage.json',
293
300
  };
294
301
  exports.ViewError = {
295
302
  eventType: 'View',
296
303
  object: {
297
304
  objectType: 'Error',
298
305
  },
299
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewError.json',
306
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.1/schemas/ViewError.json',
300
307
  };
301
308
  exports.ViewFrontpage = {
302
309
  eventType: 'View',
303
310
  object: {
304
311
  objectType: 'Frontpage',
305
312
  },
306
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewFrontpage.json',
313
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.1/schemas/ViewFrontpage.json',
307
314
  };
308
315
  exports.ViewHealthPage = {
309
316
  eventType: 'View',
310
317
  object: {
311
318
  objectType: 'HealthPage',
312
319
  },
313
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewHealthPage.json',
320
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.1/schemas/ViewHealthPage.json',
314
321
  };
315
322
  exports.ViewLandingpage = {
316
323
  eventType: 'View',
317
324
  object: {
318
325
  objectType: 'Landingpage',
319
326
  },
320
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewLandingpage.json',
327
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.1/schemas/ViewLandingpage.json',
321
328
  };
322
329
  exports.ViewListing = {
323
330
  eventType: 'View',
324
331
  object: {
325
332
  objectType: 'Listing',
326
333
  },
327
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewListing.json',
334
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.1/schemas/ViewListing.json',
328
335
  };
329
336
  exports.ViewLockedArticle = {
330
337
  eventType: 'View',
331
338
  object: {
332
339
  objectType: 'LockedArticle',
333
340
  },
334
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewLockedArticle.json',
341
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.1/schemas/ViewLockedArticle.json',
335
342
  };
336
343
  exports.ViewLockedAudioPage = {
337
344
  eventType: 'View',
338
345
  object: {
339
346
  objectType: 'LockedAudioPage',
340
347
  },
341
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewLockedAudioPage.json',
348
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.1/schemas/ViewLockedAudioPage.json',
342
349
  };
343
350
  exports.ViewLockedVideoPage = {
344
351
  eventType: 'View',
345
352
  object: {
346
353
  objectType: 'LockedVideoPage',
347
354
  },
348
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewLockedVideoPage.json',
355
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.1/schemas/ViewLockedVideoPage.json',
349
356
  };
350
357
  exports.ViewPage = {
351
358
  eventType: 'View',
352
359
  object: {
353
360
  objectType: 'Page',
354
361
  },
355
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewPage.json',
362
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.1/schemas/ViewPage.json',
356
363
  };
357
364
  exports.ViewSportsPage = {
358
365
  eventType: 'View',
359
366
  object: {
360
367
  objectType: 'SportsPage',
361
368
  },
362
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewSportsPage.json',
369
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.1/schemas/ViewSportsPage.json',
363
370
  };
364
371
  exports.ViewTitle = {
365
372
  eventType: 'View',
366
373
  object: {
367
374
  objectType: 'Title',
368
375
  },
369
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewTitle.json',
376
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.1/schemas/ViewTitle.json',
370
377
  };
371
378
  exports.ViewVideoPage = {
372
379
  eventType: 'View',
373
380
  object: {
374
381
  objectType: 'VideoPage',
375
382
  },
376
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewVideoPage.json',
383
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.1/schemas/ViewVideoPage.json',
377
384
  };
378
385
  exports.ViewWeather = {
379
386
  eventType: 'View',
380
387
  object: {
381
388
  objectType: 'Weather',
382
389
  },
383
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewWeather.json',
390
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.1/schemas/ViewWeather.json',
384
391
  };
385
392
  exports.ADVERTISING_VALUES = ['Accepted', 'Rejected', 'Unknown'];
386
393
  exports.ANALYTICS_VALUES = ['Accepted', 'Rejected', 'Unknown'];
@@ -434,6 +441,8 @@ exports.PAGE_TYPE_VALUES = [
434
441
  'Weather',
435
442
  ];
436
443
  exports.COLUMN_NAME_VALUES = ['main', 'aside'];
444
+ exports.FOLD_POSITION_VALUES = ['Above', 'Below', 'Unknown'];
445
+ exports.PRIMARY_AXIS_VALUES = ['Horizontal', 'Vertical'];
437
446
  exports.STAGE_VALUES = ['Dev', 'Test', 'Pro'];
438
447
  exports.SPORT_EVENT_COVERAGE_VALUES = ['Manual', 'SemiAutomatic', 'Automatic', 'AI'];
439
448
  exports.SPORT_EVENT_STATUS_VALUES = [
@@ -481,4 +490,4 @@ exports.UTM_MEDIUM_VALUES = [
481
490
  'Video',
482
491
  'Internal',
483
492
  ];
484
- exports.CATALOG_VERSION = '2.6.0';
493
+ exports.CATALOG_VERSION = '2.7.1';
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./constants"), exports);
18
+ __exportStar(require("./types"), exports);
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });