react-native-firework-sdk 2.16.1 → 2.17.0-beta.1
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/android/build.gradle +43 -75
- package/android/gradle.properties +5 -5
- package/android/settings.gradle +1 -1
- package/android/src/main/AndroidManifestNew.xml +41 -0
- package/ios/FireworkSdk-Bridging-Header.h +3 -3
- package/lib/commonjs/FWNavigator.js +13 -34
- package/lib/commonjs/FWNavigator.js.map +1 -1
- package/lib/commonjs/FireworkSDK.js +44 -159
- package/lib/commonjs/FireworkSDK.js.map +1 -1
- package/lib/commonjs/LiveStream.js +8 -27
- package/lib/commonjs/LiveStream.js.map +1 -1
- package/lib/commonjs/VideoShopping.js +21 -91
- package/lib/commonjs/VideoShopping.js.map +1 -1
- package/lib/commonjs/components/FWStoryBlock.js +2 -6
- package/lib/commonjs/components/FWStoryBlock.js.map +1 -1
- package/lib/commonjs/components/FWVideoFeed.js +2 -6
- package/lib/commonjs/components/FWVideoFeed.js.map +1 -1
- package/lib/commonjs/components/StoryBlock.js +60 -161
- package/lib/commonjs/components/StoryBlock.js.map +1 -1
- package/lib/commonjs/components/VideoFeed.js +214 -335
- package/lib/commonjs/components/VideoFeed.js.map +1 -1
- package/lib/commonjs/constants/FWErrorMessage.js +1 -4
- package/lib/commonjs/constants/FWErrorMessage.js.map +1 -1
- package/lib/commonjs/index.js +14 -29
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/models/AdBadgeConfiguration.js.map +1 -1
- package/lib/commonjs/models/AdConfiguration.js.map +1 -1
- package/lib/commonjs/models/AndroidFontInfo.js.map +1 -1
- package/lib/commonjs/models/ButtonInfo.js.map +1 -1
- package/lib/commonjs/models/CountdownTimerConfiguration.js.map +1 -1
- package/lib/commonjs/models/DataTrackingLevel.js.map +1 -1
- package/lib/commonjs/models/FWComponentType.js +3 -5
- package/lib/commonjs/models/FWComponentType.js.map +1 -1
- package/lib/commonjs/models/FWError.js.map +1 -1
- package/lib/commonjs/models/FWEventName.js +3 -5
- package/lib/commonjs/models/FWEventName.js.map +1 -1
- package/lib/commonjs/models/FWEvents.js.map +1 -1
- package/lib/commonjs/models/FWNativeErrorAction.js +3 -5
- package/lib/commonjs/models/FWNativeErrorAction.js.map +1 -1
- package/lib/commonjs/models/FeedItemDetails.js.map +1 -1
- package/lib/commonjs/models/GradientDrawable.js.map +1 -1
- package/lib/commonjs/models/IOSFontInfo.js.map +1 -1
- package/lib/commonjs/models/LiveStreamChatEventName.js +7 -7
- package/lib/commonjs/models/LiveStreamChatEventName.js.map +1 -1
- package/lib/commonjs/models/LiveStreamEventDetails.js.map +1 -1
- package/lib/commonjs/models/LiveStreamEventName.js +13 -7
- package/lib/commonjs/models/LiveStreamEventName.js.map +1 -1
- package/lib/commonjs/models/LiveStreamMessageDetails.js.map +1 -1
- package/lib/commonjs/models/LivestreamPlayerDesignVersion.js +4 -7
- package/lib/commonjs/models/LivestreamPlayerDesignVersion.js.map +1 -1
- package/lib/commonjs/models/MarkInitCalledOptions.js.map +1 -1
- package/lib/commonjs/models/OpenVideoPlayerConfiguration.js.map +1 -1
- package/lib/commonjs/models/Product.js.map +1 -1
- package/lib/commonjs/models/ProductInfoViewConfiguration.js.map +1 -1
- package/lib/commonjs/models/ProductUnit.js.map +1 -1
- package/lib/commonjs/models/PushRNContainerParams.js.map +1 -1
- package/lib/commonjs/models/ReplayBadgeConfiguration.js.map +1 -1
- package/lib/commonjs/models/SDKInitOptions.js.map +1 -1
- package/lib/commonjs/models/ShoppingCTAResult.js.map +1 -1
- package/lib/commonjs/models/StoryBlockConfiguration.js.map +1 -1
- package/lib/commonjs/models/StoryBlockNativeConfiguration.js.map +1 -1
- package/lib/commonjs/models/StoryBlockSource.js.map +1 -1
- package/lib/commonjs/models/TrackPurchaseParameters.js.map +1 -1
- package/lib/commonjs/models/VideoFeedConfiguration.js.map +1 -1
- package/lib/commonjs/models/VideoFeedSource.js.map +1 -1
- package/lib/commonjs/models/VideoPlaybackDetails.js.map +1 -1
- package/lib/commonjs/models/VideoPlaybackEventName.js +40 -7
- package/lib/commonjs/models/VideoPlaybackEventName.js.map +1 -1
- package/lib/commonjs/models/VideoPlayerButtonConfiguration.js.map +1 -1
- package/lib/commonjs/models/VideoPlayerCTADelay.js.map +1 -1
- package/lib/commonjs/models/VideoPlayerCTAStyle.js.map +1 -1
- package/lib/commonjs/models/VideoPlayerCTAWidth.js.map +1 -1
- package/lib/commonjs/models/VideoPlayerCompleteAction.js.map +1 -1
- package/lib/commonjs/models/VideoPlayerConfiguration.js.map +1 -1
- package/lib/commonjs/models/VideoPlayerLivestreamCountdownTimerTheme.js.map +1 -1
- package/lib/commonjs/models/VideoPlayerLogoConfiguration.js.map +1 -1
- package/lib/commonjs/models/VideoPlayerNativeConfiguration.js.map +1 -1
- package/lib/commonjs/models/VideoPlayerStyle.js.map +1 -1
- package/lib/commonjs/modules/FWNavigatorModule.js +3 -9
- package/lib/commonjs/modules/FWNavigatorModule.js.map +1 -1
- package/lib/commonjs/modules/FireworkSDKModule.js +3 -9
- package/lib/commonjs/modules/FireworkSDKModule.js.map +1 -1
- package/lib/commonjs/modules/LiveStreamModule.js +3 -9
- package/lib/commonjs/modules/LiveStreamModule.js.map +1 -1
- package/lib/commonjs/modules/ShoppingModule.js +3 -9
- package/lib/commonjs/modules/ShoppingModule.js.map +1 -1
- package/lib/commonjs/package.json +1 -0
- package/lib/commonjs/utils/FWGlobalState.js +3 -21
- package/lib/commonjs/utils/FWGlobalState.js.map +1 -1
- package/lib/commonjs/utils/FWJsonUtil.js +1 -9
- package/lib/commonjs/utils/FWJsonUtil.js.map +1 -1
- package/lib/commonjs/utils/FWLoggerUtil.js +1 -9
- package/lib/commonjs/utils/FWLoggerUtil.js.map +1 -1
- package/lib/commonjs/utils/VideoFeedUtil.js +15 -28
- package/lib/commonjs/utils/VideoFeedUtil.js.map +1 -1
- package/lib/module/FWNavigator.js +13 -24
- package/lib/module/FWNavigator.js.map +1 -1
- package/lib/module/FireworkSDK.js +42 -127
- package/lib/module/FireworkSDK.js.map +1 -1
- package/lib/module/LiveStream.js +7 -18
- package/lib/module/LiveStream.js.map +1 -1
- package/lib/module/VideoShopping.js +19 -68
- package/lib/module/VideoShopping.js.map +1 -1
- package/lib/module/components/FWStoryBlock.js +3 -1
- package/lib/module/components/FWStoryBlock.js.map +1 -1
- package/lib/module/components/FWVideoFeed.js +3 -1
- package/lib/module/components/FWVideoFeed.js.map +1 -1
- package/lib/module/components/StoryBlock.js +59 -111
- package/lib/module/components/StoryBlock.js.map +1 -1
- package/lib/module/components/VideoFeed.js +214 -299
- package/lib/module/components/VideoFeed.js.map +1 -1
- package/lib/module/constants/FWErrorMessage.js +2 -0
- package/lib/module/constants/FWErrorMessage.js.map +1 -1
- package/lib/module/index.js +14 -12
- package/lib/module/index.js.map +1 -1
- package/lib/module/models/AdBadgeConfiguration.js +1 -1
- package/lib/module/models/AdBadgeConfiguration.js.map +1 -1
- package/lib/module/models/AdConfiguration.js +1 -1
- package/lib/module/models/AdConfiguration.js.map +1 -1
- package/lib/module/models/AndroidFontInfo.js +1 -1
- package/lib/module/models/AndroidFontInfo.js.map +1 -1
- package/lib/module/models/ButtonInfo.js +1 -1
- package/lib/module/models/ButtonInfo.js.map +1 -1
- package/lib/module/models/CountdownTimerConfiguration.js +1 -1
- package/lib/module/models/CountdownTimerConfiguration.js.map +1 -1
- package/lib/module/models/DataTrackingLevel.js +1 -1
- package/lib/module/models/DataTrackingLevel.js.map +1 -1
- package/lib/module/models/FWComponentType.js +4 -3
- package/lib/module/models/FWComponentType.js.map +1 -1
- package/lib/module/models/FWError.js +1 -1
- package/lib/module/models/FWError.js.map +1 -1
- package/lib/module/models/FWEventName.js +4 -3
- package/lib/module/models/FWEventName.js.map +1 -1
- package/lib/module/models/FWEvents.js +2 -0
- package/lib/module/models/FWEvents.js.map +1 -1
- package/lib/module/models/FWNativeErrorAction.js +4 -3
- package/lib/module/models/FWNativeErrorAction.js.map +1 -1
- package/lib/module/models/FeedItemDetails.js +1 -1
- package/lib/module/models/FeedItemDetails.js.map +1 -1
- package/lib/module/models/GradientDrawable.js +1 -1
- package/lib/module/models/GradientDrawable.js.map +1 -1
- package/lib/module/models/IOSFontInfo.js +1 -1
- package/lib/module/models/IOSFontInfo.js.map +1 -1
- package/lib/module/models/LiveStreamChatEventName.js +7 -4
- package/lib/module/models/LiveStreamChatEventName.js.map +1 -1
- package/lib/module/models/LiveStreamEventDetails.js +1 -1
- package/lib/module/models/LiveStreamEventDetails.js.map +1 -1
- package/lib/module/models/LiveStreamEventName.js +13 -4
- package/lib/module/models/LiveStreamEventName.js.map +1 -1
- package/lib/module/models/LiveStreamMessageDetails.js +1 -1
- package/lib/module/models/LiveStreamMessageDetails.js.map +1 -1
- package/lib/module/models/LivestreamPlayerDesignVersion.js +4 -4
- package/lib/module/models/LivestreamPlayerDesignVersion.js.map +1 -1
- package/lib/module/models/MarkInitCalledOptions.js +1 -1
- package/lib/module/models/MarkInitCalledOptions.js.map +1 -1
- package/lib/module/models/OpenVideoPlayerConfiguration.js +1 -1
- package/lib/module/models/OpenVideoPlayerConfiguration.js.map +1 -1
- package/lib/module/models/Product.js +1 -1
- package/lib/module/models/Product.js.map +1 -1
- package/lib/module/models/ProductInfoViewConfiguration.js +1 -1
- package/lib/module/models/ProductInfoViewConfiguration.js.map +1 -1
- package/lib/module/models/ProductUnit.js +1 -1
- package/lib/module/models/ProductUnit.js.map +1 -1
- package/lib/module/models/PushRNContainerParams.js +1 -1
- package/lib/module/models/PushRNContainerParams.js.map +1 -1
- package/lib/module/models/ReplayBadgeConfiguration.js +1 -1
- package/lib/module/models/ReplayBadgeConfiguration.js.map +1 -1
- package/lib/module/models/SDKInitOptions.js +1 -1
- package/lib/module/models/SDKInitOptions.js.map +1 -1
- package/lib/module/models/ShoppingCTAResult.js +1 -1
- package/lib/module/models/ShoppingCTAResult.js.map +1 -1
- package/lib/module/models/StoryBlockConfiguration.js +2 -0
- package/lib/module/models/StoryBlockConfiguration.js.map +1 -1
- package/lib/module/models/StoryBlockNativeConfiguration.js +1 -1
- package/lib/module/models/StoryBlockNativeConfiguration.js.map +1 -1
- package/lib/module/models/StoryBlockSource.js +1 -1
- package/lib/module/models/StoryBlockSource.js.map +1 -1
- package/lib/module/models/TrackPurchaseParameters.js +1 -1
- package/lib/module/models/TrackPurchaseParameters.js.map +1 -1
- package/lib/module/models/VideoFeedConfiguration.js +1 -1
- package/lib/module/models/VideoFeedConfiguration.js.map +1 -1
- package/lib/module/models/VideoFeedSource.js +1 -1
- package/lib/module/models/VideoFeedSource.js.map +1 -1
- package/lib/module/models/VideoPlaybackDetails.js +1 -1
- package/lib/module/models/VideoPlaybackDetails.js.map +1 -1
- package/lib/module/models/VideoPlaybackEventName.js +40 -4
- package/lib/module/models/VideoPlaybackEventName.js.map +1 -1
- package/lib/module/models/VideoPlayerButtonConfiguration.js +1 -1
- package/lib/module/models/VideoPlayerButtonConfiguration.js.map +1 -1
- package/lib/module/models/VideoPlayerCTADelay.js +1 -1
- package/lib/module/models/VideoPlayerCTADelay.js.map +1 -1
- package/lib/module/models/VideoPlayerCTAStyle.js +2 -0
- package/lib/module/models/VideoPlayerCTAStyle.js.map +1 -1
- package/lib/module/models/VideoPlayerCTAWidth.js +1 -1
- package/lib/module/models/VideoPlayerCTAWidth.js.map +1 -1
- package/lib/module/models/VideoPlayerCompleteAction.js +1 -1
- package/lib/module/models/VideoPlayerCompleteAction.js.map +1 -1
- package/lib/module/models/VideoPlayerConfiguration.js +1 -1
- package/lib/module/models/VideoPlayerConfiguration.js.map +1 -1
- package/lib/module/models/VideoPlayerLivestreamCountdownTimerTheme.js +1 -1
- package/lib/module/models/VideoPlayerLivestreamCountdownTimerTheme.js.map +1 -1
- package/lib/module/models/VideoPlayerLogoConfiguration.js +1 -1
- package/lib/module/models/VideoPlayerLogoConfiguration.js.map +1 -1
- package/lib/module/models/VideoPlayerNativeConfiguration.js +1 -1
- package/lib/module/models/VideoPlayerNativeConfiguration.js.map +1 -1
- package/lib/module/models/VideoPlayerStyle.js +1 -1
- package/lib/module/models/VideoPlayerStyle.js.map +1 -1
- package/lib/module/modules/FWNavigatorModule.js +3 -2
- package/lib/module/modules/FWNavigatorModule.js.map +1 -1
- package/lib/module/modules/FireworkSDKModule.js +3 -2
- package/lib/module/modules/FireworkSDKModule.js.map +1 -1
- package/lib/module/modules/LiveStreamModule.js +3 -2
- package/lib/module/modules/LiveStreamModule.js.map +1 -1
- package/lib/module/modules/ShoppingModule.js +3 -2
- package/lib/module/modules/ShoppingModule.js.map +1 -1
- package/lib/module/package.json +1 -0
- package/lib/module/utils/FWGlobalState.js +3 -17
- package/lib/module/utils/FWGlobalState.js.map +1 -1
- package/lib/module/utils/FWJsonUtil.js +2 -6
- package/lib/module/utils/FWJsonUtil.js.map +1 -1
- package/lib/module/utils/FWLoggerUtil.js +2 -6
- package/lib/module/utils/FWLoggerUtil.js.map +1 -1
- package/lib/module/utils/VideoFeedUtil.js +16 -25
- package/lib/module/utils/VideoFeedUtil.js.map +1 -1
- package/lib/typescript/commonjs/package.json +1 -0
- package/lib/typescript/{FWNavigator.d.ts → commonjs/src/FWNavigator.d.ts} +3 -0
- package/lib/typescript/commonjs/src/FWNavigator.d.ts.map +1 -0
- package/lib/typescript/{FireworkSDK.d.ts → commonjs/src/FireworkSDK.d.ts} +1 -0
- package/lib/typescript/commonjs/src/FireworkSDK.d.ts.map +1 -0
- package/lib/typescript/{LiveStream.d.ts → commonjs/src/LiveStream.d.ts} +1 -0
- package/lib/typescript/commonjs/src/LiveStream.d.ts.map +1 -0
- package/lib/typescript/{VideoShopping.d.ts → commonjs/src/VideoShopping.d.ts} +1 -0
- package/lib/typescript/commonjs/src/VideoShopping.d.ts.map +1 -0
- package/lib/typescript/{components → commonjs/src/components}/FWStoryBlock.d.ts +1 -0
- package/lib/typescript/commonjs/src/components/FWStoryBlock.d.ts.map +1 -0
- package/lib/typescript/{components → commonjs/src/components}/FWVideoFeed.d.ts +1 -0
- package/lib/typescript/commonjs/src/components/FWVideoFeed.d.ts.map +1 -0
- package/lib/typescript/{components → commonjs/src/components}/StoryBlock.d.ts +3 -3
- package/lib/typescript/commonjs/src/components/StoryBlock.d.ts.map +1 -0
- package/lib/typescript/{components → commonjs/src/components}/VideoFeed.d.ts +3 -2
- package/lib/typescript/commonjs/src/components/VideoFeed.d.ts.map +1 -0
- package/lib/typescript/{constants → commonjs/src/constants}/FWErrorMessage.d.ts +1 -0
- package/lib/typescript/commonjs/src/constants/FWErrorMessage.d.ts.map +1 -0
- package/lib/typescript/{index.d.ts → commonjs/src/index.d.ts} +3 -1
- package/lib/typescript/commonjs/src/index.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/AdBadgeConfiguration.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/AdBadgeConfiguration.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/AdConfiguration.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/AdConfiguration.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/AndroidFontInfo.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/AndroidFontInfo.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/ButtonInfo.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/ButtonInfo.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/CountdownTimerConfiguration.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/CountdownTimerConfiguration.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/DataTrackingLevel.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/DataTrackingLevel.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/FWComponentType.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/FWComponentType.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/FWError.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/FWError.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/FWEventName.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/FWEventName.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/FWEvents.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/FWEvents.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/FWNativeErrorAction.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/FWNativeErrorAction.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/FeedItemDetails.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/FeedItemDetails.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/GradientDrawable.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/GradientDrawable.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/IOSFontInfo.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/IOSFontInfo.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/LiveStreamChatEventName.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/LiveStreamChatEventName.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/LiveStreamEventDetails.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/LiveStreamEventDetails.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/LiveStreamEventName.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/LiveStreamEventName.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/LiveStreamMessageDetails.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/LiveStreamMessageDetails.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/LivestreamPlayerDesignVersion.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/LivestreamPlayerDesignVersion.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/MarkInitCalledOptions.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/MarkInitCalledOptions.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/OpenVideoPlayerConfiguration.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/OpenVideoPlayerConfiguration.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/Product.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/Product.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/ProductInfoViewConfiguration.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/ProductInfoViewConfiguration.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/ProductUnit.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/ProductUnit.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/PushRNContainerParams.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/PushRNContainerParams.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/ReplayBadgeConfiguration.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/ReplayBadgeConfiguration.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/SDKInitOptions.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/SDKInitOptions.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/ShoppingCTAResult.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/ShoppingCTAResult.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/StoryBlockConfiguration.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/StoryBlockConfiguration.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/StoryBlockNativeConfiguration.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/StoryBlockNativeConfiguration.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/StoryBlockSource.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/StoryBlockSource.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/TrackPurchaseParameters.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/TrackPurchaseParameters.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/VideoFeedConfiguration.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/VideoFeedConfiguration.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/VideoFeedSource.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/VideoFeedSource.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/VideoPlaybackDetails.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/VideoPlaybackDetails.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/VideoPlaybackEventName.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/VideoPlaybackEventName.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/VideoPlayerButtonConfiguration.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/VideoPlayerButtonConfiguration.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/VideoPlayerCTADelay.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/VideoPlayerCTADelay.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/VideoPlayerCTAStyle.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/VideoPlayerCTAStyle.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/VideoPlayerCTAWidth.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/VideoPlayerCTAWidth.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/VideoPlayerCompleteAction.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/VideoPlayerCompleteAction.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/VideoPlayerConfiguration.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/VideoPlayerConfiguration.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/VideoPlayerLivestreamCountdownTimerTheme.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/VideoPlayerLivestreamCountdownTimerTheme.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/VideoPlayerLogoConfiguration.d.ts +2 -1
- package/lib/typescript/commonjs/src/models/VideoPlayerLogoConfiguration.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/VideoPlayerNativeConfiguration.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/VideoPlayerNativeConfiguration.d.ts.map +1 -0
- package/lib/typescript/{models → commonjs/src/models}/VideoPlayerStyle.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/VideoPlayerStyle.d.ts.map +1 -0
- package/lib/typescript/{modules → commonjs/src/modules}/FWNavigatorModule.d.ts +2 -1
- package/lib/typescript/commonjs/src/modules/FWNavigatorModule.d.ts.map +1 -0
- package/lib/typescript/{modules → commonjs/src/modules}/FireworkSDKModule.d.ts +4 -3
- package/lib/typescript/commonjs/src/modules/FireworkSDKModule.d.ts.map +1 -0
- package/lib/typescript/{modules → commonjs/src/modules}/LiveStreamModule.d.ts +2 -1
- package/lib/typescript/commonjs/src/modules/LiveStreamModule.d.ts.map +1 -0
- package/lib/typescript/{modules → commonjs/src/modules}/ShoppingModule.d.ts +2 -1
- package/lib/typescript/commonjs/src/modules/ShoppingModule.d.ts.map +1 -0
- package/lib/typescript/{utils → commonjs/src/utils}/FWGlobalState.d.ts +2 -1
- package/lib/typescript/commonjs/src/utils/FWGlobalState.d.ts.map +1 -0
- package/lib/typescript/{utils → commonjs/src/utils}/FWJsonUtil.d.ts +1 -0
- package/lib/typescript/commonjs/src/utils/FWJsonUtil.d.ts.map +1 -0
- package/lib/typescript/{utils → commonjs/src/utils}/FWLoggerUtil.d.ts +1 -0
- package/lib/typescript/commonjs/src/utils/FWLoggerUtil.d.ts.map +1 -0
- package/lib/typescript/{utils → commonjs/src/utils}/VideoFeedUtil.d.ts +1 -0
- package/lib/typescript/commonjs/src/utils/VideoFeedUtil.d.ts.map +1 -0
- package/lib/typescript/module/package.json +1 -0
- package/lib/typescript/module/src/FWNavigator.d.ts +59 -0
- package/lib/typescript/module/src/FWNavigator.d.ts.map +1 -0
- package/lib/typescript/module/src/FireworkSDK.d.ts +143 -0
- package/lib/typescript/module/src/FireworkSDK.d.ts.map +1 -0
- package/lib/typescript/module/src/LiveStream.d.ts +22 -0
- package/lib/typescript/module/src/LiveStream.d.ts.map +1 -0
- package/lib/typescript/module/src/VideoShopping.d.ts +94 -0
- package/lib/typescript/module/src/VideoShopping.d.ts.map +1 -0
- package/lib/typescript/module/src/components/FWStoryBlock.d.ts +3 -0
- package/lib/typescript/module/src/components/FWStoryBlock.d.ts.map +1 -0
- package/lib/typescript/module/src/components/FWVideoFeed.d.ts +3 -0
- package/lib/typescript/module/src/components/FWVideoFeed.d.ts.map +1 -0
- package/lib/typescript/module/src/components/StoryBlock.d.ts +116 -0
- package/lib/typescript/module/src/components/StoryBlock.d.ts.map +1 -0
- package/lib/typescript/module/src/components/VideoFeed.d.ts +145 -0
- package/lib/typescript/module/src/components/VideoFeed.d.ts.map +1 -0
- package/lib/typescript/module/src/constants/FWErrorMessage.d.ts +3 -0
- package/lib/typescript/module/src/constants/FWErrorMessage.d.ts.map +1 -0
- package/lib/typescript/module/src/index.d.ts +68 -0
- package/lib/typescript/module/src/index.d.ts.map +1 -0
- package/lib/typescript/module/src/models/AdBadgeConfiguration.d.ts +26 -0
- package/lib/typescript/module/src/models/AdBadgeConfiguration.d.ts.map +1 -0
- package/lib/typescript/module/src/models/AdConfiguration.d.ts +23 -0
- package/lib/typescript/module/src/models/AdConfiguration.d.ts.map +1 -0
- package/lib/typescript/module/src/models/AndroidFontInfo.d.ts +15 -0
- package/lib/typescript/module/src/models/AndroidFontInfo.d.ts.map +1 -0
- package/lib/typescript/module/src/models/ButtonInfo.d.ts +18 -0
- package/lib/typescript/module/src/models/ButtonInfo.d.ts.map +1 -0
- package/lib/typescript/module/src/models/CountdownTimerConfiguration.d.ts +13 -0
- package/lib/typescript/module/src/models/CountdownTimerConfiguration.d.ts.map +1 -0
- package/lib/typescript/module/src/models/DataTrackingLevel.d.ts +2 -0
- package/lib/typescript/module/src/models/DataTrackingLevel.d.ts.map +1 -0
- package/lib/typescript/module/src/models/FWComponentType.d.ts +5 -0
- package/lib/typescript/module/src/models/FWComponentType.d.ts.map +1 -0
- package/lib/typescript/module/src/models/FWError.d.ts +11 -0
- package/lib/typescript/module/src/models/FWError.d.ts.map +1 -0
- package/lib/typescript/module/src/models/FWEventName.d.ts +25 -0
- package/lib/typescript/module/src/models/FWEventName.d.ts.map +1 -0
- package/lib/typescript/module/src/models/FWEvents.d.ts +168 -0
- package/lib/typescript/module/src/models/FWEvents.d.ts.map +1 -0
- package/lib/typescript/module/src/models/FWNativeErrorAction.d.ts +5 -0
- package/lib/typescript/module/src/models/FWNativeErrorAction.d.ts.map +1 -0
- package/lib/typescript/module/src/models/FeedItemDetails.d.ts +59 -0
- package/lib/typescript/module/src/models/FeedItemDetails.d.ts.map +1 -0
- package/lib/typescript/module/src/models/GradientDrawable.d.ts +6 -0
- package/lib/typescript/module/src/models/GradientDrawable.d.ts.map +1 -0
- package/lib/typescript/module/src/models/IOSFontInfo.d.ts +22 -0
- package/lib/typescript/module/src/models/IOSFontInfo.d.ts.map +1 -0
- package/lib/typescript/module/src/models/LiveStreamChatEventName.d.ts +8 -0
- package/lib/typescript/module/src/models/LiveStreamChatEventName.d.ts.map +1 -0
- package/lib/typescript/module/src/models/LiveStreamEventDetails.d.ts +5 -0
- package/lib/typescript/module/src/models/LiveStreamEventDetails.d.ts.map +1 -0
- package/lib/typescript/module/src/models/LiveStreamEventName.d.ts +16 -0
- package/lib/typescript/module/src/models/LiveStreamEventName.d.ts.map +1 -0
- package/lib/typescript/module/src/models/LiveStreamMessageDetails.d.ts +15 -0
- package/lib/typescript/module/src/models/LiveStreamMessageDetails.d.ts.map +1 -0
- package/lib/typescript/module/src/models/LivestreamPlayerDesignVersion.d.ts +6 -0
- package/lib/typescript/module/src/models/LivestreamPlayerDesignVersion.d.ts.map +1 -0
- package/lib/typescript/module/src/models/MarkInitCalledOptions.d.ts +7 -0
- package/lib/typescript/module/src/models/MarkInitCalledOptions.d.ts.map +1 -0
- package/lib/typescript/module/src/models/OpenVideoPlayerConfiguration.d.ts +8 -0
- package/lib/typescript/module/src/models/OpenVideoPlayerConfiguration.d.ts.map +1 -0
- package/lib/typescript/module/src/models/Product.d.ts +24 -0
- package/lib/typescript/module/src/models/Product.d.ts.map +1 -0
- package/lib/typescript/module/src/models/ProductInfoViewConfiguration.d.ts +175 -0
- package/lib/typescript/module/src/models/ProductInfoViewConfiguration.d.ts.map +1 -0
- package/lib/typescript/module/src/models/ProductUnit.d.ts +39 -0
- package/lib/typescript/module/src/models/ProductUnit.d.ts.map +1 -0
- package/lib/typescript/module/src/models/PushRNContainerParams.d.ts +9 -0
- package/lib/typescript/module/src/models/PushRNContainerParams.d.ts.map +1 -0
- package/lib/typescript/module/src/models/ReplayBadgeConfiguration.d.ts +8 -0
- package/lib/typescript/module/src/models/ReplayBadgeConfiguration.d.ts.map +1 -0
- package/lib/typescript/module/src/models/SDKInitOptions.d.ts +12 -0
- package/lib/typescript/module/src/models/SDKInitOptions.d.ts.map +1 -0
- package/lib/typescript/module/src/models/ShoppingCTAResult.d.ts +12 -0
- package/lib/typescript/module/src/models/ShoppingCTAResult.d.ts.map +1 -0
- package/lib/typescript/module/src/models/StoryBlockConfiguration.d.ts +82 -0
- package/lib/typescript/module/src/models/StoryBlockConfiguration.d.ts.map +1 -0
- package/lib/typescript/module/src/models/StoryBlockNativeConfiguration.d.ts +8 -0
- package/lib/typescript/module/src/models/StoryBlockNativeConfiguration.d.ts.map +1 -0
- package/lib/typescript/module/src/models/StoryBlockSource.d.ts +2 -0
- package/lib/typescript/module/src/models/StoryBlockSource.d.ts.map +1 -0
- package/lib/typescript/module/src/models/TrackPurchaseParameters.d.ts +27 -0
- package/lib/typescript/module/src/models/TrackPurchaseParameters.d.ts.map +1 -0
- package/lib/typescript/module/src/models/VideoFeedConfiguration.d.ts +162 -0
- package/lib/typescript/module/src/models/VideoFeedConfiguration.d.ts.map +1 -0
- package/lib/typescript/module/src/models/VideoFeedSource.d.ts +2 -0
- package/lib/typescript/module/src/models/VideoFeedSource.d.ts.map +1 -0
- package/lib/typescript/module/src/models/VideoPlaybackDetails.d.ts +48 -0
- package/lib/typescript/module/src/models/VideoPlaybackDetails.d.ts.map +1 -0
- package/lib/typescript/module/src/models/VideoPlaybackEventName.d.ts +52 -0
- package/lib/typescript/module/src/models/VideoPlaybackEventName.d.ts.map +1 -0
- package/lib/typescript/module/src/models/VideoPlayerButtonConfiguration.d.ts +34 -0
- package/lib/typescript/module/src/models/VideoPlayerButtonConfiguration.d.ts.map +1 -0
- package/lib/typescript/module/src/models/VideoPlayerCTADelay.d.ts +12 -0
- package/lib/typescript/module/src/models/VideoPlayerCTADelay.d.ts.map +1 -0
- package/lib/typescript/module/src/models/VideoPlayerCTAStyle.d.ts +28 -0
- package/lib/typescript/module/src/models/VideoPlayerCTAStyle.d.ts.map +1 -0
- package/lib/typescript/module/src/models/VideoPlayerCTAWidth.d.ts +2 -0
- package/lib/typescript/module/src/models/VideoPlayerCTAWidth.d.ts.map +1 -0
- package/lib/typescript/module/src/models/VideoPlayerCompleteAction.d.ts +2 -0
- package/lib/typescript/module/src/models/VideoPlayerCompleteAction.d.ts.map +1 -0
- package/lib/typescript/module/src/models/VideoPlayerConfiguration.d.ts +87 -0
- package/lib/typescript/module/src/models/VideoPlayerConfiguration.d.ts.map +1 -0
- package/lib/typescript/module/src/models/VideoPlayerLivestreamCountdownTimerTheme.d.ts +2 -0
- package/lib/typescript/module/src/models/VideoPlayerLivestreamCountdownTimerTheme.d.ts.map +1 -0
- package/lib/typescript/module/src/models/VideoPlayerLogoConfiguration.d.ts +22 -0
- package/lib/typescript/module/src/models/VideoPlayerLogoConfiguration.d.ts.map +1 -0
- package/lib/typescript/module/src/models/VideoPlayerNativeConfiguration.d.ts +8 -0
- package/lib/typescript/module/src/models/VideoPlayerNativeConfiguration.d.ts.map +1 -0
- package/lib/typescript/module/src/models/VideoPlayerStyle.d.ts +2 -0
- package/lib/typescript/module/src/models/VideoPlayerStyle.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/FWNavigatorModule.d.ts +17 -0
- package/lib/typescript/module/src/modules/FWNavigatorModule.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/FireworkSDKModule.d.ts +28 -0
- package/lib/typescript/module/src/modules/FireworkSDKModule.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/LiveStreamModule.d.ts +9 -0
- package/lib/typescript/module/src/modules/LiveStreamModule.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/ShoppingModule.d.ts +22 -0
- package/lib/typescript/module/src/modules/ShoppingModule.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/FWGlobalState.d.ts +13 -0
- package/lib/typescript/module/src/utils/FWGlobalState.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/FWJsonUtil.d.ts +3 -0
- package/lib/typescript/module/src/utils/FWJsonUtil.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/FWLoggerUtil.d.ts +7 -0
- package/lib/typescript/module/src/utils/FWLoggerUtil.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/VideoFeedUtil.d.ts +11 -0
- package/lib/typescript/module/src/utils/VideoFeedUtil.d.ts.map +1 -0
- package/package.json +71 -55
- package/react_native_firework_sdk.podspec +35 -0
- package/src/FWNavigator.ts +2 -0
- package/src/components/StoryBlock.tsx +45 -48
- package/src/components/VideoFeed.tsx +7 -6
- package/src/{index.ts → index.tsx} +14 -12
- package/src/models/VideoPlayerLogoConfiguration.ts +7 -7
- package/src/modules/FWNavigatorModule.ts +5 -1
- package/src/modules/FireworkSDKModule.ts +7 -3
- package/src/modules/LiveStreamModule.ts +5 -1
- package/src/modules/ShoppingModule.ts +5 -1
- package/src/utils/FWGlobalState.ts +1 -1
- package/android/.idea/codeStyles/Project.xml +0 -124
- package/android/.idea/codeStyles/codeStyleConfig.xml +0 -5
- package/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/android/gradle/wrapper/gradle-wrapper.properties +0 -5
- package/android/gradlew +0 -185
- package/android/gradlew.bat +0 -89
- package/ios/FireworkSdk.xcodeproj/project.pbxproj +0 -603
- package/ios/Modules/FWNavigatorModule/RNSScreenStackView+Window.h +0 -20
- package/ios/Modules/FWNavigatorModule/RNSScreenStackView+Window.m +0 -84
- package/ios/Support/MultiHostStreaming/FWMultiHostStreaming.podspec +0 -22
- package/ios/Support/MultiHostStreaming/Sources/MultiHostStreamingSDK.swift +0 -17
- package/react-native-firework-sdk.podspec +0 -38
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export interface ProductPrice {
|
|
2
|
+
amount: number;
|
|
3
|
+
currencyCode: string;
|
|
4
|
+
}
|
|
5
|
+
export interface ProductUnitOption {
|
|
6
|
+
name: string;
|
|
7
|
+
value: string;
|
|
8
|
+
}
|
|
9
|
+
export default interface ProductUnit {
|
|
10
|
+
/**
|
|
11
|
+
* The unique identifier of the product unit.
|
|
12
|
+
*/
|
|
13
|
+
unitId: string;
|
|
14
|
+
/**
|
|
15
|
+
* The name of the product unit.
|
|
16
|
+
*/
|
|
17
|
+
name?: string | null;
|
|
18
|
+
/**
|
|
19
|
+
* The url of the product unit.
|
|
20
|
+
*/
|
|
21
|
+
url?: string;
|
|
22
|
+
/**
|
|
23
|
+
* The image url of the product unit.
|
|
24
|
+
*/
|
|
25
|
+
imageUrl?: string;
|
|
26
|
+
/**
|
|
27
|
+
* The price of the product unit.
|
|
28
|
+
*/
|
|
29
|
+
price?: ProductPrice;
|
|
30
|
+
/**
|
|
31
|
+
* The availability of the product unit.
|
|
32
|
+
*/
|
|
33
|
+
isAvailable?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* The options of the product unit.
|
|
36
|
+
*/
|
|
37
|
+
options?: ProductUnitOption[];
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=ProductUnit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProductUnit.d.ts","sourceRoot":"","sources":["../../../../../src/models/ProductUnit.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,CAAC,OAAO,WAAW,WAAW;IAClC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,KAAK,CAAC,EAAE,YAAY,CAAC;IACrB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,OAAO,CAAC,EAAE,iBAAiB,EAAE,CAAC;CAC/B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PushRNContainerParams.d.ts","sourceRoot":"","sources":["../../../../../src/models/PushRNContainerParams.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,aAAa,CAAC,EAAE,GAAG,CAAC;CACrB;AAED,MAAM,CAAC,OAAO,WAAW,qBAAqB;IAC5C,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,UAAU,CAAC;CACvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReplayBadgeConfiguration.d.ts","sourceRoot":"","sources":["../../../../../src/models/ReplayBadgeConfiguration.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,wBAAwB;IACvC;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type VideoLaunchBehavior = 'default' | 'muteOnFirstLaunch';
|
|
2
|
+
export default interface SDKInitOptions {
|
|
3
|
+
/**
|
|
4
|
+
* Custom value to identify the current user.
|
|
5
|
+
*/
|
|
6
|
+
userId?: string;
|
|
7
|
+
/**
|
|
8
|
+
* Behavior occurring after video is launched.
|
|
9
|
+
*/
|
|
10
|
+
videoLaunchBehavior?: VideoLaunchBehavior;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=SDKInitOptions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SDKInitOptions.d.ts","sourceRoot":"","sources":["../../../../../src/models/SDKInitOptions.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,mBAAmB,CAAC;AAElE,MAAM,CAAC,OAAO,WAAW,cAAc;IACrC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;CAC3C"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export default interface ShoppingCTAResult {
|
|
2
|
+
/**
|
|
3
|
+
* The result of shopping CTA button.
|
|
4
|
+
*/
|
|
5
|
+
res: 'success' | 'fail';
|
|
6
|
+
/**
|
|
7
|
+
* We will show a toast to display the tips.
|
|
8
|
+
* If the property is undefined or empty string, we don't show a toast.
|
|
9
|
+
*/
|
|
10
|
+
tips?: string;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=ShoppingCTAResult.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ShoppingCTAResult.d.ts","sourceRoot":"","sources":["../../../../../src/models/ShoppingCTAResult.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,WAAW,iBAAiB;IACxC;;OAEG;IACH,GAAG,EAAE,SAAS,GAAG,MAAM,CAAC;IACxB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import type CountdownTimerConfiguration from './CountdownTimerConfiguration';
|
|
2
|
+
import type { ReplayBadgeConfiguration } from './ReplayBadgeConfiguration';
|
|
3
|
+
import type VideoPlayerButtonConfiguration from './VideoPlayerButtonConfiguration';
|
|
4
|
+
import type { VideoPlayerCTADelay } from './VideoPlayerCTADelay';
|
|
5
|
+
import type { VideoPlayerCTAStyle } from './VideoPlayerCTAStyle';
|
|
6
|
+
import type { VideoPlayerCTAWidth } from './VideoPlayerCTAWidth';
|
|
7
|
+
import type { VideoPlayerCompleteAction } from './VideoPlayerCompleteAction';
|
|
8
|
+
import type { VideoPlayerLogoConfiguration } from './VideoPlayerLogoConfiguration';
|
|
9
|
+
import type { VideoPlayerStyle } from './VideoPlayerStyle';
|
|
10
|
+
export interface StoryBlockConfiguration {
|
|
11
|
+
/**
|
|
12
|
+
* Sets the proportion of the video player to its container.
|
|
13
|
+
*/
|
|
14
|
+
playerStyle?: VideoPlayerStyle;
|
|
15
|
+
/**
|
|
16
|
+
* Behavior occurring after video is complete.
|
|
17
|
+
* On iOS, the property only applies to full screen mode but not to embedded mode.
|
|
18
|
+
* On Android, the property applies to both full screen and embedded modes.
|
|
19
|
+
*/
|
|
20
|
+
videoCompleteAction?: VideoPlayerCompleteAction;
|
|
21
|
+
/**
|
|
22
|
+
* Indicates if the video player shows share button.
|
|
23
|
+
*/
|
|
24
|
+
showShareButton?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* The style of CTA button style.
|
|
27
|
+
* On iOS, the property only applies to full-screen story block but not to compact story block.
|
|
28
|
+
* Only supported on iOS.
|
|
29
|
+
*/
|
|
30
|
+
ctaButtonStyle?: VideoPlayerCTAStyle;
|
|
31
|
+
/**
|
|
32
|
+
* Indicates if the video player shows playback button.
|
|
33
|
+
*/
|
|
34
|
+
showPlaybackButton?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Indicates if the video player shows mute button.
|
|
37
|
+
*/
|
|
38
|
+
showMuteButton?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Indicates if Firework branding should be showed or not.
|
|
41
|
+
*/
|
|
42
|
+
showBranding?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Specifies the delay before showing the CTA.
|
|
45
|
+
*/
|
|
46
|
+
ctaDelay?: VideoPlayerCTADelay;
|
|
47
|
+
/**
|
|
48
|
+
* Specifies the delay before the highlight animation occurs.
|
|
49
|
+
*/
|
|
50
|
+
ctaHighlightDelay?: VideoPlayerCTADelay;
|
|
51
|
+
/**
|
|
52
|
+
* The share base URL of the video.
|
|
53
|
+
*/
|
|
54
|
+
shareBaseURL?: string;
|
|
55
|
+
/**
|
|
56
|
+
* Specifies the desired width for the Video Player CTA button.
|
|
57
|
+
*/
|
|
58
|
+
ctaWidth?: VideoPlayerCTAWidth;
|
|
59
|
+
/**
|
|
60
|
+
* The host app could use this property to customize the button images of the video player.
|
|
61
|
+
*/
|
|
62
|
+
buttonConfiguration?: VideoPlayerButtonConfiguration;
|
|
63
|
+
/**
|
|
64
|
+
* Specifies if the title should be shown.
|
|
65
|
+
*/
|
|
66
|
+
showVideoDetailTitle?: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* Specifies the logo configuration
|
|
69
|
+
* Defaults to { option: 'disabled' }
|
|
70
|
+
*/
|
|
71
|
+
videoPlayerLogoConfiguration?: VideoPlayerLogoConfiguration;
|
|
72
|
+
/**
|
|
73
|
+
* The configuration of replay badge.
|
|
74
|
+
* Only supported on iOS.
|
|
75
|
+
*/
|
|
76
|
+
replayBadgeConfiguration?: ReplayBadgeConfiguration;
|
|
77
|
+
/**
|
|
78
|
+
* Specifies countdown timer configuration.
|
|
79
|
+
*/
|
|
80
|
+
countdownTimerConfiguration?: CountdownTimerConfiguration;
|
|
81
|
+
}
|
|
82
|
+
//# sourceMappingURL=StoryBlockConfiguration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StoryBlockConfiguration.d.ts","sourceRoot":"","sources":["../../../../../src/models/StoryBlockConfiguration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,2BAA2B,MAAM,+BAA+B,CAAC;AAC7E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAC3E,OAAO,KAAK,8BAA8B,MAAM,kCAAkC,CAAC;AACnF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAC7E,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AACnF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAE3D,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,WAAW,CAAC,EAAE,gBAAgB,CAAC;IAC/B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,yBAAyB,CAAC;IAChD;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;;;OAIG;IACH,cAAc,CAAC,EAAE,mBAAmB,CAAC;IACrC;;OAEG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;OAEG;IACH,QAAQ,CAAC,EAAE,mBAAmB,CAAC;IAC/B;;OAEG;IACH,iBAAiB,CAAC,EAAE,mBAAmB,CAAC;IACxC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,EAAE,mBAAmB,CAAC;IAC/B;;OAEG;IACH,mBAAmB,CAAC,EAAE,8BAA8B,CAAC;IACrD;;OAEG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B;;;OAGG;IACH,4BAA4B,CAAC,EAAE,4BAA4B,CAAC;IAC5D;;;OAGG;IACH,wBAAwB,CAAC,EAAE,wBAAwB,CAAC;IACpD;;OAEG;IACH,2BAA2B,CAAC,EAAE,2BAA2B,CAAC;CAC3D"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { StoryBlockConfiguration } from './StoryBlockConfiguration';
|
|
2
|
+
export default interface StoryBlockNativeConfiguration extends StoryBlockConfiguration {
|
|
3
|
+
/**
|
|
4
|
+
* Specifies if Picture in Picture is enabled.
|
|
5
|
+
*/
|
|
6
|
+
enablePictureInPicture?: boolean;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=StoryBlockNativeConfiguration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StoryBlockNativeConfiguration.d.ts","sourceRoot":"","sources":["../../../../../src/models/StoryBlockNativeConfiguration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAEzE,MAAM,CAAC,OAAO,WAAW,6BACvB,SAAQ,uBAAuB;IAC/B;;OAEG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;CAClC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StoryBlockSource.d.ts","sourceRoot":"","sources":["../../../../../src/models/StoryBlockSource.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GACxB,UAAU,GACV,SAAS,GACT,UAAU,GACV,gBAAgB,GAChB,iBAAiB,GACjB,KAAK,GACL,eAAe,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export default interface TrackPurchaseParameters {
|
|
2
|
+
/**
|
|
3
|
+
* A unique identifier for the user's order.
|
|
4
|
+
*/
|
|
5
|
+
orderId: string;
|
|
6
|
+
/**
|
|
7
|
+
* The value of the order.
|
|
8
|
+
*/
|
|
9
|
+
value?: number;
|
|
10
|
+
/**
|
|
11
|
+
* The currency code of the purchase value.
|
|
12
|
+
*/
|
|
13
|
+
currencyCode?: string;
|
|
14
|
+
/**
|
|
15
|
+
* The country code of the purchase.
|
|
16
|
+
*/
|
|
17
|
+
countryCode?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Any additional information associated to the purchase.
|
|
20
|
+
* Reserved keys: order_id, value, currency, country.
|
|
21
|
+
* Any values passed in the additionalInfo that use a reserved key will be ignored.
|
|
22
|
+
*/
|
|
23
|
+
additionalInfo?: {
|
|
24
|
+
[key: string]: string;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=TrackPurchaseParameters.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TrackPurchaseParameters.d.ts","sourceRoot":"","sources":["../../../../../src/models/TrackPurchaseParameters.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,WAAW,uBAAuB;IAC9C;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,cAAc,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;CAC5C"}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import type IOSFontInfo from './IOSFontInfo';
|
|
2
|
+
import type AndroidFontInfo from './AndroidFontInfo';
|
|
3
|
+
import type GradientDrawable from './GradientDrawable';
|
|
4
|
+
import type { ReplayBadgeConfiguration } from './ReplayBadgeConfiguration';
|
|
5
|
+
export interface VideoFeedTitleConfiguration {
|
|
6
|
+
/**
|
|
7
|
+
* Specifies if the video feed title is hidden.
|
|
8
|
+
* Defaults to false.
|
|
9
|
+
*/
|
|
10
|
+
hidden?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* The text color of video feed title.
|
|
13
|
+
* If you don't set this property, the text color will be white with alpha is 0.98 on iOS and #ffffff on Android.
|
|
14
|
+
*/
|
|
15
|
+
textColor?: string;
|
|
16
|
+
/**
|
|
17
|
+
* The font size of video feed title.
|
|
18
|
+
* If you don't set this property, the font size will be 12 on iOS and 14sp on Android.
|
|
19
|
+
*/
|
|
20
|
+
fontSize?: number;
|
|
21
|
+
/**
|
|
22
|
+
* Specifies the number of allowed lines for the label.
|
|
23
|
+
* Defaults to 2.
|
|
24
|
+
*/
|
|
25
|
+
numberOfLines?: number;
|
|
26
|
+
/**
|
|
27
|
+
* The iOS font info of video feed title.
|
|
28
|
+
* The property is ignored when fontSize is not set.
|
|
29
|
+
* Only supported on iOS.
|
|
30
|
+
*/
|
|
31
|
+
iOSFontInfo?: IOSFontInfo;
|
|
32
|
+
/**
|
|
33
|
+
* The Android font info of "VideoFeedTitle".
|
|
34
|
+
* The property is ignored when fontSize is not set.
|
|
35
|
+
* Only supported on Android.
|
|
36
|
+
*/
|
|
37
|
+
androidFontInfo?: AndroidFontInfo;
|
|
38
|
+
/**
|
|
39
|
+
* The background color of video feed title.
|
|
40
|
+
* The property is ignored when gradientDrawable is set.
|
|
41
|
+
* Only supported on Android.
|
|
42
|
+
*/
|
|
43
|
+
backgroundColor?: string;
|
|
44
|
+
/**
|
|
45
|
+
* The background drawable of video feed title.
|
|
46
|
+
* Only supported on Android.
|
|
47
|
+
*/
|
|
48
|
+
gradientDrawable?: GradientDrawable;
|
|
49
|
+
}
|
|
50
|
+
export interface VideoFeedPlayIconConfiguration {
|
|
51
|
+
/**
|
|
52
|
+
* Specifies if the play icon is hidden.
|
|
53
|
+
* Defaults to false.
|
|
54
|
+
*/
|
|
55
|
+
hidden?: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* The width of play icon.
|
|
58
|
+
* If you don't set this property, the icon width will be 40 on iOS and 36dp on Android.
|
|
59
|
+
*/
|
|
60
|
+
iconWidth?: number;
|
|
61
|
+
}
|
|
62
|
+
export type VideoFeedTitlePosition = 'stacked' | 'nested';
|
|
63
|
+
export interface VideoFeedPadding {
|
|
64
|
+
top?: number;
|
|
65
|
+
right?: number;
|
|
66
|
+
bottom?: number;
|
|
67
|
+
left?: number;
|
|
68
|
+
}
|
|
69
|
+
export interface VideoFeedShadowConfiguration {
|
|
70
|
+
/**
|
|
71
|
+
* The opacity of shadow.
|
|
72
|
+
*/
|
|
73
|
+
opacity?: number;
|
|
74
|
+
/**
|
|
75
|
+
* The color of shadow.
|
|
76
|
+
*/
|
|
77
|
+
color?: string;
|
|
78
|
+
/**
|
|
79
|
+
* The width of shadow.
|
|
80
|
+
*/
|
|
81
|
+
width?: number;
|
|
82
|
+
/**
|
|
83
|
+
* The height of shadow.
|
|
84
|
+
*/
|
|
85
|
+
height?: number;
|
|
86
|
+
}
|
|
87
|
+
export default interface VideoFeedConfiguration {
|
|
88
|
+
/**
|
|
89
|
+
* Background color of video feed, such as #c0c0c0.
|
|
90
|
+
* If you don't set this property, the background will be transparent.
|
|
91
|
+
*/
|
|
92
|
+
backgroundColor?: string;
|
|
93
|
+
/**
|
|
94
|
+
* Corner radius of video feed item.
|
|
95
|
+
* Defaults to 10 on iOS. Defaults to 0 on Android.
|
|
96
|
+
*/
|
|
97
|
+
cornerRadius?: number;
|
|
98
|
+
/**
|
|
99
|
+
* Configuration of video feed item title.
|
|
100
|
+
*/
|
|
101
|
+
title?: VideoFeedTitleConfiguration;
|
|
102
|
+
/**
|
|
103
|
+
* Title position of video feed item.
|
|
104
|
+
* Defaults to nested.
|
|
105
|
+
*/
|
|
106
|
+
titlePosition?: VideoFeedTitlePosition;
|
|
107
|
+
/**
|
|
108
|
+
* The padding of video feed title.
|
|
109
|
+
* Defaults to { top: 8, right: 8, bottom: 8, left: 8 }.
|
|
110
|
+
* Only supported on iOS.
|
|
111
|
+
*/
|
|
112
|
+
titlePadding?: VideoFeedPadding;
|
|
113
|
+
/**
|
|
114
|
+
* Configuration of video feed item play icon.
|
|
115
|
+
*/
|
|
116
|
+
playIcon?: VideoFeedPlayIconConfiguration;
|
|
117
|
+
/**
|
|
118
|
+
* Indicates if the video feed item shows ad badge.
|
|
119
|
+
* Defaults to false.
|
|
120
|
+
*/
|
|
121
|
+
showAdBadge?: boolean;
|
|
122
|
+
/**
|
|
123
|
+
* The aspect ratio(width / height) for video feed item.
|
|
124
|
+
* Defaults to 4 / 6.
|
|
125
|
+
* Only supported on iOS.
|
|
126
|
+
*/
|
|
127
|
+
aspectRatio?: number;
|
|
128
|
+
/**
|
|
129
|
+
* The padding of video feed content.
|
|
130
|
+
* Defaults to { top: 10, right: 10, bottom: 10, left: 10 }.
|
|
131
|
+
* Only supported on iOS.
|
|
132
|
+
*/
|
|
133
|
+
contentPadding?: VideoFeedPadding;
|
|
134
|
+
/**
|
|
135
|
+
* The item spacing for video feed.
|
|
136
|
+
* If you don't set this property, the item spacing will be 10 on iOS and 4px on Android.
|
|
137
|
+
*/
|
|
138
|
+
itemSpacing?: number;
|
|
139
|
+
/**
|
|
140
|
+
* Specifies if autoplay is enabled.
|
|
141
|
+
* Defaults to false.
|
|
142
|
+
*/
|
|
143
|
+
enableAutoplay?: boolean;
|
|
144
|
+
/**
|
|
145
|
+
* The number of feed items to be displayed per row.
|
|
146
|
+
* The property only takes effect when video feed mode is grid.
|
|
147
|
+
* The property value needs to be an integer and greater than 0.
|
|
148
|
+
* Defaults to 2.
|
|
149
|
+
*/
|
|
150
|
+
gridColumns?: number;
|
|
151
|
+
/**
|
|
152
|
+
* The configuration of replay badge.
|
|
153
|
+
* Only supported on iOS.
|
|
154
|
+
*/
|
|
155
|
+
replayBadge?: ReplayBadgeConfiguration;
|
|
156
|
+
/**
|
|
157
|
+
* The shadow configuration of video feed item.
|
|
158
|
+
* Only supported on iOS.
|
|
159
|
+
*/
|
|
160
|
+
shadow?: VideoFeedShadowConfiguration;
|
|
161
|
+
}
|
|
162
|
+
//# sourceMappingURL=VideoFeedConfiguration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VideoFeedConfiguration.d.ts","sourceRoot":"","sources":["../../../../../src/models/VideoFeedConfiguration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,WAAW,MAAM,eAAe,CAAC;AAC7C,OAAO,KAAK,eAAe,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,gBAAgB,MAAM,oBAAoB,CAAC;AACvD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAE3E,MAAM,WAAW,2BAA2B;IAC1C;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B;;;;OAIG;IACH,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACrC;AAED,MAAM,WAAW,8BAA8B;IAC7C;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,MAAM,sBAAsB,GAAG,SAAS,GAAG,QAAQ,CAAC;AAE1D,MAAM,WAAW,gBAAgB;IAC/B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,sBAAsB;IAC7C;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,KAAK,CAAC,EAAE,2BAA2B,CAAC;IACpC;;;OAGG;IACH,aAAa,CAAC,EAAE,sBAAsB,CAAC;IACvC;;;;OAIG;IACH,YAAY,CAAC,EAAE,gBAAgB,CAAC;IAChC;;OAEG;IACH,QAAQ,CAAC,EAAE,8BAA8B,CAAC;IAC1C;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,cAAc,CAAC,EAAE,gBAAgB,CAAC;IAClC;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;;;;OAKG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,WAAW,CAAC,EAAE,wBAAwB,CAAC;IACvC;;;OAGG;IACH,MAAM,CAAC,EAAE,4BAA4B,CAAC;CACvC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VideoFeedSource.d.ts","sourceRoot":"","sources":["../../../../../src/models/VideoFeedSource.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GACvB,UAAU,GACV,SAAS,GACT,UAAU,GACV,eAAe,GACf,gBAAgB,GAChB,iBAAiB,GACjB,KAAK,GACL,eAAe,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
export interface VideoPlayerSize {
|
|
2
|
+
width: number;
|
|
3
|
+
height: number;
|
|
4
|
+
}
|
|
5
|
+
export default interface VideoPlaybackDetails {
|
|
6
|
+
/**
|
|
7
|
+
* A unique identifier of the video.
|
|
8
|
+
*/
|
|
9
|
+
videoId: string;
|
|
10
|
+
/**
|
|
11
|
+
* The total duration of the video.
|
|
12
|
+
*/
|
|
13
|
+
duration?: number | null;
|
|
14
|
+
/**
|
|
15
|
+
* The caption for the video.
|
|
16
|
+
*/
|
|
17
|
+
caption?: string | null;
|
|
18
|
+
/**
|
|
19
|
+
* Video badge type.
|
|
20
|
+
*/
|
|
21
|
+
badge?: string | null;
|
|
22
|
+
/**
|
|
23
|
+
* The size of the player.
|
|
24
|
+
*/
|
|
25
|
+
playerSize?: VideoPlayerSize | null;
|
|
26
|
+
/**
|
|
27
|
+
* Indicates if the video is associated with a call-to-action (CTA).
|
|
28
|
+
*/
|
|
29
|
+
hasCTA?: boolean | null;
|
|
30
|
+
/**
|
|
31
|
+
* The amount of time the video was playing at the time of the event.
|
|
32
|
+
*/
|
|
33
|
+
progress?: number | null;
|
|
34
|
+
/**
|
|
35
|
+
* The type of the CTA button clicked: "buy" "download" "view" "book".
|
|
36
|
+
* Only supported on iOS.
|
|
37
|
+
*/
|
|
38
|
+
ctaActionType?: string | null;
|
|
39
|
+
/**
|
|
40
|
+
* The url of the CTA button clicked.
|
|
41
|
+
*/
|
|
42
|
+
ctaActionURL?: string | null;
|
|
43
|
+
/**
|
|
44
|
+
* The associated feed ID
|
|
45
|
+
*/
|
|
46
|
+
feedId?: string | null;
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=VideoPlaybackDetails.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VideoPlaybackDetails.d.ts","sourceRoot":"","sources":["../../../../../src/models/VideoPlaybackDetails.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,CAAC,OAAO,WAAW,oBAAoB;IAC3C;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB;;OAEG;IACH,UAAU,CAAC,EAAE,eAAe,GAAG,IAAI,CAAC;IACpC;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IACxB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
declare enum VideoPlaybackEventName {
|
|
2
|
+
/**
|
|
3
|
+
* When video is shown to the user.
|
|
4
|
+
*/
|
|
5
|
+
Impression = "fw:video:impression",
|
|
6
|
+
/**
|
|
7
|
+
* Video started.
|
|
8
|
+
*/
|
|
9
|
+
Start = "fw:video:start",
|
|
10
|
+
/**
|
|
11
|
+
* Video paused.
|
|
12
|
+
*/
|
|
13
|
+
Pause = "fw:video:pause",
|
|
14
|
+
/**
|
|
15
|
+
* Video resume.
|
|
16
|
+
*/
|
|
17
|
+
Resume = "fw:video:resume",
|
|
18
|
+
/**
|
|
19
|
+
* Video reached 25%.
|
|
20
|
+
*/
|
|
21
|
+
FirstQuartile = "fw:video:first-quartile",
|
|
22
|
+
/**
|
|
23
|
+
* Video reached 50%.
|
|
24
|
+
*/
|
|
25
|
+
Midpoint = "fw:video:midpoint",
|
|
26
|
+
/**
|
|
27
|
+
* Video reached 75%.
|
|
28
|
+
*/
|
|
29
|
+
ThirdQuartile = "fw:video:third-quartile",
|
|
30
|
+
/**
|
|
31
|
+
* Video reached 100%.
|
|
32
|
+
*/
|
|
33
|
+
Complete = "fw:video:complete",
|
|
34
|
+
/**
|
|
35
|
+
* Ad video started playing.
|
|
36
|
+
*/
|
|
37
|
+
AdStart = "fw:video:ad-start",
|
|
38
|
+
/**
|
|
39
|
+
* Ad video completed playing.
|
|
40
|
+
*/
|
|
41
|
+
AdEnd = "fw:video:ad-end",
|
|
42
|
+
/**
|
|
43
|
+
* When a visitor clicks on CTA button (if available).
|
|
44
|
+
*/
|
|
45
|
+
ClickCTA = "fw:video:click-cta",
|
|
46
|
+
/**
|
|
47
|
+
* When user clicks on "Share" button.
|
|
48
|
+
*/
|
|
49
|
+
ClickShare = "fw:video:click-share"
|
|
50
|
+
}
|
|
51
|
+
export default VideoPlaybackEventName;
|
|
52
|
+
//# sourceMappingURL=VideoPlaybackEventName.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VideoPlaybackEventName.d.ts","sourceRoot":"","sources":["../../../../../src/models/VideoPlaybackEventName.ts"],"names":[],"mappings":"AAAA,aAAK,sBAAsB;IACzB;;OAEG;IACH,UAAU,wBAAwB;IAClC;;OAEG;IACH,KAAK,mBAAmB;IACxB;;OAEG;IACH,KAAK,mBAAmB;IACxB;;OAEG;IACH,MAAM,oBAAoB;IAC1B;;OAEG;IACH,aAAa,4BAA4B;IACzC;;OAEG;IACH,QAAQ,sBAAsB;IAC9B;;OAEG;IACH,aAAa,4BAA4B;IACzC;;OAEG;IACH,QAAQ,sBAAsB;IAC9B;;OAEG;IACH,OAAO,sBAAsB;IAC7B;;OAEG;IACH,KAAK,oBAAoB;IACzB;;OAEG;IACH,QAAQ,uBAAuB;IAC/B;;OAEG;IACH,UAAU,yBAAyB;CACpC;AAED,eAAe,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type ButtonInfo from './ButtonInfo';
|
|
2
|
+
export default interface VideoPlayerButtonConfiguration {
|
|
3
|
+
/**
|
|
4
|
+
* Specifies the video detail button info.
|
|
5
|
+
* Image will be drawn in a 40pt x 40pt frame.
|
|
6
|
+
*/
|
|
7
|
+
videoDetailButton?: ButtonInfo;
|
|
8
|
+
/**
|
|
9
|
+
* Specifies the close button info.
|
|
10
|
+
* Image will be drawn in a 40pt x 40pt frame.
|
|
11
|
+
*/
|
|
12
|
+
closeButton?: ButtonInfo;
|
|
13
|
+
/**
|
|
14
|
+
* Specifies the mute button info.
|
|
15
|
+
* Image will be drawn in a 40pt x 40pt frame.
|
|
16
|
+
*/
|
|
17
|
+
muteButton?: ButtonInfo;
|
|
18
|
+
/**
|
|
19
|
+
* Specifies the unmute button info.
|
|
20
|
+
* Image will be drawn in a 40pt x 40pt frame.
|
|
21
|
+
*/
|
|
22
|
+
unmuteButton?: ButtonInfo;
|
|
23
|
+
/**
|
|
24
|
+
* Specifies the play info.
|
|
25
|
+
* Image will be drawn at the center of the player view.
|
|
26
|
+
*/
|
|
27
|
+
playButton?: ButtonInfo;
|
|
28
|
+
/**
|
|
29
|
+
* Specifies the pause info.
|
|
30
|
+
* Image will be drawn at the center of the player view.
|
|
31
|
+
*/
|
|
32
|
+
pauseButton?: ButtonInfo;
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=VideoPlayerButtonConfiguration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VideoPlayerButtonConfiguration.d.ts","sourceRoot":"","sources":["../../../../../src/models/VideoPlayerButtonConfiguration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAE3C,MAAM,CAAC,OAAO,WAAW,8BAA8B;IACrD;;;OAGG;IACH,iBAAiB,CAAC,EAAE,UAAU,CAAC;IAC/B;;;OAGG;IACH,WAAW,CAAC,EAAE,UAAU,CAAC;IACzB;;;OAGG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB;;;OAGG;IACH,YAAY,CAAC,EAAE,UAAU,CAAC;IAC1B;;;OAGG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB;;;OAGG;IACH,WAAW,CAAC,EAAE,UAAU,CAAC;CAC1B"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type VideoPlayerCTADelayType = 'constant' | 'percentage';
|
|
2
|
+
export interface VideoPlayerCTADelay {
|
|
3
|
+
type: VideoPlayerCTADelayType;
|
|
4
|
+
/**
|
|
5
|
+
* If type is constant, the value is the number of seconds of delay.
|
|
6
|
+
* Value should be greater than or equal to 0 and less than or equal to 10 when type is constant.
|
|
7
|
+
* If type is percentage, the value is a percentage based on the the total duration of the video length.
|
|
8
|
+
* Value must be greater than or equal to 0 and less than 1 when type is percentage.
|
|
9
|
+
*/
|
|
10
|
+
value: number;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=VideoPlayerCTADelay.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VideoPlayerCTADelay.d.ts","sourceRoot":"","sources":["../../../../../src/models/VideoPlayerCTADelay.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,uBAAuB,GAAG,UAAU,GAAG,YAAY,CAAC;AAChE,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,uBAAuB,CAAC;IAC9B;;;;;OAKG;IACH,KAAK,EAAE,MAAM,CAAC;CACf"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type IOSFontInfo from './IOSFontInfo';
|
|
2
|
+
/**
|
|
3
|
+
* Only supported on iOS.
|
|
4
|
+
*/
|
|
5
|
+
export interface VideoPlayerCTAStyle {
|
|
6
|
+
/**
|
|
7
|
+
* The background color of CTA button.
|
|
8
|
+
* Defaults to #3A86FF.
|
|
9
|
+
*/
|
|
10
|
+
backgroundColor?: string;
|
|
11
|
+
/**
|
|
12
|
+
* The text color of CTA button.
|
|
13
|
+
* Defaults to #FFFFFF.
|
|
14
|
+
*/
|
|
15
|
+
textColor?: string;
|
|
16
|
+
/**
|
|
17
|
+
* The font size of CTA button.
|
|
18
|
+
* Defaults to 14.
|
|
19
|
+
*/
|
|
20
|
+
fontSize?: number;
|
|
21
|
+
/**
|
|
22
|
+
* The iOS font info of CTA button.
|
|
23
|
+
* The property is ignored when fontSize is not set.
|
|
24
|
+
* Only supported on iOS.
|
|
25
|
+
*/
|
|
26
|
+
iOSFontInfo?: IOSFontInfo;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=VideoPlayerCTAStyle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VideoPlayerCTAStyle.d.ts","sourceRoot":"","sources":["../../../../../src/models/VideoPlayerCTAStyle.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,WAAW,MAAM,eAAe,CAAC;AAE7C;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;CAC3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VideoPlayerCTAWidth.d.ts","sourceRoot":"","sources":["../../../../../src/models/VideoPlayerCTAWidth.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,mBAAmB,GAAG,WAAW,GAAG,SAAS,GAAG,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VideoPlayerCompleteAction.d.ts","sourceRoot":"","sources":["../../../../../src/models/VideoPlayerCompleteAction.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,yBAAyB,GAAG,MAAM,GAAG,eAAe,CAAC"}
|