@schibsted/pulse-sdk 8.0.0-rc.2 → 8.0.0-rc.20
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 +578 -303
- package/dist/cjs/app-integration.js +3 -3
- package/dist/cjs/builders/actor.js +6 -6
- package/dist/cjs/builders/consents.js +8 -8
- package/dist/cjs/builders/device-browser.js +8 -8
- package/dist/cjs/builders/device-node.js +3 -3
- package/dist/cjs/builders/events-anonymous-node.js +3 -3
- package/dist/cjs/builders/events-node.js +7 -7
- package/dist/cjs/builders/experimentMetadata.js +2 -2
- package/dist/cjs/builders/experiments.js +1 -0
- package/dist/cjs/builders/objects/objects-anonymous-browser.js +2 -2
- package/dist/cjs/builders/objects/objects-anonymous-node.js +9 -9
- package/dist/cjs/builders/objects/objects-browser.js +2 -2
- package/dist/cjs/builders/objects/objects-node.js +10 -10
- package/dist/cjs/builders/objects/utils.js +3 -3
- package/dist/cjs/builders/origin-browser.js +2 -2
- package/dist/cjs/builders/origin-node.js +4 -4
- package/dist/cjs/builders/session-browser.js +6 -5
- package/dist/cjs/cis-sync/cis-browser.js +219 -0
- package/{node_modules/@schibsted/pulse-cis-sync/dist/cjs → dist/cjs/cis-sync}/cis.js +0 -1
- package/dist/cjs/cis-sync/eventEmitter.js +37 -0
- package/{node_modules/@schibsted/pulse-cis-sync/dist/cjs → dist/cjs/cis-sync}/index.js +0 -1
- package/{node_modules/@schibsted/pulse-cis-sync/dist/cjs → dist/cjs/cis-sync}/pulse-cookie.js +53 -63
- package/{node_modules/@schibsted/pulse-cis-sync/dist/cjs → dist/cjs/cis-sync}/storage/pulseStorage.js +28 -21
- package/dist/cjs/cis-sync/storage/storage.js +24 -0
- package/dist/cjs/createPulseTracker.js +4 -4
- package/dist/cjs/identity/actor.js +20 -8
- package/dist/cjs/identity/advertising.js +1 -1
- package/dist/cjs/identity/cis.js +7 -6
- package/dist/cjs/index.js +3 -3
- package/dist/cjs/leaveTracking/index.js +10 -10
- package/dist/cjs/leaveTrackingTpaas/constants.js +2 -7
- package/dist/cjs/leaveTrackingTpaas/index.js +70 -46
- package/dist/cjs/network-browser.js +3 -3
- package/dist/cjs/remoteConfig/index.js +5 -5
- package/dist/cjs/tpaas-builders/builders/catalogVersion.js +9 -0
- package/{node_modules/@schibsted/tpaas-event-builder/dist/cjs → dist/cjs/tpaas-builders}/builders/device.js +11 -5
- package/{node_modules/@schibsted/tpaas-event-builder/dist/cjs → dist/cjs/tpaas-builders}/builders/navigationType.js +2 -3
- package/dist/cjs/tpaas-builders/builders/pageContent.js +7 -0
- package/{node_modules/@schibsted/tpaas-event-builder/dist/cjs → dist/cjs/tpaas-builders}/builders/pageInfo.js +2 -2
- package/dist/cjs/tpaas-builders/builders/pageSports.js +7 -0
- package/dist/cjs/tpaas-builders/builders/provider.js +19 -0
- package/dist/cjs/tpaas-builders/builders/referrer.js +17 -0
- package/{node_modules/@schibsted/tpaas-event-builder/dist/cjs → dist/cjs/tpaas-builders}/builders/session.js +23 -20
- package/{node_modules/@schibsted/tpaas-event-builder/dist/cjs → dist/cjs/tpaas-builders}/builders/trackerBuilder.js +2 -3
- package/{node_modules/@schibsted/tpaas-event-builder/dist/cjs → dist/cjs/tpaas-builders}/builders/user.js +1 -1
- package/{node_modules/@schibsted/tpaas-event-builder/dist/cjs → dist/cjs/tpaas-builders}/builders/utm.js +3 -3
- package/dist/cjs/tpaas-builders/builders.js +339 -0
- package/dist/cjs/tpaas-builders/guards.js +7 -0
- package/{node_modules/@schibsted/tpaas-event-builder/dist/cjs → dist/cjs/tpaas-builders}/index.js +3 -0
- package/{node_modules/@schibsted/pulse-cis-sync/dist/cjs → dist/cjs/tpaas-builders}/types.js +0 -1
- package/{node_modules/@schibsted/tpaas-schemas/dist/cjs → dist/cjs/tpaas-schemas}/constants.js +193 -155
- package/{node_modules/@schibsted/tpaas-schemas/dist/cjs → dist/cjs/tpaas-schemas}/index.js +1 -0
- package/dist/cjs/tpaas-schemas/types.js +2 -0
- package/dist/cjs/tracker-proxy/consts.js +29 -6
- package/dist/cjs/tracker-proxy/proxy-provider.js +2 -2
- package/{node_modules/@schibsted/pulse-utils/dist/cjs → dist/cjs/utils}/index.js +4 -1
- package/dist/cjs/utils/xDomainId.js +15 -0
- package/dist/cjs/version.js +1 -1
- package/dist/cjs/visibility-observer/index.js +9 -7
- package/dist/cjs/wrapper/types/event.js +5 -0
- package/dist/cjs/wrapper/utils/map-page-to-page-ref.js +13 -0
- package/dist/ejs/Tracker.js +510 -235
- package/dist/ejs/app-integration.js +1 -1
- package/dist/ejs/builders/actor.js +3 -3
- package/dist/ejs/builders/consents.js +4 -4
- package/dist/ejs/builders/device-browser.js +2 -2
- package/dist/ejs/builders/device-node.js +1 -1
- package/dist/ejs/builders/events-anonymous-node.js +1 -1
- package/dist/ejs/builders/events-node.js +4 -4
- package/dist/ejs/builders/experimentMetadata.js +1 -1
- package/dist/ejs/builders/experiments.js +1 -1
- package/dist/ejs/builders/objects/objects-anonymous-browser.js +1 -1
- package/dist/ejs/builders/objects/objects-anonymous-node.js +1 -1
- package/dist/ejs/builders/objects/objects-browser.js +1 -1
- package/dist/ejs/builders/objects/objects-node.js +1 -1
- package/dist/ejs/builders/objects/utils.js +1 -1
- package/dist/ejs/builders/origin-browser.js +1 -1
- package/dist/ejs/builders/origin-node.js +1 -1
- package/dist/ejs/builders/session-browser.js +2 -1
- package/{node_modules/@schibsted/pulse-cis-sync/dist/ejs → dist/ejs/cis-sync}/cis-browser.js +17 -4
- package/{node_modules/@schibsted/pulse-cis-sync/dist/ejs → dist/ejs/cis-sync}/cis.js +0 -1
- package/{node_modules/@schibsted/pulse-cis-sync/dist/ejs → dist/ejs/cis-sync}/eventEmitter.js +0 -1
- package/{node_modules/@schibsted/pulse-cis-sync/dist/ejs → dist/ejs/cis-sync}/index.js +0 -1
- package/{node_modules/@schibsted/pulse-cis-sync/dist/ejs → dist/ejs/cis-sync}/pulse-cookie.js +1 -2
- package/{node_modules/@schibsted/pulse-cis-sync/dist/ejs → dist/ejs/cis-sync}/storage/pulseStorage.js +12 -4
- package/{node_modules/@schibsted/pulse-cis-sync/dist/ejs → dist/ejs/cis-sync}/storage/storage.js +6 -2
- package/dist/ejs/createPulseTracker.js +1 -1
- package/dist/ejs/identity/actor.js +21 -9
- package/dist/ejs/identity/advertising.js +1 -1
- package/dist/ejs/identity/cis.js +4 -3
- package/dist/ejs/index.js +4 -3
- package/dist/ejs/leaveTracking/index.js +1 -1
- package/dist/ejs/leaveTrackingTpaas/constants.js +1 -5
- package/dist/ejs/leaveTrackingTpaas/index.js +65 -41
- package/dist/ejs/network-browser.js +1 -1
- package/dist/ejs/remoteConfig/index.js +1 -1
- package/dist/ejs/tpaas-builders/builders/catalogVersion.js +6 -0
- package/{node_modules/@schibsted/tpaas-event-builder/dist/ejs → dist/ejs/tpaas-builders}/builders/device.js +10 -4
- package/{node_modules/@schibsted/tpaas-event-builder/dist/ejs → dist/ejs/tpaas-builders}/builders/navigationType.js +2 -3
- package/dist/ejs/tpaas-builders/builders/pageContent.js +3 -0
- package/{node_modules/@schibsted/tpaas-event-builder/dist/ejs → dist/ejs/tpaas-builders}/builders/pageInfo.js +1 -1
- package/dist/ejs/tpaas-builders/builders/pageSports.js +3 -0
- package/dist/ejs/tpaas-builders/builders/provider.js +16 -0
- package/dist/ejs/tpaas-builders/builders/referrer.js +13 -0
- package/{node_modules/@schibsted/tpaas-event-builder/dist/ejs → dist/ejs/tpaas-builders}/builders/session.js +18 -15
- package/dist/ejs/tpaas-builders/builders/trackerBuilder.js +10 -0
- package/{node_modules/@schibsted/tpaas-event-builder/dist/ejs → dist/ejs/tpaas-builders}/builders/user.js +1 -1
- package/{node_modules/@schibsted/tpaas-event-builder/dist/ejs → dist/ejs/tpaas-builders}/builders/utm.js +2 -2
- package/dist/ejs/tpaas-builders/builders.js +271 -0
- package/dist/ejs/tpaas-builders/guards.js +4 -0
- package/dist/ejs/tpaas-builders/index.js +2 -0
- package/{node_modules/@schibsted/tpaas-schemas/dist/ejs → dist/ejs/tpaas-schemas}/constants.js +191 -153
- package/{node_modules/@schibsted/tpaas-schemas/dist/ejs → dist/ejs/tpaas-schemas}/index.js +1 -0
- package/dist/ejs/tpaas-schemas/types.js +1 -0
- package/dist/ejs/tracker-proxy/consts.js +29 -6
- package/dist/ejs/tracker-proxy/proxy-provider.js +1 -1
- package/{node_modules/@schibsted/pulse-utils/dist/ejs → dist/ejs/utils}/index.js +1 -0
- package/dist/ejs/utils/xDomainId.js +11 -0
- package/dist/ejs/version.js +1 -1
- package/dist/ejs/visibility-observer/index.js +9 -7
- package/dist/ejs/wrapper/types/event.js +4 -1
- package/dist/ejs/wrapper/utils/map-page-to-page-ref.js +10 -0
- package/dist/types/Tracker.d.ts +178 -77
- package/dist/types/builders/actor.d.ts +3 -2
- package/dist/types/builders/consents.d.ts +3 -3
- package/dist/types/builders/device-node.d.ts +2 -2
- package/dist/types/builders/events-anonymous-node.d.ts +4 -4
- package/dist/types/builders/events-node.d.ts +5 -5
- package/dist/types/builders/experiments.d.ts +1 -0
- package/dist/types/builders/index.d.ts +1 -1
- package/dist/types/builders/objects/objects-anonymous-node.d.ts +1 -1
- package/dist/types/builders/objects/objects-node.d.ts +1 -1
- package/dist/types/builders/origin-node.d.ts +1 -1
- package/dist/types/builders/session-browser.d.ts +1 -0
- package/{node_modules/@schibsted/pulse-cis-sync/dist/types → dist/types/cis-sync}/cis-browser.d.ts +1 -0
- package/{node_modules/@schibsted/pulse-cis-sync/dist/types → dist/types/cis-sync}/storage/pulseStorage.d.ts +12 -4
- package/{node_modules/@schibsted/pulse-cis-sync/dist/cjs → dist/types/cis-sync}/storage/storage.d.ts +2 -1
- package/dist/types/config.d.ts +1 -1
- package/dist/types/createPulseTracker.d.ts +1 -1
- package/dist/types/identity/actor.d.ts +3 -3
- package/dist/types/identity/advertising.d.ts +2 -2
- package/dist/types/identity/cis.d.ts +4 -4
- package/dist/types/index.d.ts +7 -8
- package/dist/types/leaveTrackingTpaas/constants.d.ts +1 -5
- package/dist/types/leaveTrackingTpaas/index.d.ts +6 -6
- package/dist/types/leaveTrackingTpaas/types.d.ts +2 -10
- package/dist/types/tpaas-builders/builders/anonymous.d.ts +3 -0
- package/dist/types/tpaas-builders/builders/baseEvent.d.ts +3 -0
- package/dist/types/tpaas-builders/builders/catalogVersion.d.ts +3 -0
- package/dist/types/tpaas-builders/builders/consents.d.ts +5 -0
- package/dist/types/tpaas-builders/builders/device.d.ts +5 -0
- package/dist/types/tpaas-builders/builders/experiments.d.ts +9 -0
- package/dist/types/tpaas-builders/builders/navigationType.d.ts +6 -0
- package/dist/types/tpaas-builders/builders/pageContent.d.ts +6 -0
- package/dist/types/tpaas-builders/builders/pageInfo.d.ts +6 -0
- package/dist/types/tpaas-builders/builders/pageSports.d.ts +6 -0
- package/dist/types/tpaas-builders/builders/pageviewId.d.ts +6 -0
- package/dist/types/tpaas-builders/builders/provider.d.ts +5 -0
- package/dist/types/tpaas-builders/builders/referrer.d.ts +6 -0
- package/dist/types/tpaas-builders/builders/session.d.ts +15 -0
- package/dist/types/tpaas-builders/builders/time.d.ts +4 -0
- package/dist/types/tpaas-builders/builders/trackerBuilder.d.ts +5 -0
- package/dist/types/tpaas-builders/builders/user.d.ts +5 -0
- package/dist/types/tpaas-builders/builders/utm.d.ts +6 -0
- package/dist/types/tpaas-builders/builders.d.ts +141 -0
- package/dist/types/tpaas-builders/guards.d.ts +2 -0
- package/dist/types/tpaas-builders/index.d.ts +3 -0
- package/dist/types/tpaas-builders/types.d.ts +36 -0
- package/dist/types/tpaas-schemas/constants.d.ts +478 -0
- package/dist/types/tpaas-schemas/index.d.ts +5 -0
- package/dist/types/tpaas-schemas/types/ITpaasEvent.d.ts +132 -0
- package/dist/types/tpaas-schemas/types/schemas/IAnonymousViewUIElement.d.ts +58 -0
- package/dist/types/tpaas-schemas/types/schemas/ICompletedHealthAction.d.ts +139 -0
- package/dist/types/tpaas-schemas/types/schemas/IEngagementAd.d.ts +117 -0
- package/dist/types/tpaas-schemas/types/schemas/IEngagementAffiliate.d.ts +144 -0
- package/dist/types/tpaas-schemas/types/schemas/IEngagementAudio.d.ts +209 -0
- package/dist/types/tpaas-schemas/types/schemas/IEngagementForm.d.ts +111 -0
- package/dist/types/tpaas-schemas/types/schemas/IEngagementHealthUIElement.d.ts +133 -0
- package/dist/types/tpaas-schemas/types/schemas/IEngagementOffer.d.ts +107 -0
- package/dist/types/tpaas-schemas/types/schemas/IEngagementSchoolUIElement.d.ts +107 -0
- package/dist/types/tpaas-schemas/types/schemas/IEngagementSportsUIElement.d.ts +157 -0
- package/dist/types/tpaas-schemas/types/schemas/IEngagementTeaser.d.ts +114 -0
- package/dist/types/tpaas-schemas/types/schemas/IEngagementTvModule.d.ts +130 -0
- package/dist/types/tpaas-schemas/types/schemas/IEngagementTvSearch.d.ts +142 -0
- package/dist/types/tpaas-schemas/types/schemas/IEngagementUIElement.d.ts +105 -0
- package/dist/types/tpaas-schemas/types/schemas/IEngagementVideo.d.ts +234 -0
- package/dist/types/tpaas-schemas/types/schemas/IEngagementVideoAd.d.ts +145 -0
- package/dist/types/tpaas-schemas/types/schemas/IEngagementWidget.d.ts +91 -0
- package/dist/types/tpaas-schemas/types/schemas/IHeartbeatCommercialArticle.d.ts +96 -0
- package/dist/types/tpaas-schemas/types/schemas/IImpressionAd.d.ts +115 -0
- package/dist/types/tpaas-schemas/types/schemas/IImpressionAdSlot.d.ts +89 -0
- package/dist/types/tpaas-schemas/types/schemas/IImpressionAffiliate.d.ts +142 -0
- package/dist/types/tpaas-schemas/types/schemas/IImpressionForm.d.ts +113 -0
- package/dist/types/tpaas-schemas/types/schemas/IImpressionHealthUIElement.d.ts +138 -0
- package/dist/types/tpaas-schemas/types/schemas/IImpressionOffer.d.ts +109 -0
- package/dist/types/tpaas-schemas/types/schemas/IImpressionPlayer.d.ts +108 -0
- package/dist/types/tpaas-schemas/types/schemas/IImpressionSchoolUIElement.d.ts +109 -0
- package/dist/types/tpaas-schemas/types/schemas/IImpressionSportsUIElement.d.ts +159 -0
- package/dist/types/tpaas-schemas/types/schemas/IImpressionTeaser.d.ts +112 -0
- package/dist/types/tpaas-schemas/types/schemas/IImpressionUIElement.d.ts +107 -0
- package/dist/types/tpaas-schemas/types/schemas/IImpressionWidget.d.ts +89 -0
- package/dist/types/tpaas-schemas/types/schemas/ILeaveArticle.d.ts +133 -0
- package/dist/types/tpaas-schemas/types/schemas/ILeaveAudioPage.d.ts +88 -0
- package/dist/types/tpaas-schemas/types/schemas/ILeaveError.d.ts +95 -0
- package/dist/types/tpaas-schemas/types/schemas/ILeaveFrontpage.d.ts +83 -0
- package/dist/types/tpaas-schemas/types/schemas/ILeaveLandingpage.d.ts +90 -0
- package/dist/types/tpaas-schemas/types/schemas/ILeaveListing.d.ts +123 -0
- package/dist/types/tpaas-schemas/types/schemas/ILeaveLockedArticle.d.ts +139 -0
- package/dist/types/tpaas-schemas/types/schemas/ILeaveLockedAudioPage.d.ts +97 -0
- package/dist/types/tpaas-schemas/types/schemas/ILeaveLockedPage.d.ts +90 -0
- package/dist/types/tpaas-schemas/types/schemas/ILeaveLockedVideoPage.d.ts +97 -0
- package/dist/types/tpaas-schemas/types/schemas/ILeavePage.d.ts +82 -0
- package/dist/types/tpaas-schemas/types/schemas/ILeaveSchoolPage.d.ts +84 -0
- package/dist/types/tpaas-schemas/types/schemas/ILeaveSportsPage.d.ts +137 -0
- package/dist/types/tpaas-schemas/types/schemas/ILeaveVideoPage.d.ts +91 -0
- package/dist/types/tpaas-schemas/types/schemas/ILeaveWeather.d.ts +94 -0
- package/dist/types/tpaas-schemas/types/schemas/ILoadAd.d.ts +119 -0
- package/dist/types/tpaas-schemas/types/schemas/IRequestAd.d.ts +95 -0
- package/dist/types/tpaas-schemas/types/schemas/IViewArticle.d.ts +133 -0
- package/dist/types/tpaas-schemas/types/schemas/IViewAudioPage.d.ts +87 -0
- package/dist/types/tpaas-schemas/types/schemas/IViewError.d.ts +90 -0
- package/dist/types/tpaas-schemas/types/schemas/IViewFrontpage.d.ts +80 -0
- package/dist/types/tpaas-schemas/types/schemas/IViewHealthPage.d.ts +119 -0
- package/dist/types/tpaas-schemas/types/schemas/IViewLandingpage.d.ts +76 -0
- package/dist/types/tpaas-schemas/types/schemas/IViewListing.d.ts +118 -0
- package/dist/types/tpaas-schemas/types/schemas/IViewLockedArticle.d.ts +139 -0
- package/dist/types/tpaas-schemas/types/schemas/IViewLockedAudioPage.d.ts +95 -0
- package/dist/types/tpaas-schemas/types/schemas/IViewLockedPage.d.ts +94 -0
- package/dist/types/tpaas-schemas/types/schemas/IViewLockedVideoPage.d.ts +95 -0
- package/dist/types/tpaas-schemas/types/schemas/IViewPage.d.ts +86 -0
- package/dist/types/tpaas-schemas/types/schemas/IViewSchoolPage.d.ts +88 -0
- package/dist/types/tpaas-schemas/types/schemas/IViewSportsPage.d.ts +135 -0
- package/dist/types/tpaas-schemas/types/schemas/IViewTitle.d.ts +92 -0
- package/dist/types/tpaas-schemas/types/schemas/IViewVideoPage.d.ts +87 -0
- package/dist/types/tpaas-schemas/types/schemas/IViewWeather.d.ts +94 -0
- package/dist/types/tpaas-schemas/types/schemas/index.d.ts +64 -0
- package/dist/types/tpaas-schemas/types/templates/IBranded.d.ts +42 -0
- package/dist/types/tpaas-schemas/types/templates/IConsents.d.ts +34 -0
- package/dist/types/tpaas-schemas/types/templates/IContent.d.ts +56 -0
- package/dist/types/tpaas-schemas/types/templates/IDevice.d.ts +62 -0
- package/dist/types/tpaas-schemas/types/templates/IEngagement.d.ts +21 -0
- package/dist/types/tpaas-schemas/types/templates/IExperiments.d.ts +35 -0
- package/dist/types/tpaas-schemas/types/templates/IHealthFood.d.ts +55 -0
- package/dist/types/tpaas-schemas/types/templates/IHealthOrigin.d.ts +27 -0
- package/dist/types/tpaas-schemas/types/templates/IHealthPhysicalActivity.d.ts +36 -0
- package/dist/types/tpaas-schemas/types/templates/IHealthTraining.d.ts +74 -0
- package/dist/types/tpaas-schemas/types/templates/IHealthUserData.d.ts +25 -0
- package/dist/types/tpaas-schemas/types/templates/ILeave.d.ts +54 -0
- package/dist/types/tpaas-schemas/types/templates/ILeaveAudio.d.ts +37 -0
- package/dist/types/tpaas-schemas/types/templates/ILeaveStories.d.ts +34 -0
- package/dist/types/tpaas-schemas/types/templates/ILocation.d.ts +21 -0
- package/dist/types/tpaas-schemas/types/templates/IMetrics.d.ts +32 -0
- package/dist/types/tpaas-schemas/types/templates/IPageRef.d.ts +46 -0
- package/dist/types/tpaas-schemas/types/templates/IPlacement.d.ts +45 -0
- package/dist/types/tpaas-schemas/types/templates/IProvider.d.ts +73 -0
- package/dist/types/tpaas-schemas/types/templates/ISchool.d.ts +74 -0
- package/dist/types/tpaas-schemas/types/templates/ISession.d.ts +33 -0
- package/dist/types/tpaas-schemas/types/templates/ISports.d.ts +98 -0
- package/dist/types/tpaas-schemas/types/templates/ISportsUserFeatures.d.ts +28 -0
- package/dist/types/tpaas-schemas/types/templates/ITime.d.ts +32 -0
- package/dist/types/tpaas-schemas/types/templates/ITracker.d.ts +37 -0
- package/dist/types/tpaas-schemas/types/templates/IUser.d.ts +34 -0
- package/dist/types/tpaas-schemas/types/templates/IUtmTags.d.ts +38 -0
- package/dist/types/tpaas-schemas/types/templates/index.d.ts +27 -0
- package/dist/types/tpaas-schemas/types.d.ts +42 -0
- package/dist/types/tracker-proxy/consts.d.ts +2 -2
- package/dist/types/types.d.ts +19 -13
- package/{node_modules/@schibsted/pulse-utils/dist/types → dist/types/utils}/index.d.ts +1 -0
- package/dist/types/utils/xDomainId.d.ts +2 -0
- package/dist/types/version.d.ts +1 -1
- package/dist/types/visibility-observer/index.d.ts +6 -1
- package/dist/types/wrapper/engagement/ui-element/types.d.ts +1 -1
- package/dist/types/wrapper/types/base-event.d.ts +1 -1
- package/dist/types/wrapper/types/event.d.ts +4 -2
- package/dist/types/wrapper/types/utils.d.ts +1 -1
- package/dist/types/wrapper/utils/map-page-to-page-ref.d.ts +3 -0
- package/dist/types/wrapper/view/article/types.d.ts +1 -1
- package/dist/types/wrapper/view/frontpage/types.d.ts +1 -1
- package/dist/types/wrapper/view/listing/types.d.ts +1 -1
- package/dist/types/wrapper/view/loginposter/types.d.ts +1 -1
- package/dist/types/wrapper/view/page/types.d.ts +1 -1
- package/dist/types/wrapper/view/salesposter/types.d.ts +1 -1
- package/dist/types/wrapper/view/ui-element/types.d.ts +1 -1
- package/package.json +21 -20
- package/dist/cjs/Tracker.test-d.js +0 -76
- package/dist/ejs/Tracker.test-d.js +0 -71
- package/node_modules/@schibsted/pulse-cis-sync/dist/cjs/cis-browser.d.ts +0 -26
- package/node_modules/@schibsted/pulse-cis-sync/dist/cjs/cis-browser.js +0 -273
- package/node_modules/@schibsted/pulse-cis-sync/dist/cjs/cis-browser.js.map +0 -1
- package/node_modules/@schibsted/pulse-cis-sync/dist/cjs/cis.js.map +0 -1
- package/node_modules/@schibsted/pulse-cis-sync/dist/cjs/eventEmitter.js +0 -39
- package/node_modules/@schibsted/pulse-cis-sync/dist/cjs/eventEmitter.js.map +0 -1
- package/node_modules/@schibsted/pulse-cis-sync/dist/cjs/index.js.map +0 -1
- package/node_modules/@schibsted/pulse-cis-sync/dist/cjs/pulse-cookie.js.map +0 -1
- package/node_modules/@schibsted/pulse-cis-sync/dist/cjs/storage/pulseStorage.d.ts +0 -36
- package/node_modules/@schibsted/pulse-cis-sync/dist/cjs/storage/pulseStorage.js.map +0 -1
- package/node_modules/@schibsted/pulse-cis-sync/dist/cjs/storage/storage.js +0 -21
- package/node_modules/@schibsted/pulse-cis-sync/dist/cjs/storage/storage.js.map +0 -1
- package/node_modules/@schibsted/pulse-cis-sync/dist/cjs/types.js.map +0 -1
- package/node_modules/@schibsted/pulse-cis-sync/dist/ejs/cis-browser.d.ts +0 -26
- package/node_modules/@schibsted/pulse-cis-sync/dist/ejs/cis-browser.js.map +0 -1
- package/node_modules/@schibsted/pulse-cis-sync/dist/ejs/cis.d.ts +0 -10
- package/node_modules/@schibsted/pulse-cis-sync/dist/ejs/cis.js.map +0 -1
- package/node_modules/@schibsted/pulse-cis-sync/dist/ejs/eventEmitter.d.ts +0 -14
- package/node_modules/@schibsted/pulse-cis-sync/dist/ejs/eventEmitter.js.map +0 -1
- package/node_modules/@schibsted/pulse-cis-sync/dist/ejs/index.d.ts +0 -4
- package/node_modules/@schibsted/pulse-cis-sync/dist/ejs/index.js.map +0 -1
- package/node_modules/@schibsted/pulse-cis-sync/dist/ejs/pulse-cookie.d.ts +0 -55
- package/node_modules/@schibsted/pulse-cis-sync/dist/ejs/pulse-cookie.js.map +0 -1
- package/node_modules/@schibsted/pulse-cis-sync/dist/ejs/storage/pulseStorage.d.ts +0 -36
- package/node_modules/@schibsted/pulse-cis-sync/dist/ejs/storage/pulseStorage.js.map +0 -1
- package/node_modules/@schibsted/pulse-cis-sync/dist/ejs/storage/storage.d.ts +0 -6
- package/node_modules/@schibsted/pulse-cis-sync/dist/ejs/storage/storage.js.map +0 -1
- package/node_modules/@schibsted/pulse-cis-sync/dist/ejs/types.d.ts +0 -24
- package/node_modules/@schibsted/pulse-cis-sync/dist/ejs/types.js +0 -2
- package/node_modules/@schibsted/pulse-cis-sync/dist/ejs/types.js.map +0 -1
- package/node_modules/@schibsted/pulse-cis-sync/dist/types/cis.d.ts +0 -10
- package/node_modules/@schibsted/pulse-cis-sync/dist/types/eventEmitter.d.ts +0 -14
- package/node_modules/@schibsted/pulse-cis-sync/dist/types/index.d.ts +0 -4
- package/node_modules/@schibsted/pulse-cis-sync/dist/types/pulse-cookie.d.ts +0 -55
- package/node_modules/@schibsted/pulse-cis-sync/dist/types/storage/storage.d.ts +0 -6
- package/node_modules/@schibsted/pulse-cis-sync/dist/types/types.d.ts +0 -24
- package/node_modules/@schibsted/pulse-cis-sync/package.json +0 -44
- package/node_modules/@schibsted/pulse-utils/package.json +0 -36
- package/node_modules/@schibsted/tpaas-event-builder/dist/cjs/builders/provider.js +0 -12
- package/node_modules/@schibsted/tpaas-event-builder/dist/cjs/builders/referrer.js +0 -19
- package/node_modules/@schibsted/tpaas-event-builder/dist/cjs/builders.js +0 -272
- package/node_modules/@schibsted/tpaas-event-builder/dist/ejs/builders/provider.js +0 -9
- package/node_modules/@schibsted/tpaas-event-builder/dist/ejs/builders/referrer.js +0 -15
- package/node_modules/@schibsted/tpaas-event-builder/dist/ejs/builders/trackerBuilder.js +0 -11
- package/node_modules/@schibsted/tpaas-event-builder/dist/ejs/builders.js +0 -215
- package/node_modules/@schibsted/tpaas-event-builder/dist/ejs/index.js +0 -1
- package/node_modules/@schibsted/tpaas-event-builder/dist/index.d.ts +0 -5403
- package/node_modules/@schibsted/tpaas-event-builder/package.json +0 -40
- package/node_modules/@schibsted/tpaas-schemas/dist/index.d.ts +0 -6176
- package/node_modules/@schibsted/tpaas-schemas/package.json +0 -35
- /package/{node_modules/@schibsted/tpaas-event-builder/dist/cjs → dist/cjs/cis-sync}/types.js +0 -0
- /package/{node_modules/@schibsted/tpaas-event-builder/dist/cjs → dist/cjs/tpaas-builders}/builders/anonymous.js +0 -0
- /package/{node_modules/@schibsted/tpaas-event-builder/dist/cjs → dist/cjs/tpaas-builders}/builders/baseEvent.js +0 -0
- /package/{node_modules/@schibsted/tpaas-event-builder/dist/cjs → dist/cjs/tpaas-builders}/builders/consents.js +0 -0
- /package/{node_modules/@schibsted/tpaas-event-builder/dist/cjs → dist/cjs/tpaas-builders}/builders/experiments.js +0 -0
- /package/{node_modules/@schibsted/tpaas-event-builder/dist/cjs → dist/cjs/tpaas-builders}/builders/pageviewId.js +0 -0
- /package/{node_modules/@schibsted/tpaas-event-builder/dist/cjs → dist/cjs/tpaas-builders}/builders/time.js +0 -0
- /package/{node_modules/@schibsted/pulse-utils/dist/cjs → dist/cjs/utils}/cookie-config.js +0 -0
- /package/{node_modules/@schibsted/pulse-utils/dist/cjs → dist/cjs/utils}/cookie.js +0 -0
- /package/{node_modules/@schibsted/pulse-utils/dist/cjs → dist/cjs/utils}/events.js +0 -0
- /package/{node_modules/@schibsted/pulse-utils/dist/cjs → dist/cjs/utils}/get.js +0 -0
- /package/{node_modules/@schibsted/pulse-utils/dist/cjs → dist/cjs/utils}/getRootDomain.js +0 -0
- /package/{node_modules/@schibsted/pulse-utils/dist/cjs → dist/cjs/utils}/merge.js +0 -0
- /package/{node_modules/@schibsted/pulse-utils/dist/cjs → dist/cjs/utils}/objects.js +0 -0
- /package/{node_modules/@schibsted/pulse-utils/dist/cjs → dist/cjs/utils}/omit.js +0 -0
- /package/{node_modules/@schibsted/pulse-utils/dist/cjs → dist/cjs/utils}/randomString.js +0 -0
- /package/{node_modules/@schibsted/pulse-utils/dist/cjs → dist/cjs/utils}/throttle.js +0 -0
- /package/{node_modules/@schibsted/pulse-utils/dist/cjs → dist/cjs/utils}/webApi.js +0 -0
- /package/{node_modules/@schibsted/tpaas-event-builder/dist/ejs → dist/ejs/cis-sync}/types.js +0 -0
- /package/{node_modules/@schibsted/tpaas-event-builder/dist/ejs → dist/ejs/tpaas-builders}/builders/anonymous.js +0 -0
- /package/{node_modules/@schibsted/tpaas-event-builder/dist/ejs → dist/ejs/tpaas-builders}/builders/baseEvent.js +0 -0
- /package/{node_modules/@schibsted/tpaas-event-builder/dist/ejs → dist/ejs/tpaas-builders}/builders/consents.js +0 -0
- /package/{node_modules/@schibsted/tpaas-event-builder/dist/ejs → dist/ejs/tpaas-builders}/builders/experiments.js +0 -0
- /package/{node_modules/@schibsted/tpaas-event-builder/dist/ejs → dist/ejs/tpaas-builders}/builders/pageviewId.js +0 -0
- /package/{node_modules/@schibsted/tpaas-event-builder/dist/ejs → dist/ejs/tpaas-builders}/builders/time.js +0 -0
- /package/dist/{types/Tracker.test-d.d.ts → ejs/tpaas-builders/types.js} +0 -0
- /package/{node_modules/@schibsted/pulse-utils/dist/ejs → dist/ejs/utils}/cookie-config.js +0 -0
- /package/{node_modules/@schibsted/pulse-utils/dist/ejs → dist/ejs/utils}/cookie.js +0 -0
- /package/{node_modules/@schibsted/pulse-utils/dist/ejs → dist/ejs/utils}/events.js +0 -0
- /package/{node_modules/@schibsted/pulse-utils/dist/ejs → dist/ejs/utils}/get.js +0 -0
- /package/{node_modules/@schibsted/pulse-utils/dist/ejs → dist/ejs/utils}/getRootDomain.js +0 -0
- /package/{node_modules/@schibsted/pulse-utils/dist/ejs → dist/ejs/utils}/merge.js +0 -0
- /package/{node_modules/@schibsted/pulse-utils/dist/ejs → dist/ejs/utils}/objects.js +0 -0
- /package/{node_modules/@schibsted/pulse-utils/dist/ejs → dist/ejs/utils}/omit.js +0 -0
- /package/{node_modules/@schibsted/pulse-utils/dist/ejs → dist/ejs/utils}/randomString.js +0 -0
- /package/{node_modules/@schibsted/pulse-utils/dist/ejs → dist/ejs/utils}/throttle.js +0 -0
- /package/{node_modules/@schibsted/pulse-utils/dist/ejs → dist/ejs/utils}/webApi.js +0 -0
- /package/{node_modules/@schibsted/pulse-cis-sync/dist/cjs → dist/types/cis-sync}/cis.d.ts +0 -0
- /package/{node_modules/@schibsted/pulse-cis-sync/dist/cjs → dist/types/cis-sync}/eventEmitter.d.ts +0 -0
- /package/{node_modules/@schibsted/pulse-cis-sync/dist/cjs → dist/types/cis-sync}/index.d.ts +0 -0
- /package/{node_modules/@schibsted/pulse-cis-sync/dist/cjs → dist/types/cis-sync}/pulse-cookie.d.ts +0 -0
- /package/{node_modules/@schibsted/pulse-cis-sync/dist/cjs → dist/types/cis-sync}/types.d.ts +0 -0
- /package/{node_modules/@schibsted/pulse-utils/dist/types → dist/types/utils}/cookie-config.d.ts +0 -0
- /package/{node_modules/@schibsted/pulse-utils/dist/types → dist/types/utils}/cookie.d.ts +0 -0
- /package/{node_modules/@schibsted/pulse-utils/dist/types → dist/types/utils}/events.d.ts +0 -0
- /package/{node_modules/@schibsted/pulse-utils/dist/types → dist/types/utils}/get.d.ts +0 -0
- /package/{node_modules/@schibsted/pulse-utils/dist/types → dist/types/utils}/getRootDomain.d.ts +0 -0
- /package/{node_modules/@schibsted/pulse-utils/dist/types → dist/types/utils}/merge.d.ts +0 -0
- /package/{node_modules/@schibsted/pulse-utils/dist/types → dist/types/utils}/objects.d.ts +0 -0
- /package/{node_modules/@schibsted/pulse-utils/dist/types → dist/types/utils}/omit.d.ts +0 -0
- /package/{node_modules/@schibsted/pulse-utils/dist/types → dist/types/utils}/randomString.d.ts +0 -0
- /package/{node_modules/@schibsted/pulse-utils/dist/types → dist/types/utils}/throttle.d.ts +0 -0
- /package/{node_modules/@schibsted/pulse-utils/dist/types → dist/types/utils}/webApi.d.ts +0 -0
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
|
|
3
|
+
import type { IConsents } from '../templates/IConsents.d.ts';
|
|
4
|
+
import type { IDevice } from '../templates/IDevice.d.ts';
|
|
5
|
+
import type { IExperiments } from '../templates/IExperiments.d.ts';
|
|
6
|
+
import type { ILeave } from '../templates/ILeave.d.ts';
|
|
7
|
+
import type { IMetrics } from '../templates/IMetrics.d.ts';
|
|
8
|
+
import type { IPageRef } from '../templates/IPageRef.d.ts';
|
|
9
|
+
import type { IProvider } from '../templates/IProvider.d.ts';
|
|
10
|
+
import type { ITime } from '../templates/ITime.d.ts';
|
|
11
|
+
import type { ITracker } from '../templates/ITracker.d.ts';
|
|
12
|
+
import type { IUser } from '../templates/IUser.d.ts';
|
|
13
|
+
import type { IUtmTags } from '../templates/IUtmTags.d.ts';
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* A user navigating away from a weather page.
|
|
17
|
+
*/
|
|
18
|
+
export interface ILeaveWeather {
|
|
19
|
+
/**
|
|
20
|
+
* The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
|
|
21
|
+
* @pattern ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)$
|
|
22
|
+
* @example "1.2.3"
|
|
23
|
+
*/
|
|
24
|
+
catalogVersion: string;
|
|
25
|
+
consents: IConsents;
|
|
26
|
+
device: IDevice;
|
|
27
|
+
/**
|
|
28
|
+
* Event ID
|
|
29
|
+
* @format uuid
|
|
30
|
+
*/
|
|
31
|
+
eventId: string;
|
|
32
|
+
/**
|
|
33
|
+
* The type of the event.
|
|
34
|
+
*/
|
|
35
|
+
eventType: 'Leave';
|
|
36
|
+
experiments?: IExperiments;
|
|
37
|
+
leave: ILeave;
|
|
38
|
+
metrics?: IMetrics;
|
|
39
|
+
object: {
|
|
40
|
+
/**
|
|
41
|
+
* The editorial category of this forecast.
|
|
42
|
+
*/
|
|
43
|
+
category?: string;
|
|
44
|
+
/**
|
|
45
|
+
* The country within which the forecast is done.
|
|
46
|
+
*/
|
|
47
|
+
country: string;
|
|
48
|
+
/**
|
|
49
|
+
* The unique ID of this page.
|
|
50
|
+
*/
|
|
51
|
+
objectId: string;
|
|
52
|
+
/**
|
|
53
|
+
* The unique SDRN of this page.
|
|
54
|
+
*/
|
|
55
|
+
objectSdrn: string;
|
|
56
|
+
/**
|
|
57
|
+
* The type of the schema.
|
|
58
|
+
*/
|
|
59
|
+
objectType: 'Weather';
|
|
60
|
+
/**
|
|
61
|
+
* The location within the region covered by this forecast.
|
|
62
|
+
*/
|
|
63
|
+
place?: string;
|
|
64
|
+
/**
|
|
65
|
+
* The region covered by the forecast.
|
|
66
|
+
*/
|
|
67
|
+
region: string;
|
|
68
|
+
tags?: string[];
|
|
69
|
+
};
|
|
70
|
+
page: {
|
|
71
|
+
info: IPageRef;
|
|
72
|
+
/**
|
|
73
|
+
* The browser navigation that got the user to the current page.
|
|
74
|
+
*/
|
|
75
|
+
navigationType: 'Navigate' | 'Reload' | 'BackForward' | 'Prerender';
|
|
76
|
+
/**
|
|
77
|
+
* The pageviewID.
|
|
78
|
+
* @format uuid
|
|
79
|
+
*/
|
|
80
|
+
pageviewId: string;
|
|
81
|
+
referrer?: IPageRef;
|
|
82
|
+
utm?: IUtmTags;
|
|
83
|
+
};
|
|
84
|
+
provider: IProvider;
|
|
85
|
+
/**
|
|
86
|
+
* The schema of the event.
|
|
87
|
+
* @format uri
|
|
88
|
+
* @pattern ^https://tpaas-schemas.schibsted.media/.+\.json$
|
|
89
|
+
*/
|
|
90
|
+
schema: string;
|
|
91
|
+
time: ITime;
|
|
92
|
+
tracker: ITracker;
|
|
93
|
+
user?: IUser;
|
|
94
|
+
}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
|
|
3
|
+
import type { IConsents } from '../templates/IConsents.d.ts';
|
|
4
|
+
import type { IContent } from '../templates/IContent.d.ts';
|
|
5
|
+
import type { IDevice } from '../templates/IDevice.d.ts';
|
|
6
|
+
import type { IExperiments } from '../templates/IExperiments.d.ts';
|
|
7
|
+
import type { IPageRef } from '../templates/IPageRef.d.ts';
|
|
8
|
+
import type { IProvider } from '../templates/IProvider.d.ts';
|
|
9
|
+
import type { ISession } from '../templates/ISession.d.ts';
|
|
10
|
+
import type { ITime } from '../templates/ITime.d.ts';
|
|
11
|
+
import type { ITracker } from '../templates/ITracker.d.ts';
|
|
12
|
+
import type { IUser } from '../templates/IUser.d.ts';
|
|
13
|
+
import type { IUtmTags } from '../templates/IUtmTags.d.ts';
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* An ad creative being loaded/rendered for a previously requested ad opportunity.
|
|
17
|
+
*/
|
|
18
|
+
export interface ILoadAd {
|
|
19
|
+
/**
|
|
20
|
+
* The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
|
|
21
|
+
* @pattern ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)$
|
|
22
|
+
* @example "1.2.3"
|
|
23
|
+
*/
|
|
24
|
+
catalogVersion: string;
|
|
25
|
+
consents: IConsents;
|
|
26
|
+
device: IDevice;
|
|
27
|
+
/**
|
|
28
|
+
* The unique identifier for the event.
|
|
29
|
+
* @format uuid
|
|
30
|
+
*/
|
|
31
|
+
eventId: string;
|
|
32
|
+
/**
|
|
33
|
+
* The type of the event.
|
|
34
|
+
*/
|
|
35
|
+
eventType: 'Load';
|
|
36
|
+
experiments?: IExperiments;
|
|
37
|
+
object: {
|
|
38
|
+
/**
|
|
39
|
+
* Commercial ad format identifier.
|
|
40
|
+
* @example "Topboard"
|
|
41
|
+
*/
|
|
42
|
+
adFormat?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Creative identifier.
|
|
45
|
+
* @example "cr-ab12cd"
|
|
46
|
+
*/
|
|
47
|
+
creativeId?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Channel of demand.
|
|
50
|
+
* @example "direct"
|
|
51
|
+
*/
|
|
52
|
+
demandChannel?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Load time in ms.
|
|
55
|
+
*/
|
|
56
|
+
loadTimeMs?: string;
|
|
57
|
+
/**
|
|
58
|
+
* Type of creative.
|
|
59
|
+
* @example "banner"
|
|
60
|
+
*/
|
|
61
|
+
mediaType?: string;
|
|
62
|
+
/**
|
|
63
|
+
* The unique ID for this component.
|
|
64
|
+
*/
|
|
65
|
+
objectId: string;
|
|
66
|
+
/**
|
|
67
|
+
* The unique SDRN for this component.
|
|
68
|
+
*/
|
|
69
|
+
objectSdrn: string;
|
|
70
|
+
/**
|
|
71
|
+
* The type of the object.
|
|
72
|
+
*/
|
|
73
|
+
objectType: 'Ad';
|
|
74
|
+
/**
|
|
75
|
+
* ID for a single ad opportunity in a placement on a page view, shared across all related ad lifecycle events.
|
|
76
|
+
* @example "opp-12345"
|
|
77
|
+
*/
|
|
78
|
+
opportunityId?: string;
|
|
79
|
+
/**
|
|
80
|
+
* Source system to render the ad.
|
|
81
|
+
* @example "microsoft"
|
|
82
|
+
*/
|
|
83
|
+
platform: string;
|
|
84
|
+
/**
|
|
85
|
+
* Creative size.
|
|
86
|
+
* @example "320x250"
|
|
87
|
+
*/
|
|
88
|
+
size?: string;
|
|
89
|
+
};
|
|
90
|
+
page: {
|
|
91
|
+
content?: IContent;
|
|
92
|
+
info: IPageRef;
|
|
93
|
+
/**
|
|
94
|
+
* The pageviewID.
|
|
95
|
+
* @format uuid
|
|
96
|
+
*/
|
|
97
|
+
pageviewId: string;
|
|
98
|
+
referrer?: IPageRef;
|
|
99
|
+
utm?: IUtmTags;
|
|
100
|
+
};
|
|
101
|
+
placement: {
|
|
102
|
+
/**
|
|
103
|
+
* Placement identifier (string).
|
|
104
|
+
* @example "adserver-placement-id"
|
|
105
|
+
*/
|
|
106
|
+
placementId: string;
|
|
107
|
+
};
|
|
108
|
+
provider: IProvider;
|
|
109
|
+
/**
|
|
110
|
+
* URL to the JSON schema for this event.
|
|
111
|
+
* @format uri
|
|
112
|
+
* @pattern ^https://tpaas-schemas.schibsted.media/.+\.json$
|
|
113
|
+
*/
|
|
114
|
+
schema: string;
|
|
115
|
+
session: ISession;
|
|
116
|
+
time: ITime;
|
|
117
|
+
tracker: ITracker;
|
|
118
|
+
user?: IUser;
|
|
119
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
|
|
3
|
+
import type { IConsents } from '../templates/IConsents.d.ts';
|
|
4
|
+
import type { IContent } from '../templates/IContent.d.ts';
|
|
5
|
+
import type { IDevice } from '../templates/IDevice.d.ts';
|
|
6
|
+
import type { IExperiments } from '../templates/IExperiments.d.ts';
|
|
7
|
+
import type { IPageRef } from '../templates/IPageRef.d.ts';
|
|
8
|
+
import type { IProvider } from '../templates/IProvider.d.ts';
|
|
9
|
+
import type { ISession } from '../templates/ISession.d.ts';
|
|
10
|
+
import type { ITime } from '../templates/ITime.d.ts';
|
|
11
|
+
import type { ITracker } from '../templates/ITracker.d.ts';
|
|
12
|
+
import type { IUser } from '../templates/IUser.d.ts';
|
|
13
|
+
import type { IUtmTags } from '../templates/IUtmTags.d.ts';
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* An ad opportunity being requested for a placement on a page view, and the rendering platforms competing to fill it.
|
|
17
|
+
*/
|
|
18
|
+
export interface IRequestAd {
|
|
19
|
+
/**
|
|
20
|
+
* The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
|
|
21
|
+
* @pattern ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)$
|
|
22
|
+
* @example "1.2.3"
|
|
23
|
+
*/
|
|
24
|
+
catalogVersion: string;
|
|
25
|
+
consents: IConsents;
|
|
26
|
+
device: IDevice;
|
|
27
|
+
/**
|
|
28
|
+
* The unique identifier for the event.
|
|
29
|
+
* @format uuid
|
|
30
|
+
*/
|
|
31
|
+
eventId: string;
|
|
32
|
+
/**
|
|
33
|
+
* The type of the event.
|
|
34
|
+
*/
|
|
35
|
+
eventType: 'Request';
|
|
36
|
+
experiments?: IExperiments;
|
|
37
|
+
object: {
|
|
38
|
+
/**
|
|
39
|
+
* Type of creative.
|
|
40
|
+
* @example "banner"
|
|
41
|
+
*/
|
|
42
|
+
mediaType?: string;
|
|
43
|
+
/**
|
|
44
|
+
* The unique ID for this component.
|
|
45
|
+
*/
|
|
46
|
+
objectId: string;
|
|
47
|
+
/**
|
|
48
|
+
* The unique SDRN for this component.
|
|
49
|
+
*/
|
|
50
|
+
objectSdrn: string;
|
|
51
|
+
/**
|
|
52
|
+
* The type of the object.
|
|
53
|
+
*/
|
|
54
|
+
objectType: 'Ad';
|
|
55
|
+
/**
|
|
56
|
+
* ID for a single ad opportunity in a placement on a page view, shared across all related ad lifecycle events.
|
|
57
|
+
* @example "opp-12345"
|
|
58
|
+
*/
|
|
59
|
+
opportunityId?: string;
|
|
60
|
+
};
|
|
61
|
+
page: {
|
|
62
|
+
content?: IContent;
|
|
63
|
+
info: IPageRef;
|
|
64
|
+
/**
|
|
65
|
+
* The pageviewID.
|
|
66
|
+
* @format uuid
|
|
67
|
+
*/
|
|
68
|
+
pageviewId: string;
|
|
69
|
+
referrer?: IPageRef;
|
|
70
|
+
utm?: IUtmTags;
|
|
71
|
+
};
|
|
72
|
+
placement: {
|
|
73
|
+
/**
|
|
74
|
+
* Placement identifier (string).
|
|
75
|
+
* @example "adserver-placement-id"
|
|
76
|
+
*/
|
|
77
|
+
placementId: string;
|
|
78
|
+
};
|
|
79
|
+
provider: IProvider;
|
|
80
|
+
/**
|
|
81
|
+
* List of rendering platforms competing to fill this ad opportunity.
|
|
82
|
+
* @example "microsoft"
|
|
83
|
+
*/
|
|
84
|
+
renderingPlatform: string;
|
|
85
|
+
/**
|
|
86
|
+
* URL to the JSON schema for this event.
|
|
87
|
+
* @format uri
|
|
88
|
+
* @pattern ^https://tpaas-schemas.schibsted.media/.+\.json$
|
|
89
|
+
*/
|
|
90
|
+
schema: string;
|
|
91
|
+
session: ISession;
|
|
92
|
+
time: ITime;
|
|
93
|
+
tracker: ITracker;
|
|
94
|
+
user?: IUser;
|
|
95
|
+
}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
|
|
3
|
+
import type { IBranded } from '../templates/IBranded.d.ts';
|
|
4
|
+
import type { IConsents } from '../templates/IConsents.d.ts';
|
|
5
|
+
import type { IContent } from '../templates/IContent.d.ts';
|
|
6
|
+
import type { IDevice } from '../templates/IDevice.d.ts';
|
|
7
|
+
import type { IExperiments } from '../templates/IExperiments.d.ts';
|
|
8
|
+
import type { ILocation } from '../templates/ILocation.d.ts';
|
|
9
|
+
import type { IMetrics } from '../templates/IMetrics.d.ts';
|
|
10
|
+
import type { IPageRef } from '../templates/IPageRef.d.ts';
|
|
11
|
+
import type { IProvider } from '../templates/IProvider.d.ts';
|
|
12
|
+
import type { ISession } from '../templates/ISession.d.ts';
|
|
13
|
+
import type { ITime } from '../templates/ITime.d.ts';
|
|
14
|
+
import type { ITracker } from '../templates/ITracker.d.ts';
|
|
15
|
+
import type { IUser } from '../templates/IUser.d.ts';
|
|
16
|
+
import type { IUtmTags } from '../templates/IUtmTags.d.ts';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* A page dedicated to presenting an article.
|
|
20
|
+
*/
|
|
21
|
+
export interface IViewArticle {
|
|
22
|
+
branded?: IBranded;
|
|
23
|
+
/**
|
|
24
|
+
* The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
|
|
25
|
+
* @pattern ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)$
|
|
26
|
+
* @example "1.2.3"
|
|
27
|
+
*/
|
|
28
|
+
catalogVersion: string;
|
|
29
|
+
consents: IConsents;
|
|
30
|
+
device: IDevice;
|
|
31
|
+
/**
|
|
32
|
+
* Event ID
|
|
33
|
+
* @format uuid
|
|
34
|
+
*/
|
|
35
|
+
eventId: string;
|
|
36
|
+
/**
|
|
37
|
+
* The type of the event.
|
|
38
|
+
*/
|
|
39
|
+
eventType: 'View';
|
|
40
|
+
experiments?: IExperiments;
|
|
41
|
+
location?: ILocation;
|
|
42
|
+
metrics?: IMetrics;
|
|
43
|
+
object: {
|
|
44
|
+
authors: string[];
|
|
45
|
+
/**
|
|
46
|
+
* The editorial category of this article.
|
|
47
|
+
*/
|
|
48
|
+
category: string;
|
|
49
|
+
/**
|
|
50
|
+
* True if scrolling up/down transitions to the next or previous article.
|
|
51
|
+
*/
|
|
52
|
+
isStacked: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* The publication date of this version of the article.
|
|
55
|
+
* @format date-time
|
|
56
|
+
*/
|
|
57
|
+
lastUpdatedDate: string;
|
|
58
|
+
/**
|
|
59
|
+
* The newsroom that published the article.
|
|
60
|
+
* @example "vg"
|
|
61
|
+
*/
|
|
62
|
+
newsroom: string;
|
|
63
|
+
/**
|
|
64
|
+
* The unique ID of this page.
|
|
65
|
+
*/
|
|
66
|
+
objectId: string;
|
|
67
|
+
/**
|
|
68
|
+
* The unique SDRN of this page.
|
|
69
|
+
*/
|
|
70
|
+
objectSdrn: string;
|
|
71
|
+
/**
|
|
72
|
+
* The type of this page.
|
|
73
|
+
*/
|
|
74
|
+
objectType: 'Article';
|
|
75
|
+
/**
|
|
76
|
+
* The publication date of the article.
|
|
77
|
+
* @format date-time
|
|
78
|
+
*/
|
|
79
|
+
publicationDate: string;
|
|
80
|
+
/**
|
|
81
|
+
* The name of the company that sponsored the article. Empty if the article was not sponsored.
|
|
82
|
+
*/
|
|
83
|
+
sponsor?: string;
|
|
84
|
+
/**
|
|
85
|
+
* The title of the page.
|
|
86
|
+
*/
|
|
87
|
+
title: string;
|
|
88
|
+
/**
|
|
89
|
+
* Url of the article top or when missing article main image.
|
|
90
|
+
*/
|
|
91
|
+
topImageUrl?: string;
|
|
92
|
+
/**
|
|
93
|
+
* The type of article.
|
|
94
|
+
*/
|
|
95
|
+
variant: 'Article' | 'LiveArticle' | 'Special';
|
|
96
|
+
/**
|
|
97
|
+
* The version counter of the article.
|
|
98
|
+
* @minimum 0
|
|
99
|
+
*/
|
|
100
|
+
versionCounter: number;
|
|
101
|
+
/**
|
|
102
|
+
* The number of words in this version of the article.
|
|
103
|
+
* @exclusiveMinimum 0
|
|
104
|
+
*/
|
|
105
|
+
wordCount: number;
|
|
106
|
+
};
|
|
107
|
+
page: {
|
|
108
|
+
content: IContent;
|
|
109
|
+
info: IPageRef;
|
|
110
|
+
/**
|
|
111
|
+
* The browser navigation that got the user to the current page.
|
|
112
|
+
*/
|
|
113
|
+
navigationType: 'Navigate' | 'Reload' | 'BackForward' | 'Prerender' | 'Scroll' | 'Swipe' | 'DeepLink' | 'Push';
|
|
114
|
+
/**
|
|
115
|
+
* The pageviewID.
|
|
116
|
+
* @format uuid
|
|
117
|
+
*/
|
|
118
|
+
pageviewId: string;
|
|
119
|
+
referrer?: IPageRef;
|
|
120
|
+
utm?: IUtmTags;
|
|
121
|
+
};
|
|
122
|
+
provider: IProvider;
|
|
123
|
+
/**
|
|
124
|
+
* The schema of the event.
|
|
125
|
+
* @format uri
|
|
126
|
+
* @pattern ^https://tpaas-schemas.schibsted.media/.+\.json$
|
|
127
|
+
*/
|
|
128
|
+
schema: string;
|
|
129
|
+
session: ISession;
|
|
130
|
+
time: ITime;
|
|
131
|
+
tracker: ITracker;
|
|
132
|
+
user?: IUser;
|
|
133
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
|
|
3
|
+
import type { IConsents } from '../templates/IConsents.d.ts';
|
|
4
|
+
import type { IContent } from '../templates/IContent.d.ts';
|
|
5
|
+
import type { IDevice } from '../templates/IDevice.d.ts';
|
|
6
|
+
import type { IExperiments } from '../templates/IExperiments.d.ts';
|
|
7
|
+
import type { IMetrics } from '../templates/IMetrics.d.ts';
|
|
8
|
+
import type { IPageRef } from '../templates/IPageRef.d.ts';
|
|
9
|
+
import type { IProvider } from '../templates/IProvider.d.ts';
|
|
10
|
+
import type { ISession } from '../templates/ISession.d.ts';
|
|
11
|
+
import type { ITime } from '../templates/ITime.d.ts';
|
|
12
|
+
import type { ITracker } from '../templates/ITracker.d.ts';
|
|
13
|
+
import type { IUser } from '../templates/IUser.d.ts';
|
|
14
|
+
import type { IUtmTags } from '../templates/IUtmTags.d.ts';
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* A page allowing the user to access audio content.
|
|
18
|
+
*/
|
|
19
|
+
export interface IViewAudioPage {
|
|
20
|
+
/**
|
|
21
|
+
* The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
|
|
22
|
+
* @pattern ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)$
|
|
23
|
+
* @example "1.2.3"
|
|
24
|
+
*/
|
|
25
|
+
catalogVersion: string;
|
|
26
|
+
consents: IConsents;
|
|
27
|
+
device: IDevice;
|
|
28
|
+
/**
|
|
29
|
+
* The unique identifier for the event.
|
|
30
|
+
* @format uuid
|
|
31
|
+
*/
|
|
32
|
+
eventId: string;
|
|
33
|
+
/**
|
|
34
|
+
* The type of the event.
|
|
35
|
+
*/
|
|
36
|
+
eventType: 'View';
|
|
37
|
+
experiments?: IExperiments;
|
|
38
|
+
metrics?: IMetrics;
|
|
39
|
+
object: {
|
|
40
|
+
/**
|
|
41
|
+
* The location of the page in the brand’s page hierarchy.
|
|
42
|
+
*/
|
|
43
|
+
category: string;
|
|
44
|
+
/**
|
|
45
|
+
* The unique ID of this page.
|
|
46
|
+
*/
|
|
47
|
+
objectId: string;
|
|
48
|
+
/**
|
|
49
|
+
* The unique SDRN of this page.
|
|
50
|
+
*/
|
|
51
|
+
objectSdrn: string;
|
|
52
|
+
/**
|
|
53
|
+
* The type of the object.
|
|
54
|
+
*/
|
|
55
|
+
objectType: 'AudioPage';
|
|
56
|
+
/**
|
|
57
|
+
* The title of the page.
|
|
58
|
+
*/
|
|
59
|
+
title: string;
|
|
60
|
+
};
|
|
61
|
+
page: {
|
|
62
|
+
content?: IContent;
|
|
63
|
+
info: IPageRef;
|
|
64
|
+
/**
|
|
65
|
+
* The browser navigation that got the user to the current page.
|
|
66
|
+
*/
|
|
67
|
+
navigationType: 'Navigate' | 'Reload' | 'BackForward' | 'Prerender' | 'DeepLink' | 'Push';
|
|
68
|
+
/**
|
|
69
|
+
* The pageviewID.
|
|
70
|
+
* @format uuid
|
|
71
|
+
*/
|
|
72
|
+
pageviewId: string;
|
|
73
|
+
referrer?: IPageRef;
|
|
74
|
+
utm?: IUtmTags;
|
|
75
|
+
};
|
|
76
|
+
provider: IProvider;
|
|
77
|
+
/**
|
|
78
|
+
* URL to the JSON schema for this event.
|
|
79
|
+
* @format uri
|
|
80
|
+
* @pattern ^https://tpaas-schemas.schibsted.media/.+\.json$
|
|
81
|
+
*/
|
|
82
|
+
schema: string;
|
|
83
|
+
session: ISession;
|
|
84
|
+
time: ITime;
|
|
85
|
+
tracker: ITracker;
|
|
86
|
+
user?: IUser;
|
|
87
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
|
|
3
|
+
import type { IConsents } from '../templates/IConsents.d.ts';
|
|
4
|
+
import type { IDevice } from '../templates/IDevice.d.ts';
|
|
5
|
+
import type { IExperiments } from '../templates/IExperiments.d.ts';
|
|
6
|
+
import type { IPageRef } from '../templates/IPageRef.d.ts';
|
|
7
|
+
import type { IProvider } from '../templates/IProvider.d.ts';
|
|
8
|
+
import type { ISession } from '../templates/ISession.d.ts';
|
|
9
|
+
import type { ITime } from '../templates/ITime.d.ts';
|
|
10
|
+
import type { ITracker } from '../templates/ITracker.d.ts';
|
|
11
|
+
import type { IUser } from '../templates/IUser.d.ts';
|
|
12
|
+
import type { IUtmTags } from '../templates/IUtmTags.d.ts';
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* A error page.
|
|
16
|
+
*/
|
|
17
|
+
export interface IViewError {
|
|
18
|
+
/**
|
|
19
|
+
* The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
|
|
20
|
+
* @pattern ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)$
|
|
21
|
+
* @example "1.2.3"
|
|
22
|
+
*/
|
|
23
|
+
catalogVersion: string;
|
|
24
|
+
consents: IConsents;
|
|
25
|
+
device: IDevice;
|
|
26
|
+
/**
|
|
27
|
+
* Event ID
|
|
28
|
+
* @format uuid
|
|
29
|
+
*/
|
|
30
|
+
eventId: string;
|
|
31
|
+
eventType: 'View';
|
|
32
|
+
experiments?: IExperiments;
|
|
33
|
+
object: {
|
|
34
|
+
/**
|
|
35
|
+
* The location of the page in the brand’s page hierarchy.
|
|
36
|
+
*/
|
|
37
|
+
category?: string;
|
|
38
|
+
/**
|
|
39
|
+
* The response code of the page.
|
|
40
|
+
* @example 418
|
|
41
|
+
*/
|
|
42
|
+
errorCode: number;
|
|
43
|
+
/**
|
|
44
|
+
* The error message.
|
|
45
|
+
* @example "I'm a teapot"
|
|
46
|
+
*/
|
|
47
|
+
errorMessage: string;
|
|
48
|
+
/**
|
|
49
|
+
* The unique ID of this page.
|
|
50
|
+
*/
|
|
51
|
+
objectId: string;
|
|
52
|
+
/**
|
|
53
|
+
* The unique SDRN of this page.
|
|
54
|
+
*/
|
|
55
|
+
objectSdrn: string;
|
|
56
|
+
/**
|
|
57
|
+
* The type of this page.
|
|
58
|
+
*/
|
|
59
|
+
objectType: 'Error';
|
|
60
|
+
/**
|
|
61
|
+
* The title of the page.
|
|
62
|
+
*/
|
|
63
|
+
title: string;
|
|
64
|
+
};
|
|
65
|
+
page: {
|
|
66
|
+
info: IPageRef;
|
|
67
|
+
/**
|
|
68
|
+
* The browser navigation that got the user to the current page.
|
|
69
|
+
*/
|
|
70
|
+
navigationType: 'Navigate' | 'Reload' | 'BackForward' | 'Prerender' | 'Scroll';
|
|
71
|
+
/**
|
|
72
|
+
* The pageviewID.
|
|
73
|
+
* @format uuid
|
|
74
|
+
*/
|
|
75
|
+
pageviewId: string;
|
|
76
|
+
referrer?: IPageRef;
|
|
77
|
+
utm?: IUtmTags;
|
|
78
|
+
};
|
|
79
|
+
provider: IProvider;
|
|
80
|
+
/**
|
|
81
|
+
* The schema of the event.
|
|
82
|
+
* @format uri
|
|
83
|
+
* @pattern ^https://tpaas-schemas.schibsted.media/.+\.json$
|
|
84
|
+
*/
|
|
85
|
+
schema: string;
|
|
86
|
+
session: ISession;
|
|
87
|
+
time: ITime;
|
|
88
|
+
tracker: ITracker;
|
|
89
|
+
user?: IUser;
|
|
90
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
|
|
3
|
+
import type { IConsents } from '../templates/IConsents.d.ts';
|
|
4
|
+
import type { IDevice } from '../templates/IDevice.d.ts';
|
|
5
|
+
import type { IExperiments } from '../templates/IExperiments.d.ts';
|
|
6
|
+
import type { ILocation } from '../templates/ILocation.d.ts';
|
|
7
|
+
import type { IMetrics } from '../templates/IMetrics.d.ts';
|
|
8
|
+
import type { IPageRef } from '../templates/IPageRef.d.ts';
|
|
9
|
+
import type { IProvider } from '../templates/IProvider.d.ts';
|
|
10
|
+
import type { ISession } from '../templates/ISession.d.ts';
|
|
11
|
+
import type { ITime } from '../templates/ITime.d.ts';
|
|
12
|
+
import type { ITracker } from '../templates/ITracker.d.ts';
|
|
13
|
+
import type { IUser } from '../templates/IUser.d.ts';
|
|
14
|
+
import type { IUtmTags } from '../templates/IUtmTags.d.ts';
|
|
15
|
+
|
|
16
|
+
export interface IViewFrontpage {
|
|
17
|
+
/**
|
|
18
|
+
* The version of the TPaaS schemas catalog that this particular schema belongs to. Semver format.
|
|
19
|
+
* @pattern ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)$
|
|
20
|
+
* @example "1.2.3"
|
|
21
|
+
*/
|
|
22
|
+
catalogVersion: string;
|
|
23
|
+
consents: IConsents;
|
|
24
|
+
device: IDevice;
|
|
25
|
+
/**
|
|
26
|
+
* Event ID
|
|
27
|
+
* @format uuid
|
|
28
|
+
*/
|
|
29
|
+
eventId: string;
|
|
30
|
+
/**
|
|
31
|
+
* The type of event.
|
|
32
|
+
*/
|
|
33
|
+
eventType: 'View';
|
|
34
|
+
experiments?: IExperiments;
|
|
35
|
+
location?: ILocation;
|
|
36
|
+
metrics?: IMetrics;
|
|
37
|
+
object: {
|
|
38
|
+
/**
|
|
39
|
+
* The unique ID of this page
|
|
40
|
+
*/
|
|
41
|
+
objectId: string;
|
|
42
|
+
/**
|
|
43
|
+
* The unique SDRN of this page
|
|
44
|
+
*/
|
|
45
|
+
objectSdrn: string;
|
|
46
|
+
/**
|
|
47
|
+
* The type of this page.
|
|
48
|
+
*/
|
|
49
|
+
objectType: 'Frontpage';
|
|
50
|
+
/**
|
|
51
|
+
* The title of the page.
|
|
52
|
+
*/
|
|
53
|
+
title: string;
|
|
54
|
+
};
|
|
55
|
+
page: {
|
|
56
|
+
info: IPageRef;
|
|
57
|
+
/**
|
|
58
|
+
* The browser navigation that got the user to the current page.
|
|
59
|
+
*/
|
|
60
|
+
navigationType: 'Navigate' | 'Reload' | 'BackForward' | 'Prerender' | 'DeepLink' | 'Push';
|
|
61
|
+
/**
|
|
62
|
+
* The pageviewID.
|
|
63
|
+
* @format uuid
|
|
64
|
+
*/
|
|
65
|
+
pageviewId: string;
|
|
66
|
+
referrer?: IPageRef;
|
|
67
|
+
utm?: IUtmTags;
|
|
68
|
+
};
|
|
69
|
+
provider: IProvider;
|
|
70
|
+
/**
|
|
71
|
+
* The schema of the event.
|
|
72
|
+
* @format uri
|
|
73
|
+
* @pattern ^https://tpaas-schemas.schibsted.media/.+\.json$
|
|
74
|
+
*/
|
|
75
|
+
schema: string;
|
|
76
|
+
session: ISession;
|
|
77
|
+
time: ITime;
|
|
78
|
+
tracker: ITracker;
|
|
79
|
+
user?: IUser;
|
|
80
|
+
}
|