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