@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.
Files changed (61) hide show
  1. package/dist/cjs/Tracker.js +22 -0
  2. package/dist/cjs/leaveTrackingTpaas/index.js +18 -6
  3. package/dist/cjs/tpaas-builders/builders/device.js +1 -1
  4. package/dist/cjs/tpaas-builders/builders/trackerBuilder.js +2 -1
  5. package/dist/cjs/tpaas-builders/builders.js +10 -6
  6. package/dist/cjs/tpaas-schemas/constants.js +59 -51
  7. package/dist/cjs/version.js +1 -1
  8. package/dist/ejs/Tracker.js +23 -1
  9. package/dist/ejs/leaveTrackingTpaas/index.js +18 -6
  10. package/dist/ejs/tpaas-builders/builders/device.js +1 -1
  11. package/dist/ejs/tpaas-builders/builders/trackerBuilder.js +2 -1
  12. package/dist/ejs/tpaas-builders/builders.js +10 -7
  13. package/dist/ejs/tpaas-schemas/constants.js +57 -49
  14. package/dist/ejs/version.js +1 -1
  15. package/dist/types/Tracker.d.ts +6 -1
  16. package/dist/types/builders/consents.d.ts +2 -2
  17. package/dist/types/builders/device-node.d.ts +2 -2
  18. package/dist/types/builders/events-anonymous-node.d.ts +4 -4
  19. package/dist/types/builders/events-node.d.ts +5 -5
  20. package/dist/types/builders/objects/objects-anonymous-node.d.ts +1 -1
  21. package/dist/types/builders/objects/objects-node.d.ts +1 -1
  22. package/dist/types/builders/origin-node.d.ts +1 -1
  23. package/dist/types/cis-sync/storage/pulseStorage.d.ts +8 -4
  24. package/dist/types/config.d.ts +1 -1
  25. package/dist/types/tpaas-builders/builders/device.d.ts +1 -1
  26. package/dist/types/tpaas-builders/builders/experiments.d.ts +1 -1
  27. package/dist/types/tpaas-builders/builders/navigationType.d.ts +2 -2
  28. package/dist/types/tpaas-builders/builders/pageviewId.d.ts +1 -1
  29. package/dist/types/tpaas-builders/builders/trackerBuilder.d.ts +1 -1
  30. package/dist/types/tpaas-builders/builders/user.d.ts +1 -1
  31. package/dist/types/tpaas-builders/builders.d.ts +41 -39
  32. package/dist/types/tpaas-builders/index.d.ts +1 -1
  33. package/dist/types/tpaas-builders/types.d.ts +2 -0
  34. package/dist/types/tpaas-schemas/constants.d.ts +182 -174
  35. package/dist/types/tpaas-schemas/types/ITpaasEvent.d.ts +2 -0
  36. package/dist/types/tpaas-schemas/types/schemas/IEngagementAudio.d.ts +0 -6
  37. package/dist/types/tpaas-schemas/types/schemas/IEngagementTeaser.d.ts +9 -0
  38. package/dist/types/tpaas-schemas/types/schemas/IEngagementTvModule.d.ts +130 -0
  39. package/dist/types/tpaas-schemas/types/schemas/IEngagementUIElement.d.ts +4 -0
  40. package/dist/types/tpaas-schemas/types/schemas/IEngagementVideo.d.ts +1 -7
  41. package/dist/types/tpaas-schemas/types/schemas/IImpressionForm.d.ts +2 -2
  42. package/dist/types/tpaas-schemas/types/schemas/IImpressionTeaser.d.ts +9 -0
  43. package/dist/types/tpaas-schemas/types/schemas/ILeaveArticle.d.ts +1 -1
  44. package/dist/types/tpaas-schemas/types/schemas/ILeaveAudioPage.d.ts +1 -1
  45. package/dist/types/tpaas-schemas/types/schemas/ILeaveFrontpage.d.ts +1 -1
  46. package/dist/types/tpaas-schemas/types/schemas/ILeaveLockedArticle.d.ts +1 -1
  47. package/dist/types/tpaas-schemas/types/schemas/ILeaveVideoPage.d.ts +1 -1
  48. package/dist/types/tpaas-schemas/types/schemas/IViewArticle.d.ts +1 -1
  49. package/dist/types/tpaas-schemas/types/schemas/IViewAudioPage.d.ts +1 -1
  50. package/dist/types/tpaas-schemas/types/schemas/IViewFrontpage.d.ts +1 -1
  51. package/dist/types/tpaas-schemas/types/schemas/IViewLockedArticle.d.ts +1 -1
  52. package/dist/types/tpaas-schemas/types/schemas/IViewVideoPage.d.ts +1 -1
  53. package/dist/types/tpaas-schemas/types/schemas/index.d.ts +1 -0
  54. package/dist/types/tpaas-schemas/types/templates/IDevice.d.ts +1 -1
  55. package/dist/types/tpaas-schemas/types/templates/IProvider.d.ts +1 -1
  56. package/dist/types/tpaas-schemas/types/templates/ITracker.d.ts +4 -0
  57. package/dist/types/tpaas-schemas/types.d.ts +3 -3
  58. package/dist/types/tracker-proxy/consts.d.ts +2 -2
  59. package/dist/types/version.d.ts +1 -1
  60. package/dist/types/wrapper/types/event.d.ts +1 -1
  61. package/package.json +8 -7
