@schibsted/advertory 2.51.9 → 2.53.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 (108) hide show
  1. package/core/aftenposten/es/index.css +1 -1
  2. package/core/aftenposten/es/index.d.ts +9 -0
  3. package/core/aftenposten/es/index.js +1 -1
  4. package/core/aftenposten/index.d.ts +9 -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 +9 -0
  8. package/core/aftonbladet/es/index.js +1 -1
  9. package/core/aftonbladet/index.d.ts +9 -0
  10. package/core/aftonbladet/index.js +1 -1
  11. package/core/aftonbladetv2/es/index.css +1 -1
  12. package/core/aftonbladetv2/es/index.d.ts +9 -0
  13. package/core/aftonbladetv2/es/index.js +1 -1
  14. package/core/bt/es/index.css +1 -1
  15. package/core/bt/es/index.d.ts +9 -0
  16. package/core/bt/es/index.js +1 -1
  17. package/core/bt/index.d.ts +9 -0
  18. package/core/bt/index.js +1 -1
  19. package/core/e24/es/index.css +1 -1
  20. package/core/e24/es/index.d.ts +9 -0
  21. package/core/e24/es/index.js +1 -1
  22. package/core/e24/index.d.ts +9 -0
  23. package/core/e24/index.js +1 -1
  24. package/core/e24v2/es/index.css +1 -1
  25. package/core/e24v2/es/index.d.ts +9 -0
  26. package/core/e24v2/es/index.js +1 -1
  27. package/core/fotbollskanalen/es/index.d.ts +9 -0
  28. package/core/fotbollskanalen/es/index.js +1 -1
  29. package/core/fotbollskanalen/index.d.ts +9 -0
  30. package/core/fotbollskanalen/index.js +1 -1
  31. package/core/godare/index.d.ts +9 -0
  32. package/core/godare/index.js +1 -1
  33. package/core/godt/index.d.ts +9 -0
  34. package/core/godt/index.js +1 -1
  35. package/core/klart/index.d.ts +9 -0
  36. package/core/klart/index.js +1 -1
  37. package/core/koket/es/index.css +1 -1
  38. package/core/koket/es/index.d.ts +9 -0
  39. package/core/koket/es/index.js +1 -1
  40. package/core/koket/index.d.ts +9 -0
  41. package/core/koket/index.js +1 -1
  42. package/core/kompakt/index.d.ts +9 -0
  43. package/core/kompakt/index.js +1 -1
  44. package/core/minmote/index.d.ts +9 -0
  45. package/core/minmote/index.js +1 -1
  46. package/core/pent/index.d.ts +9 -0
  47. package/core/pent/index.js +1 -1
  48. package/core/sa/es/index.css +1 -1
  49. package/core/sa/es/index.d.ts +9 -0
  50. package/core/sa/es/index.js +1 -1
  51. package/core/sa/index.d.ts +9 -0
  52. package/core/sa/index.js +1 -1
  53. package/core/svd/es/index.css +1 -1
  54. package/core/svd/es/index.d.ts +9 -0
  55. package/core/svd/es/index.js +1 -1
  56. package/core/svd/index.d.ts +9 -0
  57. package/core/svd/index.js +1 -1
  58. package/core/svdv2/es/index.css +1 -1
  59. package/core/svdv2/es/index.d.ts +9 -0
  60. package/core/svdv2/es/index.js +1 -1
  61. package/core/tek/index.d.ts +9 -0
  62. package/core/tek/index.js +1 -1
  63. package/core/tv4/es/index.d.ts +9 -0
  64. package/core/tv4/es/index.js +1 -1
  65. package/core/tv4/index.d.ts +9 -0
  66. package/core/tv4/index.js +1 -1
  67. package/core/tvnu/index.d.ts +9 -0
  68. package/core/tvnu/index.js +1 -1
  69. package/core/vg/es/index.css +1 -1
  70. package/core/vg/es/index.d.ts +9 -0
  71. package/core/vg/es/index.js +1 -1
  72. package/core/vg/index.d.ts +9 -0
  73. package/core/vg/index.js +1 -1
  74. package/core/vgv2/es/index.css +1 -1
  75. package/core/vgv2/es/index.d.ts +9 -0
  76. package/core/vgv2/es/index.js +1 -1
  77. package/features/ad-native/index.d.ts +4 -0
  78. package/features/brandmetrics/index.js +1 -1
  79. package/features/dr-edition/es/index.d.ts +4 -0
  80. package/features/dr-edition/es/index.js +1 -1
  81. package/features/dr-edition/index.d.ts +4 -0
  82. package/features/dr-edition/index.js +1 -1
  83. package/features/glimr/index.js +1 -1
  84. package/features/tracker/index.d.ts +362 -5
  85. package/features/tracker/index.js +1 -1
  86. package/package.json +1 -1
  87. package/sites/aftenposten/es/index.css +1 -1
  88. package/sites/aftonbladet/es/index.css +1 -1
  89. package/sites/bt/es/index.css +1 -1
  90. package/sites/e24/es/index.css +1 -1
  91. package/sites/e24v2/es/index.css +1 -1
  92. package/sites/fotbollskanalen/es/index.css +1 -1
  93. package/sites/koket/es/index.css +1 -1
  94. package/sites/sa/es/index.css +1 -1
  95. package/sites/svd/es/index.css +1 -1
  96. package/sites/svdv2/es/index.css +1 -1
  97. package/sites/tv4/es/index.css +1 -1
  98. package/sites/vg/es/index.css +1 -1
  99. package/sites/vgv2/es/index.css +1 -1
  100. package/types/core/handlers/ad-invcode/index.d.ts +1 -1
  101. package/types/core/handlers/tcf/consent.d.ts +3 -0
  102. package/types/core/handlers/tcf/consent.test.d.ts +1 -0
  103. package/types/core/handlers/tcf/schibsted-ad-choices.d.ts +4 -0
  104. package/types/core/interface/config.d.ts +4 -0
  105. package/types/core/interface/tcf.d.ts +5 -0
  106. package/types/features/interface/tracker.d.ts +0 -9
  107. package/types/features/tracker/index.d.ts +3 -2
  108. package/types/tests/types.d.ts +1 -0
