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