@droz-js/sdk 0.26.22 → 0.26.24

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.
@@ -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']>;
@@ -1712,6 +2000,110 @@ export type AgentLogoffMutationVariables = Exact<{
1712
2000
  export type AgentLogoffMutation = {
1713
2001
  agentLogoff: AgentPresenceFragment;
1714
2002
  };
2003
+ export type DrozChatApprovalQueueFragment = Pick<DrozChatApprovalQueue, 'id' | 'name' | 'agentIds' | 'groupIds' | 'depthLimit' | 'fallbackChannelId' | 'procedureNames' | 'procedureCount' | 'deletedAt' | 'createdAt' | 'updatedAt'>;
2004
+ export type DrozChatApprovalTaskFragment = (Pick<DrozChatApprovalTask, 'id' | 'approvalQueueId' | 'idempotencyKey' | 'aiAgentId' | 'sessionId' | 'customerId' | 'channel' | 'toolId' | 'toolName' | 'useCase' | 'args' | 'trusted' | 'untrusted' | 'consumerActive' | 'summary' | 'ticketId' | 'expiresAt' | 'status' | 'assigneeId' | 'assigneeName' | 'assignedAt' | 'claimExpiresAt' | 'decision' | 'rejectionReason' | 'rejectionNote' | 'decidedById' | 'decidedByName' | 'decidedAt' | 'executionResult' | 'createdAt' | 'updatedAt'> & {
2005
+ conversation: (Pick<DrozChatApprovalTaskConversation, 'truncated'> & {
2006
+ messages: Array<Pick<DrozChatApprovalTaskMessage, 'role' | 'text' | 'sentAt'>>;
2007
+ });
2008
+ divergent?: Maybe<Pick<DrozChatApprovalTaskDivergence, 'before' | 'after'>>;
2009
+ history: Array<Pick<DrozChatApprovalTaskEvent, 'type' | 'at' | 'actorId' | 'targetId'>>;
2010
+ });
2011
+ export type ListApprovalQueuesQueryVariables = Exact<{
2012
+ [key: string]: never;
2013
+ }>;
2014
+ export type ListApprovalQueuesQuery = {
2015
+ listApprovalQueues: Array<DrozChatApprovalQueueFragment>;
2016
+ };
2017
+ export type GetApprovalQueueQueryVariables = Exact<{
2018
+ id: Scalars['ID']['input'];
2019
+ }>;
2020
+ export type GetApprovalQueueQuery = {
2021
+ getApprovalQueue?: Maybe<DrozChatApprovalQueueFragment>;
2022
+ };
2023
+ export type ListMyApprovalQueuesQueryVariables = Exact<{
2024
+ [key: string]: never;
2025
+ }>;
2026
+ export type ListMyApprovalQueuesQuery = {
2027
+ listMyApprovalQueues: Array<DrozChatApprovalQueueFragment>;
2028
+ };
2029
+ export type ListApprovalTasksQueryVariables = Exact<{
2030
+ filter: ApprovalTasksFilterInput;
2031
+ page?: InputMaybe<Scalars['Int']['input']>;
2032
+ perPage?: InputMaybe<Scalars['Int']['input']>;
2033
+ }>;
2034
+ export type ListApprovalTasksQuery = {
2035
+ listApprovalTasks: (Pick<DrozChatApprovalTasksPage, 'total' | 'page' | 'perPage'> & {
2036
+ nodes: Array<DrozChatApprovalTaskFragment>;
2037
+ });
2038
+ };
2039
+ export type GetApprovalTaskQueryVariables = Exact<{
2040
+ id: Scalars['ID']['input'];
2041
+ }>;
2042
+ export type GetApprovalTaskQuery = {
2043
+ getApprovalTask?: Maybe<DrozChatApprovalTaskFragment>;
2044
+ };
2045
+ export type GetApprovalSummaryQueryVariables = Exact<{
2046
+ [key: string]: never;
2047
+ }>;
2048
+ export type GetApprovalSummaryQuery = {
2049
+ getApprovalSummary: Pick<DrozChatApprovalSummary, 'openCount' | 'assignedCount' | 'mineCount' | 'expiringSoonCount' | 'divergentCount' | 'manualCheckCount'>;
2050
+ };
2051
+ export type CreateApprovalQueueMutationVariables = Exact<{
2052
+ input: CreateApprovalQueueInput;
2053
+ }>;
2054
+ export type CreateApprovalQueueMutation = {
2055
+ createApprovalQueue: DrozChatApprovalQueueFragment;
2056
+ };
2057
+ export type UpdateApprovalQueueMutationVariables = Exact<{
2058
+ input: UpdateApprovalQueueInput;
2059
+ }>;
2060
+ export type UpdateApprovalQueueMutation = {
2061
+ updateApprovalQueue: DrozChatApprovalQueueFragment;
2062
+ };
2063
+ export type DeleteApprovalQueueMutationVariables = Exact<{
2064
+ input: DeleteApprovalQueueInput;
2065
+ }>;
2066
+ export type DeleteApprovalQueueMutation = {
2067
+ deleteApprovalQueue: DrozChatApprovalQueueFragment;
2068
+ };
2069
+ export type ClaimApprovalTaskMutationVariables = Exact<{
2070
+ input: ClaimApprovalTaskInput;
2071
+ }>;
2072
+ export type ClaimApprovalTaskMutation = {
2073
+ claimApprovalTask: DrozChatApprovalTaskFragment;
2074
+ };
2075
+ export type ReleaseApprovalTaskMutationVariables = Exact<{
2076
+ input: ReleaseApprovalTaskInput;
2077
+ }>;
2078
+ export type ReleaseApprovalTaskMutation = {
2079
+ releaseApprovalTask: DrozChatApprovalTaskFragment;
2080
+ };
2081
+ export type AssignApprovalTaskMutationVariables = Exact<{
2082
+ input: AssignApprovalTaskInput;
2083
+ }>;
2084
+ export type AssignApprovalTaskMutation = {
2085
+ assignApprovalTask: DrozChatApprovalTaskFragment;
2086
+ };
2087
+ export type DecideApprovalTaskMutationVariables = Exact<{
2088
+ input: DecideApprovalTaskInput;
2089
+ }>;
2090
+ export type DecideApprovalTaskMutation = {
2091
+ decideApprovalTask: DrozChatApprovalTaskFragment;
2092
+ };
2093
+ export type OnApprovalTaskChangeSubscriptionVariables = Exact<{
2094
+ [key: string]: never;
2095
+ }>;
2096
+ export type OnApprovalTaskChangeSubscription = {
2097
+ onApprovalTaskChange: (Pick<DrozChatApprovalTaskChange, 'action' | 'taskId'> & {
2098
+ task?: Maybe<DrozChatApprovalTaskFragment>;
2099
+ });
2100
+ };
2101
+ export type OnApprovalAlertSubscriptionVariables = Exact<{
2102
+ [key: string]: never;
2103
+ }>;
2104
+ export type OnApprovalAlertSubscription = {
2105
+ onApprovalAlert: Pick<DrozChatApprovalAlert, 'type' | 'approvalQueueId' | 'taskId' | 'raisedAt'>;
2106
+ };
1715
2107
  export type GenerateAnalyticsTokenMutationVariables = Exact<{
1716
2108
  [key: string]: never;
1717
2109
  }>;
@@ -2553,6 +2945,8 @@ export type DeleteViewMutation = {
2553
2945
  deleteView: ViewFragment;
2554
2946
  };
2555
2947
  export declare const AgentPresenceFragmentDoc = "\n fragment agentPresence on AgentPresence {\n agentId\n status\n since\n}\n ";
2948
+ export declare const DrozChatApprovalQueueFragmentDoc = "\n fragment drozChatApprovalQueue on DrozChatApprovalQueue {\n id\n name\n agentIds\n groupIds\n depthLimit\n fallbackChannelId\n procedureNames\n procedureCount\n deletedAt\n createdAt\n updatedAt\n}\n ";
2949
+ export declare const DrozChatApprovalTaskFragmentDoc = "\n fragment drozChatApprovalTask on DrozChatApprovalTask {\n id\n approvalQueueId\n idempotencyKey\n aiAgentId\n sessionId\n customerId\n channel\n toolId\n toolName\n useCase\n args\n trusted\n untrusted\n consumerActive\n summary\n conversation {\n truncated\n messages {\n role\n text\n sentAt\n }\n }\n ticketId\n expiresAt\n status\n assigneeId\n assigneeName\n assignedAt\n claimExpiresAt\n decision\n rejectionReason\n rejectionNote\n decidedById\n decidedByName\n decidedAt\n divergent {\n before\n after\n }\n executionResult\n history {\n type\n at\n actorId\n targetId\n }\n createdAt\n updatedAt\n}\n ";
2556
2950
  export declare const BulkCloseRoutineConfigFragmentDoc = "\n fragment bulkCloseRoutineConfig on BulkCloseRoutineConfig {\n id\n enabled\n senderAllowlist\n cutoffDays\n batchSize\n maxTicketsPerRun\n cronExpression\n cronJobId\n createdAt\n updatedAt\n}\n ";
2557
2951
  export declare const BulkCloseRunFragmentDoc = "\n fragment bulkCloseRun on BulkCloseRun {\n id\n status\n windowStart\n startedAt\n finishedAt\n totals {\n planned\n closed\n alreadyClosed\n errors\n uncreated\n }\n createdAt\n updatedAt\n}\n ";
2558
2952
  export declare const DrozChatAgentFragmentDoc = "\n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n ";
@@ -2588,6 +2982,21 @@ export declare const ActiveDispatchDocument = "\n mutation activeDispatch($in
2588
2982
  export declare const MyPresenceDocument = "\n query myPresence {\n myPresence {\n ...agentPresence\n }\n}\n \n fragment agentPresence on AgentPresence {\n agentId\n status\n since\n}\n ";
2589
2983
  export declare const AgentHeartbeatDocument = "\n mutation agentHeartbeat {\n agentHeartbeat {\n ...agentPresence\n }\n}\n \n fragment agentPresence on AgentPresence {\n agentId\n status\n since\n}\n ";
2590
2984
  export declare const AgentLogoffDocument = "\n mutation agentLogoff {\n agentLogoff {\n ...agentPresence\n }\n}\n \n fragment agentPresence on AgentPresence {\n agentId\n status\n since\n}\n ";
2985
+ export declare const ListApprovalQueuesDocument = "\n query listApprovalQueues {\n listApprovalQueues {\n ...drozChatApprovalQueue\n }\n}\n \n fragment drozChatApprovalQueue on DrozChatApprovalQueue {\n id\n name\n agentIds\n groupIds\n depthLimit\n fallbackChannelId\n procedureNames\n procedureCount\n deletedAt\n createdAt\n updatedAt\n}\n ";
2986
+ export declare const GetApprovalQueueDocument = "\n query getApprovalQueue($id: ID!) {\n getApprovalQueue(id: $id) {\n ...drozChatApprovalQueue\n }\n}\n \n fragment drozChatApprovalQueue on DrozChatApprovalQueue {\n id\n name\n agentIds\n groupIds\n depthLimit\n fallbackChannelId\n procedureNames\n procedureCount\n deletedAt\n createdAt\n updatedAt\n}\n ";
2987
+ export declare const ListMyApprovalQueuesDocument = "\n query listMyApprovalQueues {\n listMyApprovalQueues {\n ...drozChatApprovalQueue\n }\n}\n \n fragment drozChatApprovalQueue on DrozChatApprovalQueue {\n id\n name\n agentIds\n groupIds\n depthLimit\n fallbackChannelId\n procedureNames\n procedureCount\n deletedAt\n createdAt\n updatedAt\n}\n ";
2988
+ export declare const ListApprovalTasksDocument = "\n query listApprovalTasks($filter: ApprovalTasksFilterInput!, $page: Int, $perPage: Int) {\n listApprovalTasks(filter: $filter, page: $page, perPage: $perPage) {\n total\n page\n perPage\n nodes {\n ...drozChatApprovalTask\n }\n }\n}\n \n fragment drozChatApprovalTask on DrozChatApprovalTask {\n id\n approvalQueueId\n idempotencyKey\n aiAgentId\n sessionId\n customerId\n channel\n toolId\n toolName\n useCase\n args\n trusted\n untrusted\n consumerActive\n summary\n conversation {\n truncated\n messages {\n role\n text\n sentAt\n }\n }\n ticketId\n expiresAt\n status\n assigneeId\n assigneeName\n assignedAt\n claimExpiresAt\n decision\n rejectionReason\n rejectionNote\n decidedById\n decidedByName\n decidedAt\n divergent {\n before\n after\n }\n executionResult\n history {\n type\n at\n actorId\n targetId\n }\n createdAt\n updatedAt\n}\n ";
2989
+ export declare const GetApprovalTaskDocument = "\n query getApprovalTask($id: ID!) {\n getApprovalTask(id: $id) {\n ...drozChatApprovalTask\n }\n}\n \n fragment drozChatApprovalTask on DrozChatApprovalTask {\n id\n approvalQueueId\n idempotencyKey\n aiAgentId\n sessionId\n customerId\n channel\n toolId\n toolName\n useCase\n args\n trusted\n untrusted\n consumerActive\n summary\n conversation {\n truncated\n messages {\n role\n text\n sentAt\n }\n }\n ticketId\n expiresAt\n status\n assigneeId\n assigneeName\n assignedAt\n claimExpiresAt\n decision\n rejectionReason\n rejectionNote\n decidedById\n decidedByName\n decidedAt\n divergent {\n before\n after\n }\n executionResult\n history {\n type\n at\n actorId\n targetId\n }\n createdAt\n updatedAt\n}\n ";
2990
+ export declare const GetApprovalSummaryDocument = "\n query getApprovalSummary {\n getApprovalSummary {\n openCount\n assignedCount\n mineCount\n expiringSoonCount\n divergentCount\n manualCheckCount\n }\n}\n ";
2991
+ export declare const CreateApprovalQueueDocument = "\n mutation createApprovalQueue($input: CreateApprovalQueueInput!) {\n createApprovalQueue(input: $input) {\n ...drozChatApprovalQueue\n }\n}\n \n fragment drozChatApprovalQueue on DrozChatApprovalQueue {\n id\n name\n agentIds\n groupIds\n depthLimit\n fallbackChannelId\n procedureNames\n procedureCount\n deletedAt\n createdAt\n updatedAt\n}\n ";
2992
+ export declare const UpdateApprovalQueueDocument = "\n mutation updateApprovalQueue($input: UpdateApprovalQueueInput!) {\n updateApprovalQueue(input: $input) {\n ...drozChatApprovalQueue\n }\n}\n \n fragment drozChatApprovalQueue on DrozChatApprovalQueue {\n id\n name\n agentIds\n groupIds\n depthLimit\n fallbackChannelId\n procedureNames\n procedureCount\n deletedAt\n createdAt\n updatedAt\n}\n ";
2993
+ export declare const DeleteApprovalQueueDocument = "\n mutation deleteApprovalQueue($input: DeleteApprovalQueueInput!) {\n deleteApprovalQueue(input: $input) {\n ...drozChatApprovalQueue\n }\n}\n \n fragment drozChatApprovalQueue on DrozChatApprovalQueue {\n id\n name\n agentIds\n groupIds\n depthLimit\n fallbackChannelId\n procedureNames\n procedureCount\n deletedAt\n createdAt\n updatedAt\n}\n ";
2994
+ export declare const ClaimApprovalTaskDocument = "\n mutation claimApprovalTask($input: ClaimApprovalTaskInput!) {\n claimApprovalTask(input: $input) {\n ...drozChatApprovalTask\n }\n}\n \n fragment drozChatApprovalTask on DrozChatApprovalTask {\n id\n approvalQueueId\n idempotencyKey\n aiAgentId\n sessionId\n customerId\n channel\n toolId\n toolName\n useCase\n args\n trusted\n untrusted\n consumerActive\n summary\n conversation {\n truncated\n messages {\n role\n text\n sentAt\n }\n }\n ticketId\n expiresAt\n status\n assigneeId\n assigneeName\n assignedAt\n claimExpiresAt\n decision\n rejectionReason\n rejectionNote\n decidedById\n decidedByName\n decidedAt\n divergent {\n before\n after\n }\n executionResult\n history {\n type\n at\n actorId\n targetId\n }\n createdAt\n updatedAt\n}\n ";
2995
+ export declare const ReleaseApprovalTaskDocument = "\n mutation releaseApprovalTask($input: ReleaseApprovalTaskInput!) {\n releaseApprovalTask(input: $input) {\n ...drozChatApprovalTask\n }\n}\n \n fragment drozChatApprovalTask on DrozChatApprovalTask {\n id\n approvalQueueId\n idempotencyKey\n aiAgentId\n sessionId\n customerId\n channel\n toolId\n toolName\n useCase\n args\n trusted\n untrusted\n consumerActive\n summary\n conversation {\n truncated\n messages {\n role\n text\n sentAt\n }\n }\n ticketId\n expiresAt\n status\n assigneeId\n assigneeName\n assignedAt\n claimExpiresAt\n decision\n rejectionReason\n rejectionNote\n decidedById\n decidedByName\n decidedAt\n divergent {\n before\n after\n }\n executionResult\n history {\n type\n at\n actorId\n targetId\n }\n createdAt\n updatedAt\n}\n ";
2996
+ export declare const AssignApprovalTaskDocument = "\n mutation assignApprovalTask($input: AssignApprovalTaskInput!) {\n assignApprovalTask(input: $input) {\n ...drozChatApprovalTask\n }\n}\n \n fragment drozChatApprovalTask on DrozChatApprovalTask {\n id\n approvalQueueId\n idempotencyKey\n aiAgentId\n sessionId\n customerId\n channel\n toolId\n toolName\n useCase\n args\n trusted\n untrusted\n consumerActive\n summary\n conversation {\n truncated\n messages {\n role\n text\n sentAt\n }\n }\n ticketId\n expiresAt\n status\n assigneeId\n assigneeName\n assignedAt\n claimExpiresAt\n decision\n rejectionReason\n rejectionNote\n decidedById\n decidedByName\n decidedAt\n divergent {\n before\n after\n }\n executionResult\n history {\n type\n at\n actorId\n targetId\n }\n createdAt\n updatedAt\n}\n ";
2997
+ export declare const DecideApprovalTaskDocument = "\n mutation decideApprovalTask($input: DecideApprovalTaskInput!) {\n decideApprovalTask(input: $input) {\n ...drozChatApprovalTask\n }\n}\n \n fragment drozChatApprovalTask on DrozChatApprovalTask {\n id\n approvalQueueId\n idempotencyKey\n aiAgentId\n sessionId\n customerId\n channel\n toolId\n toolName\n useCase\n args\n trusted\n untrusted\n consumerActive\n summary\n conversation {\n truncated\n messages {\n role\n text\n sentAt\n }\n }\n ticketId\n expiresAt\n status\n assigneeId\n assigneeName\n assignedAt\n claimExpiresAt\n decision\n rejectionReason\n rejectionNote\n decidedById\n decidedByName\n decidedAt\n divergent {\n before\n after\n }\n executionResult\n history {\n type\n at\n actorId\n targetId\n }\n createdAt\n updatedAt\n}\n ";
2998
+ export declare const OnApprovalTaskChangeDocument = "\n subscription onApprovalTaskChange {\n onApprovalTaskChange {\n action\n taskId\n task {\n ...drozChatApprovalTask\n }\n }\n}\n \n fragment drozChatApprovalTask on DrozChatApprovalTask {\n id\n approvalQueueId\n idempotencyKey\n aiAgentId\n sessionId\n customerId\n channel\n toolId\n toolName\n useCase\n args\n trusted\n untrusted\n consumerActive\n summary\n conversation {\n truncated\n messages {\n role\n text\n sentAt\n }\n }\n ticketId\n expiresAt\n status\n assigneeId\n assigneeName\n assignedAt\n claimExpiresAt\n decision\n rejectionReason\n rejectionNote\n decidedById\n decidedByName\n decidedAt\n divergent {\n before\n after\n }\n executionResult\n history {\n type\n at\n actorId\n targetId\n }\n createdAt\n updatedAt\n}\n ";
2999
+ export declare const OnApprovalAlertDocument = "\n subscription onApprovalAlert {\n onApprovalAlert {\n type\n approvalQueueId\n taskId\n raisedAt\n }\n}\n ";
2591
3000
  export declare const GenerateAnalyticsTokenDocument = "\n mutation generateAnalyticsToken {\n generateAnalyticsToken {\n token\n }\n}\n ";
2592
3001
  export declare const GetBulkCloseRoutineConfigDocument = "\n query getBulkCloseRoutineConfig {\n getBulkCloseRoutineConfig {\n ...bulkCloseRoutineConfig\n }\n}\n \n fragment bulkCloseRoutineConfig on BulkCloseRoutineConfig {\n id\n enabled\n senderAllowlist\n cutoffDays\n batchSize\n maxTicketsPerRun\n cronExpression\n cronJobId\n createdAt\n updatedAt\n}\n ";
2593
3002
  export declare const CreateBulkCloseRoutineConfigDocument = "\n mutation createBulkCloseRoutineConfig($input: CreateBulkCloseRoutineConfigInput!) {\n createBulkCloseRoutineConfig(input: $input) {\n ...bulkCloseRoutineConfig\n }\n}\n \n fragment bulkCloseRoutineConfig on BulkCloseRoutineConfig {\n id\n enabled\n senderAllowlist\n cutoffDays\n batchSize\n maxTicketsPerRun\n cronExpression\n cronJobId\n createdAt\n updatedAt\n}\n ";
@@ -2696,6 +3105,21 @@ export declare function getSdk<C>(requester: Requester<C>): {
2696
3105
  myPresence(variables?: MyPresenceQueryVariables, options?: C): Promise<MyPresenceQuery>;
2697
3106
  agentHeartbeat(variables?: AgentHeartbeatMutationVariables, options?: C): Promise<AgentHeartbeatMutation>;
2698
3107
  agentLogoff(variables?: AgentLogoffMutationVariables, options?: C): Promise<AgentLogoffMutation>;
3108
+ listApprovalQueues(variables?: ListApprovalQueuesQueryVariables, options?: C): Promise<ListApprovalQueuesQuery>;
3109
+ getApprovalQueue(variables: GetApprovalQueueQueryVariables, options?: C): Promise<GetApprovalQueueQuery>;
3110
+ listMyApprovalQueues(variables?: ListMyApprovalQueuesQueryVariables, options?: C): Promise<ListMyApprovalQueuesQuery>;
3111
+ listApprovalTasks(variables: ListApprovalTasksQueryVariables, options?: C): Promise<ListApprovalTasksQuery>;
3112
+ getApprovalTask(variables: GetApprovalTaskQueryVariables, options?: C): Promise<GetApprovalTaskQuery>;
3113
+ getApprovalSummary(variables?: GetApprovalSummaryQueryVariables, options?: C): Promise<GetApprovalSummaryQuery>;
3114
+ createApprovalQueue(variables: CreateApprovalQueueMutationVariables, options?: C): Promise<CreateApprovalQueueMutation>;
3115
+ updateApprovalQueue(variables: UpdateApprovalQueueMutationVariables, options?: C): Promise<UpdateApprovalQueueMutation>;
3116
+ deleteApprovalQueue(variables: DeleteApprovalQueueMutationVariables, options?: C): Promise<DeleteApprovalQueueMutation>;
3117
+ claimApprovalTask(variables: ClaimApprovalTaskMutationVariables, options?: C): Promise<ClaimApprovalTaskMutation>;
3118
+ releaseApprovalTask(variables: ReleaseApprovalTaskMutationVariables, options?: C): Promise<ReleaseApprovalTaskMutation>;
3119
+ assignApprovalTask(variables: AssignApprovalTaskMutationVariables, options?: C): Promise<AssignApprovalTaskMutation>;
3120
+ decideApprovalTask(variables: DecideApprovalTaskMutationVariables, options?: C): Promise<DecideApprovalTaskMutation>;
3121
+ onApprovalTaskChange(variables?: OnApprovalTaskChangeSubscriptionVariables, options?: C): AsyncIterableIterator<OnApprovalTaskChangeSubscription>;
3122
+ onApprovalAlert(variables?: OnApprovalAlertSubscriptionVariables, options?: C): AsyncIterableIterator<OnApprovalAlertSubscription>;
2699
3123
  generateAnalyticsToken(variables?: GenerateAnalyticsTokenMutationVariables, options?: C): Promise<GenerateAnalyticsTokenMutation>;
2700
3124
  getBulkCloseRoutineConfig(variables?: GetBulkCloseRoutineConfigQueryVariables, options?: C): Promise<GetBulkCloseRoutineConfigQuery>;
2701
3125
  createBulkCloseRoutineConfig(variables: CreateBulkCloseRoutineConfigMutationVariables, options?: C): Promise<CreateBulkCloseRoutineConfigMutation>;