pcm-agents-react 0.1.8 → 0.2.0
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.
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
3
|
-
import {
|
|
3
|
+
import { Pcm1zhanshiMnmsModal as Pcm1zhanshiMnmsModalElement, defineCustomElement as definePcm1zhanshiMnmsModal } from "pcm-agents/dist/components/pcm-1zhanshi-mnms-modal.js";
|
|
4
4
|
import { PcmAppChatModal as PcmAppChatModalElement, defineCustomElement as definePcmAppChatModal } from "pcm-agents/dist/components/pcm-app-chat-modal.js";
|
|
5
5
|
import { PcmButton as PcmButtonElement, defineCustomElement as definePcmButton } from "pcm-agents/dist/components/pcm-button.js";
|
|
6
6
|
import { PcmCard as PcmCardElement, defineCustomElement as definePcmCard } from "pcm-agents/dist/components/pcm-card.js";
|
|
7
7
|
import { PcmChatMessage as PcmChatMessageElement, defineCustomElement as definePcmChatMessage } from "pcm-agents/dist/components/pcm-chat-message.js";
|
|
8
|
-
import {
|
|
8
|
+
import { PcmDrawer as PcmDrawerElement, defineCustomElement as definePcmDrawer } from "pcm-agents/dist/components/pcm-drawer.js";
|
|
9
9
|
import { PcmHrChatModal as PcmHrChatModalElement, defineCustomElement as definePcmHrChatModal } from "pcm-agents/dist/components/pcm-hr-chat-modal.js";
|
|
10
10
|
import { PcmHtwsModal as PcmHtwsModalElement, defineCustomElement as definePcmHtwsModal } from "pcm-agents/dist/components/pcm-htws-modal.js";
|
|
11
11
|
import { PcmHyzjModal as PcmHyzjModalElement, defineCustomElement as definePcmHyzjModal } from "pcm-agents/dist/components/pcm-hyzj-modal.js";
|
|
@@ -14,16 +14,24 @@ import { PcmJlppModal as PcmJlppModalElement, defineCustomElement as definePcmJl
|
|
|
14
14
|
import { PcmMnctModal as PcmMnctModalElement, defineCustomElement as definePcmMnctModal } from "pcm-agents/dist/components/pcm-mnct-modal.js";
|
|
15
15
|
import { PcmMnmsModal as PcmMnmsModalElement, defineCustomElement as definePcmMnmsModal } from "pcm-agents/dist/components/pcm-mnms-modal.js";
|
|
16
16
|
import { PcmMsbgModal as PcmMsbgModalElement, defineCustomElement as definePcmMsbgModal } from "pcm-agents/dist/components/pcm-msbg-modal.js";
|
|
17
|
-
import { PcmVideoChatModal as PcmVideoChatModalElement, defineCustomElement as definePcmVideoChatModal } from "pcm-agents/dist/components/pcm-video-chat-modal.js";
|
|
18
17
|
import { PcmZskChatModal as PcmZskChatModalElement, defineCustomElement as definePcmZskChatModal } from "pcm-agents/dist/components/pcm-zsk-chat-modal.js";
|
|
19
18
|
import { PcmZyghModal as PcmZyghModalElement, defineCustomElement as definePcmZyghModal } from "pcm-agents/dist/components/pcm-zygh-modal.js";
|
|
20
19
|
import React from 'react';
|
|
21
|
-
export const
|
|
22
|
-
tagName: '
|
|
23
|
-
elementClass:
|
|
20
|
+
export const Pcm1zhanshiMnmsModal = createComponent({
|
|
21
|
+
tagName: 'pcm-1zhanshi-mnms-modal',
|
|
22
|
+
elementClass: Pcm1zhanshiMnmsModalElement,
|
|
24
23
|
react: React,
|
|
25
|
-
events: {
|
|
26
|
-
|
|
24
|
+
events: {
|
|
25
|
+
onModalClosed: 'modalClosed',
|
|
26
|
+
onUploadSuccess: 'uploadSuccess',
|
|
27
|
+
onStreamComplete: 'streamComplete',
|
|
28
|
+
onConversationStart: 'conversationStart',
|
|
29
|
+
onInterviewComplete: 'interviewComplete',
|
|
30
|
+
onTokenInvalid: 'tokenInvalid',
|
|
31
|
+
onSomeErrorEvent: 'someErrorEvent',
|
|
32
|
+
onRecordingError: 'recordingError'
|
|
33
|
+
},
|
|
34
|
+
defineCustomElement: definePcm1zhanshiMnmsModal
|
|
27
35
|
});
|
|
28
36
|
export const PcmAppChatModal = createComponent({
|
|
29
37
|
tagName: 'pcm-app-chat-modal',
|
|
@@ -35,7 +43,8 @@ export const PcmAppChatModal = createComponent({
|
|
|
35
43
|
onConversationStart: 'conversationStart',
|
|
36
44
|
onInterviewComplete: 'interviewComplete',
|
|
37
45
|
onRecordingError: 'recordingError',
|
|
38
|
-
onRecordingStatusChange: 'recordingStatusChange'
|
|
46
|
+
onRecordingStatusChange: 'recordingStatusChange',
|
|
47
|
+
onTokenInvalid: 'tokenInvalid'
|
|
39
48
|
},
|
|
40
49
|
defineCustomElement: definePcmAppChatModal
|
|
41
50
|
});
|
|
@@ -50,26 +59,29 @@ export const PcmCard = createComponent({
|
|
|
50
59
|
tagName: 'pcm-card',
|
|
51
60
|
elementClass: PcmCardElement,
|
|
52
61
|
react: React,
|
|
53
|
-
events: {},
|
|
62
|
+
events: { onTokenInvalid: 'tokenInvalid' },
|
|
54
63
|
defineCustomElement: definePcmCard
|
|
55
64
|
});
|
|
56
65
|
export const PcmChatMessage = createComponent({
|
|
57
66
|
tagName: 'pcm-chat-message',
|
|
58
67
|
elementClass: PcmChatMessageElement,
|
|
59
68
|
react: React,
|
|
60
|
-
events: {
|
|
69
|
+
events: {
|
|
70
|
+
onMessageChange: 'messageChange',
|
|
71
|
+
onFilePreviewRequest: 'filePreviewRequest'
|
|
72
|
+
},
|
|
61
73
|
defineCustomElement: definePcmChatMessage
|
|
62
74
|
});
|
|
63
|
-
export const
|
|
64
|
-
tagName: 'pcm-
|
|
65
|
-
elementClass:
|
|
75
|
+
export const PcmDrawer = createComponent({
|
|
76
|
+
tagName: 'pcm-drawer',
|
|
77
|
+
elementClass: PcmDrawerElement,
|
|
66
78
|
react: React,
|
|
67
79
|
events: {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
80
|
+
onClosed: 'closed',
|
|
81
|
+
onAfterOpen: 'afterOpen',
|
|
82
|
+
onAfterClose: 'afterClose'
|
|
71
83
|
},
|
|
72
|
-
defineCustomElement:
|
|
84
|
+
defineCustomElement: definePcmDrawer
|
|
73
85
|
});
|
|
74
86
|
export const PcmHrChatModal = createComponent({
|
|
75
87
|
tagName: 'pcm-hr-chat-modal',
|
|
@@ -81,7 +93,8 @@ export const PcmHrChatModal = createComponent({
|
|
|
81
93
|
onConversationStart: 'conversationStart',
|
|
82
94
|
onInterviewComplete: 'interviewComplete',
|
|
83
95
|
onRecordingError: 'recordingError',
|
|
84
|
-
onRecordingStatusChange: 'recordingStatusChange'
|
|
96
|
+
onRecordingStatusChange: 'recordingStatusChange',
|
|
97
|
+
onTokenInvalid: 'tokenInvalid'
|
|
85
98
|
},
|
|
86
99
|
defineCustomElement: definePcmHrChatModal
|
|
87
100
|
});
|
|
@@ -95,7 +108,8 @@ export const PcmHtwsModal = createComponent({
|
|
|
95
108
|
onStreamComplete: 'streamComplete',
|
|
96
109
|
onConversationStart: 'conversationStart',
|
|
97
110
|
onInterviewComplete: 'interviewComplete',
|
|
98
|
-
onTokenInvalid: 'tokenInvalid'
|
|
111
|
+
onTokenInvalid: 'tokenInvalid',
|
|
112
|
+
onSomeErrorEvent: 'someErrorEvent'
|
|
99
113
|
},
|
|
100
114
|
defineCustomElement: definePcmHtwsModal
|
|
101
115
|
});
|
|
@@ -109,7 +123,8 @@ export const PcmHyzjModal = createComponent({
|
|
|
109
123
|
onStreamComplete: 'streamComplete',
|
|
110
124
|
onConversationStart: 'conversationStart',
|
|
111
125
|
onInterviewComplete: 'interviewComplete',
|
|
112
|
-
onTokenInvalid: 'tokenInvalid'
|
|
126
|
+
onTokenInvalid: 'tokenInvalid',
|
|
127
|
+
onSomeErrorEvent: 'someErrorEvent'
|
|
113
128
|
},
|
|
114
129
|
defineCustomElement: definePcmHyzjModal
|
|
115
130
|
});
|
|
@@ -122,7 +137,8 @@ export const PcmJdModal = createComponent({
|
|
|
122
137
|
onStreamComplete: 'streamComplete',
|
|
123
138
|
onConversationStart: 'conversationStart',
|
|
124
139
|
onInterviewComplete: 'interviewComplete',
|
|
125
|
-
onTokenInvalid: 'tokenInvalid'
|
|
140
|
+
onTokenInvalid: 'tokenInvalid',
|
|
141
|
+
onSomeErrorEvent: 'someErrorEvent'
|
|
126
142
|
},
|
|
127
143
|
defineCustomElement: definePcmJdModal
|
|
128
144
|
});
|
|
@@ -136,7 +152,8 @@ export const PcmJlppModal = createComponent({
|
|
|
136
152
|
onStreamComplete: 'streamComplete',
|
|
137
153
|
onConversationStart: 'conversationStart',
|
|
138
154
|
onInterviewComplete: 'interviewComplete',
|
|
139
|
-
onTokenInvalid: 'tokenInvalid'
|
|
155
|
+
onTokenInvalid: 'tokenInvalid',
|
|
156
|
+
onSomeErrorEvent: 'someErrorEvent'
|
|
140
157
|
},
|
|
141
158
|
defineCustomElement: definePcmJlppModal
|
|
142
159
|
});
|
|
@@ -150,7 +167,8 @@ export const PcmMnctModal = createComponent({
|
|
|
150
167
|
onStreamComplete: 'streamComplete',
|
|
151
168
|
onConversationStart: 'conversationStart',
|
|
152
169
|
onInterviewComplete: 'interviewComplete',
|
|
153
|
-
onTokenInvalid: 'tokenInvalid'
|
|
170
|
+
onTokenInvalid: 'tokenInvalid',
|
|
171
|
+
onSomeErrorEvent: 'someErrorEvent'
|
|
154
172
|
},
|
|
155
173
|
defineCustomElement: definePcmMnctModal
|
|
156
174
|
});
|
|
@@ -165,6 +183,7 @@ export const PcmMnmsModal = createComponent({
|
|
|
165
183
|
onConversationStart: 'conversationStart',
|
|
166
184
|
onInterviewComplete: 'interviewComplete',
|
|
167
185
|
onTokenInvalid: 'tokenInvalid',
|
|
186
|
+
onSomeErrorEvent: 'someErrorEvent',
|
|
168
187
|
onRecordingError: 'recordingError'
|
|
169
188
|
},
|
|
170
189
|
defineCustomElement: definePcmMnmsModal
|
|
@@ -179,23 +198,11 @@ export const PcmMsbgModal = createComponent({
|
|
|
179
198
|
onStreamComplete: 'streamComplete',
|
|
180
199
|
onConversationStart: 'conversationStart',
|
|
181
200
|
onInterviewComplete: 'interviewComplete',
|
|
182
|
-
onTokenInvalid: 'tokenInvalid'
|
|
201
|
+
onTokenInvalid: 'tokenInvalid',
|
|
202
|
+
onSomeErrorEvent: 'someErrorEvent'
|
|
183
203
|
},
|
|
184
204
|
defineCustomElement: definePcmMsbgModal
|
|
185
205
|
});
|
|
186
|
-
export const PcmVideoChatModal = createComponent({
|
|
187
|
-
tagName: 'pcm-video-chat-modal',
|
|
188
|
-
elementClass: PcmVideoChatModalElement,
|
|
189
|
-
react: React,
|
|
190
|
-
events: {
|
|
191
|
-
onModalClosed: 'modalClosed',
|
|
192
|
-
onStreamComplete: 'streamComplete',
|
|
193
|
-
onInterviewComplete: 'interviewComplete',
|
|
194
|
-
onRecordingError: 'recordingError',
|
|
195
|
-
onRecordingStatusChange: 'recordingStatusChange'
|
|
196
|
-
},
|
|
197
|
-
defineCustomElement: definePcmVideoChatModal
|
|
198
|
-
});
|
|
199
206
|
export const PcmZskChatModal = createComponent({
|
|
200
207
|
tagName: 'pcm-zsk-chat-modal',
|
|
201
208
|
elementClass: PcmZskChatModalElement,
|
|
@@ -218,7 +225,8 @@ export const PcmZyghModal = createComponent({
|
|
|
218
225
|
onStreamComplete: 'streamComplete',
|
|
219
226
|
onConversationStart: 'conversationStart',
|
|
220
227
|
onPlanningComplete: 'planningComplete',
|
|
221
|
-
onTokenInvalid: 'tokenInvalid'
|
|
228
|
+
onTokenInvalid: 'tokenInvalid',
|
|
229
|
+
onSomeErrorEvent: 'someErrorEvent'
|
|
222
230
|
},
|
|
223
231
|
defineCustomElement: definePcmZyghModal
|
|
224
232
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.js","sourceRoot":"","sources":["../../../src/components/stencil-generated/components.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAUb,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAEvE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"components.js","sourceRoot":"","sources":["../../../src/components/stencil-generated/components.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAUb,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAEvE,OAAO,EAAE,oBAAoB,IAAI,2BA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E;QACJ,aAAa,EAAE,aAAa;QAC5B,eAAe,EAAE,eAAe;QAChC,gBAAgB,EAAE,gBAAgB;QAClC,mBAAmB,EAAE,mBAAmB;QACxC,mBAAmB,EAAE,mBAAmB;QACxC,cAAc,EAAE,cAAc;QAC9B,gBAAgB,EAAE,gBAAgB;KACf;IACvB,mBAAmB,EAAE,kBAAkB;CAC1C,CAAC,CAAC;AASH,MAAM,CAAC,MAAM,eAAe,GAAuF,eAAe,CAAgD;IAC9K,OAAO,EAAE,oBAAoB;IAC7B,YAAY,EAAE,sBAAsB;IAEpC,KAAK,EAAE,KAAK;IACZ,MAAM,EAAE;QACJ,aAAa,EAAE,aAAa;QAC5B,gBAAgB,EAAE,gBAAgB;QAClC,mBAAmB,EAAE,mBAAmB;QACxC,cAAc,EAAE,cAAc;KACR;IAC1B,mBAAmB,EAAE,qBAAqB;CAC7C,CAAC,CAAC;AAeH,MAAM,CAAC,MAAM,YAAY,GAAiF,eAAe,CAA0C;IAC/J,OAAO,EAAE,gBAAgB;IACzB,YAAY,EAAE,mBAAmB;IAEjC,KAAK,EAAE,KAAK;IACZ,MAAM,EAAE;QACJ,aAAa,EAAE,aAAa;QAC5B,eAAe,EAAE,eAAe;QAChC,gBAAgB,EAAE,gBAAgB;QAClC,mBAAmB,EAAE,mBAAmB;QACxC,kBAAkB,EAAE,kBAAkB;QACtC,cAAc,EAAE,cAAc;QAC9B,gBAAgB,EAAE,gBAAgB;KACf;IACvB,mBAAmB,EAAE,kBAAkB;CAC1C,CAAC,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
2
|
-
import { type CareerPlanType, type ChatMessage, type ConversationStartEventData, type FileUploadResponse, type InterviewCompleteEventData, type
|
|
3
|
-
import {
|
|
2
|
+
import { type CareerPlanType, type ChatMessage, type ConversationStartEventData, type ErrorEventDetail, type FileUploadResponse, type InterviewCompleteEventData, type Pcm1zhanshiMnmsModalCustomEvent, type PcmAppChatModalCustomEvent, type PcmChatMessageCustomEvent, type PcmHrChatModalCustomEvent, type PcmHtwsModalCustomEvent, type PcmHyzjModalCustomEvent, type PcmJdModalCustomEvent, type PcmJlppModalCustomEvent, type PcmMnctModalCustomEvent, type PcmMnmsModalCustomEvent, type PcmMsbgModalCustomEvent, type PcmZskChatModalCustomEvent, type PcmZyghModalCustomEvent, type RecordingErrorEventData, type RecordingStatusChangeEventData, type StreamCompleteEventData } from "pcm-agents";
|
|
3
|
+
import { Pcm1zhanshiMnmsModal as Pcm1zhanshiMnmsModalElement } from "pcm-agents/dist/components/pcm-1zhanshi-mnms-modal.js";
|
|
4
4
|
import { PcmAppChatModal as PcmAppChatModalElement } from "pcm-agents/dist/components/pcm-app-chat-modal.js";
|
|
5
5
|
import { PcmButton as PcmButtonElement } from "pcm-agents/dist/components/pcm-button.js";
|
|
6
6
|
import { PcmCard as PcmCardElement } from "pcm-agents/dist/components/pcm-card.js";
|
|
7
7
|
import { PcmChatMessage as PcmChatMessageElement } from "pcm-agents/dist/components/pcm-chat-message.js";
|
|
8
|
-
import {
|
|
8
|
+
import { PcmDrawer as PcmDrawerElement } from "pcm-agents/dist/components/pcm-drawer.js";
|
|
9
9
|
import { PcmHrChatModal as PcmHrChatModalElement } from "pcm-agents/dist/components/pcm-hr-chat-modal.js";
|
|
10
10
|
import { PcmHtwsModal as PcmHtwsModalElement } from "pcm-agents/dist/components/pcm-htws-modal.js";
|
|
11
11
|
import { PcmHyzjModal as PcmHyzjModalElement } from "pcm-agents/dist/components/pcm-hyzj-modal.js";
|
|
@@ -14,11 +14,19 @@ import { PcmJlppModal as PcmJlppModalElement } from "pcm-agents/dist/components/
|
|
|
14
14
|
import { PcmMnctModal as PcmMnctModalElement } from "pcm-agents/dist/components/pcm-mnct-modal.js";
|
|
15
15
|
import { PcmMnmsModal as PcmMnmsModalElement } from "pcm-agents/dist/components/pcm-mnms-modal.js";
|
|
16
16
|
import { PcmMsbgModal as PcmMsbgModalElement } from "pcm-agents/dist/components/pcm-msbg-modal.js";
|
|
17
|
-
import { PcmVideoChatModal as PcmVideoChatModalElement } from "pcm-agents/dist/components/pcm-video-chat-modal.js";
|
|
18
17
|
import { PcmZskChatModal as PcmZskChatModalElement } from "pcm-agents/dist/components/pcm-zsk-chat-modal.js";
|
|
19
18
|
import { PcmZyghModal as PcmZyghModalElement } from "pcm-agents/dist/components/pcm-zygh-modal.js";
|
|
20
|
-
type
|
|
21
|
-
|
|
19
|
+
type Pcm1zhanshiMnmsModalEvents = {
|
|
20
|
+
onModalClosed: EventName<CustomEvent<void>>;
|
|
21
|
+
onUploadSuccess: EventName<Pcm1zhanshiMnmsModalCustomEvent<FileUploadResponse>>;
|
|
22
|
+
onStreamComplete: EventName<Pcm1zhanshiMnmsModalCustomEvent<StreamCompleteEventData>>;
|
|
23
|
+
onConversationStart: EventName<Pcm1zhanshiMnmsModalCustomEvent<ConversationStartEventData>>;
|
|
24
|
+
onInterviewComplete: EventName<Pcm1zhanshiMnmsModalCustomEvent<InterviewCompleteEventData>>;
|
|
25
|
+
onTokenInvalid: EventName<CustomEvent<void>>;
|
|
26
|
+
onSomeErrorEvent: EventName<Pcm1zhanshiMnmsModalCustomEvent<ErrorEventDetail>>;
|
|
27
|
+
onRecordingError: EventName<Pcm1zhanshiMnmsModalCustomEvent<RecordingErrorEventData>>;
|
|
28
|
+
};
|
|
29
|
+
export declare const Pcm1zhanshiMnmsModal: StencilReactComponent<Pcm1zhanshiMnmsModalElement, Pcm1zhanshiMnmsModalEvents>;
|
|
22
30
|
type PcmAppChatModalEvents = {
|
|
23
31
|
onModalClosed: EventName<CustomEvent<void>>;
|
|
24
32
|
onStreamComplete: EventName<PcmAppChatModalCustomEvent<StreamCompleteEventData>>;
|
|
@@ -26,22 +34,31 @@ type PcmAppChatModalEvents = {
|
|
|
26
34
|
onInterviewComplete: EventName<PcmAppChatModalCustomEvent<InterviewCompleteEventData>>;
|
|
27
35
|
onRecordingError: EventName<PcmAppChatModalCustomEvent<RecordingErrorEventData>>;
|
|
28
36
|
onRecordingStatusChange: EventName<PcmAppChatModalCustomEvent<RecordingStatusChangeEventData>>;
|
|
37
|
+
onTokenInvalid: EventName<CustomEvent<void>>;
|
|
29
38
|
};
|
|
30
39
|
export declare const PcmAppChatModal: StencilReactComponent<PcmAppChatModalElement, PcmAppChatModalEvents>;
|
|
31
40
|
type PcmButtonEvents = NonNullable<unknown>;
|
|
32
41
|
export declare const PcmButton: StencilReactComponent<PcmButtonElement, PcmButtonEvents>;
|
|
33
|
-
type PcmCardEvents =
|
|
42
|
+
type PcmCardEvents = {
|
|
43
|
+
onTokenInvalid: EventName<CustomEvent<void>>;
|
|
44
|
+
};
|
|
34
45
|
export declare const PcmCard: StencilReactComponent<PcmCardElement, PcmCardEvents>;
|
|
35
46
|
type PcmChatMessageEvents = {
|
|
36
47
|
onMessageChange: EventName<PcmChatMessageCustomEvent<Partial<ChatMessage>>>;
|
|
48
|
+
onFilePreviewRequest: EventName<CustomEvent<{
|
|
49
|
+
url?: string;
|
|
50
|
+
fileName: string;
|
|
51
|
+
content?: string;
|
|
52
|
+
contentType: 'file' | 'markdown' | 'text';
|
|
53
|
+
}>>;
|
|
37
54
|
};
|
|
38
55
|
export declare const PcmChatMessage: StencilReactComponent<PcmChatMessageElement, PcmChatMessageEvents>;
|
|
39
|
-
type
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
56
|
+
type PcmDrawerEvents = {
|
|
57
|
+
onClosed: EventName<CustomEvent<void>>;
|
|
58
|
+
onAfterOpen: EventName<CustomEvent<void>>;
|
|
59
|
+
onAfterClose: EventName<CustomEvent<void>>;
|
|
43
60
|
};
|
|
44
|
-
export declare const
|
|
61
|
+
export declare const PcmDrawer: StencilReactComponent<PcmDrawerElement, PcmDrawerEvents>;
|
|
45
62
|
type PcmHrChatModalEvents = {
|
|
46
63
|
onModalClosed: EventName<CustomEvent<void>>;
|
|
47
64
|
onStreamComplete: EventName<PcmHrChatModalCustomEvent<StreamCompleteEventData>>;
|
|
@@ -56,6 +73,7 @@ type PcmHrChatModalEvents = {
|
|
|
56
73
|
status: 'started' | 'stopped' | 'paused' | 'resumed' | 'failed';
|
|
57
74
|
details?: any;
|
|
58
75
|
}>>;
|
|
76
|
+
onTokenInvalid: EventName<CustomEvent<void>>;
|
|
59
77
|
};
|
|
60
78
|
export declare const PcmHrChatModal: StencilReactComponent<PcmHrChatModalElement, PcmHrChatModalEvents>;
|
|
61
79
|
type PcmHtwsModalEvents = {
|
|
@@ -65,6 +83,7 @@ type PcmHtwsModalEvents = {
|
|
|
65
83
|
onConversationStart: EventName<PcmHtwsModalCustomEvent<ConversationStartEventData>>;
|
|
66
84
|
onInterviewComplete: EventName<PcmHtwsModalCustomEvent<InterviewCompleteEventData>>;
|
|
67
85
|
onTokenInvalid: EventName<CustomEvent<void>>;
|
|
86
|
+
onSomeErrorEvent: EventName<PcmHtwsModalCustomEvent<ErrorEventDetail>>;
|
|
68
87
|
};
|
|
69
88
|
export declare const PcmHtwsModal: StencilReactComponent<PcmHtwsModalElement, PcmHtwsModalEvents>;
|
|
70
89
|
type PcmHyzjModalEvents = {
|
|
@@ -74,6 +93,7 @@ type PcmHyzjModalEvents = {
|
|
|
74
93
|
onConversationStart: EventName<PcmHyzjModalCustomEvent<ConversationStartEventData>>;
|
|
75
94
|
onInterviewComplete: EventName<PcmHyzjModalCustomEvent<InterviewCompleteEventData>>;
|
|
76
95
|
onTokenInvalid: EventName<CustomEvent<void>>;
|
|
96
|
+
onSomeErrorEvent: EventName<PcmHyzjModalCustomEvent<ErrorEventDetail>>;
|
|
77
97
|
};
|
|
78
98
|
export declare const PcmHyzjModal: StencilReactComponent<PcmHyzjModalElement, PcmHyzjModalEvents>;
|
|
79
99
|
type PcmJdModalEvents = {
|
|
@@ -82,6 +102,7 @@ type PcmJdModalEvents = {
|
|
|
82
102
|
onConversationStart: EventName<PcmJdModalCustomEvent<ConversationStartEventData>>;
|
|
83
103
|
onInterviewComplete: EventName<PcmJdModalCustomEvent<InterviewCompleteEventData>>;
|
|
84
104
|
onTokenInvalid: EventName<CustomEvent<void>>;
|
|
105
|
+
onSomeErrorEvent: EventName<PcmJdModalCustomEvent<ErrorEventDetail>>;
|
|
85
106
|
};
|
|
86
107
|
export declare const PcmJdModal: StencilReactComponent<PcmJdModalElement, PcmJdModalEvents>;
|
|
87
108
|
type PcmJlppModalEvents = {
|
|
@@ -91,6 +112,7 @@ type PcmJlppModalEvents = {
|
|
|
91
112
|
onConversationStart: EventName<PcmJlppModalCustomEvent<ConversationStartEventData>>;
|
|
92
113
|
onInterviewComplete: EventName<PcmJlppModalCustomEvent<InterviewCompleteEventData>>;
|
|
93
114
|
onTokenInvalid: EventName<CustomEvent<void>>;
|
|
115
|
+
onSomeErrorEvent: EventName<PcmJlppModalCustomEvent<ErrorEventDetail>>;
|
|
94
116
|
};
|
|
95
117
|
export declare const PcmJlppModal: StencilReactComponent<PcmJlppModalElement, PcmJlppModalEvents>;
|
|
96
118
|
type PcmMnctModalEvents = {
|
|
@@ -100,6 +122,7 @@ type PcmMnctModalEvents = {
|
|
|
100
122
|
onConversationStart: EventName<PcmMnctModalCustomEvent<ConversationStartEventData>>;
|
|
101
123
|
onInterviewComplete: EventName<PcmMnctModalCustomEvent<InterviewCompleteEventData>>;
|
|
102
124
|
onTokenInvalid: EventName<CustomEvent<void>>;
|
|
125
|
+
onSomeErrorEvent: EventName<PcmMnctModalCustomEvent<ErrorEventDetail>>;
|
|
103
126
|
};
|
|
104
127
|
export declare const PcmMnctModal: StencilReactComponent<PcmMnctModalElement, PcmMnctModalEvents>;
|
|
105
128
|
type PcmMnmsModalEvents = {
|
|
@@ -109,6 +132,7 @@ type PcmMnmsModalEvents = {
|
|
|
109
132
|
onConversationStart: EventName<PcmMnmsModalCustomEvent<ConversationStartEventData>>;
|
|
110
133
|
onInterviewComplete: EventName<PcmMnmsModalCustomEvent<InterviewCompleteEventData>>;
|
|
111
134
|
onTokenInvalid: EventName<CustomEvent<void>>;
|
|
135
|
+
onSomeErrorEvent: EventName<PcmMnmsModalCustomEvent<ErrorEventDetail>>;
|
|
112
136
|
onRecordingError: EventName<PcmMnmsModalCustomEvent<RecordingErrorEventData>>;
|
|
113
137
|
};
|
|
114
138
|
export declare const PcmMnmsModal: StencilReactComponent<PcmMnmsModalElement, PcmMnmsModalEvents>;
|
|
@@ -119,23 +143,9 @@ type PcmMsbgModalEvents = {
|
|
|
119
143
|
onConversationStart: EventName<PcmMsbgModalCustomEvent<ConversationStartEventData>>;
|
|
120
144
|
onInterviewComplete: EventName<PcmMsbgModalCustomEvent<InterviewCompleteEventData>>;
|
|
121
145
|
onTokenInvalid: EventName<CustomEvent<void>>;
|
|
146
|
+
onSomeErrorEvent: EventName<PcmMsbgModalCustomEvent<ErrorEventDetail>>;
|
|
122
147
|
};
|
|
123
148
|
export declare const PcmMsbgModal: StencilReactComponent<PcmMsbgModalElement, PcmMsbgModalEvents>;
|
|
124
|
-
type PcmVideoChatModalEvents = {
|
|
125
|
-
onModalClosed: EventName<CustomEvent<void>>;
|
|
126
|
-
onStreamComplete: EventName<PcmVideoChatModalCustomEvent<StreamCompleteEventData>>;
|
|
127
|
-
onInterviewComplete: EventName<PcmVideoChatModalCustomEvent<InterviewCompleteEventData>>;
|
|
128
|
-
onRecordingError: EventName<CustomEvent<{
|
|
129
|
-
type: string;
|
|
130
|
-
message: string;
|
|
131
|
-
details?: any;
|
|
132
|
-
}>>;
|
|
133
|
-
onRecordingStatusChange: EventName<CustomEvent<{
|
|
134
|
-
status: 'started' | 'stopped' | 'paused' | 'resumed' | 'failed';
|
|
135
|
-
details?: any;
|
|
136
|
-
}>>;
|
|
137
|
-
};
|
|
138
|
-
export declare const PcmVideoChatModal: StencilReactComponent<PcmVideoChatModalElement, PcmVideoChatModalEvents>;
|
|
139
149
|
type PcmZskChatModalEvents = {
|
|
140
150
|
onModalClosed: EventName<CustomEvent<void>>;
|
|
141
151
|
onStreamComplete: EventName<PcmZskChatModalCustomEvent<StreamCompleteEventData>>;
|
|
@@ -153,6 +163,7 @@ type PcmZyghModalEvents = {
|
|
|
153
163
|
type: CareerPlanType;
|
|
154
164
|
}>>;
|
|
155
165
|
onTokenInvalid: EventName<CustomEvent<void>>;
|
|
166
|
+
onSomeErrorEvent: EventName<PcmZyghModalCustomEvent<ErrorEventDetail>>;
|
|
156
167
|
};
|
|
157
168
|
export declare const PcmZyghModal: StencilReactComponent<PcmZyghModalElement, PcmZyghModalEvents>;
|
|
158
169
|
export {};
|