@vogent/vogent-web-client 0.1.1 → 0.1.2
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.
|
@@ -42,6 +42,14 @@ export var ArrayConditionType;
|
|
|
42
42
|
ArrayConditionType["All"] = "all";
|
|
43
43
|
ArrayConditionType["Any"] = "any";
|
|
44
44
|
})(ArrayConditionType || (ArrayConditionType = {}));
|
|
45
|
+
export var BatchDialJobStatus;
|
|
46
|
+
(function (BatchDialJobStatus) {
|
|
47
|
+
BatchDialJobStatus["Active"] = "ACTIVE";
|
|
48
|
+
BatchDialJobStatus["Cancelled"] = "CANCELLED";
|
|
49
|
+
BatchDialJobStatus["Complete"] = "COMPLETE";
|
|
50
|
+
BatchDialJobStatus["Init"] = "INIT";
|
|
51
|
+
BatchDialJobStatus["Paused"] = "PAUSED";
|
|
52
|
+
})(BatchDialJobStatus || (BatchDialJobStatus = {}));
|
|
45
53
|
export var BrowserDialTokenType;
|
|
46
54
|
(function (BrowserDialTokenType) {
|
|
47
55
|
BrowserDialTokenType["DialSession"] = "DIAL_SESSION";
|
|
@@ -114,6 +122,17 @@ export var DialTreeStrategy;
|
|
|
114
122
|
DialTreeStrategy["Connect"] = "CONNECT";
|
|
115
123
|
DialTreeStrategy["Skip"] = "SKIP";
|
|
116
124
|
})(DialTreeStrategy || (DialTreeStrategy = {}));
|
|
125
|
+
export var EndpointDetectorMode;
|
|
126
|
+
(function (EndpointDetectorMode) {
|
|
127
|
+
EndpointDetectorMode["Aggressive"] = "AGGRESSIVE";
|
|
128
|
+
EndpointDetectorMode["Conservative"] = "CONSERVATIVE";
|
|
129
|
+
EndpointDetectorMode["Default"] = "DEFAULT";
|
|
130
|
+
})(EndpointDetectorMode || (EndpointDetectorMode = {}));
|
|
131
|
+
export var EndpointDetectorType;
|
|
132
|
+
(function (EndpointDetectorType) {
|
|
133
|
+
EndpointDetectorType["Semantic"] = "SEMANTIC";
|
|
134
|
+
EndpointDetectorType["Simple"] = "SIMPLE";
|
|
135
|
+
})(EndpointDetectorType || (EndpointDetectorType = {}));
|
|
117
136
|
export var ExtractorFieldType;
|
|
118
137
|
(function (ExtractorFieldType) {
|
|
119
138
|
ExtractorFieldType["Boolean"] = "BOOLEAN";
|
|
@@ -174,6 +193,17 @@ export var OpeningLineType;
|
|
|
174
193
|
OpeningLineType["InboundOutbound"] = "INBOUND_OUTBOUND";
|
|
175
194
|
OpeningLineType["None"] = "NONE";
|
|
176
195
|
})(OpeningLineType || (OpeningLineType = {}));
|
|
196
|
+
export var OutputType;
|
|
197
|
+
(function (OutputType) {
|
|
198
|
+
OutputType["Mp3"] = "MP3";
|
|
199
|
+
OutputType["RawPcm16"] = "RAW_PCM16";
|
|
200
|
+
OutputType["WavPcm16"] = "WAV_PCM16";
|
|
201
|
+
})(OutputType || (OutputType = {}));
|
|
202
|
+
export var PhoneNumberType;
|
|
203
|
+
(function (PhoneNumberType) {
|
|
204
|
+
PhoneNumberType["Pstn"] = "PSTN";
|
|
205
|
+
PhoneNumberType["SipUsername"] = "SIP_USERNAME";
|
|
206
|
+
})(PhoneNumberType || (PhoneNumberType = {}));
|
|
177
207
|
export var RecordingSettingType;
|
|
178
208
|
(function (RecordingSettingType) {
|
|
179
209
|
RecordingSettingType["BlockAreaCodes"] = "BLOCK_AREA_CODES";
|
|
@@ -210,18 +240,29 @@ export var SessionMessageType;
|
|
|
210
240
|
SessionMessageType["SessionContactUpdate"] = "SESSION_CONTACT_UPDATE";
|
|
211
241
|
SessionMessageType["SessionUpdate"] = "SESSION_UPDATE";
|
|
212
242
|
})(SessionMessageType || (SessionMessageType = {}));
|
|
243
|
+
export var SilenceHangupType;
|
|
244
|
+
(function (SilenceHangupType) {
|
|
245
|
+
SilenceHangupType["Disabled"] = "DISABLED";
|
|
246
|
+
SilenceHangupType["FirstMessageOnly"] = "FIRST_MESSAGE_ONLY";
|
|
247
|
+
SilenceHangupType["WholeCall"] = "WHOLE_CALL";
|
|
248
|
+
})(SilenceHangupType || (SilenceHangupType = {}));
|
|
213
249
|
export var SystemResultType;
|
|
214
250
|
(function (SystemResultType) {
|
|
251
|
+
SystemResultType["AgentHangup"] = "AGENT_HANGUP";
|
|
215
252
|
SystemResultType["Busy"] = "BUSY";
|
|
216
253
|
SystemResultType["Cancelled"] = "CANCELLED";
|
|
254
|
+
SystemResultType["CounterpartyHangup"] = "COUNTERPARTY_HANGUP";
|
|
217
255
|
SystemResultType["DialTreeFound"] = "DIAL_TREE_FOUND";
|
|
218
256
|
SystemResultType["DncSkipped"] = "DNC_SKIPPED";
|
|
219
257
|
SystemResultType["Failed"] = "FAILED";
|
|
258
|
+
SystemResultType["LongSilenceHangup"] = "LONG_SILENCE_HANGUP";
|
|
220
259
|
SystemResultType["NoAnswer"] = "NO_ANSWER";
|
|
221
260
|
SystemResultType["NumberSkipped"] = "NUMBER_SKIPPED";
|
|
222
261
|
SystemResultType["RateLimited"] = "RATE_LIMITED";
|
|
223
262
|
SystemResultType["Timeout"] = "TIMEOUT";
|
|
263
|
+
SystemResultType["Transferred"] = "TRANSFERRED";
|
|
224
264
|
SystemResultType["UserHangup"] = "USER_HANGUP";
|
|
265
|
+
SystemResultType["VoicemailDetectedHangup"] = "VOICEMAIL_DETECTED_HANGUP";
|
|
225
266
|
SystemResultType["VoicemailLeft"] = "VOICEMAIL_LEFT";
|
|
226
267
|
SystemResultType["VoicemailNotLeft"] = "VOICEMAIL_NOT_LEFT";
|
|
227
268
|
})(SystemResultType || (SystemResultType = {}));
|
|
@@ -261,6 +302,11 @@ export var VoiceTier;
|
|
|
261
302
|
VoiceTier["Premium"] = "PREMIUM";
|
|
262
303
|
VoiceTier["Standard"] = "STANDARD";
|
|
263
304
|
})(VoiceTier || (VoiceTier = {}));
|
|
305
|
+
export var VoicemailDetection;
|
|
306
|
+
(function (VoicemailDetection) {
|
|
307
|
+
VoicemailDetection["Disable"] = "DISABLE";
|
|
308
|
+
VoicemailDetection["Hangup"] = "HANGUP";
|
|
309
|
+
})(VoicemailDetection || (VoicemailDetection = {}));
|
|
264
310
|
export var WebcallType;
|
|
265
311
|
(function (WebcallType) {
|
|
266
312
|
WebcallType["Legacy"] = "legacy";
|
|
@@ -276,4 +322,4 @@ export const HangupCallDocument = { "kind": "Document", "definitions": [{ "kind"
|
|
|
276
322
|
export const SetPausedDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "SetPaused" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "dialId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ID" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "pauseStatus" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Boolean" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "pauseAI" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "dialId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "dialId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "pauseStatus" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "pauseStatus" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }] } }] };
|
|
277
323
|
export const RefreshTranscriptDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "subscription", "name": { "kind": "Name", "value": "RefreshTranscript" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "dialId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ID" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "watchTranscript" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "dialId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "dialId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "speaker" } }, { "kind": "Field", "name": { "kind": "Name", "value": "text" } }, { "kind": "Field", "name": { "kind": "Name", "value": "detailType" } }] } }] } }] };
|
|
278
324
|
export const BrowserDialTokenDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "BrowserDialToken" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BrowserDialTokenInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "browserDialToken" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "iceConfig" } }, { "kind": "Field", "name": { "kind": "Name", "value": "telephonyProvider" } }, { "kind": "Field", "name": { "kind": "Name", "value": "url" } }] } }] } }] };
|
|
279
|
-
export const ConnectSessionDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "subscription", "name": { "kind": "Name", "value": "ConnectSession" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "sessionId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ID" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "connectSession" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "sessionId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "sessionId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "messageType" } }, { "kind": "Field", "name": { "kind": "Name", "value": "content" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "DialsUpdatedMessage" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "contactId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "dials" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "answerType" } }, { "kind": "Field", "name": { "kind": "Name", "value": "
|
|
325
|
+
export const ConnectSessionDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "subscription", "name": { "kind": "Name", "value": "ConnectSession" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "sessionId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ID" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "connectSession" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "sessionId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "sessionId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "messageType" } }, { "kind": "Field", "name": { "kind": "Name", "value": "content" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "DialsUpdatedMessage" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "contactId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "dials" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "answerType" } }, { "kind": "Field", "name": { "kind": "Name", "value": "callDispositionId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "systemResultType" } }, { "kind": "Field", "name": { "kind": "Name", "value": "toNumber" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "contactComplete" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "DialConnectMessage" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "dialId" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "SessionUpdatedMessage" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "dialSession" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "reason" } }] } }] } }] } }] } }] };
|
package/dist/queries.js
CHANGED