@schibsted/advertory 2.45.1 → 2.46.0
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/aftenposten/es/index.css +1 -1
- package/core/aftenposten/es/index.d.ts +3 -0
- package/core/aftenposten/es/index.js +1 -1
- package/core/aftenposten/index.d.ts +3 -0
- package/core/aftenposten/index.js +1 -1
- package/core/aftonbladet/es/index.css +1 -1
- package/core/aftonbladet/es/index.d.ts +3 -0
- package/core/aftonbladet/es/index.js +1 -1
- package/core/aftonbladet/index.d.ts +3 -0
- package/core/aftonbladet/index.js +1 -1
- package/core/aftonbladetv2/es/index.d.ts +3 -0
- package/core/aftonbladetv2/es/index.js +1 -1
- package/core/bt/es/index.css +1 -1
- package/core/bt/es/index.d.ts +3 -0
- package/core/bt/es/index.js +1 -1
- package/core/bt/index.d.ts +3 -0
- package/core/bt/index.js +1 -1
- package/core/e24/es/index.css +1 -1
- package/core/e24/es/index.d.ts +3 -0
- package/core/e24/es/index.js +1 -1
- package/core/e24/index.d.ts +3 -0
- package/core/e24/index.js +1 -1
- package/core/e24v2/es/index.css +1 -1
- package/core/e24v2/es/index.d.ts +3 -0
- package/core/e24v2/es/index.js +1 -1
- package/core/fotbollskanalen/es/index.css +1 -0
- package/core/fotbollskanalen/es/index.d.ts +704 -0
- package/core/fotbollskanalen/es/index.js +1 -0
- package/core/fotbollskanalen/es/package.json +9 -0
- package/core/fotbollskanalen/index.d.ts +704 -0
- package/core/fotbollskanalen/index.js +1 -0
- package/core/fotbollskanalen/package.json +9 -0
- package/core/godare/index.d.ts +3 -0
- package/core/godare/index.js +1 -1
- package/core/godt/index.d.ts +3 -0
- package/core/godt/index.js +1 -1
- package/core/klart/index.d.ts +3 -0
- package/core/klart/index.js +1 -1
- package/core/koket/es/index.css +1 -0
- package/core/koket/es/index.d.ts +704 -0
- package/core/koket/es/index.js +1 -0
- package/core/koket/es/package.json +9 -0
- package/core/koket/index.d.ts +704 -0
- package/core/koket/index.js +1 -0
- package/core/koket/package.json +9 -0
- package/core/kompakt/index.d.ts +3 -0
- package/core/kompakt/index.js +1 -1
- package/core/minmote/index.d.ts +3 -0
- package/core/minmote/index.js +1 -1
- package/core/pent/index.d.ts +3 -0
- package/core/pent/index.js +1 -1
- package/core/sa/es/index.css +1 -1
- package/core/sa/es/index.d.ts +3 -0
- package/core/sa/es/index.js +1 -1
- package/core/sa/index.d.ts +3 -0
- package/core/sa/index.js +1 -1
- package/core/svd/es/index.css +1 -1
- package/core/svd/es/index.d.ts +3 -0
- package/core/svd/es/index.js +1 -1
- package/core/svd/index.d.ts +3 -0
- package/core/svd/index.js +1 -1
- package/core/tek/index.d.ts +3 -0
- package/core/tek/index.js +1 -1
- package/core/tv4/es/index.css +1 -0
- package/core/tv4/es/index.d.ts +704 -0
- package/core/tv4/es/index.js +1 -0
- package/core/tv4/es/package.json +9 -0
- package/core/tv4/index.d.ts +704 -0
- package/core/tv4/index.js +1 -0
- package/core/tv4/package.json +9 -0
- package/core/vg/es/index.css +1 -1
- package/core/vg/es/index.d.ts +3 -0
- package/core/vg/es/index.js +1 -1
- package/core/vg/index.d.ts +3 -0
- package/core/vg/index.js +1 -1
- package/core/vgv2/es/index.css +1 -1
- package/core/vgv2/es/index.d.ts +3 -0
- package/core/vgv2/es/index.js +1 -1
- package/features/ad-native/index.d.ts +3 -0
- package/features/ad-native/index.js +1 -1
- package/features/brandmetrics/index.js +1 -1
- package/features/common/es/index.js +1 -1
- package/features/common/index.js +1 -1
- package/features/dr-edition/es/index.d.ts +3 -0
- package/features/dr-edition/es/index.js +1 -1
- package/features/dr-edition/index.d.ts +3 -0
- package/features/dr-edition/index.js +1 -1
- package/package.json +1 -1
- package/sites/aftenposten/es/index.css +1 -1
- package/sites/aftenposten/es/index.js +1 -1
- package/sites/aftenposten/index.js +1 -1
- package/sites/aftonbladet/es/index.css +1 -1
- package/sites/aftonbladetv2/es/index.css +1 -1
- package/sites/bt/es/index.css +1 -1
- package/sites/bt/es/index.js +1 -1
- package/sites/bt/index.js +1 -1
- package/sites/e24/es/index.css +1 -1
- package/sites/e24/es/index.js +1 -1
- package/sites/e24/index.js +1 -1
- package/sites/e24v2/es/index.css +1 -1
- package/sites/e24v2/es/index.js +1 -1
- package/sites/fotbollskanalen/es/index.d.ts +2 -0
- package/sites/fotbollskanalen/es/index.js +1 -0
- package/sites/fotbollskanalen/es/package.json +9 -0
- package/sites/fotbollskanalen/index.d.ts +2 -0
- package/sites/fotbollskanalen/index.js +1 -0
- package/sites/fotbollskanalen/package.json +9 -0
- package/sites/koket/es/index.d.ts +2 -0
- package/sites/koket/es/index.js +1 -0
- package/sites/koket/es/package.json +9 -0
- package/sites/koket/index.d.ts +2 -0
- package/sites/koket/index.js +1 -0
- package/sites/koket/package.json +9 -0
- package/sites/sa/es/index.css +1 -1
- package/sites/sa/es/index.js +1 -1
- package/sites/sa/index.js +1 -1
- package/sites/svd/es/index.css +1 -1
- package/sites/tv4/es/index.d.ts +2 -0
- package/sites/tv4/es/index.js +1 -0
- package/sites/tv4/es/package.json +9 -0
- package/sites/tv4/index.d.ts +2 -0
- package/sites/tv4/index.js +1 -0
- package/sites/tv4/package.json +9 -0
- package/sites/vg/es/index.css +1 -1
- package/sites/vgv2/es/index.css +1 -1
- package/types/config/fotbollskanalen.d.ts +3 -0
- package/types/config/koket.d.ts +3 -0
- package/types/config/tv4.d.ts +3 -0
- package/types/core/interface/newsrooms.d.ts +3 -0
- package/types/core/interface/tcf.d.ts +1 -0
- package/types/core/prepare-page-options/prepare-page-options.d.ts +1 -1
- package/types/sites/fotbollskanalen/config.d.ts +3 -0
- package/types/sites/fotbollskanalen/events.d.ts +14 -0
- package/types/sites/fotbollskanalen/index.d.ts +1 -0
- package/types/sites/fotbollskanalen/prepare-page-options.d.ts +3 -0
- package/types/sites/koket/config.d.ts +3 -0
- package/types/sites/koket/events.d.ts +14 -0
- package/types/sites/koket/index.d.ts +1 -0
- package/types/sites/koket/prepare-page-options.d.ts +3 -0
- package/types/sites/tv4/config.d.ts +3 -0
- package/types/sites/tv4/events.d.ts +14 -0
- package/types/sites/tv4/index.d.ts +1 -0
- package/types/sites/tv4/prepare-page-options.d.ts +3 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
body.fullscreen-scroll-in-screen{overflow-x:hidden}.advertory-fullscreen-scroll-wrapper{visibility:hidden;overflow:visible;width:100% !important;height:var(--advertory-fullscreen-scroll-vh, 100vh) !important;position:relative;margin:var(--advertory-fullscreen-scroll-wrapper-margin);z-index:1;display:block !important;min-height:250px;padding:0 !important;clip-path:polygon(0 0, 100vw 0, 100vw 100dvh, 0 100dvh);-webkit-clip-path:polygon(0 0, 100vw 0, 100vw 100dvh, 0 100dvh)}.advertory-fullscreen-scroll-wrapper>div{position:fixed;top:0;left:0;height:var(--advertory-fullscreen-scroll-vh, 100vh) !important;width:100vw !important;overflow:hidden}html[data-app-platform=iOS] .advertory-fullscreen-scroll-wrapper>div{height:calc(var(--advertory-fullscreen-scroll-vh, 100vh) - env(safe-area-inset-top) + var(--advertory-ios-safe-area-top-fix, 0px) - env(safe-area-inset-bottom)) !important;top:unset !important;bottom:env(safe-area-inset-bottom) !important}.advertory-fullscreen-scroll-wrapper>div>iframe{height:inherit !important;width:inherit !important;display:none !important}.advertory-fullscreen-scroll-wrapper.in-screen{visibility:visible;overflow:visible;width:100vw !important}.advertory-fullscreen-scroll-wrapper.in-screen>div>iframe{display:block !important}.advertory-fullscreen-scroll-wrapper.in-screen:before{content:"";width:100vw;height:150dvh;position:relative !important;display:block;transform:translateX(-50%);overflow:visible;z-index:1;left:50%;top:-150dvh;padding:0 !important}.advertory-fullscreen-scroll-wrapper.in-screen:after{content:"";width:100vw;height:150dvh;position:relative !important;display:block;transform:translateX(-50%);overflow:visible;z-index:1;left:50%;top:-50dvh}.advertory-fullscreen-scroll{position:fixed;top:var(--advertory-fullscreen-scroll-top, 0px);left:var(--advertory-fullscreen-scroll-left, 0px);width:var(--advertory-fullscreen-scroll-vw, 100vw);height:var(--advertory-fullscreen-scroll-vh, 100vh);overflow:hidden}.advertory-fullscreen-scroll::before{content:attr(data-ad-label);box-sizing:border-box;position:fixed;top:0}html[data-app-platform=iOS] .advertory-fullscreen-scroll::before{top:calc(env(safe-area-inset-top) - var(--advertory-ios-safe-area-top-fix, 0px)) !important}.advertory-fullscreen-scroll::before{left:calc(50vw - 628px);width:calc(100% - 36px);max-width:1250px;text-align:left;background-color:hsla(0,0%,100%,.6);color:#212121;font-family:Ester Blenda,Arial,sans-serif;font-size:11px;font-weight:400;font-style:normal;text-transform:lowercase;line-height:1;margin:16px 2px;padding:10px;z-index:1;visibility:inherit !important}@media screen and (max-width: 1290px){.advertory-fullscreen-scroll::before{left:16px}}.advertory-fullscreen-scroll[data-move-cogwheel-to-the-left=true]>div[role=button]{left:calc(50vw - 623px);right:unset}@media screen and (max-width: 1290px){.advertory-fullscreen-scroll[data-move-cogwheel-to-the-left=true]>div[role=button]{left:22px;right:unset}}.advertory-fullscreen-scroll[data-move-cogwheel-to-the-left=true]::before{padding-left:32px}.advertory-fullscreen-scroll>div[id*=utif]{display:block;width:var(--advertory-fullscreen-scroll-vw, 100vw) !important;height:var(--advertory-fullscreen-scroll-vh, 100vh) !important}html[data-app-platform=iOS] .advertory-fullscreen-scroll>div[id*=utif]{height:calc(var(--advertory-fullscreen-scroll-vh, 100vh) - env(safe-area-inset-top) + var(--advertory-ios-safe-area-top-fix, 0px) - env(safe-area-inset-bottom)) !important}.advertory-fullscreen-scroll>div[id*=utif]{overflow:hidden}.advertory-fullscreen-scroll>div[id*=utif]>iframe{display:block;height:inherit !important;width:inherit !important}.advertory-fullscreen-scroll>div[role=button]{z-index:1;opacity:1;background:rgba(0,0,0,0) !important;left:unset;position:fixed !important;right:calc(50vw - 623px);top:19px !important;width:26px !important;height:26px !important}html[data-app-platform=iOS] .advertory-fullscreen-scroll>div[role=button]{top:calc(env(safe-area-inset-top) - var(--advertory-ios-safe-area-top-fix) + 19px) !important}@media screen and (max-width: 1290px){.advertory-fullscreen-scroll>div[role=button]{right:22px}}.advertory-brandmetrics-survey{width:100%}[id^=integration_godt-menu]>article .jw-controls>.jw-controlbar .jw-slider-time{display:none}[id^=integration_godt-menu]>article .jw-controls>.jw-controlbar .jw-button-container{padding:0 6px;height:36px}[id^=integration_godt-menu]>article .jw-controls>.jw-controlbar .jw-button-container .jw-icon{margin-right:3px;height:unset;width:unset;bottom:0}[id^=integration_godt-menu]>article .jw-controls>.jw-controlbar .jw-button-container .jw-icon-volume,[id^=integration_godt-menu]>article .jw-controls>.jw-controlbar .jw-button-container .jw-icon-playback{display:flex}
|
|
@@ -0,0 +1,704 @@
|
|
|
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
|
+
allowSmallerSizes?: boolean;
|
|
170
|
+
}
|
|
171
|
+
interface SafeFrameConfig {
|
|
172
|
+
allowExpansionByPush?: boolean;
|
|
173
|
+
allowExpansionByOverlay?: boolean;
|
|
174
|
+
}
|
|
175
|
+
interface EidsUserSource {
|
|
176
|
+
id: string;
|
|
177
|
+
source: string;
|
|
178
|
+
}
|
|
179
|
+
interface AstUserIds {
|
|
180
|
+
type: string;
|
|
181
|
+
eids: Array<EidsUserSource>;
|
|
182
|
+
}
|
|
183
|
+
interface AstUser {
|
|
184
|
+
externalUid?: string;
|
|
185
|
+
dnt?: boolean;
|
|
186
|
+
userIds?: Array<AstUserIds>;
|
|
187
|
+
}
|
|
188
|
+
interface AstTrackingManagement {
|
|
189
|
+
native?: {
|
|
190
|
+
loadViewabilityScriptAt?: 'adresponse' | 'impression';
|
|
191
|
+
};
|
|
192
|
+
}
|
|
193
|
+
interface AstRenderingManagement {
|
|
194
|
+
sandboxAdIframe: boolean;
|
|
195
|
+
sandboxAttributes: Array<string>;
|
|
196
|
+
}
|
|
197
|
+
interface AstPageOptions {
|
|
198
|
+
keywords: Record<string, AstKeywordValue>;
|
|
199
|
+
enableSafeFrame?: boolean;
|
|
200
|
+
disablePsa?: boolean;
|
|
201
|
+
user?: AstUser;
|
|
202
|
+
member?: number;
|
|
203
|
+
trackingManagement?: AstTrackingManagement;
|
|
204
|
+
renderingManagement?: AstRenderingManagement;
|
|
205
|
+
}
|
|
206
|
+
interface AstApnTagRequests {
|
|
207
|
+
user?: AstUser;
|
|
208
|
+
keywords: AstKeywords;
|
|
209
|
+
member: number;
|
|
210
|
+
tags: Record<string, {
|
|
211
|
+
adResponse: {
|
|
212
|
+
ads: Array<{
|
|
213
|
+
rtb: {
|
|
214
|
+
banner: AstBanner;
|
|
215
|
+
native: AstNative;
|
|
216
|
+
};
|
|
217
|
+
}>;
|
|
218
|
+
};
|
|
219
|
+
uuid?: string;
|
|
220
|
+
invCode?: string;
|
|
221
|
+
}>;
|
|
222
|
+
}
|
|
223
|
+
interface AstApnTag {
|
|
224
|
+
anq: Array<AstCommand>;
|
|
225
|
+
defineTag: (params: AstDefineTagParams) => AstTagObj;
|
|
226
|
+
showTag: (targetId: string) => void;
|
|
227
|
+
onEvent: AstOnEventFunction;
|
|
228
|
+
offEvent: (eventType: AstEventType, targetId: string) => void;
|
|
229
|
+
refresh: (targetIds: Array<string>) => void;
|
|
230
|
+
modifyTag: (targetId: string, params: Partial<AstDefineTagParams>) => void;
|
|
231
|
+
loadTags: (targetIds?: Array<string>) => void;
|
|
232
|
+
emitEvent: (targetId: string, eventName: string) => void;
|
|
233
|
+
setPageOpts: (params: AstPageOptions) => void;
|
|
234
|
+
resizeAd: (targetId: string, size: Array<string | number>, config?: {
|
|
235
|
+
resizeAdParentDiv?: boolean;
|
|
236
|
+
}) => void;
|
|
237
|
+
getAstVersion: () => string;
|
|
238
|
+
setEndpoint: (endpoint: string, freezeIbUrl: boolean) => void;
|
|
239
|
+
requests?: AstApnTagRequests;
|
|
240
|
+
fireImpressionTrackers: (nativeObject: AstAdObj) => void;
|
|
241
|
+
setKeywords: (ids: Array<string>, keywords: AstKeywords, options: {
|
|
242
|
+
overrideKeyValue: boolean;
|
|
243
|
+
}) => void;
|
|
244
|
+
clearRequest: (targetIds?: Array<string> | string) => void;
|
|
245
|
+
}
|
|
246
|
+
interface AstNativeIcon {
|
|
247
|
+
url: string;
|
|
248
|
+
height?: number;
|
|
249
|
+
width?: number;
|
|
250
|
+
prevent_crop?: boolean;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
declare const DeviceTypes: {
|
|
254
|
+
readonly MOBILE: "mobile";
|
|
255
|
+
readonly TABLET: "tablet";
|
|
256
|
+
readonly DESKTOP: "desktop";
|
|
257
|
+
};
|
|
258
|
+
type DeviceType = (typeof DeviceTypes)[keyof typeof DeviceTypes];
|
|
259
|
+
|
|
260
|
+
declare const Countries: {
|
|
261
|
+
readonly NO: "no";
|
|
262
|
+
readonly SE: "se";
|
|
263
|
+
};
|
|
264
|
+
type Country = (typeof Countries)[keyof typeof Countries];
|
|
265
|
+
|
|
266
|
+
declare const PageTypes: {
|
|
267
|
+
readonly FRONT: "front";
|
|
268
|
+
readonly ARTICLE: "article";
|
|
269
|
+
readonly SECTION: "section";
|
|
270
|
+
readonly COLLECTION: "collection";
|
|
271
|
+
readonly OTHER: "other";
|
|
272
|
+
};
|
|
273
|
+
type PageType = (typeof PageTypes)[keyof typeof PageTypes];
|
|
274
|
+
|
|
275
|
+
interface AdvertisingIdentifiers {
|
|
276
|
+
xandr?: {
|
|
277
|
+
ppId1?: string;
|
|
278
|
+
ppId2?: string;
|
|
279
|
+
};
|
|
280
|
+
}
|
|
281
|
+
interface TrackerInstance {
|
|
282
|
+
getAdvertisingIdentifiers: () => Promise<AdvertisingIdentifiers>;
|
|
283
|
+
getUserId: () => Promise<undefined | string | number>;
|
|
284
|
+
getEnvironmentId: () => Promise<undefined | string>;
|
|
285
|
+
getActor: () => Promise<undefined | unknown>;
|
|
286
|
+
state?: {
|
|
287
|
+
pageViewId?: string;
|
|
288
|
+
};
|
|
289
|
+
}
|
|
290
|
+
interface PulseInstance {
|
|
291
|
+
pulseTracker: TrackerInstance;
|
|
292
|
+
getSDK: () => Promise<TrackerInstance>;
|
|
293
|
+
trackElementView?: (eventInput: unknown) => Promise<void>;
|
|
294
|
+
trackElementClick?: (eventInput: unknown) => Promise<void>;
|
|
295
|
+
trackClickUIElement?: (eventInput: unknown) => Promise<void>;
|
|
296
|
+
trackViewUIElement?: (eventInput: unknown) => Promise<void>;
|
|
297
|
+
}
|
|
298
|
+
interface Tracker {
|
|
299
|
+
clientId: string;
|
|
300
|
+
instance: TrackerInstance;
|
|
301
|
+
}
|
|
302
|
+
interface Pulse {
|
|
303
|
+
clientId: string;
|
|
304
|
+
instance: PulseInstance;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
type MarginPriority = 'high' | 'normal' | 'low';
|
|
308
|
+
interface PrioEntry {
|
|
309
|
+
renderMargin: number;
|
|
310
|
+
refreshMargin: number;
|
|
311
|
+
}
|
|
312
|
+
interface PrioPreloadMarginMap {
|
|
313
|
+
high?: Partial<PrioEntry>;
|
|
314
|
+
normal?: Partial<PrioEntry>;
|
|
315
|
+
low?: Partial<PrioEntry>;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
type DistributionTypes = 'REALESTATE' | 'REALESTATE_RETARGET' | 'REALESTATE_LEISURE' | 'REALESTATE_LEISURE_RETARGET' | 'REALESTATE_PROJECT' | 'REALESTATE_PROJECT_RETARGET' | 'CAR' | 'JOB';
|
|
319
|
+
interface BlinkConstructorOptions {
|
|
320
|
+
remote?: string;
|
|
321
|
+
id?: string;
|
|
322
|
+
hashed_email?: string;
|
|
323
|
+
theme?: string;
|
|
324
|
+
}
|
|
325
|
+
interface BlinkInstance {
|
|
326
|
+
inject: (options: unknown) => Promise<unknown>;
|
|
327
|
+
}
|
|
328
|
+
type BlinkConstructor = new (options: BlinkConstructorOptions) => BlinkInstance;
|
|
329
|
+
|
|
330
|
+
declare const Newsrooms: {
|
|
331
|
+
readonly SVD: "svd";
|
|
332
|
+
readonly VG: "vg";
|
|
333
|
+
readonly GODARE: "godare";
|
|
334
|
+
readonly AFTENPOSTEN: "aftenposten";
|
|
335
|
+
readonly SA: "sa";
|
|
336
|
+
readonly BT: "bt";
|
|
337
|
+
readonly AFTONBLADET: "aftonbladet";
|
|
338
|
+
readonly E24: "e24";
|
|
339
|
+
readonly MINMOTE: "minmote";
|
|
340
|
+
readonly PENT: "pent";
|
|
341
|
+
readonly GODT: "godt";
|
|
342
|
+
readonly TEK: "tekno";
|
|
343
|
+
readonly KLART: "klart";
|
|
344
|
+
readonly POLARIS: "polaris";
|
|
345
|
+
readonly KOKET: "koket";
|
|
346
|
+
readonly TV4: "tv4";
|
|
347
|
+
readonly FOTBOLLSKANALEN: "fotbollskanalen";
|
|
348
|
+
};
|
|
349
|
+
type Newsroom = (typeof Newsrooms)[keyof typeof Newsrooms];
|
|
350
|
+
|
|
351
|
+
interface SiteConfig {
|
|
352
|
+
publisher: string;
|
|
353
|
+
country: Country;
|
|
354
|
+
astUrl?: string;
|
|
355
|
+
gptUrl?: string;
|
|
356
|
+
testMember?: number;
|
|
357
|
+
pageType: PageType;
|
|
358
|
+
pageOptions: AstPageOptions;
|
|
359
|
+
placements: Placements;
|
|
360
|
+
keywordsConfig?: KeywordsConfig;
|
|
361
|
+
deviceType: DeviceType;
|
|
362
|
+
isMobileApp?: boolean;
|
|
363
|
+
glimr?: GlimrConfig;
|
|
364
|
+
tcf?: TCFConfig;
|
|
365
|
+
prebid?: PrebidConfig;
|
|
366
|
+
tracker?: Tracker;
|
|
367
|
+
pulse?: Pulse;
|
|
368
|
+
finnBlink?: FinnBlinkConfig;
|
|
369
|
+
wallpaper?: WallpaperConfig;
|
|
370
|
+
fullscreenScroll?: FullscreenScrollConfig;
|
|
371
|
+
appearanceConfig: AppearanceConfig;
|
|
372
|
+
queryConfig?: QueryConfig;
|
|
373
|
+
refreshConfig?: RefreshConfig;
|
|
374
|
+
preloadMarginsConfig?: Record<DeviceType, PrioPreloadMarginMap>;
|
|
375
|
+
takeover?: TakeoverConfig;
|
|
376
|
+
brandmetrics?: BrandmetricsConfig;
|
|
377
|
+
gdpr?: GdprConfig;
|
|
378
|
+
brandboard?: BrandboardConfig;
|
|
379
|
+
norstat?: NorstatConfig;
|
|
380
|
+
siteSpecificConfig?: SiteSpecificConfig;
|
|
381
|
+
sponsorstripe?: SponsorstripeConfig;
|
|
382
|
+
privacyBroker?: PrivacyBrokerConfig;
|
|
383
|
+
drEdition?: DrEditionConfig;
|
|
384
|
+
forwardExternalImpId?: boolean;
|
|
385
|
+
requestSize?: number;
|
|
386
|
+
nativeTrackingConfig?: NativeTrackingConfig;
|
|
387
|
+
sandboxAdIframeEnabled?: boolean;
|
|
388
|
+
pageSectionsSelectors?: PageSectionsSelectors;
|
|
389
|
+
editableConfiguration?: {
|
|
390
|
+
useS3Config?: boolean;
|
|
391
|
+
pageTypeToFetch?: string;
|
|
392
|
+
};
|
|
393
|
+
}
|
|
394
|
+
interface NativeTrackingConfig {
|
|
395
|
+
nativeTrackingEnabled?: boolean;
|
|
396
|
+
fireImpressionsBasedOnAppearanceThreshold?: boolean;
|
|
397
|
+
}
|
|
398
|
+
interface SiteSpecificConfig {
|
|
399
|
+
publisherClassName?: Newsroom;
|
|
400
|
+
fullWidthFormatClassName?: 'netboard' | 'panorama';
|
|
401
|
+
classesToRemoveOnRefresh?: Array<string>;
|
|
402
|
+
}
|
|
403
|
+
interface Placement {
|
|
404
|
+
id: string;
|
|
405
|
+
sizes: Array<Array<number>>;
|
|
406
|
+
allowedFormats: Array<AstAdType>;
|
|
407
|
+
invCode: string;
|
|
408
|
+
keywords: any;
|
|
409
|
+
refresh?: boolean;
|
|
410
|
+
bfCacheRefresh?: boolean;
|
|
411
|
+
priority?: MarginPriority;
|
|
412
|
+
ssa?: boolean;
|
|
413
|
+
threshold?: number;
|
|
414
|
+
finnBlink?: FinnBlinkPlacementConfig;
|
|
415
|
+
nativeCustomProperties?: Array<string>;
|
|
416
|
+
minViewWidth?: number;
|
|
417
|
+
dynamicSizeWidthCheck?: boolean;
|
|
418
|
+
safeframeConfig?: SafeFrameConfig;
|
|
419
|
+
resizeAdParentDiv?: boolean;
|
|
420
|
+
positionConfig?: Array<PositionConfig>;
|
|
421
|
+
drEdition?: DrEditionPlacementConfig;
|
|
422
|
+
isBackfill?: boolean;
|
|
423
|
+
}
|
|
424
|
+
interface Placements {
|
|
425
|
+
desktop: Array<Placement>;
|
|
426
|
+
tablet: Array<Placement>;
|
|
427
|
+
mobile: Array<Placement>;
|
|
428
|
+
}
|
|
429
|
+
interface AppearanceConfig {
|
|
430
|
+
defaultThreshold: {
|
|
431
|
+
mobile: number;
|
|
432
|
+
tablet: number;
|
|
433
|
+
desktop: number;
|
|
434
|
+
};
|
|
435
|
+
clearProbableDimensionsEnabled?: boolean;
|
|
436
|
+
isDarkModeEnabled?: boolean;
|
|
437
|
+
mainColumnWidth?: number;
|
|
438
|
+
subsectionTheme?: string;
|
|
439
|
+
}
|
|
440
|
+
interface PageSectionsSelectors {
|
|
441
|
+
top?: string;
|
|
442
|
+
left?: string;
|
|
443
|
+
right?: string;
|
|
444
|
+
main?: string;
|
|
445
|
+
mainFirstColumn?: string;
|
|
446
|
+
mainSecondColumn?: string;
|
|
447
|
+
}
|
|
448
|
+
interface KeywordsConfig {
|
|
449
|
+
includeCountingKeywordInTags?: boolean;
|
|
450
|
+
sponsors?: string;
|
|
451
|
+
}
|
|
452
|
+
interface QueryConfig {
|
|
453
|
+
queryByDataDevice?: boolean;
|
|
454
|
+
lazyLoadingV3?: {
|
|
455
|
+
enabled: boolean;
|
|
456
|
+
rootMargin: string;
|
|
457
|
+
};
|
|
458
|
+
placementBatches?: PlacementBatchesConfig;
|
|
459
|
+
}
|
|
460
|
+
interface PositionConfig {
|
|
461
|
+
adPositionIndex: number;
|
|
462
|
+
sizes?: Array<Array<number>>;
|
|
463
|
+
keywords?: AstKeywords;
|
|
464
|
+
}
|
|
465
|
+
type FinnBlinkTheme = 'light' | 'dark';
|
|
466
|
+
interface FinnBlinkConfig {
|
|
467
|
+
enabled?: boolean;
|
|
468
|
+
channel?: string;
|
|
469
|
+
userId?: string;
|
|
470
|
+
uuid?: string;
|
|
471
|
+
identifierUrl?: string;
|
|
472
|
+
theme?: FinnBlinkTheme;
|
|
473
|
+
replacementConfig?: {
|
|
474
|
+
adsToReplace?: Array<Array<string>>;
|
|
475
|
+
sizes?: {
|
|
476
|
+
width: number;
|
|
477
|
+
height: number;
|
|
478
|
+
};
|
|
479
|
+
};
|
|
480
|
+
}
|
|
481
|
+
interface FinnBlinkPlacementConfig {
|
|
482
|
+
enabled: boolean;
|
|
483
|
+
renderOnlyWithAdBlock?: boolean;
|
|
484
|
+
position: string;
|
|
485
|
+
distributionTypes?: Array<DistributionTypes>;
|
|
486
|
+
height?: number;
|
|
487
|
+
limit?: number;
|
|
488
|
+
offset?: number;
|
|
489
|
+
requireImage?: boolean;
|
|
490
|
+
rec?: boolean;
|
|
491
|
+
theme?: FinnBlinkTheme;
|
|
492
|
+
advertoryTheme?: string;
|
|
493
|
+
}
|
|
494
|
+
interface PrebidConfig {
|
|
495
|
+
enabled: boolean;
|
|
496
|
+
url: string;
|
|
497
|
+
id: string;
|
|
498
|
+
externalUidInAuctionEnabled: boolean;
|
|
499
|
+
relevantCbTimeout?: number;
|
|
500
|
+
forwardGlimrTags?: boolean;
|
|
501
|
+
}
|
|
502
|
+
interface TCFConfig {
|
|
503
|
+
enabled: boolean;
|
|
504
|
+
timeout?: number;
|
|
505
|
+
}
|
|
506
|
+
interface GlimrConfig {
|
|
507
|
+
enabled: boolean;
|
|
508
|
+
clientId: string;
|
|
509
|
+
}
|
|
510
|
+
interface WallpaperConfig {
|
|
511
|
+
enabled: boolean;
|
|
512
|
+
options?: WallpaperConfigOptions;
|
|
513
|
+
}
|
|
514
|
+
interface WallpaperConfigOptions {
|
|
515
|
+
appMainContainerSelector?: string;
|
|
516
|
+
wallpaperAnchorSelector?: string;
|
|
517
|
+
}
|
|
518
|
+
interface BrandmetricsConfig {
|
|
519
|
+
enabled: boolean;
|
|
520
|
+
url: string;
|
|
521
|
+
}
|
|
522
|
+
interface GdprConfig {
|
|
523
|
+
url?: string;
|
|
524
|
+
allowHidingAds?: boolean;
|
|
525
|
+
}
|
|
526
|
+
interface FullscreenScrollConfig {
|
|
527
|
+
fadingHeaderEnabled: boolean;
|
|
528
|
+
headerSelectors: Array<string>;
|
|
529
|
+
skyscraperSelectors?: Array<string>;
|
|
530
|
+
headerZIndex: number;
|
|
531
|
+
overlayStyles?: OverlayStyles;
|
|
532
|
+
moveCogwheelToTheLeft?: boolean;
|
|
533
|
+
iosSafeAreaTopFix?: string;
|
|
534
|
+
}
|
|
535
|
+
interface OverlayStyles {
|
|
536
|
+
backgroundColor?: string;
|
|
537
|
+
foregroundColor?: string;
|
|
538
|
+
articlesContainerWidth?: number;
|
|
539
|
+
margin?: string;
|
|
540
|
+
beforeContentValue?: string;
|
|
541
|
+
}
|
|
542
|
+
interface RefreshConfig {
|
|
543
|
+
delayTime?: number;
|
|
544
|
+
scrollRefreshEnabled?: boolean;
|
|
545
|
+
visibilityStateRefreshEnabled?: boolean;
|
|
546
|
+
backForwardNavigationRefreshEnabled?: boolean;
|
|
547
|
+
}
|
|
548
|
+
interface WelcomePageConfig {
|
|
549
|
+
showArrowIcon?: boolean;
|
|
550
|
+
headerElementSelector?: string;
|
|
551
|
+
buttonLabel?: string;
|
|
552
|
+
showCloseButton?: boolean;
|
|
553
|
+
}
|
|
554
|
+
interface BrandboardConfig {
|
|
555
|
+
enabled: boolean;
|
|
556
|
+
sidebarContainerSelector: string;
|
|
557
|
+
sidebarItemsContainerSelector: string;
|
|
558
|
+
}
|
|
559
|
+
interface SplashConfig {
|
|
560
|
+
themeColors?: ThemeColors;
|
|
561
|
+
buttonLabel: string;
|
|
562
|
+
logotype: Logotype;
|
|
563
|
+
showArrowIcon?: boolean;
|
|
564
|
+
showAnnonsLabel?: boolean;
|
|
565
|
+
}
|
|
566
|
+
interface TakeoverConfig {
|
|
567
|
+
enabled?: boolean;
|
|
568
|
+
splash?: SplashConfig;
|
|
569
|
+
welcomePage?: WelcomePageConfig;
|
|
570
|
+
topscroller?: WelcomePageConfig;
|
|
571
|
+
cookieCapName?: string | null;
|
|
572
|
+
cookieCapTime?: number;
|
|
573
|
+
setCookieCapForNotShownAd?: boolean;
|
|
574
|
+
}
|
|
575
|
+
interface Logotype {
|
|
576
|
+
url: string;
|
|
577
|
+
alt: string;
|
|
578
|
+
}
|
|
579
|
+
interface ThemeColors {
|
|
580
|
+
backgroundColor: string;
|
|
581
|
+
color: string;
|
|
582
|
+
}
|
|
583
|
+
interface NorstatConfig {
|
|
584
|
+
enabled: true;
|
|
585
|
+
}
|
|
586
|
+
interface SponsorstripeConfig {
|
|
587
|
+
toogleEnabled: boolean;
|
|
588
|
+
headerSelector?: string;
|
|
589
|
+
containersSelectors?: Array<string>;
|
|
590
|
+
}
|
|
591
|
+
interface PrivacyBrokerConfig {
|
|
592
|
+
enabled: boolean;
|
|
593
|
+
clientId: string;
|
|
594
|
+
storageKeyPrefix: string;
|
|
595
|
+
}
|
|
596
|
+
interface DrEditionConfig {
|
|
597
|
+
enabled: boolean;
|
|
598
|
+
containerSelector: string;
|
|
599
|
+
wrapperSelector: string;
|
|
600
|
+
fallbackGlobalEditionName?: string;
|
|
601
|
+
videoScriptUrl?: string;
|
|
602
|
+
addPreviewVideo?: (videoElement: HTMLElement) => void;
|
|
603
|
+
}
|
|
604
|
+
interface DrEditionPlacementConfig {
|
|
605
|
+
editionName: string;
|
|
606
|
+
}
|
|
607
|
+
interface DevicePlacementBatches {
|
|
608
|
+
[key: string]: Array<string>;
|
|
609
|
+
}
|
|
610
|
+
type PlacementBatchesConfig = {
|
|
611
|
+
[device in DeviceType]: DevicePlacementBatches;
|
|
612
|
+
};
|
|
613
|
+
|
|
614
|
+
type IsConsentedToAll = (callback: ConsentedToAllCallback) => void;
|
|
615
|
+
type ConsentedToAllCallback = (value: boolean) => void;
|
|
616
|
+
type GetConsentToAllSync = () => boolean | null;
|
|
617
|
+
interface ConsentManager {
|
|
618
|
+
getConsentedToAllSync: GetConsentToAllSync;
|
|
619
|
+
isConsentedToAll: IsConsentedToAll;
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
interface AlertoryTag {
|
|
623
|
+
invCode: string;
|
|
624
|
+
sizes: Array<Array<number>>;
|
|
625
|
+
adTypes?: Array<AstAdType>;
|
|
626
|
+
keywords?: AstKeywords;
|
|
627
|
+
}
|
|
628
|
+
interface XandrConfig {
|
|
629
|
+
member?: number;
|
|
630
|
+
keywords: AstKeywords;
|
|
631
|
+
tags: Array<Array<AlertoryTag>>;
|
|
632
|
+
}
|
|
633
|
+
interface AlertoryConfig {
|
|
634
|
+
xandr: XandrConfig;
|
|
635
|
+
advertory: Partial<SiteConfig>;
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
declare const ES_MODULE_KEYS: {
|
|
639
|
+
readonly Blink: "Blink";
|
|
640
|
+
};
|
|
641
|
+
type ESModuleKey = (typeof ES_MODULE_KEYS)[keyof typeof ES_MODULE_KEYS];
|
|
642
|
+
type ESMModules = {
|
|
643
|
+
[K in ESModuleKey]?: BlinkConstructor;
|
|
644
|
+
};
|
|
645
|
+
|
|
646
|
+
declare global {
|
|
647
|
+
interface Window extends ESMModules {
|
|
648
|
+
apntag: AstApnTag;
|
|
649
|
+
relevantDigital: any;
|
|
650
|
+
Identity: Identity;
|
|
651
|
+
SvD: any;
|
|
652
|
+
gdpr: {
|
|
653
|
+
allowHidingAds: boolean;
|
|
654
|
+
setupButton: (targetId: string) => void;
|
|
655
|
+
};
|
|
656
|
+
_scc_: any;
|
|
657
|
+
_tcf_?: ConsentManager;
|
|
658
|
+
__tcfapi: any;
|
|
659
|
+
_brandmetrics: any;
|
|
660
|
+
SVP?: any;
|
|
661
|
+
advertory_idfv?: string;
|
|
662
|
+
advertory_anId?: string;
|
|
663
|
+
advertory: {
|
|
664
|
+
initialized: boolean;
|
|
665
|
+
siteConfig: SiteConfig;
|
|
666
|
+
renderedDrEditionAds?: Array<string>;
|
|
667
|
+
alertoryConfig?: AlertoryConfig;
|
|
668
|
+
};
|
|
669
|
+
advertoryFluepapir: boolean;
|
|
670
|
+
autoplayQueue: Array<(autoplay: {
|
|
671
|
+
parse: () => void;
|
|
672
|
+
}) => void>;
|
|
673
|
+
}
|
|
674
|
+
interface Document {
|
|
675
|
+
prerendering: boolean;
|
|
676
|
+
}
|
|
677
|
+
interface Navigator {
|
|
678
|
+
globalPrivacyControl?: boolean;
|
|
679
|
+
}
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
declare module 'glimr-sdk' {
|
|
683
|
+
function setTagCacheTimeInSeconds(time: number): void;
|
|
684
|
+
function getTags(clientId: string, fn: (tags: Array<string>, tagsMapping: any) => void): void;
|
|
685
|
+
export { setTagCacheTimeInSeconds, getTags };
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
declare module '*.png' {
|
|
689
|
+
const pngValue: string;
|
|
690
|
+
export { pngValue };
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
interface UpdateAdvertoryConfig {
|
|
694
|
+
clearAds?: boolean;
|
|
695
|
+
reloadExistingAds?: boolean;
|
|
696
|
+
renderFinnBlinkPlacements?: boolean;
|
|
697
|
+
contextSelector?: string;
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
declare const updateAdvertory: (configPropertiesToUpdate?: Partial<SiteConfig>, updateAdvertoryConfig?: UpdateAdvertoryConfig) => Promise<Array<Placement>>;
|
|
701
|
+
|
|
702
|
+
declare const initAdvertoryPackage: (config: SiteConfig) => Promise<void>;
|
|
703
|
+
|
|
704
|
+
export { initAdvertoryPackage, updateAdvertory };
|