@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/index.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,6 +922,50 @@ export declare interface BufferPercentChunk extends BufferChunk {
|
|
|
883
922
|
*/
|
|
884
923
|
export declare const bundlePromise: Promise<RemoteBundleState>;
|
|
885
924
|
|
|
925
|
+
export declare interface ButtonOptions {
|
|
926
|
+
backgroundImage?: string;
|
|
927
|
+
borderRadius?: string | number;
|
|
928
|
+
color?: string;
|
|
929
|
+
padding?: string;
|
|
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;
|
|
948
|
+
primary?: ButtonVariantOptions;
|
|
949
|
+
secondary?: ButtonVariantOptions;
|
|
950
|
+
transparent?: ButtonVariantOptions;
|
|
951
|
+
disabled?: ButtonVariantOptions;
|
|
952
|
+
}
|
|
953
|
+
|
|
954
|
+
export declare interface ButtonSizeOptions {
|
|
955
|
+
fontSize?: string;
|
|
956
|
+
minHeight?: string;
|
|
957
|
+
}
|
|
958
|
+
|
|
959
|
+
export declare interface ButtonVariantOptions {
|
|
960
|
+
border?: string;
|
|
961
|
+
backgroundImage?: string;
|
|
962
|
+
backgroundColor?: string;
|
|
963
|
+
hoverBackgroundColor?: string;
|
|
964
|
+
color?: string;
|
|
965
|
+
disabledBackgroundColor?: string;
|
|
966
|
+
disabledColor?: string;
|
|
967
|
+
}
|
|
968
|
+
|
|
886
969
|
/**
|
|
887
970
|
* @public
|
|
888
971
|
*/
|
|
@@ -1331,6 +1414,8 @@ export declare interface ConversionsTargetItem {
|
|
|
1331
1414
|
|
|
1332
1415
|
export declare type CountdownScene = InteractiveWidgetSceneBase<InteractiveWidgetSceneTemplateType.COUNTDOWN>;
|
|
1333
1416
|
|
|
1417
|
+
export declare type CountryIsoCode = typeof ISO_3166_ALPHA_2_COUNTRY_CODES[number];
|
|
1418
|
+
|
|
1334
1419
|
/**
|
|
1335
1420
|
* Maps supported country codes (ISO 3166-1 alpha-2) to their primary language codes (ISO 639-1).
|
|
1336
1421
|
* Used to determine the default language settings for specific countries.
|
|
@@ -1344,6 +1429,7 @@ export declare const CountryToLangCodeMap: {
|
|
|
1344
1429
|
DE: LangCode;
|
|
1345
1430
|
AT: LangCode;
|
|
1346
1431
|
CH: LangCode;
|
|
1432
|
+
UZ: LangCode;
|
|
1347
1433
|
};
|
|
1348
1434
|
|
|
1349
1435
|
/**
|
|
@@ -1368,9 +1454,9 @@ export declare const createPubSub: () => PubSub;
|
|
|
1368
1454
|
*/
|
|
1369
1455
|
export declare const createRemotePackageLoader: () => (secret: string, conf: InternalConfig, checkBundleCharCount?: boolean, skipCache?: boolean) => Promise<TivioBundle>;
|
|
1370
1456
|
|
|
1371
|
-
export declare const createTivio: () => (conf: SdkReactConfig) => Promise<RemoteBundleState
|
|
1457
|
+
export declare const createTivio: () => ((conf: SdkReactConfig) => Promise<RemoteBundleState>);
|
|
1372
1458
|
|
|
1373
|
-
export declare const createUseRemoteBundle: () => (sdkReactConfig: SdkReactConfig, checkBundleCharCount?: boolean, skipCache?: boolean) => RemoteBundleState;
|
|
1459
|
+
export declare const createUseRemoteBundle: () => ((sdkReactConfig: SdkReactConfig, checkBundleCharCount?: boolean, skipCache?: boolean) => RemoteBundleState);
|
|
1374
1460
|
|
|
1375
1461
|
export declare interface CreateUserPayload {
|
|
1376
1462
|
displayName?: string;
|
|
@@ -1419,13 +1505,13 @@ export declare const CURRENCIES: Currency[];
|
|
|
1419
1505
|
* Three upper-case letters according to ISO-4217.
|
|
1420
1506
|
* @public
|
|
1421
1507
|
*/
|
|
1422
|
-
export declare type Currency = 'CZK' | 'EUR' | 'USD' | 'PLN';
|
|
1508
|
+
export declare type Currency = 'CZK' | 'EUR' | 'USD' | 'PLN' | 'HUF';
|
|
1423
1509
|
|
|
1424
1510
|
/**
|
|
1425
1511
|
* Necessary because keys in cloud function config cannot contain upper-case letters.
|
|
1426
1512
|
* Has to be in sync with {@link Currency}.
|
|
1427
1513
|
*/
|
|
1428
|
-
export declare type CurrencyLowerCase = 'czk' | 'eur' | 'usd' | 'pln';
|
|
1514
|
+
export declare type CurrencyLowerCase = 'czk' | 'eur' | 'usd' | 'pln' | 'huf';
|
|
1429
1515
|
|
|
1430
1516
|
/**
|
|
1431
1517
|
* @public
|
|
@@ -1500,6 +1586,7 @@ export declare enum CustomerId {
|
|
|
1500
1586
|
TV_LUX = "TV_LUX",
|
|
1501
1587
|
KVIFF = "KVIFF",
|
|
1502
1588
|
KVIFF_WEB = "KVIFF_WEB",
|
|
1589
|
+
CINEGO = "CINEGO",
|
|
1503
1590
|
SPORTY_TV = "SPORTY_TV",
|
|
1504
1591
|
PALATINUM = "PALATINUM",
|
|
1505
1592
|
MIRA_BOSAK = "MIRA_BOSAK",
|
|
@@ -1516,9 +1603,11 @@ export declare enum CustomerId {
|
|
|
1516
1603
|
PRIMA = "PRIMA",
|
|
1517
1604
|
NORA_FRIDRICHOVA = "NORA_FRIDRICHOVA",
|
|
1518
1605
|
LONGEVITY = "LONGEVITY",
|
|
1606
|
+
HEALTHY_LONGEVITY = "HEALTHY_LONGEVITY",
|
|
1519
1607
|
ZASAHTV = "ZASAHTV",
|
|
1520
1608
|
ELISKAFLOW = "ELISKAFLOW",
|
|
1521
1609
|
PRIJIMACKY = "PRIJIMACKY",
|
|
1610
|
+
PRIJIMACKY_5_TRIDA = "PRIJIMACKY_5_TRIDA",
|
|
1522
1611
|
PADNI_KOMU_PADNI = "PADNI_KOMU_PADNI",
|
|
1523
1612
|
KRYPTOSPACE = "KRYPTOSPACE",
|
|
1524
1613
|
ERADIX = "ERADIX",
|
|
@@ -1537,7 +1626,12 @@ export declare enum CustomerId {
|
|
|
1537
1626
|
NCSLM = "NCSLM",
|
|
1538
1627
|
DOUCKO_S_ROBINEM = "DOUCKO_S_ROBINEM",
|
|
1539
1628
|
KVIZ_PLEASE = "KVIZ_PLEASE",
|
|
1540
|
-
TALKSHOW_KOTAK_LIVE = "TALKSHOW_KOTAK_LIVE"
|
|
1629
|
+
TALKSHOW_KOTAK_LIVE = "TALKSHOW_KOTAK_LIVE",
|
|
1630
|
+
TELEVIZE_PRO_VSECHNY = "TELEVIZE_PRO_VSECHNY",
|
|
1631
|
+
G_TV_MMA = "G_TV_MMA",
|
|
1632
|
+
SLOVAN_BRATISLAVA = "SLOVAN_BRATISLAVA",
|
|
1633
|
+
FIGHT_MODE = "FIGHT_MODE",
|
|
1634
|
+
PARAHOCKEY = "PARAHOCKEY"
|
|
1541
1635
|
}
|
|
1542
1636
|
|
|
1543
1637
|
export declare interface CustomScript {
|
|
@@ -1686,6 +1780,8 @@ export declare interface DocumentTileData<ItemSpecificData extends DocumentTileI
|
|
|
1686
1780
|
* Tile item name translation.
|
|
1687
1781
|
*/
|
|
1688
1782
|
name: Translation;
|
|
1783
|
+
/** Optional secondary label displayed below the tile title. */
|
|
1784
|
+
sublabel?: Translation;
|
|
1689
1785
|
/**
|
|
1690
1786
|
* Firestore path to the item.
|
|
1691
1787
|
*/
|
|
@@ -1860,6 +1956,14 @@ export declare type DynamicRowInScreen = BaseRowInScreen & {
|
|
|
1860
1956
|
* Title of Play button
|
|
1861
1957
|
*/
|
|
1862
1958
|
playButtonTitle?: Translation;
|
|
1959
|
+
/**
|
|
1960
|
+
* Side Banner specific configuration - image position
|
|
1961
|
+
*/
|
|
1962
|
+
sideBannerImagePosition?: 'left' | 'right';
|
|
1963
|
+
/**
|
|
1964
|
+
* Side Banner specific configuration - text background color
|
|
1965
|
+
*/
|
|
1966
|
+
backgroundColor?: string;
|
|
1863
1967
|
};
|
|
1864
1968
|
|
|
1865
1969
|
/**
|
|
@@ -2052,13 +2156,34 @@ export declare const fetchBundle: (secret: string, conf: InternalConfig, checkBu
|
|
|
2052
2156
|
*/
|
|
2053
2157
|
declare type FetchPackage = (url: string) => Promise<string>;
|
|
2054
2158
|
|
|
2055
|
-
export declare
|
|
2159
|
+
export declare type FinishSignUpRequest = FinishSignUpRequestBase & ({
|
|
2160
|
+
password: string;
|
|
2161
|
+
provider?: 'password';
|
|
2162
|
+
} | {
|
|
2163
|
+
password?: never;
|
|
2164
|
+
provider: 'apple' | 'google';
|
|
2165
|
+
});
|
|
2166
|
+
|
|
2167
|
+
declare interface FinishSignUpRequestBase {
|
|
2056
2168
|
token: string;
|
|
2057
2169
|
fName: string;
|
|
2058
2170
|
lName: string;
|
|
2059
2171
|
email: string;
|
|
2060
|
-
|
|
2172
|
+
countryIsoCode?: CountryIsoCode;
|
|
2173
|
+
/**
|
|
2174
|
+
* Explicit confirmation that the user accepted the selected consent.
|
|
2175
|
+
* Required for the first administrator in the Studio V2 registration flow.
|
|
2176
|
+
*/
|
|
2177
|
+
consentAccepted?: boolean;
|
|
2178
|
+
/**
|
|
2179
|
+
* Client-generated base64url secret used to make Studio V2 completion retries
|
|
2180
|
+
* idempotent without turning the emailed invite token into a login credential.
|
|
2181
|
+
*/
|
|
2182
|
+
completionIdempotencyKey?: string;
|
|
2183
|
+
consentId?: string;
|
|
2061
2184
|
langCode?: LangCode;
|
|
2185
|
+
studioRolloutCode?: string;
|
|
2186
|
+
turnstileToken: string;
|
|
2062
2187
|
}
|
|
2063
2188
|
|
|
2064
2189
|
/**
|
|
@@ -2105,7 +2230,7 @@ export declare enum ForbiddenReason {
|
|
|
2105
2230
|
* @public
|
|
2106
2231
|
*/
|
|
2107
2232
|
export declare type FrequencyInfo = {
|
|
2108
|
-
title
|
|
2233
|
+
title?: Translation;
|
|
2109
2234
|
unit: MONETIZATION_FREQUENCY;
|
|
2110
2235
|
value: number;
|
|
2111
2236
|
};
|
|
@@ -2297,6 +2422,8 @@ export declare interface GetSourceUrlRequest {
|
|
|
2297
2422
|
}
|
|
2298
2423
|
|
|
2299
2424
|
export declare interface GetSourceUrlResponse {
|
|
2425
|
+
/** Buffer settings for the selected source. */
|
|
2426
|
+
playerOptions?: PlayerOptions;
|
|
2300
2427
|
/**
|
|
2301
2428
|
* The resulting source url.
|
|
2302
2429
|
*/
|
|
@@ -2360,6 +2487,37 @@ export declare type GetViewsAnalyticsRequest = GetBaseAnalyticsRequest;
|
|
|
2360
2487
|
|
|
2361
2488
|
export declare let globalSdkReactConfig: SdkReactConfig | undefined;
|
|
2362
2489
|
|
|
2490
|
+
/**
|
|
2491
|
+
* Global tag type IDs from the DB collection `globalTagTypes`
|
|
2492
|
+
* @public
|
|
2493
|
+
*/
|
|
2494
|
+
export declare enum GlobalTagTypeId {
|
|
2495
|
+
Actor = "actor",
|
|
2496
|
+
AgeRating = "age-rating",
|
|
2497
|
+
AgeDescriptor = "age-descriptor",
|
|
2498
|
+
Descriptors = "descriptors",
|
|
2499
|
+
Director = "director",
|
|
2500
|
+
Genre = "genre",
|
|
2501
|
+
Series = "series",
|
|
2502
|
+
Access = "access",
|
|
2503
|
+
ShowInRss = "show-in-rss",
|
|
2504
|
+
ShowInSpotify = "show-in-spotify",
|
|
2505
|
+
MagentaTv = "magentaTV",
|
|
2506
|
+
Settings = "settings",
|
|
2507
|
+
Jingle = "jingle",
|
|
2508
|
+
Magazine = "magazine",
|
|
2509
|
+
Award = "award",
|
|
2510
|
+
Camera = "camera",
|
|
2511
|
+
Coproduction = "coproduction",
|
|
2512
|
+
Costumes = "costumes",
|
|
2513
|
+
Design = "design",
|
|
2514
|
+
Editing = "editing",
|
|
2515
|
+
Idea = "idea",
|
|
2516
|
+
Music = "music",
|
|
2517
|
+
Production = "production",
|
|
2518
|
+
Sound = "sound"
|
|
2519
|
+
}
|
|
2520
|
+
|
|
2363
2521
|
/**
|
|
2364
2522
|
* @public
|
|
2365
2523
|
*/
|
|
@@ -2448,6 +2606,16 @@ export declare interface HomepageBannerExtendRowData {
|
|
|
2448
2606
|
backgroundAssets?: ScalableAsset[];
|
|
2449
2607
|
}
|
|
2450
2608
|
|
|
2609
|
+
/**
|
|
2610
|
+
* Groups selected screen rows into the editorial grid layout on web.
|
|
2611
|
+
* Row IDs live in tenant configuration so the shared screen renderer stays
|
|
2612
|
+
* customer-agnostic.
|
|
2613
|
+
*/
|
|
2614
|
+
export declare interface HomeScreenGridSectionConfig {
|
|
2615
|
+
id: string;
|
|
2616
|
+
rowIds: string[];
|
|
2617
|
+
}
|
|
2618
|
+
|
|
2451
2619
|
export declare type IncludedItem = {
|
|
2452
2620
|
attributes: {
|
|
2453
2621
|
next_charge_date: string;
|
|
@@ -2601,6 +2769,8 @@ export declare interface InteractiveWidgetGroupStats {
|
|
|
2601
2769
|
answerPercentages: Record<string, number>;
|
|
2602
2770
|
averageScore: number;
|
|
2603
2771
|
correctAnswersRatio: number;
|
|
2772
|
+
/** Answer option key (e.g. "A") to highlight on fullscreen leaderboard distribution */
|
|
2773
|
+
correctAnswerKey?: string;
|
|
2604
2774
|
}
|
|
2605
2775
|
|
|
2606
2776
|
export declare enum InteractiveWidgetGroupType {
|
|
@@ -2643,6 +2813,10 @@ export declare enum InteractiveWidgetState {
|
|
|
2643
2813
|
* Transition to the next state
|
|
2644
2814
|
*/
|
|
2645
2815
|
NEXT_STATE = "NextState",
|
|
2816
|
+
/**
|
|
2817
|
+
* Transition to the previous state (poll only)
|
|
2818
|
+
*/
|
|
2819
|
+
PREVIOUS_STATE = "PreviousState",
|
|
2646
2820
|
/**
|
|
2647
2821
|
* Idle state
|
|
2648
2822
|
* activeSceneIds: noGraphics, adBanner, players
|
|
@@ -2763,6 +2937,10 @@ export declare function isChannelSource(source?: CommonSource | null): source is
|
|
|
2763
2937
|
*/
|
|
2764
2938
|
export declare const isClassicChannelSource: (source?: CommonSource | null) => source is ChannelSourceInterface;
|
|
2765
2939
|
|
|
2940
|
+
export declare const isCountryIsoCode: (value: unknown) => value is CountryIsoCode;
|
|
2941
|
+
|
|
2942
|
+
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'];
|
|
2943
|
+
|
|
2766
2944
|
export declare interface IsUserAlreadyRegisteredByTenantRequest {
|
|
2767
2945
|
email: string;
|
|
2768
2946
|
}
|
|
@@ -2843,11 +3021,13 @@ export declare enum LangCode {
|
|
|
2843
3021
|
EN = "en",
|
|
2844
3022
|
FR = "fr",
|
|
2845
3023
|
IT = "it",
|
|
3024
|
+
JA = "ja",
|
|
2846
3025
|
PL = "pl",
|
|
2847
3026
|
PT = "pt",
|
|
2848
3027
|
SK = "sk",
|
|
2849
3028
|
ES = "es",
|
|
2850
|
-
HU = "hu"
|
|
3029
|
+
HU = "hu",
|
|
3030
|
+
UZ = "uz"
|
|
2851
3031
|
}
|
|
2852
3032
|
|
|
2853
3033
|
export declare const LangCodeToCountryCodeMap: Partial<Record<LangCode, string>>;
|
|
@@ -3224,7 +3404,8 @@ export declare enum MetadataFieldId {
|
|
|
3224
3404
|
TAGS = "tags",
|
|
3225
3405
|
FILM_DETAILS = "filmDetails",
|
|
3226
3406
|
AUDIENCE_LIMITATIONS = "audienceLimitations",
|
|
3227
|
-
PRODUCT_PLACEMENT = "productPlacement"
|
|
3407
|
+
PRODUCT_PLACEMENT = "productPlacement",
|
|
3408
|
+
SUBLABEL = "sublabel"
|
|
3228
3409
|
}
|
|
3229
3410
|
|
|
3230
3411
|
/**
|
|
@@ -3316,6 +3497,14 @@ export declare type MonetizationCta = {
|
|
|
3316
3497
|
payload: {
|
|
3317
3498
|
email: string;
|
|
3318
3499
|
};
|
|
3500
|
+
} | {
|
|
3501
|
+
type: 'link';
|
|
3502
|
+
payload: {
|
|
3503
|
+
url: string;
|
|
3504
|
+
} | {
|
|
3505
|
+
/** Existing link CTAs may store their URL in this field. */
|
|
3506
|
+
email: string;
|
|
3507
|
+
};
|
|
3319
3508
|
};
|
|
3320
3509
|
|
|
3321
3510
|
export declare interface MonetizationsCountsSummaryItem {
|
|
@@ -3451,11 +3640,17 @@ export declare type NoGraphicsScene = InteractiveWidgetSceneBase<InteractiveWidg
|
|
|
3451
3640
|
*/
|
|
3452
3641
|
export declare type NonAdSourceType = Exclude<SourceType, SourceType.ADVERTISEMENT>;
|
|
3453
3642
|
|
|
3454
|
-
|
|
3643
|
+
/**
|
|
3644
|
+
* An array containing at least one item.
|
|
3645
|
+
* @public
|
|
3646
|
+
*/
|
|
3647
|
+
export declare type NonEmptyArray<T> = [T, ...T[]];
|
|
3648
|
+
|
|
3649
|
+
declare type Notification_2 = ({
|
|
3455
3650
|
type: NotificationType.PUSH;
|
|
3456
|
-
} & SchedulePushNotificationPayload | {
|
|
3651
|
+
} & SchedulePushNotificationPayload) | ({
|
|
3457
3652
|
type?: NotificationType.EMAIL;
|
|
3458
|
-
} & EmailNotification;
|
|
3653
|
+
} & EmailNotification);
|
|
3459
3654
|
export { Notification_2 as Notification }
|
|
3460
3655
|
|
|
3461
3656
|
export declare type NotificationFilterType = NotificationFirestoreFilterType | NotificationSurveyFilterType | NotificationLastActivityFilterType;
|
|
@@ -3640,6 +3835,18 @@ export declare interface OrganizationSettingsField extends OrganizationResponsiv
|
|
|
3640
3835
|
clientId: string;
|
|
3641
3836
|
};
|
|
3642
3837
|
disableComments?: boolean;
|
|
3838
|
+
disableContentActionBar?: boolean;
|
|
3839
|
+
/** Hide frequency/duration suffix from price labels (e.g. "/Měsíčně", "/2 dny") */
|
|
3840
|
+
hidePriceSuffix?: boolean;
|
|
3841
|
+
/**
|
|
3842
|
+
* Who may post comments and replies:
|
|
3843
|
+
* - `subscribers`: registered, signed-in users with an active subscription to the content's organization. Default when omitted.
|
|
3844
|
+
* - `registeredUsers`: registered, signed-in users, without requiring a subscription.
|
|
3845
|
+
* - `allUsers`: registered users and anonymous users, without requiring registration or a subscription.
|
|
3846
|
+
* Anonymous users still need the platform's authenticated anonymous user session.
|
|
3847
|
+
* `disableComments: true` blocks posting for all values.
|
|
3848
|
+
*/
|
|
3849
|
+
commentAccess?: 'subscribers' | 'registeredUsers' | 'allUsers';
|
|
3643
3850
|
/**
|
|
3644
3851
|
* Used on CNC webs - When buying a yearly subscription the recalculated monthly price is display below the yearly price
|
|
3645
3852
|
*/
|
|
@@ -3657,15 +3864,31 @@ export declare interface OrganizationSettingsField extends OrganizationResponsiv
|
|
|
3657
3864
|
* Some organizations might want to hide publication date on videos in search results.
|
|
3658
3865
|
*/
|
|
3659
3866
|
hidePublicationTimeInSearchResults?: boolean;
|
|
3867
|
+
/**
|
|
3868
|
+
* Settings for video tiles display
|
|
3869
|
+
*/
|
|
3870
|
+
tiles?: {
|
|
3871
|
+
/**
|
|
3872
|
+
* If true, genre and publication date will be shown below video tile labels
|
|
3873
|
+
*/
|
|
3874
|
+
showGenreAndDate?: boolean;
|
|
3875
|
+
};
|
|
3660
3876
|
/**
|
|
3661
3877
|
* All the configurations that are specific to the background banner
|
|
3662
3878
|
*/
|
|
3663
3879
|
backgroundBanner?: {
|
|
3664
3880
|
showDescription?: boolean;
|
|
3665
3881
|
showLogo?: boolean;
|
|
3882
|
+
/**
|
|
3883
|
+
* Minimum opacity retained by the background asset while scrolling.
|
|
3884
|
+
* Accepts values from 0 to 1 and defaults to 0.
|
|
3885
|
+
*/
|
|
3886
|
+
minOpacityOnScroll?: number;
|
|
3666
3887
|
};
|
|
3667
3888
|
rss?: {
|
|
3668
3889
|
title?: string;
|
|
3890
|
+
description?: string;
|
|
3891
|
+
coverUrl?: string;
|
|
3669
3892
|
enabled?: boolean;
|
|
3670
3893
|
};
|
|
3671
3894
|
/**
|
|
@@ -3683,6 +3906,17 @@ export declare interface OrganizationSettingsField extends OrganizationResponsiv
|
|
|
3683
3906
|
gtmConfig?: {
|
|
3684
3907
|
id: string;
|
|
3685
3908
|
};
|
|
3909
|
+
/**
|
|
3910
|
+
* If true, the bot-prerendered video detail pages use schema.org `Movie`
|
|
3911
|
+
* as the main entity (alongside `VideoObject`) in JSON-LD structured data.
|
|
3912
|
+
* Intended for film-catalog customers (e.g. KVIFF) whose whole library are
|
|
3913
|
+
* films but whose videos are not flagged with `contentType === FILM`.
|
|
3914
|
+
*
|
|
3915
|
+
* When omitted/false, films are still detected per-video via
|
|
3916
|
+
* `video.contentType === VideoContentType.FILM` (e.g. JOJ imports);
|
|
3917
|
+
* all other content keeps `VideoObject` as the main entity.
|
|
3918
|
+
*/
|
|
3919
|
+
useMovieSchema?: boolean;
|
|
3686
3920
|
};
|
|
3687
3921
|
/**
|
|
3688
3922
|
* 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.
|
|
@@ -3700,6 +3934,7 @@ export declare interface OrganizationSettingsField extends OrganizationResponsiv
|
|
|
3700
3934
|
hideHeader?: boolean;
|
|
3701
3935
|
};
|
|
3702
3936
|
};
|
|
3937
|
+
showHeaderLanguageSelector?: boolean;
|
|
3703
3938
|
voucher?: VoucherPageConfiguration;
|
|
3704
3939
|
pushNotifications?: {
|
|
3705
3940
|
enabled?: boolean;
|
|
@@ -3710,11 +3945,24 @@ export declare interface OrganizationSettingsField extends OrganizationResponsiv
|
|
|
3710
3945
|
value: number;
|
|
3711
3946
|
};
|
|
3712
3947
|
};
|
|
3948
|
+
tileConfiguration?: {
|
|
3949
|
+
showPlayButtonInTile?: boolean;
|
|
3950
|
+
};
|
|
3713
3951
|
/**
|
|
3714
3952
|
* Payment flow configuration
|
|
3715
3953
|
* @default PaymentFlow.NEW
|
|
3716
3954
|
*/
|
|
3717
3955
|
paymentFlow?: PaymentFlow;
|
|
3956
|
+
/**
|
|
3957
|
+
* When enabled, paid purchases receive sequential invoice numbers
|
|
3958
|
+
* and invoice PDF download is available for the organization.
|
|
3959
|
+
*/
|
|
3960
|
+
hasInvoicesEnabled?: boolean;
|
|
3961
|
+
/**
|
|
3962
|
+
* Stable timestamp of the first invoice feature enablement. Used as the
|
|
3963
|
+
* anchor for the bounded historical invoice-number backfill.
|
|
3964
|
+
*/
|
|
3965
|
+
invoicesEnabledAt?: Timestamp;
|
|
3718
3966
|
contentMetadata?: {
|
|
3719
3967
|
[MetadataFieldId.SHORT_NAME]?: ContentMetadataOptions;
|
|
3720
3968
|
[MetadataFieldId.RICH_DESCRIPTION]?: ContentMetadataOptions;
|
|
@@ -3722,6 +3970,7 @@ export declare interface OrganizationSettingsField extends OrganizationResponsiv
|
|
|
3722
3970
|
[MetadataFieldId.FILM_DETAILS]?: ContentMetadataOptions;
|
|
3723
3971
|
[MetadataFieldId.AUDIENCE_LIMITATIONS]?: ContentMetadataOptions;
|
|
3724
3972
|
[MetadataFieldId.PRODUCT_PLACEMENT]?: ContentMetadataOptions;
|
|
3973
|
+
[MetadataFieldId.SUBLABEL]?: ContentMetadataOptions;
|
|
3725
3974
|
};
|
|
3726
3975
|
aiProcessing?: {
|
|
3727
3976
|
assets?: boolean;
|
|
@@ -3743,13 +3992,18 @@ export declare interface PaginatedResponse<T = unknown, U extends NextPageParamT
|
|
|
3743
3992
|
nextPageParams: ({
|
|
3744
3993
|
offset: number;
|
|
3745
3994
|
limit: number;
|
|
3995
|
+
organizationLanguage?: LangCode;
|
|
3996
|
+
profileId?: string;
|
|
3746
3997
|
} & (U extends 'screenId' ? {
|
|
3747
3998
|
organizationId: string;
|
|
3748
3999
|
screenId: string;
|
|
3749
4000
|
initialTilesCount: number;
|
|
4001
|
+
hostOrganizationId?: string;
|
|
4002
|
+
isLockedApplicationOnStargazeHosting?: boolean;
|
|
3750
4003
|
} : U extends 'rowId' ? {
|
|
3751
4004
|
organizationId: string;
|
|
3752
4005
|
rowId: string;
|
|
4006
|
+
hostOrganizationId?: string;
|
|
3753
4007
|
} : U extends 'filter' ? {
|
|
3754
4008
|
filter: Omit<RowFilterField, 'limit'>;
|
|
3755
4009
|
} : object)) | null;
|
|
@@ -3963,6 +4217,7 @@ export declare type PlayerConfig = {
|
|
|
3963
4217
|
* @public
|
|
3964
4218
|
*/
|
|
3965
4219
|
export declare interface PlayerEngineConfig {
|
|
4220
|
+
playerOptions?: PlayerOptions;
|
|
3966
4221
|
getDrmConfiguration?: () => Promise<Drm | undefined>;
|
|
3967
4222
|
encryption?: string;
|
|
3968
4223
|
isAd?: boolean;
|
|
@@ -4241,6 +4496,18 @@ export declare interface PlayerInterfaceForPlayerWrapper {
|
|
|
4241
4496
|
setSource: (source: Source | null) => void;
|
|
4242
4497
|
}
|
|
4243
4498
|
|
|
4499
|
+
/**
|
|
4500
|
+
* Buffer preferences for the returned playback source, in seconds.
|
|
4501
|
+
* Unsupported or omitted preferences keep the player's existing behavior.
|
|
4502
|
+
* @public
|
|
4503
|
+
*/
|
|
4504
|
+
export declare interface PlayerOptions {
|
|
4505
|
+
/** Target amount of media buffered ahead of playback. */
|
|
4506
|
+
readonly bufferAheadSeconds?: number;
|
|
4507
|
+
/** Buffer required to start or resume playback after buffering, where supported. */
|
|
4508
|
+
readonly rebufferingAheadSeconds?: number;
|
|
4509
|
+
}
|
|
4510
|
+
|
|
4244
4511
|
/**
|
|
4245
4512
|
* @public
|
|
4246
4513
|
*/
|
|
@@ -4265,6 +4532,7 @@ export declare type PlayerSource = VodTivioSourceInterface | VodExternalSourceIn
|
|
|
4265
4532
|
* @public
|
|
4266
4533
|
*/
|
|
4267
4534
|
export declare interface PlayerSourceInterface<T extends NonAdSourceType = NonAdSourceType> extends CommonSourceInterface<T> {
|
|
4535
|
+
readonly playerOptions?: PlayerOptions;
|
|
4268
4536
|
adSegment: AdSegment | null;
|
|
4269
4537
|
consumedAds: ConsumedAds;
|
|
4270
4538
|
currentMarker: any | null;
|
|
@@ -4302,6 +4570,7 @@ export declare interface PlayerSourceInterface<T extends NonAdSourceType = NonAd
|
|
|
4302
4570
|
* @public
|
|
4303
4571
|
*/
|
|
4304
4572
|
export declare interface PlayerSourceParams<T extends NonAdSourceType = NonAdSourceType> extends CommonSourceParams<T> {
|
|
4573
|
+
playerOptions?: PlayerOptions;
|
|
4305
4574
|
originalOptions?: Record<string, any>;
|
|
4306
4575
|
continuePositionMs?: ContinuePosition;
|
|
4307
4576
|
poster?: string | null;
|
|
@@ -4491,25 +4760,25 @@ export declare interface PlayerWrapper {
|
|
|
4491
4760
|
* @public
|
|
4492
4761
|
*/
|
|
4493
4762
|
export declare enum PlayerWrapperEvents {
|
|
4494
|
-
|
|
4763
|
+
playback_cancelled = "playback_cancelled",
|
|
4495
4764
|
/**
|
|
4496
4765
|
* Triggered when content video or ad finished playing until the end
|
|
4497
4766
|
*/
|
|
4498
|
-
|
|
4767
|
+
playback_ended = "playback_ended",
|
|
4499
4768
|
/**
|
|
4500
4769
|
* Triggered when both content video and all its associated ads finished playing until the end.
|
|
4501
4770
|
* Or in case of postroll, when content video finished playing unit the end and all postroll
|
|
4502
4771
|
* ads either finished / failed or were skipped.
|
|
4503
4772
|
*/
|
|
4504
|
-
|
|
4773
|
+
video_unit_ended = "video_unit_ended",
|
|
4505
4774
|
/**
|
|
4506
4775
|
* Pause was triggered
|
|
4507
4776
|
*/
|
|
4508
|
-
|
|
4777
|
+
pause_triggered = "pause_triggered",
|
|
4509
4778
|
/**
|
|
4510
4779
|
* Un-pause was triggered
|
|
4511
4780
|
*/
|
|
4512
|
-
|
|
4781
|
+
unpause_triggered = "unpause_triggered"
|
|
4513
4782
|
}
|
|
4514
4783
|
|
|
4515
4784
|
/**
|
|
@@ -4527,6 +4796,7 @@ export declare type PlayerWrapperEventTypeType = `${PlayerWrapperEventType}`;
|
|
|
4527
4796
|
|
|
4528
4797
|
export declare type PollQuestion = CurrentQuestion<PollQuestionAnswer>;
|
|
4529
4798
|
|
|
4799
|
+
/** Answer type for Poll widgets — carries live vote count */
|
|
4530
4800
|
export declare interface PollQuestionAnswer extends BaseQuestionAnswer {
|
|
4531
4801
|
votes?: number;
|
|
4532
4802
|
}
|
|
@@ -4539,7 +4809,7 @@ export declare interface PollWidget<TScene extends InteractiveWidgetScene = Inte
|
|
|
4539
4809
|
readonly type: InteractiveWidgetType.POLL;
|
|
4540
4810
|
}
|
|
4541
4811
|
|
|
4542
|
-
export declare type PollWidgetState = InteractiveWidgetState.IDLE | InteractiveWidgetState.CURRENT_QUESTION | InteractiveWidgetState.RESOLVED_QUESTION | InteractiveWidgetState.RESET_GAME | InteractiveWidgetState.NEXT_STATE;
|
|
4812
|
+
export declare type PollWidgetState = InteractiveWidgetState.IDLE | InteractiveWidgetState.CURRENT_QUESTION | InteractiveWidgetState.RESOLVED_QUESTION | InteractiveWidgetState.RESET_GAME | InteractiveWidgetState.NEXT_STATE | InteractiveWidgetState.PREVIOUS_STATE;
|
|
4543
4813
|
|
|
4544
4814
|
/**
|
|
4545
4815
|
* @public
|
|
@@ -4810,6 +5080,12 @@ export declare type Purchase = {
|
|
|
4810
5080
|
*/
|
|
4811
5081
|
getLoyaltyCount: () => Promise<number>;
|
|
4812
5082
|
id: string;
|
|
5083
|
+
/**
|
|
5084
|
+
* Accounting invoice number assigned after a successful payment.
|
|
5085
|
+
*/
|
|
5086
|
+
invoiceNumber?: string;
|
|
5087
|
+
/** Timestamp of the payment used as the invoice issue date. */
|
|
5088
|
+
invoiceIssuedAt?: number;
|
|
4813
5089
|
isExpired: boolean;
|
|
4814
5090
|
/**
|
|
4815
5091
|
* @deprecated isPurchased is ambiguous name. Now it means that purchase.status is "PAID".
|
|
@@ -4819,6 +5095,8 @@ export declare type Purchase = {
|
|
|
4819
5095
|
monetization: PurchaseMonetization | null;
|
|
4820
5096
|
monetizationId: string | null;
|
|
4821
5097
|
monetizationRef: any | null;
|
|
5098
|
+
/** Organization that sold the purchase and issues its invoice. */
|
|
5099
|
+
purchaseOrganizationId?: string;
|
|
4822
5100
|
nextPaymentDate: Date | null;
|
|
4823
5101
|
status: PurchaseStatus | null;
|
|
4824
5102
|
type: PurchaseType | null;
|
|
@@ -4842,16 +5120,21 @@ export declare type Purchase = {
|
|
|
4842
5120
|
* @public
|
|
4843
5121
|
*/
|
|
4844
5122
|
export declare enum PurchaseDocumentGateway {
|
|
4845
|
-
|
|
4846
|
-
|
|
4847
|
-
|
|
4848
|
-
|
|
4849
|
-
|
|
4850
|
-
|
|
4851
|
-
|
|
4852
|
-
|
|
4853
|
-
|
|
4854
|
-
|
|
5123
|
+
qerko = "qerko",
|
|
5124
|
+
oktagon = "oktagon",
|
|
5125
|
+
voucher = "voucher",
|
|
5126
|
+
comgate = "comgate",
|
|
5127
|
+
tivio = "tivio",
|
|
5128
|
+
patreon = "patreon",
|
|
5129
|
+
paypal = "paypal",
|
|
5130
|
+
/** One-time HotPay Pay-by-Link payment, selected when the purchase is created.
|
|
5131
|
+
* @see https://dokumentacja.hotpay.pl/#api-zaawansowane-z-walidacja-parametrow
|
|
5132
|
+
*/
|
|
5133
|
+
hotpay = "hotpay",
|
|
5134
|
+
unknown = "unknown",
|
|
5135
|
+
stargaze = "stargaze",
|
|
5136
|
+
prima = "prima",
|
|
5137
|
+
barion = "barion"
|
|
4855
5138
|
}
|
|
4856
5139
|
|
|
4857
5140
|
/**
|
|
@@ -5010,8 +5293,21 @@ export declare type PurchaseEndpointPayload = {
|
|
|
5010
5293
|
* @public
|
|
5011
5294
|
*/
|
|
5012
5295
|
export declare type PurchaseEventHandlers = {
|
|
5013
|
-
|
|
5014
|
-
|
|
5296
|
+
/**
|
|
5297
|
+
* @param purchase - monetization being purchased (transaction type, subscription, voucher ...)
|
|
5298
|
+
* @param item - video / tv channel the purchase is bound to, if known (e.g. when buying a voucher
|
|
5299
|
+
* or a transaction for a specific film). Undefined/null for plain subscription purchases.
|
|
5300
|
+
*/
|
|
5301
|
+
onPurchaseIntention?: (purchase: PurchasableMonetization, item?: Video | TvChannel | null) => void;
|
|
5302
|
+
/**
|
|
5303
|
+
* @param purchase - completed purchase
|
|
5304
|
+
* @param video - video the purchase gives access to (resolved from `purchase.videoId`), if any.
|
|
5305
|
+
* Undefined/null for subscriptions or when the video couldn't be resolved.
|
|
5306
|
+
*/
|
|
5307
|
+
onPurchaseFinished?: (purchase: Purchase, video?: Video | null) => void;
|
|
5308
|
+
onVideoDetailView?: (video: Video) => void;
|
|
5309
|
+
onSeriesDetailView?: (series: Series) => void;
|
|
5310
|
+
onPaymentMethodSelected?: (purchase: PurchasableMonetization, method: 'blik' | 'hotpay' | 'applePay' | 'googlePay' | 'card' | 'voucher') => void;
|
|
5015
5311
|
};
|
|
5016
5312
|
|
|
5017
5313
|
/**
|
|
@@ -5099,6 +5395,12 @@ export declare interface QerkoCancellationInfo {
|
|
|
5099
5395
|
status: PurchaseStatus;
|
|
5100
5396
|
}
|
|
5101
5397
|
|
|
5398
|
+
/** @public */
|
|
5399
|
+
export declare interface QerkoCheckoutOptions {
|
|
5400
|
+
/** Theme UUID sent when creating the Qerko order, not a checkout URL parameter. */
|
|
5401
|
+
webTheme?: string;
|
|
5402
|
+
}
|
|
5403
|
+
|
|
5102
5404
|
/**
|
|
5103
5405
|
* @public
|
|
5104
5406
|
*/
|
|
@@ -5136,6 +5438,10 @@ export declare interface QerkoOverlayState {
|
|
|
5136
5438
|
* @public
|
|
5137
5439
|
*/
|
|
5138
5440
|
export declare interface QerkoPaymentInfo extends PaymentInfo {
|
|
5441
|
+
/** Gateway used to create this purchase. Optional for older backend responses. */
|
|
5442
|
+
gateway?: PurchaseDocumentGateway;
|
|
5443
|
+
/** Gateways accepted for a new purchase request, including the current gateway. */
|
|
5444
|
+
availableGateways?: PurchaseDocumentGateway[];
|
|
5139
5445
|
confirmationPaymentUrl?: string;
|
|
5140
5446
|
purchaseId: string;
|
|
5141
5447
|
currency: string;
|
|
@@ -5211,6 +5517,7 @@ export declare interface QerkoTransaction {
|
|
|
5211
5517
|
|
|
5212
5518
|
export declare type QRCodeScene = InteractiveWidgetSceneBase<InteractiveWidgetSceneTemplateType.QR_CODE>;
|
|
5213
5519
|
|
|
5520
|
+
/** Union kept for backward compatibility */
|
|
5214
5521
|
export declare type QuestionAnswer = QuizQuestionAnswer | PollQuestionAnswer;
|
|
5215
5522
|
|
|
5216
5523
|
export declare enum QuestionEvents {
|
|
@@ -5247,6 +5554,7 @@ export declare type QuestionRepositoryEventMap = {
|
|
|
5247
5554
|
|
|
5248
5555
|
export declare type QuizQuestion = CurrentQuestion<QuizQuestionAnswer>;
|
|
5249
5556
|
|
|
5557
|
+
/** Answer type for Quiz widgets — carries correctness info */
|
|
5250
5558
|
export declare interface QuizQuestionAnswer extends BaseQuestionAnswer {
|
|
5251
5559
|
isCorrect?: boolean;
|
|
5252
5560
|
votes?: number;
|
|
@@ -5322,6 +5630,9 @@ export declare type ReactNativeDeviceInfo = {
|
|
|
5322
5630
|
isTablet?: boolean;
|
|
5323
5631
|
};
|
|
5324
5632
|
|
|
5633
|
+
/** Supported external payment receipt providers. */
|
|
5634
|
+
export declare type ReceiptProviderId = 'szamlazz';
|
|
5635
|
+
|
|
5325
5636
|
export declare enum RegistrationRedirect {
|
|
5326
5637
|
PAYMENT = "payment",
|
|
5327
5638
|
VOUCHER_PURCHASE = "voucherPurchase",
|
|
@@ -5454,7 +5765,7 @@ export declare interface RenderConditionValue {
|
|
|
5454
5765
|
subscriptionRefs?: any[];
|
|
5455
5766
|
}
|
|
5456
5767
|
|
|
5457
|
-
export declare const renderWebPlayer: (container: HTMLElement, props: Omit<WebPlayerProps,
|
|
5768
|
+
export declare const renderWebPlayer: (container: HTMLElement, props: Omit<WebPlayerProps, "onPlayerControllerCreated">) => Promise<SimplifiedVideoController>;
|
|
5458
5769
|
|
|
5459
5770
|
/**
|
|
5460
5771
|
* Make all attributes in given type required, non-nullable and defined.
|
|
@@ -5516,6 +5827,7 @@ export declare interface RouterOverrides {
|
|
|
5516
5827
|
goToRegistrationPage: (options?: {
|
|
5517
5828
|
origin?: RegistrationRedirect;
|
|
5518
5829
|
email?: string;
|
|
5830
|
+
callbackUrl?: string;
|
|
5519
5831
|
}) => void;
|
|
5520
5832
|
goBack: () => void;
|
|
5521
5833
|
goLivePlayer: (tvChannelId: string) => void;
|
|
@@ -5524,6 +5836,7 @@ export declare interface RouterOverrides {
|
|
|
5524
5836
|
goToHome: (user?: any, activeUserProfileId?: string) => void;
|
|
5525
5837
|
goToRoute: (route: string) => void;
|
|
5526
5838
|
goToArticle: (id: string, applicationUrlHandle?: string) => void;
|
|
5839
|
+
replaceToArticle: (id: string, applicationUrlHandle?: string) => void;
|
|
5527
5840
|
goToRecommendedFromOrganization: (screenId: string, organizationId: string) => void;
|
|
5528
5841
|
goToRecommendedFromOrganizationRow: (screenId: string, rowId: string) => void;
|
|
5529
5842
|
goToMagentaMomentsPage: (voucher?: string) => void;
|
|
@@ -5541,7 +5854,7 @@ export declare interface RouterOverridesContextState {
|
|
|
5541
5854
|
Link: React_2.ComponentType<{
|
|
5542
5855
|
children?: React_2.ReactNode;
|
|
5543
5856
|
href?: string;
|
|
5544
|
-
}
|
|
5857
|
+
} & Pick<React_2.AriaAttributes, 'aria-label' | 'aria-current'>>;
|
|
5545
5858
|
}
|
|
5546
5859
|
|
|
5547
5860
|
/**
|
|
@@ -5770,13 +6083,18 @@ declare type SceneMetadata<TType extends InteractiveWidgetSceneTemplateType> = T
|
|
|
5770
6083
|
highlightedPlayers: LeaderboardPlayer[];
|
|
5771
6084
|
topPlayers: LeaderboardPlayer[];
|
|
5772
6085
|
stats?: InteractiveWidgetGroupStats;
|
|
5773
|
-
} : TType extends InteractiveWidgetSceneTemplateType.QR_CODE ? Record<Extract<SceneMetadataKeys[TType], string>, string> : TType extends InteractiveWidgetSceneTemplateType.AD_BANNER ?
|
|
6086
|
+
} : TType extends InteractiveWidgetSceneTemplateType.QR_CODE ? Record<Extract<SceneMetadataKeys[TType], string>, string> : TType extends InteractiveWidgetSceneTemplateType.AD_BANNER ? {
|
|
6087
|
+
bannerImage: string;
|
|
6088
|
+
/** Reskin OBS header — sponsor column (from ad scene). */
|
|
6089
|
+
sponsorLabel?: string;
|
|
6090
|
+
sponsorValue?: string;
|
|
6091
|
+
} : TType extends InteractiveWidgetSceneTemplateType.PLAYERS ? Record<Extract<SceneMetadataKeys[TType], string>, string> : object;
|
|
5774
6092
|
|
|
5775
6093
|
export declare interface SceneMetadataKeys {
|
|
5776
6094
|
[InteractiveWidgetSceneTemplateType.CURRENT_QUESTION]: 'highlightedUsersAnswers';
|
|
5777
6095
|
[InteractiveWidgetSceneTemplateType.LEADERBOARD]: 'highlightedPlayers';
|
|
5778
6096
|
[InteractiveWidgetSceneTemplateType.QR_CODE]: 'qrCodeUrl' | 'title' | 'subtitle';
|
|
5779
|
-
[InteractiveWidgetSceneTemplateType.AD_BANNER]: 'bannerImage';
|
|
6097
|
+
[InteractiveWidgetSceneTemplateType.AD_BANNER]: 'bannerImage' | 'sponsorLabel' | 'sponsorValue';
|
|
5780
6098
|
[InteractiveWidgetSceneTemplateType.PLAYERS]: 'centerHtml' | 'player1Name' | 'player2Name' | 'player1Image' | 'player2Image' | 'player1Id' | 'player2Id';
|
|
5781
6099
|
[InteractiveWidgetSceneTemplateType.NO_GRAPHICS]: never;
|
|
5782
6100
|
}
|
|
@@ -5826,6 +6144,11 @@ declare interface Screen_2 {
|
|
|
5826
6144
|
description?: string | null;
|
|
5827
6145
|
assets: AssetsField;
|
|
5828
6146
|
rows: PaginatedResponse<Row>;
|
|
6147
|
+
/**
|
|
6148
|
+
* True while screen rows are being fetched (at least the initial batch).
|
|
6149
|
+
* Implemented by the runtime Screen entity; optional here for compatibility.
|
|
6150
|
+
*/
|
|
6151
|
+
isRowsLoading?: boolean;
|
|
5829
6152
|
type?: ScreenType;
|
|
5830
6153
|
filter?: RowFilterField | null;
|
|
5831
6154
|
embedUrl?: string;
|
|
@@ -6348,6 +6671,10 @@ export declare interface SportyExternals {
|
|
|
6348
6671
|
showTitle?: string;
|
|
6349
6672
|
}
|
|
6350
6673
|
|
|
6674
|
+
export declare const STARGAZE_STUDIO_PRIVACY_POLICY_CONSENT_ID = "stargaze-studio-privacy-2026-06-08";
|
|
6675
|
+
|
|
6676
|
+
export declare const STARGAZE_STUDIO_PRIVACY_POLICY_URL = "https://studio.stargaze.com/privacy";
|
|
6677
|
+
|
|
6351
6678
|
/**
|
|
6352
6679
|
* @public
|
|
6353
6680
|
*/
|
|
@@ -6519,6 +6846,8 @@ declare type StaticRowInScreenVideoBanner = BaseStaticRowInScreen & {
|
|
|
6519
6846
|
declare type StaticRowInScreenWithTiles = BaseStaticRowInScreen & {
|
|
6520
6847
|
rowComponent: Exclude<RowComponent, RowComponent.CTA_BANNER | RowComponent.PRESENT_BANNER | RowComponent.VIDEO_BANNER | RowComponent.HOMEPAGE_BANNER | RowComponent.FAQ | RowComponent.BENEFITS>;
|
|
6521
6848
|
tiles: PaginatedResponse<TileData<'static'>, 'rowId'>;
|
|
6849
|
+
variant?: 'default' | 'large' | 'light' | 'dark';
|
|
6850
|
+
containerWidth?: boolean;
|
|
6522
6851
|
};
|
|
6523
6852
|
|
|
6524
6853
|
/**
|
|
@@ -6532,6 +6861,7 @@ export declare interface StaticRowNumbers extends BaseRow {
|
|
|
6532
6861
|
screenRef?: string;
|
|
6533
6862
|
videoRef?: string;
|
|
6534
6863
|
variant?: 'default' | 'large';
|
|
6864
|
+
containerWidth?: boolean;
|
|
6535
6865
|
}
|
|
6536
6866
|
|
|
6537
6867
|
/**
|
|
@@ -6582,7 +6912,7 @@ export declare interface StaticRowSplitLayout extends BaseRow {
|
|
|
6582
6912
|
*/
|
|
6583
6913
|
export declare interface StaticRowWithoutCustomItems extends BaseRow {
|
|
6584
6914
|
type: 'static';
|
|
6585
|
-
rowComponent: RowComponent.VIDEO_BANNER | RowComponent.MEDIA_ACCORDEON | RowComponent.MONETIZATION_BANNER | RowComponent.BACKGROUND_BANNER | RowComponent.PARTNER_LOGOS;
|
|
6915
|
+
rowComponent: RowComponent.VIDEO_BANNER | RowComponent.MEDIA_ACCORDEON | RowComponent.MONETIZATION_BANNER | RowComponent.MONETIZATIONS | RowComponent.BACKGROUND_BANNER | RowComponent.PARTNER_LOGOS;
|
|
6586
6916
|
screenRef?: string;
|
|
6587
6917
|
videoRef?: string;
|
|
6588
6918
|
videoPath?: string;
|
|
@@ -6633,6 +6963,13 @@ export declare interface StoreBadgeConfig {
|
|
|
6633
6963
|
export declare type StreamingProfile = 'low' | 'medium' | 'high';
|
|
6634
6964
|
|
|
6635
6965
|
export declare interface SubmitAnswerRequest {
|
|
6966
|
+
/**
|
|
6967
|
+
* Client-generated ID for one intentional vote. Generate a fresh ID per vote
|
|
6968
|
+
* and reuse it on retry. V2 accepts strings of 1–128 characters. Undefined is
|
|
6969
|
+
* accepted for single-vote submissions and rejected for repeatable polls.
|
|
6970
|
+
* The server generates a separate answer document ID.
|
|
6971
|
+
*/
|
|
6972
|
+
submissionId?: string;
|
|
6636
6973
|
answerOptionId?: string;
|
|
6637
6974
|
answerText?: string;
|
|
6638
6975
|
clientTimestamp: number;
|
|
@@ -6642,6 +6979,8 @@ export declare interface SubmitAnswerRequest {
|
|
|
6642
6979
|
}
|
|
6643
6980
|
|
|
6644
6981
|
export declare interface SubmitAnswerResponse {
|
|
6982
|
+
/** Server-derived epoch milliseconds when this user may vote again. Repeatable polls only. */
|
|
6983
|
+
nextAllowedVoteAt?: number;
|
|
6645
6984
|
id: string;
|
|
6646
6985
|
receivedTimestamp: number;
|
|
6647
6986
|
leaderboardScore?: number;
|
|
@@ -6690,6 +7029,12 @@ export declare type SubscribeToTaggedVideos = (tagIds: string[], cb: (error: Err
|
|
|
6690
7029
|
*/
|
|
6691
7030
|
export declare type SubscribeToTaggedVideosOptions = Omit<SubscribeToItemsInRowOptions, 'orderBy'> & {
|
|
6692
7031
|
orderBy?: OrderBy<TaggedVideosOrderByField>[];
|
|
7032
|
+
/**
|
|
7033
|
+
* Optional tag document references to use directly for the videos query.
|
|
7034
|
+
* When provided, the subscription will skip resolving `tagId -> TagDocument` and will query
|
|
7035
|
+
* `videos` by these refs (matches the refs stored inside `Video.tags` arrays).
|
|
7036
|
+
*/
|
|
7037
|
+
tagRefs?: unknown[];
|
|
6693
7038
|
};
|
|
6694
7039
|
|
|
6695
7040
|
/**
|
|
@@ -6711,6 +7056,17 @@ export declare const SubtitleLangCodeToTitle: Record<SubtitleLangCode, string>;
|
|
|
6711
7056
|
*/
|
|
6712
7057
|
export declare const subtitleLanguages: SubtitleLangCode[];
|
|
6713
7058
|
|
|
7059
|
+
/**
|
|
7060
|
+
* Enriched subtitle track info combining language code with metadata from encodingMetadata.
|
|
7061
|
+
* @public
|
|
7062
|
+
*/
|
|
7063
|
+
export declare interface SubtitleTrackInfo {
|
|
7064
|
+
language: SubtitleLangCode;
|
|
7065
|
+
label?: string;
|
|
7066
|
+
isCC?: boolean;
|
|
7067
|
+
isDefault?: boolean;
|
|
7068
|
+
}
|
|
7069
|
+
|
|
6714
7070
|
/**
|
|
6715
7071
|
* @public
|
|
6716
7072
|
*/
|
|
@@ -6748,6 +7104,7 @@ export declare interface Tag extends RowItem {
|
|
|
6748
7104
|
type?: string | null;
|
|
6749
7105
|
metadata?: TagMetadataField[];
|
|
6750
7106
|
color?: string;
|
|
7107
|
+
description?: string;
|
|
6751
7108
|
detailBanner?: string;
|
|
6752
7109
|
availableSeasons?: AvailableSeason[];
|
|
6753
7110
|
isFavorite: boolean;
|
|
@@ -6921,6 +7278,10 @@ export declare interface TileComponentProps {
|
|
|
6921
7278
|
* CSS color for the topLabel background. Defaults to white.
|
|
6922
7279
|
*/
|
|
6923
7280
|
topLabelColor?: string;
|
|
7281
|
+
/**
|
|
7282
|
+
* Sublabel text displayed under the video title (e.g. genre, series info).
|
|
7283
|
+
*/
|
|
7284
|
+
sublabel?: string;
|
|
6924
7285
|
}
|
|
6925
7286
|
|
|
6926
7287
|
export declare type TileData<T extends ScreenRowType = ScreenRowType> = T extends 'static' ? StaticTileData : DocumentTileData;
|
|
@@ -7007,42 +7368,12 @@ export declare type TivioBundleFile = {
|
|
|
7007
7368
|
* @public
|
|
7008
7369
|
*/
|
|
7009
7370
|
export declare interface TivioComponents {
|
|
7010
|
-
Markers: React_2.ComponentType<MarkersProps>;
|
|
7011
7371
|
PlayerDataContext: React_2.Context<{
|
|
7012
7372
|
player: any | null;
|
|
7013
7373
|
}>;
|
|
7014
7374
|
Provider: React_2.ComponentType<RemoteProviderProps>;
|
|
7015
7375
|
WebPlayer: React_2.ComponentType<WebPlayerProps>;
|
|
7016
|
-
PlayerDataContextProvider: React_2.ComponentType<{
|
|
7017
|
-
id: string;
|
|
7018
|
-
}>;
|
|
7019
|
-
SkipButtonTv: React_2.ComponentType<{
|
|
7020
|
-
Button: React_2.ComponentType;
|
|
7021
|
-
Label: React_2.ComponentType;
|
|
7022
|
-
Container: React_2.ComponentType;
|
|
7023
|
-
onStarted?: () => any;
|
|
7024
|
-
onEnded?: () => any;
|
|
7025
|
-
}>;
|
|
7026
|
-
TvApp: React_2.ComponentType<TvAppProps>;
|
|
7027
7376
|
FeatureSupportCheck: React_2.ComponentType;
|
|
7028
|
-
CustomerScreen: React_2.ComponentType<{
|
|
7029
|
-
screenId: string;
|
|
7030
|
-
screen: Screen_2;
|
|
7031
|
-
}>;
|
|
7032
|
-
WebTagScreen: React_2.ComponentType<{
|
|
7033
|
-
tagId: string;
|
|
7034
|
-
onError?: (error: Error) => void;
|
|
7035
|
-
}>;
|
|
7036
|
-
WebGridScreen: React_2.ComponentType<WebGridScreenProps>;
|
|
7037
|
-
WebSearchScreen: React_2.ComponentType<{
|
|
7038
|
-
searchQuery?: string;
|
|
7039
|
-
}>;
|
|
7040
|
-
WebRow: React_2.ComponentType<WebRowProps>;
|
|
7041
|
-
WebTile: React_2.ComponentType<{
|
|
7042
|
-
item?: ItemInRow;
|
|
7043
|
-
} & TilePropsPartial>;
|
|
7044
|
-
ContentSortPicker: React_2.ComponentType<ContentSortPickerProps>;
|
|
7045
|
-
WebTivioProVideoScreen: React_2.ComponentType<WebTivioProVideoScreenProps>;
|
|
7046
7377
|
RemoteController: React_2.ComponentType<RemoteControllerProps>;
|
|
7047
7378
|
}
|
|
7048
7379
|
|
|
@@ -7089,6 +7420,11 @@ export declare interface TivioConfig {
|
|
|
7089
7420
|
* Used to define and manage a list of supported languages for different language-usages (user, content,...).
|
|
7090
7421
|
*/
|
|
7091
7422
|
languageSelectors?: Partial<Record<LanguageSelector, LangCode[]>>;
|
|
7423
|
+
/**
|
|
7424
|
+
* Loads the organization directly instead of resolving it from `secret`.
|
|
7425
|
+
* Intended for branded applications hosted under a shared platform secret.
|
|
7426
|
+
*/
|
|
7427
|
+
organizationId?: string;
|
|
7092
7428
|
applicationId?: string;
|
|
7093
7429
|
isTivioProApp?: boolean;
|
|
7094
7430
|
lockApplicationHandle?: string;
|
|
@@ -7096,6 +7432,15 @@ export declare interface TivioConfig {
|
|
|
7096
7432
|
* Configuration for GDPR consent collection (CMP)
|
|
7097
7433
|
*/
|
|
7098
7434
|
cmp?: CmpConfig;
|
|
7435
|
+
/**
|
|
7436
|
+
* CMP profile to use when it differs from or is missing on the organization document.
|
|
7437
|
+
* Does not change the Firebase app identity.
|
|
7438
|
+
*/
|
|
7439
|
+
cmpCustomerId?: CustomerId;
|
|
7440
|
+
/** Force one display language for the CMP notice and preferences. */
|
|
7441
|
+
cmpLanguage?: LangCode;
|
|
7442
|
+
/** Enable Didomi's native Google Consent Mode v2 and GTM consent events. */
|
|
7443
|
+
cmpGoogleConsentMode?: boolean;
|
|
7099
7444
|
/**
|
|
7100
7445
|
* Device information - model, os, version, etc. This is useful for devices
|
|
7101
7446
|
* where this information cannot be reliably auto-detected.
|
|
@@ -7235,35 +7580,10 @@ export declare type TivioHooks = {
|
|
|
7235
7580
|
* @public
|
|
7236
7581
|
*/
|
|
7237
7582
|
export declare type TivioInternalBundle = {
|
|
7238
|
-
components: TivioInternalComponents;
|
|
7239
7583
|
hooks: TivioInternalHooks;
|
|
7240
7584
|
providers: TivioInternalProviders;
|
|
7241
7585
|
};
|
|
7242
7586
|
|
|
7243
|
-
/**
|
|
7244
|
-
* @public
|
|
7245
|
-
*/
|
|
7246
|
-
export declare type TivioInternalComponents = {
|
|
7247
|
-
PrimaryButton: React_2.ComponentType<any>;
|
|
7248
|
-
WebLandingScreen: React_2.ComponentType<{
|
|
7249
|
-
logo?: string;
|
|
7250
|
-
}>;
|
|
7251
|
-
WebVideoScreen: React_2.ComponentType<{
|
|
7252
|
-
videoIdOrUrlName: string;
|
|
7253
|
-
}>;
|
|
7254
|
-
WebSeriesDetailScreen: React_2.ComponentType<WebSeriesDetailScreenProps>;
|
|
7255
|
-
WebConfirmationOverlay: React_2.ComponentType;
|
|
7256
|
-
UserProfilesOverlay: React_2.ComponentType<{
|
|
7257
|
-
onClose: (selectedProfileId: string) => void;
|
|
7258
|
-
}>;
|
|
7259
|
-
Banner: React_2.ComponentType<BannerPropsPartial>;
|
|
7260
|
-
CustomAppHistoryContext: React_2.Context<HistoryContextData | undefined>;
|
|
7261
|
-
ScrollableSubscriptionList: React_2.ComponentType<{
|
|
7262
|
-
subscriptions: PurchasableMonetization[];
|
|
7263
|
-
renderSubscription: (subscription: PurchasableMonetization) => React_2.ReactNode;
|
|
7264
|
-
}>;
|
|
7265
|
-
};
|
|
7266
|
-
|
|
7267
7587
|
/**
|
|
7268
7588
|
* @public
|
|
7269
7589
|
*/
|
|
@@ -7336,32 +7656,15 @@ export declare type TivioInternalHooks = {
|
|
|
7336
7656
|
* @public
|
|
7337
7657
|
*/
|
|
7338
7658
|
export declare type TivioInternalProviders = {
|
|
7339
|
-
AppThemeProvider: React_2.ComponentType;
|
|
7340
|
-
CustomerProvider: React_2.ComponentType<{
|
|
7341
|
-
customer: CustomerId;
|
|
7342
|
-
platform: PLATFORM;
|
|
7343
|
-
children?: React_2.ReactNode;
|
|
7344
|
-
}>;
|
|
7345
|
-
ConfigProvider: React_2.ComponentType<React_2.PropsWithChildren>;
|
|
7346
7659
|
UserContextProvider: React_2.ComponentType<{
|
|
7347
7660
|
children?: React_2.ReactNode;
|
|
7348
7661
|
}>;
|
|
7349
|
-
MonetizationsSelectOverlayContextProvider: React_2.ComponentType;
|
|
7350
|
-
QerkoOverlayContextProvider: React_2.ComponentType;
|
|
7351
7662
|
/**
|
|
7352
7663
|
* @deprecated do not use, this provider will be removed in the future
|
|
7353
7664
|
*/
|
|
7354
7665
|
PurchasesWithVideosContextProvider: React_2.ComponentType<{
|
|
7355
7666
|
children?: React_2.ReactNode;
|
|
7356
7667
|
}>;
|
|
7357
|
-
/**
|
|
7358
|
-
* @deprecated not used in our app, can be removed when no sdk in production uses it
|
|
7359
|
-
*/
|
|
7360
|
-
OrganizationSubscriptionsContextProvider: React_2.ComponentType;
|
|
7361
|
-
RouterOverridesContextProvider: React_2.ComponentType<{
|
|
7362
|
-
state: RouterOverridesContextState;
|
|
7363
|
-
}>;
|
|
7364
|
-
ConfirmationOverlayContextProvider: React_2.ComponentType;
|
|
7365
7668
|
};
|
|
7366
7669
|
|
|
7367
7670
|
/**
|
|
@@ -7441,12 +7744,13 @@ export declare type TivioReactBundle = {
|
|
|
7441
7744
|
hooks: TivioHooks;
|
|
7442
7745
|
sources: TivioSources;
|
|
7443
7746
|
subscriptions: TivioSubscriptions;
|
|
7747
|
+
supportsQerkoWebTheme?: boolean;
|
|
7444
7748
|
purchaseVideoWithQerko: (videoId: string, monetizationId: string, voucher?: {
|
|
7445
7749
|
expirationDate: Date;
|
|
7446
|
-
}, email?: string) => Promise<QerkoPaymentInfo>;
|
|
7750
|
+
}, email?: string, gateway?: PurchaseDocumentGateway, checkout?: QerkoCheckoutOptions) => Promise<QerkoPaymentInfo>;
|
|
7447
7751
|
purchaseSubscriptionWithQerko: (monetizationId: string, voucher?: {
|
|
7448
7752
|
expirationDate: Date;
|
|
7449
|
-
}, email?: string, quantity?: number) => Promise<QerkoPaymentInfo>;
|
|
7753
|
+
}, email?: string, quantity?: number, gateway?: PurchaseDocumentGateway, checkout?: QerkoCheckoutOptions) => Promise<QerkoPaymentInfo>;
|
|
7450
7754
|
cancelSubscriptionWithQerko: (subscriptionId: string) => Promise<QerkoCancellationInfo>;
|
|
7451
7755
|
showConsentPreferences: () => void;
|
|
7452
7756
|
/**
|
|
@@ -7563,13 +7867,6 @@ export declare type Translation = {
|
|
|
7563
7867
|
[key in LangCode]?: string;
|
|
7564
7868
|
};
|
|
7565
7869
|
|
|
7566
|
-
/**
|
|
7567
|
-
* @public
|
|
7568
|
-
*/
|
|
7569
|
-
export declare interface TvAppProps {
|
|
7570
|
-
customer: CustomerId;
|
|
7571
|
-
}
|
|
7572
|
-
|
|
7573
7870
|
/**
|
|
7574
7871
|
* @public
|
|
7575
7872
|
*/
|
|
@@ -7755,9 +8052,9 @@ export declare const useAdSegment: () => {
|
|
|
7755
8052
|
* @public
|
|
7756
8053
|
*/
|
|
7757
8054
|
export declare function useApplyInviteCode(): {
|
|
7758
|
-
applyInviteCodeResult?: boolean
|
|
8055
|
+
applyInviteCodeResult?: boolean;
|
|
7759
8056
|
loading: boolean;
|
|
7760
|
-
error?: GenericOnCallError
|
|
8057
|
+
error?: GenericOnCallError;
|
|
7761
8058
|
applyInviteCode: (code: string) => void;
|
|
7762
8059
|
inviteCodeReset: () => void;
|
|
7763
8060
|
};
|
|
@@ -7963,7 +8260,7 @@ export declare const useOrganizationSubscriptions: (onlyPurchasableSubscriptions
|
|
|
7963
8260
|
};
|
|
7964
8261
|
|
|
7965
8262
|
export declare const usePollWidget: (widgetPath: string | undefined, isObs?: boolean) => {
|
|
7966
|
-
widget:
|
|
8263
|
+
widget: SDKWidget<PollWidget> | null;
|
|
7967
8264
|
isLoading: boolean;
|
|
7968
8265
|
error: Error | null;
|
|
7969
8266
|
};
|
|
@@ -7978,9 +8275,9 @@ export declare const usePollWidget: (widgetPath: string | undefined, isObs?: boo
|
|
|
7978
8275
|
* @public
|
|
7979
8276
|
*/
|
|
7980
8277
|
export declare function usePurchaseRecovery(): {
|
|
7981
|
-
purchaseRecoveryResult?: string
|
|
8278
|
+
purchaseRecoveryResult?: string;
|
|
7982
8279
|
loading: boolean;
|
|
7983
|
-
error?: GenericOnCallError
|
|
8280
|
+
error?: GenericOnCallError;
|
|
7984
8281
|
purchaseRecovery: (monetizationId: string) => void;
|
|
7985
8282
|
};
|
|
7986
8283
|
|
|
@@ -7990,7 +8287,7 @@ export declare function usePurchaseRecovery(): {
|
|
|
7990
8287
|
export declare const usePurchaseSubscription: (monetizationId: string, voucher?: NewVoucher) => QerkoTransaction;
|
|
7991
8288
|
|
|
7992
8289
|
export declare const useQuizWidget: (widgetPath: string | undefined, isObs?: boolean) => {
|
|
7993
|
-
widget:
|
|
8290
|
+
widget: SDKWidget<QuizWidget> | null;
|
|
7994
8291
|
isLoading: boolean;
|
|
7995
8292
|
error: Error | null;
|
|
7996
8293
|
};
|
|
@@ -8027,7 +8324,12 @@ export declare type User = {
|
|
|
8027
8324
|
*/
|
|
8028
8325
|
purchasedVods: Purchase[];
|
|
8029
8326
|
/**
|
|
8030
|
-
* Returns
|
|
8327
|
+
* Returns active VoD purchases and inactive VoD purchases that have invoice history.
|
|
8328
|
+
* Unlike purchasedVods, this collection must not be used for content entitlement checks.
|
|
8329
|
+
*/
|
|
8330
|
+
purchasedVodHistory?: Purchase[];
|
|
8331
|
+
/**
|
|
8332
|
+
* Returns active subscriptions and expired subscriptions with invoice history.
|
|
8031
8333
|
*/
|
|
8032
8334
|
purchasedSubscriptions: Purchase[];
|
|
8033
8335
|
/**
|
|
@@ -8088,6 +8390,7 @@ export declare type User = {
|
|
|
8088
8390
|
followedOrganizationIds: string[];
|
|
8089
8391
|
isAnonymous: boolean;
|
|
8090
8392
|
isDiscordConnected: boolean;
|
|
8393
|
+
isSpotifyConnectedForOrganization?: (organizationId: string) => boolean;
|
|
8091
8394
|
disconnectDiscord: () => Promise<void>;
|
|
8092
8395
|
/**
|
|
8093
8396
|
* Create new profile for this user.
|
|
@@ -8311,6 +8614,10 @@ export declare const useSearch: UseSearch;
|
|
|
8311
8614
|
*/
|
|
8312
8615
|
export declare type UseSearchOptions<T extends ALGOLIA_INDEX_NAME = any> = PaginationOptions & {
|
|
8313
8616
|
minQueryLength?: number;
|
|
8617
|
+
/** An Algolia condition or OR conditions, combined with required filters using AND. */
|
|
8618
|
+
filters?: string;
|
|
8619
|
+
/** Apply kids profile age restrictions to tag results. Videos always use these restrictions. */
|
|
8620
|
+
filterTagsByAge?: boolean;
|
|
8314
8621
|
} & (T extends ALGOLIA_INDEX_NAME.VIDEOS | ALGOLIA_INDEX_NAME.VIDEOSDESC ? UseSearchVideoOptions : {});
|
|
8315
8622
|
|
|
8316
8623
|
/**
|
|
@@ -8322,6 +8629,8 @@ export declare type UseSearchResult<T extends ALGOLIA_INDEX_NAME> = T extends AL
|
|
|
8322
8629
|
* @public
|
|
8323
8630
|
*/
|
|
8324
8631
|
export declare type UseSearchVideoOptions = {
|
|
8632
|
+
/** Load cached video documents before returning results, including their complete tag references. */
|
|
8633
|
+
fetchVideoData?: boolean;
|
|
8325
8634
|
/**
|
|
8326
8635
|
* If true video tags are awaited before loading is over.
|
|
8327
8636
|
* Otherwise, only videos are awaited.
|
|
@@ -8450,6 +8759,7 @@ export declare enum VastProvider {
|
|
|
8450
8759
|
FALLBACK_MP4 = "fallback",
|
|
8451
8760
|
GARAZ_TV = "garaz.tv",
|
|
8452
8761
|
GARAZ_TV_DEV = "garaz.tv.dev",
|
|
8762
|
+
KVIFF_WEB = "KVIFF_WEB",
|
|
8453
8763
|
JOJ_ADFORM = "joj",
|
|
8454
8764
|
JOJ_SMART = "joj-smart",
|
|
8455
8765
|
JOJ_AD_MANAGER_VOD_PREROLL = "joj-ad-manager-vod-preroll",
|
|
@@ -8548,11 +8858,15 @@ export declare interface Video extends RowItem, MonetizableItem, ReactableConten
|
|
|
8548
8858
|
sourceLanguages: LangCode[];
|
|
8549
8859
|
urlByLanguage: (lang: LangCode) => string | undefined;
|
|
8550
8860
|
getApplicationName: () => string | undefined;
|
|
8861
|
+
getGenreName?: () => string;
|
|
8862
|
+
genreName?: string;
|
|
8863
|
+
series?: Tag;
|
|
8551
8864
|
getApplicationLogo: () => string | undefined;
|
|
8552
8865
|
setApplicationData: (applicationData: RowItemApplicationData) => void;
|
|
8553
8866
|
linkedVideosInNotLoaded: () => boolean | undefined;
|
|
8554
8867
|
initApplication: () => Promise<void>;
|
|
8555
8868
|
init: () => Promise<void>;
|
|
8869
|
+
initTags?: () => Promise<Tag[]>;
|
|
8556
8870
|
progress?: number;
|
|
8557
8871
|
purchasableMonetizationPurchase: Purchase | null;
|
|
8558
8872
|
purchaseByVideoId: Purchase | null;
|
|
@@ -8560,12 +8874,49 @@ export declare interface Video extends RowItem, MonetizableItem, ReactableConten
|
|
|
8560
8874
|
isWatched?: boolean;
|
|
8561
8875
|
pgRating?: string;
|
|
8562
8876
|
contentDescriptors?: string[];
|
|
8877
|
+
/**
|
|
8878
|
+
* Alias for pgRating used by UI as "age restriction" (e.g. "12+")
|
|
8879
|
+
*/
|
|
8880
|
+
ageRestriction?: string;
|
|
8881
|
+
/**
|
|
8882
|
+
* Human label for the primary monetization to show in UI (KViff metadata row)
|
|
8883
|
+
*/
|
|
8884
|
+
primaryMonetizationLabel?: string;
|
|
8885
|
+
/**
|
|
8886
|
+
* Director names derived from tags with tagTypeId === "director"
|
|
8887
|
+
*/
|
|
8888
|
+
directorNames?: string[];
|
|
8889
|
+
/**
|
|
8890
|
+
* Country names derived from tags with tagTypeId === "countries"
|
|
8891
|
+
*/
|
|
8892
|
+
countryNames?: string[];
|
|
8893
|
+
/**
|
|
8894
|
+
* Audio language tracks (LangCodes)
|
|
8895
|
+
*/
|
|
8896
|
+
audioTracks?: LangCode[];
|
|
8897
|
+
/**
|
|
8898
|
+
* Subtitle language tracks
|
|
8899
|
+
*/
|
|
8900
|
+
subtitleTracks?: SubtitleLangCode[];
|
|
8901
|
+
/**
|
|
8902
|
+
* Enriched subtitle track info with label, isCC, isDefault metadata.
|
|
8903
|
+
*/
|
|
8904
|
+
subtitleTrackInfos?: SubtitleTrackInfo[];
|
|
8905
|
+
/**
|
|
8906
|
+
* Language code of the default subtitle track (isDefault === true), or null.
|
|
8907
|
+
*/
|
|
8908
|
+
defaultSubtitleLanguage?: SubtitleLangCode | null;
|
|
8909
|
+
transcodingStatus?: VideoTranscodingStatus;
|
|
8563
8910
|
publishedStatus?: PublishedStatus;
|
|
8564
8911
|
widgetPaths?: string[];
|
|
8565
8912
|
forcedCapabilities: PlayerCapability[] | null;
|
|
8566
8913
|
mainLinkedVideoId?: string;
|
|
8567
8914
|
getLinkedVideoIdByLanguage: (lang: LangCode) => string | undefined;
|
|
8568
8915
|
externals?: VideoExternals;
|
|
8916
|
+
/**
|
|
8917
|
+
* Sublabel text displayed under the video title (e.g. genre, series info).
|
|
8918
|
+
*/
|
|
8919
|
+
sublabel?: string;
|
|
8569
8920
|
}
|
|
8570
8921
|
|
|
8571
8922
|
/**
|
|
@@ -8769,7 +9120,9 @@ declare type VideoDetailResponsiveField = OrganizationResponsiveSetting<{
|
|
|
8769
9120
|
* @default 12
|
|
8770
9121
|
*/
|
|
8771
9122
|
relatedVideosLimit?: number;
|
|
8772
|
-
}
|
|
9123
|
+
}> & {
|
|
9124
|
+
hideCreatorBadge?: boolean;
|
|
9125
|
+
};
|
|
8773
9126
|
|
|
8774
9127
|
/**
|
|
8775
9128
|
* @public
|
|
@@ -8807,6 +9160,8 @@ export declare enum VideoSourceEncryption {
|
|
|
8807
9160
|
|
|
8808
9161
|
export declare type VideoSourceField = {
|
|
8809
9162
|
codec: VideoSourceCodec;
|
|
9163
|
+
/** Buffer settings returned to the player when this source is selected. */
|
|
9164
|
+
playerOptions?: PlayerOptions;
|
|
8810
9165
|
/**
|
|
8811
9166
|
* DRM provider for given encrypted source.
|
|
8812
9167
|
*
|
|
@@ -8886,6 +9241,7 @@ declare type VideoTileMonetizationData = TileMonetizationData & {
|
|
|
8886
9241
|
export declare interface VideoTileSpecificData {
|
|
8887
9242
|
cover?: string;
|
|
8888
9243
|
assets?: AssetsField;
|
|
9244
|
+
organizationId?: string;
|
|
8889
9245
|
episodeNumber?: number;
|
|
8890
9246
|
seasonNumber?: number;
|
|
8891
9247
|
urlName?: UrlNamesType;
|
|
@@ -8922,6 +9278,10 @@ export declare enum VideoTranscodingStatus {
|
|
|
8922
9278
|
* @public
|
|
8923
9279
|
*/
|
|
8924
9280
|
export declare enum VideoType {
|
|
9281
|
+
/**
|
|
9282
|
+
* Advertising video.
|
|
9283
|
+
*/
|
|
9284
|
+
AD = "AD",
|
|
8925
9285
|
/**
|
|
8926
9286
|
* Video is composed of several other videos.
|
|
8927
9287
|
*/
|
|
@@ -8958,6 +9318,23 @@ export declare enum VideoType {
|
|
|
8958
9318
|
CHILD = "CHILD"
|
|
8959
9319
|
}
|
|
8960
9320
|
|
|
9321
|
+
export declare type VideoVariantLocale = 'cs' | 'sk' | 'pl';
|
|
9322
|
+
|
|
9323
|
+
/** Static graphics and font assets used by the variant renderer. */
|
|
9324
|
+
export declare interface VideoVariantPresentation {
|
|
9325
|
+
/** Duration of the complete L-frame introduction, including preceding media. */
|
|
9326
|
+
introDurationMs?: number;
|
|
9327
|
+
id: string;
|
|
9328
|
+
overlayObjectKey: string;
|
|
9329
|
+
fontObjectKey: string;
|
|
9330
|
+
fontFamily: string;
|
|
9331
|
+
countdownLabel: string;
|
|
9332
|
+
}
|
|
9333
|
+
|
|
9334
|
+
export declare enum VideoVariantType {
|
|
9335
|
+
L_FRAME_INTRO = "L_FRAME_INTRO"
|
|
9336
|
+
}
|
|
9337
|
+
|
|
8961
9338
|
export declare interface ViewCountItem {
|
|
8962
9339
|
/**
|
|
8963
9340
|
* Unix timestamp
|
|
@@ -9048,6 +9425,12 @@ export declare interface VodTivioSourceInterface extends PlayerSourceInterface<S
|
|
|
9048
9425
|
*/
|
|
9049
9426
|
export declare interface VodTivioSourceParams extends PlayerSourceParams<SourceType.VOD_TIVIO> {
|
|
9050
9427
|
videoPath: string;
|
|
9428
|
+
/**
|
|
9429
|
+
* Path of the video document whose stream URL is actually played.
|
|
9430
|
+
* When set (e.g. tasting preview), device-limit and similar playback security checks
|
|
9431
|
+
* are evaluated against this video instead of {@link videoPath}.
|
|
9432
|
+
*/
|
|
9433
|
+
playbackVideoPath?: string;
|
|
9051
9434
|
adMonetizationId?: string;
|
|
9052
9435
|
language?: LangCode;
|
|
9053
9436
|
drm?: Drm;
|
|
@@ -9119,6 +9502,10 @@ export declare interface WarningConfirmationOverlayPayload extends ConfirmationO
|
|
|
9119
9502
|
*/
|
|
9120
9503
|
export declare interface Watermark {
|
|
9121
9504
|
caption: string;
|
|
9505
|
+
edgeOffsetPercent?: number;
|
|
9506
|
+
fontSizePx?: number;
|
|
9507
|
+
opacity?: number;
|
|
9508
|
+
position?: 'random' | 'bottom-right';
|
|
9122
9509
|
size: 'large' | 'medium';
|
|
9123
9510
|
}
|
|
9124
9511
|
|
|
@@ -9141,6 +9528,10 @@ export declare interface WebConfig {
|
|
|
9141
9528
|
* @deprecated Use headerButton instead
|
|
9142
9529
|
*/
|
|
9143
9530
|
buyVoucherButtonText?: string;
|
|
9531
|
+
/**
|
|
9532
|
+
* If true, the voucher purchase action is shown in the header instead of the organization banner.
|
|
9533
|
+
*/
|
|
9534
|
+
showVoucherButton?: boolean;
|
|
9144
9535
|
/**
|
|
9145
9536
|
* Configurable button shown in the header (e.g., for vouchers, creator signup, etc.)
|
|
9146
9537
|
* Array of language-specific button configurations.
|
|
@@ -9188,6 +9579,10 @@ export declare interface WebConfig {
|
|
|
9188
9579
|
* right panel - some short common description of website
|
|
9189
9580
|
*/
|
|
9190
9581
|
description?: string;
|
|
9582
|
+
/**
|
|
9583
|
+
* Optional font size for the footer description. Defaults to the inherited footer typography size.
|
|
9584
|
+
*/
|
|
9585
|
+
descriptionFontSize?: string;
|
|
9191
9586
|
/**
|
|
9192
9587
|
* left panel - hyperlinks to stores for downloading native app
|
|
9193
9588
|
* if our client has some native app
|
|
@@ -9211,7 +9606,7 @@ export declare interface WebConfig {
|
|
|
9211
9606
|
}[];
|
|
9212
9607
|
};
|
|
9213
9608
|
theme?: {
|
|
9214
|
-
headerType?:
|
|
9609
|
+
headerType?: 'light' | 'dark';
|
|
9215
9610
|
};
|
|
9216
9611
|
screens?: ScreenConfig[];
|
|
9217
9612
|
/**
|
|
@@ -9219,6 +9614,12 @@ export declare interface WebConfig {
|
|
|
9219
9614
|
* so app requires authorization to see them.
|
|
9220
9615
|
*/
|
|
9221
9616
|
securedContent?: boolean;
|
|
9617
|
+
organizationBanner?: {
|
|
9618
|
+
/**
|
|
9619
|
+
* If true, the subscription button in the organization banner is hidden.
|
|
9620
|
+
*/
|
|
9621
|
+
hideSubscriptionButton?: boolean;
|
|
9622
|
+
};
|
|
9222
9623
|
/**
|
|
9223
9624
|
* CSS styles for application background.
|
|
9224
9625
|
*/
|
|
@@ -9264,11 +9665,27 @@ export declare interface WebConfig {
|
|
|
9264
9665
|
*/
|
|
9265
9666
|
showChooseSubscription?: boolean;
|
|
9266
9667
|
registration?: {
|
|
9668
|
+
logoMarginTop?: string;
|
|
9669
|
+
/** Optional auth logo width. Omit to retain the current image sizing. */
|
|
9670
|
+
logoWidth?: string;
|
|
9671
|
+
/**
|
|
9672
|
+
* Optional color for links rendered inside registration consent text.
|
|
9673
|
+
* Falls back to the customer's primary palette color.
|
|
9674
|
+
*/
|
|
9675
|
+
consentLinkColor?: string;
|
|
9267
9676
|
/**
|
|
9268
9677
|
* Customization of auth form
|
|
9269
9678
|
*/
|
|
9270
9679
|
form?: {
|
|
9271
9680
|
subtitle?: string;
|
|
9681
|
+
/** Optional gap above the auth form, on desktop and mobile. */
|
|
9682
|
+
marginTop?: string;
|
|
9683
|
+
/** Optional gap below the auth subtitle, on desktop and mobile. */
|
|
9684
|
+
subtitleMarginBottom?: string;
|
|
9685
|
+
/**
|
|
9686
|
+
* Optional font size for the registration page subtitle.
|
|
9687
|
+
*/
|
|
9688
|
+
subtitleFontSize?: string;
|
|
9272
9689
|
/**
|
|
9273
9690
|
* Optional phoneNumber form field
|
|
9274
9691
|
*/
|
|
@@ -9285,6 +9702,19 @@ export declare interface WebConfig {
|
|
|
9285
9702
|
registrationConsent?: string;
|
|
9286
9703
|
};
|
|
9287
9704
|
payment?: {
|
|
9705
|
+
/** Require sign-in before mounting checkout; free playback remains public. */
|
|
9706
|
+
requireAuthentication?: boolean;
|
|
9707
|
+
/** Show only a primary registration button when checkout requires sign-in. */
|
|
9708
|
+
registrationOnly?: boolean;
|
|
9709
|
+
/** Include the price when the purchase button represents one known offer. */
|
|
9710
|
+
showPriceInPurchaseButton?: boolean;
|
|
9711
|
+
/** Omit to preserve the original checkout button appearance and order. */
|
|
9712
|
+
methodButtons?: {
|
|
9713
|
+
appearance: 'outlined';
|
|
9714
|
+
primaryMethod?: 'blik' | 'hotpay' | 'applePay' | 'googlePay' | 'card' | 'voucher';
|
|
9715
|
+
/** Ordered method choices before checkout. Omit to retain the existing payment flow. */
|
|
9716
|
+
methods?: ('blik' | 'hotpay' | 'applePay' | 'googlePay' | 'card' | 'voucher')[];
|
|
9717
|
+
};
|
|
9288
9718
|
paymentConsent?: string;
|
|
9289
9719
|
paymentRenewalConsent?: boolean;
|
|
9290
9720
|
allowFrequencySwitcher?: boolean;
|
|
@@ -9342,19 +9772,60 @@ export declare interface WebConfig {
|
|
|
9342
9772
|
* If true, robots.txt will prevent crawling of the website.
|
|
9343
9773
|
*/
|
|
9344
9774
|
norobots?: boolean;
|
|
9345
|
-
|
|
9346
|
-
|
|
9347
|
-
|
|
9348
|
-
|
|
9349
|
-
|
|
9775
|
+
/**
|
|
9776
|
+
* Per-customer i18n translation overrides applied globally via Translator.
|
|
9777
|
+
* Format: { [langCode]: { [translationKey]: translatedValue } }
|
|
9778
|
+
*/
|
|
9779
|
+
customTranslations?: Partial<Record<LangCode, Record<string, string>>>;
|
|
9350
9780
|
/**
|
|
9351
9781
|
* Map for all handlers
|
|
9352
9782
|
*/
|
|
9353
9783
|
handlers?: PurchaseEventHandlers;
|
|
9354
9784
|
homeScreen?: {
|
|
9785
|
+
/** Render the first application screen at `/` on a custom web. */
|
|
9786
|
+
renderAtRoot?: boolean;
|
|
9355
9787
|
useFullHeight?: boolean;
|
|
9788
|
+
gridSections?: HomeScreenGridSectionConfig[];
|
|
9789
|
+
/** Use the first item of this screen row as the hero, without hiding the row itself. */
|
|
9790
|
+
backgroundBannerRowId?: string;
|
|
9356
9791
|
};
|
|
9792
|
+
/** Ask for confirmation before a geo-blocked film purchase. Does not change playback authorization. */
|
|
9793
|
+
warnBeforeGeoBlockedPurchase?: boolean;
|
|
9357
9794
|
disableModalSwitcher?: boolean;
|
|
9795
|
+
hideModalCollectionsTab?: boolean;
|
|
9796
|
+
hideModalActorsTab?: boolean;
|
|
9797
|
+
/** Initial video modal tab. Defaults to similars; unavailable details fall back to similars. */
|
|
9798
|
+
modalVideoInitialTab?: 'similars' | 'details';
|
|
9799
|
+
/**
|
|
9800
|
+
* Tag document id that marks a video as a "film". When set, the modal
|
|
9801
|
+
* "About" ("o filmu") tab is shown only for videos carrying this tag; plain
|
|
9802
|
+
* videos hide the tab and default to the "Similars" ("podobné") tab instead.
|
|
9803
|
+
* When omitted, the About tab uses the default behavior (shown for monetized
|
|
9804
|
+
* videos). Used e.g. by KViff, whose content is not flagged via `contentType`.
|
|
9805
|
+
*/
|
|
9806
|
+
modalAboutTabFilmTagId?: string;
|
|
9807
|
+
organizationBannerBuySubscriptionHref?: string;
|
|
9808
|
+
/**
|
|
9809
|
+
* Specific tag paths to use as hard filters (OR) for Algolia Recommend in similars.
|
|
9810
|
+
* Only tags that the video actually has are included in the filter.
|
|
9811
|
+
*/
|
|
9812
|
+
similarsFilterTags?: string[];
|
|
9813
|
+
/**
|
|
9814
|
+
* Algolia hard filter appended to recommendations query when active profile is a kids profile.
|
|
9815
|
+
* E.g. 'pgRating:univerzální' to guarantee only universal-rated content is returned.
|
|
9816
|
+
*/
|
|
9817
|
+
kidsProfileRecommendFilter?: string;
|
|
9818
|
+
/**
|
|
9819
|
+
* Profile page configuration
|
|
9820
|
+
*/
|
|
9821
|
+
profile?: {
|
|
9822
|
+
/**
|
|
9823
|
+
* If provided, an "Edit profile" button will be shown in the profile account section
|
|
9824
|
+
* linking to this URL (e.g., external identity provider like ARTS ID).
|
|
9825
|
+
* Opens in a new tab.
|
|
9826
|
+
*/
|
|
9827
|
+
editProfileUrl?: string;
|
|
9828
|
+
};
|
|
9358
9829
|
}
|
|
9359
9830
|
|
|
9360
9831
|
/**
|
|
@@ -9466,6 +9937,9 @@ export declare interface WebPlayerProps {
|
|
|
9466
9937
|
*/
|
|
9467
9938
|
export declare interface WebProfileScreenProps {
|
|
9468
9939
|
onLogout: () => void;
|
|
9940
|
+
spotifyConnectIntent?: boolean;
|
|
9941
|
+
onSpotifyConnectIntentConsumed?: () => void;
|
|
9942
|
+
spotifyFinalizeState?: 'pending' | 'error';
|
|
9469
9943
|
}
|
|
9470
9944
|
|
|
9471
9945
|
/**
|