@schibsted/pulse-sdk 8.0.0-rc.20 → 8.0.0-rc.21
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 +170 -334
- package/dist/cjs/builders/session-browser.js +4 -79
- package/dist/cjs/session/store.js +96 -0
- package/dist/cjs/tpaas-builders/builders/device.js +42 -70
- package/dist/cjs/tpaas-builders/builders/pageInfo.js +2 -3
- package/dist/cjs/tpaas-builders/builders/session.js +2 -114
- package/dist/cjs/tpaas-builders/builders/utm.js +2 -8
- package/dist/cjs/tpaas-builders/builders.js +135 -148
- package/dist/cjs/tpaas-context/adapters.js +85 -0
- package/dist/cjs/tpaas-context/browser.js +51 -0
- package/dist/cjs/tpaas-context/index.js +6 -0
- package/dist/cjs/tpaas-context/prepare.js +177 -0
- package/dist/cjs/tpaas-context/session.js +23 -0
- package/dist/cjs/tpaas-schemas/constants.js +68 -75
- package/dist/cjs/tracker-proxy/consts.js +1 -2
- package/dist/cjs/version.js +1 -1
- package/dist/ejs/Tracker.js +171 -335
- package/dist/ejs/builders/session-browser.js +4 -77
- package/dist/ejs/session/store.js +90 -0
- package/dist/ejs/tpaas-builders/builders/device.js +42 -70
- package/dist/ejs/tpaas-builders/builders/pageInfo.js +2 -3
- package/dist/ejs/tpaas-builders/builders/session.js +1 -111
- package/dist/ejs/tpaas-builders/builders/utm.js +2 -8
- package/dist/ejs/tpaas-builders/builders.js +135 -147
- package/dist/ejs/tpaas-context/adapters.js +80 -0
- package/dist/ejs/tpaas-context/browser.js +47 -0
- package/dist/ejs/tpaas-context/index.js +1 -0
- package/dist/ejs/tpaas-context/prepare.js +137 -0
- package/dist/ejs/tpaas-context/session.js +19 -0
- package/dist/ejs/tpaas-schemas/constants.js +66 -73
- package/dist/ejs/tracker-proxy/consts.js +1 -2
- package/dist/ejs/version.js +1 -1
- package/dist/types/Tracker.d.ts +27 -23
- package/dist/types/builders/session-browser.d.ts +0 -13
- package/dist/types/session/store.d.ts +34 -0
- package/dist/types/tpaas-builders/builders/consents.d.ts +2 -2
- package/dist/types/tpaas-builders/builders/device.d.ts +2 -2
- package/dist/types/tpaas-builders/builders/experiments.d.ts +2 -2
- package/dist/types/tpaas-builders/builders/pageInfo.d.ts +2 -1
- package/dist/types/tpaas-builders/builders/pageviewId.d.ts +2 -2
- package/dist/types/tpaas-builders/builders/provider.d.ts +2 -2
- package/dist/types/tpaas-builders/builders/session.d.ts +1 -12
- package/dist/types/tpaas-builders/builders/trackerBuilder.d.ts +2 -2
- package/dist/types/tpaas-builders/builders/user.d.ts +2 -2
- package/dist/types/tpaas-builders/builders/utm.d.ts +2 -1
- package/dist/types/tpaas-builders/builders.d.ts +70 -70
- package/dist/types/tpaas-builders/index.d.ts +0 -1
- package/dist/types/tpaas-context/adapters.d.ts +26 -0
- package/dist/types/tpaas-context/browser.d.ts +8 -0
- package/dist/types/tpaas-context/index.d.ts +2 -0
- package/dist/types/tpaas-context/prepare.d.ts +38 -0
- package/dist/types/tpaas-context/session.d.ts +10 -0
- package/dist/types/tpaas-context/types.d.ts +66 -0
- package/dist/types/tpaas-schemas/constants.d.ts +66 -73
- package/dist/types/tpaas-schemas/types/ITpaasEvent.d.ts +2 -4
- package/dist/types/tpaas-schemas/types/schemas/{IAnonymousViewUIElement.d.ts → IAnonymousImpressionUIElement.d.ts} +2 -2
- package/dist/types/tpaas-schemas/types/schemas/IEngagementAudio.d.ts +6 -2
- package/dist/types/tpaas-schemas/types/schemas/IEngagementTeaser.d.ts +2 -2
- package/dist/types/tpaas-schemas/types/schemas/IEngagementTvModule.d.ts +4 -1
- package/dist/types/tpaas-schemas/types/schemas/IEngagementTvSearch.d.ts +4 -4
- package/dist/types/tpaas-schemas/types/schemas/IEngagementVideo.d.ts +6 -2
- package/dist/types/tpaas-schemas/types/schemas/IEngagementVideoAd.d.ts +10 -8
- package/dist/types/tpaas-schemas/types/schemas/IImpressionTeaser.d.ts +2 -2
- package/dist/types/tpaas-schemas/types/schemas/ILeaveWeather.d.ts +2 -0
- package/dist/types/tpaas-schemas/types/schemas/index.d.ts +1 -2
- package/dist/types/tpaas-schemas/types.d.ts +2 -2
- package/dist/types/tracker-proxy/consts.d.ts +1 -1
- package/dist/types/types.d.ts +2 -4
- package/dist/types/version.d.ts +1 -1
- package/package.json +1 -1
- package/dist/types/tpaas-builders/types.d.ts +0 -36
- package/dist/types/tpaas-schemas/types/schemas/IRequestAd.d.ts +0 -95
- /package/dist/cjs/{tpaas-builders → tpaas-context}/types.js +0 -0
- /package/dist/ejs/{tpaas-builders → tpaas-context}/types.js +0 -0
|
@@ -1,451 +1,444 @@
|
|
|
1
|
-
export declare const
|
|
2
|
-
readonly eventType: '
|
|
1
|
+
export declare const AnonymousImpressionUIElement: {
|
|
2
|
+
readonly eventType: 'AnonymousImpression';
|
|
3
3
|
readonly isAnonymous: true;
|
|
4
4
|
readonly object: {
|
|
5
5
|
readonly objectType: 'UIElement';
|
|
6
6
|
};
|
|
7
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
7
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/AnonymousImpressionUIElement.json';
|
|
8
8
|
};
|
|
9
9
|
export declare const CompletedHealthAction: {
|
|
10
10
|
readonly eventType: 'Completed';
|
|
11
11
|
readonly object: {
|
|
12
12
|
readonly objectType: 'HealthAction';
|
|
13
13
|
};
|
|
14
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
14
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/CompletedHealthAction.json';
|
|
15
15
|
};
|
|
16
16
|
export declare const EngagementAd: {
|
|
17
17
|
readonly eventType: 'Engagement';
|
|
18
18
|
readonly object: {
|
|
19
19
|
readonly objectType: 'Ad';
|
|
20
20
|
};
|
|
21
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
21
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/EngagementAd.json';
|
|
22
22
|
};
|
|
23
23
|
export declare const EngagementAffiliate: {
|
|
24
24
|
readonly eventType: 'Engagement';
|
|
25
25
|
readonly object: {
|
|
26
26
|
readonly objectType: 'Affiliate';
|
|
27
27
|
};
|
|
28
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
28
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/EngagementAffiliate.json';
|
|
29
29
|
};
|
|
30
30
|
export declare const EngagementAudio: {
|
|
31
31
|
readonly eventType: 'Engagement';
|
|
32
32
|
readonly object: {
|
|
33
33
|
readonly objectType: 'Audio';
|
|
34
34
|
};
|
|
35
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
35
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/EngagementAudio.json';
|
|
36
36
|
};
|
|
37
37
|
export declare const EngagementForm: {
|
|
38
38
|
readonly eventType: 'Engagement';
|
|
39
39
|
readonly object: {
|
|
40
40
|
readonly objectType: 'Form';
|
|
41
41
|
};
|
|
42
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
42
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/EngagementForm.json';
|
|
43
43
|
};
|
|
44
44
|
export declare const EngagementHealthUIElement: {
|
|
45
45
|
readonly eventType: 'Engagement';
|
|
46
46
|
readonly object: {
|
|
47
47
|
readonly objectType: 'HealthUIElement';
|
|
48
48
|
};
|
|
49
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
49
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/EngagementHealthUIElement.json';
|
|
50
50
|
};
|
|
51
51
|
export declare const EngagementOffer: {
|
|
52
52
|
readonly eventType: 'Engagement';
|
|
53
53
|
readonly object: {
|
|
54
54
|
readonly objectType: 'Offer';
|
|
55
55
|
};
|
|
56
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
56
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/EngagementOffer.json';
|
|
57
57
|
};
|
|
58
58
|
export declare const EngagementSchoolUIElement: {
|
|
59
59
|
readonly eventType: 'Engagement';
|
|
60
60
|
readonly object: {
|
|
61
61
|
readonly objectType: 'SchoolUIElement';
|
|
62
62
|
};
|
|
63
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
63
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/EngagementSchoolUIElement.json';
|
|
64
64
|
};
|
|
65
65
|
export declare const EngagementSportsUIElement: {
|
|
66
66
|
readonly eventType: 'Engagement';
|
|
67
67
|
readonly object: {
|
|
68
68
|
readonly objectType: 'SportsUIElement';
|
|
69
69
|
};
|
|
70
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
70
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/EngagementSportsUIElement.json';
|
|
71
71
|
};
|
|
72
72
|
export declare const EngagementTeaser: {
|
|
73
73
|
readonly eventType: 'Engagement';
|
|
74
74
|
readonly object: {
|
|
75
75
|
readonly objectType: 'Teaser';
|
|
76
76
|
};
|
|
77
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
77
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/EngagementTeaser.json';
|
|
78
78
|
};
|
|
79
79
|
export declare const EngagementTvModule: {
|
|
80
80
|
readonly eventType: 'Engagement';
|
|
81
81
|
readonly object: {
|
|
82
82
|
readonly objectType: 'TvModule';
|
|
83
83
|
};
|
|
84
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
84
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/EngagementTvModule.json';
|
|
85
85
|
};
|
|
86
86
|
export declare const EngagementTvSearch: {
|
|
87
87
|
readonly eventType: 'Engagement';
|
|
88
88
|
readonly object: {
|
|
89
89
|
readonly objectType: 'TvSearch';
|
|
90
90
|
};
|
|
91
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
91
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/EngagementTvSearch.json';
|
|
92
92
|
};
|
|
93
93
|
export declare const EngagementUIElement: {
|
|
94
94
|
readonly eventType: 'Engagement';
|
|
95
95
|
readonly object: {
|
|
96
96
|
readonly objectType: 'UIElement';
|
|
97
97
|
};
|
|
98
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
98
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/EngagementUIElement.json';
|
|
99
99
|
};
|
|
100
100
|
export declare const EngagementVideo: {
|
|
101
101
|
readonly eventType: 'Engagement';
|
|
102
102
|
readonly object: {
|
|
103
103
|
readonly objectType: 'Video';
|
|
104
104
|
};
|
|
105
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
105
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/EngagementVideo.json';
|
|
106
106
|
};
|
|
107
107
|
export declare const EngagementVideoAd: {
|
|
108
108
|
readonly eventType: 'Engagement';
|
|
109
109
|
readonly object: {
|
|
110
110
|
readonly objectType: 'VideoAd';
|
|
111
111
|
};
|
|
112
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
112
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/EngagementVideoAd.json';
|
|
113
113
|
};
|
|
114
114
|
export declare const EngagementWidget: {
|
|
115
115
|
readonly eventType: 'Engagement';
|
|
116
116
|
readonly object: {
|
|
117
117
|
readonly objectType: 'Widget';
|
|
118
118
|
};
|
|
119
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
119
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/EngagementWidget.json';
|
|
120
120
|
};
|
|
121
121
|
export declare const HeartbeatCommercialArticle: {
|
|
122
122
|
readonly eventType: 'Heartbeat';
|
|
123
123
|
readonly object: {
|
|
124
124
|
readonly objectType: 'CommercialArticle';
|
|
125
125
|
};
|
|
126
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
126
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/HeartbeatCommercialArticle.json';
|
|
127
127
|
};
|
|
128
128
|
export declare const ImpressionAd: {
|
|
129
129
|
readonly eventType: 'Impression';
|
|
130
130
|
readonly object: {
|
|
131
131
|
readonly objectType: 'Ad';
|
|
132
132
|
};
|
|
133
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
133
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ImpressionAd.json';
|
|
134
134
|
};
|
|
135
135
|
export declare const ImpressionAdSlot: {
|
|
136
136
|
readonly eventType: 'Impression';
|
|
137
137
|
readonly object: {
|
|
138
138
|
readonly objectType: 'AdSlot';
|
|
139
139
|
};
|
|
140
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
140
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ImpressionAdSlot.json';
|
|
141
141
|
};
|
|
142
142
|
export declare const ImpressionAffiliate: {
|
|
143
143
|
readonly eventType: 'Impression';
|
|
144
144
|
readonly object: {
|
|
145
145
|
readonly objectType: 'Affiliate';
|
|
146
146
|
};
|
|
147
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
147
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ImpressionAffiliate.json';
|
|
148
148
|
};
|
|
149
149
|
export declare const ImpressionForm: {
|
|
150
150
|
readonly eventType: 'Impression';
|
|
151
151
|
readonly object: {
|
|
152
152
|
readonly objectType: 'Form';
|
|
153
153
|
};
|
|
154
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
154
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ImpressionForm.json';
|
|
155
155
|
};
|
|
156
156
|
export declare const ImpressionHealthUIElement: {
|
|
157
157
|
readonly eventType: 'Impression';
|
|
158
158
|
readonly object: {
|
|
159
159
|
readonly objectType: 'HealthUIElement';
|
|
160
160
|
};
|
|
161
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
161
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ImpressionHealthUIElement.json';
|
|
162
162
|
};
|
|
163
163
|
export declare const ImpressionOffer: {
|
|
164
164
|
readonly eventType: 'Impression';
|
|
165
165
|
readonly object: {
|
|
166
166
|
readonly objectType: 'Offer';
|
|
167
167
|
};
|
|
168
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
168
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ImpressionOffer.json';
|
|
169
169
|
};
|
|
170
170
|
export declare const ImpressionPlayer: {
|
|
171
171
|
readonly eventType: 'Impression';
|
|
172
172
|
readonly object: {
|
|
173
173
|
readonly objectType: 'Player';
|
|
174
174
|
};
|
|
175
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
175
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ImpressionPlayer.json';
|
|
176
176
|
};
|
|
177
177
|
export declare const ImpressionSchoolUIElement: {
|
|
178
178
|
readonly eventType: 'Impression';
|
|
179
179
|
readonly object: {
|
|
180
180
|
readonly objectType: 'SchoolUIElement';
|
|
181
181
|
};
|
|
182
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
182
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ImpressionSchoolUIElement.json';
|
|
183
183
|
};
|
|
184
184
|
export declare const ImpressionSportsUIElement: {
|
|
185
185
|
readonly eventType: 'Impression';
|
|
186
186
|
readonly object: {
|
|
187
187
|
readonly objectType: 'SportsUIElement';
|
|
188
188
|
};
|
|
189
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
189
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ImpressionSportsUIElement.json';
|
|
190
190
|
};
|
|
191
191
|
export declare const ImpressionTeaser: {
|
|
192
192
|
readonly eventType: 'Impression';
|
|
193
193
|
readonly object: {
|
|
194
194
|
readonly objectType: 'Teaser';
|
|
195
195
|
};
|
|
196
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
196
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ImpressionTeaser.json';
|
|
197
197
|
};
|
|
198
198
|
export declare const ImpressionUIElement: {
|
|
199
199
|
readonly eventType: 'Impression';
|
|
200
200
|
readonly object: {
|
|
201
201
|
readonly objectType: 'UIElement';
|
|
202
202
|
};
|
|
203
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
203
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ImpressionUIElement.json';
|
|
204
204
|
};
|
|
205
205
|
export declare const ImpressionWidget: {
|
|
206
206
|
readonly eventType: 'Impression';
|
|
207
207
|
readonly object: {
|
|
208
208
|
readonly objectType: 'Widget';
|
|
209
209
|
};
|
|
210
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
210
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ImpressionWidget.json';
|
|
211
211
|
};
|
|
212
212
|
export declare const LeaveArticle: {
|
|
213
213
|
readonly eventType: 'Leave';
|
|
214
214
|
readonly object: {
|
|
215
215
|
readonly objectType: 'Article';
|
|
216
216
|
};
|
|
217
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
217
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/LeaveArticle.json';
|
|
218
218
|
};
|
|
219
219
|
export declare const LeaveAudioPage: {
|
|
220
220
|
readonly eventType: 'Leave';
|
|
221
221
|
readonly object: {
|
|
222
222
|
readonly objectType: 'AudioPage';
|
|
223
223
|
};
|
|
224
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
224
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/LeaveAudioPage.json';
|
|
225
225
|
};
|
|
226
226
|
export declare const LeaveError: {
|
|
227
227
|
readonly eventType: 'Leave';
|
|
228
228
|
readonly object: {
|
|
229
229
|
readonly objectType: 'Error';
|
|
230
230
|
};
|
|
231
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
231
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/LeaveError.json';
|
|
232
232
|
};
|
|
233
233
|
export declare const LeaveFrontpage: {
|
|
234
234
|
readonly eventType: 'Leave';
|
|
235
235
|
readonly object: {
|
|
236
236
|
readonly objectType: 'Frontpage';
|
|
237
237
|
};
|
|
238
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
238
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/LeaveFrontpage.json';
|
|
239
239
|
};
|
|
240
240
|
export declare const LeaveLandingpage: {
|
|
241
241
|
readonly eventType: 'Leave';
|
|
242
242
|
readonly object: {
|
|
243
243
|
readonly objectType: 'Landingpage';
|
|
244
244
|
};
|
|
245
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
245
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/LeaveLandingpage.json';
|
|
246
246
|
};
|
|
247
247
|
export declare const LeaveListing: {
|
|
248
248
|
readonly eventType: 'Leave';
|
|
249
249
|
readonly object: {
|
|
250
250
|
readonly objectType: 'Listing';
|
|
251
251
|
};
|
|
252
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
252
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/LeaveListing.json';
|
|
253
253
|
};
|
|
254
254
|
export declare const LeaveLockedArticle: {
|
|
255
255
|
readonly eventType: 'Leave';
|
|
256
256
|
readonly object: {
|
|
257
257
|
readonly objectType: 'LockedArticle';
|
|
258
258
|
};
|
|
259
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
259
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/LeaveLockedArticle.json';
|
|
260
260
|
};
|
|
261
261
|
export declare const LeaveLockedAudioPage: {
|
|
262
262
|
readonly eventType: 'Leave';
|
|
263
263
|
readonly object: {
|
|
264
264
|
readonly objectType: 'LockedAudioPage';
|
|
265
265
|
};
|
|
266
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
266
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/LeaveLockedAudioPage.json';
|
|
267
267
|
};
|
|
268
268
|
export declare const LeaveLockedPage: {
|
|
269
269
|
readonly eventType: 'Leave';
|
|
270
270
|
readonly object: {
|
|
271
271
|
readonly objectType: 'LockedPage';
|
|
272
272
|
};
|
|
273
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
273
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/LeaveLockedPage.json';
|
|
274
274
|
};
|
|
275
275
|
export declare const LeaveLockedVideoPage: {
|
|
276
276
|
readonly eventType: 'Leave';
|
|
277
277
|
readonly object: {
|
|
278
278
|
readonly objectType: 'LockedVideoPage';
|
|
279
279
|
};
|
|
280
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
280
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/LeaveLockedVideoPage.json';
|
|
281
281
|
};
|
|
282
282
|
export declare const LeavePage: {
|
|
283
283
|
readonly eventType: 'Leave';
|
|
284
284
|
readonly object: {
|
|
285
285
|
readonly objectType: 'Page';
|
|
286
286
|
};
|
|
287
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
287
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/LeavePage.json';
|
|
288
288
|
};
|
|
289
289
|
export declare const LeaveSchoolPage: {
|
|
290
290
|
readonly eventType: 'Leave';
|
|
291
291
|
readonly object: {
|
|
292
292
|
readonly objectType: 'SchoolPage';
|
|
293
293
|
};
|
|
294
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
294
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/LeaveSchoolPage.json';
|
|
295
295
|
};
|
|
296
296
|
export declare const LeaveSportsPage: {
|
|
297
297
|
readonly eventType: 'Leave';
|
|
298
298
|
readonly object: {
|
|
299
299
|
readonly objectType: 'SportsPage';
|
|
300
300
|
};
|
|
301
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
301
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/LeaveSportsPage.json';
|
|
302
302
|
};
|
|
303
303
|
export declare const LeaveVideoPage: {
|
|
304
304
|
readonly eventType: 'Leave';
|
|
305
305
|
readonly object: {
|
|
306
306
|
readonly objectType: 'VideoPage';
|
|
307
307
|
};
|
|
308
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
308
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/LeaveVideoPage.json';
|
|
309
309
|
};
|
|
310
310
|
export declare const LeaveWeather: {
|
|
311
311
|
readonly eventType: 'Leave';
|
|
312
312
|
readonly object: {
|
|
313
313
|
readonly objectType: 'Weather';
|
|
314
314
|
};
|
|
315
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
315
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/LeaveWeather.json';
|
|
316
316
|
};
|
|
317
317
|
export declare const LoadAd: {
|
|
318
318
|
readonly eventType: 'Load';
|
|
319
319
|
readonly object: {
|
|
320
320
|
readonly objectType: 'Ad';
|
|
321
321
|
};
|
|
322
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
323
|
-
};
|
|
324
|
-
export declare const RequestAd: {
|
|
325
|
-
readonly eventType: 'Request';
|
|
326
|
-
readonly object: {
|
|
327
|
-
readonly objectType: 'Ad';
|
|
328
|
-
};
|
|
329
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.15.1/schemas/RequestAd.json';
|
|
322
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/LoadAd.json';
|
|
330
323
|
};
|
|
331
324
|
export declare const ViewArticle: {
|
|
332
325
|
readonly eventType: 'View';
|
|
333
326
|
readonly object: {
|
|
334
327
|
readonly objectType: 'Article';
|
|
335
328
|
};
|
|
336
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
329
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ViewArticle.json';
|
|
337
330
|
};
|
|
338
331
|
export declare const ViewAudioPage: {
|
|
339
332
|
readonly eventType: 'View';
|
|
340
333
|
readonly object: {
|
|
341
334
|
readonly objectType: 'AudioPage';
|
|
342
335
|
};
|
|
343
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
336
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ViewAudioPage.json';
|
|
344
337
|
};
|
|
345
338
|
export declare const ViewError: {
|
|
346
339
|
readonly eventType: 'View';
|
|
347
340
|
readonly object: {
|
|
348
341
|
readonly objectType: 'Error';
|
|
349
342
|
};
|
|
350
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
343
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ViewError.json';
|
|
351
344
|
};
|
|
352
345
|
export declare const ViewFrontpage: {
|
|
353
346
|
readonly eventType: 'View';
|
|
354
347
|
readonly object: {
|
|
355
348
|
readonly objectType: 'Frontpage';
|
|
356
349
|
};
|
|
357
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
350
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ViewFrontpage.json';
|
|
358
351
|
};
|
|
359
352
|
export declare const ViewHealthPage: {
|
|
360
353
|
readonly eventType: 'View';
|
|
361
354
|
readonly object: {
|
|
362
355
|
readonly objectType: 'HealthPage';
|
|
363
356
|
};
|
|
364
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
357
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ViewHealthPage.json';
|
|
365
358
|
};
|
|
366
359
|
export declare const ViewLandingpage: {
|
|
367
360
|
readonly eventType: 'View';
|
|
368
361
|
readonly object: {
|
|
369
362
|
readonly objectType: 'Landingpage';
|
|
370
363
|
};
|
|
371
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
364
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ViewLandingpage.json';
|
|
372
365
|
};
|
|
373
366
|
export declare const ViewListing: {
|
|
374
367
|
readonly eventType: 'View';
|
|
375
368
|
readonly object: {
|
|
376
369
|
readonly objectType: 'Listing';
|
|
377
370
|
};
|
|
378
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
371
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ViewListing.json';
|
|
379
372
|
};
|
|
380
373
|
export declare const ViewLockedArticle: {
|
|
381
374
|
readonly eventType: 'View';
|
|
382
375
|
readonly object: {
|
|
383
376
|
readonly objectType: 'LockedArticle';
|
|
384
377
|
};
|
|
385
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
378
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ViewLockedArticle.json';
|
|
386
379
|
};
|
|
387
380
|
export declare const ViewLockedAudioPage: {
|
|
388
381
|
readonly eventType: 'View';
|
|
389
382
|
readonly object: {
|
|
390
383
|
readonly objectType: 'LockedAudioPage';
|
|
391
384
|
};
|
|
392
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
385
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ViewLockedAudioPage.json';
|
|
393
386
|
};
|
|
394
387
|
export declare const ViewLockedPage: {
|
|
395
388
|
readonly eventType: 'View';
|
|
396
389
|
readonly object: {
|
|
397
390
|
readonly objectType: 'LockedPage';
|
|
398
391
|
};
|
|
399
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
392
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ViewLockedPage.json';
|
|
400
393
|
};
|
|
401
394
|
export declare const ViewLockedVideoPage: {
|
|
402
395
|
readonly eventType: 'View';
|
|
403
396
|
readonly object: {
|
|
404
397
|
readonly objectType: 'LockedVideoPage';
|
|
405
398
|
};
|
|
406
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
399
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ViewLockedVideoPage.json';
|
|
407
400
|
};
|
|
408
401
|
export declare const ViewPage: {
|
|
409
402
|
readonly eventType: 'View';
|
|
410
403
|
readonly object: {
|
|
411
404
|
readonly objectType: 'Page';
|
|
412
405
|
};
|
|
413
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
406
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ViewPage.json';
|
|
414
407
|
};
|
|
415
408
|
export declare const ViewSchoolPage: {
|
|
416
409
|
readonly eventType: 'View';
|
|
417
410
|
readonly object: {
|
|
418
411
|
readonly objectType: 'SchoolPage';
|
|
419
412
|
};
|
|
420
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
413
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ViewSchoolPage.json';
|
|
421
414
|
};
|
|
422
415
|
export declare const ViewSportsPage: {
|
|
423
416
|
readonly eventType: 'View';
|
|
424
417
|
readonly object: {
|
|
425
418
|
readonly objectType: 'SportsPage';
|
|
426
419
|
};
|
|
427
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
420
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ViewSportsPage.json';
|
|
428
421
|
};
|
|
429
422
|
export declare const ViewTitle: {
|
|
430
423
|
readonly eventType: 'View';
|
|
431
424
|
readonly object: {
|
|
432
425
|
readonly objectType: 'Title';
|
|
433
426
|
};
|
|
434
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
427
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ViewTitle.json';
|
|
435
428
|
};
|
|
436
429
|
export declare const ViewVideoPage: {
|
|
437
430
|
readonly eventType: 'View';
|
|
438
431
|
readonly object: {
|
|
439
432
|
readonly objectType: 'VideoPage';
|
|
440
433
|
};
|
|
441
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
434
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ViewVideoPage.json';
|
|
442
435
|
};
|
|
443
436
|
export declare const ViewWeather: {
|
|
444
437
|
readonly eventType: 'View';
|
|
445
438
|
readonly object: {
|
|
446
439
|
readonly objectType: 'Weather';
|
|
447
440
|
};
|
|
448
|
-
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.
|
|
441
|
+
readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ViewWeather.json';
|
|
449
442
|
};
|
|
450
443
|
export declare const ADVERTISING_VALUES: readonly ['Accepted', 'Rejected', 'Unknown'];
|
|
451
444
|
export declare const ANALYTICS_VALUES: readonly ['Accepted', 'Rejected', 'Unknown'];
|
|
@@ -475,4 +468,4 @@ export declare const ROUTING_STAGE_VALUES: readonly ['Dev', 'Pre', 'Pro'];
|
|
|
475
468
|
export declare const TRACKER_TYPE_VALUES: readonly ['JS', 'IOS', 'Android', 'Backend'];
|
|
476
469
|
export declare const REGION_VALUES: readonly ['Norway', 'Sweden', 'Finland'];
|
|
477
470
|
export declare const UTM_MEDIUM_VALUES: readonly ['Organic', 'Cpc', 'Email', 'Social', 'Referral', 'Display', 'Affiliate', 'Video', 'Internal'];
|
|
478
|
-
export declare const CATALOG_VERSION: '2.
|
|
471
|
+
export declare const CATALOG_VERSION: '2.16.0';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type {
|
|
2
|
-
|
|
2
|
+
IAnonymousImpressionUIElement,
|
|
3
3
|
ICompletedHealthAction,
|
|
4
4
|
IEngagementAd,
|
|
5
5
|
IEngagementAffiliate,
|
|
@@ -45,7 +45,6 @@ import type {
|
|
|
45
45
|
ILeaveVideoPage,
|
|
46
46
|
ILeaveWeather,
|
|
47
47
|
ILoadAd,
|
|
48
|
-
IRequestAd,
|
|
49
48
|
IViewArticle,
|
|
50
49
|
IViewAudioPage,
|
|
51
50
|
IViewError,
|
|
@@ -66,7 +65,7 @@ import type {
|
|
|
66
65
|
} from './schemas/index.d.ts';
|
|
67
66
|
|
|
68
67
|
export type ITpaasEvent =
|
|
69
|
-
|
|
|
68
|
+
| IAnonymousImpressionUIElement
|
|
70
69
|
| ICompletedHealthAction
|
|
71
70
|
| IEngagementAd
|
|
72
71
|
| IEngagementAffiliate
|
|
@@ -112,7 +111,6 @@ export type ITpaasEvent =
|
|
|
112
111
|
| ILeaveVideoPage
|
|
113
112
|
| ILeaveWeather
|
|
114
113
|
| ILoadAd
|
|
115
|
-
| IRequestAd
|
|
116
114
|
| IViewArticle
|
|
117
115
|
| IViewAudioPage
|
|
118
116
|
| IViewError
|
|
@@ -9,7 +9,7 @@ import type { IUtmTags } from '../templates/IUtmTags.d.ts';
|
|
|
9
9
|
/**
|
|
10
10
|
* A view event when Consents are not yet decided (example: tracking the view of a cookie consent popup). Note: currently only used on Web. In this case, the SDK has restrictions on storage/cookies and is unable to provide user or device related fields.
|
|
11
11
|
*/
|
|
12
|
-
export interface
|
|
12
|
+
export interface IAnonymousImpressionUIElement {
|
|
13
13
|
/**
|
|
14
14
|
* The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
|
|
15
15
|
* @pattern ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)$
|
|
@@ -24,7 +24,7 @@ export interface IAnonymousViewUIElement {
|
|
|
24
24
|
/**
|
|
25
25
|
* The type of the event.
|
|
26
26
|
*/
|
|
27
|
-
eventType: '
|
|
27
|
+
eventType: 'AnonymousImpression';
|
|
28
28
|
experiments?: IExperiments;
|
|
29
29
|
isAnonymous: true;
|
|
30
30
|
object: {
|
|
@@ -64,10 +64,14 @@ export interface IEngagementAudio {
|
|
|
64
64
|
* Identifies the entry path that led to the playback. Examples include direct playback, next navigation etc
|
|
65
65
|
*/
|
|
66
66
|
playEntry: string;
|
|
67
|
+
/**
|
|
68
|
+
* Describes what triggered playback. None indicates automatic continuation of an ongoing playback flow, such as Play Next or Stories advancing without user interaction
|
|
69
|
+
*/
|
|
70
|
+
playTrigger: 'Autoplay' | 'Click' | 'Scroll' | 'None';
|
|
67
71
|
/**
|
|
68
72
|
* Indicates how the audio started
|
|
69
73
|
*/
|
|
70
|
-
playType: '
|
|
74
|
+
playType: 'Automatic' | 'Manual';
|
|
71
75
|
/**
|
|
72
76
|
* How the content is being consumed by the user
|
|
73
77
|
*/
|
|
@@ -140,7 +144,7 @@ export interface IEngagementAudio {
|
|
|
140
144
|
/**
|
|
141
145
|
* Indicates how the audio is configured to start
|
|
142
146
|
*/
|
|
143
|
-
playTypeIntent: '
|
|
147
|
+
playTypeIntent: 'Automatic' | 'Manual';
|
|
144
148
|
/**
|
|
145
149
|
* The type of player exposed to the user
|
|
146
150
|
*/
|
|
@@ -43,9 +43,9 @@ export interface IEngagementTeaser {
|
|
|
43
43
|
metrics?: IMetrics;
|
|
44
44
|
object: {
|
|
45
45
|
/**
|
|
46
|
-
* The engine producing this teaser. Use “
|
|
46
|
+
* The engine producing this teaser. Use “Editorial” for manually curated item.
|
|
47
47
|
*/
|
|
48
|
-
contentSource: 'Capi' | 'Curate' | 'ElasticSearch' | 'Editorial' | 'Stream';
|
|
48
|
+
contentSource: 'Capi' | 'Curate' | 'ElasticSearch' | 'Editorial' | 'Stream' | 'Other';
|
|
49
49
|
/**
|
|
50
50
|
* The creative of the teaser.
|
|
51
51
|
*/
|
|
@@ -77,7 +77,10 @@ export interface IEngagementTvModule {
|
|
|
77
77
|
| 'SportListing'
|
|
78
78
|
| 'PremiereCalendar'
|
|
79
79
|
| 'UserCalendar'
|
|
80
|
-
| 'TrailerList'
|
|
80
|
+
| 'TrailerList'
|
|
81
|
+
| 'PlayListSet'
|
|
82
|
+
| 'PlayListFiltered'
|
|
83
|
+
| 'PlayUserFiltered';
|
|
81
84
|
/**
|
|
82
85
|
* The name of the component.
|
|
83
86
|
*/
|