@schibsted/pulse-sdk 8.0.0-rc.2 → 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.
Files changed (409) hide show
  1. package/dist/cjs/Tracker.js +582 -471
  2. package/dist/cjs/app-integration.js +3 -3
  3. package/dist/cjs/builders/actor.js +6 -6
  4. package/dist/cjs/builders/consents.js +8 -8
  5. package/dist/cjs/builders/device-browser.js +8 -8
  6. package/dist/cjs/builders/device-node.js +3 -3
  7. package/dist/cjs/builders/events-anonymous-node.js +3 -3
  8. package/dist/cjs/builders/events-node.js +7 -7
  9. package/dist/cjs/builders/experimentMetadata.js +2 -2
  10. package/dist/cjs/builders/experiments.js +1 -0
  11. package/dist/cjs/builders/objects/objects-anonymous-browser.js +2 -2
  12. package/dist/cjs/builders/objects/objects-anonymous-node.js +9 -9
  13. package/dist/cjs/builders/objects/objects-browser.js +2 -2
  14. package/dist/cjs/builders/objects/objects-node.js +10 -10
  15. package/dist/cjs/builders/objects/utils.js +3 -3
  16. package/dist/cjs/builders/origin-browser.js +2 -2
  17. package/dist/cjs/builders/origin-node.js +4 -4
  18. package/dist/cjs/builders/session-browser.js +6 -80
  19. package/dist/cjs/cis-sync/cis-browser.js +219 -0
  20. package/{node_modules/@schibsted/pulse-cis-sync/dist/cjs → dist/cjs/cis-sync}/cis.js +0 -1
  21. package/dist/cjs/cis-sync/eventEmitter.js +37 -0
  22. package/{node_modules/@schibsted/pulse-cis-sync/dist/cjs → dist/cjs/cis-sync}/index.js +0 -1
  23. package/{node_modules/@schibsted/pulse-cis-sync/dist/cjs → dist/cjs/cis-sync}/pulse-cookie.js +53 -63
  24. package/{node_modules/@schibsted/pulse-cis-sync/dist/cjs → dist/cjs/cis-sync}/storage/pulseStorage.js +28 -21
  25. package/dist/cjs/cis-sync/storage/storage.js +24 -0
  26. package/dist/cjs/createPulseTracker.js +4 -4
  27. package/dist/cjs/identity/actor.js +20 -8
  28. package/dist/cjs/identity/advertising.js +1 -1
  29. package/dist/cjs/identity/cis.js +7 -6
  30. package/dist/cjs/index.js +3 -3
  31. package/dist/cjs/leaveTracking/index.js +10 -10
  32. package/dist/cjs/leaveTrackingTpaas/constants.js +2 -7
  33. package/dist/cjs/leaveTrackingTpaas/index.js +70 -46
  34. package/dist/cjs/network-browser.js +3 -3
  35. package/dist/cjs/remoteConfig/index.js +5 -5
  36. package/dist/cjs/session/store.js +96 -0
  37. package/dist/cjs/tpaas-builders/builders/catalogVersion.js +9 -0
  38. package/{node_modules/@schibsted/tpaas-event-builder/dist/cjs → dist/cjs/tpaas-builders}/builders/device.js +50 -72
  39. package/{node_modules/@schibsted/tpaas-event-builder/dist/cjs → dist/cjs/tpaas-builders}/builders/navigationType.js +2 -3
  40. package/dist/cjs/tpaas-builders/builders/pageContent.js +7 -0
  41. package/{node_modules/@schibsted/tpaas-event-builder/dist/cjs → dist/cjs/tpaas-builders}/builders/pageInfo.js +2 -3
  42. package/dist/cjs/tpaas-builders/builders/pageSports.js +7 -0
  43. package/dist/cjs/tpaas-builders/builders/provider.js +19 -0
  44. package/dist/cjs/tpaas-builders/builders/referrer.js +17 -0
  45. package/dist/cjs/tpaas-builders/builders/session.js +5 -0
  46. package/{node_modules/@schibsted/tpaas-event-builder/dist/cjs → dist/cjs/tpaas-builders}/builders/trackerBuilder.js +2 -3
  47. package/{node_modules/@schibsted/tpaas-event-builder/dist/cjs → dist/cjs/tpaas-builders}/builders/user.js +1 -1
  48. package/{node_modules/@schibsted/tpaas-event-builder/dist/cjs → dist/cjs/tpaas-builders}/builders/utm.js +3 -9
  49. package/dist/cjs/tpaas-builders/builders.js +326 -0
  50. package/dist/cjs/tpaas-builders/guards.js +7 -0
  51. package/{node_modules/@schibsted/tpaas-event-builder/dist/cjs → dist/cjs/tpaas-builders}/index.js +3 -0
  52. package/dist/cjs/tpaas-context/adapters.js +85 -0
  53. package/dist/cjs/tpaas-context/browser.js +51 -0
  54. package/dist/cjs/tpaas-context/index.js +6 -0
  55. package/dist/cjs/tpaas-context/prepare.js +177 -0
  56. package/dist/cjs/tpaas-context/session.js +23 -0
  57. package/{node_modules/@schibsted/pulse-cis-sync/dist/cjs → dist/cjs/tpaas-context}/types.js +0 -1
  58. package/{node_modules/@schibsted/tpaas-schemas/dist/cjs → dist/cjs/tpaas-schemas}/constants.js +189 -158
  59. package/{node_modules/@schibsted/tpaas-schemas/dist/cjs → dist/cjs/tpaas-schemas}/index.js +1 -0
  60. package/dist/cjs/tpaas-schemas/types.js +2 -0
  61. package/dist/cjs/tracker-proxy/consts.js +29 -7
  62. package/dist/cjs/tracker-proxy/proxy-provider.js +2 -2
  63. package/{node_modules/@schibsted/pulse-utils/dist/cjs → dist/cjs/utils}/index.js +4 -1
  64. package/dist/cjs/utils/xDomainId.js +15 -0
  65. package/dist/cjs/version.js +1 -1
  66. package/dist/cjs/visibility-observer/index.js +9 -7
  67. package/dist/cjs/wrapper/types/event.js +5 -0
  68. package/dist/cjs/wrapper/utils/map-page-to-page-ref.js +13 -0
  69. package/dist/ejs/Tracker.js +558 -447
  70. package/dist/ejs/app-integration.js +1 -1
  71. package/dist/ejs/builders/actor.js +3 -3
  72. package/dist/ejs/builders/consents.js +4 -4
  73. package/dist/ejs/builders/device-browser.js +2 -2
  74. package/dist/ejs/builders/device-node.js +1 -1
  75. package/dist/ejs/builders/events-anonymous-node.js +1 -1
  76. package/dist/ejs/builders/events-node.js +4 -4
  77. package/dist/ejs/builders/experimentMetadata.js +1 -1
  78. package/dist/ejs/builders/experiments.js +1 -1
  79. package/dist/ejs/builders/objects/objects-anonymous-browser.js +1 -1
  80. package/dist/ejs/builders/objects/objects-anonymous-node.js +1 -1
  81. package/dist/ejs/builders/objects/objects-browser.js +1 -1
  82. package/dist/ejs/builders/objects/objects-node.js +1 -1
  83. package/dist/ejs/builders/objects/utils.js +1 -1
  84. package/dist/ejs/builders/origin-browser.js +1 -1
  85. package/dist/ejs/builders/origin-node.js +1 -1
  86. package/dist/ejs/builders/session-browser.js +5 -77
  87. package/{node_modules/@schibsted/pulse-cis-sync/dist/ejs → dist/ejs/cis-sync}/cis-browser.js +17 -4
  88. package/{node_modules/@schibsted/pulse-cis-sync/dist/ejs → dist/ejs/cis-sync}/cis.js +0 -1
  89. package/{node_modules/@schibsted/pulse-cis-sync/dist/ejs → dist/ejs/cis-sync}/eventEmitter.js +0 -1
  90. package/{node_modules/@schibsted/pulse-cis-sync/dist/ejs → dist/ejs/cis-sync}/index.js +0 -1
  91. package/{node_modules/@schibsted/pulse-cis-sync/dist/ejs → dist/ejs/cis-sync}/pulse-cookie.js +1 -2
  92. package/{node_modules/@schibsted/pulse-cis-sync/dist/ejs → dist/ejs/cis-sync}/storage/pulseStorage.js +12 -4
  93. package/{node_modules/@schibsted/pulse-cis-sync/dist/ejs → dist/ejs/cis-sync}/storage/storage.js +6 -2
  94. package/dist/ejs/createPulseTracker.js +1 -1
  95. package/dist/ejs/identity/actor.js +21 -9
  96. package/dist/ejs/identity/advertising.js +1 -1
  97. package/dist/ejs/identity/cis.js +4 -3
  98. package/dist/ejs/index.js +4 -3
  99. package/dist/ejs/leaveTracking/index.js +1 -1
  100. package/dist/ejs/leaveTrackingTpaas/constants.js +1 -5
  101. package/dist/ejs/leaveTrackingTpaas/index.js +65 -41
  102. package/dist/ejs/network-browser.js +1 -1
  103. package/dist/ejs/remoteConfig/index.js +1 -1
  104. package/dist/ejs/session/store.js +90 -0
  105. package/dist/ejs/tpaas-builders/builders/catalogVersion.js +6 -0
  106. package/{node_modules/@schibsted/tpaas-event-builder/dist/ejs → dist/ejs/tpaas-builders}/builders/device.js +50 -72
  107. package/{node_modules/@schibsted/tpaas-event-builder/dist/ejs → dist/ejs/tpaas-builders}/builders/navigationType.js +2 -3
  108. package/dist/ejs/tpaas-builders/builders/pageContent.js +3 -0
  109. package/{node_modules/@schibsted/tpaas-event-builder/dist/ejs → dist/ejs/tpaas-builders}/builders/pageInfo.js +2 -3
  110. package/dist/ejs/tpaas-builders/builders/pageSports.js +3 -0
  111. package/dist/ejs/tpaas-builders/builders/provider.js +16 -0
  112. package/dist/ejs/tpaas-builders/builders/referrer.js +13 -0
  113. package/dist/ejs/tpaas-builders/builders/session.js +1 -0
  114. package/dist/ejs/tpaas-builders/builders/trackerBuilder.js +10 -0
  115. package/{node_modules/@schibsted/tpaas-event-builder/dist/ejs → dist/ejs/tpaas-builders}/builders/user.js +1 -1
  116. package/{node_modules/@schibsted/tpaas-event-builder/dist/ejs → dist/ejs/tpaas-builders}/builders/utm.js +3 -9
  117. package/dist/ejs/tpaas-builders/builders.js +259 -0
  118. package/dist/ejs/tpaas-builders/guards.js +4 -0
  119. package/dist/ejs/tpaas-builders/index.js +2 -0
  120. package/dist/ejs/tpaas-context/adapters.js +80 -0
  121. package/dist/ejs/tpaas-context/browser.js +47 -0
  122. package/dist/ejs/tpaas-context/index.js +1 -0
  123. package/dist/ejs/tpaas-context/prepare.js +137 -0
  124. package/dist/ejs/tpaas-context/session.js +19 -0
  125. package/{node_modules/@schibsted/tpaas-schemas/dist/ejs → dist/ejs/tpaas-schemas}/constants.js +187 -156
  126. package/{node_modules/@schibsted/tpaas-schemas/dist/ejs → dist/ejs/tpaas-schemas}/index.js +1 -0
  127. package/dist/ejs/tpaas-schemas/types.js +1 -0
  128. package/dist/ejs/tracker-proxy/consts.js +29 -7
  129. package/dist/ejs/tracker-proxy/proxy-provider.js +1 -1
  130. package/{node_modules/@schibsted/pulse-utils/dist/ejs → dist/ejs/utils}/index.js +1 -0
  131. package/dist/ejs/utils/xDomainId.js +11 -0
  132. package/dist/ejs/version.js +1 -1
  133. package/dist/ejs/visibility-observer/index.js +9 -7
  134. package/dist/ejs/wrapper/types/event.js +4 -1
  135. package/dist/ejs/wrapper/utils/map-page-to-page-ref.js +10 -0
  136. package/dist/types/Tracker.d.ts +198 -93
  137. package/dist/types/builders/actor.d.ts +3 -2
  138. package/dist/types/builders/consents.d.ts +3 -3
  139. package/dist/types/builders/device-node.d.ts +2 -2
  140. package/dist/types/builders/events-anonymous-node.d.ts +4 -4
  141. package/dist/types/builders/events-node.d.ts +5 -5
  142. package/dist/types/builders/experiments.d.ts +1 -0
  143. package/dist/types/builders/index.d.ts +1 -1
  144. package/dist/types/builders/objects/objects-anonymous-node.d.ts +1 -1
  145. package/dist/types/builders/objects/objects-node.d.ts +1 -1
  146. package/dist/types/builders/origin-node.d.ts +1 -1
  147. package/dist/types/builders/session-browser.d.ts +1 -13
  148. package/{node_modules/@schibsted/pulse-cis-sync/dist/types → dist/types/cis-sync}/cis-browser.d.ts +1 -0
  149. package/{node_modules/@schibsted/pulse-cis-sync/dist/types → dist/types/cis-sync}/storage/pulseStorage.d.ts +12 -4
  150. package/{node_modules/@schibsted/pulse-cis-sync/dist/cjs → dist/types/cis-sync}/storage/storage.d.ts +2 -1
  151. package/dist/types/config.d.ts +1 -1
  152. package/dist/types/createPulseTracker.d.ts +1 -1
  153. package/dist/types/identity/actor.d.ts +3 -3
  154. package/dist/types/identity/advertising.d.ts +2 -2
  155. package/dist/types/identity/cis.d.ts +4 -4
  156. package/dist/types/index.d.ts +7 -8
  157. package/dist/types/leaveTrackingTpaas/constants.d.ts +1 -5
  158. package/dist/types/leaveTrackingTpaas/index.d.ts +6 -6
  159. package/dist/types/leaveTrackingTpaas/types.d.ts +2 -10
  160. package/dist/types/session/store.d.ts +34 -0
  161. package/dist/types/tpaas-builders/builders/anonymous.d.ts +3 -0
  162. package/dist/types/tpaas-builders/builders/baseEvent.d.ts +3 -0
  163. package/dist/types/tpaas-builders/builders/catalogVersion.d.ts +3 -0
  164. package/dist/types/tpaas-builders/builders/consents.d.ts +5 -0
  165. package/dist/types/tpaas-builders/builders/device.d.ts +5 -0
  166. package/dist/types/tpaas-builders/builders/experiments.d.ts +9 -0
  167. package/dist/types/tpaas-builders/builders/navigationType.d.ts +6 -0
  168. package/dist/types/tpaas-builders/builders/pageContent.d.ts +6 -0
  169. package/dist/types/tpaas-builders/builders/pageInfo.d.ts +7 -0
  170. package/dist/types/tpaas-builders/builders/pageSports.d.ts +6 -0
  171. package/dist/types/tpaas-builders/builders/pageviewId.d.ts +6 -0
  172. package/dist/types/tpaas-builders/builders/provider.d.ts +5 -0
  173. package/dist/types/tpaas-builders/builders/referrer.d.ts +6 -0
  174. package/dist/types/tpaas-builders/builders/session.d.ts +4 -0
  175. package/dist/types/tpaas-builders/builders/time.d.ts +4 -0
  176. package/dist/types/tpaas-builders/builders/trackerBuilder.d.ts +5 -0
  177. package/dist/types/tpaas-builders/builders/user.d.ts +5 -0
  178. package/dist/types/tpaas-builders/builders/utm.d.ts +7 -0
  179. package/dist/types/tpaas-builders/builders.d.ts +141 -0
  180. package/dist/types/tpaas-builders/guards.d.ts +2 -0
  181. package/dist/types/tpaas-builders/index.d.ts +2 -0
  182. package/dist/types/tpaas-context/adapters.d.ts +26 -0
  183. package/dist/types/tpaas-context/browser.d.ts +8 -0
  184. package/dist/types/tpaas-context/index.d.ts +2 -0
  185. package/dist/types/tpaas-context/prepare.d.ts +38 -0
  186. package/dist/types/tpaas-context/session.d.ts +10 -0
  187. package/dist/types/tpaas-context/types.d.ts +66 -0
  188. package/dist/types/tpaas-schemas/constants.d.ts +471 -0
  189. package/dist/types/tpaas-schemas/index.d.ts +5 -0
  190. package/dist/types/tpaas-schemas/types/ITpaasEvent.d.ts +130 -0
  191. package/dist/types/tpaas-schemas/types/schemas/IAnonymousImpressionUIElement.d.ts +58 -0
  192. package/dist/types/tpaas-schemas/types/schemas/ICompletedHealthAction.d.ts +139 -0
  193. package/dist/types/tpaas-schemas/types/schemas/IEngagementAd.d.ts +117 -0
  194. package/dist/types/tpaas-schemas/types/schemas/IEngagementAffiliate.d.ts +144 -0
  195. package/dist/types/tpaas-schemas/types/schemas/IEngagementAudio.d.ts +213 -0
  196. package/dist/types/tpaas-schemas/types/schemas/IEngagementForm.d.ts +111 -0
  197. package/dist/types/tpaas-schemas/types/schemas/IEngagementHealthUIElement.d.ts +133 -0
  198. package/dist/types/tpaas-schemas/types/schemas/IEngagementOffer.d.ts +107 -0
  199. package/dist/types/tpaas-schemas/types/schemas/IEngagementSchoolUIElement.d.ts +107 -0
  200. package/dist/types/tpaas-schemas/types/schemas/IEngagementSportsUIElement.d.ts +157 -0
  201. package/dist/types/tpaas-schemas/types/schemas/IEngagementTeaser.d.ts +114 -0
  202. package/dist/types/tpaas-schemas/types/schemas/IEngagementTvModule.d.ts +133 -0
  203. package/dist/types/tpaas-schemas/types/schemas/IEngagementTvSearch.d.ts +142 -0
  204. package/dist/types/tpaas-schemas/types/schemas/IEngagementUIElement.d.ts +105 -0
  205. package/dist/types/tpaas-schemas/types/schemas/IEngagementVideo.d.ts +238 -0
  206. package/dist/types/tpaas-schemas/types/schemas/IEngagementVideoAd.d.ts +147 -0
  207. package/dist/types/tpaas-schemas/types/schemas/IEngagementWidget.d.ts +91 -0
  208. package/dist/types/tpaas-schemas/types/schemas/IHeartbeatCommercialArticle.d.ts +96 -0
  209. package/dist/types/tpaas-schemas/types/schemas/IImpressionAd.d.ts +115 -0
  210. package/dist/types/tpaas-schemas/types/schemas/IImpressionAdSlot.d.ts +89 -0
  211. package/dist/types/tpaas-schemas/types/schemas/IImpressionAffiliate.d.ts +142 -0
  212. package/dist/types/tpaas-schemas/types/schemas/IImpressionForm.d.ts +113 -0
  213. package/dist/types/tpaas-schemas/types/schemas/IImpressionHealthUIElement.d.ts +138 -0
  214. package/dist/types/tpaas-schemas/types/schemas/IImpressionOffer.d.ts +109 -0
  215. package/dist/types/tpaas-schemas/types/schemas/IImpressionPlayer.d.ts +108 -0
  216. package/dist/types/tpaas-schemas/types/schemas/IImpressionSchoolUIElement.d.ts +109 -0
  217. package/dist/types/tpaas-schemas/types/schemas/IImpressionSportsUIElement.d.ts +159 -0
  218. package/dist/types/tpaas-schemas/types/schemas/IImpressionTeaser.d.ts +112 -0
  219. package/dist/types/tpaas-schemas/types/schemas/IImpressionUIElement.d.ts +107 -0
  220. package/dist/types/tpaas-schemas/types/schemas/IImpressionWidget.d.ts +89 -0
  221. package/dist/types/tpaas-schemas/types/schemas/ILeaveArticle.d.ts +133 -0
  222. package/dist/types/tpaas-schemas/types/schemas/ILeaveAudioPage.d.ts +88 -0
  223. package/dist/types/tpaas-schemas/types/schemas/ILeaveError.d.ts +95 -0
  224. package/dist/types/tpaas-schemas/types/schemas/ILeaveFrontpage.d.ts +83 -0
  225. package/dist/types/tpaas-schemas/types/schemas/ILeaveLandingpage.d.ts +90 -0
  226. package/dist/types/tpaas-schemas/types/schemas/ILeaveListing.d.ts +123 -0
  227. package/dist/types/tpaas-schemas/types/schemas/ILeaveLockedArticle.d.ts +139 -0
  228. package/dist/types/tpaas-schemas/types/schemas/ILeaveLockedAudioPage.d.ts +97 -0
  229. package/dist/types/tpaas-schemas/types/schemas/ILeaveLockedPage.d.ts +90 -0
  230. package/dist/types/tpaas-schemas/types/schemas/ILeaveLockedVideoPage.d.ts +97 -0
  231. package/dist/types/tpaas-schemas/types/schemas/ILeavePage.d.ts +82 -0
  232. package/dist/types/tpaas-schemas/types/schemas/ILeaveSchoolPage.d.ts +84 -0
  233. package/dist/types/tpaas-schemas/types/schemas/ILeaveSportsPage.d.ts +137 -0
  234. package/dist/types/tpaas-schemas/types/schemas/ILeaveVideoPage.d.ts +91 -0
  235. package/dist/types/tpaas-schemas/types/schemas/ILeaveWeather.d.ts +96 -0
  236. package/dist/types/tpaas-schemas/types/schemas/ILoadAd.d.ts +119 -0
  237. package/dist/types/tpaas-schemas/types/schemas/IViewArticle.d.ts +133 -0
  238. package/dist/types/tpaas-schemas/types/schemas/IViewAudioPage.d.ts +87 -0
  239. package/dist/types/tpaas-schemas/types/schemas/IViewError.d.ts +90 -0
  240. package/dist/types/tpaas-schemas/types/schemas/IViewFrontpage.d.ts +80 -0
  241. package/dist/types/tpaas-schemas/types/schemas/IViewHealthPage.d.ts +119 -0
  242. package/dist/types/tpaas-schemas/types/schemas/IViewLandingpage.d.ts +76 -0
  243. package/dist/types/tpaas-schemas/types/schemas/IViewListing.d.ts +118 -0
  244. package/dist/types/tpaas-schemas/types/schemas/IViewLockedArticle.d.ts +139 -0
  245. package/dist/types/tpaas-schemas/types/schemas/IViewLockedAudioPage.d.ts +95 -0
  246. package/dist/types/tpaas-schemas/types/schemas/IViewLockedPage.d.ts +94 -0
  247. package/dist/types/tpaas-schemas/types/schemas/IViewLockedVideoPage.d.ts +95 -0
  248. package/dist/types/tpaas-schemas/types/schemas/IViewPage.d.ts +86 -0
  249. package/dist/types/tpaas-schemas/types/schemas/IViewSchoolPage.d.ts +88 -0
  250. package/dist/types/tpaas-schemas/types/schemas/IViewSportsPage.d.ts +135 -0
  251. package/dist/types/tpaas-schemas/types/schemas/IViewTitle.d.ts +92 -0
  252. package/dist/types/tpaas-schemas/types/schemas/IViewVideoPage.d.ts +87 -0
  253. package/dist/types/tpaas-schemas/types/schemas/IViewWeather.d.ts +94 -0
  254. package/dist/types/tpaas-schemas/types/schemas/index.d.ts +63 -0
  255. package/dist/types/tpaas-schemas/types/templates/IBranded.d.ts +42 -0
  256. package/dist/types/tpaas-schemas/types/templates/IConsents.d.ts +34 -0
  257. package/dist/types/tpaas-schemas/types/templates/IContent.d.ts +56 -0
  258. package/dist/types/tpaas-schemas/types/templates/IDevice.d.ts +62 -0
  259. package/dist/types/tpaas-schemas/types/templates/IEngagement.d.ts +21 -0
  260. package/dist/types/tpaas-schemas/types/templates/IExperiments.d.ts +35 -0
  261. package/dist/types/tpaas-schemas/types/templates/IHealthFood.d.ts +55 -0
  262. package/dist/types/tpaas-schemas/types/templates/IHealthOrigin.d.ts +27 -0
  263. package/dist/types/tpaas-schemas/types/templates/IHealthPhysicalActivity.d.ts +36 -0
  264. package/dist/types/tpaas-schemas/types/templates/IHealthTraining.d.ts +74 -0
  265. package/dist/types/tpaas-schemas/types/templates/IHealthUserData.d.ts +25 -0
  266. package/dist/types/tpaas-schemas/types/templates/ILeave.d.ts +54 -0
  267. package/dist/types/tpaas-schemas/types/templates/ILeaveAudio.d.ts +37 -0
  268. package/dist/types/tpaas-schemas/types/templates/ILeaveStories.d.ts +34 -0
  269. package/dist/types/tpaas-schemas/types/templates/ILocation.d.ts +21 -0
  270. package/dist/types/tpaas-schemas/types/templates/IMetrics.d.ts +32 -0
  271. package/dist/types/tpaas-schemas/types/templates/IPageRef.d.ts +46 -0
  272. package/dist/types/tpaas-schemas/types/templates/IPlacement.d.ts +45 -0
  273. package/dist/types/tpaas-schemas/types/templates/IProvider.d.ts +73 -0
  274. package/dist/types/tpaas-schemas/types/templates/ISchool.d.ts +74 -0
  275. package/dist/types/tpaas-schemas/types/templates/ISession.d.ts +33 -0
  276. package/dist/types/tpaas-schemas/types/templates/ISports.d.ts +98 -0
  277. package/dist/types/tpaas-schemas/types/templates/ISportsUserFeatures.d.ts +28 -0
  278. package/dist/types/tpaas-schemas/types/templates/ITime.d.ts +32 -0
  279. package/dist/types/tpaas-schemas/types/templates/ITracker.d.ts +37 -0
  280. package/dist/types/tpaas-schemas/types/templates/IUser.d.ts +34 -0
  281. package/dist/types/tpaas-schemas/types/templates/IUtmTags.d.ts +38 -0
  282. package/dist/types/tpaas-schemas/types/templates/index.d.ts +27 -0
  283. package/dist/types/tpaas-schemas/types.d.ts +42 -0
  284. package/dist/types/tracker-proxy/consts.d.ts +2 -2
  285. package/dist/types/types.d.ts +21 -17
  286. package/{node_modules/@schibsted/pulse-utils/dist/types → dist/types/utils}/index.d.ts +1 -0
  287. package/dist/types/utils/xDomainId.d.ts +2 -0
  288. package/dist/types/version.d.ts +1 -1
  289. package/dist/types/visibility-observer/index.d.ts +6 -1
  290. package/dist/types/wrapper/engagement/ui-element/types.d.ts +1 -1
  291. package/dist/types/wrapper/types/base-event.d.ts +1 -1
  292. package/dist/types/wrapper/types/event.d.ts +4 -2
  293. package/dist/types/wrapper/types/utils.d.ts +1 -1
  294. package/dist/types/wrapper/utils/map-page-to-page-ref.d.ts +3 -0
  295. package/dist/types/wrapper/view/article/types.d.ts +1 -1
  296. package/dist/types/wrapper/view/frontpage/types.d.ts +1 -1
  297. package/dist/types/wrapper/view/listing/types.d.ts +1 -1
  298. package/dist/types/wrapper/view/loginposter/types.d.ts +1 -1
  299. package/dist/types/wrapper/view/page/types.d.ts +1 -1
  300. package/dist/types/wrapper/view/salesposter/types.d.ts +1 -1
  301. package/dist/types/wrapper/view/ui-element/types.d.ts +1 -1
  302. package/package.json +21 -20
  303. package/dist/cjs/Tracker.test-d.js +0 -76
  304. package/dist/ejs/Tracker.test-d.js +0 -71
  305. package/node_modules/@schibsted/pulse-cis-sync/dist/cjs/cis-browser.d.ts +0 -26
  306. package/node_modules/@schibsted/pulse-cis-sync/dist/cjs/cis-browser.js +0 -273
  307. package/node_modules/@schibsted/pulse-cis-sync/dist/cjs/cis-browser.js.map +0 -1
  308. package/node_modules/@schibsted/pulse-cis-sync/dist/cjs/cis.js.map +0 -1
  309. package/node_modules/@schibsted/pulse-cis-sync/dist/cjs/eventEmitter.js +0 -39
  310. package/node_modules/@schibsted/pulse-cis-sync/dist/cjs/eventEmitter.js.map +0 -1
  311. package/node_modules/@schibsted/pulse-cis-sync/dist/cjs/index.js.map +0 -1
  312. package/node_modules/@schibsted/pulse-cis-sync/dist/cjs/pulse-cookie.js.map +0 -1
  313. package/node_modules/@schibsted/pulse-cis-sync/dist/cjs/storage/pulseStorage.d.ts +0 -36
  314. package/node_modules/@schibsted/pulse-cis-sync/dist/cjs/storage/pulseStorage.js.map +0 -1
  315. package/node_modules/@schibsted/pulse-cis-sync/dist/cjs/storage/storage.js +0 -21
  316. package/node_modules/@schibsted/pulse-cis-sync/dist/cjs/storage/storage.js.map +0 -1
  317. package/node_modules/@schibsted/pulse-cis-sync/dist/cjs/types.js.map +0 -1
  318. package/node_modules/@schibsted/pulse-cis-sync/dist/ejs/cis-browser.d.ts +0 -26
  319. package/node_modules/@schibsted/pulse-cis-sync/dist/ejs/cis-browser.js.map +0 -1
  320. package/node_modules/@schibsted/pulse-cis-sync/dist/ejs/cis.d.ts +0 -10
  321. package/node_modules/@schibsted/pulse-cis-sync/dist/ejs/cis.js.map +0 -1
  322. package/node_modules/@schibsted/pulse-cis-sync/dist/ejs/eventEmitter.d.ts +0 -14
  323. package/node_modules/@schibsted/pulse-cis-sync/dist/ejs/eventEmitter.js.map +0 -1
  324. package/node_modules/@schibsted/pulse-cis-sync/dist/ejs/index.d.ts +0 -4
  325. package/node_modules/@schibsted/pulse-cis-sync/dist/ejs/index.js.map +0 -1
  326. package/node_modules/@schibsted/pulse-cis-sync/dist/ejs/pulse-cookie.d.ts +0 -55
  327. package/node_modules/@schibsted/pulse-cis-sync/dist/ejs/pulse-cookie.js.map +0 -1
  328. package/node_modules/@schibsted/pulse-cis-sync/dist/ejs/storage/pulseStorage.d.ts +0 -36
  329. package/node_modules/@schibsted/pulse-cis-sync/dist/ejs/storage/pulseStorage.js.map +0 -1
  330. package/node_modules/@schibsted/pulse-cis-sync/dist/ejs/storage/storage.d.ts +0 -6
  331. package/node_modules/@schibsted/pulse-cis-sync/dist/ejs/storage/storage.js.map +0 -1
  332. package/node_modules/@schibsted/pulse-cis-sync/dist/ejs/types.d.ts +0 -24
  333. package/node_modules/@schibsted/pulse-cis-sync/dist/ejs/types.js +0 -2
  334. package/node_modules/@schibsted/pulse-cis-sync/dist/ejs/types.js.map +0 -1
  335. package/node_modules/@schibsted/pulse-cis-sync/dist/types/cis.d.ts +0 -10
  336. package/node_modules/@schibsted/pulse-cis-sync/dist/types/eventEmitter.d.ts +0 -14
  337. package/node_modules/@schibsted/pulse-cis-sync/dist/types/index.d.ts +0 -4
  338. package/node_modules/@schibsted/pulse-cis-sync/dist/types/pulse-cookie.d.ts +0 -55
  339. package/node_modules/@schibsted/pulse-cis-sync/dist/types/storage/storage.d.ts +0 -6
  340. package/node_modules/@schibsted/pulse-cis-sync/dist/types/types.d.ts +0 -24
  341. package/node_modules/@schibsted/pulse-cis-sync/package.json +0 -44
  342. package/node_modules/@schibsted/pulse-utils/package.json +0 -36
  343. package/node_modules/@schibsted/tpaas-event-builder/dist/cjs/builders/provider.js +0 -12
  344. package/node_modules/@schibsted/tpaas-event-builder/dist/cjs/builders/referrer.js +0 -19
  345. package/node_modules/@schibsted/tpaas-event-builder/dist/cjs/builders/session.js +0 -114
  346. package/node_modules/@schibsted/tpaas-event-builder/dist/cjs/builders.js +0 -272
  347. package/node_modules/@schibsted/tpaas-event-builder/dist/ejs/builders/provider.js +0 -9
  348. package/node_modules/@schibsted/tpaas-event-builder/dist/ejs/builders/referrer.js +0 -15
  349. package/node_modules/@schibsted/tpaas-event-builder/dist/ejs/builders/session.js +0 -108
  350. package/node_modules/@schibsted/tpaas-event-builder/dist/ejs/builders/trackerBuilder.js +0 -11
  351. package/node_modules/@schibsted/tpaas-event-builder/dist/ejs/builders.js +0 -215
  352. package/node_modules/@schibsted/tpaas-event-builder/dist/ejs/index.js +0 -1
  353. package/node_modules/@schibsted/tpaas-event-builder/dist/index.d.ts +0 -5403
  354. package/node_modules/@schibsted/tpaas-event-builder/package.json +0 -40
  355. package/node_modules/@schibsted/tpaas-schemas/dist/index.d.ts +0 -6176
  356. package/node_modules/@schibsted/tpaas-schemas/package.json +0 -35
  357. /package/{node_modules/@schibsted/tpaas-event-builder/dist/cjs → dist/cjs/cis-sync}/types.js +0 -0
  358. /package/{node_modules/@schibsted/tpaas-event-builder/dist/cjs → dist/cjs/tpaas-builders}/builders/anonymous.js +0 -0
  359. /package/{node_modules/@schibsted/tpaas-event-builder/dist/cjs → dist/cjs/tpaas-builders}/builders/baseEvent.js +0 -0
  360. /package/{node_modules/@schibsted/tpaas-event-builder/dist/cjs → dist/cjs/tpaas-builders}/builders/consents.js +0 -0
  361. /package/{node_modules/@schibsted/tpaas-event-builder/dist/cjs → dist/cjs/tpaas-builders}/builders/experiments.js +0 -0
  362. /package/{node_modules/@schibsted/tpaas-event-builder/dist/cjs → dist/cjs/tpaas-builders}/builders/pageviewId.js +0 -0
  363. /package/{node_modules/@schibsted/tpaas-event-builder/dist/cjs → dist/cjs/tpaas-builders}/builders/time.js +0 -0
  364. /package/{node_modules/@schibsted/pulse-utils/dist/cjs → dist/cjs/utils}/cookie-config.js +0 -0
  365. /package/{node_modules/@schibsted/pulse-utils/dist/cjs → dist/cjs/utils}/cookie.js +0 -0
  366. /package/{node_modules/@schibsted/pulse-utils/dist/cjs → dist/cjs/utils}/events.js +0 -0
  367. /package/{node_modules/@schibsted/pulse-utils/dist/cjs → dist/cjs/utils}/get.js +0 -0
  368. /package/{node_modules/@schibsted/pulse-utils/dist/cjs → dist/cjs/utils}/getRootDomain.js +0 -0
  369. /package/{node_modules/@schibsted/pulse-utils/dist/cjs → dist/cjs/utils}/merge.js +0 -0
  370. /package/{node_modules/@schibsted/pulse-utils/dist/cjs → dist/cjs/utils}/objects.js +0 -0
  371. /package/{node_modules/@schibsted/pulse-utils/dist/cjs → dist/cjs/utils}/omit.js +0 -0
  372. /package/{node_modules/@schibsted/pulse-utils/dist/cjs → dist/cjs/utils}/randomString.js +0 -0
  373. /package/{node_modules/@schibsted/pulse-utils/dist/cjs → dist/cjs/utils}/throttle.js +0 -0
  374. /package/{node_modules/@schibsted/pulse-utils/dist/cjs → dist/cjs/utils}/webApi.js +0 -0
  375. /package/{node_modules/@schibsted/tpaas-event-builder/dist/ejs → dist/ejs/cis-sync}/types.js +0 -0
  376. /package/{node_modules/@schibsted/tpaas-event-builder/dist/ejs → dist/ejs/tpaas-builders}/builders/anonymous.js +0 -0
  377. /package/{node_modules/@schibsted/tpaas-event-builder/dist/ejs → dist/ejs/tpaas-builders}/builders/baseEvent.js +0 -0
  378. /package/{node_modules/@schibsted/tpaas-event-builder/dist/ejs → dist/ejs/tpaas-builders}/builders/consents.js +0 -0
  379. /package/{node_modules/@schibsted/tpaas-event-builder/dist/ejs → dist/ejs/tpaas-builders}/builders/experiments.js +0 -0
  380. /package/{node_modules/@schibsted/tpaas-event-builder/dist/ejs → dist/ejs/tpaas-builders}/builders/pageviewId.js +0 -0
  381. /package/{node_modules/@schibsted/tpaas-event-builder/dist/ejs → dist/ejs/tpaas-builders}/builders/time.js +0 -0
  382. /package/dist/{types/Tracker.test-d.d.ts → ejs/tpaas-context/types.js} +0 -0
  383. /package/{node_modules/@schibsted/pulse-utils/dist/ejs → dist/ejs/utils}/cookie-config.js +0 -0
  384. /package/{node_modules/@schibsted/pulse-utils/dist/ejs → dist/ejs/utils}/cookie.js +0 -0
  385. /package/{node_modules/@schibsted/pulse-utils/dist/ejs → dist/ejs/utils}/events.js +0 -0
  386. /package/{node_modules/@schibsted/pulse-utils/dist/ejs → dist/ejs/utils}/get.js +0 -0
  387. /package/{node_modules/@schibsted/pulse-utils/dist/ejs → dist/ejs/utils}/getRootDomain.js +0 -0
  388. /package/{node_modules/@schibsted/pulse-utils/dist/ejs → dist/ejs/utils}/merge.js +0 -0
  389. /package/{node_modules/@schibsted/pulse-utils/dist/ejs → dist/ejs/utils}/objects.js +0 -0
  390. /package/{node_modules/@schibsted/pulse-utils/dist/ejs → dist/ejs/utils}/omit.js +0 -0
  391. /package/{node_modules/@schibsted/pulse-utils/dist/ejs → dist/ejs/utils}/randomString.js +0 -0
  392. /package/{node_modules/@schibsted/pulse-utils/dist/ejs → dist/ejs/utils}/throttle.js +0 -0
  393. /package/{node_modules/@schibsted/pulse-utils/dist/ejs → dist/ejs/utils}/webApi.js +0 -0
  394. /package/{node_modules/@schibsted/pulse-cis-sync/dist/cjs → dist/types/cis-sync}/cis.d.ts +0 -0
  395. /package/{node_modules/@schibsted/pulse-cis-sync/dist/cjs → dist/types/cis-sync}/eventEmitter.d.ts +0 -0
  396. /package/{node_modules/@schibsted/pulse-cis-sync/dist/cjs → dist/types/cis-sync}/index.d.ts +0 -0
  397. /package/{node_modules/@schibsted/pulse-cis-sync/dist/cjs → dist/types/cis-sync}/pulse-cookie.d.ts +0 -0
  398. /package/{node_modules/@schibsted/pulse-cis-sync/dist/cjs → dist/types/cis-sync}/types.d.ts +0 -0
  399. /package/{node_modules/@schibsted/pulse-utils/dist/types → dist/types/utils}/cookie-config.d.ts +0 -0
  400. /package/{node_modules/@schibsted/pulse-utils/dist/types → dist/types/utils}/cookie.d.ts +0 -0
  401. /package/{node_modules/@schibsted/pulse-utils/dist/types → dist/types/utils}/events.d.ts +0 -0
  402. /package/{node_modules/@schibsted/pulse-utils/dist/types → dist/types/utils}/get.d.ts +0 -0
  403. /package/{node_modules/@schibsted/pulse-utils/dist/types → dist/types/utils}/getRootDomain.d.ts +0 -0
  404. /package/{node_modules/@schibsted/pulse-utils/dist/types → dist/types/utils}/merge.d.ts +0 -0
  405. /package/{node_modules/@schibsted/pulse-utils/dist/types → dist/types/utils}/objects.d.ts +0 -0
  406. /package/{node_modules/@schibsted/pulse-utils/dist/types → dist/types/utils}/omit.d.ts +0 -0
  407. /package/{node_modules/@schibsted/pulse-utils/dist/types → dist/types/utils}/randomString.d.ts +0 -0
  408. /package/{node_modules/@schibsted/pulse-utils/dist/types → dist/types/utils}/throttle.d.ts +0 -0
  409. /package/{node_modules/@schibsted/pulse-utils/dist/types → dist/types/utils}/webApi.d.ts +0 -0
