@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.
Files changed (143) hide show
  1. package/core/aftenposten/es/index.css +1 -1
  2. package/core/aftenposten/es/index.d.ts +3 -0
  3. package/core/aftenposten/es/index.js +1 -1
  4. package/core/aftenposten/index.d.ts +3 -0
  5. package/core/aftenposten/index.js +1 -1
  6. package/core/aftonbladet/es/index.css +1 -1
  7. package/core/aftonbladet/es/index.d.ts +3 -0
  8. package/core/aftonbladet/es/index.js +1 -1
  9. package/core/aftonbladet/index.d.ts +3 -0
  10. package/core/aftonbladet/index.js +1 -1
  11. package/core/aftonbladetv2/es/index.d.ts +3 -0
  12. package/core/aftonbladetv2/es/index.js +1 -1
  13. package/core/bt/es/index.css +1 -1
  14. package/core/bt/es/index.d.ts +3 -0
  15. package/core/bt/es/index.js +1 -1
  16. package/core/bt/index.d.ts +3 -0
  17. package/core/bt/index.js +1 -1
  18. package/core/e24/es/index.css +1 -1
  19. package/core/e24/es/index.d.ts +3 -0
  20. package/core/e24/es/index.js +1 -1
  21. package/core/e24/index.d.ts +3 -0
  22. package/core/e24/index.js +1 -1
  23. package/core/e24v2/es/index.css +1 -1
  24. package/core/e24v2/es/index.d.ts +3 -0
  25. package/core/e24v2/es/index.js +1 -1
  26. package/core/fotbollskanalen/es/index.css +1 -0
  27. package/core/fotbollskanalen/es/index.d.ts +704 -0
  28. package/core/fotbollskanalen/es/index.js +1 -0
  29. package/core/fotbollskanalen/es/package.json +9 -0
  30. package/core/fotbollskanalen/index.d.ts +704 -0
  31. package/core/fotbollskanalen/index.js +1 -0
  32. package/core/fotbollskanalen/package.json +9 -0
  33. package/core/godare/index.d.ts +3 -0
  34. package/core/godare/index.js +1 -1
  35. package/core/godt/index.d.ts +3 -0
  36. package/core/godt/index.js +1 -1
  37. package/core/klart/index.d.ts +3 -0
  38. package/core/klart/index.js +1 -1
  39. package/core/koket/es/index.css +1 -0
  40. package/core/koket/es/index.d.ts +704 -0
  41. package/core/koket/es/index.js +1 -0
  42. package/core/koket/es/package.json +9 -0
  43. package/core/koket/index.d.ts +704 -0
  44. package/core/koket/index.js +1 -0
  45. package/core/koket/package.json +9 -0
  46. package/core/kompakt/index.d.ts +3 -0
  47. package/core/kompakt/index.js +1 -1
  48. package/core/minmote/index.d.ts +3 -0
  49. package/core/minmote/index.js +1 -1
  50. package/core/pent/index.d.ts +3 -0
  51. package/core/pent/index.js +1 -1
  52. package/core/sa/es/index.css +1 -1
  53. package/core/sa/es/index.d.ts +3 -0
  54. package/core/sa/es/index.js +1 -1
  55. package/core/sa/index.d.ts +3 -0
  56. package/core/sa/index.js +1 -1
  57. package/core/svd/es/index.css +1 -1
  58. package/core/svd/es/index.d.ts +3 -0
  59. package/core/svd/es/index.js +1 -1
  60. package/core/svd/index.d.ts +3 -0
  61. package/core/svd/index.js +1 -1
  62. package/core/tek/index.d.ts +3 -0
  63. package/core/tek/index.js +1 -1
  64. package/core/tv4/es/index.css +1 -0
  65. package/core/tv4/es/index.d.ts +704 -0
  66. package/core/tv4/es/index.js +1 -0
  67. package/core/tv4/es/package.json +9 -0
  68. package/core/tv4/index.d.ts +704 -0
  69. package/core/tv4/index.js +1 -0
  70. package/core/tv4/package.json +9 -0
  71. package/core/vg/es/index.css +1 -1
  72. package/core/vg/es/index.d.ts +3 -0
  73. package/core/vg/es/index.js +1 -1
  74. package/core/vg/index.d.ts +3 -0
  75. package/core/vg/index.js +1 -1
  76. package/core/vgv2/es/index.css +1 -1
  77. package/core/vgv2/es/index.d.ts +3 -0
  78. package/core/vgv2/es/index.js +1 -1
  79. package/features/ad-native/index.d.ts +3 -0
  80. package/features/ad-native/index.js +1 -1
  81. package/features/brandmetrics/index.js +1 -1
  82. package/features/common/es/index.js +1 -1
  83. package/features/common/index.js +1 -1
  84. package/features/dr-edition/es/index.d.ts +3 -0
  85. package/features/dr-edition/es/index.js +1 -1
  86. package/features/dr-edition/index.d.ts +3 -0
  87. package/features/dr-edition/index.js +1 -1
  88. package/package.json +1 -1
  89. package/sites/aftenposten/es/index.css +1 -1
  90. package/sites/aftenposten/es/index.js +1 -1
  91. package/sites/aftenposten/index.js +1 -1
  92. package/sites/aftonbladet/es/index.css +1 -1
  93. package/sites/aftonbladetv2/es/index.css +1 -1
  94. package/sites/bt/es/index.css +1 -1
  95. package/sites/bt/es/index.js +1 -1
  96. package/sites/bt/index.js +1 -1
  97. package/sites/e24/es/index.css +1 -1
  98. package/sites/e24/es/index.js +1 -1
  99. package/sites/e24/index.js +1 -1
  100. package/sites/e24v2/es/index.css +1 -1
  101. package/sites/e24v2/es/index.js +1 -1
  102. package/sites/fotbollskanalen/es/index.d.ts +2 -0
  103. package/sites/fotbollskanalen/es/index.js +1 -0
  104. package/sites/fotbollskanalen/es/package.json +9 -0
  105. package/sites/fotbollskanalen/index.d.ts +2 -0
  106. package/sites/fotbollskanalen/index.js +1 -0
  107. package/sites/fotbollskanalen/package.json +9 -0
  108. package/sites/koket/es/index.d.ts +2 -0
  109. package/sites/koket/es/index.js +1 -0
  110. package/sites/koket/es/package.json +9 -0
  111. package/sites/koket/index.d.ts +2 -0
  112. package/sites/koket/index.js +1 -0
  113. package/sites/koket/package.json +9 -0
  114. package/sites/sa/es/index.css +1 -1
  115. package/sites/sa/es/index.js +1 -1
  116. package/sites/sa/index.js +1 -1
  117. package/sites/svd/es/index.css +1 -1
  118. package/sites/tv4/es/index.d.ts +2 -0
  119. package/sites/tv4/es/index.js +1 -0
  120. package/sites/tv4/es/package.json +9 -0
  121. package/sites/tv4/index.d.ts +2 -0
  122. package/sites/tv4/index.js +1 -0
  123. package/sites/tv4/package.json +9 -0
  124. package/sites/vg/es/index.css +1 -1
  125. package/sites/vgv2/es/index.css +1 -1
  126. package/types/config/fotbollskanalen.d.ts +3 -0
  127. package/types/config/koket.d.ts +3 -0
  128. package/types/config/tv4.d.ts +3 -0
  129. package/types/core/interface/newsrooms.d.ts +3 -0
  130. package/types/core/interface/tcf.d.ts +1 -0
  131. package/types/core/prepare-page-options/prepare-page-options.d.ts +1 -1
  132. package/types/sites/fotbollskanalen/config.d.ts +3 -0
  133. package/types/sites/fotbollskanalen/events.d.ts +14 -0
  134. package/types/sites/fotbollskanalen/index.d.ts +1 -0
  135. package/types/sites/fotbollskanalen/prepare-page-options.d.ts +3 -0
  136. package/types/sites/koket/config.d.ts +3 -0
  137. package/types/sites/koket/events.d.ts +14 -0
  138. package/types/sites/koket/index.d.ts +1 -0
  139. package/types/sites/koket/prepare-page-options.d.ts +3 -0
  140. package/types/sites/tv4/config.d.ts +3 -0
  141. package/types/sites/tv4/events.d.ts +14 -0
  142. package/types/sites/tv4/index.d.ts +1 -0
  143. package/types/sites/tv4/prepare-page-options.d.ts +3 -0
