@sippet-ai/operator-widget 0.0.12
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/LICENSE +2 -0
- package/README.md +136 -0
- package/cdn/loader.js +146 -0
- package/custom-elements.json +2241 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +1 -0
- package/dist/components/voip-widget/index.d.ts +18 -0
- package/dist/components/voip-widget/index.js +4 -0
- package/dist/components/voip-widget/voip-widget-contacts-tab.d.ts +14 -0
- package/dist/components/voip-widget/voip-widget-contacts-tab.js +45 -0
- package/dist/components/voip-widget/voip-widget-history-tab.d.ts +13 -0
- package/dist/components/voip-widget/voip-widget-history-tab.js +43 -0
- package/dist/components/voip-widget/voip-widget-launcher.d.ts +18 -0
- package/dist/components/voip-widget/voip-widget-launcher.js +100 -0
- package/dist/components/voip-widget/voip-widget-panel.d.ts +21 -0
- package/dist/components/voip-widget/voip-widget-panel.js +193 -0
- package/dist/components/voip-widget/voip-widget-phone-tab.d.ts +21 -0
- package/dist/components/voip-widget/voip-widget-phone-tab.js +187 -0
- package/dist/components/voip-widget/voip-widget-queue-tab.d.ts +14 -0
- package/dist/components/voip-widget/voip-widget-queue-tab.js +49 -0
- package/dist/components/voip-widget/voip-widget-settings-tab.d.ts +21 -0
- package/dist/components/voip-widget/voip-widget-settings-tab.js +135 -0
- package/dist/components/voip-widget/voip-widget.d.ts +142 -0
- package/dist/components/voip-widget/voip-widget.js +1329 -0
- package/dist/components/voip-widget/voip-widget.types.d.ts +22 -0
- package/dist/components/voip-widget/voip-widget.types.js +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +3 -0
- package/dist/lib/realtime.d.ts +1 -0
- package/dist/lib/realtime.js +1 -0
- package/dist/lib/sippet.d.ts +40 -0
- package/dist/lib/sippet.js +197 -0
- package/dist/lib/tailwindMixin.d.ts +6 -0
- package/dist/lib/tailwindMixin.js +24 -0
- package/dist/styles/tailwind.global.css +2 -0
- package/dist/styles/tailwind.global.css.js +1 -0
- package/package.json +126 -0
- package/react/SippetAIVoipWidget.d.ts +158 -0
- package/react/SippetAIVoipWidget.js +72 -0
- package/react/SippetAIVoipWidgetContactsTab.d.ts +67 -0
- package/react/SippetAIVoipWidgetContactsTab.js +29 -0
- package/react/SippetAIVoipWidgetHistoryTab.d.ts +55 -0
- package/react/SippetAIVoipWidgetHistoryTab.js +26 -0
- package/react/SippetAIVoipWidgetLauncher.d.ts +83 -0
- package/react/SippetAIVoipWidgetLauncher.js +41 -0
- package/react/SippetAIVoipWidgetPanel.d.ts +87 -0
- package/react/SippetAIVoipWidgetPanel.js +43 -0
- package/react/SippetAIVoipWidgetPhoneTab.d.ts +87 -0
- package/react/SippetAIVoipWidgetPhoneTab.js +43 -0
- package/react/SippetAIVoipWidgetQueueTab.d.ts +67 -0
- package/react/SippetAIVoipWidgetQueueTab.js +27 -0
- package/react/SippetAIVoipWidgetSettingsTab.d.ts +91 -0
- package/react/SippetAIVoipWidgetSettingsTab.js +47 -0
- package/react/index.d.ts +8 -0
- package/react/index.js +8 -0
- package/react/react-utils.js +67 -0
- package/types/custom-element-jsx.d.ts +956 -0
- package/types/custom-element-svelte.d.ts +264 -0
- package/types/custom-element-vuejs.d.ts +234 -0
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
type BaseProps = {
|
|
2
|
+
/** Content added between the opening and closing tags of the element */
|
|
3
|
+
children?: JSX.Element;
|
|
4
|
+
/** Used for declaratively styling one or more elements using CSS (Cascading Stylesheets) */
|
|
5
|
+
class?: string;
|
|
6
|
+
/** Takes an object where the key is the class name(s) and the value is a boolean expression. When true, the class is applied, and when false, it is removed. */
|
|
7
|
+
classList?: Record<string, boolean | undefined>;
|
|
8
|
+
/** Specifies the text direction of the element. */
|
|
9
|
+
dir?: "ltr" | "rtl";
|
|
10
|
+
/** Contains a space-separated list of the part names of the element that should be exposed on the host element. */
|
|
11
|
+
exportparts?: string;
|
|
12
|
+
/** Specifies whether the element should be hidden. */
|
|
13
|
+
hidden?: boolean | string;
|
|
14
|
+
/** A unique identifier for the element. */
|
|
15
|
+
id?: string;
|
|
16
|
+
/** Sets the HTML or XML markup contained within the element. */
|
|
17
|
+
innerHTML?: string;
|
|
18
|
+
/** Specifies the language of the element. */
|
|
19
|
+
lang?: string;
|
|
20
|
+
/** Contains a space-separated list of the part names of the element. Part names allows CSS to select and style specific elements in a shadow tree via the ::part pseudo-element. */
|
|
21
|
+
part?: string;
|
|
22
|
+
/** Use the ref attribute with a variable to assign a DOM element to the variable once the element is rendered. */
|
|
23
|
+
ref?: unknown | ((e: unknown) => void);
|
|
24
|
+
/** Adds a reference for a custom element slot */
|
|
25
|
+
slot?: string;
|
|
26
|
+
/** Prop for setting inline styles */
|
|
27
|
+
style?: JSX.CSSProperties;
|
|
28
|
+
/** Overrides the default Tab button behavior. Avoid using values other than -1 and 0. */
|
|
29
|
+
tabIndex?: number;
|
|
30
|
+
/** Sets the text content of the element */
|
|
31
|
+
textContent?: string;
|
|
32
|
+
/** Specifies the tooltip text for the element. */
|
|
33
|
+
title?: string;
|
|
34
|
+
/** Passing 'no' excludes the element content from being translated. */
|
|
35
|
+
translate?: "yes" | "no";
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
type BaseEvents = {};
|
|
39
|
+
|
|
40
|
+
type SippetAIVoipWidgetLauncherProps = {
|
|
41
|
+
/** */
|
|
42
|
+
open?: boolean;
|
|
43
|
+
/** */
|
|
44
|
+
queueCount?: number;
|
|
45
|
+
/** */
|
|
46
|
+
incomingCall?: boolean;
|
|
47
|
+
/** */
|
|
48
|
+
incomingFromQueue?: boolean;
|
|
49
|
+
/** */
|
|
50
|
+
incomingCallerName?: string;
|
|
51
|
+
|
|
52
|
+
/** */
|
|
53
|
+
"on:name"?: (e: CustomEvent<CustomEvent>) => void;
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
type SippetAIVoipWidgetPanelProps = {
|
|
57
|
+
/** */
|
|
58
|
+
userName?: string;
|
|
59
|
+
/** */
|
|
60
|
+
availability?: string;
|
|
61
|
+
/** */
|
|
62
|
+
activeTab?: VoipTab;
|
|
63
|
+
/** */
|
|
64
|
+
incomingCall?: boolean;
|
|
65
|
+
/** */
|
|
66
|
+
incomingFromQueue?: boolean;
|
|
67
|
+
/** */
|
|
68
|
+
incomingCallerName?: string;
|
|
69
|
+
|
|
70
|
+
/** */
|
|
71
|
+
"on:name"?: (e: CustomEvent<CustomEvent>) => void;
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
type SippetAIVoipWidgetPhoneTabProps = {
|
|
75
|
+
/** */
|
|
76
|
+
dialNumber?: string;
|
|
77
|
+
/** */
|
|
78
|
+
sipStatus?: SipStatus;
|
|
79
|
+
/** */
|
|
80
|
+
callState?: CallState;
|
|
81
|
+
/** */
|
|
82
|
+
callSeconds?: number;
|
|
83
|
+
/** */
|
|
84
|
+
isMuted?: boolean;
|
|
85
|
+
/** */
|
|
86
|
+
isHeld?: boolean;
|
|
87
|
+
|
|
88
|
+
/** */
|
|
89
|
+
"on:name"?: (e: CustomEvent<CustomEvent>) => void;
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
type SippetAIVoipWidgetQueueTabProps = {
|
|
93
|
+
/** */
|
|
94
|
+
queuedCalls?: QueuedCall[];
|
|
95
|
+
|
|
96
|
+
/** */
|
|
97
|
+
"on:name"?: (e: CustomEvent<CustomEvent>) => void;
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
type SippetAIVoipWidgetContactsTabProps = {
|
|
101
|
+
/** */
|
|
102
|
+
contacts?: Contact[];
|
|
103
|
+
|
|
104
|
+
/** */
|
|
105
|
+
"on:name"?: (e: CustomEvent<CustomEvent>) => void;
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
type SippetAIVoipWidgetHistoryTabProps = {
|
|
109
|
+
/** */
|
|
110
|
+
history?: HistoryEntry[];
|
|
111
|
+
};
|
|
112
|
+
|
|
113
|
+
type SippetAIVoipWidgetSettingsTabProps = {
|
|
114
|
+
/** */
|
|
115
|
+
userEmail?: string;
|
|
116
|
+
/** */
|
|
117
|
+
audioInputs?: MediaDeviceOption[];
|
|
118
|
+
/** */
|
|
119
|
+
audioOutputs?: MediaDeviceOption[];
|
|
120
|
+
/** */
|
|
121
|
+
selectedMicId?: string;
|
|
122
|
+
/** */
|
|
123
|
+
selectedSpeakerId?: string;
|
|
124
|
+
/** */
|
|
125
|
+
hasMediaPermission?: boolean;
|
|
126
|
+
/** */
|
|
127
|
+
sipStatus?: SipStatus;
|
|
128
|
+
|
|
129
|
+
/** */
|
|
130
|
+
"on:name"?: (e: CustomEvent<CustomEvent>) => void;
|
|
131
|
+
};
|
|
132
|
+
|
|
133
|
+
type SippetAIVoipWidgetProps = {
|
|
134
|
+
/** */
|
|
135
|
+
"api-key"?: string;
|
|
136
|
+
/** */
|
|
137
|
+
"session-auth"?: boolean;
|
|
138
|
+
/** */
|
|
139
|
+
"api-origin"?: string;
|
|
140
|
+
/** */
|
|
141
|
+
sipUrl?: string;
|
|
142
|
+
/** */
|
|
143
|
+
sipUser?: string;
|
|
144
|
+
/** */
|
|
145
|
+
"sip-user-id"?: string;
|
|
146
|
+
/** */
|
|
147
|
+
sipPassword?: string;
|
|
148
|
+
/** */
|
|
149
|
+
sipWebSocketUrl?: string;
|
|
150
|
+
/** */
|
|
151
|
+
userName?: string;
|
|
152
|
+
/** */
|
|
153
|
+
userEmail?: string;
|
|
154
|
+
/** */
|
|
155
|
+
availability?: string;
|
|
156
|
+
/** */
|
|
157
|
+
queueCount?: number;
|
|
158
|
+
/** */
|
|
159
|
+
incomingCall?: boolean;
|
|
160
|
+
/** */
|
|
161
|
+
incomingCallerName?: string;
|
|
162
|
+
/** */
|
|
163
|
+
incomingFromQueue?: boolean;
|
|
164
|
+
/** */
|
|
165
|
+
contacts?: Contact[];
|
|
166
|
+
/** */
|
|
167
|
+
history?: HistoryEntry[];
|
|
168
|
+
/** */
|
|
169
|
+
queuedCalls?: QueuedCall[];
|
|
170
|
+
/** */
|
|
171
|
+
open?: boolean;
|
|
172
|
+
/** */
|
|
173
|
+
activeTab?: VoipTab;
|
|
174
|
+
|
|
175
|
+
/** */
|
|
176
|
+
"on:voip-transfer"?: (e: CustomEvent<CustomEvent>) => void;
|
|
177
|
+
/** */
|
|
178
|
+
"on:voip-call-state"?: (e: CustomEvent<CustomEvent>) => void;
|
|
179
|
+
};
|
|
180
|
+
|
|
181
|
+
export type CustomElements = {
|
|
182
|
+
/**
|
|
183
|
+
*
|
|
184
|
+
* ---
|
|
185
|
+
*
|
|
186
|
+
*
|
|
187
|
+
* ### **Events:**
|
|
188
|
+
* - **name**
|
|
189
|
+
*/
|
|
190
|
+
"sippetai-voip-widget-launcher": Partial<SippetAIVoipWidgetLauncherProps & BaseProps & BaseEvents>;
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
*
|
|
194
|
+
* ---
|
|
195
|
+
*
|
|
196
|
+
*
|
|
197
|
+
* ### **Events:**
|
|
198
|
+
* - **name**
|
|
199
|
+
*/
|
|
200
|
+
"sippetai-voip-widget-panel": Partial<SippetAIVoipWidgetPanelProps & BaseProps & BaseEvents>;
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
*
|
|
204
|
+
* ---
|
|
205
|
+
*
|
|
206
|
+
*
|
|
207
|
+
* ### **Events:**
|
|
208
|
+
* - **name**
|
|
209
|
+
*/
|
|
210
|
+
"sippetai-voip-widget-phone-tab": Partial<SippetAIVoipWidgetPhoneTabProps & BaseProps & BaseEvents>;
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
*
|
|
214
|
+
* ---
|
|
215
|
+
*
|
|
216
|
+
*
|
|
217
|
+
* ### **Events:**
|
|
218
|
+
* - **name**
|
|
219
|
+
*/
|
|
220
|
+
"sippetai-voip-widget-queue-tab": Partial<SippetAIVoipWidgetQueueTabProps & BaseProps & BaseEvents>;
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
*
|
|
224
|
+
* ---
|
|
225
|
+
*
|
|
226
|
+
*
|
|
227
|
+
* ### **Events:**
|
|
228
|
+
* - **name**
|
|
229
|
+
*/
|
|
230
|
+
"sippetai-voip-widget-contacts-tab": Partial<SippetAIVoipWidgetContactsTabProps & BaseProps & BaseEvents>;
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
*
|
|
234
|
+
* ---
|
|
235
|
+
*
|
|
236
|
+
*/
|
|
237
|
+
"sippetai-voip-widget-history-tab": Partial<SippetAIVoipWidgetHistoryTabProps & BaseProps & BaseEvents>;
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
*
|
|
241
|
+
* ---
|
|
242
|
+
*
|
|
243
|
+
*
|
|
244
|
+
* ### **Events:**
|
|
245
|
+
* - **name**
|
|
246
|
+
*/
|
|
247
|
+
"sippetai-voip-widget-settings-tab": Partial<SippetAIVoipWidgetSettingsTabProps & BaseProps & BaseEvents>;
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* A VoIP widget web component allowing real-time telephony for Sippet AI integrations
|
|
251
|
+
* ---
|
|
252
|
+
*
|
|
253
|
+
*
|
|
254
|
+
* ### **Events:**
|
|
255
|
+
* - **voip-transfer**
|
|
256
|
+
* - **voip-call-state**
|
|
257
|
+
*/
|
|
258
|
+
"sippetai-voip-widget": Partial<SippetAIVoipWidgetProps & BaseProps & BaseEvents>;
|
|
259
|
+
};
|
|
260
|
+
|
|
261
|
+
declare namespace svelteHTML {
|
|
262
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
|
263
|
+
interface IntrinsicElements extends CustomElements {}
|
|
264
|
+
}
|
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
import type { DefineComponent } from "vue";
|
|
2
|
+
|
|
3
|
+
type SippetAIVoipWidgetLauncherProps = {
|
|
4
|
+
/** */
|
|
5
|
+
open?: boolean;
|
|
6
|
+
/** */
|
|
7
|
+
queueCount?: number;
|
|
8
|
+
/** */
|
|
9
|
+
incomingCall?: boolean;
|
|
10
|
+
/** */
|
|
11
|
+
incomingFromQueue?: boolean;
|
|
12
|
+
/** */
|
|
13
|
+
incomingCallerName?: string;
|
|
14
|
+
|
|
15
|
+
/** */
|
|
16
|
+
onname?: (e: CustomEvent<CustomEvent>) => void;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
type SippetAIVoipWidgetPanelProps = {
|
|
20
|
+
/** */
|
|
21
|
+
userName?: string;
|
|
22
|
+
/** */
|
|
23
|
+
availability?: string;
|
|
24
|
+
/** */
|
|
25
|
+
activeTab?: VoipTab;
|
|
26
|
+
/** */
|
|
27
|
+
incomingCall?: boolean;
|
|
28
|
+
/** */
|
|
29
|
+
incomingFromQueue?: boolean;
|
|
30
|
+
/** */
|
|
31
|
+
incomingCallerName?: string;
|
|
32
|
+
|
|
33
|
+
/** */
|
|
34
|
+
onname?: (e: CustomEvent<CustomEvent>) => void;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
type SippetAIVoipWidgetPhoneTabProps = {
|
|
38
|
+
/** */
|
|
39
|
+
dialNumber?: string;
|
|
40
|
+
/** */
|
|
41
|
+
sipStatus?: SipStatus;
|
|
42
|
+
/** */
|
|
43
|
+
callState?: CallState;
|
|
44
|
+
/** */
|
|
45
|
+
callSeconds?: number;
|
|
46
|
+
/** */
|
|
47
|
+
isMuted?: boolean;
|
|
48
|
+
/** */
|
|
49
|
+
isHeld?: boolean;
|
|
50
|
+
|
|
51
|
+
/** */
|
|
52
|
+
onname?: (e: CustomEvent<CustomEvent>) => void;
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
type SippetAIVoipWidgetQueueTabProps = {
|
|
56
|
+
/** */
|
|
57
|
+
queuedCalls?: QueuedCall[];
|
|
58
|
+
|
|
59
|
+
/** */
|
|
60
|
+
onname?: (e: CustomEvent<CustomEvent>) => void;
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
type SippetAIVoipWidgetContactsTabProps = {
|
|
64
|
+
/** */
|
|
65
|
+
contacts?: Contact[];
|
|
66
|
+
|
|
67
|
+
/** */
|
|
68
|
+
onname?: (e: CustomEvent<CustomEvent>) => void;
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
type SippetAIVoipWidgetHistoryTabProps = {
|
|
72
|
+
/** */
|
|
73
|
+
history?: HistoryEntry[];
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
type SippetAIVoipWidgetSettingsTabProps = {
|
|
77
|
+
/** */
|
|
78
|
+
userEmail?: string;
|
|
79
|
+
/** */
|
|
80
|
+
audioInputs?: MediaDeviceOption[];
|
|
81
|
+
/** */
|
|
82
|
+
audioOutputs?: MediaDeviceOption[];
|
|
83
|
+
/** */
|
|
84
|
+
selectedMicId?: string;
|
|
85
|
+
/** */
|
|
86
|
+
selectedSpeakerId?: string;
|
|
87
|
+
/** */
|
|
88
|
+
hasMediaPermission?: boolean;
|
|
89
|
+
/** */
|
|
90
|
+
sipStatus?: SipStatus;
|
|
91
|
+
|
|
92
|
+
/** */
|
|
93
|
+
onname?: (e: CustomEvent<CustomEvent>) => void;
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
type SippetAIVoipWidgetProps = {
|
|
97
|
+
/** */
|
|
98
|
+
"api-key"?: string;
|
|
99
|
+
/** */
|
|
100
|
+
"session-auth"?: boolean;
|
|
101
|
+
/** */
|
|
102
|
+
"api-origin"?: string;
|
|
103
|
+
/** */
|
|
104
|
+
sipUrl?: string;
|
|
105
|
+
/** */
|
|
106
|
+
sipUser?: string;
|
|
107
|
+
/** */
|
|
108
|
+
"sip-user-id"?: string;
|
|
109
|
+
/** */
|
|
110
|
+
sipPassword?: string;
|
|
111
|
+
/** */
|
|
112
|
+
sipWebSocketUrl?: string;
|
|
113
|
+
/** */
|
|
114
|
+
userName?: string;
|
|
115
|
+
/** */
|
|
116
|
+
userEmail?: string;
|
|
117
|
+
/** */
|
|
118
|
+
availability?: string;
|
|
119
|
+
/** */
|
|
120
|
+
queueCount?: number;
|
|
121
|
+
/** */
|
|
122
|
+
incomingCall?: boolean;
|
|
123
|
+
/** */
|
|
124
|
+
incomingCallerName?: string;
|
|
125
|
+
/** */
|
|
126
|
+
incomingFromQueue?: boolean;
|
|
127
|
+
/** */
|
|
128
|
+
contacts?: Contact[];
|
|
129
|
+
/** */
|
|
130
|
+
history?: HistoryEntry[];
|
|
131
|
+
/** */
|
|
132
|
+
queuedCalls?: QueuedCall[];
|
|
133
|
+
/** */
|
|
134
|
+
open?: boolean;
|
|
135
|
+
/** */
|
|
136
|
+
activeTab?: VoipTab;
|
|
137
|
+
|
|
138
|
+
/** */
|
|
139
|
+
"onvoip-transfer"?: (e: CustomEvent<CustomEvent>) => void;
|
|
140
|
+
/** */
|
|
141
|
+
"onvoip-call-state"?: (e: CustomEvent<CustomEvent>) => void;
|
|
142
|
+
};
|
|
143
|
+
|
|
144
|
+
export type CustomElements = {
|
|
145
|
+
/**
|
|
146
|
+
*
|
|
147
|
+
* ---
|
|
148
|
+
*
|
|
149
|
+
*
|
|
150
|
+
* ### **Events:**
|
|
151
|
+
* - **name**
|
|
152
|
+
*/
|
|
153
|
+
"sippetai-voip-widget-launcher": DefineComponent<SippetAIVoipWidgetLauncherProps>;
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
*
|
|
157
|
+
* ---
|
|
158
|
+
*
|
|
159
|
+
*
|
|
160
|
+
* ### **Events:**
|
|
161
|
+
* - **name**
|
|
162
|
+
*/
|
|
163
|
+
"sippetai-voip-widget-panel": DefineComponent<SippetAIVoipWidgetPanelProps>;
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
*
|
|
167
|
+
* ---
|
|
168
|
+
*
|
|
169
|
+
*
|
|
170
|
+
* ### **Events:**
|
|
171
|
+
* - **name**
|
|
172
|
+
*/
|
|
173
|
+
"sippetai-voip-widget-phone-tab": DefineComponent<SippetAIVoipWidgetPhoneTabProps>;
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
*
|
|
177
|
+
* ---
|
|
178
|
+
*
|
|
179
|
+
*
|
|
180
|
+
* ### **Events:**
|
|
181
|
+
* - **name**
|
|
182
|
+
*/
|
|
183
|
+
"sippetai-voip-widget-queue-tab": DefineComponent<SippetAIVoipWidgetQueueTabProps>;
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
*
|
|
187
|
+
* ---
|
|
188
|
+
*
|
|
189
|
+
*
|
|
190
|
+
* ### **Events:**
|
|
191
|
+
* - **name**
|
|
192
|
+
*/
|
|
193
|
+
"sippetai-voip-widget-contacts-tab": DefineComponent<SippetAIVoipWidgetContactsTabProps>;
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
*
|
|
197
|
+
* ---
|
|
198
|
+
*
|
|
199
|
+
*/
|
|
200
|
+
"sippetai-voip-widget-history-tab": DefineComponent<SippetAIVoipWidgetHistoryTabProps>;
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
*
|
|
204
|
+
* ---
|
|
205
|
+
*
|
|
206
|
+
*
|
|
207
|
+
* ### **Events:**
|
|
208
|
+
* - **name**
|
|
209
|
+
*/
|
|
210
|
+
"sippetai-voip-widget-settings-tab": DefineComponent<SippetAIVoipWidgetSettingsTabProps>;
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* A VoIP widget web component allowing real-time telephony for Sippet AI integrations
|
|
214
|
+
* ---
|
|
215
|
+
*
|
|
216
|
+
*
|
|
217
|
+
* ### **Events:**
|
|
218
|
+
* - **voip-transfer**
|
|
219
|
+
* - **voip-call-state**
|
|
220
|
+
*/
|
|
221
|
+
"sippetai-voip-widget": DefineComponent<SippetAIVoipWidgetProps>;
|
|
222
|
+
};
|
|
223
|
+
|
|
224
|
+
declare module "vue" {
|
|
225
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
|
226
|
+
interface GlobalComponents extends CustomElements {}
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
declare global {
|
|
230
|
+
namespace JSX {
|
|
231
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
|
232
|
+
interface IntrinsicElements extends CustomElements {}
|
|
233
|
+
}
|
|
234
|
+
}
|