@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
@@ -6,119 +6,112 @@ export declare const AnonymousViewUIElement: {
6
6
  readonly object: {
7
7
  readonly objectType: "UIElement";
8
8
  };
9
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/AnonymousViewUIElement.json";
9
+ readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/AnonymousViewUIElement.json";
10
10
  };
11
11
  export declare const CancelSubscription: {
12
12
  readonly eventType: "Cancel";
13
13
  readonly object: {
14
14
  readonly objectType: "Subscription";
15
15
  };
16
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/CancelSubscription.json";
16
+ readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/CancelSubscription.json";
17
17
  };
18
18
  export declare const ChangePushNotificationSettings: {
19
19
  readonly eventType: "Change";
20
20
  readonly object: {
21
21
  readonly objectType: "PushNotificationSettings";
22
22
  };
23
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/ChangePushNotificationSettings.json";
23
+ readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ChangePushNotificationSettings.json";
24
24
  };
25
25
  export declare const CompletedHealthAction: {
26
26
  readonly eventType: "Completed";
27
27
  readonly object: {
28
28
  readonly objectType: "HealthAction";
29
29
  };
30
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/CompletedHealthAction.json";
30
+ readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/CompletedHealthAction.json";
31
31
  };
32
32
  export declare const EngagementAudio: {
33
33
  readonly eventType: "Engagement";
34
34
  readonly object: {
35
35
  readonly objectType: "Audio";
36
36
  };
37
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/EngagementAudio.json";
37
+ readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/EngagementAudio.json";
38
38
  };
39
39
  export declare const EngagementForm: {
40
40
  readonly eventType: "Engagement";
41
41
  readonly object: {
42
42
  readonly objectType: "Form";
43
43
  };
44
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/EngagementForm.json";
44
+ readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/EngagementForm.json";
45
45
  };
46
46
  export declare const EngagementHealthUIElement: {
47
47
  readonly eventType: "Engagement";
48
48
  readonly object: {
49
49
  readonly objectType: "HealthUIElement";
50
50
  };
51
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/EngagementHealthUIElement.json";
51
+ readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/EngagementHealthUIElement.json";
52
52
  };
53
53
  export declare const EngagementNotification: {
54
54
  readonly eventType: "Engagement";
55
55
  readonly object: {
56
56
  readonly objectType: "Notification";
57
57
  };
58
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/EngagementNotification.json";
58
+ readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/EngagementNotification.json";
59
59
  };
60
60
  export declare const EngagementOffer: {
61
61
  readonly eventType: "Engagement";
62
62
  readonly object: {
63
63
  readonly objectType: "Offer";
64
64
  };
65
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/EngagementOffer.json";
65
+ readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/EngagementOffer.json";
66
66
  };
67
67
  export declare const EngagementTeaser: {
68
68
  readonly eventType: "Engagement";
69
69
  readonly object: {
70
70
  readonly objectType: "Teaser";
71
71
  };
72
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/EngagementTeaser.json";
72
+ readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/EngagementTeaser.json";
73
73
  };
74
74
  export declare const EngagementUIElement: {
75
75
  readonly eventType: "Engagement";
76
76
  readonly object: {
77
77
  readonly objectType: "UIElement";
78
78
  };
79
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/EngagementUIElement.json";
79
+ readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/EngagementUIElement.json";
80
80
  };
81
81
  export declare const EngagementVideo: {
82
82
  readonly eventType: "Engagement";
83
83
  readonly object: {
84
84
  readonly objectType: "Video";
85
85
  };
86
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/EngagementVideo.json";
86
+ readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/EngagementVideo.json";
87
87
  };
88
88
  export declare const EngagementVideoAd: {
89
89
  readonly eventType: "Engagement";
90
90
  readonly object: {
91
91
  readonly objectType: "VideoAd";
92
92
  };
93
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/EngagementVideoAd.json";
93
+ readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/EngagementVideoAd.json";
94
94
  };
95
95
  export declare const EngagementWidget: {
96
96
  readonly eventType: "Engagement";
97
97
  readonly object: {
98
98
  readonly objectType: "Widget";
99
99
  };
100
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/EngagementWidget.json";
101
- };
102
- export declare const ImpressionAdSlot: {
103
- readonly eventType: "Impression";
104
- readonly object: {
105
- readonly objectType: "AdSlot";
106
- };
107
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/ImpressionAdSlot.json";
100
+ readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/EngagementWidget.json";
108
101
  };
109
102
  export declare const ImpressionForm: {
110
103
  readonly eventType: "Impression";
111
104
  readonly object: {
112
105
  readonly objectType: "Form";
113
106
  };
114
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/ImpressionForm.json";
107
+ readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ImpressionForm.json";
115
108
  };
116
109
  export declare const ImpressionHealthUIElement: {
117
110
  readonly eventType: "Impression";
118
111
  readonly object: {
119
112
  readonly objectType: "HealthUIElement";
120
113
  };
121
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/ImpressionHealthUIElement.json";
114
+ readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ImpressionHealthUIElement.json";
122
115
  };
123
116
  export declare const ImpressionNotification: {
124
117
  readonly eventType: "Impression";
@@ -126,301 +119,266 @@ export declare const ImpressionNotification: {
126
119
  readonly name: "PushNotification";
127
120
  readonly objectType: "Notification";
128
121
  };
129
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/ImpressionNotification.json";
122
+ readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ImpressionNotification.json";
130
123
  };
131
124
  export declare const ImpressionOffer: {
132
125
  readonly eventType: "Impression";
133
126
  readonly object: {
134
127
  readonly objectType: "Offer";
135
128
  };
136
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/ImpressionOffer.json";
129
+ readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ImpressionOffer.json";
137
130
  };
138
131
  export declare const ImpressionPlayer: {
139
132
  readonly eventType: "Impression";
140
133
  readonly object: {
141
134
  readonly objectType: "Player";
142
135
  };
143
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/ImpressionPlayer.json";
136
+ readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ImpressionPlayer.json";
144
137
  };
145
138
  export declare const ImpressionTeaser: {
146
139
  readonly eventType: "Impression";
147
140
  readonly object: {
148
141
  readonly objectType: "Teaser";
149
142
  };
150
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/ImpressionTeaser.json";
143
+ readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ImpressionTeaser.json";
151
144
  };
152
145
  export declare const ImpressionUIElement: {
153
146
  readonly eventType: "Impression";
154
147
  readonly object: {
155
148
  readonly objectType: "UIElement";
156
149
  };
157
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/ImpressionUIElement.json";
150
+ readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ImpressionUIElement.json";
158
151
  };
159
152
  export declare const ImpressionWidget: {
160
153
  readonly eventType: "Impression";
161
154
  readonly object: {
162
155
  readonly objectType: "Widget";
163
156
  };
164
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/ImpressionWidget.json";
157
+ readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ImpressionWidget.json";
158
+ };
159
+ export declare const InternalAccessDecision: {
160
+ readonly eventType: "Internal";
161
+ readonly object: {
162
+ readonly objectType: "AccessDecision";
163
+ };
164
+ readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/InternalAccessDecision.json";
165
165
  };
166
166
  export declare const InternalProbe: {
167
167
  readonly eventType: "Internal";
168
168
  readonly object: {
169
169
  readonly objectType: "Probe";
170
170
  };
171
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/InternalProbe.json";
171
+ readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/InternalProbe.json";
172
172
  };
173
173
  export declare const LaunchApp: {
174
174
  readonly eventType: "Launch";
175
175
  readonly object: {
176
176
  readonly objectType: "App";
177
177
  };
178
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/LaunchApp.json";
178
+ readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LaunchApp.json";
179
179
  };
180
180
  export declare const LeaveArticle: {
181
181
  readonly eventType: "Leave";
182
182
  readonly object: {
183
183
  readonly objectType: "Article";
184
184
  };
185
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/LeaveArticle.json";
185
+ readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LeaveArticle.json";
186
186
  };
187
187
  export declare const LeaveAudioPage: {
188
188
  readonly eventType: "Leave";
189
189
  readonly object: {
190
190
  readonly objectType: "AudioPage";
191
191
  };
192
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/LeaveAudioPage.json";
192
+ readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LeaveAudioPage.json";
193
193
  };
194
194
  export declare const LeaveError: {
195
195
  readonly eventType: "Leave";
196
196
  readonly object: {
197
197
  readonly objectType: "Error";
198
198
  };
199
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/LeaveError.json";
199
+ readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LeaveError.json";
200
200
  };
201
201
  export declare const LeaveFrontpage: {
202
202
  readonly eventType: "Leave";
203
203
  readonly object: {
204
204
  readonly objectType: "Frontpage";
205
205
  };
206
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/LeaveFrontpage.json";
206
+ readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LeaveFrontpage.json";
207
207
  };
208
208
  export declare const LeaveLandingpage: {
209
209
  readonly eventType: "Leave";
210
210
  readonly object: {
211
211
  readonly objectType: "Landingpage";
212
212
  };
213
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/LeaveLandingpage.json";
213
+ readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LeaveLandingpage.json";
214
214
  };
215
215
  export declare const LeaveListing: {
216
216
  readonly eventType: "Leave";
217
217
  readonly object: {
218
218
  readonly objectType: "Listing";
219
219
  };
220
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/LeaveListing.json";
220
+ readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LeaveListing.json";
221
221
  };
222
222
  export declare const LeaveLockedArticle: {
223
223
  readonly eventType: "Leave";
224
224
  readonly object: {
225
225
  readonly objectType: "LockedArticle";
226
226
  };
227
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/LeaveLockedArticle.json";
228
- };
229
- export declare const LeaveLockedAudio: {
230
- readonly eventType: "Leave";
231
- readonly object: {
232
- readonly objectType: "LockedAudio";
233
- };
234
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/LeaveLockedAudio.json";
227
+ readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LeaveLockedArticle.json";
235
228
  };
236
229
  export declare const LeaveLockedAudioPage: {
237
230
  readonly eventType: "Leave";
238
231
  readonly object: {
239
232
  readonly objectType: "LockedAudioPage";
240
233
  };
241
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/LeaveLockedAudioPage.json";
242
- };
243
- export declare const LeaveLockedVideo: {
244
- readonly eventType: "Leave";
245
- readonly object: {
246
- readonly objectType: "LockedVideo";
247
- };
248
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/LeaveLockedVideo.json";
234
+ readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LeaveLockedAudioPage.json";
249
235
  };
250
236
  export declare const LeaveLockedVideoPage: {
251
237
  readonly eventType: "Leave";
252
238
  readonly object: {
253
239
  readonly objectType: "LockedVideoPage";
254
240
  };
255
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/LeaveLockedVideoPage.json";
241
+ readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LeaveLockedVideoPage.json";
256
242
  };
257
243
  export declare const LeavePage: {
258
244
  readonly eventType: "Leave";
259
245
  readonly object: {
260
246
  readonly objectType: "Page";
261
247
  };
262
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/LeavePage.json";
248
+ readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LeavePage.json";
263
249
  };
264
250
  export declare const LeaveSportsPage: {
265
251
  readonly eventType: "Leave";
266
252
  readonly object: {
267
253
  readonly objectType: "SportsPage";
268
254
  };
269
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/LeaveSportsPage.json";
255
+ readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LeaveSportsPage.json";
270
256
  };
271
257
  export declare const LeaveVideoPage: {
272
258
  readonly eventType: "Leave";
273
259
  readonly object: {
274
260
  readonly objectType: "VideoPage";
275
261
  };
276
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/LeaveVideoPage.json";
262
+ readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LeaveVideoPage.json";
277
263
  };
278
264
  export declare const LeaveWeather: {
279
265
  readonly eventType: "Leave";
280
266
  readonly object: {
281
267
  readonly objectType: "Weather";
282
268
  };
283
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/LeaveWeather.json";
269
+ readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LeaveWeather.json";
284
270
  };
285
271
  export declare const PurchaseSubscription: {
286
272
  readonly eventType: "Purchase";
287
273
  readonly object: {
288
274
  readonly objectType: "Subscription";
289
275
  };
290
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/PurchaseSubscription.json";
276
+ readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/PurchaseSubscription.json";
291
277
  };
292
278
  export declare const ViewArticle: {
293
279
  readonly eventType: "View";
294
280
  readonly object: {
295
281
  readonly objectType: "Article";
296
282
  };
297
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/ViewArticle.json";
298
- };
299
- export declare const ViewAudio: {
300
- readonly eventType: "View";
301
- readonly object: {
302
- readonly objectType: "Audio";
303
- };
304
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/ViewAudio.json";
283
+ readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewArticle.json";
305
284
  };
306
285
  export declare const ViewAudioPage: {
307
286
  readonly eventType: "View";
308
287
  readonly object: {
309
288
  readonly objectType: "AudioPage";
310
289
  };
311
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/ViewAudioPage.json";
290
+ readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewAudioPage.json";
312
291
  };
313
292
  export declare const ViewError: {
314
293
  readonly eventType: "View";
315
294
  readonly object: {
316
295
  readonly objectType: "Error";
317
296
  };
318
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/ViewError.json";
297
+ readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewError.json";
319
298
  };
320
299
  export declare const ViewFrontpage: {
321
300
  readonly eventType: "View";
322
301
  readonly object: {
323
302
  readonly objectType: "Frontpage";
324
303
  };
325
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/ViewFrontpage.json";
304
+ readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewFrontpage.json";
326
305
  };
327
306
  export declare const ViewHealthPage: {
328
307
  readonly eventType: "View";
329
308
  readonly object: {
330
309
  readonly objectType: "HealthPage";
331
310
  };
332
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/ViewHealthPage.json";
311
+ readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewHealthPage.json";
333
312
  };
334
313
  export declare const ViewLandingpage: {
335
314
  readonly eventType: "View";
336
315
  readonly object: {
337
316
  readonly objectType: "Landingpage";
338
317
  };
339
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/ViewLandingpage.json";
318
+ readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewLandingpage.json";
340
319
  };
341
320
  export declare const ViewListing: {
342
321
  readonly eventType: "View";
343
322
  readonly object: {
344
323
  readonly objectType: "Listing";
345
324
  };
346
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/ViewListing.json";
325
+ readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewListing.json";
347
326
  };
348
327
  export declare const ViewLockedArticle: {
349
328
  readonly eventType: "View";
350
329
  readonly object: {
351
330
  readonly objectType: "LockedArticle";
352
331
  };
353
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/ViewLockedArticle.json";
354
- };
355
- export declare const ViewLockedAudio: {
356
- readonly eventType: "View";
357
- readonly object: {
358
- readonly objectType: "LockedAudio";
359
- };
360
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/ViewLockedAudio.json";
332
+ readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewLockedArticle.json";
361
333
  };
