@burdenoff/microfe-support 2026.1014.3 → 2026.1029.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,56 @@
1
1
  import * as Types from './global-types';
2
2
  import * as Apollo from '@apollo/client';
3
3
  import * as ApolloReactHooks from '@apollo/client/react';
4
+ export type TriageDecisionFieldsFragment = {
5
+ __typename?: 'SupportTriageDecision';
6
+ engine: string;
7
+ trigger: Types.SupportTriageTrigger;
8
+ decidedAt: string;
9
+ decidedBy: string;
10
+ categoryId?: string | null;
11
+ proposedCategoryId?: string | null;
12
+ categoryConfidence: number;
13
+ categoryApplied: boolean;
14
+ previousCategoryId?: string | null;
15
+ category: Types.SupportTicketCategory;
16
+ previousCategory: Types.SupportTicketCategory;
17
+ priority: Types.SupportTicketPriority;
18
+ previousPriority: Types.SupportTicketPriority;
19
+ prioritySignals: Array<string>;
20
+ slaPolicyId?: string | null;
21
+ previousSlaPolicyId?: string | null;
22
+ slaApplied: boolean;
23
+ notes: Array<string>;
24
+ suggestedAssignee?: {
25
+ __typename?: 'SupportTriageAssigneeSuggestion';
26
+ agentProfileId: string;
27
+ userId: string;
28
+ matchedSkills: Array<string>;
29
+ load: number;
30
+ } | null;
31
+ evidence: Array<{
32
+ __typename?: 'SupportTriageEvidence';
33
+ kind: Types.SupportTriageEvidenceKind;
34
+ id: string;
35
+ label: string;
36
+ score: number;
37
+ }>;
38
+ };
39
+ export type ReplyDraftFieldsFragment = {
40
+ __typename?: 'SupportMessage';
41
+ id: string;
42
+ ticketId: string;
43
+ message: string;
44
+ isDraft: boolean;
45
+ createdAt: string;
46
+ draftCitations: Array<{
47
+ __typename?: 'SupportDraftCitation';
48
+ kind: Types.SupportDraftCitationKind;
49
+ id: string;
50
+ title: string;
51
+ score: number;
52
+ }>;
53
+ };
4
54
  export type ArchiveKnowledgeBaseArticleMutationVariables = Types.Exact<{
5
55
  id: Types.Scalars['ID']['input'];
6
56
  }>;
@@ -636,6 +686,34 @@ export type DeleteSlaPolicyMutation = {
636
686
  __typename?: 'Mutation';
637
687
  deleteSLAPolicy: boolean;
638
688
  };
689
+ export type GlobalDiscardTicketReplyDraftMutationVariables = Types.Exact<{
690
+ id: Types.Scalars['ID']['input'];
691
+ }>;
692
+ export type GlobalDiscardTicketReplyDraftMutation = {
693
+ __typename?: 'Mutation';
694
+ globalDiscardTicketReplyDraft: boolean;
695
+ };
696
+ export type GlobalDraftTicketReplyMutationVariables = Types.Exact<{
697
+ ticketId: Types.Scalars['ID']['input'];
698
+ }>;
699
+ export type GlobalDraftTicketReplyMutation = {
700
+ __typename?: 'Mutation';
701
+ globalDraftTicketReply: {
702
+ __typename?: 'SupportMessage';
703
+ id: string;
704
+ ticketId: string;
705
+ message: string;
706
+ isDraft: boolean;
707
+ createdAt: string;
708
+ draftCitations: Array<{
709
+ __typename?: 'SupportDraftCitation';
710
+ kind: Types.SupportDraftCitationKind;
711
+ id: string;
712
+ title: string;
713
+ score: number;
714
+ }>;
715
+ };
716
+ };
639
717
  export type NotifyDuplicateApplicantsMutationVariables = Types.Exact<{
640
718
  input: Types.NotifyDuplicateApplicantsInput;
641
719
  }>;
@@ -830,6 +908,22 @@ export type SendRoundMessageToCandidateMutation = {
830
908
  updatedBy?: string | null;
831
909
  };
832
910
  };