@@ -1,360 +1,368 @@
1
1
  export declare const AnonymousViewUIElement: {
2
- readonly eventType: "AnonymousView";
2
+ readonly eventType: 'AnonymousView';
3
3
  readonly isAnonymous: true;
4
4
  readonly object: {
5
- readonly objectType: "UIElement";
5
+ readonly objectType: 'UIElement';
6
6
  };
7
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/AnonymousViewUIElement.json";
7
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/AnonymousViewUIElement.json';
8
8
  };
9
9
  export declare const CompletedHealthAction: {
10
- readonly eventType: "Completed";
10
+ readonly eventType: 'Completed';
11
11
  readonly object: {
12
- readonly objectType: "HealthAction";
12
+ readonly objectType: 'HealthAction';
13
13
  };
14
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/CompletedHealthAction.json";
14
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/CompletedHealthAction.json';
15
15
  };
16
16
  export declare const EngagementAudio: {
17
- readonly eventType: "Engagement";
17
+ readonly eventType: 'Engagement';
18
18
  readonly object: {
19
- readonly objectType: "Audio";
19
+ readonly objectType: 'Audio';
20
20
  };
21
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/EngagementAudio.json";
21
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/EngagementAudio.json';
22
22
  };
23
23
  export declare const EngagementForm: {
24
- readonly eventType: "Engagement";
24
+ readonly eventType: 'Engagement';
25
25
  readonly object: {
26
- readonly objectType: "Form";
26
+ readonly objectType: 'Form';
27
27
  };
28
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/EngagementForm.json";
28
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/EngagementForm.json';
29
29
  };
30
30
  export declare const EngagementHealthUIElement: {
31
- readonly eventType: "Engagement";
31
+ readonly eventType: 'Engagement';
32
32
  readonly object: {
33
- readonly objectType: "HealthUIElement";
33
+ readonly objectType: 'HealthUIElement';
34
34
  };
35
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/EngagementHealthUIElement.json";
35
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/EngagementHealthUIElement.json';
36
36
  };
37
37
  export declare const EngagementOffer: {
38
- readonly eventType: "Engagement";
38
+ readonly eventType: 'Engagement';
39
39
  readonly object: {
40
- readonly objectType: "Offer";
40
+ readonly objectType: 'Offer';
41
41
  };
42
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/EngagementOffer.json";
42
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/EngagementOffer.json';
43
43
  };
44
44
  export declare const EngagementTeaser: {
45
- readonly eventType: "Engagement";
45
+ readonly eventType: 'Engagement';
46
46
  readonly object: {
47
- readonly objectType: "Teaser";
47
+ readonly objectType: 'Teaser';
48
48
  };
49
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/EngagementTeaser.json";
49
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/EngagementTeaser.json';
50
+ };
51
+ export declare const EngagementTvModule: {
52
+ readonly eventType: 'Engagement';
53
+ readonly object: {
54
+ readonly objectType: 'TvModule';
55
+ };
56
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/EngagementTvModule.json';
50
57
  };
51
58
  export declare const EngagementUIElement: {
52
- readonly eventType: "Engagement";
59
+ readonly eventType: 'Engagement';
53
60
  readonly object: {
54
- readonly objectType: "UIElement";
61
+ readonly objectType: 'UIElement';
55
62
  };
56
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/EngagementUIElement.json";
63
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/EngagementUIElement.json';
57
64
  };
