@vogent/vogent-web-client 0.0.9 → 0.1.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.
- package/dist/.DS_Store +0 -0
- package/dist/VogentCall.js +9 -2
- package/dist/__generated__/gql.d.ts +2 -9
- package/dist/__generated__/gql.js +1 -2
- package/dist/__generated__/graphql.d.ts +589 -36
- package/dist/__generated__/graphql.js +70 -7
- package/dist/devices/LivekitDevice.d.ts +27 -0
- package/dist/devices/LivekitDevice.js +81 -0
- package/dist/queries.js +2 -0
- package/package.json +3 -2
|
@@ -65,9 +65,92 @@ export type AiChat = {
|
|
|
65
65
|
prompt: Scalars['String']['output'];
|
|
66
66
|
transcript: Array<SpeakerTextRes>;
|
|
67
67
|
};
|
|
68
|
+
export type AiEvalAggregateResult = {
|
|
69
|
+
__typename?: 'AIEvalAggregateResult';
|
|
70
|
+
numFailing: Scalars['Int']['output'];
|
|
71
|
+
numPassing: Scalars['Int']['output'];
|
|
72
|
+
};
|
|
73
|
+
export type AiEvalConfig = {
|
|
74
|
+
__typename?: 'AIEvalConfig';
|
|
75
|
+
id: Scalars['ID']['output'];
|
|
76
|
+
name: Scalars['String']['output'];
|
|
77
|
+
promptSnippet: Scalars['String']['output'];
|
|
78
|
+
records: AiEvalRecordsResult;
|
|
79
|
+
runs: AiEvalRunsResult;
|
|
80
|
+
};
|
|
81
|
+
export type AiEvalConfigRecordsArgs = {
|
|
82
|
+
limit: Scalars['Int']['input'];
|
|
83
|
+
offset: Scalars['Int']['input'];
|
|
84
|
+
};
|
|
85
|
+
export type AiEvalConfigRunsArgs = {
|
|
86
|
+
limit: Scalars['Int']['input'];
|
|
87
|
+
offset: Scalars['Int']['input'];
|
|
88
|
+
};
|
|
89
|
+
export type AiEvalListResultsResult = {
|
|
90
|
+
__typename?: 'AIEvalListResultsResult';
|
|
91
|
+
aiEvalResults: Array<AiEvalResult>;
|
|
92
|
+
numAiEvalResults: Scalars['Int']['output'];
|
|
93
|
+
};
|
|
94
|
+
export type AiEvalRecord = {
|
|
95
|
+
__typename?: 'AIEvalRecord';
|
|
96
|
+
dial?: Maybe<Dial>;
|
|
97
|
+
id: Scalars['ID']['output'];
|
|
98
|
+
recordType: AiEvalRecordType;
|
|
99
|
+
};
|
|
100
|
+
export declare enum AiEvalRecordType {
|
|
101
|
+
Dial = "DIAL"
|
|
102
|
+
}
|
|
103
|
+
export type AiEvalRecordsResult = {
|
|
104
|
+
__typename?: 'AIEvalRecordsResult';
|
|
105
|
+
aiEvalRecords: Array<AiEvalRecord>;
|
|
106
|
+
numAiEvalRecords: Scalars['Int']['output'];
|
|
107
|
+
};
|
|
108
|
+
export type AiEvalResult = {
|
|
109
|
+
__typename?: 'AIEvalResult';
|
|
110
|
+
createdAt: Scalars['Time']['output'];
|
|
111
|
+
evalTranscript: Array<SpeakerTextRes>;
|
|
112
|
+
id: Scalars['ID']['output'];
|
|
113
|
+
numAlerts: Scalars['Int']['output'];
|
|
114
|
+
record: AiEvalRecord;
|
|
115
|
+
results: Array<AiEvalResultLine>;
|
|
116
|
+
};
|
|
117
|
+
export type AiEvalResultLine = {
|
|
118
|
+
__typename?: 'AIEvalResultLine';
|
|
119
|
+
accurate: Scalars['Boolean']['output'];
|
|
120
|
+
index: Scalars['Int']['output'];
|
|
121
|
+
modelOutput: Scalars['String']['output'];
|
|
122
|
+
reason?: Maybe<Scalars['String']['output']>;
|
|
123
|
+
};
|
|
124
|
+
export type AiEvalRun = {
|
|
125
|
+
__typename?: 'AIEvalRun';
|
|
126
|
+
aggregateResult: AiEvalAggregateResult;
|
|
127
|
+
callAgent: CallAgent;
|
|
128
|
+
createdAt: Scalars['Time']['output'];
|
|
129
|
+
id: Scalars['ID']['output'];
|
|
130
|
+
results: AiEvalListResultsResult;
|
|
131
|
+
status: AiEvalRunStatus;
|
|
132
|
+
versionedPrompt: VersionedPrompt;
|
|
133
|
+
};
|
|
134
|
+
export type AiEvalRunResultsArgs = {
|
|
135
|
+
limit: Scalars['Int']['input'];
|
|
136
|
+
offset: Scalars['Int']['input'];
|
|
137
|
+
};
|
|
138
|
+
export declare enum AiEvalRunStatus {
|
|
139
|
+
Failed = "FAILED",
|
|
140
|
+
Pending = "PENDING",
|
|
141
|
+
Running = "RUNNING",
|
|
142
|
+
Success = "SUCCESS"
|
|
143
|
+
}
|
|
144
|
+
export type AiEvalRunsResult = {
|
|
145
|
+
__typename?: 'AIEvalRunsResult';
|
|
146
|
+
aiEvalRuns: Array<AiEvalRun>;
|
|
147
|
+
numAiEvalRuns: Scalars['Int']['output'];
|
|
148
|
+
};
|
|
68
149
|
export type AiModel = {
|
|
69
150
|
__typename?: 'AIModel';
|
|
151
|
+
allowedAgentType: AllowedAgentType;
|
|
70
152
|
id: Scalars['ID']['output'];
|
|
153
|
+
modelOptions: Array<AiModelOption>;
|
|
71
154
|
modelParams?: Maybe<Scalars['String']['output']>;
|
|
72
155
|
modelType: Scalars['String']['output'];
|
|
73
156
|
name: Scalars['String']['output'];
|
|
@@ -76,8 +159,23 @@ export type AiModel = {
|
|
|
76
159
|
workspaces: Array<Workspace>;
|
|
77
160
|
};
|
|
78
161
|
export type AiModelFilter = {
|
|
162
|
+
agentType?: InputMaybe<AgentType>;
|
|
79
163
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
80
164
|
};
|
|
165
|
+
export type AiModelOption = {
|
|
166
|
+
__typename?: 'AIModelOption';
|
|
167
|
+
default: Scalars['String']['output'];
|
|
168
|
+
fieldType?: Maybe<FieldType>;
|
|
169
|
+
id: Scalars['ID']['output'];
|
|
170
|
+
name: Scalars['String']['output'];
|
|
171
|
+
range?: Maybe<Array<RangeEndpoint>>;
|
|
172
|
+
valueType: AiModelOptionValueType;
|
|
173
|
+
};
|
|
174
|
+
export declare enum AiModelOptionValueType {
|
|
175
|
+
Float = "FLOAT",
|
|
176
|
+
Int = "INT",
|
|
177
|
+
String = "STRING"
|
|
178
|
+
}
|
|
81
179
|
export type AiModelsResult = {
|
|
82
180
|
__typename?: 'AIModelsResult';
|
|
83
181
|
aiModels: Array<AiModel>;
|
|
@@ -85,13 +183,23 @@ export type AiModelsResult = {
|
|
|
85
183
|
};
|
|
86
184
|
export type AiVoice = {
|
|
87
185
|
__typename?: 'AIVoice';
|
|
186
|
+
badges?: Maybe<Array<Scalars['String']['output']>>;
|
|
88
187
|
gender: VoiceGender;
|
|
89
188
|
id: Scalars['ID']['output'];
|
|
90
189
|
name: Scalars['String']['output'];
|
|
91
190
|
provider: Scalars['String']['output'];
|
|
92
191
|
providerDetails?: Maybe<Scalars['String']['output']>;
|
|
93
192
|
providerVoiceId: Scalars['String']['output'];
|
|
94
|
-
|
|
193
|
+
public: Scalars['Boolean']['output'];
|
|
194
|
+
refText: Scalars['String']['output'];
|
|
195
|
+
voiceOptions: Array<AiModelOption>;
|
|
196
|
+
voiceTier: VoiceTier;
|
|
197
|
+
workspaces: Array<AiVoiceWorkspace>;
|
|
198
|
+
};
|
|
199
|
+
export type AiVoiceWorkspace = {
|
|
200
|
+
__typename?: 'AIVoiceWorkspace';
|
|
201
|
+
providerDetails?: Maybe<Scalars['String']['output']>;
|
|
202
|
+
workspace: Workspace;
|
|
95
203
|
};
|
|
96
204
|
export type AiVoicesResult = {
|
|
97
205
|
__typename?: 'AIVoicesResult';
|
|
@@ -106,6 +214,10 @@ export type ApiKey = {
|
|
|
106
214
|
lastUsed?: Maybe<Scalars['Time']['output']>;
|
|
107
215
|
name: Scalars['String']['output'];
|
|
108
216
|
};
|
|
217
|
+
export declare enum AccessType {
|
|
218
|
+
Deny = "DENY",
|
|
219
|
+
Grant = "GRANT"
|
|
220
|
+
}
|
|
109
221
|
export type AdHocDialSession = {
|
|
110
222
|
__typename?: 'AdHocDialSession';
|
|
111
223
|
id: Scalars['ID']['output'];
|
|
@@ -119,6 +231,10 @@ export type AddCallAgentFieldInput = {
|
|
|
119
231
|
agentId: Scalars['ID']['input'];
|
|
120
232
|
name: Scalars['String']['input'];
|
|
121
233
|
};
|
|
234
|
+
export type AddDialAiEvalRecordInput = {
|
|
235
|
+
aiEvalConfigId: Scalars['ID']['input'];
|
|
236
|
+
dialIds: Array<Scalars['ID']['input']>;
|
|
237
|
+
};
|
|
122
238
|
export type AddKnowledgeBaseFilesInput = {
|
|
123
239
|
files: Array<Scalars['Upload']['input']>;
|
|
124
240
|
knowledgeBaseId: Scalars['ID']['input'];
|
|
@@ -145,10 +261,6 @@ export type AggregateStats = {
|
|
|
145
261
|
numPatched: Scalars['Int']['output'];
|
|
146
262
|
totalCallTimeSecs: Scalars['Int']['output'];
|
|
147
263
|
};
|
|
148
|
-
export declare enum AiModelAccessType {
|
|
149
|
-
Deny = "DENY",
|
|
150
|
-
Grant = "GRANT"
|
|
151
|
-
}
|
|
152
264
|
export type AllWorkspacesFilterInput = {
|
|
153
265
|
active?: InputMaybe<Scalars['Boolean']['input']>;
|
|
154
266
|
email?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -158,6 +270,10 @@ export type AllWorkspacesResult = {
|
|
|
158
270
|
numWorkspaces: Scalars['Int']['output'];
|
|
159
271
|
workspaces: Array<Workspace>;
|
|
160
272
|
};
|
|
273
|
+
export declare enum AllowedAgentType {
|
|
274
|
+
FlowOnly = "FLOW_ONLY",
|
|
275
|
+
StandardOnly = "STANDARD_ONLY"
|
|
276
|
+
}
|
|
161
277
|
export declare enum AnswerType {
|
|
162
278
|
Human = "HUMAN",
|
|
163
279
|
Machine = "MACHINE",
|
|
@@ -173,6 +289,10 @@ export type ApiFlowNode = {
|
|
|
173
289
|
transitionRules: Array<FlowTransitionRule>;
|
|
174
290
|
type: Scalars['String']['output'];
|
|
175
291
|
};
|
|
292
|
+
export type ApiFlowNodeDeleteResult = {
|
|
293
|
+
__typename?: 'ApiFlowNodeDeleteResult';
|
|
294
|
+
connectedNodes: Array<ApiFlowNode>;
|
|
295
|
+
};
|
|
176
296
|
export type ApiFlowNodeInput = {
|
|
177
297
|
id: Scalars['ID']['input'];
|
|
178
298
|
name: Scalars['String']['input'];
|
|
@@ -198,6 +318,19 @@ export type ApolloUser = {
|
|
|
198
318
|
id: Scalars['ID']['output'];
|
|
199
319
|
lastName: Scalars['String']['output'];
|
|
200
320
|
};
|
|
321
|
+
export type AppConfig = {
|
|
322
|
+
__typename?: 'AppConfig';
|
|
323
|
+
billingConfig: Scalars['String']['output'];
|
|
324
|
+
};
|
|
325
|
+
export type AppNotice = {
|
|
326
|
+
__typename?: 'AppNotice';
|
|
327
|
+
id: Scalars['ID']['output'];
|
|
328
|
+
text: Scalars['String']['output'];
|
|
329
|
+
};
|
|
330
|
+
export declare enum ArrayConditionType {
|
|
331
|
+
All = "all",
|
|
332
|
+
Any = "any"
|
|
333
|
+
}
|
|
201
334
|
export type AuthPayload = {
|
|
202
335
|
__typename?: 'AuthPayload';
|
|
203
336
|
token: Scalars['String']['output'];
|
|
@@ -227,7 +360,9 @@ export type BrowserDialTokenInput = {
|
|
|
227
360
|
export type BrowserDialTokenRes = {
|
|
228
361
|
__typename?: 'BrowserDialTokenRes';
|
|
229
362
|
iceConfig?: Maybe<Scalars['String']['output']>;
|
|
363
|
+
telephonyProvider: Scalars['String']['output'];
|
|
230
364
|
token: Scalars['String']['output'];
|
|
365
|
+
url?: Maybe<Scalars['String']['output']>;
|
|
231
366
|
};
|
|
232
367
|
export declare enum BrowserDialTokenType {
|
|
233
368
|
DialSession = "DIAL_SESSION",
|
|
@@ -277,13 +412,18 @@ export type CallAgent = {
|
|
|
277
412
|
defaultExtractor?: Maybe<CallAgentExtractor>;
|
|
278
413
|
defaultPrompt?: Maybe<VersionedPrompt>;
|
|
279
414
|
extractors: Array<CallAgentExtractor>;
|
|
280
|
-
functionDefinitions: Array<
|
|
415
|
+
functionDefinitions: Array<CallAgentFunctionDefinition>;
|
|
281
416
|
id: Scalars['ID']['output'];
|
|
417
|
+
idleMessageConfig: IdleMessageConfig;
|
|
418
|
+
inboundWebhookResponse: Scalars['Boolean']['output'];
|
|
419
|
+
inboundWebhookURL?: Maybe<Scalars['String']['output']>;
|
|
282
420
|
ivrDetectionType: IvrDetectionType;
|
|
283
421
|
ivrTaggingText?: Maybe<Scalars['String']['output']>;
|
|
284
422
|
ivrVersionedPrompt?: Maybe<VersionedPrompt>;
|
|
285
423
|
ivrVoice?: Maybe<AiVoice>;
|
|
286
424
|
language: Scalars['String']['output'];
|
|
425
|
+
maxDurationSeconds: Scalars['Int']['output'];
|
|
426
|
+
metadata?: Maybe<Scalars['Map']['output']>;
|
|
287
427
|
name: Scalars['String']['output'];
|
|
288
428
|
openingLine?: Maybe<Scalars['String']['output']>;
|
|
289
429
|
openingLineType?: Maybe<OpeningLineType>;
|
|
@@ -291,8 +431,10 @@ export type CallAgent = {
|
|
|
291
431
|
presets: Array<CallDataPreset>;
|
|
292
432
|
prompts: Array<VersionedPrompt>;
|
|
293
433
|
pronunciationMap?: Maybe<PronunciationMap>;
|
|
434
|
+
transcriberConfig: TranscriberConfig;
|
|
294
435
|
transferNumber?: Maybe<Scalars['String']['output']>;
|
|
295
436
|
utteranceDetectorConfig: UtteranceDetectorConfig;
|
|
437
|
+
voiceOptionValues?: Maybe<Array<ModelOptionValue>>;
|
|
296
438
|
voiceVolumeLevel: Scalars['Int']['output'];
|
|
297
439
|
workspaceId: Scalars['ID']['output'];
|
|
298
440
|
};
|
|
@@ -305,12 +447,47 @@ export type CallAgentExtractor = {
|
|
|
305
447
|
updatedAt?: Maybe<Scalars['Time']['output']>;
|
|
306
448
|
useVariables: Scalars['Boolean']['output'];
|
|
307
449
|
};
|
|
450
|
+
export type CallAgentExtractorInput = {
|
|
451
|
+
extractorFields: Array<ExtractorFieldInput>;
|
|
452
|
+
name: Scalars['String']['input'];
|
|
453
|
+
};
|
|
454
|
+
export type CallAgentFilter = {
|
|
455
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
456
|
+
};
|
|
457
|
+
export type CallAgentFunctionDefinition = {
|
|
458
|
+
__typename?: 'CallAgentFunctionDefinition';
|
|
459
|
+
functionDefinition: FunctionDefinition;
|
|
460
|
+
lifecycleMessagesOverride?: Maybe<FunctionLifecycleMessages>;
|
|
461
|
+
};
|
|
308
462
|
export type CallAgentInput = {
|
|
463
|
+
backgroundNoiseType?: InputMaybe<Scalars['String']['input']>;
|
|
464
|
+
defaultExtractor?: InputMaybe<CallAgentExtractorInput>;
|
|
465
|
+
defaultVersionedPrompt?: InputMaybe<CallAgentVersionedPromptInput>;
|
|
309
466
|
defaultVoiceId: Scalars['ID']['input'];
|
|
467
|
+
idleMessageConfig?: InputMaybe<IdleConfigInput>;
|
|
468
|
+
inboundWebhookResponse?: InputMaybe<Scalars['Boolean']['input']>;
|
|
469
|
+
inboundWebhookURL?: InputMaybe<Scalars['String']['input']>;
|
|
470
|
+
language?: InputMaybe<Scalars['String']['input']>;
|
|
471
|
+
linkedFunctionDefinitionInputs?: InputMaybe<Array<LinkFunctionDefinitionInput>>;
|
|
472
|
+
maxDurationSeconds?: InputMaybe<Scalars['Int']['input']>;
|
|
473
|
+
metadata?: InputMaybe<Scalars['Map']['input']>;
|
|
310
474
|
name: Scalars['String']['input'];
|
|
311
|
-
|
|
475
|
+
openingLine?: InputMaybe<NullableStringInput>;
|
|
476
|
+
openingLineType?: InputMaybe<OpeningLineType>;
|
|
477
|
+
transcriberParams?: InputMaybe<TranscriberParamsInput>;
|
|
478
|
+
transferNumber?: InputMaybe<NullableStringInput>;
|
|
479
|
+
utteranceDetectorConfig?: InputMaybe<UtteranceDetectorConfigInput>;
|
|
480
|
+
voiceVolumeLevel?: InputMaybe<Scalars['Int']['input']>;
|
|
312
481
|
workspaceId?: InputMaybe<Scalars['ID']['input']>;
|
|
313
482
|
};
|
|
483
|
+
export type CallAgentVersionedPromptInput = {
|
|
484
|
+
agentType: AgentType;
|
|
485
|
+
aiModelId: Scalars['ID']['input'];
|
|
486
|
+
flowDefinition?: InputMaybe<FlowDefinitionInput>;
|
|
487
|
+
modelOptionValues?: InputMaybe<Array<ModelOptionValueInput>>;
|
|
488
|
+
name: Scalars['String']['input'];
|
|
489
|
+
prompt?: InputMaybe<Scalars['String']['input']>;
|
|
490
|
+
};
|
|
314
491
|
export type CallAgentsResult = {
|
|
315
492
|
__typename?: 'CallAgentsResult';
|
|
316
493
|
callAgents: Array<CallAgent>;
|
|
@@ -363,6 +540,14 @@ export type CloneExtractorInput = {
|
|
|
363
540
|
clonedExtractorName: Scalars['String']['input'];
|
|
364
541
|
extractorId: Scalars['ID']['input'];
|
|
365
542
|
};
|
|
543
|
+
export type CloneVoiceInput = {
|
|
544
|
+
clip: Scalars['Upload']['input'];
|
|
545
|
+
gender: VoiceGender;
|
|
546
|
+
model: VoiceModel;
|
|
547
|
+
name: Scalars['String']['input'];
|
|
548
|
+
transcription?: InputMaybe<Scalars['String']['input']>;
|
|
549
|
+
workspaceId: Scalars['ID']['input'];
|
|
550
|
+
};
|
|
366
551
|
export type CoachingComment = {
|
|
367
552
|
__typename?: 'CoachingComment';
|
|
368
553
|
comment: Scalars['String']['output'];
|
|
@@ -375,6 +560,11 @@ export declare enum CoachingCommentVisibility {
|
|
|
375
560
|
ManagerOnly = "MANAGER_ONLY",
|
|
376
561
|
VisibleToRep = "VISIBLE_TO_REP"
|
|
377
562
|
}
|
|
563
|
+
export type CompleteOnboardingInput = {
|
|
564
|
+
skipSurvey?: InputMaybe<Scalars['Boolean']['input']>;
|
|
565
|
+
survey?: InputMaybe<OnboardingSurveyInput>;
|
|
566
|
+
workspaceId: Scalars['ID']['input'];
|
|
567
|
+
};
|
|
378
568
|
export declare enum ConnectionStatus {
|
|
379
569
|
ApiKeyConnected = "API_KEY_CONNECTED",
|
|
380
570
|
LegacyConnected = "LEGACY_CONNECTED",
|
|
@@ -488,13 +678,19 @@ export type ContactsResult = {
|
|
|
488
678
|
contacts: Array<Contact>;
|
|
489
679
|
numContacts: Scalars['Int']['output'];
|
|
490
680
|
};
|
|
681
|
+
export type CreateAiEvalConfigInput = {
|
|
682
|
+
name: Scalars['String']['input'];
|
|
683
|
+
workspaceId: Scalars['ID']['input'];
|
|
684
|
+
};
|
|
491
685
|
export type CreateAiVoiceInput = {
|
|
492
686
|
gender: VoiceGender;
|
|
493
687
|
name: Scalars['String']['input'];
|
|
494
688
|
provider: Scalars['String']['input'];
|
|
495
689
|
providerDetails?: InputMaybe<Scalars['String']['input']>;
|
|
496
690
|
providerId: Scalars['String']['input'];
|
|
497
|
-
|
|
691
|
+
public: Scalars['Boolean']['input'];
|
|
692
|
+
refAudio?: InputMaybe<Scalars['Upload']['input']>;
|
|
693
|
+
refText?: InputMaybe<Scalars['String']['input']>;
|
|
498
694
|
};
|
|
499
695
|
export type CreateApiKeyInput = {
|
|
500
696
|
apiKey: Scalars['String']['input'];
|
|
@@ -508,16 +704,20 @@ export type CreateApiKeyResponse = {
|
|
|
508
704
|
export type CreateAdHocDialSessionInput = {
|
|
509
705
|
aiVoiceId?: InputMaybe<Scalars['ID']['input']>;
|
|
510
706
|
browserCall?: InputMaybe<Scalars['Boolean']['input']>;
|
|
707
|
+
callAgentExtractorId?: InputMaybe<Scalars['ID']['input']>;
|
|
511
708
|
callAgentId?: InputMaybe<Scalars['ID']['input']>;
|
|
512
709
|
callAgentInput?: InputMaybe<Scalars['Map']['input']>;
|
|
513
710
|
fromPhoneNumberId?: InputMaybe<Scalars['ID']['input']>;
|
|
711
|
+
keywords?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
514
712
|
phoneNumber?: InputMaybe<Scalars['String']['input']>;
|
|
515
713
|
timeoutMinutes?: InputMaybe<Scalars['Int']['input']>;
|
|
516
714
|
versionedPromptId?: InputMaybe<Scalars['ID']['input']>;
|
|
715
|
+
webcallType?: InputMaybe<WebcallType>;
|
|
517
716
|
webhookURL?: InputMaybe<Scalars['String']['input']>;
|
|
518
717
|
workspaceId: Scalars['ID']['input'];
|
|
519
718
|
};
|
|
520
719
|
export type CreateAiModelInput = {
|
|
720
|
+
allowedAgentType: AllowedAgentType;
|
|
521
721
|
modelParams?: InputMaybe<Scalars['String']['input']>;
|
|
522
722
|
modelType: Scalars['String']['input'];
|
|
523
723
|
name: Scalars['String']['input'];
|
|
@@ -577,19 +777,24 @@ export type CreateDialCommentInput = {
|
|
|
577
777
|
export type CreateDialInput = {
|
|
578
778
|
aiVoiceId?: InputMaybe<Scalars['ID']['input']>;
|
|
579
779
|
browserCall?: InputMaybe<Scalars['Boolean']['input']>;
|
|
780
|
+
callAgentExtractorId?: InputMaybe<Scalars['ID']['input']>;
|
|
580
781
|
callAgentId: Scalars['ID']['input'];
|
|
581
782
|
callAgentInput?: InputMaybe<Scalars['Map']['input']>;
|
|
582
783
|
fromPhoneNumberId?: InputMaybe<Scalars['ID']['input']>;
|
|
784
|
+
keywords?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
583
785
|
timeoutMinutes?: InputMaybe<Scalars['Int']['input']>;
|
|
584
786
|
toNumber?: InputMaybe<Scalars['String']['input']>;
|
|
585
787
|
versionedModelId?: InputMaybe<Scalars['ID']['input']>;
|
|
788
|
+
webcallType?: InputMaybe<WebcallType>;
|
|
586
789
|
webhookURL?: InputMaybe<Scalars['String']['input']>;
|
|
790
|
+
workspaceId?: InputMaybe<Scalars['ID']['input']>;
|
|
587
791
|
};
|
|
588
792
|
export type CreateDialResult = {
|
|
589
793
|
__typename?: 'CreateDialResult';
|
|
590
794
|
dialId: Scalars['ID']['output'];
|
|
591
795
|
dialToken: Scalars['String']['output'];
|
|
592
796
|
sessionId: Scalars['ID']['output'];
|
|
797
|
+
telephonyProvider: Scalars['String']['output'];
|
|
593
798
|
};
|
|
594
799
|
export type CreateDialSessionInput = {
|
|
595
800
|
callAgentId?: InputMaybe<Scalars['ID']['input']>;
|
|
@@ -609,6 +814,11 @@ export type CreateDialSessionInput = {
|
|
|
609
814
|
voicemailId?: InputMaybe<Scalars['ID']['input']>;
|
|
610
815
|
workspaceId: Scalars['ID']['input'];
|
|
611
816
|
};
|
|
817
|
+
export type CreateDialTaskInput = {
|
|
818
|
+
callAgentId: Scalars['ID']['input'];
|
|
819
|
+
inputData: Scalars['Map']['input'];
|
|
820
|
+
keyInputs: Array<Scalars['String']['input']>;
|
|
821
|
+
};
|
|
612
822
|
export type CreateDispositionInput = {
|
|
613
823
|
mappedResult?: InputMaybe<DialResult>;
|
|
614
824
|
name: Scalars['String']['input'];
|
|
@@ -618,6 +828,7 @@ export type CreateFunctionDefinitionInput = {
|
|
|
618
828
|
arguments: Array<ExtractorFieldInput>;
|
|
619
829
|
description: Scalars['String']['input'];
|
|
620
830
|
dsl: Scalars['String']['input'];
|
|
831
|
+
lifecycleMessages?: InputMaybe<FunctionLifecycleMessagesInput>;
|
|
621
832
|
name: Scalars['String']['input'];
|
|
622
833
|
outputs?: InputMaybe<Array<ExtractorFieldInput>>;
|
|
623
834
|
workspaceId: Scalars['ID']['input'];
|
|
@@ -629,7 +840,7 @@ export type CreateKnowledgeBaseInput = {
|
|
|
629
840
|
export type CreatePricingProductInput = {
|
|
630
841
|
billingName: Scalars['String']['input'];
|
|
631
842
|
descriptiveName: Scalars['String']['input'];
|
|
632
|
-
|
|
843
|
+
priceDecimal: Scalars['String']['input'];
|
|
633
844
|
};
|
|
634
845
|
export type CreateSalesfloorRoomInput = {
|
|
635
846
|
name: Scalars['String']['input'];
|
|
@@ -638,6 +849,12 @@ export type CreateSalesfloorRoomInput = {
|
|
|
638
849
|
export type CreateSpamScanInput = {
|
|
639
850
|
phoneNumberIds: Array<Scalars['ID']['input']>;
|
|
640
851
|
};
|
|
852
|
+
export type CreateTaskAttemptInput = {
|
|
853
|
+
fromPhoneNumberId: Scalars['ID']['input'];
|
|
854
|
+
taskId: Scalars['ID']['input'];
|
|
855
|
+
toNumber: Scalars['String']['input'];
|
|
856
|
+
webhookUrl?: InputMaybe<Scalars['String']['input']>;
|
|
857
|
+
};
|
|
641
858
|
export type CreateUserApiKeyInput = {
|
|
642
859
|
name: Scalars['String']['input'];
|
|
643
860
|
workspaceId: Scalars['ID']['input'];
|
|
@@ -646,6 +863,8 @@ export type CreateVersionedPromptInput = {
|
|
|
646
863
|
agentType: AgentType;
|
|
647
864
|
aiModelId: Scalars['ID']['input'];
|
|
648
865
|
callAgentId: Scalars['ID']['input'];
|
|
866
|
+
flowDefinition?: InputMaybe<FlowDefinitionInput>;
|
|
867
|
+
modelOptionValues?: InputMaybe<Array<ModelOptionValueInput>>;
|
|
649
868
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
650
869
|
prompt?: InputMaybe<Scalars['String']['input']>;
|
|
651
870
|
};
|
|
@@ -675,11 +894,16 @@ export type DncRecordInput = {
|
|
|
675
894
|
phoneNumber?: InputMaybe<Scalars['String']['input']>;
|
|
676
895
|
workspaceId: Scalars['ID']['input'];
|
|
677
896
|
};
|
|
897
|
+
export type DeleteCallAgentNodeInput = {
|
|
898
|
+
nodeId: Scalars['ID']['input'];
|
|
899
|
+
versionedPromptId: Scalars['ID']['input'];
|
|
900
|
+
};
|
|
678
901
|
export type Dial = {
|
|
679
902
|
__typename?: 'Dial';
|
|
680
903
|
aiPaused: Scalars['Boolean']['output'];
|
|
681
904
|
aiResult?: Maybe<Scalars['Map']['output']>;
|
|
682
905
|
answerType: AnswerType;
|
|
906
|
+
billingUsage?: Maybe<Array<UsageLineItem>>;
|
|
683
907
|
browserDial: Scalars['Boolean']['output'];
|
|
684
908
|
callAgent?: Maybe<CallAgent>;
|
|
685
909
|
callDisposition?: Maybe<CallDisposition>;
|
|
@@ -691,10 +915,13 @@ export type Dial = {
|
|
|
691
915
|
dialComments: Array<DialComment>;
|
|
692
916
|
dialInputs?: Maybe<Scalars['Map']['output']>;
|
|
693
917
|
dialSessionId: Scalars['ID']['output'];
|
|
918
|
+
dialTaskId?: Maybe<Scalars['ID']['output']>;
|
|
694
919
|
feedbacks: Array<FeedbackType>;
|
|
695
920
|
fromPhoneNumber?: Maybe<PhoneNumber>;
|
|
696
921
|
id: Scalars['ID']['output'];
|
|
697
922
|
incomingCall: Scalars['Boolean']['output'];
|
|
923
|
+
inferenceEvents?: Maybe<Array<InferenceEvent>>;
|
|
924
|
+
internalTransferDialId?: Maybe<Scalars['ID']['output']>;
|
|
698
925
|
notes: Scalars['String']['output'];
|
|
699
926
|
phoneField: Scalars['String']['output'];
|
|
700
927
|
recordings: Array<CallRecording>;
|
|
@@ -738,6 +965,7 @@ export type DialFilter = {
|
|
|
738
965
|
callDirections?: InputMaybe<Array<CallDirection>>;
|
|
739
966
|
callTypes?: InputMaybe<Array<CallType>>;
|
|
740
967
|
extractorValues?: InputMaybe<Array<ExtractorValue>>;
|
|
968
|
+
inputValues?: InputMaybe<Array<InputValue>>;
|
|
741
969
|
phoneNumber?: InputMaybe<Scalars['String']['input']>;
|
|
742
970
|
range?: InputMaybe<TimeRange>;
|
|
743
971
|
};
|
|
@@ -808,6 +1036,30 @@ export declare enum DialSessionUpdateReason {
|
|
|
808
1036
|
Manual = "MANUAL",
|
|
809
1037
|
PassComplete = "PASS_COMPLETE"
|
|
810
1038
|
}
|
|
1039
|
+
export type DialTask = {
|
|
1040
|
+
__typename?: 'DialTask';
|
|
1041
|
+
completedDial?: Maybe<Dial>;
|
|
1042
|
+
createdAt: Scalars['Time']['output'];
|
|
1043
|
+
id: Scalars['ID']['output'];
|
|
1044
|
+
inputData: Scalars['Map']['output'];
|
|
1045
|
+
keyInputs: Array<Scalars['String']['output']>;
|
|
1046
|
+
results?: Maybe<Scalars['Map']['output']>;
|
|
1047
|
+
status: DialTaskStatus;
|
|
1048
|
+
};
|
|
1049
|
+
export type DialTaskFilter = {
|
|
1050
|
+
callAgents?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
1051
|
+
inputValues?: InputMaybe<Array<InputValue>>;
|
|
1052
|
+
};
|
|
1053
|
+
export type DialTaskListResult = {
|
|
1054
|
+
__typename?: 'DialTaskListResult';
|
|
1055
|
+
dialTasks: Array<DialTask>;
|
|
1056
|
+
numDialTasks: Scalars['Int']['output'];
|
|
1057
|
+
};
|
|
1058
|
+
export declare enum DialTaskStatus {
|
|
1059
|
+
Completed = "COMPLETED",
|
|
1060
|
+
Pending = "PENDING",
|
|
1061
|
+
Running = "RUNNING"
|
|
1062
|
+
}
|
|
811
1063
|
export declare enum DialTreeStrategy {
|
|
812
1064
|
Connect = "CONNECT",
|
|
813
1065
|
Skip = "SKIP"
|
|
@@ -862,6 +1114,10 @@ export type FieldOptionsResult = {
|
|
|
862
1114
|
fieldOptions: Array<FieldOption>;
|
|
863
1115
|
numFieldOptions: Scalars['Int']['output'];
|
|
864
1116
|
};
|
|
1117
|
+
export declare enum FieldType {
|
|
1118
|
+
Input = "INPUT",
|
|
1119
|
+
Textarea = "TEXTAREA"
|
|
1120
|
+
}
|
|
865
1121
|
export type FilterableField = {
|
|
866
1122
|
__typename?: 'FilterableField';
|
|
867
1123
|
fieldId: Scalars['String']['output'];
|
|
@@ -877,13 +1133,22 @@ export declare enum FlowConditionType {
|
|
|
877
1133
|
}
|
|
878
1134
|
export type FlowDefinition = {
|
|
879
1135
|
__typename?: 'FlowDefinition';
|
|
1136
|
+
aiOpen: Scalars['Boolean']['output'];
|
|
1137
|
+
globalContext?: Maybe<Scalars['String']['output']>;
|
|
880
1138
|
nodes: Array<ApiFlowNode>;
|
|
1139
|
+
openingLineType: OpeningLineType;
|
|
1140
|
+
useHistory: Scalars['Boolean']['output'];
|
|
881
1141
|
};
|
|
882
1142
|
export type FlowDefinitionInput = {
|
|
883
|
-
|
|
1143
|
+
aiOpen?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1144
|
+
globalContext?: InputMaybe<Scalars['String']['input']>;
|
|
1145
|
+
nodes?: InputMaybe<Array<ApiFlowNodeInput>>;
|
|
1146
|
+
openingLineType?: InputMaybe<OpeningLineType>;
|
|
1147
|
+
useHistory?: InputMaybe<Scalars['Boolean']['input']>;
|
|
884
1148
|
};
|
|
885
1149
|
export type FlowTransitionRule = {
|
|
886
1150
|
__typename?: 'FlowTransitionRule';
|
|
1151
|
+
arrayConditionType?: Maybe<ArrayConditionType>;
|
|
887
1152
|
conditionType: FlowConditionType;
|
|
888
1153
|
field?: Maybe<Scalars['String']['output']>;
|
|
889
1154
|
transitionNodeId: Scalars['String']['output'];
|
|
@@ -891,12 +1156,19 @@ export type FlowTransitionRule = {
|
|
|
891
1156
|
values?: Maybe<Array<Scalars['String']['output']>>;
|
|
892
1157
|
};
|
|
893
1158
|
export type FlowTransitionRuleInput = {
|
|
1159
|
+
arrayConditionType?: InputMaybe<ArrayConditionType>;
|
|
894
1160
|
conditionType: FlowConditionType;
|
|
895
1161
|
field?: InputMaybe<Scalars['String']['input']>;
|
|
896
1162
|
transitionNodeId: Scalars['String']['input'];
|
|
897
1163
|
value?: InputMaybe<Scalars['String']['input']>;
|
|
898
1164
|
values?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
899
1165
|
};
|
|
1166
|
+
export type FunctionCallRes = {
|
|
1167
|
+
__typename?: 'FunctionCallRes';
|
|
1168
|
+
arguments: Scalars['String']['output'];
|
|
1169
|
+
id: Scalars['ID']['output'];
|
|
1170
|
+
name: Scalars['String']['output'];
|
|
1171
|
+
};
|
|
900
1172
|
export type FunctionDefinition = {
|
|
901
1173
|
__typename?: 'FunctionDefinition';
|
|
902
1174
|
arguments: Array<ExtractorField>;
|
|
@@ -904,6 +1176,7 @@ export type FunctionDefinition = {
|
|
|
904
1176
|
dslDefinition: Scalars['String']['output'];
|
|
905
1177
|
functionType: FunctionType;
|
|
906
1178
|
id: Scalars['ID']['output'];
|
|
1179
|
+
lifecycleMessages: FunctionLifecycleMessages;
|
|
907
1180
|
name: Scalars['String']['output'];
|
|
908
1181
|
outputs: Array<ExtractorField>;
|
|
909
1182
|
};
|
|
@@ -915,8 +1188,16 @@ export type FunctionDefinitionsResult = {
|
|
|
915
1188
|
functionDefinitions: Array<FunctionDefinition>;
|
|
916
1189
|
numFunctionDefinitions: Scalars['Int']['output'];
|
|
917
1190
|
};
|
|
1191
|
+
export type FunctionLifecycleMessages = {
|
|
1192
|
+
__typename?: 'FunctionLifecycleMessages';
|
|
1193
|
+
started: Array<Scalars['String']['output']>;
|
|
1194
|
+
};
|
|
1195
|
+
export type FunctionLifecycleMessagesInput = {
|
|
1196
|
+
started: Array<Scalars['String']['input']>;
|
|
1197
|
+
};
|
|
918
1198
|
export declare enum FunctionType {
|
|
919
1199
|
Api = "API",
|
|
1200
|
+
CallTransfer = "CALL_TRANSFER",
|
|
920
1201
|
Custom = "CUSTOM",
|
|
921
1202
|
KnowledgeBase = "KNOWLEDGE_BASE"
|
|
922
1203
|
}
|
|
@@ -934,10 +1215,47 @@ export declare enum IvrDetectionType {
|
|
|
934
1215
|
None = "NONE",
|
|
935
1216
|
Standard = "STANDARD"
|
|
936
1217
|
}
|
|
1218
|
+
export type IdleConfigInput = {
|
|
1219
|
+
enabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1220
|
+
idleDurationMilliseconds?: InputMaybe<Scalars['Int']['input']>;
|
|
1221
|
+
maxIdleMessages?: InputMaybe<Scalars['Int']['input']>;
|
|
1222
|
+
messages?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1223
|
+
};
|
|
1224
|
+
export type IdleMessageConfig = {
|
|
1225
|
+
__typename?: 'IdleMessageConfig';
|
|
1226
|
+
enabled: Scalars['Boolean']['output'];
|
|
1227
|
+
idleDurationMilliseconds?: Maybe<Scalars['Int']['output']>;
|
|
1228
|
+
maxIdleMessages?: Maybe<Scalars['Int']['output']>;
|
|
1229
|
+
messages?: Maybe<Array<Scalars['String']['output']>>;
|
|
1230
|
+
};
|
|
1231
|
+
export type ImportPhoneNumberInput = {
|
|
1232
|
+
provider: Scalars['String']['input'];
|
|
1233
|
+
providerPhoneNumberId: Scalars['String']['input'];
|
|
1234
|
+
workspaceId: Scalars['ID']['input'];
|
|
1235
|
+
};
|
|
937
1236
|
export type InboundForwardNumberInput = {
|
|
938
1237
|
number?: InputMaybe<Scalars['String']['input']>;
|
|
939
1238
|
workspaceId: Scalars['ID']['input'];
|
|
940
1239
|
};
|
|
1240
|
+
export type InferenceEvent = {
|
|
1241
|
+
__typename?: 'InferenceEvent';
|
|
1242
|
+
eventType: InferenceEventType;
|
|
1243
|
+
log?: Maybe<Scalars['String']['output']>;
|
|
1244
|
+
playId: Scalars['String']['output'];
|
|
1245
|
+
timestampMs: Scalars['Int']['output'];
|
|
1246
|
+
};
|
|
1247
|
+
export declare enum InferenceEventType {
|
|
1248
|
+
AudioInferenceFirstAudio = "AUDIO_INFERENCE_FIRST_AUDIO",
|
|
1249
|
+
LlmInferenceEnded = "LLM_INFERENCE_ENDED",
|
|
1250
|
+
LlmInferenceFirstToken = "LLM_INFERENCE_FIRST_TOKEN",
|
|
1251
|
+
LlmInferenceStarted = "LLM_INFERENCE_STARTED",
|
|
1252
|
+
StartSpeaking = "START_SPEAKING",
|
|
1253
|
+
TranscriptReceived = "TRANSCRIPT_RECEIVED"
|
|
1254
|
+
}
|
|
1255
|
+
export type InputValue = {
|
|
1256
|
+
inputName: Scalars['String']['input'];
|
|
1257
|
+
value: Scalars['String']['input'];
|
|
1258
|
+
};
|
|
941
1259
|
export type IntegrationChoicesFilter = {
|
|
942
1260
|
search: Scalars['String']['input'];
|
|
943
1261
|
};
|
|
@@ -970,6 +1288,10 @@ export declare enum KnowledgeBaseFileStatus {
|
|
|
970
1288
|
Active = "ACTIVE",
|
|
971
1289
|
Processing = "PROCESSING"
|
|
972
1290
|
}
|
|
1291
|
+
export type LinkFunctionDefinitionInput = {
|
|
1292
|
+
id: Scalars['ID']['input'];
|
|
1293
|
+
lifecycleMessagesOverride?: InputMaybe<FunctionLifecycleMessagesInput>;
|
|
1294
|
+
};
|
|
973
1295
|
export type LinkPhoneNumberInput = {
|
|
974
1296
|
agentId: Scalars['ID']['input'];
|
|
975
1297
|
phoneNumberId: Scalars['ID']['input'];
|
|
@@ -1019,16 +1341,30 @@ export type LookupKnowledgeBaseResult = {
|
|
|
1019
1341
|
references?: Maybe<Array<SpeakerTextKnowledgeBaseContext>>;
|
|
1020
1342
|
result: Scalars['String']['output'];
|
|
1021
1343
|
};
|
|
1344
|
+
export type MarkTaskCompleteInput = {
|
|
1345
|
+
dialId: Scalars['ID']['input'];
|
|
1346
|
+
taskId: Scalars['ID']['input'];
|
|
1347
|
+
};
|
|
1022
1348
|
export type MemberCountRes = {
|
|
1023
1349
|
__typename?: 'MemberCountRes';
|
|
1024
1350
|
dialing: Scalars['Int']['output'];
|
|
1025
1351
|
};
|
|
1352
|
+
export type ModelOptionValue = {
|
|
1353
|
+
__typename?: 'ModelOptionValue';
|
|
1354
|
+
optionId: Scalars['ID']['output'];
|
|
1355
|
+
value: Scalars['String']['output'];
|
|
1356
|
+
};
|
|
1357
|
+
export type ModelOptionValueInput = {
|
|
1358
|
+
optionId: Scalars['ID']['input'];
|
|
1359
|
+
value: Scalars['String']['input'];
|
|
1360
|
+
};
|
|
1026
1361
|
export type MonitorActiveUsersInput = {
|
|
1027
1362
|
workspaceId: Scalars['ID']['input'];
|
|
1028
1363
|
};
|
|
1029
1364
|
export type Mutation = {
|
|
1030
1365
|
__typename?: 'Mutation';
|
|
1031
1366
|
addBalance: Workspace;
|
|
1367
|
+
addDialAiEvalRecord: AiEvalConfig;
|
|
1032
1368
|
addKnowledgeBaseFiles: Array<KnowledgeBaseFile>;
|
|
1033
1369
|
addPhoneNumber: PhoneNumber;
|
|
1034
1370
|
agentVariables: Array<Scalars['String']['output']>;
|
|
@@ -1037,10 +1373,13 @@ export type Mutation = {
|
|
|
1037
1373
|
browserDialToken: BrowserDialTokenRes;
|
|
1038
1374
|
cloneAgent: CallAgent;
|
|
1039
1375
|
cloneExtractor: CallAgentExtractor;
|
|
1376
|
+
cloneVoice: AiVoice;
|
|
1377
|
+
completeOnboarding: Workspace;
|
|
1040
1378
|
connectCall: Scalars['Boolean']['output'];
|
|
1041
1379
|
createAPIKey: CreateApiKeyResponse;
|
|
1042
1380
|
createAdHocDialSession: AdHocDialSession;
|
|
1043
1381
|
createAiChat: AiChat;
|
|
1382
|
+
createAiEvalConfig: AiEvalConfig;
|
|
1044
1383
|
createAiModel: AiModel;
|
|
1045
1384
|
createAiVoice: AiVoice;
|
|
1046
1385
|
createCallAgent: CallAgent;
|
|
@@ -1055,56 +1394,70 @@ export type Mutation = {
|
|
|
1055
1394
|
createDial: CreateDialResult;
|
|
1056
1395
|
createDialComment: DialComment;
|
|
1057
1396
|
createDialSession: DialSession;
|
|
1397
|
+
createDialTask: DialTask;
|
|
1058
1398
|
createDisposition: CallDisposition;
|
|
1059
1399
|
createFunctionDefinition: FunctionDefinition;
|
|
1060
1400
|
createKnowledgeBase: KnowledgeBase;
|
|
1061
1401
|
createPricingProduct: PricingProduct;
|
|
1062
1402
|
createSalesfloorRoom: SalesfloorRoom;
|
|
1063
1403
|
createSpamScan: Array<PhoneNumber>;
|
|
1404
|
+
createTaskAttempt: CreateDialResult;
|
|
1064
1405
|
createUserApiKey: ApiKey;
|
|
1065
1406
|
createVersionedPrompt: VersionedPrompt;
|
|
1066
1407
|
createVoicemail: Voicemail;
|
|
1067
1408
|
createWorkspace: Workspace;
|
|
1068
1409
|
deleteAiVoice: Scalars['Boolean']['output'];
|
|
1410
|
+
deleteCallAgent: CallAgent;
|
|
1411
|
+
deleteCallAgentNode: ApiFlowNodeDeleteResult;
|
|
1069
1412
|
deleteCallDataPreset: Scalars['Boolean']['output'];
|
|
1070
1413
|
deleteContact?: Maybe<Scalars['ID']['output']>;
|
|
1071
1414
|
deleteContactList?: Maybe<Scalars['ID']['output']>;
|
|
1072
1415
|
deleteDisposition: Scalars['ID']['output'];
|
|
1416
|
+
deleteFunctionDefinition: FunctionDefinition;
|
|
1073
1417
|
deleteKnowledgeBaseFile: Scalars['Boolean']['output'];
|
|
1074
1418
|
deleteVoicemail: Scalars['ID']['output'];
|
|
1075
1419
|
dialNumbers: Scalars['String']['output'];
|
|
1420
|
+
dialToken: Scalars['String']['output'];
|
|
1076
1421
|
editSubscriptionLink: Scalars['String']['output'];
|
|
1077
1422
|
endDialSession: Scalars['Boolean']['output'];
|
|
1423
|
+
enrollSelfLearning: Workspace;
|
|
1078
1424
|
genTempToken: Scalars['String']['output'];
|
|
1079
1425
|
generateVideoToken: VideoTokenResp;
|
|
1080
1426
|
grantCredits: Workspace;
|
|
1081
1427
|
hangupAllCalls: Scalars['Boolean']['output'];
|
|
1082
1428
|
hangupCall: Scalars['Boolean']['output'];
|
|
1429
|
+
importPhoneNumber: PhoneNumber;
|
|
1083
1430
|
linkPhoneNumber: CallAgent;
|
|
1084
1431
|
logCall: LogCallResponse;
|
|
1085
1432
|
logDialFeedback: Scalars['Boolean']['output'];
|
|
1086
1433
|
login?: Maybe<AuthPayload>;
|
|
1087
1434
|
lookupKnowledgeBase: LookupKnowledgeBaseResult;
|
|
1435
|
+
markTaskComplete: DialTask;
|
|
1088
1436
|
newSubscriptionLink: Scalars['String']['output'];
|
|
1089
1437
|
pauseAI: Dial;
|
|
1090
1438
|
pauseDialSession: Scalars['Boolean']['output'];
|
|
1091
1439
|
phoneNumberSearch?: Maybe<Array<Scalars['String']['output']>>;
|
|
1092
1440
|
removeMemberAccess: Scalars['String']['output'];
|
|
1093
|
-
removePhoneNumber:
|
|
1441
|
+
removePhoneNumber: PhoneNumber;
|
|
1094
1442
|
resyncContacts: Scalars['ID']['output'];
|
|
1443
|
+
runAiEval: AiEvalRun;
|
|
1095
1444
|
runExtractor: Scalars['Map']['output'];
|
|
1096
1445
|
setMemberAccess: WorkspaceMember;
|
|
1097
1446
|
setRecordingConfig: RecordingConfig;
|
|
1098
1447
|
signUp?: Maybe<AuthPayload>;
|
|
1099
1448
|
startDialSession: Scalars['Boolean']['output'];
|
|
1449
|
+
submitPhoneNumberOtp: SubmitPhoneNumberOtpResult;
|
|
1100
1450
|
sudoToken: TokenRes;
|
|
1101
1451
|
syncDispositions: SyncDispositionsResponse;
|
|
1102
1452
|
testAiVoice: Scalars['String']['output'];
|
|
1103
|
-
|
|
1453
|
+
unlinkPhoneNumberAgent: CallAgent;
|
|
1454
|
+
updateAiEvalConfig: AiEvalConfig;
|
|
1104
1455
|
updateAiModel: AiModel;
|
|
1105
1456
|
updateAiModelAccess: AiModel;
|
|
1106
1457
|
updateAiVoice: AiVoice;
|
|
1458
|
+
updateAiVoiceAccess: AiVoice;
|
|
1107
1459
|
updateApolloSettings: CrmSpecification;
|
|
1460
|
+
updateAppConfig: AppConfig;
|
|
1108
1461
|
updateCallAgent: CallAgent;
|
|
1109
1462
|
updateCallAgentExtractor: CallAgentExtractor;
|
|
1110
1463
|
updateCallAgentNode: ApiFlowNode;
|
|
@@ -1123,12 +1476,18 @@ export type Mutation = {
|
|
|
1123
1476
|
updateSystemResultMapping: SystemResult;
|
|
1124
1477
|
updateVersionedPrompt: VersionedPrompt;
|
|
1125
1478
|
updateWorkspaceBillingConfig: Workspace;
|
|
1479
|
+
updateWorkspacePronunciationMap: Workspace;
|
|
1480
|
+
updateWorkspaceSettings: Workspace;
|
|
1126
1481
|
updateWorkspaceUserSettings: Workspace;
|
|
1127
1482
|
updateWorkspaceWebhook: Workspace;
|
|
1483
|
+
verifyPhoneNumber: PhoneNumberVerification;
|
|
1128
1484
|
};
|
|
1129
1485
|
export type MutationAddBalanceArgs = {
|
|
1130
1486
|
input: AddBalanceInput;
|
|
1131
1487
|
};
|
|
1488
|
+
export type MutationAddDialAiEvalRecordArgs = {
|
|
1489
|
+
input: AddDialAiEvalRecordInput;
|
|
1490
|
+
};
|
|
1132
1491
|
export type MutationAddKnowledgeBaseFilesArgs = {
|
|
1133
1492
|
input: AddKnowledgeBaseFilesInput;
|
|
1134
1493
|
};
|
|
@@ -1156,6 +1515,12 @@ export type MutationCloneAgentArgs = {
|
|
|
1156
1515
|
export type MutationCloneExtractorArgs = {
|
|
1157
1516
|
input: CloneExtractorInput;
|
|
1158
1517
|
};
|
|
1518
|
+
export type MutationCloneVoiceArgs = {
|
|
1519
|
+
input: CloneVoiceInput;
|
|
1520
|
+
};
|
|
1521
|
+
export type MutationCompleteOnboardingArgs = {
|
|
1522
|
+
input: CompleteOnboardingInput;
|
|
1523
|
+
};
|
|
1159
1524
|
export type MutationConnectCallArgs = {
|
|
1160
1525
|
dialId: Scalars['ID']['input'];
|
|
1161
1526
|
};
|
|
@@ -1168,6 +1533,9 @@ export type MutationCreateAdHocDialSessionArgs = {
|
|
|
1168
1533
|
export type MutationCreateAiChatArgs = {
|
|
1169
1534
|
input: CreateChatInput;
|
|
1170
1535
|
};
|
|
1536
|
+
export type MutationCreateAiEvalConfigArgs = {
|
|
1537
|
+
input: CreateAiEvalConfigInput;
|
|
1538
|
+
};
|
|
1171
1539
|
export type MutationCreateAiModelArgs = {
|
|
1172
1540
|
input: CreateAiModelInput;
|
|
1173
1541
|
};
|
|
@@ -1211,6 +1579,9 @@ export type MutationCreateDialCommentArgs = {
|
|
|
1211
1579
|
export type MutationCreateDialSessionArgs = {
|
|
1212
1580
|
input: CreateDialSessionInput;
|
|
1213
1581
|
};
|
|
1582
|
+
export type MutationCreateDialTaskArgs = {
|
|
1583
|
+
input: CreateDialTaskInput;
|
|
1584
|
+
};
|
|
1214
1585
|
export type MutationCreateDispositionArgs = {
|
|
1215
1586
|
input: CreateDispositionInput;
|
|
1216
1587
|
};
|
|
@@ -1229,6 +1600,9 @@ export type MutationCreateSalesfloorRoomArgs = {
|
|
|
1229
1600
|
export type MutationCreateSpamScanArgs = {
|
|
1230
1601
|
input: CreateSpamScanInput;
|
|
1231
1602
|
};
|
|
1603
|
+
export type MutationCreateTaskAttemptArgs = {
|
|
1604
|
+
input: CreateTaskAttemptInput;
|
|
1605
|
+
};
|
|
1232
1606
|
export type MutationCreateUserApiKeyArgs = {
|
|
1233
1607
|
input: CreateUserApiKeyInput;
|
|
1234
1608
|
};
|
|
@@ -1245,6 +1619,12 @@ export type MutationCreateWorkspaceArgs = {
|
|
|
1245
1619
|
export type MutationDeleteAiVoiceArgs = {
|
|
1246
1620
|
id: Scalars['ID']['input'];
|
|
1247
1621
|
};
|
|
1622
|
+
export type MutationDeleteCallAgentArgs = {
|
|
1623
|
+
id: Scalars['ID']['input'];
|
|
1624
|
+
};
|
|
1625
|
+
export type MutationDeleteCallAgentNodeArgs = {
|
|
1626
|
+
input: DeleteCallAgentNodeInput;
|
|
1627
|
+
};
|
|
1248
1628
|
export type MutationDeleteCallDataPresetArgs = {
|
|
1249
1629
|
id: Scalars['ID']['input'];
|
|
1250
1630
|
};
|
|
@@ -1257,6 +1637,9 @@ export type MutationDeleteContactListArgs = {
|
|
|
1257
1637
|
export type MutationDeleteDispositionArgs = {
|
|
1258
1638
|
id: Scalars['ID']['input'];
|
|
1259
1639
|
};
|
|
1640
|
+
export type MutationDeleteFunctionDefinitionArgs = {
|
|
1641
|
+
id: Scalars['ID']['input'];
|
|
1642
|
+
};
|
|
1260
1643
|
export type MutationDeleteKnowledgeBaseFileArgs = {
|
|
1261
1644
|
id?: InputMaybe<Scalars['ID']['input']>;
|
|
1262
1645
|
};
|
|
@@ -1267,12 +1650,18 @@ export type MutationDialNumbersArgs = {
|
|
|
1267
1650
|
phoneNumbers?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1268
1651
|
workspaceId: Scalars['ID']['input'];
|
|
1269
1652
|
};
|
|
1653
|
+
export type MutationDialTokenArgs = {
|
|
1654
|
+
dialId: Scalars['ID']['input'];
|
|
1655
|
+
};
|
|
1270
1656
|
export type MutationEditSubscriptionLinkArgs = {
|
|
1271
1657
|
workspaceId: Scalars['ID']['input'];
|
|
1272
1658
|
};
|
|
1273
1659
|
export type MutationEndDialSessionArgs = {
|
|
1274
1660
|
dialSessionId: Scalars['ID']['input'];
|
|
1275
1661
|
};
|
|
1662
|
+
export type MutationEnrollSelfLearningArgs = {
|
|
1663
|
+
workspaceId: Scalars['ID']['input'];
|
|
1664
|
+
};
|
|
1276
1665
|
export type MutationGenerateVideoTokenArgs = {
|
|
1277
1666
|
roomId: Scalars['ID']['input'];
|
|
1278
1667
|
};
|
|
@@ -1287,6 +1676,9 @@ export type MutationHangupCallArgs = {
|
|
|
1287
1676
|
dropVoicemail?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1288
1677
|
transferNumber?: InputMaybe<Scalars['String']['input']>;
|
|
1289
1678
|
};
|
|
1679
|
+
export type MutationImportPhoneNumberArgs = {
|
|
1680
|
+
input: ImportPhoneNumberInput;
|
|
1681
|
+
};
|
|
1290
1682
|
export type MutationLinkPhoneNumberArgs = {
|
|
1291
1683
|
input: LinkPhoneNumberInput;
|
|
1292
1684
|
};
|
|
@@ -1302,6 +1694,9 @@ export type MutationLoginArgs = {
|
|
|
1302
1694
|
export type MutationLookupKnowledgeBaseArgs = {
|
|
1303
1695
|
input: LookupKnowledgeBaseInput;
|
|
1304
1696
|
};
|
|
1697
|
+
export type MutationMarkTaskCompleteArgs = {
|
|
1698
|
+
input: MarkTaskCompleteInput;
|
|
1699
|
+
};
|
|
1305
1700
|
export type MutationNewSubscriptionLinkArgs = {
|
|
1306
1701
|
workspaceId: Scalars['ID']['input'];
|
|
1307
1702
|
};
|
|
@@ -1328,6 +1723,9 @@ export type MutationRemovePhoneNumberArgs = {
|
|
|
1328
1723
|
export type MutationResyncContactsArgs = {
|
|
1329
1724
|
contactListId: Scalars['ID']['input'];
|
|
1330
1725
|
};
|
|
1726
|
+
export type MutationRunAiEvalArgs = {
|
|
1727
|
+
input: RunAiEvalInput;
|
|
1728
|
+
};
|
|
1331
1729
|
export type MutationRunExtractorArgs = {
|
|
1332
1730
|
dialId: Scalars['ID']['input'];
|
|
1333
1731
|
extractorId: Scalars['ID']['input'];
|
|
@@ -1347,6 +1745,9 @@ export type MutationSignUpArgs = {
|
|
|
1347
1745
|
export type MutationStartDialSessionArgs = {
|
|
1348
1746
|
dialSessionId: Scalars['ID']['input'];
|
|
1349
1747
|
};
|
|
1748
|
+
export type MutationSubmitPhoneNumberOtpArgs = {
|
|
1749
|
+
input: SubmitPhoneNumberOtpInput;
|
|
1750
|
+
};
|
|
1350
1751
|
export type MutationSudoTokenArgs = {
|
|
1351
1752
|
userId: Scalars['ID']['input'];
|
|
1352
1753
|
};
|
|
@@ -1357,8 +1758,11 @@ export type MutationSyncDispositionsArgs = {
|
|
|
1357
1758
|
export type MutationTestAiVoiceArgs = {
|
|
1358
1759
|
id: Scalars['ID']['input'];
|
|
1359
1760
|
};
|
|
1360
|
-
export type
|
|
1361
|
-
input:
|
|
1761
|
+
export type MutationUnlinkPhoneNumberAgentArgs = {
|
|
1762
|
+
input: UnlinkPhoneNumberAgentInput;
|
|
1763
|
+
};
|
|
1764
|
+
export type MutationUpdateAiEvalConfigArgs = {
|
|
1765
|
+
input: UpdateAiEvalConfigInput;
|
|
1362
1766
|
};
|
|
1363
1767
|
export type MutationUpdateAiModelArgs = {
|
|
1364
1768
|
input: UpdateAiModelInput;
|
|
@@ -1369,9 +1773,15 @@ export type MutationUpdateAiModelAccessArgs = {
|
|
|
1369
1773
|
export type MutationUpdateAiVoiceArgs = {
|
|
1370
1774
|
input: UpdateAiVoiceInput;
|
|
1371
1775
|
};
|
|
1776
|
+
export type MutationUpdateAiVoiceAccessArgs = {
|
|
1777
|
+
input: UpdateAiVoiceAccessInput;
|
|
1778
|
+
};
|
|
1372
1779
|
export type MutationUpdateApolloSettingsArgs = {
|
|
1373
1780
|
input: ApolloSettingsInput;
|
|
1374
1781
|
};
|
|
1782
|
+
export type MutationUpdateAppConfigArgs = {
|
|
1783
|
+
input: UpdateAppConfigInput;
|
|
1784
|
+
};
|
|
1375
1785
|
export type MutationUpdateCallAgentArgs = {
|
|
1376
1786
|
input: UpdateCallAgentInput;
|
|
1377
1787
|
};
|
|
@@ -1426,12 +1836,21 @@ export type MutationUpdateVersionedPromptArgs = {
|
|
|
1426
1836
|
export type MutationUpdateWorkspaceBillingConfigArgs = {
|
|
1427
1837
|
input: UpdateWorkspaceBillingConfig;
|
|
1428
1838
|
};
|
|
1839
|
+
export type MutationUpdateWorkspacePronunciationMapArgs = {
|
|
1840
|
+
input: UpdateWorkspacePronunciationMapInput;
|
|
1841
|
+
};
|
|
1842
|
+
export type MutationUpdateWorkspaceSettingsArgs = {
|
|
1843
|
+
input: UpdateWorkspaceSettingsInput;
|
|
1844
|
+
};
|
|
1429
1845
|
export type MutationUpdateWorkspaceUserSettingsArgs = {
|
|
1430
1846
|
input: UserWorkspaceSettingsInput;
|
|
1431
1847
|
};
|
|
1432
1848
|
export type MutationUpdateWorkspaceWebhookArgs = {
|
|
1433
1849
|
input: WorkspaceWebhookInput;
|
|
1434
1850
|
};
|
|
1851
|
+
export type MutationVerifyPhoneNumberArgs = {
|
|
1852
|
+
input: VerifyPhoneNumberInput;
|
|
1853
|
+
};
|
|
1435
1854
|
export type NodeTransitionResult = {
|
|
1436
1855
|
__typename?: 'NodeTransitionResult';
|
|
1437
1856
|
fromNodeId: Scalars['String']['output'];
|
|
@@ -1444,9 +1863,16 @@ export type NullableIdInput = {
|
|
|
1444
1863
|
export type NullableStringInput = {
|
|
1445
1864
|
value?: InputMaybe<Scalars['String']['input']>;
|
|
1446
1865
|
};
|
|
1866
|
+
export type OnboardingSurveyInput = {
|
|
1867
|
+
callVolume: Scalars['String']['input'];
|
|
1868
|
+
companyName: Scalars['String']['input'];
|
|
1869
|
+
referrer?: InputMaybe<Scalars['String']['input']>;
|
|
1870
|
+
useCase: Scalars['String']['input'];
|
|
1871
|
+
};
|
|
1447
1872
|
export declare enum OpeningLineType {
|
|
1448
1873
|
InboundOnly = "INBOUND_ONLY",
|
|
1449
|
-
InboundOutbound = "INBOUND_OUTBOUND"
|
|
1874
|
+
InboundOutbound = "INBOUND_OUTBOUND",
|
|
1875
|
+
None = "NONE"
|
|
1450
1876
|
}
|
|
1451
1877
|
export type OverLimitResult = {
|
|
1452
1878
|
__typename?: 'OverLimitResult';
|
|
@@ -1472,6 +1898,10 @@ export type PhoneNumberStats = {
|
|
|
1472
1898
|
numDials: Scalars['Int']['output'];
|
|
1473
1899
|
numFails: Scalars['Int']['output'];
|
|
1474
1900
|
};
|
|
1901
|
+
export type PhoneNumberVerification = {
|
|
1902
|
+
__typename?: 'PhoneNumberVerification';
|
|
1903
|
+
id: Scalars['ID']['output'];
|
|
1904
|
+
};
|
|
1475
1905
|
export type PhoneNumbersResult = {
|
|
1476
1906
|
__typename?: 'PhoneNumbersResult';
|
|
1477
1907
|
numPhoneNumbers: Scalars['Int']['output'];
|
|
@@ -1482,20 +1912,35 @@ export type PricingProduct = {
|
|
|
1482
1912
|
billingName: Scalars['String']['output'];
|
|
1483
1913
|
descriptiveName: Scalars['String']['output'];
|
|
1484
1914
|
id: Scalars['ID']['output'];
|
|
1485
|
-
|
|
1915
|
+
priceDecimal: Scalars['String']['output'];
|
|
1916
|
+
};
|
|
1917
|
+
export type PronunciationEntry = {
|
|
1918
|
+
__typename?: 'PronunciationEntry';
|
|
1919
|
+
ipaPronunciation: Scalars['String']['output'];
|
|
1920
|
+
word: Scalars['String']['output'];
|
|
1921
|
+
wordReplacement?: Maybe<Scalars['String']['output']>;
|
|
1922
|
+
};
|
|
1923
|
+
export type PronunciationEntryInput = {
|
|
1924
|
+
ipaPronunciation: Scalars['String']['input'];
|
|
1925
|
+
word: Scalars['String']['input'];
|
|
1926
|
+
wordReplacement?: InputMaybe<Scalars['String']['input']>;
|
|
1486
1927
|
};
|
|
1487
1928
|
export type PronunciationMap = {
|
|
1488
1929
|
__typename?: 'PronunciationMap';
|
|
1489
1930
|
id: Scalars['ID']['output'];
|
|
1490
|
-
|
|
1931
|
+
pronunciationEntries: Array<PronunciationEntry>;
|
|
1491
1932
|
};
|
|
1492
1933
|
export type Query = {
|
|
1493
1934
|
__typename?: 'Query';
|
|
1494
1935
|
aiChat: AiChat;
|
|
1936
|
+
aiEvalConfig: AiEvalConfig;
|
|
1937
|
+
aiEvalResult: AiEvalResult;
|
|
1938
|
+
aiEvalRun: AiEvalRun;
|
|
1495
1939
|
aiModel: AiModel;
|
|
1496
1940
|
aiModels: AiModelsResult;
|
|
1497
1941
|
aiVoice: AiVoice;
|
|
1498
1942
|
allWorkspaces: AllWorkspacesResult;
|
|
1943
|
+
appConfig: AppConfig;
|
|
1499
1944
|
callAgent: CallAgent;
|
|
1500
1945
|
callDataPreset: CallDataPreset;
|
|
1501
1946
|
contact: Contact;
|
|
@@ -1503,6 +1948,7 @@ export type Query = {
|
|
|
1503
1948
|
currentUser: User;
|
|
1504
1949
|
dial: Dial;
|
|
1505
1950
|
dialSession: DialSession;
|
|
1951
|
+
dialTask: DialTask;
|
|
1506
1952
|
extractor: CallAgentExtractor;
|
|
1507
1953
|
functionDefinition: FunctionDefinition;
|
|
1508
1954
|
knowledgeBase: KnowledgeBase;
|
|
@@ -1520,10 +1966,20 @@ export type Query = {
|
|
|
1520
1966
|
export type QueryAiChatArgs = {
|
|
1521
1967
|
id: Scalars['ID']['input'];
|
|
1522
1968
|
};
|
|
1969
|
+
export type QueryAiEvalConfigArgs = {
|
|
1970
|
+
id: Scalars['ID']['input'];
|
|
1971
|
+
};
|
|
1972
|
+
export type QueryAiEvalResultArgs = {
|
|
1973
|
+
id: Scalars['ID']['input'];
|
|
1974
|
+
};
|
|
1975
|
+
export type QueryAiEvalRunArgs = {
|
|
1976
|
+
id: Scalars['ID']['input'];
|
|
1977
|
+
};
|
|
1523
1978
|
export type QueryAiModelArgs = {
|
|
1524
1979
|
id: Scalars['ID']['input'];
|
|
1525
1980
|
};
|
|
1526
1981
|
export type QueryAiModelsArgs = {
|
|
1982
|
+
filter?: InputMaybe<AiModelFilter>;
|
|
1527
1983
|
limit: Scalars['Int']['input'];
|
|
1528
1984
|
offset: Scalars['Int']['input'];
|
|
1529
1985
|
};
|
|
@@ -1553,6 +2009,9 @@ export type QueryDialArgs = {
|
|
|
1553
2009
|
export type QueryDialSessionArgs = {
|
|
1554
2010
|
id: Scalars['ID']['input'];
|
|
1555
2011
|
};
|
|
2012
|
+
export type QueryDialTaskArgs = {
|
|
2013
|
+
id: Scalars['ID']['input'];
|
|
2014
|
+
};
|
|
1556
2015
|
export type QueryExtractorArgs = {
|
|
1557
2016
|
id: Scalars['ID']['input'];
|
|
1558
2017
|
};
|
|
@@ -1581,12 +2040,26 @@ export type QueryVoicemailArgs = {
|
|
|
1581
2040
|
id: Scalars['ID']['input'];
|
|
1582
2041
|
};
|
|
1583
2042
|
export type QueryVoicesArgs = {
|
|
2043
|
+
filter?: InputMaybe<VoiceFilter>;
|
|
1584
2044
|
limit: Scalars['Int']['input'];
|
|
1585
2045
|
offset: Scalars['Int']['input'];
|
|
1586
2046
|
};
|
|
1587
2047
|
export type QueryWorkspaceArgs = {
|
|
1588
2048
|
id: Scalars['ID']['input'];
|
|
1589
2049
|
};
|
|
2050
|
+
export type QuickstartProject = {
|
|
2051
|
+
__typename?: 'QuickstartProject';
|
|
2052
|
+
agentId: Scalars['ID']['output'];
|
|
2053
|
+
description: Scalars['String']['output'];
|
|
2054
|
+
icon: Scalars['String']['output'];
|
|
2055
|
+
name: Scalars['String']['output'];
|
|
2056
|
+
nonQuickstart: Scalars['Boolean']['output'];
|
|
2057
|
+
};
|
|
2058
|
+
export type RangeEndpoint = {
|
|
2059
|
+
__typename?: 'RangeEndpoint';
|
|
2060
|
+
label?: Maybe<Scalars['String']['output']>;
|
|
2061
|
+
value: Scalars['Float']['output'];
|
|
2062
|
+
};
|
|
1590
2063
|
export type RecordingConfig = {
|
|
1591
2064
|
__typename?: 'RecordingConfig';
|
|
1592
2065
|
blockedAreaCodes?: Maybe<Array<Scalars['String']['output']>>;
|
|
@@ -1610,6 +2083,11 @@ export declare enum RoomMessageType {
|
|
|
1610
2083
|
UserJoin = "USER_JOIN",
|
|
1611
2084
|
UserLeave = "USER_LEAVE"
|
|
1612
2085
|
}
|
|
2086
|
+
export type RunAiEvalInput = {
|
|
2087
|
+
aiEvalConfigId: Scalars['ID']['input'];
|
|
2088
|
+
callAgentId: Scalars['ID']['input'];
|
|
2089
|
+
versionedPromptId: Scalars['ID']['input'];
|
|
2090
|
+
};
|
|
1613
2091
|
export type RunChatQueryInput = {
|
|
1614
2092
|
aiChatId: Scalars['ID']['input'];
|
|
1615
2093
|
text: Scalars['String']['input'];
|
|
@@ -1743,6 +2221,7 @@ export type SpeakerTextRes = {
|
|
|
1743
2221
|
audioEnd: Scalars['Int']['output'];
|
|
1744
2222
|
audioStart: Scalars['Int']['output'];
|
|
1745
2223
|
detailType?: Maybe<Scalars['String']['output']>;
|
|
2224
|
+
functionCalls?: Maybe<Array<FunctionCallRes>>;
|
|
1746
2225
|
knowledgeBaseContext?: Maybe<Array<SpeakerTextKnowledgeBaseContext>>;
|
|
1747
2226
|
nodeTransitionResult?: Maybe<NodeTransitionResult>;
|
|
1748
2227
|
speaker: Scalars['String']['output'];
|
|
@@ -1758,6 +2237,14 @@ export type StatusChangeMessage = {
|
|
|
1758
2237
|
__typename?: 'StatusChangeMessage';
|
|
1759
2238
|
status: Scalars['String']['output'];
|
|
1760
2239
|
};
|
|
2240
|
+
export type SubmitPhoneNumberOtpInput = {
|
|
2241
|
+
otp: Scalars['String']['input'];
|
|
2242
|
+
phoneNumberVerificationId: Scalars['ID']['input'];
|
|
2243
|
+
};
|
|
2244
|
+
export type SubmitPhoneNumberOtpResult = {
|
|
2245
|
+
__typename?: 'SubmitPhoneNumberOtpResult';
|
|
2246
|
+
success: Scalars['Boolean']['output'];
|
|
2247
|
+
};
|
|
1761
2248
|
export type Subscription = {
|
|
1762
2249
|
__typename?: 'Subscription';
|
|
1763
2250
|
connectRoom: SalesfloorRoomMessage;
|
|
@@ -1856,10 +2343,22 @@ export type TokenRes = {
|
|
|
1856
2343
|
__typename?: 'TokenRes';
|
|
1857
2344
|
token: Scalars['String']['output'];
|
|
1858
2345
|
};
|
|
1859
|
-
export type
|
|
2346
|
+
export type TranscriberConfig = {
|
|
2347
|
+
__typename?: 'TranscriberConfig';
|
|
2348
|
+
type: Scalars['String']['output'];
|
|
2349
|
+
};
|
|
2350
|
+
export type TranscriberParamsInput = {
|
|
2351
|
+
keywords?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
2352
|
+
type: Scalars['String']['input'];
|
|
2353
|
+
};
|
|
2354
|
+
export type UnlinkPhoneNumberAgentInput = {
|
|
1860
2355
|
agentId: Scalars['ID']['input'];
|
|
1861
2356
|
phoneNumberId: Scalars['ID']['input'];
|
|
1862
2357
|
};
|
|
2358
|
+
export type UpdateAiEvalConfigInput = {
|
|
2359
|
+
aiEvalConfigId: Scalars['ID']['input'];
|
|
2360
|
+
promptSnippet?: InputMaybe<Scalars['String']['input']>;
|
|
2361
|
+
};
|
|
1863
2362
|
export type UpdateAiVoiceInput = {
|
|
1864
2363
|
aiVoiceId: Scalars['ID']['input'];
|
|
1865
2364
|
gender?: InputMaybe<VoiceGender>;
|
|
@@ -1867,21 +2366,34 @@ export type UpdateAiVoiceInput = {
|
|
|
1867
2366
|
provider?: InputMaybe<Scalars['String']['input']>;
|
|
1868
2367
|
providerDetails?: InputMaybe<NullableStringInput>;
|
|
1869
2368
|
providerId?: InputMaybe<Scalars['String']['input']>;
|
|
2369
|
+
public?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2370
|
+
refAudio?: InputMaybe<Scalars['Upload']['input']>;
|
|
2371
|
+
refText?: InputMaybe<NullableStringInput>;
|
|
1870
2372
|
workspaceId?: InputMaybe<NullableIdInput>;
|
|
1871
2373
|
};
|
|
1872
2374
|
export type UpdateAiModelAccessInput = {
|
|
1873
|
-
accessType:
|
|
2375
|
+
accessType: AccessType;
|
|
1874
2376
|
aiModelId: Scalars['ID']['input'];
|
|
1875
2377
|
workspaceId: Scalars['ID']['input'];
|
|
1876
2378
|
};
|
|
1877
2379
|
export type UpdateAiModelInput = {
|
|
1878
2380
|
aiModelId: Scalars['ID']['input'];
|
|
2381
|
+
allowedAgentType?: InputMaybe<AllowedAgentType>;
|
|
1879
2382
|
modelParams?: InputMaybe<Scalars['String']['input']>;
|
|
1880
2383
|
modelType?: InputMaybe<Scalars['String']['input']>;
|
|
1881
2384
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
1882
2385
|
providerModelId?: InputMaybe<Scalars['String']['input']>;
|
|
1883
2386
|
public?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1884
2387
|
};
|
|
2388
|
+
export type UpdateAiVoiceAccessInput = {
|
|
2389
|
+
accessType?: InputMaybe<AccessType>;
|
|
2390
|
+
aiVoiceId: Scalars['ID']['input'];
|
|
2391
|
+
providerDetails?: InputMaybe<Scalars['String']['input']>;
|
|
2392
|
+
workspaceId: Scalars['ID']['input'];
|
|
2393
|
+
};
|
|
2394
|
+
export type UpdateAppConfigInput = {
|
|
2395
|
+
billingConfigJSON: Scalars['String']['input'];
|
|
2396
|
+
};
|
|
1885
2397
|
export type UpdateCallAgentExtractorInput = {
|
|
1886
2398
|
callAgentExtractorId: Scalars['ID']['input'];
|
|
1887
2399
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -1894,18 +2406,25 @@ export type UpdateCallAgentInput = {
|
|
|
1894
2406
|
backgroundNoiseType?: InputMaybe<Scalars['String']['input']>;
|
|
1895
2407
|
callAgentExtractorId?: InputMaybe<NullableStringInput>;
|
|
1896
2408
|
defaultPromptId?: InputMaybe<Scalars['ID']['input']>;
|
|
2409
|
+
idleMessageConfig?: InputMaybe<IdleConfigInput>;
|
|
2410
|
+
inboundWebhookResponse?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2411
|
+
inboundWebhookURL?: InputMaybe<Scalars['String']['input']>;
|
|
1897
2412
|
ivrDetectionType?: InputMaybe<IvrDetectionType>;
|
|
1898
2413
|
ivrTaggingText?: InputMaybe<NullableStringInput>;
|
|
1899
2414
|
ivrVersionedPromptId?: InputMaybe<NullableStringInput>;
|
|
1900
2415
|
ivrVoiceId?: InputMaybe<NullableStringInput>;
|
|
1901
2416
|
language?: InputMaybe<Scalars['String']['input']>;
|
|
1902
|
-
|
|
2417
|
+
linkedFunctionDefinitionInputs?: InputMaybe<Array<LinkFunctionDefinitionInput>>;
|
|
2418
|
+
maxDurationSeconds?: InputMaybe<Scalars['Int']['input']>;
|
|
2419
|
+
metadata?: InputMaybe<Scalars['Map']['input']>;
|
|
1903
2420
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
1904
2421
|
openingLine?: InputMaybe<NullableStringInput>;
|
|
1905
2422
|
openingLineType?: InputMaybe<OpeningLineType>;
|
|
2423
|
+
transcriberParams?: InputMaybe<TranscriberParamsInput>;
|
|
1906
2424
|
transferNumber?: InputMaybe<NullableStringInput>;
|
|
1907
2425
|
utteranceDetectorConfig?: InputMaybe<UtteranceDetectorConfigInput>;
|
|
1908
2426
|
voiceId?: InputMaybe<Scalars['ID']['input']>;
|
|
2427
|
+
voiceOptionValues?: InputMaybe<Array<ModelOptionValueInput>>;
|
|
1909
2428
|
voiceVolumeLevel?: InputMaybe<Scalars['Int']['input']>;
|
|
1910
2429
|
};
|
|
1911
2430
|
export type UpdateCallAgentNodeInput = {
|
|
@@ -1914,7 +2433,7 @@ export type UpdateCallAgentNodeInput = {
|
|
|
1914
2433
|
};
|
|
1915
2434
|
export type UpdateCallAgentPronunciationMapInput = {
|
|
1916
2435
|
agentId: Scalars['ID']['input'];
|
|
1917
|
-
|
|
2436
|
+
pronunciationEntries: Array<PronunciationEntryInput>;
|
|
1918
2437
|
};
|
|
1919
2438
|
export type UpdateDialMetadataInput = {
|
|
1920
2439
|
crmData?: InputMaybe<Scalars['Map']['input']>;
|
|
@@ -1938,6 +2457,7 @@ export type UpdateFunctionDefinitionInput = {
|
|
|
1938
2457
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
1939
2458
|
dsl?: InputMaybe<Scalars['String']['input']>;
|
|
1940
2459
|
functionDefinitionId: Scalars['ID']['input'];
|
|
2460
|
+
lifecycleMessages?: InputMaybe<FunctionLifecycleMessagesInput>;
|
|
1941
2461
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
1942
2462
|
outputs?: InputMaybe<Array<ExtractorFieldInput>>;
|
|
1943
2463
|
};
|
|
@@ -1958,6 +2478,7 @@ export type UpdateVersionedPromptInput = {
|
|
|
1958
2478
|
aiModelId?: InputMaybe<Scalars['ID']['input']>;
|
|
1959
2479
|
flowDefinition?: InputMaybe<FlowDefinitionInput>;
|
|
1960
2480
|
flowDefinitionJSON?: InputMaybe<Scalars['String']['input']>;
|
|
2481
|
+
modelOptionValues?: InputMaybe<Array<ModelOptionValueInput>>;
|
|
1961
2482
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
1962
2483
|
prompt?: InputMaybe<Scalars['String']['input']>;
|
|
1963
2484
|
versionedPromptId: Scalars['ID']['input'];
|
|
@@ -1970,6 +2491,14 @@ export type UpdateWorkspaceCustomDetectorRegexps = {
|
|
|
1970
2491
|
regexpsJSON: Scalars['String']['input'];
|
|
1971
2492
|
workspaceId: Scalars['ID']['input'];
|
|
1972
2493
|
};
|
|
2494
|
+
export type UpdateWorkspacePronunciationMapInput = {
|
|
2495
|
+
pronunciationEntries: Array<PronunciationEntryInput>;
|
|
2496
|
+
workspaceId: Scalars['ID']['input'];
|
|
2497
|
+
};
|
|
2498
|
+
export type UpdateWorkspaceSettingsInput = {
|
|
2499
|
+
defaultWebcallType?: InputMaybe<WebcallType>;
|
|
2500
|
+
workspaceId: Scalars['ID']['input'];
|
|
2501
|
+
};
|
|
1973
2502
|
export type UsageInfo = {
|
|
1974
2503
|
__typename?: 'UsageInfo';
|
|
1975
2504
|
limit: Scalars['Int']['output'];
|
|
@@ -1979,8 +2508,8 @@ export type UsageLineItem = {
|
|
|
1979
2508
|
__typename?: 'UsageLineItem';
|
|
1980
2509
|
description: Scalars['String']['output'];
|
|
1981
2510
|
quantity: Scalars['Int']['output'];
|
|
1982
|
-
|
|
1983
|
-
|
|
2511
|
+
totalPriceDecimal: Scalars['String']['output'];
|
|
2512
|
+
unitPriceDecimal: Scalars['String']['output'];
|
|
1984
2513
|
};
|
|
1985
2514
|
export type User = {
|
|
1986
2515
|
__typename?: 'User';
|
|
@@ -2039,11 +2568,13 @@ export type UserWorkspaceSettingsInput = {
|
|
|
2039
2568
|
export type UtteranceDetectorConfig = {
|
|
2040
2569
|
__typename?: 'UtteranceDetectorConfig';
|
|
2041
2570
|
basic?: Maybe<BasicUtteranceDetectorConfig>;
|
|
2571
|
+
interruptionPlayTimeMs: Scalars['Int']['output'];
|
|
2042
2572
|
type: UtteranceDetectorConfigType;
|
|
2043
2573
|
};
|
|
2044
2574
|
export type UtteranceDetectorConfigInput = {
|
|
2045
2575
|
basic?: InputMaybe<BasicUtteranceDetectorConfigInput>;
|
|
2046
|
-
|
|
2576
|
+
interruptionPlayTimeMs?: InputMaybe<Scalars['Int']['input']>;
|
|
2577
|
+
type?: InputMaybe<UtteranceDetectorConfigType>;
|
|
2047
2578
|
};
|
|
2048
2579
|
export declare enum UtteranceDetectorConfigType {
|
|
2049
2580
|
Advanced = "ADVANCED",
|
|
@@ -2055,6 +2586,10 @@ export declare enum UtteranceDetectorSensitivity {
|
|
|
2055
2586
|
Slow = "SLOW",
|
|
2056
2587
|
UltraFast = "ULTRA_FAST"
|
|
2057
2588
|
}
|
|
2589
|
+
export type VerifyPhoneNumberInput = {
|
|
2590
|
+
phoneNumber: Scalars['String']['input'];
|
|
2591
|
+
workspaceId: Scalars['ID']['input'];
|
|
2592
|
+
};
|
|
2058
2593
|
export type VersionedPrompt = {
|
|
2059
2594
|
__typename?: 'VersionedPrompt';
|
|
2060
2595
|
agentType: AgentType;
|
|
@@ -2062,6 +2597,7 @@ export type VersionedPrompt = {
|
|
|
2062
2597
|
createdAt: Scalars['Time']['output'];
|
|
2063
2598
|
flowDefinition?: Maybe<FlowDefinition>;
|
|
2064
2599
|
id: Scalars['ID']['output'];
|
|
2600
|
+
modelOptionValues?: Maybe<Array<ModelOptionValue>>;
|
|
2065
2601
|
name: Scalars['String']['output'];
|
|
2066
2602
|
prompt?: Maybe<Scalars['String']['output']>;
|
|
2067
2603
|
updatedAt: Scalars['Time']['output'];
|
|
@@ -2083,18 +2619,31 @@ export declare enum VoiceGender {
|
|
|
2083
2619
|
Male = "MALE",
|
|
2084
2620
|
Neutral = "NEUTRAL"
|
|
2085
2621
|
}
|
|
2622
|
+
export declare enum VoiceModel {
|
|
2623
|
+
Default = "DEFAULT",
|
|
2624
|
+
Sesame = "SESAME"
|
|
2625
|
+
}
|
|
2626
|
+
export declare enum VoiceTier {
|
|
2627
|
+
Premium = "PREMIUM",
|
|
2628
|
+
Standard = "STANDARD"
|
|
2629
|
+
}
|
|
2086
2630
|
export type Voicemail = {
|
|
2087
2631
|
__typename?: 'Voicemail';
|
|
2088
2632
|
downloadUrl: Scalars['String']['output'];
|
|
2089
2633
|
id: Scalars['String']['output'];
|
|
2090
2634
|
name: Scalars['String']['output'];
|
|
2091
2635
|
};
|
|
2636
|
+
export declare enum WebcallType {
|
|
2637
|
+
Legacy = "legacy",
|
|
2638
|
+
Standard = "standard"
|
|
2639
|
+
}
|
|
2092
2640
|
export type Workspace = {
|
|
2093
2641
|
__typename?: 'Workspace';
|
|
2094
2642
|
activeDials: Array<Dial>;
|
|
2095
2643
|
activeIncomingCalls: Array<Dial>;
|
|
2096
2644
|
activeUsers: Array<User>;
|
|
2097
2645
|
aggregateStats: AggregateStats;
|
|
2646
|
+
aiEvalConfigs: Array<AiEvalConfig>;
|
|
2098
2647
|
aiModels: AiModelsResult;
|
|
2099
2648
|
apiKeys?: Maybe<Array<ApiKey>>;
|
|
2100
2649
|
apolloPurposes: Array<ApolloPurpose>;
|
|
@@ -2107,7 +2656,9 @@ export type Workspace = {
|
|
|
2107
2656
|
crmSpecification: CrmSpecification;
|
|
2108
2657
|
crmSpecifications: Array<CrmSpecification>;
|
|
2109
2658
|
customDetectorRegexps?: Maybe<Scalars['String']['output']>;
|
|
2659
|
+
defaultWebcallType: WebcallType;
|
|
2110
2660
|
dialSessions: DialSessionListResult;
|
|
2661
|
+
dialTasks: DialTaskListResult;
|
|
2111
2662
|
dials: DialListResult;
|
|
2112
2663
|
dispositions: Array<CallDisposition>;
|
|
2113
2664
|
functionDefinitions: FunctionDefinitionsResult;
|
|
@@ -2120,11 +2671,17 @@ export type Workspace = {
|
|
|
2120
2671
|
member: WorkspaceMember;
|
|
2121
2672
|
memberCount: Scalars['Int']['output'];
|
|
2122
2673
|
name?: Maybe<Scalars['String']['output']>;
|
|
2674
|
+
notice?: Maybe<AppNotice>;
|
|
2675
|
+
onboardingSurveyCompleted: Scalars['Boolean']['output'];
|
|
2123
2676
|
overLimit: OverLimitResult;
|
|
2677
|
+
phoneNumberVerified: Scalars['Boolean']['output'];
|
|
2124
2678
|
phoneNumbers: PhoneNumbersResult;
|
|
2679
|
+
pronunciationMap?: Maybe<PronunciationMap>;
|
|
2680
|
+
quickstartProjects: Array<QuickstartProject>;
|
|
2125
2681
|
recordingConfig?: Maybe<RecordingConfig>;
|
|
2126
2682
|
salesfloorRooms: Array<SalesfloorRoom>;
|
|
2127
2683
|
salesfloorType: SalesfloorType;
|
|
2684
|
+
selfLearningEnrolled: Scalars['Boolean']['output'];
|
|
2128
2685
|
spamUsage: UsageInfo;
|
|
2129
2686
|
subscription?: Maybe<BillingSubscription>;
|
|
2130
2687
|
systemResults: Array<SystemResult>;
|
|
@@ -2152,6 +2709,7 @@ export type WorkspaceBillingUsageArgs = {
|
|
|
2152
2709
|
filter: BillingUsageFilter;
|
|
2153
2710
|
};
|
|
2154
2711
|
export type WorkspaceCallAgentsArgs = {
|
|
2712
|
+
filter?: InputMaybe<CallAgentFilter>;
|
|
2155
2713
|
limit: Scalars['Int']['input'];
|
|
2156
2714
|
offset: Scalars['Int']['input'];
|
|
2157
2715
|
};
|
|
@@ -2168,6 +2726,11 @@ export type WorkspaceDialSessionsArgs = {
|
|
|
2168
2726
|
limit: Scalars['Int']['input'];
|
|
2169
2727
|
offset: Scalars['Int']['input'];
|
|
2170
2728
|
};
|
|
2729
|
+
export type WorkspaceDialTasksArgs = {
|
|
2730
|
+
filter?: InputMaybe<DialTaskFilter>;
|
|
2731
|
+
limit: Scalars['Int']['input'];
|
|
2732
|
+
offset: Scalars['Int']['input'];
|
|
2733
|
+
};
|
|
2171
2734
|
export type WorkspaceDialsArgs = {
|
|
2172
2735
|
filter?: InputMaybe<DialFilter>;
|
|
2173
2736
|
limit: Scalars['Int']['input'];
|
|
@@ -2259,17 +2822,6 @@ export type WorkspaceWebhookInput = {
|
|
|
2259
2822
|
webhookURL?: InputMaybe<NullableStringInput>;
|
|
2260
2823
|
workspaceId: Scalars['ID']['input'];
|
|
2261
2824
|
};
|
|
2262
|
-
export type CreateAdHocDialSessionMutationVariables = Exact<{
|
|
2263
|
-
input: CreateAdHocDialSessionInput;
|
|
2264
|
-
}>;
|
|
2265
|
-
export type CreateAdHocDialSessionMutation = {
|
|
2266
|
-
__typename?: 'Mutation';
|
|
2267
|
-
createAdHocDialSession: {
|
|
2268
|
-
__typename?: 'AdHocDialSession';
|
|
2269
|
-
id: string;
|
|
2270
|
-
telephonyProvider: string;
|
|
2271
|
-
};
|
|
2272
|
-
};
|
|
2273
2825
|
export type StartDialSessionMutationVariables = Exact<{
|
|
2274
2826
|
sessionId: Scalars['ID']['input'];
|
|
2275
2827
|
}>;
|
|
@@ -2318,6 +2870,8 @@ export type BrowserDialTokenMutation = {
|
|
|
2318
2870
|
__typename?: 'BrowserDialTokenRes';
|
|
2319
2871
|
token: string;
|
|
2320
2872
|
iceConfig?: string | null;
|
|
2873
|
+
telephonyProvider: string;
|
|
2874
|
+
url?: string | null;
|
|
2321
2875
|
};
|
|
2322
2876
|
};
|
|
2323
2877
|
export type ConnectSessionSubscriptionVariables = Exact<{
|
|
@@ -2358,7 +2912,6 @@ export type ConnectSessionSubscription = {
|
|
|
2358
2912
|
} | null;
|
|
2359
2913
|
};
|
|
2360
2914
|
};
|
|
2361
|
-
export declare const CreateAdHocDialSessionDocument: DocumentNode<CreateAdHocDialSessionMutation, CreateAdHocDialSessionMutationVariables>;
|
|
2362
2915
|
export declare const StartDialSessionDocument: DocumentNode<StartDialSessionMutation, StartDialSessionMutationVariables>;
|
|
2363
2916
|
export declare const HangupCallDocument: DocumentNode<HangupCallMutation, HangupCallMutationVariables>;
|
|
2364
2917
|
export declare const SetPausedDocument: DocumentNode<SetPausedMutation, SetPausedMutationVariables>;
|