@tivio/sdk-react 9.5.0 → 9.7.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/dist/index.d.ts CHANGED
@@ -7,6 +7,7 @@ import type { default as firebase_2 } from '@firebase/app-types';
7
7
  import type { default as firebase_3 } from 'firebase';
8
8
  import { FunctionComponentElement } from 'react';
9
9
  import type { GeoPoint } from '@firebase/firestore-types';
10
+ import type { google } from '@alugha/ima';
10
11
  import { OperatingSystem } from 'detect-browser';
11
12
  import type { PaletteType } from '@material-ui/core';
12
13
  import { default as React_2 } from 'react';
@@ -429,6 +430,8 @@ export declare interface Article extends RowItem, MonetizableItem, ReactableCont
429
430
  detailBanner?: string;
430
431
  episodeNumber?: number;
431
432
  seasonNumber?: number;
433
+ urlNames?: string[];
434
+ urlName?: string;
432
435
  }
433
436
 
434
437
  /**
@@ -440,10 +443,13 @@ export declare interface ArticleBlock {
440
443
  type: ArticleBlockType;
441
444
  htmlContent?: string;
442
445
  imageUrl?: string;
446
+ imageUrlOriginal?: string;
447
+ imageUrlContain?: string;
443
448
  textContent?: string;
444
449
  videoId?: string;
445
450
  isOverflowImage?: boolean;
446
451
  imageDescription?: string;
452
+ use16By9Container?: boolean;
447
453
  }
448
454
 
449
455
  export declare interface ArticleBlockField extends Omit<ArticleBlock, 'textContent' | 'htmlContent'> {
@@ -462,6 +468,7 @@ export declare type ArticleBlockType = 'PARAGRAPH' | 'IMAGE' | 'VIDEO' | 'HEADIN
462
468
  */