58
65
  export declare const EngagementVideo: {
59
- readonly eventType: "Engagement";
66
+ readonly eventType: 'Engagement';
60
67
  readonly object: {
61
- readonly objectType: "Video";
68
+ readonly objectType: 'Video';
62
69
  };
63
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/EngagementVideo.json";
70
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/EngagementVideo.json';
64
71
  };
65
72
  export declare const EngagementVideoAd: {
66
- readonly eventType: "Engagement";
73
+ readonly eventType: 'Engagement';
67
74
  readonly object: {
68
- readonly objectType: "VideoAd";
75
+ readonly objectType: 'VideoAd';
69
76
  };
70
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/EngagementVideoAd.json";
77
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/EngagementVideoAd.json';
71
78
  };
72
79
  export declare const EngagementWidget: {
73
- readonly eventType: "Engagement";
80
+ readonly eventType: 'Engagement';
74
81
  readonly object: {
75
- readonly objectType: "Widget";
82
+ readonly objectType: 'Widget';
76
83
  };
77
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/EngagementWidget.json";
84
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/EngagementWidget.json';
78
85
  };
79
86
  export declare const ImpressionAdSlot: {
80
- readonly eventType: "Impression";
87
+ readonly eventType: 'Impression';
81
88
  readonly object: {
82
- readonly objectType: "AdSlot";
89
+ readonly objectType: 'AdSlot';
83
90
  };
84
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/ImpressionAdSlot.json";
91
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/ImpressionAdSlot.json';
85
92
  };
86
93
  export declare const ImpressionForm: {
87
- readonly eventType: "Impression";
94
+ readonly eventType: 'Impression';
88
95
  readonly object: {
89
- readonly objectType: "Form";
96
+ readonly objectType: 'Form';
90
97
  };
91
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/ImpressionForm.json";
98
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/ImpressionForm.json';
92
99
  };
93
100
  export declare const ImpressionHealthUIElement: {
94
- readonly eventType: "Impression";
101
+ readonly eventType: 'Impression';
95
102
  readonly object: {
96
- readonly objectType: "HealthUIElement";
103
+ readonly objectType: 'HealthUIElement';
97
104
  };
98
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/ImpressionHealthUIElement.json";
105
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/ImpressionHealthUIElement.json';
99
106
  };
100
107
  export declare const ImpressionOffer: {
101
- readonly eventType: "Impression";
108
+ readonly eventType: 'Impression';
102
109
  readonly object: {
103
- readonly objectType: "Offer";
110
+ readonly objectType: 'Offer';
104
111
  };
105
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/ImpressionOffer.json";
112
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/ImpressionOffer.json';
106
113
  };
107
114
  export declare const ImpressionPlayer: {
108
- readonly eventType: "Impression";
115
+ readonly eventType: 'Impression';
109
116
  readonly object: {
110
- readonly objectType: "Player";
117
+ readonly objectType: 'Player';
111
118
  };
112
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/ImpressionPlayer.json";
119
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/ImpressionPlayer.json';
113
120
  };
114
121
  export declare const ImpressionTeaser: {
115
- readonly eventType: "Impression";
122
+ readonly eventType: 'Impression';
116
123
  readonly object: {
117
- readonly objectType: "Teaser";
124
+ readonly objectType: 'Teaser';
118
125
  };
119
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/ImpressionTeaser.json";
126
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/ImpressionTeaser.json';
120
127
  };
121
128
  export declare const ImpressionUIElement: {
122
- readonly eventType: "Impression";
129
+ readonly eventType: 'Impression';
123
130
  readonly object: {
124
- readonly objectType: "UIElement";
131
+ readonly objectType: 'UIElement';
125
132
  };
126
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/ImpressionUIElement.json";
133
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/ImpressionUIElement.json';
127
134
  };
128
135
  export declare const ImpressionWidget: {
129
- readonly eventType: "Impression";
136
+ readonly eventType: 'Impression';
130
137
  readonly object: {
131
- readonly objectType: "Widget";
138
+ readonly objectType: 'Widget';
132
139
  };
133
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/ImpressionWidget.json";
140
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/ImpressionWidget.json';
134
141
  };