911
+ export type GlobalSendTicketReplyDraftMutationVariables = Types.Exact<{
912
+ id: Types.Scalars['ID']['input'];
913
+ message?: Types.InputMaybe<Types.Scalars['String']['input']>;
914
+ }>;
915
+ export type GlobalSendTicketReplyDraftMutation = {
916
+ __typename?: 'Mutation';
917
+ globalSendTicketReplyDraft: {
918
+ __typename?: 'SupportMessage';
919
+ id: string;
920
+ ticketId: string;
921
+ type: Types.MessageType;
922
+ isInternal: boolean;
923
+ message: string;
924
+ createdAt: string;
925
+ };
926
+ };
833
927
  export type SubmitInterviewFeedbackMutationVariables = Types.Exact<{
834
928
  input: Types.SubmitInterviewFeedbackInput;
835
929
  }>;
@@ -872,6 +966,47 @@ export type SubmitSatisfactionSurveyMutation = {
872
966
  submittedAt?: string | null;
873
967
  };
874
968
  };
969
+ export type GlobalTriageTicketMutationVariables = Types.Exact<{
970
+ id: Types.Scalars['ID']['input'];
971
+ }>;
972
+ export type GlobalTriageTicketMutation = {
973
+ __typename?: 'Mutation';
974
+ globalTriageTicket: {
975
+ __typename?: 'SupportTriageDecision';
976
+ engine: string;
977
+ trigger: Types.SupportTriageTrigger;
978
+ decidedAt: string;
979
+ decidedBy: string;
980
+ categoryId?: string | null;
981
+ proposedCategoryId?: string | null;
982
+ categoryConfidence: number;
983
+ categoryApplied: boolean;
984
+ previousCategoryId?: string | null;
985
+ category: Types.SupportTicketCategory;
986
+ previousCategory: Types.SupportTicketCategory;
987
+ priority: Types.SupportTicketPriority;
988
+ previousPriority: Types.SupportTicketPriority;
989
+ prioritySignals: Array<string>;
990
+ slaPolicyId?: string | null;
991
+ previousSlaPolicyId?: string | null;
992
+ slaApplied: boolean;
993
+ notes: Array<string>;
994
+ suggestedAssignee?: {
995
+ __typename?: 'SupportTriageAssigneeSuggestion';
996
+ agentProfileId: string;
997
+ userId: string;
998
+ matchedSkills: Array<string>;
999
+ load: number;
1000
+ } | null;
1001
+ evidence: Array<{
1002
+ __typename?: 'SupportTriageEvidence';
1003
+ kind: Types.SupportTriageEvidenceKind;
1004
+ id: string;
1005
+ label: string;
1006
+ score: number;
1007
+ }>;
1008
+ };
1009
+ };
875
1010
  export type UpdateCannedResponseMutationVariables = Types.Exact<{
876
1011
  id: Types.Scalars['ID']['input'];
877
1012
  input: Types.UpdateCannedResponseInput;
@@ -1975,6 +2110,7 @@ export type GetTicketDetailQuery = {
1975
2110
  attachments: Array<string>;
1976
2111
  attachmentCount: number;
1977
2112
  isInternal: boolean;
2113
+ isDraft: boolean;
1978
2114
  createdAt: string;
1979
2115
  updatedAt: string;
1980
2116
  author: {
@@ -2002,6 +2138,56 @@ export type GetTicketDetailQuery = {
2002
2138
  createdBy: string;
2003
2139
  createdAt: string;
2004
2140
  }>;
2141
+ triageDecision?: {
2142
+ __typename?: 'SupportTriageDecision';
2143
+ engine: string;
2144
+ trigger: Types.SupportTriageTrigger;
2145
+ decidedAt: string;
2146
+ decidedBy: string;
2147
+ categoryId?: string | null;
2148
+ proposedCategoryId?: string | null;
2149
+ categoryConfidence: number;
2150
+ categoryApplied: boolean;
2151
+ previousCategoryId?: string | null;
2152
+ category: Types.SupportTicketCategory;
2153
+ previousCategory: Types.SupportTicketCategory;
2154
+ priority: Types.SupportTicketPriority;
2155
+ previousPriority: Types.SupportTicketPriority;
2156
+ prioritySignals: Array<string>;
2157
+ slaPolicyId?: string | null;
2158
+ previousSlaPolicyId?: string | null;
2159
+ slaApplied: boolean;
2160
+ notes: Array<string>;
2161
+ suggestedAssignee?: {
2162
+ __typename?: 'SupportTriageAssigneeSuggestion';
2163
+ agentProfileId: string;
2164
+ userId: string;
2165
+ matchedSkills: Array<string>;
2166
+ load: number;
2167
+ } | null;
2168
+ evidence: Array<{
2169
+ __typename?: 'SupportTriageEvidence';
2170
+ kind: Types.SupportTriageEvidenceKind;
2171
+ id: string;
2172
+ label: string;
2173
+ score: number;
2174
+ }>;
2175
+ } | null;
2176
+ replyDraft?: {
2177
+ __typename?: 'SupportMessage';
2178
+ id: string;
2179
+ ticketId: string;
2180
+ message: string;
2181
+ isDraft: boolean;
2182
+ createdAt: string;
2183
+ draftCitations: Array<{
2184
+ __typename?: 'SupportDraftCitation';
2185
+ kind: Types.SupportDraftCitationKind;
2186
+ id: string;
2187
+ title: string;
2188
+ score: number;
2189
+ }>;
2190
+ } | null;
2005
2191
  surveys: Array<{
2006
2192
  __typename?: 'CustomerSatisfactionSurvey';
2007
2193
  id: string;
@@ -2161,6 +2347,8 @@ export type SubscribeTicketUpdatedSubscription = {
2161
2347
  updatedAt: string;
2162
2348
  };
2163
2349
  };
2350
+ export declare const TriageDecisionFieldsFragmentDoc: Apollo.DocumentNode;
2351
+ export declare const ReplyDraftFieldsFragmentDoc: Apollo.DocumentNode;
2164
2352
  export declare const ArchiveKnowledgeBaseArticleDocument: Apollo.DocumentNode;
2165
2353
  export type ArchiveKnowledgeBaseArticleMutationFn = Apollo.MutationFunction<Types.ArchiveKnowledgeBaseArticleMutation, Types.ArchiveKnowledgeBaseArticleMutationVariables>;
2166
2354
  /**
@@ -2993,6 +3181,52 @@ export declare function useDeleteSlaPolicyMutation(baseOptions?: ApolloReactHook
2993
3181
  export type DeleteSlaPolicyMutationHookResult = ReturnType<typeof useDeleteSlaPolicyMutation>;
2994
3182
  export type DeleteSlaPolicyMutationResult = Apollo.MutationResult<Types.DeleteSlaPolicyMutation>;
2995
3183
  export type DeleteSlaPolicyMutationOptions = Apollo.BaseMutationOptions<Types.DeleteSlaPolicyMutation, Types.DeleteSlaPolicyMutationVariables>;
3184
+ export declare const GlobalDiscardTicketReplyDraftDocument: Apollo.DocumentNode;
3185
+ export type GlobalDiscardTicketReplyDraftMutationFn = Apollo.MutationFunction<Types.GlobalDiscardTicketReplyDraftMutation, Types.GlobalDiscardTicketReplyDraftMutationVariables>;
3186
+ /**
3187
+ * __useGlobalDiscardTicketReplyDraftMutation__
3188
+ *
3189
+ * To run a mutation, you first call `useGlobalDiscardTicketReplyDraftMutation` within a React component and pass it any options that fit your needs.
3190
+ * When your component renders, `useGlobalDiscardTicketReplyDraftMutation` returns a tuple that includes:
3191
+ * - A mutate function that you can call at any time to execute the mutation
3192
+ * - An object with fields that represent the current status of the mutation's execution
3193
+ *
3194
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
3195
+ *
3196
+ * @example
3197
+ * const [globalDiscardTicketReplyDraftMutation, { data, loading, error }] = useGlobalDiscardTicketReplyDraftMutation({
3198
+ * variables: {
3199
+ * id: // value for 'id'
3200
+ * },
3201
+ * });
3202
+ */
3203
+ export declare function useGlobalDiscardTicketReplyDraftMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.GlobalDiscardTicketReplyDraftMutation, Types.GlobalDiscardTicketReplyDraftMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.GlobalDiscardTicketReplyDraftMutation, any, Apollo.ApolloCache, undefined>;
3204
+ export type GlobalDiscardTicketReplyDraftMutationHookResult = ReturnType<typeof useGlobalDiscardTicketReplyDraftMutation>;
3205
+ export type GlobalDiscardTicketReplyDraftMutationResult = Apollo.MutationResult<Types.GlobalDiscardTicketReplyDraftMutation>;
3206
+ export type GlobalDiscardTicketReplyDraftMutationOptions = Apollo.BaseMutationOptions<Types.GlobalDiscardTicketReplyDraftMutation, Types.GlobalDiscardTicketReplyDraftMutationVariables>;
3207
+ export declare const GlobalDraftTicketReplyDocument: Apollo.DocumentNode;
3208
+ export type GlobalDraftTicketReplyMutationFn = Apollo.MutationFunction<Types.GlobalDraftTicketReplyMutation, Types.GlobalDraftTicketReplyMutationVariables>;
3209
+ /**
3210
+ * __useGlobalDraftTicketReplyMutation__
3211
+ *
3212
+ * To run a mutation, you first call `useGlobalDraftTicketReplyMutation` within a React component and pass it any options that fit your needs.
3213
+ * When your component renders, `useGlobalDraftTicketReplyMutation` returns a tuple that includes:
3214
+ * - A mutate function that you can call at any time to execute the mutation
3215
+ * - An object with fields that represent the current status of the mutation's execution
3216
+ *
3217
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
3218
+ *
3219
+ * @example
3220
+ * const [globalDraftTicketReplyMutation, { data, loading, error }] = useGlobalDraftTicketReplyMutation({
3221
+ * variables: {
3222
+ * ticketId: // value for 'ticketId'
3223
+ * },
3224
+ * });
3225
+ */
3226
+ export declare function useGlobalDraftTicketReplyMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.GlobalDraftTicketReplyMutation, Types.GlobalDraftTicketReplyMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.GlobalDraftTicketReplyMutation, any, Apollo.ApolloCache, undefined>;
3227
+ export type GlobalDraftTicketReplyMutationHookResult = ReturnType<typeof useGlobalDraftTicketReplyMutation>;
3228
+ export type GlobalDraftTicketReplyMutationResult = Apollo.MutationResult<Types.GlobalDraftTicketReplyMutation>;
3229
+ export type GlobalDraftTicketReplyMutationOptions = Apollo.BaseMutationOptions<Types.GlobalDraftTicketReplyMutation, Types.GlobalDraftTicketReplyMutationVariables>;
2996
3230
  export declare const NotifyDuplicateApplicantsDocument: Apollo.DocumentNode;
2997
3231
  export type NotifyDuplicateApplicantsMutationFn = Apollo.MutationFunction<Types.NotifyDuplicateApplicantsMutation, Types.NotifyDuplicateApplicantsMutationVariables>;
2998
3232
  /**
@@ -3228,6 +3462,30 @@ export declare function useSendRoundMessageToCandidateMutation(baseOptions?: Apo
3228
3462
  export type SendRoundMessageToCandidateMutationHookResult = ReturnType<typeof useSendRoundMessageToCandidateMutation>;
3229
3463
  export type SendRoundMessageToCandidateMutationResult = Apollo.MutationResult<Types.SendRoundMessageToCandidateMutation>;
3230
3464
  export type SendRoundMessageToCandidateMutationOptions = Apollo.BaseMutationOptions<Types.SendRoundMessageToCandidateMutation, Types.SendRoundMessageToCandidateMutationVariables>;
3465
+ export declare const GlobalSendTicketReplyDraftDocument: Apollo.DocumentNode;
3466
+ export type GlobalSendTicketReplyDraftMutationFn = Apollo.MutationFunction<Types.GlobalSendTicketReplyDraftMutation, Types.GlobalSendTicketReplyDraftMutationVariables>;
3467
+ /**
3468
+ * __useGlobalSendTicketReplyDraftMutation__
3469
+ *
3470
+ * To run a mutation, you first call `useGlobalSendTicketReplyDraftMutation` within a React component and pass it any options that fit your needs.
3471
+ * When your component renders, `useGlobalSendTicketReplyDraftMutation` returns a tuple that includes:
3472
+ * - A mutate function that you can call at any time to execute the mutation
3473
+ * - An object with fields that represent the current status of the mutation's execution
3474
+ *
3475
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
3476
+ *
3477
+ * @example
3478
+ * const [globalSendTicketReplyDraftMutation, { data, loading, error }] = useGlobalSendTicketReplyDraftMutation({
3479
+ * variables: {
3480
+ * id: // value for 'id'
3481
+ * message: // value for 'message'
3482
+ * },
3483
+ * });
3484
+ */
3485
+ export declare function useGlobalSendTicketReplyDraftMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.GlobalSendTicketReplyDraftMutation, Types.GlobalSendTicketReplyDraftMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.GlobalSendTicketReplyDraftMutation, any, Apollo.ApolloCache, undefined>;
3486
+ export type GlobalSendTicketReplyDraftMutationHookResult = ReturnType<typeof useGlobalSendTicketReplyDraftMutation>;
3487
+ export type GlobalSendTicketReplyDraftMutationResult = Apollo.MutationResult<Types.GlobalSendTicketReplyDraftMutation>;
3488
+ export type GlobalSendTicketReplyDraftMutationOptions = Apollo.BaseMutationOptions<Types.GlobalSendTicketReplyDraftMutation, Types.GlobalSendTicketReplyDraftMutationVariables>;
3231
3489
  export declare const SubmitInterviewFeedbackDocument: Apollo.DocumentNode;
3232
3490
  export type SubmitInterviewFeedbackMutationFn = Apollo.MutationFunction<Types.SubmitInterviewFeedbackMutation, Types.SubmitInterviewFeedbackMutationVariables>;
3233
3491
  /**
@@ -3274,6 +3532,29 @@ export declare function useSubmitSatisfactionSurveyMutation(baseOptions?: Apollo
3274
3532
  export type SubmitSatisfactionSurveyMutationHookResult = ReturnType<typeof useSubmitSatisfactionSurveyMutation>;
3275
3533
  export type SubmitSatisfactionSurveyMutationResult = Apollo.MutationResult<Types.SubmitSatisfactionSurveyMutation>;
3276
3534
  export type SubmitSatisfactionSurveyMutationOptions = Apollo.BaseMutationOptions<Types.SubmitSatisfactionSurveyMutation, Types.SubmitSatisfactionSurveyMutationVariables>;
3535
+ export declare const GlobalTriageTicketDocument: Apollo.DocumentNode;
3536
+ export type GlobalTriageTicketMutationFn = Apollo.MutationFunction<Types.GlobalTriageTicketMutation, Types.GlobalTriageTicketMutationVariables>;
3537
+ /**
3538
+ * __useGlobalTriageTicketMutation__
3539
+ *
3540
+ * To run a mutation, you first call `useGlobalTriageTicketMutation` within a React component and pass it any options that fit your needs.
3541
+ * When your component renders, `useGlobalTriageTicketMutation` returns a tuple that includes:
3542
+ * - A mutate function that you can call at any time to execute the mutation
3543
+ * - An object with fields that represent the current status of the mutation's execution
3544
+ *
3545
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
3546
+ *
3547
+ * @example
3548
+ * const [globalTriageTicketMutation, { data, loading, error }] = useGlobalTriageTicketMutation({
3549
+ * variables: {
3550
+ * id: // value for 'id'
3551
+ * },
3552
+ * });
3553
+ */
3554
+ export declare function useGlobalTriageTicketMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.GlobalTriageTicketMutation, Types.GlobalTriageTicketMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.GlobalTriageTicketMutation, any, Apollo.ApolloCache, undefined>;
3555
+ export type GlobalTriageTicketMutationHookResult = ReturnType<typeof useGlobalTriageTicketMutation>;
3556
+ export type GlobalTriageTicketMutationResult = Apollo.MutationResult<Types.GlobalTriageTicketMutation>;
3557
+ export type GlobalTriageTicketMutationOptions = Apollo.BaseMutationOptions<Types.GlobalTriageTicketMutation, Types.GlobalTriageTicketMutationVariables>;
3277
3558
  export declare const UpdateCannedResponseDocument: Apollo.DocumentNode;
3278
3559
  export type UpdateCannedResponseMutationFn = Apollo.MutationFunction<Types.UpdateCannedResponseMutation, Types.UpdateCannedResponseMutationVariables>;
3279
3560
  /**