react-covideo-embed 1.0.71 → 1.0.72
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/build/app/pages/insertVideo/InsertVideo.d.ts +1 -1
- package/build/app/pages/insertVideo/components/CopyVideoButton.d.ts +1 -1
- package/build/app/pages/insertVideo/components/InsertButton.d.ts +1 -1
- package/build/app/pages/insertVideo/components/InsertVideoSettings.d.ts +8 -14
- package/build/app/pages/insertVideo/utils.d.ts +4 -1
- package/build/index.js +93 -93
- package/build/lib/api/designApi.d.ts +0 -61
- package/build/lib/api/exitlinksets/useExitLinksetsQuery.d.ts +36 -0
- package/build/lib/api/overlays/useWebsiteOverlayQuery.d.ts +24 -0
- package/build/lib/api/videos/useVideoQuery.d.ts +49 -0
- package/package.json +1 -1
- package/build/lib/const/LandingPages.d.ts +0 -1
|
@@ -2,7 +2,7 @@ import { VideoListItem } from 'lib/api';
|
|
|
2
2
|
import { VideoListAutomotiveItem } from 'lib/context';
|
|
3
3
|
import { VideoShareSetData } from '../InsertVideo';
|
|
4
4
|
type Props = {
|
|
5
|
-
video
|
|
5
|
+
video?: VideoListAutomotiveItem | VideoListItem;
|
|
6
6
|
disable: boolean;
|
|
7
7
|
getMarkAsSentPayload: () => {
|
|
8
8
|
videoShareSetData: VideoShareSetData;
|
|
@@ -2,7 +2,7 @@ import { VideoListItem } from 'lib/api';
|
|
|
2
2
|
import { VideoListAutomotiveItem } from 'lib/context';
|
|
3
3
|
import { VideoShareSetData } from '../InsertVideo';
|
|
4
4
|
type Props = {
|
|
5
|
-
video
|
|
5
|
+
video?: VideoListAutomotiveItem | VideoListItem;
|
|
6
6
|
disable: boolean;
|
|
7
7
|
getMarkAsSentPayload: () => {
|
|
8
8
|
videoShareSetData: VideoShareSetData;
|
|
@@ -1,21 +1,15 @@
|
|
|
1
1
|
import { Dispatch, SetStateAction } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import { LinksetsData, OverlaysData } from 'lib/api';
|
|
2
|
+
import { VideoShareSetData } from '../InsertVideo';
|
|
4
3
|
import { LandingPageOption } from '../utils';
|
|
4
|
+
import { CTASet } from 'lib/api/exitlinksets/useExitLinksetsQuery';
|
|
5
|
+
import { WebsiteOverlay } from 'lib/api/overlays/useWebsiteOverlayQuery';
|
|
5
6
|
type Props = {
|
|
6
|
-
templatesLoading: boolean;
|
|
7
|
-
linksetsLoading: boolean;
|
|
8
|
-
overlaysLoading: boolean;
|
|
9
7
|
templatesOptions: LandingPageOption[];
|
|
10
|
-
linksetsData: Array<
|
|
11
|
-
overlaysData: Array<
|
|
12
|
-
checkboxes: Array<Option>;
|
|
13
|
-
selectedCheckboxes: Array<Option>;
|
|
14
|
-
setSelectedCheckboxes: Function;
|
|
8
|
+
linksetsData: Array<CTASet>;
|
|
9
|
+
overlaysData: Array<WebsiteOverlay>;
|
|
15
10
|
insertVideoData: VideoShareSetData;
|
|
16
|
-
setInsertVideoData:
|
|
17
|
-
|
|
18
|
-
setSelectedTemplate: Dispatch<SetStateAction<LandingPageOption>>;
|
|
11
|
+
setInsertVideoData: Dispatch<SetStateAction<VideoShareSetData>>;
|
|
12
|
+
reactionsCustomerEnabled?: boolean;
|
|
19
13
|
};
|
|
20
|
-
export declare const InsertVideoSettings: ({ linksetsData,
|
|
14
|
+
export declare const InsertVideoSettings: ({ linksetsData, templatesOptions, overlaysData, insertVideoData, setInsertVideoData, reactionsCustomerEnabled, }: Props) => JSX.Element;
|
|
21
15
|
export {};
|
|
@@ -1,19 +1,22 @@
|
|
|
1
1
|
import { GetLandingPagesResponse } from 'lib/api';
|
|
2
2
|
import { UserData } from 'lib/context';
|
|
3
|
+
export declare const LINKSET_NONE_OPTION_VALUE = "-1";
|
|
3
4
|
export declare const builderLandingPageTypeId = 19;
|
|
4
5
|
export declare const LANDING_PAGE_DESIGN_TYPE_ID = 21;
|
|
5
6
|
export declare const QUOTIBLE_LANDING_PAGE_TYPE_ID = 20;
|
|
7
|
+
export declare const SALES_PAGE_ID = -2;
|
|
8
|
+
export declare const WEBSITE_OVERLAY_LANDING_PAGE_ID = -1;
|
|
6
9
|
export declare enum LandingPageType {
|
|
7
10
|
VIDMAILS = "vidmails",
|
|
8
11
|
AUTOMOTIVE = "automotive"
|
|
9
12
|
}
|
|
10
13
|
export declare const defaultLPOption: LandingPageOption;
|
|
11
|
-
export declare const SALES_PAGE_ID = -2;
|
|
12
14
|
export type LandingPageOption = {
|
|
13
15
|
value: string | number;
|
|
14
16
|
label: string;
|
|
15
17
|
typeId?: number;
|
|
16
18
|
landingPageType: LandingPageType;
|
|
19
|
+
id?: number;
|
|
17
20
|
};
|
|
18
21
|
export declare const getSalesServiceOption: (userData: UserData) => {
|
|
19
22
|
value: number;
|