react-covideo-embed 1.0.71 → 1.0.76
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
|
@@ -1,17 +1,3 @@
|
|
|
1
|
-
export interface TemplatesData {
|
|
2
|
-
id: number;
|
|
3
|
-
title: string;
|
|
4
|
-
typeId: number;
|
|
5
|
-
}
|
|
6
|
-
export interface LinksetsData {
|
|
7
|
-
id: string;
|
|
8
|
-
title: string;
|
|
9
|
-
defaultLinks: number;
|
|
10
|
-
}
|
|
11
|
-
export interface OverlaysData {
|
|
12
|
-
id: string;
|
|
13
|
-
title: string;
|
|
14
|
-
}
|
|
15
1
|
export type LandingPage = {
|
|
16
2
|
id: number;
|
|
17
3
|
title: string;
|
|
@@ -38,50 +24,3 @@ export type CustomerAndUserIds = {
|
|
|
38
24
|
customerId: number;
|
|
39
25
|
userId: number;
|
|
40
26
|
};
|
|
41
|
-
export type CTA = CustomerAndUserIds & {
|
|
42
|
-
id: number;
|
|
43
|
-
ctaSetId: number;
|
|
44
|
-
type: string;
|
|
45
|
-
linkText: string;
|
|
46
|
-
linkValue: string;
|
|
47
|
-
autoOpen: boolean;
|
|
48
|
-
linkPosition: number;
|
|
49
|
-
newWindow: ValidTinyInt;
|
|
50
|
-
fileTitle: string;
|
|
51
|
-
fileThumbnail: string;
|
|
52
|
-
itemType: string;
|
|
53
|
-
};
|
|
54
|
-
export type CTASet = CustomerAndUserIds & {
|
|
55
|
-
id: number;
|
|
56
|
-
company: ValidTinyInt;
|
|
57
|
-
title: string;
|
|
58
|
-
defaultLinks: ValidTinyInt;
|
|
59
|
-
links: CTA[];
|
|
60
|
-
};
|
|
61
|
-
export type GetCtaSetParams = {
|
|
62
|
-
search?: string;
|
|
63
|
-
start?: number;
|
|
64
|
-
limit?: number;
|
|
65
|
-
};
|
|
66
|
-
export type GetCtaSetResponse = {
|
|
67
|
-
linksets: CTASet[];
|
|
68
|
-
default: CTASet;
|
|
69
|
-
};
|
|
70
|
-
export declare const getCTASets: (params: GetCtaSetParams) => Promise<GetCtaSetResponse>;
|
|
71
|
-
export type WebsiteOverlay = {
|
|
72
|
-
id: number;
|
|
73
|
-
url: string;
|
|
74
|
-
title: string;
|
|
75
|
-
defaultflag: 0 | 1;
|
|
76
|
-
fileThumbnail: string;
|
|
77
|
-
fileTitle: string;
|
|
78
|
-
type: string;
|
|
79
|
-
itemType: string;
|
|
80
|
-
};
|
|
81
|
-
export type GetWebsiteOverlaysParams = GetLandingPagesParams;
|
|
82
|
-
export type GetWebsiteOverlaysResponse = {
|
|
83
|
-
websiteUrls: WebsiteOverlay[];
|
|
84
|
-
default: WebsiteOverlay;
|
|
85
|
-
count: number;
|
|
86
|
-
};
|
|
87
|
-
export declare const getWebsiteOverlays: (params: GetWebsiteOverlaysParams) => Promise<GetWebsiteOverlaysResponse>;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export type ValidTinyInt = 0 | 1;
|
|
2
|
+
export type CustomerAndUserIds = {
|
|
3
|
+
customerId: number;
|
|
4
|
+
userId: number;
|
|
5
|
+
};
|
|
6
|
+
export type CTA = CustomerAndUserIds & {
|
|
7
|
+
id: number;
|
|
8
|
+
ctaSetId: number;
|
|
9
|
+
type: string;
|
|
10
|
+
linkText: string;
|
|
11
|
+
linkValue: string;
|
|
12
|
+
autoOpen: boolean;
|
|
13
|
+
linkPosition: number;
|
|
14
|
+
newWindow: ValidTinyInt;
|
|
15
|
+
fileTitle: string;
|
|
16
|
+
fileThumbnail: string;
|
|
17
|
+
itemType: string;
|
|
18
|
+
};
|
|
19
|
+
export type CTASet = CustomerAndUserIds & {
|
|
20
|
+
id: number;
|
|
21
|
+
company: ValidTinyInt;
|
|
22
|
+
title: string;
|
|
23
|
+
defaultLinks: ValidTinyInt;
|
|
24
|
+
links: CTA[];
|
|
25
|
+
};
|
|
26
|
+
export type GetCtaSetParams = {
|
|
27
|
+
search?: string;
|
|
28
|
+
start?: number;
|
|
29
|
+
limit?: number;
|
|
30
|
+
};
|
|
31
|
+
export type GetCtaSetResponse = {
|
|
32
|
+
linksets: CTASet[];
|
|
33
|
+
default: CTASet;
|
|
34
|
+
};
|
|
35
|
+
export declare const getCTASets: (params: GetCtaSetParams) => Promise<GetCtaSetResponse>;
|
|
36
|
+
export declare const useExitLinksetsQuery: (params: GetCtaSetParams) => import("react-query").UseQueryResult<GetCtaSetResponse, unknown>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export type GetLandingPagesParams = {
|
|
2
|
+
search?: string;
|
|
3
|
+
start?: number;
|
|
4
|
+
limit?: number;
|
|
5
|
+
showUserCustomLandingPages?: boolean;
|
|
6
|
+
};
|
|
7
|
+
export type WebsiteOverlay = {
|
|
8
|
+
id: number;
|
|
9
|
+
url: string;
|
|
10
|
+
title: string;
|
|
11
|
+
defaultflag: 0 | 1;
|
|
12
|
+
fileThumbnail: string;
|
|
13
|
+
fileTitle: string;
|
|
14
|
+
type: string;
|
|
15
|
+
itemType: string;
|
|
16
|
+
};
|
|
17
|
+
export type GetWebsiteOverlaysParams = GetLandingPagesParams;
|
|
18
|
+
export type GetWebsiteOverlaysResponse = {
|
|
19
|
+
websiteUrls: WebsiteOverlay[];
|
|
20
|
+
default: WebsiteOverlay;
|
|
21
|
+
count: number;
|
|
22
|
+
};
|
|
23
|
+
export declare const getWebsiteOverlays: (params: GetWebsiteOverlaysParams) => Promise<GetWebsiteOverlaysResponse>;
|
|
24
|
+
export declare const useWebsiteOverlayQuery: (params: GetWebsiteOverlaysParams) => import("react-query").UseQueryResult<GetWebsiteOverlaysResponse, unknown>;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export interface IVideoItemResponse {
|
|
2
|
+
id: number;
|
|
3
|
+
flvName: string;
|
|
4
|
+
title: string;
|
|
5
|
+
autogeneratedThumbnail: string;
|
|
6
|
+
videoSource: string;
|
|
7
|
+
videoLength: number;
|
|
8
|
+
sendReply: number;
|
|
9
|
+
processing: number;
|
|
10
|
+
wtvId: number;
|
|
11
|
+
protected: number;
|
|
12
|
+
autogeneratedGif: string;
|
|
13
|
+
recordDate: string;
|
|
14
|
+
reactionsPreference: null;
|
|
15
|
+
userId: number;
|
|
16
|
+
chapters: null;
|
|
17
|
+
videoReplyEnabled: number;
|
|
18
|
+
folder: string;
|
|
19
|
+
isGuide: number;
|
|
20
|
+
pinnedVideo: PinnedVideo;
|
|
21
|
+
playButtonPosition: string;
|
|
22
|
+
playerBackgroundColor: string;
|
|
23
|
+
playerIconsAndTextColor: string;
|
|
24
|
+
personalThumbnail: string;
|
|
25
|
+
videoRequest: VideoRequest;
|
|
26
|
+
}
|
|
27
|
+
export interface PinnedVideo {
|
|
28
|
+
}
|
|
29
|
+
export interface VideoRequest {
|
|
30
|
+
videoRequestId: number;
|
|
31
|
+
userId: number;
|
|
32
|
+
advisorId: number;
|
|
33
|
+
customerId: number;
|
|
34
|
+
videoId: number;
|
|
35
|
+
videoType: string;
|
|
36
|
+
repairOrderNumber: string;
|
|
37
|
+
vin: null;
|
|
38
|
+
automotiveDepartment: number;
|
|
39
|
+
sharedWithCompany: boolean;
|
|
40
|
+
note: null;
|
|
41
|
+
deniedNote: null;
|
|
42
|
+
customerName: string;
|
|
43
|
+
status: string;
|
|
44
|
+
emailStatus: string;
|
|
45
|
+
createdAt: Date;
|
|
46
|
+
deletedAt: null;
|
|
47
|
+
}
|
|
48
|
+
export declare const getVideo: (videoId: string) => Promise<IVideoItemResponse>;
|
|
49
|
+
export declare const useVideoQuery: (videoId: string) => import("react-query").UseQueryResult<IVideoItemResponse, unknown>;
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const QUOTIBLE_LANDING_PAGE_TYPE_ID = 20;
|