135
142
  export declare const LeaveArticle: {
136
- readonly eventType: "Leave";
143
+ readonly eventType: 'Leave';
137
144
  readonly object: {
138
- readonly objectType: "Article";
145
+ readonly objectType: 'Article';
139
146
  };
140
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/LeaveArticle.json";
147
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/LeaveArticle.json';
141
148
  };
142
149
  export declare const LeaveAudioPage: {
143
- readonly eventType: "Leave";
150
+ readonly eventType: 'Leave';
144
151
  readonly object: {
145
- readonly objectType: "AudioPage";
152
+ readonly objectType: 'AudioPage';
146
153
  };
147
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/LeaveAudioPage.json";
154
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/LeaveAudioPage.json';
148
155
  };
149
156
  export declare const LeaveError: {
150
- readonly eventType: "Leave";
157
+ readonly eventType: 'Leave';
151
158
  readonly object: {
152
- readonly objectType: "Error";
159
+ readonly objectType: 'Error';
153
160
  };
154
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/LeaveError.json";
161
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/LeaveError.json';
155
162
  };
156
163
  export declare const LeaveFrontpage: {
157
- readonly eventType: "Leave";
164
+ readonly eventType: 'Leave';
158
165
  readonly object: {
159
- readonly objectType: "Frontpage";
166
+ readonly objectType: 'Frontpage';
160
167
  };
161
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/LeaveFrontpage.json";
168
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/LeaveFrontpage.json';
162
169
  };
163
170
  export declare const LeaveLandingpage: {
164
- readonly eventType: "Leave";
171
+ readonly eventType: 'Leave';
165
172
  readonly object: {
166
- readonly objectType: "Landingpage";
173
+ readonly objectType: 'Landingpage';
167
174
  };
168
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/LeaveLandingpage.json";
175
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/LeaveLandingpage.json';
169
176
  };
170
177
  export declare const LeaveListing: {
171
- readonly eventType: "Leave";
178
+ readonly eventType: 'Leave';
172
179
  readonly object: {
173
- readonly objectType: "Listing";
180
+ readonly objectType: 'Listing';
174
181
  };
175
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/LeaveListing.json";
182
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/LeaveListing.json';
176
183
  };
177
184
  export declare const LeaveLockedArticle: {
178
- readonly eventType: "Leave";
185
+ readonly eventType: 'Leave';
179
186
  readonly object: {
180
- readonly objectType: "LockedArticle";
187
+ readonly objectType: 'LockedArticle';
181
188
  };
182
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/LeaveLockedArticle.json";
189
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/LeaveLockedArticle.json';
183
190
  };
184
191
  export declare const LeaveLockedAudioPage: {
185
- readonly eventType: "Leave";
192
+ readonly eventType: 'Leave';
186
193
  readonly object: {
187
- readonly objectType: "LockedAudioPage";
194
+ readonly objectType: 'LockedAudioPage';
188
195
  };
189
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/LeaveLockedAudioPage.json";
196
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/LeaveLockedAudioPage.json';
190
197
  };
191
198
  export declare const LeaveLockedVideoPage: {
192
- readonly eventType: "Leave";
199
+ readonly eventType: 'Leave';
193
200
  readonly object: {
194
- readonly objectType: "LockedVideoPage";
201
+ readonly objectType: 'LockedVideoPage';
195
202
  };
196
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/LeaveLockedVideoPage.json";
203
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/LeaveLockedVideoPage.json';
197
204
  };
198
205
  export declare const LeavePage: {
199
- readonly eventType: "Leave";
206
+ readonly eventType: 'Leave';
200
207
  readonly object: {
201
- readonly objectType: "Page";
208
+ readonly objectType: 'Page';
202
209
  };
203
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/LeavePage.json";
210
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/LeavePage.json';
204
211
  };
205
212
  export declare const LeaveSportsPage: {
206
- readonly eventType: "Leave";
213
+ readonly eventType: 'Leave';
207
214
  readonly object: {
208
- readonly objectType: "SportsPage";
215
+ readonly objectType: 'SportsPage';
209
216
  };
210
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/LeaveSportsPage.json";
217
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/LeaveSportsPage.json';
211
218
  };
212
219
  export declare const LeaveVideoPage: {
213
- readonly eventType: "Leave";
220
+ readonly eventType: 'Leave';
214
221
  readonly object: {
215
- readonly objectType: "VideoPage";
222
+ readonly objectType: 'VideoPage';
216
223
  };
217
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/LeaveVideoPage.json";
224
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/LeaveVideoPage.json';
218
225
  };
