@myinterview/widget-react 1.0.37-beta-13881bb → 1.0.39-beta-74de287

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 (103) hide show
  1. package/dist/esm/index.js +1730 -1647
  2. package/dist/esm/index.js.map +1 -1
  3. package/dist/esm/{App.d.ts → types/App.d.ts} +0 -0
  4. package/dist/esm/{components → types/components}/CountDown.d.ts +0 -0
  5. package/dist/esm/{components → types/components}/Counter.d.ts +0 -0
  6. package/dist/esm/{components → types/components}/DeviceSelector.d.ts +0 -0
  7. package/dist/esm/{components → types/components}/DeviceSelectorList.d.ts +0 -0
  8. package/dist/esm/{components → types/components}/DeviceSelectorListNative.d.ts +0 -0
  9. package/dist/esm/{components → types/components}/Error.d.ts +0 -0
  10. package/dist/esm/{components → types/components}/ErrorBoundaries.d.ts +0 -0
  11. package/dist/esm/{components → types/components}/Errors.d.ts +2 -2
  12. package/dist/esm/{components → types/components}/Explanation.d.ts +0 -0
  13. package/dist/esm/{components → types/components}/Footer.d.ts +0 -0
  14. package/dist/esm/{components → types/components}/Header.d.ts +0 -0
  15. package/dist/esm/{components → types/components}/InnerView.d.ts +0 -0
  16. package/dist/esm/{components → types/components}/Main.d.ts +1 -0
  17. package/dist/esm/{components → types/components}/OuterView.d.ts +0 -0
  18. package/dist/esm/{components → types/components}/PermissionSteps.d.ts +0 -0
  19. package/dist/esm/types/components/PracticeModeInfo.d.ts +2 -0
  20. package/dist/esm/{components → types/components}/PreviewItem.d.ts +0 -0
  21. package/dist/esm/{components → types/components}/PreviewList.d.ts +0 -0
  22. package/dist/esm/{components → types/components}/Question.d.ts +0 -0
  23. package/dist/esm/{components → types/components}/QuestionItem.d.ts +0 -0
  24. package/dist/esm/{components → types/components}/QuestionsList.d.ts +0 -0
  25. package/dist/esm/{components → types/components}/RecorderModal.d.ts +0 -0
  26. package/dist/esm/{components → types/components}/Setup.d.ts +0 -0
  27. package/dist/esm/{components → types/components}/SetupChecks.d.ts +0 -0
  28. package/dist/esm/{components → types/components}/SliderModal.d.ts +0 -0
  29. package/dist/esm/{components → types/components}/TopTips.d.ts +0 -0
  30. package/dist/esm/{components → types/components}/Upload.d.ts +0 -0
  31. package/dist/esm/{components → types/components}/VideoCamera.d.ts +0 -0
  32. package/dist/esm/{components → types/components}/VideoQuestion.d.ts +0 -0
  33. package/dist/esm/{components → types/components}/VideoTimeBar.d.ts +0 -0
  34. package/dist/esm/{components → types/components}/WelcomePage.d.ts +0 -0
  35. package/dist/esm/{components → types/components}/Widget.d.ts +0 -0
  36. package/dist/esm/{components → types/components}/icons/ClockIcon.d.ts +0 -0
  37. package/dist/esm/{components → types/components}/icons/Loading.d.ts +0 -0
  38. package/dist/esm/{components → types/components}/icons/NoCameraMic.d.ts +0 -0
  39. package/dist/esm/{components → types/components}/icons/PlayIcon.d.ts +0 -0
  40. package/dist/esm/{components → types/components}/icons/Retake.d.ts +0 -0
  41. package/dist/esm/{components → types/components}/icons/RotateScreenIcon.d.ts +0 -0
  42. package/dist/esm/{components → types/components}/ui/Loader.d.ts +0 -0
  43. package/dist/esm/{components → types/components}/ui/MicrophoneIndicator.d.ts +0 -0
  44. package/dist/esm/{components → types/components}/ui/MinimizeButton.d.ts +0 -0
  45. package/dist/esm/{components → types/components}/ui/PracticeMode.d.ts +0 -0
  46. package/dist/esm/{components → types/components}/ui/Progress.d.ts +0 -0
  47. package/dist/esm/{components → types/components}/ui/QuestionDuration.d.ts +0 -0
  48. package/dist/esm/{components → types/components}/ui/QuestionNumber.d.ts +0 -0
  49. package/dist/esm/{components → types/components}/ui/RecordingButton.d.ts +0 -0
  50. package/dist/esm/{components → types/components}/ui/RotateScreen.d.ts +0 -0
  51. package/dist/esm/{components → types/components}/ui/Signal.d.ts +0 -0
  52. package/dist/esm/{components → types/components}/ui/StartNowButton.d.ts +0 -0
  53. package/dist/esm/{components → types/components}/ui/StartRecordingButton.d.ts +0 -0
  54. package/dist/esm/{components → types/components}/ui/StopRecordingButton.d.ts +0 -0
  55. package/dist/esm/{components → types/components}/ui/UnsupportedModal.d.ts +0 -0
  56. package/dist/esm/{config → types/config}/index.d.ts +0 -0
  57. package/dist/esm/{config → types/config}/local.env.d.ts +0 -0
  58. package/dist/esm/{config → types/config}/prod.env.d.ts +0 -0
  59. package/dist/esm/{config → types/config}/staging.env.d.ts +0 -0
  60. package/dist/esm/{i18n → types/i18n}/config.d.ts +318 -0
  61. package/dist/esm/{index.d.ts → types/index.d.ts} +0 -0
  62. package/dist/esm/{interfaces → types/interfaces}/candidateInterface.d.ts +0 -0
  63. package/dist/esm/{interfaces → types/interfaces}/candidateSessionInterface.d.ts +1 -1
  64. package/dist/esm/{interfaces → types/interfaces}/companyInterface.d.ts +0 -0
  65. package/dist/esm/{interfaces → types/interfaces}/configInterface.d.ts +5 -4
  66. package/dist/esm/{interfaces → types/interfaces}/jobInterface.d.ts +2 -2
  67. package/dist/esm/{interfaces → types/interfaces}/microphoneInterface.d.ts +0 -0
  68. package/dist/esm/{interfaces → types/interfaces}/networkInterface.d.ts +0 -0
  69. package/dist/esm/{interfaces → types/interfaces}/previewInterface.d.ts +0 -0
  70. package/dist/esm/{interfaces → types/interfaces}/recorderInterface.d.ts +2 -2
  71. package/dist/esm/{interfaces → types/interfaces}/storageInterface.d.ts +0 -0
  72. package/dist/esm/{interfaces → types/interfaces}/uploaderInterface.d.ts +0 -0
  73. package/dist/esm/{interfaces → types/interfaces}/videoInterface.d.ts +0 -0
  74. package/dist/esm/{interfaces → types/interfaces}/widgetInterface.d.ts +5 -5
  75. package/dist/esm/{machines → types/machines}/acceleratorMachines/accUploaderMachine.d.ts +0 -0
  76. package/dist/esm/{machines → types/machines}/acceleratorMachines/accWidgetMachine.d.ts +0 -0
  77. package/dist/esm/{machines → types/machines}/acceleratorMachines/microphoneMachine.d.ts +0 -6
  78. package/dist/esm/{machines → types/machines}/acceleratorMachines/networkMachine.d.ts +0 -0
  79. package/dist/esm/{machines → types/machines}/acceleratorMachines/previewMachine.d.ts +0 -0
  80. package/dist/esm/{machines → types/machines}/acceleratorMachines/recorderMachineV2.d.ts +0 -0
  81. package/dist/esm/{machines → types/machines}/acceleratorMachines/storageMachine.d.ts +0 -0
  82. package/dist/esm/{reportWebVitals.d.ts → types/reportWebVitals.d.ts} +0 -0
  83. package/dist/esm/{services → types/services}/axiosInstances.service.d.ts +0 -0
  84. package/dist/esm/{services → types/services}/s3.service.d.ts +0 -0
  85. package/dist/esm/{services → types/services}/session.service.d.ts +1 -1
  86. package/dist/esm/{services → types/services}/speedTest.service.d.ts +0 -0
  87. package/dist/esm/{services → types/services}/video.service.d.ts +0 -0
  88. package/dist/esm/{setupTests.d.ts → types/setupTests.d.ts} +0 -0
  89. package/dist/esm/{utils → types/utils}/authToken.utils.d.ts +0 -0
  90. package/dist/esm/{utils → types/utils}/constants.utils.d.ts +0 -0
  91. package/dist/esm/{utils → types/utils}/debug.utils.d.ts +0 -0
  92. package/dist/esm/{utils → types/utils}/device.utils.d.ts +1 -1
  93. package/dist/esm/{utils → types/utils}/errors.utils.d.ts +0 -0
  94. package/dist/esm/{utils → types/utils}/formatters.utils.d.ts +0 -0
  95. package/dist/esm/types/utils/languages.utils.d.ts +1 -0
  96. package/dist/esm/{utils → types/utils}/messages.utils.d.ts +0 -0
  97. package/dist/esm/{utils → types/utils}/practiceQuestions.utils.d.ts +0 -0
  98. package/dist/esm/{utils → types/utils}/recorderErrors.utils.d.ts +0 -0
  99. package/dist/esm/{utils → types/utils}/sentry.utils.d.ts +0 -0
  100. package/dist/esm/{utils → types/utils}/statusCodes.utils.d.ts +0 -0
  101. package/dist/index.d.ts +7 -6
  102. package/package.json +1 -1
  103. package/dist/esm/components/PracticeModeInfo.d.ts +0 -8
