@vogent/vogent-web-client 0.0.6 → 0.0.8

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,2843 +0,0 @@
1
- /* eslint-disable */
2
- import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
3
- export type Maybe<T> = T | null;
4
- export type InputMaybe<T> = Maybe<T>;
5
- export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };
6
- export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };
7
- export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };
8
- export type MakeEmpty<T extends { [key: string]: unknown }, K extends keyof T> = { [_ in K]?: never };
9
- export type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };
10
- /** All built-in and custom scalars, mapped to their actual values */
11
- export type Scalars = {
12
- ID: { input: string; output: string; }
13
- String: { input: string; output: string; }
14
- Boolean: { input: boolean; output: boolean; }
15
- Int: { input: number; output: number; }
16
- Float: { input: number; output: number; }
17
- Any: { input: any; output: any; }
18
- Map: { input: any; output: any; }
19
- Time: { input: any; output: any; }
20
- Upload: { input: any; output: any; }
21
- };
22
-
23
- export type AiChat = {
24
- __typename?: 'AIChat';
25
- id: Scalars['ID']['output'];
26
- prompt: Scalars['String']['output'];
27
- transcript: Array<SpeakerTextRes>;
28
- };
29
-
30
- export type AiModel = {
31
- __typename?: 'AIModel';
32
- id: Scalars['ID']['output'];
33
- modelParams?: Maybe<Scalars['String']['output']>;
34
- modelType: Scalars['String']['output'];
35
- name: Scalars['String']['output'];
36
- providerModelId: Scalars['String']['output'];
37
- public: Scalars['Boolean']['output'];
38
- workspaces: Array<Workspace>;
39
- };
40
-
41
- export type AiModelFilter = {
42
- name?: InputMaybe<Scalars['String']['input']>;
43
- };
44
-
45
- export type AiModelsResult = {
46
- __typename?: 'AIModelsResult';
47
- aiModels: Array<AiModel>;
48
- numAiModels: Scalars['Int']['output'];
49
- };
50
-
51
- export type AiVoice = {
52
- __typename?: 'AIVoice';
53
- gender: VoiceGender;
54
- id: Scalars['ID']['output'];
55
- name: Scalars['String']['output'];
56
- provider: Scalars['String']['output'];
57
- providerDetails?: Maybe<Scalars['String']['output']>;
58
- providerVoiceId: Scalars['String']['output'];
59
- workspaceId?: Maybe<Scalars['ID']['output']>;
60
- };
61
-
62
- export type AiVoicesResult = {
63
- __typename?: 'AIVoicesResult';
64
- aiVoices: Array<AiVoice>;
65
- numAiVoices: Scalars['Int']['output'];
66
- };
67
-
68
- export type ApiKey = {
69
- __typename?: 'APIKey';
70
- createdAt: Scalars['Time']['output'];
71
- createdBy: User;
72
- key: Scalars['String']['output'];
73
- lastUsed?: Maybe<Scalars['Time']['output']>;
74
- name: Scalars['String']['output'];
75
- };
76
-
77
- export type AdHocDialSession = {
78
- __typename?: 'AdHocDialSession';
79
- id: Scalars['ID']['output'];
80
- telephonyProvider: Scalars['String']['output'];
81
- };
82
-
83
- export type AddBalanceInput = {
84
- balanceCents: Scalars['Int']['input'];
85
- workspaceId: Scalars['ID']['input'];
86
- };
87
-
88
- export type AddCallAgentFieldInput = {
89
- agentId: Scalars['ID']['input'];
90
- name: Scalars['String']['input'];
91
- };
92
-
93
- export type AddKnowledgeBaseFilesInput = {
94
- files: Array<Scalars['Upload']['input']>;
95
- knowledgeBaseId: Scalars['ID']['input'];
96
- };
97
-
98
- export type AgentFieldValue = {
99
- fieldName: Scalars['String']['input'];
100
- value: Scalars['String']['input'];
101
- };
102
-
103
- export enum AgentType {
104
- CustomFlow = 'CUSTOM_FLOW',
105
- Standard = 'STANDARD'
106
- }
107
-
108
- export type AgentVariablesInput = {
109
- agentId: Scalars['ID']['input'];
110
- versionedPromptId?: InputMaybe<Scalars['ID']['input']>;
111
- };
112
-
113
- export type AggregateStats = {
114
- __typename?: 'AggregateStats';
115
- numCancels: Scalars['Int']['output'];
116
- numConnects: Scalars['Int']['output'];
117
- numDials: Scalars['Int']['output'];
118
- numMeetings: Scalars['Int']['output'];
119
- numNoAnswer: Scalars['Int']['output'];
120
- numPatched: Scalars['Int']['output'];
121
- totalCallTimeSecs: Scalars['Int']['output'];
122
- };
123
-
124
- export enum AiModelAccessType {
125
- Deny = 'DENY',
126
- Grant = 'GRANT'
127
- }
128
-
129
- export type AllWorkspacesFilterInput = {
130
- active?: InputMaybe<Scalars['Boolean']['input']>;
131
- email?: InputMaybe<Scalars['String']['input']>;
132
- };
133
-
134
- export type AllWorkspacesResult = {
135
- __typename?: 'AllWorkspacesResult';
136
- numWorkspaces: Scalars['Int']['output'];
137
- workspaces: Array<Workspace>;
138
- };
139
-
140
- export enum AnswerType {
141
- Human = 'HUMAN',
142
- Machine = 'MACHINE',
143
- Other = 'OTHER',
144
- Unknown = 'UNKNOWN'
145
- }
146
-
147
- export type ApiFlowNode = {
148
- __typename?: 'ApiFlowNode';
149
- id: Scalars['ID']['output'];
150
- name: Scalars['String']['output'];
151
- nodeData: Scalars['Map']['output'];
152
- outputSchema?: Maybe<Scalars['String']['output']>;
153
- transitionRules: Array<FlowTransitionRule>;
154
- type: Scalars['String']['output'];
155
- };
156
-
157
- export type ApiFlowNodeInput = {
158
- id: Scalars['ID']['input'];
159
- name: Scalars['String']['input'];
160
- nodeData: Scalars['Map']['input'];
161
- transitionRules: Array<FlowTransitionRuleInput>;
162
- type: Scalars['String']['input'];
163
- };
164
-
165
- export type ApolloPurpose = {
166
- __typename?: 'ApolloPurpose';
167
- id: Scalars['ID']['output'];
168
- name: Scalars['String']['output'];
169
- };
170
-
171
- export type ApolloSettingsInput = {
172
- apolloPurposeId?: InputMaybe<Scalars['ID']['input']>;
173
- apolloUserId?: InputMaybe<Scalars['ID']['input']>;
174
- crmSpecificationId: Scalars['ID']['input'];
175
- workspaceId: Scalars['ID']['input'];
176
- };
177
-
178
- export type ApolloUser = {
179
- __typename?: 'ApolloUser';
180
- email: Scalars['String']['output'];
181
- firstName: Scalars['String']['output'];
182
- id: Scalars['ID']['output'];
183
- lastName: Scalars['String']['output'];
184
- };
185
-
186
- export type AuthPayload = {
187
- __typename?: 'AuthPayload';
188
- token: Scalars['String']['output'];
189
- user: User;
190
- };
191
-
192
- export type BasicUtteranceDetectorConfig = {
193
- __typename?: 'BasicUtteranceDetectorConfig';
194
- sensitivity: UtteranceDetectorSensitivity;
195
- };
196
-
197
- export type BasicUtteranceDetectorConfigInput = {
198
- sensitivity: UtteranceDetectorSensitivity;
199
- };
200
-
201
- export type BillingSubscription = {
202
- __typename?: 'BillingSubscription';
203
- manageUrl: Scalars['String']['output'];
204
- name: Scalars['String']['output'];
205
- };
206
-
207
- export type BillingUsageFilter = {
208
- range: TimeRange;
209
- };
210
-
211
- export type BrowserDialTokenInput = {
212
- dialSessionId?: InputMaybe<Scalars['ID']['input']>;
213
- telephonyProvider?: InputMaybe<Scalars['String']['input']>;
214
- type: BrowserDialTokenType;
215
- workspaceId?: InputMaybe<Scalars['ID']['input']>;
216
- };
217
-
218
- export type BrowserDialTokenRes = {
219
- __typename?: 'BrowserDialTokenRes';
220
- iceConfig?: Maybe<Scalars['String']['output']>;
221
- token: Scalars['String']['output'];
222
- };
223
-
224
- export enum BrowserDialTokenType {
225
- DialSession = 'DIAL_SESSION',
226
- LiveListen = 'LIVE_LISTEN'
227
- }
228
-
229
- export type CrmAction = {
230
- __typename?: 'CRMAction';
231
- actionId: Scalars['String']['output'];
232
- actionTitle: Scalars['String']['output'];
233
- };
234
-
235
- export type CrmActionInput = {
236
- actionPayload: Scalars['String']['input'];
237
- actionType: Scalars['String']['input'];
238
- contactId: Scalars['ID']['input'];
239
- };
240
-
241
- export type CrmActivity = {
242
- __typename?: 'CRMActivity';
243
- activityType: CrmActivityType;
244
- crmId: Scalars['String']['output'];
245
- notes: Scalars['String']['output'];
246
- time: Scalars['Time']['output'];
247
- };
248
-
249
- export enum CrmActivityType {
250
- Call = 'CALL',
251
- Note = 'NOTE'
252
- }
253
-
254
- export type CrmSpecification = {
255
- __typename?: 'CRMSpecification';
256
- connectionStatus: ConnectionStatus;
257
- description?: Maybe<Scalars['String']['output']>;
258
- hasCustomDispositions: Scalars['Boolean']['output'];
259
- id: Scalars['ID']['output'];
260
- listContactImportOptions: ListContactImportOptionsRes;
261
- listFilterConfig: ContactListFilterConfig;
262
- logo?: Maybe<Scalars['String']['output']>;
263
- metadata?: Maybe<Scalars['Map']['output']>;
264
- name: Scalars['String']['output'];
265
- vesselId: Scalars['String']['output'];
266
- };
267
-
268
-
269
- export type CrmSpecificationListContactImportOptionsArgs = {
270
- sourceId: Scalars['String']['input'];
271
- };
272
-
273
- export type CallAgent = {
274
- __typename?: 'CallAgent';
275
- aiVoice?: Maybe<AiVoice>;
276
- backgroundNoiseType: Scalars['String']['output'];
277
- defaultExtractor?: Maybe<CallAgentExtractor>;
278
- defaultPrompt?: Maybe<VersionedPrompt>;
279
- extractors: Array<CallAgentExtractor>;
280
- functionDefinitions: Array<FunctionDefinition>;
281
- id: Scalars['ID']['output'];
282
- ivrDetectionType: IvrDetectionType;
283
- ivrTaggingText?: Maybe<Scalars['String']['output']>;
284
- ivrVersionedPrompt?: Maybe<VersionedPrompt>;
285
- ivrVoice?: Maybe<AiVoice>;
286
- language: Scalars['String']['output'];
287
- name: Scalars['String']['output'];
288
- openingLine?: Maybe<Scalars['String']['output']>;
289
- openingLineType?: Maybe<OpeningLineType>;
290
- phoneNumbers: Array<PhoneNumber>;
291
- presets: Array<CallDataPreset>;
292
- prompts: Array<VersionedPrompt>;
293
- pronunciationMap?: Maybe<PronunciationMap>;
294
- transferNumber?: Maybe<Scalars['String']['output']>;
295
- utteranceDetectorConfig: UtteranceDetectorConfig;
296
- voiceVolumeLevel: Scalars['Int']['output'];
297
- workspaceId: Scalars['ID']['output'];
298
- };
299
-
300
- export type CallAgentExtractor = {
301
- __typename?: 'CallAgentExtractor';
302
- createdAt?: Maybe<Scalars['Time']['output']>;
303
- extractorFields: Array<ExtractorField>;
304
- id: Scalars['ID']['output'];
305
- name: Scalars['String']['output'];
306
- updatedAt?: Maybe<Scalars['Time']['output']>;
307
- useVariables: Scalars['Boolean']['output'];
308
- };
309
-
310
- export type CallAgentInput = {
311
- defaultVoiceId: Scalars['ID']['input'];
312
- name: Scalars['String']['input'];
313
- prompt: Scalars['String']['input'];
314
- workspaceId?: InputMaybe<Scalars['ID']['input']>;
315
- };
316
-
317
- export type CallAgentsResult = {
318
- __typename?: 'CallAgentsResult';
319
- callAgents: Array<CallAgent>;
320
- numCallAgents: Scalars['Int']['output'];
321
- };
322
-
323
- export type CallDataPreset = {
324
- __typename?: 'CallDataPreset';
325
- data?: Maybe<Scalars['Map']['output']>;
326
- id: Scalars['ID']['output'];
327
- name: Scalars['String']['output'];
328
- };
329
-
330
- export enum CallDirection {
331
- Incoming = 'INCOMING',
332
- Outgoing = 'OUTGOING'
333
- }
334
-
335
- export type CallDisposition = {
336
- __typename?: 'CallDisposition';
337
- crmSpecification?: Maybe<CrmSpecification>;
338
- crmSubtype?: Maybe<Scalars['String']['output']>;
339
- dialAlternateNumbers: Scalars['Boolean']['output'];
340
- id: Scalars['ID']['output'];
341
- mappedResult?: Maybe<DialResult>;
342
- name: Scalars['String']['output'];
343
- };
344
-
345
- export type CallRecording = {
346
- __typename?: 'CallRecording';
347
- downloadUrl: Scalars['String']['output'];
348
- id: Scalars['ID']['output'];
349
- };
350
-
351
- export type CallTranscript = {
352
- __typename?: 'CallTranscript';
353
- id: Scalars['ID']['output'];
354
- text: Array<SpeakerTextRes>;
355
- };
356
-
357
- export enum CallType {
358
- Browser = 'BROWSER',
359
- Phone = 'PHONE'
360
- }
361
-
362
- export enum ChatStreamMessageType {
363
- AppendText = 'APPEND_TEXT',
364
- NewSpeakerRes = 'NEW_SPEAKER_RES'
365
- }
366
-
367
- export type CloneAgentInput = {
368
- agentId: Scalars['ID']['input'];
369
- destAgentName: Scalars['String']['input'];
370
- destWorkspaceId?: InputMaybe<Scalars['ID']['input']>;
371
- };
372
-
373
- export type CloneExtractorInput = {
374
- callAgentId: Scalars['ID']['input'];
375
- clonedExtractorName: Scalars['String']['input'];
376
- extractorId: Scalars['ID']['input'];
377
- };
378
-
379
- export type CoachingComment = {
380
- __typename?: 'CoachingComment';
381
- comment: Scalars['String']['output'];
382
- id: Scalars['ID']['output'];
383
- user: User;
384
- userId: Scalars['ID']['output'];
385
- visibility: CoachingCommentVisibility;
386
- };
387
-
388
- export enum CoachingCommentVisibility {
389
- ManagerOnly = 'MANAGER_ONLY',
390
- VisibleToRep = 'VISIBLE_TO_REP'
391
- }
392
-
393
- export enum ConnectionStatus {
394
- ApiKeyConnected = 'API_KEY_CONNECTED',
395
- LegacyConnected = 'LEGACY_CONNECTED',
396
- NotConnected = 'NOT_CONNECTED',
397
- OauthConnected = 'OAUTH_CONNECTED'
398
- }
399
-
400
- export type Contact = {
401
- __typename?: 'Contact';
402
- accountAttributes?: Maybe<Scalars['Map']['output']>;
403
- activities: Array<CrmActivity>;
404
- attributes?: Maybe<Scalars['Map']['output']>;
405
- contactList: ContactList;
406
- crmActions: Array<CrmAction>;
407
- crmLink?: Maybe<Scalars['String']['output']>;
408
- id: Scalars['ID']['output'];
409
- sourceId?: Maybe<Scalars['String']['output']>;
410
- };
411
-
412
- export type ContactAttrFilter = {
413
- __typename?: 'ContactAttrFilter';
414
- allowedValues?: Maybe<Array<Scalars['String']['output']>>;
415
- attrName: Scalars['String']['output'];
416
- invert?: Maybe<Scalars['Boolean']['output']>;
417
- system?: Maybe<Scalars['Boolean']['output']>;
418
- };
419
-
420
- export type ContactAttrFilterInput = {
421
- allowedValues?: InputMaybe<Array<Scalars['String']['input']>>;
422
- attrName: Scalars['String']['input'];
423
- invert?: InputMaybe<Scalars['Boolean']['input']>;
424
- system?: InputMaybe<Scalars['Boolean']['input']>;
425
- };
426
-
427
- export type ContactCompleteMessage = {
428
- __typename?: 'ContactCompleteMessage';
429
- contactId: Scalars['ID']['output'];
430
- };
431
-
432
- export type ContactFilter = {
433
- __typename?: 'ContactFilter';
434
- attrFilters?: Maybe<Array<ContactAttrFilter>>;
435
- };
436
-
437
- export type ContactFilterInput = {
438
- attrFilters?: InputMaybe<Array<ContactAttrFilterInput>>;
439
- sortDesc?: InputMaybe<Scalars['Boolean']['input']>;
440
- sortField?: InputMaybe<Scalars['String']['input']>;
441
- };
442
-
443
- export type ContactList = {
444
- __typename?: 'ContactList';
445
- accountSchema: Scalars['Map']['output'];
446
- activeDialSessions?: Maybe<Array<DialSession>>;
447
- contactCount: Scalars['Int']['output'];
448
- contacts: ContactsResult;
449
- crmSpecification: CrmSpecification;
450
- crmSpecificationId: Scalars['ID']['output'];
451
- deleted: Scalars['Boolean']['output'];
452
- fieldOptions: FieldOptionsResult;
453
- filterableFields: Array<FilterableField>;
454
- id: Scalars['ID']['output'];
455
- name: Scalars['String']['output'];
456
- schema: ContactListSchema;
457
- sourceId?: Maybe<Scalars['String']['output']>;
458
- user: User;
459
- userId: Scalars['ID']['output'];
460
- workspace: Workspace;
461
- };
462
-
463
-
464
- export type ContactListContactsArgs = {
465
- filter?: InputMaybe<ContactFilterInput>;
466
- limit: Scalars['Int']['input'];
467
- offset: Scalars['Int']['input'];
468
- };
469
-
470
-
471
- export type ContactListFieldOptionsArgs = {
472
- field: Scalars['String']['input'];
473
- limit: Scalars['Int']['input'];
474
- offset: Scalars['Int']['input'];
475
- query?: InputMaybe<Scalars['String']['input']>;
476
- };
477
-
478
- export type ContactListFilter = {
479
- name?: InputMaybe<Scalars['String']['input']>;
480
- userId?: InputMaybe<Scalars['ID']['input']>;
481
- };
482
-
483
- export type ContactListFilterConfig = {
484
- __typename?: 'ContactListFilterConfig';
485
- serverSearch: Scalars['Boolean']['output'];
486
- };
487
-
488
- export type ContactListImportOption = {
489
- __typename?: 'ContactListImportOption';
490
- label: Scalars['String']['output'];
491
- value: Scalars['String']['output'];
492
- };
493
-
494
- export type ContactListImportOptionSpec = {
495
- __typename?: 'ContactListImportOptionSpec';
496
- id: Scalars['String']['output'];
497
- name: Scalars['String']['output'];
498
- options?: Maybe<Array<ContactListImportOption>>;
499
- };
500
-
501
- export type ContactListResult = {
502
- __typename?: 'ContactListResult';
503
- contactLists: Array<ContactList>;
504
- numContactLists: Scalars['Int']['output'];
505
- };
506
-
507
- export type ContactListSchema = {
508
- __typename?: 'ContactListSchema';
509
- items: Array<ContactListSchemaItem>;
510
- };
511
-
512
- export type ContactListSchemaItem = {
513
- __typename?: 'ContactListSchemaItem';
514
- fieldType: Scalars['String']['output'];
515
- id: Scalars['String']['output'];
516
- isPhone: Scalars['Boolean']['output'];
517
- name: Scalars['String']['output'];
518
- };
519
-
520
- export type ContactsResult = {
521
- __typename?: 'ContactsResult';
522
- contacts: Array<Contact>;
523
- numContacts: Scalars['Int']['output'];
524
- };
525
-
526
- export type CreateAiVoiceInput = {
527
- gender: VoiceGender;
528
- name: Scalars['String']['input'];
529
- provider: Scalars['String']['input'];
530
- providerDetails?: InputMaybe<Scalars['String']['input']>;
531
- providerId: Scalars['String']['input'];
532
- workspaceId?: InputMaybe<Scalars['ID']['input']>;
533
- };
534
-
535
- export type CreateApiKeyInput = {
536
- apiKey: Scalars['String']['input'];
537
- integration: Scalars['String']['input'];
538
- workspaceId: Scalars['ID']['input'];
539
- };
540
-
541
- export type CreateApiKeyResponse = {
542
- __typename?: 'CreateAPIKeyResponse';
543
- success: Scalars['Boolean']['output'];
544
- };
545
-
546
- export type CreateAdHocDialSessionInput = {
547
- aiVoiceId?: InputMaybe<Scalars['ID']['input']>;
548
- browserCall?: InputMaybe<Scalars['Boolean']['input']>;
549
- callAgentId?: InputMaybe<Scalars['ID']['input']>;
550
- callAgentInput?: InputMaybe<Scalars['Map']['input']>;
551
- fromPhoneNumberId?: InputMaybe<Scalars['ID']['input']>;
552
- phoneNumber?: InputMaybe<Scalars['String']['input']>;
553
- timeoutMinutes?: InputMaybe<Scalars['Int']['input']>;
554
- versionedPromptId?: InputMaybe<Scalars['ID']['input']>;
555
- webhookURL?: InputMaybe<Scalars['String']['input']>;
556
- workspaceId: Scalars['ID']['input'];
557
- };
558
-
559
- export type CreateAiModelInput = {
560
- modelParams?: InputMaybe<Scalars['String']['input']>;
561
- modelType: Scalars['String']['input'];
562
- name: Scalars['String']['input'];
563
- providerModelId: Scalars['String']['input'];
564
- public: Scalars['Boolean']['input'];
565
- };
566
-
567
- export type CreateCallAgentExtractorInput = {
568
- callAgentId?: InputMaybe<Scalars['ID']['input']>;
569
- extractorFields: Array<ExtractorFieldInput>;
570
- name: Scalars['String']['input'];
571
- workspaceId: Scalars['ID']['input'];
572
- };
573
-
574
- export type CreateCallAgentNodeInput = {
575
- nodeInput: ApiFlowNodeInput;
576
- versionedPromptId: Scalars['ID']['input'];
577
- };
578
-
579
- export type CreateCallDataPresetInput = {
580
- callAgentId: Scalars['ID']['input'];
581
- data: Scalars['Map']['input'];
582
- name: Scalars['String']['input'];
583
- };
584
-
585
- export type CreateCallInput = {
586
- contactIds: Array<Scalars['String']['input']>;
587
- date: Scalars['String']['input'];
588
- description?: InputMaybe<Scalars['String']['input']>;
589
- direction: Scalars['String']['input'];
590
- disposition: Scalars['String']['input'];
591
- integrationId: Scalars['String']['input'];
592
- sourceContactIds: Array<Scalars['String']['input']>;
593
- subject?: InputMaybe<Scalars['String']['input']>;
594
- };
595
-
596
- export type CreateChatInput = {
597
- agentId: Scalars['ID']['input'];
598
- callAgentInput?: InputMaybe<Scalars['Map']['input']>;
599
- };
600
-
601
- export type CreateCoachingCommentInput = {
602
- comment: Scalars['String']['input'];
603
- dialId: Scalars['ID']['input'];
604
- visibility: CoachingCommentVisibility;
605
- };
606
-
607
- export type CreateContactListInput = {
608
- importOpts?: InputMaybe<Array<CreateContactListOption>>;
609
- name: Scalars['String']['input'];
610
- sourceId?: InputMaybe<Scalars['String']['input']>;
611
- sourceName: Scalars['String']['input'];
612
- sourceType: Scalars['String']['input'];
613
- workspaceId: Scalars['ID']['input'];
614
- };
615
-
616
- export type CreateContactListOption = {
617
- fieldId: Scalars['String']['input'];
618
- value: Scalars['String']['input'];
619
- };
620
-
621
- export type CreateDialCommentInput = {
622
- comment: Scalars['String']['input'];
623
- dialId: Scalars['ID']['input'];
624
- };
625
-
626
- export type CreateDialInput = {
627
- aiVoiceId?: InputMaybe<Scalars['ID']['input']>;
628
- browserCall?: InputMaybe<Scalars['Boolean']['input']>;
629
- callAgentId: Scalars['ID']['input'];
630
- callAgentInput?: InputMaybe<Scalars['Map']['input']>;
631
- fromPhoneNumberId?: InputMaybe<Scalars['ID']['input']>;
632
- timeoutMinutes?: InputMaybe<Scalars['Int']['input']>;
633
- toNumber?: InputMaybe<Scalars['String']['input']>;
634
- versionedModelId?: InputMaybe<Scalars['ID']['input']>;
635
- webhookURL?: InputMaybe<Scalars['String']['input']>;
636
- };
637
-
638
- export type CreateDialResult = {
639
- __typename?: 'CreateDialResult';
640
- dialId: Scalars['ID']['output'];
641
- dialToken: Scalars['String']['output'];
642
- sessionId: Scalars['ID']['output'];
643
- };
644
-
645
- export type CreateDialSessionInput = {
646
- callAgentId?: InputMaybe<Scalars['ID']['input']>;
647
- cancelDispositionId?: InputMaybe<Scalars['ID']['input']>;
648
- contactFilter?: InputMaybe<ContactFilterInput>;
649
- contactListId: Scalars['ID']['input'];
650
- dialTreeStrategy: DialTreeStrategy;
651
- /** If empty, all phone numbers will be used */
652
- fromPhoneNumberIDs?: InputMaybe<Array<Scalars['ID']['input']>>;
653
- numParallel: Scalars['Int']['input'];
654
- phoneFields?: InputMaybe<Array<Scalars['String']['input']>>;
655
- recordingSetting: RecordingSettingType;
656
- sortDesc?: InputMaybe<Scalars['Boolean']['input']>;
657
- sortField?: InputMaybe<Scalars['String']['input']>;
658
- /** If empty, the default set of fields will be used. */
659
- tableFields?: InputMaybe<Array<Scalars['String']['input']>>;
660
- voicemailId?: InputMaybe<Scalars['ID']['input']>;
661
- workspaceId: Scalars['ID']['input'];
662
- };
663
-
664
- export type CreateDispositionInput = {
665
- mappedResult?: InputMaybe<DialResult>;
666
- name: Scalars['String']['input'];
667
- workspaceId: Scalars['ID']['input'];
668
- };
669
-
670
- export type CreateFunctionDefinitionInput = {
671
- arguments: Array<ExtractorFieldInput>;
672
- description: Scalars['String']['input'];
673
- dsl: Scalars['String']['input'];
674
- name: Scalars['String']['input'];
675
- outputs?: InputMaybe<Array<ExtractorFieldInput>>;
676
- workspaceId: Scalars['ID']['input'];
677
- };
678
-
679
- export type CreateKnowledgeBaseInput = {
680
- name: Scalars['String']['input'];
681
- workspaceId?: InputMaybe<Scalars['ID']['input']>;
682
- };
683
-
684
- export type CreatePricingProductInput = {
685
- billingName: Scalars['String']['input'];
686
- descriptiveName: Scalars['String']['input'];
687
- priceCents: Scalars['Int']['input'];
688
- };
689
-
690
- export type CreateSalesfloorRoomInput = {
691
- name: Scalars['String']['input'];
692
- workspaceId: Scalars['ID']['input'];
693
- };
694
-
695
- export type CreateSpamScanInput = {
696
- phoneNumberIds: Array<Scalars['ID']['input']>;
697
- };
698
-
699
- export type CreateUserApiKeyInput = {
700
- name: Scalars['String']['input'];
701
- workspaceId: Scalars['ID']['input'];
702
- };
703
-
704
- export type CreateVersionedPromptInput = {
705
- agentType: AgentType;
706
- aiModelId: Scalars['ID']['input'];
707
- callAgentId: Scalars['ID']['input'];
708
- name?: InputMaybe<Scalars['String']['input']>;
709
- prompt?: InputMaybe<Scalars['String']['input']>;
710
- };
711
-
712
- export type CreateVesselConnectionResponse = {
713
- __typename?: 'CreateVesselConnectionResponse';
714
- success: Scalars['Boolean']['output'];
715
- };
716
-
717
- export type CreateVoicemailInput = {
718
- name: Scalars['String']['input'];
719
- workspaceId: Scalars['ID']['input'];
720
- };
721
-
722
- export type CreateWorkspaceInput = {
723
- initialUserEmail: Scalars['String']['input'];
724
- name: Scalars['String']['input'];
725
- };
726
-
727
- export type CurrentApolloUser = {
728
- __typename?: 'CurrentApolloUser';
729
- id?: Maybe<Scalars['ID']['output']>;
730
- };
731
-
732
- export type DncRecord = {
733
- __typename?: 'DNCRecord';
734
- id: Scalars['ID']['output'];
735
- phoneNumber: Scalars['String']['output'];
736
- };
737
-
738
- export type DncRecordInput = {
739
- contactId?: InputMaybe<Scalars['ID']['input']>;
740
- phoneNumber?: InputMaybe<Scalars['String']['input']>;
741
- workspaceId: Scalars['ID']['input'];
742
- };
743
-
744
- export type Dial = {
745
- __typename?: 'Dial';
746
- aiPaused: Scalars['Boolean']['output'];
747
- aiResult?: Maybe<Scalars['Map']['output']>;
748
- answerType: AnswerType;
749
- browserDial: Scalars['Boolean']['output'];
750
- callAgent?: Maybe<CallAgent>;
751
- callDisposition?: Maybe<CallDisposition>;
752
- callDispositionId?: Maybe<Scalars['ID']['output']>;
753
- coachingComments: Array<CoachingComment>;
754
- completedAt?: Maybe<Scalars['Time']['output']>;
755
- contact?: Maybe<Contact>;
756
- createdAt: Scalars['Time']['output'];
757
- dialComments: Array<DialComment>;
758
- dialInputs?: Maybe<Scalars['Map']['output']>;
759
- dialSessionId: Scalars['ID']['output'];
760
- feedbacks: Array<FeedbackType>;
761
- fromPhoneNumber?: Maybe<PhoneNumber>;
762
- id: Scalars['ID']['output'];
763
- incomingCall: Scalars['Boolean']['output'];
764
- notes: Scalars['String']['output'];
765
- phoneField: Scalars['String']['output'];
766
- recordings: Array<CallRecording>;
767
- status: Scalars['String']['output'];
768
- systemResultType?: Maybe<SystemResultType>;
769
- toNumber: Scalars['String']['output'];
770
- transcript?: Maybe<CallTranscript>;
771
- user: User;
772
- versionedPrompt?: Maybe<VersionedPrompt>;
773
- };
774
-
775
- export type DialComment = {
776
- __typename?: 'DialComment';
777
- comment: Scalars['String']['output'];
778
- id: Scalars['ID']['output'];
779
- user: User;
780
- userId: Scalars['ID']['output'];
781
- };
782
-
783
- export type DialConnectMessage = {
784
- __typename?: 'DialConnectMessage';
785
- contactId?: Maybe<Scalars['ID']['output']>;
786
- dialId: Scalars['ID']['output'];
787
- };
788
-
789
- export type DialCreateMessage = {
790
- __typename?: 'DialCreateMessage';
791
- complete: Scalars['Boolean']['output'];
792
- dial: Dial;
793
- };
794
-
795
- export type DialEvent = {
796
- __typename?: 'DialEvent';
797
- eventType: DialEventType;
798
- pauseChangeMessage?: Maybe<PauseChangeMessage>;
799
- statusChangeMessage?: Maybe<StatusChangeMessage>;
800
- };
801
-
802
- export enum DialEventType {
803
- PauseChange = 'PAUSE_CHANGE',
804
- StatusChange = 'STATUS_CHANGE'
805
- }
806
-
807
- export type DialFilter = {
808
- agentFieldValues?: InputMaybe<Array<AgentFieldValue>>;
809
- callAgents?: InputMaybe<Array<Scalars['ID']['input']>>;
810
- callDirections?: InputMaybe<Array<CallDirection>>;
811
- callTypes?: InputMaybe<Array<CallType>>;
812
- extractorValues?: InputMaybe<Array<ExtractorValue>>;
813
- phoneNumber?: InputMaybe<Scalars['String']['input']>;
814
- range?: InputMaybe<TimeRange>;
815
- };
816
-
817
- export type DialListResult = {
818
- __typename?: 'DialListResult';
819
- dials: Array<Dial>;
820
- numDials: Scalars['Int']['output'];
821
- };
822
-
823
- export enum DialResult {
824
- Connected = 'CONNECTED',
825
- Meeting = 'MEETING',
826
- NoAnswer = 'NO_ANSWER'
827
- }
828
-
829
- export type DialSession = {
830
- __typename?: 'DialSession';
831
- /**
832
- * The allowed numbers that can be used to call in this session.
833
- * If empty, all phone numbers are allowed.
834
- */
835
- allowedPhoneIDs?: Maybe<Array<Scalars['ID']['output']>>;
836
- callAgent?: Maybe<CallAgent>;
837
- connectedDial?: Maybe<Dial>;
838
- contactFilter?: Maybe<ContactFilter>;
839
- contactList: ContactList;
840
- contactListId: Scalars['String']['output'];
841
- createdAt?: Maybe<Scalars['Time']['output']>;
842
- dialTreeStrategy: DialTreeStrategy;
843
- dispositions: Array<CallDisposition>;
844
- id: Scalars['ID']['output'];
845
- name: Scalars['String']['output'];
846
- numParallel: Scalars['Int']['output'];
847
- phoneFields?: Maybe<Array<Scalars['String']['output']>>;
848
- recordingSetting: RecordingSettingType;
849
- sessionContacts: SessionContactsResult;
850
- sortDesc?: Maybe<Scalars['Boolean']['output']>;
851
- sortField?: Maybe<Scalars['String']['output']>;
852
- status: DialSessionStatus;
853
- tableFields?: Maybe<Array<Scalars['String']['output']>>;
854
- telephonyProvider: Scalars['String']['output'];
855
- voicemailId?: Maybe<Scalars['String']['output']>;
856
- };
857
-
858
-
859
- export type DialSessionDispositionsArgs = {
860
- subtype?: InputMaybe<Scalars['String']['input']>;
861
- };
862
-
863
-
864
- export type DialSessionSessionContactsArgs = {
865
- after?: InputMaybe<Scalars['ID']['input']>;
866
- before?: InputMaybe<Scalars['ID']['input']>;
867
- filter?: InputMaybe<SessionContactsFilter>;
868
- limit: Scalars['Int']['input'];
869
- };
870
-
871
- export type DialSessionFilter = {
872
- name?: InputMaybe<Scalars['String']['input']>;
873
- userId?: InputMaybe<Scalars['ID']['input']>;
874
- };
875
-
876
- export type DialSessionListResult = {
877
- __typename?: 'DialSessionListResult';
878
- dialSessions: Array<DialSession>;
879
- numDialSessions: Scalars['Int']['output'];
880
- };
881
-
882
- export enum DialSessionStatus {
883
- Active = 'ACTIVE',
884
- Complete = 'COMPLETE',
885
- Initialized = 'INITIALIZED',
886
- Paused = 'PAUSED'
887
- }
888
-
889
- export enum DialSessionUpdateReason {
890
- BrowserDisconnect = 'BROWSER_DISCONNECT',
891
- Manual = 'MANUAL',
892
- PassComplete = 'PASS_COMPLETE'
893
- }
894
-
895
- export enum DialTreeStrategy {
896
- Connect = 'CONNECT',
897
- Skip = 'SKIP'
898
- }
899
-
900
- export type DialsUpdatedMessage = {
901
- __typename?: 'DialsUpdatedMessage';
902
- contactComplete: Scalars['Boolean']['output'];
903
- contactId?: Maybe<Scalars['ID']['output']>;
904
- dials: Array<Dial>;
905
- };
906
-
907
- export type ExtractorField = {
908
- __typename?: 'ExtractorField';
909
- customFieldJsonSchema?: Maybe<Scalars['String']['output']>;
910
- customFieldTs?: Maybe<Scalars['String']['output']>;
911
- description: Scalars['String']['output'];
912
- name: Scalars['String']['output'];
913
- nullable: Scalars['Boolean']['output'];
914
- type: ExtractorFieldType;
915
- };
916
-
917
- export type ExtractorFieldInput = {
918
- customFieldJsonSchema?: InputMaybe<Scalars['String']['input']>;
919
- customFieldTs?: InputMaybe<Scalars['String']['input']>;
920
- description: Scalars['String']['input'];
921
- name: Scalars['String']['input'];
922
- nullable: Scalars['Boolean']['input'];
923
- type: ExtractorFieldType;
924
- };
925
-
926
- export enum ExtractorFieldType {
927
- Boolean = 'BOOLEAN',
928
- Custom = 'CUSTOM',
929
- Float = 'FLOAT',
930
- Integer = 'INTEGER',
931
- String = 'STRING'
932
- }
933
-
934
- export type ExtractorValue = {
935
- fieldName: Scalars['String']['input'];
936
- valueBool?: InputMaybe<Scalars['Boolean']['input']>;
937
- valueString?: InputMaybe<Scalars['String']['input']>;
938
- };
939
-
940
- export enum FeedbackType {
941
- AiError = 'AI_ERROR',
942
- FalsePositive = 'FALSE_POSITIVE',
943
- PickupDelay = 'PICKUP_DELAY'
944
- }
945
-
946
- export type FieldOption = {
947
- __typename?: 'FieldOption';
948
- label: Scalars['String']['output'];
949
- value: Scalars['String']['output'];
950
- };
951
-
952
- export type FieldOptionsResult = {
953
- __typename?: 'FieldOptionsResult';
954
- fieldOptions: Array<FieldOption>;
955
- numFieldOptions: Scalars['Int']['output'];
956
- };
957
-
958
- export type FilterableField = {
959
- __typename?: 'FilterableField';
960
- fieldId: Scalars['String']['output'];
961
- fieldName: Scalars['String']['output'];
962
- };
963
-
964
- export enum FlowConditionType {
965
- Always = 'always',
966
- Equal = 'equal',
967
- Greater = 'greater',
968
- In = 'in',
969
- Language = 'language',
970
- Less = 'less'
971
- }
972
-
973
- export type FlowDefinition = {
974
- __typename?: 'FlowDefinition';
975
- nodes: Array<ApiFlowNode>;
976
- };
977
-
978
- export type FlowDefinitionInput = {
979
- nodes: Array<ApiFlowNodeInput>;
980
- };
981
-
982
- export type FlowTransitionRule = {
983
- __typename?: 'FlowTransitionRule';
984
- conditionType: FlowConditionType;
985
- field?: Maybe<Scalars['String']['output']>;
986
- transitionNodeId: Scalars['String']['output'];
987
- value?: Maybe<Scalars['String']['output']>;
988
- values?: Maybe<Array<Scalars['String']['output']>>;
989
- };
990
-
991
- export type FlowTransitionRuleInput = {
992
- conditionType: FlowConditionType;
993
- field?: InputMaybe<Scalars['String']['input']>;
994
- transitionNodeId: Scalars['String']['input'];
995
- value?: InputMaybe<Scalars['String']['input']>;
996
- values?: InputMaybe<Array<Scalars['String']['input']>>;
997
- };
998
-
999
- export type FunctionDefinition = {
1000
- __typename?: 'FunctionDefinition';
1001
- arguments: Array<ExtractorField>;
1002
- description: Scalars['String']['output'];
1003
- dslDefinition: Scalars['String']['output'];
1004
- functionType: FunctionType;
1005
- id: Scalars['ID']['output'];
1006
- name: Scalars['String']['output'];
1007
- outputs: Array<ExtractorField>;
1008
- };
1009
-
1010
- export type FunctionDefinitionFilter = {
1011
- name?: InputMaybe<Scalars['String']['input']>;
1012
- };
1013
-
1014
- export type FunctionDefinitionsResult = {
1015
- __typename?: 'FunctionDefinitionsResult';
1016
- functionDefinitions: Array<FunctionDefinition>;
1017
- numFunctionDefinitions: Scalars['Int']['output'];
1018
- };
1019
-
1020
- export enum FunctionType {
1021
- Api = 'API',
1022
- Custom = 'CUSTOM',
1023
- KnowledgeBase = 'KNOWLEDGE_BASE'
1024
- }
1025
-
1026
- export type GrantCreditsInput = {
1027
- balanceCents: Scalars['Int']['input'];
1028
- reason: Scalars['String']['input'];
1029
- workspaceId: Scalars['ID']['input'];
1030
- };
1031
-
1032
- export type HubspotSettingsInput = {
1033
- crmSpecificationId: Scalars['ID']['input'];
1034
- timezone?: InputMaybe<Scalars['String']['input']>;
1035
- workspaceId: Scalars['ID']['input'];
1036
- };
1037
-
1038
- export enum IvrDetectionType {
1039
- None = 'NONE',
1040
- Standard = 'STANDARD'
1041
- }
1042
-
1043
- export type InboundForwardNumberInput = {
1044
- number?: InputMaybe<Scalars['String']['input']>;
1045
- workspaceId: Scalars['ID']['input'];
1046
- };
1047
-
1048
- export type IntegrationChoicesFilter = {
1049
- search: Scalars['String']['input'];
1050
- };
1051
-
1052
- export type IntegrationList = {
1053
- __typename?: 'IntegrationList';
1054
- label: Scalars['String']['output'];
1055
- options: Array<ListListsItem>;
1056
- };
1057
-
1058
- export type IntegrationListsResponse = {
1059
- __typename?: 'IntegrationListsResponse';
1060
- integrationLists: Array<IntegrationList>;
1061
- };
1062
-
1063
- export type KnowledgeBase = {
1064
- __typename?: 'KnowledgeBase';
1065
- files: ListKnowledgeBaseFilesResult;
1066
- id: Scalars['ID']['output'];
1067
- name: Scalars['String']['output'];
1068
- };
1069
-
1070
-
1071
- export type KnowledgeBaseFilesArgs = {
1072
- limit: Scalars['Int']['input'];
1073
- offset: Scalars['Int']['input'];
1074
- };
1075
-
1076
- export type KnowledgeBaseFile = {
1077
- __typename?: 'KnowledgeBaseFile';
1078
- id: Scalars['ID']['output'];
1079
- name: Scalars['String']['output'];
1080
- status: KnowledgeBaseFileStatus;
1081
- };
1082
-
1083
- export enum KnowledgeBaseFileStatus {
1084
- Active = 'ACTIVE',
1085
- Processing = 'PROCESSING'
1086
- }
1087
-
1088
- export type LinkPhoneNumberInput = {
1089
- agentId: Scalars['ID']['input'];
1090
- phoneNumberId: Scalars['ID']['input'];
1091
- };
1092
-
1093
- export type ListContactImportOptionsRes = {
1094
- __typename?: 'ListContactImportOptionsRes';
1095
- spec: Array<ContactListImportOptionSpec>;
1096
- };
1097
-
1098
- export type ListKnowledgeBaseFilesResult = {
1099
- __typename?: 'ListKnowledgeBaseFilesResult';
1100
- knowledgeBaseFiles: Array<KnowledgeBaseFile>;
1101
- numKnowledgeBaseFiles: Scalars['Int']['output'];
1102
- };
1103
-
1104
- export type ListKnowledgeBasesResult = {
1105
- __typename?: 'ListKnowledgeBasesResult';
1106
- knowledgeBases: Array<KnowledgeBase>;
1107
- numKnowledgeBases: Scalars['Int']['output'];
1108
- };
1109
-
1110
- export type ListListsItem = {
1111
- __typename?: 'ListListsItem';
1112
- createdTime: Scalars['String']['output'];
1113
- crmId: Scalars['String']['output'];
1114
- crmSpecification: CrmSpecification;
1115
- internalId?: Maybe<Scalars['String']['output']>;
1116
- modifiedTime: Scalars['String']['output'];
1117
- name: Scalars['String']['output'];
1118
- };
1119
-
1120
- export type LogCallResponse = {
1121
- __typename?: 'LogCallResponse';
1122
- success: Scalars['Boolean']['output'];
1123
- };
1124
-
1125
- export type LogDialFeedbackInput = {
1126
- dialId: Scalars['ID']['input'];
1127
- feedbackType: FeedbackType;
1128
- };
1129
-
1130
- export type LoginInput = {
1131
- email: Scalars['String']['input'];
1132
- password: Scalars['String']['input'];
1133
- };
1134
-
1135
- export type LookupKnowledgeBaseInput = {
1136
- knowledgeBaseFileIds?: InputMaybe<Array<Scalars['ID']['input']>>;
1137
- knowledgeBaseId: Scalars['ID']['input'];
1138
- query: Scalars['String']['input'];
1139
- };
1140
-
1141
- export type LookupKnowledgeBaseResult = {
1142
- __typename?: 'LookupKnowledgeBaseResult';
1143
- references?: Maybe<Array<SpeakerTextKnowledgeBaseContext>>;
1144
- result: Scalars['String']['output'];
1145
- };
1146
-
1147
- export type MemberCountRes = {
1148
- __typename?: 'MemberCountRes';
1149
- dialing: Scalars['Int']['output'];
1150
- };
1151
-
1152
- export type MonitorActiveUsersInput = {
1153
- workspaceId: Scalars['ID']['input'];
1154
- };
1155
-
1156
- export type Mutation = {
1157
- __typename?: 'Mutation';
1158
- addBalance: Workspace;
1159
- addKnowledgeBaseFiles: Array<KnowledgeBaseFile>;
1160
- addPhoneNumber: PhoneNumber;
1161
- agentVariables: Array<Scalars['String']['output']>;
1162
- applyCRMAction: Contact;
1163
- assignContactList: ContactList;
1164
- browserDialToken: BrowserDialTokenRes;
1165
- cloneAgent: CallAgent;
1166
- cloneExtractor: CallAgentExtractor;
1167
- connectCall: Scalars['Boolean']['output'];
1168
- createAPIKey: CreateApiKeyResponse;
1169
- createAdHocDialSession: AdHocDialSession;
1170
- createAiChat: AiChat;
1171
- createAiModel: AiModel;
1172
- createAiVoice: AiVoice;
1173
- createCallAgent: CallAgent;
1174
- createCallAgentExtractor: CallAgentExtractor;
1175
- createCallAgentNode: ApiFlowNode;
1176
- createCallDataPreset: CallDataPreset;
1177
- createCoachingComment: CoachingComment;
1178
- createContact: Contact;
1179
- createContactList?: Maybe<Scalars['String']['output']>;
1180
- createDNCRecords?: Maybe<Array<DncRecord>>;
1181
- /** API Key only function for public */
1182
- createDial: CreateDialResult;
1183
- createDialComment: DialComment;
1184
- createDialSession: DialSession;
1185
- createDisposition: CallDisposition;
1186
- createFunctionDefinition: FunctionDefinition;
1187
- createKnowledgeBase: KnowledgeBase;
1188
- createPricingProduct: PricingProduct;
1189
- createSalesfloorRoom: SalesfloorRoom;
1190
- createSpamScan: Array<PhoneNumber>;
1191
- createUserApiKey: ApiKey;
1192
- createVersionedPrompt: VersionedPrompt;
1193
- createVoicemail: Voicemail;
1194
- createWorkspace: Workspace;
1195
- deleteAiVoice: Scalars['Boolean']['output'];
1196
- deleteCallDataPreset: Scalars['Boolean']['output'];
1197
- deleteContact?: Maybe<Scalars['ID']['output']>;
1198
- deleteContactList?: Maybe<Scalars['ID']['output']>;
1199
- deleteDisposition: Scalars['ID']['output'];
1200
- deleteKnowledgeBaseFile: Scalars['Boolean']['output'];
1201
- deleteVoicemail: Scalars['ID']['output'];
1202
- dialNumbers: Scalars['String']['output'];
1203
- editSubscriptionLink: Scalars['String']['output'];
1204
- endDialSession: Scalars['Boolean']['output'];
1205
- genTempToken: Scalars['String']['output'];
1206
- generateVideoToken: VideoTokenResp;
1207
- grantCredits: Workspace;
1208
- hangupAllCalls: Scalars['Boolean']['output'];
1209
- hangupCall: Scalars['Boolean']['output'];
1210
- linkPhoneNumber: CallAgent;
1211
- logCall: LogCallResponse;
1212
- logDialFeedback: Scalars['Boolean']['output'];
1213
- login?: Maybe<AuthPayload>;
1214
- lookupKnowledgeBase: LookupKnowledgeBaseResult;
1215
- newSubscriptionLink: Scalars['String']['output'];
1216
- pauseAI: Dial;
1217
- pauseDialSession: Scalars['Boolean']['output'];
1218
- phoneNumberSearch?: Maybe<Array<Scalars['String']['output']>>;
1219
- removeMemberAccess: Scalars['String']['output'];
1220
- removePhoneNumber: Scalars['String']['output'];
1221
- resyncContacts: Scalars['ID']['output'];
1222
- runExtractor: Scalars['Map']['output'];
1223
- setMemberAccess: WorkspaceMember;
1224
- setRecordingConfig: RecordingConfig;
1225
- signUp?: Maybe<AuthPayload>;
1226
- startDialSession: Scalars['Boolean']['output'];
1227
- sudoToken: TokenRes;
1228
- syncDispositions: SyncDispositionsResponse;
1229
- testAiVoice: Scalars['String']['output'];
1230
- unlinkPhoneNumber: CallAgent;
1231
- updateAiModel: AiModel;
1232
- updateAiModelAccess: AiModel;
1233
- updateAiVoice: AiVoice;
1234
- updateApolloSettings: CrmSpecification;
1235
- updateCallAgent: CallAgent;
1236
- updateCallAgentExtractor: CallAgentExtractor;
1237
- updateCallAgentNode: ApiFlowNode;
1238
- updateCallAgentPronunciationMap: CallAgent;
1239
- updateCustomDetectorRegexps: Workspace;
1240
- updateDialMetadata: Dial;
1241
- updateDialSessionName: DialSession;
1242
- updateDisposition: CallDisposition;
1243
- updateFunctionDefinition: FunctionDefinition;
1244
- updateHubspotSettings: CrmSpecification;
1245
- updateInboundForwardNumber?: Maybe<Scalars['String']['output']>;
1246
- updateLimits: Workspace;
1247
- updateRefillSettings: Workspace;
1248
- updateSalesforceSettings: CrmSpecification;
1249
- updateSalesloftSettings: CrmSpecification;
1250
- updateSystemResultMapping: SystemResult;
1251
- updateVersionedPrompt: VersionedPrompt;
1252
- updateWorkspaceBillingConfig: Workspace;
1253
- updateWorkspaceUserSettings: Workspace;
1254
- updateWorkspaceWebhook: Workspace;
1255
- };
1256
-
1257
-
1258
- export type MutationAddBalanceArgs = {
1259
- input: AddBalanceInput;
1260
- };
1261
-
1262
-
1263
- export type MutationAddKnowledgeBaseFilesArgs = {
1264
- input: AddKnowledgeBaseFilesInput;
1265
- };
1266
-
1267
-
1268
- export type MutationAddPhoneNumberArgs = {
1269
- phoneNumber: Scalars['String']['input'];
1270
- webhookUrl?: InputMaybe<Scalars['String']['input']>;
1271
- workspaceId?: InputMaybe<Scalars['ID']['input']>;
1272
- };
1273
-
1274
-
1275
- export type MutationAgentVariablesArgs = {
1276
- input: AgentVariablesInput;
1277
- };
1278
-
1279
-
1280
- export type MutationApplyCrmActionArgs = {
1281
- input: CrmActionInput;
1282
- };
1283
-
1284
-
1285
- export type MutationAssignContactListArgs = {
1286
- id: Scalars['ID']['input'];
1287
- userId: Scalars['ID']['input'];
1288
- };
1289
-
1290
-
1291
- export type MutationBrowserDialTokenArgs = {
1292
- input: BrowserDialTokenInput;
1293
- };
1294
-
1295
-
1296
- export type MutationCloneAgentArgs = {
1297
- input: CloneAgentInput;
1298
- };
1299
-
1300
-
1301
- export type MutationCloneExtractorArgs = {
1302
- input: CloneExtractorInput;
1303
- };
1304
-
1305
-
1306
- export type MutationConnectCallArgs = {
1307
- dialId: Scalars['ID']['input'];
1308
- };
1309
-
1310
-
1311
- export type MutationCreateApiKeyArgs = {
1312
- input: CreateApiKeyInput;
1313
- };
1314
-
1315
-
1316
- export type MutationCreateAdHocDialSessionArgs = {
1317
- input: CreateAdHocDialSessionInput;
1318
- };
1319
-
1320
-
1321
- export type MutationCreateAiChatArgs = {
1322
- input: CreateChatInput;
1323
- };
1324
-
1325
-
1326
- export type MutationCreateAiModelArgs = {
1327
- input: CreateAiModelInput;
1328
- };
1329
-
1330
-
1331
- export type MutationCreateAiVoiceArgs = {
1332
- input: CreateAiVoiceInput;
1333
- };
1334
-
1335
-
1336
- export type MutationCreateCallAgentArgs = {
1337
- input: CallAgentInput;
1338
- };
1339
-
1340
-
1341
- export type MutationCreateCallAgentExtractorArgs = {
1342
- input: CreateCallAgentExtractorInput;
1343
- };
1344
-
1345
-
1346
- export type MutationCreateCallAgentNodeArgs = {
1347
- input: CreateCallAgentNodeInput;
1348
- };
1349
-
1350
-
1351
- export type MutationCreateCallDataPresetArgs = {
1352
- input: CreateCallDataPresetInput;
1353
- };
1354
-
1355
-
1356
- export type MutationCreateCoachingCommentArgs = {
1357
- input: CreateCoachingCommentInput;
1358
- };
1359
-
1360
-
1361
- export type MutationCreateContactArgs = {
1362
- attributes?: InputMaybe<Scalars['Map']['input']>;
1363
- contactListId: Scalars['ID']['input'];
1364
- crmSpecificationName: Scalars['String']['input'];
1365
- phone: Scalars['String']['input'];
1366
- };
1367
-
1368
-
1369
- export type MutationCreateContactListArgs = {
1370
- csvFile?: InputMaybe<Scalars['Upload']['input']>;
1371
- input: CreateContactListInput;
1372
- };
1373
-
1374
-
1375
- export type MutationCreateDncRecordsArgs = {
1376
- input?: InputMaybe<DncRecordInput>;
1377
- };
1378
-
1379
-
1380
- export type MutationCreateDialArgs = {
1381
- input: CreateDialInput;
1382
- };
1383
-
1384
-
1385
- export type MutationCreateDialCommentArgs = {
1386
- input: CreateDialCommentInput;
1387
- };
1388
-
1389
-
1390
- export type MutationCreateDialSessionArgs = {
1391
- input: CreateDialSessionInput;
1392
- };
1393
-
1394
-
1395
- export type MutationCreateDispositionArgs = {
1396
- input: CreateDispositionInput;
1397
- };
1398
-
1399
-
1400
- export type MutationCreateFunctionDefinitionArgs = {
1401
- input: CreateFunctionDefinitionInput;
1402
- };
1403
-
1404
-
1405
- export type MutationCreateKnowledgeBaseArgs = {
1406
- input: CreateKnowledgeBaseInput;
1407
- };
1408
-
1409
-
1410
- export type MutationCreatePricingProductArgs = {
1411
- input: CreatePricingProductInput;
1412
- };
1413
-
1414
-
1415
- export type MutationCreateSalesfloorRoomArgs = {
1416
- input: CreateSalesfloorRoomInput;
1417
- };
1418
-
1419
-
1420
- export type MutationCreateSpamScanArgs = {
1421
- input: CreateSpamScanInput;
1422
- };
1423
-
1424
-
1425
- export type MutationCreateUserApiKeyArgs = {
1426
- input: CreateUserApiKeyInput;
1427
- };
1428
-
1429
-
1430
- export type MutationCreateVersionedPromptArgs = {
1431
- input: CreateVersionedPromptInput;
1432
- };
1433
-
1434
-
1435
- export type MutationCreateVoicemailArgs = {
1436
- file: Scalars['Upload']['input'];
1437
- input: CreateVoicemailInput;
1438
- };
1439
-
1440
-
1441
- export type MutationCreateWorkspaceArgs = {
1442
- input: CreateWorkspaceInput;
1443
- };
1444
-
1445
-
1446
- export type MutationDeleteAiVoiceArgs = {
1447
- id: Scalars['ID']['input'];
1448
- };
1449
-
1450
-
1451
- export type MutationDeleteCallDataPresetArgs = {
1452
- id: Scalars['ID']['input'];
1453
- };
1454
-
1455
-
1456
- export type MutationDeleteContactArgs = {
1457
- id: Scalars['ID']['input'];
1458
- };
1459
-
1460
-
1461
- export type MutationDeleteContactListArgs = {
1462
- id: Scalars['ID']['input'];
1463
- };
1464
-
1465
-
1466
- export type MutationDeleteDispositionArgs = {
1467
- id: Scalars['ID']['input'];
1468
- };
1469
-
1470
-
1471
- export type MutationDeleteKnowledgeBaseFileArgs = {
1472
- id?: InputMaybe<Scalars['ID']['input']>;
1473
- };
1474
-
1475
-
1476
- export type MutationDeleteVoicemailArgs = {
1477
- id: Scalars['ID']['input'];
1478
- };
1479
-
1480
-
1481
- export type MutationDialNumbersArgs = {
1482
- phoneNumbers?: InputMaybe<Array<Scalars['String']['input']>>;
1483
- workspaceId: Scalars['ID']['input'];
1484
- };
1485
-
1486
-
1487
- export type MutationEditSubscriptionLinkArgs = {
1488
- workspaceId: Scalars['ID']['input'];
1489
- };
1490
-
1491
-
1492
- export type MutationEndDialSessionArgs = {
1493
- dialSessionId: Scalars['ID']['input'];
1494
- };
1495
-
1496
-
1497
- export type MutationGenerateVideoTokenArgs = {
1498
- roomId: Scalars['ID']['input'];
1499
- };
1500
-
1501
-
1502
- export type MutationGrantCreditsArgs = {
1503
- input: GrantCreditsInput;
1504
- };
1505
-
1506
-
1507
- export type MutationHangupAllCallsArgs = {
1508
- dialSessionId: Scalars['ID']['input'];
1509
- };
1510
-
1511
-
1512
- export type MutationHangupCallArgs = {
1513
- dialId: Scalars['ID']['input'];
1514
- dropVoicemail?: InputMaybe<Scalars['Boolean']['input']>;
1515
- transferNumber?: InputMaybe<Scalars['String']['input']>;
1516
- };
1517
-
1518
-
1519
- export type MutationLinkPhoneNumberArgs = {
1520
- input: LinkPhoneNumberInput;
1521
- };
1522
-
1523
-
1524
- export type MutationLogCallArgs = {
1525
- dialId: Scalars['ID']['input'];
1526
- };
1527
-
1528
-
1529
- export type MutationLogDialFeedbackArgs = {
1530
- input: LogDialFeedbackInput;
1531
- };
1532
-
1533
-
1534
- export type MutationLoginArgs = {
1535
- input: LoginInput;
1536
- };
1537
-
1538
-
1539
- export type MutationLookupKnowledgeBaseArgs = {
1540
- input: LookupKnowledgeBaseInput;
1541
- };
1542
-
1543
-
1544
- export type MutationNewSubscriptionLinkArgs = {
1545
- workspaceId: Scalars['ID']['input'];
1546
- };
1547
-
1548
-
1549
- export type MutationPauseAiArgs = {
1550
- dialId: Scalars['ID']['input'];
1551
- pauseStatus: Scalars['Boolean']['input'];
1552
- };
1553
-
1554
-
1555
- export type MutationPauseDialSessionArgs = {
1556
- dialSessionId: Scalars['ID']['input'];
1557
- };
1558
-
1559
-
1560
- export type MutationPhoneNumberSearchArgs = {
1561
- country?: InputMaybe<Scalars['String']['input']>;
1562
- limit?: InputMaybe<Scalars['Int']['input']>;
1563
- prefix: Scalars['String']['input'];
1564
- workspaceId?: InputMaybe<Scalars['ID']['input']>;
1565
- };
1566
-
1567
-
1568
- export type MutationRemoveMemberAccessArgs = {
1569
- userId: Scalars['ID']['input'];
1570
- workspaceId: Scalars['ID']['input'];
1571
- };
1572
-
1573
-
1574
- export type MutationRemovePhoneNumberArgs = {
1575
- id: Scalars['ID']['input'];
1576
- };
1577
-
1578
-
1579
- export type MutationResyncContactsArgs = {
1580
- contactListId: Scalars['ID']['input'];
1581
- };
1582
-
1583
-
1584
- export type MutationRunExtractorArgs = {
1585
- dialId: Scalars['ID']['input'];
1586
- extractorId: Scalars['ID']['input'];
1587
- writeData?: InputMaybe<Scalars['Boolean']['input']>;
1588
- };
1589
-
1590
-
1591
- export type MutationSetMemberAccessArgs = {
1592
- email: Scalars['String']['input'];
1593
- role: Role;
1594
- workspaceId: Scalars['ID']['input'];
1595
- };
1596
-
1597
-
1598
- export type MutationSetRecordingConfigArgs = {
1599
- input: RecordingConfigInput;
1600
- };
1601
-
1602
-
1603
- export type MutationSignUpArgs = {
1604
- input: SignUpInput;
1605
- };
1606
-
1607
-
1608
- export type MutationStartDialSessionArgs = {
1609
- dialSessionId: Scalars['ID']['input'];
1610
- };
1611
-
1612
-
1613
- export type MutationSudoTokenArgs = {
1614
- userId: Scalars['ID']['input'];
1615
- };
1616
-
1617
-
1618
- export type MutationSyncDispositionsArgs = {
1619
- crmSpecificationId: Scalars['ID']['input'];
1620
- workspaceId: Scalars['ID']['input'];
1621
- };
1622
-
1623
-
1624
- export type MutationTestAiVoiceArgs = {
1625
- id: Scalars['ID']['input'];
1626
- };
1627
-
1628
-
1629
- export type MutationUnlinkPhoneNumberArgs = {
1630
- input: UnlinkPhoneNumberInput;
1631
- };
1632
-
1633
-
1634
- export type MutationUpdateAiModelArgs = {
1635
- input: UpdateAiModelInput;
1636
- };
1637
-
1638
-
1639
- export type MutationUpdateAiModelAccessArgs = {
1640
- input: UpdateAiModelAccessInput;
1641
- };
1642
-
1643
-
1644
- export type MutationUpdateAiVoiceArgs = {
1645
- input: UpdateAiVoiceInput;
1646
- };
1647
-
1648
-
1649
- export type MutationUpdateApolloSettingsArgs = {
1650
- input: ApolloSettingsInput;
1651
- };
1652
-
1653
-
1654
- export type MutationUpdateCallAgentArgs = {
1655
- input: UpdateCallAgentInput;
1656
- };
1657
-
1658
-
1659
- export type MutationUpdateCallAgentExtractorArgs = {
1660
- input: UpdateCallAgentExtractorInput;
1661
- };
1662
-
1663
-
1664
- export type MutationUpdateCallAgentNodeArgs = {
1665
- input: UpdateCallAgentNodeInput;
1666
- };
1667
-
1668
-
1669
- export type MutationUpdateCallAgentPronunciationMapArgs = {
1670
- input: UpdateCallAgentPronunciationMapInput;
1671
- };
1672
-
1673
-
1674
- export type MutationUpdateCustomDetectorRegexpsArgs = {
1675
- input: UpdateWorkspaceCustomDetectorRegexps;
1676
- };
1677
-
1678
-
1679
- export type MutationUpdateDialMetadataArgs = {
1680
- input: UpdateDialMetadataInput;
1681
- };
1682
-
1683
-
1684
- export type MutationUpdateDialSessionNameArgs = {
1685
- input: UpdateDialSessionNameInput;
1686
- };
1687
-
1688
-
1689
- export type MutationUpdateDispositionArgs = {
1690
- input: UpdateDispositionInput;
1691
- };
1692
-
1693
-
1694
- export type MutationUpdateFunctionDefinitionArgs = {
1695
- input: UpdateFunctionDefinitionInput;
1696
- };
1697
-
1698
-
1699
- export type MutationUpdateHubspotSettingsArgs = {
1700
- input: HubspotSettingsInput;
1701
- };
1702
-
1703
-
1704
- export type MutationUpdateInboundForwardNumberArgs = {
1705
- input: InboundForwardNumberInput;
1706
- };
1707
-
1708
-
1709
- export type MutationUpdateLimitsArgs = {
1710
- input?: InputMaybe<WorkspaceLimitsInput>;
1711
- };
1712
-
1713
-
1714
- export type MutationUpdateRefillSettingsArgs = {
1715
- input: UpdateRefillSettingsInput;
1716
- };
1717
-
1718
-
1719
- export type MutationUpdateSalesforceSettingsArgs = {
1720
- input: SalesforceSettingsInput;
1721
- };
1722
-
1723
-
1724
- export type MutationUpdateSalesloftSettingsArgs = {
1725
- input: SalesloftSettingsInput;
1726
- };
1727
-
1728
-
1729
- export type MutationUpdateSystemResultMappingArgs = {
1730
- input: UpdateSystemResultMappingInput;
1731
- };
1732
-
1733
-
1734
- export type MutationUpdateVersionedPromptArgs = {
1735
- input: UpdateVersionedPromptInput;
1736
- };
1737
-
1738
-
1739
- export type MutationUpdateWorkspaceBillingConfigArgs = {
1740
- input: UpdateWorkspaceBillingConfig;
1741
- };
1742
-
1743
-
1744
- export type MutationUpdateWorkspaceUserSettingsArgs = {
1745
- input: UserWorkspaceSettingsInput;
1746
- };
1747
-
1748
-
1749
- export type MutationUpdateWorkspaceWebhookArgs = {
1750
- input: WorkspaceWebhookInput;
1751
- };
1752
-
1753
- export type NodeTransitionResult = {
1754
- __typename?: 'NodeTransitionResult';
1755
- fromNodeId: Scalars['String']['output'];
1756
- result?: Maybe<Scalars['Any']['output']>;
1757
- toNodeId: Scalars['String']['output'];
1758
- };
1759
-
1760
- export type NullableIdInput = {
1761
- value?: InputMaybe<Scalars['ID']['input']>;
1762
- };
1763
-
1764
- export type NullableStringInput = {
1765
- value?: InputMaybe<Scalars['String']['input']>;
1766
- };
1767
-
1768
- export enum OpeningLineType {
1769
- InboundOnly = 'INBOUND_ONLY',
1770
- InboundOutbound = 'INBOUND_OUTBOUND'
1771
- }
1772
-
1773
- export type OverLimitResult = {
1774
- __typename?: 'OverLimitResult';
1775
- exceededLimit: Scalars['Boolean']['output'];
1776
- limit?: Maybe<Scalars['Int']['output']>;
1777
- limitType?: Maybe<Scalars['String']['output']>;
1778
- };
1779
-
1780
- export type PauseChangeMessage = {
1781
- __typename?: 'PauseChangeMessage';
1782
- pauseStatus: Scalars['Boolean']['output'];
1783
- };
1784
-
1785
- export type PhoneNumber = {
1786
- __typename?: 'PhoneNumber';
1787
- callAgent?: Maybe<CallAgent>;
1788
- id: Scalars['ID']['output'];
1789
- number: Scalars['String']['output'];
1790
- spamInfo?: Maybe<SpamData>;
1791
- stats: PhoneNumberStats;
1792
- };
1793
-
1794
- export type PhoneNumberStats = {
1795
- __typename?: 'PhoneNumberStats';
1796
- numConnects: Scalars['Int']['output'];
1797
- numDials: Scalars['Int']['output'];
1798
- numFails: Scalars['Int']['output'];
1799
- };
1800
-
1801
- export type PhoneNumbersResult = {
1802
- __typename?: 'PhoneNumbersResult';
1803
- numPhoneNumbers: Scalars['Int']['output'];
1804
- phoneNumbers: Array<PhoneNumber>;
1805
- };
1806
-
1807
- export type PricingProduct = {
1808
- __typename?: 'PricingProduct';
1809
- billingName: Scalars['String']['output'];
1810
- descriptiveName: Scalars['String']['output'];
1811
- id: Scalars['ID']['output'];
1812
- priceCents: Scalars['Int']['output'];
1813
- };
1814
-
1815
- export type PronunciationMap = {
1816
- __typename?: 'PronunciationMap';
1817
- id: Scalars['ID']['output'];
1818
- pronunciations: Scalars['String']['output'];
1819
- };
1820
-
1821
- export type Query = {
1822
- __typename?: 'Query';
1823
- aiChat: AiChat;
1824
- aiModel: AiModel;
1825
- aiModels: AiModelsResult;
1826
- aiVoice: AiVoice;
1827
- allWorkspaces: AllWorkspacesResult;
1828
- callAgent: CallAgent;
1829
- callDataPreset: CallDataPreset;
1830
- contact: Contact;
1831
- contactList: ContactList;
1832
- currentUser: User;
1833
- dial: Dial;
1834
- dialSession: DialSession;
1835
- extractor: CallAgentExtractor;
1836
- functionDefinition: FunctionDefinition;
1837
- knowledgeBase: KnowledgeBase;
1838
- phoneNumber: PhoneNumber;
1839
- pricingProduct: PricingProduct;
1840
- pricingProducts: Array<PricingProduct>;
1841
- recording: CallRecording;
1842
- salesfloorRoom: SalesfloorRoom;
1843
- versionedPrompt: VersionedPrompt;
1844
- voicemail: Voicemail;
1845
- voices: AiVoicesResult;
1846
- workspace: Workspace;
1847
- workspaces: Array<Maybe<Workspace>>;
1848
- };
1849
-
1850
-
1851
- export type QueryAiChatArgs = {
1852
- id: Scalars['ID']['input'];
1853
- };
1854
-
1855
-
1856
- export type QueryAiModelArgs = {
1857
- id: Scalars['ID']['input'];
1858
- };
1859
-
1860
-
1861
- export type QueryAiModelsArgs = {
1862
- limit: Scalars['Int']['input'];
1863
- offset: Scalars['Int']['input'];
1864
- };
1865
-
1866
-
1867
- export type QueryAiVoiceArgs = {
1868
- id: Scalars['ID']['input'];
1869
- };
1870
-
1871
-
1872
- export type QueryAllWorkspacesArgs = {
1873
- filter: AllWorkspacesFilterInput;
1874
- limit: Scalars['Int']['input'];
1875
- offset: Scalars['Int']['input'];
1876
- };
1877
-
1878
-
1879
- export type QueryCallAgentArgs = {
1880
- id: Scalars['ID']['input'];
1881
- };
1882
-
1883
-
1884
- export type QueryCallDataPresetArgs = {
1885
- id: Scalars['ID']['input'];
1886
- };
1887
-
1888
-
1889
- export type QueryContactArgs = {
1890
- id: Scalars['ID']['input'];
1891
- };
1892
-
1893
-
1894
- export type QueryContactListArgs = {
1895
- id: Scalars['ID']['input'];
1896
- };
1897
-
1898
-
1899
- export type QueryDialArgs = {
1900
- id: Scalars['ID']['input'];
1901
- };
1902
-
1903
-
1904
- export type QueryDialSessionArgs = {
1905
- id: Scalars['ID']['input'];
1906
- };
1907
-
1908
-
1909
- export type QueryExtractorArgs = {
1910
- id: Scalars['ID']['input'];
1911
- };
1912
-
1913
-
1914
- export type QueryFunctionDefinitionArgs = {
1915
- id: Scalars['ID']['input'];
1916
- };
1917
-
1918
-
1919
- export type QueryKnowledgeBaseArgs = {
1920
- id: Scalars['ID']['input'];
1921
- };
1922
-
1923
-
1924
- export type QueryPhoneNumberArgs = {
1925
- id: Scalars['ID']['input'];
1926
- };
1927
-
1928
-
1929
- export type QueryPricingProductArgs = {
1930
- id: Scalars['ID']['input'];
1931
- };
1932
-
1933
-
1934
- export type QueryRecordingArgs = {
1935
- id: Scalars['ID']['input'];
1936
- };
1937
-
1938
-
1939
- export type QuerySalesfloorRoomArgs = {
1940
- id: Scalars['ID']['input'];
1941
- };
1942
-
1943
-
1944
- export type QueryVersionedPromptArgs = {
1945
- id: Scalars['ID']['input'];
1946
- };
1947
-
1948
-
1949
- export type QueryVoicemailArgs = {
1950
- id: Scalars['ID']['input'];
1951
- };
1952
-
1953
-
1954
- export type QueryVoicesArgs = {
1955
- limit: Scalars['Int']['input'];
1956
- offset: Scalars['Int']['input'];
1957
- };
1958
-
1959
-
1960
- export type QueryWorkspaceArgs = {
1961
- id: Scalars['ID']['input'];
1962
- };
1963
-
1964
- export type RecordingConfig = {
1965
- __typename?: 'RecordingConfig';
1966
- blockedAreaCodes?: Maybe<Array<Scalars['String']['output']>>;
1967
- id: Scalars['ID']['output'];
1968
- };
1969
-
1970
- export type RecordingConfigInput = {
1971
- blockedAreaCodes: Array<Scalars['String']['input']>;
1972
- workspaceId: Scalars['ID']['input'];
1973
- };
1974
-
1975
- export enum RecordingSettingType {
1976
- BlockAreaCodes = 'BLOCK_AREA_CODES',
1977
- RecordAll = 'RECORD_ALL',
1978
- RecordNone = 'RECORD_NONE'
1979
- }
1980
-
1981
- export enum Role {
1982
- Admin = 'ADMIN',
1983
- Manager = 'MANAGER',
1984
- Member = 'MEMBER'
1985
- }
1986
-
1987
- export enum RoomMessageType {
1988
- UserJoin = 'USER_JOIN',
1989
- UserLeave = 'USER_LEAVE'
1990
- }
1991
-
1992
- export type RunChatQueryInput = {
1993
- aiChatId: Scalars['ID']['input'];
1994
- text: Scalars['String']['input'];
1995
- };
1996
-
1997
- export type RunChatQueryStreamResult = {
1998
- __typename?: 'RunChatQueryStreamResult';
1999
- messageType: ChatStreamMessageType;
2000
- speakerRes?: Maybe<SpeakerTextRes>;
2001
- text?: Maybe<Scalars['String']['output']>;
2002
- };
2003
-
2004
- export type RunModelCounterfactualInput = {
2005
- dialId: Scalars['ID']['input'];
2006
- versionedPromptId: Scalars['ID']['input'];
2007
- };
2008
-
2009
- export type RunModelCounterfactualResult = {
2010
- __typename?: 'RunModelCounterfactualResult';
2011
- index: Scalars['Int']['output'];
2012
- text: Scalars['String']['output'];
2013
- };
2014
-
2015
- export type SalesfloorRoom = {
2016
- __typename?: 'SalesfloorRoom';
2017
- id: Scalars['ID']['output'];
2018
- members: Array<SalesfloorRoomMember>;
2019
- name: Scalars['String']['output'];
2020
- };
2021
-
2022
- export type SalesfloorRoomMember = {
2023
- __typename?: 'SalesfloorRoomMember';
2024
- user: User;
2025
- };
2026
-
2027
- export type SalesfloorRoomMessage = {
2028
- __typename?: 'SalesfloorRoomMessage';
2029
- joinedUser?: Maybe<User>;
2030
- leftUserId?: Maybe<Scalars['ID']['output']>;
2031
- messageType: RoomMessageType;
2032
- };
2033
-
2034
- export enum SalesfloorType {
2035
- Full = 'FULL',
2036
- LiveListen = 'LIVE_LISTEN',
2037
- None = 'NONE'
2038
- }
2039
-
2040
- export type SalesforceSettingsInput = {
2041
- crmSpecificationId: Scalars['ID']['input'];
2042
- customFields?: InputMaybe<Array<Scalars['String']['input']>>;
2043
- dispositionField?: InputMaybe<Scalars['String']['input']>;
2044
- workspaceId: Scalars['ID']['input'];
2045
- };
2046
-
2047
- export enum SalesloftNotesMode {
2048
- Full = 'FULL',
2049
- NotesOnly = 'NOTES_ONLY'
2050
- }
2051
-
2052
- export type SalesloftSettingsInput = {
2053
- crmSpecificationId: Scalars['ID']['input'];
2054
- notesMode?: InputMaybe<SalesloftNotesMode>;
2055
- workspaceId: Scalars['ID']['input'];
2056
- };
2057
-
2058
- export type SessionContact = {
2059
- __typename?: 'SessionContact';
2060
- contact: Contact;
2061
- dials?: Maybe<Array<Dial>>;
2062
- };
2063
-
2064
- export type SessionContactsFilter = {
2065
- complete?: InputMaybe<Scalars['Boolean']['input']>;
2066
- };
2067
-
2068
- export type SessionContactsResult = {
2069
- __typename?: 'SessionContactsResult';
2070
- hasNext: Scalars['Boolean']['output'];
2071
- hasPrev: Scalars['Boolean']['output'];
2072
- numSessionContacts: Scalars['Int']['output'];
2073
- sessionContacts: Array<SessionContact>;
2074
- };
2075
-
2076
- export type SessionDialConnectMessage = {
2077
- __typename?: 'SessionDialConnectMessage';
2078
- dial: Dial;
2079
- dialSessionId: Scalars['ID']['output'];
2080
- };
2081
-
2082
- export type SessionDialDisconnectMessage = {
2083
- __typename?: 'SessionDialDisconnectMessage';
2084
- dialId: Scalars['ID']['output'];
2085
- dialSessionId: Scalars['ID']['output'];
2086
- };
2087
-
2088
- export type SessionLeaveMessage = {
2089
- __typename?: 'SessionLeaveMessage';
2090
- dialSessionId: Scalars['ID']['output'];
2091
- userId: Scalars['ID']['output'];
2092
- };
2093
-
2094
- export type SessionMessage = {
2095
- __typename?: 'SessionMessage';
2096
- content?: Maybe<SessionMessageContent>;
2097
- messageType: SessionMessageType;
2098
- };
2099
-
2100
- export type SessionMessageContent = ContactCompleteMessage | DialConnectMessage | DialsUpdatedMessage | SessionUpdatedMessage;
2101
-
2102
- export enum SessionMessageType {
2103
- ContactComplete = 'CONTACT_COMPLETE',
2104
- DialConnect = 'DIAL_CONNECT',
2105
- GlobalCallConnect = 'GLOBAL_CALL_CONNECT',
2106
- SessionContactUpdate = 'SESSION_CONTACT_UPDATE',
2107
- SessionUpdate = 'SESSION_UPDATE'
2108
- }
2109
-
2110
- export type SessionStatusChangeMessage = {
2111
- __typename?: 'SessionStatusChangeMessage';
2112
- dialSessionId: Scalars['ID']['output'];
2113
- status: DialSessionStatus;
2114
- };
2115
-
2116
- export type SessionUpdatedMessage = {
2117
- __typename?: 'SessionUpdatedMessage';
2118
- dialSession?: Maybe<DialSession>;
2119
- reason?: Maybe<DialSessionUpdateReason>;
2120
- };
2121
-
2122
- export type SetApolloUserResponse = {
2123
- __typename?: 'SetApolloUserResponse';
2124
- success: Scalars['Boolean']['output'];
2125
- };
2126
-
2127
- export type SignUpInput = {
2128
- confirmPassword: Scalars['String']['input'];
2129
- email: Scalars['String']['input'];
2130
- password: Scalars['String']['input'];
2131
- };
2132
-
2133
- export type SpamData = {
2134
- __typename?: 'SpamData';
2135
- flagged?: Maybe<Scalars['Boolean']['output']>;
2136
- pendingScan: Scalars['Boolean']['output'];
2137
- scanDate?: Maybe<Scalars['Time']['output']>;
2138
- };
2139
-
2140
- export type SpeakerTextKnowledgeBaseContext = {
2141
- __typename?: 'SpeakerTextKnowledgeBaseContext';
2142
- file: KnowledgeBaseFile;
2143
- text: Scalars['String']['output'];
2144
- };
2145
-
2146
- export type SpeakerTextRes = {
2147
- __typename?: 'SpeakerTextRes';
2148
- audioEnd: Scalars['Int']['output'];
2149
- audioStart: Scalars['Int']['output'];
2150
- detailType?: Maybe<Scalars['String']['output']>;
2151
- knowledgeBaseContext?: Maybe<Array<SpeakerTextKnowledgeBaseContext>>;
2152
- nodeTransitionResult?: Maybe<NodeTransitionResult>;
2153
- speaker: Scalars['String']['output'];
2154
- text: Scalars['String']['output'];
2155
- };
2156
-
2157
- export type StatFilter = {
2158
- contactLists?: InputMaybe<Array<Scalars['ID']['input']>>;
2159
- dialSessions?: InputMaybe<Array<Scalars['ID']['input']>>;
2160
- includeDispositions?: InputMaybe<Scalars['Boolean']['input']>;
2161
- range: TimeRange;
2162
- };
2163
-
2164
- export type StatusChangeMessage = {
2165
- __typename?: 'StatusChangeMessage';
2166
- status: Scalars['String']['output'];
2167
- };
2168
-
2169
- export type Subscription = {
2170
- __typename?: 'Subscription';
2171
- connectRoom: SalesfloorRoomMessage;
2172
- connectSession: SessionMessage;
2173
- listenForIncomingCalls: Dial;
2174
- monitorActiveUsers: UserActivityMessage;
2175
- runChatQueryStream: RunChatQueryStreamResult;
2176
- runModelTranscriptCounterfactual: RunModelCounterfactualResult;
2177
- watchDialEvents: DialEvent;
2178
- watchTranscript: Array<SpeakerTextRes>;
2179
- watchWorkspaceDialEvents: WorkspaceDialEvent;
2180
- };
2181
-
2182
-
2183
- export type SubscriptionConnectRoomArgs = {
2184
- id: Scalars['ID']['input'];
2185
- };
2186
-
2187
-
2188
- export type SubscriptionConnectSessionArgs = {
2189
- sessionId: Scalars['ID']['input'];
2190
- };
2191
-
2192
-
2193
- export type SubscriptionListenForIncomingCallsArgs = {
2194
- workspaceId: Scalars['ID']['input'];
2195
- };
2196
-
2197
-
2198
- export type SubscriptionMonitorActiveUsersArgs = {
2199
- input: MonitorActiveUsersInput;
2200
- };
2201
-
2202
-
2203
- export type SubscriptionRunChatQueryStreamArgs = {
2204
- input: RunChatQueryInput;
2205
- };
2206
-
2207
-
2208
- export type SubscriptionRunModelTranscriptCounterfactualArgs = {
2209
- input: RunModelCounterfactualInput;
2210
- };
2211
-
2212
-
2213
- export type SubscriptionWatchDialEventsArgs = {
2214
- dialId: Scalars['ID']['input'];
2215
- };
2216
-
2217
-
2218
- export type SubscriptionWatchTranscriptArgs = {
2219
- dialId: Scalars['ID']['input'];
2220
- };
2221
-
2222
-
2223
- export type SubscriptionWatchWorkspaceDialEventsArgs = {
2224
- workspaceId: Scalars['ID']['input'];
2225
- };
2226
-
2227
- export type SyncDispositionsResponse = {
2228
- __typename?: 'SyncDispositionsResponse';
2229
- success: Scalars['Boolean']['output'];
2230
- };
2231
-
2232
- export type SystemResult = {
2233
- __typename?: 'SystemResult';
2234
- mappedDisposition?: Maybe<CallDisposition>;
2235
- name: Scalars['String']['output'];
2236
- resultType: SystemResultType;
2237
- };
2238
-
2239
- export enum SystemResultType {
2240
- Busy = 'BUSY',
2241
- Cancelled = 'CANCELLED',
2242
- DialTreeFound = 'DIAL_TREE_FOUND',
2243
- DncSkipped = 'DNC_SKIPPED',
2244
- Failed = 'FAILED',
2245
- NoAnswer = 'NO_ANSWER',
2246
- NumberSkipped = 'NUMBER_SKIPPED',
2247
- RateLimited = 'RATE_LIMITED',
2248
- Timeout = 'TIMEOUT',
2249
- UserHangup = 'USER_HANGUP',
2250
- VoicemailLeft = 'VOICEMAIL_LEFT',
2251
- VoicemailNotLeft = 'VOICEMAIL_NOT_LEFT'
2252
- }
2253
-
2254
- export type TeamResult = {
2255
- __typename?: 'TeamResult';
2256
- members: Array<WorkspaceMember>;
2257
- numMembers: Scalars['Int']['output'];
2258
- };
2259
-
2260
- export type TimeCallStat = {
2261
- __typename?: 'TimeCallStat';
2262
- groups: Array<TimeCallStatValue>;
2263
- time: Scalars['Time']['output'];
2264
- };
2265
-
2266
- export type TimeCallStatLegend = {
2267
- __typename?: 'TimeCallStatLegend';
2268
- label: Scalars['String']['output'];
2269
- statId: Scalars['String']['output'];
2270
- };
2271
-
2272
- export type TimeCallStatValue = {
2273
- __typename?: 'TimeCallStatValue';
2274
- statId: Scalars['String']['output'];
2275
- value: Scalars['Int']['output'];
2276
- };
2277
-
2278
- export type TimeRange = {
2279
- end?: InputMaybe<Scalars['Time']['input']>;
2280
- start: Scalars['Time']['input'];
2281
- /** IANA time zone */
2282
- timeZone?: InputMaybe<Scalars['String']['input']>;
2283
- };
2284
-
2285
- export type TimeStatsResult = {
2286
- __typename?: 'TimeStatsResult';
2287
- legend: Array<TimeCallStatLegend>;
2288
- stats: Array<TimeCallStat>;
2289
- };
2290
-
2291
- export type TokenRes = {
2292
- __typename?: 'TokenRes';
2293
- token: Scalars['String']['output'];
2294
- };
2295
-
2296
- export type UnlinkPhoneNumberInput = {
2297
- agentId: Scalars['ID']['input'];
2298
- phoneNumberId: Scalars['ID']['input'];
2299
- };
2300
-
2301
- export type UpdateAiVoiceInput = {
2302
- aiVoiceId: Scalars['ID']['input'];
2303
- gender?: InputMaybe<VoiceGender>;
2304
- name?: InputMaybe<Scalars['String']['input']>;
2305
- provider?: InputMaybe<Scalars['String']['input']>;
2306
- providerDetails?: InputMaybe<NullableStringInput>;
2307
- providerId?: InputMaybe<Scalars['String']['input']>;
2308
- workspaceId?: InputMaybe<NullableIdInput>;
2309
- };
2310
-
2311
- export type UpdateAiModelAccessInput = {
2312
- accessType: AiModelAccessType;
2313
- aiModelId: Scalars['ID']['input'];
2314
- workspaceId: Scalars['ID']['input'];
2315
- };
2316
-
2317
- export type UpdateAiModelInput = {
2318
- aiModelId: Scalars['ID']['input'];
2319
- modelParams?: InputMaybe<Scalars['String']['input']>;
2320
- modelType?: InputMaybe<Scalars['String']['input']>;
2321
- name?: InputMaybe<Scalars['String']['input']>;
2322
- providerModelId?: InputMaybe<Scalars['String']['input']>;
2323
- public?: InputMaybe<Scalars['Boolean']['input']>;
2324
- };
2325
-
2326
- export type UpdateCallAgentExtractorInput = {
2327
- callAgentExtractorId: Scalars['ID']['input'];
2328
- description?: InputMaybe<Scalars['String']['input']>;
2329
- extractorFields?: InputMaybe<Array<ExtractorFieldInput>>;
2330
- name?: InputMaybe<Scalars['String']['input']>;
2331
- useVariables?: InputMaybe<Scalars['Boolean']['input']>;
2332
- };
2333
-
2334
- export type UpdateCallAgentInput = {
2335
- agentId: Scalars['ID']['input'];
2336
- backgroundNoiseType?: InputMaybe<Scalars['String']['input']>;
2337
- callAgentExtractorId?: InputMaybe<NullableStringInput>;
2338
- defaultPromptId?: InputMaybe<Scalars['ID']['input']>;
2339
- ivrDetectionType?: InputMaybe<IvrDetectionType>;
2340
- ivrTaggingText?: InputMaybe<NullableStringInput>;
2341
- ivrVersionedPromptId?: InputMaybe<NullableStringInput>;
2342
- ivrVoiceId?: InputMaybe<NullableStringInput>;
2343
- language?: InputMaybe<Scalars['String']['input']>;
2344
- linkedFunctionDefinitionIds?: InputMaybe<Array<Scalars['ID']['input']>>;
2345
- name?: InputMaybe<Scalars['String']['input']>;
2346
- openingLine?: InputMaybe<NullableStringInput>;
2347
- openingLineType?: InputMaybe<OpeningLineType>;
2348
- transferNumber?: InputMaybe<NullableStringInput>;
2349
- utteranceDetectorConfig?: InputMaybe<UtteranceDetectorConfigInput>;
2350
- voiceId?: InputMaybe<Scalars['ID']['input']>;
2351
- voiceVolumeLevel?: InputMaybe<Scalars['Int']['input']>;
2352
- };
2353
-
2354
- export type UpdateCallAgentNodeInput = {
2355
- nodeInput: ApiFlowNodeInput;
2356
- versionedPromptId: Scalars['ID']['input'];
2357
- };
2358
-
2359
- export type UpdateCallAgentPronunciationMapInput = {
2360
- agentId: Scalars['ID']['input'];
2361
- pronunciationMapJson?: InputMaybe<Scalars['String']['input']>;
2362
- };
2363
-
2364
- export type UpdateDialMetadataInput = {
2365
- crmData?: InputMaybe<Scalars['Map']['input']>;
2366
- dialId: Scalars['ID']['input'];
2367
- dispositionId?: InputMaybe<Scalars['ID']['input']>;
2368
- notes?: InputMaybe<Scalars['String']['input']>;
2369
- };
2370
-
2371
- export type UpdateDialSessionNameInput = {
2372
- dialSessionId: Scalars['ID']['input'];
2373
- name: Scalars['String']['input'];
2374
- };
2375
-
2376
- export type UpdateDispositionInput = {
2377
- dialAlternateNumbers?: InputMaybe<Scalars['Boolean']['input']>;
2378
- dispositionId: Scalars['ID']['input'];
2379
- mappedResult?: InputMaybe<DialResult>;
2380
- name?: InputMaybe<Scalars['String']['input']>;
2381
- unsetMappedResult?: InputMaybe<Scalars['Boolean']['input']>;
2382
- };
2383
-
2384
- export type UpdateFunctionDefinitionInput = {
2385
- arguments?: InputMaybe<Array<ExtractorFieldInput>>;
2386
- description?: InputMaybe<Scalars['String']['input']>;
2387
- dsl?: InputMaybe<Scalars['String']['input']>;
2388
- functionDefinitionId: Scalars['ID']['input'];
2389
- name?: InputMaybe<Scalars['String']['input']>;
2390
- outputs?: InputMaybe<Array<ExtractorFieldInput>>;
2391
- };
2392
-
2393
- export type UpdateRefillSettingsInput = {
2394
- disableRefill?: InputMaybe<Scalars['Boolean']['input']>;
2395
- refillAmountCents?: InputMaybe<Scalars['Int']['input']>;
2396
- refillThresholdCents?: InputMaybe<Scalars['Int']['input']>;
2397
- workspaceId: Scalars['ID']['input'];
2398
- };
2399
-
2400
- export type UpdateSystemResultMappingInput = {
2401
- crmId: Scalars['ID']['input'];
2402
- mappedDispositionId?: InputMaybe<Scalars['ID']['input']>;
2403
- resultType: SystemResultType;
2404
- workspaceId: Scalars['ID']['input'];
2405
- };
2406
-
2407
- export type UpdateVersionedPromptInput = {
2408
- agentType?: InputMaybe<AgentType>;
2409
- aiModelId?: InputMaybe<Scalars['ID']['input']>;
2410
- flowDefinition?: InputMaybe<FlowDefinitionInput>;
2411
- flowDefinitionJSON?: InputMaybe<Scalars['String']['input']>;
2412
- name?: InputMaybe<Scalars['String']['input']>;
2413
- prompt?: InputMaybe<Scalars['String']['input']>;
2414
- versionedPromptId: Scalars['ID']['input'];
2415
- };
2416
-
2417
- export type UpdateWorkspaceBillingConfig = {
2418
- billingConfigJSON: Scalars['String']['input'];
2419
- workspaceId: Scalars['ID']['input'];
2420
- };
2421
-
2422
- export type UpdateWorkspaceCustomDetectorRegexps = {
2423
- regexpsJSON: Scalars['String']['input'];
2424
- workspaceId: Scalars['ID']['input'];
2425
- };
2426
-
2427
- export type UsageInfo = {
2428
- __typename?: 'UsageInfo';
2429
- limit: Scalars['Int']['output'];
2430
- usage: Scalars['Int']['output'];
2431
- };
2432
-
2433
- export type UsageLineItem = {
2434
- __typename?: 'UsageLineItem';
2435
- description: Scalars['String']['output'];
2436
- quantity: Scalars['Int']['output'];
2437
- totalPriceCents: Scalars['Int']['output'];
2438
- unitPriceCents: Scalars['Int']['output'];
2439
- };
2440
-
2441
- export type User = {
2442
- __typename?: 'User';
2443
- aggregateStats: AggregateStats;
2444
- avatarUrl?: Maybe<Scalars['String']['output']>;
2445
- contactLists?: Maybe<Array<ContactList>>;
2446
- email: Scalars['String']['output'];
2447
- id: Scalars['ID']['output'];
2448
- name: Scalars['String']['output'];
2449
- status: UserStatus;
2450
- superAdmin: Scalars['Boolean']['output'];
2451
- timeStats: TimeStatsResult;
2452
- };
2453
-
2454
-
2455
- export type UserAggregateStatsArgs = {
2456
- filter: StatFilter;
2457
- workspaceId?: InputMaybe<Scalars['ID']['input']>;
2458
- };
2459
-
2460
-
2461
- export type UserTimeStatsArgs = {
2462
- filter: StatFilter;
2463
- workspaceId?: InputMaybe<Scalars['ID']['input']>;
2464
- };
2465
-
2466
- export type UserActivityMessage = {
2467
- __typename?: 'UserActivityMessage';
2468
- messageType: UserActivityMessageType;
2469
- sessionDialConnectMessage?: Maybe<SessionDialConnectMessage>;
2470
- sessionDialDisconnectMessage?: Maybe<SessionDialDisconnectMessage>;
2471
- sessionLeaveMessage?: Maybe<SessionLeaveMessage>;
2472
- sessionStatusChangeMessage?: Maybe<SessionStatusChangeMessage>;
2473
- userSessionConnectMessage?: Maybe<UserSessionConnectMessage>;
2474
- };
2475
-
2476
- export enum UserActivityMessageType {
2477
- SessionDialConnect = 'SESSION_DIAL_CONNECT',
2478
- SessionDialDisconnect = 'SESSION_DIAL_DISCONNECT',
2479
- SessionLeave = 'SESSION_LEAVE',
2480
- SessionStatusChange = 'SESSION_STATUS_CHANGE',
2481
- UserSessionConnect = 'USER_SESSION_CONNECT'
2482
- }
2483
-
2484
- export type UserSessionConnectMessage = {
2485
- __typename?: 'UserSessionConnectMessage';
2486
- user: User;
2487
- };
2488
-
2489
- export type UserStatus = {
2490
- __typename?: 'UserStatus';
2491
- dialSession?: Maybe<DialSession>;
2492
- };
2493
-
2494
- export type UserWorkspaceSettings = {
2495
- __typename?: 'UserWorkspaceSettings';
2496
- openCrmLink: Scalars['Boolean']['output'];
2497
- openLinkedinLink: Scalars['Boolean']['output'];
2498
- };
2499
-
2500
- export type UserWorkspaceSettingsInput = {
2501
- openCrmLink?: InputMaybe<Scalars['Boolean']['input']>;
2502
- openLinkedinLink?: InputMaybe<Scalars['Boolean']['input']>;
2503
- workspaceId: Scalars['ID']['input'];
2504
- };
2505
-
2506
- export type UtteranceDetectorConfig = {
2507
- __typename?: 'UtteranceDetectorConfig';
2508
- basic?: Maybe<BasicUtteranceDetectorConfig>;
2509
- type: UtteranceDetectorConfigType;
2510
- };
2511
-
2512
- export type UtteranceDetectorConfigInput = {
2513
- basic?: InputMaybe<BasicUtteranceDetectorConfigInput>;
2514
- type: UtteranceDetectorConfigType;
2515
- };
2516
-
2517
- export enum UtteranceDetectorConfigType {
2518
- Advanced = 'ADVANCED',
2519
- Basic = 'BASIC'
2520
- }
2521
-
2522
- export enum UtteranceDetectorSensitivity {
2523
- Fast = 'FAST',
2524
- Medium = 'MEDIUM',
2525
- Slow = 'SLOW',
2526
- UltraFast = 'ULTRA_FAST'
2527
- }
2528
-
2529
- export type VersionedPrompt = {
2530
- __typename?: 'VersionedPrompt';
2531
- agentType: AgentType;
2532
- aiModel?: Maybe<AiModel>;
2533
- createdAt: Scalars['Time']['output'];
2534
- flowDefinition?: Maybe<FlowDefinition>;
2535
- id: Scalars['ID']['output'];
2536
- name: Scalars['String']['output'];
2537
- prompt?: Maybe<Scalars['String']['output']>;
2538
- updatedAt: Scalars['Time']['output'];
2539
- };
2540
-
2541
- export type VideoTokenResp = {
2542
- __typename?: 'VideoTokenResp';
2543
- sessionId: Scalars['String']['output'];
2544
- token: Scalars['String']['output'];
2545
- };
2546
-
2547
- export type VisibleWorkspaceLimits = {
2548
- __typename?: 'VisibleWorkspaceLimits';
2549
- concurrentDialLimit: Scalars['Int']['output'];
2550
- };
2551
-
2552
- export type VoiceFilter = {
2553
- text?: InputMaybe<Scalars['String']['input']>;
2554
- };
2555
-
2556
- export enum VoiceGender {
2557
- Female = 'FEMALE',
2558
- Male = 'MALE',
2559
- Neutral = 'NEUTRAL'
2560
- }
2561
-
2562
- export type Voicemail = {
2563
- __typename?: 'Voicemail';
2564
- downloadUrl: Scalars['String']['output'];
2565
- id: Scalars['String']['output'];
2566
- name: Scalars['String']['output'];
2567
- };
2568
-
2569
- export type Workspace = {
2570
- __typename?: 'Workspace';
2571
- activeDials: Array<Dial>;
2572
- activeIncomingCalls: Array<Dial>;
2573
- activeUsers: Array<User>;
2574
- aggregateStats: AggregateStats;
2575
- aiModels: AiModelsResult;
2576
- apiKeys?: Maybe<Array<ApiKey>>;
2577
- apolloPurposes: Array<ApolloPurpose>;
2578
- apolloUsers: Array<ApolloUser>;
2579
- bannerMessage?: Maybe<Scalars['String']['output']>;
2580
- billingUsage: Array<UsageLineItem>;
2581
- callAgents: CallAgentsResult;
2582
- concurrentDialCount: Scalars['Int']['output'];
2583
- contactLists: ContactListResult;
2584
- crmSpecification: CrmSpecification;
2585
- crmSpecifications: Array<CrmSpecification>;
2586
- customDetectorRegexps?: Maybe<Scalars['String']['output']>;
2587
- dialSessions: DialSessionListResult;
2588
- dials: DialListResult;
2589
- dispositions: Array<CallDisposition>;
2590
- functionDefinitions: FunctionDefinitionsResult;
2591
- id: Scalars['ID']['output'];
2592
- importedLists: IntegrationListsResponse;
2593
- inboundForwardNumber?: Maybe<Scalars['String']['output']>;
2594
- integrationChoices: Array<ListListsItem>;
2595
- knowledgeBases: ListKnowledgeBasesResult;
2596
- limits: WorkspaceLimits;
2597
- member: WorkspaceMember;
2598
- memberCount: Scalars['Int']['output'];
2599
- name?: Maybe<Scalars['String']['output']>;
2600
- overLimit: OverLimitResult;
2601
- phoneNumbers: PhoneNumbersResult;
2602
- recordingConfig?: Maybe<RecordingConfig>;
2603
- salesfloorRooms: Array<SalesfloorRoom>;
2604
- salesfloorType: SalesfloorType;
2605
- spamUsage: UsageInfo;
2606
- subscription?: Maybe<BillingSubscription>;
2607
- systemResults: Array<SystemResult>;
2608
- team: TeamResult;
2609
- telephonyProvider: Scalars['String']['output'];
2610
- timeStats: TimeStatsResult;
2611
- userSettings: UserWorkspaceSettings;
2612
- viewerRole: Role;
2613
- visibleLimits: VisibleWorkspaceLimits;
2614
- voicemails: Array<Voicemail>;
2615
- voices: AiVoicesResult;
2616
- wallet?: Maybe<WorkspaceWallet>;
2617
- webhookSigningSecret: Scalars['String']['output'];
2618
- webhookURL?: Maybe<Scalars['String']['output']>;
2619
- };
2620
-
2621
-
2622
- export type WorkspaceAggregateStatsArgs = {
2623
- filter: StatFilter;
2624
- };
2625
-
2626
-
2627
- export type WorkspaceAiModelsArgs = {
2628
- filter?: InputMaybe<AiModelFilter>;
2629
- limit: Scalars['Int']['input'];
2630
- offset: Scalars['Int']['input'];
2631
- };
2632
-
2633
-
2634
- export type WorkspaceBillingUsageArgs = {
2635
- filter: BillingUsageFilter;
2636
- };
2637
-
2638
-
2639
- export type WorkspaceCallAgentsArgs = {
2640
- limit: Scalars['Int']['input'];
2641
- offset: Scalars['Int']['input'];
2642
- };
2643
-
2644
-
2645
- export type WorkspaceContactListsArgs = {
2646
- filter?: InputMaybe<ContactListFilter>;
2647
- limit: Scalars['Int']['input'];
2648
- offset: Scalars['Int']['input'];
2649
- };
2650
-
2651
-
2652
- export type WorkspaceCrmSpecificationArgs = {
2653
- id: Scalars['ID']['input'];
2654
- };
2655
-
2656
-
2657
- export type WorkspaceDialSessionsArgs = {
2658
- filter?: InputMaybe<DialSessionFilter>;
2659
- limit: Scalars['Int']['input'];
2660
- offset: Scalars['Int']['input'];
2661
- };
2662
-
2663
-
2664
- export type WorkspaceDialsArgs = {
2665
- filter?: InputMaybe<DialFilter>;
2666
- limit: Scalars['Int']['input'];
2667
- offset: Scalars['Int']['input'];
2668
- };
2669
-
2670
-
2671
- export type WorkspaceDispositionsArgs = {
2672
- crmId?: InputMaybe<Scalars['ID']['input']>;
2673
- includeAll?: InputMaybe<Scalars['Boolean']['input']>;
2674
- subtype?: InputMaybe<Scalars['String']['input']>;
2675
- };
2676
-
2677
-
2678
- export type WorkspaceFunctionDefinitionsArgs = {
2679
- filter?: InputMaybe<FunctionDefinitionFilter>;
2680
- limit: Scalars['Int']['input'];
2681
- offset: Scalars['Int']['input'];
2682
- };
2683
-
2684
-
2685
- export type WorkspaceIntegrationChoicesArgs = {
2686
- integrationId: Scalars['String']['input'];
2687
- search?: InputMaybe<IntegrationChoicesFilter>;
2688
- };
2689
-
2690
-
2691
- export type WorkspaceKnowledgeBasesArgs = {
2692
- limit: Scalars['Int']['input'];
2693
- offset: Scalars['Int']['input'];
2694
- };
2695
-
2696
-
2697
- export type WorkspaceMemberArgs = {
2698
- userId: Scalars['ID']['input'];
2699
- };
2700
-
2701
-
2702
- export type WorkspacePhoneNumbersArgs = {
2703
- limit: Scalars['Int']['input'];
2704
- offset: Scalars['Int']['input'];
2705
- };
2706
-
2707
-
2708
- export type WorkspaceSystemResultsArgs = {
2709
- crmId: Scalars['ID']['input'];
2710
- };
2711
-
2712
-
2713
- export type WorkspaceTeamArgs = {
2714
- limit: Scalars['Int']['input'];
2715
- offset: Scalars['Int']['input'];
2716
- };
2717
-
2718
-
2719
- export type WorkspaceTimeStatsArgs = {
2720
- filter: StatFilter;
2721
- };
2722
-
2723
-
2724
- export type WorkspaceVoicesArgs = {
2725
- filter?: InputMaybe<VoiceFilter>;
2726
- limit: Scalars['Int']['input'];
2727
- offset: Scalars['Int']['input'];
2728
- };
2729
-
2730
- export type WorkspaceDialEvent = {
2731
- __typename?: 'WorkspaceDialEvent';
2732
- dialCreateMessage?: Maybe<DialCreateMessage>;
2733
- eventType: WorkspaceDialEventType;
2734
- statusChangeMessage?: Maybe<WorkspaceDialStatusChangeMessage>;
2735
- };
2736
-
2737
- export enum WorkspaceDialEventType {
2738
- DialCreate = 'DIAL_CREATE',
2739
- StatusChange = 'STATUS_CHANGE'
2740
- }
2741
-
2742
- export type WorkspaceDialStatusChangeMessage = {
2743
- __typename?: 'WorkspaceDialStatusChangeMessage';
2744
- complete: Scalars['Boolean']['output'];
2745
- dialId: Scalars['ID']['output'];
2746
- status: Scalars['String']['output'];
2747
- };
2748
-
2749
- export type WorkspaceLimits = {
2750
- __typename?: 'WorkspaceLimits';
2751
- concurrentDialLimit: Scalars['Int']['output'];
2752
- spamLimit: Scalars['Int']['output'];
2753
- userPhoneNumberLimit: Scalars['Int']['output'];
2754
- };
2755
-
2756
- export type WorkspaceLimitsInput = {
2757
- concurrentDialLimit?: InputMaybe<Scalars['Int']['input']>;
2758
- salesfloorType?: InputMaybe<SalesfloorType>;
2759
- spamLimit?: InputMaybe<Scalars['Int']['input']>;
2760
- userPhoneNumberLimit?: InputMaybe<Scalars['Int']['input']>;
2761
- workspaceId: Scalars['ID']['input'];
2762
- };
2763
-
2764
- export type WorkspaceMember = {
2765
- __typename?: 'WorkspaceMember';
2766
- role: Role;
2767
- user: User;
2768
- };
2769
-
2770
- export type WorkspaceWallet = {
2771
- __typename?: 'WorkspaceWallet';
2772
- balanceCents: Scalars['Int']['output'];
2773
- billingConfig: Scalars['String']['output'];
2774
- id: Scalars['ID']['output'];
2775
- refillAmountCents?: Maybe<Scalars['Int']['output']>;
2776
- refillThresholdCents?: Maybe<Scalars['Int']['output']>;
2777
- };
2778
-
2779
- export type WorkspaceWebhookInput = {
2780
- webhookURL?: InputMaybe<NullableStringInput>;
2781
- workspaceId: Scalars['ID']['input'];
2782
- };
2783
-
2784
- export type CreateAdHocDialSessionMutationVariables = Exact<{
2785
- input: CreateAdHocDialSessionInput;
2786
- }>;
2787
-
2788
-
2789
- export type CreateAdHocDialSessionMutation = { __typename?: 'Mutation', createAdHocDialSession: { __typename?: 'AdHocDialSession', id: string, telephonyProvider: string } };
2790
-
2791
- export type StartDialSessionMutationVariables = Exact<{
2792
- sessionId: Scalars['ID']['input'];
2793
- }>;
2794
-
2795
-
2796
- export type StartDialSessionMutation = { __typename?: 'Mutation', startDialSession: boolean };
2797
-
2798
- export type HangupCallMutationVariables = Exact<{
2799
- dialId: Scalars['ID']['input'];
2800
- dropVoicemail?: InputMaybe<Scalars['Boolean']['input']>;
2801
- transferNumber?: InputMaybe<Scalars['String']['input']>;
2802
- }>;
2803
-
2804
-
2805
- export type HangupCallMutation = { __typename?: 'Mutation', hangupCall: boolean };
2806
-
2807
- export type SetPausedMutationVariables = Exact<{
2808
- dialId: Scalars['ID']['input'];
2809
- pauseStatus: Scalars['Boolean']['input'];
2810
- }>;
2811
-
2812
-
2813
- export type SetPausedMutation = { __typename?: 'Mutation', pauseAI: { __typename?: 'Dial', id: string } };
2814
-
2815
- export type RefreshTranscriptSubscriptionVariables = Exact<{
2816
- dialId: Scalars['ID']['input'];
2817
- }>;
2818
-
2819
-
2820
- export type RefreshTranscriptSubscription = { __typename?: 'Subscription', watchTranscript: Array<{ __typename?: 'SpeakerTextRes', speaker: string, text: string, detailType?: string | null }> };
2821
-
2822
- export type BrowserDialTokenMutationVariables = Exact<{
2823
- input: BrowserDialTokenInput;
2824
- }>;
2825
-
2826
-
2827
- export type BrowserDialTokenMutation = { __typename?: 'Mutation', browserDialToken: { __typename?: 'BrowserDialTokenRes', token: string, iceConfig?: string | null } };
2828
-
2829
- export type ConnectSessionSubscriptionVariables = Exact<{
2830
- sessionId: Scalars['ID']['input'];
2831
- }>;
2832
-
2833
-
2834
- export type ConnectSessionSubscription = { __typename?: 'Subscription', connectSession: { __typename?: 'SessionMessage', messageType: SessionMessageType, content?: { __typename: 'ContactCompleteMessage' } | { __typename: 'DialConnectMessage', dialId: string } | { __typename: 'DialsUpdatedMessage', contactId?: string | null, contactComplete: boolean, dials: Array<{ __typename?: 'Dial', id: string, status: string, answerType: AnswerType, phoneField: string, callDispositionId?: string | null, systemResultType?: SystemResultType | null, toNumber: string }> } | { __typename: 'SessionUpdatedMessage', reason?: DialSessionUpdateReason | null, dialSession?: { __typename?: 'DialSession', id: string, status: DialSessionStatus } | null } | null } };
2835
-
2836
-
2837
- export const CreateAdHocDialSessionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateAdHocDialSession"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateAdHocDialSessionInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createAdHocDialSession"},"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":"id"}},{"kind":"Field","name":{"kind":"Name","value":"telephonyProvider"}}]}}]}}]} as unknown as DocumentNode<CreateAdHocDialSessionMutation, CreateAdHocDialSessionMutationVariables>;
2838
- export const StartDialSessionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"StartDialSession"},"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":"startDialSession"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"dialSessionId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"sessionId"}}}]}]}}]} as unknown as DocumentNode<StartDialSessionMutation, StartDialSessionMutationVariables>;
2839
- export const HangupCallDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"HangupCall"},"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":"dropVoicemail"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"transferNumber"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"hangupCall"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"dialId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"dialId"}}},{"kind":"Argument","name":{"kind":"Name","value":"dropVoicemail"},"value":{"kind":"Variable","name":{"kind":"Name","value":"dropVoicemail"}}},{"kind":"Argument","name":{"kind":"Name","value":"transferNumber"},"value":{"kind":"Variable","name":{"kind":"Name","value":"transferNumber"}}}]}]}}]} as unknown as DocumentNode<HangupCallMutation, HangupCallMutationVariables>;
2840
- 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"}}]}}]}}]} as unknown as DocumentNode<SetPausedMutation, SetPausedMutationVariables>;
2841
- 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"}}]}}]}}]} as unknown as DocumentNode<RefreshTranscriptSubscription, RefreshTranscriptSubscriptionVariables>;
2842
- 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"}}]}}]}}]} as unknown as DocumentNode<BrowserDialTokenMutation, BrowserDialTokenMutationVariables>;
2843
- 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":"phoneField"}},{"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"}}]}}]}}]}}]}}]} as unknown as DocumentNode<ConnectSessionSubscription, ConnectSessionSubscriptionVariables>;