463
469
  declare interface ArticleDocumentSerialized {
464
470
  type: 'ARTICLE';
471
+ id: string;
465
472
  name: Translation;
466
473
  description?: Translation;
467
474
  metadata?: ArticleMetadata;
@@ -503,6 +510,7 @@ export declare interface ArticleTileSpecificData {
503
510
  description?: Translation;
504
511
  monetizations?: TileMonetizationData[];
505
512
  externalUrl?: string;
513
+ urlName?: UrlNamesType;
506
514
  }
507
515
 
508
516
  /**
@@ -811,6 +819,12 @@ export declare interface CommonSourceParams<T extends SourceType = SourceType> {
811
819
  videoPath?: string;
812
820
  }
813
821
 
822
+ /**
823
+ * @public
824
+ * Re-export of Google IMA CompanionAd type for use throughout the SDK
825
+ */
826
+ export declare type CompanionAd = google.ima.CompanionAd;
827
+
814
828
  /**
815
829
  * Just another alias. Reexported for backward compatibility.
816
830
  * @public
@@ -1071,6 +1085,9 @@ export declare const CountryToLangCodeMap: {
1071
1085
  CZ: LangCode;
1072
1086
  PL: LangCode;
1073
1087
  SK: LangCode;
1088
+ DE: LangCode;
1089
+ AT: LangCode;
1090
+ CH: LangCode;
1074
1091
  };
1075
1092
 
1076
1093
  /**
@@ -1210,6 +1227,7 @@ export declare enum CustomerId {
1210
1227
  MIRA_BOSAK = "MIRA_BOSAK",
1211
1228
  KOVACIC_360 = "KOVACIC_360",
1212
1229
  SIFRA_TV = "SIFRA_TV",
1230
+ TBL = "TBL",
1213
1231
  BLESK = "BLESK",
1214
1232
  NERUDA_TV = "NERUDA_TV",
1215
1233
  DAVID_FRANK_TV = "DAVID_FRANK_TV",
@@ -1226,6 +1244,7 @@ export declare interface CustomScript {
1226
1244
  src: string;
1227
1245
  event?: EventName;
1228
1246
  isAsync?: boolean;
1247
+ defer?: boolean;
1229
1248
  }
1230
1249
 
1231
1250
  /**
@@ -1510,6 +1529,7 @@ export declare interface EmitterInterface {
1510
1529
  isSupported: (even: string) => boolean;
1511
1530
  addListener: <T = unknown>(event: string, cb: (value: T) => Empty_2) => void;
1512
1531
  removeListener: <T = unknown>(event: string, cb: (value: T) => Empty_2) => void;
1532
+ emitEvent: (event: string, value?: unknown) => void;
1513
1533
  }
1514
1534
 
1515
1535
  /**
@@ -1576,6 +1596,15 @@ export declare const fetchBundle: (secret: string, conf: InternalConfig, checkBu
1576
1596
  */
1577
1597
  declare type FetchPackage = (url: string) => Promise<string>;
1578
1598
 
1599
+ export declare interface FinishSignUpRequest {
1600
+ token: string;
1601
+ fName: string;
1602
+ lName: string;
1603
+ email: string;
1604
+ password: string;
1605
+ langCode?: LangCode;
1606
+ }
1607
+
1579
1608
  /**
1580
1609
  * @public
1581
1610
  */
@@ -1603,6 +1632,7 @@ export declare interface ForbiddenOnCallError extends GenericOnCallError {
1603
1632
  }
1604
1633
 
1605
1634
  export declare enum ForbiddenReason {
1635
+ AD_BLOCKING = "AD_BLOCKING",
1606
1636
  MONETIZATION = "MONETIZATION",
1607
1637
  GEO_BLOCKING = "GEO_BLOCKING",
1608
1638
  EMAIL_ALREADY_EXISTS = "EMAIL_ALREADY_EXISTS",
@@ -1665,9 +1695,13 @@ export declare type GeoBlocking = {
1665
1695
  blacklist: Array<any>;
1666
1696
  };
1667
1697
 
1668
- export declare interface GetArticleRequest {
1698
+ export declare type GetArticleRequest = {
1669
1699
  id: string;
1670
- }
1700
+ } | {
1701
+ idOrUrlName: string;
1702
+ organizationId: string;
1703
+ language: LangCode;
1704
+ };
1671
1705
 
1672
1706
  export declare interface GetArticleResponse {
1673
1707
  article: ArticleDocumentSerialized;
@@ -2280,12 +2314,16 @@ export declare enum LangCode {
2280
2314
  HU = "hu"
2281
2315
  }
2282
2316
 
2317
+ export declare const LangCodeToTitle: Partial<Record<LangCode, string>>;
2318
+
2283
2319
  /**
2284
2320
  * All supported languages codes as in ISO 639-1
2285
2321
  * @public
2286
2322
  */
2287
2323
  export declare const languages: LangCode[];
2288
2324
 
2325
+ export declare type LanguageSelector = 'application' | 'content';
2326
+
2289
2327
  /**
2290
2328
  * Possible language key of all supported language mutations.
2291
2329
  * @public
@@ -2334,7 +2372,13 @@ export declare interface LeaderboardsRequest {
2334
2372
  */
2335
2373
  export declare interface LinkedVideo {
2336
2374
  video: Video;
2337
- type: 'CUT' | 'TRAILER' | 'BONUS' | 'CHILD' | 'TEASER' | 'TASTING' | 'VIRTUAL_PROGRAM' | 'LANGUAGE'
2375
+ type: 'CUT' | 'TRAILER' | 'BONUS' | 'CHILD'
2376
+ /**
2377
+ * Recommendation for the video that appears ahead of
2378
+ * algorithmic recommendations on the detail page. Works one-way: if A
2379
+ * links to B, B is recommended for A only (unless B links back).
2380
+ */
2381
+ | 'RECOMMENDED' | 'TEASER' | 'TASTING' | 'VIRTUAL_PROGRAM' | 'LANGUAGE'
2338
2382
  /**
2339
2383
  * Will render separate mini-player on top of the main one, playing given video.
2340
2384
  */
@@ -2874,11 +2918,6 @@ export declare type Nullable<T> = {
2874
2918
  [P in keyof T]: T[P] | null;
2875
2919
  };
2876
2920
 
2877
- /**
2878
- * @public
2879
- */
2880
- export declare type ObjectType = Record<string, any>;
2881
-
2882
2921
  /**
2883
2922
  * @public
2884
2923
  */
@@ -3624,6 +3663,7 @@ export declare interface PlayerWrapper {
3624
3663
  isPaused: boolean;
3625
3664
  isPlaying: boolean;
3626
3665
  isIdle: boolean;
3666
+ isFullscreen: boolean;
3627
3667
  language: LangCode | null;
3628
3668
  nextRecommendedVideo: Video | null;
3629
3669
  prerollCheck: PrerollCheck;
@@ -3709,11 +3749,15 @@ export declare enum PlayerWrapperEvents {
3709
3749
  /**
3710
3750
  * Triggered when an ad starts playing
3711
3751
  */
3712
- 'ad_started' = "ad_started",
3752
+ 'ad-started' = "ad-started",
3713
3753
  /**
3714
3754
  * Triggered when an ad finishes playing
3715
3755
  */
3716
- 'ad_ended' = "ad_ended"
3756
+ 'ad-ended' = "ad-ended",
3757
+ /**
3758
+ * Triggered when companion ads are available for the current ad
3759
+ */
3760
+ 'companion-ads' = "companion-ads"
3717
3761
  }
3718
3762
 
3719
3763
  /**
@@ -5097,6 +5141,14 @@ export declare type SdkReactConfig = Omit<TivioConfig, 'language'> & {
5097
5141
  language?: LangCode;
5098
5142
  };
5099
5143
 
5144
+ /**
5145
+ * @public
5146
+ */
5147
+ export declare interface SDKUserAuthCallbacks {
5148
+ onGoToLogin?: () => void;
5149
+ onGoToRegistration?: () => void;
5150
+ }
5151
+
5100
5152
  /**
5101
5153
  * @public
5102
5154
  * @deprecated sections are no longer used.
@@ -5402,19 +5454,25 @@ export declare interface SimplifiedVideoController {
5402
5454
  }) => void): void;
5403
5455
  /**
5404
5456
  * Add an event listener for ad started events
5405
- * @param event - Must be 'ad_started'
5457
+ * @param event - Must be 'ad-started'
5406
5458
  * @param callback - Function called when an ad starts playing
5407
5459
  */
5408
- addEventListener(event: 'ad_started', callback: (adMetadata: AdMetadata & {
5460
+ addEventListener(event: 'ad-started', callback: (adMetadata: AdMetadata & {
5409
5461
  customAdMetadata?: Record<string, unknown> | null;
5410
5462
  ctaElement: HTMLElement | null;
5411
5463
  }) => void): void;
5412
5464
  /**
5413
5465
  * Add an event listener for ad ended events
5414
- * @param event - Must be 'ad_ended'
5466
+ * @param event - Must be 'ad-ended'
5415
5467
  * @param callback - Function called when an ad finishes playing
5416
5468
  */
5417
- addEventListener(event: 'ad_ended', callback: () => void): void;
5469
+ addEventListener(event: 'ad-ended', callback: () => void): void;
5470
+ /**
5471
+ * Add an event listener for companion ads events
5472
+ * @param event - Must be 'companion-ads'
5473
+ * @param callback - Function called when companion ads are available
5474
+ */
5475
+ addEventListener(event: 'companion-ads', callback: (companionAds: CompanionAd[]) => void): void;
5418
5476
  /**
5419
5477
  * Remove an event listener
5420
5478
  * @param event - The event name to stop listening for
@@ -5975,6 +6033,10 @@ export declare interface TivioComponents {
5975
6033
  ContentSortPicker: React_2.ComponentType<ContentSortPickerProps>;
5976
6034
  WebTivioProVideoScreen: React_2.ComponentType<WebTivioProVideoScreenProps>;
5977
6035
  RemoteController: React_2.ComponentType<RemoteControllerProps>;
6036
+ MonetizationsSelectOverlay: React_2.ComponentType;
6037
+ MonetizationsSelectOverlayContextProvider: React_2.ComponentType<{
6038
+ children: React_2.ReactNode;
6039
+ }>;
5978
6040
  }
5979
6041
 
5980
6042
  /**
@@ -5999,7 +6061,7 @@ export declare interface TivioConfig {
5999
6061
  };
6000
6062
  secret: string;
6001
6063
  /**
6002
- * Language used when isLanguageSelectionEnabled is false | undefined or when not possible to load language from local storage or localization worker
6064
+ * Language used when no languageSelector is set or when not possible to load language from local storage or localization worker
6003
6065
  */
6004
6066
  language: LangCode;
6005
6067
  debug?: boolean;
@@ -6007,15 +6069,16 @@ export declare interface TivioConfig {
6007
6069
  firebaseApp?: any | null;
6008
6070
  firebaseFactory?: (config: object, appName?: string) => firebase_2.FirebaseApp;
6009
6071
  authDomainOverride?: string;
6072
+ /**
6073
+ * @deprecated this field is no longer in use and has no impact when set.
6074
+ */
6010
6075
  firestore?: any | null;
6011
6076
  currency: Currency;
6012
6077
  /**
6013
- * A flag that indicates whether the language selection feature is enabled.
6014
- * Language is then stored to local storage 'tivio-user-language'.
6015
- * If nothing is stored in local storage, then language is set according to location
6016
- * When set to `true`, users are allowed to choose their preferred language
6078
+ * Represents an optional array of LanguageSelector objects.
6079
+ * Used to define and manage a list of supported languages for different language-usages (user, content,...).
6017
6080
  */
6018
- isLanguageSelectionEnabled?: boolean;
6081
+ languageSelectors?: Partial<Record<LanguageSelector, LangCode[]>>;
6019
6082
  applicationId?: string;
6020
6083
  isTivioProApp?: boolean;
6021
6084
  lockApplicationHandle?: string;
@@ -6042,6 +6105,7 @@ export declare interface TivioConfig {
6042
6105
  * customTokenCookiesDomain: 'example.com'
6043
6106
  */
6044
6107
  customTokenCookiesDomain?: string;
6108
+ enableGtmPlayerEvents?: boolean;
6045
6109
  }
6046
6110
 
6047
6111
  /**
@@ -6245,7 +6309,9 @@ export declare type TivioInternalProviders = {
6245
6309
  UserContextProvider: React_2.ComponentType<{
6246
6310
  children?: React_2.ReactNode;
6247
6311
  }>;
6248
- MonetizationsSelectOverlayContextProvider: React_2.ComponentType;
6312
+ MonetizationsSelectOverlayContextProvider: React_2.ComponentType<{
6313
+ children: React_2.ReactNode;
6314
+ }>;
6249
6315
  QerkoOverlayContextProvider: React_2.ComponentType;
6250
6316
  /**
6251
6317
  * @deprecated do not use, this provider will be removed in the future
@@ -6285,12 +6351,18 @@ export declare type TivioJsBundleExposedApi = {
6285
6351
  /**
6286
6352
  * Get tag by its id.
6287
6353
  * @param tagId - tag id
6288
- * @returns {Promise<Tag | null>} widget or null if tag does not exists
6354
+ * @returns {Promise<Tag | null>} tag or null if tag does not exists
6289
6355
  */
6290
6356
  getTagById: (tagId: string) => Promise<Tag | null>;
6357
+ /**
6358
+ * Get tags by their ids.
6359
+ * @param tagIds - tag ids
6360
+ * @returns {Promise<Tag[]} list of tags for given ids
6361
+ */
6362
+ getTagsByIds: (tagIds: string[]) => Promise<Tag[]>;
6291
6363
  createPlayerWrapper: (playerImplementation: PlayerInterfaceForPlayerWrapper) => TivioPlayerWrapper;
6292
6364
  destroy: () => Promise<void>;
6293
- } & Pick<TivioGetters, 'getVideoById' | 'getScreenById' | 'organization' | 'getUser'> & Pick<TivioSubscriptions, 'subscribeToVideo' | 'subscribeToItemsInRow' | 'subscribeToRowsInScreen'> & Pick<TivioAuth, 'createUserWithEmailAndPassword' | 'signInWithEmailAndPassword' | 'resetPassword' | 'signOut'> & Pick<TivioSetters, 'setBundleVersion' | 'setUser' | 'setLanguage' | 'setStorageManager'>;
6365
+ } & Pick<TivioGetters, 'getVideoById' | 'getScreenById' | 'organization' | 'getUser'> & Pick<TivioSubscriptions, 'subscribeToVideo' | 'subscribeToItemsInRow' | 'subscribeToRowsInScreen'> & Pick<TivioAuth, 'createUserWithEmailAndPassword' | 'signInWithEmailAndPassword' | 'resetPassword' | 'signOut'> & Pick<TivioSetters, 'setBundleVersion' | 'setUser' | 'setLanguage' | 'setContentLanguage' | 'setStorageManager'>;
6294
6366
 
6295
6367
  /**
6296
6368
  * @public
@@ -6362,6 +6434,7 @@ export declare type TivioSetters = {
6362
6434
  * @param language
6363
6435
  */
6364
6436
  setLanguage: (language: LangCode) => void;
6437
+ setContentLanguage: (language: LangCode) => void;
6365
6438
  setStorageManager: (storageManager: StorageManager_2) => void;
6366
6439
  setUser: (userId: string | null, userPayload?: UserPayload) => Promise<void>;
6367
6440
  };
@@ -6390,10 +6463,6 @@ export declare type TivioSubscriptions = {
6390
6463
  subscribeToItemsInRow: SubscribeToItemsInRow;
6391
6464
  subscribeToRowsInScreen: SubscribeToRowsInScreen;
6392
6465
  subscribeToTaggedVideos: SubscribeToTaggedVideos;
6393
- registerOverlayCallbacks: (callbacks: {
6394
- onShow: () => void;
6395
- onHide: () => void;
6396
- }) => void;
6397
6466
  };
6398
6467
 
6399
6468
  /**
@@ -6480,7 +6549,7 @@ export declare interface TvAppProps {
6480
6549
  /**
6481
6550
  * @public
6482
6551
  */
6483
- export declare interface TvChannel extends RowItem {
6552
+ export declare interface TvChannel extends RowItem, MonetizableItem {
6484
6553
  id: string;
6485
6554
  itemType: ROW_ITEM_TYPES.TV_CHANNEL;
6486
6555
  name: string;
@@ -6491,17 +6560,11 @@ export declare interface TvChannel extends RowItem {
6491
6560
  logoPendingOverlayWidth?: string;
6492
6561
  hls: string;
6493
6562
  dash: string;
6494
- /**
6495
- * Returns all transactions and subscriptions applied to this tv channel.
6496
- * Transactions before subscriptions, sorted by price ascending.
6497
- */
6498
- getPurchasableMonetizations(options?: GetPurchasableMonetizationsOptions): PurchasableMonetization[];
6499
6563
  getSourceUrl(options?: {
6500
6564
  language?: LangCode;
6501
6565
  }): Promise<GetSourceUrlResponse & {
6502
6566
  language?: LangCode;
6503
6567
  }>;
6504
- purchasableMonetization: any | null;
6505
6568
  price: number;
6506
6569
  cover: string;
6507
6570
  isPlayable: boolean;
@@ -6615,6 +6678,10 @@ export declare type UpdateNotificationSettingsResponse = Promise<boolean>;
6615
6678
 
6616
6679
  export declare type UpsertCommentResponse = AddEditCommentResponse | DeleteCommentResponse;
6617
6680
 
6681
+ export declare type UrlNamesType = {
6682
+ [key in LangCode]?: string[];
6683
+ };
6684
+
6618
6685
  /**
6619
6686
  * @public
6620
6687
  */
@@ -7244,23 +7311,18 @@ export declare type VastApiFramework = string | 'VPAID' | null;
7244
7311
  * @public
7245
7312
  */
7246
7313
  export declare enum VastProvider {
7247
- CNC_PREBID = "cnc-prebid",
7248
7314
  CNC_STARGAZE_PREROLL_1 = "cnc-stargaze-preroll-1",
7249
7315
  CNC_STARGAZE_PREROLL_2 = "cnc-stargaze-preroll-2",
7250
7316
  CNC_STARGAZE_MIDROLL = "cnc-stargaze-midroll",
7251
- ETARGET_PREBID = "etarget-prebid",
7252
7317
  FALLBACK_HLS = "fallback-hls",
7253
7318
  FALLBACK_MP4 = "fallback",
7254
7319
  GARAZ_TV = "garaz.tv",
7255
7320
  GARAZ_TV_DEV = "garaz.tv.dev",
7256
- IMPRESSION_MEDIA_PREBID = "impressionMedia-prebid",
7257
7321
  JOJ_ADFORM = "joj",
7258
7322
  JOJ_SMART = "joj-smart",
7259
7323
  JOJ_AD_MANAGER_VOD_PREROLL = "joj-ad-manager-vod-preroll",
7260
7324
  JOJ_AD_MANAGER_VOD_MIDROLL = "joj-ad-manager-vod-midroll",
7261
7325
  JOJ_AD_MANAGER_LIVE_PREROLL = "joj-ad-manager-live-preroll",
7262
- MALL_TV = "malltv",
7263
- MALL_TV_PREBID = "malltv-prebid",
7264
7326
  PRIMA = "prima",
7265
7327
  TEST = "test",
7266
7328
  TEST_VPAID = "test-vpaid",
@@ -7372,6 +7434,7 @@ export declare interface Video extends RowItem, MonetizableItem, ReactableConten
7372
7434
  forcedCapabilities: PlayerCapability[] | null;
7373
7435
  mainLinkedVideoId?: string;
7374
7436
  getLinkedVideoIdByLanguage: (lang: LangCode) => string | undefined;
7437
+ externals?: VideoExternals;
7375
7438
  }
7376
7439
 
7377
7440
  /**
@@ -7407,9 +7470,10 @@ export declare interface VideoController {
7407
7470
  muted: boolean;
7408
7471
  volume: number;
7409
7472
  }) => void): void;
7410
- addEventListener(event: 'ad_started', callback: (value: AdMetadata & {
7473
+ addEventListener(event: 'ad-started', callback: (value: AdMetadata & {
7411
7474
  adCtaElement: HTMLElement | null;
7412
7475
  }) => void): void;
7476
+ addEventListener(event: 'companion-ads', callback: (value: CompanionAd[]) => void): void;
7413
7477
  /**
7414
7478
  * Remove an event listener
7415
7479
  * @param event - The event name to stop listening for
@@ -7665,7 +7729,7 @@ export declare interface VideoTileSpecificData {
7665
7729
  assets?: AssetsField;
7666
7730
  episodeNumber?: number;
7667
7731
  seasonNumber?: number;
7668
- urlName?: VideoUrlNames;
7732
+ urlName?: UrlNamesType;
7669
7733
  monetizations?: VideoTileMonetizationData[];
7670
7734
  description?: Translation;
7671
7735
  }
@@ -7734,13 +7798,6 @@ export declare enum VideoType {
7734
7798
  CHILD = "CHILD"
7735
7799
  }
7736
7800
 
7737
- /**
7738
- * @public
7739
- */
7740
- export declare type VideoUrlNames = {
7741
- [key in LangCode]?: string[];
7742
- };
7743
-
7744
7801
  export declare interface ViewCountItem {
7745
7802
  /**
7746
7803
  * Unix timestamp
@@ -7911,6 +7968,7 @@ export declare interface Watermark {
7911
7968
 
7912
7969
  export declare interface WebConfig {
7913
7970
  customer: CustomerId;
7971
+ customerName?: string;
7914
7972
  title?: string;
7915
7973
  description?: string;
7916
7974
  logo: string;
@@ -7926,16 +7984,35 @@ export declare interface WebConfig {
7926
7984
  * Text on buy voucher button, if not provided the default text will be used.
7927
7985
  */
7928
7986
  buyVoucherButtonText?: string;
7987
+ /**
7988
+ * If true, the voucher button will be shown in the header.
7989
+ */
7990
+ showVoucherButton?: boolean;
7929
7991
  allowSearch?: boolean;
7930
7992
  logoHeight?: string;
7931
7993
  mobileLogoHeight?: string;
7932
7994
  buySubscriptionButtonText?: string;
7995
+ isHidden?: boolean;
7996
+ /**
7997
+ * Additional menu items to be shown in the rounded menu in the header (external or internal)
7998
+ */
7999
+ additionalMenuItems?: {
8000
+ name: string;
8001
+ href: string;
8002
+ newTab?: boolean;
8003
+ }[];
7933
8004
  };
7934
8005
  footer?: {
8006
+ isHidden?: boolean;
7935
8007
  /**
7936
8008
  * If logo is different from logo in header
7937
8009
  */
7938
8010
  logo?: string;
8011
+ /**
8012
+ * @fixme https://app.clickup.com/t/90151157205/TIV-1515
8013
+ * If multiple logos are provided, the multiple logos are prioritized over the single logo.
8014
+ */
8015
+ multipleLogos?: string[];
7939
8016
  showLogo?: boolean;
7940
8017
  /**
7941
8018
  * right panel - various type of contacts to owners of website
@@ -7978,6 +8055,19 @@ export declare interface WebConfig {
7978
8055
  email?: string;
7979
8056
  };
7980
8057
  cookieSettingsLabel?: string;
8058
+ disclaimer?: string;
8059
+ showDivider?: boolean;
8060
+ /**
8061
+ * Additional links to be shown in the footer
8062
+ */
8063
+ additionalLinks?: {
8064
+ name: string;
8065
+ href: string;
8066
+ }[];
8067
+ /**
8068
+ * Hide footer on these paths
8069
+ */
8070
+ hideFooter?: string[];
7981
8071
  partners?: {
7982
8072
  name: string;
7983
8073
  logo: string;
@@ -7993,6 +8083,14 @@ export declare interface WebConfig {
7993
8083
  * so app requires authorization to see them.
7994
8084
  */
7995
8085
  securedContent?: boolean;
8086
+ /**
8087
+ * If true, then auth is required for all pages.
8088
+ */
8089
+ isAuthRequired?: boolean;
8090
+ /**
8091
+ * If true, then buy subscription button is hidden.
8092
+ */
8093
+ hideBuySubscriptionButton?: boolean;
7996
8094
  /**
7997
8095
  * CSS styles for application background.
7998
8096
  */
@@ -8011,6 +8109,10 @@ export declare interface WebConfig {
8011
8109
  * Default is TRUE (see {@link AppLoadingOverlay}
8012
8110
  */
8013
8111
  showProgressBar?: boolean;
8112
+ /**
8113
+ * URL to background image shown on loading screen.
8114
+ */
8115
+ backgroundUrl?: string;
8014
8116
  };
8015
8117
  /**
8016
8118
  * Slug of all pages where user will be forced to fill login form if he's not logged in.
@@ -8038,6 +8140,7 @@ export declare interface WebConfig {
8038
8140
  */
8039
8141
  showChooseSubscription?: boolean;
8040
8142
  registration?: {
8143
+ logoMarginTop?: string;
8041
8144
  /**
8042
8145
  * Customization of auth form
8043
8146
  */
@@ -8057,6 +8160,7 @@ export declare interface WebConfig {
8057
8160
  showAcceptanceOfTermsAndConditions?: boolean;
8058
8161
  };
8059
8162
  registrationConsent?: string;
8163
+ socialRegistrationConsent?: string;
8060
8164
  };
8061
8165
  payment?: {
8062
8166
  paymentConsent?: string;
@@ -8067,9 +8171,11 @@ export declare interface WebConfig {
8067
8171
  */
8068
8172
  supportVouchers?: boolean;
8069
8173
  /**
8070
- * Config for Google Tag Manager
8174
+ * Config for Google Tag Manager with optional shouldWaitForDidomi flag
8071
8175
  */
8072
- googleTagManagerConfig?: TagManagerArgs;
8176
+ googleTagManagerConfig?: TagManagerArgs & {
8177
+ shouldWaitForDidomi?: boolean;
8178
+ };
8073
8179
  customScripts?: CustomScript[];
8074
8180
  /**
8075
8181
  * Favicons config
@@ -8088,6 +8194,8 @@ export declare interface WebConfig {
8088
8194
  };
8089
8195
  monetizationSelectOverlay?: {
8090
8196
  title?: string;
8197
+ benefitLeftIcon?: string;
8198
+ showFullMonetizationOnMobile?: boolean;
8091
8199
  };
8092
8200
  /**
8093
8201
  * Google Analytics ID. If provided, Google Analytics will be enabled.
@@ -8099,6 +8207,7 @@ export declare interface WebConfig {
8099
8207
  centeredMenu?: boolean;
8100
8208
  /**
8101
8209
  * All values are considered as false if not provided.
8210
+ * @deprecated - use settings.allowedSignInProviders inside OrganizationDocument
8102
8211
  */
8103
8212
  socialLogins?: {
8104
8213
  showAppleLogin?: boolean;
@@ -8113,15 +8222,32 @@ export declare interface WebConfig {
8113
8222
  * If true, robots.txt will prevent crawling of the website.
8114
8223
  */
8115
8224
  norobots?: boolean;
8116
- customTranslations?: {
8117
- [key: string]: {
8118
- [key: string]: string;
8119
- };
8225
+ voucher?: {
8226
+ voucherConsent: string;
8227
+ };
8228
+ customTranslations?: Record<string, Record<string, string>>;
8229
+ onPurchase?: (monetization: Purchase) => void;
8230
+ facebookPixelConfig?: {
8231
+ pixelId: string;
8232
+ shouldWaitForDidomi?: boolean;
8120
8233
  };
8234
+ /**
8235
+ * If true, the app will be locked in the "remote controller" mode.
8236
+ * This means that the app will not be able to navigate to other pages and will only show the remote controller.
8237
+ */
8238
+ isRemoteControllerApp?: boolean;
8239
+ /**
8240
+ * Determines if application should check allowed URL handles when switching applications.
8241
+ */
8242
+ disableUrlHandleCheck?: boolean;
8121
8243
  /**
8122
8244
  * Map for all handlers
8123
8245
  */
8124
8246
  handlers?: PurchaseEventHandlers;
8247
+ homeScreen?: {
8248
+ useFullHeight?: boolean;
8249
+ };
8250
+ disableModalSwitcher?: boolean;
8125
8251
  }
8126
8252
 
8127
8253
  /**
@@ -8227,6 +8353,7 @@ export declare interface WebPlayerProps {
8227
8353
  hideOverlay?: boolean;
8228
8354
  sourcePlayMode?: SourcePlayMode;
8229
8355
  adsConfig?: StaticAdsBreak[];
8356
+ userAuthCallbacks?: SDKUserAuthCallbacks;
8230
8357
  }
8231
8358
 
8232
8359
  /**