@@ -391,6 +391,7 @@ interface SiteConfig {
391
391
  useS3Config?: boolean;
392
392
  pageTypeToFetch?: string;
393
393
  };
394
+ useAppTabletInvCode?: boolean;
394
395
  }
395
396
  interface NativeTrackingConfig {
396
397
  nativeTrackingEnabled?: boolean;
@@ -503,6 +504,9 @@ interface PrebidConfig {
503
504
  }
504
505
  interface TCFConfig {
505
506
  enabled: boolean;
507
+ schibstedAdChoicesEnabled?: boolean;
508
+ schibstedConsentToPayEnabled?: boolean;
509
+ schibstedAdChoicesOverrideValue?: string;
506
510
  timeout?: number;
507
511
  }
508
512
  interface GlimrConfig {
@@ -611,9 +615,14 @@ type PlacementBatchesConfig = {
611
615
  type IsConsentedToAll = (callback: ConsentedToAllCallback) => void;
612
616
  type ConsentedToAllCallback = (value: boolean) => void;
613
617
  type GetConsentToAllSync = () => boolean | null;
618
+ type GetPermissionSync = (permissionName: string) => boolean | null;
619
+ type GetPermissionCallback = (value: boolean) => void;
620
+ type GetPermission = (permissionName: string, callback: GetPermissionCallback) => void;
614
621
  interface ConsentManager {
615
622
  getConsentedToAllSync: GetConsentToAllSync;
616
623
  isConsentedToAll: IsConsentedToAll;
624
+ getPermissionSync: GetPermissionSync;
625
+ getPermission: GetPermission;
617
626
  }
618
627
 
619
628
  interface AlertoryTag {