File without changes
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
  import { IVideoCorruptedMessagesKey } from '../interfaces/widgetInterface';
3
3
  import { IDeviceSelectorList } from './DeviceSelectorList';
4
- export type VIDEO_ERRORS = Exclude<IVideoCorruptedMessagesKey, 'NO_ERROR'>;
5
- export type MODAL_ERROR_KEY = 'MEDIA_PERMISSION' | 'NO_SOUND' | 'CONNECTION' | VIDEO_ERRORS;
4
+ export declare type VIDEO_ERRORS = Exclude<IVideoCorruptedMessagesKey, 'NO_ERROR'>;
5
+ export declare type MODAL_ERROR_KEY = 'MEDIA_PERMISSION' | 'NO_SOUND' | 'CONNECTION' | VIDEO_ERRORS;
6
6
  interface IProps extends Partial<IDeviceSelectorList> {
7
7
  errorType: MODAL_ERROR_KEY;
8
8
  onDisplayPermissionSteps?: () => void;
@@ -5,6 +5,7 @@ interface IProps {
5
5
  setShouldShowWaterMark: React.Dispatch<React.SetStateAction<boolean>>;
6
6
  myinterviewRef: React.RefObject<HTMLDivElement>;
7
7
  isWidgetMinimized: boolean;
8
+ onMinimize: () => void;
8
9
  }
9
10
  export declare const Main: React.FC<IProps>;
10
11
  export {};
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const PracticeModeInfo: React.FC;
File without changes
File without changes
File without changes
@@ -1,5 +1,164 @@
1
1
  import i18n from 'i18next';
2
2
  export declare const resources: {
3
+ readonly ar: {
4
+ readonly translation: {
5
+ welcome: {
6
+ welcome: string;
7
+ startInterview: string;
8
+ resumeInterview: string;
9
+ see_more: string;
10
+ see_less: string;
11
+ click: string;
12
+ terms: string;
13
+ and: string;
14
+ privacy: string;
15
+ };
16
+ top_tips: {
17
+ top_tips: string;
18
+ title: string;
19
+ tip_1: string;
20
+ tip_2: string;
21
+ tip_3: string;
22
+ tip_4: string;
23
+ tip_5: string;
24
+ tip_6: string;
25
+ tip_7: string;
26
+ };
27
+ setup: {
28
+ title: string;
29
+ rotate: string;
30
+ permission_denied: string;
31
+ camera: {
32
+ name: string;
33
+ WAITING: string;
34
+ ERROR: string;
35
+ READY: string;
36
+ };
37
+ microphone: {
38
+ name: string;
39
+ WAITING: string;
40
+ ERROR: string;
41
+ READY: string;
42
+ };
43
+ internet: {
44
+ name: string;
45
+ TESTING: string;
46
+ SLOW: string;
47
+ CONNECTED: string;
48
+ NO_CONNECTED: string;
49
+ };
50
+ unsupported_device: {
51
+ IOS: string;
52
+ BROWSER: string;
53
+ INCOGNITO: string;
54
+ };
55
+ };
56
+ time: {
57
+ minuteLeft_one: string;
58
+ minuteLeft_other: string;
59
+ minute_one: string;
60
+ minute_other: string;
61
+ second_one: string;
62
+ second_other: string;
63
+ };
64
+ practice: {
65
+ title: string;
66
+ subtitle: string;
67
+ label: string;
68
+ };
69
+ preview: {
70
+ title: string;
71
+ singleTake: string;
72
+ take: string;
73
+ };
74
+ upload: {
75
+ title: string;
76
+ subtitle: string;
77
+ errorInfo: string;
78
+ };
79
+ questionList: {
80
+ name: string;
81
+ };
82
+ recorder: {
83
+ explanation: {
84
+ take_one: string;
85
+ take_other: string;
86
+ remaining_take_one: string;
87
+ remaining_take_other: string;
88
+ question: {
89
+ name: string;
90
+ title: string;
91
+ questionThinkingTime: string;
92
+ videoQuestionThinkingTime: string;
93
+ videoQuestionNoThinkingTime: string;
94
+ showQuestion_btn: string;
95
+ watchQuestion_btn: string;
96
+ };
97
+ };
98
+ errors: {
99
+ MEDIA_PERMISSION: {
100
+ TITLE: string;
101
+ DETAILS: string;
102
+ CTA: string;
103
+ };
104
+ NO_SOUND: {
105
+ TITLE: string;
106
+ DETAILS: string;
107
+ DETAILS_MOBILE: string;
108
+ CTA: string;
109
+ };
110
+ CONNECTION: {
111
+ TITLE: string;
112
+ DETAILS: string;
113
+ };
114
+ };
115
+ permissions: {
116
+ title: string;
117
+ subtitle: string;
118
+ permission: string;
119
+ PERMISSION_STEPS: {
120
+ IOS: {
121
+ CHROME: string[];
122
+ SAFARI: string[];
123
+ };
124
+ ANDROID: {
125
+ CHROME: string[];
126
+ SAMSUNG: string[];
127
+ };
128
+ MACBOOK: {
129
+ CHROME: string[];
130
+ SAFARI: string[];
131
+ FIREFOX: string[];
132
+ };
133
+ WINDOWS: {
134
+ CHROME: string[];
135
+ FIREFOX: string[];
136
+ };
137
+ };
138
+ };
139
+ };
140
+ buttons: {
141
+ btn_watch_question: string;
142
+ btn_show_question: string;
143
+ btn_start_recording: string;
144
+ btn_stop_recording: string;
145
+ btn_try_again: string;
146
+ btn_internet_test_again: string;
147
+ btn_practice: string;
148
+ btn_start: string;
149
+ btn_retry: string;
150
+ btn_start_now: string;
151
+ RETAKE: string;
152
+ NEXT: string;
153
+ SUBMIT: string;
154
+ READY: string;
155
+ };
156
+ layout: {
157
+ footer: string;
158
+ at: string;
159
+ };
160
+ };
161
+ };
3
162
  readonly cn: {
4
163
  readonly translation: {
5
164
  welcome: {
@@ -819,6 +978,165 @@ export declare const resources: {
819
978
  };
820
979
  };
821
980
  };
981
+ readonly he: {
982
+ readonly translation: {
983
+ welcome: {
984
+ welcome: string;
985
+ startInterview: string;
986
+ resumeInterview: string;
987
+ see_more: string;
988
+ see_less: string;
989
+ click: string;
990
+ terms: string;
991
+ and: string;
992
+ privacy: string;
993
+ };
994
+ top_tips: {
995
+ top_tips: string;
996
+ title: string;
997
+ tip_1: string;
998
+ tip_2: string;
999
+ tip_3: string;
1000
+ tip_4: string;
1001
+ tip_5: string;
1002
+ tip_6: string;
1003
+ tip_7: string;
1004
+ };
1005
+ setup: {
1006
+ title: string;
1007
+ rotate: string;
1008
+ permission_denied: string;
1009
+ camera: {
1010
+ name: string;
1011
+ WAITING: string;
1012
+ ERROR: string;
1013
+ READY: string;
1014
+ };
1015
+ microphone: {
1016
+ name: string;
1017
+ WAITING: string;
1018
+ ERROR: string;
1019
+ READY: string;
1020
+ };
1021
+ internet: {
1022
+ name: string;
1023
+ TESTING: string;
1024
+ SLOW: string;
1025
+ CONNECTED: string;
1026
+ NO_CONNECTED: string;
1027
+ };
1028
+ unsupported_device: {
1029
+ IOS: string;
1030
+ BROWSER: string;
1031
+ INCOGNITO: string;
1032
+ };
1033
+ };
1034
+ time: {
1035
+ minuteLeft_one: string;
1036
+ minuteLeft_other: string;
1037
+ minute_one: string;
1038
+ minute_other: string;
1039
+ second_one: string;
1040
+ second_other: string;
1041
+ };
1042
+ practice: {
1043
+ title: string;
1044
+ subtitle: string;
1045
+ label: string;
1046
+ };
1047
+ preview: {
1048
+ title: string;
1049
+ singleTake: string;
1050
+ take: string;
1051
+ };
1052
+ upload: {
1053
+ title: string;
1054
+ subtitle: string;
1055
+ errorInfo: string;
1056
+ };
1057
+ questionList: {
1058
+ name: string;
1059
+ };
1060
+ recorder: {
1061
+ explanation: {
1062
+ take_one: string;
1063
+ take_other: string;
1064
+ remaining_take_one: string;
1065
+ remaining_take_other: string;
1066
+ question: {
1067
+ name: string;
1068
+ title: string;
1069
+ questionThinkingTime: string;
1070
+ videoQuestionThinkingTime: string;
1071
+ videoQuestionNoThinkingTime: string;
1072
+ showQuestion_btn: string;
1073
+ watchQuestion_btn: string;
1074
+ };
1075
+ };
1076
+ errors: {
1077
+ MEDIA_PERMISSION: {
1078
+ TITLE: string;
1079
+ DETAILS: string;
1080
+ CTA: string;
1081
+ };
1082
+ NO_SOUND: {
1083
+ TITLE: string;
1084
+ DETAILS: string;
1085
+ DETAILS_MOBILE: string;
1086
+ CTA: string;
1087
+ };
1088
+ CONNECTION: {
1089
+ TITLE: string;
1090
+ DETAILS: string;
1091
+ };
1092
+ };
1093
+ permissions: {
1094
+ title: string;
1095
+ subtitle: string;
1096
+ permission: string;
1097
+ PERMISSION_STEPS: {
1098
+ IOS: {
1099
+ CHROME: string[];
1100
+ SAFARI: string[];
1101
+ };
1102
+ ANDROID: {
1103
+ CHROME: string[];
1104
+ SAMSUNG: string[];
1105
+ };
1106
+ MACBOOK: {
1107
+ CHROME: string[];
1108
+ SAFARI: string[];
1109
+ FIREFOX: string[];
1110
+ };
1111
+ WINDOWS: {
1112
+ CHROME: string[];
1113
+ FIREFOX: string[];
1114
+ };
1115
+ };
1116
+ };
1117
+ };
1118
+ buttons: {
1119
+ btn_watch_question: string;
1120
+ btn_show_question: string;
1121
+ btn_start_recording: string;
1122
+ btn_stop_recording: string;
1123
+ btn_try_again: string;
1124
+ btn_internet_test_again: string;
1125
+ btn_practice: string;
1126
+ btn_start: string;
1127
+ btn_retry: string;
1128
+ btn_start_now: string;
1129
+ RETAKE: string;
1130
+ NEXT: string;
1131
+ SUBMIT: string;
1132
+ READY: string;
1133
+ };
1134
+ layout: {
1135
+ footer: string;
1136
+ at: string;
1137
+ };
1138
+ };
1139
+ };
822
1140
  readonly ko: {
823
1141
  readonly translation: {
824
1142
  welcome: {
File without changes
@@ -31,7 +31,7 @@ export declare const enum CandidateSessionWarnings {
31
31
  OverconstrainedError = "OverconstrainedError",
32
32
  SecurityError = "SecurityError"
33
33
  }
34
- export type CandidateSessionSourceType = 'direct' | 'email' | 'sms' | 'email_reminder' | 'sms_reminder';
34
+ export declare type CandidateSessionSourceType = 'direct' | 'email' | 'sms' | 'email_reminder' | 'sms_reminder';
35
35
  export declare const enum CandidateSessionSourceMap {
36
36
  direct_start_inter = "direct",
37
37
  reminder_start_inter = "email_reminder",
@@ -3,7 +3,7 @@ import { ICandidate } from './candidateInterface';
3
3
  import { ICompany } from './companyInterface';
4
4
  import { IClientJob, IClientQuestion, IJob, IQuestion } from './jobInterface';
5
5
  import { IVideo } from './videoInterface';
6
- export type IMessageType = 'completed' | 'deadline' | 'applied' | 'inactiveJob';
6
+ export declare type IMessageType = 'completed' | 'deadline' | 'applied' | 'inactiveJob';
7
7
  export interface IOnFinish {
8
8
  redirectUrl?: string;
9
9
  video_id: string;
@@ -11,7 +11,7 @@ export interface IOnFinish {
11
11
  export interface IOnError {
12
12
  messageType: IMessageType;
13
13
  }
14
- export type IEnv = 'dev' | 'staging' | 'production' | 'development' | 'local';
14
+ export declare type IEnv = 'dev' | 'staging' | 'production' | 'development' | 'local';
15
15
  interface IConfig {
16
16
  auth: string;
17
17
  onWidgetClicked?: () => void;
@@ -28,8 +28,9 @@ interface IConfig {
28
28
  env?: IEnv;
29
29
  minimizable?: boolean;
30
30
  hideHeader?: boolean;
31
+ hideIntercom?: boolean;
31
32
  }
32
- export type IClientConfig = Omit<IConfig, 'practiceQuestions'> & {
33
+ export declare type IClientConfig = Omit<IConfig, 'practiceQuestions'> & {
33
34
  practiceQuestions?: IClientQuestion[];
34
35
  };
35
36
  export interface IWidgetConfig {
@@ -42,7 +43,7 @@ export interface IWidgetConfig {
42
43
  buttonText?: string;
43
44
  buttonStyle?: CSSProperties;
44
45
  }
45
- export type IClientWidgetConfig = Omit<IWidgetConfig, 'job' | 'config'> & {
46
+ export declare type IClientWidgetConfig = Omit<IWidgetConfig, 'job' | 'config'> & {
46
47
  job: IClientJob;
47
48
  config: IClientConfig;
48
49
  };
@@ -7,7 +7,7 @@ export interface IQuestion {
7
7
  videoQuestion?: string;
8
8
  description?: string;
9
9
  }
10
- export type IClientQuestion = Omit<IQuestion, 'numOfRetakes' | 'partDuration' | 'thinkingTime'> & {
10
+ export declare type IClientQuestion = Omit<IQuestion, 'numOfRetakes' | 'partDuration' | 'thinkingTime'> & {
11
11
  attempts?: number;
12
12
  duration?: number;
13
13
  thinkingTime?: number;
@@ -27,6 +27,6 @@ export interface IJob {
27
27
  company_id?: string;
28
28
  jobID?: string;
29
29
  }
30
- export type IClientJob = Omit<IJob, 'questions'> & {
30
+ export declare type IClientJob = Omit<IJob, 'questions'> & {
31
31
  questions?: IClientQuestion[];
32
32
  };
@@ -5,8 +5,8 @@ export declare const enum SPEED_TEST_LEVEL {
5
5
  MEDIUM = 1,
6
6
  HIGH = 2
7
7
  }
8
- export type mediaDeviceType = 'video' | 'audio';
9
- type ConstrainProps = {
8
+ export declare type mediaDeviceType = 'video' | 'audio';
9
+ declare type ConstrainProps = {
10
10
  video: {
11
11
  width: {
12
12
  min?: number;
@@ -5,7 +5,7 @@ import { CAMERA_STATES_MESSAGES, INTERNET_STATES_MESSAGES, MICROPHONE_STATES_MES
5
5
  import { TAKE_TYPES } from './storageInterface';
6
6
  import { IQuestion } from './jobInterface';
7
7
  import { IVideoError } from '../utils/errors.utils';
8
- type IUploaderRef = {
8
+ declare type IUploaderRef = {
9
9
  [uploaderRef: string]: ActorRef<DoneInvokeEvent<any>>;
10
10
  };
11
11
  export declare const VIDEO_ERROR_MESSAGES: {
@@ -13,10 +13,10 @@ export declare const VIDEO_ERROR_MESSAGES: {
13
13
  REDIRECT: "REDIRECT";
14
14
  NO_ERROR: "";
15
15
  };
16
- export type ICameraStateKey = keyof typeof CAMERA_STATES_MESSAGES;
17
- export type IMicrophoneStateKey = keyof typeof MICROPHONE_STATES_MESSAGES;
18
- export type IInternetStateKey = keyof typeof INTERNET_STATES_MESSAGES;
19
- export type IVideoCorruptedMessagesKey = keyof typeof VIDEO_ERROR_MESSAGES;
16
+ export declare type ICameraStateKey = keyof typeof CAMERA_STATES_MESSAGES;
17
+ export declare type IMicrophoneStateKey = keyof typeof MICROPHONE_STATES_MESSAGES;
18
+ export declare type IInternetStateKey = keyof typeof INTERNET_STATES_MESSAGES;
19
+ export declare type IVideoCorruptedMessagesKey = keyof typeof VIDEO_ERROR_MESSAGES;
20
20
  export declare const CAMERA_STATES: {
21
21
  [K in ICameraStateKey]: K;
22
22
  };
@@ -1,11 +1,5 @@
1
1
  import { DoneInvokeEvent } from 'xstate';
2
2
  import { InitialState } from '../../interfaces/microphoneInterface';
3
- declare global {
4
- interface Window {
5
- context: InitialState;
6
- audioContext: AudioContext;
7
- }
8
- }
9
3
  export declare const microphoneMachine: import("xstate").StateMachine<InitialState, any, DoneInvokeEvent<any>, {
10
4
  value: any;
11
5
  context: InitialState;