@bcrumbs.net/inbox 0.0.64 → 0.0.65
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/assets/ar/inbox.json +37 -6
- package/assets/en/inbox.json +37 -6
- package/e2e/checkout/checkout.flows.d.ts +6 -0
- package/e2e/support/auth.d.ts +7 -3
- package/index.cjs.js +38317 -1108
- package/index.esm.js +38320 -1111
- package/package.json +1 -1
- package/src/app/ai/components/Crumby/CrumbyChatError.d.ts +9 -0
- package/src/app/ai/components/Crumby/CrumbyChatErrorBoundary.d.ts +13 -0
- package/src/app/ai/components/Crumby/CrumbyHeader.d.ts +9 -0
- package/src/app/ai/components/Crumby/CrumbyPageContext.d.ts +22 -0
- package/src/app/ai/components/Crumby/CrumbyRuntimeProvider.d.ts +9 -0
- package/src/app/ai/components/CrumbySettings/CrumbyEditsBanner.d.ts +14 -0
- package/src/app/ai/components/CrumbySettings/VoiceSettingsSection.d.ts +9 -0
- package/src/app/ai/components/playground/Button.d.ts +1 -1
- package/src/app/ai/components/playground/TooltipIconButton.d.ts +1 -1
- package/src/app/ai/components/sources/mediaTypeForFile.d.ts +8 -0
- package/src/app/ai/config/promptSettings.d.ts +31 -0
- package/src/app/ai/hooks/usePromptCopilot.d.ts +22 -0
- package/src/app/ai/tools/PromptEditorTool.d.ts +2 -0
- package/src/app/ai/types/index.d.ts +1 -1
- package/src/app/ai/utils/clientToolResubmit.d.ts +8 -0
- package/src/app/ai/utils/crumbyChatFetch.d.ts +15 -0
- package/src/app/auth/components/password-page/AuthPasswordPageLayout.d.ts +3 -1
- package/src/app/auth/components/password-page/PasswordSuccessView.d.ts +2 -1
- package/src/app/auth/config/authProvider.d.ts +20 -2
- package/src/app/auth/config/clerkAppearance.d.ts +51 -52
- package/src/app/auth/pages/Login.d.ts +1 -1
- package/src/app/auth/pages/Register.d.ts +1 -0
- package/src/app/billing/pages/GatewayWelcomePage.d.ts +4 -1
- package/src/app/broadcast/components/BroadcastAnalysisReciepientsHeader.d.ts +2 -1
- package/src/app/broadcast/components/BroadcastDetailsSection.d.ts +3 -1
- package/src/app/dashboard/components/AgentCard.d.ts +2 -1
- package/src/app/dashboard/components/AgentsCard.d.ts +4 -2
- package/src/app/dashboard/components/BroadcastDashboard.d.ts +3 -1
- package/src/app/dashboard/components/ChatsByLifeCycleCard.d.ts +13 -0
- package/src/app/dashboard/components/DashboardFilters.d.ts +27 -0
- package/src/app/dashboard/components/DashboardPdfCaptureArea.d.ts +11 -0
- package/src/app/dashboard/components/DashboardPdfExportButton.d.ts +7 -0
- package/src/app/dashboard/components/DashboardPdfHeader.d.ts +11 -0
- package/src/app/dashboard/components/DashboardSections.d.ts +7 -2
- package/src/app/dashboard/components/InboxDashboard.d.ts +3 -1
- package/src/app/dashboard/hooks/useDashboardPdfMeta.d.ts +31 -0
- package/src/app/dashboard/hooks/useDashboardTabsPdfExport.d.ts +26 -0
- package/src/app/dashboard/utils/dashboardReportExports.d.ts +16 -1
- package/src/app/dashboard/utils/exportDashboardPdf.d.ts +19 -0
- package/src/app/dashboard/utils/lifecycleStages.d.ts +53 -0
- package/src/app/dashboard/utils/reportHelpers.d.ts +9 -0
- package/src/app/gatewayHome/components/ChecklistStep.d.ts +15 -0
- package/src/app/gatewayHome/components/CreditBalanceCard.d.ts +6 -0
- package/src/app/gatewayHome/components/MessageStats.d.ts +5 -0
- package/src/app/gatewayHome/components/SetupChecklist.d.ts +11 -0
- package/src/app/gatewayHome/components/console/QuickstartConsole.d.ts +11 -0
- package/src/app/gatewayHome/components/console/RunRequestBar.d.ts +15 -0
- package/src/app/gatewayHome/components/console/consoleStyles.d.ts +77 -0
- package/src/app/gatewayHome/components/steps/ApiKeyStepBody.d.ts +8 -0
- package/src/app/gatewayHome/components/steps/ChannelStepBody.d.ts +3 -0
- package/src/app/gatewayHome/components/steps/MetaStepBody.d.ts +6 -0
- package/src/app/gatewayHome/components/steps/WebhookStepBody.d.ts +7 -0
- package/src/app/gatewayHome/components/styles.d.ts +29 -0
- package/src/app/gatewayHome/config/constants.d.ts +22 -0
- package/src/app/gatewayHome/hooks/useGatewaySetup.d.ts +59 -0
- package/src/app/gatewayHome/hooks/useMessageStats.d.ts +17 -0
- package/src/app/gatewayHome/hooks/useQuickstartRequest.d.ts +31 -0
- package/src/app/gatewayHome/hooks/useSendableTemplates.d.ts +9 -0
- package/src/app/gatewayHome/pages/GatewayHomePage.d.ts +1 -0
- package/src/app/gatewayHome/types/index.d.ts +21 -0
- package/src/app/gatewayHome/utils/buildRequestBody.d.ts +7 -0
- package/src/app/gatewayHome/utils/buildSnippet.d.ts +9 -0
- package/src/app/gatewayHome/utils/sendTestMessage.d.ts +3 -0
- package/src/app/gatewayHome/utils/setupStorage.d.ts +8 -0
- package/src/app/gatewayHome/utils/templateHasParameters.d.ts +6 -0
- package/src/app/generic/components/HeaderImageInput.d.ts +3 -1
- package/src/app/generic/components/MessagePreview.d.ts +1 -1
- package/src/app/generic/components/PreviewHeaderDocument.d.ts +5 -0
- package/src/app/generic/utils/chunkErrorRecovery.d.ts +7 -0
- package/src/app/generic/utils/onesignal.d.ts +13 -0
- package/src/app/inbox/calls/useIncomingCallAlerts.d.ts +2 -0
- package/src/app/inbox/components/Calls/ActiveCallControls.d.ts +6 -0
- package/src/app/inbox/components/Calls/IncomingCallBanner.d.ts +6 -0
- package/src/app/inbox/components/Chat/QuickReplyEmpty.d.ts +5 -0
- package/src/app/inbox/components/Chat/QuickReplyPickerMenu.d.ts +2 -2
- package/src/app/inbox/components/NewDetails/ClientSection.d.ts +3 -1
- package/src/app/inbox/components/NewDetails/SuggestedAssignee.d.ts +7 -0
- package/src/app/inbox/components/NewDetails/SuggestedStage.d.ts +13 -0
- package/src/app/inbox/components/NewDetails/SuggestedTags.d.ts +18 -0
- package/src/app/inbox/components/NewDetails/SuggestionItems.d.ts +16 -0
- package/src/app/inbox/constants/index.d.ts +1 -0
- package/src/app/inbox/context/CallSession.d.ts +16 -0
- package/src/app/inbox/context/SuggestionsContext.d.ts +25 -0
- package/src/app/inbox/hooks/useAgentSuggestions.d.ts +20 -0
- package/src/app/inbox/hooks/useApplySuggestion.d.ts +18 -0
- package/src/app/inbox/hooks/useConversationsPerodicFetch.d.ts +30 -0
- package/src/app/inbox/hooks/useIncomingCallAlerts.d.ts +2 -0
- package/src/app/inbox/hooks/useNewSortedEvents.d.ts +1 -1
- package/src/app/inbox/hooks/useQuickReplyPicker.d.ts +5 -3
- package/src/app/inbox/pages/InboxPage.d.ts +1 -1
- package/src/app/inbox/utils/callUi.d.ts +25 -0
- package/src/app/inbox/utils/convSuggestions.d.ts +59 -0
- package/src/app/inbox/utils/convSuggestionsStorage.d.ts +20 -0
- package/src/app/inbox/utils/sounds.d.ts +2 -0
- package/src/app/layout/hooks/useCallsEnabled.d.ts +1 -0
- package/src/app/layout/hooks/useGatewayPlanEnabled.d.ts +5 -0
- package/src/app/layout/hooks/useWebchatEnabled.d.ts +5 -0
- package/src/app/managemnet/components/channels/ChannelItem.d.ts +2 -1
- package/src/app/managemnet/components/channels/ChannelSettingsDrawer.d.ts +15 -0
- package/src/app/managemnet/components/channels/ShareChannelLinkDialog.d.ts +11 -0
- package/src/app/managemnet/components/channels/WebChatSnippetBlock.d.ts +7 -0
- package/src/app/managemnet/config/webchat.d.ts +5 -0
- package/src/app/managemnet/pages/connectChannel/ConnectChannel.d.ts +2 -0
- package/src/app/managemnet/pages/generalSettings/NoiseFilterSettings.d.ts +8 -0
- package/src/app/managemnet/pages/generalSettings/noiseFilterConstants.d.ts +24 -0
- package/src/app/managemnet/utils/webChatSnippet.d.ts +2 -0
- package/src/app/onboarding/components/OnboardingView.d.ts +3 -1
- package/src/app/onboarding/components/useOnboardingChecklist.d.ts +12 -9
- package/src/app/onboarding/constants/workspaceProfileOptions.d.ts +30 -0
- package/src/app/onboarding/utils/onboardingApi.d.ts +23 -0
- package/src/app/onboarding/utils/onboardingChecklistStorage.d.ts +42 -49
- package/src/app/resources/components/Integrations/ChannelDialogLayout.d.ts +6 -1
- package/src/app/resources/components/Integrations/RenderCorrectIntegrationFlow.d.ts +3 -1
- package/src/app/resources/components/Integrations/WebChat/index.d.ts +8 -0
- package/src/app/resources/components/Integrations/WhatsApp/index.d.ts +1 -0
- package/src/app/resources/hooks/useFBPagesHook.d.ts +4 -2
- package/src/app/resources/hooks/useWabaHook.d.ts +5 -4
- package/src/app/resources/utils/channelSetupTracking.d.ts +21 -0
- package/src/app/resources/utils/facebookSdk.d.ts +11 -0
- package/src/app/subscriptions/components/NewSubscription/OnboardingStepper.d.ts +2 -2
- package/src/app/subscriptions/components/NewSubscription/SubscriptionName.d.ts +2 -0
- package/src/app/subscriptions/components/NewSubscription/WorkspaceProfile.d.ts +18 -0
- package/src/app/subscriptions/components/NewSubscription/WorkspaceStepLayout.d.ts +5 -2
- package/src/app/subscriptions/hooks/useWorkspaceProfileSubmit.d.ts +12 -0
- package/src/app/subscriptions/utils/newWorkspaceContext.d.ts +8 -0
- package/src/assets/locales/translations.d.ts +319 -20
- package/src/config/constants.d.ts +1 -2
- package/src/graphql.autogenerated.d.ts +1907 -117
- package/src/testUtils/bcUiMock.d.ts +16 -0
- package/src/utils/colorPool.d.ts +1 -2
- package/src/utils/getActiveChannelList.d.ts +6 -1
- package/src/utils/globalHelper.d.ts +22 -0
- package/src/app/billing/pages/GuidePage.d.ts +0 -1
- package/src/app/contact/components/ImportProgressDialog.d.ts +0 -14
- package/src/app/managemnet/components/channels/EditChannelDialog.d.ts +0 -11
- package/src/app/onboarding/utils/onboardingChecklistPersistence.d.ts +0 -18
|
@@ -78,6 +78,10 @@ export type Scalars = {
|
|
|
78
78
|
input: any;
|
|
79
79
|
output: any;
|
|
80
80
|
};
|
|
81
|
+
link__Import: {
|
|
82
|
+
input: any;
|
|
83
|
+
output: any;
|
|
84
|
+
};
|
|
81
85
|
};
|
|
82
86
|
export type Ai = {
|
|
83
87
|
__typename?: 'AI';
|
|
@@ -139,6 +143,9 @@ export type AIsPayload = {
|
|
|
139
143
|
__typename?: 'AIsPayload';
|
|
140
144
|
nodes?: Maybe<Array<Ai>>;
|
|
141
145
|
};
|
|
146
|
+
export type ActiveCallsInput = {
|
|
147
|
+
workspaceId: Scalars['Int']['input'];
|
|
148
|
+
};
|
|
142
149
|
/** Agent is a user that can be assigned to a conversation. A system user can have only one agent. */
|
|
143
150
|
export type Agent = {
|
|
144
151
|
__typename?: 'Agent';
|
|
@@ -290,6 +297,17 @@ export type AgentsReportPayload = {
|
|
|
290
297
|
__typename?: 'AgentsReportPayload';
|
|
291
298
|
nodes?: Maybe<Array<AgentReport>>;
|
|
292
299
|
};
|
|
300
|
+
export type AiVoice = {
|
|
301
|
+
__typename?: 'AiVoice';
|
|
302
|
+
id: Scalars['ID']['output'];
|
|
303
|
+
language: Scalars['String']['output'];
|
|
304
|
+
name: Scalars['String']['output'];
|
|
305
|
+
previewUrl?: Maybe<Scalars['String']['output']>;
|
|
306
|
+
};
|
|
307
|
+
export type AiVoicesInput = {
|
|
308
|
+
language: Scalars['String']['input'];
|
|
309
|
+
workspaceId: Scalars['Int']['input'];
|
|
310
|
+
};
|
|
293
311
|
/** ApiKey is a key that can be used to authenticate the requests to the API. */
|
|
294
312
|
export type ApiKey = {
|
|
295
313
|
__typename?: 'ApiKey';
|
|
@@ -327,6 +345,21 @@ export type ApiKeysPayload = {
|
|
|
327
345
|
nodes?: Maybe<Array<ApiKey>>;
|
|
328
346
|
pageInfo?: Maybe<PageInfo>;
|
|
329
347
|
};
|
|
348
|
+
/**
|
|
349
|
+
* AssigneeSuggestion is the agent who handled most of this client's previous conversations,
|
|
350
|
+
* when that agent is assignable and is not the current assignee. It is not chosen by AI.
|
|
351
|
+
*/
|
|
352
|
+
export type AssigneeSuggestion = {
|
|
353
|
+
__typename?: 'AssigneeSuggestion';
|
|
354
|
+
agentId: Scalars['ID']['output'];
|
|
355
|
+
/** Share (0 to 1) of the client's previous assigned conversations this agent handled. */
|
|
356
|
+
confidence: Scalars['Float']['output'];
|
|
357
|
+
email?: Maybe<Scalars['String']['output']>;
|
|
358
|
+
name: Scalars['String']['output'];
|
|
359
|
+
reason: Scalars['String']['output'];
|
|
360
|
+
/** How many of the client's previous conversations this agent handled. */
|
|
361
|
+
servedConversations: Scalars['Int']['output'];
|
|
362
|
+
};
|
|
330
363
|
/**
|
|
331
364
|
* Broadcast is entity that represents a broadcast of a template to a set of clients.
|
|
332
365
|
* When the broadcast is created, it will be in draft state. In order to send the broadcast, you should launch it by using the launchBroadcast mutation.
|
|
@@ -806,6 +839,128 @@ export type BulkPermanentDeleteClientsResult = {
|
|
|
806
839
|
/** Number of clients successfully permanently deleted. */
|
|
807
840
|
deletedCount: Scalars['Int']['output'];
|
|
808
841
|
};
|
|
842
|
+
export type Call = {
|
|
843
|
+
__typename?: 'Call';
|
|
844
|
+
aiId?: Maybe<Scalars['ID']['output']>;
|
|
845
|
+
answeredAt?: Maybe<Scalars['DateTime']['output']>;
|
|
846
|
+
assigneeId?: Maybe<Scalars['ID']['output']>;
|
|
847
|
+
clientId: Scalars['ID']['output'];
|
|
848
|
+
convId: Scalars['ID']['output'];
|
|
849
|
+
direction: CallDirection;
|
|
850
|
+
duration?: Maybe<Scalars['Int']['output']>;
|
|
851
|
+
endedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
852
|
+
handler: CallHandler;
|
|
853
|
+
id: Scalars['ID']['output'];
|
|
854
|
+
integrationId: Scalars['ID']['output'];
|
|
855
|
+
roomName?: Maybe<Scalars['String']['output']>;
|
|
856
|
+
startedAt: Scalars['DateTime']['output'];
|
|
857
|
+
status: CallStatus;
|
|
858
|
+
workspaceId: Scalars['Int']['output'];
|
|
859
|
+
};
|
|
860
|
+
export type CallActionInput = {
|
|
861
|
+
callId: Scalars['ID']['input'];
|
|
862
|
+
workspaceId: Scalars['Int']['input'];
|
|
863
|
+
};
|
|
864
|
+
export declare const CallDirection: {
|
|
865
|
+
readonly BUSINESS_INITIATED: "BUSINESS_INITIATED";
|
|
866
|
+
readonly USER_INITIATED: "USER_INITIATED";
|
|
867
|
+
};
|
|
868
|
+
export type CallDirection = typeof CallDirection[keyof typeof CallDirection];
|
|
869
|
+
/** CallEventDTO is the data transfer object for an inbound voice call event. */
|
|
870
|
+
export type CallEventDto = {
|
|
871
|
+
__typename?: 'CallEventDTO';
|
|
872
|
+
/** Who started the call. */
|
|
873
|
+
direction?: Maybe<CallDirection>;
|
|
874
|
+
/** The call length in seconds, when the channel sends one. */
|
|
875
|
+
duration?: Maybe<Scalars['Int']['output']>;
|
|
876
|
+
/** The call event. */
|
|
877
|
+
event: CallEventType;
|
|
878
|
+
/** The channel call id. */
|
|
879
|
+
externalCallId: Scalars['String']['output'];
|
|
880
|
+
/** The caller identity. */
|
|
881
|
+
externalClientInfo?: Maybe<CallExternalClientInfo>;
|
|
882
|
+
/** The caller id. */
|
|
883
|
+
from?: Maybe<Scalars['String']['output']>;
|
|
884
|
+
/** The integration id the call arrived on. */
|
|
885
|
+
integrationId: Scalars['ID']['output'];
|
|
886
|
+
/** The integration type the call arrived on. */
|
|
887
|
+
integrationType: IntegrationType;
|
|
888
|
+
/** The SDP offer, present on connect. */
|
|
889
|
+
sdp?: Maybe<Scalars['String']['output']>;
|
|
890
|
+
/** The SDP type, present on connect. */
|
|
891
|
+
sdpType?: Maybe<Scalars['String']['output']>;
|
|
892
|
+
/** The channel status string, when the channel sends one. */
|
|
893
|
+
status?: Maybe<Scalars['String']['output']>;
|
|
894
|
+
/** When the channel emitted the event. */
|
|
895
|
+
timestamp: Scalars['String']['output'];
|
|
896
|
+
/** The callee id. */
|
|
897
|
+
to?: Maybe<Scalars['String']['output']>;
|
|
898
|
+
/** The workspace id of the call. */
|
|
899
|
+
workspaceId: Scalars['Int']['output'];
|
|
900
|
+
};
|
|
901
|
+
/** CallEventType is the webhook event for an inbound voice call. */
|
|
902
|
+
export declare const CallEventType: {
|
|
903
|
+
readonly CONNECT: "connect";
|
|
904
|
+
readonly STATUS: "status";
|
|
905
|
+
readonly TERMINATE: "terminate";
|
|
906
|
+
};
|
|
907
|
+
export type CallEventType = typeof CallEventType[keyof typeof CallEventType];
|
|
908
|
+
/** CallExternalClientInfo is the caller identity carried on an inbound voice call. */
|
|
909
|
+
export type CallExternalClientInfo = {
|
|
910
|
+
__typename?: 'CallExternalClientInfo';
|
|
911
|
+
name?: Maybe<Scalars['String']['output']>;
|
|
912
|
+
phone?: Maybe<Scalars['String']['output']>;
|
|
913
|
+
userId?: Maybe<Scalars['String']['output']>;
|
|
914
|
+
username?: Maybe<Scalars['String']['output']>;
|
|
915
|
+
};
|
|
916
|
+
export declare const CallHandler: {
|
|
917
|
+
readonly AGENT: "AGENT";
|
|
918
|
+
readonly AI: "AI";
|
|
919
|
+
};
|
|
920
|
+
export type CallHandler = typeof CallHandler[keyof typeof CallHandler];
|
|
921
|
+
export type CallJoinPayload = {
|
|
922
|
+
__typename?: 'CallJoinPayload';
|
|
923
|
+
call: Call;
|
|
924
|
+
roomName: Scalars['String']['output'];
|
|
925
|
+
token: Scalars['String']['output'];
|
|
926
|
+
url: Scalars['String']['output'];
|
|
927
|
+
};
|
|
928
|
+
export declare const CallStatus: {
|
|
929
|
+
readonly ACTIVE: "ACTIVE";
|
|
930
|
+
readonly CONNECTING: "CONNECTING";
|
|
931
|
+
readonly ENDED: "ENDED";
|
|
932
|
+
readonly FAILED: "FAILED";
|
|
933
|
+
readonly MISSED: "MISSED";
|
|
934
|
+
readonly REJECTED: "REJECTED";
|
|
935
|
+
readonly RINGING: "RINGING";
|
|
936
|
+
};
|
|
937
|
+
export type CallStatus = typeof CallStatus[keyof typeof CallStatus];
|
|
938
|
+
/** A single-use link that lets someone connect one channel without a workspace login. */
|
|
939
|
+
export type ChannelConnectLink = {
|
|
940
|
+
__typename?: 'ChannelConnectLink';
|
|
941
|
+
/** When the link stops working, as an ISO timestamp. */
|
|
942
|
+
expiresAt: Scalars['String']['output'];
|
|
943
|
+
/** Email of the workspace member who shared the link. */
|
|
944
|
+
sharedByEmail: Scalars['String']['output'];
|
|
945
|
+
/** Name of the workspace member who shared the link. */
|
|
946
|
+
sharedByName: Scalars['String']['output'];
|
|
947
|
+
/** The channel type this link can create. */
|
|
948
|
+
type: IntegrationType;
|
|
949
|
+
/** Name of the workspace the channel will be added to. */
|
|
950
|
+
workspaceName: Scalars['String']['output'];
|
|
951
|
+
};
|
|
952
|
+
/** The token returned once, when a channel connect link is created. */
|
|
953
|
+
export type ChannelConnectLinkCreated = {
|
|
954
|
+
__typename?: 'ChannelConnectLinkCreated';
|
|
955
|
+
/** When the link stops working, as an ISO timestamp. */
|
|
956
|
+
expiresAt: Scalars['String']['output'];
|
|
957
|
+
/** Secret token. Only its hash is stored. */
|
|
958
|
+
token: Scalars['String']['output'];
|
|
959
|
+
};
|
|
960
|
+
/** Input for reading a channel connect link. No login required. */
|
|
961
|
+
export type ChannelConnectLinkInput = {
|
|
962
|
+
token: Scalars['String']['input'];
|
|
963
|
+
};
|
|
809
964
|
/** Client is an entity that represents a client (The contact that is sending messages to a workspace channel). */
|
|
810
965
|
export type Client = {
|
|
811
966
|
__typename?: 'Client';
|
|
@@ -833,7 +988,7 @@ export type Client = {
|
|
|
833
988
|
deletedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
834
989
|
/** The email of the client. It can be modified by the user. */
|
|
835
990
|
email?: Maybe<Scalars['String']['output']>;
|
|
836
|
-
/** The external client id of the client (The id of the client in the external system, it will be the phone number in case of WhatsApp integration). */
|
|
991
|
+
/** The external client id of the client (The id of the client in the external system, it will be the phone number in case of WhatsApp integration, or the business-scoped user ID when the contact only exposes a username). */
|
|
837
992
|
externalClientId?: Maybe<Scalars['String']['output']>;
|
|
838
993
|
id: Scalars['ID']['output'];
|
|
839
994
|
/** The name of the client. It can be modified by the user. */
|
|
@@ -846,6 +1001,10 @@ export type Client = {
|
|
|
846
1001
|
surname?: Maybe<Scalars['String']['output']>;
|
|
847
1002
|
/** The tags of the client. It can be modified by the user. */
|
|
848
1003
|
tags?: Maybe<Array<Scalars['String']['output']>>;
|
|
1004
|
+
/** The Meta business-scoped user ID (BSUID) of the client. It stays the same when the contact adopts a WhatsApp username and stops sharing a phone number. */
|
|
1005
|
+
whatsappBsuid?: Maybe<Scalars['String']['output']>;
|
|
1006
|
+
/** The WhatsApp username of the client, when they have adopted one. It is a display value and can change over time. */
|
|
1007
|
+
whatsappUsername?: Maybe<Scalars['String']['output']>;
|
|
849
1008
|
workspaceId: Scalars['Int']['output'];
|
|
850
1009
|
};
|
|
851
1010
|
/** ClientByPhoneInput is an input of the clientByPhone query. */
|
|
@@ -944,6 +1103,20 @@ export type ClientPutInput = {
|
|
|
944
1103
|
tags?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
945
1104
|
workspaceId: Scalars['Int']['input'];
|
|
946
1105
|
};
|
|
1106
|
+
export type ClientSuggestionsInput = {
|
|
1107
|
+
clientId: Scalars['ID']['input'];
|
|
1108
|
+
/** Optional: read only this conversation's messages instead of the client's latest messages. */
|
|
1109
|
+
convId?: InputMaybe<Scalars['ID']['input']>;
|
|
1110
|
+
workspaceId: Scalars['Int']['input'];
|
|
1111
|
+
};
|
|
1112
|
+
/** ClientSuggestionsPayload holds AI suggestions for a client: tags and lifecycle stage. */
|
|
1113
|
+
export type ClientSuggestionsPayload = {
|
|
1114
|
+
__typename?: 'ClientSuggestionsPayload';
|
|
1115
|
+
skipReason?: Maybe<SuggestionSkipReason>;
|
|
1116
|
+
source: SuggestionSource;
|
|
1117
|
+
stage?: Maybe<StageSuggestion>;
|
|
1118
|
+
tags: Array<TagSuggestion>;
|
|
1119
|
+
};
|
|
947
1120
|
/** ClientTagInput is an input of the client tag mutation. */
|
|
948
1121
|
export type ClientTagInput = {
|
|
949
1122
|
clientId: Scalars['ID']['input'];
|
|
@@ -1012,6 +1185,10 @@ export type Configurations = {
|
|
|
1012
1185
|
instructionsVersion?: Maybe<Scalars['String']['output']>;
|
|
1013
1186
|
personaPrompt?: Maybe<Scalars['String']['output']>;
|
|
1014
1187
|
rolePrompt?: Maybe<Scalars['String']['output']>;
|
|
1188
|
+
voiceId?: Maybe<Scalars['String']['output']>;
|
|
1189
|
+
voiceLanguage?: Maybe<Scalars['String']['output']>;
|
|
1190
|
+
voiceName?: Maybe<Scalars['String']['output']>;
|
|
1191
|
+
workflowPrompt?: Maybe<Scalars['String']['output']>;
|
|
1015
1192
|
};
|
|
1016
1193
|
export type ConfigurationsInput = {
|
|
1017
1194
|
askForAddress?: InputMaybe<Scalars['Boolean']['input']>;
|
|
@@ -1030,6 +1207,10 @@ export type ConfigurationsInput = {
|
|
|
1030
1207
|
instructionsVersion?: InputMaybe<Scalars['String']['input']>;
|
|
1031
1208
|
personaPrompt?: InputMaybe<Scalars['String']['input']>;
|
|
1032
1209
|
rolePrompt?: InputMaybe<Scalars['String']['input']>;
|
|
1210
|
+
voiceId?: InputMaybe<Scalars['String']['input']>;
|
|
1211
|
+
voiceLanguage?: InputMaybe<Scalars['String']['input']>;
|
|
1212
|
+
voiceName?: InputMaybe<Scalars['String']['input']>;
|
|
1213
|
+
workflowPrompt?: InputMaybe<Scalars['String']['input']>;
|
|
1033
1214
|
};
|
|
1034
1215
|
/** Contact Message payload type represent the schema of content in case of contact message. */
|
|
1035
1216
|
export type ContactMessagePayload = {
|
|
@@ -1205,6 +1386,57 @@ export type ConvPatchInput = {
|
|
|
1205
1386
|
stage?: InputMaybe<Scalars['String']['input']>;
|
|
1206
1387
|
workspaceId: Scalars['Int']['input'];
|
|
1207
1388
|
};
|
|
1389
|
+
/** ConvStageReport is a report of conversations broken down by lifecycle stage per day. */
|
|
1390
|
+
export type ConvStageReport = {
|
|
1391
|
+
__typename?: 'ConvStageReport';
|
|
1392
|
+
/** The number of messages sent by the agents. */
|
|
1393
|
+
agentMessagesCount: Scalars['Int']['output'];
|
|
1394
|
+
/** The average rating for rated conversations. */
|
|
1395
|
+
averageRating: Scalars['Float']['output'];
|
|
1396
|
+
/** The average time of the conversation. */
|
|
1397
|
+
avgConversationTime: Scalars['Int']['output'];
|
|
1398
|
+
/** The average time to first response. */
|
|
1399
|
+
avgFirstResponseTime: Scalars['Int']['output'];
|
|
1400
|
+
/** The number of messages sent by the clients. */
|
|
1401
|
+
clientMessageCount: Scalars['Int']['output'];
|
|
1402
|
+
/** The number of conversations with this stage. */
|
|
1403
|
+
conversationCount: Scalars['Int']['output'];
|
|
1404
|
+
/** The date and time when the stage report was created. */
|
|
1405
|
+
createdAt: Scalars['DateTime']['output'];
|
|
1406
|
+
/** The CSAT percentage (4 and 5 ratings over rated conversations). */
|
|
1407
|
+
csat: Scalars['Float']['output'];
|
|
1408
|
+
/** Conversations included in avgFirstResponseTime (client messaged before the agent replied). */
|
|
1409
|
+
firstResponseConversationCount: Scalars['Int']['output'];
|
|
1410
|
+
id: Scalars['ID']['output'];
|
|
1411
|
+
/** The integration (channel) id. */
|
|
1412
|
+
integrationId: Scalars['ID']['output'];
|
|
1413
|
+
/** The number of new client conversations. */
|
|
1414
|
+
newClientConvCount?: Maybe<Scalars['Int']['output']>;
|
|
1415
|
+
/** The percentage of conversations that received a rating. */
|
|
1416
|
+
responseRate: Scalars['Float']['output'];
|
|
1417
|
+
/** The lifecycle stage name. */
|
|
1418
|
+
stage: Scalars['String']['output'];
|
|
1419
|
+
workspaceId: Scalars['Int']['output'];
|
|
1420
|
+
};
|
|
1421
|
+
/** ConvStagesReportInput is an input of the conversation stages report query. */
|
|
1422
|
+
export type ConvStagesReportInput = {
|
|
1423
|
+
/** The end date of the report. */
|
|
1424
|
+
endDate: Scalars['DateTime']['input'];
|
|
1425
|
+
/** The integration/channel id of the conversation. */
|
|
1426
|
+
integrationId?: InputMaybe<Scalars['ID']['input']>;
|
|
1427
|
+
/** Filter by a single lifecycle stage name. */
|
|
1428
|
+
stage?: InputMaybe<Scalars['String']['input']>;
|
|
1429
|
+
/** Filter by multiple lifecycle stage names (OR). When non-empty, takes precedence over stage. */
|
|
1430
|
+
stages?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1431
|
+
/** The start date of the report. */
|
|
1432
|
+
startDate: Scalars['DateTime']['input'];
|
|
1433
|
+
workspaceId: Scalars['Int']['input'];
|
|
1434
|
+
};
|
|
1435
|
+
/** ConvStagesReportPayload is a payload of the conversation stages report query. */
|
|
1436
|
+
export type ConvStagesReportPayload = {
|
|
1437
|
+
__typename?: 'ConvStagesReportPayload';
|
|
1438
|
+
nodes?: Maybe<Array<ConvStageReport>>;
|
|
1439
|
+
};
|
|
1208
1440
|
/**
|
|
1209
1441
|
* ConvStartInput is an input of the conversation start mutation.
|
|
1210
1442
|
* It is used to start a conversation with a client in case of WhatsApp integration.
|
|
@@ -1273,6 +1505,19 @@ export type ConvStartInput = {
|
|
|
1273
1505
|
templateName: Scalars['String']['input'];
|
|
1274
1506
|
workspaceId: Scalars['Int']['input'];
|
|
1275
1507
|
};
|
|
1508
|
+
export type ConvSuggestionsInput = {
|
|
1509
|
+
convId: Scalars['ID']['input'];
|
|
1510
|
+
workspaceId: Scalars['Int']['input'];
|
|
1511
|
+
};
|
|
1512
|
+
/** ConvSuggestionsPayload holds AI suggestions for a conversation: tags, conversation stage, and assignee. */
|
|
1513
|
+
export type ConvSuggestionsPayload = {
|
|
1514
|
+
__typename?: 'ConvSuggestionsPayload';
|
|
1515
|
+
assignee?: Maybe<AssigneeSuggestion>;
|
|
1516
|
+
skipReason?: Maybe<SuggestionSkipReason>;
|
|
1517
|
+
source: SuggestionSource;
|
|
1518
|
+
stage?: Maybe<StageSuggestion>;
|
|
1519
|
+
tags: Array<TagSuggestion>;
|
|
1520
|
+
};
|
|
1276
1521
|
/** ConvTagInput is an input of the conversation tag mutation. */
|
|
1277
1522
|
export type ConvTagInput = {
|
|
1278
1523
|
/** The id of the conversation. */
|
|
@@ -1337,6 +1582,8 @@ export type ConvTagsReportPayload = {
|
|
|
1337
1582
|
/** Conversation is a type of the conversation. */
|
|
1338
1583
|
export type Conversation = {
|
|
1339
1584
|
__typename?: 'Conversation';
|
|
1585
|
+
/** Live voice call on this conversation, when one is ringing or in progress. */
|
|
1586
|
+
activeCall?: Maybe<Call>;
|
|
1340
1587
|
/** Whether the conversation is assigned to an AI. */
|
|
1341
1588
|
aiAssigneed?: Maybe<Scalars['Boolean']['output']>;
|
|
1342
1589
|
/** The AI id of the conversation. */
|
|
@@ -1351,6 +1598,8 @@ export type Conversation = {
|
|
|
1351
1598
|
broadcastId?: Maybe<Scalars['ID']['output']>;
|
|
1352
1599
|
/** The name of the broadcast linked to the conversation. */
|
|
1353
1600
|
broadcastName?: Maybe<Scalars['String']['output']>;
|
|
1601
|
+
/** Noise-filter classification runs for this conversation. Does not include message text. */
|
|
1602
|
+
classificationRuns?: Maybe<Array<ConversationClassificationRun>>;
|
|
1354
1603
|
/** The client of the conversation. */
|
|
1355
1604
|
client?: Maybe<ConversationClient>;
|
|
1356
1605
|
/** The client id of the conversation. */
|
|
@@ -1381,6 +1630,8 @@ export type Conversation = {
|
|
|
1381
1630
|
orderNo?: Maybe<Scalars['String']['output']>;
|
|
1382
1631
|
/** True when the channel's rating/feedback flow is active: assigned to the rating AI and feedback not yet sent. */
|
|
1383
1632
|
ratingFlowInProgress?: Maybe<Scalars['Boolean']['output']>;
|
|
1633
|
+
/** Latest noise-filter sentiment for this conversation (Joy, Anger, Sadness, Fear, Surprise, Disgust). */
|
|
1634
|
+
sentiment?: Maybe<ConversationSentiment>;
|
|
1384
1635
|
/** The referral source type captured when the conversation was started from an ad or referral link. */
|
|
1385
1636
|
sourceType?: Maybe<Scalars['String']['output']>;
|
|
1386
1637
|
/** The referral source URL captured when the conversation was started from an ad or referral link. */
|
|
@@ -1392,6 +1643,24 @@ export type Conversation = {
|
|
|
1392
1643
|
/** The workspace id of the conversation. */
|
|
1393
1644
|
workspaceId: Scalars['Int']['output'];
|
|
1394
1645
|
};
|
|
1646
|
+
/** One noise-filter classification run stored on a conversation. */
|
|
1647
|
+
export type ConversationClassificationRun = {
|
|
1648
|
+
__typename?: 'ConversationClassificationRun';
|
|
1649
|
+
actions?: Maybe<Array<Scalars['String']['output']>>;
|
|
1650
|
+
assignedToAgent: Scalars['Boolean']['output'];
|
|
1651
|
+
convInboundCount: Scalars['Int']['output'];
|
|
1652
|
+
createdAt: Scalars['DateTime']['output'];
|
|
1653
|
+
error?: Maybe<Scalars['String']['output']>;
|
|
1654
|
+
humanDecisionWins: Scalars['Boolean']['output'];
|
|
1655
|
+
intentScore?: Maybe<Scalars['Float']['output']>;
|
|
1656
|
+
mastraRunId?: Maybe<Scalars['String']['output']>;
|
|
1657
|
+
mode: Scalars['String']['output'];
|
|
1658
|
+
sentiment?: Maybe<ConversationSentiment>;
|
|
1659
|
+
source?: Maybe<Scalars['String']['output']>;
|
|
1660
|
+
spamLikelihood?: Maybe<Scalars['Float']['output']>;
|
|
1661
|
+
status: Scalars['String']['output'];
|
|
1662
|
+
tag?: Maybe<Scalars['String']['output']>;
|
|
1663
|
+
};
|
|
1395
1664
|
/** ConversationClient is a type of the conversation client, the needed client data coming with the conversation. */
|
|
1396
1665
|
export type ConversationClient = {
|
|
1397
1666
|
__typename?: 'ConversationClient';
|
|
@@ -1441,6 +1710,15 @@ export type ConversationReport = {
|
|
|
1441
1710
|
responseRate: Scalars['Float']['output'];
|
|
1442
1711
|
workspaceId: Scalars['Int']['output'];
|
|
1443
1712
|
};
|
|
1713
|
+
export declare const ConversationSentiment: {
|
|
1714
|
+
readonly ANGER: "Anger";
|
|
1715
|
+
readonly DISGUST: "Disgust";
|
|
1716
|
+
readonly FEAR: "Fear";
|
|
1717
|
+
readonly JOY: "Joy";
|
|
1718
|
+
readonly SADNESS: "Sadness";
|
|
1719
|
+
readonly SURPRISE: "Surprise";
|
|
1720
|
+
};
|
|
1721
|
+
export type ConversationSentiment = typeof ConversationSentiment[keyof typeof ConversationSentiment];
|
|
1444
1722
|
/**
|
|
1445
1723
|
* ConvsInput is an input of the conversations query.
|
|
1446
1724
|
* Please note: That if you pass undefined to filters, it will be ignored. If you pass null, it will be considered that you are filtering by null.
|
|
@@ -1487,6 +1765,51 @@ export type ConvsReportPayload = {
|
|
|
1487
1765
|
__typename?: 'ConvsReportPayload';
|
|
1488
1766
|
nodes?: Maybe<Array<ConversationReport>>;
|
|
1489
1767
|
};
|
|
1768
|
+
/** Input for creating a channel connect link. Requires MANAGE_WORKSPACE. */
|
|
1769
|
+
export type CreateChannelConnectLinkInput = {
|
|
1770
|
+
type: IntegrationType;
|
|
1771
|
+
workspaceId: Scalars['Int']['input'];
|
|
1772
|
+
};
|
|
1773
|
+
/** CreateDemoConversationInput creates one local demo conversation with messages. */
|
|
1774
|
+
export type CreateDemoConversationInput = {
|
|
1775
|
+
/** Optional assignee agent id. */
|
|
1776
|
+
assigneeId?: InputMaybe<Scalars['ID']['input']>;
|
|
1777
|
+
/** Existing contact id. */
|
|
1778
|
+
clientId: Scalars['ID']['input'];
|
|
1779
|
+
/** Optional contact tags to apply. */
|
|
1780
|
+
clientTags?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1781
|
+
/** Optional conversation tags to apply. */
|
|
1782
|
+
conversationTags?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1783
|
+
/** When true, create the conversation as already ended. */
|
|
1784
|
+
ended?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1785
|
+
/** Existing channel/integration id. */
|
|
1786
|
+
integrationId: Scalars['ID']['input'];
|
|
1787
|
+
/** Invented conversation timeline. */
|
|
1788
|
+
messages: Array<DemoConversationMessageInput>;
|
|
1789
|
+
/** Optional internal memo/note. */
|
|
1790
|
+
note?: InputMaybe<Scalars['String']['input']>;
|
|
1791
|
+
/** Optional order/reference number. */
|
|
1792
|
+
orderNo?: InputMaybe<Scalars['String']['input']>;
|
|
1793
|
+
/** Optional conversation lifecycle stage name. */
|
|
1794
|
+
stage?: InputMaybe<Scalars['String']['input']>;
|
|
1795
|
+
workspaceId: Scalars['Int']['input'];
|
|
1796
|
+
};
|
|
1797
|
+
/** CreateDemoConversationPayload is a human-readable summary of the created demo conversation. */
|
|
1798
|
+
export type CreateDemoConversationPayload = {
|
|
1799
|
+
__typename?: 'CreateDemoConversationPayload';
|
|
1800
|
+
actions: Array<Scalars['String']['output']>;
|
|
1801
|
+
channelName: Scalars['String']['output'];
|
|
1802
|
+
channelType: Scalars['String']['output'];
|
|
1803
|
+
clientName: Scalars['String']['output'];
|
|
1804
|
+
ended: Scalars['Boolean']['output'];
|
|
1805
|
+
messageCount: Scalars['Int']['output'];
|
|
1806
|
+
};
|
|
1807
|
+
/** Input for creating a channel from a connect link. Workspace and type come from the link. */
|
|
1808
|
+
export type CreateIntegrationByConnectLinkInput = {
|
|
1809
|
+
integrationProperties: Scalars['JSON']['input'];
|
|
1810
|
+
name: Scalars['String']['input'];
|
|
1811
|
+
token: Scalars['String']['input'];
|
|
1812
|
+
};
|
|
1490
1813
|
/** CreateWorkspaceInput is an input of the createWorkspace mutation. */
|
|
1491
1814
|
export type CreateWorkspaceInput = {
|
|
1492
1815
|
accountId?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -1552,6 +1875,7 @@ export type DeleteWorkspaceCoreCounts = {
|
|
|
1552
1875
|
broadcastReports: Scalars['Int']['output'];
|
|
1553
1876
|
broadcasts: Scalars['Int']['output'];
|
|
1554
1877
|
clients: Scalars['Int']['output'];
|
|
1878
|
+
convStageReports: Scalars['Int']['output'];
|
|
1555
1879
|
convTagReports: Scalars['Int']['output'];
|
|
1556
1880
|
conversationReports: Scalars['Int']['output'];
|
|
1557
1881
|
conversations: Scalars['Int']['output'];
|
|
@@ -1577,6 +1901,13 @@ export type DeleteWorkspaceResult = {
|
|
|
1577
1901
|
core: DeleteWorkspaceCoreCounts;
|
|
1578
1902
|
workspaceId: Scalars['Int']['output'];
|
|
1579
1903
|
};
|
|
1904
|
+
/** DemoConversationMessageInput is one invented message in a demo conversation. */
|
|
1905
|
+
export type DemoConversationMessageInput = {
|
|
1906
|
+
/** Message text content. */
|
|
1907
|
+
content: Scalars['String']['input'];
|
|
1908
|
+
/** Message author role: client or agent. */
|
|
1909
|
+
role: Scalars['String']['input'];
|
|
1910
|
+
};
|
|
1580
1911
|
/**
|
|
1581
1912
|
* ErrorCode is an enum for the error codes.
|
|
1582
1913
|
* - UNAUTHENTICATED: The user is not authenticated.
|
|
@@ -1631,6 +1962,40 @@ export type IdUpdateDto = {
|
|
|
1631
1962
|
traceId?: Maybe<Scalars['String']['output']>;
|
|
1632
1963
|
workspaceId: Scalars['Int']['output'];
|
|
1633
1964
|
};
|
|
1965
|
+
/**
|
|
1966
|
+
* IdentityUpdateDTO is data transfer object for a channel-side identity rotation, such as
|
|
1967
|
+
* a WhatsApp business-scoped user ID (BSUID) changing after the contact changed phone
|
|
1968
|
+
* number or adopted a username. It links the identifier we already hold to the new one.
|
|
1969
|
+
*/
|
|
1970
|
+
export type IdentityUpdateDto = {
|
|
1971
|
+
__typename?: 'IdentityUpdateDTO';
|
|
1972
|
+
/** The created at of the identity change. */
|
|
1973
|
+
createdAt: Scalars['String']['output'];
|
|
1974
|
+
debug?: Maybe<Scalars['Boolean']['output']>;
|
|
1975
|
+
/** The integration id the identity change arrived on. */
|
|
1976
|
+
integrationId: Scalars['ID']['output'];
|
|
1977
|
+
/** The integration type the identity change arrived on. */
|
|
1978
|
+
integrationType: IntegrationType;
|
|
1979
|
+
/** The contact's phone number after the change, only present when the channel can still share it. */
|
|
1980
|
+
phone?: Maybe<Scalars['String']['output']>;
|
|
1981
|
+
/**
|
|
1982
|
+
* The phone number the contact used before the change. Number-change events
|
|
1983
|
+
* carry the old number on from and the new number on wa_id. The old
|
|
1984
|
+
* number is matched against externalClientId for contacts keyed by phone
|
|
1985
|
+
* before the BSUID was stored.
|
|
1986
|
+
*/
|
|
1987
|
+
previousPhone?: Maybe<Scalars['String']['output']>;
|
|
1988
|
+
/** The channel user id the contact had before the change. */
|
|
1989
|
+
previousUserId: Scalars['String']['output'];
|
|
1990
|
+
spanId?: Maybe<Scalars['String']['output']>;
|
|
1991
|
+
traceId?: Maybe<Scalars['String']['output']>;
|
|
1992
|
+
/** The channel user id the contact has after the change. */
|
|
1993
|
+
userId: Scalars['String']['output'];
|
|
1994
|
+
/** The contact's username, only present when they have one. */
|
|
1995
|
+
username?: Maybe<Scalars['String']['output']>;
|
|
1996
|
+
/** The workspace id of the contact. */
|
|
1997
|
+
workspaceId: Scalars['Int']['output'];
|
|
1998
|
+
};
|
|
1634
1999
|
export type InputAccess = {
|
|
1635
2000
|
/** Specify the list of permissions that can access the resource. */
|
|
1636
2001
|
requiredPermissions?: InputMaybe<Array<Permission>>;
|
|
@@ -1665,6 +2030,8 @@ export type InputUsersRoles = {
|
|
|
1665
2030
|
/** Integration is a type for the integration/channel. */
|
|
1666
2031
|
export type Integration = {
|
|
1667
2032
|
__typename?: 'Integration';
|
|
2033
|
+
/** True when WhatsApp voice calling is turned on for this channel. */
|
|
2034
|
+
callingEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
1668
2035
|
createdAt: Scalars['DateTime']['output'];
|
|
1669
2036
|
deletedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
1670
2037
|
/** The id of the integration. */
|
|
@@ -1855,6 +2222,11 @@ export type Message = {
|
|
|
1855
2222
|
status?: Maybe<MessageStatus>;
|
|
1856
2223
|
/** The tags of the message. */
|
|
1857
2224
|
tags?: Maybe<Array<Scalars['String']['output']>>;
|
|
2225
|
+
/**
|
|
2226
|
+
* Speech-to-text transcript for audio messages. Null when not transcribed or not audio.
|
|
2227
|
+
* Distinct from typed customer text — transcription may be inaccurate.
|
|
2228
|
+
*/
|
|
2229
|
+
transcript?: Maybe<Scalars['String']['output']>;
|
|
1858
2230
|
/** The trunk identifier for the notification message where the trunk is technical route your messages go through between providers. It is used to identify the message in the provider's system. */
|
|
1859
2231
|
trunk?: Maybe<Scalars['String']['output']>;
|
|
1860
2232
|
/** The type of the message. */
|
|
@@ -1966,6 +2338,77 @@ export type MessageReactionInput = {
|
|
|
1966
2338
|
messageId: Scalars['ID']['input'];
|
|
1967
2339
|
workspaceId: Scalars['Int']['input'];
|
|
1968
2340
|
};
|
|
2341
|
+
/**
|
|
2342
|
+
* MessageReport is one row per workspace and UTC hour.
|
|
2343
|
+
* totalCount is every non-note, non-debug message created in that hour.
|
|
2344
|
+
* Status counts use the status at aggregation time. Messages with no status are included only in totalCount.
|
|
2345
|
+
*/
|
|
2346
|
+
export type MessageReport = {
|
|
2347
|
+
__typename?: 'MessageReport';
|
|
2348
|
+
/** The date and time when the report row was created. */
|
|
2349
|
+
createdAt: Scalars['DateTime']['output'];
|
|
2350
|
+
/** Messages in delivered status. */
|
|
2351
|
+
deliveredCount: Scalars['Int']['output'];
|
|
2352
|
+
/** Messages in failed status. */
|
|
2353
|
+
failedCount: Scalars['Int']['output'];
|
|
2354
|
+
/** The id of the message report. */
|
|
2355
|
+
id: Scalars['ID']['output'];
|
|
2356
|
+
/** Messages in pending status. */
|
|
2357
|
+
pendingCount: Scalars['Int']['output'];
|
|
2358
|
+
/** Messages in played status. */
|
|
2359
|
+
playedCount: Scalars['Int']['output'];
|
|
2360
|
+
/** Messages in read status. */
|
|
2361
|
+
readCount: Scalars['Int']['output'];
|
|
2362
|
+
/** UTC start of the hour this report summarizes. */
|
|
2363
|
+
reportHour: Scalars['DateTime']['output'];
|
|
2364
|
+
/** Messages in sent status. */
|
|
2365
|
+
sentCount: Scalars['Int']['output'];
|
|
2366
|
+
/** All counted messages created in the hour. */
|
|
2367
|
+
totalCount: Scalars['Int']['output'];
|
|
2368
|
+
workspaceId: Scalars['Int']['output'];
|
|
2369
|
+
};
|
|
2370
|
+
/** MessageReportInput is an input of the message report query. */
|
|
2371
|
+
export type MessageReportInput = {
|
|
2372
|
+
/** End of the report range (inclusive), interpreted as a UTC hour via start-of-hour. */
|
|
2373
|
+
endDate: Scalars['DateTime']['input'];
|
|
2374
|
+
/** Start of the report range (inclusive), interpreted as a UTC hour via start-of-hour. */
|
|
2375
|
+
startDate: Scalars['DateTime']['input'];
|
|
2376
|
+
workspaceId: Scalars['Int']['input'];
|
|
2377
|
+
};
|
|
2378
|
+
/** MessageReportPayload is a payload of the message report query. */
|
|
2379
|
+
export type MessageReportPayload = {
|
|
2380
|
+
__typename?: 'MessageReportPayload';
|
|
2381
|
+
nodes?: Maybe<Array<MessageReport>>;
|
|
2382
|
+
};
|
|
2383
|
+
/**
|
|
2384
|
+
* MessageReportToday is a live count of messages created since UTC midnight.
|
|
2385
|
+
* It includes the hour still in progress. totalCount is every non-note message.
|
|
2386
|
+
* Status counts use the status at query time. Messages with no status are included only in totalCount.
|
|
2387
|
+
*/
|
|
2388
|
+
export type MessageReportToday = {
|
|
2389
|
+
__typename?: 'MessageReportToday';
|
|
2390
|
+
/** Messages in delivered status. */
|
|
2391
|
+
deliveredCount: Scalars['Int']['output'];
|
|
2392
|
+
/** Messages in failed status. */
|
|
2393
|
+
failedCount: Scalars['Int']['output'];
|
|
2394
|
+
/** Messages in pending status. */
|
|
2395
|
+
pendingCount: Scalars['Int']['output'];
|
|
2396
|
+
/** Messages in played status. */
|
|
2397
|
+
playedCount: Scalars['Int']['output'];
|
|
2398
|
+
/** Messages in read status. */
|
|
2399
|
+
readCount: Scalars['Int']['output'];
|
|
2400
|
+
/** UTC start of the current day. */
|
|
2401
|
+
reportDate: Scalars['DateTime']['output'];
|
|
2402
|
+
/** Messages in sent status. */
|
|
2403
|
+
sentCount: Scalars['Int']['output'];
|
|
2404
|
+
/** All counted messages created today. */
|
|
2405
|
+
totalCount: Scalars['Int']['output'];
|
|
2406
|
+
workspaceId: Scalars['Int']['output'];
|
|
2407
|
+
};
|
|
2408
|
+
/** MessageReportTodayInput is an input of the today message report query. */
|
|
2409
|
+
export type MessageReportTodayInput = {
|
|
2410
|
+
workspaceId: Scalars['Int']['input'];
|
|
2411
|
+
};
|
|
1969
2412
|
/**
|
|
1970
2413
|
* MessageStatus is an enum of the message statuses.
|
|
1971
2414
|
* It can be:
|
|
@@ -2095,6 +2538,7 @@ export type Mutation = {
|
|
|
2095
2538
|
addMessage: Message;
|
|
2096
2539
|
/** Add a quick reply. You should have the MANAGE_WORKSPACE permission to add a quick reply. */
|
|
2097
2540
|
addQuickReply: QuickReply;
|
|
2541
|
+
answerCall: CallJoinPayload;
|
|
2098
2542
|
/** Assign a conversation to an agent. If you don't have the MANAGE_CONVS permission, you can only assign the conversation to yourself. */
|
|
2099
2543
|
assignConv: Conversation;
|
|
2100
2544
|
assignOwner: UserRole;
|
|
@@ -2148,10 +2592,24 @@ export type Mutation = {
|
|
|
2148
2592
|
createAi: Ai;
|
|
2149
2593
|
/** Create a broadcast. You should have the MANAGE_CONVS permission to create a broadcast. */
|
|
2150
2594
|
createBroadcast: Broadcast;
|
|
2595
|
+
/**
|
|
2596
|
+
* Create a single-use link, valid for one hour, that connects one WhatsApp, Facebook, or Instagram channel.
|
|
2597
|
+
* Requires MANAGE_WORKSPACE.
|
|
2598
|
+
*/
|
|
2599
|
+
createChannelConnectLink: ChannelConnectLinkCreated;
|
|
2151
2600
|
/** Create a client. You should have the MANAGE_CLIENTS permission to create a client. */
|
|
2152
2601
|
createClient: Client;
|
|
2602
|
+
/**
|
|
2603
|
+
* Create one demo conversation with agent-invented messages and optional tags/notes/stage.
|
|
2604
|
+
* Only allowed for internalService callers on the internal demo workspace.
|
|
2605
|
+
* Does not send real outbound messages.
|
|
2606
|
+
*/
|
|
2607
|
+
createDemoConversation: CreateDemoConversationPayload;
|
|
2153
2608
|
/** Create an integration. You should have the MANAGE_WORKSPACE permission to create an integration. */
|
|
2154
2609
|
createIntegration: Integration;
|
|
2610
|
+
/** Create a channel using a connect link. No login required. The link is consumed on success. */
|
|
2611
|
+
createIntegrationByConnectLink: Integration;
|
|
2612
|
+
createQa: QaEntry;
|
|
2155
2613
|
createSource: Source;
|
|
2156
2614
|
/** Create a tag. You should have the MANAGE_WORKSPACE permission to create a tag. */
|
|
2157
2615
|
createTag: Tag;
|
|
@@ -2174,6 +2632,7 @@ export type Mutation = {
|
|
|
2174
2632
|
deleteClientByExternalId: Client;
|
|
2175
2633
|
/** Delete an integration. You should have the MANAGE_WORKSPACE permission to delete an integration. */
|
|
2176
2634
|
deleteIntegration: Integration;
|
|
2635
|
+
deleteQa: QaEntry;
|
|
2177
2636
|
deleteSource: Source;
|
|
2178
2637
|
/** Delete a tag. You should have the MANAGE_WORKSPACE permission to delete a tag. */
|
|
2179
2638
|
deleteTag: Tag;
|
|
@@ -2193,6 +2652,7 @@ export type Mutation = {
|
|
|
2193
2652
|
genApiKey: ApiKey;
|
|
2194
2653
|
/** Handover a conversation to an agent using AUTO assignment strategy. */
|
|
2195
2654
|
handoverConv: Conversation;
|
|
2655
|
+
hangupCall: Call;
|
|
2196
2656
|
/** Required after the creation of a workspace to take ownership on it */
|
|
2197
2657
|
initWorkspace: UserRole;
|
|
2198
2658
|
/** Launch a broadcast. You should have the MANAGE_CONVS permission to launch a broadcast. */
|
|
@@ -2215,10 +2675,12 @@ export type Mutation = {
|
|
|
2215
2675
|
patchSource: Source;
|
|
2216
2676
|
/** Update workspace settings. You should have the MANAGE_WORKSPACE permission to update workspace settings. */
|
|
2217
2677
|
patchWorkspaceSettings: WorkspaceSettings;
|
|
2678
|
+
publishQa: QaEntry;
|
|
2218
2679
|
/** Put a client (Update a client if it exists, create a new one if it doesn't). You should have the MANAGE_CLIENTS permission to put a client. */
|
|
2219
2680
|
putClient: Client;
|
|
2220
2681
|
/** React to a message with an emoji. */
|
|
2221
2682
|
reactToMessage: Message;
|
|
2683
|
+
rejectCall: Call;
|
|
2222
2684
|
/** Remove a quick reply. You should have the MANAGE_WORKSPACE permission to remove a quick reply. */
|
|
2223
2685
|
removeQuickReply: QuickReply;
|
|
2224
2686
|
/** Remove a user from a workspace membership. Caller must be a member. */
|
|
@@ -2257,6 +2719,7 @@ export type Mutation = {
|
|
|
2257
2719
|
undeleteClient: Client;
|
|
2258
2720
|
/** Undelete a client by externalClientId. You should have the MANAGE_CLIENTS permission to undelete a client. */
|
|
2259
2721
|
undeleteClientByExternalId: Client;
|
|
2722
|
+
unpublishQa: QaEntry;
|
|
2260
2723
|
/** Remove an emoji reaction from a message. */
|
|
2261
2724
|
unreactToMessage: Message;
|
|
2262
2725
|
/** Untag a client. You should have the MANAGE_CLIENTS permission to untag a client. */
|
|
@@ -2265,6 +2728,7 @@ export type Mutation = {
|
|
|
2265
2728
|
untagConv: Conversation;
|
|
2266
2729
|
/** Untag a message. */
|
|
2267
2730
|
untagMessage: Message;
|
|
2731
|
+
updateQa: QaEntry;
|
|
2268
2732
|
/** Rename a workspace. Caller must be a member; name must be unique. */
|
|
2269
2733
|
updateWorkspace: Workspace;
|
|
2270
2734
|
/** Save the company profile answers for an existing workspace. */
|
|
@@ -2276,6 +2740,9 @@ export type MutationAddMessageArgs = {
|
|
|
2276
2740
|
export type MutationAddQuickReplyArgs = {
|
|
2277
2741
|
input: QuickReplyAddInput;
|
|
2278
2742
|
};
|
|
2743
|
+
export type MutationAnswerCallArgs = {
|
|
2744
|
+
input: CallActionInput;
|
|
2745
|
+
};
|
|
2279
2746
|
export type MutationAssignConvArgs = {
|
|
2280
2747
|
input: ConvAssignInput;
|
|
2281
2748
|
};
|
|
@@ -2333,12 +2800,24 @@ export type MutationCreateAiArgs = {
|
|
|
2333
2800
|
export type MutationCreateBroadcastArgs = {
|
|
2334
2801
|
input: BroadcastCreateInput;
|
|
2335
2802
|
};
|
|
2803
|
+
export type MutationCreateChannelConnectLinkArgs = {
|
|
2804
|
+
input: CreateChannelConnectLinkInput;
|
|
2805
|
+
};
|
|
2336
2806
|
export type MutationCreateClientArgs = {
|
|
2337
2807
|
input: ClientCreateInput;
|
|
2338
2808
|
};
|
|
2809
|
+
export type MutationCreateDemoConversationArgs = {
|
|
2810
|
+
input: CreateDemoConversationInput;
|
|
2811
|
+
};
|
|
2339
2812
|
export type MutationCreateIntegrationArgs = {
|
|
2340
2813
|
input: IntegrationCreateInput;
|
|
2341
2814
|
};
|
|
2815
|
+
export type MutationCreateIntegrationByConnectLinkArgs = {
|
|
2816
|
+
input: CreateIntegrationByConnectLinkInput;
|
|
2817
|
+
};
|
|
2818
|
+
export type MutationCreateQaArgs = {
|
|
2819
|
+
input: QaCreateInput;
|
|
2820
|
+
};
|
|
2342
2821
|
export type MutationCreateSourceArgs = {
|
|
2343
2822
|
input: SourceCreateInput;
|
|
2344
2823
|
};
|
|
@@ -2372,6 +2851,9 @@ export type MutationDeleteClientByExternalIdArgs = {
|
|
|
2372
2851
|
export type MutationDeleteIntegrationArgs = {
|
|
2373
2852
|
input: IntegrationDeleteInput;
|
|
2374
2853
|
};
|
|
2854
|
+
export type MutationDeleteQaArgs = {
|
|
2855
|
+
input: QaIdInput;
|
|
2856
|
+
};
|
|
2375
2857
|
export type MutationDeleteSourceArgs = {
|
|
2376
2858
|
input: SourceDeleteInput;
|
|
2377
2859
|
};
|
|
@@ -2396,6 +2878,9 @@ export type MutationGenApiKeyArgs = {
|
|
|
2396
2878
|
export type MutationHandoverConvArgs = {
|
|
2397
2879
|
input: ConvHandoverInput;
|
|
2398
2880
|
};
|
|
2881
|
+
export type MutationHangupCallArgs = {
|
|
2882
|
+
input: CallActionInput;
|
|
2883
|
+
};
|
|
2399
2884
|
export type MutationInitWorkspaceArgs = {
|
|
2400
2885
|
input: InputInitWorkspace;
|
|
2401
2886
|
};
|
|
@@ -2432,12 +2917,18 @@ export type MutationPatchSourceArgs = {
|
|
|
2432
2917
|
export type MutationPatchWorkspaceSettingsArgs = {
|
|
2433
2918
|
input: WorkspaceSettingsPatchInput;
|
|
2434
2919
|
};
|
|
2920
|
+
export type MutationPublishQaArgs = {
|
|
2921
|
+
input: QaIdInput;
|
|
2922
|
+
};
|
|
2435
2923
|
export type MutationPutClientArgs = {
|
|
2436
2924
|
input: ClientPutInput;
|
|
2437
2925
|
};
|
|
2438
2926
|
export type MutationReactToMessageArgs = {
|
|
2439
2927
|
input: MessageReactionInput;
|
|
2440
2928
|
};
|
|
2929
|
+
export type MutationRejectCallArgs = {
|
|
2930
|
+
input: CallActionInput;
|
|
2931
|
+
};
|
|
2441
2932
|
export type MutationRemoveQuickReplyArgs = {
|
|
2442
2933
|
input: QuickReplyRemoveInput;
|
|
2443
2934
|
};
|
|
@@ -2484,6 +2975,9 @@ export type MutationUndeleteClientArgs = {
|
|
|
2484
2975
|
export type MutationUndeleteClientByExternalIdArgs = {
|
|
2485
2976
|
input: ClientDeleteByExternalIdInput;
|
|
2486
2977
|
};
|
|
2978
|
+
export type MutationUnpublishQaArgs = {
|
|
2979
|
+
input: QaIdInput;
|
|
2980
|
+
};
|
|
2487
2981
|
export type MutationUnreactToMessageArgs = {
|
|
2488
2982
|
input: MessageReactionInput;
|
|
2489
2983
|
};
|
|
@@ -2496,12 +2990,63 @@ export type MutationUntagConvArgs = {
|
|
|
2496
2990
|
export type MutationUntagMessageArgs = {
|
|
2497
2991
|
input: MessageTagInput;
|
|
2498
2992
|
};
|
|
2993
|
+
export type MutationUpdateQaArgs = {
|
|
2994
|
+
input: QaUpdateInput;
|
|
2995
|
+
};
|
|
2499
2996
|
export type MutationUpdateWorkspaceArgs = {
|
|
2500
2997
|
input: UpdateWorkspaceInput;
|
|
2501
2998
|
};
|
|
2502
2999
|
export type MutationUpdateWorkspaceProfileArgs = {
|
|
2503
3000
|
input: UpdateWorkspaceProfileInput;
|
|
2504
3001
|
};
|
|
3002
|
+
/** Inbound conversation noise-filter policy for a workspace. */
|
|
3003
|
+
export type NoiseFilterSettings = {
|
|
3004
|
+
__typename?: 'NoiseFilterSettings';
|
|
3005
|
+
/** Width below spamHighThreshold treated as bc:needs-review (0-1). */
|
|
3006
|
+
borderlineBand?: Maybe<Scalars['Float']['output']>;
|
|
3007
|
+
/** Regex patterns matched against inbound message text. */
|
|
3008
|
+
denyPatterns?: Maybe<Array<Scalars['String']['output']>>;
|
|
3009
|
+
/** When false or unset, inbound messages are not classified. */
|
|
3010
|
+
enabled?: Maybe<Scalars['Boolean']['output']>;
|
|
3011
|
+
/** Minimum high-intent engagement confidence to tag bc:high-intent (0-1). */
|
|
3012
|
+
highIntentThreshold?: Maybe<Scalars['Float']['output']>;
|
|
3013
|
+
/** Maximum URL count per message before rules flag spam. */
|
|
3014
|
+
maxLinksPerMessage?: Maybe<Scalars['Int']['output']>;
|
|
3015
|
+
/** Maximum inbound messages per sender per hour before rules flag spam. */
|
|
3016
|
+
maxMessagesPerSenderHour?: Maybe<Scalars['Int']['output']>;
|
|
3017
|
+
/** Minimum rules-prefilter confidence to skip the LLM (0-1). */
|
|
3018
|
+
rulesThreshold?: Maybe<Scalars['Float']['output']>;
|
|
3019
|
+
/** Minimum spamLikelihood confidence to tag bc:spam (0-1). */
|
|
3020
|
+
spamHighThreshold?: Maybe<Scalars['Float']['output']>;
|
|
3021
|
+
/**
|
|
3022
|
+
* Optional extra triage policy for the noise-filter agent. Empty keeps built-in extras:
|
|
3023
|
+
* bc:spam CLOSE_CONV, bc:needs-review NEEDS_REVIEW, bc:high-intent tag only, bc:maybe-spam tag only.
|
|
3024
|
+
* AI first-message mode (AI-assigned inbound 1) never closes, blocks, or archives;
|
|
3025
|
+
* live-agent and unassigned chats use full mode from message 1.
|
|
3026
|
+
* A custom prompt may add CLOSE_CONV, BLOCK_CONTACT, ARCHIVE_CONTACT, NEEDS_REVIEW
|
|
3027
|
+
* (tag + unassign; agents close or block from the portal), DEPRIORITIZE (unassign),
|
|
3028
|
+
* or ASSIGN:email@company.com (assign to that workspace agent by email).
|
|
3029
|
+
* System tags are always applied from scores; you do not need to name them here.
|
|
3030
|
+
*/
|
|
3031
|
+
triagePrompt?: Maybe<Scalars['String']['output']>;
|
|
3032
|
+
};
|
|
3033
|
+
/** Input for creating or patching workspace noise-filter settings. */
|
|
3034
|
+
export type NoiseFilterSettingsInput = {
|
|
3035
|
+
borderlineBand?: InputMaybe<Scalars['Float']['input']>;
|
|
3036
|
+
denyPatterns?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
3037
|
+
enabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3038
|
+
highIntentThreshold?: InputMaybe<Scalars['Float']['input']>;
|
|
3039
|
+
maxLinksPerMessage?: InputMaybe<Scalars['Int']['input']>;
|
|
3040
|
+
maxMessagesPerSenderHour?: InputMaybe<Scalars['Int']['input']>;
|
|
3041
|
+
rulesThreshold?: InputMaybe<Scalars['Float']['input']>;
|
|
3042
|
+
spamHighThreshold?: InputMaybe<Scalars['Float']['input']>;
|
|
3043
|
+
/**
|
|
3044
|
+
* Optional extra triage policy. Empty keeps built-in extras (spam CLOSE_CONV, borderline NEEDS_REVIEW,
|
|
3045
|
+
* high-intent tag only, maybe-spam tag only). A custom prompt may add CLOSE_CONV, BLOCK_CONTACT,
|
|
3046
|
+
* ARCHIVE_CONTACT, NEEDS_REVIEW (tag + unassign; portal for close/block), or DEPRIORITIZE (unassign).
|
|
3047
|
+
*/
|
|
3048
|
+
triagePrompt?: InputMaybe<Scalars['String']['input']>;
|
|
3049
|
+
};
|
|
2505
3050
|
/**
|
|
2506
3051
|
* NoteType is an enum of the note types.
|
|
2507
3052
|
* It can be:
|
|
@@ -2586,8 +3131,59 @@ export declare const Permission: {
|
|
|
2586
3131
|
readonly MANAGE_WORKSPACE: "MANAGE_WORKSPACE";
|
|
2587
3132
|
};
|
|
2588
3133
|
export type Permission = typeof Permission[keyof typeof Permission];
|
|
3134
|
+
export type QaCreateInput = {
|
|
3135
|
+
answer: Scalars['String']['input'];
|
|
3136
|
+
conversationId?: InputMaybe<Scalars['String']['input']>;
|
|
3137
|
+
messageId?: InputMaybe<Scalars['String']['input']>;
|
|
3138
|
+
origin: QaOrigin;
|
|
3139
|
+
question: Scalars['String']['input'];
|
|
3140
|
+
workspaceId: Scalars['Int']['input'];
|
|
3141
|
+
};
|
|
3142
|
+
export type QaEntriesInput = {
|
|
3143
|
+
search?: InputMaybe<Scalars['String']['input']>;
|
|
3144
|
+
status?: InputMaybe<QaStatus>;
|
|
3145
|
+
workspaceId: Scalars['Int']['input'];
|
|
3146
|
+
};
|
|
3147
|
+
export type QaEntriesPayload = {
|
|
3148
|
+
__typename?: 'QaEntriesPayload';
|
|
3149
|
+
nodes?: Maybe<Array<QaEntry>>;
|
|
3150
|
+
};
|
|
3151
|
+
export type QaEntry = {
|
|
3152
|
+
__typename?: 'QaEntry';
|
|
3153
|
+
answer: Scalars['String']['output'];
|
|
3154
|
+
conversationId?: Maybe<Scalars['String']['output']>;
|
|
3155
|
+
createdAt: Scalars['DateTime']['output'];
|
|
3156
|
+
id: Scalars['ID']['output'];
|
|
3157
|
+
messageId?: Maybe<Scalars['String']['output']>;
|
|
3158
|
+
origin: QaOrigin;
|
|
3159
|
+
patchedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
3160
|
+
question: Scalars['String']['output'];
|
|
3161
|
+
status: QaStatus;
|
|
3162
|
+
workspaceId: Scalars['Int']['output'];
|
|
3163
|
+
};
|
|
3164
|
+
export type QaIdInput = {
|
|
3165
|
+
id: Scalars['ID']['input'];
|
|
3166
|
+
workspaceId: Scalars['Int']['input'];
|
|
3167
|
+
};
|
|
3168
|
+
export declare const QaOrigin: {
|
|
3169
|
+
readonly INBOX: "INBOX";
|
|
3170
|
+
readonly MANUAL: "MANUAL";
|
|
3171
|
+
};
|
|
3172
|
+
export type QaOrigin = typeof QaOrigin[keyof typeof QaOrigin];
|
|
3173
|
+
export declare const QaStatus: {
|
|
3174
|
+
readonly DRAFT: "DRAFT";
|
|
3175
|
+
readonly PUBLISHED: "PUBLISHED";
|
|
3176
|
+
};
|
|
3177
|
+
export type QaStatus = typeof QaStatus[keyof typeof QaStatus];
|
|
3178
|
+
export type QaUpdateInput = {
|
|
3179
|
+
answer: Scalars['String']['input'];
|
|
3180
|
+
id: Scalars['ID']['input'];
|
|
3181
|
+
question: Scalars['String']['input'];
|
|
3182
|
+
workspaceId: Scalars['Int']['input'];
|
|
3183
|
+
};
|
|
2589
3184
|
export type Query = {
|
|
2590
3185
|
__typename?: 'Query';
|
|
3186
|
+
activeCalls: Array<Call>;
|
|
2591
3187
|
/** Get an agent. */
|
|
2592
3188
|
agent: Agent;
|
|
2593
3189
|
/** Get the agents. */
|
|
@@ -2595,6 +3191,7 @@ export type Query = {
|
|
|
2595
3191
|
/** Get the agents report. You should have the MANAGE_CONVS permission to get the agents report. */
|
|
2596
3192
|
agentsReport: AgentsReportPayload;
|
|
2597
3193
|
ai: Ai;
|
|
3194
|
+
aiVoices: Array<AiVoice>;
|
|
2598
3195
|
ais: AIsPayload;
|
|
2599
3196
|
/** Get the API keys. You should have the MANAGE_WORKSPACE permission to get the API keys. */
|
|
2600
3197
|
apiKeys: ApiKeysPayload;
|
|
@@ -2612,10 +3209,14 @@ export type Query = {
|
|
|
2612
3209
|
broadcasts: BroadcastsPayload;
|
|
2613
3210
|
/** Get the status of a bulk import contacts job. You should have the MANAGE_CLIENTS permission to query job status. */
|
|
2614
3211
|
bulkImportContactsJobStatus?: Maybe<BulkImportContactsJobStatus>;
|
|
3212
|
+
/** Read a channel connect link. No login required. Fails when the link is missing, used, or expired. */
|
|
3213
|
+
channelConnectLink: ChannelConnectLink;
|
|
2615
3214
|
/** Get a client. You should have the MANAGE_CLIENTS permission to get a client. */
|
|
2616
3215
|
client: Client;
|
|
2617
3216
|
/** Get a client by phone number. You should have the MANAGE_CLIENTS permission to get a client. */
|
|
2618
3217
|
clientByPhone: Client;
|
|
3218
|
+
/** Get AI suggestions (tags, lifecycle stage) for a client. Nothing is applied. */
|
|
3219
|
+
clientSuggestions: ClientSuggestionsPayload;
|
|
2619
3220
|
/** Get the clients. You should have the MANAGE_CLIENTS permission to get the clients. */
|
|
2620
3221
|
clients: ClientsPayload;
|
|
2621
3222
|
/** Get a single conversation by id. If you don't have the MANAGE_CONVS permission, you can only access conversations assigned to you (or unassigned). */
|
|
@@ -2626,6 +3227,13 @@ export type Query = {
|
|
|
2626
3227
|
convEnhanceMessage: ConvAssistPayload;
|
|
2627
3228
|
/** Get the last message of a conversation if it is currently open. Returns null if the conversation is ended or not found. */
|
|
2628
3229
|
convLastMessage?: Maybe<Message>;
|
|
3230
|
+
/** Get the conversation stages (lifecycle) report. You should have the MANAGE_CONVS permission to get the stages report. */
|
|
3231
|
+
convStagesReport: ConvStagesReportPayload;
|
|
3232
|
+
/**
|
|
3233
|
+
* Get AI suggestions (tags, stage, assignee) for a conversation. Nothing is applied.
|
|
3234
|
+
* Without the MANAGE_CONVS permission, only conversations assigned to you (or unassigned) are allowed.
|
|
3235
|
+
*/
|
|
3236
|
+
convSuggestions: ConvSuggestionsPayload;
|
|
2629
3237
|
/** Get an AI summary for conversation messages. */
|
|
2630
3238
|
convSummary: ConvAssistPayload;
|
|
2631
3239
|
/** Get the conversation tags report. You should have the MANAGE_CONVS permission to get the tags report. */
|
|
@@ -2637,9 +3245,9 @@ export type Query = {
|
|
|
2637
3245
|
/** Get the current authenticated user's details. */
|
|
2638
3246
|
currentUser: User;
|
|
2639
3247
|
hello: HelloMessage;
|
|
2640
|
-
/** Get an integration. */
|
|
3248
|
+
/** Get an integration. Requires a role on the workspace. */
|
|
2641
3249
|
integration: Integration;
|
|
2642
|
-
/** Get the integrations. */
|
|
3250
|
+
/** Get the integrations. Requires a role on the workspace. */
|
|
2643
3251
|
integrations: IntegrationsPayload;
|
|
2644
3252
|
/**
|
|
2645
3253
|
* Validate that a workspace name is not already used.
|
|
@@ -2647,14 +3255,23 @@ export type Query = {
|
|
|
2647
3255
|
*/
|
|
2648
3256
|
isWorkspaceNameAvailable: Scalars['Boolean']['output'];
|
|
2649
3257
|
me: UserRole;
|
|
3258
|
+
/** Get hourly message counts per workspace. You should have the MANAGE_CONVS permission to get message reports. */
|
|
3259
|
+
messageReport: MessageReportPayload;
|
|
3260
|
+
/**
|
|
3261
|
+
* Get today's message counts for a workspace, including the current hour.
|
|
3262
|
+
* You should have the MANAGE_CONVS permission to get message reports.
|
|
3263
|
+
*/
|
|
3264
|
+
messageReportToday: MessageReportToday;
|
|
2650
3265
|
/** Get messages with optional filters. If you don't have the MANAGE_CONVS permission, it will return only messages for conversations assigned to you. */
|
|
2651
3266
|
messages: MessagesPayload;
|
|
2652
3267
|
/** Get the accepted values for the workspace profile fields. */
|
|
2653
3268
|
onboardingOptions: OnboardingOptions;
|
|
2654
3269
|
/** Get the count of open conversations that have recent client messages (conversations that need a response). */
|
|
2655
3270
|
openConversationsNeedResponseCount: Scalars['Int']['output'];
|
|
3271
|
+
qaEntries: QaEntriesPayload;
|
|
2656
3272
|
/** Get quick replies. */
|
|
2657
3273
|
quickReplies: QuickRepliesPayload;
|
|
3274
|
+
similarQa: SimilarQaPayload;
|
|
2658
3275
|
sources: SourcesPayload;
|
|
2659
3276
|
/** Get tags. */
|
|
2660
3277
|
tags: TagsPayload;
|
|
@@ -2670,9 +3287,9 @@ export type Query = {
|
|
|
2670
3287
|
usersRoles: UsersRolesPayload;
|
|
2671
3288
|
/** Validate a bulk import contacts CSV file before importing. Returns validation errors for each row. You should have the MANAGE_CLIENTS permission to validate files. */
|
|
2672
3289
|
validateBulkImportContacts: ValidateBulkImportContactsResult;
|
|
2673
|
-
/** Get the WhatsApp message template details including components. */
|
|
3290
|
+
/** Get the WhatsApp message template details including components. Requires a role on the workspace. */
|
|
2674
3291
|
wabaMessageTemplateDetails: MessageTemplateDetails;
|
|
2675
|
-
/** Get the WhatsApp message templates. */
|
|
3292
|
+
/** Get the WhatsApp message templates. Requires a role on the workspace. */
|
|
2676
3293
|
wabaMessageTemplates: MessageTemplatesPayload;
|
|
2677
3294
|
webhooks: WebhooksPayload;
|
|
2678
3295
|
/** Paginated message statuses for broadcasts in a date range, plus messages without a broadcast in the same period. You should have the MANAGE_CONVS permission. */
|
|
@@ -2691,6 +3308,9 @@ export type Query = {
|
|
|
2691
3308
|
/** Get workspaces with pagination and filters. */
|
|
2692
3309
|
workspaces: WorkspacesPayload;
|
|
2693
3310
|
};
|
|
3311
|
+
export type QueryActiveCallsArgs = {
|
|
3312
|
+
input: ActiveCallsInput;
|
|
3313
|
+
};
|
|
2694
3314
|
export type QueryAgentArgs = {
|
|
2695
3315
|
input: AgentInput;
|
|
2696
3316
|
};
|
|
@@ -2704,6 +3324,9 @@ export type QueryAgentsReportArgs = {
|
|
|
2704
3324
|
export type QueryAiArgs = {
|
|
2705
3325
|
input: AiInput;
|
|
2706
3326
|
};
|
|
3327
|
+
export type QueryAiVoicesArgs = {
|
|
3328
|
+
input: AiVoicesInput;
|
|
3329
|
+
};
|
|
2707
3330
|
export type QueryAisArgs = {
|
|
2708
3331
|
input: AIsInput;
|
|
2709
3332
|
};
|
|
@@ -2734,12 +3357,18 @@ export type QueryBroadcastsArgs = {
|
|
|
2734
3357
|
export type QueryBulkImportContactsJobStatusArgs = {
|
|
2735
3358
|
input: BulkImportContactsJobStatusInput;
|
|
2736
3359
|
};
|
|
3360
|
+
export type QueryChannelConnectLinkArgs = {
|
|
3361
|
+
input: ChannelConnectLinkInput;
|
|
3362
|
+
};
|
|
2737
3363
|
export type QueryClientArgs = {
|
|
2738
3364
|
input: ClientInput;
|
|
2739
3365
|
};
|
|
2740
3366
|
export type QueryClientByPhoneArgs = {
|
|
2741
3367
|
input: ClientByPhoneInput;
|
|
2742
3368
|
};
|
|
3369
|
+
export type QueryClientSuggestionsArgs = {
|
|
3370
|
+
input: ClientSuggestionsInput;
|
|
3371
|
+
};
|
|
2743
3372
|
export type QueryClientsArgs = {
|
|
2744
3373
|
input: ClientsInput;
|
|
2745
3374
|
pageInfo?: InputMaybe<PageInfoInput>;
|
|
@@ -2756,6 +3385,12 @@ export type QueryConvEnhanceMessageArgs = {
|
|
|
2756
3385
|
export type QueryConvLastMessageArgs = {
|
|
2757
3386
|
input: ConvLastMessageInput;
|
|
2758
3387
|
};
|
|
3388
|
+
export type QueryConvStagesReportArgs = {
|
|
3389
|
+
input: ConvStagesReportInput;
|
|
3390
|
+
};
|
|
3391
|
+
export type QueryConvSuggestionsArgs = {
|
|
3392
|
+
input: ConvSuggestionsInput;
|
|
3393
|
+
};
|
|
2759
3394
|
export type QueryConvSummaryArgs = {
|
|
2760
3395
|
input: ConvAssistInput;
|
|
2761
3396
|
};
|
|
@@ -2781,6 +3416,12 @@ export type QueryIsWorkspaceNameAvailableArgs = {
|
|
|
2781
3416
|
export type QueryMeArgs = {
|
|
2782
3417
|
input: InputInitWorkspace;
|
|
2783
3418
|
};
|
|
3419
|
+
export type QueryMessageReportArgs = {
|
|
3420
|
+
input: MessageReportInput;
|
|
3421
|
+
};
|
|
3422
|
+
export type QueryMessageReportTodayArgs = {
|
|
3423
|
+
input: MessageReportTodayInput;
|
|
3424
|
+
};
|
|
2784
3425
|
export type QueryMessagesArgs = {
|
|
2785
3426
|
input: MessagesInput;
|
|
2786
3427
|
pageInfo?: InputMaybe<PageInfoInput>;
|
|
@@ -2788,9 +3429,15 @@ export type QueryMessagesArgs = {
|
|
|
2788
3429
|
export type QueryOpenConversationsNeedResponseCountArgs = {
|
|
2789
3430
|
input: OpenConversationsNeedResponseInput;
|
|
2790
3431
|
};
|
|
3432
|
+
export type QueryQaEntriesArgs = {
|
|
3433
|
+
input: QaEntriesInput;
|
|
3434
|
+
};
|
|
2791
3435
|
export type QueryQuickRepliesArgs = {
|
|
2792
3436
|
input: QuickRepliesInput;
|
|
2793
3437
|
};
|
|
3438
|
+
export type QuerySimilarQaArgs = {
|
|
3439
|
+
input: SimilarQaInput;
|
|
3440
|
+
};
|
|
2794
3441
|
export type QuerySourcesArgs = {
|
|
2795
3442
|
input: SourcesInput;
|
|
2796
3443
|
};
|
|
@@ -2986,6 +3633,14 @@ export type SendNotificationInput = {
|
|
|
2986
3633
|
trunk?: InputMaybe<Scalars['String']['input']>;
|
|
2987
3634
|
workspaceId: Scalars['Int']['input'];
|
|
2988
3635
|
};
|
|
3636
|
+
export type SimilarQaInput = {
|
|
3637
|
+
question: Scalars['String']['input'];
|
|
3638
|
+
workspaceId: Scalars['Int']['input'];
|
|
3639
|
+
};
|
|
3640
|
+
export type SimilarQaPayload = {
|
|
3641
|
+
__typename?: 'SimilarQaPayload';
|
|
3642
|
+
entry?: Maybe<QaEntry>;
|
|
3643
|
+
};
|
|
2989
3644
|
export type Source = {
|
|
2990
3645
|
__typename?: 'Source';
|
|
2991
3646
|
createdAt: Scalars['DateTime']['output'];
|
|
@@ -3026,6 +3681,14 @@ export type SourcesPayload = {
|
|
|
3026
3681
|
__typename?: 'SourcesPayload';
|
|
3027
3682
|
nodes?: Maybe<Array<Source>>;
|
|
3028
3683
|
};
|
|
3684
|
+
/** StageSuggestion is a suggested lifecycle stage that exists in the workspace and differs from the current one. */
|
|
3685
|
+
export type StageSuggestion = {
|
|
3686
|
+
__typename?: 'StageSuggestion';
|
|
3687
|
+
confidence: Scalars['Float']['output'];
|
|
3688
|
+
reason: Scalars['String']['output'];
|
|
3689
|
+
stage: Scalars['String']['output'];
|
|
3690
|
+
stageId: Scalars['ID']['output'];
|
|
3691
|
+
};
|
|
3029
3692
|
/** StartByCountryCodeConfig is a configuration for the start with country code. */
|
|
3030
3693
|
export type StartByCountryCodeConfig = {
|
|
3031
3694
|
__typename?: 'StartByCountryCodeConfig';
|
|
@@ -3067,6 +3730,26 @@ export type StatusUpdateDto = {
|
|
|
3067
3730
|
traceId?: Maybe<Scalars['String']['output']>;
|
|
3068
3731
|
workspaceId: Scalars['Int']['output'];
|
|
3069
3732
|
};
|
|
3733
|
+
/**
|
|
3734
|
+
* SuggestionSkipReason explains why no AI call was made.
|
|
3735
|
+
* no_tags: the workspace has no tags (or stages) of the target type.
|
|
3736
|
+
* no_messages: there are no messages to read.
|
|
3737
|
+
* ended: the conversation is ended.
|
|
3738
|
+
* spam: the noise filter marked the conversation as spam (bc:spam).
|
|
3739
|
+
*/
|
|
3740
|
+
export declare const SuggestionSkipReason: {
|
|
3741
|
+
readonly ENDED: "ended";
|
|
3742
|
+
readonly NO_MESSAGES: "no_messages";
|
|
3743
|
+
readonly NO_TAGS: "no_tags";
|
|
3744
|
+
readonly SPAM: "spam";
|
|
3745
|
+
};
|
|
3746
|
+
export type SuggestionSkipReason = typeof SuggestionSkipReason[keyof typeof SuggestionSkipReason];
|
|
3747
|
+
/** SuggestionSource tells whether suggestions came from the AI model or were skipped. */
|
|
3748
|
+
export declare const SuggestionSource: {
|
|
3749
|
+
readonly LLM: "llm";
|
|
3750
|
+
readonly SKIPPED: "skipped";
|
|
3751
|
+
};
|
|
3752
|
+
export type SuggestionSource = typeof SuggestionSource[keyof typeof SuggestionSource];
|
|
3070
3753
|
export type Tag = {
|
|
3071
3754
|
__typename?: 'Tag';
|
|
3072
3755
|
createdAt: Scalars['DateTime']['output'];
|
|
@@ -3106,6 +3789,15 @@ export type TagRuleInput = {
|
|
|
3106
3789
|
rule: Scalars['String']['input'];
|
|
3107
3790
|
tag: Scalars['String']['input'];
|
|
3108
3791
|
};
|
|
3792
|
+
/** TagSuggestion is a suggested tag that exists in the workspace and is not applied yet. */
|
|
3793
|
+
export type TagSuggestion = {
|
|
3794
|
+
__typename?: 'TagSuggestion';
|
|
3795
|
+
/** Model confidence from 0 to 1. */
|
|
3796
|
+
confidence: Scalars['Float']['output'];
|
|
3797
|
+
/** One short sentence explaining the suggestion. */
|
|
3798
|
+
reason: Scalars['String']['output'];
|
|
3799
|
+
tag: Scalars['String']['output'];
|
|
3800
|
+
};
|
|
3109
3801
|
export declare const TagType: {
|
|
3110
3802
|
readonly CLIENT: "client";
|
|
3111
3803
|
readonly CLIENTSTAGE: "clientStage";
|
|
@@ -3124,11 +3816,20 @@ export type TagsPayload = {
|
|
|
3124
3816
|
__typename?: 'TagsPayload';
|
|
3125
3817
|
nodes?: Maybe<Array<Tag>>;
|
|
3126
3818
|
};
|
|
3127
|
-
/**
|
|
3819
|
+
/**
|
|
3820
|
+
* TemplateState is an enum for the WhatsApp message template status.
|
|
3821
|
+
* Values match Meta Cloud API status on message templates.
|
|
3822
|
+
*/
|
|
3128
3823
|
export declare const TemplateState: {
|
|
3129
3824
|
readonly APPROVED: "APPROVED";
|
|
3130
3825
|
readonly DELETED: "DELETED";
|
|
3826
|
+
readonly DISABLED: "DISABLED";
|
|
3827
|
+
readonly IN_APPEAL: "IN_APPEAL";
|
|
3828
|
+
readonly LIMIT_EXCEEDED: "LIMIT_EXCEEDED";
|
|
3829
|
+
readonly PAUSED: "PAUSED";
|
|
3131
3830
|
readonly PENDING: "PENDING";
|
|
3831
|
+
readonly PENDING_DELETION: "PENDING_DELETION";
|
|
3832
|
+
readonly REJECTED: "REJECTED";
|
|
3132
3833
|
};
|
|
3133
3834
|
export type TemplateState = typeof TemplateState[keyof typeof TemplateState];
|
|
3134
3835
|
export type TokenUsageLog = {
|
|
@@ -3377,8 +4078,8 @@ export type Workspace = {
|
|
|
3377
4078
|
website?: Maybe<Scalars['String']['output']>;
|
|
3378
4079
|
};
|
|
3379
4080
|
/**
|
|
3380
|
-
* Paginated message statuses for outbound
|
|
3381
|
-
* in the date range, including broadcast-linked messages
|
|
4081
|
+
* Paginated message statuses for outbound messages in the workspace whose message createdAt falls
|
|
4082
|
+
* in the date range, including broadcast-linked messages, Gateway REST sends, and other agent outbound traffic.
|
|
3382
4083
|
*/
|
|
3383
4084
|
export type WorkspaceBroadcastMessageStatusesInput = {
|
|
3384
4085
|
/** Filter by client country. */
|
|
@@ -3462,6 +4163,8 @@ export type WorkspaceSettings = {
|
|
|
3462
4163
|
holidayWeekdays?: Maybe<Array<Scalars['String']['output']>>;
|
|
3463
4164
|
/** The unique identifier of the workspace settings record. */
|
|
3464
4165
|
id: Scalars['ID']['output'];
|
|
4166
|
+
/** Inbound conversation noise filter (spam / intent triage). Off until enabled. */
|
|
4167
|
+
noiseFilter?: Maybe<NoiseFilterSettings>;
|
|
3465
4168
|
/** Keyword that, when sent by a contact in a message, triggers automatic archival of that contact. */
|
|
3466
4169
|
optOutKeyword?: Maybe<Scalars['String']['output']>;
|
|
3467
4170
|
/** Test phone numbers used for workspace validation. */
|
|
@@ -3490,6 +4193,8 @@ export type WorkspaceSettingsPatchInput = {
|
|
|
3490
4193
|
holidayTimezone?: InputMaybe<Scalars['String']['input']>;
|
|
3491
4194
|
/** Recurring holiday weekdays as SUN|MON|TUE|WED|THU|FRI|SAT. Empty clears holidays. */
|
|
3492
4195
|
holidayWeekdays?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
4196
|
+
/** Patch inbound noise filter settings. Set to null to clear the stored config (filter stays off). */
|
|
4197
|
+
noiseFilter?: InputMaybe<NoiseFilterSettingsInput>;
|
|
3493
4198
|
/** Keyword that, when sent by a contact in a message, triggers automatic archival of that contact. Set to null to disable. */
|
|
3494
4199
|
optOutKeyword?: InputMaybe<Scalars['String']['input']>;
|
|
3495
4200
|
/** Test phone numbers used for workspace validation. */
|
|
@@ -3552,6 +4257,11 @@ export declare const WritingReadingLevel: {
|
|
|
3552
4257
|
readonly TECHNICAL: "TECHNICAL";
|
|
3553
4258
|
};
|
|
3554
4259
|
export type WritingReadingLevel = typeof WritingReadingLevel[keyof typeof WritingReadingLevel];
|
|
4260
|
+
export declare const LinkPurpose: {
|
|
4261
|
+
readonly EXECUTION: "EXECUTION";
|
|
4262
|
+
readonly SECURITY: "SECURITY";
|
|
4263
|
+
};
|
|
4264
|
+
export type LinkPurpose = typeof LinkPurpose[keyof typeof LinkPurpose];
|
|
3555
4265
|
export type AiFragment = {
|
|
3556
4266
|
__typename?: 'AI';
|
|
3557
4267
|
workspaceId: number;
|
|
@@ -3580,9 +4290,13 @@ export type AiFragment = {
|
|
|
3580
4290
|
contextPrompt?: string | null;
|
|
3581
4291
|
rolePrompt?: string | null;
|
|
3582
4292
|
personaPrompt?: string | null;
|
|
4293
|
+
workflowPrompt?: string | null;
|
|
3583
4294
|
constraints?: string | null;
|
|
3584
4295
|
emptyResponseFallbackMessage?: string | null;
|
|
3585
4296
|
closingMessage?: string | null;
|
|
4297
|
+
voiceId?: string | null;
|
|
4298
|
+
voiceName?: string | null;
|
|
4299
|
+
voiceLanguage?: string | null;
|
|
3586
4300
|
clientTagRules?: Array<{
|
|
3587
4301
|
__typename?: 'TagRule';
|
|
3588
4302
|
tag: string;
|
|
@@ -3628,9 +4342,13 @@ export type AiQuery = {
|
|
|
3628
4342
|
contextPrompt?: string | null;
|
|
3629
4343
|
rolePrompt?: string | null;
|
|
3630
4344
|
personaPrompt?: string | null;
|
|
4345
|
+
workflowPrompt?: string | null;
|
|
3631
4346
|
constraints?: string | null;
|
|
3632
4347
|
emptyResponseFallbackMessage?: string | null;
|
|
3633
4348
|
closingMessage?: string | null;
|
|
4349
|
+
voiceId?: string | null;
|
|
4350
|
+
voiceName?: string | null;
|
|
4351
|
+
voiceLanguage?: string | null;
|
|
3634
4352
|
clientTagRules?: Array<{
|
|
3635
4353
|
__typename?: 'TagRule';
|
|
3636
4354
|
tag: string;
|
|
@@ -3644,6 +4362,19 @@ export type AiQuery = {
|
|
|
3644
4362
|
} | null;
|
|
3645
4363
|
};
|
|
3646
4364
|
};
|
|
4365
|
+
export type AiVoicesQueryVariables = Exact<{
|
|
4366
|
+
input: AiVoicesInput;
|
|
4367
|
+
}>;
|
|
4368
|
+
export type AiVoicesQuery = {
|
|
4369
|
+
__typename?: 'Query';
|
|
4370
|
+
aiVoices: Array<{
|
|
4371
|
+
__typename?: 'AiVoice';
|
|
4372
|
+
id: string;
|
|
4373
|
+
name: string;
|
|
4374
|
+
language: string;
|
|
4375
|
+
previewUrl?: string | null;
|
|
4376
|
+
}>;
|
|
4377
|
+
};
|
|
3647
4378
|
export type AisQueryVariables = Exact<{
|
|
3648
4379
|
input: AIsInput;
|
|
3649
4380
|
}>;
|
|
@@ -3679,9 +4410,13 @@ export type AisQuery = {
|
|
|
3679
4410
|
contextPrompt?: string | null;
|
|
3680
4411
|
rolePrompt?: string | null;
|
|
3681
4412
|
personaPrompt?: string | null;
|
|
4413
|
+
workflowPrompt?: string | null;
|
|
3682
4414
|
constraints?: string | null;
|
|
3683
4415
|
emptyResponseFallbackMessage?: string | null;
|
|
3684
4416
|
closingMessage?: string | null;
|
|
4417
|
+
voiceId?: string | null;
|
|
4418
|
+
voiceName?: string | null;
|
|
4419
|
+
voiceLanguage?: string | null;
|
|
3685
4420
|
clientTagRules?: Array<{
|
|
3686
4421
|
__typename?: 'TagRule';
|
|
3687
4422
|
tag: string;
|
|
@@ -3729,9 +4464,13 @@ export type CreateAiMutation = {
|
|
|
3729
4464
|
contextPrompt?: string | null;
|
|
3730
4465
|
rolePrompt?: string | null;
|
|
3731
4466
|
personaPrompt?: string | null;
|
|
4467
|
+
workflowPrompt?: string | null;
|
|
3732
4468
|
constraints?: string | null;
|
|
3733
4469
|
emptyResponseFallbackMessage?: string | null;
|
|
3734
4470
|
closingMessage?: string | null;
|
|
4471
|
+
voiceId?: string | null;
|
|
4472
|
+
voiceName?: string | null;
|
|
4473
|
+
voiceLanguage?: string | null;
|
|
3735
4474
|
clientTagRules?: Array<{
|
|
3736
4475
|
__typename?: 'TagRule';
|
|
3737
4476
|
tag: string;
|
|
@@ -3793,9 +4532,13 @@ export type DeleteAiMutation = {
|
|
|
3793
4532
|
contextPrompt?: string | null;
|
|
3794
4533
|
rolePrompt?: string | null;
|
|
3795
4534
|
personaPrompt?: string | null;
|
|
4535
|
+
workflowPrompt?: string | null;
|
|
3796
4536
|
constraints?: string | null;
|
|
3797
4537
|
emptyResponseFallbackMessage?: string | null;
|
|
3798
4538
|
closingMessage?: string | null;
|
|
4539
|
+
voiceId?: string | null;
|
|
4540
|
+
voiceName?: string | null;
|
|
4541
|
+
voiceLanguage?: string | null;
|
|
3799
4542
|
clientTagRules?: Array<{
|
|
3800
4543
|
__typename?: 'TagRule';
|
|
3801
4544
|
tag: string;
|
|
@@ -3857,9 +4600,13 @@ export type PatchAiMutation = {
|
|
|
3857
4600
|
contextPrompt?: string | null;
|
|
3858
4601
|
rolePrompt?: string | null;
|
|
3859
4602
|
personaPrompt?: string | null;
|
|
4603
|
+
workflowPrompt?: string | null;
|
|
3860
4604
|
constraints?: string | null;
|
|
3861
4605
|
emptyResponseFallbackMessage?: string | null;
|
|
3862
4606
|
closingMessage?: string | null;
|
|
4607
|
+
voiceId?: string | null;
|
|
4608
|
+
voiceName?: string | null;
|
|
4609
|
+
voiceLanguage?: string | null;
|
|
3863
4610
|
clientTagRules?: Array<{
|
|
3864
4611
|
__typename?: 'TagRule';
|
|
3865
4612
|
tag: string;
|
|
@@ -4162,6 +4909,7 @@ export type BroadcastDeliveryReportQuery = {
|
|
|
4162
4909
|
externalMessageId?: string | null;
|
|
4163
4910
|
tags?: Array<string> | null;
|
|
4164
4911
|
createdAt: any;
|
|
4912
|
+
transcript?: string | null;
|
|
4165
4913
|
context?: {
|
|
4166
4914
|
__typename?: 'MessageContext';
|
|
4167
4915
|
replyToId?: string | null;
|
|
@@ -4494,6 +5242,24 @@ export type AgentReportFragment = {
|
|
|
4494
5242
|
csat: number;
|
|
4495
5243
|
createdAt: any;
|
|
4496
5244
|
};
|
|
5245
|
+
export type ConvStageReportFragment = {
|
|
5246
|
+
__typename?: 'ConvStageReport';
|
|
5247
|
+
workspaceId: number;
|
|
5248
|
+
id: string;
|
|
5249
|
+
stage: string;
|
|
5250
|
+
integrationId: string;
|
|
5251
|
+
conversationCount: number;
|
|
5252
|
+
agentMessagesCount: number;
|
|
5253
|
+
clientMessageCount: number;
|
|
5254
|
+
avgFirstResponseTime: number;
|
|
5255
|
+
firstResponseConversationCount: number;
|
|
5256
|
+
avgConversationTime: number;
|
|
5257
|
+
newClientConvCount?: number | null;
|
|
5258
|
+
responseRate: number;
|
|
5259
|
+
averageRating: number;
|
|
5260
|
+
csat: number;
|
|
5261
|
+
createdAt: any;
|
|
5262
|
+
};
|
|
4497
5263
|
export type ConvTagReportFragment = {
|
|
4498
5264
|
__typename?: 'ConvTagReport';
|
|
4499
5265
|
workspaceId: number;
|
|
@@ -4556,18 +5322,18 @@ export type AgentsReportQuery = {
|
|
|
4556
5322
|
}> | null;
|
|
4557
5323
|
};
|
|
4558
5324
|
};
|
|
4559
|
-
export type
|
|
4560
|
-
input:
|
|
5325
|
+
export type ConvStagesReportQueryVariables = Exact<{
|
|
5326
|
+
input: ConvStagesReportInput;
|
|
4561
5327
|
}>;
|
|
4562
|
-
export type
|
|
5328
|
+
export type ConvStagesReportQuery = {
|
|
4563
5329
|
__typename?: 'Query';
|
|
4564
|
-
|
|
4565
|
-
__typename?: '
|
|
5330
|
+
convStagesReport: {
|
|
5331
|
+
__typename?: 'ConvStagesReportPayload';
|
|
4566
5332
|
nodes?: Array<{
|
|
4567
|
-
__typename?: '
|
|
5333
|
+
__typename?: 'ConvStageReport';
|
|
4568
5334
|
workspaceId: number;
|
|
4569
5335
|
id: string;
|
|
4570
|
-
|
|
5336
|
+
stage: string;
|
|
4571
5337
|
integrationId: string;
|
|
4572
5338
|
conversationCount: number;
|
|
4573
5339
|
agentMessagesCount: number;
|
|
@@ -4583,7 +5349,34 @@ export type ConvTagsReportQuery = {
|
|
|
4583
5349
|
}> | null;
|
|
4584
5350
|
};
|
|
4585
5351
|
};
|
|
4586
|
-
export type
|
|
5352
|
+
export type ConvTagsReportQueryVariables = Exact<{
|
|
5353
|
+
input: ConvTagsReportInput;
|
|
5354
|
+
}>;
|
|
5355
|
+
export type ConvTagsReportQuery = {
|
|
5356
|
+
__typename?: 'Query';
|
|
5357
|
+
convTagsReport: {
|
|
5358
|
+
__typename?: 'ConvTagsReportPayload';
|
|
5359
|
+
nodes?: Array<{
|
|
5360
|
+
__typename?: 'ConvTagReport';
|
|
5361
|
+
workspaceId: number;
|
|
5362
|
+
id: string;
|
|
5363
|
+
tag: string;
|
|
5364
|
+
integrationId: string;
|
|
5365
|
+
conversationCount: number;
|
|
5366
|
+
agentMessagesCount: number;
|
|
5367
|
+
clientMessageCount: number;
|
|
5368
|
+
avgFirstResponseTime: number;
|
|
5369
|
+
firstResponseConversationCount: number;
|
|
5370
|
+
avgConversationTime: number;
|
|
5371
|
+
newClientConvCount?: number | null;
|
|
5372
|
+
responseRate: number;
|
|
5373
|
+
averageRating: number;
|
|
5374
|
+
csat: number;
|
|
5375
|
+
createdAt: any;
|
|
5376
|
+
}> | null;
|
|
5377
|
+
};
|
|
5378
|
+
};
|
|
5379
|
+
export type ConvsReportQueryVariables = Exact<{
|
|
4587
5380
|
input: ConvsReportInput;
|
|
4588
5381
|
}>;
|
|
4589
5382
|
export type ConvsReportQuery = {
|
|
@@ -4610,6 +5403,47 @@ export type ConvsReportQuery = {
|
|
|
4610
5403
|
}> | null;
|
|
4611
5404
|
};
|
|
4612
5405
|
};
|
|
5406
|
+
export type MessageReportQueryVariables = Exact<{
|
|
5407
|
+
input: MessageReportInput;
|
|
5408
|
+
}>;
|
|
5409
|
+
export type MessageReportQuery = {
|
|
5410
|
+
__typename?: 'Query';
|
|
5411
|
+
messageReport: {
|
|
5412
|
+
__typename?: 'MessageReportPayload';
|
|
5413
|
+
nodes?: Array<{
|
|
5414
|
+
__typename?: 'MessageReport';
|
|
5415
|
+
workspaceId: number;
|
|
5416
|
+
id: string;
|
|
5417
|
+
reportHour: any;
|
|
5418
|
+
totalCount: number;
|
|
5419
|
+
sentCount: number;
|
|
5420
|
+
deliveredCount: number;
|
|
5421
|
+
readCount: number;
|
|
5422
|
+
failedCount: number;
|
|
5423
|
+
pendingCount: number;
|
|
5424
|
+
playedCount: number;
|
|
5425
|
+
createdAt: any;
|
|
5426
|
+
}> | null;
|
|
5427
|
+
};
|
|
5428
|
+
};
|
|
5429
|
+
export type MessageReportTodayQueryVariables = Exact<{
|
|
5430
|
+
input: MessageReportTodayInput;
|
|
5431
|
+
}>;
|
|
5432
|
+
export type MessageReportTodayQuery = {
|
|
5433
|
+
__typename?: 'Query';
|
|
5434
|
+
messageReportToday: {
|
|
5435
|
+
__typename?: 'MessageReportToday';
|
|
5436
|
+
workspaceId: number;
|
|
5437
|
+
reportDate: any;
|
|
5438
|
+
totalCount: number;
|
|
5439
|
+
sentCount: number;
|
|
5440
|
+
deliveredCount: number;
|
|
5441
|
+
readCount: number;
|
|
5442
|
+
failedCount: number;
|
|
5443
|
+
pendingCount: number;
|
|
5444
|
+
playedCount: number;
|
|
5445
|
+
};
|
|
5446
|
+
};
|
|
4613
5447
|
export type PageInfoFragment = {
|
|
4614
5448
|
__typename?: 'PageInfo';
|
|
4615
5449
|
hasNextPage: boolean;
|
|
@@ -4662,6 +5496,7 @@ export type ConversationFragment = {
|
|
|
4662
5496
|
broadcastName?: string | null;
|
|
4663
5497
|
sourceType?: string | null;
|
|
4664
5498
|
sourceUrl?: string | null;
|
|
5499
|
+
sentiment?: ConversationSentiment | null;
|
|
4665
5500
|
integrationSwitches?: Array<{
|
|
4666
5501
|
__typename?: 'ConvIntegrationSwitch';
|
|
4667
5502
|
fromIntegrationId: string;
|
|
@@ -4684,6 +5519,7 @@ export type ConversationFragment = {
|
|
|
4684
5519
|
externalMessageId?: string | null;
|
|
4685
5520
|
tags?: Array<string> | null;
|
|
4686
5521
|
createdAt: any;
|
|
5522
|
+
transcript?: string | null;
|
|
4687
5523
|
context?: {
|
|
4688
5524
|
__typename?: 'MessageContext';
|
|
4689
5525
|
replyToId?: string | null;
|
|
@@ -4713,6 +5549,34 @@ export type ConversationFragment = {
|
|
|
4713
5549
|
assignDate?: any | null;
|
|
4714
5550
|
isAi?: boolean | null;
|
|
4715
5551
|
} | null> | null;
|
|
5552
|
+
activeCall?: {
|
|
5553
|
+
__typename?: 'Call';
|
|
5554
|
+
id: string;
|
|
5555
|
+
status: CallStatus;
|
|
5556
|
+
handler: CallHandler;
|
|
5557
|
+
direction: CallDirection;
|
|
5558
|
+
roomName?: string | null;
|
|
5559
|
+
startedAt: any;
|
|
5560
|
+
answeredAt?: any | null;
|
|
5561
|
+
duration?: number | null;
|
|
5562
|
+
assigneeId?: string | null;
|
|
5563
|
+
aiId?: string | null;
|
|
5564
|
+
convId: string;
|
|
5565
|
+
clientId: string;
|
|
5566
|
+
workspaceId: number;
|
|
5567
|
+
integrationId: string;
|
|
5568
|
+
} | null;
|
|
5569
|
+
classificationRuns?: Array<{
|
|
5570
|
+
__typename?: 'ConversationClassificationRun';
|
|
5571
|
+
mode: string;
|
|
5572
|
+
convInboundCount: number;
|
|
5573
|
+
assignedToAgent: boolean;
|
|
5574
|
+
humanDecisionWins: boolean;
|
|
5575
|
+
status: string;
|
|
5576
|
+
tag?: string | null;
|
|
5577
|
+
error?: string | null;
|
|
5578
|
+
createdAt: any;
|
|
5579
|
+
}> | null;
|
|
4716
5580
|
};
|
|
4717
5581
|
export type MessageFragment = {
|
|
4718
5582
|
__typename?: 'Message';
|
|
@@ -4727,6 +5591,7 @@ export type MessageFragment = {
|
|
|
4727
5591
|
externalMessageId?: string | null;
|
|
4728
5592
|
tags?: Array<string> | null;
|
|
4729
5593
|
createdAt: any;
|
|
5594
|
+
transcript?: string | null;
|
|
4730
5595
|
context?: {
|
|
4731
5596
|
__typename?: 'MessageContext';
|
|
4732
5597
|
replyToId?: string | null;
|
|
@@ -4787,72 +5652,7 @@ export type AddMessageMutation = {
|
|
|
4787
5652
|
externalMessageId?: string | null;
|
|
4788
5653
|
tags?: Array<string> | null;
|
|
4789
5654
|
createdAt: any;
|
|
4790
|
-
|
|
4791
|
-
__typename?: 'MessageContext';
|
|
4792
|
-
replyToId?: string | null;
|
|
4793
|
-
replyToContent: string;
|
|
4794
|
-
replyToType: MessageType;
|
|
4795
|
-
} | null;
|
|
4796
|
-
reactions?: Array<{
|
|
4797
|
-
__typename?: 'MessageReaction';
|
|
4798
|
-
emoji: string;
|
|
4799
|
-
isAgent: boolean;
|
|
4800
|
-
agentId?: string | null;
|
|
4801
|
-
createdAt: any;
|
|
4802
|
-
}> | null;
|
|
4803
|
-
};
|
|
4804
|
-
};
|
|
4805
|
-
export type ReactToMessageMutationVariables = Exact<{
|
|
4806
|
-
input: MessageReactionInput;
|
|
4807
|
-
}>;
|
|
4808
|
-
export type ReactToMessageMutation = {
|
|
4809
|
-
__typename?: 'Mutation';
|
|
4810
|
-
reactToMessage: {
|
|
4811
|
-
__typename?: 'Message';
|
|
4812
|
-
messageId: string;
|
|
4813
|
-
content: string;
|
|
4814
|
-
type: MessageType;
|
|
4815
|
-
noteType?: NoteType | null;
|
|
4816
|
-
isAgent: boolean;
|
|
4817
|
-
agentId?: string | null;
|
|
4818
|
-
status?: MessageStatus | null;
|
|
4819
|
-
failedReason?: string | null;
|
|
4820
|
-
externalMessageId?: string | null;
|
|
4821
|
-
tags?: Array<string> | null;
|
|
4822
|
-
createdAt: any;
|
|
4823
|
-
context?: {
|
|
4824
|
-
__typename?: 'MessageContext';
|
|
4825
|
-
replyToId?: string | null;
|
|
4826
|
-
replyToContent: string;
|
|
4827
|
-
replyToType: MessageType;
|
|
4828
|
-
} | null;
|
|
4829
|
-
reactions?: Array<{
|
|
4830
|
-
__typename?: 'MessageReaction';
|
|
4831
|
-
emoji: string;
|
|
4832
|
-
isAgent: boolean;
|
|
4833
|
-
agentId?: string | null;
|
|
4834
|
-
createdAt: any;
|
|
4835
|
-
}> | null;
|
|
4836
|
-
};
|
|
4837
|
-
};
|
|
4838
|
-
export type UnreactToMessageMutationVariables = Exact<{
|
|
4839
|
-
input: MessageReactionInput;
|
|
4840
|
-
}>;
|
|
4841
|
-
export type UnreactToMessageMutation = {
|
|
4842
|
-
__typename?: 'Mutation';
|
|
4843
|
-
unreactToMessage: {
|
|
4844
|
-
__typename?: 'Message';
|
|
4845
|
-
messageId: string;
|
|
4846
|
-
content: string;
|
|
4847
|
-
type: MessageType;
|
|
4848
|
-
noteType?: NoteType | null;
|
|
4849
|
-
isAgent: boolean;
|
|
4850
|
-
agentId?: string | null;
|
|
4851
|
-
status?: MessageStatus | null;
|
|
4852
|
-
failedReason?: string | null;
|
|
4853
|
-
externalMessageId?: string | null;
|
|
4854
|
-
tags?: Array<string> | null;
|
|
4855
|
-
createdAt: any;
|
|
5655
|
+
transcript?: string | null;
|
|
4856
5656
|
context?: {
|
|
4857
5657
|
__typename?: 'MessageContext';
|
|
4858
5658
|
replyToId?: string | null;
|
|
@@ -4944,6 +5744,7 @@ export type AssignConvMutation = {
|
|
|
4944
5744
|
broadcastName?: string | null;
|
|
4945
5745
|
sourceType?: string | null;
|
|
4946
5746
|
sourceUrl?: string | null;
|
|
5747
|
+
sentiment?: ConversationSentiment | null;
|
|
4947
5748
|
integrationSwitches?: Array<{
|
|
4948
5749
|
__typename?: 'ConvIntegrationSwitch';
|
|
4949
5750
|
fromIntegrationId: string;
|
|
@@ -4966,6 +5767,7 @@ export type AssignConvMutation = {
|
|
|
4966
5767
|
externalMessageId?: string | null;
|
|
4967
5768
|
tags?: Array<string> | null;
|
|
4968
5769
|
createdAt: any;
|
|
5770
|
+
transcript?: string | null;
|
|
4969
5771
|
context?: {
|
|
4970
5772
|
__typename?: 'MessageContext';
|
|
4971
5773
|
replyToId?: string | null;
|
|
@@ -4995,6 +5797,97 @@ export type AssignConvMutation = {
|
|
|
4995
5797
|
assignDate?: any | null;
|
|
4996
5798
|
isAi?: boolean | null;
|
|
4997
5799
|
} | null> | null;
|
|
5800
|
+
activeCall?: {
|
|
5801
|
+
__typename?: 'Call';
|
|
5802
|
+
id: string;
|
|
5803
|
+
status: CallStatus;
|
|
5804
|
+
handler: CallHandler;
|
|
5805
|
+
direction: CallDirection;
|
|
5806
|
+
roomName?: string | null;
|
|
5807
|
+
startedAt: any;
|
|
5808
|
+
answeredAt?: any | null;
|
|
5809
|
+
duration?: number | null;
|
|
5810
|
+
assigneeId?: string | null;
|
|
5811
|
+
aiId?: string | null;
|
|
5812
|
+
convId: string;
|
|
5813
|
+
clientId: string;
|
|
5814
|
+
workspaceId: number;
|
|
5815
|
+
integrationId: string;
|
|
5816
|
+
} | null;
|
|
5817
|
+
classificationRuns?: Array<{
|
|
5818
|
+
__typename?: 'ConversationClassificationRun';
|
|
5819
|
+
mode: string;
|
|
5820
|
+
convInboundCount: number;
|
|
5821
|
+
assignedToAgent: boolean;
|
|
5822
|
+
humanDecisionWins: boolean;
|
|
5823
|
+
status: string;
|
|
5824
|
+
tag?: string | null;
|
|
5825
|
+
error?: string | null;
|
|
5826
|
+
createdAt: any;
|
|
5827
|
+
}> | null;
|
|
5828
|
+
};
|
|
5829
|
+
};
|
|
5830
|
+
export type AnswerCallMutationVariables = Exact<{
|
|
5831
|
+
input: CallActionInput;
|
|
5832
|
+
}>;
|
|
5833
|
+
export type AnswerCallMutation = {
|
|
5834
|
+
__typename?: 'Mutation';
|
|
5835
|
+
answerCall: {
|
|
5836
|
+
__typename?: 'CallJoinPayload';
|
|
5837
|
+
roomName: string;
|
|
5838
|
+
token: string;
|
|
5839
|
+
url: string;
|
|
5840
|
+
call: {
|
|
5841
|
+
__typename?: 'Call';
|
|
5842
|
+
id: string;
|
|
5843
|
+
status: CallStatus;
|
|
5844
|
+
};
|
|
5845
|
+
};
|
|
5846
|
+
};
|
|
5847
|
+
export type RejectCallMutationVariables = Exact<{
|
|
5848
|
+
input: CallActionInput;
|
|
5849
|
+
}>;
|
|
5850
|
+
export type RejectCallMutation = {
|
|
5851
|
+
__typename?: 'Mutation';
|
|
5852
|
+
rejectCall: {
|
|
5853
|
+
__typename?: 'Call';
|
|
5854
|
+
id: string;
|
|
5855
|
+
status: CallStatus;
|
|
5856
|
+
};
|
|
5857
|
+
};
|
|
5858
|
+
export type HangupCallMutationVariables = Exact<{
|
|
5859
|
+
input: CallActionInput;
|
|
5860
|
+
}>;
|
|
5861
|
+
export type HangupCallMutation = {
|
|
5862
|
+
__typename?: 'Mutation';
|
|
5863
|
+
hangupCall: {
|
|
5864
|
+
__typename?: 'Call';
|
|
5865
|
+
id: string;
|
|
5866
|
+
status: CallStatus;
|
|
5867
|
+
};
|
|
5868
|
+
};
|
|
5869
|
+
export type ClientSuggestionsQueryVariables = Exact<{
|
|
5870
|
+
input: ClientSuggestionsInput;
|
|
5871
|
+
}>;
|
|
5872
|
+
export type ClientSuggestionsQuery = {
|
|
5873
|
+
__typename?: 'Query';
|
|
5874
|
+
clientSuggestions: {
|
|
5875
|
+
__typename?: 'ClientSuggestionsPayload';
|
|
5876
|
+
source: SuggestionSource;
|
|
5877
|
+
skipReason?: SuggestionSkipReason | null;
|
|
5878
|
+
tags: Array<{
|
|
5879
|
+
__typename?: 'TagSuggestion';
|
|
5880
|
+
tag: string;
|
|
5881
|
+
confidence: number;
|
|
5882
|
+
reason: string;
|
|
5883
|
+
}>;
|
|
5884
|
+
stage?: {
|
|
5885
|
+
__typename?: 'StageSuggestion';
|
|
5886
|
+
stageId: string;
|
|
5887
|
+
stage: string;
|
|
5888
|
+
confidence: number;
|
|
5889
|
+
reason: string;
|
|
5890
|
+
} | null;
|
|
4998
5891
|
};
|
|
4999
5892
|
};
|
|
5000
5893
|
export type ConvQueryVariables = Exact<{
|
|
@@ -5025,6 +5918,7 @@ export type ConvQuery = {
|
|
|
5025
5918
|
broadcastName?: string | null;
|
|
5026
5919
|
sourceType?: string | null;
|
|
5027
5920
|
sourceUrl?: string | null;
|
|
5921
|
+
sentiment?: ConversationSentiment | null;
|
|
5028
5922
|
integrationSwitches?: Array<{
|
|
5029
5923
|
__typename?: 'ConvIntegrationSwitch';
|
|
5030
5924
|
fromIntegrationId: string;
|
|
@@ -5047,6 +5941,7 @@ export type ConvQuery = {
|
|
|
5047
5941
|
externalMessageId?: string | null;
|
|
5048
5942
|
tags?: Array<string> | null;
|
|
5049
5943
|
createdAt: any;
|
|
5944
|
+
transcript?: string | null;
|
|
5050
5945
|
context?: {
|
|
5051
5946
|
__typename?: 'MessageContext';
|
|
5052
5947
|
replyToId?: string | null;
|
|
@@ -5076,6 +5971,34 @@ export type ConvQuery = {
|
|
|
5076
5971
|
assignDate?: any | null;
|
|
5077
5972
|
isAi?: boolean | null;
|
|
5078
5973
|
} | null> | null;
|
|
5974
|
+
activeCall?: {
|
|
5975
|
+
__typename?: 'Call';
|
|
5976
|
+
id: string;
|
|
5977
|
+
status: CallStatus;
|
|
5978
|
+
handler: CallHandler;
|
|
5979
|
+
direction: CallDirection;
|
|
5980
|
+
roomName?: string | null;
|
|
5981
|
+
startedAt: any;
|
|
5982
|
+
answeredAt?: any | null;
|
|
5983
|
+
duration?: number | null;
|
|
5984
|
+
assigneeId?: string | null;
|
|
5985
|
+
aiId?: string | null;
|
|
5986
|
+
convId: string;
|
|
5987
|
+
clientId: string;
|
|
5988
|
+
workspaceId: number;
|
|
5989
|
+
integrationId: string;
|
|
5990
|
+
} | null;
|
|
5991
|
+
classificationRuns?: Array<{
|
|
5992
|
+
__typename?: 'ConversationClassificationRun';
|
|
5993
|
+
mode: string;
|
|
5994
|
+
convInboundCount: number;
|
|
5995
|
+
assignedToAgent: boolean;
|
|
5996
|
+
humanDecisionWins: boolean;
|
|
5997
|
+
status: string;
|
|
5998
|
+
tag?: string | null;
|
|
5999
|
+
error?: string | null;
|
|
6000
|
+
createdAt: any;
|
|
6001
|
+
}> | null;
|
|
5079
6002
|
};
|
|
5080
6003
|
};
|
|
5081
6004
|
export type ConvAutoCompleteQueryVariables = Exact<{
|
|
@@ -5100,6 +6023,39 @@ export type ConvEnhanceMessageQuery = {
|
|
|
5100
6023
|
usage?: any | null;
|
|
5101
6024
|
};
|
|
5102
6025
|
};
|
|
6026
|
+
export type ConvSuggestionsQueryVariables = Exact<{
|
|
6027
|
+
input: ConvSuggestionsInput;
|
|
6028
|
+
}>;
|
|
6029
|
+
export type ConvSuggestionsQuery = {
|
|
6030
|
+
__typename?: 'Query';
|
|
6031
|
+
convSuggestions: {
|
|
6032
|
+
__typename?: 'ConvSuggestionsPayload';
|
|
6033
|
+
source: SuggestionSource;
|
|
6034
|
+
skipReason?: SuggestionSkipReason | null;
|
|
6035
|
+
tags: Array<{
|
|
6036
|
+
__typename?: 'TagSuggestion';
|
|
6037
|
+
tag: string;
|
|
6038
|
+
confidence: number;
|
|
6039
|
+
reason: string;
|
|
6040
|
+
}>;
|
|
6041
|
+
stage?: {
|
|
6042
|
+
__typename?: 'StageSuggestion';
|
|
6043
|
+
stageId: string;
|
|
6044
|
+
stage: string;
|
|
6045
|
+
confidence: number;
|
|
6046
|
+
reason: string;
|
|
6047
|
+
} | null;
|
|
6048
|
+
assignee?: {
|
|
6049
|
+
__typename?: 'AssigneeSuggestion';
|
|
6050
|
+
agentId: string;
|
|
6051
|
+
name: string;
|
|
6052
|
+
email?: string | null;
|
|
6053
|
+
confidence: number;
|
|
6054
|
+
reason: string;
|
|
6055
|
+
servedConversations: number;
|
|
6056
|
+
} | null;
|
|
6057
|
+
};
|
|
6058
|
+
};
|
|
5103
6059
|
export type ConvSummaryQueryVariables = Exact<{
|
|
5104
6060
|
input: ConvAssistInput;
|
|
5105
6061
|
}>;
|
|
@@ -5142,6 +6098,7 @@ export type ConvsQuery = {
|
|
|
5142
6098
|
broadcastName?: string | null;
|
|
5143
6099
|
sourceType?: string | null;
|
|
5144
6100
|
sourceUrl?: string | null;
|
|
6101
|
+
sentiment?: ConversationSentiment | null;
|
|
5145
6102
|
integrationSwitches?: Array<{
|
|
5146
6103
|
__typename?: 'ConvIntegrationSwitch';
|
|
5147
6104
|
fromIntegrationId: string;
|
|
@@ -5164,6 +6121,7 @@ export type ConvsQuery = {
|
|
|
5164
6121
|
externalMessageId?: string | null;
|
|
5165
6122
|
tags?: Array<string> | null;
|
|
5166
6123
|
createdAt: any;
|
|
6124
|
+
transcript?: string | null;
|
|
5167
6125
|
context?: {
|
|
5168
6126
|
__typename?: 'MessageContext';
|
|
5169
6127
|
replyToId?: string | null;
|
|
@@ -5193,6 +6151,34 @@ export type ConvsQuery = {
|
|
|
5193
6151
|
assignDate?: any | null;
|
|
5194
6152
|
isAi?: boolean | null;
|
|
5195
6153
|
} | null> | null;
|
|
6154
|
+
activeCall?: {
|
|
6155
|
+
__typename?: 'Call';
|
|
6156
|
+
id: string;
|
|
6157
|
+
status: CallStatus;
|
|
6158
|
+
handler: CallHandler;
|
|
6159
|
+
direction: CallDirection;
|
|
6160
|
+
roomName?: string | null;
|
|
6161
|
+
startedAt: any;
|
|
6162
|
+
answeredAt?: any | null;
|
|
6163
|
+
duration?: number | null;
|
|
6164
|
+
assigneeId?: string | null;
|
|
6165
|
+
aiId?: string | null;
|
|
6166
|
+
convId: string;
|
|
6167
|
+
clientId: string;
|
|
6168
|
+
workspaceId: number;
|
|
6169
|
+
integrationId: string;
|
|
6170
|
+
} | null;
|
|
6171
|
+
classificationRuns?: Array<{
|
|
6172
|
+
__typename?: 'ConversationClassificationRun';
|
|
6173
|
+
mode: string;
|
|
6174
|
+
convInboundCount: number;
|
|
6175
|
+
assignedToAgent: boolean;
|
|
6176
|
+
humanDecisionWins: boolean;
|
|
6177
|
+
status: string;
|
|
6178
|
+
tag?: string | null;
|
|
6179
|
+
error?: string | null;
|
|
6180
|
+
createdAt: any;
|
|
6181
|
+
}> | null;
|
|
5196
6182
|
}> | null;
|
|
5197
6183
|
pageInfo?: {
|
|
5198
6184
|
__typename?: 'PageInfo';
|
|
@@ -5268,6 +6254,7 @@ export type EndConvMutation = {
|
|
|
5268
6254
|
broadcastName?: string | null;
|
|
5269
6255
|
sourceType?: string | null;
|
|
5270
6256
|
sourceUrl?: string | null;
|
|
6257
|
+
sentiment?: ConversationSentiment | null;
|
|
5271
6258
|
integrationSwitches?: Array<{
|
|
5272
6259
|
__typename?: 'ConvIntegrationSwitch';
|
|
5273
6260
|
fromIntegrationId: string;
|
|
@@ -5290,6 +6277,7 @@ export type EndConvMutation = {
|
|
|
5290
6277
|
externalMessageId?: string | null;
|
|
5291
6278
|
tags?: Array<string> | null;
|
|
5292
6279
|
createdAt: any;
|
|
6280
|
+
transcript?: string | null;
|
|
5293
6281
|
context?: {
|
|
5294
6282
|
__typename?: 'MessageContext';
|
|
5295
6283
|
replyToId?: string | null;
|
|
@@ -5319,6 +6307,34 @@ export type EndConvMutation = {
|
|
|
5319
6307
|
assignDate?: any | null;
|
|
5320
6308
|
isAi?: boolean | null;
|
|
5321
6309
|
} | null> | null;
|
|
6310
|
+
activeCall?: {
|
|
6311
|
+
__typename?: 'Call';
|
|
6312
|
+
id: string;
|
|
6313
|
+
status: CallStatus;
|
|
6314
|
+
handler: CallHandler;
|
|
6315
|
+
direction: CallDirection;
|
|
6316
|
+
roomName?: string | null;
|
|
6317
|
+
startedAt: any;
|
|
6318
|
+
answeredAt?: any | null;
|
|
6319
|
+
duration?: number | null;
|
|
6320
|
+
assigneeId?: string | null;
|
|
6321
|
+
aiId?: string | null;
|
|
6322
|
+
convId: string;
|
|
6323
|
+
clientId: string;
|
|
6324
|
+
workspaceId: number;
|
|
6325
|
+
integrationId: string;
|
|
6326
|
+
} | null;
|
|
6327
|
+
classificationRuns?: Array<{
|
|
6328
|
+
__typename?: 'ConversationClassificationRun';
|
|
6329
|
+
mode: string;
|
|
6330
|
+
convInboundCount: number;
|
|
6331
|
+
assignedToAgent: boolean;
|
|
6332
|
+
humanDecisionWins: boolean;
|
|
6333
|
+
status: string;
|
|
6334
|
+
tag?: string | null;
|
|
6335
|
+
error?: string | null;
|
|
6336
|
+
createdAt: any;
|
|
6337
|
+
}> | null;
|
|
5322
6338
|
};
|
|
5323
6339
|
};
|
|
5324
6340
|
export type HandoverConvMutationVariables = Exact<{
|
|
@@ -5349,6 +6365,7 @@ export type HandoverConvMutation = {
|
|
|
5349
6365
|
broadcastName?: string | null;
|
|
5350
6366
|
sourceType?: string | null;
|
|
5351
6367
|
sourceUrl?: string | null;
|
|
6368
|
+
sentiment?: ConversationSentiment | null;
|
|
5352
6369
|
integrationSwitches?: Array<{
|
|
5353
6370
|
__typename?: 'ConvIntegrationSwitch';
|
|
5354
6371
|
fromIntegrationId: string;
|
|
@@ -5371,6 +6388,7 @@ export type HandoverConvMutation = {
|
|
|
5371
6388
|
externalMessageId?: string | null;
|
|
5372
6389
|
tags?: Array<string> | null;
|
|
5373
6390
|
createdAt: any;
|
|
6391
|
+
transcript?: string | null;
|
|
5374
6392
|
context?: {
|
|
5375
6393
|
__typename?: 'MessageContext';
|
|
5376
6394
|
replyToId?: string | null;
|
|
@@ -5400,6 +6418,34 @@ export type HandoverConvMutation = {
|
|
|
5400
6418
|
assignDate?: any | null;
|
|
5401
6419
|
isAi?: boolean | null;
|
|
5402
6420
|
} | null> | null;
|
|
6421
|
+
activeCall?: {
|
|
6422
|
+
__typename?: 'Call';
|
|
6423
|
+
id: string;
|
|
6424
|
+
status: CallStatus;
|
|
6425
|
+
handler: CallHandler;
|
|
6426
|
+
direction: CallDirection;
|
|
6427
|
+
roomName?: string | null;
|
|
6428
|
+
startedAt: any;
|
|
6429
|
+
answeredAt?: any | null;
|
|
6430
|
+
duration?: number | null;
|
|
6431
|
+
assigneeId?: string | null;
|
|
6432
|
+
aiId?: string | null;
|
|
6433
|
+
convId: string;
|
|
6434
|
+
clientId: string;
|
|
6435
|
+
workspaceId: number;
|
|
6436
|
+
integrationId: string;
|
|
6437
|
+
} | null;
|
|
6438
|
+
classificationRuns?: Array<{
|
|
6439
|
+
__typename?: 'ConversationClassificationRun';
|
|
6440
|
+
mode: string;
|
|
6441
|
+
convInboundCount: number;
|
|
6442
|
+
assignedToAgent: boolean;
|
|
6443
|
+
humanDecisionWins: boolean;
|
|
6444
|
+
status: string;
|
|
6445
|
+
tag?: string | null;
|
|
6446
|
+
error?: string | null;
|
|
6447
|
+
createdAt: any;
|
|
6448
|
+
}> | null;
|
|
5403
6449
|
};
|
|
5404
6450
|
};
|
|
5405
6451
|
export type MessagesQueryVariables = Exact<{
|
|
@@ -5423,6 +6469,7 @@ export type MessagesQuery = {
|
|
|
5423
6469
|
externalMessageId?: string | null;
|
|
5424
6470
|
tags?: Array<string> | null;
|
|
5425
6471
|
createdAt: any;
|
|
6472
|
+
transcript?: string | null;
|
|
5426
6473
|
context?: {
|
|
5427
6474
|
__typename?: 'MessageContext';
|
|
5428
6475
|
replyToId?: string | null;
|
|
@@ -5499,6 +6546,7 @@ export type PatchConvMutation = {
|
|
|
5499
6546
|
broadcastName?: string | null;
|
|
5500
6547
|
sourceType?: string | null;
|
|
5501
6548
|
sourceUrl?: string | null;
|
|
6549
|
+
sentiment?: ConversationSentiment | null;
|
|
5502
6550
|
integrationSwitches?: Array<{
|
|
5503
6551
|
__typename?: 'ConvIntegrationSwitch';
|
|
5504
6552
|
fromIntegrationId: string;
|
|
@@ -5521,6 +6569,7 @@ export type PatchConvMutation = {
|
|
|
5521
6569
|
externalMessageId?: string | null;
|
|
5522
6570
|
tags?: Array<string> | null;
|
|
5523
6571
|
createdAt: any;
|
|
6572
|
+
transcript?: string | null;
|
|
5524
6573
|
context?: {
|
|
5525
6574
|
__typename?: 'MessageContext';
|
|
5526
6575
|
replyToId?: string | null;
|
|
@@ -5550,6 +6599,68 @@ export type PatchConvMutation = {
|
|
|
5550
6599
|
assignDate?: any | null;
|
|
5551
6600
|
isAi?: boolean | null;
|
|
5552
6601
|
} | null> | null;
|
|
6602
|
+
activeCall?: {
|
|
6603
|
+
__typename?: 'Call';
|
|
6604
|
+
id: string;
|
|
6605
|
+
status: CallStatus;
|
|
6606
|
+
handler: CallHandler;
|
|
6607
|
+
direction: CallDirection;
|
|
6608
|
+
roomName?: string | null;
|
|
6609
|
+
startedAt: any;
|
|
6610
|
+
answeredAt?: any | null;
|
|
6611
|
+
duration?: number | null;
|
|
6612
|
+
assigneeId?: string | null;
|
|
6613
|
+
aiId?: string | null;
|
|
6614
|
+
convId: string;
|
|
6615
|
+
clientId: string;
|
|
6616
|
+
workspaceId: number;
|
|
6617
|
+
integrationId: string;
|
|
6618
|
+
} | null;
|
|
6619
|
+
classificationRuns?: Array<{
|
|
6620
|
+
__typename?: 'ConversationClassificationRun';
|
|
6621
|
+
mode: string;
|
|
6622
|
+
convInboundCount: number;
|
|
6623
|
+
assignedToAgent: boolean;
|
|
6624
|
+
humanDecisionWins: boolean;
|
|
6625
|
+
status: string;
|
|
6626
|
+
tag?: string | null;
|
|
6627
|
+
error?: string | null;
|
|
6628
|
+
createdAt: any;
|
|
6629
|
+
}> | null;
|
|
6630
|
+
};
|
|
6631
|
+
};
|
|
6632
|
+
export type ReactToMessageMutationVariables = Exact<{
|
|
6633
|
+
input: MessageReactionInput;
|
|
6634
|
+
}>;
|
|
6635
|
+
export type ReactToMessageMutation = {
|
|
6636
|
+
__typename?: 'Mutation';
|
|
6637
|
+
reactToMessage: {
|
|
6638
|
+
__typename?: 'Message';
|
|
6639
|
+
messageId: string;
|
|
6640
|
+
content: string;
|
|
6641
|
+
type: MessageType;
|
|
6642
|
+
noteType?: NoteType | null;
|
|
6643
|
+
isAgent: boolean;
|
|
6644
|
+
agentId?: string | null;
|
|
6645
|
+
status?: MessageStatus | null;
|
|
6646
|
+
failedReason?: string | null;
|
|
6647
|
+
externalMessageId?: string | null;
|
|
6648
|
+
tags?: Array<string> | null;
|
|
6649
|
+
createdAt: any;
|
|
6650
|
+
transcript?: string | null;
|
|
6651
|
+
context?: {
|
|
6652
|
+
__typename?: 'MessageContext';
|
|
6653
|
+
replyToId?: string | null;
|
|
6654
|
+
replyToContent: string;
|
|
6655
|
+
replyToType: MessageType;
|
|
6656
|
+
} | null;
|
|
6657
|
+
reactions?: Array<{
|
|
6658
|
+
__typename?: 'MessageReaction';
|
|
6659
|
+
emoji: string;
|
|
6660
|
+
isAgent: boolean;
|
|
6661
|
+
agentId?: string | null;
|
|
6662
|
+
createdAt: any;
|
|
6663
|
+
}> | null;
|
|
5553
6664
|
};
|
|
5554
6665
|
};
|
|
5555
6666
|
export type StartConvMutationVariables = Exact<{
|
|
@@ -5580,6 +6691,7 @@ export type StartConvMutation = {
|
|
|
5580
6691
|
broadcastName?: string | null;
|
|
5581
6692
|
sourceType?: string | null;
|
|
5582
6693
|
sourceUrl?: string | null;
|
|
6694
|
+
sentiment?: ConversationSentiment | null;
|
|
5583
6695
|
integrationSwitches?: Array<{
|
|
5584
6696
|
__typename?: 'ConvIntegrationSwitch';
|
|
5585
6697
|
fromIntegrationId: string;
|
|
@@ -5602,6 +6714,7 @@ export type StartConvMutation = {
|
|
|
5602
6714
|
externalMessageId?: string | null;
|
|
5603
6715
|
tags?: Array<string> | null;
|
|
5604
6716
|
createdAt: any;
|
|
6717
|
+
transcript?: string | null;
|
|
5605
6718
|
context?: {
|
|
5606
6719
|
__typename?: 'MessageContext';
|
|
5607
6720
|
replyToId?: string | null;
|
|
@@ -5631,6 +6744,34 @@ export type StartConvMutation = {
|
|
|
5631
6744
|
assignDate?: any | null;
|
|
5632
6745
|
isAi?: boolean | null;
|
|
5633
6746
|
} | null> | null;
|
|
6747
|
+
activeCall?: {
|
|
6748
|
+
__typename?: 'Call';
|
|
6749
|
+
id: string;
|
|
6750
|
+
status: CallStatus;
|
|
6751
|
+
handler: CallHandler;
|
|
6752
|
+
direction: CallDirection;
|
|
6753
|
+
roomName?: string | null;
|
|
6754
|
+
startedAt: any;
|
|
6755
|
+
answeredAt?: any | null;
|
|
6756
|
+
duration?: number | null;
|
|
6757
|
+
assigneeId?: string | null;
|
|
6758
|
+
aiId?: string | null;
|
|
6759
|
+
convId: string;
|
|
6760
|
+
clientId: string;
|
|
6761
|
+
workspaceId: number;
|
|
6762
|
+
integrationId: string;
|
|
6763
|
+
} | null;
|
|
6764
|
+
classificationRuns?: Array<{
|
|
6765
|
+
__typename?: 'ConversationClassificationRun';
|
|
6766
|
+
mode: string;
|
|
6767
|
+
convInboundCount: number;
|
|
6768
|
+
assignedToAgent: boolean;
|
|
6769
|
+
humanDecisionWins: boolean;
|
|
6770
|
+
status: string;
|
|
6771
|
+
tag?: string | null;
|
|
6772
|
+
error?: string | null;
|
|
6773
|
+
createdAt: any;
|
|
6774
|
+
}> | null;
|
|
5634
6775
|
};
|
|
5635
6776
|
};
|
|
5636
6777
|
export type TagClientMutationVariables = Exact<{
|
|
@@ -5690,6 +6831,7 @@ export type TagConvMutation = {
|
|
|
5690
6831
|
broadcastName?: string | null;
|
|
5691
6832
|
sourceType?: string | null;
|
|
5692
6833
|
sourceUrl?: string | null;
|
|
6834
|
+
sentiment?: ConversationSentiment | null;
|
|
5693
6835
|
integrationSwitches?: Array<{
|
|
5694
6836
|
__typename?: 'ConvIntegrationSwitch';
|
|
5695
6837
|
fromIntegrationId: string;
|
|
@@ -5712,6 +6854,7 @@ export type TagConvMutation = {
|
|
|
5712
6854
|
externalMessageId?: string | null;
|
|
5713
6855
|
tags?: Array<string> | null;
|
|
5714
6856
|
createdAt: any;
|
|
6857
|
+
transcript?: string | null;
|
|
5715
6858
|
context?: {
|
|
5716
6859
|
__typename?: 'MessageContext';
|
|
5717
6860
|
replyToId?: string | null;
|
|
@@ -5741,6 +6884,34 @@ export type TagConvMutation = {
|
|
|
5741
6884
|
assignDate?: any | null;
|
|
5742
6885
|
isAi?: boolean | null;
|
|
5743
6886
|
} | null> | null;
|
|
6887
|
+
activeCall?: {
|
|
6888
|
+
__typename?: 'Call';
|
|
6889
|
+
id: string;
|
|
6890
|
+
status: CallStatus;
|
|
6891
|
+
handler: CallHandler;
|
|
6892
|
+
direction: CallDirection;
|
|
6893
|
+
roomName?: string | null;
|
|
6894
|
+
startedAt: any;
|
|
6895
|
+
answeredAt?: any | null;
|
|
6896
|
+
duration?: number | null;
|
|
6897
|
+
assigneeId?: string | null;
|
|
6898
|
+
aiId?: string | null;
|
|
6899
|
+
convId: string;
|
|
6900
|
+
clientId: string;
|
|
6901
|
+
workspaceId: number;
|
|
6902
|
+
integrationId: string;
|
|
6903
|
+
} | null;
|
|
6904
|
+
classificationRuns?: Array<{
|
|
6905
|
+
__typename?: 'ConversationClassificationRun';
|
|
6906
|
+
mode: string;
|
|
6907
|
+
convInboundCount: number;
|
|
6908
|
+
assignedToAgent: boolean;
|
|
6909
|
+
humanDecisionWins: boolean;
|
|
6910
|
+
status: string;
|
|
6911
|
+
tag?: string | null;
|
|
6912
|
+
error?: string | null;
|
|
6913
|
+
createdAt: any;
|
|
6914
|
+
}> | null;
|
|
5744
6915
|
};
|
|
5745
6916
|
};
|
|
5746
6917
|
export type TagsQueryVariables = Exact<{
|
|
@@ -5759,6 +6930,40 @@ export type TagsQuery = {
|
|
|
5759
6930
|
}> | null;
|
|
5760
6931
|
};
|
|
5761
6932
|
};
|
|
6933
|
+
export type UnreactToMessageMutationVariables = Exact<{
|
|
6934
|
+
input: MessageReactionInput;
|
|
6935
|
+
}>;
|
|
6936
|
+
export type UnreactToMessageMutation = {
|
|
6937
|
+
__typename?: 'Mutation';
|
|
6938
|
+
unreactToMessage: {
|
|
6939
|
+
__typename?: 'Message';
|
|
6940
|
+
messageId: string;
|
|
6941
|
+
content: string;
|
|
6942
|
+
type: MessageType;
|
|
6943
|
+
noteType?: NoteType | null;
|
|
6944
|
+
isAgent: boolean;
|
|
6945
|
+
agentId?: string | null;
|
|
6946
|
+
status?: MessageStatus | null;
|
|
6947
|
+
failedReason?: string | null;
|
|
6948
|
+
externalMessageId?: string | null;
|
|
6949
|
+
tags?: Array<string> | null;
|
|
6950
|
+
createdAt: any;
|
|
6951
|
+
transcript?: string | null;
|
|
6952
|
+
context?: {
|
|
6953
|
+
__typename?: 'MessageContext';
|
|
6954
|
+
replyToId?: string | null;
|
|
6955
|
+
replyToContent: string;
|
|
6956
|
+
replyToType: MessageType;
|
|
6957
|
+
} | null;
|
|
6958
|
+
reactions?: Array<{
|
|
6959
|
+
__typename?: 'MessageReaction';
|
|
6960
|
+
emoji: string;
|
|
6961
|
+
isAgent: boolean;
|
|
6962
|
+
agentId?: string | null;
|
|
6963
|
+
createdAt: any;
|
|
6964
|
+
}> | null;
|
|
6965
|
+
};
|
|
6966
|
+
};
|
|
5762
6967
|
export type UntagClientMutationVariables = Exact<{
|
|
5763
6968
|
input: ClientTagInput;
|
|
5764
6969
|
}>;
|
|
@@ -5816,6 +7021,7 @@ export type UntagConvMutation = {
|
|
|
5816
7021
|
broadcastName?: string | null;
|
|
5817
7022
|
sourceType?: string | null;
|
|
5818
7023
|
sourceUrl?: string | null;
|
|
7024
|
+
sentiment?: ConversationSentiment | null;
|
|
5819
7025
|
integrationSwitches?: Array<{
|
|
5820
7026
|
__typename?: 'ConvIntegrationSwitch';
|
|
5821
7027
|
fromIntegrationId: string;
|
|
@@ -5838,6 +7044,7 @@ export type UntagConvMutation = {
|
|
|
5838
7044
|
externalMessageId?: string | null;
|
|
5839
7045
|
tags?: Array<string> | null;
|
|
5840
7046
|
createdAt: any;
|
|
7047
|
+
transcript?: string | null;
|
|
5841
7048
|
context?: {
|
|
5842
7049
|
__typename?: 'MessageContext';
|
|
5843
7050
|
replyToId?: string | null;
|
|
@@ -5867,6 +7074,34 @@ export type UntagConvMutation = {
|
|
|
5867
7074
|
assignDate?: any | null;
|
|
5868
7075
|
isAi?: boolean | null;
|
|
5869
7076
|
} | null> | null;
|
|
7077
|
+
activeCall?: {
|
|
7078
|
+
__typename?: 'Call';
|
|
7079
|
+
id: string;
|
|
7080
|
+
status: CallStatus;
|
|
7081
|
+
handler: CallHandler;
|
|
7082
|
+
direction: CallDirection;
|
|
7083
|
+
roomName?: string | null;
|
|
7084
|
+
startedAt: any;
|
|
7085
|
+
answeredAt?: any | null;
|
|
7086
|
+
duration?: number | null;
|
|
7087
|
+
assigneeId?: string | null;
|
|
7088
|
+
aiId?: string | null;
|
|
7089
|
+
convId: string;
|
|
7090
|
+
clientId: string;
|
|
7091
|
+
workspaceId: number;
|
|
7092
|
+
integrationId: string;
|
|
7093
|
+
} | null;
|
|
7094
|
+
classificationRuns?: Array<{
|
|
7095
|
+
__typename?: 'ConversationClassificationRun';
|
|
7096
|
+
mode: string;
|
|
7097
|
+
convInboundCount: number;
|
|
7098
|
+
assignedToAgent: boolean;
|
|
7099
|
+
humanDecisionWins: boolean;
|
|
7100
|
+
status: string;
|
|
7101
|
+
tag?: string | null;
|
|
7102
|
+
error?: string | null;
|
|
7103
|
+
createdAt: any;
|
|
7104
|
+
}> | null;
|
|
5870
7105
|
};
|
|
5871
7106
|
};
|
|
5872
7107
|
export type WabaMessageTemplateDetailsQueryVariables = Exact<{
|
|
@@ -6070,6 +7305,20 @@ export type BulkUndeleteClientsMutation = {
|
|
|
6070
7305
|
deletedCount: number;
|
|
6071
7306
|
};
|
|
6072
7307
|
};
|
|
7308
|
+
export type ChannelConnectLinkQueryVariables = Exact<{
|
|
7309
|
+
input: ChannelConnectLinkInput;
|
|
7310
|
+
}>;
|
|
7311
|
+
export type ChannelConnectLinkQuery = {
|
|
7312
|
+
__typename?: 'Query';
|
|
7313
|
+
channelConnectLink: {
|
|
7314
|
+
__typename?: 'ChannelConnectLink';
|
|
7315
|
+
type: IntegrationType;
|
|
7316
|
+
workspaceName: string;
|
|
7317
|
+
sharedByEmail: string;
|
|
7318
|
+
sharedByName: string;
|
|
7319
|
+
expiresAt: string;
|
|
7320
|
+
};
|
|
7321
|
+
};
|
|
6073
7322
|
export type ClientQueryVariables = Exact<{
|
|
6074
7323
|
input: ClientInput;
|
|
6075
7324
|
}>;
|
|
@@ -6167,6 +7416,17 @@ export type ClientsQuery = {
|
|
|
6167
7416
|
} | null;
|
|
6168
7417
|
};
|
|
6169
7418
|
};
|
|
7419
|
+
export type CreateChannelConnectLinkMutationVariables = Exact<{
|
|
7420
|
+
input: CreateChannelConnectLinkInput;
|
|
7421
|
+
}>;
|
|
7422
|
+
export type CreateChannelConnectLinkMutation = {
|
|
7423
|
+
__typename?: 'Mutation';
|
|
7424
|
+
createChannelConnectLink: {
|
|
7425
|
+
__typename?: 'ChannelConnectLinkCreated';
|
|
7426
|
+
token: string;
|
|
7427
|
+
expiresAt: string;
|
|
7428
|
+
};
|
|
7429
|
+
};
|
|
6170
7430
|
export type CreateClientMutationVariables = Exact<{
|
|
6171
7431
|
input: ClientCreateInput;
|
|
6172
7432
|
}>;
|
|
@@ -6196,6 +7456,19 @@ export type CreateClientMutation = {
|
|
|
6196
7456
|
blacklistedBy?: string | null;
|
|
6197
7457
|
};
|
|
6198
7458
|
};
|
|
7459
|
+
export type CreateIntegrationByConnectLinkMutationVariables = Exact<{
|
|
7460
|
+
input: CreateIntegrationByConnectLinkInput;
|
|
7461
|
+
}>;
|
|
7462
|
+
export type CreateIntegrationByConnectLinkMutation = {
|
|
7463
|
+
__typename?: 'Mutation';
|
|
7464
|
+
createIntegrationByConnectLink: {
|
|
7465
|
+
__typename?: 'Integration';
|
|
7466
|
+
id: string;
|
|
7467
|
+
name: string;
|
|
7468
|
+
type: IntegrationType;
|
|
7469
|
+
workspaceId: number;
|
|
7470
|
+
};
|
|
7471
|
+
};
|
|
6199
7472
|
export type DeleteClientMutationVariables = Exact<{
|
|
6200
7473
|
input: ClientInput;
|
|
6201
7474
|
}>;
|
|
@@ -6534,6 +7807,7 @@ export type IntegrationFragment = {
|
|
|
6534
7807
|
createdAt: any;
|
|
6535
7808
|
deletedAt?: any | null;
|
|
6536
7809
|
patchedAt?: any | null;
|
|
7810
|
+
callingEnabled?: boolean | null;
|
|
6537
7811
|
};
|
|
6538
7812
|
export type WebhookFragment = {
|
|
6539
7813
|
__typename?: 'Webhook';
|
|
@@ -6618,6 +7892,7 @@ export type CreateIntegrationMutation = {
|
|
|
6618
7892
|
createdAt: any;
|
|
6619
7893
|
deletedAt?: any | null;
|
|
6620
7894
|
patchedAt?: any | null;
|
|
7895
|
+
callingEnabled?: boolean | null;
|
|
6621
7896
|
};
|
|
6622
7897
|
};
|
|
6623
7898
|
export type CreateTagMutationVariables = Exact<{
|
|
@@ -6681,6 +7956,7 @@ export type DeleteIntegrationMutation = {
|
|
|
6681
7956
|
createdAt: any;
|
|
6682
7957
|
deletedAt?: any | null;
|
|
6683
7958
|
patchedAt?: any | null;
|
|
7959
|
+
callingEnabled?: boolean | null;
|
|
6684
7960
|
};
|
|
6685
7961
|
};
|
|
6686
7962
|
export type DeleteTagMutationVariables = Exact<{
|
|
@@ -6745,6 +8021,7 @@ export type IntegrationQuery = {
|
|
|
6745
8021
|
createdAt: any;
|
|
6746
8022
|
deletedAt?: any | null;
|
|
6747
8023
|
patchedAt?: any | null;
|
|
8024
|
+
callingEnabled?: boolean | null;
|
|
6748
8025
|
};
|
|
6749
8026
|
};
|
|
6750
8027
|
export type IntegrationsQueryVariables = Exact<{
|
|
@@ -6766,6 +8043,7 @@ export type IntegrationsQuery = {
|
|
|
6766
8043
|
createdAt: any;
|
|
6767
8044
|
deletedAt?: any | null;
|
|
6768
8045
|
patchedAt?: any | null;
|
|
8046
|
+
callingEnabled?: boolean | null;
|
|
6769
8047
|
}> | null;
|
|
6770
8048
|
};
|
|
6771
8049
|
};
|
|
@@ -6786,6 +8064,7 @@ export type PatchIntegrationMutation = {
|
|
|
6786
8064
|
createdAt: any;
|
|
6787
8065
|
deletedAt?: any | null;
|
|
6788
8066
|
patchedAt?: any | null;
|
|
8067
|
+
callingEnabled?: boolean | null;
|
|
6789
8068
|
};
|
|
6790
8069
|
};
|
|
6791
8070
|
export type WebhooksQueryVariables = Exact<{
|
|
@@ -6825,6 +8104,13 @@ export type WorkspaceFragment = {
|
|
|
6825
8104
|
contactPersonPhoneNumber?: string | null;
|
|
6826
8105
|
accountId?: string | null;
|
|
6827
8106
|
createDate: any;
|
|
8107
|
+
profile: {
|
|
8108
|
+
__typename?: 'WorkspaceProfile';
|
|
8109
|
+
industry?: string | null;
|
|
8110
|
+
companySize?: string | null;
|
|
8111
|
+
creatorRole?: string | null;
|
|
8112
|
+
useCase?: string | null;
|
|
8113
|
+
};
|
|
6828
8114
|
};
|
|
6829
8115
|
export type WorkspaceSettingsFragment = {
|
|
6830
8116
|
__typename?: 'WorkspaceSettings';
|
|
@@ -6838,6 +8124,18 @@ export type WorkspaceSettingsFragment = {
|
|
|
6838
8124
|
holidayTimezone?: string | null;
|
|
6839
8125
|
writingReadingLevel?: WritingReadingLevel | null;
|
|
6840
8126
|
writingBrandVoice?: WritingBrandVoice | null;
|
|
8127
|
+
noiseFilter?: {
|
|
8128
|
+
__typename?: 'NoiseFilterSettings';
|
|
8129
|
+
enabled?: boolean | null;
|
|
8130
|
+
rulesThreshold?: number | null;
|
|
8131
|
+
spamHighThreshold?: number | null;
|
|
8132
|
+
borderlineBand?: number | null;
|
|
8133
|
+
highIntentThreshold?: number | null;
|
|
8134
|
+
triagePrompt?: string | null;
|
|
8135
|
+
denyPatterns?: Array<string> | null;
|
|
8136
|
+
maxLinksPerMessage?: number | null;
|
|
8137
|
+
maxMessagesPerSenderHour?: number | null;
|
|
8138
|
+
} | null;
|
|
6841
8139
|
testNums?: Array<{
|
|
6842
8140
|
__typename?: 'WorkspaceTestNumber';
|
|
6843
8141
|
phone: string;
|
|
@@ -6866,6 +8164,13 @@ export type CreateWorkspaceMutation = {
|
|
|
6866
8164
|
contactPersonPhoneNumber?: string | null;
|
|
6867
8165
|
accountId?: string | null;
|
|
6868
8166
|
createDate: any;
|
|
8167
|
+
profile: {
|
|
8168
|
+
__typename?: 'WorkspaceProfile';
|
|
8169
|
+
industry?: string | null;
|
|
8170
|
+
companySize?: string | null;
|
|
8171
|
+
creatorRole?: string | null;
|
|
8172
|
+
useCase?: string | null;
|
|
8173
|
+
};
|
|
6869
8174
|
};
|
|
6870
8175
|
};
|
|
6871
8176
|
export type IsWorkspaceNameAvailableQueryVariables = Exact<{
|
|
@@ -6892,6 +8197,18 @@ export type PatchWorkspaceSettingsMutation = {
|
|
|
6892
8197
|
holidayTimezone?: string | null;
|
|
6893
8198
|
writingReadingLevel?: WritingReadingLevel | null;
|
|
6894
8199
|
writingBrandVoice?: WritingBrandVoice | null;
|
|
8200
|
+
noiseFilter?: {
|
|
8201
|
+
__typename?: 'NoiseFilterSettings';
|
|
8202
|
+
enabled?: boolean | null;
|
|
8203
|
+
rulesThreshold?: number | null;
|
|
8204
|
+
spamHighThreshold?: number | null;
|
|
8205
|
+
borderlineBand?: number | null;
|
|
8206
|
+
highIntentThreshold?: number | null;
|
|
8207
|
+
triagePrompt?: string | null;
|
|
8208
|
+
denyPatterns?: Array<string> | null;
|
|
8209
|
+
maxLinksPerMessage?: number | null;
|
|
8210
|
+
maxMessagesPerSenderHour?: number | null;
|
|
8211
|
+
} | null;
|
|
6895
8212
|
testNums?: Array<{
|
|
6896
8213
|
__typename?: 'WorkspaceTestNumber';
|
|
6897
8214
|
phone: string;
|
|
@@ -6936,6 +8253,13 @@ export type UpdateWorkspaceMutation = {
|
|
|
6936
8253
|
contactPersonPhoneNumber?: string | null;
|
|
6937
8254
|
accountId?: string | null;
|
|
6938
8255
|
createDate: any;
|
|
8256
|
+
profile: {
|
|
8257
|
+
__typename?: 'WorkspaceProfile';
|
|
8258
|
+
industry?: string | null;
|
|
8259
|
+
companySize?: string | null;
|
|
8260
|
+
creatorRole?: string | null;
|
|
8261
|
+
useCase?: string | null;
|
|
8262
|
+
};
|
|
6939
8263
|
};
|
|
6940
8264
|
};
|
|
6941
8265
|
export type WorkspaceInvitationsQueryVariables = Exact<{
|
|
@@ -6983,6 +8307,18 @@ export type WorkspaceSettingsQuery = {
|
|
|
6983
8307
|
holidayTimezone?: string | null;
|
|
6984
8308
|
writingReadingLevel?: WritingReadingLevel | null;
|
|
6985
8309
|
writingBrandVoice?: WritingBrandVoice | null;
|
|
8310
|
+
noiseFilter?: {
|
|
8311
|
+
__typename?: 'NoiseFilterSettings';
|
|
8312
|
+
enabled?: boolean | null;
|
|
8313
|
+
rulesThreshold?: number | null;
|
|
8314
|
+
spamHighThreshold?: number | null;
|
|
8315
|
+
borderlineBand?: number | null;
|
|
8316
|
+
highIntentThreshold?: number | null;
|
|
8317
|
+
triagePrompt?: string | null;
|
|
8318
|
+
denyPatterns?: Array<string> | null;
|
|
8319
|
+
maxLinksPerMessage?: number | null;
|
|
8320
|
+
maxMessagesPerSenderHour?: number | null;
|
|
8321
|
+
} | null;
|
|
6986
8322
|
testNums?: Array<{
|
|
6987
8323
|
__typename?: 'WorkspaceTestNumber';
|
|
6988
8324
|
phone: string;
|
|
@@ -7015,6 +8351,13 @@ export type WorkspacesQuery = {
|
|
|
7015
8351
|
contactPersonPhoneNumber?: string | null;
|
|
7016
8352
|
accountId?: string | null;
|
|
7017
8353
|
createDate: any;
|
|
8354
|
+
profile: {
|
|
8355
|
+
__typename?: 'WorkspaceProfile';
|
|
8356
|
+
industry?: string | null;
|
|
8357
|
+
companySize?: string | null;
|
|
8358
|
+
creatorRole?: string | null;
|
|
8359
|
+
useCase?: string | null;
|
|
8360
|
+
};
|
|
7018
8361
|
}>;
|
|
7019
8362
|
pageInfo: {
|
|
7020
8363
|
__typename?: 'PageInfo';
|
|
@@ -7030,6 +8373,7 @@ export declare const UserRoleFragmentDoc: Apollo.DocumentNode;
|
|
|
7030
8373
|
export declare const BroadcastFragmentDoc: Apollo.DocumentNode;
|
|
7031
8374
|
export declare const BroadcastReportFragmentDoc: Apollo.DocumentNode;
|
|
7032
8375
|
export declare const AgentReportFragmentDoc: Apollo.DocumentNode;
|
|
8376
|
+
export declare const ConvStageReportFragmentDoc: Apollo.DocumentNode;
|
|
7033
8377
|
export declare const ConvTagReportFragmentDoc: Apollo.DocumentNode;
|
|
7034
8378
|
export declare const ConversationReportFragmentDoc: Apollo.DocumentNode;
|
|
7035
8379
|
export declare const PageInfoFragmentDoc: Apollo.DocumentNode;
|
|
@@ -7042,10 +8386,10 @@ export declare const MessageTemplateFragmentDoc: Apollo.DocumentNode;
|
|
|
7042
8386
|
export declare const ClientFragmentDoc: Apollo.DocumentNode;
|
|
7043
8387
|
export declare const QuickReplyFragmentDoc: Apollo.DocumentNode;
|
|
7044
8388
|
export declare const WorkspaceOnboardingFragmentDoc: Apollo.DocumentNode;
|
|
7045
|
-
export declare const WorkspaceProfileFragmentDoc: Apollo.DocumentNode;
|
|
7046
8389
|
export declare const ApiKeyFragmentDoc: Apollo.DocumentNode;
|
|
7047
8390
|
export declare const IntegrationFragmentDoc: Apollo.DocumentNode;
|
|
7048
8391
|
export declare const WebhookFragmentDoc: Apollo.DocumentNode;
|
|
8392
|
+
export declare const WorkspaceProfileFragmentDoc: Apollo.DocumentNode;
|
|
7049
8393
|
export declare const WorkspaceFragmentDoc: Apollo.DocumentNode;
|
|
7050
8394
|
export declare const WorkspaceSettingsFragmentDoc: Apollo.DocumentNode;
|
|
7051
8395
|
export declare const AiDocument: Apollo.DocumentNode;
|
|
@@ -7089,6 +8433,47 @@ export declare function refetchAiQuery(variables: AiQueryVariables): {
|
|
|
7089
8433
|
input: AiInput;
|
|
7090
8434
|
}>;
|
|
7091
8435
|
};
|
|
8436
|
+
export declare const AiVoicesDocument: Apollo.DocumentNode;
|
|
8437
|
+
/**
|
|
8438
|
+
* __useAiVoicesQuery__
|
|
8439
|
+
*
|
|
8440
|
+
* To run a query within a React component, call `useAiVoicesQuery` and pass it any options that fit your needs.
|
|
8441
|
+
* When your component renders, `useAiVoicesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
8442
|
+
* you can use to render your UI.
|
|
8443
|
+
*
|
|
8444
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
8445
|
+
*
|
|
8446
|
+
* @example
|
|
8447
|
+
* const { data, loading, error } = useAiVoicesQuery({
|
|
8448
|
+
* variables: {
|
|
8449
|
+
* input: // value for 'input'
|
|
8450
|
+
* },
|
|
8451
|
+
* });
|
|
8452
|
+
*/
|
|
8453
|
+
export declare function useAiVoicesQuery(baseOptions: Apollo.QueryHookOptions<AiVoicesQuery, AiVoicesQueryVariables> & ({
|
|
8454
|
+
variables: AiVoicesQueryVariables;
|
|
8455
|
+
skip?: boolean;
|
|
8456
|
+
} | {
|
|
8457
|
+
skip: boolean;
|
|
8458
|
+
})): Apollo.QueryResult<AiVoicesQuery, Exact<{
|
|
8459
|
+
input: AiVoicesInput;
|
|
8460
|
+
}>>;
|
|
8461
|
+
export declare function useAiVoicesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<AiVoicesQuery, AiVoicesQueryVariables>): Apollo.LazyQueryResultTuple<AiVoicesQuery, Exact<{
|
|
8462
|
+
input: AiVoicesInput;
|
|
8463
|
+
}>>;
|
|
8464
|
+
export declare function useAiVoicesSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<AiVoicesQuery, AiVoicesQueryVariables>): Apollo.UseSuspenseQueryResult<AiVoicesQuery | undefined, Exact<{
|
|
8465
|
+
input: AiVoicesInput;
|
|
8466
|
+
}>>;
|
|
8467
|
+
export type AiVoicesQueryHookResult = ReturnType<typeof useAiVoicesQuery>;
|
|
8468
|
+
export type AiVoicesLazyQueryHookResult = ReturnType<typeof useAiVoicesLazyQuery>;
|
|
8469
|
+
export type AiVoicesSuspenseQueryHookResult = ReturnType<typeof useAiVoicesSuspenseQuery>;
|
|
8470
|
+
export type AiVoicesQueryResult = Apollo.QueryResult<AiVoicesQuery, AiVoicesQueryVariables>;
|
|
8471
|
+
export declare function refetchAiVoicesQuery(variables: AiVoicesQueryVariables): {
|
|
8472
|
+
query: Apollo.DocumentNode;
|
|
8473
|
+
variables: Exact<{
|
|
8474
|
+
input: AiVoicesInput;
|
|
8475
|
+
}>;
|
|
8476
|
+
};
|
|
7092
8477
|
export declare const AisDocument: Apollo.DocumentNode;
|
|
7093
8478
|
/**
|
|
7094
8479
|
* __useAisQuery__
|
|
@@ -8079,43 +9464,84 @@ export declare function refetchWorkspaceBroadcastMessageStatusesQuery(variables:
|
|
|
8079
9464
|
};
|
|
8080
9465
|
export declare const AgentsReportDocument: Apollo.DocumentNode;
|
|
8081
9466
|
/**
|
|
8082
|
-
* __useAgentsReportQuery__
|
|
9467
|
+
* __useAgentsReportQuery__
|
|
9468
|
+
*
|
|
9469
|
+
* To run a query within a React component, call `useAgentsReportQuery` and pass it any options that fit your needs.
|
|
9470
|
+
* When your component renders, `useAgentsReportQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
9471
|
+
* you can use to render your UI.
|
|
9472
|
+
*
|
|
9473
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
9474
|
+
*
|
|
9475
|
+
* @example
|
|
9476
|
+
* const { data, loading, error } = useAgentsReportQuery({
|
|
9477
|
+
* variables: {
|
|
9478
|
+
* input: // value for 'input'
|
|
9479
|
+
* },
|
|
9480
|
+
* });
|
|
9481
|
+
*/
|
|
9482
|
+
export declare function useAgentsReportQuery(baseOptions: Apollo.QueryHookOptions<AgentsReportQuery, AgentsReportQueryVariables> & ({
|
|
9483
|
+
variables: AgentsReportQueryVariables;
|
|
9484
|
+
skip?: boolean;
|
|
9485
|
+
} | {
|
|
9486
|
+
skip: boolean;
|
|
9487
|
+
})): Apollo.QueryResult<AgentsReportQuery, Exact<{
|
|
9488
|
+
input: AgentsReportInput;
|
|
9489
|
+
}>>;
|
|
9490
|
+
export declare function useAgentsReportLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<AgentsReportQuery, AgentsReportQueryVariables>): Apollo.LazyQueryResultTuple<AgentsReportQuery, Exact<{
|
|
9491
|
+
input: AgentsReportInput;
|
|
9492
|
+
}>>;
|
|
9493
|
+
export declare function useAgentsReportSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<AgentsReportQuery, AgentsReportQueryVariables>): Apollo.UseSuspenseQueryResult<AgentsReportQuery | undefined, Exact<{
|
|
9494
|
+
input: AgentsReportInput;
|
|
9495
|
+
}>>;
|
|
9496
|
+
export type AgentsReportQueryHookResult = ReturnType<typeof useAgentsReportQuery>;
|
|
9497
|
+
export type AgentsReportLazyQueryHookResult = ReturnType<typeof useAgentsReportLazyQuery>;
|
|
9498
|
+
export type AgentsReportSuspenseQueryHookResult = ReturnType<typeof useAgentsReportSuspenseQuery>;
|
|
9499
|
+
export type AgentsReportQueryResult = Apollo.QueryResult<AgentsReportQuery, AgentsReportQueryVariables>;
|
|
9500
|
+
export declare function refetchAgentsReportQuery(variables: AgentsReportQueryVariables): {
|
|
9501
|
+
query: Apollo.DocumentNode;
|
|
9502
|
+
variables: Exact<{
|
|
9503
|
+
input: AgentsReportInput;
|
|
9504
|
+
}>;
|
|
9505
|
+
};
|
|
9506
|
+
export declare const ConvStagesReportDocument: Apollo.DocumentNode;
|
|
9507
|
+
/**
|
|
9508
|
+
* __useConvStagesReportQuery__
|
|
8083
9509
|
*
|
|
8084
|
-
* To run a query within a React component, call `
|
|
8085
|
-
* When your component renders, `
|
|
9510
|
+
* To run a query within a React component, call `useConvStagesReportQuery` and pass it any options that fit your needs.
|
|
9511
|
+
* When your component renders, `useConvStagesReportQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
8086
9512
|
* you can use to render your UI.
|
|
8087
9513
|
*
|
|
8088
9514
|
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
8089
9515
|
*
|
|
8090
9516
|
* @example
|
|
8091
|
-
* const { data, loading, error } =
|
|
9517
|
+
* const { data, loading, error } = useConvStagesReportQuery({
|
|
8092
9518
|
* variables: {
|
|
8093
9519
|
* input: // value for 'input'
|
|
8094
9520
|
* },
|
|
8095
9521
|
* });
|
|
8096
9522
|
*/
|
|
8097
|
-
export declare function
|
|
8098
|
-
variables:
|
|
9523
|
+
export declare function useConvStagesReportQuery(baseOptions: Apollo.QueryHookOptions<ConvStagesReportQuery, ConvStagesReportQueryVariables> & ({
|
|
9524
|
+
variables: ConvStagesReportQueryVariables;
|
|
8099
9525
|
skip?: boolean;
|
|
8100
9526
|
} | {
|
|
8101
9527
|
skip: boolean;
|
|
8102
|
-
})): Apollo.QueryResult<
|
|
8103
|
-
input:
|
|
9528
|
+
})): Apollo.QueryResult<ConvStagesReportQuery, Exact<{
|
|
9529
|
+
input: ConvStagesReportInput;
|
|
8104
9530
|
}>>;
|
|
8105
|
-
export declare function
|
|
8106
|
-
input:
|
|
9531
|
+
export declare function useConvStagesReportLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ConvStagesReportQuery, ConvStagesReportQueryVariables>): Apollo.LazyQueryResultTuple<ConvStagesReportQuery, Exact<{
|
|
9532
|
+
input: ConvStagesReportInput;
|
|
8107
9533
|
}>>;
|
|
8108
|
-
export declare function
|
|
8109
|
-
input:
|
|
9534
|
+
export declare function useConvStagesReportSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<ConvStagesReportQuery, ConvStagesReportQueryVariables>): Apollo.UseSuspenseQueryResult<ConvStagesReportQuery | undefined, Exact<{
|
|
9535
|
+
input: ConvStagesReportInput;
|
|
8110
9536
|
}>>;
|
|
8111
|
-
export type
|
|
8112
|
-
export type
|
|
8113
|
-
export type
|
|
8114
|
-
export type
|
|
8115
|
-
export declare function
|
|
9537
|
+
export type ConvStagesReportQueryHookResult = ReturnType<typeof useConvStagesReportQuery>;
|
|
9538
|
+
export type ConvStagesReportLazyQueryHookResult = ReturnType<typeof useConvStagesReportLazyQuery>;
|
|
9539
|
+
export type ConvStagesReportSuspenseQueryHookResult = ReturnType<typeof useConvStagesReportSuspenseQuery>;
|
|
9540
|
+
export type ConvStagesReportQueryResult = Apollo.QueryResult<ConvStagesReportQuery, ConvStagesReportQueryVariables>;
|
|
9541
|
+
export declare function refetchConvStagesReportQuery(variables: ConvStagesReportQueryVariables): {
|
|
8116
9542
|
query: Apollo.DocumentNode;
|
|
8117
9543
|
variables: Exact<{
|
|
8118
|
-
input:
|
|
9544
|
+
input: ConvStagesReportInput;
|
|
8119
9545
|
}>;
|
|
8120
9546
|
};
|
|
8121
9547
|
export declare const ConvTagsReportDocument: Apollo.DocumentNode;
|
|
@@ -8200,6 +9626,88 @@ export declare function refetchConvsReportQuery(variables: ConvsReportQueryVaria
|
|
|
8200
9626
|
input: ConvsReportInput;
|
|
8201
9627
|
}>;
|
|
8202
9628
|
};
|
|
9629
|
+
export declare const MessageReportDocument: Apollo.DocumentNode;
|
|
9630
|
+
/**
|
|
9631
|
+
* __useMessageReportQuery__
|
|
9632
|
+
*
|
|
9633
|
+
* To run a query within a React component, call `useMessageReportQuery` and pass it any options that fit your needs.
|
|
9634
|
+
* When your component renders, `useMessageReportQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
9635
|
+
* you can use to render your UI.
|
|
9636
|
+
*
|
|
9637
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
9638
|
+
*
|
|
9639
|
+
* @example
|
|
9640
|
+
* const { data, loading, error } = useMessageReportQuery({
|
|
9641
|
+
* variables: {
|
|
9642
|
+
* input: // value for 'input'
|
|
9643
|
+
* },
|
|
9644
|
+
* });
|
|
9645
|
+
*/
|
|
9646
|
+
export declare function useMessageReportQuery(baseOptions: Apollo.QueryHookOptions<MessageReportQuery, MessageReportQueryVariables> & ({
|
|
9647
|
+
variables: MessageReportQueryVariables;
|
|
9648
|
+
skip?: boolean;
|
|
9649
|
+
} | {
|
|
9650
|
+
skip: boolean;
|
|
9651
|
+
})): Apollo.QueryResult<MessageReportQuery, Exact<{
|
|
9652
|
+
input: MessageReportInput;
|
|
9653
|
+
}>>;
|
|
9654
|
+
export declare function useMessageReportLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<MessageReportQuery, MessageReportQueryVariables>): Apollo.LazyQueryResultTuple<MessageReportQuery, Exact<{
|
|
9655
|
+
input: MessageReportInput;
|
|
9656
|
+
}>>;
|
|
9657
|
+
export declare function useMessageReportSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<MessageReportQuery, MessageReportQueryVariables>): Apollo.UseSuspenseQueryResult<MessageReportQuery | undefined, Exact<{
|
|
9658
|
+
input: MessageReportInput;
|
|
9659
|
+
}>>;
|
|
9660
|
+
export type MessageReportQueryHookResult = ReturnType<typeof useMessageReportQuery>;
|
|
9661
|
+
export type MessageReportLazyQueryHookResult = ReturnType<typeof useMessageReportLazyQuery>;
|
|
9662
|
+
export type MessageReportSuspenseQueryHookResult = ReturnType<typeof useMessageReportSuspenseQuery>;
|
|
9663
|
+
export type MessageReportQueryResult = Apollo.QueryResult<MessageReportQuery, MessageReportQueryVariables>;
|
|
9664
|
+
export declare function refetchMessageReportQuery(variables: MessageReportQueryVariables): {
|
|
9665
|
+
query: Apollo.DocumentNode;
|
|
9666
|
+
variables: Exact<{
|
|
9667
|
+
input: MessageReportInput;
|
|
9668
|
+
}>;
|
|
9669
|
+
};
|
|
9670
|
+
export declare const MessageReportTodayDocument: Apollo.DocumentNode;
|
|
9671
|
+
/**
|
|
9672
|
+
* __useMessageReportTodayQuery__
|
|
9673
|
+
*
|
|
9674
|
+
* To run a query within a React component, call `useMessageReportTodayQuery` and pass it any options that fit your needs.
|
|
9675
|
+
* When your component renders, `useMessageReportTodayQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
9676
|
+
* you can use to render your UI.
|
|
9677
|
+
*
|
|
9678
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
9679
|
+
*
|
|
9680
|
+
* @example
|
|
9681
|
+
* const { data, loading, error } = useMessageReportTodayQuery({
|
|
9682
|
+
* variables: {
|
|
9683
|
+
* input: // value for 'input'
|
|
9684
|
+
* },
|
|
9685
|
+
* });
|
|
9686
|
+
*/
|
|
9687
|
+
export declare function useMessageReportTodayQuery(baseOptions: Apollo.QueryHookOptions<MessageReportTodayQuery, MessageReportTodayQueryVariables> & ({
|
|
9688
|
+
variables: MessageReportTodayQueryVariables;
|
|
9689
|
+
skip?: boolean;
|
|
9690
|
+
} | {
|
|
9691
|
+
skip: boolean;
|
|
9692
|
+
})): Apollo.QueryResult<MessageReportTodayQuery, Exact<{
|
|
9693
|
+
input: MessageReportTodayInput;
|
|
9694
|
+
}>>;
|
|
9695
|
+
export declare function useMessageReportTodayLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<MessageReportTodayQuery, MessageReportTodayQueryVariables>): Apollo.LazyQueryResultTuple<MessageReportTodayQuery, Exact<{
|
|
9696
|
+
input: MessageReportTodayInput;
|
|
9697
|
+
}>>;
|
|
9698
|
+
export declare function useMessageReportTodaySuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<MessageReportTodayQuery, MessageReportTodayQueryVariables>): Apollo.UseSuspenseQueryResult<MessageReportTodayQuery | undefined, Exact<{
|
|
9699
|
+
input: MessageReportTodayInput;
|
|
9700
|
+
}>>;
|
|
9701
|
+
export type MessageReportTodayQueryHookResult = ReturnType<typeof useMessageReportTodayQuery>;
|
|
9702
|
+
export type MessageReportTodayLazyQueryHookResult = ReturnType<typeof useMessageReportTodayLazyQuery>;
|
|
9703
|
+
export type MessageReportTodaySuspenseQueryHookResult = ReturnType<typeof useMessageReportTodaySuspenseQuery>;
|
|
9704
|
+
export type MessageReportTodayQueryResult = Apollo.QueryResult<MessageReportTodayQuery, MessageReportTodayQueryVariables>;
|
|
9705
|
+
export declare function refetchMessageReportTodayQuery(variables: MessageReportTodayQueryVariables): {
|
|
9706
|
+
query: Apollo.DocumentNode;
|
|
9707
|
+
variables: Exact<{
|
|
9708
|
+
input: MessageReportTodayInput;
|
|
9709
|
+
}>;
|
|
9710
|
+
};
|
|
8203
9711
|
export declare const UploadSignatureDocument: Apollo.DocumentNode;
|
|
8204
9712
|
/**
|
|
8205
9713
|
* __useUploadSignatureQuery__
|
|
@@ -8266,22 +9774,6 @@ export declare function useAddMessageMutation(baseOptions?: Apollo.MutationHookO
|
|
|
8266
9774
|
export type AddMessageMutationHookResult = ReturnType<typeof useAddMessageMutation>;
|
|
8267
9775
|
export type AddMessageMutationResult = Apollo.MutationResult<AddMessageMutation>;
|
|
8268
9776
|
export type AddMessageMutationOptions = Apollo.BaseMutationOptions<AddMessageMutation, AddMessageMutationVariables>;
|
|
8269
|
-
export declare const ReactToMessageDocument: Apollo.DocumentNode;
|
|
8270
|
-
export type ReactToMessageMutationFn = Apollo.MutationFunction<ReactToMessageMutation, ReactToMessageMutationVariables>;
|
|
8271
|
-
export declare function useReactToMessageMutation(baseOptions?: Apollo.MutationHookOptions<ReactToMessageMutation, ReactToMessageMutationVariables>): Apollo.MutationTuple<ReactToMessageMutation, Exact<{
|
|
8272
|
-
input: MessageReactionInput;
|
|
8273
|
-
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
8274
|
-
export type ReactToMessageMutationHookResult = ReturnType<typeof useReactToMessageMutation>;
|
|
8275
|
-
export type ReactToMessageMutationResult = Apollo.MutationResult<ReactToMessageMutation>;
|
|
8276
|
-
export type ReactToMessageMutationOptions = Apollo.BaseMutationOptions<ReactToMessageMutation, ReactToMessageMutationVariables>;
|
|
8277
|
-
export declare const UnreactToMessageDocument: Apollo.DocumentNode;
|
|
8278
|
-
export type UnreactToMessageMutationFn = Apollo.MutationFunction<UnreactToMessageMutation, UnreactToMessageMutationVariables>;
|
|
8279
|
-
export declare function useUnreactToMessageMutation(baseOptions?: Apollo.MutationHookOptions<UnreactToMessageMutation, UnreactToMessageMutationVariables>): Apollo.MutationTuple<UnreactToMessageMutation, Exact<{
|
|
8280
|
-
input: MessageReactionInput;
|
|
8281
|
-
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
8282
|
-
export type UnreactToMessageMutationHookResult = ReturnType<typeof useUnreactToMessageMutation>;
|
|
8283
|
-
export type UnreactToMessageMutationResult = Apollo.MutationResult<UnreactToMessageMutation>;
|
|
8284
|
-
export type UnreactToMessageMutationOptions = Apollo.BaseMutationOptions<UnreactToMessageMutation, UnreactToMessageMutationVariables>;
|
|
8285
9777
|
export declare const AgentDocument: Apollo.DocumentNode;
|
|
8286
9778
|
/**
|
|
8287
9779
|
* __useAgentQuery__
|
|
@@ -8394,6 +9886,122 @@ export declare function useAssignConvMutation(baseOptions?: Apollo.MutationHookO
|
|
|
8394
9886
|
export type AssignConvMutationHookResult = ReturnType<typeof useAssignConvMutation>;
|
|
8395
9887
|
export type AssignConvMutationResult = Apollo.MutationResult<AssignConvMutation>;
|
|
8396
9888
|
export type AssignConvMutationOptions = Apollo.BaseMutationOptions<AssignConvMutation, AssignConvMutationVariables>;
|
|
9889
|
+
export declare const AnswerCallDocument: Apollo.DocumentNode;
|
|
9890
|
+
export type AnswerCallMutationFn = Apollo.MutationFunction<AnswerCallMutation, AnswerCallMutationVariables>;
|
|
9891
|
+
/**
|
|
9892
|
+
* __useAnswerCallMutation__
|
|
9893
|
+
*
|
|
9894
|
+
* To run a mutation, you first call `useAnswerCallMutation` within a React component and pass it any options that fit your needs.
|
|
9895
|
+
* When your component renders, `useAnswerCallMutation` returns a tuple that includes:
|
|
9896
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
9897
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
9898
|
+
*
|
|
9899
|
+
* @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;
|
|
9900
|
+
*
|
|
9901
|
+
* @example
|
|
9902
|
+
* const [answerCallMutation, { data, loading, error }] = useAnswerCallMutation({
|
|
9903
|
+
* variables: {
|
|
9904
|
+
* input: // value for 'input'
|
|
9905
|
+
* },
|
|
9906
|
+
* });
|
|
9907
|
+
*/
|
|
9908
|
+
export declare function useAnswerCallMutation(baseOptions?: Apollo.MutationHookOptions<AnswerCallMutation, AnswerCallMutationVariables>): Apollo.MutationTuple<AnswerCallMutation, Exact<{
|
|
9909
|
+
input: CallActionInput;
|
|
9910
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
9911
|
+
export type AnswerCallMutationHookResult = ReturnType<typeof useAnswerCallMutation>;
|
|
9912
|
+
export type AnswerCallMutationResult = Apollo.MutationResult<AnswerCallMutation>;
|
|
9913
|
+
export type AnswerCallMutationOptions = Apollo.BaseMutationOptions<AnswerCallMutation, AnswerCallMutationVariables>;
|
|
9914
|
+
export declare const RejectCallDocument: Apollo.DocumentNode;
|
|
9915
|
+
export type RejectCallMutationFn = Apollo.MutationFunction<RejectCallMutation, RejectCallMutationVariables>;
|
|
9916
|
+
/**
|
|
9917
|
+
* __useRejectCallMutation__
|
|
9918
|
+
*
|
|
9919
|
+
* To run a mutation, you first call `useRejectCallMutation` within a React component and pass it any options that fit your needs.
|
|
9920
|
+
* When your component renders, `useRejectCallMutation` returns a tuple that includes:
|
|
9921
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
9922
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
9923
|
+
*
|
|
9924
|
+
* @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;
|
|
9925
|
+
*
|
|
9926
|
+
* @example
|
|
9927
|
+
* const [rejectCallMutation, { data, loading, error }] = useRejectCallMutation({
|
|
9928
|
+
* variables: {
|
|
9929
|
+
* input: // value for 'input'
|
|
9930
|
+
* },
|
|
9931
|
+
* });
|
|
9932
|
+
*/
|
|
9933
|
+
export declare function useRejectCallMutation(baseOptions?: Apollo.MutationHookOptions<RejectCallMutation, RejectCallMutationVariables>): Apollo.MutationTuple<RejectCallMutation, Exact<{
|
|
9934
|
+
input: CallActionInput;
|
|
9935
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
9936
|
+
export type RejectCallMutationHookResult = ReturnType<typeof useRejectCallMutation>;
|
|
9937
|
+
export type RejectCallMutationResult = Apollo.MutationResult<RejectCallMutation>;
|
|
9938
|
+
export type RejectCallMutationOptions = Apollo.BaseMutationOptions<RejectCallMutation, RejectCallMutationVariables>;
|
|
9939
|
+
export declare const HangupCallDocument: Apollo.DocumentNode;
|
|
9940
|
+
export type HangupCallMutationFn = Apollo.MutationFunction<HangupCallMutation, HangupCallMutationVariables>;
|
|
9941
|
+
/**
|
|
9942
|
+
* __useHangupCallMutation__
|
|
9943
|
+
*
|
|
9944
|
+
* To run a mutation, you first call `useHangupCallMutation` within a React component and pass it any options that fit your needs.
|
|
9945
|
+
* When your component renders, `useHangupCallMutation` returns a tuple that includes:
|
|
9946
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
9947
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
9948
|
+
*
|
|
9949
|
+
* @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;
|
|
9950
|
+
*
|
|
9951
|
+
* @example
|
|
9952
|
+
* const [hangupCallMutation, { data, loading, error }] = useHangupCallMutation({
|
|
9953
|
+
* variables: {
|
|
9954
|
+
* input: // value for 'input'
|
|
9955
|
+
* },
|
|
9956
|
+
* });
|
|
9957
|
+
*/
|
|
9958
|
+
export declare function useHangupCallMutation(baseOptions?: Apollo.MutationHookOptions<HangupCallMutation, HangupCallMutationVariables>): Apollo.MutationTuple<HangupCallMutation, Exact<{
|
|
9959
|
+
input: CallActionInput;
|
|
9960
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
9961
|
+
export type HangupCallMutationHookResult = ReturnType<typeof useHangupCallMutation>;
|
|
9962
|
+
export type HangupCallMutationResult = Apollo.MutationResult<HangupCallMutation>;
|
|
9963
|
+
export type HangupCallMutationOptions = Apollo.BaseMutationOptions<HangupCallMutation, HangupCallMutationVariables>;
|
|
9964
|
+
export declare const ClientSuggestionsDocument: Apollo.DocumentNode;
|
|
9965
|
+
/**
|
|
9966
|
+
* __useClientSuggestionsQuery__
|
|
9967
|
+
*
|
|
9968
|
+
* To run a query within a React component, call `useClientSuggestionsQuery` and pass it any options that fit your needs.
|
|
9969
|
+
* When your component renders, `useClientSuggestionsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
9970
|
+
* you can use to render your UI.
|
|
9971
|
+
*
|
|
9972
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
9973
|
+
*
|
|
9974
|
+
* @example
|
|
9975
|
+
* const { data, loading, error } = useClientSuggestionsQuery({
|
|
9976
|
+
* variables: {
|
|
9977
|
+
* input: // value for 'input'
|
|
9978
|
+
* },
|
|
9979
|
+
* });
|
|
9980
|
+
*/
|
|
9981
|
+
export declare function useClientSuggestionsQuery(baseOptions: Apollo.QueryHookOptions<ClientSuggestionsQuery, ClientSuggestionsQueryVariables> & ({
|
|
9982
|
+
variables: ClientSuggestionsQueryVariables;
|
|
9983
|
+
skip?: boolean;
|
|
9984
|
+
} | {
|
|
9985
|
+
skip: boolean;
|
|
9986
|
+
})): Apollo.QueryResult<ClientSuggestionsQuery, Exact<{
|
|
9987
|
+
input: ClientSuggestionsInput;
|
|
9988
|
+
}>>;
|
|
9989
|
+
export declare function useClientSuggestionsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ClientSuggestionsQuery, ClientSuggestionsQueryVariables>): Apollo.LazyQueryResultTuple<ClientSuggestionsQuery, Exact<{
|
|
9990
|
+
input: ClientSuggestionsInput;
|
|
9991
|
+
}>>;
|
|
9992
|
+
export declare function useClientSuggestionsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<ClientSuggestionsQuery, ClientSuggestionsQueryVariables>): Apollo.UseSuspenseQueryResult<ClientSuggestionsQuery | undefined, Exact<{
|
|
9993
|
+
input: ClientSuggestionsInput;
|
|
9994
|
+
}>>;
|
|
9995
|
+
export type ClientSuggestionsQueryHookResult = ReturnType<typeof useClientSuggestionsQuery>;
|
|
9996
|
+
export type ClientSuggestionsLazyQueryHookResult = ReturnType<typeof useClientSuggestionsLazyQuery>;
|
|
9997
|
+
export type ClientSuggestionsSuspenseQueryHookResult = ReturnType<typeof useClientSuggestionsSuspenseQuery>;
|
|
9998
|
+
export type ClientSuggestionsQueryResult = Apollo.QueryResult<ClientSuggestionsQuery, ClientSuggestionsQueryVariables>;
|
|
9999
|
+
export declare function refetchClientSuggestionsQuery(variables: ClientSuggestionsQueryVariables): {
|
|
10000
|
+
query: Apollo.DocumentNode;
|
|
10001
|
+
variables: Exact<{
|
|
10002
|
+
input: ClientSuggestionsInput;
|
|
10003
|
+
}>;
|
|
10004
|
+
};
|
|
8397
10005
|
export declare const ConvDocument: Apollo.DocumentNode;
|
|
8398
10006
|
/**
|
|
8399
10007
|
* __useConvQuery__
|
|
@@ -8517,6 +10125,47 @@ export declare function refetchConvEnhanceMessageQuery(variables: ConvEnhanceMes
|
|
|
8517
10125
|
input: ConvEnhanceMessageInput;
|
|
8518
10126
|
}>;
|
|
8519
10127
|
};
|
|
10128
|
+
export declare const ConvSuggestionsDocument: Apollo.DocumentNode;
|
|
10129
|
+
/**
|
|
10130
|
+
* __useConvSuggestionsQuery__
|
|
10131
|
+
*
|
|
10132
|
+
* To run a query within a React component, call `useConvSuggestionsQuery` and pass it any options that fit your needs.
|
|
10133
|
+
* When your component renders, `useConvSuggestionsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
10134
|
+
* you can use to render your UI.
|
|
10135
|
+
*
|
|
10136
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
10137
|
+
*
|
|
10138
|
+
* @example
|
|
10139
|
+
* const { data, loading, error } = useConvSuggestionsQuery({
|
|
10140
|
+
* variables: {
|
|
10141
|
+
* input: // value for 'input'
|
|
10142
|
+
* },
|
|
10143
|
+
* });
|
|
10144
|
+
*/
|
|
10145
|
+
export declare function useConvSuggestionsQuery(baseOptions: Apollo.QueryHookOptions<ConvSuggestionsQuery, ConvSuggestionsQueryVariables> & ({
|
|
10146
|
+
variables: ConvSuggestionsQueryVariables;
|
|
10147
|
+
skip?: boolean;
|
|
10148
|
+
} | {
|
|
10149
|
+
skip: boolean;
|
|
10150
|
+
})): Apollo.QueryResult<ConvSuggestionsQuery, Exact<{
|
|
10151
|
+
input: ConvSuggestionsInput;
|
|
10152
|
+
}>>;
|
|
10153
|
+
export declare function useConvSuggestionsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ConvSuggestionsQuery, ConvSuggestionsQueryVariables>): Apollo.LazyQueryResultTuple<ConvSuggestionsQuery, Exact<{
|
|
10154
|
+
input: ConvSuggestionsInput;
|
|
10155
|
+
}>>;
|
|
10156
|
+
export declare function useConvSuggestionsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<ConvSuggestionsQuery, ConvSuggestionsQueryVariables>): Apollo.UseSuspenseQueryResult<ConvSuggestionsQuery | undefined, Exact<{
|
|
10157
|
+
input: ConvSuggestionsInput;
|
|
10158
|
+
}>>;
|
|
10159
|
+
export type ConvSuggestionsQueryHookResult = ReturnType<typeof useConvSuggestionsQuery>;
|
|
10160
|
+
export type ConvSuggestionsLazyQueryHookResult = ReturnType<typeof useConvSuggestionsLazyQuery>;
|
|
10161
|
+
export type ConvSuggestionsSuspenseQueryHookResult = ReturnType<typeof useConvSuggestionsSuspenseQuery>;
|
|
10162
|
+
export type ConvSuggestionsQueryResult = Apollo.QueryResult<ConvSuggestionsQuery, ConvSuggestionsQueryVariables>;
|
|
10163
|
+
export declare function refetchConvSuggestionsQuery(variables: ConvSuggestionsQueryVariables): {
|
|
10164
|
+
query: Apollo.DocumentNode;
|
|
10165
|
+
variables: Exact<{
|
|
10166
|
+
input: ConvSuggestionsInput;
|
|
10167
|
+
}>;
|
|
10168
|
+
};
|
|
8520
10169
|
export declare const ConvSummaryDocument: Apollo.DocumentNode;
|
|
8521
10170
|
/**
|
|
8522
10171
|
* __useConvSummaryQuery__
|
|
@@ -8841,6 +10490,31 @@ export declare function usePatchConvMutation(baseOptions?: Apollo.MutationHookOp
|
|
|
8841
10490
|
export type PatchConvMutationHookResult = ReturnType<typeof usePatchConvMutation>;
|
|
8842
10491
|
export type PatchConvMutationResult = Apollo.MutationResult<PatchConvMutation>;
|
|
8843
10492
|
export type PatchConvMutationOptions = Apollo.BaseMutationOptions<PatchConvMutation, PatchConvMutationVariables>;
|
|
10493
|
+
export declare const ReactToMessageDocument: Apollo.DocumentNode;
|
|
10494
|
+
export type ReactToMessageMutationFn = Apollo.MutationFunction<ReactToMessageMutation, ReactToMessageMutationVariables>;
|
|
10495
|
+
/**
|
|
10496
|
+
* __useReactToMessageMutation__
|
|
10497
|
+
*
|
|
10498
|
+
* To run a mutation, you first call `useReactToMessageMutation` within a React component and pass it any options that fit your needs.
|
|
10499
|
+
* When your component renders, `useReactToMessageMutation` returns a tuple that includes:
|
|
10500
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
10501
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
10502
|
+
*
|
|
10503
|
+
* @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;
|
|
10504
|
+
*
|
|
10505
|
+
* @example
|
|
10506
|
+
* const [reactToMessageMutation, { data, loading, error }] = useReactToMessageMutation({
|
|
10507
|
+
* variables: {
|
|
10508
|
+
* input: // value for 'input'
|
|
10509
|
+
* },
|
|
10510
|
+
* });
|
|
10511
|
+
*/
|
|
10512
|
+
export declare function useReactToMessageMutation(baseOptions?: Apollo.MutationHookOptions<ReactToMessageMutation, ReactToMessageMutationVariables>): Apollo.MutationTuple<ReactToMessageMutation, Exact<{
|
|
10513
|
+
input: MessageReactionInput;
|
|
10514
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
10515
|
+
export type ReactToMessageMutationHookResult = ReturnType<typeof useReactToMessageMutation>;
|
|
10516
|
+
export type ReactToMessageMutationResult = Apollo.MutationResult<ReactToMessageMutation>;
|
|
10517
|
+
export type ReactToMessageMutationOptions = Apollo.BaseMutationOptions<ReactToMessageMutation, ReactToMessageMutationVariables>;
|
|
8844
10518
|
export declare const StartConvDocument: Apollo.DocumentNode;
|
|
8845
10519
|
export type StartConvMutationFn = Apollo.MutationFunction<StartConvMutation, StartConvMutationVariables>;
|
|
8846
10520
|
/**
|
|
@@ -8957,6 +10631,31 @@ export declare function refetchTagsQuery(variables: TagsQueryVariables): {
|
|
|
8957
10631
|
input: TagsInput;
|
|
8958
10632
|
}>;
|
|
8959
10633
|
};
|
|
10634
|
+
export declare const UnreactToMessageDocument: Apollo.DocumentNode;
|
|
10635
|
+
export type UnreactToMessageMutationFn = Apollo.MutationFunction<UnreactToMessageMutation, UnreactToMessageMutationVariables>;
|
|
10636
|
+
/**
|
|
10637
|
+
* __useUnreactToMessageMutation__
|
|
10638
|
+
*
|
|
10639
|
+
* To run a mutation, you first call `useUnreactToMessageMutation` within a React component and pass it any options that fit your needs.
|
|
10640
|
+
* When your component renders, `useUnreactToMessageMutation` returns a tuple that includes:
|
|
10641
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
10642
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
10643
|
+
*
|
|
10644
|
+
* @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;
|
|
10645
|
+
*
|
|
10646
|
+
* @example
|
|
10647
|
+
* const [unreactToMessageMutation, { data, loading, error }] = useUnreactToMessageMutation({
|
|
10648
|
+
* variables: {
|
|
10649
|
+
* input: // value for 'input'
|
|
10650
|
+
* },
|
|
10651
|
+
* });
|
|
10652
|
+
*/
|
|
10653
|
+
export declare function useUnreactToMessageMutation(baseOptions?: Apollo.MutationHookOptions<UnreactToMessageMutation, UnreactToMessageMutationVariables>): Apollo.MutationTuple<UnreactToMessageMutation, Exact<{
|
|
10654
|
+
input: MessageReactionInput;
|
|
10655
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
10656
|
+
export type UnreactToMessageMutationHookResult = ReturnType<typeof useUnreactToMessageMutation>;
|
|
10657
|
+
export type UnreactToMessageMutationResult = Apollo.MutationResult<UnreactToMessageMutation>;
|
|
10658
|
+
export type UnreactToMessageMutationOptions = Apollo.BaseMutationOptions<UnreactToMessageMutation, UnreactToMessageMutationVariables>;
|
|
8960
10659
|
export declare const UntagClientDocument: Apollo.DocumentNode;
|
|
8961
10660
|
export type UntagClientMutationFn = Apollo.MutationFunction<UntagClientMutation, UntagClientMutationVariables>;
|
|
8962
10661
|
/**
|
|
@@ -9355,6 +11054,47 @@ export declare function useBulkUndeleteClientsMutation(baseOptions?: Apollo.Muta
|
|
|
9355
11054
|
export type BulkUndeleteClientsMutationHookResult = ReturnType<typeof useBulkUndeleteClientsMutation>;
|
|
9356
11055
|
export type BulkUndeleteClientsMutationResult = Apollo.MutationResult<BulkUndeleteClientsMutation>;
|
|
9357
11056
|
export type BulkUndeleteClientsMutationOptions = Apollo.BaseMutationOptions<BulkUndeleteClientsMutation, BulkUndeleteClientsMutationVariables>;
|
|
11057
|
+
export declare const ChannelConnectLinkDocument: Apollo.DocumentNode;
|
|
11058
|
+
/**
|
|
11059
|
+
* __useChannelConnectLinkQuery__
|
|
11060
|
+
*
|
|
11061
|
+
* To run a query within a React component, call `useChannelConnectLinkQuery` and pass it any options that fit your needs.
|
|
11062
|
+
* When your component renders, `useChannelConnectLinkQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
11063
|
+
* you can use to render your UI.
|
|
11064
|
+
*
|
|
11065
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
11066
|
+
*
|
|
11067
|
+
* @example
|
|
11068
|
+
* const { data, loading, error } = useChannelConnectLinkQuery({
|
|
11069
|
+
* variables: {
|
|
11070
|
+
* input: // value for 'input'
|
|
11071
|
+
* },
|
|
11072
|
+
* });
|
|
11073
|
+
*/
|
|
11074
|
+
export declare function useChannelConnectLinkQuery(baseOptions: Apollo.QueryHookOptions<ChannelConnectLinkQuery, ChannelConnectLinkQueryVariables> & ({
|
|
11075
|
+
variables: ChannelConnectLinkQueryVariables;
|
|
11076
|
+
skip?: boolean;
|
|
11077
|
+
} | {
|
|
11078
|
+
skip: boolean;
|
|
11079
|
+
})): Apollo.QueryResult<ChannelConnectLinkQuery, Exact<{
|
|
11080
|
+
input: ChannelConnectLinkInput;
|
|
11081
|
+
}>>;
|
|
11082
|
+
export declare function useChannelConnectLinkLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ChannelConnectLinkQuery, ChannelConnectLinkQueryVariables>): Apollo.LazyQueryResultTuple<ChannelConnectLinkQuery, Exact<{
|
|
11083
|
+
input: ChannelConnectLinkInput;
|
|
11084
|
+
}>>;
|
|
11085
|
+
export declare function useChannelConnectLinkSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<ChannelConnectLinkQuery, ChannelConnectLinkQueryVariables>): Apollo.UseSuspenseQueryResult<ChannelConnectLinkQuery | undefined, Exact<{
|
|
11086
|
+
input: ChannelConnectLinkInput;
|
|
11087
|
+
}>>;
|
|
11088
|
+
export type ChannelConnectLinkQueryHookResult = ReturnType<typeof useChannelConnectLinkQuery>;
|
|
11089
|
+
export type ChannelConnectLinkLazyQueryHookResult = ReturnType<typeof useChannelConnectLinkLazyQuery>;
|
|
11090
|
+
export type ChannelConnectLinkSuspenseQueryHookResult = ReturnType<typeof useChannelConnectLinkSuspenseQuery>;
|
|
11091
|
+
export type ChannelConnectLinkQueryResult = Apollo.QueryResult<ChannelConnectLinkQuery, ChannelConnectLinkQueryVariables>;
|
|
11092
|
+
export declare function refetchChannelConnectLinkQuery(variables: ChannelConnectLinkQueryVariables): {
|
|
11093
|
+
query: Apollo.DocumentNode;
|
|
11094
|
+
variables: Exact<{
|
|
11095
|
+
input: ChannelConnectLinkInput;
|
|
11096
|
+
}>;
|
|
11097
|
+
};
|
|
9358
11098
|
export declare const ClientDocument: Apollo.DocumentNode;
|
|
9359
11099
|
/**
|
|
9360
11100
|
* __useClientQuery__
|
|
@@ -9483,6 +11223,31 @@ export declare function refetchClientsQuery(variables: ClientsQueryVariables): {
|
|
|
9483
11223
|
pageInfo?: InputMaybe<PageInfoInput> | undefined;
|
|
9484
11224
|
}>;
|
|
9485
11225
|
};
|
|
11226
|
+
export declare const CreateChannelConnectLinkDocument: Apollo.DocumentNode;
|
|
11227
|
+
export type CreateChannelConnectLinkMutationFn = Apollo.MutationFunction<CreateChannelConnectLinkMutation, CreateChannelConnectLinkMutationVariables>;
|
|
11228
|
+
/**
|
|
11229
|
+
* __useCreateChannelConnectLinkMutation__
|
|
11230
|
+
*
|
|
11231
|
+
* To run a mutation, you first call `useCreateChannelConnectLinkMutation` within a React component and pass it any options that fit your needs.
|
|
11232
|
+
* When your component renders, `useCreateChannelConnectLinkMutation` returns a tuple that includes:
|
|
11233
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
11234
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
11235
|
+
*
|
|
11236
|
+
* @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;
|
|
11237
|
+
*
|
|
11238
|
+
* @example
|
|
11239
|
+
* const [createChannelConnectLinkMutation, { data, loading, error }] = useCreateChannelConnectLinkMutation({
|
|
11240
|
+
* variables: {
|
|
11241
|
+
* input: // value for 'input'
|
|
11242
|
+
* },
|
|
11243
|
+
* });
|
|
11244
|
+
*/
|
|
11245
|
+
export declare function useCreateChannelConnectLinkMutation(baseOptions?: Apollo.MutationHookOptions<CreateChannelConnectLinkMutation, CreateChannelConnectLinkMutationVariables>): Apollo.MutationTuple<CreateChannelConnectLinkMutation, Exact<{
|
|
11246
|
+
input: CreateChannelConnectLinkInput;
|
|
11247
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
11248
|
+
export type CreateChannelConnectLinkMutationHookResult = ReturnType<typeof useCreateChannelConnectLinkMutation>;
|
|
11249
|
+
export type CreateChannelConnectLinkMutationResult = Apollo.MutationResult<CreateChannelConnectLinkMutation>;
|
|
11250
|
+
export type CreateChannelConnectLinkMutationOptions = Apollo.BaseMutationOptions<CreateChannelConnectLinkMutation, CreateChannelConnectLinkMutationVariables>;
|
|
9486
11251
|
export declare const CreateClientDocument: Apollo.DocumentNode;
|
|
9487
11252
|
export type CreateClientMutationFn = Apollo.MutationFunction<CreateClientMutation, CreateClientMutationVariables>;
|
|
9488
11253
|
/**
|
|
@@ -9508,6 +11273,31 @@ export declare function useCreateClientMutation(baseOptions?: Apollo.MutationHoo
|
|
|
9508
11273
|
export type CreateClientMutationHookResult = ReturnType<typeof useCreateClientMutation>;
|
|
9509
11274
|
export type CreateClientMutationResult = Apollo.MutationResult<CreateClientMutation>;
|
|
9510
11275
|
export type CreateClientMutationOptions = Apollo.BaseMutationOptions<CreateClientMutation, CreateClientMutationVariables>;
|
|
11276
|
+
export declare const CreateIntegrationByConnectLinkDocument: Apollo.DocumentNode;
|
|
11277
|
+
export type CreateIntegrationByConnectLinkMutationFn = Apollo.MutationFunction<CreateIntegrationByConnectLinkMutation, CreateIntegrationByConnectLinkMutationVariables>;
|
|
11278
|
+
/**
|
|
11279
|
+
* __useCreateIntegrationByConnectLinkMutation__
|
|
11280
|
+
*
|
|
11281
|
+
* To run a mutation, you first call `useCreateIntegrationByConnectLinkMutation` within a React component and pass it any options that fit your needs.
|
|
11282
|
+
* When your component renders, `useCreateIntegrationByConnectLinkMutation` returns a tuple that includes:
|
|
11283
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
11284
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
11285
|
+
*
|
|
11286
|
+
* @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;
|
|
11287
|
+
*
|
|
11288
|
+
* @example
|
|
11289
|
+
* const [createIntegrationByConnectLinkMutation, { data, loading, error }] = useCreateIntegrationByConnectLinkMutation({
|
|
11290
|
+
* variables: {
|
|
11291
|
+
* input: // value for 'input'
|
|
11292
|
+
* },
|
|
11293
|
+
* });
|
|
11294
|
+
*/
|
|
11295
|
+
export declare function useCreateIntegrationByConnectLinkMutation(baseOptions?: Apollo.MutationHookOptions<CreateIntegrationByConnectLinkMutation, CreateIntegrationByConnectLinkMutationVariables>): Apollo.MutationTuple<CreateIntegrationByConnectLinkMutation, Exact<{
|
|
11296
|
+
input: CreateIntegrationByConnectLinkInput;
|
|
11297
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
11298
|
+
export type CreateIntegrationByConnectLinkMutationHookResult = ReturnType<typeof useCreateIntegrationByConnectLinkMutation>;
|
|
11299
|
+
export type CreateIntegrationByConnectLinkMutationResult = Apollo.MutationResult<CreateIntegrationByConnectLinkMutation>;
|
|
11300
|
+
export type CreateIntegrationByConnectLinkMutationOptions = Apollo.BaseMutationOptions<CreateIntegrationByConnectLinkMutation, CreateIntegrationByConnectLinkMutationVariables>;
|
|
9511
11301
|
export declare const DeleteClientDocument: Apollo.DocumentNode;
|
|
9512
11302
|
export type DeleteClientMutationFn = Apollo.MutationFunction<DeleteClientMutation, DeleteClientMutationVariables>;
|
|
9513
11303
|
/**
|