@droz-js/sdk 0.15.4 → 0.15.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/drozbot.d.ts +33 -0
- package/src/drozchat-ws.d.ts +11 -5
- package/src/drozchat.d.ts +11 -5
- package/src/sdks/drozbot.d.ts +317 -0
- package/src/sdks/drozbot.js +255 -1
- package/src/sdks/drozchat.d.ts +83 -34
- package/src/sdks/drozchat.js +32 -12
package/package.json
CHANGED
package/src/drozbot.d.ts
CHANGED
|
@@ -57,6 +57,39 @@ declare const DrozBot_base: new (options?: import("./client/http").HttpClientOpt
|
|
|
57
57
|
predictIntent(variables: import("./sdks/drozbot").Exact<{
|
|
58
58
|
input: import("./sdks/drozbot").PredictIntentInput;
|
|
59
59
|
}>, options?: unknown): Promise<import("./sdks/drozbot").PredictIntentMutation>;
|
|
60
|
+
fetchDrozbotTalkAnalysisDataset(variables?: import("./sdks/drozbot").Exact<{
|
|
61
|
+
botId?: import("./sdks/drozbot").InputMaybe<import("./sdks/drozbot").Scalars["Int"]["input"]>;
|
|
62
|
+
}>, options?: unknown): Promise<import("./sdks/drozbot").FetchDrozbotTalkAnalysisDatasetQuery>;
|
|
63
|
+
drozbotAiTalkAnalysisInputs(variables?: import("./sdks/drozbot").Exact<{
|
|
64
|
+
status?: import("./sdks/drozbot").InputMaybe<import("./sdks/drozbot").DrozbotAiTalkAnalysisProcessingStatus>;
|
|
65
|
+
}>, options?: unknown): Promise<import("./sdks/drozbot").DrozbotAiTalkAnalysisInputsQuery>;
|
|
66
|
+
drozbotAiTalkAnalysisPendingRetries(variables?: import("./sdks/drozbot").Exact<{
|
|
67
|
+
[key: string]: never;
|
|
68
|
+
}>, options?: unknown): Promise<import("./sdks/drozbot").DrozbotAiTalkAnalysisPendingRetriesQuery>;
|
|
69
|
+
drozbotTalkAnalysisIntentions(variables: import("./sdks/drozbot").Exact<{
|
|
70
|
+
botId: import("./sdks/drozbot").Scalars["Int"]["input"];
|
|
71
|
+
}>, options?: unknown): Promise<import("./sdks/drozbot").DrozbotTalkAnalysisIntentionsQuery>;
|
|
72
|
+
getDrozbotTalkAnalysis(variables: import("./sdks/drozbot").Exact<{
|
|
73
|
+
talkId: import("./sdks/drozbot").Scalars["Int"]["input"];
|
|
74
|
+
botId: import("./sdks/drozbot").Scalars["Int"]["input"];
|
|
75
|
+
}>, options?: unknown): Promise<import("./sdks/drozbot").GetDrozbotTalkAnalysisQuery>;
|
|
76
|
+
listDrozbotTalkAnalyses(variables: import("./sdks/drozbot").Exact<{
|
|
77
|
+
botId: import("./sdks/drozbot").Scalars["Int"]["input"];
|
|
78
|
+
next?: import("./sdks/drozbot").InputMaybe<import("./sdks/drozbot").Scalars["Base64"]["input"]>;
|
|
79
|
+
limit?: import("./sdks/drozbot").InputMaybe<import("./sdks/drozbot").Scalars["Int"]["input"]>;
|
|
80
|
+
}>, options?: unknown): Promise<import("./sdks/drozbot").ListDrozbotTalkAnalysesQuery>;
|
|
81
|
+
triggerDrozbotTalkAnalysisIngest(variables?: import("./sdks/drozbot").Exact<{
|
|
82
|
+
botId?: import("./sdks/drozbot").InputMaybe<import("./sdks/drozbot").Scalars["Int"]["input"]>;
|
|
83
|
+
}>, options?: unknown): Promise<import("./sdks/drozbot").TriggerDrozbotTalkAnalysisIngestMutation>;
|
|
84
|
+
triggerDrozbotTalkAnalysisBatch(variables?: import("./sdks/drozbot").Exact<{
|
|
85
|
+
[key: string]: never;
|
|
86
|
+
}>, options?: unknown): Promise<import("./sdks/drozbot").TriggerDrozbotTalkAnalysisBatchMutation>;
|
|
87
|
+
analyzeDrozbotTalk(variables: import("./sdks/drozbot").Exact<{
|
|
88
|
+
input: import("./sdks/drozbot").AnalyzeDrozbotTalkInput;
|
|
89
|
+
}>, options?: unknown): Promise<import("./sdks/drozbot").AnalyzeDrozbotTalkMutation>;
|
|
90
|
+
evaluateDrozbotTalkAnalysisOutput(variables: import("./sdks/drozbot").Exact<{
|
|
91
|
+
input: import("./sdks/drozbot").EvaluateDrozbotTalkAnalysisOutputInput;
|
|
92
|
+
}>, options?: unknown): Promise<import("./sdks/drozbot").EvaluateDrozbotTalkAnalysisOutputMutation>;
|
|
60
93
|
listWhatsAppBots(variables?: import("./sdks/drozbot").Exact<{
|
|
61
94
|
[key: string]: never;
|
|
62
95
|
}>, options?: unknown): Promise<import("./sdks/drozbot").ListWhatsAppBotsQuery>;
|
package/src/drozchat-ws.d.ts
CHANGED
|
@@ -197,6 +197,9 @@ declare const DrozChatWs_base: new () => {
|
|
|
197
197
|
createTicketMessageForStorage(variables: import("./sdks/drozchat").Exact<{
|
|
198
198
|
input: import("./sdks/drozchat").CreateTicketMessageForStorageInput;
|
|
199
199
|
}>, options?: unknown): Promise<import("./sdks/drozchat").CreateTicketMessageForStorageMutation>;
|
|
200
|
+
createTicketMessageEnvelope(variables: import("./sdks/drozchat").Exact<{
|
|
201
|
+
input: import("./sdks/drozchat").CreateTicketMessageEnvelopeInput;
|
|
202
|
+
}>, options?: unknown): Promise<import("./sdks/drozchat").CreateTicketMessageEnvelopeMutation>;
|
|
200
203
|
assignTicket(variables: import("./sdks/drozchat").Exact<{
|
|
201
204
|
input: import("./sdks/drozchat").AssignTicketInput;
|
|
202
205
|
}>, options?: unknown): Promise<import("./sdks/drozchat").AssignTicketMutation>;
|
|
@@ -227,21 +230,24 @@ declare const DrozChatWs_base: new () => {
|
|
|
227
230
|
onTicketMessage(variables: import("./sdks/drozchat").Exact<{
|
|
228
231
|
ticketId: import("./sdks/drozchat").Scalars["ID"]["input"];
|
|
229
232
|
}>, options?: unknown): AsyncIterableIterator<import("./sdks/drozchat").OnTicketMessageSubscription>;
|
|
230
|
-
|
|
233
|
+
listTriggers(variables?: import("./sdks/drozchat").Exact<{
|
|
231
234
|
[key: string]: never;
|
|
232
235
|
}>, options?: unknown): Promise<import("./sdks/drozchat").ListTriggersQuery>;
|
|
233
|
-
|
|
236
|
+
getTrigger(variables: import("./sdks/drozchat").Exact<{
|
|
234
237
|
id: import("./sdks/drozchat").Scalars["ID"]["input"];
|
|
235
238
|
}>, options?: unknown): Promise<import("./sdks/drozchat").GetTriggerQuery>;
|
|
236
|
-
|
|
239
|
+
createTrigger(variables: import("./sdks/drozchat").Exact<{
|
|
237
240
|
input: import("./sdks/drozchat").CreateTriggerInput;
|
|
238
241
|
}>, options?: unknown): Promise<import("./sdks/drozchat").CreateTriggerMutation>;
|
|
239
|
-
|
|
242
|
+
updateTrigger(variables: import("./sdks/drozchat").Exact<{
|
|
240
243
|
input: import("./sdks/drozchat").UpdateTriggerInput;
|
|
241
244
|
}>, options?: unknown): Promise<import("./sdks/drozchat").UpdateTriggerMutation>;
|
|
242
|
-
|
|
245
|
+
deleteTrigger(variables: import("./sdks/drozchat").Exact<{
|
|
243
246
|
id: import("./sdks/drozchat").Scalars["ID"]["input"];
|
|
244
247
|
}>, options?: unknown): Promise<import("./sdks/drozchat").DeleteTriggerMutation>;
|
|
248
|
+
reorderTriggersByEventType(variables: import("./sdks/drozchat").Exact<{
|
|
249
|
+
input: import("./sdks/drozchat").ReorderTriggersByEventTypeInput;
|
|
250
|
+
}>, options?: unknown): Promise<import("./sdks/drozchat").ReorderTriggersByEventTypeMutation>;
|
|
245
251
|
getView(variables: import("./sdks/drozchat").Exact<{
|
|
246
252
|
id: import("./sdks/drozchat").Scalars["ID"]["input"];
|
|
247
253
|
}>, options?: unknown): Promise<import("./sdks/drozchat").GetViewQuery>;
|
package/src/drozchat.d.ts
CHANGED
|
@@ -200,6 +200,9 @@ declare const DrozChat_base: new (options?: import("./client/http").HttpClientOp
|
|
|
200
200
|
createTicketMessageForStorage(variables: import("./sdks/drozchat").Exact<{
|
|
201
201
|
input: import("./sdks/drozchat").CreateTicketMessageForStorageInput;
|
|
202
202
|
}>, options?: unknown): Promise<import("./sdks/drozchat").CreateTicketMessageForStorageMutation>;
|
|
203
|
+
createTicketMessageEnvelope(variables: import("./sdks/drozchat").Exact<{
|
|
204
|
+
input: import("./sdks/drozchat").CreateTicketMessageEnvelopeInput;
|
|
205
|
+
}>, options?: unknown): Promise<import("./sdks/drozchat").CreateTicketMessageEnvelopeMutation>;
|
|
203
206
|
assignTicket(variables: import("./sdks/drozchat").Exact<{
|
|
204
207
|
input: import("./sdks/drozchat").AssignTicketInput;
|
|
205
208
|
}>, options?: unknown): Promise<import("./sdks/drozchat").AssignTicketMutation>;
|
|
@@ -230,21 +233,24 @@ declare const DrozChat_base: new (options?: import("./client/http").HttpClientOp
|
|
|
230
233
|
onTicketMessage(variables: import("./sdks/drozchat").Exact<{
|
|
231
234
|
ticketId: import("./sdks/drozchat").Scalars["ID"]["input"];
|
|
232
235
|
}>, options?: unknown): AsyncIterableIterator<import("./sdks/drozchat").OnTicketMessageSubscription>;
|
|
233
|
-
|
|
236
|
+
listTriggers(variables?: import("./sdks/drozchat").Exact<{
|
|
234
237
|
[key: string]: never;
|
|
235
238
|
}>, options?: unknown): Promise<import("./sdks/drozchat").ListTriggersQuery>;
|
|
236
|
-
|
|
239
|
+
getTrigger(variables: import("./sdks/drozchat").Exact<{
|
|
237
240
|
id: import("./sdks/drozchat").Scalars["ID"]["input"];
|
|
238
241
|
}>, options?: unknown): Promise<import("./sdks/drozchat").GetTriggerQuery>;
|
|
239
|
-
|
|
242
|
+
createTrigger(variables: import("./sdks/drozchat").Exact<{
|
|
240
243
|
input: import("./sdks/drozchat").CreateTriggerInput;
|
|
241
244
|
}>, options?: unknown): Promise<import("./sdks/drozchat").CreateTriggerMutation>;
|
|
242
|
-
|
|
245
|
+
updateTrigger(variables: import("./sdks/drozchat").Exact<{
|
|
243
246
|
input: import("./sdks/drozchat").UpdateTriggerInput;
|
|
244
247
|
}>, options?: unknown): Promise<import("./sdks/drozchat").UpdateTriggerMutation>;
|
|
245
|
-
|
|
248
|
+
deleteTrigger(variables: import("./sdks/drozchat").Exact<{
|
|
246
249
|
id: import("./sdks/drozchat").Scalars["ID"]["input"];
|
|
247
250
|
}>, options?: unknown): Promise<import("./sdks/drozchat").DeleteTriggerMutation>;
|
|
251
|
+
reorderTriggersByEventType(variables: import("./sdks/drozchat").Exact<{
|
|
252
|
+
input: import("./sdks/drozchat").ReorderTriggersByEventTypeInput;
|
|
253
|
+
}>, options?: unknown): Promise<import("./sdks/drozchat").ReorderTriggersByEventTypeMutation>;
|
|
248
254
|
getView(variables: import("./sdks/drozchat").Exact<{
|
|
249
255
|
id: import("./sdks/drozchat").Scalars["ID"]["input"];
|
|
250
256
|
}>, options?: unknown): Promise<import("./sdks/drozchat").GetViewQuery>;
|
package/src/sdks/drozbot.d.ts
CHANGED
|
@@ -149,6 +149,24 @@ export type AiActionVariableValueInput = {
|
|
|
149
149
|
key: Scalars['String']['input'];
|
|
150
150
|
value: Scalars['String']['input'];
|
|
151
151
|
};
|
|
152
|
+
export type AnalyzeDrozbotTalkInput = {
|
|
153
|
+
botId: Scalars['Int']['input'];
|
|
154
|
+
createdDate: Scalars['String']['input'];
|
|
155
|
+
rows: Array<AnalyzeDrozbotTalkRowInput>;
|
|
156
|
+
status: Scalars['String']['input'];
|
|
157
|
+
talkId: Scalars['Int']['input'];
|
|
158
|
+
};
|
|
159
|
+
export type AnalyzeDrozbotTalkRowInput = {
|
|
160
|
+
bot: Scalars['String']['input'];
|
|
161
|
+
botMsgType: Scalars['String']['input'];
|
|
162
|
+
createdDate: Scalars['String']['input'];
|
|
163
|
+
drozAiNlpResponse?: InputMaybe<Scalars['Boolean']['input']>;
|
|
164
|
+
id: Scalars['String']['input'];
|
|
165
|
+
typeOfFeedback?: InputMaybe<Scalars['String']['input']>;
|
|
166
|
+
typeOfNlp?: InputMaybe<Scalars['String']['input']>;
|
|
167
|
+
user?: InputMaybe<Scalars['String']['input']>;
|
|
168
|
+
userMsgType?: InputMaybe<Scalars['String']['input']>;
|
|
169
|
+
};
|
|
152
170
|
export declare enum AppInstanceStatus {
|
|
153
171
|
Active = "Active",
|
|
154
172
|
Failing = "Failing",
|
|
@@ -317,6 +335,160 @@ export type DrozbotAiHumanizedAnswerResult = {
|
|
|
317
335
|
actions: Array<DrozbotAiAction>;
|
|
318
336
|
message_to_user: Scalars['String']['output'];
|
|
319
337
|
};
|
|
338
|
+
export type DrozbotAiTalkAnalysisInput = {
|
|
339
|
+
attempts: Array<DrozbotTalkAnalysisAttempt>;
|
|
340
|
+
batchJobId?: Maybe<Scalars['String']['output']>;
|
|
341
|
+
botId: Scalars['Int']['output'];
|
|
342
|
+
errorMessage?: Maybe<Scalars['String']['output']>;
|
|
343
|
+
processingStatus: DrozbotAiTalkAnalysisProcessingStatus;
|
|
344
|
+
retryCount: Scalars['Int']['output'];
|
|
345
|
+
submittedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
346
|
+
talkId: Scalars['Int']['output'];
|
|
347
|
+
};
|
|
348
|
+
export declare enum DrozbotAiTalkAnalysisProcessingStatus {
|
|
349
|
+
Done = "DONE",
|
|
350
|
+
Failed = "FAILED",
|
|
351
|
+
Pending = "PENDING",
|
|
352
|
+
Submitted = "SUBMITTED"
|
|
353
|
+
}
|
|
354
|
+
export declare enum DrozbotBatchJobStatus {
|
|
355
|
+
Collecting = "COLLECTING",
|
|
356
|
+
Done = "DONE",
|
|
357
|
+
Failed = "FAILED",
|
|
358
|
+
InProgress = "IN_PROGRESS"
|
|
359
|
+
}
|
|
360
|
+
export type DrozbotTalkAnalysis = {
|
|
361
|
+
analysis: DrozbotTalkAnalysisPayload;
|
|
362
|
+
botId: Scalars['Int']['output'];
|
|
363
|
+
createdDate: Scalars['String']['output'];
|
|
364
|
+
evaluation?: Maybe<DrozbotTalkAnalysisEvaluation>;
|
|
365
|
+
modelUsed: Scalars['String']['output'];
|
|
366
|
+
status: Scalars['String']['output'];
|
|
367
|
+
talkId: Scalars['Int']['output'];
|
|
368
|
+
};
|
|
369
|
+
export declare enum DrozbotTalkAnalysisAbandonmentType {
|
|
370
|
+
Frustrated = "frustrated",
|
|
371
|
+
HandoffAfterAttempt = "handoff_after_attempt",
|
|
372
|
+
Immediate = "immediate",
|
|
373
|
+
ImmediateHandoff = "immediate_handoff",
|
|
374
|
+
None = "none",
|
|
375
|
+
SatisfactionSurvey = "satisfaction_survey",
|
|
376
|
+
Silent = "silent"
|
|
377
|
+
}
|
|
378
|
+
export type DrozbotTalkAnalysisAggregates = {
|
|
379
|
+
csatFinal?: Maybe<Scalars['Float']['output']>;
|
|
380
|
+
csatStatus?: Maybe<Scalars['String']['output']>;
|
|
381
|
+
finalSentiment?: Maybe<Scalars['String']['output']>;
|
|
382
|
+
initialSentiment?: Maybe<Scalars['String']['output']>;
|
|
383
|
+
topIntents: Array<Scalars['String']['output']>;
|
|
384
|
+
};
|
|
385
|
+
export type DrozbotTalkAnalysisAttempt = {
|
|
386
|
+
batchCustomId?: Maybe<Scalars['String']['output']>;
|
|
387
|
+
batchJobId?: Maybe<Scalars['String']['output']>;
|
|
388
|
+
errorMessage: Scalars['String']['output'];
|
|
389
|
+
failedAt: Scalars['String']['output'];
|
|
390
|
+
};
|
|
391
|
+
export type DrozbotTalkAnalysisBreakdown = {
|
|
392
|
+
abandonmentType: Scalars['String']['output'];
|
|
393
|
+
cesLabel?: Maybe<Scalars['String']['output']>;
|
|
394
|
+
cesScore?: Maybe<Scalars['Int']['output']>;
|
|
395
|
+
clarityPrecision?: Maybe<Scalars['Int']['output']>;
|
|
396
|
+
csatScale?: Maybe<Scalars['Int']['output']>;
|
|
397
|
+
notEvaluable: Scalars['Boolean']['output'];
|
|
398
|
+
};
|
|
399
|
+
export type DrozbotTalkAnalysisConnection = {
|
|
400
|
+
nodes: Array<DrozbotTalkAnalysis>;
|
|
401
|
+
pageInfo: PageInfo;
|
|
402
|
+
};
|
|
403
|
+
export type DrozbotTalkAnalysisConversation = {
|
|
404
|
+
aggregates: DrozbotTalkAnalysisAggregates;
|
|
405
|
+
intent: DrozbotTalkAnalysisIntent;
|
|
406
|
+
sentiment: DrozbotTalkAnalysisSentimentData;
|
|
407
|
+
serviceQuality: DrozbotTalkAnalysisServiceQuality;
|
|
408
|
+
};
|
|
409
|
+
/**
|
|
410
|
+
* Label derived from the CES (Customer Effort Score). Measures how easy it was for the customer
|
|
411
|
+
* to get their issue resolved — distinct from satisfaction (DrozbotTalkAnalysisSatisfactionLevel),
|
|
412
|
+
* which measures the outcome quality rather than the resolution effort.
|
|
413
|
+
*/
|
|
414
|
+
export declare enum DrozbotTalkAnalysisCustomerEffortLabel {
|
|
415
|
+
Excellent = "excellent",
|
|
416
|
+
Good = "good",
|
|
417
|
+
Poor = "poor",
|
|
418
|
+
Regular = "regular"
|
|
419
|
+
}
|
|
420
|
+
export type DrozbotTalkAnalysisDatasetItem = {
|
|
421
|
+
botId: Scalars['Int']['output'];
|
|
422
|
+
createdDate?: Maybe<Scalars['String']['output']>;
|
|
423
|
+
rows: Array<DrozbotTalkAnalysisDatasetRow>;
|
|
424
|
+
status?: Maybe<Scalars['String']['output']>;
|
|
425
|
+
talkId: Scalars['Int']['output'];
|
|
426
|
+
};
|
|
427
|
+
export type DrozbotTalkAnalysisDatasetRow = {
|
|
428
|
+
bot?: Maybe<Scalars['String']['output']>;
|
|
429
|
+
botMsgType?: Maybe<Scalars['String']['output']>;
|
|
430
|
+
createdDate?: Maybe<Scalars['String']['output']>;
|
|
431
|
+
id?: Maybe<Scalars['String']['output']>;
|
|
432
|
+
typeOfNlp?: Maybe<Scalars['String']['output']>;
|
|
433
|
+
user?: Maybe<Scalars['String']['output']>;
|
|
434
|
+
userMsgType?: Maybe<Scalars['String']['output']>;
|
|
435
|
+
};
|
|
436
|
+
export type DrozbotTalkAnalysisEvaluation = {
|
|
437
|
+
coherent: Scalars['Boolean']['output'];
|
|
438
|
+
confidenceScore: Scalars['Float']['output'];
|
|
439
|
+
criticalIssues: Array<Scalars['String']['output']>;
|
|
440
|
+
evaluatedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
441
|
+
grounded: Scalars['Boolean']['output'];
|
|
442
|
+
model?: Maybe<Scalars['String']['output']>;
|
|
443
|
+
passed: Scalars['Boolean']['output'];
|
|
444
|
+
reasoning: Scalars['String']['output'];
|
|
445
|
+
threshold: Scalars['Float']['output'];
|
|
446
|
+
};
|
|
447
|
+
export type DrozbotTalkAnalysisIntent = {
|
|
448
|
+
dominantIntent?: Maybe<Scalars['String']['output']>;
|
|
449
|
+
globalConfidence?: Maybe<Scalars['Int']['output']>;
|
|
450
|
+
justification?: Maybe<Scalars['String']['output']>;
|
|
451
|
+
secondaryIntents: Array<Scalars['String']['output']>;
|
|
452
|
+
};
|
|
453
|
+
export type DrozbotTalkAnalysisPayload = {
|
|
454
|
+
conversation: DrozbotTalkAnalysisConversation;
|
|
455
|
+
};
|
|
456
|
+
/**
|
|
457
|
+
* Overall satisfaction/quality rating scale. Used for CSAT status and service quality assessment.
|
|
458
|
+
* Values coincide with CustomerEffortLabel but represent a distinct concept — satisfaction can be
|
|
459
|
+
* poor even when effort was low, and vice versa.
|
|
460
|
+
*/
|
|
461
|
+
export declare enum DrozbotTalkAnalysisSatisfactionLevel {
|
|
462
|
+
Excellent = "excellent",
|
|
463
|
+
Good = "good",
|
|
464
|
+
Poor = "poor",
|
|
465
|
+
Regular = "regular"
|
|
466
|
+
}
|
|
467
|
+
export declare enum DrozbotTalkAnalysisSentiment {
|
|
468
|
+
Negative = "negative",
|
|
469
|
+
Neutral = "neutral",
|
|
470
|
+
Positive = "positive"
|
|
471
|
+
}
|
|
472
|
+
export type DrozbotTalkAnalysisSentimentData = {
|
|
473
|
+
averageSentiment: Scalars['String']['output'];
|
|
474
|
+
finalSentiment?: Maybe<Scalars['String']['output']>;
|
|
475
|
+
initialSentiment?: Maybe<Scalars['String']['output']>;
|
|
476
|
+
observation?: Maybe<Scalars['String']['output']>;
|
|
477
|
+
};
|
|
478
|
+
export type DrozbotTalkAnalysisServiceQuality = {
|
|
479
|
+
breakdown: DrozbotTalkAnalysisBreakdown;
|
|
480
|
+
csatFinal?: Maybe<Scalars['Float']['output']>;
|
|
481
|
+
reason?: Maybe<Scalars['String']['output']>;
|
|
482
|
+
status?: Maybe<Scalars['String']['output']>;
|
|
483
|
+
};
|
|
484
|
+
export type EvaluateDrozbotTalkAnalysisOutputInput = {
|
|
485
|
+
botId: Scalars['Int']['input'];
|
|
486
|
+
finalOutput?: InputMaybe<Scalars['JSON']['input']>;
|
|
487
|
+
processedData?: InputMaybe<Scalars['JSON']['input']>;
|
|
488
|
+
rawData?: InputMaybe<Scalars['JSON']['input']>;
|
|
489
|
+
talkId: Scalars['Int']['input'];
|
|
490
|
+
threshold?: InputMaybe<Scalars['Float']['input']>;
|
|
491
|
+
};
|
|
320
492
|
export type I18nText = {
|
|
321
493
|
lang: Scalars['Locale']['output'];
|
|
322
494
|
value: Scalars['String']['output'];
|
|
@@ -345,10 +517,12 @@ export type IntentDictionaryEntityInput = {
|
|
|
345
517
|
};
|
|
346
518
|
export type Mutation = {
|
|
347
519
|
activeTrigger?: Maybe<Scalars['Void']['output']>;
|
|
520
|
+
analyzeDrozbotTalk: DrozbotTalkAnalysis;
|
|
348
521
|
createDrozBotInstance: DrozBotInstance;
|
|
349
522
|
createDrozBotTicket: DrozBotTicket;
|
|
350
523
|
createDrozBotTicketComment: DrozBotTicketComment;
|
|
351
524
|
createDrozBotTicketComments: Array<DrozBotTicketComment>;
|
|
525
|
+
evaluateDrozbotTalkAnalysisOutput: DrozbotTalkAnalysisEvaluation;
|
|
352
526
|
predictIntent?: Maybe<Intent>;
|
|
353
527
|
registerRootCredential?: Maybe<Scalars['Void']['output']>;
|
|
354
528
|
removeDrozBotInstance: DrozBotInstance;
|
|
@@ -356,6 +530,8 @@ export type Mutation = {
|
|
|
356
530
|
runDrozbotAiAction: DrozbotAiActionResult;
|
|
357
531
|
runDrozbotAiActionHumanizedAnswer: DrozbotAiHumanizedAnswerResult;
|
|
358
532
|
syncChatbotConversations: SyncChatbotConversationsResult;
|
|
533
|
+
triggerDrozbotTalkAnalysisBatch: Scalars['Int']['output'];
|
|
534
|
+
triggerDrozbotTalkAnalysisIngest: Scalars['Int']['output'];
|
|
359
535
|
updateDrozBotInstance: DrozBotInstance;
|
|
360
536
|
upsertIntentDictionary?: Maybe<IntentDictionary>;
|
|
361
537
|
version?: Maybe<Scalars['String']['output']>;
|
|
@@ -363,6 +539,9 @@ export type Mutation = {
|
|
|
363
539
|
export type MutationActiveTriggerArgs = {
|
|
364
540
|
input: ActiveTriggerInput;
|
|
365
541
|
};
|
|
542
|
+
export type MutationAnalyzeDrozbotTalkArgs = {
|
|
543
|
+
input: AnalyzeDrozbotTalkInput;
|
|
544
|
+
};
|
|
366
545
|
export type MutationCreateDrozBotInstanceArgs = {
|
|
367
546
|
input: CreateDrozBotInstanceInput;
|
|
368
547
|
};
|
|
@@ -375,6 +554,9 @@ export type MutationCreateDrozBotTicketCommentArgs = {
|
|
|
375
554
|
export type MutationCreateDrozBotTicketCommentsArgs = {
|
|
376
555
|
input: CreateDrozBotTicketCommentsInput;
|
|
377
556
|
};
|
|
557
|
+
export type MutationEvaluateDrozbotTalkAnalysisOutputArgs = {
|
|
558
|
+
input: EvaluateDrozbotTalkAnalysisOutputInput;
|
|
559
|
+
};
|
|
378
560
|
export type MutationPredictIntentArgs = {
|
|
379
561
|
input: PredictIntentInput;
|
|
380
562
|
};
|
|
@@ -396,6 +578,9 @@ export type MutationRunDrozbotAiActionHumanizedAnswerArgs = {
|
|
|
396
578
|
export type MutationSyncChatbotConversationsArgs = {
|
|
397
579
|
input: SyncChatbotConversationsInput;
|
|
398
580
|
};
|
|
581
|
+
export type MutationTriggerDrozbotTalkAnalysisIngestArgs = {
|
|
582
|
+
botId?: InputMaybe<Scalars['Int']['input']>;
|
|
583
|
+
};
|
|
399
584
|
export type MutationUpdateDrozBotInstanceArgs = {
|
|
400
585
|
input: UpdateDrozBotInstanceInput;
|
|
401
586
|
};
|
|
@@ -431,29 +616,53 @@ export type PredictIntentInput = {
|
|
|
431
616
|
};
|
|
432
617
|
export type Query = {
|
|
433
618
|
app?: Maybe<Scalars['DRN']['output']>;
|
|
619
|
+
drozbotAiTalkAnalysisInputs: Array<DrozbotAiTalkAnalysisInput>;
|
|
620
|
+
drozbotAiTalkAnalysisPendingRetries: Array<DrozbotAiTalkAnalysisInput>;
|
|
621
|
+
drozbotTalkAnalysisIntentions: Array<Scalars['String']['output']>;
|
|
622
|
+
fetchDrozbotTalkAnalysisDataset: Array<DrozbotTalkAnalysisDatasetItem>;
|
|
434
623
|
getCustomerByPhone?: Maybe<DrozBotCustomer>;
|
|
435
624
|
getDrozBotInstance?: Maybe<DrozBotInstance>;
|
|
625
|
+
getDrozbotTalkAnalysis?: Maybe<DrozbotTalkAnalysis>;
|
|
436
626
|
getHttpEndpoint?: Maybe<Scalars['String']['output']>;
|
|
437
627
|
getIntentDictionary?: Maybe<IntentDictionary>;
|
|
438
628
|
getWhatsAppBotDetails?: Maybe<DrozBotWhatsAppBot>;
|
|
439
629
|
listDrozBotInstances: Array<Maybe<DrozBotInstance>>;
|
|
630
|
+
listDrozbotTalkAnalyses: DrozbotTalkAnalysisConnection;
|
|
440
631
|
listIntentDictionary: Array<Maybe<IntentDictionary>>;
|
|
441
632
|
listWhatsAppBotTemplates: Array<DrozBotWhatsAppTemplate>;
|
|
442
633
|
listWhatsAppBots: Array<DrozBotWhatsAppBot>;
|
|
443
634
|
version?: Maybe<Scalars['String']['output']>;
|
|
444
635
|
};
|
|
636
|
+
export type QueryDrozbotAiTalkAnalysisInputsArgs = {
|
|
637
|
+
status?: InputMaybe<DrozbotAiTalkAnalysisProcessingStatus>;
|
|
638
|
+
};
|
|
639
|
+
export type QueryDrozbotTalkAnalysisIntentionsArgs = {
|
|
640
|
+
botId: Scalars['Int']['input'];
|
|
641
|
+
};
|
|
642
|
+
export type QueryFetchDrozbotTalkAnalysisDatasetArgs = {
|
|
643
|
+
botId?: InputMaybe<Scalars['Int']['input']>;
|
|
644
|
+
};
|
|
445
645
|
export type QueryGetCustomerByPhoneArgs = {
|
|
446
646
|
phone: Scalars['PhoneNumber']['input'];
|
|
447
647
|
};
|
|
448
648
|
export type QueryGetDrozBotInstanceArgs = {
|
|
449
649
|
id: Scalars['ID']['input'];
|
|
450
650
|
};
|
|
651
|
+
export type QueryGetDrozbotTalkAnalysisArgs = {
|
|
652
|
+
botId: Scalars['Int']['input'];
|
|
653
|
+
talkId: Scalars['Int']['input'];
|
|
654
|
+
};
|
|
451
655
|
export type QueryGetIntentDictionaryArgs = {
|
|
452
656
|
id: Scalars['ID']['input'];
|
|
453
657
|
};
|
|
454
658
|
export type QueryGetWhatsAppBotDetailsArgs = {
|
|
455
659
|
id: Scalars['ID']['input'];
|
|
456
660
|
};
|
|
661
|
+
export type QueryListDrozbotTalkAnalysesArgs = {
|
|
662
|
+
botId: Scalars['Int']['input'];
|
|
663
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
664
|
+
next?: InputMaybe<Scalars['Base64']['input']>;
|
|
665
|
+
};
|
|
457
666
|
export type QueryListWhatsAppBotTemplatesArgs = {
|
|
458
667
|
id: Scalars['ID']['input'];
|
|
459
668
|
};
|
|
@@ -543,6 +752,12 @@ export declare enum Typenames {
|
|
|
543
752
|
DrozBotRootAuth = "DrozBotRootAuth",
|
|
544
753
|
DrozBotSession = "DrozBotSession",
|
|
545
754
|
DrozbotAiAction = "DrozbotAiAction",
|
|
755
|
+
DrozbotAiTalkAnalysis = "DrozbotAiTalkAnalysis",
|
|
756
|
+
DrozbotAiTalkAnalysisInput = "DrozbotAiTalkAnalysisInput",
|
|
757
|
+
DrozbotTalkAnalysis = "DrozbotTalkAnalysis",
|
|
758
|
+
DrozbotTalkAnalysisBatchJob = "DrozbotTalkAnalysisBatchJob",
|
|
759
|
+
DrozbotTalkAnalysisEvaluation = "DrozbotTalkAnalysisEvaluation",
|
|
760
|
+
DrozbotTalkAnalysisIntention = "DrozbotTalkAnalysisIntention",
|
|
546
761
|
GraphqlConnections = "GraphqlConnections",
|
|
547
762
|
GraphqlSubscriptions = "GraphqlSubscriptions",
|
|
548
763
|
IntentDictionary = "IntentDictionary"
|
|
@@ -668,6 +883,85 @@ export type PredictIntentMutationVariables = Exact<{
|
|
|
668
883
|
export type PredictIntentMutation = {
|
|
669
884
|
predictIntent?: Maybe<IntentFragment>;
|
|
670
885
|
};
|
|
886
|
+
export type DrozbotTalkAnalysisInputFragment = (Pick<DrozbotAiTalkAnalysisInput, 'talkId' | 'botId' | 'processingStatus' | 'batchJobId' | 'submittedAt' | 'errorMessage' | 'retryCount'> & {
|
|
887
|
+
attempts: Array<Pick<DrozbotTalkAnalysisAttempt, 'errorMessage' | 'failedAt' | 'batchJobId' | 'batchCustomId'>>;
|
|
888
|
+
});
|
|
889
|
+
export type DrozbotTalkAnalysisEvaluationFragment = Pick<DrozbotTalkAnalysisEvaluation, 'model' | 'evaluatedAt' | 'confidenceScore' | 'threshold' | 'passed' | 'grounded' | 'coherent' | 'reasoning' | 'criticalIssues'>;
|
|
890
|
+
export type DrozbotTalkAnalysisFragment = (Pick<DrozbotTalkAnalysis, 'talkId' | 'botId' | 'status' | 'createdDate' | 'modelUsed'> & {
|
|
891
|
+
analysis: {
|
|
892
|
+
conversation: {
|
|
893
|
+
aggregates: Pick<DrozbotTalkAnalysisAggregates, 'csatFinal' | 'csatStatus' | 'initialSentiment' | 'finalSentiment' | 'topIntents'>;
|
|
894
|
+
serviceQuality: (Pick<DrozbotTalkAnalysisServiceQuality, 'status' | 'csatFinal' | 'reason'> & {
|
|
895
|
+
breakdown: Pick<DrozbotTalkAnalysisBreakdown, 'clarityPrecision' | 'cesScore' | 'cesLabel' | 'csatScale' | 'abandonmentType' | 'notEvaluable'>;
|
|
896
|
+
});
|
|
897
|
+
sentiment: Pick<DrozbotTalkAnalysisSentimentData, 'initialSentiment' | 'averageSentiment' | 'finalSentiment' | 'observation'>;
|
|
898
|
+
intent: Pick<DrozbotTalkAnalysisIntent, 'dominantIntent' | 'globalConfidence' | 'justification' | 'secondaryIntents'>;
|
|
899
|
+
};
|
|
900
|
+
};
|
|
901
|
+
evaluation?: Maybe<DrozbotTalkAnalysisEvaluationFragment>;
|
|
902
|
+
});
|
|
903
|
+
export type FetchDrozbotTalkAnalysisDatasetQueryVariables = Exact<{
|
|
904
|
+
botId?: InputMaybe<Scalars['Int']['input']>;
|
|
905
|
+
}>;
|
|
906
|
+
export type FetchDrozbotTalkAnalysisDatasetQuery = {
|
|
907
|
+
fetchDrozbotTalkAnalysisDataset: Array<(Pick<DrozbotTalkAnalysisDatasetItem, 'talkId' | 'botId' | 'status' | 'createdDate'> & {
|
|
908
|
+
rows: Array<Pick<DrozbotTalkAnalysisDatasetRow, 'id' | 'createdDate' | 'bot' | 'botMsgType' | 'user' | 'userMsgType' | 'typeOfNlp'>>;
|
|
909
|
+
})>;
|
|
910
|
+
};
|
|
911
|
+
export type DrozbotAiTalkAnalysisInputsQueryVariables = Exact<{
|
|
912
|
+
status?: InputMaybe<DrozbotAiTalkAnalysisProcessingStatus>;
|
|
913
|
+
}>;
|
|
914
|
+
export type DrozbotAiTalkAnalysisInputsQuery = {
|
|
915
|
+
drozbotAiTalkAnalysisInputs: Array<DrozbotTalkAnalysisInputFragment>;
|
|
916
|
+
};
|
|
917
|
+
export type DrozbotAiTalkAnalysisPendingRetriesQueryVariables = Exact<{
|
|
918
|
+
[key: string]: never;
|
|
919
|
+
}>;
|
|
920
|
+
export type DrozbotAiTalkAnalysisPendingRetriesQuery = {
|
|
921
|
+
drozbotAiTalkAnalysisPendingRetries: Array<DrozbotTalkAnalysisInputFragment>;
|
|
922
|
+
};
|
|
923
|
+
export type DrozbotTalkAnalysisIntentionsQueryVariables = Exact<{
|
|
924
|
+
botId: Scalars['Int']['input'];
|
|
925
|
+
}>;
|
|
926
|
+
export type DrozbotTalkAnalysisIntentionsQuery = Pick<Query, 'drozbotTalkAnalysisIntentions'>;
|
|
927
|
+
export type GetDrozbotTalkAnalysisQueryVariables = Exact<{
|
|
928
|
+
talkId: Scalars['Int']['input'];
|
|
929
|
+
botId: Scalars['Int']['input'];
|
|
930
|
+
}>;
|
|
931
|
+
export type GetDrozbotTalkAnalysisQuery = {
|
|
932
|
+
getDrozbotTalkAnalysis?: Maybe<DrozbotTalkAnalysisFragment>;
|
|
933
|
+
};
|
|
934
|
+
export type ListDrozbotTalkAnalysesQueryVariables = Exact<{
|
|
935
|
+
botId: Scalars['Int']['input'];
|
|
936
|
+
next?: InputMaybe<Scalars['Base64']['input']>;
|
|
937
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
938
|
+
}>;
|
|
939
|
+
export type ListDrozbotTalkAnalysesQuery = {
|
|
940
|
+
listDrozbotTalkAnalyses: {
|
|
941
|
+
nodes: Array<DrozbotTalkAnalysisFragment>;
|
|
942
|
+
pageInfo: Pick<PageInfo, 'hasNext' | 'next'>;
|
|
943
|
+
};
|
|
944
|
+
};
|
|
945
|
+
export type TriggerDrozbotTalkAnalysisIngestMutationVariables = Exact<{
|
|
946
|
+
botId?: InputMaybe<Scalars['Int']['input']>;
|
|
947
|
+
}>;
|
|
948
|
+
export type TriggerDrozbotTalkAnalysisIngestMutation = Pick<Mutation, 'triggerDrozbotTalkAnalysisIngest'>;
|
|
949
|
+
export type TriggerDrozbotTalkAnalysisBatchMutationVariables = Exact<{
|
|
950
|
+
[key: string]: never;
|
|
951
|
+
}>;
|
|
952
|
+
export type TriggerDrozbotTalkAnalysisBatchMutation = Pick<Mutation, 'triggerDrozbotTalkAnalysisBatch'>;
|
|
953
|
+
export type AnalyzeDrozbotTalkMutationVariables = Exact<{
|
|
954
|
+
input: AnalyzeDrozbotTalkInput;
|
|
955
|
+
}>;
|
|
956
|
+
export type AnalyzeDrozbotTalkMutation = {
|
|
957
|
+
analyzeDrozbotTalk: DrozbotTalkAnalysisFragment;
|
|
958
|
+
};
|
|
959
|
+
export type EvaluateDrozbotTalkAnalysisOutputMutationVariables = Exact<{
|
|
960
|
+
input: EvaluateDrozbotTalkAnalysisOutputInput;
|
|
961
|
+
}>;
|
|
962
|
+
export type EvaluateDrozbotTalkAnalysisOutputMutation = {
|
|
963
|
+
evaluateDrozbotTalkAnalysisOutput: DrozbotTalkAnalysisEvaluationFragment;
|
|
964
|
+
};
|
|
671
965
|
export type DrozBotWhatsAppBotFragment = Pick<DrozBotWhatsAppBot, 'id' | 'name' | 'enabled' | 'deleted' | 'channel' | 'providerChannel' | 'language' | 'phone'>;
|
|
672
966
|
export type DrozBotWhatsAppTemplateFragment = Pick<DrozBotWhatsAppTemplate, 'id' | 'templateName' | 'content' | 'contentButton' | 'language' | 'deleted' | 'approved' | 'type'>;
|
|
673
967
|
export type ListWhatsAppBotsQueryVariables = Exact<{
|
|
@@ -702,6 +996,9 @@ export declare const DrozBotTicketCommentFragmentDoc = "\n fragment drozBotTi
|
|
|
702
996
|
export declare const DrozBotCustomerFragmentDoc = "\n fragment drozBotCustomer on DrozBotCustomer {\n id\n name\n phones\n}\n ";
|
|
703
997
|
export declare const IntentDictionaryFragmentDoc = "\n fragment intentDictionary on IntentDictionary {\n id\n entities {\n label\n keys\n }\n createdAt\n updatedAt\n}\n ";
|
|
704
998
|
export declare const IntentFragmentDoc = "\n fragment intent on Intent {\n label\n score\n}\n ";
|
|
999
|
+
export declare const DrozbotTalkAnalysisInputFragmentDoc = "\n fragment drozbotTalkAnalysisInput on DrozbotAiTalkAnalysisInput {\n talkId\n botId\n processingStatus\n batchJobId\n submittedAt\n errorMessage\n retryCount\n attempts {\n errorMessage\n failedAt\n batchJobId\n batchCustomId\n }\n}\n ";
|
|
1000
|
+
export declare const DrozbotTalkAnalysisEvaluationFragmentDoc = "\n fragment drozbotTalkAnalysisEvaluation on DrozbotTalkAnalysisEvaluation {\n model\n evaluatedAt\n confidenceScore\n threshold\n passed\n grounded\n coherent\n reasoning\n criticalIssues\n}\n ";
|
|
1001
|
+
export declare const DrozbotTalkAnalysisFragmentDoc = "\n fragment drozbotTalkAnalysis on DrozbotTalkAnalysis {\n talkId\n botId\n status\n createdDate\n modelUsed\n analysis {\n conversation {\n aggregates {\n csatFinal\n csatStatus\n initialSentiment\n finalSentiment\n topIntents\n }\n serviceQuality {\n status\n csatFinal\n reason\n breakdown {\n clarityPrecision\n cesScore\n cesLabel\n csatScale\n abandonmentType\n notEvaluable\n }\n }\n sentiment {\n initialSentiment\n averageSentiment\n finalSentiment\n observation\n }\n intent {\n dominantIntent\n globalConfidence\n justification\n secondaryIntents\n }\n }\n }\n evaluation {\n ...drozbotTalkAnalysisEvaluation\n }\n}\n ";
|
|
705
1002
|
export declare const DrozBotWhatsAppBotFragmentDoc = "\n fragment drozBotWhatsAppBot on DrozBotWhatsAppBot {\n id\n name\n enabled\n deleted\n channel\n providerChannel\n language\n phone\n}\n ";
|
|
706
1003
|
export declare const DrozBotWhatsAppTemplateFragmentDoc = "\n fragment drozBotWhatsAppTemplate on DrozBotWhatsAppTemplate {\n id\n templateName\n content\n contentButton\n language\n deleted\n approved\n type\n}\n ";
|
|
707
1004
|
export declare const RunDrozbotAiActionDocument = "\n mutation runDrozbotAiAction($input: RunAiActionInput!) {\n runDrozbotAiAction(input: $input) {\n actions\n setVariables {\n ...aiActionVariableValue\n }\n missingVariables\n message_to_user\n context\n }\n}\n \n fragment aiActionVariableValue on AiActionVariableValue {\n key\n value\n}\n ";
|
|
@@ -721,6 +1018,16 @@ export declare const GetIntentDictionaryDocument = "\n query getIntentDiction
|
|
|
721
1018
|
export declare const ListIntentDictionaryDocument = "\n query listIntentDictionary {\n listIntentDictionary {\n ...intentDictionary\n }\n}\n \n fragment intentDictionary on IntentDictionary {\n id\n entities {\n label\n keys\n }\n createdAt\n updatedAt\n}\n ";
|
|
722
1019
|
export declare const UpsertIntentDictionaryDocument = "\n mutation upsertIntentDictionary($input: UpsertIntentDictionaryInput!) {\n upsertIntentDictionary(input: $input) {\n ...intentDictionary\n }\n}\n \n fragment intentDictionary on IntentDictionary {\n id\n entities {\n label\n keys\n }\n createdAt\n updatedAt\n}\n ";
|
|
723
1020
|
export declare const PredictIntentDocument = "\n mutation predictIntent($input: PredictIntentInput!) {\n predictIntent(input: $input) {\n ...intent\n }\n}\n \n fragment intent on Intent {\n label\n score\n}\n ";
|
|
1021
|
+
export declare const FetchDrozbotTalkAnalysisDatasetDocument = "\n query fetchDrozbotTalkAnalysisDataset($botId: Int) {\n fetchDrozbotTalkAnalysisDataset(botId: $botId) {\n talkId\n botId\n status\n createdDate\n rows {\n id\n createdDate\n bot\n botMsgType\n user\n userMsgType\n typeOfNlp\n }\n }\n}\n ";
|
|
1022
|
+
export declare const DrozbotAiTalkAnalysisInputsDocument = "\n query drozbotAiTalkAnalysisInputs($status: DrozbotAiTalkAnalysisProcessingStatus) {\n drozbotAiTalkAnalysisInputs(status: $status) {\n ...drozbotTalkAnalysisInput\n }\n}\n \n fragment drozbotTalkAnalysisInput on DrozbotAiTalkAnalysisInput {\n talkId\n botId\n processingStatus\n batchJobId\n submittedAt\n errorMessage\n retryCount\n attempts {\n errorMessage\n failedAt\n batchJobId\n batchCustomId\n }\n}\n ";
|
|
1023
|
+
export declare const DrozbotAiTalkAnalysisPendingRetriesDocument = "\n query drozbotAiTalkAnalysisPendingRetries {\n drozbotAiTalkAnalysisPendingRetries {\n ...drozbotTalkAnalysisInput\n }\n}\n \n fragment drozbotTalkAnalysisInput on DrozbotAiTalkAnalysisInput {\n talkId\n botId\n processingStatus\n batchJobId\n submittedAt\n errorMessage\n retryCount\n attempts {\n errorMessage\n failedAt\n batchJobId\n batchCustomId\n }\n}\n ";
|
|
1024
|
+
export declare const DrozbotTalkAnalysisIntentionsDocument = "\n query drozbotTalkAnalysisIntentions($botId: Int!) {\n drozbotTalkAnalysisIntentions(botId: $botId)\n}\n ";
|
|
1025
|
+
export declare const GetDrozbotTalkAnalysisDocument = "\n query getDrozbotTalkAnalysis($talkId: Int!, $botId: Int!) {\n getDrozbotTalkAnalysis(talkId: $talkId, botId: $botId) {\n ...drozbotTalkAnalysis\n }\n}\n \n fragment drozbotTalkAnalysis on DrozbotTalkAnalysis {\n talkId\n botId\n status\n createdDate\n modelUsed\n analysis {\n conversation {\n aggregates {\n csatFinal\n csatStatus\n initialSentiment\n finalSentiment\n topIntents\n }\n serviceQuality {\n status\n csatFinal\n reason\n breakdown {\n clarityPrecision\n cesScore\n cesLabel\n csatScale\n abandonmentType\n notEvaluable\n }\n }\n sentiment {\n initialSentiment\n averageSentiment\n finalSentiment\n observation\n }\n intent {\n dominantIntent\n globalConfidence\n justification\n secondaryIntents\n }\n }\n }\n evaluation {\n ...drozbotTalkAnalysisEvaluation\n }\n}\n \n\n fragment drozbotTalkAnalysisEvaluation on DrozbotTalkAnalysisEvaluation {\n model\n evaluatedAt\n confidenceScore\n threshold\n passed\n grounded\n coherent\n reasoning\n criticalIssues\n}\n ";
|
|
1026
|
+
export declare const ListDrozbotTalkAnalysesDocument = "\n query listDrozbotTalkAnalyses($botId: Int!, $next: Base64, $limit: Int) {\n listDrozbotTalkAnalyses(botId: $botId, next: $next, limit: $limit) {\n nodes {\n ...drozbotTalkAnalysis\n }\n pageInfo {\n hasNext\n next\n }\n }\n}\n \n fragment drozbotTalkAnalysis on DrozbotTalkAnalysis {\n talkId\n botId\n status\n createdDate\n modelUsed\n analysis {\n conversation {\n aggregates {\n csatFinal\n csatStatus\n initialSentiment\n finalSentiment\n topIntents\n }\n serviceQuality {\n status\n csatFinal\n reason\n breakdown {\n clarityPrecision\n cesScore\n cesLabel\n csatScale\n abandonmentType\n notEvaluable\n }\n }\n sentiment {\n initialSentiment\n averageSentiment\n finalSentiment\n observation\n }\n intent {\n dominantIntent\n globalConfidence\n justification\n secondaryIntents\n }\n }\n }\n evaluation {\n ...drozbotTalkAnalysisEvaluation\n }\n}\n \n\n fragment drozbotTalkAnalysisEvaluation on DrozbotTalkAnalysisEvaluation {\n model\n evaluatedAt\n confidenceScore\n threshold\n passed\n grounded\n coherent\n reasoning\n criticalIssues\n}\n ";
|
|
1027
|
+
export declare const TriggerDrozbotTalkAnalysisIngestDocument = "\n mutation triggerDrozbotTalkAnalysisIngest($botId: Int) {\n triggerDrozbotTalkAnalysisIngest(botId: $botId)\n}\n ";
|
|
1028
|
+
export declare const TriggerDrozbotTalkAnalysisBatchDocument = "\n mutation triggerDrozbotTalkAnalysisBatch {\n triggerDrozbotTalkAnalysisBatch\n}\n ";
|
|
1029
|
+
export declare const AnalyzeDrozbotTalkDocument = "\n mutation analyzeDrozbotTalk($input: AnalyzeDrozbotTalkInput!) {\n analyzeDrozbotTalk(input: $input) {\n ...drozbotTalkAnalysis\n }\n}\n \n fragment drozbotTalkAnalysis on DrozbotTalkAnalysis {\n talkId\n botId\n status\n createdDate\n modelUsed\n analysis {\n conversation {\n aggregates {\n csatFinal\n csatStatus\n initialSentiment\n finalSentiment\n topIntents\n }\n serviceQuality {\n status\n csatFinal\n reason\n breakdown {\n clarityPrecision\n cesScore\n cesLabel\n csatScale\n abandonmentType\n notEvaluable\n }\n }\n sentiment {\n initialSentiment\n averageSentiment\n finalSentiment\n observation\n }\n intent {\n dominantIntent\n globalConfidence\n justification\n secondaryIntents\n }\n }\n }\n evaluation {\n ...drozbotTalkAnalysisEvaluation\n }\n}\n \n\n fragment drozbotTalkAnalysisEvaluation on DrozbotTalkAnalysisEvaluation {\n model\n evaluatedAt\n confidenceScore\n threshold\n passed\n grounded\n coherent\n reasoning\n criticalIssues\n}\n ";
|
|
1030
|
+
export declare const EvaluateDrozbotTalkAnalysisOutputDocument = "\n mutation evaluateDrozbotTalkAnalysisOutput($input: EvaluateDrozbotTalkAnalysisOutputInput!) {\n evaluateDrozbotTalkAnalysisOutput(input: $input) {\n ...drozbotTalkAnalysisEvaluation\n }\n}\n \n fragment drozbotTalkAnalysisEvaluation on DrozbotTalkAnalysisEvaluation {\n model\n evaluatedAt\n confidenceScore\n threshold\n passed\n grounded\n coherent\n reasoning\n criticalIssues\n}\n ";
|
|
724
1031
|
export declare const ListWhatsAppBotsDocument = "\n query listWhatsAppBots {\n listWhatsAppBots {\n ...drozBotWhatsAppBot\n }\n}\n \n fragment drozBotWhatsAppBot on DrozBotWhatsAppBot {\n id\n name\n enabled\n deleted\n channel\n providerChannel\n language\n phone\n}\n ";
|
|
725
1032
|
export declare const GetWhatsAppBotDetailsDocument = "\n query getWhatsAppBotDetails($id: ID!) {\n getWhatsAppBotDetails(id: $id) {\n ...drozBotWhatsAppBot\n }\n}\n \n fragment drozBotWhatsAppBot on DrozBotWhatsAppBot {\n id\n name\n enabled\n deleted\n channel\n providerChannel\n language\n phone\n}\n ";
|
|
726
1033
|
export declare const ListWhatsAppBotTemplatesDocument = "\n query listWhatsAppBotTemplates($id: ID!) {\n listWhatsAppBotTemplates(id: $id) {\n ...drozBotWhatsAppTemplate\n }\n}\n \n fragment drozBotWhatsAppTemplate on DrozBotWhatsAppTemplate {\n id\n templateName\n content\n contentButton\n language\n deleted\n approved\n type\n}\n ";
|
|
@@ -745,6 +1052,16 @@ export declare function getSdk<C>(requester: Requester<C>): {
|
|
|
745
1052
|
listIntentDictionary(variables?: ListIntentDictionaryQueryVariables, options?: C): Promise<ListIntentDictionaryQuery>;
|
|
746
1053
|
upsertIntentDictionary(variables: UpsertIntentDictionaryMutationVariables, options?: C): Promise<UpsertIntentDictionaryMutation>;
|
|
747
1054
|
predictIntent(variables: PredictIntentMutationVariables, options?: C): Promise<PredictIntentMutation>;
|
|
1055
|
+
fetchDrozbotTalkAnalysisDataset(variables?: FetchDrozbotTalkAnalysisDatasetQueryVariables, options?: C): Promise<FetchDrozbotTalkAnalysisDatasetQuery>;
|
|
1056
|
+
drozbotAiTalkAnalysisInputs(variables?: DrozbotAiTalkAnalysisInputsQueryVariables, options?: C): Promise<DrozbotAiTalkAnalysisInputsQuery>;
|
|
1057
|
+
drozbotAiTalkAnalysisPendingRetries(variables?: DrozbotAiTalkAnalysisPendingRetriesQueryVariables, options?: C): Promise<DrozbotAiTalkAnalysisPendingRetriesQuery>;
|
|
1058
|
+
drozbotTalkAnalysisIntentions(variables: DrozbotTalkAnalysisIntentionsQueryVariables, options?: C): Promise<DrozbotTalkAnalysisIntentionsQuery>;
|
|
1059
|
+
getDrozbotTalkAnalysis(variables: GetDrozbotTalkAnalysisQueryVariables, options?: C): Promise<GetDrozbotTalkAnalysisQuery>;
|
|
1060
|
+
listDrozbotTalkAnalyses(variables: ListDrozbotTalkAnalysesQueryVariables, options?: C): Promise<ListDrozbotTalkAnalysesQuery>;
|
|
1061
|
+
triggerDrozbotTalkAnalysisIngest(variables?: TriggerDrozbotTalkAnalysisIngestMutationVariables, options?: C): Promise<TriggerDrozbotTalkAnalysisIngestMutation>;
|
|
1062
|
+
triggerDrozbotTalkAnalysisBatch(variables?: TriggerDrozbotTalkAnalysisBatchMutationVariables, options?: C): Promise<TriggerDrozbotTalkAnalysisBatchMutation>;
|
|
1063
|
+
analyzeDrozbotTalk(variables: AnalyzeDrozbotTalkMutationVariables, options?: C): Promise<AnalyzeDrozbotTalkMutation>;
|
|
1064
|
+
evaluateDrozbotTalkAnalysisOutput(variables: EvaluateDrozbotTalkAnalysisOutputMutationVariables, options?: C): Promise<EvaluateDrozbotTalkAnalysisOutputMutation>;
|
|
748
1065
|
listWhatsAppBots(variables?: ListWhatsAppBotsQueryVariables, options?: C): Promise<ListWhatsAppBotsQuery>;
|
|
749
1066
|
getWhatsAppBotDetails(variables: GetWhatsAppBotDetailsQueryVariables, options?: C): Promise<GetWhatsAppBotDetailsQuery>;
|
|
750
1067
|
listWhatsAppBotTemplates(variables: ListWhatsAppBotTemplatesQueryVariables, options?: C): Promise<ListWhatsAppBotTemplatesQuery>;
|