react-covideo-embed 1.0.8 → 1.0.10
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/package.json +2 -2
- package/build/app/App.d.ts +0 -3
- package/build/app/pages/insertVideo/InsertVideo.d.ts +0 -13
- package/build/app/pages/insertVideo/components/CopyVideoButton.d.ts +0 -13
- package/build/app/pages/insertVideo/components/InsertButton.d.ts +0 -13
- package/build/app/pages/insertVideo/components/InsertVideoSettings.d.ts +0 -17
- package/build/app/pages/insertVideo/components/VehicleSearch.d.ts +0 -13
- package/build/app/pages/insertVideo/components/index.d.ts +0 -2
- package/build/app/pages/lesaTV/LesaTV.d.ts +0 -1
- package/build/app/pages/lesaTV/components/PageInfo.d.ts +0 -7
- package/build/app/pages/lesaTV/components/Search.d.ts +0 -6
- package/build/app/pages/lesaTV/components/index.d.ts +0 -2
- package/build/app/pages/library/Library.d.ts +0 -5
- package/build/app/pages/library/components/NoVideos.d.ts +0 -6
- package/build/app/pages/library/components/PageInfo.d.ts +0 -7
- package/build/app/pages/library/components/Search.d.ts +0 -6
- package/build/app/pages/library/components/UserDropdown.d.ts +0 -6
- package/build/app/pages/library/components/VideoItem.d.ts +0 -9
- package/build/app/pages/library/components/VideoItemThumbnail.d.ts +0 -11
- package/build/app/pages/library/components/const.d.ts +0 -6
- package/build/app/pages/library/components/index.d.ts +0 -5
- package/build/app/pages/login/Login.d.ts +0 -5
- package/build/app/pages/merge/Merge.d.ts +0 -1
- package/build/app/pages/merge/components/Player.d.ts +0 -7
- package/build/app/pages/merge/components/VideoMerge.d.ts +0 -1
- package/build/app/pages/merge/components/VideoRow.d.ts +0 -1
- package/build/app/pages/merge/components/VideoThumbnail.d.ts +0 -1
- package/build/app/pages/previewUpload/PreviewUpload.d.ts +0 -2
- package/build/app/pages/record/both/RecordBoth.d.ts +0 -1
- package/build/app/pages/record/both/main/Main.d.ts +0 -1
- package/build/app/pages/record/cam/RecordCam.d.ts +0 -1
- package/build/app/pages/record/cam/main/Main.d.ts +0 -1
- package/build/app/pages/record/home/RecordHome.d.ts +0 -1
- package/build/app/pages/record/screen/RecordScreen.d.ts +0 -2
- package/build/app/pages/record/screen/main/Main.d.ts +0 -1
- package/build/app/pages/video/Upload.d.ts +0 -10
- package/build/app/pages/video/components/Preview.d.ts +0 -13
- package/build/app/pages/video/components/videoPlayer/VideoPlayer.d.ts +0 -29
- package/build/app/pages/video/components/videoPlayer/components/index.d.ts +0 -2
- package/build/app/pages/video/components/videoPlayer/components/onScreenPlayButton.d.ts +0 -10
- package/build/app/pages/video/components/videoPlayer/components/progressBar.d.ts +0 -10
- package/build/app/pages/video/components/videoPlayer/components/trim/Handle.d.ts +0 -15
- package/build/app/pages/video/components/videoPlayer/components/trim/SliderRail.d.ts +0 -7
- package/build/app/pages/video/components/videoPlayer/components/trim/Tick.d.ts +0 -9
- package/build/app/pages/video/components/videoPlayer/components/trim/TimelineRange.d.ts +0 -19
- package/build/app/pages/video/components/videoPlayer/components/trim/Track.d.ts +0 -10
- package/build/app/pages/video/components/videoPlayer/components/trim/Trim.d.ts +0 -13
- package/build/app/pages/video/components/videoPlayer/components/trim/VideoPreviewTrack.d.ts +0 -7
- package/build/app/pages/video/components/videoPlayer/components/videoControls.d.ts +0 -25
- package/build/app/pages/video/components/videoPlayer/index.d.ts +0 -1
- package/build/app/pages/video/videoDetails/components/AttributesFields.d.ts +0 -7
- package/build/app/pages/voiceover/Voiceover.d.ts +0 -1
- package/build/app/pages/voiceover/components/AudioRecorder.d.ts +0 -14
- package/build/app/pages/voiceover/components/VideoPreview.d.ts +0 -11
- package/build/app/pages/voiceover/components/util.d.ts +0 -1
- package/build/app/pages/wheelsTV/WheelsTV.d.ts +0 -1
- package/build/app/pages/wheelsTV/components/PageInfo.d.ts +0 -7
- package/build/app/pages/wheelsTV/components/Search.d.ts +0 -6
- package/build/app/pages/wheelsTV/components/index.d.ts +0 -2
- package/build/index.d.ts +0 -81
- package/build/index.js +0 -768
- package/build/index.js.LICENSE.txt +0 -81
- package/build/lib/api/attributesApi.d.ts +0 -8
- package/build/lib/api/authApi.d.ts +0 -11
- package/build/lib/api/designApi.d.ts +0 -86
- package/build/lib/api/index.d.ts +0 -9
- package/build/lib/api/inventoryApi.d.ts +0 -10
- package/build/lib/api/lesa/lesaKeys.d.ts +0 -6
- package/build/lib/api/lesa/useLesaTvVideosQuery.d.ts +0 -27
- package/build/lib/api/lesa/useLesaVideosMutation.d.ts +0 -8
- package/build/lib/api/multilocation/getUserLocations.d.ts +0 -12
- package/build/lib/api/multilocation/locationKeys.d.ts +0 -3
- package/build/lib/api/multilocation/signIntoLocation.d.ts +0 -10
- package/build/lib/api/quckshareApi.d.ts +0 -18
- package/build/lib/api/types.d.ts +0 -44
- package/build/lib/api/videoRequestApi.d.ts +0 -6
- package/build/lib/api/videoTagsApi.d.ts +0 -13
- package/build/lib/api/videosApi.d.ts +0 -64
- package/build/lib/api/voiceOverApi.d.ts +0 -20
- package/build/lib/api/wtvApi.d.ts +0 -34
- package/build/lib/components/ButtonDropdown.d.ts +0 -22
- package/build/lib/components/CheckboxInput.d.ts +0 -19
- package/build/lib/components/CloseButton.d.ts +0 -13
- package/build/lib/components/Container.d.ts +0 -9
- package/build/lib/components/CountDown.d.ts +0 -1
- package/build/lib/components/DragAndDrop.d.ts +0 -21
- package/build/lib/components/Dropdown.d.ts +0 -29
- package/build/lib/components/HoverPopup.d.ts +0 -15
- package/build/lib/components/Input.d.ts +0 -10
- package/build/lib/components/Label.d.ts +0 -6
- package/build/lib/components/LoadingIndicator.d.ts +0 -11
- package/build/lib/components/Logo.d.ts +0 -5
- package/build/lib/components/MainWrapper.d.ts +0 -6
- package/build/lib/components/PreviewVideoBar.d.ts +0 -8
- package/build/lib/components/RouteLeavingGuard.d.ts +0 -18
- package/build/lib/components/Spinner.d.ts +0 -6
- package/build/lib/components/TopBar.d.ts +0 -9
- package/build/lib/components/index.d.ts +0 -15
- package/build/lib/components/inputs/RadioInput.d.ts +0 -14
- package/build/lib/components/modal/Modal.d.ts +0 -13
- package/build/lib/components/modal/ModalQuickShareMarkAsSent.d.ts +0 -14
- package/build/lib/components/modal/ModalRecordingSettings.d.ts +0 -10
- package/build/lib/components/modals/Modal.d.ts +0 -14
- package/build/lib/components/modals/ModalInputText.d.ts +0 -11
- package/build/lib/components/modals/ModalLeave.d.ts +0 -15
- package/build/lib/components/modals/ModalPrompt.d.ts +0 -12
- package/build/lib/components/modals/ModalUpload.d.ts +0 -7
- package/build/lib/components/modals/ModalVideoPreview.d.ts +0 -7
- package/build/lib/components/toast-notifications/ToastNotification.d.ts +0 -5
- package/build/lib/components/toast-notifications/index.d.ts +0 -4
- package/build/lib/components/videoUpload/MultipleUploadList.d.ts +0 -8
- package/build/lib/components/videoUpload/VideoUpload.d.ts +0 -9
- package/build/lib/components/videoUpload/styles.d.ts +0 -11
- package/build/lib/config.d.ts +0 -22
- package/build/lib/const/AutomotiveRole.d.ts +0 -8
- package/build/lib/const/Folder.d.ts +0 -9
- package/build/lib/const/MarkAsSentOptions.d.ts +0 -14
- package/build/lib/const/PackageName.d.ts +0 -7
- package/build/lib/const/VideoActivity.d.ts +0 -16
- package/build/lib/const/VideoEmailStatus.d.ts +0 -7
- package/build/lib/const/VideoStatus.d.ts +0 -6
- package/build/lib/const/VideoType.d.ts +0 -15
- package/build/lib/const/index.d.ts +0 -5
- package/build/lib/context/ActionDispatchContext.d.ts +0 -4
- package/build/lib/context/AuthorizationContext.d.ts +0 -115
- package/build/lib/context/ConfigurationContext.d.ts +0 -52
- package/build/lib/context/actionCreators.d.ts +0 -37
- package/build/lib/context/authHandlers.d.ts +0 -2
- package/build/lib/context/authReducer.d.ts +0 -16
- package/build/lib/context/index.d.ts +0 -4
- package/build/lib/context/types.d.ts +0 -149
- package/build/lib/hooks/index.d.ts +0 -2
- package/build/lib/hooks/query/inventoryItem/index.d.ts +0 -1
- package/build/lib/hooks/query/inventoryItem/useGetInventoryItems.d.ts +0 -12
- package/build/lib/hooks/query/markAsSent/useQuickShareMarkAsSentMutation.d.ts +0 -28
- package/build/lib/hooks/useCopyClipboard.d.ts +0 -4
- package/build/lib/hooks/useCreateVideo.d.ts +0 -21
- package/build/lib/hooks/useEncodeVideo.d.ts +0 -16
- package/build/lib/hooks/useImageLoadRetry.d.ts +0 -10
- package/build/lib/hooks/useMediaRecorder.d.ts +0 -32
- package/build/lib/hooks/usePresignedUrl.d.ts +0 -16
- package/build/lib/hooks/useQueryFetch.d.ts +0 -16
- package/build/lib/hooks/useQueryState.d.ts +0 -22
- package/build/lib/hooks/useS3Upload.d.ts +0 -15
- package/build/lib/hooks/useVideoLoadRetry.d.ts +0 -12
- package/build/lib/hooks/useVideoStore.d.ts +0 -17
- package/build/lib/hooks/useVideoTranscriptionStart.d.ts +0 -9
- package/build/lib/images/AccountIcon.d.ts +0 -2
- package/build/lib/images/AddIcon.d.ts +0 -2
- package/build/lib/images/CarIcon.d.ts +0 -2
- package/build/lib/images/CheckmarkIcon.d.ts +0 -2
- package/build/lib/images/CloseCircleIcon.d.ts +0 -2
- package/build/lib/images/CloseIcon.d.ts +0 -2
- package/build/lib/images/DeleteIcon.d.ts +0 -2
- package/build/lib/images/Drag.d.ts +0 -2
- package/build/lib/images/HashtagIcon.d.ts +0 -2
- package/build/lib/images/LaptopIcon.d.ts +0 -2
- package/build/lib/images/LogoCDS.d.ts +0 -2
- package/build/lib/images/LogoGeneral.d.ts +0 -2
- package/build/lib/images/SaveIcon.d.ts +0 -2
- package/build/lib/images/SettingsIcon.d.ts +0 -2
- package/build/lib/images/SmallLogoIcon.d.ts +0 -2
- package/build/lib/images/VectorIcon.d.ts +0 -2
- package/build/lib/images/VideoIcon.d.ts +0 -2
- package/build/lib/images/ZoomInIcon.d.ts +0 -2
- package/build/lib/images/ZoomOutIcon.d.ts +0 -2
- package/build/lib/images/pauseButton.d.ts +0 -2
- package/build/lib/images/playButton.d.ts +0 -2
- package/build/lib/images/volumeOff.d.ts +0 -1
- package/build/lib/style/index.d.ts +0 -2
- package/build/lib/style/theme.d.ts +0 -121
- package/build/lib/utils/UseOnClickOutside.d.ts +0 -3
- package/build/lib/utils/automotiveRolePermissionChecks.d.ts +0 -7
- package/build/lib/utils/functions.d.ts +0 -22
- package/build/lib/utils/reactions.d.ts +0 -3
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
Copyright (c) 2018 Jed Watson.
|
|
3
|
-
Licensed under the MIT License (MIT), see
|
|
4
|
-
http://jedwatson.github.io/classnames
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
/*!
|
|
8
|
-
Copyright (c) 2015 Jed Watson.
|
|
9
|
-
Based on code that is Copyright 2013-2015, Facebook, Inc.
|
|
10
|
-
All rights reserved.
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
/*!
|
|
14
|
-
* Adapted from jQuery UI core
|
|
15
|
-
*
|
|
16
|
-
* http://jqueryui.com
|
|
17
|
-
*
|
|
18
|
-
* Copyright 2014 jQuery Foundation and other contributors
|
|
19
|
-
* Released under the MIT license.
|
|
20
|
-
* http://jquery.org/license
|
|
21
|
-
*
|
|
22
|
-
* http://api.jqueryui.com/category/ui-core/
|
|
23
|
-
*/
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* @license
|
|
27
|
-
* Lodash (Custom Build) <https://lodash.com/>
|
|
28
|
-
* Build: `lodash modularize exports="es" -o ./`
|
|
29
|
-
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
30
|
-
* Released under MIT license <https://lodash.com/license>
|
|
31
|
-
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
32
|
-
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
33
|
-
*/
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* @license
|
|
37
|
-
* Lodash <https://lodash.com/>
|
|
38
|
-
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
39
|
-
* Released under MIT license <https://lodash.com/license>
|
|
40
|
-
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
41
|
-
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
42
|
-
*/
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* @license React
|
|
46
|
-
* react-is.production.min.js
|
|
47
|
-
*
|
|
48
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
49
|
-
*
|
|
50
|
-
* This source code is licensed under the MIT license found in the
|
|
51
|
-
* LICENSE file in the root directory of this source tree.
|
|
52
|
-
*/
|
|
53
|
-
|
|
54
|
-
/** @license React v16.13.1
|
|
55
|
-
* react-is.production.min.js
|
|
56
|
-
*
|
|
57
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
58
|
-
*
|
|
59
|
-
* This source code is licensed under the MIT license found in the
|
|
60
|
-
* LICENSE file in the root directory of this source tree.
|
|
61
|
-
*/
|
|
62
|
-
|
|
63
|
-
/** @license React v16.14.0
|
|
64
|
-
* react-jsx-runtime.production.min.js
|
|
65
|
-
*
|
|
66
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
67
|
-
*
|
|
68
|
-
* This source code is licensed under the MIT license found in the
|
|
69
|
-
* LICENSE file in the root directory of this source tree.
|
|
70
|
-
*/
|
|
71
|
-
|
|
72
|
-
/** @license React v17.0.2
|
|
73
|
-
* react-is.production.min.js
|
|
74
|
-
*
|
|
75
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
76
|
-
*
|
|
77
|
-
* This source code is licensed under the MIT license found in the
|
|
78
|
-
* LICENSE file in the root directory of this source tree.
|
|
79
|
-
*/
|
|
80
|
-
|
|
81
|
-
//! goToAndStop must be relative to the start of the current segment
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { QueryListParams, AttributeListItem } from '.';
|
|
2
|
-
export declare const getAttributes: ({ page, size, search, sort, filterByDepartment, }: QueryListParams) => Promise<{
|
|
3
|
-
count: number;
|
|
4
|
-
attributes: AttributeListItem[];
|
|
5
|
-
}>;
|
|
6
|
-
export declare const putVideoAttributes: (videoId: string, data: object[]) => Promise<{
|
|
7
|
-
videoAttributes: any;
|
|
8
|
-
}>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
type AuthParams = {
|
|
2
|
-
username: string;
|
|
3
|
-
password: string;
|
|
4
|
-
};
|
|
5
|
-
type AuthResponse = {
|
|
6
|
-
tokenType: string;
|
|
7
|
-
accessToken: string;
|
|
8
|
-
};
|
|
9
|
-
export declare const login: ({ username, password }: AuthParams) => Promise<AuthResponse>;
|
|
10
|
-
export declare const fetchUserData: () => Promise<any>;
|
|
11
|
-
export {};
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
export interface TemplatesData {
|
|
2
|
-
id: number;
|
|
3
|
-
title: string;
|
|
4
|
-
}
|
|
5
|
-
export interface LinksetsData {
|
|
6
|
-
id: string;
|
|
7
|
-
title: string;
|
|
8
|
-
defaultLinks: number;
|
|
9
|
-
}
|
|
10
|
-
export interface OverlaysData {
|
|
11
|
-
id: string;
|
|
12
|
-
title: string;
|
|
13
|
-
}
|
|
14
|
-
export type LandingPage = {
|
|
15
|
-
id: number;
|
|
16
|
-
title: string;
|
|
17
|
-
thumbnailURL: string;
|
|
18
|
-
typeId?: number;
|
|
19
|
-
landingPage?: {
|
|
20
|
-
[key: string]: any;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
export type GetLandingPagesParams = {
|
|
24
|
-
search?: string;
|
|
25
|
-
start?: number;
|
|
26
|
-
limit?: number;
|
|
27
|
-
showUserCustomLandingPages?: boolean;
|
|
28
|
-
};
|
|
29
|
-
export type GetLandingPagesResponse = {
|
|
30
|
-
templates: LandingPage[];
|
|
31
|
-
default: LandingPage;
|
|
32
|
-
count: number;
|
|
33
|
-
};
|
|
34
|
-
export declare const getLandingPages: (params: GetLandingPagesParams) => Promise<GetLandingPagesResponse>;
|
|
35
|
-
export type ValidTinyInt = 0 | 1;
|
|
36
|
-
export type CustomerAndUserIds = {
|
|
37
|
-
customerId: number;
|
|
38
|
-
userId: number;
|
|
39
|
-
};
|
|
40
|
-
export type CTA = CustomerAndUserIds & {
|
|
41
|
-
id: number;
|
|
42
|
-
ctaSetId: number;
|
|
43
|
-
type: string;
|
|
44
|
-
linkText: string;
|
|
45
|
-
linkValue: string;
|
|
46
|
-
autoOpen: boolean;
|
|
47
|
-
linkPosition: number;
|
|
48
|
-
newWindow: ValidTinyInt;
|
|
49
|
-
fileTitle: string;
|
|
50
|
-
fileThumbnail: string;
|
|
51
|
-
itemType: string;
|
|
52
|
-
};
|
|
53
|
-
export type CTASet = CustomerAndUserIds & {
|
|
54
|
-
id: number;
|
|
55
|
-
company: ValidTinyInt;
|
|
56
|
-
title: string;
|
|
57
|
-
defaultLinks: ValidTinyInt;
|
|
58
|
-
links: CTA[];
|
|
59
|
-
};
|
|
60
|
-
export type GetCtaSetParams = {
|
|
61
|
-
search?: string;
|
|
62
|
-
start?: number;
|
|
63
|
-
limit?: number;
|
|
64
|
-
};
|
|
65
|
-
export type GetCtaSetResponse = {
|
|
66
|
-
linksets: CTASet[];
|
|
67
|
-
default: CTASet;
|
|
68
|
-
};
|
|
69
|
-
export declare const getCTASets: (params: GetCtaSetParams) => Promise<GetCtaSetResponse>;
|
|
70
|
-
export type WebsiteOverlay = {
|
|
71
|
-
id: number;
|
|
72
|
-
url: string;
|
|
73
|
-
title: string;
|
|
74
|
-
defaultflag: 0 | 1;
|
|
75
|
-
fileThumbnail: string;
|
|
76
|
-
fileTitle: string;
|
|
77
|
-
type: string;
|
|
78
|
-
itemType: string;
|
|
79
|
-
};
|
|
80
|
-
export type GetWebsiteOverlaysParams = GetLandingPagesParams;
|
|
81
|
-
export type GetWebsiteOverlaysResponse = {
|
|
82
|
-
websiteUrls: WebsiteOverlay[];
|
|
83
|
-
default: WebsiteOverlay;
|
|
84
|
-
count: number;
|
|
85
|
-
};
|
|
86
|
-
export declare const getWebsiteOverlays: (params: GetWebsiteOverlaysParams) => Promise<GetWebsiteOverlaysResponse>;
|
package/build/lib/api/index.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export * from './authApi';
|
|
2
|
-
export * from './videosApi';
|
|
3
|
-
export * from './designApi';
|
|
4
|
-
export * from './inventoryApi';
|
|
5
|
-
export * from './videoRequestApi';
|
|
6
|
-
export * from './voiceOverApi';
|
|
7
|
-
export * from './types';
|
|
8
|
-
export * from './wtvApi';
|
|
9
|
-
export * from './attributesApi';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export type GetInventoryParams = {
|
|
2
|
-
search?: string;
|
|
3
|
-
start?: number;
|
|
4
|
-
limit?: number;
|
|
5
|
-
sort?: string;
|
|
6
|
-
soldFilter?: string;
|
|
7
|
-
videosRecordedFilter?: string;
|
|
8
|
-
countRecorded?: boolean;
|
|
9
|
-
};
|
|
10
|
-
export declare const getInventoryItems: (params: GetInventoryParams) => Promise<any>;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
export interface ILesaItem {
|
|
2
|
-
postingId: number;
|
|
3
|
-
stockNumber: string;
|
|
4
|
-
year: number;
|
|
5
|
-
make: string;
|
|
6
|
-
model: string;
|
|
7
|
-
vehicleCondition: VEHICLE_CONDITION;
|
|
8
|
-
video: Video | null;
|
|
9
|
-
}
|
|
10
|
-
declare enum VEHICLE_CONDITION {
|
|
11
|
-
NEW = "New",
|
|
12
|
-
USED = "Used"
|
|
13
|
-
}
|
|
14
|
-
interface Video {
|
|
15
|
-
url: string;
|
|
16
|
-
fileName: string;
|
|
17
|
-
}
|
|
18
|
-
type LesaParams = {
|
|
19
|
-
limit: number;
|
|
20
|
-
page: number;
|
|
21
|
-
search?: string;
|
|
22
|
-
};
|
|
23
|
-
export declare const useLesaTvVideosQuery: (params: LesaParams) => import("react-query").UseQueryResult<{
|
|
24
|
-
videos: ILesaItem[];
|
|
25
|
-
count: number;
|
|
26
|
-
}, unknown>;
|
|
27
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
type LesaParams = {
|
|
2
|
-
url: string;
|
|
3
|
-
fileName: string;
|
|
4
|
-
};
|
|
5
|
-
export declare const useLesaVideosCopyMutation: ({ onSuccesCallback, }: {
|
|
6
|
-
onSuccesCallback: () => void;
|
|
7
|
-
}) => import("react-query").UseMutationResult<import("axios").AxiosResponse<any>, unknown, LesaParams, unknown>;
|
|
8
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export interface ILocation {
|
|
2
|
-
locationId: number;
|
|
3
|
-
customerId: number;
|
|
4
|
-
name: string;
|
|
5
|
-
streetAddress?: string;
|
|
6
|
-
state?: string;
|
|
7
|
-
}
|
|
8
|
-
export declare const useGetLocationsQuery: (userId: number, enabled: boolean) => {
|
|
9
|
-
data: ILocation[];
|
|
10
|
-
isLoading: boolean;
|
|
11
|
-
refetch: <TPageData>(options?: (import("react-query").RefetchOptions & import("react-query").RefetchQueryFilters<TPageData>) | undefined) => Promise<import("react-query").QueryObserverResult<ILocation[], unknown>>;
|
|
12
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { AxiosError } from 'axios';
|
|
2
|
-
interface ILoggedUser {
|
|
3
|
-
accessToken: string;
|
|
4
|
-
refreshToken: string;
|
|
5
|
-
}
|
|
6
|
-
interface ISignIntoParams {
|
|
7
|
-
locationId: number;
|
|
8
|
-
}
|
|
9
|
-
export declare const useSignIntoLocation: (hasExternalJwt: boolean) => import("react-query").UseMutationResult<ILoggedUser, AxiosError<any>, ISignIntoParams, unknown>;
|
|
10
|
-
export {};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
type GetQuickshareParams = {
|
|
2
|
-
videoId: number | string;
|
|
3
|
-
linksetId?: number | string;
|
|
4
|
-
templateId?: number | string;
|
|
5
|
-
overlayId?: number | string;
|
|
6
|
-
vin?: number | string;
|
|
7
|
-
markAsSentConfirmed?: boolean | undefined;
|
|
8
|
-
videoActivityType?: string | undefined;
|
|
9
|
-
iconId?: number;
|
|
10
|
-
format?: string;
|
|
11
|
-
useAutomotive?: string | boolean | undefined;
|
|
12
|
-
allowVideoReply?: string | boolean | undefined;
|
|
13
|
-
allowReactions?: string | boolean | undefined;
|
|
14
|
-
notifyUser?: string | boolean | undefined;
|
|
15
|
-
reuseShortUrl?: boolean;
|
|
16
|
-
};
|
|
17
|
-
export declare const getQuickshareDetails: (videoId: string | number, params?: Omit<GetQuickshareParams, 'videoId'>) => Promise<any>;
|
|
18
|
-
export {};
|
package/build/lib/api/types.d.ts
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
export type GetSignedUrlsParams = {
|
|
2
|
-
fileName: string;
|
|
3
|
-
mimeType: string;
|
|
4
|
-
folder: string;
|
|
5
|
-
};
|
|
6
|
-
export type GetSignedUrlsResponse = {
|
|
7
|
-
uploadUrl: string;
|
|
8
|
-
downloadUrl: string;
|
|
9
|
-
};
|
|
10
|
-
export type QueryListParams = {
|
|
11
|
-
groupId?: string;
|
|
12
|
-
page?: number;
|
|
13
|
-
size?: number;
|
|
14
|
-
search?: string;
|
|
15
|
-
sort?: string;
|
|
16
|
-
reportId?: string;
|
|
17
|
-
accountManagerId?: string;
|
|
18
|
-
resellerId?: string;
|
|
19
|
-
integrationId?: number;
|
|
20
|
-
all?: boolean;
|
|
21
|
-
filterByDepartment?: boolean;
|
|
22
|
-
refresh?: boolean;
|
|
23
|
-
startDate?: Date;
|
|
24
|
-
endDate?: Date;
|
|
25
|
-
};
|
|
26
|
-
export type AttributeListItem = {
|
|
27
|
-
attributeId?: string;
|
|
28
|
-
title: string;
|
|
29
|
-
slug: string;
|
|
30
|
-
type: number;
|
|
31
|
-
default?: string;
|
|
32
|
-
isRequired?: boolean;
|
|
33
|
-
};
|
|
34
|
-
export interface VideoTranscriptionResponse {
|
|
35
|
-
success: boolean;
|
|
36
|
-
data: {
|
|
37
|
-
error: boolean;
|
|
38
|
-
message: string;
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
export interface VideoTranscriptionBody {
|
|
42
|
-
transcript?: string;
|
|
43
|
-
enabled: number;
|
|
44
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export type CreateVideoRequestParams = {
|
|
2
|
-
data: object;
|
|
3
|
-
videoRequestId?: string | number;
|
|
4
|
-
};
|
|
5
|
-
export declare const getVideoRequestByVideoId: (id: string) => Promise<any>;
|
|
6
|
-
export declare const createVideoRequest: ({ data, }: CreateVideoRequestParams) => Promise<any>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
type TagParams = {
|
|
2
|
-
page?: number;
|
|
3
|
-
size?: number;
|
|
4
|
-
search?: string;
|
|
5
|
-
all?: boolean;
|
|
6
|
-
sort?: string;
|
|
7
|
-
refresh?: boolean;
|
|
8
|
-
};
|
|
9
|
-
export declare const getTags: ({ page, size, search, all, sort, refresh, }: TagParams) => Promise<any>;
|
|
10
|
-
export declare const putVideoTags: (videoId: string, data: object[]) => Promise<{
|
|
11
|
-
videoTags: any;
|
|
12
|
-
}>;
|
|
13
|
-
export {};
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { Folder, TrimVideoData } from 'lib/context';
|
|
2
|
-
import { VideoTranscriptionResponse } from './types';
|
|
3
|
-
export declare const ALL_FOLDERS: {
|
|
4
|
-
value: string;
|
|
5
|
-
label: string;
|
|
6
|
-
};
|
|
7
|
-
export type VideoListParams = {
|
|
8
|
-
size: number | undefined;
|
|
9
|
-
page: number | undefined;
|
|
10
|
-
search?: string | null;
|
|
11
|
-
folder?: string;
|
|
12
|
-
};
|
|
13
|
-
export type VideoRequest = {
|
|
14
|
-
videoRequestId: string;
|
|
15
|
-
vin?: string;
|
|
16
|
-
};
|
|
17
|
-
export type VideoListItem = {
|
|
18
|
-
processing: number;
|
|
19
|
-
id: string;
|
|
20
|
-
title: string;
|
|
21
|
-
recordDate: string;
|
|
22
|
-
views: string;
|
|
23
|
-
videoLength: number;
|
|
24
|
-
thumbnail: string;
|
|
25
|
-
videoSource: string;
|
|
26
|
-
tags: object[];
|
|
27
|
-
videoRequest: VideoRequest;
|
|
28
|
-
folder: string;
|
|
29
|
-
autogeneratedThumbnail: string;
|
|
30
|
-
};
|
|
31
|
-
export type VideoUpdateBody = {
|
|
32
|
-
title?: string;
|
|
33
|
-
thumbnail?: string;
|
|
34
|
-
playerBackgroundColor?: string;
|
|
35
|
-
playerIconsAndTextColor?: string;
|
|
36
|
-
playButtonPosition?: string;
|
|
37
|
-
reactionsPreference?: boolean;
|
|
38
|
-
};
|
|
39
|
-
export type UpdateVideoParams = {
|
|
40
|
-
videoId: string;
|
|
41
|
-
videoBody: VideoUpdateBody;
|
|
42
|
-
};
|
|
43
|
-
export type DeleteVideoApiParams = {
|
|
44
|
-
videoIds: (string | number)[];
|
|
45
|
-
deleteMultiple: boolean;
|
|
46
|
-
companyVideos?: boolean;
|
|
47
|
-
};
|
|
48
|
-
export declare const getFolders: () => Promise<Folder[]>;
|
|
49
|
-
export declare const getVideos: (props: VideoListParams) => Promise<{
|
|
50
|
-
count: number;
|
|
51
|
-
videos: VideoListItem[];
|
|
52
|
-
}>;
|
|
53
|
-
export declare const getVideo: (videoId: string) => Promise<any>;
|
|
54
|
-
export declare const deleteVideo: ({ videoIds, deleteMultiple, companyVideos, }: DeleteVideoApiParams) => Promise<{
|
|
55
|
-
[key: string]: string;
|
|
56
|
-
}>;
|
|
57
|
-
export declare const mergeVideos: (data: any) => Promise<any>;
|
|
58
|
-
export declare const updateVideo: ({ videoId, videoBody: data, }: UpdateVideoParams) => Promise<{
|
|
59
|
-
video: any;
|
|
60
|
-
}>;
|
|
61
|
-
export declare const trimVideo: (videoId: string, data: TrimVideoData) => Promise<any>;
|
|
62
|
-
export declare const downloadVideo: (videoId: string, fileName: string) => Promise<void>;
|
|
63
|
-
export declare const copyCompanyVideoToPrimary: (videoId: string) => Promise<any>;
|
|
64
|
-
export declare const startTranscription: (videoId: string) => Promise<VideoTranscriptionResponse>;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { GetSignedUrlsParams, GetSignedUrlsResponse } from '.';
|
|
2
|
-
export type UploadVoiceoverAudioParams = {
|
|
3
|
-
data: {
|
|
4
|
-
uploadURL: string;
|
|
5
|
-
file: File;
|
|
6
|
-
mimeType: string;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
9
|
-
export type CreateVoiceoverParams = {
|
|
10
|
-
videoId: string;
|
|
11
|
-
file: File;
|
|
12
|
-
};
|
|
13
|
-
export declare const getVoiceoverSignedURLs: (data: GetSignedUrlsParams) => Promise<GetSignedUrlsResponse>;
|
|
14
|
-
export declare const uploadVoiceoverAudio: ({ data, }: UploadVoiceoverAudioParams) => Promise<any>;
|
|
15
|
-
export declare const addVoiceoverToVideo: ({ videoId, audioFileName, newVideoTitle, overwriteOriginal, }: {
|
|
16
|
-
videoId: string;
|
|
17
|
-
audioFileName: string;
|
|
18
|
-
newVideoTitle?: string | undefined;
|
|
19
|
-
overwriteOriginal?: boolean | undefined;
|
|
20
|
-
}) => Promise<any>;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
export type WTVListParams = {
|
|
2
|
-
limit?: number;
|
|
3
|
-
page?: number;
|
|
4
|
-
search?: string;
|
|
5
|
-
year?: number;
|
|
6
|
-
ascOrder?: boolean;
|
|
7
|
-
};
|
|
8
|
-
export type WTVListItem = {
|
|
9
|
-
wtvId: number;
|
|
10
|
-
year: string;
|
|
11
|
-
make: string;
|
|
12
|
-
model: string;
|
|
13
|
-
style: string;
|
|
14
|
-
trim: string;
|
|
15
|
-
wtvVideoId: string;
|
|
16
|
-
bodyStyle: string;
|
|
17
|
-
vehicleClass: string;
|
|
18
|
-
animatedGifPath: string;
|
|
19
|
-
createdAt: string;
|
|
20
|
-
};
|
|
21
|
-
export type WTVCopyParams = {
|
|
22
|
-
title: string;
|
|
23
|
-
flvName: string;
|
|
24
|
-
animatedGifPath: string;
|
|
25
|
-
year: number;
|
|
26
|
-
make: string;
|
|
27
|
-
model: string;
|
|
28
|
-
wtvId: number;
|
|
29
|
-
};
|
|
30
|
-
export declare const getWTVVideos: (props: WTVListParams) => Promise<{
|
|
31
|
-
count: number;
|
|
32
|
-
videos: WTVListItem[];
|
|
33
|
-
}>;
|
|
34
|
-
export declare const copyWTVVideo: (props: WTVCopyParams) => Promise<any>;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
type Props = {
|
|
3
|
-
padding?: string;
|
|
4
|
-
text?: string;
|
|
5
|
-
subtext?: string;
|
|
6
|
-
icon?: JSX.Element;
|
|
7
|
-
iconOther?: JSX.Element;
|
|
8
|
-
backgroundColor?: string;
|
|
9
|
-
borderColor?: string;
|
|
10
|
-
hoverBorderColor?: string;
|
|
11
|
-
fontSize?: string;
|
|
12
|
-
textColor?: string;
|
|
13
|
-
disabled?: boolean;
|
|
14
|
-
margin?: string;
|
|
15
|
-
width?: string;
|
|
16
|
-
height?: string;
|
|
17
|
-
type?: 'button' | 'submit' | 'reset' | undefined;
|
|
18
|
-
onClick?: (e?: React.SyntheticEvent | React.SyntheticEvent<Element, Event>) => void;
|
|
19
|
-
title?: string;
|
|
20
|
-
};
|
|
21
|
-
export declare const ButtonDropdown: ({ text, subtext, type, icon, iconOther, backgroundColor, borderColor, hoverBorderColor, textColor, disabled, margin, width, fontSize, padding, height, onClick, title, }: Props) => JSX.Element;
|
|
22
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
interface CheckboxI {
|
|
2
|
-
id?: string;
|
|
3
|
-
style?: object;
|
|
4
|
-
className?: string;
|
|
5
|
-
boxSize?: 'sm' | 'lg' | null;
|
|
6
|
-
onChange?: any;
|
|
7
|
-
onClick?: any;
|
|
8
|
-
checked?: boolean;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
name?: string;
|
|
11
|
-
blueCheck?: boolean;
|
|
12
|
-
grayCheck?: boolean;
|
|
13
|
-
checkGroupIndicator?: boolean;
|
|
14
|
-
width?: string;
|
|
15
|
-
ignoreGrayForAllSelect?: boolean;
|
|
16
|
-
isAutomotive?: boolean;
|
|
17
|
-
}
|
|
18
|
-
export declare const CheckboxInput: (props: CheckboxI) => JSX.Element;
|
|
19
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
type Props = {
|
|
3
|
-
disabled?: boolean;
|
|
4
|
-
light?: boolean;
|
|
5
|
-
zIndex?: boolean;
|
|
6
|
-
padding?: string;
|
|
7
|
-
marginTop?: string;
|
|
8
|
-
marginRight?: string;
|
|
9
|
-
onClick: () => void;
|
|
10
|
-
style?: React.CSSProperties;
|
|
11
|
-
};
|
|
12
|
-
export declare const CloseButton: React.MemoExoticComponent<({ disabled, onClick, light, zIndex, padding, marginTop, marginRight, style, }: Props) => JSX.Element>;
|
|
13
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const CountDown: ({ counter, willStart, onClick, hide, height, width, }: any) => JSX.Element;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface Props {
|
|
3
|
-
accept?: string;
|
|
4
|
-
cssInputClass?: string;
|
|
5
|
-
fileEncoding?: string;
|
|
6
|
-
inputStyle?: object;
|
|
7
|
-
onDrop: (e: any) => void;
|
|
8
|
-
text?: string;
|
|
9
|
-
height?: number;
|
|
10
|
-
width?: number;
|
|
11
|
-
marginTop?: number;
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
textStyle?: React.CSSProperties;
|
|
14
|
-
backgroundColor?: string;
|
|
15
|
-
buttonTextColor?: string;
|
|
16
|
-
showAddIcon?: boolean;
|
|
17
|
-
buttonBorder?: string;
|
|
18
|
-
placeholder?: string;
|
|
19
|
-
}
|
|
20
|
-
declare const DragAndDrop: ({ accept, inputStyle, onDrop, text, width, height, marginTop, disabled, textStyle, backgroundColor, placeholder, }: Props) => JSX.Element;
|
|
21
|
-
export default DragAndDrop;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { CSSProperties } from 'react';
|
|
2
|
-
type Props = {
|
|
3
|
-
options: {
|
|
4
|
-
value: any;
|
|
5
|
-
label: any;
|
|
6
|
-
}[];
|
|
7
|
-
value: {
|
|
8
|
-
value: any;
|
|
9
|
-
label: any;
|
|
10
|
-
};
|
|
11
|
-
onChange: (value: any) => void;
|
|
12
|
-
isSearchable: boolean;
|
|
13
|
-
extraStyles?: CSSProperties;
|
|
14
|
-
creatable?: boolean;
|
|
15
|
-
isClearable?: boolean;
|
|
16
|
-
disabled?: boolean;
|
|
17
|
-
maxMenuHeight?: number;
|
|
18
|
-
defaultValue?: {
|
|
19
|
-
value: any;
|
|
20
|
-
label: any;
|
|
21
|
-
};
|
|
22
|
-
placeholder?: string;
|
|
23
|
-
controlShouldRenderValue?: boolean;
|
|
24
|
-
customComponents?: {
|
|
25
|
-
Option: (props: any) => JSX.Element;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
export declare const Dropdown: ({ options, value, onChange, isSearchable, extraStyles, creatable, isClearable, disabled, maxMenuHeight, defaultValue, placeholder, controlShouldRenderValue, customComponents, }: Props) => JSX.Element;
|
|
29
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
type Props = {
|
|
3
|
-
hoverable: ReactNode;
|
|
4
|
-
popup: ReactNode;
|
|
5
|
-
className?: string;
|
|
6
|
-
position?: 'top' | 'bottom' | 'above' | 'bottom-left' | 'top-right' | 'top-left' | 'right' | 'below';
|
|
7
|
-
width?: string;
|
|
8
|
-
maxWidth?: string;
|
|
9
|
-
padding?: string;
|
|
10
|
-
disableHover?: boolean;
|
|
11
|
-
showTriangle?: boolean;
|
|
12
|
-
cursor?: string;
|
|
13
|
-
};
|
|
14
|
-
export declare const HoverPopup: ({ hoverable, className, popup, position, padding, width, maxWidth, disableHover, showTriangle, cursor, }: Props) => JSX.Element;
|
|
15
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
type Props = {
|
|
2
|
-
type?: string;
|
|
3
|
-
width?: string;
|
|
4
|
-
padding?: string;
|
|
5
|
-
borderColor?: string;
|
|
6
|
-
};
|
|
7
|
-
export declare const Input: import("styled-components").StyledComponent<"input", any, {
|
|
8
|
-
type: import("react").HTMLInputTypeAttribute;
|
|
9
|
-
} & Props, "type">;
|
|
10
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
type Props = {
|
|
2
|
-
isLoading?: boolean;
|
|
3
|
-
error?: boolean | null;
|
|
4
|
-
text?: string;
|
|
5
|
-
color?: string;
|
|
6
|
-
height?: number | string;
|
|
7
|
-
zIndex?: number;
|
|
8
|
-
onRetry?: () => void;
|
|
9
|
-
};
|
|
10
|
-
export declare const LoadingIndicator: ({ isLoading, error, text, color, height, zIndex, onRetry, }: Props) => JSX.Element;
|
|
11
|
-
export {};
|