@@ -0,0 +1,471 @@
1
+ export declare const AnonymousImpressionUIElement: {
2
+ readonly eventType: 'AnonymousImpression';
3
+ readonly isAnonymous: true;
4
+ readonly object: {
5
+ readonly objectType: 'UIElement';
6
+ };
7
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/AnonymousImpressionUIElement.json';
8
+ };
9
+ export declare const CompletedHealthAction: {
10
+ readonly eventType: 'Completed';
11
+ readonly object: {
12
+ readonly objectType: 'HealthAction';
13
+ };
14
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/CompletedHealthAction.json';
15
+ };
16
+ export declare const EngagementAd: {
17
+ readonly eventType: 'Engagement';
18
+ readonly object: {
19
+ readonly objectType: 'Ad';
20
+ };
21
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/EngagementAd.json';
22
+ };
23
+ export declare const EngagementAffiliate: {
24
+ readonly eventType: 'Engagement';
25
+ readonly object: {
26
+ readonly objectType: 'Affiliate';
27
+ };
28
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/EngagementAffiliate.json';
29
+ };
30
+ export declare const EngagementAudio: {
31
+ readonly eventType: 'Engagement';
32
+ readonly object: {
33
+ readonly objectType: 'Audio';
34
+ };
35
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/EngagementAudio.json';
36
+ };
37
+ export declare const EngagementForm: {
38
+ readonly eventType: 'Engagement';
39
+ readonly object: {
40
+ readonly objectType: 'Form';
41
+ };
42
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/EngagementForm.json';
43
+ };
44
+ export declare const EngagementHealthUIElement: {
45
+ readonly eventType: 'Engagement';
46
+ readonly object: {
47
+ readonly objectType: 'HealthUIElement';
48
+ };
49
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/EngagementHealthUIElement.json';
50
+ };
51
+ export declare const EngagementOffer: {
52
+ readonly eventType: 'Engagement';
53
+ readonly object: {
54
+ readonly objectType: 'Offer';
55
+ };
56
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/EngagementOffer.json';
57
+ };
58
+ export declare const EngagementSchoolUIElement: {
59
+ readonly eventType: 'Engagement';
60
+ readonly object: {
61
+ readonly objectType: 'SchoolUIElement';
62
+ };
63
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/EngagementSchoolUIElement.json';
64
+ };
65
+ export declare const EngagementSportsUIElement: {
66
+ readonly eventType: 'Engagement';
67
+ readonly object: {
68
+ readonly objectType: 'SportsUIElement';
69
+ };
70
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/EngagementSportsUIElement.json';
71
+ };
72
+ export declare const EngagementTeaser: {
73
+ readonly eventType: 'Engagement';
74
+ readonly object: {
75
+ readonly objectType: 'Teaser';
76
+ };
77
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/EngagementTeaser.json';
78
+ };
79
+ export declare const EngagementTvModule: {
80
+ readonly eventType: 'Engagement';
81
+ readonly object: {
82
+ readonly objectType: 'TvModule';
83
+ };
84
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/EngagementTvModule.json';
85
+ };
86
+ export declare const EngagementTvSearch: {
87
+ readonly eventType: 'Engagement';
88
+ readonly object: {
89
+ readonly objectType: 'TvSearch';
90
+ };
91
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/EngagementTvSearch.json';
92
+ };
93
+ export declare const EngagementUIElement: {
94
+ readonly eventType: 'Engagement';
95
+ readonly object: {
96
+ readonly objectType: 'UIElement';
97
+ };
98
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/EngagementUIElement.json';
99
+ };
100
+ export declare const EngagementVideo: {
101
+ readonly eventType: 'Engagement';
102
+ readonly object: {
103
+ readonly objectType: 'Video';
104
+ };
105
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/EngagementVideo.json';
106
+ };
107
+ export declare const EngagementVideoAd: {
108
+ readonly eventType: 'Engagement';
109
+ readonly object: {
110
+ readonly objectType: 'VideoAd';
111
+ };
112
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/EngagementVideoAd.json';
113
+ };
114
+ export declare const EngagementWidget: {
115
+ readonly eventType: 'Engagement';
116
+ readonly object: {
117
+ readonly objectType: 'Widget';
118
+ };
119
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/EngagementWidget.json';
120
+ };
121
+ export declare const HeartbeatCommercialArticle: {
122
+ readonly eventType: 'Heartbeat';
123
+ readonly object: {
124
+ readonly objectType: 'CommercialArticle';
125
+ };
126
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/HeartbeatCommercialArticle.json';
127
+ };
128
+ export declare const ImpressionAd: {
129
+ readonly eventType: 'Impression';
130
+ readonly object: {
131
+ readonly objectType: 'Ad';
132
+ };
133
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ImpressionAd.json';
134
+ };
135
+ export declare const ImpressionAdSlot: {
136
+ readonly eventType: 'Impression';
137
+ readonly object: {
138
+ readonly objectType: 'AdSlot';
139
+ };
140
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ImpressionAdSlot.json';
141
+ };
142
+ export declare const ImpressionAffiliate: {
143
+ readonly eventType: 'Impression';
144
+ readonly object: {
145
+ readonly objectType: 'Affiliate';
146
+ };
147
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ImpressionAffiliate.json';
148
+ };
149
+ export declare const ImpressionForm: {
150
+ readonly eventType: 'Impression';
151
+ readonly object: {
152
+ readonly objectType: 'Form';
153
+ };
154
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ImpressionForm.json';
155
+ };
156
+ export declare const ImpressionHealthUIElement: {
157
+ readonly eventType: 'Impression';
158
+ readonly object: {
159
+ readonly objectType: 'HealthUIElement';
160
+ };
161
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ImpressionHealthUIElement.json';
162
+ };
163
+ export declare const ImpressionOffer: {
164
+ readonly eventType: 'Impression';
165
+ readonly object: {
166
+ readonly objectType: 'Offer';
167
+ };
168
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ImpressionOffer.json';
169
+ };
170
+ export declare const ImpressionPlayer: {
171
+ readonly eventType: 'Impression';
172
+ readonly object: {
173
+ readonly objectType: 'Player';
174
+ };
175
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ImpressionPlayer.json';
176
+ };
177
+ export declare const ImpressionSchoolUIElement: {
178
+ readonly eventType: 'Impression';
179
+ readonly object: {
180
+ readonly objectType: 'SchoolUIElement';
181
+ };
182
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ImpressionSchoolUIElement.json';
183
+ };
184
+ export declare const ImpressionSportsUIElement: {
185
+ readonly eventType: 'Impression';
186
+ readonly object: {
187
+ readonly objectType: 'SportsUIElement';
188
+ };
189
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ImpressionSportsUIElement.json';
190
+ };
191
+ export declare const ImpressionTeaser: {
192
+ readonly eventType: 'Impression';
193
+ readonly object: {
194
+ readonly objectType: 'Teaser';
195
+ };
196
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ImpressionTeaser.json';
197
+ };
198
+ export declare const ImpressionUIElement: {
199
+ readonly eventType: 'Impression';
200
+ readonly object: {
201
+ readonly objectType: 'UIElement';
202
+ };
203
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ImpressionUIElement.json';
204
+ };
205
+ export declare const ImpressionWidget: {
206
+ readonly eventType: 'Impression';
207
+ readonly object: {
208
+ readonly objectType: 'Widget';
209
+ };
210
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ImpressionWidget.json';
211
+ };
212
+ export declare const LeaveArticle: {
213
+ readonly eventType: 'Leave';
214
+ readonly object: {
215
+ readonly objectType: 'Article';
216
+ };
217
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/LeaveArticle.json';
218
+ };
219
+ export declare const LeaveAudioPage: {
220
+ readonly eventType: 'Leave';
221
+ readonly object: {
222
+ readonly objectType: 'AudioPage';
223
+ };
224
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/LeaveAudioPage.json';
225
+ };
226
+ export declare const LeaveError: {
227
+ readonly eventType: 'Leave';
228
+ readonly object: {
229
+ readonly objectType: 'Error';
230
+ };
231
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/LeaveError.json';
232
+ };
233
+ export declare const LeaveFrontpage: {
234
+ readonly eventType: 'Leave';
235
+ readonly object: {
236
+ readonly objectType: 'Frontpage';
237
+ };
238
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/LeaveFrontpage.json';
239
+ };
240
+ export declare const LeaveLandingpage: {
241
+ readonly eventType: 'Leave';
242
+ readonly object: {
243
+ readonly objectType: 'Landingpage';
244
+ };
245
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/LeaveLandingpage.json';
246
+ };
247
+ export declare const LeaveListing: {
248
+ readonly eventType: 'Leave';
249
+ readonly object: {
250
+ readonly objectType: 'Listing';
251
+ };
252
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/LeaveListing.json';
253
+ };
254
+ export declare const LeaveLockedArticle: {
255
+ readonly eventType: 'Leave';
256
+ readonly object: {
257
+ readonly objectType: 'LockedArticle';
258
+ };
259
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/LeaveLockedArticle.json';
260
+ };
261
+ export declare const LeaveLockedAudioPage: {
262
+ readonly eventType: 'Leave';
263
+ readonly object: {
264
+ readonly objectType: 'LockedAudioPage';
265
+ };
266
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/LeaveLockedAudioPage.json';
267
+ };
268
+ export declare const LeaveLockedPage: {
269
+ readonly eventType: 'Leave';
270
+ readonly object: {
271
+ readonly objectType: 'LockedPage';
272
+ };
273
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/LeaveLockedPage.json';
274
+ };
275
+ export declare const LeaveLockedVideoPage: {
276
+ readonly eventType: 'Leave';
277
+ readonly object: {
278
+ readonly objectType: 'LockedVideoPage';
279
+ };
280
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/LeaveLockedVideoPage.json';
281
+ };
282
+ export declare const LeavePage: {
283
+ readonly eventType: 'Leave';
284
+ readonly object: {
285
+ readonly objectType: 'Page';
286
+ };
287
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/LeavePage.json';
288
+ };
289
+ export declare const LeaveSchoolPage: {
290
+ readonly eventType: 'Leave';
291
+ readonly object: {
292
+ readonly objectType: 'SchoolPage';
293
+ };
294
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/LeaveSchoolPage.json';
295
+ };
296
+ export declare const LeaveSportsPage: {
297
+ readonly eventType: 'Leave';
298
+ readonly object: {
299
+ readonly objectType: 'SportsPage';
300
+ };
301
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/LeaveSportsPage.json';
302
+ };
303
+ export declare const LeaveVideoPage: {
304
+ readonly eventType: 'Leave';
305
+ readonly object: {
306
+ readonly objectType: 'VideoPage';
307
+ };
308
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/LeaveVideoPage.json';
309
+ };
310
+ export declare const LeaveWeather: {
311
+ readonly eventType: 'Leave';
312
+ readonly object: {
313
+ readonly objectType: 'Weather';
314
+ };
315
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/LeaveWeather.json';
316
+ };
317
+ export declare const LoadAd: {
318
+ readonly eventType: 'Load';
319
+ readonly object: {
320
+ readonly objectType: 'Ad';
321
+ };
322
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/LoadAd.json';
323
+ };
324
+ export declare const ViewArticle: {
325
+ readonly eventType: 'View';
326
+ readonly object: {
327
+ readonly objectType: 'Article';
328
+ };
329
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ViewArticle.json';
330
+ };
331
+ export declare const ViewAudioPage: {
332
+ readonly eventType: 'View';
333
+ readonly object: {
334
+ readonly objectType: 'AudioPage';
335
+ };
336
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ViewAudioPage.json';
337
+ };
338
+ export declare const ViewError: {
339
+ readonly eventType: 'View';
340
+ readonly object: {
341
+ readonly objectType: 'Error';
342
+ };
343
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ViewError.json';
344
+ };
345
+ export declare const ViewFrontpage: {
346
+ readonly eventType: 'View';
347
+ readonly object: {
348
+ readonly objectType: 'Frontpage';
349
+ };
350
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ViewFrontpage.json';
351
+ };
352
+ export declare const ViewHealthPage: {
353
+ readonly eventType: 'View';
354
+ readonly object: {
355
+ readonly objectType: 'HealthPage';
356
+ };
357
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ViewHealthPage.json';
358
+ };
359
+ export declare const ViewLandingpage: {
360
+ readonly eventType: 'View';
361
+ readonly object: {
362
+ readonly objectType: 'Landingpage';
363
+ };
364
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ViewLandingpage.json';
365
+ };
366
+ export declare const ViewListing: {
367
+ readonly eventType: 'View';
368
+ readonly object: {
369
+ readonly objectType: 'Listing';
370
+ };
371
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ViewListing.json';
372
+ };
373
+ export declare const ViewLockedArticle: {
374
+ readonly eventType: 'View';
375
+ readonly object: {
376
+ readonly objectType: 'LockedArticle';
377
+ };
378
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ViewLockedArticle.json';
379
+ };
380
+ export declare const ViewLockedAudioPage: {
381
+ readonly eventType: 'View';
382
+ readonly object: {
383
+ readonly objectType: 'LockedAudioPage';
384
+ };
385
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ViewLockedAudioPage.json';
386
+ };
387
+ export declare const ViewLockedPage: {
388
+ readonly eventType: 'View';
389
+ readonly object: {
390
+ readonly objectType: 'LockedPage';
391
+ };
392
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ViewLockedPage.json';
393
+ };
394
+ export declare const ViewLockedVideoPage: {
395
+ readonly eventType: 'View';
396
+ readonly object: {
397
+ readonly objectType: 'LockedVideoPage';
398
+ };
399
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ViewLockedVideoPage.json';
400
+ };
401
+ export declare const ViewPage: {
402
+ readonly eventType: 'View';
403
+ readonly object: {
404
+ readonly objectType: 'Page';
405
+ };
406
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ViewPage.json';
407
+ };
408
+ export declare const ViewSchoolPage: {
409
+ readonly eventType: 'View';
410
+ readonly object: {
411
+ readonly objectType: 'SchoolPage';
412
+ };
413
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ViewSchoolPage.json';
414
+ };
415
+ export declare const ViewSportsPage: {
416
+ readonly eventType: 'View';
417
+ readonly object: {
418
+ readonly objectType: 'SportsPage';
419
+ };
420
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ViewSportsPage.json';
421
+ };
422
+ export declare const ViewTitle: {
423
+ readonly eventType: 'View';
424
+ readonly object: {
425
+ readonly objectType: 'Title';
426
+ };
427
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ViewTitle.json';
428
+ };
429
+ export declare const ViewVideoPage: {
430
+ readonly eventType: 'View';
431
+ readonly object: {
432
+ readonly objectType: 'VideoPage';
433
+ };
434
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ViewVideoPage.json';
435
+ };
436
+ export declare const ViewWeather: {
437
+ readonly eventType: 'View';
438
+ readonly object: {
439
+ readonly objectType: 'Weather';
440
+ };
441
+ readonly schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.16.0/schemas/ViewWeather.json';
442
+ };
443
+ export declare const ADVERTISING_VALUES: readonly ['Accepted', 'Rejected', 'Unknown'];
444
+ export declare const ANALYTICS_VALUES: readonly ['Accepted', 'Rejected', 'Unknown'];
445
+ export declare const MARKETING_VALUES: readonly ['Accepted', 'Rejected', 'Unknown'];
446
+ export declare const PERSONALIZATION_VALUES: readonly ['Accepted', 'Rejected', 'Unknown'];
447
+ export declare const ACCESS_LEVEL_VALUES: readonly ['Free', 'Login', 'Meter', 'Paid'];
448
+ export declare const FORMAT_VALUES: readonly ['Article', 'Audio', 'Video', 'Weather', 'Title', 'Other'];
449
+ export declare const FORMAT_SUBTYPE_VALUES: readonly ['Article', 'LiveArticle', 'SpecialArticle', 'Podcast', 'Episode', 'Audiobook', 'AudiobookSample', 'Movie', 'Series', 'Story', 'Unknown', 'Video'];
450
+ export declare const CLIENT_TYPE_VALUES: readonly ['Chrome', 'Safari', 'Edge', 'Firefox', 'Samsung', 'NativeScreen', 'Webview', 'Other'];
451
+ export declare const DEVICE_TYPE_VALUES: readonly ['Desktop', 'Mobile', 'Tablet', 'SmartTv', 'Other'];
452
+ export declare const OPERATING_SYSTEM_VALUES: readonly ['Windows', 'Mac', 'Linux', 'iOS', 'Android', 'Other'];
453
+ export declare const SCREEN_ORIENTATION_VALUES: readonly ['Portrait', 'Landscape'];
454
+ export declare const VIEWPORT_SIZE_VALUES: readonly ['XS', 'S', 'M', 'L', 'XL', 'Unknown'];
455
+ export declare const ACTION_VALUES: readonly ['Click', 'Scroll', 'Drag', 'Drop', 'DoubleClick'];
456
+ export declare const FOOD_TYPE_VALUES: readonly ['Foodstuff', 'Recipe', 'Calories', 'FoodItemCombo'];
457
+ export declare const UNIT_TYPE_VALUES: readonly ['Weight', 'Volume', 'Custom'];
458
+ export declare const PHYSICAL_ACTIVITY_TYPE_VALUES: readonly ['Activity', 'Calories', 'ExternalActivity'];
459
+ export declare const PAGE_TYPE_VALUES: readonly ['Article', 'AudioPage', 'Error', 'Frontpage', 'HealthPage', 'Landingpage', 'Listing', 'LockedArticle', 'LockedAudioPage', 'LockedVideoPage', 'Login', 'Page', 'LockedPage', 'SchoolPage', 'SportsPage', 'Title', 'VideoPage', 'Weather', 'AppWidget', 'Notification', 'Purchase'];
460
+ export declare const COLUMN_NAME_VALUES: readonly ['main', 'aside'];
461
+ export declare const FOLD_POSITION_VALUES: readonly ['Above', 'Below', 'Unknown'];
462
+ export declare const PRIMARY_AXIS_VALUES: readonly ['Horizontal', 'Vertical'];
463
+ export declare const STAGE_VALUES: readonly ['Dev', 'Pre', 'Pro'];
464
+ export declare const SPORT_EVENT_COVERAGE_VALUES: readonly ['Manual', 'SemiAutomatic', 'Automatic'];
465
+ export declare const SPORT_EVENT_STATUS_VALUES: readonly ['NotStarted', 'InProgress', 'Finished', 'Postponed', 'Canceled', 'StartDelayed', 'Interrupted', 'Abandoned'];
466
+ export declare const COLOR_SCHEME_VALUES: readonly ['Light', 'Dark', 'System', 'Other'];
467
+ export declare const ROUTING_STAGE_VALUES: readonly ['Dev', 'Pre', 'Pro'];
468
+ export declare const TRACKER_TYPE_VALUES: readonly ['JS', 'IOS', 'Android', 'Backend'];
469
+ export declare const REGION_VALUES: readonly ['Norway', 'Sweden', 'Finland'];
470
+ export declare const UTM_MEDIUM_VALUES: readonly ['Organic', 'Cpc', 'Email', 'Social', 'Referral', 'Display', 'Affiliate', 'Video', 'Internal'];
471
+ export declare const CATALOG_VERSION: '2.16.0';
@@ -0,0 +1,5 @@
1
+ export * from './constants';
2
+ export * from './types';
3
+ export type * from './types/ITpaasEvent.d.ts';
4
+ export type * from './types/schemas/index.d.ts';
5
+ export type * from './types/templates/index.d.ts';
@@ -0,0 +1,130 @@
1
+ import type {
2
+ IAnonymousImpressionUIElement,
3
+ ICompletedHealthAction,
4
+ IEngagementAd,
5
+ IEngagementAffiliate,
6
+ IEngagementAudio,
7
+ IEngagementForm,
8
+ IEngagementHealthUIElement,
9
+ IEngagementOffer,
10
+ IEngagementSchoolUIElement,
11
+ IEngagementSportsUIElement,
12
+ IEngagementTeaser,
13
+ IEngagementTvModule,
14
+ IEngagementTvSearch,
15
+ IEngagementUIElement,
16
+ IEngagementVideo,
17
+ IEngagementVideoAd,
18
+ IEngagementWidget,
19
+ IHeartbeatCommercialArticle,
20
+ IImpressionAd,
21
+ IImpressionAdSlot,
22
+ IImpressionAffiliate,
23
+ IImpressionForm,
24
+ IImpressionHealthUIElement,
25
+ IImpressionOffer,
26
+ IImpressionPlayer,
27
+ IImpressionSchoolUIElement,
28
+ IImpressionSportsUIElement,
29
+ IImpressionTeaser,
30
+ IImpressionUIElement,
31
+ IImpressionWidget,
32
+ ILeaveArticle,
33
+ ILeaveAudioPage,
34
+ ILeaveError,
35
+ ILeaveFrontpage,
36
+ ILeaveLandingpage,
37
+ ILeaveListing,
38
+ ILeaveLockedArticle,
39
+ ILeaveLockedAudioPage,
40
+ ILeaveLockedPage,
41
+ ILeaveLockedVideoPage,
42
+ ILeavePage,
43
+ ILeaveSchoolPage,
44
+ ILeaveSportsPage,
45
+ ILeaveVideoPage,
46
+ ILeaveWeather,
47
+ ILoadAd,
48
+ IViewArticle,
49
+ IViewAudioPage,
50
+ IViewError,
51
+ IViewFrontpage,
52
+ IViewHealthPage,
53
+ IViewLandingpage,
54
+ IViewListing,
55
+ IViewLockedArticle,
56
+ IViewLockedAudioPage,
57
+ IViewLockedPage,
58
+ IViewLockedVideoPage,
59
+ IViewPage,
60
+ IViewSchoolPage,
61
+ IViewSportsPage,
62
+ IViewTitle,
63
+ IViewVideoPage,
64
+ IViewWeather,
65
+ } from './schemas/index.d.ts';
66
+
67
+ export type ITpaasEvent =
68
+ | IAnonymousImpressionUIElement
69
+ | ICompletedHealthAction
70
+ | IEngagementAd
71
+ | IEngagementAffiliate
72
+ | IEngagementAudio
73
+ | IEngagementForm
74
+ | IEngagementHealthUIElement
75
+ | IEngagementOffer
76
+ | IEngagementSchoolUIElement
77
+ | IEngagementSportsUIElement
78
+ | IEngagementTeaser
79
+ | IEngagementTvModule
80
+ | IEngagementTvSearch
81
+ | IEngagementUIElement
82
+ | IEngagementVideo
83
+ | IEngagementVideoAd
84
+ | IEngagementWidget
85
+ | IHeartbeatCommercialArticle
86
+ | IImpressionAd
87
+ | IImpressionAdSlot
88
+ | IImpressionAffiliate
89
+ | IImpressionForm
90
+ | IImpressionHealthUIElement
91
+ | IImpressionOffer
92
+ | IImpressionPlayer
93
+ | IImpressionSchoolUIElement
94
+ | IImpressionSportsUIElement
95
+ | IImpressionTeaser
96
+ | IImpressionUIElement
97
+ | IImpressionWidget
98
+ | ILeaveArticle
99
+ | ILeaveAudioPage
100
+ | ILeaveError
101
+ | ILeaveFrontpage
102
+ | ILeaveLandingpage
103
+ | ILeaveListing
104
+ | ILeaveLockedArticle
105
+ | ILeaveLockedAudioPage
106
+ | ILeaveLockedPage
107
+ | ILeaveLockedVideoPage
108
+ | ILeavePage
109
+ | ILeaveSchoolPage
110
+ | ILeaveSportsPage
111
+ | ILeaveVideoPage
112
+ | ILeaveWeather
113
+ | ILoadAd
114
+ | IViewArticle
115
+ | IViewAudioPage
116
+ | IViewError
117
+ | IViewFrontpage
118
+ | IViewHealthPage
119
+ | IViewLandingpage
120
+ | IViewListing
121
+ | IViewLockedArticle
122
+ | IViewLockedAudioPage
123
+ | IViewLockedPage
124
+ | IViewLockedVideoPage
125
+ | IViewPage
126
+ | IViewSchoolPage
127
+ | IViewSportsPage
128
+ | IViewTitle
129
+ | IViewVideoPage
130
+ | IViewWeather;
@@ -0,0 +1,58 @@
1
+ /* eslint-disable */
2
+ import type { IExperiments } from '../templates/IExperiments.d.ts';
3
+ import type { IPageRef } from '../templates/IPageRef.d.ts';
4
+ import type { IProvider } from '../templates/IProvider.d.ts';
5
+ import type { ITime } from '../templates/ITime.d.ts';
6
+ import type { ITracker } from '../templates/ITracker.d.ts';
7
+ import type { IUtmTags } from '../templates/IUtmTags.d.ts';
8
+
9
+ /**
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
+ */
12
+ export interface IAnonymousImpressionUIElement {
13
+ /**
14
+ * The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
15
+ * @pattern ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)$
16
+ * @example "1.2.3"
17
+ */
18
+ catalogVersion: string;
19
+ /**
20
+ * The unique identifier for the event.
21
+ * @format uuid
22
+ */
23
+ eventId: string;
24
+ /**
25
+ * The type of the event.
26
+ */
27
+ eventType: 'AnonymousImpression';
28
+ experiments?: IExperiments;
29
+ isAnonymous: true;
30
+ object: {
31
+ /**
32
+ * The name of the component.
33
+ */
34
+ name: string;
35
+ /**
36
+ * The type of the object.
37
+ */
38
+ objectType: 'UIElement';
39
+ };
40
+ page: {
41
+ /**
42
+ * The pageviewID.
43
+ * @format uuid
44
+ */
45
+ pageviewId: string;
46
+ referrer?: IPageRef;
47
+ utm?: IUtmTags;
48
+ };
49
+ provider: IProvider;
50
+ /**
51
+ * URL to the JSON schema for this event.
52
+ * @format uri
53
+ * @pattern ^https://tpaas-schemas.schibsted.media/.+\.json$
54
+ */
55
+ schema: string;
56
+ time: ITime;
57
+ tracker: ITracker;
58
+ }