362
334
  export declare const ViewLockedAudioPage: {
363
335
  readonly eventType: "View";
364
336
  readonly object: {
365
337
  readonly objectType: "LockedAudioPage";
366
338
  };
367
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/ViewLockedAudioPage.json";
368
- };
369
- export declare const ViewLockedVideo: {
370
- readonly eventType: "View";
371
- readonly object: {
372
- readonly objectType: "LockedVideo";
373
- };
374
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/ViewLockedVideo.json";
339
+ readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewLockedAudioPage.json";
375
340
  };
376
341
  export declare const ViewLockedVideoPage: {
377
342
  readonly eventType: "View";
378
343
  readonly object: {
379
344
  readonly objectType: "LockedVideoPage";
380
345
  };
381
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/ViewLockedVideoPage.json";
346
+ readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewLockedVideoPage.json";
382
347
  };
383
348
  export declare const ViewPage: {
384
349
  readonly eventType: "View";
385
350
  readonly object: {
386
351
  readonly objectType: "Page";
387
352
  };
388
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/ViewPage.json";
353
+ readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewPage.json";
389
354
  };
390
355
  export declare const ViewSportsPage: {
391
356
  readonly eventType: "View";
392
357
  readonly object: {
393
358
  readonly objectType: "SportsPage";
394
359
  };
395
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/ViewSportsPage.json";
360
+ readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewSportsPage.json";
396
361
  };
397
362
  export declare const ViewTitle: {
398
363
  readonly eventType: "View";
399
364
  readonly object: {
400
365
  readonly objectType: "Title";
401
366
  };
402
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/ViewTitle.json";
403
- };
404
- export declare const ViewVideo: {
405
- readonly eventType: "View";
406
- readonly object: {
407
- readonly objectType: "Video";
408
- };
409
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/ViewVideo.json";
367
+ readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewTitle.json";
410
368
  };
411
369
  export declare const ViewVideoPage: {
412
370
  readonly eventType: "View";
413
371
  readonly object: {
414
372
  readonly objectType: "VideoPage";
415
373
  };
416
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/ViewVideoPage.json";
374
+ readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewVideoPage.json";
417
375
  };
418
376
  export declare const ViewWeather: {
419
377
  readonly eventType: "View";
420
378
  readonly object: {
421
379
  readonly objectType: "Weather";
422
380
  };
423
- readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/ViewWeather.json";
381
+ readonly schema: "https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewWeather.json";
424
382
  };
