@droz-js/sdk 0.26.17 → 0.26.19
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/drozadmin.d.ts +22 -0
- package/src/drozai.d.ts +9 -0
- package/src/sdks/ai.d.ts +133 -17
- package/src/sdks/ai.js +100 -4
- package/src/sdks/drozchat.d.ts +287 -0
- package/src/sdks/drozchat.js +93 -4
- package/src/sdks/drozcommons.d.ts +148 -0
- package/src/sdks/drozcommons.js +123 -2
package/src/sdks/ai.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.serviceName = exports.RemoveQnAInstanceDocument = exports.UpdateQnAInstanceDocument = exports.CreateQnAInstanceDocument = exports.TestQnAInstanceDocument = exports.ListQnAInstancesDocument = exports.GetQnAInstanceDocument = exports.TestNlpInstanceDocument = exports.RemoveNlpInstanceDocument = exports.UpdateNlpInstanceDocument = exports.CreateNlpInstanceDocument = exports.ListNlpInstancesDocument = void 0;
|
|
4
|
+
exports.AiAgentUseCaseFragmentDoc = exports.AiAgentListingMetricsFieldsFragmentDoc = exports.AiAgentVersionWithSpecFragmentDoc = exports.AiAgentToolExclusionFragmentDoc = exports.AiAgentSpecFragmentDoc = exports.AiAgentVersionFragmentDoc = exports.AiAgentSummaryFragmentDoc = exports.Typenames = exports.ToolParameterType = exports.ToolParameterFormat = exports.ToolEffect = exports.ToolAvailability = exports.ToolApprovalMode = exports.TonePreset = exports.ParameterGrounding = exports.Can = exports.BudgetExceededAction = exports.AppInstanceStatus = exports.AiAgentVersionStatus = exports.AiAgentVariationUnit = exports.AiAgentUnbackedClaimAction = exports.AiAgentTechnicalFailure = exports.AiAgentSortDirection = exports.AiAgentSentiment = exports.AiAgentScoreBand = exports.AiAgentRiskAlert = exports.AiAgentMetricsBucket = exports.AiAgentMetricPolarity = exports.AiAgentKnowledgeFallback = exports.AiAgentHandoffReason = exports.AiAgentFrequencyLevel = exports.AiAgentExecutionAutonomy = exports.AiAgentConversationSubcategory = exports.AiAgentConversationStatus = exports.AiAgentConversationState = exports.AiAgentConversationSortField = exports.AiAgentConversationClass = exports.AiAgentContactReasonSource = exports.AiAgentCheckRunStatus = exports.AiAgentChannelType = exports.AiAgentBusinessHoursWeekday = exports.AiAgentBusinessHoursStatus = exports.AiAgentBusinessHoursSource = exports.AiAgentBusinessHoursAlert = exports.AiAgentApprovalStatus = exports.AiAgentApprovalRouting = exports.AiAgentApprovalOutcome = exports.AiAgentApprovalDecision = exports.AiAgentAnalysisFailureReason = exports.AiAgentActionClaim = void 0;
|
|
5
|
+
exports.SaveAiAgentScenarioDocument = exports.RemoveAiAgentScenarioDocument = exports.UnregisterAiAgentToolDocument = exports.RegisterAiAgentToolDocument = exports.DecideAiAgentApprovalDocument = exports.ResolveAiAgentApprovalDocument = exports.ListAiAgentApprovalsPageDocument = exports.ListAiAgentApprovalsDocument = exports.RememberAiAgentSessionFactsDocument = exports.RemoveAiAgentProcedureDocument = exports.RemoveAiAgentUseCaseDocument = exports.SaveAiAgentProcedureDocument = exports.SaveAiAgentUseCaseDocument = exports.AiAgentConversationOutcomeDocument = exports.AiAgentDashboardDocument = exports.AiAgentMetricsSeriesDocument = exports.AiAgentConversationMetricsDocument = exports.AiAgentBusinessHoursDocument = exports.AiAgentApprovalQueueAlertsDocument = exports.SetAiAgentBusinessHoursDocument = exports.AiAgentRetentionPolicyDocument = exports.SetAiAgentRetentionPolicyDocument = exports.ReindexAiAgentDashboardDocument = exports.ListAiAgentScenariosDocument = exports.AiAgentTraceDocument = exports.AiAgentUseCaseOverlapDocument = exports.ListAiAgentToolsDocument = exports.ListAiAgentProceduresDocument = exports.ListAiAgentUseCasesDocument = exports.RemoveAiAgentDocument = exports.RemoveAiAgentVersionDocument = exports.RollbackAiAgentVersionDocument = exports.UnpublishAiAgentVersionDocument = exports.PublishAiAgentVersionDocument = exports.DraftAiAgentDocument = exports.AiAgentListingMetricsDocument = exports.ListAiAgentVersionsDocument = exports.ListAiAgentsDocument = exports.QnaFragmentFragmentDoc = exports.NlpInstanceFragmentDoc = exports.AiAgentCheckRunFragmentDoc = exports.AiAgentApprovalFragmentDoc = exports.AiAgentDashboardContactReasonFragmentDoc = exports.AiAgentDashboardSentimentFragmentDoc = exports.AiAgentDashboardIndicatorFragmentDoc = exports.AiAgentBusinessHoursFragmentDoc = exports.AiAgentScenarioFragmentDoc = exports.AiAgentTraceFragmentDoc = exports.AiAgentToolFragmentDoc = exports.AiAgentProcedureFragmentDoc = void 0;
|
|
6
|
+
exports.serviceName = exports.RemoveQnAInstanceDocument = exports.UpdateQnAInstanceDocument = exports.CreateQnAInstanceDocument = exports.TestQnAInstanceDocument = exports.ListQnAInstancesDocument = exports.GetQnAInstanceDocument = exports.TestNlpInstanceDocument = exports.RemoveNlpInstanceDocument = exports.UpdateNlpInstanceDocument = exports.CreateNlpInstanceDocument = exports.ListNlpInstancesDocument = exports.GetNlpInstanceDocument = exports.ExtractImageMetadataDocument = exports.AiAgentKnowledgeBasesDocument = exports.AiAgentRoutingPreviewDocument = exports.AiAgentVersionSpecDocument = exports.AiAgentCheckLimitsDocument = exports.AiAgentAuthoringRulesDocument = exports.GetAiAgentCheckRunDocument = exports.CheckAiAgentVersionDocument = void 0;
|
|
7
7
|
exports.getSdk = getSdk;
|
|
8
8
|
var AiAgentActionClaim;
|
|
9
9
|
(function (AiAgentActionClaim) {
|
|
@@ -31,13 +31,49 @@ var AiAgentApprovalOutcome;
|
|
|
31
31
|
AiAgentApprovalOutcome["TakenByOther"] = "takenByOther";
|
|
32
32
|
AiAgentApprovalOutcome["ToolUnavailable"] = "toolUnavailable";
|
|
33
33
|
})(AiAgentApprovalOutcome || (exports.AiAgentApprovalOutcome = AiAgentApprovalOutcome = {}));
|
|
34
|
+
var AiAgentApprovalRouting;
|
|
35
|
+
(function (AiAgentApprovalRouting) {
|
|
36
|
+
AiAgentApprovalRouting["Chat"] = "CHAT";
|
|
37
|
+
AiAgentApprovalRouting["Legacy"] = "LEGACY";
|
|
38
|
+
})(AiAgentApprovalRouting || (exports.AiAgentApprovalRouting = AiAgentApprovalRouting = {}));
|
|
34
39
|
var AiAgentApprovalStatus;
|
|
35
40
|
(function (AiAgentApprovalStatus) {
|
|
36
41
|
AiAgentApprovalStatus["Approved"] = "approved";
|
|
42
|
+
AiAgentApprovalStatus["Cancelled"] = "cancelled";
|
|
37
43
|
AiAgentApprovalStatus["Expired"] = "expired";
|
|
38
44
|
AiAgentApprovalStatus["Pending"] = "pending";
|
|
39
45
|
AiAgentApprovalStatus["Rejected"] = "rejected";
|
|
46
|
+
AiAgentApprovalStatus["Requesting"] = "requesting";
|
|
47
|
+
AiAgentApprovalStatus["Unavailable"] = "unavailable";
|
|
40
48
|
})(AiAgentApprovalStatus || (exports.AiAgentApprovalStatus = AiAgentApprovalStatus = {}));
|
|
49
|
+
var AiAgentBusinessHoursAlert;
|
|
50
|
+
(function (AiAgentBusinessHoursAlert) {
|
|
51
|
+
AiAgentBusinessHoursAlert["NotConfigured"] = "NOT_CONFIGURED";
|
|
52
|
+
AiAgentBusinessHoursAlert["NotReceived"] = "NOT_RECEIVED";
|
|
53
|
+
AiAgentBusinessHoursAlert["NoDayOn"] = "NO_DAY_ON";
|
|
54
|
+
AiAgentBusinessHoursAlert["RecordRenamed"] = "RECORD_RENAMED";
|
|
55
|
+
})(AiAgentBusinessHoursAlert || (exports.AiAgentBusinessHoursAlert = AiAgentBusinessHoursAlert = {}));
|
|
56
|
+
var AiAgentBusinessHoursSource;
|
|
57
|
+
(function (AiAgentBusinessHoursSource) {
|
|
58
|
+
AiAgentBusinessHoursSource["DrozChat"] = "DROZ_CHAT";
|
|
59
|
+
AiAgentBusinessHoursSource["Manual"] = "MANUAL";
|
|
60
|
+
})(AiAgentBusinessHoursSource || (exports.AiAgentBusinessHoursSource = AiAgentBusinessHoursSource = {}));
|
|
61
|
+
var AiAgentBusinessHoursStatus;
|
|
62
|
+
(function (AiAgentBusinessHoursStatus) {
|
|
63
|
+
AiAgentBusinessHoursStatus["Inside"] = "INSIDE";
|
|
64
|
+
AiAgentBusinessHoursStatus["Outside"] = "OUTSIDE";
|
|
65
|
+
AiAgentBusinessHoursStatus["Unknown"] = "UNKNOWN";
|
|
66
|
+
})(AiAgentBusinessHoursStatus || (exports.AiAgentBusinessHoursStatus = AiAgentBusinessHoursStatus = {}));
|
|
67
|
+
var AiAgentBusinessHoursWeekday;
|
|
68
|
+
(function (AiAgentBusinessHoursWeekday) {
|
|
69
|
+
AiAgentBusinessHoursWeekday["Friday"] = "FRIDAY";
|
|
70
|
+
AiAgentBusinessHoursWeekday["Monday"] = "MONDAY";
|
|
71
|
+
AiAgentBusinessHoursWeekday["Saturday"] = "SATURDAY";
|
|
72
|
+
AiAgentBusinessHoursWeekday["Sunday"] = "SUNDAY";
|
|
73
|
+
AiAgentBusinessHoursWeekday["Thursday"] = "THURSDAY";
|
|
74
|
+
AiAgentBusinessHoursWeekday["Tuesday"] = "TUESDAY";
|
|
75
|
+
AiAgentBusinessHoursWeekday["Wednesday"] = "WEDNESDAY";
|
|
76
|
+
})(AiAgentBusinessHoursWeekday || (exports.AiAgentBusinessHoursWeekday = AiAgentBusinessHoursWeekday = {}));
|
|
41
77
|
var AiAgentChannelType;
|
|
42
78
|
(function (AiAgentChannelType) {
|
|
43
79
|
AiAgentChannelType["Email"] = "email";
|
|
@@ -277,6 +313,10 @@ var Typenames;
|
|
|
277
313
|
(function (Typenames) {
|
|
278
314
|
Typenames["AiAgentAnswerCache"] = "AiAgentAnswerCache";
|
|
279
315
|
Typenames["AiAgentApproval"] = "AiAgentApproval";
|
|
316
|
+
Typenames["AiAgentApprovalQueueCatalog"] = "AiAgentApprovalQueueCatalog";
|
|
317
|
+
Typenames["AiAgentApprovalSessionLock"] = "AiAgentApprovalSessionLock";
|
|
318
|
+
Typenames["AiAgentApprovalTaskKey"] = "AiAgentApprovalTaskKey";
|
|
319
|
+
Typenames["AiAgentBusinessHours"] = "AiAgentBusinessHours";
|
|
280
320
|
Typenames["AiAgentCheckRun"] = "AiAgentCheckRun";
|
|
281
321
|
Typenames["AiAgentConsumption"] = "AiAgentConsumption";
|
|
282
322
|
Typenames["AiAgentConsumptionMark"] = "AiAgentConsumptionMark";
|
|
@@ -288,6 +328,7 @@ var Typenames;
|
|
|
288
328
|
Typenames["AiAgentEvalReport"] = "AiAgentEvalReport";
|
|
289
329
|
Typenames["AiAgentExternalTermination"] = "AiAgentExternalTermination";
|
|
290
330
|
Typenames["AiAgentOpenConversation"] = "AiAgentOpenConversation";
|
|
331
|
+
Typenames["AiAgentPhoneBinding"] = "AiAgentPhoneBinding";
|
|
291
332
|
Typenames["AiAgentProcedure"] = "AiAgentProcedure";
|
|
292
333
|
Typenames["AiAgentRetentionPolicy"] = "AiAgentRetentionPolicy";
|
|
293
334
|
Typenames["AiAgentScenario"] = "AiAgentScenario";
|
|
@@ -312,6 +353,7 @@ exports.AiAgentSummaryFragmentDoc = `
|
|
|
312
353
|
channels
|
|
313
354
|
updatedAt
|
|
314
355
|
queuedApprovals
|
|
356
|
+
hasHumanIntervention
|
|
315
357
|
status
|
|
316
358
|
}
|
|
317
359
|
`;
|
|
@@ -365,6 +407,7 @@ exports.AiAgentSpecFragmentDoc = `
|
|
|
365
407
|
renewalMessage
|
|
366
408
|
}
|
|
367
409
|
typingIndicator
|
|
410
|
+
approvalRouting
|
|
368
411
|
}
|
|
369
412
|
`;
|
|
370
413
|
exports.AiAgentToolExclusionFragmentDoc = `
|
|
@@ -419,6 +462,7 @@ exports.AiAgentProcedureFragmentDoc = `
|
|
|
419
462
|
executionAutonomy
|
|
420
463
|
endsConversationAfterInforming
|
|
421
464
|
continuesAfterApproval
|
|
465
|
+
approvalQueueId
|
|
422
466
|
approvedReplyTemplate
|
|
423
467
|
deniedReplyTemplate
|
|
424
468
|
expiredReplyTemplate
|
|
@@ -476,7 +520,7 @@ exports.AiAgentTraceFragmentDoc = `
|
|
|
476
520
|
agentVersion
|
|
477
521
|
input
|
|
478
522
|
promptBuilderVersion
|
|
479
|
-
|
|
523
|
+
platformTextVersions
|
|
480
524
|
identificationRequired
|
|
481
525
|
promptFingerprint
|
|
482
526
|
knowledgeOrigins
|
|
@@ -515,6 +559,24 @@ exports.AiAgentScenarioFragmentDoc = `
|
|
|
515
559
|
expectations
|
|
516
560
|
}
|
|
517
561
|
`;
|
|
562
|
+
exports.AiAgentBusinessHoursFragmentDoc = `
|
|
563
|
+
fragment aiAgentBusinessHours on AiAgentBusinessHours {
|
|
564
|
+
source
|
|
565
|
+
product
|
|
566
|
+
recordId
|
|
567
|
+
days {
|
|
568
|
+
weekday
|
|
569
|
+
enabled
|
|
570
|
+
slots {
|
|
571
|
+
start
|
|
572
|
+
end
|
|
573
|
+
}
|
|
574
|
+
}
|
|
575
|
+
status
|
|
576
|
+
alert
|
|
577
|
+
receivedAt
|
|
578
|
+
}
|
|
579
|
+
`;
|
|
518
580
|
exports.AiAgentDashboardIndicatorFragmentDoc = `
|
|
519
581
|
fragment aiAgentDashboardIndicator on AiAgentDashboardIndicator {
|
|
520
582
|
value
|
|
@@ -798,6 +860,30 @@ exports.AiAgentRetentionPolicyDocument = `
|
|
|
798
860
|
}
|
|
799
861
|
}
|
|
800
862
|
`;
|
|
863
|
+
exports.SetAiAgentBusinessHoursDocument = `
|
|
864
|
+
mutation setAiAgentBusinessHours($input: SetAiAgentBusinessHoursInput!) {
|
|
865
|
+
setAiAgentBusinessHours(input: $input) {
|
|
866
|
+
...aiAgentBusinessHours
|
|
867
|
+
}
|
|
868
|
+
}
|
|
869
|
+
${exports.AiAgentBusinessHoursFragmentDoc}`;
|
|
870
|
+
exports.AiAgentApprovalQueueAlertsDocument = `
|
|
871
|
+
query aiAgentApprovalQueueAlerts {
|
|
872
|
+
aiAgentApprovalQueueAlerts {
|
|
873
|
+
aiAgentId
|
|
874
|
+
procedureId
|
|
875
|
+
procedureName
|
|
876
|
+
approvalQueueId
|
|
877
|
+
}
|
|
878
|
+
}
|
|
879
|
+
`;
|
|
880
|
+
exports.AiAgentBusinessHoursDocument = `
|
|
881
|
+
query aiAgentBusinessHours {
|
|
882
|
+
aiAgentBusinessHours {
|
|
883
|
+
...aiAgentBusinessHours
|
|
884
|
+
}
|
|
885
|
+
}
|
|
886
|
+
${exports.AiAgentBusinessHoursFragmentDoc}`;
|
|
801
887
|
exports.AiAgentConversationMetricsDocument = `
|
|
802
888
|
query aiAgentConversationMetrics($input: AiAgentConversationMetricsInput!) {
|
|
803
889
|
aiAgentConversationMetrics(input: $input) {
|
|
@@ -1155,6 +1241,7 @@ exports.AiAgentAuthoringRulesDocument = `
|
|
|
1155
1241
|
query aiAgentAuthoringRules {
|
|
1156
1242
|
aiAgentAuthoringRules {
|
|
1157
1243
|
maxAuthoredFieldLength
|
|
1244
|
+
maxToneNotesLength
|
|
1158
1245
|
maxAutomaticMessageChars
|
|
1159
1246
|
maxReplySubjectChars
|
|
1160
1247
|
knowledgeFallbacks
|
|
@@ -1365,6 +1452,15 @@ function getSdk(requester) {
|
|
|
1365
1452
|
aiAgentRetentionPolicy(variables, options) {
|
|
1366
1453
|
return requester(exports.AiAgentRetentionPolicyDocument, variables, options);
|
|
1367
1454
|
},
|
|
1455
|
+
setAiAgentBusinessHours(variables, options) {
|
|
1456
|
+
return requester(exports.SetAiAgentBusinessHoursDocument, variables, options);
|
|
1457
|
+
},
|
|
1458
|
+
aiAgentApprovalQueueAlerts(variables, options) {
|
|
1459
|
+
return requester(exports.AiAgentApprovalQueueAlertsDocument, variables, options);
|
|
1460
|
+
},
|
|
1461
|
+
aiAgentBusinessHours(variables, options) {
|
|
1462
|
+
return requester(exports.AiAgentBusinessHoursDocument, variables, options);
|
|
1463
|
+
},
|
|
1368
1464
|
aiAgentConversationMetrics(variables, options) {
|
|
1369
1465
|
return requester(exports.AiAgentConversationMetricsDocument, variables, options);
|
|
1370
1466
|
},
|
package/src/sdks/drozchat.d.ts
CHANGED
|
@@ -212,6 +212,79 @@ export declare enum AppInstanceStatus {
|
|
|
212
212
|
Failing = "Failing",
|
|
213
213
|
Inactive = "Inactive"
|
|
214
214
|
}
|
|
215
|
+
export declare enum ApprovalAlertType {
|
|
216
|
+
ApprovalQueueOverLimit = "APPROVAL_QUEUE_OVER_LIMIT",
|
|
217
|
+
Expired = "EXPIRED",
|
|
218
|
+
ExpiringSoon = "EXPIRING_SOON",
|
|
219
|
+
FallbackChannelMissing = "FALLBACK_CHANNEL_MISSING",
|
|
220
|
+
Indeterminate = "INDETERMINATE",
|
|
221
|
+
NoApproverOnline = "NO_APPROVER_ONLINE"
|
|
222
|
+
}
|
|
223
|
+
export declare enum ApprovalTaskChangeAction {
|
|
224
|
+
Created = "CREATED",
|
|
225
|
+
Removed = "REMOVED",
|
|
226
|
+
Updated = "UPDATED"
|
|
227
|
+
}
|
|
228
|
+
export declare enum ApprovalTaskChannel {
|
|
229
|
+
Other = "OTHER",
|
|
230
|
+
Web = "WEB",
|
|
231
|
+
Whatsapp = "WHATSAPP"
|
|
232
|
+
}
|
|
233
|
+
export declare enum ApprovalTaskDecision {
|
|
234
|
+
Approved = "APPROVED",
|
|
235
|
+
Rejected = "REJECTED"
|
|
236
|
+
}
|
|
237
|
+
export declare enum ApprovalTaskEventType {
|
|
238
|
+
Assigned = "ASSIGNED",
|
|
239
|
+
Cancelled = "CANCELLED",
|
|
240
|
+
Claimed = "CLAIMED",
|
|
241
|
+
ClaimExpired = "CLAIM_EXPIRED",
|
|
242
|
+
Created = "CREATED",
|
|
243
|
+
Decided = "DECIDED",
|
|
244
|
+
DivergenceFound = "DIVERGENCE_FOUND",
|
|
245
|
+
ExecutionReported = "EXECUTION_REPORTED",
|
|
246
|
+
Expired = "EXPIRED",
|
|
247
|
+
Released = "RELEASED"
|
|
248
|
+
}
|
|
249
|
+
export declare enum ApprovalTaskExecutionResult {
|
|
250
|
+
Executed = "EXECUTED",
|
|
251
|
+
Failed = "FAILED",
|
|
252
|
+
Indeterminate = "INDETERMINATE",
|
|
253
|
+
NotExecuted = "NOT_EXECUTED"
|
|
254
|
+
}
|
|
255
|
+
export declare enum ApprovalTaskMessageRole {
|
|
256
|
+
AiAgent = "AI_AGENT",
|
|
257
|
+
Customer = "CUSTOMER"
|
|
258
|
+
}
|
|
259
|
+
export declare enum ApprovalTaskRejectionReason {
|
|
260
|
+
DataMismatch = "DATA_MISMATCH",
|
|
261
|
+
Other = "OTHER",
|
|
262
|
+
OutOfPolicy = "OUT_OF_POLICY",
|
|
263
|
+
SuspectedFraud = "SUSPECTED_FRAUD"
|
|
264
|
+
}
|
|
265
|
+
export declare enum ApprovalTaskStatus {
|
|
266
|
+
Assigned = "ASSIGNED",
|
|
267
|
+
Cancelled = "CANCELLED",
|
|
268
|
+
Decided = "DECIDED",
|
|
269
|
+
Expired = "EXPIRED",
|
|
270
|
+
Open = "OPEN"
|
|
271
|
+
}
|
|
272
|
+
export declare enum ApprovalTaskTab {
|
|
273
|
+
All = "ALL",
|
|
274
|
+
Finished = "FINISHED",
|
|
275
|
+
ManualCheck = "MANUAL_CHECK",
|
|
276
|
+
Mine = "MINE",
|
|
277
|
+
Pending = "PENDING"
|
|
278
|
+
}
|
|
279
|
+
export type ApprovalTasksFilterInput = {
|
|
280
|
+
approvalQueueId?: InputMaybe<Scalars['ID']['input']>;
|
|
281
|
+
search?: InputMaybe<Scalars['String']['input']>;
|
|
282
|
+
tab: ApprovalTaskTab;
|
|
283
|
+
};
|
|
284
|
+
export type AssignApprovalTaskInput = {
|
|
285
|
+
assigneeId: Scalars['ID']['input'];
|
|
286
|
+
id: Scalars['ID']['input'];
|
|
287
|
+
};
|
|
215
288
|
export type AssignTicketInput = {
|
|
216
289
|
assigneeId: Scalars['ID']['input'];
|
|
217
290
|
channelId?: InputMaybe<Scalars['ID']['input']>;
|
|
@@ -262,6 +335,24 @@ export type BulkCloseRunsConnection = {
|
|
|
262
335
|
nodes: Array<BulkCloseRun>;
|
|
263
336
|
pageInfo: PageInfo;
|
|
264
337
|
};
|
|
338
|
+
export type BusinessHoursDayInput = {
|
|
339
|
+
enabled: Scalars['Boolean']['input'];
|
|
340
|
+
slots: Array<BusinessHoursSlotInput>;
|
|
341
|
+
weekday: BusinessHoursWeekday;
|
|
342
|
+
};
|
|
343
|
+
export type BusinessHoursSlotInput = {
|
|
344
|
+
end: Scalars['String']['input'];
|
|
345
|
+
start: Scalars['String']['input'];
|
|
346
|
+
};
|
|
347
|
+
export declare enum BusinessHoursWeekday {
|
|
348
|
+
Friday = "FRIDAY",
|
|
349
|
+
Monday = "MONDAY",
|
|
350
|
+
Saturday = "SATURDAY",
|
|
351
|
+
Sunday = "SUNDAY",
|
|
352
|
+
Thursday = "THURSDAY",
|
|
353
|
+
Tuesday = "TUESDAY",
|
|
354
|
+
Wednesday = "WEDNESDAY"
|
|
355
|
+
}
|
|
265
356
|
export declare enum Can {
|
|
266
357
|
Manage = "manage",
|
|
267
358
|
Read = "read",
|
|
@@ -300,6 +391,9 @@ export type ChatActions = {
|
|
|
300
391
|
canUnassign: Scalars['Boolean']['output'];
|
|
301
392
|
canUpdateTags: Scalars['Boolean']['output'];
|
|
302
393
|
};
|
|
394
|
+
export type ClaimApprovalTaskInput = {
|
|
395
|
+
id: Scalars['ID']['input'];
|
|
396
|
+
};
|
|
303
397
|
export type ClearCustomFieldValueInput = {
|
|
304
398
|
fieldId: Scalars['ID']['input'];
|
|
305
399
|
ticketId: Scalars['ID']['input'];
|
|
@@ -310,6 +404,13 @@ export type CloneViewInput = {
|
|
|
310
404
|
export type CloseTicketInput = {
|
|
311
405
|
ticketId: Scalars['ID']['input'];
|
|
312
406
|
};
|
|
407
|
+
export type CreateApprovalQueueInput = {
|
|
408
|
+
agentIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
409
|
+
depthLimit: Scalars['Int']['input'];
|
|
410
|
+
fallbackChannelId?: InputMaybe<Scalars['ID']['input']>;
|
|
411
|
+
groupIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
412
|
+
name: Scalars['String']['input'];
|
|
413
|
+
};
|
|
313
414
|
export type CreateBulkCloseRoutineConfigInput = {
|
|
314
415
|
batchSize: Scalars['Int']['input'];
|
|
315
416
|
cronExpression: Scalars['String']['input'];
|
|
@@ -461,6 +562,15 @@ export type CustomerSearchResultsFacetValue = {
|
|
|
461
562
|
customer?: Maybe<DrozChatCustomer>;
|
|
462
563
|
value: Scalars['String']['output'];
|
|
463
564
|
};
|
|
565
|
+
export type DecideApprovalTaskInput = {
|
|
566
|
+
decision: ApprovalTaskDecision;
|
|
567
|
+
id: Scalars['ID']['input'];
|
|
568
|
+
rejectionNote?: InputMaybe<Scalars['String']['input']>;
|
|
569
|
+
rejectionReason?: InputMaybe<ApprovalTaskRejectionReason>;
|
|
570
|
+
};
|
|
571
|
+
export type DeleteApprovalQueueInput = {
|
|
572
|
+
id: Scalars['ID']['input'];
|
|
573
|
+
};
|
|
464
574
|
export type DeleteCustomerNoteInput = {
|
|
465
575
|
customerId: Scalars['String']['input'];
|
|
466
576
|
id: Scalars['String']['input'];
|
|
@@ -502,6 +612,112 @@ export type DrozChatAgentGroup = {
|
|
|
502
612
|
name: Scalars['String']['output'];
|
|
503
613
|
updatedAt: Scalars['DateTime']['output'];
|
|
504
614
|
};
|
|
615
|
+
export type DrozChatApprovalAlert = {
|
|
616
|
+
approvalQueueId: Scalars['ID']['output'];
|
|
617
|
+
raisedAt: Scalars['DateTime']['output'];
|
|
618
|
+
taskId?: Maybe<Scalars['ID']['output']>;
|
|
619
|
+
type: ApprovalAlertType;
|
|
620
|
+
};
|
|
621
|
+
export type DrozChatApprovalQueue = {
|
|
622
|
+
agentIds?: Maybe<Array<Scalars['ID']['output']>>;
|
|
623
|
+
createdAt: Scalars['DateTime']['output'];
|
|
624
|
+
deletedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
625
|
+
depthLimit: Scalars['Int']['output'];
|
|
626
|
+
fallbackChannelId?: Maybe<Scalars['ID']['output']>;
|
|
627
|
+
groupIds?: Maybe<Array<Scalars['ID']['output']>>;
|
|
628
|
+
id: Scalars['ID']['output'];
|
|
629
|
+
name: Scalars['String']['output'];
|
|
630
|
+
procedureCount: Scalars['Int']['output'];
|
|
631
|
+
procedureNames: Array<Scalars['String']['output']>;
|
|
632
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
633
|
+
};
|
|
634
|
+
export type DrozChatApprovalSummary = {
|
|
635
|
+
assignedCount: Scalars['Int']['output'];
|
|
636
|
+
divergentCount: Scalars['Int']['output'];
|
|
637
|
+
expiringSoonCount: Scalars['Int']['output'];
|
|
638
|
+
manualCheckCount: Scalars['Int']['output'];
|
|
639
|
+
mineCount: Scalars['Int']['output'];
|
|
640
|
+
openCount: Scalars['Int']['output'];
|
|
641
|
+
};
|
|
642
|
+
export type DrozChatApprovalTask = {
|
|
643
|
+
aiAgentId: Scalars['ID']['output'];
|
|
644
|
+
approvalQueueId: Scalars['ID']['output'];
|
|
645
|
+
args: Scalars['JSONObject']['output'];
|
|
646
|
+
assignedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
647
|
+
assigneeId?: Maybe<Scalars['ID']['output']>;
|
|
648
|
+
assigneeName?: Maybe<Scalars['String']['output']>;
|
|
649
|
+
channel: ApprovalTaskChannel;
|
|
650
|
+
claimExpiresAt?: Maybe<Scalars['DateTime']['output']>;
|
|
651
|
+
consumerActive: Scalars['Boolean']['output'];
|
|
652
|
+
conversation: DrozChatApprovalTaskConversation;
|
|
653
|
+
createdAt: Scalars['DateTime']['output'];
|
|
654
|
+
customerId?: Maybe<Scalars['ID']['output']>;
|
|
655
|
+
decidedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
656
|
+
decidedById?: Maybe<Scalars['ID']['output']>;
|
|
657
|
+
decidedByName?: Maybe<Scalars['String']['output']>;
|
|
658
|
+
decision?: Maybe<ApprovalTaskDecision>;
|
|
659
|
+
divergent?: Maybe<DrozChatApprovalTaskDivergence>;
|
|
660
|
+
executionResult?: Maybe<ApprovalTaskExecutionResult>;
|
|
661
|
+
expiresAt: Scalars['DateTime']['output'];
|
|
662
|
+
history: Array<DrozChatApprovalTaskEvent>;
|
|
663
|
+
id: Scalars['ID']['output'];
|
|
664
|
+
idempotencyKey: Scalars['String']['output'];
|
|
665
|
+
rejectionNote?: Maybe<Scalars['String']['output']>;
|
|
666
|
+
rejectionReason?: Maybe<ApprovalTaskRejectionReason>;
|
|
667
|
+
sessionId: Scalars['ID']['output'];
|
|
668
|
+
status: ApprovalTaskStatus;
|
|
669
|
+
summary: Scalars['String']['output'];
|
|
670
|
+
ticketId?: Maybe<Scalars['ID']['output']>;
|
|
671
|
+
toolId: Scalars['String']['output'];
|
|
672
|
+
toolName: Scalars['String']['output'];
|
|
673
|
+
trusted: Scalars['JSONObject']['output'];
|
|
674
|
+
untrusted: Scalars['JSONObject']['output'];
|
|
675
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
676
|
+
useCase: Scalars['String']['output'];
|
|
677
|
+
};
|
|
678
|
+
export type DrozChatApprovalTaskChange = {
|
|
679
|
+
action: ApprovalTaskChangeAction;
|
|
680
|
+
task: DrozChatApprovalTask;
|
|
681
|
+
};
|
|
682
|
+
export type DrozChatApprovalTaskConversation = {
|
|
683
|
+
messages: Array<DrozChatApprovalTaskMessage>;
|
|
684
|
+
truncated: Scalars['Boolean']['output'];
|
|
685
|
+
};
|
|
686
|
+
export type DrozChatApprovalTaskDivergence = {
|
|
687
|
+
after: Scalars['JSONObject']['output'];
|
|
688
|
+
before: Scalars['JSONObject']['output'];
|
|
689
|
+
};
|
|
690
|
+
export type DrozChatApprovalTaskEvent = {
|
|
691
|
+
actorId?: Maybe<Scalars['ID']['output']>;
|
|
692
|
+
at: Scalars['DateTime']['output'];
|
|
693
|
+
targetId?: Maybe<Scalars['ID']['output']>;
|
|
694
|
+
type: ApprovalTaskEventType;
|
|
695
|
+
};
|
|
696
|
+
export type DrozChatApprovalTaskMessage = {
|
|
697
|
+
role: ApprovalTaskMessageRole;
|
|
698
|
+
sentAt: Scalars['DateTime']['output'];
|
|
699
|
+
text: Scalars['String']['output'];
|
|
700
|
+
};
|
|
701
|
+
export type DrozChatApprovalTasksPage = {
|
|
702
|
+
nodes: Array<DrozChatApprovalTask>;
|
|
703
|
+
page: Scalars['Int']['output'];
|
|
704
|
+
perPage: Scalars['Int']['output'];
|
|
705
|
+
total: Scalars['Int']['output'];
|
|
706
|
+
};
|
|
707
|
+
export type DrozChatBusinessHours = {
|
|
708
|
+
createdAt: Scalars['DateTime']['output'];
|
|
709
|
+
days: Array<DrozChatBusinessHoursDay>;
|
|
710
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
711
|
+
};
|
|
712
|
+
export type DrozChatBusinessHoursDay = {
|
|
713
|
+
enabled: Scalars['Boolean']['output'];
|
|
714
|
+
slots: Array<DrozChatBusinessHoursSlot>;
|
|
715
|
+
weekday: BusinessHoursWeekday;
|
|
716
|
+
};
|
|
717
|
+
export type DrozChatBusinessHoursSlot = {
|
|
718
|
+
end: Scalars['String']['output'];
|
|
719
|
+
start: Scalars['String']['output'];
|
|
720
|
+
};
|
|
505
721
|
export type DrozChatChannel = {
|
|
506
722
|
agentIds?: Maybe<Array<Scalars['ID']['output']>>;
|
|
507
723
|
createdAt: Scalars['DateTime']['output'];
|
|
@@ -656,12 +872,15 @@ export type Mutation = {
|
|
|
656
872
|
addTagsToTicket: Ticket;
|
|
657
873
|
agentHeartbeat: AgentPresence;
|
|
658
874
|
agentLogoff: AgentPresence;
|
|
875
|
+
assignApprovalTask: DrozChatApprovalTask;
|
|
659
876
|
assignTicket: Ticket;
|
|
660
877
|
assignTicketMyself: Ticket;
|
|
878
|
+
claimApprovalTask: DrozChatApprovalTask;
|
|
661
879
|
clearCustomFieldValue: Ticket;
|
|
662
880
|
clearMaxSimultaneousAttendances?: Maybe<GlobalConfiguration>;
|
|
663
881
|
cloneView: View;
|
|
664
882
|
closeTicket: Ticket;
|
|
883
|
+
createApprovalQueue: DrozChatApprovalQueue;
|
|
665
884
|
createBulkCloseRoutineConfig: BulkCloseRoutineConfig;
|
|
666
885
|
createCustomField: CustomField;
|
|
667
886
|
createDrozChatAgentGroup?: Maybe<DrozChatAgentGroup>;
|
|
@@ -675,6 +894,8 @@ export type Mutation = {
|
|
|
675
894
|
createTicketMessageForStorage: TicketMessage;
|
|
676
895
|
createTrigger: Trigger;
|
|
677
896
|
createView: View;
|
|
897
|
+
decideApprovalTask: DrozChatApprovalTask;
|
|
898
|
+
deleteApprovalQueue: DrozChatApprovalQueue;
|
|
678
899
|
deleteBulkCloseRoutineConfig: Scalars['Boolean']['output'];
|
|
679
900
|
deleteCustomField: Scalars['Boolean']['output'];
|
|
680
901
|
deleteNote: CustomerNote;
|
|
@@ -695,6 +916,7 @@ export type Mutation = {
|
|
|
695
916
|
/** Announce the current agent left the ticket (call on close/unmount). */
|
|
696
917
|
leaveTicketPresence: TicketPresence;
|
|
697
918
|
markTicketMessagesAsRead?: Maybe<Scalars['Void']['output']>;
|
|
919
|
+
releaseApprovalTask: DrozChatApprovalTask;
|
|
698
920
|
removeDrozChatAgentGroup?: Maybe<DrozChatAgentGroup>;
|
|
699
921
|
removeDrozChatChannelAgent?: Maybe<DrozChatChannel>;
|
|
700
922
|
removeDrozChatChannelGroup?: Maybe<DrozChatChannel>;
|
|
@@ -702,9 +924,11 @@ export type Mutation = {
|
|
|
702
924
|
reorderCustomFields: Array<CustomField>;
|
|
703
925
|
reorderTriggersByEventType: Array<Trigger>;
|
|
704
926
|
setCustomFieldValue: Ticket;
|
|
927
|
+
setDrozChatBusinessHours: DrozChatBusinessHours;
|
|
705
928
|
setMaxSimultaneousAttendances: GlobalConfiguration;
|
|
706
929
|
transferTicketToChannel: Ticket;
|
|
707
930
|
unassignTicket: Ticket;
|
|
931
|
+
updateApprovalQueue: DrozChatApprovalQueue;
|
|
708
932
|
updateBulkCloseRoutineConfig: BulkCloseRoutineConfig;
|
|
709
933
|
updateCustomField: CustomField;
|
|
710
934
|
updateDrozChatAgentGroup?: Maybe<DrozChatAgentGroup>;
|
|
@@ -732,12 +956,18 @@ export type MutationAddDrozChatChannelGroupArgs = {
|
|
|
732
956
|
export type MutationAddTagsToTicketArgs = {
|
|
733
957
|
input: AddTagsToTicketInput;
|
|
734
958
|
};
|
|
959
|
+
export type MutationAssignApprovalTaskArgs = {
|
|
960
|
+
input: AssignApprovalTaskInput;
|
|
961
|
+
};
|
|
735
962
|
export type MutationAssignTicketArgs = {
|
|
736
963
|
input: AssignTicketInput;
|
|
737
964
|
};
|
|
738
965
|
export type MutationAssignTicketMyselfArgs = {
|
|
739
966
|
input: AssignTicketMyselfInput;
|
|
740
967
|
};
|
|
968
|
+
export type MutationClaimApprovalTaskArgs = {
|
|
969
|
+
input: ClaimApprovalTaskInput;
|
|
970
|
+
};
|
|
741
971
|
export type MutationClearCustomFieldValueArgs = {
|
|
742
972
|
input: ClearCustomFieldValueInput;
|
|
743
973
|
};
|
|
@@ -747,6 +977,9 @@ export type MutationCloneViewArgs = {
|
|
|
747
977
|
export type MutationCloseTicketArgs = {
|
|
748
978
|
input: CloseTicketInput;
|
|
749
979
|
};
|
|
980
|
+
export type MutationCreateApprovalQueueArgs = {
|
|
981
|
+
input: CreateApprovalQueueInput;
|
|
982
|
+
};
|
|
750
983
|
export type MutationCreateBulkCloseRoutineConfigArgs = {
|
|
751
984
|
input: CreateBulkCloseRoutineConfigInput;
|
|
752
985
|
};
|
|
@@ -786,6 +1019,12 @@ export type MutationCreateTriggerArgs = {
|
|
|
786
1019
|
export type MutationCreateViewArgs = {
|
|
787
1020
|
input: CreateViewInput;
|
|
788
1021
|
};
|
|
1022
|
+
export type MutationDecideApprovalTaskArgs = {
|
|
1023
|
+
input: DecideApprovalTaskInput;
|
|
1024
|
+
};
|
|
1025
|
+
export type MutationDeleteApprovalQueueArgs = {
|
|
1026
|
+
input: DeleteApprovalQueueInput;
|
|
1027
|
+
};
|
|
789
1028
|
export type MutationDeleteCustomFieldArgs = {
|
|
790
1029
|
id: Scalars['ID']['input'];
|
|
791
1030
|
};
|
|
@@ -825,6 +1064,9 @@ export type MutationLeaveTicketPresenceArgs = {
|
|
|
825
1064
|
export type MutationMarkTicketMessagesAsReadArgs = {
|
|
826
1065
|
input: MarkTicketMessagesAsReadInput;
|
|
827
1066
|
};
|
|
1067
|
+
export type MutationReleaseApprovalTaskArgs = {
|
|
1068
|
+
input: ReleaseApprovalTaskInput;
|
|
1069
|
+
};
|
|
828
1070
|
export type MutationRemoveDrozChatAgentGroupArgs = {
|
|
829
1071
|
input: RemoveDrozChatAgentGroupInput;
|
|
830
1072
|
};
|
|
@@ -846,6 +1088,9 @@ export type MutationReorderTriggersByEventTypeArgs = {
|
|
|
846
1088
|
export type MutationSetCustomFieldValueArgs = {
|
|
847
1089
|
input: SetCustomFieldValueInput;
|
|
848
1090
|
};
|
|
1091
|
+
export type MutationSetDrozChatBusinessHoursArgs = {
|
|
1092
|
+
input: SetBusinessHoursInput;
|
|
1093
|
+
};
|
|
849
1094
|
export type MutationSetMaxSimultaneousAttendancesArgs = {
|
|
850
1095
|
input: SetMaxSimultaneousAttendancesInput;
|
|
851
1096
|
};
|
|
@@ -855,6 +1100,9 @@ export type MutationTransferTicketToChannelArgs = {
|
|
|
855
1100
|
export type MutationUnassignTicketArgs = {
|
|
856
1101
|
input: UnassignTicketInput;
|
|
857
1102
|
};
|
|
1103
|
+
export type MutationUpdateApprovalQueueArgs = {
|
|
1104
|
+
input: UpdateApprovalQueueInput;
|
|
1105
|
+
};
|
|
858
1106
|
export type MutationUpdateBulkCloseRoutineConfigArgs = {
|
|
859
1107
|
input: UpdateBulkCloseRoutineConfigInput;
|
|
860
1108
|
};
|
|
@@ -920,10 +1168,14 @@ export type Query = {
|
|
|
920
1168
|
app?: Maybe<Scalars['DRN']['output']>;
|
|
921
1169
|
assertChatActions: ChatActions;
|
|
922
1170
|
customFieldValuesForTicket: Array<TicketCustomFieldValue>;
|
|
1171
|
+
getApprovalQueue?: Maybe<DrozChatApprovalQueue>;
|
|
1172
|
+
getApprovalSummary: DrozChatApprovalSummary;
|
|
1173
|
+
getApprovalTask?: Maybe<DrozChatApprovalTask>;
|
|
923
1174
|
getBulkCloseRoutineConfig?: Maybe<BulkCloseRoutineConfig>;
|
|
924
1175
|
getBulkCloseRuns: BulkCloseRunsConnection;
|
|
925
1176
|
getCustomField?: Maybe<CustomField>;
|
|
926
1177
|
getDrozChatAgentGroup?: Maybe<DrozChatAgentGroup>;
|
|
1178
|
+
getDrozChatBusinessHours?: Maybe<DrozChatBusinessHours>;
|
|
927
1179
|
getDrozChatChannel?: Maybe<DrozChatChannel>;
|
|
928
1180
|
getGlobalConfiguration?: Maybe<GlobalConfiguration>;
|
|
929
1181
|
getHttpEndpoint?: Maybe<Scalars['String']['output']>;
|
|
@@ -932,11 +1184,14 @@ export type Query = {
|
|
|
932
1184
|
getTrigger?: Maybe<Trigger>;
|
|
933
1185
|
getView?: Maybe<View>;
|
|
934
1186
|
getWsEndpoint?: Maybe<Scalars['String']['output']>;
|
|
1187
|
+
listApprovalQueues: Array<DrozChatApprovalQueue>;
|
|
1188
|
+
listApprovalTasks: DrozChatApprovalTasksPage;
|
|
935
1189
|
listCustomFields: Array<CustomField>;
|
|
936
1190
|
listDrozChatAgentChannels: Array<DrozChatChannel>;
|
|
937
1191
|
listDrozChatAgentGroups: Array<DrozChatAgentGroup>;
|
|
938
1192
|
listDrozChatChannels: Array<DrozChatChannel>;
|
|
939
1193
|
listDrozChatGroups: Array<DrozChatAgentGroup>;
|
|
1194
|
+
listMyApprovalQueues: Array<DrozChatApprovalQueue>;
|
|
940
1195
|
listNotes: CustomerNotesConnection;
|
|
941
1196
|
listQuickAnswers: QuickAnswersConnection;
|
|
942
1197
|
listTags: TicketTagsConnection;
|
|
@@ -970,6 +1225,12 @@ export type QueryAssertChatActionsArgs = {
|
|
|
970
1225
|
export type QueryCustomFieldValuesForTicketArgs = {
|
|
971
1226
|
ticketId: Scalars['ID']['input'];
|
|
972
1227
|
};
|
|
1228
|
+
export type QueryGetApprovalQueueArgs = {
|
|
1229
|
+
id: Scalars['ID']['input'];
|
|
1230
|
+
};
|
|
1231
|
+
export type QueryGetApprovalTaskArgs = {
|
|
1232
|
+
id: Scalars['ID']['input'];
|
|
1233
|
+
};
|
|
973
1234
|
export type QueryGetBulkCloseRunsArgs = {
|
|
974
1235
|
next?: InputMaybe<Scalars['Base64']['input']>;
|
|
975
1236
|
};
|
|
@@ -991,6 +1252,11 @@ export type QueryGetTriggerArgs = {
|
|
|
991
1252
|
export type QueryGetViewArgs = {
|
|
992
1253
|
id: Scalars['ID']['input'];
|
|
993
1254
|
};
|
|
1255
|
+
export type QueryListApprovalTasksArgs = {
|
|
1256
|
+
filter: ApprovalTasksFilterInput;
|
|
1257
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
1258
|
+
perPage?: InputMaybe<Scalars['Int']['input']>;
|
|
1259
|
+
};
|
|
994
1260
|
export type QueryListDrozChatAgentChannelsArgs = {
|
|
995
1261
|
agentId: Scalars['ID']['input'];
|
|
996
1262
|
};
|
|
@@ -1081,6 +1347,9 @@ export declare enum QuickAnswersSortBy {
|
|
|
1081
1347
|
UpdatedAtAsc = "updatedAt_asc",
|
|
1082
1348
|
UpdatedAtDesc = "updatedAt_desc"
|
|
1083
1349
|
}
|
|
1350
|
+
export type ReleaseApprovalTaskInput = {
|
|
1351
|
+
id: Scalars['ID']['input'];
|
|
1352
|
+
};
|
|
1084
1353
|
export type RemoveDrozChatAgentGroupInput = {
|
|
1085
1354
|
agentId: Scalars['ID']['input'];
|
|
1086
1355
|
id: Scalars['ID']['input'];
|
|
@@ -1125,6 +1394,9 @@ export type SearchResultsStats = {
|
|
|
1125
1394
|
searchTime: Scalars['Float']['output'];
|
|
1126
1395
|
totalPages: Scalars['Float']['output'];
|
|
1127
1396
|
};
|
|
1397
|
+
export type SetBusinessHoursInput = {
|
|
1398
|
+
days: Array<BusinessHoursDayInput>;
|
|
1399
|
+
};
|
|
1128
1400
|
export type SetCustomFieldValueInput = {
|
|
1129
1401
|
fieldId: Scalars['ID']['input'];
|
|
1130
1402
|
ticketId: Scalars['ID']['input'];
|
|
@@ -1160,6 +1432,8 @@ export type StringMatcherInput = {
|
|
|
1160
1432
|
ne?: InputMaybe<Scalars['String']['input']>;
|
|
1161
1433
|
};
|
|
1162
1434
|
export type Subscription = {
|
|
1435
|
+
onApprovalAlert: DrozChatApprovalAlert;
|
|
1436
|
+
onApprovalTaskChange: DrozChatApprovalTaskChange;
|
|
1163
1437
|
onMessageByStateMine: TicketMessageSubscription;
|
|
1164
1438
|
/**
|
|
1165
1439
|
* Mudança de um ticket relevante para o painel de monitoramento, como delta enxuto. Entregue a
|
|
@@ -1584,9 +1858,14 @@ export declare enum Typenames {
|
|
|
1584
1858
|
AgentGroup = "AgentGroup",
|
|
1585
1859
|
AgentPresence = "AgentPresence",
|
|
1586
1860
|
Any = "Any",
|
|
1861
|
+
ApprovalQueues = "ApprovalQueues",
|
|
1862
|
+
ApprovalSessionLocks = "ApprovalSessionLocks",
|
|
1863
|
+
ApprovalTaskKeys = "ApprovalTaskKeys",
|
|
1864
|
+
ApprovalTasks = "ApprovalTasks",
|
|
1587
1865
|
BulkCloseBatches = "BulkCloseBatches",
|
|
1588
1866
|
BulkCloseRoutineConfig = "BulkCloseRoutineConfig",
|
|
1589
1867
|
BulkCloseRuns = "BulkCloseRuns",
|
|
1868
|
+
BusinessHours = "BusinessHours",
|
|
1590
1869
|
ChannelLastAssignee = "ChannelLastAssignee",
|
|
1591
1870
|
ChannelTriggerExecutions = "ChannelTriggerExecutions",
|
|
1592
1871
|
Channels = "Channels",
|
|
@@ -1612,6 +1891,14 @@ export declare enum Typenames {
|
|
|
1612
1891
|
export type UnassignTicketInput = {
|
|
1613
1892
|
ticketId: Scalars['ID']['input'];
|
|
1614
1893
|
};
|
|
1894
|
+
export type UpdateApprovalQueueInput = {
|
|
1895
|
+
agentIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
1896
|
+
depthLimit?: InputMaybe<Scalars['Int']['input']>;
|
|
1897
|
+
fallbackChannelId?: InputMaybe<Scalars['ID']['input']>;
|
|
1898
|
+
groupIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
1899
|
+
id: Scalars['ID']['input'];
|
|
1900
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
1901
|
+
};
|
|
1615
1902
|
export type UpdateBulkCloseRoutineConfigInput = {
|
|
1616
1903
|
batchSize?: InputMaybe<Scalars['Int']['input']>;
|
|
1617
1904
|
cronExpression?: InputMaybe<Scalars['String']['input']>;
|