@tivio/sdk-react 11.0.0 → 12.0.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/README.md +317 -0
- package/README.md.bak +317 -0
- package/dist/index.d.ts +620 -146
- package/dist/index.js +1 -1
- package/dist/sdk-react.d.ts +808 -154
- package/package.json +23 -22
- package/vitest.config.mjs +24 -0
package/dist/sdk-react.d.ts
CHANGED
|
@@ -5,7 +5,6 @@ import type firebase from '@firebase/app-types';
|
|
|
5
5
|
import { FunctionComponentElement } from 'react';
|
|
6
6
|
import type { GeoPoint } from '@firebase/firestore-types';
|
|
7
7
|
import { OperatingSystem } from 'detect-browser';
|
|
8
|
-
import type { PaletteType } from '@material-ui/core';
|
|
9
8
|
import { default as React_2 } from 'react';
|
|
10
9
|
import type { RecommendationsQuery } from '@algolia/recommend';
|
|
11
10
|
import type { TagManagerArgs } from 'react-gtm-module';
|
|
@@ -42,6 +41,21 @@ export declare type ActivateVoucherResponse = string | ActivatedPromotionsRespon
|
|
|
42
41
|
|
|
43
42
|
export declare type ActivateVoucherResponseFormat = 'legacy' | 'extended';
|
|
44
43
|
|
|
44
|
+
/**
|
|
45
|
+
* Request body for the `activeViewerPing` cloud function. Sent once by a client when it
|
|
46
|
+
* opens an interactive widget for the given content, to register the user as a viewer that
|
|
47
|
+
* joined the content. The (distinct) viewer records are later counted to compute the
|
|
48
|
+
* content's active-user number — "active" here means "joined", we don't track whether they
|
|
49
|
+
* later left.
|
|
50
|
+
*/
|
|
51
|
+
export declare interface ActiveViewerPingRequest {
|
|
52
|
+
/**
|
|
53
|
+
* Firestore path of the content document the user has an interactive widget open for
|
|
54
|
+
* (e.g. `videos/<id>`).
|
|
55
|
+
*/
|
|
56
|
+
contentPath: string;
|
|
57
|
+
}
|
|
58
|
+
|
|
45
59
|
declare interface actualPriceDetails {
|
|
46
60
|
amountCents: number;
|
|
47
61
|
currency?: primaSupportedCurrency;
|
|
@@ -424,6 +438,16 @@ export declare interface Application extends RowItem {
|
|
|
424
438
|
isEnabled: boolean;
|
|
425
439
|
}
|
|
426
440
|
|
|
441
|
+
/**
|
|
442
|
+
* Derived Stargaze lifecycle state. This value is never persisted on an
|
|
443
|
+
* application document.
|
|
444
|
+
*/
|
|
445
|
+
export declare enum ApplicationLifecycleStatus {
|
|
446
|
+
DRAFT = "DRAFT",
|
|
447
|
+
PREVIEW = "PREVIEW",
|
|
448
|
+
PUBLISHED = "PUBLISHED"
|
|
449
|
+
}
|
|
450
|
+
|
|
427
451
|
/**
|
|
428
452
|
* @public
|
|
429
453
|
*/
|
|
@@ -679,14 +703,12 @@ export declare interface BaseInteractiveWidget<TAnswer extends BaseQuestionAnswe
|
|
|
679
703
|
* Id of the answer option the current user picked for {@link currentQuestion}.
|
|
680
704
|
*
|
|
681
705
|
* @remarks
|
|
682
|
-
* This is
|
|
683
|
-
*
|
|
684
|
-
*
|
|
685
|
-
*
|
|
686
|
-
*
|
|
687
|
-
* the user
|
|
688
|
-
* device/session and resets when the question changes — it does not reflect a vote
|
|
689
|
-
* made by the same user elsewhere.
|
|
706
|
+
* This is optimistic local state set before the backend responds. Quizzes and
|
|
707
|
+
* repeatable polls roll back a failed submission. Nonrepeatable polls retain
|
|
708
|
+
* their optimistic choice on failure for this session. The value shows the most
|
|
709
|
+
* recently selected answer, not the full history of repeat votes. It resets when
|
|
710
|
+
* the question changes. On reload, the widget can restore the accepted choice
|
|
711
|
+
* from the current user's stored answers.
|
|
690
712
|
*/
|
|
691
713
|
readonly currentAnswerId?: string;
|
|
692
714
|
/**
|
|
@@ -713,16 +735,33 @@ export declare interface BaseInteractiveWidget<TAnswer extends BaseQuestionAnswe
|
|
|
713
735
|
readonly questionIndex?: number;
|
|
714
736
|
/**
|
|
715
737
|
* Whether the current user has submitted an answer for {@link currentQuestion}.
|
|
738
|
+
* Repeatable polls set this after confirmation and keep it true after the first
|
|
739
|
+
* accepted vote. Use canVote to decide whether another vote can be submitted.
|
|
716
740
|
*
|
|
717
741
|
* @remarks
|
|
718
|
-
*
|
|
719
|
-
*
|
|
720
|
-
*
|
|
721
|
-
*
|
|
722
|
-
* submitted for this session. It is scoped to this device/session and resets when
|
|
723
|
-
* the question changes.
|
|
742
|
+
* In nonrepeatable mode this is optimistic: it becomes true before the server
|
|
743
|
+
* responds. Quizzes revert it on failure; nonrepeatable polls keep it true for
|
|
744
|
+
* the session. Repeatable polls set it only after an accepted vote or a history
|
|
745
|
+
* restore. It resets when the question changes.
|
|
724
746
|
*/
|
|
725
747
|
readonly isSubmitted?: boolean;
|
|
748
|
+
/**
|
|
749
|
+
* Polls only. True allows additional votes for the same question, including
|
|
750
|
+
* for the same answer. False or undefined means one vote per user per question.
|
|
751
|
+
*/
|
|
752
|
+
readonly allowRepeatVotesPerQuestion?: boolean;
|
|
753
|
+
/**
|
|
754
|
+
* Minimum whole seconds between accepted votes for the same user and question.
|
|
755
|
+
* Undefined and zero allow immediate repeats. Negative values are invalid.
|
|
756
|
+
* Applies only when allowRepeatVotesPerQuestion is true.
|
|
757
|
+
*/
|
|
758
|
+
readonly minSecondsBetweenVotesPerQuestion?: number;
|
|
759
|
+
/** Whether another answer can be submitted now. Use this instead of isSubmitted for repeatable polls. */
|
|
760
|
+
readonly canVote?: boolean;
|
|
761
|
+
/** Server-derived deadline for this voter and question. The date may be in the past once the cooldown ends. */
|
|
762
|
+
readonly nextAllowedVoteAt?: Date;
|
|
763
|
+
/** Reactive whole seconds until another vote is allowed; zero when there is no cooldown. */
|
|
764
|
+
readonly secondsUntilNextVote?: number;
|
|
726
765
|
readonly userRole: InteractiveWidgetRole;
|
|
727
766
|
readonly scenes: TScene[];
|
|
728
767
|
readonly activeScene: TScene | null;
|
|
@@ -883,27 +922,46 @@ export declare interface BufferPercentChunk extends BufferChunk {
|
|
|
883
922
|
*/
|
|
884
923
|
export declare const bundlePromise: Promise<RemoteBundleState>;
|
|
885
924
|
|
|
886
|
-
/**
|
|
887
|
-
* @internal
|
|
888
|
-
*/
|
|
889
925
|
export declare interface ButtonOptions {
|
|
890
|
-
backgroundImage
|
|
891
|
-
borderRadius
|
|
926
|
+
backgroundImage?: string;
|
|
927
|
+
borderRadius?: string | number;
|
|
892
928
|
color?: string;
|
|
893
929
|
padding?: string;
|
|
894
930
|
maxWidth?: string;
|
|
931
|
+
minHeight?: string;
|
|
932
|
+
textTransform?: string;
|
|
933
|
+
letterSpacing?: string;
|
|
934
|
+
fontSize?: string;
|
|
935
|
+
fontWeight?: string | number;
|
|
936
|
+
boxShadow?: string;
|
|
937
|
+
backgroundColor?: string;
|
|
938
|
+
hoverBackgroundColor?: string;
|
|
939
|
+
/** Per-size overrides. Falls back to global fontSize/minHeight if not set. */
|
|
940
|
+
xsmall?: ButtonSizeOptions;
|
|
941
|
+
small?: ButtonSizeOptions;
|
|
942
|
+
large?: ButtonSizeOptions;
|
|
943
|
+
/**
|
|
944
|
+
* Optional customer-specific visual correction for button labels.
|
|
945
|
+
*/
|
|
946
|
+
labelFontWeight?: string | number;
|
|
947
|
+
labelVerticalOffset?: string;
|
|
895
948
|
primary?: ButtonVariantOptions;
|
|
896
949
|
secondary?: ButtonVariantOptions;
|
|
897
950
|
transparent?: ButtonVariantOptions;
|
|
898
951
|
disabled?: ButtonVariantOptions;
|
|
899
952
|
}
|
|
900
953
|
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
954
|
+
export declare interface ButtonSizeOptions {
|
|
955
|
+
fontSize?: string;
|
|
956
|
+
minHeight?: string;
|
|
957
|
+
}
|
|
958
|
+
|
|
904
959
|
export declare interface ButtonVariantOptions {
|
|
905
960
|
border?: string;
|
|
906
961
|
backgroundImage?: string;
|
|
962
|
+
backgroundColor?: string;
|
|
963
|
+
hoverBackgroundColor?: string;
|
|
964
|
+
color?: string;
|
|
907
965
|
disabledBackgroundColor?: string;
|
|
908
966
|
disabledColor?: string;
|
|
909
967
|
}
|
|
@@ -1373,6 +1431,8 @@ export declare interface ConversionsTargetItem {
|
|
|
1373
1431
|
|
|
1374
1432
|
export declare type CountdownScene = InteractiveWidgetSceneBase<InteractiveWidgetSceneTemplateType.COUNTDOWN>;
|
|
1375
1433
|
|
|
1434
|
+
export declare type CountryIsoCode = typeof ISO_3166_ALPHA_2_COUNTRY_CODES[number];
|
|
1435
|
+
|
|
1376
1436
|
/**
|
|
1377
1437
|
* Maps supported country codes (ISO 3166-1 alpha-2) to their primary language codes (ISO 639-1).
|
|
1378
1438
|
* Used to determine the default language settings for specific countries.
|
|
@@ -1386,6 +1446,7 @@ export declare const CountryToLangCodeMap: {
|
|
|
1386
1446
|
DE: LangCode;
|
|
1387
1447
|
AT: LangCode;
|
|
1388
1448
|
CH: LangCode;
|
|
1449
|
+
UZ: LangCode;
|
|
1389
1450
|
};
|
|
1390
1451
|
|
|
1391
1452
|
/**
|
|
@@ -1410,9 +1471,9 @@ export declare const createPubSub: () => PubSub;
|
|
|
1410
1471
|
*/
|
|
1411
1472
|
export declare const createRemotePackageLoader: () => (secret: string, conf: InternalConfig, checkBundleCharCount?: boolean, skipCache?: boolean) => Promise<TivioBundle>;
|
|
1412
1473
|
|
|
1413
|
-
export declare const createTivio: () => (conf: SdkReactConfig) => Promise<RemoteBundleState
|
|
1474
|
+
export declare const createTivio: () => ((conf: SdkReactConfig) => Promise<RemoteBundleState>);
|
|
1414
1475
|
|
|
1415
|
-
export declare const createUseRemoteBundle: () => (sdkReactConfig: SdkReactConfig, checkBundleCharCount?: boolean, skipCache?: boolean) => RemoteBundleState;
|
|
1476
|
+
export declare const createUseRemoteBundle: () => ((sdkReactConfig: SdkReactConfig, checkBundleCharCount?: boolean, skipCache?: boolean) => RemoteBundleState);
|
|
1416
1477
|
|
|
1417
1478
|
export declare interface CreateUserPayload {
|
|
1418
1479
|
displayName?: string;
|
|
@@ -1461,13 +1522,13 @@ export declare const CURRENCIES: Currency[];
|
|
|
1461
1522
|
* Three upper-case letters according to ISO-4217.
|
|
1462
1523
|
* @public
|
|
1463
1524
|
*/
|
|
1464
|
-
export declare type Currency = 'CZK' | 'EUR' | 'USD' | 'PLN';
|
|
1525
|
+
export declare type Currency = 'CZK' | 'EUR' | 'USD' | 'PLN' | 'HUF';
|
|
1465
1526
|
|
|
1466
1527
|
/**
|
|
1467
1528
|
* Necessary because keys in cloud function config cannot contain upper-case letters.
|
|
1468
1529
|
* Has to be in sync with {@link Currency}.
|
|
1469
1530
|
*/
|
|
1470
|
-
export declare type CurrencyLowerCase = 'czk' | 'eur' | 'usd' | 'pln';
|
|
1531
|
+
export declare type CurrencyLowerCase = 'czk' | 'eur' | 'usd' | 'pln' | 'huf';
|
|
1471
1532
|
|
|
1472
1533
|
/**
|
|
1473
1534
|
* @public
|
|
@@ -1542,6 +1603,7 @@ export declare enum CustomerId {
|
|
|
1542
1603
|
TV_LUX = "TV_LUX",
|
|
1543
1604
|
KVIFF = "KVIFF",
|
|
1544
1605
|
KVIFF_WEB = "KVIFF_WEB",
|
|
1606
|
+
CINEGO = "CINEGO",
|
|
1545
1607
|
SPORTY_TV = "SPORTY_TV",
|
|
1546
1608
|
PALATINUM = "PALATINUM",
|
|
1547
1609
|
MIRA_BOSAK = "MIRA_BOSAK",
|
|
@@ -1558,9 +1620,11 @@ export declare enum CustomerId {
|
|
|
1558
1620
|
PRIMA = "PRIMA",
|
|
1559
1621
|
NORA_FRIDRICHOVA = "NORA_FRIDRICHOVA",
|
|
1560
1622
|
LONGEVITY = "LONGEVITY",
|
|
1623
|
+
HEALTHY_LONGEVITY = "HEALTHY_LONGEVITY",
|
|
1561
1624
|
ZASAHTV = "ZASAHTV",
|
|
1562
1625
|
ELISKAFLOW = "ELISKAFLOW",
|
|
1563
1626
|
PRIJIMACKY = "PRIJIMACKY",
|
|
1627
|
+
PRIJIMACKY_5_TRIDA = "PRIJIMACKY_5_TRIDA",
|
|
1564
1628
|
PADNI_KOMU_PADNI = "PADNI_KOMU_PADNI",
|
|
1565
1629
|
KRYPTOSPACE = "KRYPTOSPACE",
|
|
1566
1630
|
ERADIX = "ERADIX",
|
|
@@ -1579,7 +1643,12 @@ export declare enum CustomerId {
|
|
|
1579
1643
|
NCSLM = "NCSLM",
|
|
1580
1644
|
DOUCKO_S_ROBINEM = "DOUCKO_S_ROBINEM",
|
|
1581
1645
|
KVIZ_PLEASE = "KVIZ_PLEASE",
|
|
1582
|
-
TALKSHOW_KOTAK_LIVE = "TALKSHOW_KOTAK_LIVE"
|
|
1646
|
+
TALKSHOW_KOTAK_LIVE = "TALKSHOW_KOTAK_LIVE",
|
|
1647
|
+
TELEVIZE_PRO_VSECHNY = "TELEVIZE_PRO_VSECHNY",
|
|
1648
|
+
G_TV_MMA = "G_TV_MMA",
|
|
1649
|
+
SLOVAN_BRATISLAVA = "SLOVAN_BRATISLAVA",
|
|
1650
|
+
FIGHT_MODE = "FIGHT_MODE",
|
|
1651
|
+
PARAHOCKEY = "PARAHOCKEY"
|
|
1583
1652
|
}
|
|
1584
1653
|
|
|
1585
1654
|
/**
|
|
@@ -1607,6 +1676,7 @@ export declare interface Customizations {
|
|
|
1607
1676
|
* Font size in px
|
|
1608
1677
|
*/
|
|
1609
1678
|
fontSize: number;
|
|
1679
|
+
lineHeight?: string;
|
|
1610
1680
|
};
|
|
1611
1681
|
borderRadius: string | number;
|
|
1612
1682
|
color: string;
|
|
@@ -1629,29 +1699,52 @@ export declare interface Customizations {
|
|
|
1629
1699
|
logo?: {
|
|
1630
1700
|
height: string;
|
|
1631
1701
|
width: string;
|
|
1702
|
+
mobileWidth?: string;
|
|
1632
1703
|
};
|
|
1633
1704
|
primaryButton?: {
|
|
1634
1705
|
backgroundColor: string;
|
|
1706
|
+
backgroundImage?: string;
|
|
1635
1707
|
color: string;
|
|
1636
1708
|
};
|
|
1637
1709
|
voucherButton?: {
|
|
1638
1710
|
backgroundColor: string;
|
|
1639
1711
|
color: string;
|
|
1640
1712
|
};
|
|
1713
|
+
buttonsOrder?: string;
|
|
1714
|
+
hideVoucherButton?: boolean;
|
|
1715
|
+
hideBuySubscriptionButton?: boolean;
|
|
1716
|
+
customButtons?: Array<{
|
|
1717
|
+
label: string;
|
|
1718
|
+
href: string;
|
|
1719
|
+
variant?: 'primary' | 'secondary' | 'transparent';
|
|
1720
|
+
}>;
|
|
1641
1721
|
};
|
|
1642
1722
|
BackgroundBlurBanner?: {
|
|
1643
1723
|
playVideoButton?: {
|
|
1644
1724
|
backgroundColor?: string;
|
|
1645
1725
|
color?: string;
|
|
1646
1726
|
border?: string;
|
|
1727
|
+
showStartingPrice?: boolean;
|
|
1728
|
+
showDurationDays?: boolean;
|
|
1647
1729
|
};
|
|
1648
1730
|
logo?: {
|
|
1649
1731
|
height: string;
|
|
1650
1732
|
width: string;
|
|
1651
1733
|
};
|
|
1734
|
+
title?: {
|
|
1735
|
+
fontSize?: string;
|
|
1736
|
+
fontSizeMobile?: string;
|
|
1737
|
+
};
|
|
1652
1738
|
description?: {
|
|
1653
1739
|
fontSize?: string;
|
|
1740
|
+
maxWidth?: string;
|
|
1654
1741
|
};
|
|
1742
|
+
contentWidth?: string;
|
|
1743
|
+
contentWidthLg?: string;
|
|
1744
|
+
contentWidthSm?: string;
|
|
1745
|
+
contentPadding?: string;
|
|
1746
|
+
contentPaddingLg?: string;
|
|
1747
|
+
contentGap?: string;
|
|
1655
1748
|
};
|
|
1656
1749
|
Row: {
|
|
1657
1750
|
/**
|
|
@@ -1662,6 +1755,10 @@ export declare interface Customizations {
|
|
|
1662
1755
|
};
|
|
1663
1756
|
header: {
|
|
1664
1757
|
opacity?: number;
|
|
1758
|
+
fontSize?: string;
|
|
1759
|
+
fontSizeMobile?: string;
|
|
1760
|
+
fontWeight?: string | number;
|
|
1761
|
+
textTransform?: string;
|
|
1665
1762
|
};
|
|
1666
1763
|
search?: {
|
|
1667
1764
|
bottomComponent?: BottomComponent;
|
|
@@ -1680,6 +1777,7 @@ export declare interface Customizations {
|
|
|
1680
1777
|
color?: string;
|
|
1681
1778
|
backgroundGradient?: string;
|
|
1682
1779
|
iconColor?: string;
|
|
1780
|
+
searchInputHeight?: string;
|
|
1683
1781
|
roundedMenuColor?: string;
|
|
1684
1782
|
roundedMenuHoverColor?: string;
|
|
1685
1783
|
roundedMenuInactiveColor?: string;
|
|
@@ -1692,8 +1790,22 @@ export declare interface Customizations {
|
|
|
1692
1790
|
Footer: {
|
|
1693
1791
|
backgroundColor: string;
|
|
1694
1792
|
color: string;
|
|
1793
|
+
marginTop?: string;
|
|
1794
|
+
};
|
|
1795
|
+
Registration: {
|
|
1796
|
+
consentLink: {
|
|
1797
|
+
textDecoration: string;
|
|
1798
|
+
color: string;
|
|
1799
|
+
opacity: number | string;
|
|
1800
|
+
fontWeight: number | string;
|
|
1801
|
+
};
|
|
1695
1802
|
};
|
|
1696
1803
|
VideoDetail: {
|
|
1804
|
+
/**
|
|
1805
|
+
* Whether the publication date is shown next to the video attributes.
|
|
1806
|
+
* @default true
|
|
1807
|
+
*/
|
|
1808
|
+
showPublicationDate?: boolean;
|
|
1697
1809
|
Banner: {
|
|
1698
1810
|
title: {
|
|
1699
1811
|
fontSize: string;
|
|
@@ -1819,6 +1931,7 @@ export declare interface Customizations {
|
|
|
1819
1931
|
itemBg?: string;
|
|
1820
1932
|
itemBorder?: string;
|
|
1821
1933
|
titleColor?: string;
|
|
1934
|
+
titleFontWeight?: string | number;
|
|
1822
1935
|
contentColor?: string;
|
|
1823
1936
|
iconColor?: string;
|
|
1824
1937
|
};
|
|
@@ -1839,6 +1952,9 @@ export declare interface Customizations {
|
|
|
1839
1952
|
monetizationBanner?: {
|
|
1840
1953
|
descriptionColor?: string;
|
|
1841
1954
|
};
|
|
1955
|
+
backgroundBanner?: {
|
|
1956
|
+
gradientBackground?: string;
|
|
1957
|
+
};
|
|
1842
1958
|
};
|
|
1843
1959
|
global: {
|
|
1844
1960
|
/**
|
|
@@ -1864,6 +1980,7 @@ export declare interface Customizations {
|
|
|
1864
1980
|
hoverBorderGradientStart?: string;
|
|
1865
1981
|
hoverBorderGradientEnd?: string;
|
|
1866
1982
|
hoverBackground?: string;
|
|
1983
|
+
kidsProfileImage?: string;
|
|
1867
1984
|
};
|
|
1868
1985
|
Paywall?: {
|
|
1869
1986
|
backgroundColor?: string;
|
|
@@ -1890,13 +2007,88 @@ export declare interface Customizations {
|
|
|
1890
2007
|
backgroundColor?: string;
|
|
1891
2008
|
color?: string;
|
|
1892
2009
|
};
|
|
2010
|
+
ConfirmationOverlay?: {
|
|
2011
|
+
successIconColor?: string;
|
|
2012
|
+
};
|
|
1893
2013
|
MessageBar?: {
|
|
1894
2014
|
backgroundColor: string;
|
|
1895
2015
|
color: string;
|
|
1896
2016
|
};
|
|
2017
|
+
SignInProviders?: {
|
|
2018
|
+
logoSize?: string;
|
|
2019
|
+
buttonSize?: string;
|
|
2020
|
+
/** Overrides secondary pill fill when it would blend with Monetization card (e.g. dark grey on grey) */
|
|
2021
|
+
buttonBackground?: string;
|
|
2022
|
+
buttonBorder?: string;
|
|
2023
|
+
};
|
|
2024
|
+
OverlayBackButton?: {
|
|
2025
|
+
size?: string;
|
|
2026
|
+
};
|
|
2027
|
+
LanguageDropdown?: {
|
|
2028
|
+
color?: string;
|
|
2029
|
+
fontSize?: string;
|
|
2030
|
+
fontWeight?: number;
|
|
2031
|
+
dropdownBackground?: string;
|
|
2032
|
+
activeBackground?: string;
|
|
2033
|
+
hoverBackground?: string;
|
|
2034
|
+
iconSize?: string;
|
|
2035
|
+
};
|
|
2036
|
+
ProfileTile?: {
|
|
2037
|
+
hideAppName?: boolean;
|
|
2038
|
+
hideDuration?: boolean;
|
|
2039
|
+
hideDate?: boolean;
|
|
2040
|
+
};
|
|
2041
|
+
FavoritesButton?: {
|
|
2042
|
+
icon?: 'bookmark' | 'star';
|
|
2043
|
+
activeVariant?: string;
|
|
2044
|
+
inactiveVariant?: string;
|
|
2045
|
+
changeVariantOnActive?: boolean;
|
|
2046
|
+
};
|
|
2047
|
+
Voucher?: {
|
|
2048
|
+
titleTextTransform?: string;
|
|
2049
|
+
};
|
|
2050
|
+
ModalDetail?: {
|
|
2051
|
+
backgroundColor: string;
|
|
2052
|
+
titleFontWeight?: string | number;
|
|
2053
|
+
episodeTitleFontWeight?: string | number;
|
|
2054
|
+
switcherHeight?: string;
|
|
2055
|
+
sectionTitle?: {
|
|
2056
|
+
fontSize?: string;
|
|
2057
|
+
fontSizeMobile?: string;
|
|
2058
|
+
fontWeight?: string | number;
|
|
2059
|
+
fontWeightMobile?: string | number;
|
|
2060
|
+
lineHeight?: string;
|
|
2061
|
+
lineHeightMobile?: string;
|
|
2062
|
+
textTransform?: string;
|
|
2063
|
+
};
|
|
2064
|
+
};
|
|
2065
|
+
GridScreen?: {
|
|
2066
|
+
headingFontWeight?: string | number;
|
|
2067
|
+
};
|
|
2068
|
+
Article?: {
|
|
2069
|
+
maxWidth?: string;
|
|
2070
|
+
padding?: string;
|
|
2071
|
+
};
|
|
2072
|
+
SearchResults?: {
|
|
2073
|
+
rows?: {
|
|
2074
|
+
label: string;
|
|
2075
|
+
filter: {
|
|
2076
|
+
/** Exact tag reference path from the video document. */
|
|
2077
|
+
tagPath?: string;
|
|
2078
|
+
tagType?: string;
|
|
2079
|
+
contentType?: string;
|
|
2080
|
+
};
|
|
2081
|
+
}[];
|
|
2082
|
+
showUnmatched?: boolean;
|
|
2083
|
+
tagSearch?: {
|
|
2084
|
+
label: string;
|
|
2085
|
+
tagTypePath: string;
|
|
2086
|
+
};
|
|
2087
|
+
};
|
|
1897
2088
|
ModalDetailCoverOverlay?: {
|
|
1898
2089
|
background: string;
|
|
1899
2090
|
backgroundMobile: string;
|
|
2091
|
+
modalListItemBackground?: string;
|
|
1900
2092
|
};
|
|
1901
2093
|
Feed?: {
|
|
1902
2094
|
backgroundColor?: string;
|
|
@@ -1904,6 +2096,64 @@ export declare interface Customizations {
|
|
|
1904
2096
|
color?: string;
|
|
1905
2097
|
};
|
|
1906
2098
|
};
|
|
2099
|
+
HeroBanner?: {
|
|
2100
|
+
titleFontSize?: string;
|
|
2101
|
+
titleFontSizeMobile?: string;
|
|
2102
|
+
titleFontWeight?: string | number;
|
|
2103
|
+
descriptionFontSize?: string;
|
|
2104
|
+
descriptionFontSizeMobile?: string;
|
|
2105
|
+
};
|
|
2106
|
+
PriceBadge?: {
|
|
2107
|
+
backgroundColor?: string;
|
|
2108
|
+
color?: string;
|
|
2109
|
+
padding?: string;
|
|
2110
|
+
fontSize?: number;
|
|
2111
|
+
fontWeight?: string | number;
|
|
2112
|
+
letterSpacing?: string;
|
|
2113
|
+
borderRadius?: string;
|
|
2114
|
+
};
|
|
2115
|
+
PlayerSettings?: {
|
|
2116
|
+
fontWeight?: number;
|
|
2117
|
+
boldFontWeight?: number;
|
|
2118
|
+
titleFontWeight?: number;
|
|
2119
|
+
};
|
|
2120
|
+
PlayerTitle?: {
|
|
2121
|
+
mobileFontWeight?: number;
|
|
2122
|
+
};
|
|
2123
|
+
TileBadges?: {
|
|
2124
|
+
position?: {
|
|
2125
|
+
top?: string;
|
|
2126
|
+
bottom?: string;
|
|
2127
|
+
left?: string;
|
|
2128
|
+
right?: string;
|
|
2129
|
+
};
|
|
2130
|
+
};
|
|
2131
|
+
VideoModalDetail?: {
|
|
2132
|
+
disableTrailer?: boolean;
|
|
2133
|
+
disableBackButton?: boolean;
|
|
2134
|
+
};
|
|
2135
|
+
SeriesModalDetail?: {
|
|
2136
|
+
disableTrailer?: boolean;
|
|
2137
|
+
};
|
|
2138
|
+
UserProfilesOverlay?: {
|
|
2139
|
+
backgroundColor?: string;
|
|
2140
|
+
justifyContent?: string;
|
|
2141
|
+
heading?: Translation;
|
|
2142
|
+
subheading?: Translation;
|
|
2143
|
+
icon?: string;
|
|
2144
|
+
nameStep?: {
|
|
2145
|
+
heading?: Translation;
|
|
2146
|
+
subheading?: Translation;
|
|
2147
|
+
};
|
|
2148
|
+
genderStep?: {
|
|
2149
|
+
heading?: Translation;
|
|
2150
|
+
subheading?: Translation;
|
|
2151
|
+
};
|
|
2152
|
+
ageStep?: {
|
|
2153
|
+
heading?: Translation;
|
|
2154
|
+
subheading?: Translation;
|
|
2155
|
+
};
|
|
2156
|
+
};
|
|
1907
2157
|
}
|
|
1908
2158
|
|
|
1909
2159
|
export declare interface CustomScript {
|
|
@@ -2070,6 +2320,8 @@ export declare interface DocumentTileData<ItemSpecificData extends DocumentTileI
|
|
|
2070
2320
|
* Tile item name translation.
|
|
2071
2321
|
*/
|
|
2072
2322
|
name: Translation;
|
|
2323
|
+
/** Optional secondary label displayed below the tile title. */
|
|
2324
|
+
sublabel?: Translation;
|
|
2073
2325
|
/**
|
|
2074
2326
|
* Firestore path to the item.
|
|
2075
2327
|
*/
|
|
@@ -2244,6 +2496,14 @@ export declare type DynamicRowInScreen = BaseRowInScreen & {
|
|
|
2244
2496
|
* Title of Play button
|
|
2245
2497
|
*/
|
|
2246
2498
|
playButtonTitle?: Translation;
|
|
2499
|
+
/**
|
|
2500
|
+
* Side Banner specific configuration - image position
|
|
2501
|
+
*/
|
|
2502
|
+
sideBannerImagePosition?: 'left' | 'right';
|
|
2503
|
+
/**
|
|
2504
|
+
* Side Banner specific configuration - text background color
|
|
2505
|
+
*/
|
|
2506
|
+
backgroundColor?: string;
|
|
2247
2507
|
};
|
|
2248
2508
|
|
|
2249
2509
|
/**
|
|
@@ -2436,13 +2696,34 @@ export declare const fetchBundle: (secret: string, conf: InternalConfig, checkBu
|
|
|
2436
2696
|
*/
|
|
2437
2697
|
declare type FetchPackage = (url: string) => Promise<string>;
|
|
2438
2698
|
|
|
2439
|
-
export declare
|
|
2699
|
+
export declare type FinishSignUpRequest = FinishSignUpRequestBase & ({
|
|
2700
|
+
password: string;
|
|
2701
|
+
provider?: 'password';
|
|
2702
|
+
} | {
|
|
2703
|
+
password?: never;
|
|
2704
|
+
provider: 'apple' | 'google';
|
|
2705
|
+
});
|
|
2706
|
+
|
|
2707
|
+
declare interface FinishSignUpRequestBase {
|
|
2440
2708
|
token: string;
|
|
2441
2709
|
fName: string;
|
|
2442
2710
|
lName: string;
|
|
2443
2711
|
email: string;
|
|
2444
|
-
|
|
2712
|
+
countryIsoCode?: CountryIsoCode;
|
|
2713
|
+
/**
|
|
2714
|
+
* Explicit confirmation that the user accepted the selected consent.
|
|
2715
|
+
* Required for the first administrator in the Studio V2 registration flow.
|
|
2716
|
+
*/
|
|
2717
|
+
consentAccepted?: boolean;
|
|
2718
|
+
/**
|
|
2719
|
+
* Client-generated base64url secret used to make Studio V2 completion retries
|
|
2720
|
+
* idempotent without turning the emailed invite token into a login credential.
|
|
2721
|
+
*/
|
|
2722
|
+
completionIdempotencyKey?: string;
|
|
2723
|
+
consentId?: string;
|
|
2445
2724
|
langCode?: LangCode;
|
|
2725
|
+
studioRolloutCode?: string;
|
|
2726
|
+
turnstileToken: string;
|
|
2446
2727
|
}
|
|
2447
2728
|
|
|
2448
2729
|
/**
|
|
@@ -2489,7 +2770,7 @@ export declare enum ForbiddenReason {
|
|
|
2489
2770
|
* @public
|
|
2490
2771
|
*/
|
|
2491
2772
|
export declare type FrequencyInfo = {
|
|
2492
|
-
title
|
|
2773
|
+
title?: Translation;
|
|
2493
2774
|
unit: MONETIZATION_FREQUENCY;
|
|
2494
2775
|
value: number;
|
|
2495
2776
|
};
|
|
@@ -2681,6 +2962,8 @@ export declare interface GetSourceUrlRequest {
|
|
|
2681
2962
|
}
|
|
2682
2963
|
|
|
2683
2964
|
export declare interface GetSourceUrlResponse {
|
|
2965
|
+
/** Buffer settings for the selected source. */
|
|
2966
|
+
playerOptions?: PlayerOptions;
|
|
2684
2967
|
/**
|
|
2685
2968
|
* The resulting source url.
|
|
2686
2969
|
*/
|
|
@@ -2744,6 +3027,37 @@ export declare type GetViewsAnalyticsRequest = GetBaseAnalyticsRequest;
|
|
|
2744
3027
|
|
|
2745
3028
|
export declare let globalSdkReactConfig: SdkReactConfig | undefined;
|
|
2746
3029
|
|
|
3030
|
+
/**
|
|
3031
|
+
* Global tag type IDs from the DB collection `globalTagTypes`
|
|
3032
|
+
* @public
|
|
3033
|
+
*/
|
|
3034
|
+
export declare enum GlobalTagTypeId {
|
|
3035
|
+
Actor = "actor",
|
|
3036
|
+
AgeRating = "age-rating",
|
|
3037
|
+
AgeDescriptor = "age-descriptor",
|
|
3038
|
+
Descriptors = "descriptors",
|
|
3039
|
+
Director = "director",
|
|
3040
|
+
Genre = "genre",
|
|
3041
|
+
Series = "series",
|
|
3042
|
+
Access = "access",
|
|
3043
|
+
ShowInRss = "show-in-rss",
|
|
3044
|
+
ShowInSpotify = "show-in-spotify",
|
|
3045
|
+
MagentaTv = "magentaTV",
|
|
3046
|
+
Settings = "settings",
|
|
3047
|
+
Jingle = "jingle",
|
|
3048
|
+
Magazine = "magazine",
|
|
3049
|
+
Award = "award",
|
|
3050
|
+
Camera = "camera",
|
|
3051
|
+
Coproduction = "coproduction",
|
|
3052
|
+
Costumes = "costumes",
|
|
3053
|
+
Design = "design",
|
|
3054
|
+
Editing = "editing",
|
|
3055
|
+
Idea = "idea",
|
|
3056
|
+
Music = "music",
|
|
3057
|
+
Production = "production",
|
|
3058
|
+
Sound = "sound"
|
|
3059
|
+
}
|
|
3060
|
+
|
|
2747
3061
|
/**
|
|
2748
3062
|
* @public
|
|
2749
3063
|
*/
|
|
@@ -2832,6 +3146,16 @@ export declare interface HomepageBannerExtendRowData {
|
|
|
2832
3146
|
backgroundAssets?: ScalableAsset[];
|
|
2833
3147
|
}
|
|
2834
3148
|
|
|
3149
|
+
/**
|
|
3150
|
+
* Groups selected screen rows into the editorial grid layout on web.
|
|
3151
|
+
* Row IDs live in tenant configuration so the shared screen renderer stays
|
|
3152
|
+
* customer-agnostic.
|
|
3153
|
+
*/
|
|
3154
|
+
export declare interface HomeScreenGridSectionConfig {
|
|
3155
|
+
id: string;
|
|
3156
|
+
rowIds: string[];
|
|
3157
|
+
}
|
|
3158
|
+
|
|
2835
3159
|
export declare type IncludedItem = {
|
|
2836
3160
|
attributes: {
|
|
2837
3161
|
next_charge_date: string;
|
|
@@ -2995,6 +3319,8 @@ export declare interface InteractiveWidgetGroupStats {
|
|
|
2995
3319
|
answerPercentages: Record<string, number>;
|
|
2996
3320
|
averageScore: number;
|
|
2997
3321
|
correctAnswersRatio: number;
|
|
3322
|
+
/** Answer option key (e.g. "A") to highlight on fullscreen leaderboard distribution */
|
|
3323
|
+
correctAnswerKey?: string;
|
|
2998
3324
|
}
|
|
2999
3325
|
|
|
3000
3326
|
export declare enum InteractiveWidgetGroupType {
|
|
@@ -3037,6 +3363,10 @@ export declare enum InteractiveWidgetState {
|
|
|
3037
3363
|
* Transition to the next state
|
|
3038
3364
|
*/
|
|
3039
3365
|
NEXT_STATE = "NextState",
|
|
3366
|
+
/**
|
|
3367
|
+
* Transition to the previous state (poll only)
|
|
3368
|
+
*/
|
|
3369
|
+
PREVIOUS_STATE = "PreviousState",
|
|
3040
3370
|
/**
|
|
3041
3371
|
* Idle state
|
|
3042
3372
|
* activeSceneIds: noGraphics, adBanner, players
|
|
@@ -3157,6 +3487,10 @@ export declare function isChannelSource(source?: CommonSource | null): source is
|
|
|
3157
3487
|
*/
|
|
3158
3488
|
export declare const isClassicChannelSource: (source?: CommonSource | null) => source is ChannelSourceInterface;
|
|
3159
3489
|
|
|
3490
|
+
export declare const isCountryIsoCode: (value: unknown) => value is CountryIsoCode;
|
|
3491
|
+
|
|
3492
|
+
export declare const ISO_3166_ALPHA_2_COUNTRY_CODES: readonly ['AD', 'AE', 'AF', 'AG', 'AI', 'AL', 'AM', 'AO', 'AQ', 'AR', 'AS', 'AT', 'AU', 'AW', 'AX', 'AZ', 'BA', 'BB', 'BD', 'BE', 'BF', 'BG', 'BH', 'BI', 'BJ', 'BL', 'BM', 'BN', 'BO', 'BQ', 'BR', 'BS', 'BT', 'BV', 'BW', 'BY', 'BZ', 'CA', 'CC', 'CD', 'CF', 'CG', 'CH', 'CI', 'CK', 'CL', 'CM', 'CN', 'CO', 'CR', 'CU', 'CV', 'CW', 'CX', 'CY', 'CZ', 'DE', 'DJ', 'DK', 'DM', 'DO', 'DZ', 'EC', 'EE', 'EG', 'EH', 'ER', 'ES', 'ET', 'FI', 'FJ', 'FK', 'FM', 'FO', 'FR', 'GA', 'GB', 'GD', 'GE', 'GF', 'GG', 'GH', 'GI', 'GL', 'GM', 'GN', 'GP', 'GQ', 'GR', 'GS', 'GT', 'GU', 'GW', 'GY', 'HK', 'HM', 'HN', 'HR', 'HT', 'HU', 'ID', 'IE', 'IL', 'IM', 'IN', 'IO', 'IQ', 'IR', 'IS', 'IT', 'JE', 'JM', 'JO', 'JP', 'KE', 'KG', 'KH', 'KI', 'KM', 'KN', 'KP', 'KR', 'KW', 'KY', 'KZ', 'LA', 'LB', 'LC', 'LI', 'LK', 'LR', 'LS', 'LT', 'LU', 'LV', 'LY', 'MA', 'MC', 'MD', 'ME', 'MF', 'MG', 'MH', 'MK', 'ML', 'MM', 'MN', 'MO', 'MP', 'MQ', 'MR', 'MS', 'MT', 'MU', 'MV', 'MW', 'MX', 'MY', 'MZ', 'NA', 'NC', 'NE', 'NF', 'NG', 'NI', 'NL', 'NO', 'NP', 'NR', 'NU', 'NZ', 'OM', 'PA', 'PE', 'PF', 'PG', 'PH', 'PK', 'PL', 'PM', 'PN', 'PR', 'PS', 'PT', 'PW', 'PY', 'QA', 'RE', 'RO', 'RS', 'RU', 'RW', 'SA', 'SB', 'SC', 'SD', 'SE', 'SG', 'SH', 'SI', 'SJ', 'SK', 'SL', 'SM', 'SN', 'SO', 'SR', 'SS', 'ST', 'SV', 'SX', 'SY', 'SZ', 'TC', 'TD', 'TF', 'TG', 'TH', 'TJ', 'TK', 'TL', 'TM', 'TN', 'TO', 'TR', 'TT', 'TV', 'TW', 'TZ', 'UA', 'UG', 'UM', 'US', 'UY', 'UZ', 'VA', 'VC', 'VE', 'VG', 'VI', 'VN', 'VU', 'WF', 'WS', 'YE', 'YT', 'ZA', 'ZM', 'ZW'];
|
|
3493
|
+
|
|
3160
3494
|
export declare interface IsUserAlreadyRegisteredByTenantRequest {
|
|
3161
3495
|
email: string;
|
|
3162
3496
|
}
|
|
@@ -3237,11 +3571,13 @@ export declare enum LangCode {
|
|
|
3237
3571
|
EN = "en",
|
|
3238
3572
|
FR = "fr",
|
|
3239
3573
|
IT = "it",
|
|
3574
|
+
JA = "ja",
|
|
3240
3575
|
PL = "pl",
|
|
3241
3576
|
PT = "pt",
|
|
3242
3577
|
SK = "sk",
|
|
3243
3578
|
ES = "es",
|
|
3244
|
-
HU = "hu"
|
|
3579
|
+
HU = "hu",
|
|
3580
|
+
UZ = "uz"
|
|
3245
3581
|
}
|
|
3246
3582
|
|
|
3247
3583
|
export declare const LangCodeToCountryCodeMap: Partial<Record<LangCode, string>>;
|
|
@@ -3618,7 +3954,8 @@ export declare enum MetadataFieldId {
|
|
|
3618
3954
|
TAGS = "tags",
|
|
3619
3955
|
FILM_DETAILS = "filmDetails",
|
|
3620
3956
|
AUDIENCE_LIMITATIONS = "audienceLimitations",
|
|
3621
|
-
PRODUCT_PLACEMENT = "productPlacement"
|
|
3957
|
+
PRODUCT_PLACEMENT = "productPlacement",
|
|
3958
|
+
SUBLABEL = "sublabel"
|
|
3622
3959
|
}
|
|
3623
3960
|
|
|
3624
3961
|
/**
|
|
@@ -3710,6 +4047,14 @@ export declare type MonetizationCta = {
|
|
|
3710
4047
|
payload: {
|
|
3711
4048
|
email: string;
|
|
3712
4049
|
};
|
|
4050
|
+
} | {
|
|
4051
|
+
type: 'link';
|
|
4052
|
+
payload: {
|
|
4053
|
+
url: string;
|
|
4054
|
+
} | {
|
|
4055
|
+
/** Existing link CTAs may store their URL in this field. */
|
|
4056
|
+
email: string;
|
|
4057
|
+
};
|
|
3713
4058
|
};
|
|
3714
4059
|
|
|
3715
4060
|
export declare interface MonetizationsCountsSummaryItem {
|
|
@@ -3845,11 +4190,17 @@ export declare type NoGraphicsScene = InteractiveWidgetSceneBase<InteractiveWidg
|
|
|
3845
4190
|
*/
|
|
3846
4191
|
export declare type NonAdSourceType = Exclude<SourceType, SourceType.ADVERTISEMENT>;
|
|
3847
4192
|
|
|
3848
|
-
|
|
4193
|
+
/**
|
|
4194
|
+
* An array containing at least one item.
|
|
4195
|
+
* @public
|
|
4196
|
+
*/
|
|
4197
|
+
export declare type NonEmptyArray<T> = [T, ...T[]];
|
|
4198
|
+
|
|
4199
|
+
declare type Notification_2 = ({
|
|
3849
4200
|
type: NotificationType.PUSH;
|
|
3850
|
-
} & SchedulePushNotificationPayload | {
|
|
4201
|
+
} & SchedulePushNotificationPayload) | ({
|
|
3851
4202
|
type?: NotificationType.EMAIL;
|
|
3852
|
-
} & EmailNotification;
|
|
4203
|
+
} & EmailNotification);
|
|
3853
4204
|
export { Notification_2 as Notification }
|
|
3854
4205
|
|
|
3855
4206
|
export declare type NotificationFilterType = NotificationFirestoreFilterType | NotificationSurveyFilterType | NotificationLastActivityFilterType;
|
|
@@ -4044,6 +4395,18 @@ export declare interface OrganizationSettingsField extends OrganizationResponsiv
|
|
|
4044
4395
|
clientId: string;
|
|
4045
4396
|
};
|
|
4046
4397
|
disableComments?: boolean;
|
|
4398
|
+
disableContentActionBar?: boolean;
|
|
4399
|
+
/** Hide frequency/duration suffix from price labels (e.g. "/Měsíčně", "/2 dny") */
|
|
4400
|
+
hidePriceSuffix?: boolean;
|
|
4401
|
+
/**
|
|
4402
|
+
* Who may post comments and replies:
|
|
4403
|
+
* - `subscribers`: registered, signed-in users with an active subscription to the content's organization. Default when omitted.
|
|
4404
|
+
* - `registeredUsers`: registered, signed-in users, without requiring a subscription.
|
|
4405
|
+
* - `allUsers`: registered users and anonymous users, without requiring registration or a subscription.
|
|
4406
|
+
* Anonymous users still need the platform's authenticated anonymous user session.
|
|
4407
|
+
* `disableComments: true` blocks posting for all values.
|
|
4408
|
+
*/
|
|
4409
|
+
commentAccess?: 'subscribers' | 'registeredUsers' | 'allUsers';
|
|
4047
4410
|
/**
|
|
4048
4411
|
* Used on CNC webs - When buying a yearly subscription the recalculated monthly price is display below the yearly price
|
|
4049
4412
|
*/
|
|
@@ -4061,15 +4424,31 @@ export declare interface OrganizationSettingsField extends OrganizationResponsiv
|
|
|
4061
4424
|
* Some organizations might want to hide publication date on videos in search results.
|
|
4062
4425
|
*/
|
|
4063
4426
|
hidePublicationTimeInSearchResults?: boolean;
|
|
4427
|
+
/**
|
|
4428
|
+
* Settings for video tiles display
|
|
4429
|
+
*/
|
|
4430
|
+
tiles?: {
|
|
4431
|
+
/**
|
|
4432
|
+
* If true, genre and publication date will be shown below video tile labels
|
|
4433
|
+
*/
|
|
4434
|
+
showGenreAndDate?: boolean;
|
|
4435
|
+
};
|
|
4064
4436
|
/**
|
|
4065
4437
|
* All the configurations that are specific to the background banner
|
|
4066
4438
|
*/
|
|
4067
4439
|
backgroundBanner?: {
|
|
4068
4440
|
showDescription?: boolean;
|
|
4069
4441
|
showLogo?: boolean;
|
|
4442
|
+
/**
|
|
4443
|
+
* Minimum opacity retained by the background asset while scrolling.
|
|
4444
|
+
* Accepts values from 0 to 1 and defaults to 0.
|
|
4445
|
+
*/
|
|
4446
|
+
minOpacityOnScroll?: number;
|
|
4070
4447
|
};
|
|
4071
4448
|
rss?: {
|
|
4072
4449
|
title?: string;
|
|
4450
|
+
description?: string;
|
|
4451
|
+
coverUrl?: string;
|
|
4073
4452
|
enabled?: boolean;
|
|
4074
4453
|
};
|
|
4075
4454
|
/**
|
|
@@ -4087,6 +4466,17 @@ export declare interface OrganizationSettingsField extends OrganizationResponsiv
|
|
|
4087
4466
|
gtmConfig?: {
|
|
4088
4467
|
id: string;
|
|
4089
4468
|
};
|
|
4469
|
+
/**
|
|
4470
|
+
* If true, the bot-prerendered video detail pages use schema.org `Movie`
|
|
4471
|
+
* as the main entity (alongside `VideoObject`) in JSON-LD structured data.
|
|
4472
|
+
* Intended for film-catalog customers (e.g. KVIFF) whose whole library are
|
|
4473
|
+
* films but whose videos are not flagged with `contentType === FILM`.
|
|
4474
|
+
*
|
|
4475
|
+
* When omitted/false, films are still detected per-video via
|
|
4476
|
+
* `video.contentType === VideoContentType.FILM` (e.g. JOJ imports);
|
|
4477
|
+
* all other content keeps `VideoObject` as the main entity.
|
|
4478
|
+
*/
|
|
4479
|
+
useMovieSchema?: boolean;
|
|
4090
4480
|
};
|
|
4091
4481
|
/**
|
|
4092
4482
|
* With this setting, it's possible for the users to purchase with discounted price for the same monetization, if it expired before 1 month ago.
|
|
@@ -4104,6 +4494,7 @@ export declare interface OrganizationSettingsField extends OrganizationResponsiv
|
|
|
4104
4494
|
hideHeader?: boolean;
|
|
4105
4495
|
};
|
|
4106
4496
|
};
|
|
4497
|
+
showHeaderLanguageSelector?: boolean;
|
|
4107
4498
|
voucher?: VoucherPageConfiguration;
|
|
4108
4499
|
pushNotifications?: {
|
|
4109
4500
|
enabled?: boolean;
|
|
@@ -4114,11 +4505,24 @@ export declare interface OrganizationSettingsField extends OrganizationResponsiv
|
|
|
4114
4505
|
value: number;
|
|
4115
4506
|
};
|
|
4116
4507
|
};
|
|
4508
|
+
tileConfiguration?: {
|
|
4509
|
+
showPlayButtonInTile?: boolean;
|
|
4510
|
+
};
|
|
4117
4511
|
/**
|
|
4118
4512
|
* Payment flow configuration
|
|
4119
4513
|
* @default PaymentFlow.NEW
|
|
4120
4514
|
*/
|
|
4121
4515
|
paymentFlow?: PaymentFlow;
|
|
4516
|
+
/**
|
|
4517
|
+
* When enabled, paid purchases receive sequential invoice numbers
|
|
4518
|
+
* and invoice PDF download is available for the organization.
|
|
4519
|
+
*/
|
|
4520
|
+
hasInvoicesEnabled?: boolean;
|
|
4521
|
+
/**
|
|
4522
|
+
* Stable timestamp of the first invoice feature enablement. Used as the
|
|
4523
|
+
* anchor for the bounded historical invoice-number backfill.
|
|
4524
|
+
*/
|
|
4525
|
+
invoicesEnabledAt?: Timestamp;
|
|
4122
4526
|
contentMetadata?: {
|
|
4123
4527
|
[MetadataFieldId.SHORT_NAME]?: ContentMetadataOptions;
|
|
4124
4528
|
[MetadataFieldId.RICH_DESCRIPTION]?: ContentMetadataOptions;
|
|
@@ -4126,6 +4530,7 @@ export declare interface OrganizationSettingsField extends OrganizationResponsiv
|
|
|
4126
4530
|
[MetadataFieldId.FILM_DETAILS]?: ContentMetadataOptions;
|
|
4127
4531
|
[MetadataFieldId.AUDIENCE_LIMITATIONS]?: ContentMetadataOptions;
|
|
4128
4532
|
[MetadataFieldId.PRODUCT_PLACEMENT]?: ContentMetadataOptions;
|
|
4533
|
+
[MetadataFieldId.SUBLABEL]?: ContentMetadataOptions;
|
|
4129
4534
|
};
|
|
4130
4535
|
aiProcessing?: {
|
|
4131
4536
|
assets?: boolean;
|
|
@@ -4147,13 +4552,18 @@ export declare interface PaginatedResponse<T = unknown, U extends NextPageParamT
|
|
|
4147
4552
|
nextPageParams: ({
|
|
4148
4553
|
offset: number;
|
|
4149
4554
|
limit: number;
|
|
4555
|
+
organizationLanguage?: LangCode;
|
|
4556
|
+
profileId?: string;
|
|
4150
4557
|
} & (U extends 'screenId' ? {
|
|
4151
4558
|
organizationId: string;
|
|
4152
4559
|
screenId: string;
|
|
4153
4560
|
initialTilesCount: number;
|
|
4561
|
+
hostOrganizationId?: string;
|
|
4562
|
+
isLockedApplicationOnStargazeHosting?: boolean;
|
|
4154
4563
|
} : U extends 'rowId' ? {
|
|
4155
4564
|
organizationId: string;
|
|
4156
4565
|
rowId: string;
|
|
4566
|
+
hostOrganizationId?: string;
|
|
4157
4567
|
} : U extends 'filter' ? {
|
|
4158
4568
|
filter: Omit<RowFilterField, 'limit'>;
|
|
4159
4569
|
} : object)) | null;
|
|
@@ -4367,6 +4777,7 @@ export declare type PlayerConfig = {
|
|
|
4367
4777
|
* @public
|
|
4368
4778
|
*/
|
|
4369
4779
|
export declare interface PlayerEngineConfig {
|
|
4780
|
+
playerOptions?: PlayerOptions;
|
|
4370
4781
|
getDrmConfiguration?: () => Promise<Drm | undefined>;
|
|
4371
4782
|
encryption?: string;
|
|
4372
4783
|
isAd?: boolean;
|
|
@@ -4645,6 +5056,18 @@ export declare interface PlayerInterfaceForPlayerWrapper {
|
|
|
4645
5056
|
setSource: (source: Source | null) => void;
|
|
4646
5057
|
}
|
|
4647
5058
|
|
|
5059
|
+
/**
|
|
5060
|
+
* Buffer preferences for the returned playback source, in seconds.
|
|
5061
|
+
* Unsupported or omitted preferences keep the player's existing behavior.
|
|
5062
|
+
* @public
|
|
5063
|
+
*/
|
|
5064
|
+
export declare interface PlayerOptions {
|
|
5065
|
+
/** Target amount of media buffered ahead of playback. */
|
|
5066
|
+
readonly bufferAheadSeconds?: number;
|
|
5067
|
+
/** Buffer required to start or resume playback after buffering, where supported. */
|
|
5068
|
+
readonly rebufferingAheadSeconds?: number;
|
|
5069
|
+
}
|
|
5070
|
+
|
|
4648
5071
|
/**
|
|
4649
5072
|
* @public
|
|
4650
5073
|
*/
|
|
@@ -4669,6 +5092,7 @@ export declare type PlayerSource = VodTivioSourceInterface | VodExternalSourceIn
|
|
|
4669
5092
|
* @public
|
|
4670
5093
|
*/
|
|
4671
5094
|
export declare interface PlayerSourceInterface<T extends NonAdSourceType = NonAdSourceType> extends CommonSourceInterface<T> {
|
|
5095
|
+
readonly playerOptions?: PlayerOptions;
|
|
4672
5096
|
adSegment: AdSegment | null;
|
|
4673
5097
|
consumedAds: ConsumedAds;
|
|
4674
5098
|
currentMarker: any | null;
|
|
@@ -4706,6 +5130,7 @@ export declare interface PlayerSourceInterface<T extends NonAdSourceType = NonAd
|
|
|
4706
5130
|
* @public
|
|
4707
5131
|
*/
|
|
4708
5132
|
export declare interface PlayerSourceParams<T extends NonAdSourceType = NonAdSourceType> extends CommonSourceParams<T> {
|
|
5133
|
+
playerOptions?: PlayerOptions;
|
|
4709
5134
|
originalOptions?: Record<string, any>;
|
|
4710
5135
|
continuePositionMs?: ContinuePosition;
|
|
4711
5136
|
poster?: string | null;
|
|
@@ -4895,25 +5320,25 @@ export declare interface PlayerWrapper {
|
|
|
4895
5320
|
* @public
|
|
4896
5321
|
*/
|
|
4897
5322
|
export declare enum PlayerWrapperEvents {
|
|
4898
|
-
|
|
5323
|
+
playback_cancelled = "playback_cancelled",
|
|
4899
5324
|
/**
|
|
4900
5325
|
* Triggered when content video or ad finished playing until the end
|
|
4901
5326
|
*/
|
|
4902
|
-
|
|
5327
|
+
playback_ended = "playback_ended",
|
|
4903
5328
|
/**
|
|
4904
5329
|
* Triggered when both content video and all its associated ads finished playing until the end.
|
|
4905
5330
|
* Or in case of postroll, when content video finished playing unit the end and all postroll
|
|
4906
5331
|
* ads either finished / failed or were skipped.
|
|
4907
5332
|
*/
|
|
4908
|
-
|
|
5333
|
+
video_unit_ended = "video_unit_ended",
|
|
4909
5334
|
/**
|
|
4910
5335
|
* Pause was triggered
|
|
4911
5336
|
*/
|
|
4912
|
-
|
|
5337
|
+
pause_triggered = "pause_triggered",
|
|
4913
5338
|
/**
|
|
4914
5339
|
* Un-pause was triggered
|
|
4915
5340
|
*/
|
|
4916
|
-
|
|
5341
|
+
unpause_triggered = "unpause_triggered"
|
|
4917
5342
|
}
|
|
4918
5343
|
|
|
4919
5344
|
/**
|
|
@@ -4931,6 +5356,7 @@ export declare type PlayerWrapperEventTypeType = `${PlayerWrapperEventType}`;
|
|
|
4931
5356
|
|
|
4932
5357
|
export declare type PollQuestion = CurrentQuestion<PollQuestionAnswer>;
|
|
4933
5358
|
|
|
5359
|
+
/** Answer type for Poll widgets — carries live vote count */
|
|
4934
5360
|
export declare interface PollQuestionAnswer extends BaseQuestionAnswer {
|
|
4935
5361
|
votes?: number;
|
|
4936
5362
|
}
|
|
@@ -4943,7 +5369,7 @@ export declare interface PollWidget<TScene extends InteractiveWidgetScene = Inte
|
|
|
4943
5369
|
readonly type: InteractiveWidgetType.POLL;
|
|
4944
5370
|
}
|
|
4945
5371
|
|
|
4946
|
-
export declare type PollWidgetState = InteractiveWidgetState.IDLE | InteractiveWidgetState.CURRENT_QUESTION | InteractiveWidgetState.RESOLVED_QUESTION | InteractiveWidgetState.RESET_GAME | InteractiveWidgetState.NEXT_STATE;
|
|
5372
|
+
export declare type PollWidgetState = InteractiveWidgetState.IDLE | InteractiveWidgetState.CURRENT_QUESTION | InteractiveWidgetState.RESOLVED_QUESTION | InteractiveWidgetState.RESET_GAME | InteractiveWidgetState.NEXT_STATE | InteractiveWidgetState.PREVIOUS_STATE;
|
|
4947
5373
|
|
|
4948
5374
|
/**
|
|
4949
5375
|
* @public
|
|
@@ -5214,6 +5640,12 @@ export declare type Purchase = {
|
|
|
5214
5640
|
*/
|
|
5215
5641
|
getLoyaltyCount: () => Promise<number>;
|
|
5216
5642
|
id: string;
|
|
5643
|
+
/**
|
|
5644
|
+
* Accounting invoice number assigned after a successful payment.
|
|
5645
|
+
*/
|
|
5646
|
+
invoiceNumber?: string;
|
|
5647
|
+
/** Timestamp of the payment used as the invoice issue date. */
|
|
5648
|
+
invoiceIssuedAt?: number;
|
|
5217
5649
|
isExpired: boolean;
|
|
5218
5650
|
/**
|
|
5219
5651
|
* @deprecated isPurchased is ambiguous name. Now it means that purchase.status is "PAID".
|
|
@@ -5223,6 +5655,8 @@ export declare type Purchase = {
|
|
|
5223
5655
|
monetization: PurchaseMonetization | null;
|
|
5224
5656
|
monetizationId: string | null;
|
|
5225
5657
|
monetizationRef: any | null;
|
|
5658
|
+
/** Organization that sold the purchase and issues its invoice. */
|
|
5659
|
+
purchaseOrganizationId?: string;
|
|
5226
5660
|
nextPaymentDate: Date | null;
|
|
5227
5661
|
status: PurchaseStatus | null;
|
|
5228
5662
|
type: PurchaseType | null;
|
|
@@ -5246,16 +5680,21 @@ export declare type Purchase = {
|
|
|
5246
5680
|
* @public
|
|
5247
5681
|
*/
|
|
5248
5682
|
export declare enum PurchaseDocumentGateway {
|
|
5249
|
-
|
|
5250
|
-
|
|
5251
|
-
|
|
5252
|
-
|
|
5253
|
-
|
|
5254
|
-
|
|
5255
|
-
|
|
5256
|
-
|
|
5257
|
-
|
|
5258
|
-
|
|
5683
|
+
qerko = "qerko",
|
|
5684
|
+
oktagon = "oktagon",
|
|
5685
|
+
voucher = "voucher",
|
|
5686
|
+
comgate = "comgate",
|
|
5687
|
+
tivio = "tivio",
|
|
5688
|
+
patreon = "patreon",
|
|
5689
|
+
paypal = "paypal",
|
|
5690
|
+
/** One-time HotPay Pay-by-Link payment, selected when the purchase is created.
|
|
5691
|
+
* @see https://dokumentacja.hotpay.pl/#api-zaawansowane-z-walidacja-parametrow
|
|
5692
|
+
*/
|
|
5693
|
+
hotpay = "hotpay",
|
|
5694
|
+
unknown = "unknown",
|
|
5695
|
+
stargaze = "stargaze",
|
|
5696
|
+
prima = "prima",
|
|
5697
|
+
barion = "barion"
|
|
5259
5698
|
}
|
|
5260
5699
|
|
|
5261
5700
|
/**
|
|
@@ -5414,8 +5853,21 @@ export declare type PurchaseEndpointPayload = {
|
|
|
5414
5853
|
* @public
|
|
5415
5854
|
*/
|
|
5416
5855
|
export declare type PurchaseEventHandlers = {
|
|
5417
|
-
|
|
5418
|
-
|
|
5856
|
+
/**
|
|
5857
|
+
* @param purchase - monetization being purchased (transaction type, subscription, voucher ...)
|
|
5858
|
+
* @param item - video / tv channel the purchase is bound to, if known (e.g. when buying a voucher
|
|
5859
|
+
* or a transaction for a specific film). Undefined/null for plain subscription purchases.
|
|
5860
|
+
*/
|
|
5861
|
+
onPurchaseIntention?: (purchase: PurchasableMonetization, item?: Video | TvChannel | null) => void;
|
|
5862
|
+
/**
|
|
5863
|
+
* @param purchase - completed purchase
|
|
5864
|
+
* @param video - video the purchase gives access to (resolved from `purchase.videoId`), if any.
|
|
5865
|
+
* Undefined/null for subscriptions or when the video couldn't be resolved.
|
|
5866
|
+
*/
|
|
5867
|
+
onPurchaseFinished?: (purchase: Purchase, video?: Video | null) => void;
|
|
5868
|
+
onVideoDetailView?: (video: Video) => void;
|
|
5869
|
+
onSeriesDetailView?: (series: Series) => void;
|
|
5870
|
+
onPaymentMethodSelected?: (purchase: PurchasableMonetization, method: 'blik' | 'hotpay' | 'applePay' | 'googlePay' | 'card' | 'voucher') => void;
|
|
5419
5871
|
};
|
|
5420
5872
|
|
|
5421
5873
|
/**
|
|
@@ -5503,6 +5955,12 @@ export declare interface QerkoCancellationInfo {
|
|
|
5503
5955
|
status: PurchaseStatus;
|
|
5504
5956
|
}
|
|
5505
5957
|
|
|
5958
|
+
/** @public */
|
|
5959
|
+
export declare interface QerkoCheckoutOptions {
|
|
5960
|
+
/** Theme UUID sent when creating the Qerko order, not a checkout URL parameter. */
|
|
5961
|
+
webTheme?: string;
|
|
5962
|
+
}
|
|
5963
|
+
|
|
5506
5964
|
/**
|
|
5507
5965
|
* @public
|
|
5508
5966
|
*/
|
|
@@ -5540,6 +5998,10 @@ export declare interface QerkoOverlayState {
|
|
|
5540
5998
|
* @public
|
|
5541
5999
|
*/
|
|
5542
6000
|
export declare interface QerkoPaymentInfo extends PaymentInfo {
|
|
6001
|
+
/** Gateway used to create this purchase. Optional for older backend responses. */
|
|
6002
|
+
gateway?: PurchaseDocumentGateway;
|
|
6003
|
+
/** Gateways accepted for a new purchase request, including the current gateway. */
|
|
6004
|
+
availableGateways?: PurchaseDocumentGateway[];
|
|
5543
6005
|
confirmationPaymentUrl?: string;
|
|
5544
6006
|
purchaseId: string;
|
|
5545
6007
|
currency: string;
|
|
@@ -5615,6 +6077,7 @@ export declare interface QerkoTransaction {
|
|
|
5615
6077
|
|
|
5616
6078
|
export declare type QRCodeScene = InteractiveWidgetSceneBase<InteractiveWidgetSceneTemplateType.QR_CODE>;
|
|
5617
6079
|
|
|
6080
|
+
/** Union kept for backward compatibility */
|
|
5618
6081
|
export declare type QuestionAnswer = QuizQuestionAnswer | PollQuestionAnswer;
|
|
5619
6082
|
|
|
5620
6083
|
export declare enum QuestionEvents {
|
|
@@ -5651,6 +6114,7 @@ export declare type QuestionRepositoryEventMap = {
|
|
|
5651
6114
|
|
|
5652
6115
|
export declare type QuizQuestion = CurrentQuestion<QuizQuestionAnswer>;
|
|
5653
6116
|
|
|
6117
|
+
/** Answer type for Quiz widgets — carries correctness info */
|
|
5654
6118
|
export declare interface QuizQuestionAnswer extends BaseQuestionAnswer {
|
|
5655
6119
|
isCorrect?: boolean;
|
|
5656
6120
|
votes?: number;
|
|
@@ -5726,6 +6190,9 @@ export declare type ReactNativeDeviceInfo = {
|
|
|
5726
6190
|
isTablet?: boolean;
|
|
5727
6191
|
};
|
|
5728
6192
|
|
|
6193
|
+
/** Supported external payment receipt providers. */
|
|
6194
|
+
export declare type ReceiptProviderId = 'szamlazz';
|
|
6195
|
+
|
|
5729
6196
|
export declare enum RegistrationRedirect {
|
|
5730
6197
|
PAYMENT = "payment",
|
|
5731
6198
|
VOUCHER_PURCHASE = "voucherPurchase",
|
|
@@ -5858,7 +6325,7 @@ export declare interface RenderConditionValue {
|
|
|
5858
6325
|
subscriptionRefs?: any[];
|
|
5859
6326
|
}
|
|
5860
6327
|
|
|
5861
|
-
export declare const renderWebPlayer: (container: HTMLElement, props: Omit<WebPlayerProps,
|
|
6328
|
+
export declare const renderWebPlayer: (container: HTMLElement, props: Omit<WebPlayerProps, "onPlayerControllerCreated">) => Promise<SimplifiedVideoController>;
|
|
5862
6329
|
|
|
5863
6330
|
/**
|
|
5864
6331
|
* Make all attributes in given type required, non-nullable and defined.
|
|
@@ -5929,6 +6396,7 @@ export declare interface RouterOverrides {
|
|
|
5929
6396
|
goToRegistrationPage: (options?: {
|
|
5930
6397
|
origin?: RegistrationRedirect;
|
|
5931
6398
|
email?: string;
|
|
6399
|
+
callbackUrl?: string;
|
|
5932
6400
|
}) => void;
|
|
5933
6401
|
goBack: () => void;
|
|
5934
6402
|
goLivePlayer: (tvChannelId: string) => void;
|
|
@@ -5937,6 +6405,7 @@ export declare interface RouterOverrides {
|
|
|
5937
6405
|
goToHome: (user?: any, activeUserProfileId?: string) => void;
|
|
5938
6406
|
goToRoute: (route: string) => void;
|
|
5939
6407
|
goToArticle: (id: string, applicationUrlHandle?: string) => void;
|
|
6408
|
+
replaceToArticle: (id: string, applicationUrlHandle?: string) => void;
|
|
5940
6409
|
goToRecommendedFromOrganization: (screenId: string, organizationId: string) => void;
|
|
5941
6410
|
goToRecommendedFromOrganizationRow: (screenId: string, rowId: string) => void;
|
|
5942
6411
|
goToMagentaMomentsPage: (voucher?: string) => void;
|
|
@@ -5954,7 +6423,7 @@ export declare interface RouterOverridesContextState {
|
|
|
5954
6423
|
Link: React_2.ComponentType<{
|
|
5955
6424
|
children?: React_2.ReactNode;
|
|
5956
6425
|
href?: string;
|
|
5957
|
-
}
|
|
6426
|
+
} & Pick<React_2.AriaAttributes, 'aria-label' | 'aria-current'>>;
|
|
5958
6427
|
}
|
|
5959
6428
|
|
|
5960
6429
|
/**
|
|
@@ -6183,13 +6652,18 @@ declare type SceneMetadata<TType extends InteractiveWidgetSceneTemplateType> = T
|
|
|
6183
6652
|
highlightedPlayers: LeaderboardPlayer[];
|
|
6184
6653
|
topPlayers: LeaderboardPlayer[];
|
|
6185
6654
|
stats?: InteractiveWidgetGroupStats;
|
|
6186
|
-
} : TType extends InteractiveWidgetSceneTemplateType.QR_CODE ? Record<Extract<SceneMetadataKeys[TType], string>, string> : TType extends InteractiveWidgetSceneTemplateType.AD_BANNER ?
|
|
6655
|
+
} : TType extends InteractiveWidgetSceneTemplateType.QR_CODE ? Record<Extract<SceneMetadataKeys[TType], string>, string> : TType extends InteractiveWidgetSceneTemplateType.AD_BANNER ? {
|
|
6656
|
+
bannerImage: string;
|
|
6657
|
+
/** Reskin OBS header — sponsor column (from ad scene). */
|
|
6658
|
+
sponsorLabel?: string;
|
|
6659
|
+
sponsorValue?: string;
|
|
6660
|
+
} : TType extends InteractiveWidgetSceneTemplateType.PLAYERS ? Record<Extract<SceneMetadataKeys[TType], string>, string> : object;
|
|
6187
6661
|
|
|
6188
6662
|
export declare interface SceneMetadataKeys {
|
|
6189
6663
|
[InteractiveWidgetSceneTemplateType.CURRENT_QUESTION]: 'highlightedUsersAnswers';
|
|
6190
6664
|
[InteractiveWidgetSceneTemplateType.LEADERBOARD]: 'highlightedPlayers';
|
|
6191
6665
|
[InteractiveWidgetSceneTemplateType.QR_CODE]: 'qrCodeUrl' | 'title' | 'subtitle';
|
|
6192
|
-
[InteractiveWidgetSceneTemplateType.AD_BANNER]: 'bannerImage';
|
|
6666
|
+
[InteractiveWidgetSceneTemplateType.AD_BANNER]: 'bannerImage' | 'sponsorLabel' | 'sponsorValue';
|
|
6193
6667
|
[InteractiveWidgetSceneTemplateType.PLAYERS]: 'centerHtml' | 'player1Name' | 'player2Name' | 'player1Image' | 'player2Image' | 'player1Id' | 'player2Id';
|
|
6194
6668
|
[InteractiveWidgetSceneTemplateType.NO_GRAPHICS]: never;
|
|
6195
6669
|
}
|
|
@@ -6239,6 +6713,11 @@ declare interface Screen_2 {
|
|
|
6239
6713
|
description?: string | null;
|
|
6240
6714
|
assets: AssetsField;
|
|
6241
6715
|
rows: PaginatedResponse<Row>;
|
|
6716
|
+
/**
|
|
6717
|
+
* True while screen rows are being fetched (at least the initial batch).
|
|
6718
|
+
* Implemented by the runtime Screen entity; optional here for compatibility.
|
|
6719
|
+
*/
|
|
6720
|
+
isRowsLoading?: boolean;
|
|
6242
6721
|
type?: ScreenType;
|
|
6243
6722
|
filter?: RowFilterField | null;
|
|
6244
6723
|
embedUrl?: string;
|
|
@@ -6761,6 +7240,10 @@ export declare interface SportyExternals {
|
|
|
6761
7240
|
showTitle?: string;
|
|
6762
7241
|
}
|
|
6763
7242
|
|
|
7243
|
+
export declare const STARGAZE_STUDIO_PRIVACY_POLICY_CONSENT_ID = "stargaze-studio-privacy-2026-06-08";
|
|
7244
|
+
|
|
7245
|
+
export declare const STARGAZE_STUDIO_PRIVACY_POLICY_URL = "https://studio.stargaze.com/privacy";
|
|
7246
|
+
|
|
6764
7247
|
/**
|
|
6765
7248
|
* @public
|
|
6766
7249
|
*/
|
|
@@ -6932,6 +7415,8 @@ declare type StaticRowInScreenVideoBanner = BaseStaticRowInScreen & {
|
|
|
6932
7415
|
declare type StaticRowInScreenWithTiles = BaseStaticRowInScreen & {
|
|
6933
7416
|
rowComponent: Exclude<RowComponent, RowComponent.CTA_BANNER | RowComponent.PRESENT_BANNER | RowComponent.VIDEO_BANNER | RowComponent.HOMEPAGE_BANNER | RowComponent.FAQ | RowComponent.BENEFITS>;
|
|
6934
7417
|
tiles: PaginatedResponse<TileData<'static'>, 'rowId'>;
|
|
7418
|
+
variant?: 'default' | 'large' | 'light' | 'dark';
|
|
7419
|
+
containerWidth?: boolean;
|
|
6935
7420
|
};
|
|
6936
7421
|
|
|
6937
7422
|
/**
|
|
@@ -6945,6 +7430,7 @@ export declare interface StaticRowNumbers extends BaseRow {
|
|
|
6945
7430
|
screenRef?: string;
|
|
6946
7431
|
videoRef?: string;
|
|
6947
7432
|
variant?: 'default' | 'large';
|
|
7433
|
+
containerWidth?: boolean;
|
|
6948
7434
|
}
|
|
6949
7435
|
|
|
6950
7436
|
/**
|
|
@@ -6995,7 +7481,7 @@ export declare interface StaticRowSplitLayout extends BaseRow {
|
|
|
6995
7481
|
*/
|
|
6996
7482
|
export declare interface StaticRowWithoutCustomItems extends BaseRow {
|
|
6997
7483
|
type: 'static';
|
|
6998
|
-
rowComponent: RowComponent.VIDEO_BANNER | RowComponent.MEDIA_ACCORDEON | RowComponent.MONETIZATION_BANNER | RowComponent.BACKGROUND_BANNER | RowComponent.PARTNER_LOGOS;
|
|
7484
|
+
rowComponent: RowComponent.VIDEO_BANNER | RowComponent.MEDIA_ACCORDEON | RowComponent.MONETIZATION_BANNER | RowComponent.MONETIZATIONS | RowComponent.BACKGROUND_BANNER | RowComponent.PARTNER_LOGOS;
|
|
6999
7485
|
screenRef?: string;
|
|
7000
7486
|
videoRef?: string;
|
|
7001
7487
|
videoPath?: string;
|
|
@@ -7046,6 +7532,13 @@ export declare interface StoreBadgeConfig {
|
|
|
7046
7532
|
export declare type StreamingProfile = 'low' | 'medium' | 'high';
|
|
7047
7533
|
|
|
7048
7534
|
export declare interface SubmitAnswerRequest {
|
|
7535
|
+
/**
|
|
7536
|
+
* Client-generated ID for one intentional vote. Generate a fresh ID per vote
|
|
7537
|
+
* and reuse it on retry. V2 accepts strings of 1–128 characters. Undefined is
|
|
7538
|
+
* accepted for single-vote submissions and rejected for repeatable polls.
|
|
7539
|
+
* The server generates a separate answer document ID.
|
|
7540
|
+
*/
|
|
7541
|
+
submissionId?: string;
|
|
7049
7542
|
answerOptionId?: string;
|
|
7050
7543
|
answerText?: string;
|
|
7051
7544
|
clientTimestamp: number;
|
|
@@ -7055,6 +7548,8 @@ export declare interface SubmitAnswerRequest {
|
|
|
7055
7548
|
}
|
|
7056
7549
|
|
|
7057
7550
|
export declare interface SubmitAnswerResponse {
|
|
7551
|
+
/** Server-derived epoch milliseconds when this user may vote again. Repeatable polls only. */
|
|
7552
|
+
nextAllowedVoteAt?: number;
|
|
7058
7553
|
id: string;
|
|
7059
7554
|
receivedTimestamp: number;
|
|
7060
7555
|
leaderboardScore?: number;
|
|
@@ -7103,6 +7598,12 @@ export declare type SubscribeToTaggedVideos = (tagIds: string[], cb: (error: Err
|
|
|
7103
7598
|
*/
|
|
7104
7599
|
export declare type SubscribeToTaggedVideosOptions = Omit<SubscribeToItemsInRowOptions, 'orderBy'> & {
|
|
7105
7600
|
orderBy?: OrderBy<TaggedVideosOrderByField>[];
|
|
7601
|
+
/**
|
|
7602
|
+
* Optional tag document references to use directly for the videos query.
|
|
7603
|
+
* When provided, the subscription will skip resolving `tagId -> TagDocument` and will query
|
|
7604
|
+
* `videos` by these refs (matches the refs stored inside `Video.tags` arrays).
|
|
7605
|
+
*/
|
|
7606
|
+
tagRefs?: unknown[];
|
|
7106
7607
|
};
|
|
7107
7608
|
|
|
7108
7609
|
/**
|
|
@@ -7124,6 +7625,17 @@ export declare const SubtitleLangCodeToTitle: Record<SubtitleLangCode, string>;
|
|
|
7124
7625
|
*/
|
|
7125
7626
|
export declare const subtitleLanguages: SubtitleLangCode[];
|
|
7126
7627
|
|
|
7628
|
+
/**
|
|
7629
|
+
* Enriched subtitle track info combining language code with metadata from encodingMetadata.
|
|
7630
|
+
* @public
|
|
7631
|
+
*/
|
|
7632
|
+
export declare interface SubtitleTrackInfo {
|
|
7633
|
+
language: SubtitleLangCode;
|
|
7634
|
+
label?: string;
|
|
7635
|
+
isCC?: boolean;
|
|
7636
|
+
isDefault?: boolean;
|
|
7637
|
+
}
|
|
7638
|
+
|
|
7127
7639
|
/**
|
|
7128
7640
|
* @public
|
|
7129
7641
|
*/
|
|
@@ -7161,6 +7673,7 @@ export declare interface Tag extends RowItem {
|
|
|
7161
7673
|
type?: string | null;
|
|
7162
7674
|
metadata?: TagMetadataField[];
|
|
7163
7675
|
color?: string;
|
|
7676
|
+
description?: string;
|
|
7164
7677
|
detailBanner?: string;
|
|
7165
7678
|
availableSeasons?: AvailableSeason[];
|
|
7166
7679
|
isFavorite: boolean;
|
|
@@ -7334,6 +7847,10 @@ export declare interface TileComponentProps {
|
|
|
7334
7847
|
* CSS color for the topLabel background. Defaults to white.
|
|
7335
7848
|
*/
|
|
7336
7849
|
topLabelColor?: string;
|
|
7850
|
+
/**
|
|
7851
|
+
* Sublabel text displayed under the video title (e.g. genre, series info).
|
|
7852
|
+
*/
|
|
7853
|
+
sublabel?: string;
|
|
7337
7854
|
}
|
|
7338
7855
|
|
|
7339
7856
|
export declare type TileData<T extends ScreenRowType = ScreenRowType> = T extends 'static' ? StaticTileData : DocumentTileData;
|
|
@@ -7351,6 +7868,19 @@ export declare interface TileMonetizationData {
|
|
|
7351
7868
|
export declare interface TileOptions {
|
|
7352
7869
|
focusedShadowColor?: string;
|
|
7353
7870
|
borderColor: string;
|
|
7871
|
+
coverBackgroundColor?: string;
|
|
7872
|
+
/**
|
|
7873
|
+
* Custom hover effect for tiles in modal detail grids (Similars, Collections, LinkedVideos).
|
|
7874
|
+
* When enabled, replaces the default FocusedStyles/HoverStyles.
|
|
7875
|
+
* If `scale` is omitted, no transform is applied (only border/shadow) — unlike the default which always scales to 1.03.
|
|
7876
|
+
*/
|
|
7877
|
+
coverHover?: {
|
|
7878
|
+
enabled?: boolean;
|
|
7879
|
+
/** Scale factor on hover/focus. If omitted, no transform is applied. */
|
|
7880
|
+
scale?: number;
|
|
7881
|
+
/** Transform origin. Default: 'bottom'. */
|
|
7882
|
+
transformOrigin?: string;
|
|
7883
|
+
};
|
|
7354
7884
|
/**
|
|
7355
7885
|
* This property is ignored for CIRCLED tiles, they always have border-radius: 50%;
|
|
7356
7886
|
*/
|
|
@@ -7371,6 +7901,7 @@ export declare interface TileOptions {
|
|
|
7371
7901
|
* Font size in px
|
|
7372
7902
|
*/
|
|
7373
7903
|
fontSize: number;
|
|
7904
|
+
hidden?: boolean;
|
|
7374
7905
|
};
|
|
7375
7906
|
bottomLabel: {
|
|
7376
7907
|
opacity: string | number;
|
|
@@ -7379,6 +7910,10 @@ export declare interface TileOptions {
|
|
|
7379
7910
|
* Font size in px
|
|
7380
7911
|
*/
|
|
7381
7912
|
fontSize: number;
|
|
7913
|
+
/**
|
|
7914
|
+
* Font size in px for mobile (sm breakpoint)
|
|
7915
|
+
*/
|
|
7916
|
+
fontSizeMobile?: number;
|
|
7382
7917
|
};
|
|
7383
7918
|
sizes: {
|
|
7384
7919
|
[variant in TileSizeVariant]: TileSizesMap;
|
|
@@ -7391,6 +7926,12 @@ export declare interface TileOptions {
|
|
|
7391
7926
|
};
|
|
7392
7927
|
color?: string;
|
|
7393
7928
|
fullWidthProgress?: boolean;
|
|
7929
|
+
sublabel?: {
|
|
7930
|
+
fontSize?: string;
|
|
7931
|
+
fontWeight?: string | number;
|
|
7932
|
+
color?: string;
|
|
7933
|
+
hideDate?: boolean;
|
|
7934
|
+
};
|
|
7394
7935
|
}
|
|
7395
7936
|
|
|
7396
7937
|
/**
|
|
@@ -7506,42 +8047,12 @@ export declare type TivioBundleFile = {
|
|
|
7506
8047
|
* @public
|
|
7507
8048
|
*/
|
|
7508
8049
|
export declare interface TivioComponents {
|
|
7509
|
-
Markers: React_2.ComponentType<MarkersProps>;
|
|
7510
8050
|
PlayerDataContext: React_2.Context<{
|
|
7511
8051
|
player: any | null;
|
|
7512
8052
|
}>;
|
|
7513
8053
|
Provider: React_2.ComponentType<RemoteProviderProps>;
|
|
7514
8054
|
WebPlayer: React_2.ComponentType<WebPlayerProps>;
|
|
7515
|
-
PlayerDataContextProvider: React_2.ComponentType<{
|
|
7516
|
-
id: string;
|
|
7517
|
-
}>;
|
|
7518
|
-
SkipButtonTv: React_2.ComponentType<{
|
|
7519
|
-
Button: React_2.ComponentType;
|
|
7520
|
-
Label: React_2.ComponentType;
|
|
7521
|
-
Container: React_2.ComponentType;
|
|
7522
|
-
onStarted?: () => any;
|
|
7523
|
-
onEnded?: () => any;
|
|
7524
|
-
}>;
|
|
7525
|
-
TvApp: React_2.ComponentType<TvAppProps>;
|
|
7526
8055
|
FeatureSupportCheck: React_2.ComponentType;
|
|
7527
|
-
CustomerScreen: React_2.ComponentType<{
|
|
7528
|
-
screenId: string;
|
|
7529
|
-
screen: Screen_2;
|
|
7530
|
-
}>;
|
|
7531
|
-
WebTagScreen: React_2.ComponentType<{
|
|
7532
|
-
tagId: string;
|
|
7533
|
-
onError?: (error: Error) => void;
|
|
7534
|
-
}>;
|
|
7535
|
-
WebGridScreen: React_2.ComponentType<WebGridScreenProps>;
|
|
7536
|
-
WebSearchScreen: React_2.ComponentType<{
|
|
7537
|
-
searchQuery?: string;
|
|
7538
|
-
}>;
|
|
7539
|
-
WebRow: React_2.ComponentType<WebRowProps>;
|
|
7540
|
-
WebTile: React_2.ComponentType<{
|
|
7541
|
-
item?: ItemInRow;
|
|
7542
|
-
} & TilePropsPartial>;
|
|
7543
|
-
ContentSortPicker: React_2.ComponentType<ContentSortPickerProps>;
|
|
7544
|
-
WebTivioProVideoScreen: React_2.ComponentType<WebTivioProVideoScreenProps>;
|
|
7545
8056
|
RemoteController: React_2.ComponentType<RemoteControllerProps>;
|
|
7546
8057
|
}
|
|
7547
8058
|
|
|
@@ -7588,6 +8099,11 @@ export declare interface TivioConfig {
|
|
|
7588
8099
|
* Used to define and manage a list of supported languages for different language-usages (user, content,...).
|
|
7589
8100
|
*/
|
|
7590
8101
|
languageSelectors?: Partial<Record<LanguageSelector, LangCode[]>>;
|
|
8102
|
+
/**
|
|
8103
|
+
* Loads the organization directly instead of resolving it from `secret`.
|
|
8104
|
+
* Intended for branded applications hosted under a shared platform secret.
|
|
8105
|
+
*/
|
|
8106
|
+
organizationId?: string;
|
|
7591
8107
|
applicationId?: string;
|
|
7592
8108
|
isTivioProApp?: boolean;
|
|
7593
8109
|
lockApplicationHandle?: string;
|
|
@@ -7595,6 +8111,15 @@ export declare interface TivioConfig {
|
|
|
7595
8111
|
* Configuration for GDPR consent collection (CMP)
|
|
7596
8112
|
*/
|
|
7597
8113
|
cmp?: CmpConfig;
|
|
8114
|
+
/**
|
|
8115
|
+
* CMP profile to use when it differs from or is missing on the organization document.
|
|
8116
|
+
* Does not change the Firebase app identity.
|
|
8117
|
+
*/
|
|
8118
|
+
cmpCustomerId?: CustomerId;
|
|
8119
|
+
/** Force one display language for the CMP notice and preferences. */
|
|
8120
|
+
cmpLanguage?: LangCode;
|
|
8121
|
+
/** Enable Didomi's native Google Consent Mode v2 and GTM consent events. */
|
|
8122
|
+
cmpGoogleConsentMode?: boolean;
|
|
7598
8123
|
/**
|
|
7599
8124
|
* Device information - model, os, version, etc. This is useful for devices
|
|
7600
8125
|
* where this information cannot be reliably auto-detected.
|
|
@@ -7734,35 +8259,10 @@ export declare type TivioHooks = {
|
|
|
7734
8259
|
* @public
|
|
7735
8260
|
*/
|
|
7736
8261
|
export declare type TivioInternalBundle = {
|
|
7737
|
-
components: TivioInternalComponents;
|
|
7738
8262
|
hooks: TivioInternalHooks;
|
|
7739
8263
|
providers: TivioInternalProviders;
|
|
7740
8264
|
};
|
|
7741
8265
|
|
|
7742
|
-
/**
|
|
7743
|
-
* @public
|
|
7744
|
-
*/
|
|
7745
|
-
export declare type TivioInternalComponents = {
|
|
7746
|
-
PrimaryButton: React_2.ComponentType<any>;
|
|
7747
|
-
WebLandingScreen: React_2.ComponentType<{
|
|
7748
|
-
logo?: string;
|
|
7749
|
-
}>;
|
|
7750
|
-
WebVideoScreen: React_2.ComponentType<{
|
|
7751
|
-
videoIdOrUrlName: string;
|
|
7752
|
-
}>;
|
|
7753
|
-
WebSeriesDetailScreen: React_2.ComponentType<WebSeriesDetailScreenProps>;
|
|
7754
|
-
WebConfirmationOverlay: React_2.ComponentType;
|
|
7755
|
-
UserProfilesOverlay: React_2.ComponentType<{
|
|
7756
|
-
onClose: (selectedProfileId: string) => void;
|
|
7757
|
-
}>;
|
|
7758
|
-
Banner: React_2.ComponentType<BannerPropsPartial>;
|
|
7759
|
-
CustomAppHistoryContext: React_2.Context<HistoryContextData | undefined>;
|
|
7760
|
-
ScrollableSubscriptionList: React_2.ComponentType<{
|
|
7761
|
-
subscriptions: PurchasableMonetization[];
|
|
7762
|
-
renderSubscription: (subscription: PurchasableMonetization) => React_2.ReactNode;
|
|
7763
|
-
}>;
|
|
7764
|
-
};
|
|
7765
|
-
|
|
7766
8266
|
/**
|
|
7767
8267
|
* @public
|
|
7768
8268
|
*/
|
|
@@ -7835,32 +8335,15 @@ export declare type TivioInternalHooks = {
|
|
|
7835
8335
|
* @public
|
|
7836
8336
|
*/
|
|
7837
8337
|
export declare type TivioInternalProviders = {
|
|
7838
|
-
AppThemeProvider: React_2.ComponentType;
|
|
7839
|
-
CustomerProvider: React_2.ComponentType<{
|
|
7840
|
-
customer: CustomerId;
|
|
7841
|
-
platform: PLATFORM;
|
|
7842
|
-
children?: React_2.ReactNode;
|
|
7843
|
-
}>;
|
|
7844
|
-
ConfigProvider: React_2.ComponentType<React_2.PropsWithChildren>;
|
|
7845
8338
|
UserContextProvider: React_2.ComponentType<{
|
|
7846
8339
|
children?: React_2.ReactNode;
|
|
7847
8340
|
}>;
|
|
7848
|
-
MonetizationsSelectOverlayContextProvider: React_2.ComponentType;
|
|
7849
|
-
QerkoOverlayContextProvider: React_2.ComponentType;
|
|
7850
8341
|
/**
|
|
7851
8342
|
* @deprecated do not use, this provider will be removed in the future
|
|
7852
8343
|
*/
|
|
7853
8344
|
PurchasesWithVideosContextProvider: React_2.ComponentType<{
|
|
7854
8345
|
children?: React_2.ReactNode;
|
|
7855
8346
|
}>;
|
|
7856
|
-
/**
|
|
7857
|
-
* @deprecated not used in our app, can be removed when no sdk in production uses it
|
|
7858
|
-
*/
|
|
7859
|
-
OrganizationSubscriptionsContextProvider: React_2.ComponentType;
|
|
7860
|
-
RouterOverridesContextProvider: React_2.ComponentType<{
|
|
7861
|
-
state: RouterOverridesContextState;
|
|
7862
|
-
}>;
|
|
7863
|
-
ConfirmationOverlayContextProvider: React_2.ComponentType;
|
|
7864
8347
|
};
|
|
7865
8348
|
|
|
7866
8349
|
/**
|
|
@@ -7948,12 +8431,13 @@ export declare type TivioReactBundle = {
|
|
|
7948
8431
|
hooks: TivioHooks;
|
|
7949
8432
|
sources: TivioSources;
|
|
7950
8433
|
subscriptions: TivioSubscriptions;
|
|
8434
|
+
supportsQerkoWebTheme?: boolean;
|
|
7951
8435
|
purchaseVideoWithQerko: (videoId: string, monetizationId: string, voucher?: {
|
|
7952
8436
|
expirationDate: Date;
|
|
7953
|
-
}, email?: string) => Promise<QerkoPaymentInfo>;
|
|
8437
|
+
}, email?: string, gateway?: PurchaseDocumentGateway, checkout?: QerkoCheckoutOptions) => Promise<QerkoPaymentInfo>;
|
|
7954
8438
|
purchaseSubscriptionWithQerko: (monetizationId: string, voucher?: {
|
|
7955
8439
|
expirationDate: Date;
|
|
7956
|
-
}, email?: string, quantity?: number) => Promise<QerkoPaymentInfo>;
|
|
8440
|
+
}, email?: string, quantity?: number, gateway?: PurchaseDocumentGateway, checkout?: QerkoCheckoutOptions) => Promise<QerkoPaymentInfo>;
|
|
7957
8441
|
cancelSubscriptionWithQerko: (subscriptionId: string) => Promise<QerkoCancellationInfo>;
|
|
7958
8442
|
showConsentPreferences: () => void;
|
|
7959
8443
|
/**
|
|
@@ -8070,13 +8554,6 @@ export declare type Translation = {
|
|
|
8070
8554
|
[key in LangCode]?: string;
|
|
8071
8555
|
};
|
|
8072
8556
|
|
|
8073
|
-
/**
|
|
8074
|
-
* @public
|
|
8075
|
-
*/
|
|
8076
|
-
export declare interface TvAppProps {
|
|
8077
|
-
customer: CustomerId;
|
|
8078
|
-
}
|
|
8079
|
-
|
|
8080
8557
|
/**
|
|
8081
8558
|
* @public
|
|
8082
8559
|
*/
|
|
@@ -8262,9 +8739,9 @@ export declare const useAdSegment: () => {
|
|
|
8262
8739
|
* @public
|
|
8263
8740
|
*/
|
|
8264
8741
|
export declare function useApplyInviteCode(): {
|
|
8265
|
-
applyInviteCodeResult?: boolean
|
|
8742
|
+
applyInviteCodeResult?: boolean;
|
|
8266
8743
|
loading: boolean;
|
|
8267
|
-
error?: GenericOnCallError
|
|
8744
|
+
error?: GenericOnCallError;
|
|
8268
8745
|
applyInviteCode: (code: string) => void;
|
|
8269
8746
|
inviteCodeReset: () => void;
|
|
8270
8747
|
};
|
|
@@ -8470,7 +8947,7 @@ export declare const useOrganizationSubscriptions: (onlyPurchasableSubscriptions
|
|
|
8470
8947
|
};
|
|
8471
8948
|
|
|
8472
8949
|
export declare const usePollWidget: (widgetPath: string | undefined, isObs?: boolean) => {
|
|
8473
|
-
widget:
|
|
8950
|
+
widget: SDKWidget<PollWidget> | null;
|
|
8474
8951
|
isLoading: boolean;
|
|
8475
8952
|
error: Error | null;
|
|
8476
8953
|
};
|
|
@@ -8485,9 +8962,9 @@ export declare const usePollWidget: (widgetPath: string | undefined, isObs?: boo
|
|
|
8485
8962
|
* @public
|
|
8486
8963
|
*/
|
|
8487
8964
|
export declare function usePurchaseRecovery(): {
|
|
8488
|
-
purchaseRecoveryResult?: string
|
|
8965
|
+
purchaseRecoveryResult?: string;
|
|
8489
8966
|
loading: boolean;
|
|
8490
|
-
error?: GenericOnCallError
|
|
8967
|
+
error?: GenericOnCallError;
|
|
8491
8968
|
purchaseRecovery: (monetizationId: string) => void;
|
|
8492
8969
|
};
|
|
8493
8970
|
|
|
@@ -8497,7 +8974,7 @@ export declare function usePurchaseRecovery(): {
|
|
|
8497
8974
|
export declare const usePurchaseSubscription: (monetizationId: string, voucher?: NewVoucher) => QerkoTransaction;
|
|
8498
8975
|
|
|
8499
8976
|
export declare const useQuizWidget: (widgetPath: string | undefined, isObs?: boolean) => {
|
|
8500
|
-
widget:
|
|
8977
|
+
widget: SDKWidget<QuizWidget> | null;
|
|
8501
8978
|
isLoading: boolean;
|
|
8502
8979
|
error: Error | null;
|
|
8503
8980
|
};
|
|
@@ -8534,7 +9011,12 @@ export declare type User = {
|
|
|
8534
9011
|
*/
|
|
8535
9012
|
purchasedVods: Purchase[];
|
|
8536
9013
|
/**
|
|
8537
|
-
* Returns
|
|
9014
|
+
* Returns active VoD purchases and inactive VoD purchases that have invoice history.
|
|
9015
|
+
* Unlike purchasedVods, this collection must not be used for content entitlement checks.
|
|
9016
|
+
*/
|
|
9017
|
+
purchasedVodHistory?: Purchase[];
|
|
9018
|
+
/**
|
|
9019
|
+
* Returns active subscriptions and expired subscriptions with invoice history.
|
|
8538
9020
|
*/
|
|
8539
9021
|
purchasedSubscriptions: Purchase[];
|
|
8540
9022
|
/**
|
|
@@ -8595,6 +9077,7 @@ export declare type User = {
|
|
|
8595
9077
|
followedOrganizationIds: string[];
|
|
8596
9078
|
isAnonymous: boolean;
|
|
8597
9079
|
isDiscordConnected: boolean;
|
|
9080
|
+
isSpotifyConnectedForOrganization?: (organizationId: string) => boolean;
|
|
8598
9081
|
disconnectDiscord: () => Promise<void>;
|
|
8599
9082
|
/**
|
|
8600
9083
|
* Create new profile for this user.
|
|
@@ -8818,6 +9301,10 @@ export declare const useSearch: UseSearch;
|
|
|
8818
9301
|
*/
|
|
8819
9302
|
export declare type UseSearchOptions<T extends ALGOLIA_INDEX_NAME = any> = PaginationOptions & {
|
|
8820
9303
|
minQueryLength?: number;
|
|
9304
|
+
/** An Algolia condition or OR conditions, combined with required filters using AND. */
|
|
9305
|
+
filters?: string;
|
|
9306
|
+
/** Apply kids profile age restrictions to tag results. Videos always use these restrictions. */
|
|
9307
|
+
filterTagsByAge?: boolean;
|
|
8821
9308
|
} & (T extends ALGOLIA_INDEX_NAME.VIDEOS | ALGOLIA_INDEX_NAME.VIDEOSDESC ? UseSearchVideoOptions : {});
|
|
8822
9309
|
|
|
8823
9310
|
/**
|
|
@@ -8829,6 +9316,8 @@ export declare type UseSearchResult<T extends ALGOLIA_INDEX_NAME> = T extends AL
|
|
|
8829
9316
|
* @public
|
|
8830
9317
|
*/
|
|
8831
9318
|
export declare type UseSearchVideoOptions = {
|
|
9319
|
+
/** Load cached video documents before returning results, including their complete tag references. */
|
|
9320
|
+
fetchVideoData?: boolean;
|
|
8832
9321
|
/**
|
|
8833
9322
|
* If true video tags are awaited before loading is over.
|
|
8834
9323
|
* Otherwise, only videos are awaited.
|
|
@@ -8957,6 +9446,7 @@ export declare enum VastProvider {
|
|
|
8957
9446
|
FALLBACK_MP4 = "fallback",
|
|
8958
9447
|
GARAZ_TV = "garaz.tv",
|
|
8959
9448
|
GARAZ_TV_DEV = "garaz.tv.dev",
|
|
9449
|
+
KVIFF_WEB = "KVIFF_WEB",
|
|
8960
9450
|
JOJ_ADFORM = "joj",
|
|
8961
9451
|
JOJ_SMART = "joj-smart",
|
|
8962
9452
|
JOJ_AD_MANAGER_VOD_PREROLL = "joj-ad-manager-vod-preroll",
|
|
@@ -9055,11 +9545,15 @@ export declare interface Video extends RowItem, MonetizableItem, ReactableConten
|
|
|
9055
9545
|
sourceLanguages: LangCode[];
|
|
9056
9546
|
urlByLanguage: (lang: LangCode) => string | undefined;
|
|
9057
9547
|
getApplicationName: () => string | undefined;
|
|
9548
|
+
getGenreName?: () => string;
|
|
9549
|
+
genreName?: string;
|
|
9550
|
+
series?: Tag;
|
|
9058
9551
|
getApplicationLogo: () => string | undefined;
|
|
9059
9552
|
setApplicationData: (applicationData: RowItemApplicationData) => void;
|
|
9060
9553
|
linkedVideosInNotLoaded: () => boolean | undefined;
|
|
9061
9554
|
initApplication: () => Promise<void>;
|
|
9062
9555
|
init: () => Promise<void>;
|
|
9556
|
+
initTags?: () => Promise<Tag[]>;
|
|
9063
9557
|
progress?: number;
|
|
9064
9558
|
purchasableMonetizationPurchase: Purchase | null;
|
|
9065
9559
|
purchaseByVideoId: Purchase | null;
|
|
@@ -9067,12 +9561,49 @@ export declare interface Video extends RowItem, MonetizableItem, ReactableConten
|
|
|
9067
9561
|
isWatched?: boolean;
|
|
9068
9562
|
pgRating?: string;
|
|
9069
9563
|
contentDescriptors?: string[];
|
|
9564
|
+
/**
|
|
9565
|
+
* Alias for pgRating used by UI as "age restriction" (e.g. "12+")
|
|
9566
|
+
*/
|
|
9567
|
+
ageRestriction?: string;
|
|
9568
|
+
/**
|
|
9569
|
+
* Human label for the primary monetization to show in UI (KViff metadata row)
|
|
9570
|
+
*/
|
|
9571
|
+
primaryMonetizationLabel?: string;
|
|
9572
|
+
/**
|
|
9573
|
+
* Director names derived from tags with tagTypeId === "director"
|
|
9574
|
+
*/
|
|
9575
|
+
directorNames?: string[];
|
|
9576
|
+
/**
|
|
9577
|
+
* Country names derived from tags with tagTypeId === "countries"
|
|
9578
|
+
*/
|
|
9579
|
+
countryNames?: string[];
|
|
9580
|
+
/**
|
|
9581
|
+
* Audio language tracks (LangCodes)
|
|
9582
|
+
*/
|
|
9583
|
+
audioTracks?: LangCode[];
|
|
9584
|
+
/**
|
|
9585
|
+
* Subtitle language tracks
|
|
9586
|
+
*/
|
|
9587
|
+
subtitleTracks?: SubtitleLangCode[];
|
|
9588
|
+
/**
|
|
9589
|
+
* Enriched subtitle track info with label, isCC, isDefault metadata.
|
|
9590
|
+
*/
|
|
9591
|
+
subtitleTrackInfos?: SubtitleTrackInfo[];
|
|
9592
|
+
/**
|
|
9593
|
+
* Language code of the default subtitle track (isDefault === true), or null.
|
|
9594
|
+
*/
|
|
9595
|
+
defaultSubtitleLanguage?: SubtitleLangCode | null;
|
|
9596
|
+
transcodingStatus?: VideoTranscodingStatus;
|
|
9070
9597
|
publishedStatus?: PublishedStatus;
|
|
9071
9598
|
widgetPaths?: string[];
|
|
9072
9599
|
forcedCapabilities: PlayerCapability[] | null;
|
|
9073
9600
|
mainLinkedVideoId?: string;
|
|
9074
9601
|
getLinkedVideoIdByLanguage: (lang: LangCode) => string | undefined;
|
|
9075
9602
|
externals?: VideoExternals;
|
|
9603
|
+
/**
|
|
9604
|
+
* Sublabel text displayed under the video title (e.g. genre, series info).
|
|
9605
|
+
*/
|
|
9606
|
+
sublabel?: string;
|
|
9076
9607
|
}
|
|
9077
9608
|
|
|
9078
9609
|
/**
|
|
@@ -9276,7 +9807,9 @@ declare type VideoDetailResponsiveField = OrganizationResponsiveSetting<{
|
|
|
9276
9807
|
* @default 12
|
|
9277
9808
|
*/
|
|
9278
9809
|
relatedVideosLimit?: number;
|
|
9279
|
-
}
|
|
9810
|
+
}> & {
|
|
9811
|
+
hideCreatorBadge?: boolean;
|
|
9812
|
+
};
|
|
9280
9813
|
|
|
9281
9814
|
/**
|
|
9282
9815
|
* @public
|
|
@@ -9314,6 +9847,8 @@ export declare enum VideoSourceEncryption {
|
|
|
9314
9847
|
|
|
9315
9848
|
export declare type VideoSourceField = {
|
|
9316
9849
|
codec: VideoSourceCodec;
|
|
9850
|
+
/** Buffer settings returned to the player when this source is selected. */
|
|
9851
|
+
playerOptions?: PlayerOptions;
|
|
9317
9852
|
/**
|
|
9318
9853
|
* DRM provider for given encrypted source.
|
|
9319
9854
|
*
|
|
@@ -9393,6 +9928,7 @@ declare type VideoTileMonetizationData = TileMonetizationData & {
|
|
|
9393
9928
|
export declare interface VideoTileSpecificData {
|
|
9394
9929
|
cover?: string;
|
|
9395
9930
|
assets?: AssetsField;
|
|
9931
|
+
organizationId?: string;
|
|
9396
9932
|
episodeNumber?: number;
|
|
9397
9933
|
seasonNumber?: number;
|
|
9398
9934
|
urlName?: UrlNamesType;
|
|
@@ -9429,6 +9965,10 @@ export declare enum VideoTranscodingStatus {
|
|
|
9429
9965
|
* @public
|
|
9430
9966
|
*/
|
|
9431
9967
|
export declare enum VideoType {
|
|
9968
|
+
/**
|
|
9969
|
+
* Advertising video.
|
|
9970
|
+
*/
|
|
9971
|
+
AD = "AD",
|
|
9432
9972
|
/**
|
|
9433
9973
|
* Video is composed of several other videos.
|
|
9434
9974
|
*/
|
|
@@ -9465,6 +10005,23 @@ export declare enum VideoType {
|
|
|
9465
10005
|
CHILD = "CHILD"
|
|
9466
10006
|
}
|
|
9467
10007
|
|
|
10008
|
+
export declare type VideoVariantLocale = 'cs' | 'sk' | 'pl';
|
|
10009
|
+
|
|
10010
|
+
/** Static graphics and font assets used by the variant renderer. */
|
|
10011
|
+
export declare interface VideoVariantPresentation {
|
|
10012
|
+
/** Duration of the complete L-frame introduction, including preceding media. */
|
|
10013
|
+
introDurationMs?: number;
|
|
10014
|
+
id: string;
|
|
10015
|
+
overlayObjectKey: string;
|
|
10016
|
+
fontObjectKey: string;
|
|
10017
|
+
fontFamily: string;
|
|
10018
|
+
countdownLabel: string;
|
|
10019
|
+
}
|
|
10020
|
+
|
|
10021
|
+
export declare enum VideoVariantType {
|
|
10022
|
+
L_FRAME_INTRO = "L_FRAME_INTRO"
|
|
10023
|
+
}
|
|
10024
|
+
|
|
9468
10025
|
export declare interface ViewCountItem {
|
|
9469
10026
|
/**
|
|
9470
10027
|
* Unix timestamp
|
|
@@ -9555,6 +10112,12 @@ export declare interface VodTivioSourceInterface extends PlayerSourceInterface<S
|
|
|
9555
10112
|
*/
|
|
9556
10113
|
export declare interface VodTivioSourceParams extends PlayerSourceParams<SourceType.VOD_TIVIO> {
|
|
9557
10114
|
videoPath: string;
|
|
10115
|
+
/**
|
|
10116
|
+
* Path of the video document whose stream URL is actually played.
|
|
10117
|
+
* When set (e.g. tasting preview), device-limit and similar playback security checks
|
|
10118
|
+
* are evaluated against this video instead of {@link videoPath}.
|
|
10119
|
+
*/
|
|
10120
|
+
playbackVideoPath?: string;
|
|
9558
10121
|
adMonetizationId?: string;
|
|
9559
10122
|
language?: LangCode;
|
|
9560
10123
|
drm?: Drm;
|
|
@@ -9626,6 +10189,10 @@ export declare interface WarningConfirmationOverlayPayload extends ConfirmationO
|
|
|
9626
10189
|
*/
|
|
9627
10190
|
export declare interface Watermark {
|
|
9628
10191
|
caption: string;
|
|
10192
|
+
edgeOffsetPercent?: number;
|
|
10193
|
+
fontSizePx?: number;
|
|
10194
|
+
opacity?: number;
|
|
10195
|
+
position?: 'random' | 'bottom-right';
|
|
9629
10196
|
size: 'large' | 'medium';
|
|
9630
10197
|
}
|
|
9631
10198
|
|
|
@@ -9648,6 +10215,10 @@ export declare interface WebConfig {
|
|
|
9648
10215
|
* @deprecated Use headerButton instead
|
|
9649
10216
|
*/
|
|
9650
10217
|
buyVoucherButtonText?: string;
|
|
10218
|
+
/**
|
|
10219
|
+
* If true, the voucher purchase action is shown in the header instead of the organization banner.
|
|
10220
|
+
*/
|
|
10221
|
+
showVoucherButton?: boolean;
|
|
9651
10222
|
/**
|
|
9652
10223
|
* Configurable button shown in the header (e.g., for vouchers, creator signup, etc.)
|
|
9653
10224
|
* Array of language-specific button configurations.
|
|
@@ -9695,6 +10266,10 @@ export declare interface WebConfig {
|
|
|
9695
10266
|
* right panel - some short common description of website
|
|
9696
10267
|
*/
|
|
9697
10268
|
description?: string;
|
|
10269
|
+
/**
|
|
10270
|
+
* Optional font size for the footer description. Defaults to the inherited footer typography size.
|
|
10271
|
+
*/
|
|
10272
|
+
descriptionFontSize?: string;
|
|
9698
10273
|
/**
|
|
9699
10274
|
* left panel - hyperlinks to stores for downloading native app
|
|
9700
10275
|
* if our client has some native app
|
|
@@ -9718,7 +10293,7 @@ export declare interface WebConfig {
|
|
|
9718
10293
|
}[];
|
|
9719
10294
|
};
|
|
9720
10295
|
theme?: {
|
|
9721
|
-
headerType?:
|
|
10296
|
+
headerType?: 'light' | 'dark';
|
|
9722
10297
|
};
|
|
9723
10298
|
screens?: ScreenConfig[];
|
|
9724
10299
|
/**
|
|
@@ -9726,6 +10301,12 @@ export declare interface WebConfig {
|
|
|
9726
10301
|
* so app requires authorization to see them.
|
|
9727
10302
|
*/
|
|
9728
10303
|
securedContent?: boolean;
|
|
10304
|
+
organizationBanner?: {
|
|
10305
|
+
/**
|
|
10306
|
+
* If true, the subscription button in the organization banner is hidden.
|
|
10307
|
+
*/
|
|
10308
|
+
hideSubscriptionButton?: boolean;
|
|
10309
|
+
};
|
|
9729
10310
|
/**
|
|
9730
10311
|
* CSS styles for application background.
|
|
9731
10312
|
*/
|
|
@@ -9771,11 +10352,27 @@ export declare interface WebConfig {
|
|
|
9771
10352
|
*/
|
|
9772
10353
|
showChooseSubscription?: boolean;
|
|
9773
10354
|
registration?: {
|
|
10355
|
+
logoMarginTop?: string;
|
|
10356
|
+
/** Optional auth logo width. Omit to retain the current image sizing. */
|
|
10357
|
+
logoWidth?: string;
|
|
10358
|
+
/**
|
|
10359
|
+
* Optional color for links rendered inside registration consent text.
|
|
10360
|
+
* Falls back to the customer's primary palette color.
|
|
10361
|
+
*/
|
|
10362
|
+
consentLinkColor?: string;
|
|
9774
10363
|
/**
|
|
9775
10364
|
* Customization of auth form
|
|
9776
10365
|
*/
|
|
9777
10366
|
form?: {
|
|
9778
10367
|
subtitle?: string;
|
|
10368
|
+
/** Optional gap above the auth form, on desktop and mobile. */
|
|
10369
|
+
marginTop?: string;
|
|
10370
|
+
/** Optional gap below the auth subtitle, on desktop and mobile. */
|
|
10371
|
+
subtitleMarginBottom?: string;
|
|
10372
|
+
/**
|
|
10373
|
+
* Optional font size for the registration page subtitle.
|
|
10374
|
+
*/
|
|
10375
|
+
subtitleFontSize?: string;
|
|
9779
10376
|
/**
|
|
9780
10377
|
* Optional phoneNumber form field
|
|
9781
10378
|
*/
|
|
@@ -9792,6 +10389,19 @@ export declare interface WebConfig {
|
|
|
9792
10389
|
registrationConsent?: string;
|
|
9793
10390
|
};
|
|
9794
10391
|
payment?: {
|
|
10392
|
+
/** Require sign-in before mounting checkout; free playback remains public. */
|
|
10393
|
+
requireAuthentication?: boolean;
|
|
10394
|
+
/** Show only a primary registration button when checkout requires sign-in. */
|
|
10395
|
+
registrationOnly?: boolean;
|
|
10396
|
+
/** Include the price when the purchase button represents one known offer. */
|
|
10397
|
+
showPriceInPurchaseButton?: boolean;
|
|
10398
|
+
/** Omit to preserve the original checkout button appearance and order. */
|
|
10399
|
+
methodButtons?: {
|
|
10400
|
+
appearance: 'outlined';
|
|
10401
|
+
primaryMethod?: 'blik' | 'hotpay' | 'applePay' | 'googlePay' | 'card' | 'voucher';
|
|
10402
|
+
/** Ordered method choices before checkout. Omit to retain the existing payment flow. */
|
|
10403
|
+
methods?: ('blik' | 'hotpay' | 'applePay' | 'googlePay' | 'card' | 'voucher')[];
|
|
10404
|
+
};
|
|
9795
10405
|
paymentConsent?: string;
|
|
9796
10406
|
paymentRenewalConsent?: boolean;
|
|
9797
10407
|
allowFrequencySwitcher?: boolean;
|
|
@@ -9849,19 +10459,60 @@ export declare interface WebConfig {
|
|
|
9849
10459
|
* If true, robots.txt will prevent crawling of the website.
|
|
9850
10460
|
*/
|
|
9851
10461
|
norobots?: boolean;
|
|
9852
|
-
|
|
9853
|
-
|
|
9854
|
-
|
|
9855
|
-
|
|
9856
|
-
|
|
10462
|
+
/**
|
|
10463
|
+
* Per-customer i18n translation overrides applied globally via Translator.
|
|
10464
|
+
* Format: { [langCode]: { [translationKey]: translatedValue } }
|
|
10465
|
+
*/
|
|
10466
|
+
customTranslations?: Partial<Record<LangCode, Record<string, string>>>;
|
|
9857
10467
|
/**
|
|
9858
10468
|
* Map for all handlers
|
|
9859
10469
|
*/
|
|
9860
10470
|
handlers?: PurchaseEventHandlers;
|
|
9861
10471
|
homeScreen?: {
|
|
10472
|
+
/** Render the first application screen at `/` on a custom web. */
|
|
10473
|
+
renderAtRoot?: boolean;
|
|
9862
10474
|
useFullHeight?: boolean;
|
|
10475
|
+
gridSections?: HomeScreenGridSectionConfig[];
|
|
10476
|
+
/** Use the first item of this screen row as the hero, without hiding the row itself. */
|
|
10477
|
+
backgroundBannerRowId?: string;
|
|
9863
10478
|
};
|
|
10479
|
+
/** Ask for confirmation before a geo-blocked film purchase. Does not change playback authorization. */
|
|
10480
|
+
warnBeforeGeoBlockedPurchase?: boolean;
|
|
9864
10481
|
disableModalSwitcher?: boolean;
|
|
10482
|
+
hideModalCollectionsTab?: boolean;
|
|
10483
|
+
hideModalActorsTab?: boolean;
|
|
10484
|
+
/** Initial video modal tab. Defaults to similars; unavailable details fall back to similars. */
|
|
10485
|
+
modalVideoInitialTab?: 'similars' | 'details';
|
|
10486
|
+
/**
|
|
10487
|
+
* Tag document id that marks a video as a "film". When set, the modal
|
|
10488
|
+
* "About" ("o filmu") tab is shown only for videos carrying this tag; plain
|
|
10489
|
+
* videos hide the tab and default to the "Similars" ("podobné") tab instead.
|
|
10490
|
+
* When omitted, the About tab uses the default behavior (shown for monetized
|
|
10491
|
+
* videos). Used e.g. by KViff, whose content is not flagged via `contentType`.
|
|
10492
|
+
*/
|
|
10493
|
+
modalAboutTabFilmTagId?: string;
|
|
10494
|
+
organizationBannerBuySubscriptionHref?: string;
|
|
10495
|
+
/**
|
|
10496
|
+
* Specific tag paths to use as hard filters (OR) for Algolia Recommend in similars.
|
|
10497
|
+
* Only tags that the video actually has are included in the filter.
|
|
10498
|
+
*/
|
|
10499
|
+
similarsFilterTags?: string[];
|
|
10500
|
+
/**
|
|
10501
|
+
* Algolia hard filter appended to recommendations query when active profile is a kids profile.
|
|
10502
|
+
* E.g. 'pgRating:univerzální' to guarantee only universal-rated content is returned.
|
|
10503
|
+
*/
|
|
10504
|
+
kidsProfileRecommendFilter?: string;
|
|
10505
|
+
/**
|
|
10506
|
+
* Profile page configuration
|
|
10507
|
+
*/
|
|
10508
|
+
profile?: {
|
|
10509
|
+
/**
|
|
10510
|
+
* If provided, an "Edit profile" button will be shown in the profile account section
|
|
10511
|
+
* linking to this URL (e.g., external identity provider like ARTS ID).
|
|
10512
|
+
* Opens in a new tab.
|
|
10513
|
+
*/
|
|
10514
|
+
editProfileUrl?: string;
|
|
10515
|
+
};
|
|
9865
10516
|
}
|
|
9866
10517
|
|
|
9867
10518
|
/**
|
|
@@ -9973,6 +10624,9 @@ export declare interface WebPlayerProps {
|
|
|
9973
10624
|
*/
|
|
9974
10625
|
export declare interface WebProfileScreenProps {
|
|
9975
10626
|
onLogout: () => void;
|
|
10627
|
+
spotifyConnectIntent?: boolean;
|
|
10628
|
+
onSpotifyConnectIntentConsumed?: () => void;
|
|
10629
|
+
spotifyFinalizeState?: 'pending' | 'error';
|
|
9976
10630
|
}
|
|
9977
10631
|
|
|
9978
10632
|
/**
|