react-covideo-embed 1.0.9 → 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.
Files changed (175) hide show
  1. package/package.json +2 -2
  2. package/build/app/App.d.ts +0 -3
  3. package/build/app/pages/insertVideo/InsertVideo.d.ts +0 -13
  4. package/build/app/pages/insertVideo/components/CopyVideoButton.d.ts +0 -13
  5. package/build/app/pages/insertVideo/components/InsertButton.d.ts +0 -13
  6. package/build/app/pages/insertVideo/components/InsertVideoSettings.d.ts +0 -17
  7. package/build/app/pages/insertVideo/components/VehicleSearch.d.ts +0 -13
  8. package/build/app/pages/insertVideo/components/index.d.ts +0 -2
  9. package/build/app/pages/lesaTV/LesaTV.d.ts +0 -1
  10. package/build/app/pages/lesaTV/components/PageInfo.d.ts +0 -7
  11. package/build/app/pages/lesaTV/components/Search.d.ts +0 -6
  12. package/build/app/pages/lesaTV/components/index.d.ts +0 -2
  13. package/build/app/pages/library/Library.d.ts +0 -5
  14. package/build/app/pages/library/components/NoVideos.d.ts +0 -6
  15. package/build/app/pages/library/components/PageInfo.d.ts +0 -7
  16. package/build/app/pages/library/components/Search.d.ts +0 -6
  17. package/build/app/pages/library/components/UserDropdown.d.ts +0 -6
  18. package/build/app/pages/library/components/VideoItem.d.ts +0 -9
  19. package/build/app/pages/library/components/VideoItemThumbnail.d.ts +0 -11
  20. package/build/app/pages/library/components/const.d.ts +0 -6
  21. package/build/app/pages/library/components/index.d.ts +0 -5
  22. package/build/app/pages/login/Login.d.ts +0 -5
  23. package/build/app/pages/merge/Merge.d.ts +0 -1
  24. package/build/app/pages/merge/components/Player.d.ts +0 -7
  25. package/build/app/pages/merge/components/VideoMerge.d.ts +0 -1
  26. package/build/app/pages/merge/components/VideoRow.d.ts +0 -1
  27. package/build/app/pages/merge/components/VideoThumbnail.d.ts +0 -1
  28. package/build/app/pages/previewUpload/PreviewUpload.d.ts +0 -2
  29. package/build/app/pages/record/both/RecordBoth.d.ts +0 -1
  30. package/build/app/pages/record/both/main/Main.d.ts +0 -1
  31. package/build/app/pages/record/cam/RecordCam.d.ts +0 -1
  32. package/build/app/pages/record/cam/main/Main.d.ts +0 -1
  33. package/build/app/pages/record/home/RecordHome.d.ts +0 -1
  34. package/build/app/pages/record/screen/RecordScreen.d.ts +0 -2
  35. package/build/app/pages/record/screen/main/Main.d.ts +0 -1
  36. package/build/app/pages/video/Upload.d.ts +0 -10
  37. package/build/app/pages/video/components/Preview.d.ts +0 -13
  38. package/build/app/pages/video/components/videoPlayer/VideoPlayer.d.ts +0 -29
  39. package/build/app/pages/video/components/videoPlayer/components/index.d.ts +0 -2
  40. package/build/app/pages/video/components/videoPlayer/components/onScreenPlayButton.d.ts +0 -10
  41. package/build/app/pages/video/components/videoPlayer/components/progressBar.d.ts +0 -10
  42. package/build/app/pages/video/components/videoPlayer/components/trim/Handle.d.ts +0 -15
  43. package/build/app/pages/video/components/videoPlayer/components/trim/SliderRail.d.ts +0 -7
  44. package/build/app/pages/video/components/videoPlayer/components/trim/Tick.d.ts +0 -9
  45. package/build/app/pages/video/components/videoPlayer/components/trim/TimelineRange.d.ts +0 -19
  46. package/build/app/pages/video/components/videoPlayer/components/trim/Track.d.ts +0 -10
  47. package/build/app/pages/video/components/videoPlayer/components/trim/Trim.d.ts +0 -13
  48. package/build/app/pages/video/components/videoPlayer/components/trim/VideoPreviewTrack.d.ts +0 -7
  49. package/build/app/pages/video/components/videoPlayer/components/videoControls.d.ts +0 -25
  50. package/build/app/pages/video/components/videoPlayer/index.d.ts +0 -1
  51. package/build/app/pages/video/videoDetails/components/AttributesFields.d.ts +0 -7
  52. package/build/app/pages/voiceover/Voiceover.d.ts +0 -1
  53. package/build/app/pages/voiceover/components/AudioRecorder.d.ts +0 -14
  54. package/build/app/pages/voiceover/components/VideoPreview.d.ts +0 -11
  55. package/build/app/pages/voiceover/components/util.d.ts +0 -1
  56. package/build/app/pages/wheelsTV/WheelsTV.d.ts +0 -1
  57. package/build/app/pages/wheelsTV/components/PageInfo.d.ts +0 -7
  58. package/build/app/pages/wheelsTV/components/Search.d.ts +0 -6
  59. package/build/app/pages/wheelsTV/components/index.d.ts +0 -2
  60. package/build/index.d.ts +0 -81
  61. package/build/index.js +0 -768
  62. package/build/index.js.LICENSE.txt +0 -81
  63. package/build/lib/api/attributesApi.d.ts +0 -8
  64. package/build/lib/api/authApi.d.ts +0 -11
  65. package/build/lib/api/designApi.d.ts +0 -86
  66. package/build/lib/api/index.d.ts +0 -9
  67. package/build/lib/api/inventoryApi.d.ts +0 -10
  68. package/build/lib/api/lesa/lesaKeys.d.ts +0 -6
  69. package/build/lib/api/lesa/useLesaTvVideosQuery.d.ts +0 -27
  70. package/build/lib/api/lesa/useLesaVideosMutation.d.ts +0 -8
  71. package/build/lib/api/multilocation/getUserLocations.d.ts +0 -12
  72. package/build/lib/api/multilocation/locationKeys.d.ts +0 -3
  73. package/build/lib/api/multilocation/signIntoLocation.d.ts +0 -10
  74. package/build/lib/api/quckshareApi.d.ts +0 -18
  75. package/build/lib/api/types.d.ts +0 -44
  76. package/build/lib/api/videoRequestApi.d.ts +0 -6
  77. package/build/lib/api/videoTagsApi.d.ts +0 -13
  78. package/build/lib/api/videosApi.d.ts +0 -64
  79. package/build/lib/api/voiceOverApi.d.ts +0 -20
  80. package/build/lib/api/wtvApi.d.ts +0 -34
  81. package/build/lib/components/ButtonDropdown.d.ts +0 -22
  82. package/build/lib/components/CheckboxInput.d.ts +0 -19
  83. package/build/lib/components/CloseButton.d.ts +0 -13
  84. package/build/lib/components/Container.d.ts +0 -9
  85. package/build/lib/components/CountDown.d.ts +0 -1
  86. package/build/lib/components/DragAndDrop.d.ts +0 -21
  87. package/build/lib/components/Dropdown.d.ts +0 -29
  88. package/build/lib/components/HoverPopup.d.ts +0 -15
  89. package/build/lib/components/Input.d.ts +0 -10
  90. package/build/lib/components/Label.d.ts +0 -6
  91. package/build/lib/components/LoadingIndicator.d.ts +0 -11
  92. package/build/lib/components/Logo.d.ts +0 -5
  93. package/build/lib/components/MainWrapper.d.ts +0 -6
  94. package/build/lib/components/PreviewVideoBar.d.ts +0 -8
  95. package/build/lib/components/RouteLeavingGuard.d.ts +0 -18
  96. package/build/lib/components/Spinner.d.ts +0 -6
  97. package/build/lib/components/TopBar.d.ts +0 -9
  98. package/build/lib/components/index.d.ts +0 -15
  99. package/build/lib/components/inputs/RadioInput.d.ts +0 -14
  100. package/build/lib/components/modal/Modal.d.ts +0 -13
  101. package/build/lib/components/modal/ModalQuickShareMarkAsSent.d.ts +0 -14
  102. package/build/lib/components/modal/ModalRecordingSettings.d.ts +0 -10
  103. package/build/lib/components/modals/Modal.d.ts +0 -14
  104. package/build/lib/components/modals/ModalInputText.d.ts +0 -11
  105. package/build/lib/components/modals/ModalLeave.d.ts +0 -15
  106. package/build/lib/components/modals/ModalPrompt.d.ts +0 -12
  107. package/build/lib/components/modals/ModalUpload.d.ts +0 -7
  108. package/build/lib/components/modals/ModalVideoPreview.d.ts +0 -7
  109. package/build/lib/components/toast-notifications/ToastNotification.d.ts +0 -5
  110. package/build/lib/components/toast-notifications/index.d.ts +0 -4
  111. package/build/lib/components/videoUpload/MultipleUploadList.d.ts +0 -8
  112. package/build/lib/components/videoUpload/VideoUpload.d.ts +0 -9
  113. package/build/lib/components/videoUpload/styles.d.ts +0 -11
  114. package/build/lib/config.d.ts +0 -22
  115. package/build/lib/const/AutomotiveRole.d.ts +0 -8
  116. package/build/lib/const/Folder.d.ts +0 -9
  117. package/build/lib/const/MarkAsSentOptions.d.ts +0 -14
  118. package/build/lib/const/PackageName.d.ts +0 -7
  119. package/build/lib/const/VideoActivity.d.ts +0 -16
  120. package/build/lib/const/VideoEmailStatus.d.ts +0 -7
  121. package/build/lib/const/VideoStatus.d.ts +0 -6
  122. package/build/lib/const/VideoType.d.ts +0 -15
  123. package/build/lib/const/index.d.ts +0 -5
  124. package/build/lib/context/ActionDispatchContext.d.ts +0 -4
  125. package/build/lib/context/AuthorizationContext.d.ts +0 -114
  126. package/build/lib/context/ConfigurationContext.d.ts +0 -52
  127. package/build/lib/context/actionCreators.d.ts +0 -37
  128. package/build/lib/context/authHandlers.d.ts +0 -2
  129. package/build/lib/context/authReducer.d.ts +0 -16
  130. package/build/lib/context/index.d.ts +0 -3
  131. package/build/lib/context/types.d.ts +0 -149
  132. package/build/lib/hooks/index.d.ts +0 -2
  133. package/build/lib/hooks/query/inventoryItem/index.d.ts +0 -1
  134. package/build/lib/hooks/query/inventoryItem/useGetInventoryItems.d.ts +0 -12
  135. package/build/lib/hooks/query/markAsSent/useQuickShareMarkAsSentMutation.d.ts +0 -28
  136. package/build/lib/hooks/useCopyClipboard.d.ts +0 -4
  137. package/build/lib/hooks/useCreateVideo.d.ts +0 -21
  138. package/build/lib/hooks/useEncodeVideo.d.ts +0 -16
  139. package/build/lib/hooks/useImageLoadRetry.d.ts +0 -10
  140. package/build/lib/hooks/useMediaRecorder.d.ts +0 -32
  141. package/build/lib/hooks/usePresignedUrl.d.ts +0 -16
  142. package/build/lib/hooks/useQueryFetch.d.ts +0 -16
  143. package/build/lib/hooks/useQueryState.d.ts +0 -22
  144. package/build/lib/hooks/useS3Upload.d.ts +0 -15
  145. package/build/lib/hooks/useVideoLoadRetry.d.ts +0 -12
  146. package/build/lib/hooks/useVideoStore.d.ts +0 -17
  147. package/build/lib/hooks/useVideoTranscriptionStart.d.ts +0 -9
  148. package/build/lib/images/AccountIcon.d.ts +0 -2
  149. package/build/lib/images/AddIcon.d.ts +0 -2
  150. package/build/lib/images/CarIcon.d.ts +0 -2
  151. package/build/lib/images/CheckmarkIcon.d.ts +0 -2
  152. package/build/lib/images/CloseCircleIcon.d.ts +0 -2
  153. package/build/lib/images/CloseIcon.d.ts +0 -2
  154. package/build/lib/images/DeleteIcon.d.ts +0 -2
  155. package/build/lib/images/Drag.d.ts +0 -2
  156. package/build/lib/images/HashtagIcon.d.ts +0 -2
  157. package/build/lib/images/LaptopIcon.d.ts +0 -2
  158. package/build/lib/images/LogoCDS.d.ts +0 -2
  159. package/build/lib/images/LogoGeneral.d.ts +0 -2
  160. package/build/lib/images/SaveIcon.d.ts +0 -2
  161. package/build/lib/images/SettingsIcon.d.ts +0 -2
  162. package/build/lib/images/SmallLogoIcon.d.ts +0 -2
  163. package/build/lib/images/VectorIcon.d.ts +0 -2
  164. package/build/lib/images/VideoIcon.d.ts +0 -2
  165. package/build/lib/images/ZoomInIcon.d.ts +0 -2
  166. package/build/lib/images/ZoomOutIcon.d.ts +0 -2
  167. package/build/lib/images/pauseButton.d.ts +0 -2
  168. package/build/lib/images/playButton.d.ts +0 -2
  169. package/build/lib/images/volumeOff.d.ts +0 -1
  170. package/build/lib/style/index.d.ts +0 -2
  171. package/build/lib/style/theme.d.ts +0 -121
  172. package/build/lib/utils/UseOnClickOutside.d.ts +0 -3
  173. package/build/lib/utils/automotiveRolePermissionChecks.d.ts +0 -7
  174. package/build/lib/utils/functions.d.ts +0 -22
  175. package/build/lib/utils/reactions.d.ts +0 -3
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- type Props = {
3
- children: JSX.Element | JSX.Element[];
4
- };
5
- export declare const MainWrapper: ({ children }: Props) => JSX.Element;
6
- export {};
@@ -1,8 +0,0 @@
1
- type PreviewProps = {
2
- onSaveVideo: Function;
3
- isSaveDisabled?: boolean;
4
- setInsertAfterSave: (arg: boolean) => void;
5
- uploadLoading: boolean;
6
- };
7
- export declare const PreviewVideoBar: ({ onSaveVideo, isSaveDisabled, setInsertAfterSave, uploadLoading, }: PreviewProps) => JSX.Element;
8
- export {};
@@ -1,18 +0,0 @@
1
- import { Location } from 'history';
2
- interface Props {
3
- when?: boolean | undefined;
4
- navigate?: (path: string) => void;
5
- shouldBlockNavigation: (location: Location) => boolean;
6
- onConfirm?: Function;
7
- onDiscard?: Function;
8
- onStay?: Function;
9
- stay?: Boolean;
10
- title?: string;
11
- text?: string;
12
- discardButtonText?: string;
13
- confirmButtonText?: string;
14
- showDiscardIcon?: boolean;
15
- showSaveIcon?: boolean;
16
- }
17
- declare const RouteLeavingGuard: ({ when, navigate, shouldBlockNavigation, onConfirm, onDiscard, onStay, stay, title, text, discardButtonText, confirmButtonText, showDiscardIcon, showSaveIcon, }: Props) => JSX.Element;
18
- export default RouteLeavingGuard;
@@ -1,6 +0,0 @@
1
- type Props = {
2
- size?: number;
3
- thickness?: number;
4
- };
5
- export declare const Spinner: import("styled-components").StyledComponent<"div", any, Props, never>;
6
- export {};
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- type Props = {
3
- left?: React.ReactNode;
4
- center?: React.ReactNode;
5
- right?: React.ReactNode;
6
- justify?: 'center' | 'space-between';
7
- };
8
- export declare const TopBar: ({ left, right, center }: Props) => JSX.Element;
9
- export {};
@@ -1,15 +0,0 @@
1
- export { Logo } from './Logo';
2
- export { TopBar } from './TopBar';
3
- export { Container } from './Container';
4
- export { Input } from './Input';
5
- export { ButtonDropdown } from './ButtonDropdown';
6
- export { Spinner } from './Spinner';
7
- export { LoadingIndicator } from './LoadingIndicator';
8
- export { Dropdown } from './Dropdown';
9
- export { CheckboxInput } from './CheckboxInput';
10
- export { RadioInput } from './inputs/RadioInput';
11
- export { Modal } from './modal/Modal';
12
- export { CloseButton } from './CloseButton';
13
- export { ModalRecordingSettings } from './modal/ModalRecordingSettings';
14
- export { ToastNotificationsProvider, useToastNotifications, } from './toast-notifications';
15
- export { MainWrapper } from './MainWrapper';
@@ -1,14 +0,0 @@
1
- import * as React from 'react';
2
- interface RadioProps {
3
- name: string;
4
- disabled?: boolean;
5
- text?: string | React.ReactNode;
6
- removePadding?: boolean;
7
- onChange?: (e?: any) => void;
8
- checked?: any;
9
- value: string | number | string[];
10
- onClick?: (e?: any) => void;
11
- checkedColor?: string;
12
- }
13
- export declare const RadioInput: (props: RadioProps) => JSX.Element;
14
- export {};
@@ -1,13 +0,0 @@
1
- import * as React from 'react';
2
- type Props = {
3
- children?: React.ReactNode;
4
- widthOnDesktop?: string | number;
5
- disableFullScreen?: boolean;
6
- style?: object;
7
- maxHeight?: string;
8
- overrideBodyHeight?: boolean;
9
- bodyOverflowY?: string;
10
- bodyOverflowX?: string;
11
- };
12
- export declare const Modal: ({ style, children, widthOnDesktop, disableFullScreen, maxHeight, overrideBodyHeight, bodyOverflowY, bodyOverflowX, }: Props) => JSX.Element;
13
- export {};
@@ -1,14 +0,0 @@
1
- import { VideoShareSetData } from 'app/pages/insertVideo/InsertVideo';
2
- import { IQuickShareMarkAsSentParams } from 'lib/hooks/query/markAsSent/useQuickShareMarkAsSentMutation';
3
- type Props = {
4
- handleModalClose: () => void;
5
- quickShareMarkAsSentHandler: (params: Omit<IQuickShareMarkAsSentParams, 'videoId'>) => void;
6
- isQuickShareLoading?: boolean;
7
- markAsSentPayload: Omit<IQuickShareMarkAsSentParams, 'videoId' | 'markAsSentConfirmed'>;
8
- getMarkAsSentPayload?: () => Promise<{
9
- videoShareSetData: VideoShareSetData;
10
- useAutomotive: boolean;
11
- }>;
12
- };
13
- export declare const ModalQuickShareMarkAsSent: ({ handleModalClose, quickShareMarkAsSentHandler, isQuickShareLoading, markAsSentPayload, getMarkAsSentPayload, }: Props) => JSX.Element;
14
- export {};
@@ -1,10 +0,0 @@
1
- type Props = {
2
- disabled?: boolean;
3
- title?: string;
4
- text?: any;
5
- handleModalClose: () => void;
6
- handleSubmit: (data: object) => void;
7
- initialSettings: any;
8
- };
9
- export declare const ModalRecordingSettings: ({ disabled, handleModalClose, handleSubmit, initialSettings, }: Props) => JSX.Element;
10
- export {};
@@ -1,14 +0,0 @@
1
- import * as React from 'react';
2
- type Props = {
3
- children?: React.ReactNode;
4
- widthOnDesktop?: string | number;
5
- disableFullScreen?: boolean;
6
- style?: object;
7
- maxHeight?: string;
8
- overrideBodyHeight?: boolean;
9
- bodyOverflowY?: string;
10
- bodyOverflowX?: string;
11
- onOutsideClick?: () => void;
12
- };
13
- export declare const Modal: ({ style, children, widthOnDesktop, disableFullScreen, maxHeight, overrideBodyHeight, bodyOverflowY, bodyOverflowX, onOutsideClick, }: Props) => JSX.Element;
14
- export {};
@@ -1,11 +0,0 @@
1
- type Props = {
2
- title: string;
3
- label: string;
4
- defaultValue: string;
5
- secondaryButtonText: string;
6
- primaryButtonText: string;
7
- handleSubmit: (value: string) => void;
8
- handleModalClose: () => void;
9
- };
10
- export declare const ModalInputText: ({ title, label, defaultValue, primaryButtonText, secondaryButtonText, handleModalClose, handleSubmit, }: Props) => JSX.Element;
11
- export {};
@@ -1,15 +0,0 @@
1
- type Props = {
2
- open?: boolean;
3
- disabled?: boolean;
4
- title?: string;
5
- discardButtonText?: string;
6
- confirmButtonText?: string;
7
- text?: string;
8
- showDiscardIcon?: boolean;
9
- showSaveIcon?: boolean;
10
- onClickDiscardButton: () => void;
11
- onClickConfirmButton: () => void;
12
- handleModalClose?: () => void;
13
- };
14
- export declare const ModalLeave: ({ open, disabled, title, text, discardButtonText, confirmButtonText, onClickDiscardButton, onClickConfirmButton, showDiscardIcon, showSaveIcon, handleModalClose, }: Props) => JSX.Element | null;
15
- export {};
@@ -1,12 +0,0 @@
1
- import React from 'react';
2
- type Props = {
3
- title: string;
4
- content: React.ReactNode;
5
- secondaryButtonText: string;
6
- primaryButtonText: string;
7
- handleSubmit: any;
8
- handleModalClose: () => void;
9
- primaryButtonType?: 'danger' | 'default';
10
- };
11
- export declare const ModalPrompt: ({ title, content, primaryButtonText, secondaryButtonText, handleModalClose, handleSubmit, primaryButtonType, }: Props) => JSX.Element;
12
- export {};
@@ -1,7 +0,0 @@
1
- type UploadProps = {
2
- handleModalClose: () => void;
3
- disabled?: boolean;
4
- onSuccess: (data: number[]) => void;
5
- };
6
- export declare const ModalUpload: ({ handleModalClose, disabled, onSuccess, }: UploadProps) => JSX.Element;
7
- export {};
@@ -1,7 +0,0 @@
1
- import { VideoListItem } from 'lib/api';
2
- type PreviewProps = {
3
- handleModalClose: () => void;
4
- video: VideoListItem;
5
- };
6
- export declare const ModalVideoPreview: ({ handleModalClose, video }: PreviewProps) => JSX.Element;
7
- export {};
@@ -1,5 +0,0 @@
1
- type Props = {
2
- message: string;
3
- };
4
- export declare const ToastNotification: (props: Props) => JSX.Element;
5
- export {};
@@ -1,4 +0,0 @@
1
- export function ToastNotificationsProvider({ children }: {
2
- children: any;
3
- }): JSX.Element;
4
- export function useToastNotifications(): any;
@@ -1,8 +0,0 @@
1
- import { IUploadingData } from './VideoUpload';
2
- type MultipleUploadProps = {
3
- progress: number;
4
- uploadingData: IUploadingData;
5
- setUploadingData: (arg: IUploadingData) => void;
6
- };
7
- export declare const MultipleUploadList: ({ progress, uploadingData, setUploadingData, }: MultipleUploadProps) => JSX.Element;
8
- export {};
@@ -1,9 +0,0 @@
1
- export interface IUploadingData {
2
- [key: string]: any;
3
- }
4
- type UploadProps = {
5
- handleModalClose: () => void;
6
- onSuccess: (data: number[]) => void;
7
- };
8
- declare const VideoUpload: ({ handleModalClose, onSuccess }: UploadProps) => JSX.Element;
9
- export default VideoUpload;
@@ -1,11 +0,0 @@
1
- export declare const Content: import("styled-components").StyledComponent<"div", any, {}, never>;
2
- export declare const ContentBody: import("styled-components").StyledComponent<"div", any, {}, never>;
3
- export declare const ContentFooter: import("styled-components").StyledComponent<"div", any, {}, never>;
4
- export declare const UploadFieldContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
5
- export declare const FlexContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
6
- export declare const Skill: import("styled-components").StyledComponent<"div", any, {}, never>;
7
- export declare const ProgressData: import("styled-components").StyledComponent<"div", any, {}, never>;
8
- export declare const ProgressContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
9
- export declare const UploadData: import("styled-components").StyledComponent<"div", any, {}, never>;
10
- export declare const UploadingHeader: import("styled-components").StyledComponent<"div", any, {}, never>;
11
- export declare const CancelContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -1,22 +0,0 @@
1
- import { AxiosInstance } from 'axios';
2
- export type ENVIRONMENT = 'development' | 'sandbox' | 'production';
3
- export declare enum COOKIE_NAMES {
4
- jwt = "react-covideo-embed-jwt",
5
- merge = "react-covideo-merge",
6
- recordSettings = "record_settings",
7
- recordError = "react-covideo-record-error"
8
- }
9
- export declare let token: any;
10
- export declare let apiExpress: string;
11
- export declare let apiKey: string | undefined;
12
- export declare const updateToken: (tokenNew: string, hasExternalJwt?: boolean) => void;
13
- export declare const updateEnv: (env: ENVIRONMENT) => void;
14
- export declare const updateApiKey: (key: string | undefined) => void;
15
- export declare let options: {
16
- headers: {
17
- "React-Covideo-Embed-Version": string | undefined;
18
- ApiKey?: string | undefined;
19
- Authorization: string;
20
- };
21
- };
22
- export declare const EXPRESS_API: AxiosInstance;
@@ -1,8 +0,0 @@
1
- export declare enum AutomotiveRole {
2
- NO_ROLE = "0",
3
- TECHNICIAN = "1",
4
- SERVICE_ADVISOR = "2",
5
- SERVICE_MANAGER = "3",
6
- SALESPERSON = "4",
7
- SALES_MANAGER = "5"
8
- }
@@ -1,9 +0,0 @@
1
- export declare const DEFAULT_FOLDER_NAMES: {
2
- EMPTY: string;
3
- COMPANY: string;
4
- PRIMARY: string;
5
- PRIVATE: string;
6
- VAULT: string;
7
- };
8
- export declare const COMPANY_FOLDER_ID = -1;
9
- export declare const SHARED_FOLDER_PREFIX = "~~shared~~";
@@ -1,14 +0,0 @@
1
- export declare const MarkAsSentOptions: {
2
- ASK_VERY_TIME: {
3
- label: string;
4
- value: number;
5
- };
6
- NEVER: {
7
- label: string;
8
- value: number;
9
- };
10
- ALWAYS: {
11
- label: string;
12
- value: number;
13
- };
14
- };
@@ -1,7 +0,0 @@
1
- export declare enum PackageName {
2
- LEGACY = 0,
3
- FREE = 1,
4
- PRO = 2,
5
- TEAMS = 3,
6
- ENTERPRISE = 4
7
- }
@@ -1,16 +0,0 @@
1
- export declare enum VIDE0_ACTIVITY_TYPE {
2
- QUOTE_SEND = "Quote-Send",
3
- OPENED_EMAIL = "Opened-Email",
4
- WATCHED_VIDEO = "Watched-Video",
5
- APPROVED_ITEMS = "Approved-Items",
6
- UPDATE_QUOTE = "Update-Quote",
7
- RECORDED_VIDEO = "Recorded-Video",
8
- APPROVED_VIDEO = "Approved-Video",
9
- DENIED_VIDEO = "Denied-Video",
10
- DELETE_VIDEO = "Delete-Video",
11
- QUOTE_RESEND = "Quote-Resend",
12
- UPDATE_RO = "RO-Update",
13
- QUICKSHARE = "Quickshare",
14
- CRM_SHARE = "Crm-Share",
15
- WATCHED_VIDEO_UNKNOWN = "WATCHED_VIDEO_UNKNOWN"
16
- }
@@ -1,7 +0,0 @@
1
- export declare enum VideoEmailStatus {
2
- NoStatus = "",
3
- NotSent = "not_sent",
4
- Sent = "sent",
5
- Watched = "watched",
6
- Deleted = "deleted"
7
- }
@@ -1,6 +0,0 @@
1
- export declare enum VideoStatus {
2
- NoStatus = "",
3
- Pending = "pending",
4
- Denied = "denied",
5
- Approved = "approved"
6
- }
@@ -1,15 +0,0 @@
1
- export declare enum VideoTypeSales {
2
- NoType = "",
3
- Marketing = "Marketing",
4
- Prospecting = "Prospecting",
5
- RespondToInquiry = "Respond to Inquiry",
6
- ThanksForYourBusiness = "Thanks For Your Business"
7
- }
8
- export declare enum VideoType {
9
- NoType = "",
10
- AdditionalRepair = "Additional Repair",
11
- RepairInquiry = "Repair inquiry",
12
- RegularService = "Regular service",
13
- ServiceReminder = "Service reminder",
14
- QuoteRequest = "Quote request"
15
- }
@@ -1,5 +0,0 @@
1
- export { VideoStatus } from './VideoStatus';
2
- export { VideoEmailStatus } from './VideoEmailStatus';
3
- export { VideoTypeSales } from './VideoType';
4
- export { VideoType } from './VideoType';
5
- export { PackageName } from './PackageName';
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const ActionDispatchContext: import("react").Context<any>;
3
- export declare const ActionDispatchProvider: ({ children }: any) => JSX.Element;
4
- export declare const useActionDispatchContextState: () => any;
@@ -1,114 +0,0 @@
1
- import React, { ReactNode } from 'react';
2
- import { GlobalAction } from './types';
3
- interface Intercom {
4
- app_id: string;
5
- name: string;
6
- email: string;
7
- user_id: number;
8
- user_hash: string;
9
- cv_user_id: number;
10
- free_trial: boolean;
11
- signup_date: string;
12
- purchase_date: string;
13
- customer_id: number;
14
- customer_name: string;
15
- reseller_id: number;
16
- reseller_name: string;
17
- auto: boolean;
18
- admin: boolean;
19
- resellerAdmin: boolean;
20
- user_active: boolean;
21
- last_active: string;
22
- v1: boolean;
23
- v2: boolean;
24
- v3: boolean;
25
- }
26
- declare enum VideoQualityType {
27
- 'FHD' = "1080",
28
- '4K' = "4096"
29
- }
30
- declare enum VideoEditingType {
31
- 'Basic' = "Basic",
32
- 'Advanced' = "Advanced"
33
- }
34
- export interface PackageProduct {
35
- id: number;
36
- name: string;
37
- value?: string;
38
- }
39
- export interface PackageDetails {
40
- id: number;
41
- stripePackageId: string;
42
- products: {
43
- [key: number]: PackageProduct;
44
- };
45
- maxVideosCreated: number;
46
- monthlyVideos: number;
47
- maxLength: number;
48
- maxQuality: VideoQualityType;
49
- editingType: VideoEditingType;
50
- }
51
- export interface UserData {
52
- user?: any;
53
- uid: string;
54
- userId: string;
55
- customerId: string;
56
- resellerId: string;
57
- firstName: string;
58
- lastName: string;
59
- eleadEnabled: boolean;
60
- admin: boolean | string;
61
- resellerAdmin: boolean | string;
62
- trial: boolean;
63
- notifyMe: boolean;
64
- access: string;
65
- verified: number;
66
- captions: boolean;
67
- vin: boolean;
68
- iat: number;
69
- exp: number;
70
- intercom: Intercom;
71
- showWelcome: boolean;
72
- salesforceIntegration: boolean;
73
- autoTranscribe: boolean;
74
- wheelsTV: boolean;
75
- webEmailEnabled: Boolean;
76
- allowDelete: Boolean;
77
- webShare: Boolean;
78
- timeZone: string;
79
- isCompanyAdmin: boolean;
80
- reseller?: {
81
- dealer: number;
82
- customerId: string;
83
- resellerReportingEnabled: number;
84
- };
85
- videoCount: number;
86
- totalLogins: number;
87
- droplrAccess: boolean;
88
- affiliateAccess: boolean;
89
- customer?: any;
90
- email: string;
91
- phone1: string;
92
- onboarded?: boolean;
93
- transcriptionAccess?: boolean;
94
- playButtonPosition?: string;
95
- signupDate?: string;
96
- trialAccount: boolean;
97
- automotiveRole: string;
98
- vdpEnabled: boolean;
99
- markVideosAsSent: number | null;
100
- reactionsPreference: number | null;
101
- }
102
- export interface IContextProps {
103
- userData: UserData;
104
- jwt: string | undefined;
105
- setJwt: (jwt: string | undefined) => void;
106
- dispatch?: React.Dispatch<GlobalAction>;
107
- }
108
- type Props = {
109
- initialUser?: any;
110
- children: ReactNode;
111
- };
112
- export declare const AuthorizationContextProvider: ({ initialUser, children, }: Props) => JSX.Element;
113
- export declare const useAuthorizationContext: () => IContextProps;
114
- export {};
@@ -1,52 +0,0 @@
1
- import { ENVIRONMENT } from 'lib/config';
2
- import { ReactNode } from 'react';
3
- interface ConfigurationProviderProps {
4
- token?: string;
5
- env?: ENVIRONMENT;
6
- onVideoInsert?: (shareData: {
7
- url: string;
8
- thumbnail: string;
9
- html: string;
10
- token: string;
11
- }) => void;
12
- onVideoInsertError?: (error: unknown) => void;
13
- children?: ReactNode;
14
- hideFeatures?: string[];
15
- apikey?: string;
16
- onRecordButtonClick?: (data: {
17
- token: string;
18
- }) => void;
19
- onUploadButtonClick?: (data: {
20
- token: string;
21
- }) => void;
22
- reRender: () => void;
23
- }
24
- type ShowFeature = {
25
- showInsertFeature: boolean;
26
- showRecordScreenFeature: boolean;
27
- showRecordBothFeature: boolean;
28
- showRecordCamFeature: boolean;
29
- showRecordFeature: boolean;
30
- showUploadFeature: boolean;
31
- showTrimFeature: boolean;
32
- showMergeFeature: boolean;
33
- showWheelsTVFeature: boolean;
34
- showVoiceoverFeature: boolean;
35
- showQuickshareFeature: boolean;
36
- showFolderFeature: boolean;
37
- showLandingPageFeature: boolean;
38
- showCTAFeature: boolean;
39
- showReactionsFeature: boolean;
40
- showAiAssistFeature: boolean;
41
- showUpgradeMessageFeature: boolean;
42
- showLesaTVFeature: boolean;
43
- showMultiLocationFeature: boolean;
44
- };
45
- type IConfigurationContext = ConfigurationProviderProps & ShowFeature & {
46
- hasExternalJwt: boolean;
47
- containerWidth: number;
48
- containerHeight: number;
49
- };
50
- export declare const ConfigurationProvider: React.FC<ConfigurationProviderProps>;
51
- export declare const useConfigurationContext: () => IConfigurationContext;
52
- export {};
@@ -1,37 +0,0 @@
1
- interface ActionTypeRequest {
2
- type: string;
3
- meta?: any;
4
- }
5
- interface ActionTypeSuccess {
6
- type: string;
7
- payload?: any;
8
- meta?: any;
9
- }
10
- interface ActionTypeFailure {
11
- type: string;
12
- payload?: any;
13
- meta?: any;
14
- error?: boolean | null;
15
- }
16
- export interface ActionType {
17
- type: string;
18
- payload?: any;
19
- meta?: any;
20
- error?: boolean | null;
21
- }
22
- export declare const requestActionCreator: ({ type, meta }: ActionTypeRequest) => {
23
- type: string;
24
- meta: any;
25
- };
26
- export declare const successActionCreator: ({ type, payload, meta, }: ActionTypeSuccess) => {
27
- type: string;
28
- payload: any;
29
- meta: any;
30
- };
31
- export declare const failureActionCreator: ({ type, payload, meta, error, }: ActionTypeFailure) => {
32
- type: string;
33
- payload: any;
34
- meta: any;
35
- error: boolean | null;
36
- };
37
- export {};
@@ -1,2 +0,0 @@
1
- export declare const getUser: ({ dispatch }: any) => Promise<void>;
2
- export declare const updateUser: ({ userId, dispatch }: any) => Promise<void>;
@@ -1,16 +0,0 @@
1
- import { IContextProps } from './AuthorizationContext';
2
- type GlobalAction = {
3
- continueLoading?: boolean;
4
- type: string;
5
- payload?: any;
6
- error?: string;
7
- pathname?: string;
8
- };
9
- export declare const authReducer: (state: IContextProps, action: GlobalAction) => IContextProps;
10
- export declare const AUTH_ACTIONS: {
11
- JWT_DECODED: string;
12
- GET_USER_START: string;
13
- GET_USER_ERROR: string;
14
- GET_USER_SUCCESS: string;
15
- };
16
- export {};
@@ -1,3 +0,0 @@
1
- export * from './types';
2
- export * from './AuthorizationContext';
3
- export * from './authReducer';