219
226
  export declare const LeaveWeather: {
220
- readonly eventType: "Leave";
227
+ readonly eventType: 'Leave';
221
228
  readonly object: {
222
- readonly objectType: "Weather";
229
+ readonly objectType: 'Weather';
223
230
  };
224
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/LeaveWeather.json";
231
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/LeaveWeather.json';
225
232
  };
226
233
  export declare const ViewArticle: {
227
- readonly eventType: "View";
234
+ readonly eventType: 'View';
228
235
  readonly object: {
229
- readonly objectType: "Article";
236
+ readonly objectType: 'Article';
230
237
  };
231
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/ViewArticle.json";
238
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/ViewArticle.json';
232
239
  };
233
240
  export declare const ViewAudioPage: {
234
- readonly eventType: "View";
241
+ readonly eventType: 'View';
235
242
  readonly object: {
236
- readonly objectType: "AudioPage";
243
+ readonly objectType: 'AudioPage';
237
244
  };
238
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/ViewAudioPage.json";
245
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/ViewAudioPage.json';
239
246
  };
240
247
  export declare const ViewError: {
241
- readonly eventType: "View";
248
+ readonly eventType: 'View';
242
249
  readonly object: {
243
- readonly objectType: "Error";
250
+ readonly objectType: 'Error';
244
251
  };
245
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/ViewError.json";
252
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/ViewError.json';
246
253
  };
247
254
  export declare const ViewFrontpage: {
248
- readonly eventType: "View";
255
+ readonly eventType: 'View';
249
256
  readonly object: {
250
- readonly objectType: "Frontpage";
257
+ readonly objectType: 'Frontpage';
251
258
  };
252
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/ViewFrontpage.json";
259
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/ViewFrontpage.json';
253
260
  };
254
261
  export declare const ViewHealthPage: {
255
- readonly eventType: "View";
262
+ readonly eventType: 'View';
256
263
  readonly object: {
257
- readonly objectType: "HealthPage";
264
+ readonly objectType: 'HealthPage';
258
265
  };
259
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/ViewHealthPage.json";
266
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/ViewHealthPage.json';
260
267
  };
261
268
  export declare const ViewLandingpage: {
262
- readonly eventType: "View";
269
+ readonly eventType: 'View';
263
270
  readonly object: {
264
- readonly objectType: "Landingpage";
271
+ readonly objectType: 'Landingpage';
265
272
  };
266
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/ViewLandingpage.json";
273
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/ViewLandingpage.json';
267
274
  };
268
275
  export declare const ViewListing: {
269
- readonly eventType: "View";
276
+ readonly eventType: 'View';
270
277
  readonly object: {
271
- readonly objectType: "Listing";
278
+ readonly objectType: 'Listing';
272
279
  };
273
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/ViewListing.json";
280
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/ViewListing.json';
274
281
  };
275
282
  export declare const ViewLockedArticle: {
276
- readonly eventType: "View";
283
+ readonly eventType: 'View';
277
284
  readonly object: {
278
- readonly objectType: "LockedArticle";
285
+ readonly objectType: 'LockedArticle';
279
286
  };
280
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/ViewLockedArticle.json";
287
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/ViewLockedArticle.json';
281
288
  };
282
289
  export declare const ViewLockedAudioPage: {
283
- readonly eventType: "View";
290
+ readonly eventType: 'View';
284
291
  readonly object: {
285
- readonly objectType: "LockedAudioPage";
292
+ readonly objectType: 'LockedAudioPage';
286
293
  };
287
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/ViewLockedAudioPage.json";
294
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/ViewLockedAudioPage.json';
288
295
  };
289
296
  export declare const ViewLockedVideoPage: {
290
- readonly eventType: "View";
297
+ readonly eventType: 'View';
291
298
  readonly object: {
292
- readonly objectType: "LockedVideoPage";
299
+ readonly objectType: 'LockedVideoPage';
293
300
  };
294
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/ViewLockedVideoPage.json";
301
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/ViewLockedVideoPage.json';
295
302
  };
296
303
  export declare const ViewPage: {
297
- readonly eventType: "View";
304
+ readonly eventType: 'View';
298
305
  readonly object: {
299
- readonly objectType: "Page";
306
+ readonly objectType: 'Page';
300
307
  };
301
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/ViewPage.json";
308
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/ViewPage.json';
302
309
  };