425
383
  export declare const ADVERTISING_VALUES: readonly [
426
384
  "Accepted",
@@ -511,20 +469,20 @@ export declare const ACTION_VALUES: readonly [
511
469
  ];
512
470
  export declare const PAGE_TYPE_VALUES: readonly [
513
471
  "Article",
514
- "Audio",
472
+ "AudioPage",
515
473
  "Error",
516
474
  "Frontpage",
517
475
  "HealthPage",
518
476
  "Landingpage",
519
477
  "Listing",
520
478
  "LockedArticle",
521
- "LockedAudio",
522
- "LockedVideo",
479
+ "LockedAudioPage",
480
+ "LockedVideoPage",
523
481
  "Login",
524
482
  "Page",
525
483
  "SportsPage",
526
484
  "Title",
527
- "Video",
485
+ "VideoPage",
528
486
  "Weather"
529
487
  ];
530
488
  export declare const COLUMN_NAME_VALUES: readonly [
@@ -601,7 +559,7 @@ export declare const UTM_MEDIUM_VALUES: readonly [
601
559
  "Video",
602
560
  "Internal"
603
561
  ];
604
- export declare const CATALOG_VERSION: "2.5.0";
562
+ export declare const CATALOG_VERSION: "2.6.0";
605
563
  /* eslint-disable */
606
564
  /**
607
565
  * This file was automatically generated by json-schema-to-typescript.
@@ -640,7 +598,7 @@ export type IExperiments = {
640
598
  * and run json-schema-to-typescript to regenerate this file.
641
599
  */
642
600
  /**
643
- * A reference to another (internal) page.
601
+ * A reference to a page.
644
602
  */
645
603
  export interface IPageRef {
646
604
  /**
@@ -648,9 +606,9 @@ export interface IPageRef {
648
606
  */
649
607
  pageId?: string;
650
608
  /**
651
- * The event type of the base pageview.
609
+ * The object type of the base pageview.
652
610
  */
653
- pageType?: "Article" | "Audio" | "Error" | "Frontpage" | "HealthPage" | "Landingpage" | "Listing" | "LockedArticle" | "LockedAudio" | "LockedVideo" | "Login" | "Page" | "SportsPage" | "Title" | "Video" | "Weather";
611
+ pageType?: "Article" | "AudioPage" | "Error" | "Frontpage" | "HealthPage" | "Landingpage" | "Listing" | "LockedArticle" | "LockedAudioPage" | "LockedVideoPage" | "Login" | "Page" | "SportsPage" | "Title" | "VideoPage" | "Weather";
654
612
  /**
655
613
  * The URL of the page.
656
614
  */
@@ -800,6 +758,10 @@ export interface ITracker {
800
758
  * A view event when Consents are not yet decided (example: tracking the view of a cookie consent popup). Note: currently only used on Web. In this case, the SDK has restrictions on storage/cookies and is unable to provide user or device related fields.
801
759
  */
802
760
  export interface IAnonymousViewUIElement {
761
+ /**
762
+ * The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
763
+ */
764
+ catalogVersion: string;
803
765
  /**
804
766
  * The unique identifier for the event.
805
767
  */
@@ -898,6 +860,10 @@ export interface IUser {
898
860
  * Backend event for cancelled subscriptions.
899
861
  */
900
862
  export interface ICancelSubscription {
863
+ /**
864
+ * The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
865
+ */
866
+ catalogVersion: string;
901
867
  consents?: IConsents;
902
868
  device?: {
903
869
  /**
@@ -1091,6 +1057,10 @@ export interface ISession {
1091
1057
  * Tracking whether the user have enabled or disabled push notifications.
1092
1058
  */
1093
1059
  export interface IChangePushNotificationSettings {
1060
+ /**
1061
+ * The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
1062
+ */
1063
+ catalogVersion: string;
1094
1064
  consents: IConsents;
1095
1065
  device: IDevice;
1096
1066
  /**
@@ -1108,6 +1078,10 @@ export interface IChangePushNotificationSettings {
1108
1078
  * The push topics the user have enabled.
1109
1079
  */
1110
1080
  enabledTopics: string[];
1081
+ /**
1082
+ * Whether the user have enabled or disabled push notifications.
1083
+ */
1084
+ isPushEnabled: boolean;
1111
1085
  /**
1112
1086
  * The type of the object.
1113
1087
  */
@@ -1190,6 +1164,10 @@ export interface IContent {
1190
1164
  * Tracking when a user completes health-related actions within a health application. This includes both simple actions (logged food, scanned barcode) and complex multi-step processes (started new program, achieved goals). Only used by Vektklubb/Wellobe.
1191
1165
  */
1192
1166
  export interface ICompletedHealthAction {
1167
+ /**
1168
+ * The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
1169
+ */
1170
+ catalogVersion: string;
1193
1171
  consents: IConsents;
1194
1172
  device: IDevice;
1195
1173
  /**
@@ -1283,6 +1261,10 @@ export interface ICompletedHealthAction {
1283
1261
  * Audio usage and heartbeats.
1284
1262
  */
1285
1263
  export interface IEngagementAudio {
1264
+ /**
1265
+ * The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
1266
+ */
1267
+ catalogVersion: string;
1286
1268
  consents: IConsents;
1287
1269
  device: IDevice;
1288
1270
  /**
@@ -1300,7 +1282,7 @@ export interface IEngagementAudio {
1300
1282
  /**
1301
1283
  * Semantic event type (e.g. "start" (first start), "replay", “pause”. "next", "stop" etc.).
1302
1284
  */
1303
- engagementType?: "Start" | "Replay" | "Pause" | "Resume" | "Next" | "Stop" | "Cancel" | "Error" | "Seek" | "Watch";
1285
+ engagementType?: "Start" | "Replay" | "Pause" | "Resume" | "Next" | "Stop" | "Cancel" | "Error" | "Seek" | "Watch" | "Load";
1304
1286
  };
1305
1287
  /**
1306
1288
  * The unique identifier for the event.
@@ -1311,20 +1293,57 @@ export interface IEngagementAudio {
1311
1293
  */
1312
1294
  eventType: "Engagement";
1313
1295
  experiments?: IExperiments;
1314
- metrics?: IMetrics;
1315
- object: {
1296
+ /**
1297
+ * Type of user interaction with the audio
1298
+ */
1299
+ interaction?: {
1316
1300
  /**
1317
- * ContainerName is the name of the UI container/module in which the player renders (not the player type or content type).
1301
+ * How the audio is consumed by the user at any given time
1318
1302
  */
1319
- containerName: string;
1303
+ displayMode: "Normal" | "Fullscreen" | "Minimized" | "Background" | "Chromecast" | "Airplay" | "Carplay";
1304
+ /**
1305
+ * True if the audio is muted
1306
+ */
1307
+ isMuted: boolean;
1320
1308
  /**
1321
- * The context in which the recommendation was made.
1309
+ * Indicates how the audio started
1322
1310
  */
1323
- curateContext?: string;
1311
+ playType: "Autoplay" | "ClickToPlay" | "ScrollToPlay";
1324
1312
  /**
1325
- * How the content is presented on the page.
1313
+ * The current playback speed
1326
1314
  */
1327
- displayMode: "Normal" | "Fullscreen" | "Minimized" | "Background" | "Chromecast" | "Airplay" | "Carplay";
1315
+ playbackSpeed?: number;
1316
+ /**
1317
+ * The offset of the current playback from the start of the audio in milliseconds
1318
+ */
1319
+ positionMs: number;
1320
+ /**
1321
+ * The playback position in the audio where the current play segment started. For the first segment it equals the start position, and after a seek it equals the seek-from position
1322
+ */
1323
+ prevPositionMs: string;
1324
+ /**
1325
+ * The playback position (in milliseconds) the user initiated the seek (timeline jump) from. Only included when engagement.type = "seek"
1326
+ */
1327
+ seekFromMs?: number;
1328
+ /**
1329
+ * The playback position (in milliseconds) the user sought to. Only included when engagement.type = "seek"
1330
+ */
1331
+ seekToMs?: number;
1332
+ /**
1333
+ * How much time user has spent on the playback (in milliseconds) regardless of seeking, pausing etc
1334
+ */
1335
+ viewtimeMs: number;
1336
+ };
1337
+ metrics?: IMetrics;
1338
+ object: {
1339
+ /**
1340
+ * The editorial category of this audio
1341
+ */
1342
+ category: string;
1343
+ /**
1344
+ * ContainerName is the name of the UI container/module in which the player renders (not the player type or content type).
1345
+ */
1346
+ containerName: string;
1328
1347
  /**
1329
1348
  * The total duration of the audio in milliseconds. Use -1 for live streams with unknown duration.
1330
1349
  */
@@ -1334,9 +1353,21 @@ export interface IEngagementAudio {
1334
1353
  */
1335
1354
  elementSize?: "XS" | "S" | "M" | "L" | "XL";
1336
1355
  /**
1337
- * True if the audio is muted.
1356
+ * The UI surface or context from which the audio playback was initiated, such as the frontpage, an article embed, podcast-page or play-next etc
1338
1357
  */
1339
- isMuted: boolean;
1358
+ entryPoint: string;
1359
+ /**
1360
+ * Which episode
1361
+ */
1362
+ episode?: string;
1363
+ /**
1364
+ * Audio thumbnail from Stream to use in (Kilkaya) dashboards
1365
+ */
1366
+ imageUrl: string;
1367
+ /**
1368
+ * True if audio is accesible for the user
1369
+ */
1370
+ isAccessible: boolean;
1340
1371
  /**
1341
1372
  * The name of the audio.
1342
1373
  */
@@ -1351,13 +1382,13 @@ export interface IEngagementAudio {
1351
1382
  objectSdrn: string;
1352
1383
  objectType: "Audio";
1353
1384
  /**
1354
- * Indicates how the audio started.
1385
+ * Indicates how the audio is configured to start
1355
1386
  */
1356
- playType: "Autoplay" | "ClickToPlay" | "ScrollToPlay";
1387
+ playTypeIntent: "Autoplay" | "ClickToPlay" | "ScrollToPlay";
1357
1388
  /**
1358
- * The current playback speed.
1389
+ * The type of player exposed to the user
1359
1390
  */
1360
- playbackSpeed?: number;
1391
+ player: "VideoPlayer" | "StoriesPlayer" | "AudioPlayer" | "TtsPlayer";
1361
1392
  /**
1362
1393
  * A unique ID for this player instance.
1363
1394
  */
@@ -1367,37 +1398,26 @@ export interface IEngagementAudio {
1367
1398
  */
1368
1399
  playlistId?: string;
1369
1400
  /**
1370
- * The unique ID for this audio when published at PodMe.
1401
+ * The unique ID for this audio when published in PodMe.
1371
1402
  */
1372
1403
  podmeId?: string;
1373
- /**
1374
- * The offset of the current playback from the start of the audio in milliseconds.
1375
- */
1376
- positionMs: number;
1377
- /**
1378
- * The playback position in the audio where the current play segment started. For the first segment it equals the start position, and after a seek it equals the seek-from position.
1379
- */
1380
- prevPositionMs: number;
1381
1404
  /**
1382
1405
  * The position of the audio in the playlist.
1383
1406
  */
1384
1407
  queuePosition?: number;
1385
1408
  /**
1386
- * The playback position (in milliseconds) the user initiated the seek (timeline jump) from. Only included when engagement.type = "seek"
1409
+ * Which season
1387
1410
  */
1388
- seekFromMs?: number;
1411
+ season?: string;
1389
1412
  /**
1390
- * The playback position (in milliseconds) the user sought to. Only included when engagement.type = "seek"
1413
+ * Follow accesslevel from Stream (viewer access)
1391
1414
  */
1392
- seekToMs?: number;
1415
+ streamAccessLevel: string;
1393
1416
  /**
1394
1417
  * Reflects the stream type as defined in Stream at the time of playback.
1395
1418
  */
1396
1419
  streamType: string;
1397
- /**
1398
- * How much time user has spent on the playback (in milliseconds) regardless of seeking, pausing etc.
1399
- */
1400
- userDurationMs: number;
1420
+ tags?: string[];
1401
1421
  /**
1402
1422
  * Type of audio. Fetched from content type in Stream.
1403
1423
  */
@@ -1446,6 +1466,10 @@ export interface IEngagement {
1446
1466
  * Interaction with a form component.
1447
1467
  */
1448
1468
  export interface IEngagementForm {
1469
+ /**
1470
+ * The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
1471
+ */
1472
+ catalogVersion: string;
1449
1473
  consents: IConsents;
1450
1474
  device: IDevice;
1451
1475
  engagement: IEngagement;
@@ -1530,6 +1554,10 @@ export interface IEngagementForm {
1530
1554
  * Tracking user interactions with UI elements within health applications. This includes clicks, scrolls, drags and other user engagement actions with buttons, items, content cards, and other interactive elements. Only used by the Vektklubb/Wellobe projects.
1531
1555
  */
1532
1556
  export interface IEngagementHealthUIElement {
1557
+ /**
1558
+ * The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
1559
+ */
1560
+ catalogVersion: string;
1533
1561
  consents: IConsents;
1534
1562
  device: IDevice;
1535
1563
  engagement: IEngagement;
@@ -1625,6 +1653,10 @@ export interface IEngagementHealthUIElement {
1625
1653
  * Interaction with a push notification.
1626
1654
  */
1627
1655
  export interface IEngagementNotification {
1656
+ /**
1657
+ * The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
1658
+ */
1659
+ catalogVersion: string;
1628
1660
  consents: IConsents;
1629
1661
  device: IDevice;
1630
1662
  engagement: IEngagement;
@@ -1693,6 +1725,10 @@ export interface IEngagementNotification {
1693
1725
  * Interaction with an offer event.
1694
1726
  */
1695
1727
  export interface IEngagementOffer {
1728
+ /**
1729
+ * The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
1730
+ */
1731
+ catalogVersion: string;
1696
1732
  consents: IConsents;
1697
1733
  device: IDevice;
1698
1734
  engagement: IEngagement;
@@ -1802,6 +1838,10 @@ export interface IPlacement {
1802
1838
  * An interaction with a teaser component.
1803
1839
  */
1804
1840
  export interface IEngagementTeaser {
1841
+ /**
1842
+ * The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
1843
+ */
1844
+ catalogVersion: string;
1805
1845
  consents: IConsents;
1806
1846
  device: IDevice;
1807
1847
  engagement: IEngagement;
@@ -1852,14 +1892,6 @@ export interface IEngagementTeaser {
1852
1892
  * The parent’s primary direction along which components are laid out.
1853
1893
  */
1854
1894
  primaryAxis: "Horizontal" | "Vertical";
1855
- /**
1856
- * The position of this component along the primary axis.
1857
- */
1858
- primaryPosition: number;
1859
- /**
1860
- * The position of this component along the secondary axis.
1861
- */
1862
- secondaryPosition: number;
1863
1895
  /**
1864
1896
  * The title of the teaser.
1865
1897
  */
@@ -1894,6 +1926,10 @@ export interface IEngagementTeaser {
1894
1926
  * Interaction with a UIElement.
1895
1927
  */
1896
1928
  export interface IEngagementUIElement {
1929
+ /**
1930
+ * The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
1931
+ */
1932
+ catalogVersion: string;
1897
1933
  consents: IConsents;
1898
1934
  device: IDevice;
1899
1935
  engagement: IEngagement;
@@ -1968,6 +2004,10 @@ export interface IEngagementUIElement {
1968
2004
  * Video usage and heartbeats.
1969
2005
  */
1970
2006
  export interface IEngagementVideo {
2007
+ /**
2008
+ * The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
2009
+ */
2010
+ catalogVersion: string;
1971
2011
  consents: IConsents;
1972
2012
  device: IDevice;
1973
2013
  /**
@@ -1985,7 +2025,7 @@ export interface IEngagementVideo {
1985
2025
  /**
1986
2026
  * Semantic event type (e.g. "start" (first start), "replay", “pause”. "next", "stop" etc.).
1987
2027
  */
1988
- engagementType?: "Start" | "Replay" | "Pause" | "Resume" | "Next" | "Stop" | "Cancel" | "Error" | "Seek" | "Watch" | "Prev";
2028
+ engagementType?: "Start" | "Replay" | "Pause" | "Resume" | "Next" | "Stop" | "Cancel" | "Error" | "Seek" | "Watch" | "Prev" | "Load";
1989
2029
  };
1990
2030
  /**
1991
2031
  * The unique identifier for the event.
@@ -1996,20 +2036,69 @@ export interface IEngagementVideo {
1996
2036
  */
1997
2037
  eventType: "Engagement";
1998
2038
  experiments?: IExperiments;
2039
+ /**
2040
+ * Type of user interaction with the video
2041
+ */
2042
+ interaction?: {
2043
+ /**
2044
+ * How the video is consumed by the user at any given time
2045
+ */
2046
+ displayMode: "Normal" | "Sticky" | "Fullscreen" | "Overlay" | "Minimized" | "PictureInPicture" | "Chromecast" | "Airplay" | "Carplay" | "Background" | "Floating";
2047
+ /**
2048
+ * True if the video is muted.
2049
+ */
2050
+ isMuted: boolean;
2051
+ /**
2052
+ * The number of times the video has automatically repeated itself.
2053
+ */
2054
+ loopCount?: number;
2055
+ /**
2056
+ * Indicates how the video started.
2057
+ */
2058
+ playType: "Autoplay" | "ClickToPlay" | "ScrollToPlay";
2059
+ /**
2060
+ * The current playback speed.
2061
+ */
2062
+ playbackSpeed?: number;
2063
+ /**
2064
+ * The offset of the current playback from the start of the video in milliseconds.
2065
+ */
2066
+ positionMs: number;
2067
+ /**
2068
+ * The playback position in the video where the current play segment started. For the first segment it equals the start position, and after a seek it equals the seek-from position.
2069
+ */
2070
+ prevPositionMs: number;
2071
+ /**
2072
+ * The current playback quality.
2073
+ */
2074
+ quality?: string;
2075
+ /**
2076
+ * The playback position (in milliseconds) the user initiated the seek (timeline jump) from. Only included when engagement.type = "seek"
2077
+ */
2078
+ seekFromMs?: number;
2079
+ /**
2080
+ * The playback position (in milliseconds) the user sought to. Only included when engagement.type = "seek"
2081
+ */
2082
+ seekToMs?: number;
2083
+ /**
2084
+ * How much time user has spent on the playback (in milliseconds) regardless of seeking, pausing etc.
2085
+ */
2086
+ viewTimeMs: number;
2087
+ };
1999
2088
  metrics?: IMetrics;
2000
2089
  object: {
2001
2090
  /**
2002
- * ContainerName is the name of the UI container/module in which the player renders (not the player type or content type).
2091
+ * Numeric value of the video aspect ratio
2003
2092
  */
2004
- containerName: string;
2093
+ aspectRatio: number;
2005
2094
  /**
2006
- * The context in which the recommendation was made.
2095
+ * The editorial category of this video
2007
2096
  */
2008
- curateContext?: string;
2097
+ category: string;
2009
2098
  /**
2010
- * How the content is presented on the page.
2099
+ * ContainerName is the name of the UI container/module in which the player renders (not the player type or content type).
2011
2100
  */
2012
- displayMode: "Normal" | "Sticky" | "Fullscreen" | "Overlay" | "Minimized" | "PictureInPicture" | "Chromecast" | "Airplay" | "Carplay" | "Background" | "Floating";
2101
+ containerName: string;
2013
2102
  /**
2014
2103
  * The total duration of the video in milliseconds. Use -1 for live streams with unknown duration.
2015
2104
  */
@@ -2018,6 +2107,22 @@ export interface IEngagementVideo {
2018
2107
  * The size of the player.
2019
2108
  */
2020
2109
  elementSize?: "XS" | "S" | "M" | "L" | "XL";
2110
+ /**
2111
+ * The UI surface or context from which the video playback was initiated, such as the frontpage, an article embed, a stories feed, a carousel, or play-next etc
2112
+ */
2113
+ entryPoint: string;
2114
+ /**
2115
+ * Which episode
2116
+ */
2117
+ episode?: string;
2118
+ /**
2119
+ * Video thumbnail from Stream to use in (Kilkaya) dashboards
2120
+ */
2121
+ imageUrl: string;
2122
+ /**
2123
+ * True if the video is accessible for the user
2124
+ */
2125
+ isAccessible: boolean;
2021
2126
  /**
2022
2127
  * True if the video is an ad published through editorial CMS and not Xandr.
2023
2128
  */
@@ -2026,18 +2131,10 @@ export interface IEngagementVideo {
2026
2131
  * True if the video has loop
2027
2132
  */
2028
2133
  isLoop: boolean;
2029
- /**
2030
- * True if the video is muted.
2031
- */
2032
- isMuted: boolean;
2033
2134
  /**
2034
2135
  * True if video is sponsored.
2035
2136
  */
2036
2137
  isSponsored: boolean;
2037
- /**
2038
- * The number of times the video has automatically repeated itself.
2039
- */
2040
- loopCount?: number;
2041
2138
  /**
2042
2139
  * The name of the video.
2043
2140
  */
@@ -2055,13 +2152,13 @@ export interface IEngagementVideo {
2055
2152
  */
2056
2153
  objectType: "Video";
2057
2154
  /**
2058
- * Indicates how the video started.
2155
+ * Indicates how the video is configured to start
2059
2156
  */
2060
- playType: "Autoplay" | "ClickToPlay" | "ScrollToPlay";
2157
+ playTypeIntent: "Autoplay" | "ClickToPlay" | "ScrollToPlay";
2061
2158
  /**
2062
- * The current playback speed.
2159
+ * The type of player exposed to the user
2063
2160
  */
2064
- playbackSpeed?: number;
2161
+ player: "VideoPlayer" | "StoriesPlayer" | "AudioPlayer" | "TtsPlayer";
2065
2162
  /**
2066
2163
  * A unique ID for this player instance.
2067
2164
  */
@@ -2070,38 +2167,23 @@ export interface IEngagementVideo {
2070
2167
  * The ID of the playlist.
2071
2168
  */
2072
2169
  playlistId?: string;
2073
- /**
2074
- * The offset of the current playback from the start of the video in milliseconds.
2075
- */
2076
- positionMs: number;
2077
- /**
2078
- * The playback position in the video where the current play segment started. For the first segment it equals the start position, and after a seek it equals the seek-from position.
2079
- */
2080
- prevPositionMs: number;
2081
- /**
2082
- * The current playback quality.
2083
- */
2084
- quality?: string;
2085
2170
  /**
2086
2171
  * The position of the video in the playlist.
2087
2172
  */
2088
2173
  queuePosition?: number;
2089
2174
  /**
2090
- * The playback position (in milliseconds) the user initiated the seek (timeline jump) from. Only included when engagement.type = "seek"
2175
+ * Which season
2091
2176
  */
2092
- seekFromMs?: number;
2177
+ season?: string;
2093
2178
  /**
2094
- * The playback position (in milliseconds) the user sought to. Only included when engagement.type = "seek"
2179
+ * Follow accesslevel from Stream (viewer access)
2095
2180
  */
2096
- seekToMs?: number;
2181
+ streamAccessLevel: string;
2097
2182
  /**
2098
2183
  * Reflects the stream type as defined in Stream at the time of playback.
2099
2184
  */
2100
2185
  streamType: string;
2101
- /**
2102
- * How much time user has spent on the playback (in milliseconds) regardless of seeking, pausing etc.
2103
- */
2104
- userDurationMs: number;
2186
+ tags?: string[];
2105
2187
  /**
2106
2188
  * Type of video. Fetched from content type in Stream.
2107
2189
  */
@@ -2134,6 +2216,10 @@ export interface IEngagementVideo {
2134
2216
  * Events for ads from Xandr.
2135
2217
  */
2136
2218
  export interface IEngagementVideoAd {
2219
+ /**
2220
+ * The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
2221
+ */
2222
+ catalogVersion: string;
2137
2223
  consents: IConsents;
2138
2224
  device: IDevice;
2139
2225
  /**
@@ -2162,6 +2248,20 @@ export interface IEngagementVideoAd {
2162
2248
  */
2163
2249
  eventType: "Engagement";
2164
2250
  experiments?: IExperiments;
2251
+ /**
2252
+ * Type of user interaction with the video ad
2253
+ *
2254
+ */
2255
+ interaction?: {
2256
+ /**
2257
+ * True if the ad is muted.
2258
+ */
2259
+ isMuted: boolean;
2260
+ /**
2261
+ * Position (in milliseconds) for when the ad is skipped, stopped or completed.
2262
+ */
2263
+ positionMs: number;
2264
+ };
2165
2265
  object: {
2166
2266
  /**
2167
2267
  * Duration of this specific ad in milliseconds. If the duration is unknown or not provided by the ad server, the fallback is -1.
@@ -2196,11 +2296,7 @@ export interface IEngagementVideoAd {
2196
2296
  */
2197
2297
  containerName: string;
2198
2298
  /**
2199
- * True if the ad is muted.
2200
- */
2201
- isMuted: boolean;
2202
- /**
2203
- * The identifier of the asset the ad belongs to.
2299
+ * The identifier of the asset the ad belongs to.
2204
2300
  */
2205
2301
  mediaAssetId: string;
2206
2302
  /**
@@ -2223,10 +2319,6 @@ export interface IEngagementVideoAd {
2223
2319
  * A unique ID for this player instance.
2224
2320
  */
2225
2321
  playerId: string;
2226
- /**
2227
- * Position for when the ad is skipped, stopped or completed.
2228
- */
2229
- positionMs: number;
2230
2322
  };
2231
2323
  page: {
2232
2324
  content?: IContent;
@@ -2255,6 +2347,10 @@ export interface IEngagementVideoAd {
2255
2347
  * Interaction with a widget component.
2256
2348
  */
2257
2349
  export interface IEngagementWidget {
2350
+ /**
2351
+ * The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
2352
+ */
2353
+ catalogVersion: string;
2258
2354
  consents: IConsents;
2259
2355
  device: IDevice;
2260
2356
  engagement: IEngagement;
@@ -2296,14 +2392,6 @@ export interface IEngagementWidget {
2296
2392
  * The parent’s primary direction along which components are laid out.
2297
2393
  */
2298
2394
  primaryAxis?: "Horizontal" | "Vertical";
2299
- /**
2300
- * The position of this component along the primary axis.
2301
- */
2302
- primaryPosition: number;
2303
- /**
2304
- * The position of this component along the secondary axis.
2305
- */
2306
- secondaryPosition: number;
2307
2395
  };
2308
2396
  page: {
2309
2397
  content?: IContent;
@@ -2330,60 +2418,14 @@ export interface IEngagementWidget {
2330
2418
  tracker: ITracker;
2331
2419
  user?: IUser;
2332
2420
  }
2333
- /**
2334
- * A space where an advertisement can be served.
2335
- */
2336
- export interface IImpressionAdSlot {
2337
- consents: IConsents;
2338
- device: IDevice;
2339
- /**
2340
- * The unique identifier for the event.
2341
- */
2342
- eventId: string;
2343
- /**
2344
- * The type of the event.
2345
- */
2346
- eventType: "Impression";
2347
- experiments?: IExperiments;
2348
- object: {
2349
- availableFormats: ("Preroll" | "Bumper" | "Board" | "Netboard" | "Wallpaper" | "Fullscreen" | "BannerXL" | "Broadband" | "Skyscraper" | "Horseshoe" | "PauseBanner" | "Snapchat" | "FoodChannel")[];
2350
- /**
2351
- * The type of the object.
2352
- */
2353
- objectType: "AdSlot";
2354
- /**
2355
- * The identifier of the player.
2356
- */
2357
- playerId: string;
2358
- /**
2359
- * The identifier of the ad request.
2360
- */
2361
- queuePointId: string;
2362
- };
2363
- page: {
2364
- content?: IContent;
2365
- info: IPageRef;
2366
- /**
2367
- * The pageviewID.
2368
- */
2369
- pageviewId: string;
2370
- referrer?: IPageRef;
2371
- utm?: IUtmTags;
2372
- };
2373
- provider: IProvider;
2374
- /**
2375
- * URL to the JSON schema for this event.
2376
- */
2377
- schema: string;
2378
- session: ISession;
2379
- time: ITime;
2380
- tracker: ITracker;
2381
- user?: IUser;
2382
- }
2383
2421
  /**
2384
2422
  * A form field to collect declared data.
2385
2423
  */
2386
2424
  export interface IImpressionForm {
2425
+ /**
2426
+ * The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
2427
+ */
2428
+ catalogVersion: string;
2387
2429
  consents: IConsents;
2388
2430
  device: IDevice;
2389
2431
  /**
@@ -2471,6 +2513,10 @@ export interface IImpressionForm {
2471
2513
  * An event to track when a user views specific health-related content ui elements such as popups, modals, tooltips, educational ui content, or interactive health components within a page or app. Only used by the Vektklubb/Wellobe projects.
2472
2514
  */
2473
2515
  export interface IImpressionHealthUIElement {
2516
+ /**
2517
+ * The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
2518
+ */
2519
+ catalogVersion: string;
2474
2520
  consents: IConsents;
2475
2521
  device: IDevice;
2476
2522
  /**
@@ -2572,6 +2618,10 @@ export interface IImpressionHealthUIElement {
2572
2618
  * The user saw a push notification on mobile. (push received, Android only)
2573
2619
  */
2574
2620
  export interface IImpressionNotification {
2621
+ /**
2622
+ * The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
2623
+ */
2624
+ catalogVersion: string;
2575
2625
  consents: IConsents;
2576
2626
  device: IDevice;
2577
2627
  /**
@@ -2637,6 +2687,10 @@ export interface IImpressionNotification {
2637
2687
  * A widget asking the user to buy a subscription, often with some discount or other perks.
2638
2688
  */
2639
2689
  export interface IImpressionOffer {
2690
+ /**
2691
+ * The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
2692
+ */
2693
+ catalogVersion: string;
2640
2694
  consents: IConsents;
2641
2695
  device: IDevice;
2642
2696
  /**
@@ -2689,7 +2743,7 @@ export interface IImpressionOffer {
2689
2743
  /**
2690
2744
  * The variant/layout of the offer.
2691
2745
  */
2692
- offerType: "Login" | "Meter" | "Paid";
2746
+ offerType?: "Login" | "Meter" | "Paid";
2693
2747
  };
2694
2748
  page: {
2695
2749
  content?: IContent;
@@ -2719,6 +2773,10 @@ export interface IImpressionOffer {
2719
2773
  * A component used for video and audio/TTS playbacks with metadata about the player.
2720
2774
  */
2721
2775
  export interface IImpressionPlayer {
2776
+ /**
2777
+ * The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
2778
+ */
2779
+ catalogVersion: string;
2722
2780
  consents: IConsents;
2723
2781
  device: IDevice;
2724
2782
  /**
@@ -2745,11 +2803,11 @@ export interface IImpressionPlayer {
2745
2803
  */
2746
2804
  foldPosition: "Above" | "Below" | "Unknown";
2747
2805
  /**
2748
- * The unique ID of the embedded asset ready to play in the player.
2806
+ * The unique ID of the embedded asset (not ads from Xandr) ready to play in the player.
2749
2807
  */
2750
2808
  mediaAssetId: string;
2751
2809
  /**
2752
- * The name of the embedded asset. Fallback is -1 when name is not available.
2810
+ * The name of the embedded asset (not ads from Xandr). Fallback is -1 when name is not available.
2753
2811
  */
2754
2812
  mediaAssetName: string;
2755
2813
  /**
@@ -2763,15 +2821,15 @@ export interface IImpressionPlayer {
2763
2821
  /**
2764
2822
  * The type of player exposed to the user.
2765
2823
  */
2824
+ player: "VideoPlayer" | "StoriesPlayer" | "AudioPlayer" | "TtsPlayer";
2825
+ /**
2826
+ * The type of player engine exposed to the user.
2827
+ */
2766
2828
  playerEngine: "WebPlayer" | "AppPlayer";
2767
2829
  /**
2768
2830
  * A unique ID for this player instance.
2769
2831
  */
2770
2832
  playerId: string;
2771
- /**
2772
- * The type of player exposed to the user.
2773
- */
2774
- playerType: "VideoPlayer" | "StoriesPlayer" | "AudioPlayer" | "TtsPlayer";
2775
2833
  };
2776
2834
  page: {
2777
2835
  content?: IContent;
@@ -2798,6 +2856,10 @@ export interface IImpressionPlayer {
2798
2856
  * A widget promoting content.
2799
2857
  */
2800
2858
  export interface IImpressionTeaser {
2859
+ /**
2860
+ * The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
2861
+ */
2862
+ catalogVersion: string;
2801
2863
  consents: IConsents;
2802
2864
  device: IDevice;
2803
2865
  /**
@@ -2851,14 +2913,6 @@ export interface IImpressionTeaser {
2851
2913
  * The parent’s primary direction along which components are laid out.
2852
2914
  */
2853
2915
  primaryAxis: "Horizontal" | "Vertical";
2854
- /**
2855
- * The position of this component along the primary axis.
2856
- */
2857
- primaryPosition: number;
2858
- /**
2859
- * The position of this component along the secondary axis.
2860
- */
2861
- secondaryPosition: number;
2862
2916
  /**
2863
2917
  * The title of the teaser.
2864
2918
  */
@@ -2893,6 +2947,10 @@ export interface IImpressionTeaser {
2893
2947
  * An interactive element within a component or page, e.g., a button, link, or form field.
2894
2948
  */
2895
2949
  export interface IImpressionUIElement {
2950
+ /**
2951
+ * The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
2952
+ */
2953
+ catalogVersion: string;
2896
2954
  consents: IConsents;
2897
2955
  device: IDevice;
2898
2956
  /**
@@ -2974,6 +3032,10 @@ export interface IImpressionUIElement {
2974
3032
  * A reusable component on a page.
2975
3033
  */
2976
3034
  export interface IImpressionWidget {
3035
+ /**
3036
+ * The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
3037
+ */
3038
+ catalogVersion: string;
2977
3039
  consents: IConsents;
2978
3040
  device: IDevice;
2979
3041
  /**
@@ -3019,14 +3081,6 @@ export interface IImpressionWidget {
3019
3081
  * The parent’s primary direction along which components are laid out.
3020
3082
  */
3021
3083
  primaryAxis: "Horizontal" | "Vertical";
3022
- /**
3023
- * The position of this component along the primary axis.
3024
- */
3025
- primaryPosition: number;
3026
- /**
3027
- * The position of this component along the secondary axis.
3028
- */
3029
- secondaryPosition: number;
3030
3084
  };
3031
3085
  page: {
3032
3086
  content?: IContent;
@@ -3053,6 +3107,157 @@ export interface IImpressionWidget {
3053
3107
  tracker: ITracker;
3054
3108
  user?: IUser;
3055
3109
  }
3110
+ /**
3111
+ * Backend event from the dynamic paywall decision system, which decides to open or block content for non-subscribers.
3112
+ */
3113
+ export interface IInternalAccessDecision {
3114
+ /**
3115
+ * The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
3116
+ */
3117
+ catalogVersion: string;
3118
+ consents: IConsents;
3119
+ device: {
3120
+ /**
3121
+ * The client used to render the site.
3122
+ */
3123
+ clientType?: "Chrome" | "Safari" | "Edge" | "Firefox" | "Samsung" | "NativeScreen" | "Webview" | "Other";
3124
+ /**
3125
+ * The device’s hardware category.
3126
+ */
3127
+ deviceType?: "Desktop" | "Mobile" | "Tablet" | "SmartTv" | "Other";
3128
+ /**
3129
+ * The environment ID.
3130
+ */
3131
+ environmentId: string;
3132
+ /**
3133
+ * The device’s operating system.
3134
+ */
3135
+ operatingSystem?: "Windows" | "Mac" | "Linux" | "Other";
3136
+ /**
3137
+ * The raw userAgent string, if it exists.
3138
+ */
3139
+ userAgent: string;
3140
+ };
3141
+ /**
3142
+ * The unique identifier for the event.
3143
+ */
3144
+ eventId: string;
3145
+ /**
3146
+ * The type of the event.
3147
+ */
3148
+ eventType: "Internal";
3149
+ experiments?: IExperiments;
3150
+ object: {
3151
+ arm: {
3152
+ /**
3153
+ * Unique ID of the experimental arm the user is assigned to.
3154
+ */
3155
+ armId: string;
3156
+ /**
3157
+ * By which mechanism the user was assigned to the arm.
3158
+ */
3159
+ assignmentSource: "Hash" | "Cache";
3160
+ /**
3161
+ * Complete setup of all arms at time of decision.
3162
+ */
3163
+ config: {
3164
+ armId: string;
3165
+ version: string;
3166
+ weight: number;
3167
+ }[];
3168
+ /**
3169
+ * Unique ID of the arm configuration.
3170
+ */
3171
+ configId: string;
3172
+ /**
3173
+ * End time of the arm assignment in UTC.
3174
+ */
3175
+ endAt: string;
3176
+ /**
3177
+ * Start time of the arm assignment in UTC.
3178
+ */
3179
+ startAt: string;
3180
+ };
3181
+ /**
3182
+ * When the decision system created the decision in UTC.
3183
+ */
3184
+ decidedAt: string;
3185
+ /**
3186
+ * The decision made.
3187
+ */
3188
+ decision: "Open" | "Close" | "Login";
3189
+ /**
3190
+ * Unique ID of the decision.
3191
+ */
3192
+ decisionId: string;
3193
+ /**
3194
+ * Versioning of decision models.
3195
+ */
3196
+ decisionPolicy: string;
3197
+ /**
3198
+ * Categorization of how the decision was made.
3199
+ */
3200
+ decisionType: "RCT" | "Policy" | "Replay" | "Fallback";
3201
+ episode: {
3202
+ /**
3203
+ * End time of the episode in UTC.
3204
+ */
3205
+ endAt: string;
3206
+ /**
3207
+ * Unique ID of the episode.
3208
+ */
3209
+ episodeId: string;
3210
+ /**
3211
+ * Start time of the episode in UTC.
3212
+ */
3213
+ startAt: string;
3214
+ };
3215
+ /**
3216
+ * The type of the object.
3217
+ */
3218
+ objectType: "AccessDecision";
3219
+ /**
3220
+ * ID from SalesPoster service.
3221
+ */
3222
+ requestId: string;
3223
+ };
3224
+ page?: {
3225
+ referrer?: IPageRef;
3226
+ };
3227
+ provider: IProvider;
3228
+ /**
3229
+ * URL to the JSON schema for this event.
3230
+ */
3231
+ schema: string;
3232
+ target: {
3233
+ content: {
3234
+ /**
3235
+ * The access restriction placed on the content.
3236
+ */
3237
+ accessLevel?: "Free" | "Login" | "Meter" | "Paid" | "Dynamic";
3238
+ /**
3239
+ * The format that this content is presented in.
3240
+ */
3241
+ category?: "Article" | "Audio" | "Video" | "Weather" | "Title" | "Other";
3242
+ /**
3243
+ * The identifier of the content.
3244
+ */
3245
+ contentId: string;
3246
+ /**
3247
+ * The subtype of the content.
3248
+ */
3249
+ contentType?: "Article" | "LiveArticle" | "SpecialArticle" | "Podcast" | "Episode" | "Audiobook" | "AudiobookSample" | "Movie" | "Series" | "Story";
3250
+ /**
3251
+ * The id of the provider that requested the access decision and where the result will be shown (svdse). Note: Not the same as .provider.providerId.
3252
+ */
3253
+ providerId: string;
3254
+ tags: string[];
3255
+ };
3256
+ };
3257
+ time: ITime;
3258
+ tracker: ITracker;
3259
+ user?: IUser;
3260
+ }
3056
3261
  /**
3057
3262
  * This file was automatically generated by json-schema-to-typescript.
3058
3263
  * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
@@ -3062,6 +3267,10 @@ export interface IImpressionWidget {
3062
3267
  * Internal Pulse event to calculate pipeline latency
3063
3268
  */
3064
3269
  export interface IInternalProbe {
3270
+ /**
3271
+ * The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
3272
+ */
3273
+ catalogVersion: string;
3065
3274
  /**
3066
3275
  * The unique identifier for the event.
3067
3276
  */
@@ -3095,6 +3304,10 @@ export interface IInternalProbe {
3095
3304
  * Tracking when a mobile app is launched.
3096
3305
  */
3097
3306
  export interface ILaunchApp {
3307
+ /**
3308
+ * The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
3309
+ */
3310
+ catalogVersion: string;
3098
3311
  consents: IConsents;
3099
3312
  device: IDevice;
3100
3313
  /**
@@ -3173,6 +3386,10 @@ export interface ILeave {
3173
3386
  * A user leaving an article page.
3174
3387
  */
3175
3388
  export interface ILeaveArticle {
3389
+ /**
3390
+ * The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
3391
+ */
3392
+ catalogVersion: string;
3176
3393
  consents: IConsents;
3177
3394
  device: IDevice;
3178
3395
  /**
@@ -3186,15 +3403,10 @@ export interface ILeaveArticle {
3186
3403
  experiments?: IExperiments;
3187
3404
  leave: ILeave;
3188
3405
  object: {
3189
- authors: string[];
3190
3406
  /**
3191
3407
  * The editorial category of this article.
3192
3408
  */
3193
3409
  category: string;
3194
- /**
3195
- * The hotness value that was set in the CMS.
3196
- */
3197
- hotness: number;
3198
3410
  /**
3199
3411
  * True if scrolling up/down transitions to the next or previous article.
3200
3412
  */
@@ -3203,10 +3415,6 @@ export interface ILeaveArticle {
3203
3415
  * The publication date of this version of the article.
3204
3416
  */
3205
3417
  lastUpdatedDate: string;
3206
- /**
3207
- * The lifetime value that was set in the CMS.
3208
- */
3209
- lifetime: number;
3210
3418
  /**
3211
3419
  * The newsroom that published the article.
3212
3420
  */
@@ -3227,10 +3435,6 @@ export interface ILeaveArticle {
3227
3435
  * The publication date of the article.
3228
3436
  */
3229
3437
  publicationDate: string;
3230
- /**
3231
- * The name of the company that sponsored the article. Omitted if the article was not sponsored.
3232
- */
3233
- sponsor?: string;
3234
3438
  /**
3235
3439
  * The title of the page.
3236
3440
  */
@@ -3243,10 +3447,6 @@ export interface ILeaveArticle {
3243
3447
  * The version counter of the article.
3244
3448
  */
3245
3449
  versionCounter: number;
3246
- /**
3247
- * The number of words in this version of the article.
3248
- */
3249
- wordCount: number;
3250
3450
  };
3251
3451
  page: {
3252
3452
  content: IContent;
@@ -3304,15 +3504,14 @@ export interface ILeaveAudio {
3304
3504
  */
3305
3505
  playlistPositionPercentage?: number;
3306
3506
  }
3307
- /**
3308
- * This file was automatically generated by json-schema-to-typescript.
3309
- * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
3310
- * and run json-schema-to-typescript to regenerate this file.
3311
- */
3312
3507
  /**
3313
3508
  * A user leaving an audio page.
3314
3509
  */
3315
3510
  export interface ILeaveAudioPage {
3511
+ /**
3512
+ * The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
3513
+ */
3514
+ catalogVersion: string;
3316
3515
  consents: IConsents;
3317
3516
  device: IDevice;
3318
3517
  /**
@@ -3323,8 +3522,10 @@ export interface ILeaveAudioPage {
3323
3522
  * The type of the event.
3324
3523
  */
3325
3524
  eventType: "Leave";
3525
+ experiments?: IExperiments;
3326
3526
  leave: ILeave;
3327
3527
  leaveAudio: ILeaveAudio;
3528
+ metrics?: IMetrics;
3328
3529
  object: {
3329
3530
  /**
3330
3531
  * The location of the page in the brand’s page hierarchy.
@@ -3339,10 +3540,6 @@ export interface ILeaveAudioPage {
3339
3540
  */
3340
3541
  objectSdrn: string;
3341
3542
  objectType: "AudioPage";
3342
- /**
3343
- * The ID of the playlist.
3344
- */
3345
- playlistId?: string;
3346
3543
  /**
3347
3544
  * The title of the page.
3348
3545
  */
@@ -3376,6 +3573,10 @@ export interface ILeaveAudioPage {
3376
3573
  * A user leaves an error page
3377
3574
  */
3378
3575
  export interface ILeaveError {
3576
+ /**
3577
+ * The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
3578
+ */
3579
+ catalogVersion: string;
3379
3580
  consents: IConsents;
3380
3581
  device: IDevice;
3381
3582
  /**
@@ -3445,6 +3646,10 @@ export interface ILeaveError {
3445
3646
  * A user leaves the frontpage.
3446
3647
  */
3447
3648
  export interface ILeaveFrontpage {
3649
+ /**
3650
+ * The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
3651
+ */
3652
+ catalogVersion: string;
3448
3653
  consents: IConsents;
3449
3654
  device: IDevice;
3450
3655
  /**
@@ -3522,6 +3727,10 @@ export interface ILeaveFrontpage {
3522
3727
  * A user leaves a landingpage.
3523
3728
  */
3524
3729
  export interface ILeaveLandingpage {
3730
+ /**
3731
+ * The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
3732
+ */
3733
+ catalogVersion: string;
3525
3734
  consents: IConsents;
3526
3735
  device: IDevice;
3527
3736
  /**
@@ -3587,6 +3796,10 @@ export interface ILeaveLandingpage {
3587
3796
  * A user leaving a listing page.
3588
3797
  */
3589
3798
  export interface ILeaveListing {
3799
+ /**
3800
+ * The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
3801
+ */
3802
+ catalogVersion: string;
3590
3803
  consents: IConsents;
3591
3804
  device: IDevice;
3592
3805
  /**
@@ -3672,6 +3885,10 @@ export interface ILeaveListing {
3672
3885
  * A user leaving a page preventing them from accessing a premium article.
3673
3886
  */
3674
3887
  export interface ILeaveLockedArticle {
3888
+ /**
3889
+ * The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
3890
+ */
3891
+ catalogVersion: string;
3675
3892
  consents: IConsents;
3676
3893
  device: IDevice;
3677
3894
  /**
@@ -3685,15 +3902,10 @@ export interface ILeaveLockedArticle {
3685
3902
  experiments?: IExperiments;
3686
3903
  leave: ILeave;
3687
3904
  object: {
3688
- authors: string[];
3689
3905
  /**
3690
3906
  * The location of the page in the brand’s page hierarchy.
3691
3907
  */
3692
3908
  category: string;
3693
- /**
3694
- * The hotness value that was set in the CMS.
3695
- */
3696
- hotness: number;
3697
3909
  /**
3698
3910
  * True if scrolling up/down transitions to the next or previous article.
3699
3911
  */
@@ -3702,10 +3914,6 @@ export interface ILeaveLockedArticle {
3702
3914
  * The publication date of this version of the article.
3703
3915
  */
3704
3916
  lastUpdatedDate: string;
3705
- /**
3706
- * The lifetime value that was set in the CMS.
3707
- */
3708
- lifetime: number;
3709
3917
  /**
3710
3918
  * The newsroom that published the article.
3711
3919
  */
@@ -3722,6 +3930,10 @@ export interface ILeaveLockedArticle {
3722
3930
  * The type of this page.
3723
3931
  */
3724
3932
  objectType: "LockedArticle";
3933
+ /**
3934
+ * Indicator if the offer was visible at pageload (“above”) or if the user had to scroll to it (“below”).
3935
+ */
3936
+ offerFoldPosition: "Above" | "Below" | "Unknown";
3725
3937
  /**
3726
3938
  * The reason the user saw this paywall instead of the content.
3727
3939
  */
@@ -3730,10 +3942,6 @@ export interface ILeaveLockedArticle {
3730
3942
  * The publication date of the article.
3731
3943
  */
3732
3944
  publicationDate: string;
3733
- /**
3734
- * The name of the company that sponsored the article. Omitted if the article was not sponsored.
3735
- */
3736
- sponsor?: string;
3737
3945
  /**
3738
3946
  * The title of the page.
3739
3947
  */
@@ -3746,10 +3954,6 @@ export interface ILeaveLockedArticle {
3746
3954
  * The version counter of the article.
3747
3955
  */
3748
3956
  versionCounter: number;
3749
- /**
3750
- * The number of words in this version of the article.
3751
- */
3752
- wordCount: number;
3753
3957
  };
3754
3958
  page: {
3755
3959
  content: IContent;
@@ -3778,164 +3982,37 @@ export interface ILeaveLockedArticle {
3778
3982
  /**
3779
3983
  * A user leaving a page preventing them from accessing premium audio content.
3780
3984
  */
3781
- export interface ILeaveLockedAudio {
3985
+ export interface ILeaveLockedAudioPage {
3986
+ /**
3987
+ * The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
3988
+ */
3989
+ catalogVersion: string;
3782
3990
  consents: IConsents;
3783
3991
  device: IDevice;
3784
3992
  /**
3785
- * Event ID
3993
+ * The unique identifier for the event.
3786
3994
  */
3787
3995
  eventId: string;
3788
3996
  /**
3789
- * The type of event.
3997
+ * The type of the event.
3790
3998
  */
3791
3999
  eventType: "Leave";
3792
4000
  experiments?: IExperiments;
3793
4001
  leave: ILeave;
4002
+ metrics?: IMetrics;
3794
4003
  object: {
3795
4004
  /**
3796
- * The editorial category of this audio.
4005
+ * The location of the page in the brand’s page hierarchy.
3797
4006
  */
3798
4007
  category: string;
3799
4008
  /**
3800
- * ContainerName is the name of the UI container/module in which the player renders (not the player type or content type).
4009
+ * True if content is accessible to the user.
3801
4010
  */
3802
- containerName: string;
4011
+ isAccessible: boolean;
3803
4012
  /**
3804
- * The context in which the recommendation was made.
4013
+ * The unique ID of this page.
3805
4014
  */
3806
- curateContext?: string;
3807
- /**
3808
- * The total duration of the audio in milliseconds. Use -1 for live streams with unknown duration.
3809
- */
3810
- durationMs: number;
3811
- /**
3812
- * The UI surface or context from which the audio playback was initiated, such as the frontpage, an article embed, podcast-page or play-next etc.
3813
- */
3814
- entryPoint: string;
3815
- /**
3816
- * Which episode.
3817
- */
3818
- episode?: string;
3819
- /**
3820
- * Audio thumbnail from Stream to use in (Kilkaya) dashboards.
3821
- */
3822
- imageUrl: string;
3823
- /**
3824
- * True if the audio is accessible to the user.
3825
- */
3826
- isAccessible: boolean;
3827
- /**
3828
- * The name of the audio.
3829
- */
3830
- name: string;
3831
- /**
3832
- * The unique ID of this audio.
3833
- */
3834
- objectId: string;
3835
- /**
3836
- * The unique SDRN of this audio.
3837
- */
3838
- objectSdrn: string;
3839
- objectType: "LockedAudio";
3840
- /**
3841
- * The reason the user saw this paywall instead of the content.
3842
- */
3843
- paywallType: "Paid" | "Metered" | "Login" | "Free" | "Dynamic";
3844
- /**
3845
- * Indicates how the audio is configured to start.
3846
- */
3847
- playTypeIntent: "Autoplay" | "ClickToPlay" | "ScrollToPlay";
3848
- /**
3849
- * A unique ID for this player instance.
3850
- */
3851
- playerId: string;
3852
- /**
3853
- * The ID of the playlist.
3854
- */
3855
- playlistId?: string;
3856
- /**
3857
- * The unique ID for this audio when published at PodMe.
3858
- */
3859
- podmeId?: string;
3860
- /**
3861
- * The position of the audio in the playlist.
3862
- */
3863
- queuePosition?: number;
3864
- /**
3865
- * Which season.
3866
- */
3867
- season?: string;
3868
- /**
3869
- * Follow accesslevel from Stream (viewer access).
3870
- */
3871
- streamAccessLevel: string;
3872
- /**
3873
- * Reflects the stream type as defined in Stream at the time of playback.
3874
- */
3875
- streamType: string;
3876
- tags?: string[];
3877
- /**
3878
- * Type of audio. Fetched from content type in Stream.
3879
- */
3880
- variant: string;
3881
- };
3882
- page: {
3883
- content?: IContent;
3884
- info: IPageRef;
3885
- /**
3886
- * The browser navigation that got the user to the current page.
3887
- */
3888
- navigationType: "Navigate" | "Reload" | "BackForward" | "Prerender";
3889
- /**
3890
- * The pageviewID.
3891
- */
3892
- pageviewId: string;
3893
- referrer?: IPageRef;
3894
- utm?: IUtmTags;
3895
- };
3896
- provider: IProvider;
3897
- /**
3898
- * The schema of the event.
3899
- */
3900
- schema: string;
3901
- session: ISession;
3902
- time: ITime;
3903
- tracker: ITracker;
3904
- user?: IUser;
3905
- }
3906
- /**
3907
- * This file was automatically generated by json-schema-to-typescript.
3908
- * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
3909
- * and run json-schema-to-typescript to regenerate this file.
3910
- */
3911
- /**
3912
- * A user leaving a page preventing them from accessing premium audio content.
3913
- */
3914
- export interface ILeaveLockedAudioPage {
3915
- consents: IConsents;
3916
- device: IDevice;
3917
- /**
3918
- * The unique identifier for the event.
3919
- */
3920
- eventId: string;
3921
- /**
3922
- * The type of the event.
3923
- */
3924
- eventType: "Leave";
3925
- leave: ILeave;
3926
- object: {
3927
- /**
3928
- * The location of the page in the brand’s page hierarchy.
3929
- */
3930
- category: string;
3931
- /**
3932
- * True if content is accessible to the user.
3933
- */
3934
- isAccessible: boolean;
3935
- /**
3936
- * The unique ID of this page.
3937
- */
3938
- objectId: string;
4015
+ objectId: string;
3939
4016
  /**
3940
4017
  * The unique SDRN of this page.
3941
4018
  */
@@ -3980,146 +4057,11 @@ export interface ILeaveLockedAudioPage {
3980
4057
  /**
3981
4058
  * A user leaving a page preventing them from accessing premium video content.
3982
4059
  */
3983
- export interface ILeaveLockedVideo {
3984
- consents: IConsents;
3985
- device: IDevice;
3986
- /**
3987
- * Event ID
3988
- */
3989
- eventId: string;
3990
- /**
3991
- * The type of event.
3992
- */
3993
- eventType: "Leave";
3994
- experiments?: IExperiments;
3995
- leave: ILeave;
3996
- object: {
3997
- /**
3998
- * Numeric value of the video aspect ratio.
3999
- */
4000
- aspectRatio: number;
4001
- /**
4002
- * The editorial category of this video.
4003
- */
4004
- category: string;
4005
- /**
4006
- * ContainerName is the name of the UI container/module in which the player renders (not the player type or content type).
4007
- */
4008
- containerName: string;
4009
- /**
4010
- * The context in which the recommendation was made.
4011
- */
4012
- curateContext?: string;
4013
- /**
4014
- * The total duration of the video in milliseconds. Use -1 for live streams with unknown duration.
4015
- */
4016
- durationMs: number;
4017
- /**
4018
- * The UI surface or context from which the video playback was initiated, such as the frontpage, an article embed, a stories feed, a carousel, or play-next etc.
4019
- */
4020
- entryPoint: string;
4021
- /**
4022
- * Which episode.
4023
- */
4024
- episode?: string;
4025
- /**
4026
- * Video thumbnail from Stream to use in (Kilkaya) dashboards.
4027
- */
4028
- imageUrl: string;
4029
- /**
4030
- * True if the content is accessible to the user.
4031
- */
4032
- isAccessible: boolean;
4033
- /**
4034
- * The name of the video.
4035
- */
4036
- name: string;
4037
- /**
4038
- * The unique ID of this video.
4039
- */
4040
- objectId: string;
4041
- /**
4042
- * The unique SDRN for this video.
4043
- */
4044
- objectSdrn: string;
4045
- /**
4046
- * The type of the object.
4047
- */
4048
- objectType: "LockedVideo";
4049
- /**
4050
- * The reason the user saw this paywall instead of the content.
4051
- */
4052
- paywallType: "Paid" | "Metered" | "Login" | "Free" | "Dynamic";
4053
- /**
4054
- * Indicates how the video is configured to start.
4055
- */
4056
- playTypeIntent: "Autoplay" | "ClickToPlay" | "ScrollToPlay";
4057
- /**
4058
- * A unique ID for this player instance.
4059
- */
4060
- playerId: string;
4061
- /**
4062
- * The ID of the playlist.
4063
- */
4064
- playlistId?: string;
4065
- /**
4066
- * The position of the video in the playlist.
4067
- */
4068
- queuePosition?: number;
4069
- /**
4070
- * Which season.
4071
- */
4072
- season?: string;
4073
- /**
4074
- * Follow accesslevel from Stream (viewer access).
4075
- */
4076
- streamAccessLevel: string;
4077
- /**
4078
- * Reflects the stream type as defined in Stream at the time of playback.
4079
- */
4080
- streamType: string;
4081
- /**
4082
- * Tags from Stream.
4083
- */
4084
- tags?: string[];
4085
- /**
4086
- * Type of video. Fetched from content type in Stream.
4087
- */
4088
- variant: string;
4089
- };
4090
- page: {
4091
- content?: IContent;
4092
- info: IPageRef;
4093
- /**
4094
- * The browser navigation that got the user to the current page.
4095
- */
4096
- navigationType: "Navigate" | "Reload" | "BackForward" | "Prerender";
4097
- /**
4098
- * The pageviewID.
4099
- */
4100
- pageviewId: string;
4101
- referrer?: IPageRef;
4102
- utm?: IUtmTags;
4103
- };
4104
- provider: IProvider;
4060
+ export interface ILeaveLockedVideoPage {
4105
4061
  /**
4106
- * The schema of the event.
4062
+ * The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
4107
4063
  */
4108
- schema: string;
4109
- session: ISession;
4110
- time: ITime;
4111
- tracker: ITracker;
4112
- user?: IUser;
4113
- }
4114
- /**
4115
- * This file was automatically generated by json-schema-to-typescript.
4116
- * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
4117
- * and run json-schema-to-typescript to regenerate this file.
4118
- */
4119
- /**
4120
- * A user leaving a page preventing them from accessing premium video content.
4121
- */
4122
- export interface ILeaveLockedVideoPage {
4064
+ catalogVersion: string;
4123
4065
  consents: IConsents;
4124
4066
  device: IDevice;
4125
4067
  /**
@@ -4130,7 +4072,9 @@ export interface ILeaveLockedVideoPage {
4130
4072
  * The type of the event.
4131
4073
  */
4132
4074
  eventType: "Leave";
4075
+ experiments?: IExperiments;
4133
4076
  leave: ILeave;
4077
+ metrics?: IMetrics;
4134
4078
  object: {
4135
4079
  /**
4136
4080
  * The location of the page in the brand’s page hierarchy.
@@ -4189,6 +4133,10 @@ export interface ILeaveLockedVideoPage {
4189
4133
  * An event tracking the user exiting a generic page.
4190
4134
  */
4191
4135
  export interface ILeavePage {
4136
+ /**
4137
+ * The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
4138
+ */
4139
+ catalogVersion: string;
4192
4140
  consents: IConsents;
4193
4141
  device: IDevice;
4194
4142
  /**
@@ -4212,6 +4160,7 @@ export interface ILeavePage {
4212
4160
  * The type of this page.
4213
4161
  */
4214
4162
  objectType: "Page";
4163
+ tags?: string[];
4215
4164
  /**
4216
4165
  * The title of the page.
4217
4166
  */
@@ -4250,11 +4199,11 @@ export interface ISports {
4250
4199
  /**
4251
4200
  * Unique ID of the athlete.
4252
4201
  */
4253
- atheleteId?: number;
4202
+ athleteId?: number;
4254
4203
  /**
4255
4204
  * Name of the athlete.
4256
4205
  */
4257
- atheleteName?: string;
4206
+ athleteName?: string;
4258
4207
  /**
4259
4208
  * Unique ID of the competition.
4260
4209
  */
@@ -4356,6 +4305,10 @@ export interface ISports {
4356
4305
  * An event tracking the user leaving a sports page.
4357
4306
  */
4358
4307
  export interface ILeaveSportsPage {
4308
+ /**
4309
+ * The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
4310
+ */
4311
+ catalogVersion: string;
4359
4312
  consents: IConsents;
4360
4313
  device: IDevice;
4361
4314
  /**
@@ -4456,14 +4409,13 @@ export interface ILeaveStories {
4456
4409
  storiesStarted: number;
4457
4410
  }
4458
4411
  /**
4459
- * This file was automatically generated by json-schema-to-typescript.
4460
- * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
4461
- * and run json-schema-to-typescript to regenerate this file.
4462
- */
4463
- /**
4464
- * A user leaving a video page.
4412
+ * A user leaving a video page.
4465
4413
  */
4466
4414
  export interface ILeaveVideoPage {
4415
+ /**
4416
+ * The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
4417
+ */
4418
+ catalogVersion: string;
4467
4419
  consents: IConsents;
4468
4420
  device: IDevice;
4469
4421
  /**
@@ -4474,8 +4426,10 @@ export interface ILeaveVideoPage {
4474
4426
  * The type of the event.
4475
4427
  */
4476
4428
  eventType: "Leave";
4429
+ experiments?: IExperiments;
4477
4430
  leave: ILeave;
4478
4431
  leaveStories?: ILeaveStories;
4432
+ metrics?: IMetrics;
4479
4433
  object: {
4480
4434
  /**
4481
4435
  * The location of the page in the brand's page hierarchy.
@@ -4493,10 +4447,6 @@ export interface ILeaveVideoPage {
4493
4447
  * The type of the object.
4494
4448
  */
4495
4449
  objectType: "VideoPage";
4496
- /**
4497
- * The ID of the playlist.
4498
- */
4499
- playlistId?: string;
4500
4450
  /**
4501
4451
  * The title of the page.
4502
4452
  */
@@ -4530,6 +4480,10 @@ export interface ILeaveVideoPage {
4530
4480
  * A user navigating away from a weather page.
4531
4481
  */
4532
4482
  export interface ILeaveWeather {
4483
+ /**
4484
+ * The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
4485
+ */
4486
+ catalogVersion: string;
4533
4487
  consents: IConsents;
4534
4488
  device: IDevice;
4535
4489
  /**
@@ -4562,6 +4516,10 @@ export interface ILeaveWeather {
4562
4516
  * Backend event for purchased subscriptions.
4563
4517
  */
4564
4518
  export interface IPurchaseSubscription {
4519
+ /**
4520
+ * The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
4521
+ */
4522
+ catalogVersion: string;
4565
4523
  consents?: IConsents;
4566
4524
  /**
4567
4525
  * Information about the device.
@@ -4694,6 +4652,10 @@ export interface ILocation {
4694
4652
  * A page dedicated to presenting an article.
4695
4653
  */
4696
4654
  export interface IViewArticle {
4655
+ /**
4656
+ * The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
4657
+ */
4658
+ catalogVersion: string;
4697
4659
  consents: IConsents;
4698
4660
  device: IDevice;
4699
4661
  /**
@@ -4793,134 +4755,14 @@ export interface IViewArticle {
4793
4755
  tracker: ITracker;
4794
4756
  user?: IUser;
4795
4757
  }
4796
- /**
4797
- * Metadata about the audio that is about to play.
4798
- */
4799
- export interface IViewAudio {
4800
- consents: IConsents;
4801
- device: IDevice;
4802
- /**
4803
- * Event ID
4804
- */
4805
- eventId: string;
4806
- eventType: "View";
4807
- experiments?: IExperiments;
4808
- metrics?: IMetrics;
4809
- object: {
4810
- /**
4811
- * The editorial category of this audio.
4812
- */
4813
- category: string;
4814
- /**
4815
- * ContainerName is the name of the UI container/module in which the player renders (not the player type or content type).
4816
- */
4817
- containerName: string;
4818
- /**
4819
- * The context in which the recommendation was made.
4820
- */
4821
- curateContext?: string;
4822
- /**
4823
- * The total duration of the audio in milliseconds. Use -1 for live streams with unknown duration.
4824
- */
4825
- durationMs: number;
4826
- /**
4827
- * The UI surface or context from which the audio playback was initiated, such as the frontpage, an article embed, podcast-page or play-next etc.
4828
- */
4829
- entryPoint: string;
4830
- /**
4831
- * Which episode.
4832
- */
4833
- episode?: string;
4834
- /**
4835
- * Audio thumbnail from Stream to use in (Kilkaya) dashboards.
4836
- */
4837
- imageUrl: string;
4838
- /**
4839
- * True if audio is accessible for the user.
4840
- */
4841
- isAccessible: boolean;
4842
- /**
4843
- * The name of the audio.
4844
- */
4845
- name: string;
4846
- /**
4847
- * The unique ID for this audio.
4848
- */
4849
- objectId: string;
4850
- /**
4851
- * The unique SDRN for this audio.
4852
- */
4853
- objectSdrn: string;
4854
- objectType: "Audio";
4855
- /**
4856
- * Indicates how the audio is configured to start.
4857
- */
4858
- playTypeIntent: "Autoplay" | "ClickToPlay" | "ScrollToPlay";
4859
- /**
4860
- * A unique ID for this player instance.
4861
- */
4862
- playerId: string;
4863
- /**
4864
- * The ID of the playlist.
4865
- */
4866
- playlistId?: string;
4867
- /**
4868
- * The unique ID for this audio when published at PodMe.
4869
- */
4870
- podmeId?: string;
4871
- /**
4872
- * The position of the audio in the playlist.
4873
- */
4874
- queuePosition?: number;
4875
- /**
4876
- * Which season.
4877
- */
4878
- season?: string;
4879
- /**
4880
- * Follow accesslevel from Stream (viewer access).
4881
- */
4882
- streamAccessLevel: string;
4883
- /**
4884
- * Reflects the stream type as defined in Stream at the time of playback.
4885
- */
4886
- streamType: string;
4887
- /**
4888
- * Tags from Stream.
4889
- */
4890
- tags?: string[];
4891
- /**
4892
- * Type of audio. Fetched from content type in Stream.
4893
- */
4894
- variant: string;
4895
- };
4896
- page: {
4897
- content?: IContent;
4898
- info: IPageRef;
4899
- /**
4900
- * The browser navigation that got the user to the current page.
4901
- */
4902
- navigationType: "Navigate" | "Reload" | "BackForward" | "Prerender";
4903
- /**
4904
- * The pageviewID.
4905
- */
4906
- pageviewId: string;
4907
- referrer?: IPageRef;
4908
- utm?: IUtmTags;
4909
- };
4910
- provider: IProvider;
4911
- /**
4912
- * The schema of the event.
4913
- */
4914
- schema: string;
4915
- session: ISession;
4916
- time: ITime;
4917
- tracker: ITracker;
4918
- user?: IUser;
4919
- }
4920
4758
  /**
4921
4759
  * A page allowing the user to access audio content.
4922
4760
  */
4923
4761
  export interface IViewAudioPage {
4762
+ /**
4763
+ * The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
4764
+ */
4765
+ catalogVersion: string;
4924
4766
  consents: IConsents;
4925
4767
  device: IDevice;
4926
4768
  /**
@@ -4983,6 +4825,10 @@ export interface IViewAudioPage {
4983
4825
  * A error page.
4984
4826
  */
4985
4827
  export interface IViewError {
4828
+ /**
4829
+ * The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
4830
+ */
4831
+ catalogVersion: string;
4986
4832
  consents: IConsents;
4987
4833
  device: IDevice;
4988
4834
  /**
@@ -5045,6 +4891,10 @@ export interface IViewError {
5045
4891
  user?: IUser;
5046
4892
  }
5047
4893
  export interface IViewFrontpage {
4894
+ /**
4895
+ * The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
4896
+ */
4897
+ catalogVersion: string;
5048
4898
  consents: IConsents;
5049
4899
  device: IDevice;
5050
4900
  /**
@@ -5123,6 +4973,10 @@ export interface IViewFrontpage {
5123
4973
  * A generic event to track when a user views a health-related page on a website or app. Only used by the Vektklubb/Wellobe projects.
5124
4974
  */
5125
4975
  export interface IViewHealthPage {
4976
+ /**
4977
+ * The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
4978
+ */
4979
+ catalogVersion: string;
5126
4980
  consents: IConsents;
5127
4981
  device: IDevice;
5128
4982
  /**
@@ -5209,6 +5063,10 @@ export interface IViewHealthPage {
5209
5063
  * Prompt a specific action.
5210
5064
  */
5211
5065
  export interface IViewLandingpage {
5066
+ /**
5067
+ * The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
5068
+ */
5069
+ catalogVersion: string;
5212
5070
  consents: IConsents;
5213
5071
  device: IDevice;
5214
5072
  /**
@@ -5262,6 +5120,10 @@ export interface IViewLandingpage {
5262
5120
  * Show a collection of content.
5263
5121
  */
5264
5122
  export interface IViewListing {
5123
+ /**
5124
+ * The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
5125
+ */
5126
+ catalogVersion: string;
5265
5127
  consents: IConsents;
5266
5128
  device: IDevice;
5267
5129
  /**
@@ -5331,311 +5193,7 @@ export interface IViewListing {
5331
5193
  };
5332
5194
  provider: IProvider;
5333
5195
  /**
5334
- * The schema of the event.
5335
- */
5336
- schema: string;
5337
- session: ISession;
5338
- time: ITime;
5339
- tracker: ITracker;
5340
- user?: IUser;
5341
- }
5342
- /**
5343
- * A page preventing the user from accessing article content.
5344
- */
5345
- export interface IViewLockedArticle {
5346
- consents: IConsents;
5347
- device: IDevice;
5348
- /**
5349
- * Event ID
5350
- */
5351
- eventId: string;
5352
- /**
5353
- * The type of the event.
5354
- */
5355
- eventType: "View";
5356
- experiments?: IExperiments;
5357
- object: {
5358
- authors: string[];
5359
- /**
5360
- * The editorial category of this article.
5361
- */
5362
- category: string;
5363
- /**
5364
- * The hotness value that was set in the CMS.
5365
- */
5366
- hotness: number;
5367
- /**
5368
- * True if scrolling up/down transitions to the next or previous article.
5369
- */
5370
- isStacked: boolean;
5371
- /**
5372
- * The publication date of this version of the article.
5373
- */
5374
- lastUpdatedDate: string;
5375
- /**
5376
- * The lifetime value that was set in the CMS.
5377
- */
5378
- lifetime: number;
5379
- /**
5380
- * The newsroom that published the article.
5381
- */
5382
- newsroom: string;
5383
- /**
5384
- * The unique ID of this page.
5385
- */
5386
- objectId: string;
5387
- /**
5388
- * The unique SDRN of this page.
5389
- */
5390
- objectSdrn: string;
5391
- /**
5392
- * The type of this page.
5393
- */
5394
- objectType: "LockedArticle";
5395
- /**
5396
- * The reason the user saw this paywall instead of the content.
5397
- */
5398
- paywallType: "Paid" | "Metered" | "Login" | "Free" | "Dynamic";
5399
- /**
5400
- * The publication date of the article.
5401
- */
5402
- publicationDate: string;
5403
- /**
5404
- * The name of the company that sponsored the article. Omitted if the article was not sponsored.
5405
- */
5406
- sponsor?: string;
5407
- /**
5408
- * The title of the page.
5409
- */
5410
- title: string;
5411
- /**
5412
- * The type of article.
5413
- */
5414
- variant: "Article" | "LiveArticle" | "Special";
5415
- /**
5416
- * The version counter of the article.
5417
- */
5418
- versionCounter: number;
5419
- /**
5420
- * The number of words in this version of the article.
5421
- */
5422
- wordCount: number;
5423
- };
5424
- page: {
5425
- content: IContent;
5426
- info: IPageRef;
5427
- /**
5428
- * The browser navigation that got the user to the current page.
5429
- */
5430
- navigationType: "Navigate" | "Reload" | "BackForward" | "Prerender" | "Scroll";
5431
- /**
5432
- * The pageviewID.
5433
- */
5434
- pageviewId: string;
5435
- referrer?: IPageRef;
5436
- utm?: IUtmTags;
5437
- };
5438
- provider: IProvider;
5439
- /**
5440
- * The schema of the event.
5441
- */
5442
- schema: string;
5443
- session: ISession;
5444
- time: ITime;
5445
- tracker: ITracker;
5446
- user?: IUser;
5447
- }
5448
- /**
5449
- * A page preventing the user from accessing a piece of audio content.
5450
- */
5451
- export interface IViewLockedAudio {
5452
- consents: IConsents;
5453
- device: IDevice;
5454
- /**
5455
- * Event ID
5456
- */
5457
- eventId: string;
5458
- /**
5459
- * The type of the event.
5460
- */
5461
- eventType: "View";
5462
- experiments?: IExperiments;
5463
- metrics?: IMetrics;
5464
- object: {
5465
- /**
5466
- * The editorial category of this audio.
5467
- */
5468
- category: string;
5469
- /**
5470
- * ContainerName is the name of the UI container/module in which the player renders (not the player type or content type).
5471
- */
5472
- containerName: string;
5473
- /**
5474
- * The context in which the recommendation was made.
5475
- */
5476
- curateContext?: string;
5477
- /**
5478
- * The total duration of the audio in milliseconds. Use -1 for live streams with unknown duration.
5479
- */
5480
- durationMs: number;
5481
- /**
5482
- * The UI surface or context from which the audio playback was initiated, such as the frontpage, an article embed, podcast-page or play-next etc.
5483
- */
5484
- entryPoint: string;
5485
- /**
5486
- * Which episode.
5487
- */
5488
- episode?: string;
5489
- /**
5490
- * Audio thumbnail from Stream to use in (Kilkaya) dashboards.
5491
- */
5492
- imageUrl: string;
5493
- /**
5494
- * True if the audio is accessible for the user.
5495
- */
5496
- isAccessible: boolean;
5497
- /**
5498
- * The name of the audio.
5499
- */
5500
- name: string;
5501
- /**
5502
- * The unique ID of this audio.
5503
- */
5504
- objectId: string;
5505
- /**
5506
- * The unique SDRN for this audio.
5507
- */
5508
- objectSdrn: string;
5509
- objectType: "LockedAudio";
5510
- /**
5511
- * The reason the user saw this paywall instead of the audio.
5512
- */
5513
- paywallType: "Paid" | "Metered" | "Login" | "Free" | "Dynamic";
5514
- /**
5515
- * Indicates how the audio is configured to start.
5516
- */
5517
- playTypeIntent: "Autoplay" | "ClickToPlay" | "ScrollToPlay";
5518
- /**
5519
- * A unique ID for this player instance.
5520
- */
5521
- playerId: string;
5522
- /**
5523
- * The ID of the playlist.
5524
- */
5525
- playlistId?: string;
5526
- /**
5527
- * The unique ID for this audio when published at PodMe.
5528
- */
5529
- podmeId?: string;
5530
- /**
5531
- * The position of the audio in the playlist.
5532
- */
5533
- queuePosition?: number;
5534
- /**
5535
- * Which season.
5536
- */
5537
- season?: string;
5538
- /**
5539
- * Follow accesslevel from Stream (viewer access).
5540
- */
5541
- streamAccessLevel: string;
5542
- /**
5543
- * Reflects the stream type as defined in Stream at the time of playback.
5544
- */
5545
- streamType: string;
5546
- tags?: string[];
5547
- /**
5548
- * Type of audio. Fetched from content type in Stream.
5549
- */
5550
- variant: string;
5551
- };
5552
- page: {
5553
- content?: IContent;
5554
- info: IPageRef;
5555
- /**
5556
- * The browser navigation that got the user to the current page.
5557
- */
5558
- navigationType: "Navigate" | "Reload" | "BackForward" | "Prerender";
5559
- /**
5560
- * The pageviewID.
5561
- */
5562
- pageviewId: string;
5563
- referrer?: IPageRef;
5564
- utm?: IUtmTags;
5565
- };
5566
- provider: IProvider;
5567
- /**
5568
- * The schema of the event.
5569
- */
5570
- schema: string;
5571
- session: ISession;
5572
- time: ITime;
5573
- tracker: ITracker;
5574
- user?: IUser;
5575
- }
5576
- /**
5577
- * A page preventing the user from accessing premium audio content.
5578
- */
5579
- export interface IViewLockedAudioPage {
5580
- consents: IConsents;
5581
- device: IDevice;
5582
- /**
5583
- * The unique identifier for the event.
5584
- */
5585
- eventId: string;
5586
- /**
5587
- * The type of the event.
5588
- */
5589
- eventType: "View";
5590
- experiments?: IExperiments;
5591
- metrics?: IMetrics;
5592
- object: {
5593
- /**
5594
- * The location of the page in the brand’s page hierarchy.
5595
- */
5596
- category: string;
5597
- /**
5598
- * True if content is accessible to the user.
5599
- */
5600
- isAccessible: boolean;
5601
- /**
5602
- * The unique ID of this page.
5603
- */
5604
- objectId: string;
5605
- /**
5606
- * The unique SDRN of this page.
5607
- */
5608
- objectSdrn: string;
5609
- /**
5610
- * The type of the object.
5611
- */
5612
- objectType: "LockedAudioPage";
5613
- /**
5614
- * The reason the user saw this paywall instead of the content.
5615
- */
5616
- paywallType: "Paid" | "Metered" | "Login" | "Free" | "Dynamic";
5617
- /**
5618
- * The title of the page.
5619
- */
5620
- title: string;
5621
- };
5622
- page: {
5623
- content?: IContent;
5624
- info: IPageRef;
5625
- /**
5626
- * The browser navigation that got the user to the current page.
5627
- */
5628
- navigationType: "Navigate" | "Reload" | "BackForward" | "Prerender";
5629
- /**
5630
- * The pageviewID.
5631
- */
5632
- pageviewId: string;
5633
- referrer?: IPageRef;
5634
- utm?: IUtmTags;
5635
- };
5636
- provider: IProvider;
5637
- /**
5638
- * URL to the JSON schema for this event.
5196
+ * The schema of the event.
5639
5197
  */
5640
5198
  schema: string;
5641
5199
  session: ISession;
@@ -5644,9 +5202,13 @@ export interface IViewLockedAudioPage {
5644
5202
  user?: IUser;
5645
5203
  }
5646
5204
  /**
5647
- * A page preventing the user from accessing a piece of video content.
5205
+ * A page preventing the user from accessing article content.
5648
5206
  */
5649
- export interface IViewLockedVideo {
5207
+ export interface IViewLockedArticle {
5208
+ /**
5209
+ * The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
5210
+ */
5211
+ catalogVersion: string;
5650
5212
  consents: IConsents;
5651
5213
  device: IDevice;
5652
5214
  /**
@@ -5658,108 +5220,84 @@ export interface IViewLockedVideo {
5658
5220
  */
5659
5221
  eventType: "View";
5660
5222
  experiments?: IExperiments;
5661
- metrics?: IMetrics;
5662
5223
  object: {
5224
+ authors: string[];
5663
5225
  /**
5664
- * Numeric value of the video aspect ratio.
5665
- */
5666
- aspectRatio: number;
5667
- /**
5668
- * The editorial category of this video.
5226
+ * The editorial category of this article.
5669
5227
  */
5670
5228
  category: string;
5671
5229
  /**
5672
- * ContainerName is the name of the UI container/module in which the player renders (not the player type or content type).
5673
- */
5674
- containerName: string;
5675
- /**
5676
- * The context in which the recommendation was made.
5677
- */
5678
- curateContext?: string;
5679
- /**
5680
- * The total duration of the video in milliseconds. Use -1 for live streams with unknown duration.
5681
- */
5682
- durationMs: number;
5683
- /**
5684
- * The UI surface or context from which the video playback was initiated, such as the frontpage, an article embed, a stories feed, a carousel, or play-next etc.
5230
+ * The hotness value that was set in the CMS.
5685
5231
  */
5686
- entryPoint: string;
5232
+ hotness: number;
5687
5233
  /**
5688
- * Which episode.
5234
+ * True if scrolling up/down transitions to the next or previous article.
5689
5235
  */
5690
- episode?: string;
5236
+ isStacked: boolean;
5691
5237
  /**
5692
- * Video thumbnail from Stream to use in (Kilkaya) dashboards.
5238
+ * The publication date of this version of the article.
5693
5239
  */
5694
- imageUrl: string;
5240
+ lastUpdatedDate: string;
5695
5241
  /**
5696
- * True if the content is accessible to the user.
5242
+ * The lifetime value that was set in the CMS.
5697
5243
  */
5698
- isAccessible: boolean;
5244
+ lifetime: number;
5699
5245
  /**
5700
- * The name of the video.
5246
+ * The newsroom that published the article.
5701
5247
  */
5702
- name: string;
5248
+ newsroom: string;
5703
5249
  /**
5704
- * The unique ID of this video.
5250
+ * The unique ID of this page.
5705
5251
  */
5706
5252
  objectId: string;
5707
5253
  /**
5708
- * The unique SDRN for this video.
5254
+ * The unique SDRN of this page.
5709
5255
  */
5710
5256
  objectSdrn: string;
5711
5257
  /**
5712
- * The type of this object.
5713
- */
5714
- objectType: "LockedVideo";
5715
- /**
5716
- * The reason the user saw this paywall instead of the content.
5717
- */
5718
- paywallType: "Paid" | "Metered" | "Login" | "Free" | "Dynamic";
5719
- /**
5720
- * Indicates how the video is configured to start.
5258
+ * The type of this page.
5721
5259
  */
5722
- playTypeIntent: "Autoplay" | "ClickToPlay" | "ScrollToPlay";
5260
+ objectType: "LockedArticle";
5723
5261
  /**
5724
- * A unique ID for this player instance.
5262
+ * Indicator if the offer was visible at pageload (“above”) or if the user had to scroll to it (“below”).
5725
5263
  */
5726
- playerId: string;
5264
+ offerFoldPosition: "Above" | "Below" | "Unknown";
5727
5265
  /**
5728
- * The ID of the playlist.
5266
+ * The reason the user saw this paywall instead of the content.
5729
5267
  */
5730
- playlistId?: string;
5268
+ paywallType: "Paid" | "Metered" | "Login" | "Free" | "Dynamic";
5731
5269
  /**
5732
- * The position of the video in the playlist.
5270
+ * The publication date of the article.
5733
5271
  */
5734
- queuePosition?: number;
5272
+ publicationDate: string;
5735
5273
  /**
5736
- * Which season.
5274
+ * The name of the company that sponsored the article. Omitted if the article was not sponsored.
5737
5275
  */
5738
- season?: string;
5276
+ sponsor?: string;
5739
5277
  /**
5740
- * Follow accesslevel from Stream (viewer access).
5278
+ * The title of the page.
5741
5279
  */
5742
- streamAccessLevel: string;
5280
+ title: string;
5743
5281
  /**
5744
- * Reflects the stream type as defined in Stream at the time of playback.
5282
+ * The type of article.
5745
5283
  */
5746
- streamType: string;
5284
+ variant: "Article" | "LiveArticle" | "Special";
5747
5285
  /**
5748
- * Tags from Stream.
5286
+ * The version counter of the article.
5749
5287
  */
5750
- tags?: string[];
5288
+ versionCounter: number;
5751
5289
  /**
5752
- * Type of video. Fetched from content type in Stream.
5290
+ * The number of words in this version of the article.
5753
5291
  */
5754
- variant: string;
5292
+ wordCount: number;
5755
5293
  };
5756
5294
  page: {
5757
- content?: IContent;
5295
+ content: IContent;
5758
5296
  info: IPageRef;
5759
5297
  /**
5760
5298
  * The browser navigation that got the user to the current page.
5761
5299
  */
5762
- navigationType: "Navigate" | "Reload" | "BackForward" | "Prerender";
5300
+ navigationType: "Navigate" | "Reload" | "BackForward" | "Prerender" | "Scroll";
5763
5301
  /**
5764
5302
  * The pageviewID.
5765
5303
  */
@@ -5778,9 +5316,13 @@ export interface IViewLockedVideo {
5778
5316
  user?: IUser;
5779
5317
  }
5780
5318
  /**
5781
- * A page preventing the user from accessing premium video content.
5319
+ * A page preventing the user from accessing premium audio content.
5782
5320
  */
5783
- export interface IViewLockedVideoPage {
5321
+ export interface IViewLockedAudioPage {
5322
+ /**
5323
+ * The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
5324
+ */
5325
+ catalogVersion: string;
5784
5326
  consents: IConsents;
5785
5327
  device: IDevice;
5786
5328
  /**
@@ -5799,7 +5341,7 @@ export interface IViewLockedVideoPage {
5799
5341
  */
5800
5342
  category: string;
5801
5343
  /**
5802
- * True if the content is accessible to the user.
5344
+ * True if content is accessible to the user.
5803
5345
  */
5804
5346
  isAccessible: boolean;
5805
5347
  /**
@@ -5811,9 +5353,9 @@ export interface IViewLockedVideoPage {
5811
5353
  */
5812
5354
  objectSdrn: string;
5813
5355
  /**
5814
- * The type of the page.
5356
+ * The type of the object.
5815
5357
  */
5816
- objectType: "LockedVideoPage";
5358
+ objectType: "LockedAudioPage";
5817
5359
  /**
5818
5360
  * The reason the user saw this paywall instead of the content.
5819
5361
  */
@@ -5848,17 +5390,21 @@ export interface IViewLockedVideoPage {
5848
5390
  user?: IUser;
5849
5391
  }
5850
5392
  /**
5851
- * A generic pageview event.
5393
+ * A page preventing the user from accessing premium video content.
5852
5394
  */
5853
- export interface IViewPage {
5395
+ export interface IViewLockedVideoPage {
5396
+ /**
5397
+ * The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
5398
+ */
5399
+ catalogVersion: string;
5854
5400
  consents: IConsents;
5855
5401
  device: IDevice;
5856
5402
  /**
5857
- * Event ID
5403
+ * The unique identifier for the event.
5858
5404
  */
5859
5405
  eventId: string;
5860
5406
  /**
5861
- * The type of event.
5407
+ * The type of the event.
5862
5408
  */
5863
5409
  eventType: "View";
5864
5410
  experiments?: IExperiments;
@@ -5868,6 +5414,10 @@ export interface IViewPage {
5868
5414
  * The location of the page in the brand’s page hierarchy.
5869
5415
  */
5870
5416
  category: string;
5417
+ /**
5418
+ * True if the content is accessible to the user.
5419
+ */
5420
+ isAccessible: boolean;
5871
5421
  /**
5872
5422
  * The unique ID of this page.
5873
5423
  */
@@ -5877,16 +5427,20 @@ export interface IViewPage {
5877
5427
  */
5878
5428
  objectSdrn: string;
5879
5429
  /**
5880
- * The type of this page.
5430
+ * The type of the page.
5881
5431
  */
5882
- objectType: "Page";
5883
- tags?: string[];
5432
+ objectType: "LockedVideoPage";
5433
+ /**
5434
+ * The reason the user saw this paywall instead of the content.
5435
+ */
5436
+ paywallType: "Paid" | "Metered" | "Login" | "Free" | "Dynamic";
5884
5437
  /**
5885
5438
  * The title of the page.
5886
5439
  */
5887
5440
  title: string;
5888
5441
  };
5889
5442
  page: {
5443
+ content?: IContent;
5890
5444
  info: IPageRef;
5891
5445
  /**
5892
5446
  * The browser navigation that got the user to the current page.
@@ -5901,7 +5455,7 @@ export interface IViewPage {
5901
5455
  };
5902
5456
  provider: IProvider;
5903
5457
  /**
5904
- * The schema of the event.
5458
+ * URL to the JSON schema for this event.
5905
5459
  */
5906
5460
  schema: string;
5907
5461
  session: ISession;
@@ -5910,17 +5464,21 @@ export interface IViewPage {
5910
5464
  user?: IUser;
5911
5465
  }
5912
5466
  /**
5913
- * A sports pageview event.
5467
+ * A generic pageview event.
5914
5468
  */
5915
- export interface IViewSportsPage {
5469
+ export interface IViewPage {
5470
+ /**
5471
+ * The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
5472
+ */
5473
+ catalogVersion: string;
5916
5474
  consents: IConsents;
5917
5475
  device: IDevice;
5918
5476
  /**
5919
- * The unique identifier for the event.
5477
+ * Event ID
5920
5478
  */
5921
5479
  eventId: string;
5922
5480
  /**
5923
- * The type of the event.
5481
+ * The type of event.
5924
5482
  */
5925
5483
  eventType: "View";
5926
5484
  experiments?: IExperiments;
@@ -5939,10 +5497,9 @@ export interface IViewSportsPage {
5939
5497
  */
5940
5498
  objectSdrn: string;
5941
5499
  /**
5942
- * The type of the object.
5500
+ * The type of this page.
5943
5501
  */
5944
- objectType: "SportsPage";
5945
- sports?: ISports;
5502
+ objectType: "Page";
5946
5503
  tags?: string[];
5947
5504
  /**
5948
5505
  * The title of the page.
@@ -5964,7 +5521,7 @@ export interface IViewSportsPage {
5964
5521
  };
5965
5522
  provider: IProvider;
5966
5523
  /**
5967
- * URL to the JSON schema for this event.
5524
+ * The schema of the event.
5968
5525
  */
5969
5526
  schema: string;
5970
5527
  session: ISession;
@@ -5973,13 +5530,17 @@ export interface IViewSportsPage {
5973
5530
  user?: IUser;
5974
5531
  }
5975
5532
  /**
5976
- * A page showing summary information about a TV series, streaming show, or sport event. (Note: currently only used by TVnu.)
5533
+ * A sports pageview event.
5977
5534
  */
5978
- export interface IViewTitle {
5535
+ export interface IViewSportsPage {
5536
+ /**
5537
+ * The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
5538
+ */
5539
+ catalogVersion: string;
5979
5540
  consents: IConsents;
5980
5541
  device: IDevice;
5981
5542
  /**
5982
- * Event ID
5543
+ * The unique identifier for the event.
5983
5544
  */
5984
5545
  eventId: string;
5985
5546
  /**
@@ -5990,10 +5551,9 @@ export interface IViewTitle {
5990
5551
  metrics?: IMetrics;
5991
5552
  object: {
5992
5553
  /**
5993
- * The editorial category of this title.
5554
+ * The location of the page in the brand’s page hierarchy.
5994
5555
  */
5995
5556
  category: string;
5996
- linearChannel?: string[];
5997
5557
  /**
5998
5558
  * The unique ID of this page.
5999
5559
  */
@@ -6003,15 +5563,11 @@ export interface IViewTitle {
6003
5563
  */
6004
5564
  objectSdrn: string;
6005
5565
  /**
6006
- * The type of this page.
6007
- */
6008
- objectType: "Title";
6009
- playProvider?: string[];
6010
- /**
6011
- * The name of the company that sponsored the title. Omitted if the title was not sponsored.
5566
+ * The type of the object.
6012
5567
  */
6013
- sponsor?: string;
6014
- tags: string[];
5568
+ objectType: "SportsPage";
5569
+ sports?: ISports;
5570
+ tags?: string[];
6015
5571
  /**
6016
5572
  * The title of the page.
6017
5573
  */
@@ -6032,7 +5588,7 @@ export interface IViewTitle {
6032
5588
  };
6033
5589
  provider: IProvider;
6034
5590
  /**
6035
- * The schema of the event.
5591
+ * URL to the JSON schema for this event.
6036
5592
  */
6037
5593
  schema: string;
6038
5594
  session: ISession;
@@ -6041,112 +5597,55 @@ export interface IViewTitle {
6041
5597
  user?: IUser;
6042
5598
  }
6043
5599
  /**
6044
- * Metadata about the video that is about to play.
5600
+ * A page showing summary information about a TV series, streaming show, or sport event. (Note: currently only used by TVnu.)
6045
5601
  */
6046
- export interface IViewVideo {
5602
+ export interface IViewTitle {
5603
+ /**
5604
+ * The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
5605
+ */
5606
+ catalogVersion: string;
6047
5607
  consents: IConsents;
6048
5608
  device: IDevice;
6049
5609
  /**
6050
5610
  * Event ID
6051
5611
  */
6052
5612
  eventId: string;
5613
+ /**
5614
+ * The type of the event.
5615
+ */
6053
5616
  eventType: "View";
6054
5617
  experiments?: IExperiments;
6055
5618
  metrics?: IMetrics;
6056
5619
  object: {
6057
5620
  /**
6058
- * Numeric value of the video aspect ratio.
6059
- */
6060
- aspectRatio: number;
6061
- /**
6062
- * The editorial category of this video.
5621
+ * The editorial category of this title.
6063
5622
  */
6064
5623
  category: string;
5624
+ linearChannel?: string[];
6065
5625
  /**
6066
- * ContainerName is the name of the UI container/module in which the player renders (not the player type or content type).
6067
- */
6068
- containerName: string;
6069
- /**
6070
- * The context in which the recommendation was made.
6071
- */
6072
- curateContext?: string;
6073
- /**
6074
- * The total duration of the video in milliseconds. Use -1 for live streams with unknown duration.
6075
- */
6076
- durationMs: number;
6077
- /**
6078
- * The UI surface or context from which the video playback was initiated, such as the frontpage, an article embed, a stories feed, a carousel, or play-next etc
6079
- */
6080
- entryPoint: string;
6081
- /**
6082
- * Which episode
6083
- */
6084
- episode?: string;
6085
- /**
6086
- * Video thumbnail from Stream to use in (Kilkaya) dashboards
6087
- */
6088
- imageUrl: string;
6089
- /**
6090
- * True if the content is accessible to the user.
6091
- */
6092
- isAccessible: boolean;
6093
- /**
6094
- * True if the video is an ad published through editorial CMS and not Xandr.
6095
- */
6096
- isAd: boolean;
6097
- /**
6098
- * True if video is sponsored.
6099
- */
6100
- isSponsored: boolean;
6101
- /**
6102
- * The name of the video.
6103
- */
6104
- name: string;
6105
- /**
6106
- * The unique ID of this video.
5626
+ * The unique ID of this page.
6107
5627
  */
6108
5628
  objectId: string;
6109
5629
  /**
6110
- * The unique SDRN for this video.
5630
+ * The unique SDRN of this page.
6111
5631
  */
6112
5632
  objectSdrn: string;
6113
- objectType: "Video";
6114
- /**
6115
- * Indicates how the video is configured to start.
6116
- */
6117
- playTypeIntent: "Autoplay" | "ClickToPlay" | "ScrollToPlay";
6118
- /**
6119
- * A unique ID for this player instance.
6120
- */
6121
- playerId: string;
6122
5633
  /**
6123
- * The ID of the playlist.
6124
- */
6125
- playlistId?: string;
6126
- /**
6127
- * The position of the video in the playlist.
6128
- */
6129
- queuePosition?: number;
6130
- /**
6131
- * Which season
6132
- */
6133
- season?: string;
6134
- /**
6135
- * Follow accesslevel from Stream (viewer access)
5634
+ * The type of this page.
6136
5635
  */
6137
- streamAccessLevel: string;
5636
+ objectType: "Title";
5637
+ playProvider?: string[];
6138
5638
  /**
6139
- * Reflects the stream type as defined in Stream at the time of playback.
5639
+ * The name of the company that sponsored the title. Omitted if the title was not sponsored.
6140
5640
  */
6141
- streamType: string;
6142
- tags?: string[];
5641
+ sponsor?: string;
5642
+ tags: string[];
6143
5643
  /**
6144
- * Type of video. Fetched from content type in Stream.
5644
+ * The title of the page.
6145
5645
  */
6146
- variant: string;
5646
+ title: string;
6147
5647
  };
6148
5648
  page: {
6149
- content?: IContent;
6150
5649
  info: IPageRef;
6151
5650
  /**
6152
5651
  * The browser navigation that got the user to the current page.
@@ -6173,6 +5672,10 @@ export interface IViewVideo {
6173
5672
  * A page allowing the user to access video content.
6174
5673
  */
6175
5674
  export interface IViewVideoPage {
5675
+ /**
5676
+ * The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
5677
+ */
5678
+ catalogVersion: string;
6176
5679
  consents: IConsents;
6177
5680
  device: IDevice;
6178
5681
  /**
@@ -6235,6 +5738,10 @@ export interface IViewVideoPage {
6235
5738
  * A page showing a weather forecast.
6236
5739
  */
6237
5740
  export interface IViewWeather {
5741
+ /**
5742
+ * The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
5743
+ */
5744
+ catalogVersion: string;
6238
5745
  consents: IConsents;
6239
5746
  device: IDevice;
6240
5747
  /**
@@ -6301,6 +5808,6 @@ export interface IViewWeather {
6301
5808
  tracker: ITracker;
6302
5809
  user?: IUser;
6303
5810
  }
6304
- export type ITpaasEvent = IAnonymousViewUIElement | ICancelSubscription | IChangePushNotificationSettings | ICompletedHealthAction | IEngagementAudio | IEngagementForm | IEngagementHealthUIElement | IEngagementNotification | IEngagementOffer | IEngagementTeaser | IEngagementUIElement | IEngagementVideo | IEngagementVideoAd | IEngagementWidget | IImpressionAdSlot | IImpressionForm | IImpressionHealthUIElement | IImpressionNotification | IImpressionOffer | IImpressionPlayer | IImpressionTeaser | IImpressionUIElement | IImpressionWidget | IInternalProbe | ILaunchApp | ILeaveArticle | ILeaveAudioPage | ILeaveError | ILeaveFrontpage | ILeaveLandingpage | ILeaveListing | ILeaveLockedArticle | ILeaveLockedAudio | ILeaveLockedAudioPage | ILeaveLockedVideo | ILeaveLockedVideoPage | ILeavePage | ILeaveSportsPage | ILeaveVideoPage | ILeaveWeather | IPurchaseSubscription | IViewArticle | IViewAudio | IViewAudioPage | IViewError | IViewFrontpage | IViewHealthPage | IViewLandingpage | IViewListing | IViewLockedArticle | IViewLockedAudio | IViewLockedAudioPage | IViewLockedVideo | IViewLockedVideoPage | IViewPage | IViewSportsPage | IViewTitle | IViewVideo | IViewVideoPage | IViewWeather;
5811
+ export type ITpaasEvent = IAnonymousViewUIElement | ICancelSubscription | IChangePushNotificationSettings | ICompletedHealthAction | IEngagementAudio | IEngagementForm | IEngagementHealthUIElement | IEngagementNotification | IEngagementOffer | IEngagementTeaser | IEngagementUIElement | IEngagementVideo | IEngagementVideoAd | IEngagementWidget | IImpressionForm | IImpressionHealthUIElement | IImpressionNotification | IImpressionOffer | IImpressionPlayer | IImpressionTeaser | IImpressionUIElement | IImpressionWidget | IInternalAccessDecision | IInternalProbe | ILaunchApp | ILeaveArticle | ILeaveAudioPage | ILeaveError | ILeaveFrontpage | ILeaveLandingpage | ILeaveListing | ILeaveLockedArticle | ILeaveLockedAudioPage | ILeaveLockedVideoPage | ILeavePage | ILeaveSportsPage | ILeaveVideoPage | ILeaveWeather | IPurchaseSubscription | IViewArticle | IViewAudioPage | IViewError | IViewFrontpage | IViewHealthPage | IViewLandingpage | IViewListing | IViewLockedArticle | IViewLockedAudioPage | IViewLockedVideoPage | IViewPage | IViewSportsPage | IViewTitle | IViewVideoPage | IViewWeather;
6305
5812
 
6306
5813
  export {};