@@ -0,0 +1,3 @@
1
+ import { updateAdvertory } from 'core/handlers/ad-server';
2
+ declare const initAdvertoryPackage: (config: import("core/interface/config").SiteConfig) => Promise<void>;
3
+ export { initAdvertoryPackage, updateAdvertory };
@@ -0,0 +1,3 @@
1
+ import { updateAdvertory } from 'core/handlers/ad-server';
2
+ declare const initAdvertoryPackage: (config: import("core/interface/config").SiteConfig) => Promise<void>;
3
+ export { initAdvertoryPackage, updateAdvertory };
@@ -0,0 +1,3 @@
1
+ import { updateAdvertory } from 'core/handlers/ad-server';
2
+ declare const initAdvertoryPackage: (config: import("core/interface/config").SiteConfig) => Promise<void>;
3
+ export { initAdvertoryPackage, updateAdvertory };
@@ -13,5 +13,8 @@ export declare const Newsrooms: {
13
13
  readonly TEK: "tekno";
14
14
  readonly KLART: "klart";
15
15
  readonly POLARIS: "polaris";
16
+ readonly KOKET: "koket";
17
+ readonly TV4: "tv4";
18
+ readonly FOTBOLLSKANALEN: "fotbollskanalen";
16
19
  };
17
20
  export type Newsroom = (typeof Newsrooms)[keyof typeof Newsrooms];
