@schibsted/advertory 2.44.0-test-art-4
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/core/aftonbladet/es/index.css +1 -0
- package/core/aftonbladet/es/index.d.ts +701 -0
- package/core/aftonbladet/es/index.js +1 -0
- package/core/aftonbladet/es/package.json +9 -0
- package/core/aftonbladet/index.d.ts +701 -0
- package/core/aftonbladet/index.js +1 -0
- package/core/aftonbladet/package.json +9 -0
- package/core/e24/es/index.css +1 -0
- package/core/e24/es/index.d.ts +699 -0
- package/core/e24/es/index.js +1 -0
- package/core/e24/es/package.json +9 -0
- package/core/e24/index.d.ts +699 -0
- package/core/e24/index.js +1 -0
- package/core/e24/package.json +9 -0
- package/features/ad-native/index.d.ts +492 -0
- package/features/ad-native/index.js +1 -0
- package/features/ad-native/package.json +9 -0
- package/features/brandmetrics/index.js +1 -0
- package/features/brandmetrics/package.json +9 -0
- package/features/common/es/index.js +1 -0
- package/features/common/es/package.json +9 -0
- package/features/common/index.js +1 -0
- package/features/common/package.json +9 -0
- package/features/dr-edition/es/index.d.ts +583 -0
- package/features/dr-edition/es/index.js +1 -0
- package/features/dr-edition/es/package.json +9 -0
- package/features/dr-edition/index.d.ts +583 -0
- package/features/dr-edition/index.js +1 -0
- package/features/dr-edition/package.json +9 -0
- package/features/glimr/glimr-BIcFSFRk.js +1 -0
- package/features/glimr/glimr-sdk-mS8sOhxy.js +1 -0
- package/features/glimr/index.js +1 -0
- package/features/glimr/package.json +9 -0
- package/features/tracker/index.d.ts +74 -0
- package/features/tracker/index.js +1 -0
- package/features/tracker/package.json +9 -0
- package/features/video/index.js +1 -0
- package/features/video/package.json +9 -0
- package/package.json +77 -0
- package/sites/aftonbladet/es/index.css +1 -0
- package/sites/aftonbladet/es/index.d.ts +29 -0
- package/sites/aftonbladet/es/index.js +1 -0
- package/sites/aftonbladet/es/package.json +9 -0
- package/sites/aftonbladet/index.d.ts +29 -0
- package/sites/aftonbladet/index.js +1 -0
- package/sites/aftonbladet/package.json +9 -0
- package/sites/e24/es/index.css +1 -0
- package/sites/e24/es/index.d.ts +29 -0
- package/sites/e24/es/index.js +1 -0
- package/sites/e24/es/package.json +9 -0
- package/sites/e24/index.d.ts +29 -0
- package/sites/e24/index.js +1 -0
- package/sites/e24/package.json +9 -0
- package/styles/aftonbladet/index.js +3 -0
- package/styles/aftonbladet/styles.css +1 -0
- package/styles/e24/index.js +3 -0
- package/styles/e24/styles.css +1 -0
- package/types/config/aftenposten.d.ts +3 -0
- package/types/config/aftonbladet.d.ts +4 -0
- package/types/config/aftonbladetv2.d.ts +4 -0
- package/types/config/bt.d.ts +3 -0
- package/types/config/e24.d.ts +3 -0
- package/types/config/e24v2.d.ts +3 -0
- package/types/config/godare.d.ts +3 -0
- package/types/config/godt.d.ts +4 -0
- package/types/config/klart.d.ts +4 -0
- package/types/config/kompakt.d.ts +3 -0
- package/types/config/minmote.d.ts +4 -0
- package/types/config/pent.d.ts +3 -0
- package/types/config/sa.d.ts +3 -0
- package/types/config/svd.d.ts +4 -0
- package/types/config/tek.d.ts +4 -0
- package/types/config/vg.d.ts +3 -0
- package/types/config/vgv2.d.ts +3 -0
- package/types/core/config.d.ts +15 -0
- package/types/core/config.test.d.ts +1 -0
- package/types/core/creative-observer/refresh.d.ts +6 -0
- package/types/core/creative-observer/refresh.test.d.ts +1 -0
- package/types/core/creative-observer/show-tag.d.ts +4 -0
- package/types/core/creative-observer/utils.d.ts +4 -0
- package/types/core/events/events.d.ts +3 -0
- package/types/core/events/fallback.d.ts +3 -0
- package/types/core/events/post-message.d.ts +2 -0
- package/types/core/events/refresh.d.ts +6 -0
- package/types/core/events/resize-ad.d.ts +2 -0
- package/types/core/events/set-ad-sizes.d.ts +4 -0
- package/types/core/events/visibility.d.ts +3 -0
- package/types/core/handlers/ad-format-keyword/index.d.ts +3 -0
- package/types/core/handlers/ad-format-keyword/index.test.d.ts +1 -0
- package/types/core/handlers/ad-format-type/index.d.ts +33 -0
- package/types/core/handlers/ad-format-type/index.test.d.ts +1 -0
- package/types/core/handlers/ad-invcode/index.d.ts +2 -0
- package/types/core/handlers/ad-invcode/index.test.d.ts +4 -0
- package/types/core/handlers/ad-position-placement/index.d.ts +3 -0
- package/types/core/handlers/ad-position-placement/index.test.d.ts +1 -0
- package/types/core/handlers/ad-rendering-management/index.d.ts +3 -0
- package/types/core/handlers/ad-server/default-data.d.ts +4 -0
- package/types/core/handlers/ad-server/index.d.ts +18 -0
- package/types/core/handlers/ad-server/index.test.d.ts +1 -0
- package/types/core/handlers/ad-server/placement-ordering.d.ts +4 -0
- package/types/core/handlers/ad-server/placement-ordering.test.d.ts +1 -0
- package/types/core/handlers/ad-server/placement.d.ts +10 -0
- package/types/core/handlers/ad-server/placement.test.d.ts +4 -0
- package/types/core/handlers/ad-supply-type/index.d.ts +2 -0
- package/types/core/handlers/ad-supply-type/index.test.d.ts +1 -0
- package/types/core/handlers/ad-targetid/index.d.ts +3 -0
- package/types/core/handlers/ad-targetid/index.test.d.ts +1 -0
- package/types/core/handlers/classname/index.d.ts +4 -0
- package/types/core/handlers/classname/index.test.d.ts +1 -0
- package/types/core/handlers/count-keyword/index.d.ts +3 -0
- package/types/core/handlers/count-keyword/index.test.d.ts +1 -0
- package/types/core/handlers/country-prefix/index.d.ts +4 -0
- package/types/core/handlers/country-prefix/index.test.d.ts +4 -0
- package/types/core/handlers/custom-keywords/index.d.ts +2 -0
- package/types/core/handlers/custom-keywords/index.test.d.ts +1 -0
- package/types/core/handlers/dynamic-outstream/index.d.ts +6 -0
- package/types/core/handlers/dynamic-outstream/index.test.d.ts +4 -0
- package/types/core/handlers/firefox-styles/index.d.ts +3 -0
- package/types/core/handlers/firefox-styles/index.test.d.ts +1 -0
- package/types/core/handlers/hash/index.d.ts +2 -0
- package/types/core/handlers/hash/index.test.d.ts +1 -0
- package/types/core/handlers/margins/index.d.ts +4 -0
- package/types/core/handlers/margins/index.test.d.ts +1 -0
- package/types/core/handlers/mediation/index.d.ts +3 -0
- package/types/core/handlers/mediation/index.test.d.ts +1 -0
- package/types/core/handlers/member/index.d.ts +3 -0
- package/types/core/handlers/member/index.test.d.ts +1 -0
- package/types/core/handlers/obituaries/index.d.ts +7 -0
- package/types/core/handlers/obituaries/index.test.d.ts +1 -0
- package/types/core/handlers/param/index.d.ts +7 -0
- package/types/core/handlers/param/index.test.d.ts +1 -0
- package/types/core/handlers/scale/index.d.ts +6 -0
- package/types/core/handlers/scale/index.test.d.ts +1 -0
- package/types/core/handlers/tcf/index.d.ts +4 -0
- package/types/core/handlers/tcf/index.test.d.ts +1 -0
- package/types/core/handlers/underline-keyword/index.d.ts +2 -0
- package/types/core/handlers/underline-keyword/index.test.d.ts +1 -0
- package/types/core/handlers/update-advertory/index.d.ts +6 -0
- package/types/core/handlers/update-advertory/index.test.d.ts +1 -0
- package/types/core/handlers/user/index.d.ts +4 -0
- package/types/core/handlers/user/index.test.d.ts +1 -0
- package/types/core/interface/ad-component.d.ts +15 -0
- package/types/core/interface/ad-types.d.ts +5 -0
- package/types/core/interface/alertory.d.ts +8 -0
- package/types/core/interface/ast.d.ts +277 -0
- package/types/core/interface/cmp.d.ts +2 -0
- package/types/core/interface/common.d.ts +8 -0
- package/types/core/interface/config.d.ts +292 -0
- package/types/core/interface/countries.d.ts +6 -0
- package/types/core/interface/device.d.ts +13 -0
- package/types/core/interface/dictionary.d.ts +10 -0
- package/types/core/interface/fallback.d.ts +5 -0
- package/types/core/interface/formats.d.ts +59 -0
- package/types/core/interface/http-client.d.ts +4 -0
- package/types/core/interface/keywords.d.ts +87 -0
- package/types/core/interface/library.d.ts +5 -0
- package/types/core/interface/local-storage-client.d.ts +6 -0
- package/types/core/interface/margins.d.ts +11 -0
- package/types/core/interface/module.d.ts +13 -0
- package/types/core/interface/newsrooms.d.ts +17 -0
- package/types/core/interface/observer.d.ts +7 -0
- package/types/core/interface/os.d.ts +1 -0
- package/types/core/interface/page-types.d.ts +8 -0
- package/types/core/interface/placement-groups.d.ts +5 -0
- package/types/core/interface/post-message.d.ts +9 -0
- package/types/core/interface/publishers.d.ts +15 -0
- package/types/core/interface/refresh.d.ts +4 -0
- package/types/core/interface/session-storage-client.d.ts +5 -0
- package/types/core/interface/storage.d.ts +18 -0
- package/types/core/interface/styles.d.ts +1 -0
- package/types/core/interface/tcf.d.ts +11 -0
- package/types/core/interface/update-advertory.d.ts +6 -0
- package/types/core/languages/dictionary.d.ts +3 -0
- package/types/core/logger/index.d.ts +2 -0
- package/types/core/prepare-page-options/prepare-page-options-no.d.ts +9 -0
- package/types/core/prepare-page-options/prepare-page-options-se.d.ts +9 -0
- package/types/core/prepare-page-options/prepare-page-options.d.ts +27 -0
- package/types/core/prepare-page-options/prepare-page-options.test.d.ts +1 -0
- package/types/core/prepare-tag/formatter.d.ts +2 -0
- package/types/core/prepare-tag/formatter.test.d.ts +1 -0
- package/types/core/prepare-tag/prepare-tag.d.ts +3 -0
- package/types/core/prepare-tag/prepare-tag.test.d.ts +1 -0
- package/types/core/prepare-tag/ssa.d.ts +3 -0
- package/types/core/prepare-tag/tag-config.d.ts +5 -0
- package/types/core/prepare-tag/tag-config.test.d.ts +1 -0
- package/types/core/storage.d.ts +10 -0
- package/types/core/utils/init.d.ts +4 -0
- package/types/features/ad-full-width/index.d.ts +4 -0
- package/types/features/ad-fullscreen-scroll/constants.d.ts +7 -0
- package/types/features/ad-fullscreen-scroll/format-types.d.ts +8 -0
- package/types/features/ad-fullscreen-scroll/formats-handler.d.ts +13 -0
- package/types/features/ad-fullscreen-scroll/formats-handler.test.d.ts +4 -0
- package/types/features/ad-fullscreen-scroll/index.d.ts +6 -0
- package/types/features/ad-fullscreen-scroll/observer.d.ts +9 -0
- package/types/features/ad-fullscreen-scroll/observer.test.d.ts +1 -0
- package/types/features/ad-fullscreen-scroll/scale-ad.d.ts +1 -0
- package/types/features/ad-native/ad-native-builder.d.ts +4 -0
- package/types/features/ad-native/ad-native-renderer.d.ts +3 -0
- package/types/features/ad-native/ad-native-styling.d.ts +5 -0
- package/types/features/ad-native/ad-native.d.ts +4 -0
- package/types/features/ad-native/index.d.ts +5 -0
- package/types/features/ad-native/sites/aftenposten/aftenposten-init.d.ts +4 -0
- package/types/features/ad-native/sites/aftenposten/index.d.ts +6 -0
- package/types/features/ad-native/sites/aftenposten/templates/content/index.d.ts +4 -0
- package/types/features/ad-native/sites/aftenposten/templates/index.d.ts +3 -0
- package/types/features/ad-native/sites/aftenposten/templates/recirc/index.d.ts +4 -0
- package/types/features/ad-native/sites/aftonbladet/aftonbladet-init.d.ts +5 -0
- package/types/features/ad-native/sites/aftonbladet/index.d.ts +6 -0
- package/types/features/ad-native/sites/aftonbladet/templates/chat-integration/index.d.ts +4 -0
- package/types/features/ad-native/sites/aftonbladet/templates/classic/alcohol-warning-label.d.ts +2 -0
- package/types/features/ad-native/sites/aftonbladet/templates/classic/index.d.ts +4 -0
- package/types/features/ad-native/sites/aftonbladet/templates/classic-video/classic-video.d.ts +4 -0
- package/types/features/ad-native/sites/aftonbladet/templates/classic-video/index.d.ts +3 -0
- package/types/features/ad-native/sites/aftonbladet/templates/content-display/content-display-basic.d.ts +4 -0
- package/types/features/ad-native/sites/aftonbladet/templates/content-display/content-display-gambling-articles.d.ts +4 -0
- package/types/features/ad-native/sites/aftonbladet/templates/content-display/index.d.ts +3 -0
- package/types/features/ad-native/sites/aftonbladet/templates/index.d.ts +3 -0
- package/types/features/ad-native/sites/aftonbladetv2/aftonbladet-init.d.ts +5 -0
- package/types/features/ad-native/sites/aftonbladetv2/index.d.ts +6 -0
- package/types/features/ad-native/sites/aftonbladetv2/templates/chat-integration/index.d.ts +4 -0
- package/types/features/ad-native/sites/aftonbladetv2/templates/classic/alcohol-warning-label.d.ts +2 -0
- package/types/features/ad-native/sites/aftonbladetv2/templates/classic/index.d.ts +4 -0
- package/types/features/ad-native/sites/aftonbladetv2/templates/classic-video/classic-video.d.ts +4 -0
- package/types/features/ad-native/sites/aftonbladetv2/templates/classic-video/index.d.ts +3 -0
- package/types/features/ad-native/sites/aftonbladetv2/templates/content-display/content-display-basic.d.ts +4 -0
- package/types/features/ad-native/sites/aftonbladetv2/templates/content-display/content-display-gambling-articles.d.ts +4 -0
- package/types/features/ad-native/sites/aftonbladetv2/templates/content-display/index.d.ts +3 -0
- package/types/features/ad-native/sites/aftonbladetv2/templates/index.d.ts +3 -0
- package/types/features/ad-native/sites/bt/bt-init.d.ts +5 -0
- package/types/features/ad-native/sites/bt/index.d.ts +6 -0
- package/types/features/ad-native/sites/bt/templates/content/index.d.ts +4 -0
- package/types/features/ad-native/sites/bt/templates/index.d.ts +3 -0
- package/types/features/ad-native/sites/default/default-init.d.ts +4 -0
- package/types/features/ad-native/sites/default/index.d.ts +6 -0
- package/types/features/ad-native/sites/default/templates/display/index.d.ts +4 -0
- package/types/features/ad-native/sites/default/templates/index.d.ts +3 -0
- package/types/features/ad-native/sites/default/templates/video/index.d.ts +3 -0
- package/types/features/ad-native/sites/default/templates/video/template.d.ts +4 -0
- package/types/features/ad-native/sites/e24/e24-init.d.ts +5 -0
- package/types/features/ad-native/sites/e24/index.d.ts +10 -0
- package/types/features/ad-native/sites/e24/templates/articles/content/index.d.ts +4 -0
- package/types/features/ad-native/sites/e24/templates/articles/content-display-basic/index.d.ts +4 -0
- package/types/features/ad-native/sites/e24/templates/articles/index.d.ts +3 -0
- package/types/features/ad-native/sites/e24/templates/articles/recirc/index.d.ts +4 -0
- package/types/features/ad-native/sites/e24/templates/front/content/index.d.ts +4 -0
- package/types/features/ad-native/sites/e24/templates/front/content-display-basic/index.d.ts +4 -0
- package/types/features/ad-native/sites/e24/templates/front/index.d.ts +3 -0
- package/types/features/ad-native/sites/e24v2/e24-init.d.ts +5 -0
- package/types/features/ad-native/sites/e24v2/index.d.ts +10 -0
- package/types/features/ad-native/sites/e24v2/templates/articles/content/index.d.ts +4 -0
- package/types/features/ad-native/sites/e24v2/templates/articles/content-display-basic/index.d.ts +4 -0
- package/types/features/ad-native/sites/e24v2/templates/articles/index.d.ts +3 -0
- package/types/features/ad-native/sites/e24v2/templates/articles/recirc/index.d.ts +4 -0
- package/types/features/ad-native/sites/e24v2/templates/front/aksjelive/index.d.ts +4 -0
- package/types/features/ad-native/sites/e24v2/templates/front/content/index.d.ts +4 -0
- package/types/features/ad-native/sites/e24v2/templates/front/content-display-basic/index.d.ts +4 -0
- package/types/features/ad-native/sites/e24v2/templates/front/index.d.ts +3 -0
- package/types/features/ad-native/sites/godare/godare-init.d.ts +5 -0
- package/types/features/ad-native/sites/godare/index.d.ts +6 -0
- package/types/features/ad-native/sites/godare/templates/index.d.ts +3 -0
- package/types/features/ad-native/sites/godare/templates/single-integration/index.d.ts +4 -0
- package/types/features/ad-native/sites/godare/templates/utils.d.ts +1 -0
- package/types/features/ad-native/sites/godt/godt-init.d.ts +4 -0
- package/types/features/ad-native/sites/godt/index.d.ts +6 -0
- package/types/features/ad-native/sites/godt/templates/content/content-video.d.ts +2 -0
- package/types/features/ad-native/sites/godt/templates/content/content.d.ts +2 -0
- package/types/features/ad-native/sites/godt/templates/content/helpers.d.ts +10 -0
- package/types/features/ad-native/sites/godt/templates/content/index.d.ts +2 -0
- package/types/features/ad-native/sites/godt/templates/index.d.ts +3 -0
- package/types/features/ad-native/sites/godt/templates/native/helpers.d.ts +8 -0
- package/types/features/ad-native/sites/godt/templates/native/index.d.ts +1 -0
- package/types/features/ad-native/sites/godt/templates/native/native-video.d.ts +2 -0
- package/types/features/ad-native/sites/godt/templates/weekly-menu/index.d.ts +3 -0
- package/types/features/ad-native/sites/godt/templates/weekly-menu/stripe.d.ts +2 -0
- package/types/features/ad-native/sites/godt/templates/weekly-menu/weekly-menu-video.d.ts +2 -0
- package/types/features/ad-native/sites/godt/templates/weekly-menu/weekly-menu.d.ts +2 -0
- package/types/features/ad-native/sites/klart/index.d.ts +6 -0
- package/types/features/ad-native/sites/klart/klart-init.d.ts +5 -0
- package/types/features/ad-native/sites/klart/templates/classic/alcohol-warning-label.d.ts +2 -0
- package/types/features/ad-native/sites/klart/templates/classic/index.d.ts +4 -0
- package/types/features/ad-native/sites/klart/templates/content-display/index.d.ts +4 -0
- package/types/features/ad-native/sites/klart/templates/index.d.ts +3 -0
- package/types/features/ad-native/sites/minmote/index.d.ts +6 -0
- package/types/features/ad-native/sites/minmote/minmote-init.d.ts +4 -0
- package/types/features/ad-native/sites/minmote/templates/content/content.d.ts +2 -0
- package/types/features/ad-native/sites/minmote/templates/content/contentVideo.d.ts +2 -0
- package/types/features/ad-native/sites/minmote/templates/content/helpers.d.ts +9 -0
- package/types/features/ad-native/sites/minmote/templates/content/index.d.ts +2 -0
- package/types/features/ad-native/sites/minmote/templates/index.d.ts +3 -0
- package/types/features/ad-native/sites/minmote/templates/native/helpers.d.ts +8 -0
- package/types/features/ad-native/sites/minmote/templates/native/index.d.ts +1 -0
- package/types/features/ad-native/sites/minmote/templates/native/nativeVideo.d.ts +2 -0
- package/types/features/ad-native/sites/pent/index.d.ts +6 -0
- package/types/features/ad-native/sites/pent/pent-init.d.ts +4 -0
- package/types/features/ad-native/sites/polaris/index.d.ts +6 -0
- package/types/features/ad-native/sites/polaris/polaris-init.d.ts +4 -0
- package/types/features/ad-native/sites/polaris/templates/content/index.d.ts +4 -0
- package/types/features/ad-native/sites/polaris/templates/index.d.ts +3 -0
- package/types/features/ad-native/sites/polaris/templates/profilertstilling/index.d.ts +4 -0
- package/types/features/ad-native/sites/polaris/templates/stilling/index.d.ts +4 -0
- package/types/features/ad-native/sites/sa/index.d.ts +6 -0
- package/types/features/ad-native/sites/sa/sa-init.d.ts +4 -0
- package/types/features/ad-native/sites/sa/templates/content/index.d.ts +4 -0
- package/types/features/ad-native/sites/sa/templates/index.d.ts +3 -0
- package/types/features/ad-native/sites/shared/higher-order-functions/video.d.ts +3 -0
- package/types/features/ad-native/sites/shared/index.d.ts +5 -0
- package/types/features/ad-native/sites/shared/player-events.d.ts +5 -0
- package/types/features/ad-native/sites/shared/templates/abo/content-video/content-video.d.ts +4 -0
- package/types/features/ad-native/sites/shared/templates/abo/content-video/index.d.ts +3 -0
- package/types/features/ad-native/sites/shared/templates/abo/default/index.d.ts +4 -0
- package/types/features/ad-native/sites/shared/templates/abo/index.d.ts +3 -0
- package/types/features/ad-native/sites/shared/templates/abo/podme-section/index.d.ts +4 -0
- package/types/features/ad-native/sites/shared/templates/abo/recirc/index.d.ts +4 -0
- package/types/features/ad-native/sites/shared/templates/abo/video/index.d.ts +3 -0
- package/types/features/ad-native/sites/shared/templates/abo/video/template.d.ts +4 -0
- package/types/features/ad-native/sites/shared/templates/content-display-basic/content-display-basic-article.d.ts +4 -0
- package/types/features/ad-native/sites/shared/templates/content-display-basic/content-display-basic.d.ts +4 -0
- package/types/features/ad-native/sites/shared/templates/content-display-basic/index.d.ts +3 -0
- package/types/features/ad-native/sites/shared/templates/no/index.d.ts +3 -0
- package/types/features/ad-native/sites/shared/templates/no/native-recirc/index.d.ts +4 -0
- package/types/features/ad-native/sites/shared/templates/no/native-template/index.d.ts +4 -0
- package/types/features/ad-native/sites/shared/templates/video/index.d.ts +3 -0
- package/types/features/ad-native/sites/shared/templates/video/video.d.ts +4 -0
- package/types/features/ad-native/sites/svd/index.d.ts +6 -0
- package/types/features/ad-native/sites/svd/svd-init.d.ts +5 -0
- package/types/features/ad-native/sites/svd/templates/brandstudio-classic/index.d.ts +4 -0
- package/types/features/ad-native/sites/svd/templates/brandstudio-classic/panorama/index.d.ts +3 -0
- package/types/features/ad-native/sites/svd/templates/content-display/index.d.ts +4 -0
- package/types/features/ad-native/sites/svd/templates/index.d.ts +3 -0
- package/types/features/ad-native/sites/svd/templates/podme/index.d.ts +4 -0
- package/types/features/ad-native/sites/svd/templates/podme-section/index.d.ts +4 -0
- package/types/features/ad-native/sites/tek/index.d.ts +6 -0
- package/types/features/ad-native/sites/tek/tek-init.d.ts +4 -0
- package/types/features/ad-native/sites/tek/templates/content/content-video.d.ts +2 -0
- package/types/features/ad-native/sites/tek/templates/content/content.d.ts +2 -0
- package/types/features/ad-native/sites/tek/templates/content/helpers.d.ts +10 -0
- package/types/features/ad-native/sites/tek/templates/content/index.d.ts +2 -0
- package/types/features/ad-native/sites/tek/templates/index.d.ts +3 -0
- package/types/features/ad-native/sites/tek/templates/native/helpers.d.ts +9 -0
- package/types/features/ad-native/sites/tek/templates/native/index.d.ts +1 -0
- package/types/features/ad-native/sites/tek/templates/native/native-video.d.ts +2 -0
- package/types/features/ad-native/sites/vg/index.d.ts +6 -0
- package/types/features/ad-native/sites/vg/templates/content/content-video.d.ts +4 -0
- package/types/features/ad-native/sites/vg/templates/content/content.d.ts +4 -0
- package/types/features/ad-native/sites/vg/templates/content/index.d.ts +3 -0
- package/types/features/ad-native/sites/vg/templates/default-template/index.d.ts +4 -0
- package/types/features/ad-native/sites/vg/templates/fishfinger/index.d.ts +7 -0
- package/types/features/ad-native/sites/vg/templates/index.d.ts +3 -0
- package/types/features/ad-native/sites/vg/templates/inhouse/index.d.ts +4 -0
- package/types/features/ad-native/sites/vg/templates/podme/index.d.ts +4 -0
- package/types/features/ad-native/sites/vg/templates/podme_section/index.d.ts +4 -0
- package/types/features/ad-native/sites/vg/templates/recirc/index.d.ts +4 -0
- package/types/features/ad-native/sites/vg/templates/seamless-image/index.d.ts +4 -0
- package/types/features/ad-native/sites/vg/templates/shopping_affiliate/index.d.ts +4 -0
- package/types/features/ad-native/sites/vg/templates/ukesmeny/index.d.ts +4 -0
- package/types/features/ad-native/sites/vg/templates/ukesmeny-sponsor-stripe/index.d.ts +5 -0
- package/types/features/ad-native/sites/vg/templates/ukesmeny-video/index.d.ts +4 -0
- package/types/features/ad-native/sites/vg/templates/ukesmeny-video/videoTemplate.d.ts +4 -0
- package/types/features/ad-native/sites/vg/templates/utils/title-scalling/font-size-optimizer.d.ts +7 -0
- package/types/features/ad-native/sites/vg/templates/utils/title-scalling/font-size-optimizer.test.d.ts +1 -0
- package/types/features/ad-native/sites/vg/templates/utils/title-scalling/font-size-width.d.ts +4 -0
- package/types/features/ad-native/sites/vg/templates/utils/title-scalling/index.d.ts +6 -0
- package/types/features/ad-native/sites/vg/templates/utils/title-scalling/types.d.ts +9 -0
- package/types/features/ad-native/sites/vg/templates/video/index.d.ts +3 -0
- package/types/features/ad-native/sites/vg/templates/video/video.d.ts +4 -0
- package/types/features/ad-native/sites/vg/vg-init.d.ts +5 -0
- package/types/features/ad-native/sites/vgv2/index.d.ts +6 -0
- package/types/features/ad-native/sites/vgv2/templates/content/content-video.d.ts +4 -0
- package/types/features/ad-native/sites/vgv2/templates/content/content.d.ts +4 -0
- package/types/features/ad-native/sites/vgv2/templates/content/index.d.ts +3 -0
- package/types/features/ad-native/sites/vgv2/templates/default-template/index.d.ts +4 -0
- package/types/features/ad-native/sites/vgv2/templates/fishfinger/index.d.ts +7 -0
- package/types/features/ad-native/sites/vgv2/templates/index.d.ts +3 -0
- package/types/features/ad-native/sites/vgv2/templates/inhouse/index.d.ts +4 -0
- package/types/features/ad-native/sites/vgv2/templates/podme/index.d.ts +4 -0
- package/types/features/ad-native/sites/vgv2/templates/podme_section/index.d.ts +4 -0
- package/types/features/ad-native/sites/vgv2/templates/recirc/index.d.ts +4 -0
- package/types/features/ad-native/sites/vgv2/templates/seamless-image/index.d.ts +4 -0
- package/types/features/ad-native/sites/vgv2/templates/shopping_affiliate/index.d.ts +4 -0
- package/types/features/ad-native/sites/vgv2/templates/ukesmeny/index.d.ts +4 -0
- package/types/features/ad-native/sites/vgv2/templates/ukesmeny-sponsor-stripe/index.d.ts +5 -0
- package/types/features/ad-native/sites/vgv2/templates/ukesmeny-video/index.d.ts +4 -0
- package/types/features/ad-native/sites/vgv2/templates/ukesmeny-video/videoTemplate.d.ts +4 -0
- package/types/features/ad-native/sites/vgv2/templates/utils/title-scalling/font-size-optimizer.d.ts +7 -0
- package/types/features/ad-native/sites/vgv2/templates/utils/title-scalling/font-size-optimizer.test.d.ts +1 -0
- package/types/features/ad-native/sites/vgv2/templates/utils/title-scalling/font-size-width.d.ts +4 -0
- package/types/features/ad-native/sites/vgv2/templates/utils/title-scalling/index.d.ts +6 -0
- package/types/features/ad-native/sites/vgv2/templates/utils/title-scalling/types.d.ts +9 -0
- package/types/features/ad-native/sites/vgv2/templates/video/index.d.ts +3 -0
- package/types/features/ad-native/sites/vgv2/templates/video/video.d.ts +4 -0
- package/types/features/ad-native/sites/vgv2/vg-init.d.ts +5 -0
- package/types/features/ad-native/trackers/trackers.d.ts +5 -0
- package/types/features/ad-native/trackers/trackers.test.d.ts +1 -0
- package/types/features/ad-skyscrapers-split/components/SkyscrapersTrack.d.ts +3 -0
- package/types/features/ad-skyscrapers-split/components/types.d.ts +3 -0
- package/types/features/ad-skyscrapers-split/index.d.ts +2 -0
- package/types/features/ad-sponsorstripe/placement/index.d.ts +2 -0
- package/types/features/ad-sponsorstripe/scripts/index.d.ts +5 -0
- package/types/features/ad-sponsorstripe/scripts/observer.d.ts +2 -0
- package/types/features/ad-sponsorstripe/scripts/video-player-observer.d.ts +1 -0
- package/types/features/ad-sponsorstripe/scripts/visibility-observer.d.ts +2 -0
- package/types/features/ad-sponsorstripe/scripts/width-resizer.d.ts +2 -0
- package/types/features/ad-sponsorstripe/sites/abo/index.d.ts +4 -0
- package/types/features/ad-sponsorstripe/sites/aftonbladet/index.d.ts +4 -0
- package/types/features/ad-sponsorstripe/sites/godt/index.d.ts +2 -0
- package/types/features/ad-sponsorstripe/sites/minmote/index.d.ts +2 -0
- package/types/features/ad-sponsorstripe/sites/svd/index.d.ts +4 -0
- package/types/features/ad-sponsorstripe/sites/tek/index.d.ts +2 -0
- package/types/features/ad-sponsorstripe/sites/vg/index.d.ts +4 -0
- package/types/features/ad-takeover/config.d.ts +5 -0
- package/types/features/ad-takeover/handlers/cls-handler.d.ts +3 -0
- package/types/features/ad-takeover/handlers/events-handler.d.ts +13 -0
- package/types/features/ad-takeover/handlers/events-handler.test.d.ts +1 -0
- package/types/features/ad-takeover/handlers/formats-handler.d.ts +2 -0
- package/types/features/ad-takeover/handlers/insert-assets-handler.d.ts +4 -0
- package/types/features/ad-takeover/handlers/insert-assets-handler.test.d.ts +1 -0
- package/types/features/ad-takeover/handlers/lock-page.d.ts +3 -0
- package/types/features/ad-takeover/handlers/show-variant-handler.d.ts +3 -0
- package/types/features/ad-takeover/handlers/show-variant-handler.test.d.ts +1 -0
- package/types/features/ad-takeover/handlers/visibility-observer-handler.d.ts +2 -0
- package/types/features/ad-takeover/handlers/visibility-observer-handler.test.d.ts +1 -0
- package/types/features/ad-takeover/index.d.ts +5 -0
- package/types/features/ad-takeover/placement/formats/splash/index.d.ts +3 -0
- package/types/features/ad-takeover/placement/formats/topscroller/index.d.ts +3 -0
- package/types/features/ad-takeover/placement/formats/welcome-page/index.d.ts +3 -0
- package/types/features/ad-takeover/placement/index.d.ts +3 -0
- package/types/features/ad-takeover/utils.d.ts +14 -0
- package/types/features/ad-wallpaper/constants.d.ts +5 -0
- package/types/features/ad-wallpaper/index.d.ts +8 -0
- package/types/features/ad-wallpaper/wallpaper-listener.d.ts +2 -0
- package/types/features/ad-wallpaper/wallpaper-styling-setters.d.ts +5 -0
- package/types/features/adblock/index.d.ts +3 -0
- package/types/features/alertory/index.d.ts +5 -0
- package/types/features/alertory/locator.d.ts +3 -0
- package/types/features/alertory/site-config.d.ts +8 -0
- package/types/features/alertory/test-id.d.ts +5 -0
- package/types/features/alertory/test-id.test.d.ts +1 -0
- package/types/features/brandmetrics/Brandmetrics.d.ts +3 -0
- package/types/features/brandmetrics/index.d.ts +3 -0
- package/types/features/cogwheel/index.d.ts +2 -0
- package/types/features/cogwheel/index.test.d.ts +1 -0
- package/types/features/common/formats/Netboard/index.d.ts +3 -0
- package/types/features/common/formats/Skyscraper/index.d.ts +3 -0
- package/types/features/common/formats/Sponsorstripe/index.d.ts +3 -0
- package/types/features/common/formats/Wallpaper/index.d.ts +3 -0
- package/types/features/common/formats/helpers.d.ts +5 -0
- package/types/features/common/formats/index.d.ts +4 -0
- package/types/features/common/index.d.ts +1 -0
- package/types/features/dr-edition/DrEdition.d.ts +4 -0
- package/types/features/dr-edition/composition.d.ts +6 -0
- package/types/features/dr-edition/constants.d.ts +11 -0
- package/types/features/dr-edition/dr-edition-manager.d.ts +16 -0
- package/types/features/dr-edition/dr-edition-service.d.ts +10 -0
- package/types/features/dr-edition/handlers.d.ts +7 -0
- package/types/features/dr-edition/handlers.test.d.ts +1 -0
- package/types/features/dr-edition/index.d.ts +4 -0
- package/types/features/dr-edition/observer.d.ts +5 -0
- package/types/features/dr-edition/pulse-manager/default-pulse-manager.d.ts +17 -0
- package/types/features/dr-edition/pulse-manager/index.d.ts +4 -0
- package/types/features/dr-edition/pulse-manager/no-pulse-manager.d.ts +15 -0
- package/types/features/dr-edition/pulse-manager/se-pulse-manager.d.ts +13 -0
- package/types/features/dr-edition/renderer.d.ts +8 -0
- package/types/features/dr-edition/strategies/aftonbladet/index.d.ts +8 -0
- package/types/features/dr-edition/strategies/default.d.ts +8 -0
- package/types/features/dr-edition/strategies/e24/index.d.ts +10 -0
- package/types/features/dr-edition/strategies/vg/index.d.ts +11 -0
- package/types/features/dr-edition/types.d.ts +124 -0
- package/types/features/dr-edition/utils/html.d.ts +2 -0
- package/types/features/dr-edition/utils/url.d.ts +2 -0
- package/types/features/dr-edition/video-manager.d.ts +10 -0
- package/types/features/editable-configuration/constants.d.ts +3 -0
- package/types/features/editable-configuration/fetch-s3-config.d.ts +5 -0
- package/types/features/editable-configuration/fetch-s3-config.test.d.ts +1 -0
- package/types/features/editable-configuration/index.d.ts +3 -0
- package/types/features/editable-configuration/index.test.d.ts +1 -0
- package/types/features/editable-configuration/merge-configs.d.ts +4 -0
- package/types/features/editable-configuration/merge-configs.test.d.ts +1 -0
- package/types/features/finn-blink/config.d.ts +3 -0
- package/types/features/finn-blink/events.d.ts +5 -0
- package/types/features/finn-blink/finn-blink.d.ts +4 -0
- package/types/features/finn-blink/index.d.ts +3 -0
- package/types/features/finn-blink/renderer.d.ts +4 -0
- package/types/features/finn-blink/replacement-blink.d.ts +4 -0
- package/types/features/finn-blink/tcf.d.ts +2 -0
- package/types/features/finn-blink/tcf.test.d.ts +1 -0
- package/types/features/glimr/constants.d.ts +9 -0
- package/types/features/glimr/glimr-core-handler.d.ts +3 -0
- package/types/features/glimr/glimr-core-handler.test.d.ts +1 -0
- package/types/features/glimr/glimr-tag-filters.d.ts +4 -0
- package/types/features/glimr/glimr-tag-filters.test.d.ts +4 -0
- package/types/features/glimr/glimr-tags-handler.d.ts +4 -0
- package/types/features/glimr/glimr-tags-handler.test.d.ts +4 -0
- package/types/features/glimr/index.d.ts +2 -0
- package/types/features/interface/ad-native.d.ts +134 -0
- package/types/features/interface/ad-takeover.d.ts +6 -0
- package/types/features/interface/alertory.d.ts +18 -0
- package/types/features/interface/editable-configuration.d.ts +16 -0
- package/types/features/interface/finn-blink.d.ts +42 -0
- package/types/features/interface/fullscreen-scroll.d.ts +4 -0
- package/types/features/interface/glimr.d.ts +6 -0
- package/types/features/interface/player.d.ts +9 -0
- package/types/features/interface/prebid.d.ts +49 -0
- package/types/features/interface/privacy-broker.d.ts +16 -0
- package/types/features/interface/tracker.d.ts +91 -0
- package/types/features/norstat/index.d.ts +4 -0
- package/types/features/norstat/index.test.d.ts +1 -0
- package/types/features/player/events.d.ts +5 -0
- package/types/features/player/index.d.ts +1 -0
- package/types/features/player/player.d.ts +4 -0
- package/types/features/player/plugins/index.d.ts +2 -0
- package/types/features/player/plugins/mute/index.d.ts +2 -0
- package/types/features/player/plugins/ukesmeny-video/index.d.ts +2 -0
- package/types/features/player/types.d.ts +12 -0
- package/types/features/player/wait.d.ts +2 -0
- package/types/features/prebid/index.d.ts +1 -0
- package/types/features/prebid/prebid.d.ts +3 -0
- package/types/features/prebid/prebid.test.d.ts +1 -0
- package/types/features/prebid/relevant-yield-data.d.ts +4 -0
- package/types/features/prebid/relevant-yield-data.test.d.ts +1 -0
- package/types/features/prebid/window-properties-getters.d.ts +6 -0
- package/types/features/privacy-broker/constants.d.ts +2 -0
- package/types/features/privacy-broker/fetch-permissions.d.ts +3 -0
- package/types/features/privacy-broker/fetch-permissions.test.d.ts +1 -0
- package/types/features/privacy-broker/get-identity-object.d.ts +3 -0
- package/types/features/privacy-broker/identity-facade.d.ts +9 -0
- package/types/features/privacy-broker/identity-facade.test.d.ts +1 -0
- package/types/features/privacy-broker/index.d.ts +2 -0
- package/types/features/privacy-broker/permissions.d.ts +3 -0
- package/types/features/privacy-broker/permissions.test.d.ts +1 -0
- package/types/features/privacy-broker/session-storage.d.ts +7 -0
- package/types/features/privacy-broker/session-storage.test.d.ts +1 -0
- package/types/features/tracker/constants.d.ts +34 -0
- package/types/features/tracker/eid-mapping-builder.d.ts +12 -0
- package/types/features/tracker/eid-mapping-builder.test.d.ts +1 -0
- package/types/features/tracker/get-page-view-id.d.ts +3 -0
- package/types/features/tracker/index.d.ts +10 -0
- package/types/features/tracker/keys.d.ts +5 -0
- package/types/features/tracker/ppidsv2-manager.d.ts +9 -0
- package/types/features/tracker/ppidsv3-manager.d.ts +17 -0
- package/types/features/tracker/ppidsv3-manager.test.d.ts +1 -0
- package/types/features/video/index.d.ts +1 -0
- package/types/features/video/tcf.d.ts +4 -0
- package/types/interface/glimr.d.ts +5 -0
- package/types/interface/global.d.ts +41 -0
- package/types/interface/png-module.d.ts +4 -0
- package/types/interface/png-rollup-module.d.ts +4 -0
- package/types/interface/scss-modules.d.ts +1 -0
- package/types/sites/aftenposten/config.d.ts +3 -0
- package/types/sites/aftenposten/events.d.ts +14 -0
- package/types/sites/aftenposten/formats/Netboard/index.d.ts +3 -0
- package/types/sites/aftenposten/formats/Skyscraper/index.d.ts +3 -0
- package/types/sites/aftenposten/formats/Topboard/index.d.ts +3 -0
- package/types/sites/aftenposten/formats/Wallpaper/index.d.ts +2 -0
- package/types/sites/aftenposten/formats/helpers.d.ts +4 -0
- package/types/sites/aftenposten/formats/index.d.ts +4 -0
- package/types/sites/aftenposten/index.d.ts +4 -0
- package/types/sites/aftenposten/prepare-page-options.d.ts +3 -0
- package/types/sites/aftenposten/prepare-page-options.test.d.ts +1 -0
- package/types/sites/aftenposten/prepare-tag.d.ts +3 -0
- package/types/sites/aftenposten/prepare-tag.test.d.ts +1 -0
- package/types/sites/aftonbladet/config.d.ts +3 -0
- package/types/sites/aftonbladet/events.d.ts +14 -0
- package/types/sites/aftonbladet/formats/Insider/index.d.ts +3 -0
- package/types/sites/aftonbladet/formats/Integration/index.d.ts +3 -0
- package/types/sites/aftonbladet/formats/Panorama/index.d.ts +3 -0
- package/types/sites/aftonbladet/formats/Sponsorstripe/helpers.d.ts +4 -0
- package/types/sites/aftonbladet/formats/Sponsorstripe/index.d.ts +3 -0
- package/types/sites/aftonbladet/formats/Widescreen/helpers.d.ts +2 -0
- package/types/sites/aftonbladet/formats/Widescreen/index.d.ts +3 -0
- package/types/sites/aftonbladet/formats/helpers.d.ts +4 -0
- package/types/sites/aftonbladet/formats/index.d.ts +6 -0
- package/types/sites/aftonbladet/index.d.ts +2 -0
- package/types/sites/aftonbladet/prepare-page-options.d.ts +3 -0
- package/types/sites/aftonbladet/prepare-page-options.test.d.ts +1 -0
- package/types/sites/aftonbladet/prepare-tag.d.ts +3 -0
- package/types/sites/aftonbladet/prepare-tag.test.d.ts +1 -0
- package/types/sites/aftonbladetv2/config.d.ts +3 -0
- package/types/sites/aftonbladetv2/events.d.ts +14 -0
- package/types/sites/aftonbladetv2/formats/Insider/index.d.ts +3 -0
- package/types/sites/aftonbladetv2/formats/Integration/index.d.ts +3 -0
- package/types/sites/aftonbladetv2/formats/Panorama/index.d.ts +3 -0
- package/types/sites/aftonbladetv2/formats/Sponsorstripe/helpers.d.ts +3 -0
- package/types/sites/aftonbladetv2/formats/Sponsorstripe/index.d.ts +3 -0
- package/types/sites/aftonbladetv2/formats/Widescreen/helpers.d.ts +2 -0
- package/types/sites/aftonbladetv2/formats/Widescreen/index.d.ts +3 -0
- package/types/sites/aftonbladetv2/formats/helpers.d.ts +4 -0
- package/types/sites/aftonbladetv2/formats/index.d.ts +6 -0
- package/types/sites/aftonbladetv2/index.d.ts +2 -0
- package/types/sites/aftonbladetv2/prepare-page-options.d.ts +3 -0
- package/types/sites/aftonbladetv2/prepare-page-options.test.d.ts +1 -0
- package/types/sites/aftonbladetv2/prepare-tag.d.ts +3 -0
- package/types/sites/aftonbladetv2/prepare-tag.test.d.ts +1 -0
- package/types/sites/bt/config.d.ts +3 -0
- package/types/sites/bt/events.d.ts +14 -0
- package/types/sites/bt/formats/Netboard/index.d.ts +3 -0
- package/types/sites/bt/formats/Skyscraper/index.d.ts +3 -0
- package/types/sites/bt/formats/Topboard/index.d.ts +3 -0
- package/types/sites/bt/formats/Wallpaper/index.d.ts +2 -0
- package/types/sites/bt/formats/index.d.ts +4 -0
- package/types/sites/bt/index.d.ts +4 -0
- package/types/sites/bt/prepare-page-options.d.ts +3 -0
- package/types/sites/bt/prepare-page-options.test.d.ts +1 -0
- package/types/sites/e24/config.d.ts +3 -0
- package/types/sites/e24/events.d.ts +14 -0
- package/types/sites/e24/formats/Brandboard/index.d.ts +3 -0
- package/types/sites/e24/formats/Netboard/index.d.ts +3 -0
- package/types/sites/e24/formats/Skyscraper/index.d.ts +3 -0
- package/types/sites/e24/formats/Topboard/index.d.ts +3 -0
- package/types/sites/e24/formats/Wallpaper/index.d.ts +3 -0
- package/types/sites/e24/formats/helpers.d.ts +4 -0
- package/types/sites/e24/formats/index.d.ts +6 -0
- package/types/sites/e24/index.d.ts +2 -0
- package/types/sites/e24/prepare-page-options.d.ts +3 -0
- package/types/sites/e24/prepare-page-options.test.d.ts +1 -0
- package/types/sites/e24v2/config.d.ts +3 -0
- package/types/sites/e24v2/events.d.ts +14 -0
- package/types/sites/e24v2/formats/Aksjelive/index.d.ts +2 -0
- package/types/sites/e24v2/formats/Brandboard/index.d.ts +3 -0
- package/types/sites/e24v2/formats/Netboard/index.d.ts +3 -0
- package/types/sites/e24v2/formats/Skyscraper/index.d.ts +5 -0
- package/types/sites/e24v2/formats/Topboard/helpers.d.ts +2 -0
- package/types/sites/e24v2/formats/Topboard/index.d.ts +3 -0
- package/types/sites/e24v2/formats/Wallpaper/helpers.d.ts +2 -0
- package/types/sites/e24v2/formats/Wallpaper/index.d.ts +4 -0
- package/types/sites/e24v2/formats/index.d.ts +7 -0
- package/types/sites/e24v2/index.d.ts +2 -0
- package/types/sites/e24v2/prepare-page-options.d.ts +3 -0
- package/types/sites/e24v2/prepare-page-options.test.d.ts +1 -0
- package/types/sites/godare/config.d.ts +3 -0
- package/types/sites/godare/events.d.ts +14 -0
- package/types/sites/godare/formats/Buyrecipe/index.d.ts +3 -0
- package/types/sites/godare/formats/Integration/index.d.ts +3 -0
- package/types/sites/godare/formats/Panorama/index.d.ts +3 -0
- package/types/sites/godare/formats/helpers.d.ts +3 -0
- package/types/sites/godare/formats/index.d.ts +4 -0
- package/types/sites/godare/index.d.ts +2 -0
- package/types/sites/godare/prepare-page-options.d.ts +3 -0
- package/types/sites/godare/prepare-page-options.test.d.ts +1 -0
- package/types/sites/godt/config.d.ts +3 -0
- package/types/sites/godt/events.d.ts +14 -0
- package/types/sites/godt/index.d.ts +1 -0
- package/types/sites/godt/prepare-page-options.d.ts +3 -0
- package/types/sites/godt/prepare-page-options.test.d.ts +1 -0
- package/types/sites/klart/config.d.ts +3 -0
- package/types/sites/klart/events.d.ts +14 -0
- package/types/sites/klart/formats/Integration/index.d.ts +3 -0
- package/types/sites/klart/formats/Panorama/index.d.ts +3 -0
- package/types/sites/klart/formats/Widescreen/index.d.ts +3 -0
- package/types/sites/klart/formats/helpers.d.ts +3 -0
- package/types/sites/klart/formats/index.d.ts +4 -0
- package/types/sites/klart/index.d.ts +2 -0
- package/types/sites/klart/prepare-page-options.d.ts +3 -0
- package/types/sites/klart/prepare-tag.d.ts +3 -0
- package/types/sites/kompakt/config.d.ts +3 -0
- package/types/sites/kompakt/index.d.ts +1 -0
- package/types/sites/minmote/config.d.ts +3 -0
- package/types/sites/minmote/events.d.ts +14 -0
- package/types/sites/minmote/index.d.ts +2 -0
- package/types/sites/minmote/prepare-page-options.d.ts +3 -0
- package/types/sites/minmote/prepare-page-options.test.d.ts +1 -0
- package/types/sites/pent/config.d.ts +3 -0
- package/types/sites/pent/events.d.ts +14 -0
- package/types/sites/pent/index.d.ts +1 -0
- package/types/sites/pent/prepare-page-options.d.ts +3 -0
- package/types/sites/pent/prepare-page-options.test.d.ts +1 -0
- package/types/sites/sa/config.d.ts +3 -0
- package/types/sites/sa/events.d.ts +14 -0
- package/types/sites/sa/formats/Netboard/index.d.ts +3 -0
- package/types/sites/sa/formats/Skyscraper/index.d.ts +3 -0
- package/types/sites/sa/formats/Topboard/index.d.ts +3 -0
- package/types/sites/sa/formats/Wallpaper/index.d.ts +2 -0
- package/types/sites/sa/formats/index.d.ts +4 -0
- package/types/sites/sa/formats/scale-ads.d.ts +3 -0
- package/types/sites/sa/index.d.ts +4 -0
- package/types/sites/sa/prepare-page-options.d.ts +3 -0
- package/types/sites/sa/prepare-page-options.test.d.ts +1 -0
- package/types/sites/svd/config.d.ts +3 -0
- package/types/sites/svd/events.d.ts +14 -0
- package/types/sites/svd/formats/Insider/index.d.ts +3 -0
- package/types/sites/svd/formats/Panorama/index.d.ts +3 -0
- package/types/sites/svd/formats/Toppanorama/index.d.ts +3 -0
- package/types/sites/svd/formats/Widescreen/index.d.ts +3 -0
- package/types/sites/svd/formats/helpers.d.ts +5 -0
- package/types/sites/svd/formats/index.d.ts +5 -0
- package/types/sites/svd/index.d.ts +3 -0
- package/types/sites/svd/prepare-page-options.d.ts +3 -0
- package/types/sites/svd/prepare-page-options.test.d.ts +1 -0
- package/types/sites/svd/prepare-tag.d.ts +3 -0
- package/types/sites/tek/config.d.ts +3 -0
- package/types/sites/tek/events.d.ts +14 -0
- package/types/sites/tek/fallback-placement-to-backfill.d.ts +2 -0
- package/types/sites/tek/prepare-page-options.d.ts +3 -0
- package/types/sites/tek/prepare-page-options.test.d.ts +1 -0
- package/types/sites/vg/config.d.ts +3 -0
- package/types/sites/vg/custom-events-handler.d.ts +4 -0
- package/types/sites/vg/events.d.ts +14 -0
- package/types/sites/vg/formats/Brandboard/helpers.d.ts +3 -0
- package/types/sites/vg/formats/Netboard/index.d.ts +3 -0
- package/types/sites/vg/formats/Skyscraper/index.d.ts +3 -0
- package/types/sites/vg/formats/Topboard/index.d.ts +3 -0
- package/types/sites/vg/formats/Wallpaper/index.d.ts +3 -0
- package/types/sites/vg/formats/index.d.ts +4 -0
- package/types/sites/vg/formats/types.d.ts +4 -0
- package/types/sites/vg/index.d.ts +3 -0
- package/types/sites/vg/prepare-page-options.d.ts +3 -0
- package/types/sites/vg/prepare-page-options.test.d.ts +1 -0
- package/types/sites/vgv2/config.d.ts +3 -0
- package/types/sites/vgv2/custom-events-handler.d.ts +4 -0
- package/types/sites/vgv2/events.d.ts +14 -0
- package/types/sites/vgv2/formats/Brandboard/helpers.d.ts +3 -0
- package/types/sites/vgv2/formats/Netboard/index.d.ts +3 -0
- package/types/sites/vgv2/formats/Skyscraper/index.d.ts +3 -0
- package/types/sites/vgv2/formats/Topboard/index.d.ts +3 -0
- package/types/sites/vgv2/formats/Wallpaper/index.d.ts +3 -0
- package/types/sites/vgv2/formats/index.d.ts +4 -0
- package/types/sites/vgv2/formats/types.d.ts +4 -0
- package/types/sites/vgv2/index.d.ts +3 -0
- package/types/sites/vgv2/prepare-page-options.d.ts +3 -0
- package/types/sites/vgv2/prepare-page-options.test.d.ts +1 -0
- package/types/tests/default-test-data.d.ts +6 -0
- package/types/tests/mock-common.d.ts +2 -0
- package/types/tests/mock-glimr.d.ts +2 -0
- package/types/tests/mock-location.d.ts +2 -0
- package/types/tests/mock-screen-size.d.ts +2 -0
- package/types/tests/mock-tcf.d.ts +2 -0
- package/types/tests/setup-base-config.d.ts +3 -0
- package/types/tests/setupBaseHandlers.d.ts +3 -0
- package/types/tests/types.d.ts +35 -0
- package/types/utils/app-type/index.d.ts +3 -0
- package/types/utils/app-type/index.test.d.ts +1 -0
- package/types/utils/array-into-chunks/index.d.ts +2 -0
- package/types/utils/array-into-chunks/index.test.d.ts +1 -0
- package/types/utils/common/index.d.ts +10 -0
- package/types/utils/common/index.test.d.ts +1 -0
- package/types/utils/data-types/index.d.ts +1 -0
- package/types/utils/data-types/index.test.d.ts +1 -0
- package/types/utils/device/index.d.ts +10 -0
- package/types/utils/device/index.test.d.ts +1 -0
- package/types/utils/element-visibility/index.d.ts +2 -0
- package/types/utils/element-visibility/index.test.d.ts +1 -0
- package/types/utils/http-client/index.d.ts +3 -0
- package/types/utils/http-client/index.test.d.ts +1 -0
- package/types/utils/image/index.d.ts +2 -0
- package/types/utils/image/index.test.d.ts +1 -0
- package/types/utils/library/index.d.ts +3 -0
- package/types/utils/library/index.test.d.ts +1 -0
- package/types/utils/local-storage-client/index.d.ts +3 -0
- package/types/utils/local-storage-client/index.test.d.ts +1 -0
- package/types/utils/module/index.d.ts +3 -0
- package/types/utils/module/index.test.d.ts +1 -0
- package/types/utils/safe-execute-async/index.d.ts +3 -0
- package/types/utils/safe-execute-async/index.test.d.ts +1 -0
- package/types/utils/screen/index.d.ts +4 -0
- package/types/utils/screen/index.test.d.ts +1 -0
- package/types/utils/script/index.d.ts +2 -0
- package/types/utils/script/index.test.d.ts +1 -0
- package/types/utils/session-storage-client/index.d.ts +3 -0
- package/types/utils/session-storage-client/index.test.d.ts +1 -0
- package/types/utils/string/index.d.ts +3 -0
- package/types/utils/string/index.test.d.ts +1 -0
- package/types/utils/styles/index.d.ts +5 -0
- package/types/utils/styles/index.test.d.ts +1 -0
- package/types/utils/url/index.d.ts +3 -0
- package/types/utils/url/index.test.d.ts +1 -0
- package/types/utils/user-agent/index.d.ts +3 -0
- package/types/utils/user-agent/index.test.d.ts +1 -0
|
@@ -0,0 +1,699 @@
|
|
|
1
|
+
import { Identity } from '@schibsted/account-sdk-browser';
|
|
2
|
+
|
|
3
|
+
type AstCommand = () => void;
|
|
4
|
+
type AstAdType = 'banner' | 'video' | 'native' | 'outstream';
|
|
5
|
+
interface AstBanner {
|
|
6
|
+
content: string;
|
|
7
|
+
height: number;
|
|
8
|
+
width: number;
|
|
9
|
+
}
|
|
10
|
+
interface AstNativeImage {
|
|
11
|
+
height: number;
|
|
12
|
+
width: number;
|
|
13
|
+
url: string;
|
|
14
|
+
prevent_crop: boolean;
|
|
15
|
+
}
|
|
16
|
+
interface AstNativeVideo {
|
|
17
|
+
content: string;
|
|
18
|
+
}
|
|
19
|
+
interface AstNative {
|
|
20
|
+
title: string;
|
|
21
|
+
sponsoredBy: string;
|
|
22
|
+
desc2?: string;
|
|
23
|
+
clickUrl: string;
|
|
24
|
+
clickTrackers: Array<string>;
|
|
25
|
+
clickFallbackUrl?: string;
|
|
26
|
+
displayUrl?: string;
|
|
27
|
+
downloads?: Array<string>;
|
|
28
|
+
cta?: string;
|
|
29
|
+
address?: string;
|
|
30
|
+
body: string;
|
|
31
|
+
main_media?: {
|
|
32
|
+
url: string;
|
|
33
|
+
};
|
|
34
|
+
image: AstNativeImage;
|
|
35
|
+
icon: AstNativeIcon;
|
|
36
|
+
impressionTrackers?: Array<string>;
|
|
37
|
+
javascriptTrackers?: Array<string>;
|
|
38
|
+
likes?: number;
|
|
39
|
+
phone?: string;
|
|
40
|
+
price?: string;
|
|
41
|
+
privacyLink?: string;
|
|
42
|
+
rating?: number;
|
|
43
|
+
saleprice?: number;
|
|
44
|
+
fullText?: string;
|
|
45
|
+
type?: string;
|
|
46
|
+
custom?: {
|
|
47
|
+
type: string;
|
|
48
|
+
};
|
|
49
|
+
video?: AstNativeVideo;
|
|
50
|
+
customTitle1?: string;
|
|
51
|
+
customTitle2?: string;
|
|
52
|
+
customTitle3?: string;
|
|
53
|
+
customTitle4?: string;
|
|
54
|
+
description?: string;
|
|
55
|
+
customIcon2: AstNativeIcon;
|
|
56
|
+
}
|
|
57
|
+
interface AstAdObj {
|
|
58
|
+
adType: AstAdType;
|
|
59
|
+
height: number;
|
|
60
|
+
source: string;
|
|
61
|
+
targetId: string;
|
|
62
|
+
width: number;
|
|
63
|
+
native?: AstNative;
|
|
64
|
+
desc2?: string;
|
|
65
|
+
image?: object;
|
|
66
|
+
tagId?: number;
|
|
67
|
+
cpm?: object;
|
|
68
|
+
buyerMemberId?: number;
|
|
69
|
+
impressionTrackersFired?: boolean;
|
|
70
|
+
auctionId?: string;
|
|
71
|
+
creativeId?: number;
|
|
72
|
+
banner?: AstBanner;
|
|
73
|
+
subtype?: string;
|
|
74
|
+
renderer_url?: string;
|
|
75
|
+
bidderId?: number | undefined;
|
|
76
|
+
}
|
|
77
|
+
interface AstAdError {
|
|
78
|
+
code: number;
|
|
79
|
+
errMessage: string;
|
|
80
|
+
exception: Error;
|
|
81
|
+
targetId: string;
|
|
82
|
+
}
|
|
83
|
+
interface AstTagObj {
|
|
84
|
+
targetId: string;
|
|
85
|
+
}
|
|
86
|
+
type AstEventType = 'adRequested' | 'adAvailable' | 'adBadRequest' | 'adLoaded' | 'adNoBid' | 'adRequestFailure' | 'adError' | 'adCollapse' | 'adNoBidMediated' | 'adLoadedMediated';
|
|
87
|
+
interface AstOnEventFunction {
|
|
88
|
+
(eventType: 'adRequested', eventHandler: AstCommand, targetId?: string): void;
|
|
89
|
+
(eventType: 'adAvailable', eventHandler: (adObj: AstAdObj) => void, targetId?: string): void;
|
|
90
|
+
(eventType: 'adLoaded', eventHandler: (adObj: AstAdObj) => void, targetId?: string): void;
|
|
91
|
+
(eventType: 'adNoBid', eventHandler: (adObj: AstAdObj) => void, targetId?: string): void;
|
|
92
|
+
(eventType: 'adCollapse', eventHandler: AstCommand, targetId?: string): void;
|
|
93
|
+
(eventType: 'adRequestFailure', eventHandler: (adError: AstAdError) => void, targetId?: string): void;
|
|
94
|
+
(eventType: 'adBadRequest', eventHandler: (adError: AstAdError) => void, targetId?: string): void;
|
|
95
|
+
(eventType: 'adError', eventHandler: (adError: AstAdError, adObj: AstAdObj) => void, targetId?: string): void;
|
|
96
|
+
(eventType: 'adLoadedMediated', eventHandler: (adObj: AstAdObj) => void, targetId?: string): void;
|
|
97
|
+
(eventType: 'adNoBidMediated', eventHandler: (adObj: AstAdObj) => void, targetId?: string): void;
|
|
98
|
+
}
|
|
99
|
+
interface AstNativeItem {
|
|
100
|
+
required: boolean;
|
|
101
|
+
}
|
|
102
|
+
type AstKeywordValue = Array<string> | string | number | Array<number> | undefined;
|
|
103
|
+
type AstKeywords = Record<string, AstKeywordValue> & {
|
|
104
|
+
'se-generic-adformat'?: Array<string>;
|
|
105
|
+
'se-generic-targetid'?: Array<string>;
|
|
106
|
+
'se-sch-supply_type'?: Array<string>;
|
|
107
|
+
'no-sno-adformat'?: Array<string>;
|
|
108
|
+
'no-sno-targetid'?: Array<string>;
|
|
109
|
+
'aa-sch-dynamic-outstream'?: Array<string>;
|
|
110
|
+
};
|
|
111
|
+
interface AstRendererOptions {
|
|
112
|
+
disableCollapse?: {
|
|
113
|
+
hideControlBar: boolean;
|
|
114
|
+
enabled: boolean;
|
|
115
|
+
replay: boolean;
|
|
116
|
+
};
|
|
117
|
+
playerSkin?: {
|
|
118
|
+
videoBackgroundColor: string;
|
|
119
|
+
};
|
|
120
|
+
safeFrameAutoInitialSize?: boolean;
|
|
121
|
+
aspectRatio?: string;
|
|
122
|
+
enableInlineVideoForIos?: boolean;
|
|
123
|
+
autoInitialSize?: boolean;
|
|
124
|
+
maxHeight?: MaxHeightParams;
|
|
125
|
+
fixedSizePlayer?: boolean;
|
|
126
|
+
}
|
|
127
|
+
interface MaxHeightParams {
|
|
128
|
+
enabled: boolean;
|
|
129
|
+
height: number;
|
|
130
|
+
}
|
|
131
|
+
interface AstNativeParams {
|
|
132
|
+
customTitle1: AstNativeItem;
|
|
133
|
+
customTitle2: AstNativeItem;
|
|
134
|
+
customTitle3: AstNativeItem;
|
|
135
|
+
customTitle4: AstNativeItem;
|
|
136
|
+
title: AstNativeItem;
|
|
137
|
+
body: AstNativeItem;
|
|
138
|
+
image: AstNativeItem;
|
|
139
|
+
icon: AstNativeItem;
|
|
140
|
+
sponsoredBy: AstNativeItem;
|
|
141
|
+
cta: AstNativeItem;
|
|
142
|
+
clickUrl: AstNativeItem;
|
|
143
|
+
desc2: AstNativeItem;
|
|
144
|
+
rating?: AstNativeItem;
|
|
145
|
+
displayUrl: AstNativeItem;
|
|
146
|
+
likes?: AstNativeItem;
|
|
147
|
+
downloads?: AstNativeItem;
|
|
148
|
+
price?: AstNativeItem;
|
|
149
|
+
saleprice?: AstNativeItem;
|
|
150
|
+
phone?: AstNativeItem;
|
|
151
|
+
address?: AstNativeItem;
|
|
152
|
+
description: AstNativeItem;
|
|
153
|
+
video?: AstNativeItem;
|
|
154
|
+
customIcon2?: AstNativeItem;
|
|
155
|
+
}
|
|
156
|
+
interface AstDefineTagParams {
|
|
157
|
+
invCode: string;
|
|
158
|
+
targetId: string;
|
|
159
|
+
sizes: Array<Array<number>>;
|
|
160
|
+
keywords?: AstKeywords;
|
|
161
|
+
rendererOptions?: AstRendererOptions;
|
|
162
|
+
native?: AstNativeParams;
|
|
163
|
+
allowedFormats?: Array<AstAdType>;
|
|
164
|
+
enableSafeFrame?: boolean;
|
|
165
|
+
externalImpId?: string;
|
|
166
|
+
resizeAdParentDiv?: boolean;
|
|
167
|
+
safeframeConfig?: SafeFrameConfig;
|
|
168
|
+
dynamicSizeWidthCheck?: boolean;
|
|
169
|
+
}
|
|
170
|
+
interface SafeFrameConfig {
|
|
171
|
+
allowExpansionByPush?: boolean;
|
|
172
|
+
allowExpansionByOverlay?: boolean;
|
|
173
|
+
}
|
|
174
|
+
interface EidsUserSource {
|
|
175
|
+
id: string;
|
|
176
|
+
source: string;
|
|
177
|
+
}
|
|
178
|
+
interface AstUserIds {
|
|
179
|
+
type: string;
|
|
180
|
+
eids: Array<EidsUserSource>;
|
|
181
|
+
}
|
|
182
|
+
interface AstUser {
|
|
183
|
+
externalUid?: string;
|
|
184
|
+
dnt?: boolean;
|
|
185
|
+
userIds?: Array<AstUserIds>;
|
|
186
|
+
}
|
|
187
|
+
interface AstTrackingManagement {
|
|
188
|
+
native?: {
|
|
189
|
+
loadViewabilityScriptAt?: 'adresponse' | 'impression';
|
|
190
|
+
};
|
|
191
|
+
}
|
|
192
|
+
interface AstRenderingManagement {
|
|
193
|
+
sandboxAdIframe: boolean;
|
|
194
|
+
sandboxAttributes: Array<string>;
|
|
195
|
+
}
|
|
196
|
+
interface AstPageOptions {
|
|
197
|
+
keywords: Record<string, AstKeywordValue>;
|
|
198
|
+
enableSafeFrame?: boolean;
|
|
199
|
+
disablePsa?: boolean;
|
|
200
|
+
user?: AstUser;
|
|
201
|
+
member?: number;
|
|
202
|
+
trackingManagement?: AstTrackingManagement;
|
|
203
|
+
renderingManagement?: AstRenderingManagement;
|
|
204
|
+
}
|
|
205
|
+
interface AstApnTagRequests {
|
|
206
|
+
user?: AstUser;
|
|
207
|
+
keywords: AstKeywords;
|
|
208
|
+
member: number;
|
|
209
|
+
tags: Record<string, {
|
|
210
|
+
adResponse: {
|
|
211
|
+
ads: Array<{
|
|
212
|
+
rtb: {
|
|
213
|
+
banner: AstBanner;
|
|
214
|
+
native: AstNative;
|
|
215
|
+
};
|
|
216
|
+
}>;
|
|
217
|
+
};
|
|
218
|
+
uuid?: string;
|
|
219
|
+
invCode?: string;
|
|
220
|
+
}>;
|
|
221
|
+
}
|
|
222
|
+
interface AstApnTag {
|
|
223
|
+
anq: Array<AstCommand>;
|
|
224
|
+
defineTag: (params: AstDefineTagParams) => AstTagObj;
|
|
225
|
+
showTag: (targetId: string) => void;
|
|
226
|
+
onEvent: AstOnEventFunction;
|
|
227
|
+
offEvent: (eventType: AstEventType, targetId: string) => void;
|
|
228
|
+
refresh: (targetIds: Array<string>) => void;
|
|
229
|
+
modifyTag: (targetId: string, params: Partial<AstDefineTagParams>) => void;
|
|
230
|
+
loadTags: (targetIds?: Array<string>) => void;
|
|
231
|
+
emitEvent: (targetId: string, eventName: string) => void;
|
|
232
|
+
setPageOpts: (params: AstPageOptions) => void;
|
|
233
|
+
resizeAd: (targetId: string, size: Array<string | number>, config?: {
|
|
234
|
+
resizeAdParentDiv?: boolean;
|
|
235
|
+
}) => void;
|
|
236
|
+
getAstVersion: () => string;
|
|
237
|
+
setEndpoint: (endpoint: string, freezeIbUrl: boolean) => void;
|
|
238
|
+
requests?: AstApnTagRequests;
|
|
239
|
+
fireImpressionTrackers: (nativeObject: AstAdObj) => void;
|
|
240
|
+
setKeywords: (ids: Array<string>, keywords: AstKeywords, options: {
|
|
241
|
+
overrideKeyValue: boolean;
|
|
242
|
+
}) => void;
|
|
243
|
+
clearRequest: (targetIds?: Array<string> | string) => void;
|
|
244
|
+
}
|
|
245
|
+
interface AstNativeIcon {
|
|
246
|
+
url: string;
|
|
247
|
+
height?: number;
|
|
248
|
+
width?: number;
|
|
249
|
+
prevent_crop?: boolean;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
declare const DeviceTypes: {
|
|
253
|
+
readonly MOBILE: "mobile";
|
|
254
|
+
readonly TABLET: "tablet";
|
|
255
|
+
readonly DESKTOP: "desktop";
|
|
256
|
+
};
|
|
257
|
+
type DeviceType = (typeof DeviceTypes)[keyof typeof DeviceTypes];
|
|
258
|
+
|
|
259
|
+
declare const Countries: {
|
|
260
|
+
readonly NO: "no";
|
|
261
|
+
readonly SE: "se";
|
|
262
|
+
};
|
|
263
|
+
type Country = (typeof Countries)[keyof typeof Countries];
|
|
264
|
+
|
|
265
|
+
declare const PageTypes: {
|
|
266
|
+
readonly FRONT: "front";
|
|
267
|
+
readonly ARTICLE: "article";
|
|
268
|
+
readonly SECTION: "section";
|
|
269
|
+
readonly COLLECTION: "collection";
|
|
270
|
+
readonly OTHER: "other";
|
|
271
|
+
};
|
|
272
|
+
type PageType = (typeof PageTypes)[keyof typeof PageTypes];
|
|
273
|
+
|
|
274
|
+
interface AdvertisingIdentifiers {
|
|
275
|
+
xandr?: {
|
|
276
|
+
ppId1?: string;
|
|
277
|
+
ppId2?: string;
|
|
278
|
+
};
|
|
279
|
+
}
|
|
280
|
+
interface TrackerInstance {
|
|
281
|
+
getAdvertisingIdentifiers: () => Promise<AdvertisingIdentifiers>;
|
|
282
|
+
getUserId: () => Promise<undefined | string | number>;
|
|
283
|
+
getEnvironmentId: () => Promise<undefined | string>;
|
|
284
|
+
getActor: () => Promise<undefined | unknown>;
|
|
285
|
+
state?: {
|
|
286
|
+
pageViewId?: string;
|
|
287
|
+
};
|
|
288
|
+
}
|
|
289
|
+
interface PulseInstance {
|
|
290
|
+
pulseTracker: TrackerInstance;
|
|
291
|
+
getSDK: () => Promise<TrackerInstance>;
|
|
292
|
+
trackElementView?: (eventInput: unknown) => Promise<void>;
|
|
293
|
+
trackElementClick?: (eventInput: unknown) => Promise<void>;
|
|
294
|
+
trackClickUIElement?: (eventInput: unknown) => Promise<void>;
|
|
295
|
+
trackViewUIElement?: (eventInput: unknown) => Promise<void>;
|
|
296
|
+
}
|
|
297
|
+
interface Tracker {
|
|
298
|
+
clientId: string;
|
|
299
|
+
instance: TrackerInstance;
|
|
300
|
+
}
|
|
301
|
+
interface Pulse {
|
|
302
|
+
clientId: string;
|
|
303
|
+
instance: PulseInstance;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
type MarginPriority = 'high' | 'normal' | 'low';
|
|
307
|
+
interface PrioEntry {
|
|
308
|
+
renderMargin: number;
|
|
309
|
+
refreshMargin: number;
|
|
310
|
+
}
|
|
311
|
+
interface PrioPreloadMarginMap {
|
|
312
|
+
high?: Partial<PrioEntry>;
|
|
313
|
+
normal?: Partial<PrioEntry>;
|
|
314
|
+
low?: Partial<PrioEntry>;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
type DistributionTypes = 'REALESTATE' | 'REALESTATE_RETARGET' | 'REALESTATE_LEISURE' | 'REALESTATE_LEISURE_RETARGET' | 'REALESTATE_PROJECT' | 'REALESTATE_PROJECT_RETARGET' | 'CAR' | 'JOB';
|
|
318
|
+
interface BlinkConstructorOptions {
|
|
319
|
+
remote?: string;
|
|
320
|
+
id?: string;
|
|
321
|
+
hashed_email?: string;
|
|
322
|
+
theme?: string;
|
|
323
|
+
}
|
|
324
|
+
interface BlinkInstance {
|
|
325
|
+
inject: (options: unknown) => Promise<unknown>;
|
|
326
|
+
}
|
|
327
|
+
type BlinkConstructor = new (options: BlinkConstructorOptions) => BlinkInstance;
|
|
328
|
+
|
|
329
|
+
declare const Newsrooms: {
|
|
330
|
+
readonly SVD: "svd";
|
|
331
|
+
readonly VG: "vg";
|
|
332
|
+
readonly GODARE: "godare";
|
|
333
|
+
readonly AFTENPOSTEN: "aftenposten";
|
|
334
|
+
readonly SA: "sa";
|
|
335
|
+
readonly BT: "bt";
|
|
336
|
+
readonly AFTONBLADET: "aftonbladet";
|
|
337
|
+
readonly E24: "e24";
|
|
338
|
+
readonly MINMOTE: "minmote";
|
|
339
|
+
readonly PENT: "pent";
|
|
340
|
+
readonly GODT: "godt";
|
|
341
|
+
readonly TEK: "tekno";
|
|
342
|
+
readonly KLART: "klart";
|
|
343
|
+
readonly POLARIS: "polaris";
|
|
344
|
+
};
|
|
345
|
+
type Newsroom = (typeof Newsrooms)[keyof typeof Newsrooms];
|
|
346
|
+
|
|
347
|
+
interface SiteConfig {
|
|
348
|
+
publisher: string;
|
|
349
|
+
country: Country;
|
|
350
|
+
astUrl?: string;
|
|
351
|
+
gptUrl?: string;
|
|
352
|
+
testMember?: number;
|
|
353
|
+
pageType: PageType;
|
|
354
|
+
pageOptions: AstPageOptions;
|
|
355
|
+
placements: Placements;
|
|
356
|
+
keywordsConfig?: KeywordsConfig;
|
|
357
|
+
deviceType: DeviceType;
|
|
358
|
+
isMobileApp?: boolean;
|
|
359
|
+
glimr?: GlimrConfig;
|
|
360
|
+
tcf?: TCFConfig;
|
|
361
|
+
prebid?: PrebidConfig;
|
|
362
|
+
tracker?: Tracker;
|
|
363
|
+
pulse?: Pulse;
|
|
364
|
+
finnBlink?: FinnBlinkConfig;
|
|
365
|
+
wallpaper?: WallpaperConfig;
|
|
366
|
+
fullscreenScroll?: FullscreenScrollConfig;
|
|
367
|
+
appearanceConfig: AppearanceConfig;
|
|
368
|
+
queryConfig?: QueryConfig;
|
|
369
|
+
refreshConfig?: RefreshConfig;
|
|
370
|
+
preloadMarginsConfig?: Record<DeviceType, PrioPreloadMarginMap>;
|
|
371
|
+
takeover?: TakeoverConfig;
|
|
372
|
+
brandmetrics?: BrandmetricsConfig;
|
|
373
|
+
gdpr?: GdprConfig;
|
|
374
|
+
brandboard?: BrandboardConfig;
|
|
375
|
+
norstat?: NorstatConfig;
|
|
376
|
+
siteSpecificConfig?: SiteSpecificConfig;
|
|
377
|
+
sponsorstripe?: SponsorstripeConfig;
|
|
378
|
+
privacyBroker?: PrivacyBrokerConfig;
|
|
379
|
+
drEdition?: DrEditionConfig;
|
|
380
|
+
forwardExternalImpId?: boolean;
|
|
381
|
+
requestSize?: number;
|
|
382
|
+
nativeTrackingConfig?: NativeTrackingConfig;
|
|
383
|
+
sandboxAdIframeEnabled?: boolean;
|
|
384
|
+
pageSectionsSelectors?: PageSectionsSelectors;
|
|
385
|
+
editableConfiguration?: {
|
|
386
|
+
useS3Config?: boolean;
|
|
387
|
+
pageTypeToFetch?: string;
|
|
388
|
+
};
|
|
389
|
+
}
|
|
390
|
+
interface NativeTrackingConfig {
|
|
391
|
+
nativeTrackingEnabled?: boolean;
|
|
392
|
+
fireImpressionsBasedOnAppearanceThreshold?: boolean;
|
|
393
|
+
}
|
|
394
|
+
interface SiteSpecificConfig {
|
|
395
|
+
publisherClassName?: Newsroom;
|
|
396
|
+
fullWidthFormatClassName?: 'netboard' | 'panorama';
|
|
397
|
+
classesToRemoveOnRefresh?: Array<string>;
|
|
398
|
+
}
|
|
399
|
+
interface Placement {
|
|
400
|
+
id: string;
|
|
401
|
+
sizes: Array<Array<number>>;
|
|
402
|
+
allowedFormats: Array<AstAdType>;
|
|
403
|
+
invCode: string;
|
|
404
|
+
keywords: any;
|
|
405
|
+
refresh?: boolean;
|
|
406
|
+
bfCacheRefresh?: boolean;
|
|
407
|
+
priority?: MarginPriority;
|
|
408
|
+
ssa?: boolean;
|
|
409
|
+
threshold?: number;
|
|
410
|
+
finnBlink?: FinnBlinkPlacementConfig;
|
|
411
|
+
nativeCustomProperties?: Array<string>;
|
|
412
|
+
minViewWidth?: number;
|
|
413
|
+
dynamicSizeWidthCheck?: boolean;
|
|
414
|
+
safeframeConfig?: SafeFrameConfig;
|
|
415
|
+
resizeAdParentDiv?: boolean;
|
|
416
|
+
positionConfig?: Array<PositionConfig>;
|
|
417
|
+
drEdition?: DrEditionPlacementConfig;
|
|
418
|
+
isBackfill?: boolean;
|
|
419
|
+
}
|
|
420
|
+
interface Placements {
|
|
421
|
+
desktop: Array<Placement>;
|
|
422
|
+
tablet: Array<Placement>;
|
|
423
|
+
mobile: Array<Placement>;
|
|
424
|
+
}
|
|
425
|
+
interface AppearanceConfig {
|
|
426
|
+
defaultThreshold: {
|
|
427
|
+
mobile: number;
|
|
428
|
+
tablet: number;
|
|
429
|
+
desktop: number;
|
|
430
|
+
};
|
|
431
|
+
clearProbableDimensionsEnabled?: boolean;
|
|
432
|
+
isDarkModeEnabled?: boolean;
|
|
433
|
+
mainColumnWidth?: number;
|
|
434
|
+
subsectionTheme?: string;
|
|
435
|
+
}
|
|
436
|
+
interface PageSectionsSelectors {
|
|
437
|
+
top?: string;
|
|
438
|
+
left?: string;
|
|
439
|
+
right?: string;
|
|
440
|
+
main?: string;
|
|
441
|
+
mainFirstColumn?: string;
|
|
442
|
+
mainSecondColumn?: string;
|
|
443
|
+
}
|
|
444
|
+
interface KeywordsConfig {
|
|
445
|
+
includeCountingKeywordInTags?: boolean;
|
|
446
|
+
sponsors?: string;
|
|
447
|
+
}
|
|
448
|
+
interface QueryConfig {
|
|
449
|
+
queryByDataDevice?: boolean;
|
|
450
|
+
lazyLoadingV3?: {
|
|
451
|
+
enabled: boolean;
|
|
452
|
+
rootMargin: string;
|
|
453
|
+
};
|
|
454
|
+
placementBatches?: PlacementBatchesConfig;
|
|
455
|
+
}
|
|
456
|
+
interface PositionConfig {
|
|
457
|
+
adPositionIndex: number;
|
|
458
|
+
sizes?: Array<Array<number>>;
|
|
459
|
+
keywords?: AstKeywords;
|
|
460
|
+
}
|
|
461
|
+
type FinnBlinkTheme = 'light' | 'dark';
|
|
462
|
+
interface FinnBlinkConfig {
|
|
463
|
+
enabled?: boolean;
|
|
464
|
+
channel?: string;
|
|
465
|
+
userId?: string;
|
|
466
|
+
uuid?: string;
|
|
467
|
+
identifierUrl?: string;
|
|
468
|
+
theme?: FinnBlinkTheme;
|
|
469
|
+
replacementConfig?: {
|
|
470
|
+
adsToReplace?: Array<Array<string>>;
|
|
471
|
+
sizes?: {
|
|
472
|
+
width: number;
|
|
473
|
+
height: number;
|
|
474
|
+
};
|
|
475
|
+
};
|
|
476
|
+
}
|
|
477
|
+
interface FinnBlinkPlacementConfig {
|
|
478
|
+
enabled: boolean;
|
|
479
|
+
renderOnlyWithAdBlock?: boolean;
|
|
480
|
+
position: string;
|
|
481
|
+
distributionTypes?: Array<DistributionTypes>;
|
|
482
|
+
height?: number;
|
|
483
|
+
limit?: number;
|
|
484
|
+
offset?: number;
|
|
485
|
+
requireImage?: boolean;
|
|
486
|
+
rec?: boolean;
|
|
487
|
+
theme?: FinnBlinkTheme;
|
|
488
|
+
advertoryTheme?: string;
|
|
489
|
+
}
|
|
490
|
+
interface PrebidConfig {
|
|
491
|
+
enabled: boolean;
|
|
492
|
+
url: string;
|
|
493
|
+
id: string;
|
|
494
|
+
externalUidInAuctionEnabled: boolean;
|
|
495
|
+
relevantCbTimeout?: number;
|
|
496
|
+
forwardGlimrTags?: boolean;
|
|
497
|
+
}
|
|
498
|
+
interface TCFConfig {
|
|
499
|
+
enabled: boolean;
|
|
500
|
+
timeout?: number;
|
|
501
|
+
}
|
|
502
|
+
interface GlimrConfig {
|
|
503
|
+
enabled: boolean;
|
|
504
|
+
clientId: string;
|
|
505
|
+
}
|
|
506
|
+
interface WallpaperConfig {
|
|
507
|
+
enabled: boolean;
|
|
508
|
+
options?: WallpaperConfigOptions;
|
|
509
|
+
}
|
|
510
|
+
interface WallpaperConfigOptions {
|
|
511
|
+
appMainContainerSelector?: string;
|
|
512
|
+
wallpaperAnchorSelector?: string;
|
|
513
|
+
}
|
|
514
|
+
interface BrandmetricsConfig {
|
|
515
|
+
enabled: boolean;
|
|
516
|
+
url: string;
|
|
517
|
+
}
|
|
518
|
+
interface GdprConfig {
|
|
519
|
+
url?: string;
|
|
520
|
+
allowHidingAds?: boolean;
|
|
521
|
+
}
|
|
522
|
+
interface FullscreenScrollConfig {
|
|
523
|
+
fadingHeaderEnabled: boolean;
|
|
524
|
+
headerSelectors: Array<string>;
|
|
525
|
+
skyscraperSelectors?: Array<string>;
|
|
526
|
+
headerZIndex: number;
|
|
527
|
+
overlayStyles?: OverlayStyles;
|
|
528
|
+
moveCogwheelToTheLeft?: boolean;
|
|
529
|
+
}
|
|
530
|
+
interface OverlayStyles {
|
|
531
|
+
backgroundColor?: string;
|
|
532
|
+
foregroundColor?: string;
|
|
533
|
+
articlesContainerWidth?: number;
|
|
534
|
+
margin?: string;
|
|
535
|
+
beforeContentValue?: string;
|
|
536
|
+
}
|
|
537
|
+
interface RefreshConfig {
|
|
538
|
+
delayTime?: number;
|
|
539
|
+
scrollRefreshEnabled?: boolean;
|
|
540
|
+
visibilityStateRefreshEnabled?: boolean;
|
|
541
|
+
backForwardNavigationRefreshEnabled?: boolean;
|
|
542
|
+
}
|
|
543
|
+
interface WelcomePageConfig {
|
|
544
|
+
showArrowIcon?: boolean;
|
|
545
|
+
headerElementSelector?: string;
|
|
546
|
+
buttonLabel?: string;
|
|
547
|
+
showCloseButton?: boolean;
|
|
548
|
+
}
|
|
549
|
+
interface BrandboardConfig {
|
|
550
|
+
enabled: boolean;
|
|
551
|
+
sidebarContainerSelector: string;
|
|
552
|
+
sidebarItemsContainerSelector: string;
|
|
553
|
+
}
|
|
554
|
+
interface SplashConfig {
|
|
555
|
+
themeColors?: ThemeColors;
|
|
556
|
+
buttonLabel: string;
|
|
557
|
+
logotype: Logotype;
|
|
558
|
+
showArrowIcon?: boolean;
|
|
559
|
+
showAnnonsLabel?: boolean;
|
|
560
|
+
}
|
|
561
|
+
interface TakeoverConfig {
|
|
562
|
+
enabled?: boolean;
|
|
563
|
+
splash?: SplashConfig;
|
|
564
|
+
welcomePage?: WelcomePageConfig;
|
|
565
|
+
topscroller?: WelcomePageConfig;
|
|
566
|
+
cookieCapName?: string | null;
|
|
567
|
+
cookieCapTime?: number;
|
|
568
|
+
setCookieCapForNotShownAd?: boolean;
|
|
569
|
+
}
|
|
570
|
+
interface Logotype {
|
|
571
|
+
url: string;
|
|
572
|
+
alt: string;
|
|
573
|
+
}
|
|
574
|
+
interface ThemeColors {
|
|
575
|
+
backgroundColor: string;
|
|
576
|
+
color: string;
|
|
577
|
+
}
|
|
578
|
+
interface NorstatConfig {
|
|
579
|
+
enabled: true;
|
|
580
|
+
}
|
|
581
|
+
interface SponsorstripeConfig {
|
|
582
|
+
toogleEnabled: boolean;
|
|
583
|
+
headerSelector?: string;
|
|
584
|
+
containersSelectors?: Array<string>;
|
|
585
|
+
}
|
|
586
|
+
interface PrivacyBrokerConfig {
|
|
587
|
+
enabled: boolean;
|
|
588
|
+
clientId: string;
|
|
589
|
+
storageKeyPrefix: string;
|
|
590
|
+
}
|
|
591
|
+
interface DrEditionConfig {
|
|
592
|
+
enabled: boolean;
|
|
593
|
+
containerSelector: string;
|
|
594
|
+
wrapperSelector: string;
|
|
595
|
+
fallbackGlobalEditionName?: string;
|
|
596
|
+
videoScriptUrl?: string;
|
|
597
|
+
addPreviewVideo?: (videoElement: HTMLElement) => void;
|
|
598
|
+
}
|
|
599
|
+
interface DrEditionPlacementConfig {
|
|
600
|
+
editionName: string;
|
|
601
|
+
}
|
|
602
|
+
interface DevicePlacementBatches {
|
|
603
|
+
[key: string]: Array<string>;
|
|
604
|
+
}
|
|
605
|
+
type PlacementBatchesConfig = {
|
|
606
|
+
[device in DeviceType]: DevicePlacementBatches;
|
|
607
|
+
};
|
|
608
|
+
|
|
609
|
+
type IsConsentedToAll = (callback: ConsentedToAllCallback) => void;
|
|
610
|
+
type ConsentedToAllCallback = (value: boolean) => void;
|
|
611
|
+
type GetConsentToAllSync = () => boolean | null;
|
|
612
|
+
interface ConsentManager {
|
|
613
|
+
getConsentedToAllSync: GetConsentToAllSync;
|
|
614
|
+
isConsentedToAll: IsConsentedToAll;
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
interface AlertoryTag {
|
|
618
|
+
invCode: string;
|
|
619
|
+
sizes: Array<Array<number>>;
|
|
620
|
+
adTypes?: Array<AstAdType>;
|
|
621
|
+
keywords?: AstKeywords;
|
|
622
|
+
}
|
|
623
|
+
interface XandrConfig {
|
|
624
|
+
member?: number;
|
|
625
|
+
keywords: AstKeywords;
|
|
626
|
+
tags: Array<Array<AlertoryTag>>;
|
|
627
|
+
}
|
|
628
|
+
interface AlertoryConfig {
|
|
629
|
+
xandr: XandrConfig;
|
|
630
|
+
advertory: Partial<SiteConfig>;
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
declare const ES_MODULE_KEYS: {
|
|
634
|
+
readonly Blink: "Blink";
|
|
635
|
+
};
|
|
636
|
+
type ESModuleKey = (typeof ES_MODULE_KEYS)[keyof typeof ES_MODULE_KEYS];
|
|
637
|
+
type ESMModules = {
|
|
638
|
+
[K in ESModuleKey]?: BlinkConstructor;
|
|
639
|
+
};
|
|
640
|
+
|
|
641
|
+
declare global {
|
|
642
|
+
interface Window extends ESMModules {
|
|
643
|
+
apntag: AstApnTag;
|
|
644
|
+
relevantDigital: any;
|
|
645
|
+
Identity: Identity;
|
|
646
|
+
SvD: any;
|
|
647
|
+
gdpr: {
|
|
648
|
+
allowHidingAds: boolean;
|
|
649
|
+
setupButton: (targetId: string) => void;
|
|
650
|
+
};
|
|
651
|
+
_scc_: any;
|
|
652
|
+
_tcf_?: ConsentManager;
|
|
653
|
+
__tcfapi: any;
|
|
654
|
+
_brandmetrics: any;
|
|
655
|
+
SVP?: any;
|
|
656
|
+
advertory_idfv?: string;
|
|
657
|
+
advertory_anId?: string;
|
|
658
|
+
advertory: {
|
|
659
|
+
initialized: boolean;
|
|
660
|
+
siteConfig: SiteConfig;
|
|
661
|
+
renderedDrEditionAds?: Array<string>;
|
|
662
|
+
alertoryConfig?: AlertoryConfig;
|
|
663
|
+
};
|
|
664
|
+
advertoryFluepapir: boolean;
|
|
665
|
+
autoplayQueue: Array<(autoplay: {
|
|
666
|
+
parse: () => void;
|
|
667
|
+
}) => void>;
|
|
668
|
+
}
|
|
669
|
+
interface Document {
|
|
670
|
+
prerendering: boolean;
|
|
671
|
+
}
|
|
672
|
+
interface Navigator {
|
|
673
|
+
globalPrivacyControl?: boolean;
|
|
674
|
+
}
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
declare module 'glimr-sdk' {
|
|
678
|
+
function setTagCacheTimeInSeconds(time: number): void;
|
|
679
|
+
function getTags(clientId: string, fn: (tags: Array<string>, tagsMapping: any) => void): void;
|
|
680
|
+
export { setTagCacheTimeInSeconds, getTags };
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
declare module '*.png' {
|
|
684
|
+
const pngValue: string;
|
|
685
|
+
export { pngValue };
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
interface UpdateAdvertoryConfig {
|
|
689
|
+
clearAds?: boolean;
|
|
690
|
+
reloadExistingAds?: boolean;
|
|
691
|
+
renderFinnBlinkPlacements?: boolean;
|
|
692
|
+
contextSelector?: string;
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
declare const updateAdvertory: (configPropertiesToUpdate?: Partial<SiteConfig>, updateAdvertoryConfig?: UpdateAdvertoryConfig) => Promise<Array<Placement>>;
|
|
696
|
+
|
|
697
|
+
declare const initAdvertoryPackage: (config: SiteConfig) => Promise<void>;
|
|
698
|
+
|
|
699
|
+
export { initAdvertoryPackage, updateAdvertory };
|