@droz-js/sdk 0.26.22 → 0.26.23
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/drozai.d.ts +13 -0
- package/src/sdks/ai.d.ts +183 -18
- package/src/sdks/ai.js +149 -3
- package/src/sdks/drozchat.d.ts +288 -0
- package/src/sdks/drozchat.js +93 -4
- package/src/sdks/drozcommons.d.ts +1 -0
- package/src/sdks/drozcommons.js +1 -0
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,113 @@ 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?: Maybe<DrozChatApprovalTask>;
|
|
681
|
+
taskId: Scalars['ID']['output'];
|
|
682
|
+
};
|
|
683
|
+
export type DrozChatApprovalTaskConversation = {
|
|
684
|
+
messages: Array<DrozChatApprovalTaskMessage>;
|
|
685
|
+
truncated: Scalars['Boolean']['output'];
|
|
686
|
+
};
|
|
687
|
+
export type DrozChatApprovalTaskDivergence = {
|
|
688
|
+
after: Scalars['JSONObject']['output'];
|
|
689
|
+
before: Scalars['JSONObject']['output'];
|
|
690
|
+
};
|
|
691
|
+
export type DrozChatApprovalTaskEvent = {
|
|
692
|
+
actorId?: Maybe<Scalars['ID']['output']>;
|
|
693
|
+
at: Scalars['DateTime']['output'];
|
|
694
|
+
targetId?: Maybe<Scalars['ID']['output']>;
|
|
695
|
+
type: ApprovalTaskEventType;
|
|
696
|
+
};
|
|
697
|
+
export type DrozChatApprovalTaskMessage = {
|
|
698
|
+
role: ApprovalTaskMessageRole;
|
|
699
|
+
sentAt: Scalars['DateTime']['output'];
|
|
700
|
+
text: Scalars['String']['output'];
|
|
701
|
+
};
|
|
702
|
+
export type DrozChatApprovalTasksPage = {
|
|
703
|
+
nodes: Array<DrozChatApprovalTask>;
|
|
704
|
+
page: Scalars['Int']['output'];
|
|
705
|
+
perPage: Scalars['Int']['output'];
|
|
706
|
+
total: Scalars['Int']['output'];
|
|
707
|
+
};
|
|
708
|
+
export type DrozChatBusinessHours = {
|
|
709
|
+
createdAt: Scalars['DateTime']['output'];
|
|
710
|
+
days: Array<DrozChatBusinessHoursDay>;
|
|
711
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
712
|
+
};
|
|
713
|
+
export type DrozChatBusinessHoursDay = {
|
|
714
|
+
enabled: Scalars['Boolean']['output'];
|
|
715
|
+
slots: Array<DrozChatBusinessHoursSlot>;
|
|
716
|
+
weekday: BusinessHoursWeekday;
|
|
717
|
+
};
|
|
718
|
+
export type DrozChatBusinessHoursSlot = {
|
|
719
|
+
end: Scalars['String']['output'];
|
|
720
|
+
start: Scalars['String']['output'];
|
|
721
|
+
};
|
|
505
722
|
export type DrozChatChannel = {
|
|
506
723
|
agentIds?: Maybe<Array<Scalars['ID']['output']>>;
|
|
507
724
|
createdAt: Scalars['DateTime']['output'];
|
|
@@ -656,12 +873,15 @@ export type Mutation = {
|
|
|
656
873
|
addTagsToTicket: Ticket;
|
|
657
874
|
agentHeartbeat: AgentPresence;
|
|
658
875
|
agentLogoff: AgentPresence;
|
|
876
|
+
assignApprovalTask: DrozChatApprovalTask;
|
|
659
877
|
assignTicket: Ticket;
|
|
660
878
|
assignTicketMyself: Ticket;
|
|
879
|
+
claimApprovalTask: DrozChatApprovalTask;
|
|
661
880
|
clearCustomFieldValue: Ticket;
|
|
662
881
|
clearMaxSimultaneousAttendances?: Maybe<GlobalConfiguration>;
|
|
663
882
|
cloneView: View;
|
|
664
883
|
closeTicket: Ticket;
|
|
884
|
+
createApprovalQueue: DrozChatApprovalQueue;
|
|
665
885
|
createBulkCloseRoutineConfig: BulkCloseRoutineConfig;
|
|
666
886
|
createCustomField: CustomField;
|
|
667
887
|
createDrozChatAgentGroup?: Maybe<DrozChatAgentGroup>;
|
|
@@ -675,6 +895,8 @@ export type Mutation = {
|
|
|
675
895
|
createTicketMessageForStorage: TicketMessage;
|
|
676
896
|
createTrigger: Trigger;
|
|
677
897
|
createView: View;
|
|
898
|
+
decideApprovalTask: DrozChatApprovalTask;
|
|
899
|
+
deleteApprovalQueue: DrozChatApprovalQueue;
|
|
678
900
|
deleteBulkCloseRoutineConfig: Scalars['Boolean']['output'];
|
|
679
901
|
deleteCustomField: Scalars['Boolean']['output'];
|
|
680
902
|
deleteNote: CustomerNote;
|
|
@@ -695,6 +917,7 @@ export type Mutation = {
|
|
|
695
917
|
/** Announce the current agent left the ticket (call on close/unmount). */
|
|
696
918
|
leaveTicketPresence: TicketPresence;
|
|
697
919
|
markTicketMessagesAsRead?: Maybe<Scalars['Void']['output']>;
|
|
920
|
+
releaseApprovalTask: DrozChatApprovalTask;
|
|
698
921
|
removeDrozChatAgentGroup?: Maybe<DrozChatAgentGroup>;
|
|
699
922
|
removeDrozChatChannelAgent?: Maybe<DrozChatChannel>;
|
|
700
923
|
removeDrozChatChannelGroup?: Maybe<DrozChatChannel>;
|
|
@@ -702,9 +925,11 @@ export type Mutation = {
|
|
|
702
925
|
reorderCustomFields: Array<CustomField>;
|
|
703
926
|
reorderTriggersByEventType: Array<Trigger>;
|
|
704
927
|
setCustomFieldValue: Ticket;
|
|
928
|
+
setDrozChatBusinessHours: DrozChatBusinessHours;
|
|
705
929
|
setMaxSimultaneousAttendances: GlobalConfiguration;
|
|
706
930
|
transferTicketToChannel: Ticket;
|
|
707
931
|
unassignTicket: Ticket;
|
|
932
|
+
updateApprovalQueue: DrozChatApprovalQueue;
|
|
708
933
|
updateBulkCloseRoutineConfig: BulkCloseRoutineConfig;
|
|
709
934
|
updateCustomField: CustomField;
|
|
710
935
|
updateDrozChatAgentGroup?: Maybe<DrozChatAgentGroup>;
|
|
@@ -732,12 +957,18 @@ export type MutationAddDrozChatChannelGroupArgs = {
|
|
|
732
957
|
export type MutationAddTagsToTicketArgs = {
|
|
733
958
|
input: AddTagsToTicketInput;
|
|
734
959
|
};
|
|
960
|
+
export type MutationAssignApprovalTaskArgs = {
|
|
961
|
+
input: AssignApprovalTaskInput;
|
|
962
|
+
};
|
|
735
963
|
export type MutationAssignTicketArgs = {
|
|
736
964
|
input: AssignTicketInput;
|
|
737
965
|
};
|
|
738
966
|
export type MutationAssignTicketMyselfArgs = {
|
|
739
967
|
input: AssignTicketMyselfInput;
|
|
740
968
|
};
|
|
969
|
+
export type MutationClaimApprovalTaskArgs = {
|
|
970
|
+
input: ClaimApprovalTaskInput;
|
|
971
|
+
};
|
|
741
972
|
export type MutationClearCustomFieldValueArgs = {
|
|
742
973
|
input: ClearCustomFieldValueInput;
|
|
743
974
|
};
|
|
@@ -747,6 +978,9 @@ export type MutationCloneViewArgs = {
|
|
|
747
978
|
export type MutationCloseTicketArgs = {
|
|
748
979
|
input: CloseTicketInput;
|
|
749
980
|
};
|
|
981
|
+
export type MutationCreateApprovalQueueArgs = {
|
|
982
|
+
input: CreateApprovalQueueInput;
|
|
983
|
+
};
|
|
750
984
|
export type MutationCreateBulkCloseRoutineConfigArgs = {
|
|
751
985
|
input: CreateBulkCloseRoutineConfigInput;
|
|
752
986
|
};
|
|
@@ -786,6 +1020,12 @@ export type MutationCreateTriggerArgs = {
|
|
|
786
1020
|
export type MutationCreateViewArgs = {
|
|
787
1021
|
input: CreateViewInput;
|
|
788
1022
|
};
|
|
1023
|
+
export type MutationDecideApprovalTaskArgs = {
|
|
1024
|
+
input: DecideApprovalTaskInput;
|
|
1025
|
+
};
|
|
1026
|
+
export type MutationDeleteApprovalQueueArgs = {
|
|
1027
|
+
input: DeleteApprovalQueueInput;
|
|
1028
|
+
};
|
|
789
1029
|
export type MutationDeleteCustomFieldArgs = {
|
|
790
1030
|
id: Scalars['ID']['input'];
|
|
791
1031
|
};
|
|
@@ -825,6 +1065,9 @@ export type MutationLeaveTicketPresenceArgs = {
|
|
|
825
1065
|
export type MutationMarkTicketMessagesAsReadArgs = {
|
|
826
1066
|
input: MarkTicketMessagesAsReadInput;
|
|
827
1067
|
};
|
|
1068
|
+
export type MutationReleaseApprovalTaskArgs = {
|
|
1069
|
+
input: ReleaseApprovalTaskInput;
|
|
1070
|
+
};
|
|
828
1071
|
export type MutationRemoveDrozChatAgentGroupArgs = {
|
|
829
1072
|
input: RemoveDrozChatAgentGroupInput;
|
|
830
1073
|
};
|
|
@@ -846,6 +1089,9 @@ export type MutationReorderTriggersByEventTypeArgs = {
|
|
|
846
1089
|
export type MutationSetCustomFieldValueArgs = {
|
|
847
1090
|
input: SetCustomFieldValueInput;
|
|
848
1091
|
};
|
|
1092
|
+
export type MutationSetDrozChatBusinessHoursArgs = {
|
|
1093
|
+
input: SetBusinessHoursInput;
|
|
1094
|
+
};
|
|
849
1095
|
export type MutationSetMaxSimultaneousAttendancesArgs = {
|
|
850
1096
|
input: SetMaxSimultaneousAttendancesInput;
|
|
851
1097
|
};
|
|
@@ -855,6 +1101,9 @@ export type MutationTransferTicketToChannelArgs = {
|
|
|
855
1101
|
export type MutationUnassignTicketArgs = {
|
|
856
1102
|
input: UnassignTicketInput;
|
|
857
1103
|
};
|
|
1104
|
+
export type MutationUpdateApprovalQueueArgs = {
|
|
1105
|
+
input: UpdateApprovalQueueInput;
|
|
1106
|
+
};
|
|
858
1107
|
export type MutationUpdateBulkCloseRoutineConfigArgs = {
|
|
859
1108
|
input: UpdateBulkCloseRoutineConfigInput;
|
|
860
1109
|
};
|
|
@@ -920,10 +1169,14 @@ export type Query = {
|
|
|
920
1169
|
app?: Maybe<Scalars['DRN']['output']>;
|
|
921
1170
|
assertChatActions: ChatActions;
|
|
922
1171
|
customFieldValuesForTicket: Array<TicketCustomFieldValue>;
|
|
1172
|
+
getApprovalQueue?: Maybe<DrozChatApprovalQueue>;
|
|
1173
|
+
getApprovalSummary: DrozChatApprovalSummary;
|
|
1174
|
+
getApprovalTask?: Maybe<DrozChatApprovalTask>;
|
|
923
1175
|
getBulkCloseRoutineConfig?: Maybe<BulkCloseRoutineConfig>;
|
|
924
1176
|
getBulkCloseRuns: BulkCloseRunsConnection;
|
|
925
1177
|
getCustomField?: Maybe<CustomField>;
|
|
926
1178
|
getDrozChatAgentGroup?: Maybe<DrozChatAgentGroup>;
|
|
1179
|
+
getDrozChatBusinessHours?: Maybe<DrozChatBusinessHours>;
|
|
927
1180
|
getDrozChatChannel?: Maybe<DrozChatChannel>;
|
|
928
1181
|
getGlobalConfiguration?: Maybe<GlobalConfiguration>;
|
|
929
1182
|
getHttpEndpoint?: Maybe<Scalars['String']['output']>;
|
|
@@ -932,11 +1185,14 @@ export type Query = {
|
|
|
932
1185
|
getTrigger?: Maybe<Trigger>;
|
|
933
1186
|
getView?: Maybe<View>;
|
|
934
1187
|
getWsEndpoint?: Maybe<Scalars['String']['output']>;
|
|
1188
|
+
listApprovalQueues: Array<DrozChatApprovalQueue>;
|
|
1189
|
+
listApprovalTasks: DrozChatApprovalTasksPage;
|
|
935
1190
|
listCustomFields: Array<CustomField>;
|
|
936
1191
|
listDrozChatAgentChannels: Array<DrozChatChannel>;
|
|
937
1192
|
listDrozChatAgentGroups: Array<DrozChatAgentGroup>;
|
|
938
1193
|
listDrozChatChannels: Array<DrozChatChannel>;
|
|
939
1194
|
listDrozChatGroups: Array<DrozChatAgentGroup>;
|
|
1195
|
+
listMyApprovalQueues: Array<DrozChatApprovalQueue>;
|
|
940
1196
|
listNotes: CustomerNotesConnection;
|
|
941
1197
|
listQuickAnswers: QuickAnswersConnection;
|
|
942
1198
|
listTags: TicketTagsConnection;
|
|
@@ -970,6 +1226,12 @@ export type QueryAssertChatActionsArgs = {
|
|
|
970
1226
|
export type QueryCustomFieldValuesForTicketArgs = {
|
|
971
1227
|
ticketId: Scalars['ID']['input'];
|
|
972
1228
|
};
|
|
1229
|
+
export type QueryGetApprovalQueueArgs = {
|
|
1230
|
+
id: Scalars['ID']['input'];
|
|
1231
|
+
};
|
|
1232
|
+
export type QueryGetApprovalTaskArgs = {
|
|
1233
|
+
id: Scalars['ID']['input'];
|
|
1234
|
+
};
|
|
973
1235
|
export type QueryGetBulkCloseRunsArgs = {
|
|
974
1236
|
next?: InputMaybe<Scalars['Base64']['input']>;
|
|
975
1237
|
};
|
|
@@ -991,6 +1253,11 @@ export type QueryGetTriggerArgs = {
|
|
|
991
1253
|
export type QueryGetViewArgs = {
|
|
992
1254
|
id: Scalars['ID']['input'];
|
|
993
1255
|
};
|
|
1256
|
+
export type QueryListApprovalTasksArgs = {
|
|
1257
|
+
filter: ApprovalTasksFilterInput;
|
|
1258
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
1259
|
+
perPage?: InputMaybe<Scalars['Int']['input']>;
|
|
1260
|
+
};
|
|
994
1261
|
export type QueryListDrozChatAgentChannelsArgs = {
|
|
995
1262
|
agentId: Scalars['ID']['input'];
|
|
996
1263
|
};
|
|
@@ -1081,6 +1348,9 @@ export declare enum QuickAnswersSortBy {
|
|
|
1081
1348
|
UpdatedAtAsc = "updatedAt_asc",
|
|
1082
1349
|
UpdatedAtDesc = "updatedAt_desc"
|
|
1083
1350
|
}
|
|
1351
|
+
export type ReleaseApprovalTaskInput = {
|
|
1352
|
+
id: Scalars['ID']['input'];
|
|
1353
|
+
};
|
|
1084
1354
|
export type RemoveDrozChatAgentGroupInput = {
|
|
1085
1355
|
agentId: Scalars['ID']['input'];
|
|
1086
1356
|
id: Scalars['ID']['input'];
|
|
@@ -1125,6 +1395,9 @@ export type SearchResultsStats = {
|
|
|
1125
1395
|
searchTime: Scalars['Float']['output'];
|
|
1126
1396
|
totalPages: Scalars['Float']['output'];
|
|
1127
1397
|
};
|
|
1398
|
+
export type SetBusinessHoursInput = {
|
|
1399
|
+
days: Array<BusinessHoursDayInput>;
|
|
1400
|
+
};
|
|
1128
1401
|
export type SetCustomFieldValueInput = {
|
|
1129
1402
|
fieldId: Scalars['ID']['input'];
|
|
1130
1403
|
ticketId: Scalars['ID']['input'];
|
|
@@ -1160,6 +1433,8 @@ export type StringMatcherInput = {
|
|
|
1160
1433
|
ne?: InputMaybe<Scalars['String']['input']>;
|
|
1161
1434
|
};
|
|
1162
1435
|
export type Subscription = {
|
|
1436
|
+
onApprovalAlert: DrozChatApprovalAlert;
|
|
1437
|
+
onApprovalTaskChange: DrozChatApprovalTaskChange;
|
|
1163
1438
|
onMessageByStateMine: TicketMessageSubscription;
|
|
1164
1439
|
/**
|
|
1165
1440
|
* Mudança de um ticket relevante para o painel de monitoramento, como delta enxuto. Entregue a
|
|
@@ -1584,9 +1859,14 @@ export declare enum Typenames {
|
|
|
1584
1859
|
AgentGroup = "AgentGroup",
|
|
1585
1860
|
AgentPresence = "AgentPresence",
|
|
1586
1861
|
Any = "Any",
|
|
1862
|
+
ApprovalQueues = "ApprovalQueues",
|
|
1863
|
+
ApprovalSessionLocks = "ApprovalSessionLocks",
|
|
1864
|
+
ApprovalTaskKeys = "ApprovalTaskKeys",
|
|
1865
|
+
ApprovalTasks = "ApprovalTasks",
|
|
1587
1866
|
BulkCloseBatches = "BulkCloseBatches",
|
|
1588
1867
|
BulkCloseRoutineConfig = "BulkCloseRoutineConfig",
|
|
1589
1868
|
BulkCloseRuns = "BulkCloseRuns",
|
|
1869
|
+
BusinessHours = "BusinessHours",
|
|
1590
1870
|
ChannelLastAssignee = "ChannelLastAssignee",
|
|
1591
1871
|
ChannelTriggerExecutions = "ChannelTriggerExecutions",
|
|
1592
1872
|
Channels = "Channels",
|
|
@@ -1612,6 +1892,14 @@ export declare enum Typenames {
|
|
|
1612
1892
|
export type UnassignTicketInput = {
|
|
1613
1893
|
ticketId: Scalars['ID']['input'];
|
|
1614
1894
|
};
|
|
1895
|
+
export type UpdateApprovalQueueInput = {
|
|
1896
|
+
agentIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
1897
|
+
depthLimit?: InputMaybe<Scalars['Int']['input']>;
|
|
1898
|
+
fallbackChannelId?: InputMaybe<Scalars['ID']['input']>;
|
|
1899
|
+
groupIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
1900
|
+
id: Scalars['ID']['input'];
|
|
1901
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
1902
|
+
};
|
|
1615
1903
|
export type UpdateBulkCloseRoutineConfigInput = {
|
|
1616
1904
|
batchSize?: InputMaybe<Scalars['Int']['input']>;
|
|
1617
1905
|
cronExpression?: InputMaybe<Scalars['String']['input']>;
|
package/src/sdks/drozchat.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.serviceName = exports.DeleteViewDocument = exports.UpdateViewDocument = exports.CloneViewDocument = exports.CreateViewDocument = exports.ListTicketsByViewDocument = exports.ListViewsDocument = exports.GetViewDocument = exports.ReorderTriggersByEventTypeDocument = exports.DeleteTriggerDocument = exports.UpdateTriggerDocument = exports.CreateTriggerDocument = exports.GetTriggerDocument = void 0;
|
|
4
|
+
exports.LiveQueueSummaryFragmentDoc = exports.DrozChatAgentGroupFragmentDoc = exports.GlobalConfigurationFragmentDoc = exports.TicketWithCustomFieldValuesFragmentDoc = exports.TicketCustomFieldValueFragmentDoc = exports.CustomFieldFragmentDoc = exports.TicketFragmentDoc = exports.DrozChatChannelFragmentDoc = exports.TicketTriggerAppFragmentDoc = exports.CustomerFragmentDoc = exports.CustomerNoteFragmentDoc = exports.DrozChatAgentFragmentDoc = exports.BulkCloseRunFragmentDoc = exports.BulkCloseRoutineConfigFragmentDoc = exports.AgentPresenceFragmentDoc = exports.Typenames = exports.TriggerScope = exports.TriggerEventType = exports.TriggerActionType = exports.TicketStatus = exports.TicketState = exports.TicketSearchSortBy = exports.TicketPriority = exports.TicketOrigin = exports.TicketMessageType = exports.TicketMessageRecipient = exports.TicketAutoAssignerType = exports.TicketAssessType = exports.SurveyTypes = exports.SurveyChannels = exports.SubscriptionAction = exports.QuickAnswersSortBy = exports.OpenTicketState = exports.LiveAgentStatus = exports.CustomFieldType = exports.Can = exports.BusinessHoursWeekday = exports.ApprovalTaskTab = exports.ApprovalTaskStatus = exports.ApprovalTaskRejectionReason = exports.ApprovalTaskMessageRole = exports.ApprovalTaskExecutionResult = exports.ApprovalTaskEventType = exports.ApprovalTaskDecision = exports.ApprovalTaskChannel = exports.ApprovalTaskChangeAction = exports.ApprovalAlertType = exports.AppInstanceStatus = exports.AgentPresenceStatus = exports.ActiveDispatchConnector = void 0;
|
|
5
|
+
exports.SearchTicketsWithCustomFieldValuesDocument = exports.ReorderCustomFieldsDocument = exports.DeleteCustomFieldDocument = exports.UpdateCustomFieldDocument = exports.CreateCustomFieldDocument = exports.ListCustomFieldsDocument = exports.DeleteNoteDocument = exports.UpdateNoteDocument = exports.CreateNoteDocument = exports.ListNotesDocument = exports.RemoveDrozChatChannelGroupDocument = exports.AddDrozChatChannelGroupDocument = exports.RemoveDrozChatChannelAgentDocument = exports.AddDrozChatChannelAgentDocument = exports.EnableDrozChatChannelDocument = exports.DisableDrozChatChannelDocument = exports.UpdateDrozChatChannelDocument = exports.CreateDrozChatChannelDocument = exports.ListDrozChatAgentChannelsDocument = exports.ListDrozChatChannelsDocument = exports.GetDrozChatChannelDocument = exports.GetBulkCloseRunsDocument = exports.DeleteBulkCloseRoutineConfigDocument = exports.DisableBulkCloseRoutineConfigDocument = exports.EnableBulkCloseRoutineConfigDocument = exports.UpdateBulkCloseRoutineConfigDocument = exports.CreateBulkCloseRoutineConfigDocument = exports.GetBulkCloseRoutineConfigDocument = exports.GenerateAnalyticsTokenDocument = exports.AgentLogoffDocument = exports.AgentHeartbeatDocument = exports.MyPresenceDocument = exports.ActiveDispatchDocument = exports.ViewFragmentDoc = exports.TriggerFragmentDoc = exports.TriggerConditionFieldsFragmentDoc = exports.FacetsFragmentDoc = exports.TicketMessageFragmentDoc = exports.DrozChatUserFragmentDoc = exports.TicketWithSessionFragmentDoc = exports.SessionAttributesFragmentDoc = exports.TicketWithoutCustomerFragmentDoc = exports.TagFragmentDoc = exports.QuickAnswerFacetsFragmentDoc = exports.QuickAnswerFragmentDoc = exports.TicketPresenceFragmentDoc = exports.SurveyFragmentDoc = exports.MonitoringTicketSnapshotFragmentDoc = exports.LiveSummaryFragmentDoc = exports.LiveAgentLoadFragmentDoc = void 0;
|
|
6
|
+
exports.AssignTicketDocument = exports.CreateTicketMessageEnvelopeDocument = exports.CreateTicketMessageForStorageDocument = exports.CreateTicketMessageDocument = exports.MarkTicketMessagesAsReadDocument = exports.UpdateTicketDocument = exports.CreateTicketDocument = exports.AgentRemainingCapacityDocument = exports.AssertChatActionsDocument = exports.UnsafeSearchTicketsDocument = exports.SearchTicketsWithoutCustomerDocument = exports.SearchTicketsDocument = exports.ListTicketInternalNotesDocument = exports.ListTicketMessagesDocument = exports.ListTicketsInProgressMineWithoutCustomerDocument = exports.ListTicketsInProgressMineDocument = exports.ListTicketsDocument = exports.GetTicketDocument = exports.DeleteTagsDocument = exports.CreateTagsDocument = exports.ListTagsDocument = exports.UpdateQuickAnswerDocument = exports.DeleteQuickAnswerDocument = exports.CreateQuickAnswerDocument = exports.SearchQuickAnswersDocument = exports.ListQuickAnswersDocument = exports.OnTicketPresenceDocument = exports.LeaveTicketPresenceDocument = exports.EnterTicketPresenceDocument = exports.TicketPresenceDocument = exports.DisableSurveyDocument = exports.UpsertSurveyDocument = exports.GetSurveyDocument = exports.OnMonitoringTicketChangeDocument = exports.LiveSummaryDocument = exports.RemoveDrozChatAgentGroupDocument = exports.AddDrozChatAgentGroupDocument = exports.EnableDrozChatAgentGroupDocument = exports.DisableDrozChatAgentGroupDocument = exports.UpdateDrozChatAgentGroupDocument = exports.CreateDrozChatAgentGroupDocument = exports.ListDrozChatAgentGroupsDocument = exports.ListDrozChatGroupsDocument = exports.GetDrozChatAgentGroupDocument = exports.ClearMaxSimultaneousAttendancesDocument = exports.SetMaxSimultaneousAttendancesDocument = exports.GetGlobalConfigurationDocument = exports.CustomFieldValuesForTicketDocument = exports.ClearCustomFieldValueDocument = exports.SetCustomFieldValueDocument = void 0;
|
|
7
|
+
exports.serviceName = exports.DeleteViewDocument = exports.UpdateViewDocument = exports.CloneViewDocument = exports.CreateViewDocument = exports.ListTicketsByViewDocument = exports.ListViewsDocument = exports.GetViewDocument = exports.ReorderTriggersByEventTypeDocument = exports.DeleteTriggerDocument = exports.UpdateTriggerDocument = exports.CreateTriggerDocument = exports.GetTriggerDocument = exports.ListTriggersDocument = exports.OnMessageByStateMineDocument = exports.OnTicketMessageDocument = exports.OnTicketByStateDocument = exports.OnTicketInProgressMineDocument = exports.TransferTicketToChannelDocument = exports.RemoveTagsFromTicketDocument = exports.AddTagsToTicketDocument = exports.CloseTicketDocument = exports.UnassignTicketDocument = exports.AssignTicketMyselfDocument = void 0;
|
|
8
8
|
exports.getSdk = getSdk;
|
|
9
9
|
var ActiveDispatchConnector;
|
|
10
10
|
(function (ActiveDispatchConnector) {
|
|
@@ -23,6 +23,90 @@ var AppInstanceStatus;
|
|
|
23
23
|
AppInstanceStatus["Failing"] = "Failing";
|
|
24
24
|
AppInstanceStatus["Inactive"] = "Inactive";
|
|
25
25
|
})(AppInstanceStatus || (exports.AppInstanceStatus = AppInstanceStatus = {}));
|
|
26
|
+
var ApprovalAlertType;
|
|
27
|
+
(function (ApprovalAlertType) {
|
|
28
|
+
ApprovalAlertType["ApprovalQueueOverLimit"] = "APPROVAL_QUEUE_OVER_LIMIT";
|
|
29
|
+
ApprovalAlertType["Expired"] = "EXPIRED";
|
|
30
|
+
ApprovalAlertType["ExpiringSoon"] = "EXPIRING_SOON";
|
|
31
|
+
ApprovalAlertType["FallbackChannelMissing"] = "FALLBACK_CHANNEL_MISSING";
|
|
32
|
+
ApprovalAlertType["Indeterminate"] = "INDETERMINATE";
|
|
33
|
+
ApprovalAlertType["NoApproverOnline"] = "NO_APPROVER_ONLINE";
|
|
34
|
+
})(ApprovalAlertType || (exports.ApprovalAlertType = ApprovalAlertType = {}));
|
|
35
|
+
var ApprovalTaskChangeAction;
|
|
36
|
+
(function (ApprovalTaskChangeAction) {
|
|
37
|
+
ApprovalTaskChangeAction["Created"] = "CREATED";
|
|
38
|
+
ApprovalTaskChangeAction["Removed"] = "REMOVED";
|
|
39
|
+
ApprovalTaskChangeAction["Updated"] = "UPDATED";
|
|
40
|
+
})(ApprovalTaskChangeAction || (exports.ApprovalTaskChangeAction = ApprovalTaskChangeAction = {}));
|
|
41
|
+
var ApprovalTaskChannel;
|
|
42
|
+
(function (ApprovalTaskChannel) {
|
|
43
|
+
ApprovalTaskChannel["Other"] = "OTHER";
|
|
44
|
+
ApprovalTaskChannel["Web"] = "WEB";
|
|
45
|
+
ApprovalTaskChannel["Whatsapp"] = "WHATSAPP";
|
|
46
|
+
})(ApprovalTaskChannel || (exports.ApprovalTaskChannel = ApprovalTaskChannel = {}));
|
|
47
|
+
var ApprovalTaskDecision;
|
|
48
|
+
(function (ApprovalTaskDecision) {
|
|
49
|
+
ApprovalTaskDecision["Approved"] = "APPROVED";
|
|
50
|
+
ApprovalTaskDecision["Rejected"] = "REJECTED";
|
|
51
|
+
})(ApprovalTaskDecision || (exports.ApprovalTaskDecision = ApprovalTaskDecision = {}));
|
|
52
|
+
var ApprovalTaskEventType;
|
|
53
|
+
(function (ApprovalTaskEventType) {
|
|
54
|
+
ApprovalTaskEventType["Assigned"] = "ASSIGNED";
|
|
55
|
+
ApprovalTaskEventType["Cancelled"] = "CANCELLED";
|
|
56
|
+
ApprovalTaskEventType["Claimed"] = "CLAIMED";
|
|
57
|
+
ApprovalTaskEventType["ClaimExpired"] = "CLAIM_EXPIRED";
|
|
58
|
+
ApprovalTaskEventType["Created"] = "CREATED";
|
|
59
|
+
ApprovalTaskEventType["Decided"] = "DECIDED";
|
|
60
|
+
ApprovalTaskEventType["DivergenceFound"] = "DIVERGENCE_FOUND";
|
|
61
|
+
ApprovalTaskEventType["ExecutionReported"] = "EXECUTION_REPORTED";
|
|
62
|
+
ApprovalTaskEventType["Expired"] = "EXPIRED";
|
|
63
|
+
ApprovalTaskEventType["Released"] = "RELEASED";
|
|
64
|
+
})(ApprovalTaskEventType || (exports.ApprovalTaskEventType = ApprovalTaskEventType = {}));
|
|
65
|
+
var ApprovalTaskExecutionResult;
|
|
66
|
+
(function (ApprovalTaskExecutionResult) {
|
|
67
|
+
ApprovalTaskExecutionResult["Executed"] = "EXECUTED";
|
|
68
|
+
ApprovalTaskExecutionResult["Failed"] = "FAILED";
|
|
69
|
+
ApprovalTaskExecutionResult["Indeterminate"] = "INDETERMINATE";
|
|
70
|
+
ApprovalTaskExecutionResult["NotExecuted"] = "NOT_EXECUTED";
|
|
71
|
+
})(ApprovalTaskExecutionResult || (exports.ApprovalTaskExecutionResult = ApprovalTaskExecutionResult = {}));
|
|
72
|
+
var ApprovalTaskMessageRole;
|
|
73
|
+
(function (ApprovalTaskMessageRole) {
|
|
74
|
+
ApprovalTaskMessageRole["AiAgent"] = "AI_AGENT";
|
|
75
|
+
ApprovalTaskMessageRole["Customer"] = "CUSTOMER";
|
|
76
|
+
})(ApprovalTaskMessageRole || (exports.ApprovalTaskMessageRole = ApprovalTaskMessageRole = {}));
|
|
77
|
+
var ApprovalTaskRejectionReason;
|
|
78
|
+
(function (ApprovalTaskRejectionReason) {
|
|
79
|
+
ApprovalTaskRejectionReason["DataMismatch"] = "DATA_MISMATCH";
|
|
80
|
+
ApprovalTaskRejectionReason["Other"] = "OTHER";
|
|
81
|
+
ApprovalTaskRejectionReason["OutOfPolicy"] = "OUT_OF_POLICY";
|
|
82
|
+
ApprovalTaskRejectionReason["SuspectedFraud"] = "SUSPECTED_FRAUD";
|
|
83
|
+
})(ApprovalTaskRejectionReason || (exports.ApprovalTaskRejectionReason = ApprovalTaskRejectionReason = {}));
|
|
84
|
+
var ApprovalTaskStatus;
|
|
85
|
+
(function (ApprovalTaskStatus) {
|
|
86
|
+
ApprovalTaskStatus["Assigned"] = "ASSIGNED";
|
|
87
|
+
ApprovalTaskStatus["Cancelled"] = "CANCELLED";
|
|
88
|
+
ApprovalTaskStatus["Decided"] = "DECIDED";
|
|
89
|
+
ApprovalTaskStatus["Expired"] = "EXPIRED";
|
|
90
|
+
ApprovalTaskStatus["Open"] = "OPEN";
|
|
91
|
+
})(ApprovalTaskStatus || (exports.ApprovalTaskStatus = ApprovalTaskStatus = {}));
|
|
92
|
+
var ApprovalTaskTab;
|
|
93
|
+
(function (ApprovalTaskTab) {
|
|
94
|
+
ApprovalTaskTab["All"] = "ALL";
|
|
95
|
+
ApprovalTaskTab["Finished"] = "FINISHED";
|
|
96
|
+
ApprovalTaskTab["ManualCheck"] = "MANUAL_CHECK";
|
|
97
|
+
ApprovalTaskTab["Mine"] = "MINE";
|
|
98
|
+
ApprovalTaskTab["Pending"] = "PENDING";
|
|
99
|
+
})(ApprovalTaskTab || (exports.ApprovalTaskTab = ApprovalTaskTab = {}));
|
|
100
|
+
var BusinessHoursWeekday;
|
|
101
|
+
(function (BusinessHoursWeekday) {
|
|
102
|
+
BusinessHoursWeekday["Friday"] = "FRIDAY";
|
|
103
|
+
BusinessHoursWeekday["Monday"] = "MONDAY";
|
|
104
|
+
BusinessHoursWeekday["Saturday"] = "SATURDAY";
|
|
105
|
+
BusinessHoursWeekday["Sunday"] = "SUNDAY";
|
|
106
|
+
BusinessHoursWeekday["Thursday"] = "THURSDAY";
|
|
107
|
+
BusinessHoursWeekday["Tuesday"] = "TUESDAY";
|
|
108
|
+
BusinessHoursWeekday["Wednesday"] = "WEDNESDAY";
|
|
109
|
+
})(BusinessHoursWeekday || (exports.BusinessHoursWeekday = BusinessHoursWeekday = {}));
|
|
26
110
|
var Can;
|
|
27
111
|
(function (Can) {
|
|
28
112
|
Can["Manage"] = "manage";
|
|
@@ -168,9 +252,14 @@ var Typenames;
|
|
|
168
252
|
Typenames["AgentGroup"] = "AgentGroup";
|
|
169
253
|
Typenames["AgentPresence"] = "AgentPresence";
|
|
170
254
|
Typenames["Any"] = "Any";
|
|
255
|
+
Typenames["ApprovalQueues"] = "ApprovalQueues";
|
|
256
|
+
Typenames["ApprovalSessionLocks"] = "ApprovalSessionLocks";
|
|
257
|
+
Typenames["ApprovalTaskKeys"] = "ApprovalTaskKeys";
|
|
258
|
+
Typenames["ApprovalTasks"] = "ApprovalTasks";
|
|
171
259
|
Typenames["BulkCloseBatches"] = "BulkCloseBatches";
|
|
172
260
|
Typenames["BulkCloseRoutineConfig"] = "BulkCloseRoutineConfig";
|
|
173
261
|
Typenames["BulkCloseRuns"] = "BulkCloseRuns";
|
|
262
|
+
Typenames["BusinessHours"] = "BusinessHours";
|
|
174
263
|
Typenames["ChannelLastAssignee"] = "ChannelLastAssignee";
|
|
175
264
|
Typenames["ChannelTriggerExecutions"] = "ChannelTriggerExecutions";
|
|
176
265
|
Typenames["Channels"] = "Channels";
|
|
@@ -579,6 +579,7 @@ export declare enum PlatformTextKey {
|
|
|
579
579
|
MasterRule = "masterRule",
|
|
580
580
|
NegativeFeedbackQuestion = "negativeFeedbackQuestion",
|
|
581
581
|
NegativeSentimentQuestion = "negativeSentimentQuestion",
|
|
582
|
+
PersonalDataMarkerRule = "personalDataMarkerRule",
|
|
582
583
|
PrecedenceFooter = "precedenceFooter",
|
|
583
584
|
PrecedenceHeader = "precedenceHeader",
|
|
584
585
|
PromptInjectionQuestion = "promptInjectionQuestion",
|
package/src/sdks/drozcommons.js
CHANGED
|
@@ -85,6 +85,7 @@ var PlatformTextKey;
|
|
|
85
85
|
PlatformTextKey["MasterRule"] = "masterRule";
|
|
86
86
|
PlatformTextKey["NegativeFeedbackQuestion"] = "negativeFeedbackQuestion";
|
|
87
87
|
PlatformTextKey["NegativeSentimentQuestion"] = "negativeSentimentQuestion";
|
|
88
|
+
PlatformTextKey["PersonalDataMarkerRule"] = "personalDataMarkerRule";
|
|
88
89
|
PlatformTextKey["PrecedenceFooter"] = "precedenceFooter";
|
|
89
90
|
PlatformTextKey["PrecedenceHeader"] = "precedenceHeader";
|
|
90
91
|
PlatformTextKey["PromptInjectionQuestion"] = "promptInjectionQuestion";
|