@@ -8,4 +8,5 @@ export interface ConsentManager {
8
8
  export interface TCFConsentUtilities {
9
9
  initConsentManager: () => Promise<ConsentManager>;
10
10
  getConsentSync: () => boolean | null;
11
+ getConsentAsync: () => Promise<boolean>;
11
12
  }
@@ -15,7 +15,7 @@ export declare class PageOptions {
15
15
  protected getCMPValue(preference: CMPPreference): CMPChoice;
16
16
  protected getPublisherKeywords(): PublisherKeywords;
17
17
  protected getAnalyticsConsentKeywords(): AnalyticsConsentKeywords;
18
- protected getAdvertisingConsentKeywords(): AdvertisingConsentKeywords;
18
+ protected getAdvertisingConsentKeywords(): Promise<AdvertisingConsentKeywords>;
19
19
  protected getPageTypeKeywords(): PageTypeKeywords;
20
20
  protected getCountryCodeKeywords(countryCode: Country): CountryCodeKeywords;
21
21
  protected getInventoryTypeKeywords(): InventoryTypeKeywords;
@@ -0,0 +1,3 @@
1
+ import { SiteSpecificConfig } from 'core/interface/config';
2
+ declare const siteSpecificConfig: SiteSpecificConfig;
3
+ export { siteSpecificConfig };
@@ -0,0 +1,14 @@
1
+ import { AstAdError, AstAdObj } from 'core/interface/ast';
2
+ declare const siteEvents: {
3
+ adRequested: () => void;
4
+ adAvailable: (adObj: AstAdObj) => void;
5
+ adLoaded: (adObj: AstAdObj) => void;
6
+ adNoBid: (adObj: AstAdObj) => void;
7
+ adError: (adError: AstAdError, adObj: AstAdObj) => void;
8
+ adCollapse: () => void;
9
+ adRequestFailure: (adError: AstAdError) => void;
10
+ adBadRequest: (adError: AstAdError) => void;
11
+ adLoadedMediated: (adObj: AstAdObj) => void;
12
+ adNoBidMediated: (adObj: AstAdObj) => void;
13
+ };
14
+ export { siteEvents };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,3 @@
1
+ import { AstPageOptions } from 'core/interface/ast';
2
+ declare const _default: (pageOptions: AstPageOptions) => Promise<AstPageOptions>;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { SiteSpecificConfig } from 'core/interface/config';
2
+ declare const siteSpecificConfig: SiteSpecificConfig;
3
+ export { siteSpecificConfig };
@@ -0,0 +1,14 @@
1
+ import { AstAdError, AstAdObj } from 'core/interface/ast';
2
+ declare const siteEvents: {
3
+ adRequested: () => void;
4
+ adAvailable: (adObj: AstAdObj) => void;
5
+ adLoaded: (adObj: AstAdObj) => void;
6
+ adNoBid: (adObj: AstAdObj) => void;
7
+ adError: (adError: AstAdError, adObj: AstAdObj) => void;
8
+ adCollapse: () => void;
9
+ adRequestFailure: (adError: AstAdError) => void;
10
+ adBadRequest: (adError: AstAdError) => void;
11
+ adLoadedMediated: (adObj: AstAdObj) => void;
12
+ adNoBidMediated: (adObj: AstAdObj) => void;
13
+ };
14
+ export { siteEvents };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,3 @@
1
+ import { AstPageOptions } from 'core/interface/ast';
2
+ declare const _default: (pageOptions: AstPageOptions) => Promise<AstPageOptions>;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { SiteSpecificConfig } from 'core/interface/config';
2
+ declare const siteSpecificConfig: SiteSpecificConfig;
3
+ export { siteSpecificConfig };
@@ -0,0 +1,14 @@
1
+ import { AstAdError, AstAdObj } from 'core/interface/ast';
2
+ declare const siteEvents: {
3
+ adRequested: () => void;
4
+ adAvailable: (adObj: AstAdObj) => void;
5
+ adLoaded: (adObj: AstAdObj) => void;
6
+ adNoBid: (adObj: AstAdObj) => void;
7
+ adError: (adError: AstAdError, adObj: AstAdObj) => void;
8
+ adCollapse: () => void;
9
+ adRequestFailure: (adError: AstAdError) => void;
10
+ adBadRequest: (adError: AstAdError) => void;
11
+ adLoadedMediated: (adObj: AstAdObj) => void;
12
+ adNoBidMediated: (adObj: AstAdObj) => void;
13
+ };
14
+ export { siteEvents };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,3 @@
1
+ import { AstPageOptions } from 'core/interface/ast';
2
+ declare const _default: (pageOptions: AstPageOptions) => Promise<AstPageOptions>;
3
+ export default _default;