303
310
  export declare const ViewSportsPage: {
304
- readonly eventType: "View";
311
+ readonly eventType: 'View';
305
312
  readonly object: {
306
- readonly objectType: "SportsPage";
313
+ readonly objectType: 'SportsPage';
307
314
  };
308
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/ViewSportsPage.json";
315
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/ViewSportsPage.json';
309
316
  };
310
317
  export declare const ViewTitle: {
311
- readonly eventType: "View";
318
+ readonly eventType: 'View';
312
319
  readonly object: {
313
- readonly objectType: "Title";
320
+ readonly objectType: 'Title';
314
321
  };
315
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/ViewTitle.json";
322
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/ViewTitle.json';
316
323
  };
317
324
  export declare const ViewVideoPage: {
318
- readonly eventType: "View";
325
+ readonly eventType: 'View';
319
326
  readonly object: {
320
- readonly objectType: "VideoPage";
327
+ readonly objectType: 'VideoPage';
321
328
  };
322
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/ViewVideoPage.json";
329
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/ViewVideoPage.json';
323
330
  };
324
331
  export declare const ViewWeather: {
325
- readonly eventType: "View";
326
- readonly object: {
327
- readonly objectType: "Weather";
328
- };
329
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/ViewWeather.json";
330
- };
331
- export declare const ADVERTISING_VALUES: readonly ["Accepted", "Rejected", "Unknown"];
332
- export declare const ANALYTICS_VALUES: readonly ["Accepted", "Rejected", "Unknown"];
333
- export declare const MARKETING_VALUES: readonly ["Accepted", "Rejected", "Unknown"];
334
- export declare const PERSONALIZATION_VALUES: readonly ["Accepted", "Rejected", "Unknown"];
335
- export declare const ACCESS_LEVEL_VALUES: readonly ["Free", "Login", "Meter", "Paid"];
336
- export declare const FORMAT_VALUES: readonly ["Article", "Audio", "Video", "Weather", "Title", "Other"];
337
- export declare const FORMAT_SUBTYPE_VALUES: readonly ["Article", "LiveArticle", "SpecialArticle", "Podcast", "Episode", "Audiobook", "AudiobookSample", "Movie", "Series", "Story", "Unknown", "Video"];
338
- export declare const CLIENT_TYPE_VALUES: readonly ["Chrome", "Safari", "Edge", "Firefox", "Samsung", "NativeScreen", "Webview", "Other"];
339
- export declare const DEVICE_TYPE_VALUES: readonly ["Desktop", "Mobile", "Tablet", "SmartTv", "Other"];
340
- export declare const OPERATING_SYSTEM_VALUES: readonly ["Windows", "Mac", "Linux", "iOS", "Android", "Other"];
341
- export declare const SCREEN_ORIENTATION_VALUES: readonly ["Portrait", "Landscape"];
342
- export declare const VIEWPORT_SIZE_VALUES: readonly ["XS", "S", "M", "L", "XL"];
343
- export declare const ACTION_VALUES: readonly ["Click", "Scroll", "Drag", "Drop", "DoubleClick"];
344
- export declare const FOOD_TYPE_VALUES: readonly ["Foodstuff", "Recipe", "Calories", "FoodItemCombo"];
345
- export declare const UNIT_TYPE_VALUES: readonly ["Weight", "Volume", "Custom"];
346
- export declare const PHYSICAL_ACTIVITY_TYPE_VALUES: readonly ["Activity", "Calories", "ExternalActivity"];
347
- export declare const PAGE_TYPE_VALUES: readonly ["Article", "AudioPage", "Error", "Frontpage", "HealthPage", "Landingpage", "Listing", "LockedArticle", "LockedAudioPage", "LockedVideoPage", "Login", "Page", "SportsPage", "Title", "VideoPage", "Weather"];
348
- export declare const COLUMN_NAME_VALUES: readonly ["main", "aside"];
349
- export declare const FOLD_POSITION_VALUES: readonly ["Above", "Below", "Unknown"];
350
- export declare const PRIMARY_AXIS_VALUES: readonly ["Horizontal", "Vertical"];
351
- export declare const STAGE_VALUES: readonly ["Dev", "Test", "Pro"];
352
- export declare const SPORT_EVENT_COVERAGE_VALUES: readonly ["Manual", "SemiAutomatic", "Automatic"];
353
- export declare const SPORT_EVENT_STATUS_VALUES: readonly ["NotStarted", "InProgress", "Finished", "Postponed", "Canceled", "StartDelayed", "Interrupted", "Abandoned"];
354
- export declare const SPORT_SUBVIEW_VALUES: readonly ["Schedule", "Info", "Tournaments", "Season", "Lineups", "Person", "Team", "Report", "Standings", "Statistics", "CupTree", "MedalTable", "UserProfile", "PredictionsGame", "Overview", "Squad", "Rankings", "Ratings", "Liveblog", "News", "Leagues", "League", "Profile"];
355
- export declare const SPORT_VIEW_VALUES: readonly ["Person", "Tournament", "Season", "UserProfile", "PredictionsGame", "Schedule", "Event", "Team", "Tournaments", "Studio"];
356
- export declare const USER_THEME_VALUES: readonly ["Light", "Dark", "System", "Other"];
357
- export declare const TRACKER_TYPE_VALUES: readonly ["JS", "IOS", "Android", "Backend"];
358
- export declare const REGION_VALUES: readonly ["Norway", "Sweden", "Finland"];
359
- export declare const UTM_MEDIUM_VALUES: readonly ["Organic", "Cpc", "Email", "Social", "Referral", "Display", "Affiliate", "Video", "Internal"];
360
- export declare const CATALOG_VERSION: "2.9.3";
332
+ readonly eventType: 'View';
333
+ readonly object: {
334
+ readonly objectType: 'Weather';
335
+ };
336
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.10.0/schemas/ViewWeather.json';
337
+ };
338
+ export declare const ADVERTISING_VALUES: readonly ['Accepted', 'Rejected', 'Unknown'];
339
+ export declare const ANALYTICS_VALUES: readonly ['Accepted', 'Rejected', 'Unknown'];
340
+ export declare const MARKETING_VALUES: readonly ['Accepted', 'Rejected', 'Unknown'];
341
+ export declare const PERSONALIZATION_VALUES: readonly ['Accepted', 'Rejected', 'Unknown'];
342
+ export declare const ACCESS_LEVEL_VALUES: readonly ['Free', 'Login', 'Meter', 'Paid'];
343
+ export declare const FORMAT_VALUES: readonly ['Article', 'Audio', 'Video', 'Weather', 'Title', 'Other'];
344
+ export declare const FORMAT_SUBTYPE_VALUES: readonly ['Article', 'LiveArticle', 'SpecialArticle', 'Podcast', 'Episode', 'Audiobook', 'AudiobookSample', 'Movie', 'Series', 'Story', 'Unknown', 'Video'];
345
+ export declare const CLIENT_TYPE_VALUES: readonly ['Chrome', 'Safari', 'Edge', 'Firefox', 'Samsung', 'NativeScreen', 'Webview', 'Other'];
346
+ export declare const DEVICE_TYPE_VALUES: readonly ['Desktop', 'Mobile', 'Tablet', 'SmartTv', 'Other'];
347
+ export declare const OPERATING_SYSTEM_VALUES: readonly ['Windows', 'Mac', 'Linux', 'iOS', 'Android', 'Other'];
348
+ export declare const SCREEN_ORIENTATION_VALUES: readonly ['Portrait', 'Landscape'];
349
+ export declare const VIEWPORT_SIZE_VALUES: readonly ['XS', 'S', 'M', 'L', 'XL'];
350
+ export declare const ACTION_VALUES: readonly ['Click', 'Scroll', 'Drag', 'Drop', 'DoubleClick'];
351
+ export declare const FOOD_TYPE_VALUES: readonly ['Foodstuff', 'Recipe', 'Calories', 'FoodItemCombo'];
352
+ export declare const UNIT_TYPE_VALUES: readonly ['Weight', 'Volume', 'Custom'];
353
+ export declare const PHYSICAL_ACTIVITY_TYPE_VALUES: readonly ['Activity', 'Calories', 'ExternalActivity'];
354
+ export declare const PAGE_TYPE_VALUES: readonly ['Article', 'AudioPage', 'Error', 'Frontpage', 'HealthPage', 'Landingpage', 'Listing', 'LockedArticle', 'LockedAudioPage', 'LockedVideoPage', 'Login', 'Page', 'SportsPage', 'Title', 'VideoPage', 'Weather'];
355
+ export declare const COLUMN_NAME_VALUES: readonly ['main', 'aside'];
356
+ export declare const FOLD_POSITION_VALUES: readonly ['Above', 'Below', 'Unknown'];
357
+ export declare const PRIMARY_AXIS_VALUES: readonly ['Horizontal', 'Vertical'];
358
+ export declare const STAGE_VALUES: readonly ['Dev', 'Pre', 'Pro'];
359
+ export declare const SPORT_EVENT_COVERAGE_VALUES: readonly ['Manual', 'SemiAutomatic', 'Automatic'];
360
+ export declare const SPORT_EVENT_STATUS_VALUES: readonly ['NotStarted', 'InProgress', 'Finished', 'Postponed', 'Canceled', 'StartDelayed', 'Interrupted', 'Abandoned'];
361
+ export declare const SPORT_SUBVIEW_VALUES: readonly ['Schedule', 'Info', 'Tournaments', 'Season', 'Lineups', 'Person', 'Team', 'Report', 'Standings', 'Statistics', 'CupTree', 'MedalTable', 'UserProfile', 'PredictionsGame', 'Overview', 'Squad', 'Rankings', 'Ratings', 'Liveblog', 'News', 'Leagues', 'League', 'Profile'];
362
+ export declare const SPORT_VIEW_VALUES: readonly ['Person', 'Tournament', 'Season', 'UserProfile', 'PredictionsGame', 'Schedule', 'Event', 'Team', 'Tournaments', 'Studio'];
363
+ export declare const USER_THEME_VALUES: readonly ['Light', 'Dark', 'System', 'Other'];
364
+ export declare const ROUTING_STAGE_VALUES: readonly ['Dev', 'Pre', 'Pro'];
365
+ export declare const TRACKER_TYPE_VALUES: readonly ['JS', 'IOS', 'Android', 'Backend'];
366
+ export declare const REGION_VALUES: readonly ['Norway', 'Sweden', 'Finland'];
367
+ export declare const UTM_MEDIUM_VALUES: readonly ['Organic', 'Cpc', 'Email', 'Social', 'Referral', 'Display', 'Affiliate', 'Video', 'Internal'];
368
+ export declare const CATALOG_VERSION: '2.10.0';
@@ -6,6 +6,7 @@ import type {
6
6
  IEngagementHealthUIElement,
7
7
  IEngagementOffer,
8
8
  IEngagementTeaser,
9
+ IEngagementTvModule,
9
10
  IEngagementUIElement,
10
11
  IEngagementVideo,
11
12
  IEngagementVideoAd,
@@ -56,6 +57,7 @@ export type ITpaasEvent =
56
57
  | IEngagementHealthUIElement
57
58
  | IEngagementOffer
58
59
  | IEngagementTeaser
60
+ | IEngagementTvModule
59
61
  | IEngagementUIElement
60
62
  | IEngagementVideo
61
63
  | IEngagementVideoAd
@@ -207,12 +207,6 @@ export interface IEngagementAudio {
207
207
  referrer?: IPageRef;
208
208
  utm?: IUtmTags;
209
209
  };
210
- placement: {
211
- /**
212
- * ContainerName is the name of the UI container/module in which the player renders (not the player type or content type).
213
- */
214
- containerName: string;
215
- };
216
210
  provider: IProvider;
217
211
  /**
218
212
  * URL to the JSON schema for this event.
@@ -52,6 +52,11 @@ export interface IEngagementTeaser {
52
52
  * The size of the component.
53
53
  */
54
54
  elementSize?: 'XS' | 'S' | 'M' | 'L' | 'XL';
55
+ /**
56
+ * The URL to the teaser image.
57
+ * @example "https://akamai.vgc.no/v2/images/bf0b043a-beb4-382a-be20-89bba60bdc44?fit=crop&format=auto&w=1440&s=183a09a7662535f456fa261fb7cc4f8af6a55aa1"
58
+ */
59
+ imageUrl?: string;
55
60
  /**
56
61
  * The name of the component.
57
62
  */
@@ -68,6 +73,10 @@ export interface IEngagementTeaser {
68
73
  * The type of the component.
69
74
  */
70
75
  objectType: 'Teaser';
76
+ /**
77
+ * The name of the company that sponsored the Teaser. Omitted if it was not sponsored.
78
+ */
79
+ sponsor?: string;
71
80
  /**
72
81
  * The title of the teaser.
73
82
  */