@schibsted/pulse-sdk 8.0.0-rc.6 → 8.0.0-rc.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/Tracker.js +89 -26
- package/dist/cjs/tracker-proxy/consts.js +1 -0
- package/dist/cjs/version.js +1 -1
- package/dist/cjs/visibility-observer/index.js +9 -7
- package/dist/cjs/wrapper/types/event.js +5 -0
- package/dist/ejs/Tracker.js +90 -27
- package/dist/ejs/tracker-proxy/consts.js +1 -0
- package/dist/ejs/version.js +1 -1
- package/dist/ejs/visibility-observer/index.js +9 -7
- package/dist/ejs/wrapper/types/event.js +4 -1
- package/dist/types/Tracker.d.ts +39 -3
- package/dist/types/tracker-proxy/consts.d.ts +1 -1
- package/dist/types/version.d.ts +1 -1
- package/dist/types/visibility-observer/index.d.ts +6 -1
- package/dist/types/wrapper/types/event.d.ts +3 -1
- package/node_modules/@schibsted/tpaas-event-builder/dist/cjs/builders.js +5 -1
- package/node_modules/@schibsted/tpaas-event-builder/dist/cjs/guards.js +7 -0
- package/node_modules/@schibsted/tpaas-event-builder/dist/cjs/index.js +3 -0
- package/node_modules/@schibsted/tpaas-event-builder/dist/ejs/builders.js +5 -2
- package/node_modules/@schibsted/tpaas-event-builder/dist/ejs/guards.js +4 -0
- package/node_modules/@schibsted/tpaas-event-builder/dist/ejs/index.js +1 -0
- package/node_modules/@schibsted/tpaas-event-builder/dist/index.d.ts +782 -164
- package/node_modules/@schibsted/tpaas-event-builder/package.json +1 -1
- package/node_modules/@schibsted/tpaas-schemas/dist/cjs/constants.js +66 -57
- package/node_modules/@schibsted/tpaas-schemas/dist/ejs/constants.js +64 -55
- package/node_modules/@schibsted/tpaas-schemas/dist/index.d.ts +836 -219
- package/package.json +5 -5
|
@@ -4,112 +4,119 @@ export const AnonymousViewUIElement = {
|
|
|
4
4
|
object: {
|
|
5
5
|
objectType: 'UIElement',
|
|
6
6
|
},
|
|
7
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
7
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.0/schemas/AnonymousViewUIElement.json',
|
|
8
8
|
};
|
|
9
9
|
export const CancelSubscription = {
|
|
10
10
|
eventType: 'Cancel',
|
|
11
11
|
object: {
|
|
12
12
|
objectType: 'Subscription',
|
|
13
13
|
},
|
|
14
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
14
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.0/schemas/CancelSubscription.json',
|
|
15
15
|
};
|
|
16
16
|
export const ChangePushNotificationSettings = {
|
|
17
17
|
eventType: 'Change',
|
|
18
18
|
object: {
|
|
19
19
|
objectType: 'PushNotificationSettings',
|
|
20
20
|
},
|
|
21
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
21
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.0/schemas/ChangePushNotificationSettings.json',
|
|
22
22
|
};
|
|
23
23
|
export const CompletedHealthAction = {
|
|
24
24
|
eventType: 'Completed',
|
|
25
25
|
object: {
|
|
26
26
|
objectType: 'HealthAction',
|
|
27
27
|
},
|
|
28
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
28
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.0/schemas/CompletedHealthAction.json',
|
|
29
29
|
};
|
|
30
30
|
export const EngagementAudio = {
|
|
31
31
|
eventType: 'Engagement',
|
|
32
32
|
object: {
|
|
33
33
|
objectType: 'Audio',
|
|
34
34
|
},
|
|
35
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
35
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.0/schemas/EngagementAudio.json',
|
|
36
36
|
};
|
|
37
37
|
export const EngagementForm = {
|
|
38
38
|
eventType: 'Engagement',
|
|
39
39
|
object: {
|
|
40
40
|
objectType: 'Form',
|
|
41
41
|
},
|
|
42
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
42
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.0/schemas/EngagementForm.json',
|
|
43
43
|
};
|
|
44
44
|
export const EngagementHealthUIElement = {
|
|
45
45
|
eventType: 'Engagement',
|
|
46
46
|
object: {
|
|
47
47
|
objectType: 'HealthUIElement',
|
|
48
48
|
},
|
|
49
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
49
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.0/schemas/EngagementHealthUIElement.json',
|
|
50
50
|
};
|
|
51
51
|
export const EngagementNotification = {
|
|
52
52
|
eventType: 'Engagement',
|
|
53
53
|
object: {
|
|
54
54
|
objectType: 'Notification',
|
|
55
55
|
},
|
|
56
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
56
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.0/schemas/EngagementNotification.json',
|
|
57
57
|
};
|
|
58
58
|
export const EngagementOffer = {
|
|
59
59
|
eventType: 'Engagement',
|
|
60
60
|
object: {
|
|
61
61
|
objectType: 'Offer',
|
|
62
62
|
},
|
|
63
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
63
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.0/schemas/EngagementOffer.json',
|
|
64
64
|
};
|
|
65
65
|
export const EngagementTeaser = {
|
|
66
66
|
eventType: 'Engagement',
|
|
67
67
|
object: {
|
|
68
68
|
objectType: 'Teaser',
|
|
69
69
|
},
|
|
70
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
70
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.0/schemas/EngagementTeaser.json',
|
|
71
71
|
};
|
|
72
72
|
export const EngagementUIElement = {
|
|
73
73
|
eventType: 'Engagement',
|
|
74
74
|
object: {
|
|
75
75
|
objectType: 'UIElement',
|
|
76
76
|
},
|
|
77
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
77
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.0/schemas/EngagementUIElement.json',
|
|
78
78
|
};
|
|
79
79
|
export const EngagementVideo = {
|
|
80
80
|
eventType: 'Engagement',
|
|
81
81
|
object: {
|
|
82
82
|
objectType: 'Video',
|
|
83
83
|
},
|
|
84
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
84
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.0/schemas/EngagementVideo.json',
|
|
85
85
|
};
|
|
86
86
|
export const EngagementVideoAd = {
|
|
87
87
|
eventType: 'Engagement',
|
|
88
88
|
object: {
|
|
89
89
|
objectType: 'VideoAd',
|
|
90
90
|
},
|
|
91
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
91
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.0/schemas/EngagementVideoAd.json',
|
|
92
92
|
};
|
|
93
93
|
export const EngagementWidget = {
|
|
94
94
|
eventType: 'Engagement',
|
|
95
95
|
object: {
|
|
96
96
|
objectType: 'Widget',
|
|
97
97
|
},
|
|
98
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
98
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.0/schemas/EngagementWidget.json',
|
|
99
|
+
};
|
|
100
|
+
export const ImpressionAdSlot = {
|
|
101
|
+
eventType: 'Impression',
|
|
102
|
+
object: {
|
|
103
|
+
objectType: 'AdSlot',
|
|
104
|
+
},
|
|
105
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.0/schemas/ImpressionAdSlot.json',
|
|
99
106
|
};
|
|
100
107
|
export const ImpressionForm = {
|
|
101
108
|
eventType: 'Impression',
|
|
102
109
|
object: {
|
|
103
110
|
objectType: 'Form',
|
|
104
111
|
},
|
|
105
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
112
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.0/schemas/ImpressionForm.json',
|
|
106
113
|
};
|
|
107
114
|
export const ImpressionHealthUIElement = {
|
|
108
115
|
eventType: 'Impression',
|
|
109
116
|
object: {
|
|
110
117
|
objectType: 'HealthUIElement',
|
|
111
118
|
},
|
|
112
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
119
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.0/schemas/ImpressionHealthUIElement.json',
|
|
113
120
|
};
|
|
114
121
|
export const ImpressionNotification = {
|
|
115
122
|
eventType: 'Impression',
|
|
@@ -117,266 +124,266 @@ export const ImpressionNotification = {
|
|
|
117
124
|
name: 'PushNotification',
|
|
118
125
|
objectType: 'Notification',
|
|
119
126
|
},
|
|
120
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
127
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.0/schemas/ImpressionNotification.json',
|
|
121
128
|
};
|
|
122
129
|
export const ImpressionOffer = {
|
|
123
130
|
eventType: 'Impression',
|
|
124
131
|
object: {
|
|
125
132
|
objectType: 'Offer',
|
|
126
133
|
},
|
|
127
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
134
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.0/schemas/ImpressionOffer.json',
|
|
128
135
|
};
|
|
129
136
|
export const ImpressionPlayer = {
|
|
130
137
|
eventType: 'Impression',
|
|
131
138
|
object: {
|
|
132
139
|
objectType: 'Player',
|
|
133
140
|
},
|
|
134
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
141
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.0/schemas/ImpressionPlayer.json',
|
|
135
142
|
};
|
|
136
143
|
export const ImpressionTeaser = {
|
|
137
144
|
eventType: 'Impression',
|
|
138
145
|
object: {
|
|
139
146
|
objectType: 'Teaser',
|
|
140
147
|
},
|
|
141
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
148
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.0/schemas/ImpressionTeaser.json',
|
|
142
149
|
};
|
|
143
150
|
export const ImpressionUIElement = {
|
|
144
151
|
eventType: 'Impression',
|
|
145
152
|
object: {
|
|
146
153
|
objectType: 'UIElement',
|
|
147
154
|
},
|
|
148
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
155
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.0/schemas/ImpressionUIElement.json',
|
|
149
156
|
};
|
|
150
157
|
export const ImpressionWidget = {
|
|
151
158
|
eventType: 'Impression',
|
|
152
159
|
object: {
|
|
153
160
|
objectType: 'Widget',
|
|
154
161
|
},
|
|
155
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
162
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.0/schemas/ImpressionWidget.json',
|
|
156
163
|
};
|
|
157
164
|
export const InternalAccessDecision = {
|
|
158
165
|
eventType: 'Internal',
|
|
159
166
|
object: {
|
|
160
167
|
objectType: 'AccessDecision',
|
|
161
168
|
},
|
|
162
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
169
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.0/schemas/InternalAccessDecision.json',
|
|
163
170
|
};
|
|
164
171
|
export const InternalProbe = {
|
|
165
172
|
eventType: 'Internal',
|
|
166
173
|
object: {
|
|
167
174
|
objectType: 'Probe',
|
|
168
175
|
},
|
|
169
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
176
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.0/schemas/InternalProbe.json',
|
|
170
177
|
};
|
|
171
178
|
export const LaunchApp = {
|
|
172
179
|
eventType: 'Launch',
|
|
173
180
|
object: {
|
|
174
181
|
objectType: 'App',
|
|
175
182
|
},
|
|
176
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
183
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.0/schemas/LaunchApp.json',
|
|
177
184
|
};
|
|
178
185
|
export const LeaveArticle = {
|
|
179
186
|
eventType: 'Leave',
|
|
180
187
|
object: {
|
|
181
188
|
objectType: 'Article',
|
|
182
189
|
},
|
|
183
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
190
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.0/schemas/LeaveArticle.json',
|
|
184
191
|
};
|
|
185
192
|
export const LeaveAudioPage = {
|
|
186
193
|
eventType: 'Leave',
|
|
187
194
|
object: {
|
|
188
195
|
objectType: 'AudioPage',
|
|
189
196
|
},
|
|
190
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
197
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.0/schemas/LeaveAudioPage.json',
|
|
191
198
|
};
|
|
192
199
|
export const LeaveError = {
|
|
193
200
|
eventType: 'Leave',
|
|
194
201
|
object: {
|
|
195
202
|
objectType: 'Error',
|
|
196
203
|
},
|
|
197
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
204
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.0/schemas/LeaveError.json',
|
|
198
205
|
};
|
|
199
206
|
export const LeaveFrontpage = {
|
|
200
207
|
eventType: 'Leave',
|
|
201
208
|
object: {
|
|
202
209
|
objectType: 'Frontpage',
|
|
203
210
|
},
|
|
204
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
211
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.0/schemas/LeaveFrontpage.json',
|
|
205
212
|
};
|
|
206
213
|
export const LeaveLandingpage = {
|
|
207
214
|
eventType: 'Leave',
|
|
208
215
|
object: {
|
|
209
216
|
objectType: 'Landingpage',
|
|
210
217
|
},
|
|
211
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
218
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.0/schemas/LeaveLandingpage.json',
|
|
212
219
|
};
|
|
213
220
|
export const LeaveListing = {
|
|
214
221
|
eventType: 'Leave',
|
|
215
222
|
object: {
|
|
216
223
|
objectType: 'Listing',
|
|
217
224
|
},
|
|
218
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
225
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.0/schemas/LeaveListing.json',
|
|
219
226
|
};
|
|
220
227
|
export const LeaveLockedArticle = {
|
|
221
228
|
eventType: 'Leave',
|
|
222
229
|
object: {
|
|
223
230
|
objectType: 'LockedArticle',
|
|
224
231
|
},
|
|
225
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
232
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.0/schemas/LeaveLockedArticle.json',
|
|
226
233
|
};
|
|
227
234
|
export const LeaveLockedAudioPage = {
|
|
228
235
|
eventType: 'Leave',
|
|
229
236
|
object: {
|
|
230
237
|
objectType: 'LockedAudioPage',
|
|
231
238
|
},
|
|
232
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
239
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.0/schemas/LeaveLockedAudioPage.json',
|
|
233
240
|
};
|
|
234
241
|
export const LeaveLockedVideoPage = {
|
|
235
242
|
eventType: 'Leave',
|
|
236
243
|
object: {
|
|
237
244
|
objectType: 'LockedVideoPage',
|
|
238
245
|
},
|
|
239
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
246
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.0/schemas/LeaveLockedVideoPage.json',
|
|
240
247
|
};
|
|
241
248
|
export const LeavePage = {
|
|
242
249
|
eventType: 'Leave',
|
|
243
250
|
object: {
|
|
244
251
|
objectType: 'Page',
|
|
245
252
|
},
|
|
246
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
253
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.0/schemas/LeavePage.json',
|
|
247
254
|
};
|
|
248
255
|
export const LeaveSportsPage = {
|
|
249
256
|
eventType: 'Leave',
|
|
250
257
|
object: {
|
|
251
258
|
objectType: 'SportsPage',
|
|
252
259
|
},
|
|
253
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
260
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.0/schemas/LeaveSportsPage.json',
|
|
254
261
|
};
|
|
255
262
|
export const LeaveVideoPage = {
|
|
256
263
|
eventType: 'Leave',
|
|
257
264
|
object: {
|
|
258
265
|
objectType: 'VideoPage',
|
|
259
266
|
},
|
|
260
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
267
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.0/schemas/LeaveVideoPage.json',
|
|
261
268
|
};
|
|
262
269
|
export const LeaveWeather = {
|
|
263
270
|
eventType: 'Leave',
|
|
264
271
|
object: {
|
|
265
272
|
objectType: 'Weather',
|
|
266
273
|
},
|
|
267
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
274
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.0/schemas/LeaveWeather.json',
|
|
268
275
|
};
|
|
269
276
|
export const PurchaseSubscription = {
|
|
270
277
|
eventType: 'Purchase',
|
|
271
278
|
object: {
|
|
272
279
|
objectType: 'Subscription',
|
|
273
280
|
},
|
|
274
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
281
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.0/schemas/PurchaseSubscription.json',
|
|
275
282
|
};
|
|
276
283
|
export const ViewArticle = {
|
|
277
284
|
eventType: 'View',
|
|
278
285
|
object: {
|
|
279
286
|
objectType: 'Article',
|
|
280
287
|
},
|
|
281
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
288
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.0/schemas/ViewArticle.json',
|
|
282
289
|
};
|
|
283
290
|
export const ViewAudioPage = {
|
|
284
291
|
eventType: 'View',
|
|
285
292
|
object: {
|
|
286
293
|
objectType: 'AudioPage',
|
|
287
294
|
},
|
|
288
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
295
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.0/schemas/ViewAudioPage.json',
|
|
289
296
|
};
|
|
290
297
|
export const ViewError = {
|
|
291
298
|
eventType: 'View',
|
|
292
299
|
object: {
|
|
293
300
|
objectType: 'Error',
|
|
294
301
|
},
|
|
295
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
302
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.0/schemas/ViewError.json',
|
|
296
303
|
};
|
|
297
304
|
export const ViewFrontpage = {
|
|
298
305
|
eventType: 'View',
|
|
299
306
|
object: {
|
|
300
307
|
objectType: 'Frontpage',
|
|
301
308
|
},
|
|
302
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
309
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.0/schemas/ViewFrontpage.json',
|
|
303
310
|
};
|
|
304
311
|
export const ViewHealthPage = {
|
|
305
312
|
eventType: 'View',
|
|
306
313
|
object: {
|
|
307
314
|
objectType: 'HealthPage',
|
|
308
315
|
},
|
|
309
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
316
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.0/schemas/ViewHealthPage.json',
|
|
310
317
|
};
|
|
311
318
|
export const ViewLandingpage = {
|
|
312
319
|
eventType: 'View',
|
|
313
320
|
object: {
|
|
314
321
|
objectType: 'Landingpage',
|
|
315
322
|
},
|
|
316
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
323
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.0/schemas/ViewLandingpage.json',
|
|
317
324
|
};
|
|
318
325
|
export const ViewListing = {
|
|
319
326
|
eventType: 'View',
|
|
320
327
|
object: {
|
|
321
328
|
objectType: 'Listing',
|
|
322
329
|
},
|
|
323
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
330
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.0/schemas/ViewListing.json',
|
|
324
331
|
};
|
|
325
332
|
export const ViewLockedArticle = {
|
|
326
333
|
eventType: 'View',
|
|
327
334
|
object: {
|
|
328
335
|
objectType: 'LockedArticle',
|
|
329
336
|
},
|
|
330
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
337
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.0/schemas/ViewLockedArticle.json',
|
|
331
338
|
};
|
|
332
339
|
export const ViewLockedAudioPage = {
|
|
333
340
|
eventType: 'View',
|
|
334
341
|
object: {
|
|
335
342
|
objectType: 'LockedAudioPage',
|
|
336
343
|
},
|
|
337
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
344
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.0/schemas/ViewLockedAudioPage.json',
|
|
338
345
|
};
|
|
339
346
|
export const ViewLockedVideoPage = {
|
|
340
347
|
eventType: 'View',
|
|
341
348
|
object: {
|
|
342
349
|
objectType: 'LockedVideoPage',
|
|
343
350
|
},
|
|
344
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
351
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.0/schemas/ViewLockedVideoPage.json',
|
|
345
352
|
};
|
|
346
353
|
export const ViewPage = {
|
|
347
354
|
eventType: 'View',
|
|
348
355
|
object: {
|
|
349
356
|
objectType: 'Page',
|
|
350
357
|
},
|
|
351
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
358
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.0/schemas/ViewPage.json',
|
|
352
359
|
};
|
|
353
360
|
export const ViewSportsPage = {
|
|
354
361
|
eventType: 'View',
|
|
355
362
|
object: {
|
|
356
363
|
objectType: 'SportsPage',
|
|
357
364
|
},
|
|
358
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
365
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.0/schemas/ViewSportsPage.json',
|
|
359
366
|
};
|
|
360
367
|
export const ViewTitle = {
|
|
361
368
|
eventType: 'View',
|
|
362
369
|
object: {
|
|
363
370
|
objectType: 'Title',
|
|
364
371
|
},
|
|
365
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
372
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.0/schemas/ViewTitle.json',
|
|
366
373
|
};
|
|
367
374
|
export const ViewVideoPage = {
|
|
368
375
|
eventType: 'View',
|
|
369
376
|
object: {
|
|
370
377
|
objectType: 'VideoPage',
|
|
371
378
|
},
|
|
372
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
379
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.0/schemas/ViewVideoPage.json',
|
|
373
380
|
};
|
|
374
381
|
export const ViewWeather = {
|
|
375
382
|
eventType: 'View',
|
|
376
383
|
object: {
|
|
377
384
|
objectType: 'Weather',
|
|
378
385
|
},
|
|
379
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
386
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.7.0/schemas/ViewWeather.json',
|
|
380
387
|
};
|
|
381
388
|
export const ADVERTISING_VALUES = ['Accepted', 'Rejected', 'Unknown'];
|
|
382
389
|
export const ANALYTICS_VALUES = ['Accepted', 'Rejected', 'Unknown'];
|
|
@@ -430,6 +437,8 @@ export const PAGE_TYPE_VALUES = [
|
|
|
430
437
|
'Weather',
|
|
431
438
|
];
|
|
432
439
|
export const COLUMN_NAME_VALUES = ['main', 'aside'];
|
|
440
|
+
export const FOLD_POSITION_VALUES = ['Above', 'Below', 'Unknown'];
|
|
441
|
+
export const PRIMARY_AXIS_VALUES = ['Horizontal', 'Vertical'];
|
|
433
442
|
export const STAGE_VALUES = ['Dev', 'Test', 'Pro'];
|
|
434
443
|
export const SPORT_EVENT_COVERAGE_VALUES = ['Manual', 'SemiAutomatic', 'Automatic', 'AI'];
|
|
435
444
|
export const SPORT_EVENT_STATUS_VALUES = [
|
|
@@ -477,4 +486,4 @@ export const UTM_MEDIUM_VALUES = [
|
|
|
477
486
|
'Video',
|
|
478
487
|
'Internal',
|
|
479
488
|
];
|
|
480
|
-
export const CATALOG_VERSION = '2.
|
|
489
|
+
export const CATALOG_VERSION = '2.7.0';
|