@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.
- package/dist/cjs/Tracker.js +75 -188
- package/dist/cjs/builders/actor.js +3 -3
- package/dist/cjs/identity/actor.js +18 -6
- package/dist/cjs/leaveTrackingTpaas/constants.js +2 -7
- package/dist/cjs/leaveTrackingTpaas/index.js +52 -40
- package/dist/cjs/tracker-proxy/consts.js +2 -7
- package/dist/cjs/version.js +1 -1
- package/dist/ejs/Tracker.js +77 -190
- package/dist/ejs/builders/actor.js +2 -2
- package/dist/ejs/identity/actor.js +19 -7
- package/dist/ejs/leaveTrackingTpaas/constants.js +1 -5
- package/dist/ejs/leaveTrackingTpaas/index.js +53 -41
- package/dist/ejs/tracker-proxy/consts.js +2 -7
- package/dist/ejs/version.js +1 -1
- package/dist/types/Tracker.d.ts +18 -56
- 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/index.d.ts +1 -1
- package/dist/types/leaveTrackingTpaas/constants.d.ts +1 -5
- package/dist/types/leaveTrackingTpaas/index.d.ts +6 -6
- package/dist/types/leaveTrackingTpaas/types.d.ts +1 -9
- package/dist/types/tracker-proxy/consts.d.ts +1 -1
- package/dist/types/types.d.ts +19 -13
- package/dist/types/version.d.ts +1 -1
- package/node_modules/@schibsted/pulse-utils/package.json +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 +607 -1018
- package/node_modules/@schibsted/tpaas-schemas/dist/cjs/constants.js +67 -109
- package/node_modules/@schibsted/tpaas-schemas/dist/ejs/constants.js +65 -107
- package/node_modules/@schibsted/tpaas-schemas/dist/index.d.ts +722 -1215
- package/package.json +2 -2
|
@@ -4,119 +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
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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.
|
|
99
|
-
};
|
|
100
|
-
export const ImpressionAdSlot = {
|
|
101
|
-
eventType: 'Impression',
|
|
102
|
-
object: {
|
|
103
|
-
objectType: 'AdSlot',
|
|
104
|
-
},
|
|
105
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/ImpressionAdSlot.json',
|
|
98
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/EngagementWidget.json',
|
|
106
99
|
};
|
|
107
100
|
export const ImpressionForm = {
|
|
108
101
|
eventType: 'Impression',
|
|
109
102
|
object: {
|
|
110
103
|
objectType: 'Form',
|
|
111
104
|
},
|
|
112
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
105
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ImpressionForm.json',
|
|
113
106
|
};
|
|
114
107
|
export const ImpressionHealthUIElement = {
|
|
115
108
|
eventType: 'Impression',
|
|
116
109
|
object: {
|
|
117
110
|
objectType: 'HealthUIElement',
|
|
118
111
|
},
|
|
119
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
112
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ImpressionHealthUIElement.json',
|
|
120
113
|
};
|
|
121
114
|
export const ImpressionNotification = {
|
|
122
115
|
eventType: 'Impression',
|
|
@@ -124,301 +117,266 @@ export const ImpressionNotification = {
|
|
|
124
117
|
name: 'PushNotification',
|
|
125
118
|
objectType: 'Notification',
|
|
126
119
|
},
|
|
127
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
120
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ImpressionNotification.json',
|
|
128
121
|
};
|
|
129
122
|
export const ImpressionOffer = {
|
|
130
123
|
eventType: 'Impression',
|
|
131
124
|
object: {
|
|
132
125
|
objectType: 'Offer',
|
|
133
126
|
},
|
|
134
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
127
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ImpressionOffer.json',
|
|
135
128
|
};
|
|
136
129
|
export const ImpressionPlayer = {
|
|
137
130
|
eventType: 'Impression',
|
|
138
131
|
object: {
|
|
139
132
|
objectType: 'Player',
|
|
140
133
|
},
|
|
141
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
134
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ImpressionPlayer.json',
|
|
142
135
|
};
|
|
143
136
|
export const ImpressionTeaser = {
|
|
144
137
|
eventType: 'Impression',
|
|
145
138
|
object: {
|
|
146
139
|
objectType: 'Teaser',
|
|
147
140
|
},
|
|
148
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
141
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ImpressionTeaser.json',
|
|
149
142
|
};
|
|
150
143
|
export const ImpressionUIElement = {
|
|
151
144
|
eventType: 'Impression',
|
|
152
145
|
object: {
|
|
153
146
|
objectType: 'UIElement',
|
|
154
147
|
},
|
|
155
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
148
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ImpressionUIElement.json',
|
|
156
149
|
};
|
|
157
150
|
export const ImpressionWidget = {
|
|
158
151
|
eventType: 'Impression',
|
|
159
152
|
object: {
|
|
160
153
|
objectType: 'Widget',
|
|
161
154
|
},
|
|
162
|
-
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',
|
|
163
163
|
};
|
|
164
164
|
export const InternalProbe = {
|
|
165
165
|
eventType: 'Internal',
|
|
166
166
|
object: {
|
|
167
167
|
objectType: 'Probe',
|
|
168
168
|
},
|
|
169
|
-
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
170
|
};
|
|
171
171
|
export const LaunchApp = {
|
|
172
172
|
eventType: 'Launch',
|
|
173
173
|
object: {
|
|
174
174
|
objectType: 'App',
|
|
175
175
|
},
|
|
176
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
176
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LaunchApp.json',
|
|
177
177
|
};
|
|
178
178
|
export const LeaveArticle = {
|
|
179
179
|
eventType: 'Leave',
|
|
180
180
|
object: {
|
|
181
181
|
objectType: 'Article',
|
|
182
182
|
},
|
|
183
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
183
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LeaveArticle.json',
|
|
184
184
|
};
|
|
185
185
|
export const LeaveAudioPage = {
|
|
186
186
|
eventType: 'Leave',
|
|
187
187
|
object: {
|
|
188
188
|
objectType: 'AudioPage',
|
|
189
189
|
},
|
|
190
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
190
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LeaveAudioPage.json',
|
|
191
191
|
};
|
|
192
192
|
export const LeaveError = {
|
|
193
193
|
eventType: 'Leave',
|
|
194
194
|
object: {
|
|
195
195
|
objectType: 'Error',
|
|
196
196
|
},
|
|
197
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
197
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LeaveError.json',
|
|
198
198
|
};
|
|
199
199
|
export const LeaveFrontpage = {
|
|
200
200
|
eventType: 'Leave',
|
|
201
201
|
object: {
|
|
202
202
|
objectType: 'Frontpage',
|
|
203
203
|
},
|
|
204
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
204
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LeaveFrontpage.json',
|
|
205
205
|
};
|
|
206
206
|
export const LeaveLandingpage = {
|
|
207
207
|
eventType: 'Leave',
|
|
208
208
|
object: {
|
|
209
209
|
objectType: 'Landingpage',
|
|
210
210
|
},
|
|
211
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
211
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LeaveLandingpage.json',
|
|
212
212
|
};
|
|
213
213
|
export const LeaveListing = {
|
|
214
214
|
eventType: 'Leave',
|
|
215
215
|
object: {
|
|
216
216
|
objectType: 'Listing',
|
|
217
217
|
},
|
|
218
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
218
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LeaveListing.json',
|
|
219
219
|
};
|
|
220
220
|
export const LeaveLockedArticle = {
|
|
221
221
|
eventType: 'Leave',
|
|
222
222
|
object: {
|
|
223
223
|
objectType: 'LockedArticle',
|
|
224
224
|
},
|
|
225
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
226
|
-
};
|
|
227
|
-
export const LeaveLockedAudio = {
|
|
228
|
-
eventType: 'Leave',
|
|
229
|
-
object: {
|
|
230
|
-
objectType: 'LockedAudio',
|
|
231
|
-
},
|
|
232
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/LeaveLockedAudio.json',
|
|
225
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LeaveLockedArticle.json',
|
|
233
226
|
};
|
|
234
227
|
export const LeaveLockedAudioPage = {
|
|
235
228
|
eventType: 'Leave',
|
|
236
229
|
object: {
|
|
237
230
|
objectType: 'LockedAudioPage',
|
|
238
231
|
},
|
|
239
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
240
|
-
};
|
|
241
|
-
export const LeaveLockedVideo = {
|
|
242
|
-
eventType: 'Leave',
|
|
243
|
-
object: {
|
|
244
|
-
objectType: 'LockedVideo',
|
|
245
|
-
},
|
|
246
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/LeaveLockedVideo.json',
|
|
232
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LeaveLockedAudioPage.json',
|
|
247
233
|
};
|
|
248
234
|
export const LeaveLockedVideoPage = {
|
|
249
235
|
eventType: 'Leave',
|
|
250
236
|
object: {
|
|
251
237
|
objectType: 'LockedVideoPage',
|
|
252
238
|
},
|
|
253
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
239
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LeaveLockedVideoPage.json',
|
|
254
240
|
};
|
|
255
241
|
export const LeavePage = {
|
|
256
242
|
eventType: 'Leave',
|
|
257
243
|
object: {
|
|
258
244
|
objectType: 'Page',
|
|
259
245
|
},
|
|
260
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
246
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LeavePage.json',
|
|
261
247
|
};
|
|
262
248
|
export const LeaveSportsPage = {
|
|
263
249
|
eventType: 'Leave',
|
|
264
250
|
object: {
|
|
265
251
|
objectType: 'SportsPage',
|
|
266
252
|
},
|
|
267
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
253
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LeaveSportsPage.json',
|
|
268
254
|
};
|
|
269
255
|
export const LeaveVideoPage = {
|
|
270
256
|
eventType: 'Leave',
|
|
271
257
|
object: {
|
|
272
258
|
objectType: 'VideoPage',
|
|
273
259
|
},
|
|
274
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
260
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LeaveVideoPage.json',
|
|
275
261
|
};
|
|
276
262
|
export const LeaveWeather = {
|
|
277
263
|
eventType: 'Leave',
|
|
278
264
|
object: {
|
|
279
265
|
objectType: 'Weather',
|
|
280
266
|
},
|
|
281
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
267
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/LeaveWeather.json',
|
|
282
268
|
};
|
|
283
269
|
export const PurchaseSubscription = {
|
|
284
270
|
eventType: 'Purchase',
|
|
285
271
|
object: {
|
|
286
272
|
objectType: 'Subscription',
|
|
287
273
|
},
|
|
288
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
274
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/PurchaseSubscription.json',
|
|
289
275
|
};
|
|
290
276
|
export const ViewArticle = {
|
|
291
277
|
eventType: 'View',
|
|
292
278
|
object: {
|
|
293
279
|
objectType: 'Article',
|
|
294
280
|
},
|
|
295
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
296
|
-
};
|
|
297
|
-
export const ViewAudio = {
|
|
298
|
-
eventType: 'View',
|
|
299
|
-
object: {
|
|
300
|
-
objectType: 'Audio',
|
|
301
|
-
},
|
|
302
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/ViewAudio.json',
|
|
281
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewArticle.json',
|
|
303
282
|
};
|
|
304
283
|
export const ViewAudioPage = {
|
|
305
284
|
eventType: 'View',
|
|
306
285
|
object: {
|
|
307
286
|
objectType: 'AudioPage',
|
|
308
287
|
},
|
|
309
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
288
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewAudioPage.json',
|
|
310
289
|
};
|
|
311
290
|
export const ViewError = {
|
|
312
291
|
eventType: 'View',
|
|
313
292
|
object: {
|
|
314
293
|
objectType: 'Error',
|
|
315
294
|
},
|
|
316
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
295
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewError.json',
|
|
317
296
|
};
|
|
318
297
|
export const ViewFrontpage = {
|
|
319
298
|
eventType: 'View',
|
|
320
299
|
object: {
|
|
321
300
|
objectType: 'Frontpage',
|
|
322
301
|
},
|
|
323
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
302
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewFrontpage.json',
|
|
324
303
|
};
|
|
325
304
|
export const ViewHealthPage = {
|
|
326
305
|
eventType: 'View',
|
|
327
306
|
object: {
|
|
328
307
|
objectType: 'HealthPage',
|
|
329
308
|
},
|
|
330
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
309
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewHealthPage.json',
|
|
331
310
|
};
|
|
332
311
|
export const ViewLandingpage = {
|
|
333
312
|
eventType: 'View',
|
|
334
313
|
object: {
|
|
335
314
|
objectType: 'Landingpage',
|
|
336
315
|
},
|
|
337
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
316
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewLandingpage.json',
|
|
338
317
|
};
|
|
339
318
|
export const ViewListing = {
|
|
340
319
|
eventType: 'View',
|
|
341
320
|
object: {
|
|
342
321
|
objectType: 'Listing',
|
|
343
322
|
},
|
|
344
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
323
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewListing.json',
|
|
345
324
|
};
|
|
346
325
|
export const ViewLockedArticle = {
|
|
347
326
|
eventType: 'View',
|
|
348
327
|
object: {
|
|
349
328
|
objectType: 'LockedArticle',
|
|
350
329
|
},
|
|
351
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
352
|
-
};
|
|
353
|
-
export const ViewLockedAudio = {
|
|
354
|
-
eventType: 'View',
|
|
355
|
-
object: {
|
|
356
|
-
objectType: 'LockedAudio',
|
|
357
|
-
},
|
|
358
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/ViewLockedAudio.json',
|
|
330
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewLockedArticle.json',
|
|
359
331
|
};
|
|
360
332
|
export const ViewLockedAudioPage = {
|
|
361
333
|
eventType: 'View',
|
|
362
334
|
object: {
|
|
363
335
|
objectType: 'LockedAudioPage',
|
|
364
336
|
},
|
|
365
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
366
|
-
};
|
|
367
|
-
export const ViewLockedVideo = {
|
|
368
|
-
eventType: 'View',
|
|
369
|
-
object: {
|
|
370
|
-
objectType: 'LockedVideo',
|
|
371
|
-
},
|
|
372
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/ViewLockedVideo.json',
|
|
337
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewLockedAudioPage.json',
|
|
373
338
|
};
|
|
374
339
|
export const ViewLockedVideoPage = {
|
|
375
340
|
eventType: 'View',
|
|
376
341
|
object: {
|
|
377
342
|
objectType: 'LockedVideoPage',
|
|
378
343
|
},
|
|
379
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
344
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewLockedVideoPage.json',
|
|
380
345
|
};
|
|
381
346
|
export const ViewPage = {
|
|
382
347
|
eventType: 'View',
|
|
383
348
|
object: {
|
|
384
349
|
objectType: 'Page',
|
|
385
350
|
},
|
|
386
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
351
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewPage.json',
|
|
387
352
|
};
|
|
388
353
|
export const ViewSportsPage = {
|
|
389
354
|
eventType: 'View',
|
|
390
355
|
object: {
|
|
391
356
|
objectType: 'SportsPage',
|
|
392
357
|
},
|
|
393
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
358
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewSportsPage.json',
|
|
394
359
|
};
|
|
395
360
|
export const ViewTitle = {
|
|
396
361
|
eventType: 'View',
|
|
397
362
|
object: {
|
|
398
363
|
objectType: 'Title',
|
|
399
364
|
},
|
|
400
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
401
|
-
};
|
|
402
|
-
export const ViewVideo = {
|
|
403
|
-
eventType: 'View',
|
|
404
|
-
object: {
|
|
405
|
-
objectType: 'Video',
|
|
406
|
-
},
|
|
407
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.5.0/schemas/ViewVideo.json',
|
|
365
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewTitle.json',
|
|
408
366
|
};
|
|
409
367
|
export const ViewVideoPage = {
|
|
410
368
|
eventType: 'View',
|
|
411
369
|
object: {
|
|
412
370
|
objectType: 'VideoPage',
|
|
413
371
|
},
|
|
414
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
372
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewVideoPage.json',
|
|
415
373
|
};
|
|
416
374
|
export const ViewWeather = {
|
|
417
375
|
eventType: 'View',
|
|
418
376
|
object: {
|
|
419
377
|
objectType: 'Weather',
|
|
420
378
|
},
|
|
421
|
-
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
379
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.6.0/schemas/ViewWeather.json',
|
|
422
380
|
};
|
|
423
381
|
export const ADVERTISING_VALUES = ['Accepted', 'Rejected', 'Unknown'];
|
|
424
382
|
export const ANALYTICS_VALUES = ['Accepted', 'Rejected', 'Unknown'];
|
|
@@ -455,20 +413,20 @@ export const VIEWPORT_SIZE_VALUES = ['XS', 'S', 'M', 'L', 'XL'];
|
|
|
455
413
|
export const ACTION_VALUES = ['Click', 'Scroll', 'Drag', 'Drop', 'DoubleClick'];
|
|
456
414
|
export const PAGE_TYPE_VALUES = [
|
|
457
415
|
'Article',
|
|
458
|
-
'
|
|
416
|
+
'AudioPage',
|
|
459
417
|
'Error',
|
|
460
418
|
'Frontpage',
|
|
461
419
|
'HealthPage',
|
|
462
420
|
'Landingpage',
|
|
463
421
|
'Listing',
|
|
464
422
|
'LockedArticle',
|
|
465
|
-
'
|
|
466
|
-
'
|
|
423
|
+
'LockedAudioPage',
|
|
424
|
+
'LockedVideoPage',
|
|
467
425
|
'Login',
|
|
468
426
|
'Page',
|
|
469
427
|
'SportsPage',
|
|
470
428
|
'Title',
|
|
471
|
-
'
|
|
429
|
+
'VideoPage',
|
|
472
430
|
'Weather',
|
|
473
431
|
];
|
|
474
432
|
export const COLUMN_NAME_VALUES = ['main', 'aside'];
|
|
@@ -519,4 +477,4 @@ export const UTM_MEDIUM_VALUES = [
|
|
|
519
477
|
'Video',
|
|
520
478
|
'Internal',
|
|
521
479
|
];
|
|
522
|
-
export const CATALOG_VERSION = '2.
|
|
480
|
+
export const CATALOG_VERSION = '2.6.0';
|