@bcrumbs.net/inbox 0.0.63 → 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 +40 -6
- package/assets/en/inbox.json +40 -6
- package/e2e/auth.setup.d.ts +1 -0
- package/e2e/checkout/checkout.flows.d.ts +24 -0
- package/e2e/global.teardown.d.ts +1 -0
- package/e2e/support/auth.d.ts +22 -0
- package/e2e/support/cleanup.d.ts +20 -0
- package/e2e/support/config.d.ts +23 -0
- package/e2e/support/fixtures.d.ts +16 -0
- package/e2e/support/identifiers.d.ts +13 -0
- package/e2e/support/index.d.ts +6 -0
- package/index.cjs.js +39202 -1083
- package/index.esm.js +39206 -1088
- package/package.json +2 -2
- package/playwright.config.d.ts +0 -4
- 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/ThreadMessages.d.ts +3 -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/AcceptInvitation.d.ts +2 -0
- package/src/app/auth/components/AuthLanguagePicker.d.ts +3 -0
- package/src/app/auth/components/AuthVisualCarousel.d.ts +1 -0
- package/src/app/auth/components/ClerkSessionBridge.d.ts +4 -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 +152 -49
- package/src/app/auth/config/clerkLocalization.d.ts +6 -0
- package/src/app/auth/pages/Auth.style.d.ts +14 -0
- package/src/app/auth/pages/Login.d.ts +2 -1
- package/src/app/auth/pages/Register.d.ts +1 -0
- package/src/app/billing/pages/GatewayWelcomePage.d.ts +5 -0
- package/src/app/billing/utils/isGatewayPlan.d.ts +2 -0
- package/src/app/broadcast/components/BroadcastAnalysisReciepientsHeader.d.ts +2 -1
- package/src/app/broadcast/components/BroadcastDetailsSection.d.ts +3 -1
- package/src/app/broadcast/constants.d.ts +2 -0
- 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/hooks/usePaginatedQuery.d.ts +1 -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/ChatContent.d.ts +3 -1
- 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/ContactActionsMenu.d.ts +9 -0
- 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/components/NewDetails/UserHeader.d.ts +2 -1
- package/src/app/inbox/components/Shared/SharedStyle.d.ts +8 -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/useConvEnhance.d.ts +3 -1
- package/src/app/inbox/hooks/useConversationsPerodicFetch.d.ts +37 -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/convAssistStorage.d.ts +9 -4
- 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/convs.d.ts +4 -0
- package/src/app/inbox/utils/sounds.d.ts +4 -0
- package/src/app/layout/components/LogoutPopin.d.ts +6 -3
- package/src/app/layout/components/language/index.d.ts +5 -1
- package/src/app/layout/constants/index.d.ts +35 -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/config/webhookDefinition.d.ts +4 -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/WritingAssistanceSettings.d.ts +9 -0
- package/src/app/managemnet/pages/generalSettings/holidayConstants.d.ts +5 -0
- package/src/app/managemnet/pages/generalSettings/noiseFilterConstants.d.ts +24 -0
- package/src/app/managemnet/pages/generalSettings/writingConstants.d.ts +6 -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/Agents/CreateAgent.d.ts +7 -3
- 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/components/ListResources/Utils.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/SubscriptionSuccess.d.ts +3 -1
- 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/components/Plans/PlanCard.d.ts +3 -1
- package/src/app/subscriptions/components/Plans/ShowcasePlans.d.ts +3 -1
- package/src/app/subscriptions/components/SubscriptionSettings/SubscriptionCreditsCard.d.ts +5 -0
- package/src/app/subscriptions/components/SubscriptionSettings/SubscriptionProfile.d.ts +0 -1
- package/src/app/subscriptions/components/SubscriptionSettings/SubscriptionUsers.d.ts +0 -1
- package/src/app/subscriptions/components/SubscriptionSettings/index.d.ts +17 -2
- package/src/app/subscriptions/constants/Plans.d.ts +2 -1
- package/src/app/subscriptions/hooks/useWorkspaceProfileSubmit.d.ts +12 -0
- package/src/app/subscriptions/utils/estimateUpgradeProration.d.ts +7 -0
- package/src/app/subscriptions/utils/newWorkspaceContext.d.ts +8 -0
- package/src/assets/locales/translations.d.ts +444 -0
- package/src/config/constants.d.ts +1 -2
- package/src/environments/environment.dev.d.ts +2 -0
- package/src/environments/types.d.ts +2 -0
- package/src/graphql.autogenerated.d.ts +2718 -22
- package/src/graphql.billing.autogenerated.d.ts +193 -0
- package/src/lib/index.d.ts +1 -0
- 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/contact/components/ImportProgressDialog.d.ts +0 -13
- 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'];
|
|
@@ -953,7 +1126,7 @@ export type ClientTagInput = {
|
|
|
953
1126
|
};
|
|
954
1127
|
/** ClientsInput is an input of the clients query. */
|
|
955
1128
|
export type ClientsInput = {
|
|
956
|
-
/** Filter clients who
|
|
1129
|
+
/** Filter clients who opened a conversation in the last X days. */
|
|
957
1130
|
activeInLastDays?: InputMaybe<Scalars['Int']['input']>;
|
|
958
1131
|
/** The city of the client. Used to filter the clients by the city. */
|
|
959
1132
|
city?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -989,6 +1162,11 @@ export type ClientsPayload = {
|
|
|
989
1162
|
nodes?: Maybe<Array<Client>>;
|
|
990
1163
|
pageInfo?: Maybe<PageInfo>;
|
|
991
1164
|
};
|
|
1165
|
+
/** CompleteOnboardingStepInput marks a single checklist step as done. */
|
|
1166
|
+
export type CompleteOnboardingStepInput = {
|
|
1167
|
+
stepId: OnboardingStepId;
|
|
1168
|
+
workspaceId: Scalars['Int']['input'];
|
|
1169
|
+
};
|
|
992
1170
|
export type Configurations = {
|
|
993
1171
|
__typename?: 'Configurations';
|
|
994
1172
|
askForAddress?: Maybe<Scalars['Boolean']['output']>;
|
|
@@ -1007,6 +1185,10 @@ export type Configurations = {
|
|
|
1007
1185
|
instructionsVersion?: Maybe<Scalars['String']['output']>;
|
|
1008
1186
|
personaPrompt?: Maybe<Scalars['String']['output']>;
|
|
1009
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']>;
|
|
1010
1192
|
};
|
|
1011
1193
|
export type ConfigurationsInput = {
|
|
1012
1194
|
askForAddress?: InputMaybe<Scalars['Boolean']['input']>;
|
|
@@ -1025,6 +1207,10 @@ export type ConfigurationsInput = {
|
|
|
1025
1207
|
instructionsVersion?: InputMaybe<Scalars['String']['input']>;
|
|
1026
1208
|
personaPrompt?: InputMaybe<Scalars['String']['input']>;
|
|
1027
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']>;
|
|
1028
1214
|
};
|
|
1029
1215
|
/** Contact Message payload type represent the schema of content in case of contact message. */
|
|
1030
1216
|
export type ContactMessagePayload = {
|
|
@@ -1200,6 +1386,57 @@ export type ConvPatchInput = {
|
|
|
1200
1386
|
stage?: InputMaybe<Scalars['String']['input']>;
|
|
1201
1387
|
workspaceId: Scalars['Int']['input'];
|
|
1202
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
|
+
};
|
|
1203
1440
|
/**
|
|
1204
1441
|
* ConvStartInput is an input of the conversation start mutation.
|
|
1205
1442
|
* It is used to start a conversation with a client in case of WhatsApp integration.
|
|
@@ -1268,6 +1505,19 @@ export type ConvStartInput = {
|
|
|
1268
1505
|
templateName: Scalars['String']['input'];
|
|
1269
1506
|
workspaceId: Scalars['Int']['input'];
|
|
1270
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
|
+
};
|
|
1271
1521
|
/** ConvTagInput is an input of the conversation tag mutation. */
|
|
1272
1522
|
export type ConvTagInput = {
|
|
1273
1523
|
/** The id of the conversation. */
|
|
@@ -1332,6 +1582,8 @@ export type ConvTagsReportPayload = {
|
|
|
1332
1582
|
/** Conversation is a type of the conversation. */
|
|
1333
1583
|
export type Conversation = {
|
|
1334
1584
|
__typename?: 'Conversation';
|
|
1585
|
+
/** Live voice call on this conversation, when one is ringing or in progress. */
|
|
1586
|
+
activeCall?: Maybe<Call>;
|
|
1335
1587
|
/** Whether the conversation is assigned to an AI. */
|
|
1336
1588
|
aiAssigneed?: Maybe<Scalars['Boolean']['output']>;
|
|
1337
1589
|
/** The AI id of the conversation. */
|
|
@@ -1346,6 +1598,8 @@ export type Conversation = {
|
|
|
1346
1598
|
broadcastId?: Maybe<Scalars['ID']['output']>;
|
|
1347
1599
|
/** The name of the broadcast linked to the conversation. */
|
|
1348
1600
|
broadcastName?: Maybe<Scalars['String']['output']>;
|
|
1601
|
+
/** Noise-filter classification runs for this conversation. Does not include message text. */
|
|
1602
|
+
classificationRuns?: Maybe<Array<ConversationClassificationRun>>;
|
|
1349
1603
|
/** The client of the conversation. */
|
|
1350
1604
|
client?: Maybe<ConversationClient>;
|
|
1351
1605
|
/** The client id of the conversation. */
|
|
@@ -1376,6 +1630,8 @@ export type Conversation = {
|
|
|
1376
1630
|
orderNo?: Maybe<Scalars['String']['output']>;
|
|
1377
1631
|
/** True when the channel's rating/feedback flow is active: assigned to the rating AI and feedback not yet sent. */
|
|
1378
1632
|
ratingFlowInProgress?: Maybe<Scalars['Boolean']['output']>;
|
|
1633
|
+
/** Latest noise-filter sentiment for this conversation (Joy, Anger, Sadness, Fear, Surprise, Disgust). */
|
|
1634
|
+
sentiment?: Maybe<ConversationSentiment>;
|
|
1379
1635
|
/** The referral source type captured when the conversation was started from an ad or referral link. */
|
|
1380
1636
|
sourceType?: Maybe<Scalars['String']['output']>;
|
|
1381
1637
|
/** The referral source URL captured when the conversation was started from an ad or referral link. */
|
|
@@ -1387,6 +1643,24 @@ export type Conversation = {
|
|
|
1387
1643
|
/** The workspace id of the conversation. */
|
|
1388
1644
|
workspaceId: Scalars['Int']['output'];
|
|
1389
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
|
+
};
|
|
1390
1664
|
/** ConversationClient is a type of the conversation client, the needed client data coming with the conversation. */
|
|
1391
1665
|
export type ConversationClient = {
|
|
1392
1666
|
__typename?: 'ConversationClient';
|
|
@@ -1436,6 +1710,15 @@ export type ConversationReport = {
|
|
|
1436
1710
|
responseRate: Scalars['Float']['output'];
|
|
1437
1711
|
workspaceId: Scalars['Int']['output'];
|
|
1438
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];
|
|
1439
1722
|
/**
|
|
1440
1723
|
* ConvsInput is an input of the conversations query.
|
|
1441
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.
|
|
@@ -1482,22 +1765,75 @@ export type ConvsReportPayload = {
|
|
|
1482
1765
|
__typename?: 'ConvsReportPayload';
|
|
1483
1766
|
nodes?: Maybe<Array<ConversationReport>>;
|
|
1484
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
|
+
};
|
|
1485
1813
|
/** CreateWorkspaceInput is an input of the createWorkspace mutation. */
|
|
1486
1814
|
export type CreateWorkspaceInput = {
|
|
1487
1815
|
accountId?: InputMaybe<Scalars['String']['input']>;
|
|
1488
1816
|
address?: InputMaybe<Scalars['String']['input']>;
|
|
1489
1817
|
city?: InputMaybe<Scalars['String']['input']>;
|
|
1818
|
+
companySize?: InputMaybe<Scalars['String']['input']>;
|
|
1490
1819
|
companyUserId?: InputMaybe<Scalars['Int']['input']>;
|
|
1491
1820
|
contactPersonEmail?: InputMaybe<Scalars['String']['input']>;
|
|
1492
1821
|
contactPersonName?: InputMaybe<Scalars['String']['input']>;
|
|
1493
1822
|
contactPersonPhoneNumber?: InputMaybe<Scalars['String']['input']>;
|
|
1494
1823
|
country?: InputMaybe<Scalars['String']['input']>;
|
|
1824
|
+
creatorRole?: InputMaybe<Scalars['String']['input']>;
|
|
1825
|
+
/**
|
|
1826
|
+
* Profile answers from the create-workspace form. Stored on the workspace's
|
|
1827
|
+
* onboarding record. Accepted values come from the onboardingOptions query.
|
|
1828
|
+
*/
|
|
1829
|
+
industry?: InputMaybe<Scalars['String']['input']>;
|
|
1495
1830
|
/** The name of the workspace. */
|
|
1496
1831
|
name: Scalars['String']['input'];
|
|
1497
1832
|
phoneNumber?: InputMaybe<Scalars['String']['input']>;
|
|
1498
1833
|
subscriptionType?: InputMaybe<Scalars['String']['input']>;
|
|
1499
1834
|
taxNumber?: InputMaybe<Scalars['String']['input']>;
|
|
1500
1835
|
taxOffice?: InputMaybe<Scalars['String']['input']>;
|
|
1836
|
+
useCase?: InputMaybe<Scalars['String']['input']>;
|
|
1501
1837
|
website?: InputMaybe<Scalars['String']['input']>;
|
|
1502
1838
|
};
|
|
1503
1839
|
/**
|
|
@@ -1539,6 +1875,7 @@ export type DeleteWorkspaceCoreCounts = {
|
|
|
1539
1875
|
broadcastReports: Scalars['Int']['output'];
|
|
1540
1876
|
broadcasts: Scalars['Int']['output'];
|
|
1541
1877
|
clients: Scalars['Int']['output'];
|
|
1878
|
+
convStageReports: Scalars['Int']['output'];
|
|
1542
1879
|
convTagReports: Scalars['Int']['output'];
|
|
1543
1880
|
conversationReports: Scalars['Int']['output'];
|
|
1544
1881
|
conversations: Scalars['Int']['output'];
|
|
@@ -1564,6 +1901,13 @@ export type DeleteWorkspaceResult = {
|
|
|
1564
1901
|
core: DeleteWorkspaceCoreCounts;
|
|
1565
1902
|
workspaceId: Scalars['Int']['output'];
|
|
1566
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
|
+
};
|
|
1567
1911
|
/**
|
|
1568
1912
|
* ErrorCode is an enum for the error codes.
|
|
1569
1913
|
* - UNAUTHENTICATED: The user is not authenticated.
|
|
@@ -1618,6 +1962,40 @@ export type IdUpdateDto = {
|
|
|
1618
1962
|
traceId?: Maybe<Scalars['String']['output']>;
|
|
1619
1963
|
workspaceId: Scalars['Int']['output'];
|
|
1620
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
|
+
};
|
|
1621
1999
|
export type InputAccess = {
|
|
1622
2000
|
/** Specify the list of permissions that can access the resource. */
|
|
1623
2001
|
requiredPermissions?: InputMaybe<Array<Permission>>;
|
|
@@ -1652,6 +2030,8 @@ export type InputUsersRoles = {
|
|
|
1652
2030
|
/** Integration is a type for the integration/channel. */
|
|
1653
2031
|
export type Integration = {
|
|
1654
2032
|
__typename?: 'Integration';
|
|
2033
|
+
/** True when WhatsApp voice calling is turned on for this channel. */
|
|
2034
|
+
callingEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
1655
2035
|
createdAt: Scalars['DateTime']['output'];
|
|
1656
2036
|
deletedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
1657
2037
|
/** The id of the integration. */
|
|
@@ -1842,6 +2222,11 @@ export type Message = {
|
|
|
1842
2222
|
status?: Maybe<MessageStatus>;
|
|
1843
2223
|
/** The tags of the message. */
|
|
1844
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']>;
|
|
1845
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. */
|
|
1846
2231
|
trunk?: Maybe<Scalars['String']['output']>;
|
|
1847
2232
|
/** The type of the message. */
|
|
@@ -1953,6 +2338,77 @@ export type MessageReactionInput = {
|
|
|
1953
2338
|
messageId: Scalars['ID']['input'];
|
|
1954
2339
|
workspaceId: Scalars['Int']['input'];
|
|
1955
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
|
+
};
|
|
1956
2412
|
/**
|
|
1957
2413
|
* MessageStatus is an enum of the message statuses.
|
|
1958
2414
|
* It can be:
|
|
@@ -2082,6 +2538,7 @@ export type Mutation = {
|
|
|
2082
2538
|
addMessage: Message;
|
|
2083
2539
|
/** Add a quick reply. You should have the MANAGE_WORKSPACE permission to add a quick reply. */
|
|
2084
2540
|
addQuickReply: QuickReply;
|
|
2541
|
+
answerCall: CallJoinPayload;
|
|
2085
2542
|
/** Assign a conversation to an agent. If you don't have the MANAGE_CONVS permission, you can only assign the conversation to yourself. */
|
|
2086
2543
|
assignConv: Conversation;
|
|
2087
2544
|
assignOwner: UserRole;
|
|
@@ -2121,6 +2578,8 @@ export type Mutation = {
|
|
|
2121
2578
|
* You should have the MANAGE_CONVS permission to cancel a broadcast.
|
|
2122
2579
|
*/
|
|
2123
2580
|
cancelBroadcast: Broadcast;
|
|
2581
|
+
/** Mark a checklist step complete. Idempotent — completing a done step is a no-op. */
|
|
2582
|
+
completeOnboardingStep: WorkspaceOnboarding;
|
|
2124
2583
|
/** Continue a live conversation on another integration and append switch history. */
|
|
2125
2584
|
continueConvOn: Conversation;
|
|
2126
2585
|
/** Create an agent. You should have the MANAGE_WORKSPACE permission to create an agent. */
|
|
@@ -2133,15 +2592,32 @@ export type Mutation = {
|
|
|
2133
2592
|
createAi: Ai;
|
|
2134
2593
|
/** Create a broadcast. You should have the MANAGE_CONVS permission to create a broadcast. */
|
|
2135
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;
|
|
2136
2600
|
/** Create a client. You should have the MANAGE_CLIENTS permission to create a client. */
|
|
2137
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;
|
|
2138
2608
|
/** Create an integration. You should have the MANAGE_WORKSPACE permission to create an integration. */
|
|
2139
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;
|
|
2140
2613
|
createSource: Source;
|
|
2141
2614
|
/** Create a tag. You should have the MANAGE_WORKSPACE permission to create a tag. */
|
|
2142
2615
|
createTag: Tag;
|
|
2143
2616
|
createWebhook: Webhook;
|
|
2144
|
-
/**
|
|
2617
|
+
/**
|
|
2618
|
+
* Create a workspace and link it to the current authenticated user.
|
|
2619
|
+
* Also creates the workspace's onboarding record.
|
|
2620
|
+
*/
|
|
2145
2621
|
createWorkspace: Workspace;
|
|
2146
2622
|
/** Delete an agent. You should have the MANAGE_WORKSPACE permission to delete an agent. */
|
|
2147
2623
|
deleteAgent: Agent;
|
|
@@ -2156,6 +2632,7 @@ export type Mutation = {
|
|
|
2156
2632
|
deleteClientByExternalId: Client;
|
|
2157
2633
|
/** Delete an integration. You should have the MANAGE_WORKSPACE permission to delete an integration. */
|
|
2158
2634
|
deleteIntegration: Integration;
|
|
2635
|
+
deleteQa: QaEntry;
|
|
2159
2636
|
deleteSource: Source;
|
|
2160
2637
|
/** Delete a tag. You should have the MANAGE_WORKSPACE permission to delete a tag. */
|
|
2161
2638
|
deleteTag: Tag;
|
|
@@ -2167,12 +2644,15 @@ export type Mutation = {
|
|
|
2167
2644
|
* Removes core data, then calls internal endpoints on bot, billing, and auth to remove related data.
|
|
2168
2645
|
*/
|
|
2169
2646
|
deleteWorkspace: DeleteWorkspaceResult;
|
|
2647
|
+
/** Finish or dismiss the checklist so it stops being shown. Idempotent. */
|
|
2648
|
+
dismissWorkspaceOnboarding: WorkspaceOnboarding;
|
|
2170
2649
|
/** End a conversation. If you don't have the MANAGE_CONVS permission, you can only end the conversation you are assigned to. */
|
|
2171
2650
|
endConv: Conversation;
|
|
2172
2651
|
/** Generate an API key. You should have the MANAGE_WORKSPACE permission to generate an API key. */
|
|
2173
2652
|
genApiKey: ApiKey;
|
|
2174
2653
|
/** Handover a conversation to an agent using AUTO assignment strategy. */
|
|
2175
2654
|
handoverConv: Conversation;
|
|
2655
|
+
hangupCall: Call;
|
|
2176
2656
|
/** Required after the creation of a workspace to take ownership on it */
|
|
2177
2657
|
initWorkspace: UserRole;
|
|
2178
2658
|
/** Launch a broadcast. You should have the MANAGE_CONVS permission to launch a broadcast. */
|
|
@@ -2195,17 +2675,23 @@ export type Mutation = {
|
|
|
2195
2675
|
patchSource: Source;
|
|
2196
2676
|
/** Update workspace settings. You should have the MANAGE_WORKSPACE permission to update workspace settings. */
|
|
2197
2677
|
patchWorkspaceSettings: WorkspaceSettings;
|
|
2678
|
+
publishQa: QaEntry;
|
|
2198
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. */
|
|
2199
2680
|
putClient: Client;
|
|
2200
2681
|
/** React to a message with an emoji. */
|
|
2201
2682
|
reactToMessage: Message;
|
|
2683
|
+
rejectCall: Call;
|
|
2202
2684
|
/** Remove a quick reply. You should have the MANAGE_WORKSPACE permission to remove a quick reply. */
|
|
2203
2685
|
removeQuickReply: QuickReply;
|
|
2686
|
+
/** Remove a user from a workspace membership. Caller must be a member. */
|
|
2687
|
+
removeWorkspaceMember: Scalars['Boolean']['output'];
|
|
2204
2688
|
/**
|
|
2205
2689
|
* Retry failed broadcast targets whose failure reason is transient.
|
|
2206
2690
|
* You should have the MANAGE_CONVS permission to retry failed broadcast targets.
|
|
2207
2691
|
*/
|
|
2208
2692
|
retryFailedBroadcastTargets: RetryFailedBroadcastTargetsPayload;
|
|
2693
|
+
/** Revoke a pending or approved workspace invitation. Caller must be a member. */
|
|
2694
|
+
revokeWorkspaceInvitation: Scalars['Boolean']['output'];
|
|
2209
2695
|
say?: Maybe<HelloMessage>;
|
|
2210
2696
|
/** Send a notification to a client. (It can be used also for OTP messages) */
|
|
2211
2697
|
sendNotification: Message;
|
|
@@ -2233,6 +2719,7 @@ export type Mutation = {
|
|
|
2233
2719
|
undeleteClient: Client;
|
|
2234
2720
|
/** Undelete a client by externalClientId. You should have the MANAGE_CLIENTS permission to undelete a client. */
|
|
2235
2721
|
undeleteClientByExternalId: Client;
|
|
2722
|
+
unpublishQa: QaEntry;
|
|
2236
2723
|
/** Remove an emoji reaction from a message. */
|
|
2237
2724
|
unreactToMessage: Message;
|
|
2238
2725
|
/** Untag a client. You should have the MANAGE_CLIENTS permission to untag a client. */
|
|
@@ -2241,6 +2728,11 @@ export type Mutation = {
|
|
|
2241
2728
|
untagConv: Conversation;
|
|
2242
2729
|
/** Untag a message. */
|
|
2243
2730
|
untagMessage: Message;
|
|
2731
|
+
updateQa: QaEntry;
|
|
2732
|
+
/** Rename a workspace. Caller must be a member; name must be unique. */
|
|
2733
|
+
updateWorkspace: Workspace;
|
|
2734
|
+
/** Save the company profile answers for an existing workspace. */
|
|
2735
|
+
updateWorkspaceProfile: WorkspaceProfile;
|
|
2244
2736
|
};
|
|
2245
2737
|
export type MutationAddMessageArgs = {
|
|
2246
2738
|
input: MessageInput;
|
|
@@ -2248,6 +2740,9 @@ export type MutationAddMessageArgs = {
|
|
|
2248
2740
|
export type MutationAddQuickReplyArgs = {
|
|
2249
2741
|
input: QuickReplyAddInput;
|
|
2250
2742
|
};
|
|
2743
|
+
export type MutationAnswerCallArgs = {
|
|
2744
|
+
input: CallActionInput;
|
|
2745
|
+
};
|
|
2251
2746
|
export type MutationAssignConvArgs = {
|
|
2252
2747
|
input: ConvAssignInput;
|
|
2253
2748
|
};
|
|
@@ -2287,6 +2782,9 @@ export type MutationBulkUndeleteClientsArgs = {
|
|
|
2287
2782
|
export type MutationCancelBroadcastArgs = {
|
|
2288
2783
|
input: BroadcastCancelInput;
|
|
2289
2784
|
};
|
|
2785
|
+
export type MutationCompleteOnboardingStepArgs = {
|
|
2786
|
+
input: CompleteOnboardingStepInput;
|
|
2787
|
+
};
|
|
2290
2788
|
export type MutationContinueConvOnArgs = {
|
|
2291
2789
|
input: ConvContinueOnInput;
|
|
2292
2790
|
};
|
|
@@ -2302,12 +2800,24 @@ export type MutationCreateAiArgs = {
|
|
|
2302
2800
|
export type MutationCreateBroadcastArgs = {
|
|
2303
2801
|
input: BroadcastCreateInput;
|
|
2304
2802
|
};
|
|
2803
|
+
export type MutationCreateChannelConnectLinkArgs = {
|
|
2804
|
+
input: CreateChannelConnectLinkInput;
|
|
2805
|
+
};
|
|
2305
2806
|
export type MutationCreateClientArgs = {
|
|
2306
2807
|
input: ClientCreateInput;
|
|
2307
2808
|
};
|
|
2809
|
+
export type MutationCreateDemoConversationArgs = {
|
|
2810
|
+
input: CreateDemoConversationInput;
|
|
2811
|
+
};
|
|
2308
2812
|
export type MutationCreateIntegrationArgs = {
|
|
2309
2813
|
input: IntegrationCreateInput;
|
|
2310
2814
|
};
|
|
2815
|
+
export type MutationCreateIntegrationByConnectLinkArgs = {
|
|
2816
|
+
input: CreateIntegrationByConnectLinkInput;
|
|
2817
|
+
};
|
|
2818
|
+
export type MutationCreateQaArgs = {
|
|
2819
|
+
input: QaCreateInput;
|
|
2820
|
+
};
|
|
2311
2821
|
export type MutationCreateSourceArgs = {
|
|
2312
2822
|
input: SourceCreateInput;
|
|
2313
2823
|
};
|
|
@@ -2341,6 +2851,9 @@ export type MutationDeleteClientByExternalIdArgs = {
|
|
|
2341
2851
|
export type MutationDeleteIntegrationArgs = {
|
|
2342
2852
|
input: IntegrationDeleteInput;
|
|
2343
2853
|
};
|
|
2854
|
+
export type MutationDeleteQaArgs = {
|
|
2855
|
+
input: QaIdInput;
|
|
2856
|
+
};
|
|
2344
2857
|
export type MutationDeleteSourceArgs = {
|
|
2345
2858
|
input: SourceDeleteInput;
|
|
2346
2859
|
};
|
|
@@ -2353,6 +2866,9 @@ export type MutationDeleteWebhookArgs = {
|
|
|
2353
2866
|
export type MutationDeleteWorkspaceArgs = {
|
|
2354
2867
|
input: DeleteWorkspaceInput;
|
|
2355
2868
|
};
|
|
2869
|
+
export type MutationDismissWorkspaceOnboardingArgs = {
|
|
2870
|
+
input: WorkspaceOnboardingInput;
|
|
2871
|
+
};
|
|
2356
2872
|
export type MutationEndConvArgs = {
|
|
2357
2873
|
input: ConvEndInput;
|
|
2358
2874
|
};
|
|
@@ -2362,6 +2878,9 @@ export type MutationGenApiKeyArgs = {
|
|
|
2362
2878
|
export type MutationHandoverConvArgs = {
|
|
2363
2879
|
input: ConvHandoverInput;
|
|
2364
2880
|
};
|
|
2881
|
+
export type MutationHangupCallArgs = {
|
|
2882
|
+
input: CallActionInput;
|
|
2883
|
+
};
|
|
2365
2884
|
export type MutationInitWorkspaceArgs = {
|
|
2366
2885
|
input: InputInitWorkspace;
|
|
2367
2886
|
};
|
|
@@ -2398,18 +2917,31 @@ export type MutationPatchSourceArgs = {
|
|
|
2398
2917
|
export type MutationPatchWorkspaceSettingsArgs = {
|
|
2399
2918
|
input: WorkspaceSettingsPatchInput;
|
|
2400
2919
|
};
|
|
2920
|
+
export type MutationPublishQaArgs = {
|
|
2921
|
+
input: QaIdInput;
|
|
2922
|
+
};
|
|
2401
2923
|
export type MutationPutClientArgs = {
|
|
2402
2924
|
input: ClientPutInput;
|
|
2403
2925
|
};
|
|
2404
2926
|
export type MutationReactToMessageArgs = {
|
|
2405
2927
|
input: MessageReactionInput;
|
|
2406
2928
|
};
|
|
2929
|
+
export type MutationRejectCallArgs = {
|
|
2930
|
+
input: CallActionInput;
|
|
2931
|
+
};
|
|
2407
2932
|
export type MutationRemoveQuickReplyArgs = {
|
|
2408
2933
|
input: QuickReplyRemoveInput;
|
|
2409
2934
|
};
|
|
2935
|
+
export type MutationRemoveWorkspaceMemberArgs = {
|
|
2936
|
+
userId: Scalars['ID']['input'];
|
|
2937
|
+
workspaceId: Scalars['Int']['input'];
|
|
2938
|
+
};
|
|
2410
2939
|
export type MutationRetryFailedBroadcastTargetsArgs = {
|
|
2411
2940
|
input: RetryFailedBroadcastTargetsInput;
|
|
2412
2941
|
};
|
|
2942
|
+
export type MutationRevokeWorkspaceInvitationArgs = {
|
|
2943
|
+
id: Scalars['ID']['input'];
|
|
2944
|
+
};
|
|
2413
2945
|
export type MutationSayArgs = {
|
|
2414
2946
|
input: UserInput;
|
|
2415
2947
|
};
|
|
@@ -2443,6 +2975,9 @@ export type MutationUndeleteClientArgs = {
|
|
|
2443
2975
|
export type MutationUndeleteClientByExternalIdArgs = {
|
|
2444
2976
|
input: ClientDeleteByExternalIdInput;
|
|
2445
2977
|
};
|
|
2978
|
+
export type MutationUnpublishQaArgs = {
|
|
2979
|
+
input: QaIdInput;
|
|
2980
|
+
};
|
|
2446
2981
|
export type MutationUnreactToMessageArgs = {
|
|
2447
2982
|
input: MessageReactionInput;
|
|
2448
2983
|
};
|
|
@@ -2455,6 +2990,63 @@ export type MutationUntagConvArgs = {
|
|
|
2455
2990
|
export type MutationUntagMessageArgs = {
|
|
2456
2991
|
input: MessageTagInput;
|
|
2457
2992
|
};
|
|
2993
|
+
export type MutationUpdateQaArgs = {
|
|
2994
|
+
input: QaUpdateInput;
|
|
2995
|
+
};
|
|
2996
|
+
export type MutationUpdateWorkspaceArgs = {
|
|
2997
|
+
input: UpdateWorkspaceInput;
|
|
2998
|
+
};
|
|
2999
|
+
export type MutationUpdateWorkspaceProfileArgs = {
|
|
3000
|
+
input: UpdateWorkspaceProfileInput;
|
|
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
|
+
};
|
|
2458
3050
|
/**
|
|
2459
3051
|
* NoteType is an enum of the note types.
|
|
2460
3052
|
* It can be:
|
|
@@ -2476,6 +3068,30 @@ export declare const NoteType: {
|
|
|
2476
3068
|
readonly UNTAG: "UNTAG";
|
|
2477
3069
|
};
|
|
2478
3070
|
export type NoteType = typeof NoteType[keyof typeof NoteType];
|
|
3071
|
+
/**
|
|
3072
|
+
* OnboardingOptions are the accepted values for the profile fields, served from the
|
|
3073
|
+
* service so the frontend's dropdowns cannot drift from what will validate.
|
|
3074
|
+
*/
|
|
3075
|
+
export type OnboardingOptions = {
|
|
3076
|
+
__typename?: 'OnboardingOptions';
|
|
3077
|
+
companySizes: Array<Scalars['String']['output']>;
|
|
3078
|
+
creatorRoles: Array<Scalars['String']['output']>;
|
|
3079
|
+
industries: Array<Scalars['String']['output']>;
|
|
3080
|
+
useCases: Array<Scalars['String']['output']>;
|
|
3081
|
+
};
|
|
3082
|
+
/**
|
|
3083
|
+
* OnboardingStepId identifies a step of the workspace setup checklist.
|
|
3084
|
+
* Values mirror the client's step ids.
|
|
3085
|
+
*/
|
|
3086
|
+
export declare const OnboardingStepId: {
|
|
3087
|
+
readonly CHANNEL: "channel";
|
|
3088
|
+
readonly FIRSTMESSAGE: "firstMessage";
|
|
3089
|
+
readonly INVITE: "invite";
|
|
3090
|
+
readonly TESTAI: "testAi";
|
|
3091
|
+
readonly UPLOADFILE: "uploadFile";
|
|
3092
|
+
readonly WORKSPACE: "workspace";
|
|
3093
|
+
};
|
|
3094
|
+
export type OnboardingStepId = typeof OnboardingStepId[keyof typeof OnboardingStepId];
|
|
2479
3095
|
/** OpenConversationsNeedResponseInput is an input for counting open conversations that need a response. */
|
|
2480
3096
|
export type OpenConversationsNeedResponseInput = {
|
|
2481
3097
|
/** The assignee id of the conversation. Used to filter the conversations by the assignee id. */
|
|
@@ -2515,8 +3131,59 @@ export declare const Permission: {
|
|
|
2515
3131
|
readonly MANAGE_WORKSPACE: "MANAGE_WORKSPACE";
|
|
2516
3132
|
};
|
|
2517
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
|
+
};
|
|
2518
3184
|
export type Query = {
|
|
2519
3185
|
__typename?: 'Query';
|
|
3186
|
+
activeCalls: Array<Call>;
|
|
2520
3187
|
/** Get an agent. */
|
|
2521
3188
|
agent: Agent;
|
|
2522
3189
|
/** Get the agents. */
|
|
@@ -2524,6 +3191,7 @@ export type Query = {
|
|
|
2524
3191
|
/** Get the agents report. You should have the MANAGE_CONVS permission to get the agents report. */
|
|
2525
3192
|
agentsReport: AgentsReportPayload;
|
|
2526
3193
|
ai: Ai;
|
|
3194
|
+
aiVoices: Array<AiVoice>;
|
|
2527
3195
|
ais: AIsPayload;
|
|
2528
3196
|
/** Get the API keys. You should have the MANAGE_WORKSPACE permission to get the API keys. */
|
|
2529
3197
|
apiKeys: ApiKeysPayload;
|
|
@@ -2541,10 +3209,14 @@ export type Query = {
|
|
|
2541
3209
|
broadcasts: BroadcastsPayload;
|
|
2542
3210
|
/** Get the status of a bulk import contacts job. You should have the MANAGE_CLIENTS permission to query job status. */
|
|
2543
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;
|
|
2544
3214
|
/** Get a client. You should have the MANAGE_CLIENTS permission to get a client. */
|
|
2545
3215
|
client: Client;
|
|
2546
3216
|
/** Get a client by phone number. You should have the MANAGE_CLIENTS permission to get a client. */
|
|
2547
3217
|
clientByPhone: Client;
|
|
3218
|
+
/** Get AI suggestions (tags, lifecycle stage) for a client. Nothing is applied. */
|
|
3219
|
+
clientSuggestions: ClientSuggestionsPayload;
|
|
2548
3220
|
/** Get the clients. You should have the MANAGE_CLIENTS permission to get the clients. */
|
|
2549
3221
|
clients: ClientsPayload;
|
|
2550
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). */
|
|
@@ -2555,6 +3227,13 @@ export type Query = {
|
|
|
2555
3227
|
convEnhanceMessage: ConvAssistPayload;
|
|
2556
3228
|
/** Get the last message of a conversation if it is currently open. Returns null if the conversation is ended or not found. */
|
|
2557
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;
|
|
2558
3237
|
/** Get an AI summary for conversation messages. */
|
|
2559
3238
|
convSummary: ConvAssistPayload;
|
|
2560
3239
|
/** Get the conversation tags report. You should have the MANAGE_CONVS permission to get the tags report. */
|
|
@@ -2566,9 +3245,9 @@ export type Query = {
|
|
|
2566
3245
|
/** Get the current authenticated user's details. */
|
|
2567
3246
|
currentUser: User;
|
|
2568
3247
|
hello: HelloMessage;
|
|
2569
|
-
/** Get an integration. */
|
|
3248
|
+
/** Get an integration. Requires a role on the workspace. */
|
|
2570
3249
|
integration: Integration;
|
|
2571
|
-
/** Get the integrations. */
|
|
3250
|
+
/** Get the integrations. Requires a role on the workspace. */
|
|
2572
3251
|
integrations: IntegrationsPayload;
|
|
2573
3252
|
/**
|
|
2574
3253
|
* Validate that a workspace name is not already used.
|
|
@@ -2576,12 +3255,23 @@ export type Query = {
|
|
|
2576
3255
|
*/
|
|
2577
3256
|
isWorkspaceNameAvailable: Scalars['Boolean']['output'];
|
|
2578
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;
|
|
2579
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. */
|
|
2580
3266
|
messages: MessagesPayload;
|
|
3267
|
+
/** Get the accepted values for the workspace profile fields. */
|
|
3268
|
+
onboardingOptions: OnboardingOptions;
|
|
2581
3269
|
/** Get the count of open conversations that have recent client messages (conversations that need a response). */
|
|
2582
3270
|
openConversationsNeedResponseCount: Scalars['Int']['output'];
|
|
3271
|
+
qaEntries: QaEntriesPayload;
|
|
2583
3272
|
/** Get quick replies. */
|
|
2584
3273
|
quickReplies: QuickRepliesPayload;
|
|
3274
|
+
similarQa: SimilarQaPayload;
|
|
2585
3275
|
sources: SourcesPayload;
|
|
2586
3276
|
/** Get tags. */
|
|
2587
3277
|
tags: TagsPayload;
|
|
@@ -2597,18 +3287,30 @@ export type Query = {
|
|
|
2597
3287
|
usersRoles: UsersRolesPayload;
|
|
2598
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. */
|
|
2599
3289
|
validateBulkImportContacts: ValidateBulkImportContactsResult;
|
|
2600
|
-
/** Get the WhatsApp message template details including components. */
|
|
3290
|
+
/** Get the WhatsApp message template details including components. Requires a role on the workspace. */
|
|
2601
3291
|
wabaMessageTemplateDetails: MessageTemplateDetails;
|
|
2602
|
-
/** Get the WhatsApp message templates. */
|
|
3292
|
+
/** Get the WhatsApp message templates. Requires a role on the workspace. */
|
|
2603
3293
|
wabaMessageTemplates: MessageTemplatesPayload;
|
|
2604
3294
|
webhooks: WebhooksPayload;
|
|
2605
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. */
|
|
2606
3296
|
workspaceBroadcastMessageStatuses: BroadcastMessageStatusesPayload;
|
|
3297
|
+
/**
|
|
3298
|
+
* List pending/approved invitations for a workspace. Empty when Clerk is off.
|
|
3299
|
+
* Caller must be a member.
|
|
3300
|
+
*/
|
|
3301
|
+
workspaceInvitations: Array<WorkspaceInvitation>;
|
|
3302
|
+
/** List members of a workspace. Caller must be a member. */
|
|
3303
|
+
workspaceMembers: Array<WorkspaceMember>;
|
|
3304
|
+
/** Get the onboarding record for a workspace, or null if the workspace has none. */
|
|
3305
|
+
workspaceOnboarding?: Maybe<WorkspaceOnboarding>;
|
|
2607
3306
|
/** Get workspace settings. */
|
|
2608
3307
|
workspaceSettings?: Maybe<WorkspaceSettings>;
|
|
2609
3308
|
/** Get workspaces with pagination and filters. */
|
|
2610
3309
|
workspaces: WorkspacesPayload;
|
|
2611
3310
|
};
|
|
3311
|
+
export type QueryActiveCallsArgs = {
|
|
3312
|
+
input: ActiveCallsInput;
|
|
3313
|
+
};
|
|
2612
3314
|
export type QueryAgentArgs = {
|
|
2613
3315
|
input: AgentInput;
|
|
2614
3316
|
};
|
|
@@ -2622,6 +3324,9 @@ export type QueryAgentsReportArgs = {
|
|
|
2622
3324
|
export type QueryAiArgs = {
|
|
2623
3325
|
input: AiInput;
|
|
2624
3326
|
};
|
|
3327
|
+
export type QueryAiVoicesArgs = {
|
|
3328
|
+
input: AiVoicesInput;
|
|
3329
|
+
};
|
|
2625
3330
|
export type QueryAisArgs = {
|
|
2626
3331
|
input: AIsInput;
|
|
2627
3332
|
};
|
|
@@ -2652,12 +3357,18 @@ export type QueryBroadcastsArgs = {
|
|
|
2652
3357
|
export type QueryBulkImportContactsJobStatusArgs = {
|
|
2653
3358
|
input: BulkImportContactsJobStatusInput;
|
|
2654
3359
|
};
|
|
3360
|
+
export type QueryChannelConnectLinkArgs = {
|
|
3361
|
+
input: ChannelConnectLinkInput;
|
|
3362
|
+
};
|
|
2655
3363
|
export type QueryClientArgs = {
|
|
2656
3364
|
input: ClientInput;
|
|
2657
3365
|
};
|
|
2658
3366
|
export type QueryClientByPhoneArgs = {
|
|
2659
3367
|
input: ClientByPhoneInput;
|
|
2660
3368
|
};
|
|
3369
|
+
export type QueryClientSuggestionsArgs = {
|
|
3370
|
+
input: ClientSuggestionsInput;
|
|
3371
|
+
};
|
|
2661
3372
|
export type QueryClientsArgs = {
|
|
2662
3373
|
input: ClientsInput;
|
|
2663
3374
|
pageInfo?: InputMaybe<PageInfoInput>;
|
|
@@ -2674,6 +3385,12 @@ export type QueryConvEnhanceMessageArgs = {
|
|
|
2674
3385
|
export type QueryConvLastMessageArgs = {
|
|
2675
3386
|
input: ConvLastMessageInput;
|
|
2676
3387
|
};
|
|
3388
|
+
export type QueryConvStagesReportArgs = {
|
|
3389
|
+
input: ConvStagesReportInput;
|
|
3390
|
+
};
|
|
3391
|
+
export type QueryConvSuggestionsArgs = {
|
|
3392
|
+
input: ConvSuggestionsInput;
|
|
3393
|
+
};
|
|
2677
3394
|
export type QueryConvSummaryArgs = {
|
|
2678
3395
|
input: ConvAssistInput;
|
|
2679
3396
|
};
|
|
@@ -2699,6 +3416,12 @@ export type QueryIsWorkspaceNameAvailableArgs = {
|
|
|
2699
3416
|
export type QueryMeArgs = {
|
|
2700
3417
|
input: InputInitWorkspace;
|
|
2701
3418
|
};
|
|
3419
|
+
export type QueryMessageReportArgs = {
|
|
3420
|
+
input: MessageReportInput;
|
|
3421
|
+
};
|
|
3422
|
+
export type QueryMessageReportTodayArgs = {
|
|
3423
|
+
input: MessageReportTodayInput;
|
|
3424
|
+
};
|
|
2702
3425
|
export type QueryMessagesArgs = {
|
|
2703
3426
|
input: MessagesInput;
|
|
2704
3427
|
pageInfo?: InputMaybe<PageInfoInput>;
|
|
@@ -2706,9 +3429,15 @@ export type QueryMessagesArgs = {
|
|
|
2706
3429
|
export type QueryOpenConversationsNeedResponseCountArgs = {
|
|
2707
3430
|
input: OpenConversationsNeedResponseInput;
|
|
2708
3431
|
};
|
|
3432
|
+
export type QueryQaEntriesArgs = {
|
|
3433
|
+
input: QaEntriesInput;
|
|
3434
|
+
};
|
|
2709
3435
|
export type QueryQuickRepliesArgs = {
|
|
2710
3436
|
input: QuickRepliesInput;
|
|
2711
3437
|
};
|
|
3438
|
+
export type QuerySimilarQaArgs = {
|
|
3439
|
+
input: SimilarQaInput;
|
|
3440
|
+
};
|
|
2712
3441
|
export type QuerySourcesArgs = {
|
|
2713
3442
|
input: SourcesInput;
|
|
2714
3443
|
};
|
|
@@ -2745,6 +3474,15 @@ export type QueryWorkspaceBroadcastMessageStatusesArgs = {
|
|
|
2745
3474
|
input: WorkspaceBroadcastMessageStatusesInput;
|
|
2746
3475
|
pageInfo?: InputMaybe<PageInfoInput>;
|
|
2747
3476
|
};
|
|
3477
|
+
export type QueryWorkspaceInvitationsArgs = {
|
|
3478
|
+
workspaceId: Scalars['Int']['input'];
|
|
3479
|
+
};
|
|
3480
|
+
export type QueryWorkspaceMembersArgs = {
|
|
3481
|
+
workspaceId: Scalars['Int']['input'];
|
|
3482
|
+
};
|
|
3483
|
+
export type QueryWorkspaceOnboardingArgs = {
|
|
3484
|
+
input: WorkspaceOnboardingInput;
|
|
3485
|
+
};
|
|
2748
3486
|
export type QueryWorkspaceSettingsArgs = {
|
|
2749
3487
|
input: WorkspaceSettingsInput;
|
|
2750
3488
|
};
|
|
@@ -2895,6 +3633,14 @@ export type SendNotificationInput = {
|
|
|
2895
3633
|
trunk?: InputMaybe<Scalars['String']['input']>;
|
|
2896
3634
|
workspaceId: Scalars['Int']['input'];
|
|
2897
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
|
+
};
|
|
2898
3644
|
export type Source = {
|
|
2899
3645
|
__typename?: 'Source';
|
|
2900
3646
|
createdAt: Scalars['DateTime']['output'];
|
|
@@ -2935,6 +3681,14 @@ export type SourcesPayload = {
|
|
|
2935
3681
|
__typename?: 'SourcesPayload';
|
|
2936
3682
|
nodes?: Maybe<Array<Source>>;
|
|
2937
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
|
+
};
|
|
2938
3692
|
/** StartByCountryCodeConfig is a configuration for the start with country code. */
|
|
2939
3693
|
export type StartByCountryCodeConfig = {
|
|
2940
3694
|
__typename?: 'StartByCountryCodeConfig';
|
|
@@ -2976,6 +3730,26 @@ export type StatusUpdateDto = {
|
|
|
2976
3730
|
traceId?: Maybe<Scalars['String']['output']>;
|
|
2977
3731
|
workspaceId: Scalars['Int']['output'];
|
|
2978
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];
|
|
2979
3753
|
export type Tag = {
|
|
2980
3754
|
__typename?: 'Tag';
|
|
2981
3755
|
createdAt: Scalars['DateTime']['output'];
|
|
@@ -3015,6 +3789,15 @@ export type TagRuleInput = {
|
|
|
3015
3789
|
rule: Scalars['String']['input'];
|
|
3016
3790
|
tag: Scalars['String']['input'];
|
|
3017
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
|
+
};
|
|
3018
3801
|
export declare const TagType: {
|
|
3019
3802
|
readonly CLIENT: "client";
|
|
3020
3803
|
readonly CLIENTSTAGE: "clientStage";
|
|
@@ -3033,11 +3816,20 @@ export type TagsPayload = {
|
|
|
3033
3816
|
__typename?: 'TagsPayload';
|
|
3034
3817
|
nodes?: Maybe<Array<Tag>>;
|
|
3035
3818
|
};
|
|
3036
|
-
/**
|
|
3819
|
+
/**
|
|
3820
|
+
* TemplateState is an enum for the WhatsApp message template status.
|
|
3821
|
+
* Values match Meta Cloud API status on message templates.
|
|
3822
|
+
*/
|
|
3037
3823
|
export declare const TemplateState: {
|
|
3038
3824
|
readonly APPROVED: "APPROVED";
|
|
3039
3825
|
readonly DELETED: "DELETED";
|
|
3826
|
+
readonly DISABLED: "DISABLED";
|
|
3827
|
+
readonly IN_APPEAL: "IN_APPEAL";
|
|
3828
|
+
readonly LIMIT_EXCEEDED: "LIMIT_EXCEEDED";
|
|
3829
|
+
readonly PAUSED: "PAUSED";
|
|
3040
3830
|
readonly PENDING: "PENDING";
|
|
3831
|
+
readonly PENDING_DELETION: "PENDING_DELETION";
|
|
3832
|
+
readonly REJECTED: "REJECTED";
|
|
3041
3833
|
};
|
|
3042
3834
|
export type TemplateState = typeof TemplateState[keyof typeof TemplateState];
|
|
3043
3835
|
export type TokenUsageLog = {
|
|
@@ -3085,6 +3877,22 @@ export type TokenUsageTotalInput = {
|
|
|
3085
3877
|
startDate: Scalars['DateTime']['input'];
|
|
3086
3878
|
workspaceId: Scalars['Int']['input'];
|
|
3087
3879
|
};
|
|
3880
|
+
/** UpdateWorkspaceInput renames (and later may patch) a workspace the caller belongs to. */
|
|
3881
|
+
export type UpdateWorkspaceInput = {
|
|
3882
|
+
id: Scalars['Int']['input'];
|
|
3883
|
+
name: Scalars['String']['input'];
|
|
3884
|
+
};
|
|
3885
|
+
/**
|
|
3886
|
+
* UpdateWorkspaceProfileInput saves the company profile answers.
|
|
3887
|
+
* Omitted fields are left unchanged; an explicit null clears one.
|
|
3888
|
+
*/
|
|
3889
|
+
export type UpdateWorkspaceProfileInput = {
|
|
3890
|
+
companySize?: InputMaybe<Scalars['String']['input']>;
|
|
3891
|
+
creatorRole?: InputMaybe<Scalars['String']['input']>;
|
|
3892
|
+
industry?: InputMaybe<Scalars['String']['input']>;
|
|
3893
|
+
useCase?: InputMaybe<Scalars['String']['input']>;
|
|
3894
|
+
workspaceId: Scalars['Int']['input'];
|
|
3895
|
+
};
|
|
3088
3896
|
export type UploadSignatureResult = {
|
|
3089
3897
|
__typename?: 'UploadSignatureResult';
|
|
3090
3898
|
sas: Scalars['String']['output'];
|
|
@@ -3255,15 +4063,23 @@ export type Workspace = {
|
|
|
3255
4063
|
createDate: Scalars['DateTime']['output'];
|
|
3256
4064
|
id: Scalars['Int']['output'];
|
|
3257
4065
|
name: Scalars['String']['output'];
|
|
4066
|
+
/**
|
|
4067
|
+
* Whether the setup checklist should still be shown for this workspace.
|
|
4068
|
+
* False once it has been dismissed, or if the workspace has no onboarding record.
|
|
4069
|
+
* Lets the client skip the workspaceOnboarding query entirely in the common case.
|
|
4070
|
+
*/
|
|
4071
|
+
onboardingPending: Scalars['Boolean']['output'];
|
|
3258
4072
|
phoneNumber?: Maybe<Scalars['String']['output']>;
|
|
4073
|
+
/** Company profile answers. All fields are null for workspaces that predate the form. */
|
|
4074
|
+
profile: WorkspaceProfile;
|
|
3259
4075
|
subscriptionType?: Maybe<Scalars['String']['output']>;
|
|
3260
4076
|
taxNumber?: Maybe<Scalars['String']['output']>;
|
|
3261
4077
|
taxOffice?: Maybe<Scalars['String']['output']>;
|
|
3262
4078
|
website?: Maybe<Scalars['String']['output']>;
|
|
3263
4079
|
};
|
|
3264
4080
|
/**
|
|
3265
|
-
* Paginated message statuses for outbound
|
|
3266
|
-
* 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.
|
|
3267
4083
|
*/
|
|
3268
4084
|
export type WorkspaceBroadcastMessageStatusesInput = {
|
|
3269
4085
|
/** Filter by client country. */
|
|
@@ -3280,21 +4096,85 @@ export type WorkspaceBroadcastMessageStatusesInput = {
|
|
|
3280
4096
|
templateName?: InputMaybe<Scalars['String']['input']>;
|
|
3281
4097
|
workspaceId: Scalars['Int']['input'];
|
|
3282
4098
|
};
|
|
3283
|
-
/**
|
|
3284
|
-
export type
|
|
3285
|
-
__typename?: '
|
|
3286
|
-
|
|
4099
|
+
/** Pending or approved workspace invitation (Clerk invite flow). */
|
|
4100
|
+
export type WorkspaceInvitation = {
|
|
4101
|
+
__typename?: 'WorkspaceInvitation';
|
|
4102
|
+
approvedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
4103
|
+
createdAt: Scalars['DateTime']['output'];
|
|
4104
|
+
email: Scalars['String']['output'];
|
|
4105
|
+
expiresAt: Scalars['DateTime']['output'];
|
|
4106
|
+
id: Scalars['ID']['output'];
|
|
4107
|
+
status: Scalars['String']['output'];
|
|
4108
|
+
};
|
|
4109
|
+
/** WorkspaceMember is a user linked to a workspace via CompanyMembership. */
|
|
4110
|
+
export type WorkspaceMember = {
|
|
4111
|
+
__typename?: 'WorkspaceMember';
|
|
4112
|
+
email?: Maybe<Scalars['String']['output']>;
|
|
4113
|
+
id: Scalars['ID']['output'];
|
|
4114
|
+
isEnabled: Scalars['Boolean']['output'];
|
|
4115
|
+
userName?: Maybe<Scalars['String']['output']>;
|
|
4116
|
+
};
|
|
4117
|
+
/**
|
|
4118
|
+
* WorkspaceOnboarding is the setup checklist for a workspace.
|
|
4119
|
+
* It is scoped to the workspace, not to the member viewing it: each step is a
|
|
4120
|
+
* workspace-level achievement, so a step completed by one member is done for all.
|
|
4121
|
+
*/
|
|
4122
|
+
export type WorkspaceOnboarding = {
|
|
4123
|
+
__typename?: 'WorkspaceOnboarding';
|
|
4124
|
+
/**
|
|
4125
|
+
* Steps completed so far. Which steps are *applicable* is decided by the client,
|
|
4126
|
+
* because it depends on whether workspace AI is enabled.
|
|
4127
|
+
*/
|
|
4128
|
+
completedSteps: Array<OnboardingStepId>;
|
|
4129
|
+
/** When the checklist was finished or dismissed. Null while it is still showing. */
|
|
4130
|
+
dismissedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
4131
|
+
startedAt: Scalars['DateTime']['output'];
|
|
4132
|
+
workspaceId: Scalars['Int']['output'];
|
|
4133
|
+
};
|
|
4134
|
+
/** WorkspaceOnboardingInput identifies the workspace being operated on. */
|
|
4135
|
+
export type WorkspaceOnboardingInput = {
|
|
4136
|
+
workspaceId: Scalars['Int']['input'];
|
|
4137
|
+
};
|
|
4138
|
+
/**
|
|
4139
|
+
* WorkspaceProfile is the information collected on the create-workspace form.
|
|
4140
|
+
* Every field is optional so a partially completed form can still be saved, and all
|
|
4141
|
+
* are null for a workspace created before the form existed.
|
|
4142
|
+
* Accepted values come from the onboardingOptions query.
|
|
4143
|
+
*/
|
|
4144
|
+
export type WorkspaceProfile = {
|
|
4145
|
+
__typename?: 'WorkspaceProfile';
|
|
4146
|
+
companySize?: Maybe<Scalars['String']['output']>;
|
|
4147
|
+
creatorRole?: Maybe<Scalars['String']['output']>;
|
|
4148
|
+
industry?: Maybe<Scalars['String']['output']>;
|
|
4149
|
+
useCase?: Maybe<Scalars['String']['output']>;
|
|
4150
|
+
};
|
|
4151
|
+
/** WorkspaceSettings represents configuration options for a workspace. */
|
|
4152
|
+
export type WorkspaceSettings = {
|
|
4153
|
+
__typename?: 'WorkspaceSettings';
|
|
4154
|
+
/** When enabled, automatically unarchives a contact when receiving a message from them. */
|
|
3287
4155
|
autoUnarchiveOnMessage?: Maybe<Scalars['Boolean']['output']>;
|
|
3288
4156
|
/** The conversation Time-To-Live (TTL) in hours. Determines how long conversations are retained before closing it automatically. */
|
|
3289
4157
|
convTTL?: Maybe<Scalars['Int']['output']>;
|
|
4158
|
+
/** Auto-reply message sent to contacts on holiday weekdays when a conversation is with a live agent. */
|
|
4159
|
+
holidayMessage?: Maybe<Scalars['String']['output']>;
|
|
4160
|
+
/** IANA timezone used to evaluate holiday weekdays (e.g. Asia/Amman). Defaults to UTC when unset. */
|
|
4161
|
+
holidayTimezone?: Maybe<Scalars['String']['output']>;
|
|
4162
|
+
/** Recurring holiday weekdays as SUN|MON|TUE|WED|THU|FRI|SAT. Empty means holidays are disabled. */
|
|
4163
|
+
holidayWeekdays?: Maybe<Array<Scalars['String']['output']>>;
|
|
3290
4164
|
/** The unique identifier of the workspace settings record. */
|
|
3291
4165
|
id: Scalars['ID']['output'];
|
|
4166
|
+
/** Inbound conversation noise filter (spam / intent triage). Off until enabled. */
|
|
4167
|
+
noiseFilter?: Maybe<NoiseFilterSettings>;
|
|
3292
4168
|
/** Keyword that, when sent by a contact in a message, triggers automatic archival of that contact. */
|
|
3293
4169
|
optOutKeyword?: Maybe<Scalars['String']['output']>;
|
|
3294
4170
|
/** Test phone numbers used for workspace validation. */
|
|
3295
4171
|
testNums?: Maybe<Array<WorkspaceTestNumber>>;
|
|
3296
4172
|
/** The unique identifier of the workspace. */
|
|
3297
4173
|
workspaceId: Scalars['Int']['output'];
|
|
4174
|
+
/** Brand voice / default tone for Enhance. Defaults to FRIENDLY when unset. */
|
|
4175
|
+
writingBrandVoice?: Maybe<WritingBrandVoice>;
|
|
4176
|
+
/** Target reading level for Enhance (simplify). Defaults to STANDARD when unset. */
|
|
4177
|
+
writingReadingLevel?: Maybe<WritingReadingLevel>;
|
|
3298
4178
|
};
|
|
3299
4179
|
/** Input for fetching workspace settings. */
|
|
3300
4180
|
export type WorkspaceSettingsInput = {
|
|
@@ -3307,12 +4187,24 @@ export type WorkspaceSettingsPatchInput = {
|
|
|
3307
4187
|
autoUnarchiveOnMessage?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3308
4188
|
/** The conversation Time-To-Live (TTL) in hours. Determines how long conversations are retained before closing it automatically. */
|
|
3309
4189
|
convTTL?: InputMaybe<Scalars['Int']['input']>;
|
|
4190
|
+
/** Auto-reply message sent on holiday weekdays for live-agent conversations. Empty clears the message. */
|
|
4191
|
+
holidayMessage?: InputMaybe<Scalars['String']['input']>;
|
|
4192
|
+
/** IANA timezone used to evaluate holiday weekdays (e.g. Asia/Amman). */
|
|
4193
|
+
holidayTimezone?: InputMaybe<Scalars['String']['input']>;
|
|
4194
|
+
/** Recurring holiday weekdays as SUN|MON|TUE|WED|THU|FRI|SAT. Empty clears holidays. */
|
|
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>;
|
|
3310
4198
|
/** Keyword that, when sent by a contact in a message, triggers automatic archival of that contact. Set to null to disable. */
|
|
3311
4199
|
optOutKeyword?: InputMaybe<Scalars['String']['input']>;
|
|
3312
4200
|
/** Test phone numbers used for workspace validation. */
|
|
3313
4201
|
testNums?: InputMaybe<Array<WorkspaceTestNumberInput>>;
|
|
3314
4202
|
/** The unique identifier of the workspace. */
|
|
3315
4203
|
workspaceId: Scalars['Int']['input'];
|
|
4204
|
+
/** Brand voice / default tone for Enhance. Set to null to clear (Enhance uses FRIENDLY). */
|
|
4205
|
+
writingBrandVoice?: InputMaybe<WritingBrandVoice>;
|
|
4206
|
+
/** Target reading level for Enhance (simplify). Set to null to clear (Enhance uses STANDARD). */
|
|
4207
|
+
writingReadingLevel?: InputMaybe<WritingReadingLevel>;
|
|
3316
4208
|
};
|
|
3317
4209
|
/** Test number details for workspace settings. */
|
|
3318
4210
|
export type WorkspaceTestNumber = {
|
|
@@ -3348,6 +4240,28 @@ export type WorkspacesPayload = {
|
|
|
3348
4240
|
nodes: Array<Workspace>;
|
|
3349
4241
|
pageInfo: PageInfo;
|
|
3350
4242
|
};
|
|
4243
|
+
/** Default brand voice / tone for workspace writing assistance (Enhance tone adjustment). */
|
|
4244
|
+
export declare const WritingBrandVoice: {
|
|
4245
|
+
readonly CONCISE: "CONCISE";
|
|
4246
|
+
readonly EMPATHETIC: "EMPATHETIC";
|
|
4247
|
+
readonly ENTHUSIASTIC: "ENTHUSIASTIC";
|
|
4248
|
+
readonly FORMAL: "FORMAL";
|
|
4249
|
+
readonly FRIENDLY: "FRIENDLY";
|
|
4250
|
+
readonly PLAYFUL: "PLAYFUL";
|
|
4251
|
+
};
|
|
4252
|
+
export type WritingBrandVoice = typeof WritingBrandVoice[keyof typeof WritingBrandVoice];
|
|
4253
|
+
/** Target reading level for workspace writing assistance (Enhance simplify). */
|
|
4254
|
+
export declare const WritingReadingLevel: {
|
|
4255
|
+
readonly SIMPLE: "SIMPLE";
|
|
4256
|
+
readonly STANDARD: "STANDARD";
|
|
4257
|
+
readonly TECHNICAL: "TECHNICAL";
|
|
4258
|
+
};
|
|
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];
|
|
3351
4265
|
export type AiFragment = {
|
|
3352
4266
|
__typename?: 'AI';
|
|
3353
4267
|
workspaceId: number;
|
|
@@ -3376,9 +4290,13 @@ export type AiFragment = {
|
|
|
3376
4290
|
contextPrompt?: string | null;
|
|
3377
4291
|
rolePrompt?: string | null;
|
|
3378
4292
|
personaPrompt?: string | null;
|
|
4293
|
+
workflowPrompt?: string | null;
|
|
3379
4294
|
constraints?: string | null;
|
|
3380
4295
|
emptyResponseFallbackMessage?: string | null;
|
|
3381
4296
|
closingMessage?: string | null;
|
|
4297
|
+
voiceId?: string | null;
|
|
4298
|
+
voiceName?: string | null;
|
|
4299
|
+
voiceLanguage?: string | null;
|
|
3382
4300
|
clientTagRules?: Array<{
|
|
3383
4301
|
__typename?: 'TagRule';
|
|
3384
4302
|
tag: string;
|
|
@@ -3424,9 +4342,13 @@ export type AiQuery = {
|
|
|
3424
4342
|
contextPrompt?: string | null;
|
|
3425
4343
|
rolePrompt?: string | null;
|
|
3426
4344
|
personaPrompt?: string | null;
|
|
4345
|
+
workflowPrompt?: string | null;
|
|
3427
4346
|
constraints?: string | null;
|
|
3428
4347
|
emptyResponseFallbackMessage?: string | null;
|
|
3429
4348
|
closingMessage?: string | null;
|
|
4349
|
+
voiceId?: string | null;
|
|
4350
|
+
voiceName?: string | null;
|
|
4351
|
+
voiceLanguage?: string | null;
|
|
3430
4352
|
clientTagRules?: Array<{
|
|
3431
4353
|
__typename?: 'TagRule';
|
|
3432
4354
|
tag: string;
|
|
@@ -3440,6 +4362,19 @@ export type AiQuery = {
|
|
|
3440
4362
|
} | null;
|
|
3441
4363
|
};
|
|
3442
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
|
+
};
|
|
3443
4378
|
export type AisQueryVariables = Exact<{
|
|
3444
4379
|
input: AIsInput;
|
|
3445
4380
|
}>;
|
|
@@ -3475,9 +4410,13 @@ export type AisQuery = {
|
|
|
3475
4410
|
contextPrompt?: string | null;
|
|
3476
4411
|
rolePrompt?: string | null;
|
|
3477
4412
|
personaPrompt?: string | null;
|
|
4413
|
+
workflowPrompt?: string | null;
|
|
3478
4414
|
constraints?: string | null;
|
|
3479
4415
|
emptyResponseFallbackMessage?: string | null;
|
|
3480
4416
|
closingMessage?: string | null;
|
|
4417
|
+
voiceId?: string | null;
|
|
4418
|
+
voiceName?: string | null;
|
|
4419
|
+
voiceLanguage?: string | null;
|
|
3481
4420
|
clientTagRules?: Array<{
|
|
3482
4421
|
__typename?: 'TagRule';
|
|
3483
4422
|
tag: string;
|
|
@@ -3525,9 +4464,13 @@ export type CreateAiMutation = {
|
|
|
3525
4464
|
contextPrompt?: string | null;
|
|
3526
4465
|
rolePrompt?: string | null;
|
|
3527
4466
|
personaPrompt?: string | null;
|
|
4467
|
+
workflowPrompt?: string | null;
|
|
3528
4468
|
constraints?: string | null;
|
|
3529
4469
|
emptyResponseFallbackMessage?: string | null;
|
|
3530
4470
|
closingMessage?: string | null;
|
|
4471
|
+
voiceId?: string | null;
|
|
4472
|
+
voiceName?: string | null;
|
|
4473
|
+
voiceLanguage?: string | null;
|
|
3531
4474
|
clientTagRules?: Array<{
|
|
3532
4475
|
__typename?: 'TagRule';
|
|
3533
4476
|
tag: string;
|
|
@@ -3589,9 +4532,13 @@ export type DeleteAiMutation = {
|
|
|
3589
4532
|
contextPrompt?: string | null;
|
|
3590
4533
|
rolePrompt?: string | null;
|
|
3591
4534
|
personaPrompt?: string | null;
|
|
4535
|
+
workflowPrompt?: string | null;
|
|
3592
4536
|
constraints?: string | null;
|
|
3593
4537
|
emptyResponseFallbackMessage?: string | null;
|
|
3594
4538
|
closingMessage?: string | null;
|
|
4539
|
+
voiceId?: string | null;
|
|
4540
|
+
voiceName?: string | null;
|
|
4541
|
+
voiceLanguage?: string | null;
|
|
3595
4542
|
clientTagRules?: Array<{
|
|
3596
4543
|
__typename?: 'TagRule';
|
|
3597
4544
|
tag: string;
|
|
@@ -3653,9 +4600,13 @@ export type PatchAiMutation = {
|
|
|
3653
4600
|
contextPrompt?: string | null;
|
|
3654
4601
|
rolePrompt?: string | null;
|
|
3655
4602
|
personaPrompt?: string | null;
|
|
4603
|
+
workflowPrompt?: string | null;
|
|
3656
4604
|
constraints?: string | null;
|
|
3657
4605
|
emptyResponseFallbackMessage?: string | null;
|
|
3658
4606
|
closingMessage?: string | null;
|
|
4607
|
+
voiceId?: string | null;
|
|
4608
|
+
voiceName?: string | null;
|
|
4609
|
+
voiceLanguage?: string | null;
|
|
3659
4610
|
clientTagRules?: Array<{
|
|
3660
4611
|
__typename?: 'TagRule';
|
|
3661
4612
|
tag: string;
|
|
@@ -3958,12 +4909,20 @@ export type BroadcastDeliveryReportQuery = {
|
|
|
3958
4909
|
externalMessageId?: string | null;
|
|
3959
4910
|
tags?: Array<string> | null;
|
|
3960
4911
|
createdAt: any;
|
|
4912
|
+
transcript?: string | null;
|
|
3961
4913
|
context?: {
|
|
3962
4914
|
__typename?: 'MessageContext';
|
|
3963
4915
|
replyToId?: string | null;
|
|
3964
4916
|
replyToContent: string;
|
|
3965
4917
|
replyToType: MessageType;
|
|
3966
4918
|
} | null;
|
|
4919
|
+
reactions?: Array<{
|
|
4920
|
+
__typename?: 'MessageReaction';
|
|
4921
|
+
emoji: string;
|
|
4922
|
+
isAgent: boolean;
|
|
4923
|
+
agentId?: string | null;
|
|
4924
|
+
createdAt: any;
|
|
4925
|
+
}> | null;
|
|
3967
4926
|
}> | null;
|
|
3968
4927
|
};
|
|
3969
4928
|
};
|
|
@@ -4283,6 +5242,24 @@ export type AgentReportFragment = {
|
|
|
4283
5242
|
csat: number;
|
|
4284
5243
|
createdAt: any;
|
|
4285
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
|
+
};
|
|
4286
5263
|
export type ConvTagReportFragment = {
|
|
4287
5264
|
__typename?: 'ConvTagReport';
|
|
4288
5265
|
workspaceId: number;
|
|
@@ -4345,6 +5322,33 @@ export type AgentsReportQuery = {
|
|
|
4345
5322
|
}> | null;
|
|
4346
5323
|
};
|
|
4347
5324
|
};
|
|
5325
|
+
export type ConvStagesReportQueryVariables = Exact<{
|
|
5326
|
+
input: ConvStagesReportInput;
|
|
5327
|
+
}>;
|
|
5328
|
+
export type ConvStagesReportQuery = {
|
|
5329
|
+
__typename?: 'Query';
|
|
5330
|
+
convStagesReport: {
|
|
5331
|
+
__typename?: 'ConvStagesReportPayload';
|
|
5332
|
+
nodes?: Array<{
|
|
5333
|
+
__typename?: 'ConvStageReport';
|
|
5334
|
+
workspaceId: number;
|
|
5335
|
+
id: string;
|
|
5336
|
+
stage: string;
|
|
5337
|
+
integrationId: string;
|
|
5338
|
+
conversationCount: number;
|
|
5339
|
+
agentMessagesCount: number;
|
|
5340
|
+
clientMessageCount: number;
|
|
5341
|
+
avgFirstResponseTime: number;
|
|
5342
|
+
firstResponseConversationCount: number;
|
|
5343
|
+
avgConversationTime: number;
|
|
5344
|
+
newClientConvCount?: number | null;
|
|
5345
|
+
responseRate: number;
|
|
5346
|
+
averageRating: number;
|
|
5347
|
+
csat: number;
|
|
5348
|
+
createdAt: any;
|
|
5349
|
+
}> | null;
|
|
5350
|
+
};
|
|
5351
|
+
};
|
|
4348
5352
|
export type ConvTagsReportQueryVariables = Exact<{
|
|
4349
5353
|
input: ConvTagsReportInput;
|
|
4350
5354
|
}>;
|
|
@@ -4399,6 +5403,47 @@ export type ConvsReportQuery = {
|
|
|
4399
5403
|
}> | null;
|
|
4400
5404
|
};
|
|
4401
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
|
+
};
|
|
4402
5447
|
export type PageInfoFragment = {
|
|
4403
5448
|
__typename?: 'PageInfo';
|
|
4404
5449
|
hasNextPage: boolean;
|
|
@@ -4451,6 +5496,7 @@ export type ConversationFragment = {
|
|
|
4451
5496
|
broadcastName?: string | null;
|
|
4452
5497
|
sourceType?: string | null;
|
|
4453
5498
|
sourceUrl?: string | null;
|
|
5499
|
+
sentiment?: ConversationSentiment | null;
|
|
4454
5500
|
integrationSwitches?: Array<{
|
|
4455
5501
|
__typename?: 'ConvIntegrationSwitch';
|
|
4456
5502
|
fromIntegrationId: string;
|
|
@@ -4473,12 +5519,20 @@ export type ConversationFragment = {
|
|
|
4473
5519
|
externalMessageId?: string | null;
|
|
4474
5520
|
tags?: Array<string> | null;
|
|
4475
5521
|
createdAt: any;
|
|
5522
|
+
transcript?: string | null;
|
|
4476
5523
|
context?: {
|
|
4477
5524
|
__typename?: 'MessageContext';
|
|
4478
5525
|
replyToId?: string | null;
|
|
4479
5526
|
replyToContent: string;
|
|
4480
5527
|
replyToType: MessageType;
|
|
4481
5528
|
} | null;
|
|
5529
|
+
reactions?: Array<{
|
|
5530
|
+
__typename?: 'MessageReaction';
|
|
5531
|
+
emoji: string;
|
|
5532
|
+
isAgent: boolean;
|
|
5533
|
+
agentId?: string | null;
|
|
5534
|
+
createdAt: any;
|
|
5535
|
+
}> | null;
|
|
4482
5536
|
}> | null;
|
|
4483
5537
|
client?: {
|
|
4484
5538
|
__typename?: 'ConversationClient';
|
|
@@ -4495,6 +5549,34 @@ export type ConversationFragment = {
|
|
|
4495
5549
|
assignDate?: any | null;
|
|
4496
5550
|
isAi?: boolean | null;
|
|
4497
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;
|
|
4498
5580
|
};
|
|
4499
5581
|
export type MessageFragment = {
|
|
4500
5582
|
__typename?: 'Message';
|
|
@@ -4509,12 +5591,20 @@ export type MessageFragment = {
|
|
|
4509
5591
|
externalMessageId?: string | null;
|
|
4510
5592
|
tags?: Array<string> | null;
|
|
4511
5593
|
createdAt: any;
|
|
5594
|
+
transcript?: string | null;
|
|
4512
5595
|
context?: {
|
|
4513
5596
|
__typename?: 'MessageContext';
|
|
4514
5597
|
replyToId?: string | null;
|
|
4515
5598
|
replyToContent: string;
|
|
4516
5599
|
replyToType: MessageType;
|
|
4517
5600
|
} | null;
|
|
5601
|
+
reactions?: Array<{
|
|
5602
|
+
__typename?: 'MessageReaction';
|
|
5603
|
+
emoji: string;
|
|
5604
|
+
isAgent: boolean;
|
|
5605
|
+
agentId?: string | null;
|
|
5606
|
+
createdAt: any;
|
|
5607
|
+
}> | null;
|
|
4518
5608
|
};
|
|
4519
5609
|
export type TagFragment = {
|
|
4520
5610
|
__typename?: 'Tag';
|
|
@@ -4562,12 +5652,20 @@ export type AddMessageMutation = {
|
|
|
4562
5652
|
externalMessageId?: string | null;
|
|
4563
5653
|
tags?: Array<string> | null;
|
|
4564
5654
|
createdAt: any;
|
|
5655
|
+
transcript?: string | null;
|
|
4565
5656
|
context?: {
|
|
4566
5657
|
__typename?: 'MessageContext';
|
|
4567
5658
|
replyToId?: string | null;
|
|
4568
5659
|
replyToContent: string;
|
|
4569
5660
|
replyToType: MessageType;
|
|
4570
5661
|
} | null;
|
|
5662
|
+
reactions?: Array<{
|
|
5663
|
+
__typename?: 'MessageReaction';
|
|
5664
|
+
emoji: string;
|
|
5665
|
+
isAgent: boolean;
|
|
5666
|
+
agentId?: string | null;
|
|
5667
|
+
createdAt: any;
|
|
5668
|
+
}> | null;
|
|
4571
5669
|
};
|
|
4572
5670
|
};
|
|
4573
5671
|
export type AgentQueryVariables = Exact<{
|
|
@@ -4646,6 +5744,7 @@ export type AssignConvMutation = {
|
|
|
4646
5744
|
broadcastName?: string | null;
|
|
4647
5745
|
sourceType?: string | null;
|
|
4648
5746
|
sourceUrl?: string | null;
|
|
5747
|
+
sentiment?: ConversationSentiment | null;
|
|
4649
5748
|
integrationSwitches?: Array<{
|
|
4650
5749
|
__typename?: 'ConvIntegrationSwitch';
|
|
4651
5750
|
fromIntegrationId: string;
|
|
@@ -4668,12 +5767,20 @@ export type AssignConvMutation = {
|
|
|
4668
5767
|
externalMessageId?: string | null;
|
|
4669
5768
|
tags?: Array<string> | null;
|
|
4670
5769
|
createdAt: any;
|
|
5770
|
+
transcript?: string | null;
|
|
4671
5771
|
context?: {
|
|
4672
5772
|
__typename?: 'MessageContext';
|
|
4673
5773
|
replyToId?: string | null;
|
|
4674
5774
|
replyToContent: string;
|
|
4675
5775
|
replyToType: MessageType;
|
|
4676
5776
|
} | null;
|
|
5777
|
+
reactions?: Array<{
|
|
5778
|
+
__typename?: 'MessageReaction';
|
|
5779
|
+
emoji: string;
|
|
5780
|
+
isAgent: boolean;
|
|
5781
|
+
agentId?: string | null;
|
|
5782
|
+
createdAt: any;
|
|
5783
|
+
}> | null;
|
|
4677
5784
|
}> | null;
|
|
4678
5785
|
client?: {
|
|
4679
5786
|
__typename?: 'ConversationClient';
|
|
@@ -4690,6 +5797,97 @@ export type AssignConvMutation = {
|
|
|
4690
5797
|
assignDate?: any | null;
|
|
4691
5798
|
isAi?: boolean | null;
|
|
4692
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;
|
|
4693
5891
|
};
|
|
4694
5892
|
};
|
|
4695
5893
|
export type ConvQueryVariables = Exact<{
|
|
@@ -4720,6 +5918,7 @@ export type ConvQuery = {
|
|
|
4720
5918
|
broadcastName?: string | null;
|
|
4721
5919
|
sourceType?: string | null;
|
|
4722
5920
|
sourceUrl?: string | null;
|
|
5921
|
+
sentiment?: ConversationSentiment | null;
|
|
4723
5922
|
integrationSwitches?: Array<{
|
|
4724
5923
|
__typename?: 'ConvIntegrationSwitch';
|
|
4725
5924
|
fromIntegrationId: string;
|
|
@@ -4742,12 +5941,20 @@ export type ConvQuery = {
|
|
|
4742
5941
|
externalMessageId?: string | null;
|
|
4743
5942
|
tags?: Array<string> | null;
|
|
4744
5943
|
createdAt: any;
|
|
5944
|
+
transcript?: string | null;
|
|
4745
5945
|
context?: {
|
|
4746
5946
|
__typename?: 'MessageContext';
|
|
4747
5947
|
replyToId?: string | null;
|
|
4748
5948
|
replyToContent: string;
|
|
4749
5949
|
replyToType: MessageType;
|
|
4750
5950
|
} | null;
|
|
5951
|
+
reactions?: Array<{
|
|
5952
|
+
__typename?: 'MessageReaction';
|
|
5953
|
+
emoji: string;
|
|
5954
|
+
isAgent: boolean;
|
|
5955
|
+
agentId?: string | null;
|
|
5956
|
+
createdAt: any;
|
|
5957
|
+
}> | null;
|
|
4751
5958
|
}> | null;
|
|
4752
5959
|
client?: {
|
|
4753
5960
|
__typename?: 'ConversationClient';
|
|
@@ -4764,6 +5971,34 @@ export type ConvQuery = {
|
|
|
4764
5971
|
assignDate?: any | null;
|
|
4765
5972
|
isAi?: boolean | null;
|
|
4766
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;
|
|
4767
6002
|
};
|
|
4768
6003
|
};
|
|
4769
6004
|
export type ConvAutoCompleteQueryVariables = Exact<{
|
|
@@ -4788,6 +6023,39 @@ export type ConvEnhanceMessageQuery = {
|
|
|
4788
6023
|
usage?: any | null;
|
|
4789
6024
|
};
|
|
4790
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
|
+
};
|
|
4791
6059
|
export type ConvSummaryQueryVariables = Exact<{
|
|
4792
6060
|
input: ConvAssistInput;
|
|
4793
6061
|
}>;
|
|
@@ -4830,6 +6098,7 @@ export type ConvsQuery = {
|
|
|
4830
6098
|
broadcastName?: string | null;
|
|
4831
6099
|
sourceType?: string | null;
|
|
4832
6100
|
sourceUrl?: string | null;
|
|
6101
|
+
sentiment?: ConversationSentiment | null;
|
|
4833
6102
|
integrationSwitches?: Array<{
|
|
4834
6103
|
__typename?: 'ConvIntegrationSwitch';
|
|
4835
6104
|
fromIntegrationId: string;
|
|
@@ -4852,12 +6121,20 @@ export type ConvsQuery = {
|
|
|
4852
6121
|
externalMessageId?: string | null;
|
|
4853
6122
|
tags?: Array<string> | null;
|
|
4854
6123
|
createdAt: any;
|
|
6124
|
+
transcript?: string | null;
|
|
4855
6125
|
context?: {
|
|
4856
6126
|
__typename?: 'MessageContext';
|
|
4857
6127
|
replyToId?: string | null;
|
|
4858
6128
|
replyToContent: string;
|
|
4859
6129
|
replyToType: MessageType;
|
|
4860
6130
|
} | null;
|
|
6131
|
+
reactions?: Array<{
|
|
6132
|
+
__typename?: 'MessageReaction';
|
|
6133
|
+
emoji: string;
|
|
6134
|
+
isAgent: boolean;
|
|
6135
|
+
agentId?: string | null;
|
|
6136
|
+
createdAt: any;
|
|
6137
|
+
}> | null;
|
|
4861
6138
|
}> | null;
|
|
4862
6139
|
client?: {
|
|
4863
6140
|
__typename?: 'ConversationClient';
|
|
@@ -4874,6 +6151,34 @@ export type ConvsQuery = {
|
|
|
4874
6151
|
assignDate?: any | null;
|
|
4875
6152
|
isAi?: boolean | null;
|
|
4876
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;
|
|
4877
6182
|
}> | null;
|
|
4878
6183
|
pageInfo?: {
|
|
4879
6184
|
__typename?: 'PageInfo';
|
|
@@ -4949,6 +6254,7 @@ export type EndConvMutation = {
|
|
|
4949
6254
|
broadcastName?: string | null;
|
|
4950
6255
|
sourceType?: string | null;
|
|
4951
6256
|
sourceUrl?: string | null;
|
|
6257
|
+
sentiment?: ConversationSentiment | null;
|
|
4952
6258
|
integrationSwitches?: Array<{
|
|
4953
6259
|
__typename?: 'ConvIntegrationSwitch';
|
|
4954
6260
|
fromIntegrationId: string;
|
|
@@ -4971,12 +6277,20 @@ export type EndConvMutation = {
|
|
|
4971
6277
|
externalMessageId?: string | null;
|
|
4972
6278
|
tags?: Array<string> | null;
|
|
4973
6279
|
createdAt: any;
|
|
6280
|
+
transcript?: string | null;
|
|
4974
6281
|
context?: {
|
|
4975
6282
|
__typename?: 'MessageContext';
|
|
4976
6283
|
replyToId?: string | null;
|
|
4977
6284
|
replyToContent: string;
|
|
4978
6285
|
replyToType: MessageType;
|
|
4979
6286
|
} | null;
|
|
6287
|
+
reactions?: Array<{
|
|
6288
|
+
__typename?: 'MessageReaction';
|
|
6289
|
+
emoji: string;
|
|
6290
|
+
isAgent: boolean;
|
|
6291
|
+
agentId?: string | null;
|
|
6292
|
+
createdAt: any;
|
|
6293
|
+
}> | null;
|
|
4980
6294
|
}> | null;
|
|
4981
6295
|
client?: {
|
|
4982
6296
|
__typename?: 'ConversationClient';
|
|
@@ -4993,6 +6307,34 @@ export type EndConvMutation = {
|
|
|
4993
6307
|
assignDate?: any | null;
|
|
4994
6308
|
isAi?: boolean | null;
|
|
4995
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;
|
|
4996
6338
|
};
|
|
4997
6339
|
};
|
|
4998
6340
|
export type HandoverConvMutationVariables = Exact<{
|
|
@@ -5023,6 +6365,7 @@ export type HandoverConvMutation = {
|
|
|
5023
6365
|
broadcastName?: string | null;
|
|
5024
6366
|
sourceType?: string | null;
|
|
5025
6367
|
sourceUrl?: string | null;
|
|
6368
|
+
sentiment?: ConversationSentiment | null;
|
|
5026
6369
|
integrationSwitches?: Array<{
|
|
5027
6370
|
__typename?: 'ConvIntegrationSwitch';
|
|
5028
6371
|
fromIntegrationId: string;
|
|
@@ -5045,12 +6388,20 @@ export type HandoverConvMutation = {
|
|
|
5045
6388
|
externalMessageId?: string | null;
|
|
5046
6389
|
tags?: Array<string> | null;
|
|
5047
6390
|
createdAt: any;
|
|
6391
|
+
transcript?: string | null;
|
|
5048
6392
|
context?: {
|
|
5049
6393
|
__typename?: 'MessageContext';
|
|
5050
6394
|
replyToId?: string | null;
|
|
5051
6395
|
replyToContent: string;
|
|
5052
6396
|
replyToType: MessageType;
|
|
5053
6397
|
} | null;
|
|
6398
|
+
reactions?: Array<{
|
|
6399
|
+
__typename?: 'MessageReaction';
|
|
6400
|
+
emoji: string;
|
|
6401
|
+
isAgent: boolean;
|
|
6402
|
+
agentId?: string | null;
|
|
6403
|
+
createdAt: any;
|
|
6404
|
+
}> | null;
|
|
5054
6405
|
}> | null;
|
|
5055
6406
|
client?: {
|
|
5056
6407
|
__typename?: 'ConversationClient';
|
|
@@ -5067,6 +6418,34 @@ export type HandoverConvMutation = {
|
|
|
5067
6418
|
assignDate?: any | null;
|
|
5068
6419
|
isAi?: boolean | null;
|
|
5069
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;
|
|
5070
6449
|
};
|
|
5071
6450
|
};
|
|
5072
6451
|
export type MessagesQueryVariables = Exact<{
|
|
@@ -5090,12 +6469,20 @@ export type MessagesQuery = {
|
|
|
5090
6469
|
externalMessageId?: string | null;
|
|
5091
6470
|
tags?: Array<string> | null;
|
|
5092
6471
|
createdAt: any;
|
|
6472
|
+
transcript?: string | null;
|
|
5093
6473
|
context?: {
|
|
5094
6474
|
__typename?: 'MessageContext';
|
|
5095
6475
|
replyToId?: string | null;
|
|
5096
6476
|
replyToContent: string;
|
|
5097
6477
|
replyToType: MessageType;
|
|
5098
6478
|
} | null;
|
|
6479
|
+
reactions?: Array<{
|
|
6480
|
+
__typename?: 'MessageReaction';
|
|
6481
|
+
emoji: string;
|
|
6482
|
+
isAgent: boolean;
|
|
6483
|
+
agentId?: string | null;
|
|
6484
|
+
createdAt: any;
|
|
6485
|
+
}> | null;
|
|
5099
6486
|
}> | null;
|
|
5100
6487
|
pageInfo?: {
|
|
5101
6488
|
__typename?: 'PageInfo';
|
|
@@ -5159,6 +6546,7 @@ export type PatchConvMutation = {
|
|
|
5159
6546
|
broadcastName?: string | null;
|
|
5160
6547
|
sourceType?: string | null;
|
|
5161
6548
|
sourceUrl?: string | null;
|
|
6549
|
+
sentiment?: ConversationSentiment | null;
|
|
5162
6550
|
integrationSwitches?: Array<{
|
|
5163
6551
|
__typename?: 'ConvIntegrationSwitch';
|
|
5164
6552
|
fromIntegrationId: string;
|
|
@@ -5181,12 +6569,20 @@ export type PatchConvMutation = {
|
|
|
5181
6569
|
externalMessageId?: string | null;
|
|
5182
6570
|
tags?: Array<string> | null;
|
|
5183
6571
|
createdAt: any;
|
|
6572
|
+
transcript?: string | null;
|
|
5184
6573
|
context?: {
|
|
5185
6574
|
__typename?: 'MessageContext';
|
|
5186
6575
|
replyToId?: string | null;
|
|
5187
6576
|
replyToContent: string;
|
|
5188
6577
|
replyToType: MessageType;
|
|
5189
6578
|
} | null;
|
|
6579
|
+
reactions?: Array<{
|
|
6580
|
+
__typename?: 'MessageReaction';
|
|
6581
|
+
emoji: string;
|
|
6582
|
+
isAgent: boolean;
|
|
6583
|
+
agentId?: string | null;
|
|
6584
|
+
createdAt: any;
|
|
6585
|
+
}> | null;
|
|
5190
6586
|
}> | null;
|
|
5191
6587
|
client?: {
|
|
5192
6588
|
__typename?: 'ConversationClient';
|
|
@@ -5203,6 +6599,68 @@ export type PatchConvMutation = {
|
|
|
5203
6599
|
assignDate?: any | null;
|
|
5204
6600
|
isAi?: boolean | null;
|
|
5205
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;
|
|
5206
6664
|
};
|
|
5207
6665
|
};
|
|
5208
6666
|
export type StartConvMutationVariables = Exact<{
|
|
@@ -5233,6 +6691,7 @@ export type StartConvMutation = {
|
|
|
5233
6691
|
broadcastName?: string | null;
|
|
5234
6692
|
sourceType?: string | null;
|
|
5235
6693
|
sourceUrl?: string | null;
|
|
6694
|
+
sentiment?: ConversationSentiment | null;
|
|
5236
6695
|
integrationSwitches?: Array<{
|
|
5237
6696
|
__typename?: 'ConvIntegrationSwitch';
|
|
5238
6697
|
fromIntegrationId: string;
|
|
@@ -5255,12 +6714,20 @@ export type StartConvMutation = {
|
|
|
5255
6714
|
externalMessageId?: string | null;
|
|
5256
6715
|
tags?: Array<string> | null;
|
|
5257
6716
|
createdAt: any;
|
|
6717
|
+
transcript?: string | null;
|
|
5258
6718
|
context?: {
|
|
5259
6719
|
__typename?: 'MessageContext';
|
|
5260
6720
|
replyToId?: string | null;
|
|
5261
6721
|
replyToContent: string;
|
|
5262
6722
|
replyToType: MessageType;
|
|
5263
6723
|
} | null;
|
|
6724
|
+
reactions?: Array<{
|
|
6725
|
+
__typename?: 'MessageReaction';
|
|
6726
|
+
emoji: string;
|
|
6727
|
+
isAgent: boolean;
|
|
6728
|
+
agentId?: string | null;
|
|
6729
|
+
createdAt: any;
|
|
6730
|
+
}> | null;
|
|
5264
6731
|
}> | null;
|
|
5265
6732
|
client?: {
|
|
5266
6733
|
__typename?: 'ConversationClient';
|
|
@@ -5277,8 +6744,36 @@ export type StartConvMutation = {
|
|
|
5277
6744
|
assignDate?: any | null;
|
|
5278
6745
|
isAi?: boolean | null;
|
|
5279
6746
|
} | null> | null;
|
|
5280
|
-
|
|
5281
|
-
|
|
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;
|
|
6775
|
+
};
|
|
6776
|
+
};
|
|
5282
6777
|
export type TagClientMutationVariables = Exact<{
|
|
5283
6778
|
input: ClientTagInput;
|
|
5284
6779
|
}>;
|
|
@@ -5336,6 +6831,7 @@ export type TagConvMutation = {
|
|
|
5336
6831
|
broadcastName?: string | null;
|
|
5337
6832
|
sourceType?: string | null;
|
|
5338
6833
|
sourceUrl?: string | null;
|
|
6834
|
+
sentiment?: ConversationSentiment | null;
|
|
5339
6835
|
integrationSwitches?: Array<{
|
|
5340
6836
|
__typename?: 'ConvIntegrationSwitch';
|
|
5341
6837
|
fromIntegrationId: string;
|
|
@@ -5358,12 +6854,20 @@ export type TagConvMutation = {
|
|
|
5358
6854
|
externalMessageId?: string | null;
|
|
5359
6855
|
tags?: Array<string> | null;
|
|
5360
6856
|
createdAt: any;
|
|
6857
|
+
transcript?: string | null;
|
|
5361
6858
|
context?: {
|
|
5362
6859
|
__typename?: 'MessageContext';
|
|
5363
6860
|
replyToId?: string | null;
|
|
5364
6861
|
replyToContent: string;
|
|
5365
6862
|
replyToType: MessageType;
|
|
5366
6863
|
} | null;
|
|
6864
|
+
reactions?: Array<{
|
|
6865
|
+
__typename?: 'MessageReaction';
|
|
6866
|
+
emoji: string;
|
|
6867
|
+
isAgent: boolean;
|
|
6868
|
+
agentId?: string | null;
|
|
6869
|
+
createdAt: any;
|
|
6870
|
+
}> | null;
|
|
5367
6871
|
}> | null;
|
|
5368
6872
|
client?: {
|
|
5369
6873
|
__typename?: 'ConversationClient';
|
|
@@ -5380,6 +6884,34 @@ export type TagConvMutation = {
|
|
|
5380
6884
|
assignDate?: any | null;
|
|
5381
6885
|
isAi?: boolean | null;
|
|
5382
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;
|
|
5383
6915
|
};
|
|
5384
6916
|
};
|
|
5385
6917
|
export type TagsQueryVariables = Exact<{
|
|
@@ -5398,6 +6930,40 @@ export type TagsQuery = {
|
|
|
5398
6930
|
}> | null;
|
|
5399
6931
|
};
|
|
5400
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
|
+
};
|
|
5401
6967
|
export type UntagClientMutationVariables = Exact<{
|
|
5402
6968
|
input: ClientTagInput;
|
|
5403
6969
|
}>;
|
|
@@ -5455,6 +7021,7 @@ export type UntagConvMutation = {
|
|
|
5455
7021
|
broadcastName?: string | null;
|
|
5456
7022
|
sourceType?: string | null;
|
|
5457
7023
|
sourceUrl?: string | null;
|
|
7024
|
+
sentiment?: ConversationSentiment | null;
|
|
5458
7025
|
integrationSwitches?: Array<{
|
|
5459
7026
|
__typename?: 'ConvIntegrationSwitch';
|
|
5460
7027
|
fromIntegrationId: string;
|
|
@@ -5477,12 +7044,20 @@ export type UntagConvMutation = {
|
|
|
5477
7044
|
externalMessageId?: string | null;
|
|
5478
7045
|
tags?: Array<string> | null;
|
|
5479
7046
|
createdAt: any;
|
|
7047
|
+
transcript?: string | null;
|
|
5480
7048
|
context?: {
|
|
5481
7049
|
__typename?: 'MessageContext';
|
|
5482
7050
|
replyToId?: string | null;
|
|
5483
7051
|
replyToContent: string;
|
|
5484
7052
|
replyToType: MessageType;
|
|
5485
7053
|
} | null;
|
|
7054
|
+
reactions?: Array<{
|
|
7055
|
+
__typename?: 'MessageReaction';
|
|
7056
|
+
emoji: string;
|
|
7057
|
+
isAgent: boolean;
|
|
7058
|
+
agentId?: string | null;
|
|
7059
|
+
createdAt: any;
|
|
7060
|
+
}> | null;
|
|
5486
7061
|
}> | null;
|
|
5487
7062
|
client?: {
|
|
5488
7063
|
__typename?: 'ConversationClient';
|
|
@@ -5499,6 +7074,34 @@ export type UntagConvMutation = {
|
|
|
5499
7074
|
assignDate?: any | null;
|
|
5500
7075
|
isAi?: boolean | null;
|
|
5501
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;
|
|
5502
7105
|
};
|
|
5503
7106
|
};
|
|
5504
7107
|
export type WabaMessageTemplateDetailsQueryVariables = Exact<{
|
|
@@ -5702,6 +7305,20 @@ export type BulkUndeleteClientsMutation = {
|
|
|
5702
7305
|
deletedCount: number;
|
|
5703
7306
|
};
|
|
5704
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
|
+
};
|
|
5705
7322
|
export type ClientQueryVariables = Exact<{
|
|
5706
7323
|
input: ClientInput;
|
|
5707
7324
|
}>;
|
|
@@ -5799,6 +7416,17 @@ export type ClientsQuery = {
|
|
|
5799
7416
|
} | null;
|
|
5800
7417
|
};
|
|
5801
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
|
+
};
|
|
5802
7430
|
export type CreateClientMutationVariables = Exact<{
|
|
5803
7431
|
input: ClientCreateInput;
|
|
5804
7432
|
}>;
|
|
@@ -5828,6 +7456,19 @@ export type CreateClientMutation = {
|
|
|
5828
7456
|
blacklistedBy?: string | null;
|
|
5829
7457
|
};
|
|
5830
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
|
+
};
|
|
5831
7472
|
export type DeleteClientMutationVariables = Exact<{
|
|
5832
7473
|
input: ClientInput;
|
|
5833
7474
|
}>;
|
|
@@ -6067,6 +7708,85 @@ export type ValidateBulkImportContactsQuery = {
|
|
|
6067
7708
|
}>;
|
|
6068
7709
|
};
|
|
6069
7710
|
};
|
|
7711
|
+
export type WorkspaceOnboardingFragment = {
|
|
7712
|
+
__typename?: 'WorkspaceOnboarding';
|
|
7713
|
+
workspaceId: number;
|
|
7714
|
+
completedSteps: Array<OnboardingStepId>;
|
|
7715
|
+
startedAt: any;
|
|
7716
|
+
dismissedAt?: any | null;
|
|
7717
|
+
};
|
|
7718
|
+
export type WorkspaceProfileFragment = {
|
|
7719
|
+
__typename?: 'WorkspaceProfile';
|
|
7720
|
+
industry?: string | null;
|
|
7721
|
+
companySize?: string | null;
|
|
7722
|
+
creatorRole?: string | null;
|
|
7723
|
+
useCase?: string | null;
|
|
7724
|
+
};
|
|
7725
|
+
export type CompleteOnboardingStepMutationVariables = Exact<{
|
|
7726
|
+
input: CompleteOnboardingStepInput;
|
|
7727
|
+
}>;
|
|
7728
|
+
export type CompleteOnboardingStepMutation = {
|
|
7729
|
+
__typename?: 'Mutation';
|
|
7730
|
+
completeOnboardingStep: {
|
|
7731
|
+
__typename?: 'WorkspaceOnboarding';
|
|
7732
|
+
workspaceId: number;
|
|
7733
|
+
completedSteps: Array<OnboardingStepId>;
|
|
7734
|
+
startedAt: any;
|
|
7735
|
+
dismissedAt?: any | null;
|
|
7736
|
+
};
|
|
7737
|
+
};
|
|
7738
|
+
export type DismissWorkspaceOnboardingMutationVariables = Exact<{
|
|
7739
|
+
input: WorkspaceOnboardingInput;
|
|
7740
|
+
}>;
|
|
7741
|
+
export type DismissWorkspaceOnboardingMutation = {
|
|
7742
|
+
__typename?: 'Mutation';
|
|
7743
|
+
dismissWorkspaceOnboarding: {
|
|
7744
|
+
__typename?: 'WorkspaceOnboarding';
|
|
7745
|
+
workspaceId: number;
|
|
7746
|
+
completedSteps: Array<OnboardingStepId>;
|
|
7747
|
+
startedAt: any;
|
|
7748
|
+
dismissedAt?: any | null;
|
|
7749
|
+
};
|
|
7750
|
+
};
|
|
7751
|
+
export type OnboardingOptionsQueryVariables = Exact<{
|
|
7752
|
+
[key: string]: never;
|
|
7753
|
+
}>;
|
|
7754
|
+
export type OnboardingOptionsQuery = {
|
|
7755
|
+
__typename?: 'Query';
|
|
7756
|
+
onboardingOptions: {
|
|
7757
|
+
__typename?: 'OnboardingOptions';
|
|
7758
|
+
industries: Array<string>;
|
|
7759
|
+
companySizes: Array<string>;
|
|
7760
|
+
creatorRoles: Array<string>;
|
|
7761
|
+
useCases: Array<string>;
|
|
7762
|
+
};
|
|
7763
|
+
};
|
|
7764
|
+
export type UpdateWorkspaceProfileMutationVariables = Exact<{
|
|
7765
|
+
input: UpdateWorkspaceProfileInput;
|
|
7766
|
+
}>;
|
|
7767
|
+
export type UpdateWorkspaceProfileMutation = {
|
|
7768
|
+
__typename?: 'Mutation';
|
|
7769
|
+
updateWorkspaceProfile: {
|
|
7770
|
+
__typename?: 'WorkspaceProfile';
|
|
7771
|
+
industry?: string | null;
|
|
7772
|
+
companySize?: string | null;
|
|
7773
|
+
creatorRole?: string | null;
|
|
7774
|
+
useCase?: string | null;
|
|
7775
|
+
};
|
|
7776
|
+
};
|
|
7777
|
+
export type WorkspaceOnboardingQueryVariables = Exact<{
|
|
7778
|
+
input: WorkspaceOnboardingInput;
|
|
7779
|
+
}>;
|
|
7780
|
+
export type WorkspaceOnboardingQuery = {
|
|
7781
|
+
__typename?: 'Query';
|
|
7782
|
+
workspaceOnboarding?: {
|
|
7783
|
+
__typename?: 'WorkspaceOnboarding';
|
|
7784
|
+
workspaceId: number;
|
|
7785
|
+
completedSteps: Array<OnboardingStepId>;
|
|
7786
|
+
startedAt: any;
|
|
7787
|
+
dismissedAt?: any | null;
|
|
7788
|
+
} | null;
|
|
7789
|
+
};
|
|
6070
7790
|
export type ApiKeyFragment = {
|
|
6071
7791
|
__typename?: 'ApiKey';
|
|
6072
7792
|
workspaceId: number;
|
|
@@ -6087,6 +7807,7 @@ export type IntegrationFragment = {
|
|
|
6087
7807
|
createdAt: any;
|
|
6088
7808
|
deletedAt?: any | null;
|
|
6089
7809
|
patchedAt?: any | null;
|
|
7810
|
+
callingEnabled?: boolean | null;
|
|
6090
7811
|
};
|
|
6091
7812
|
export type WebhookFragment = {
|
|
6092
7813
|
__typename?: 'Webhook';
|
|
@@ -6171,6 +7892,7 @@ export type CreateIntegrationMutation = {
|
|
|
6171
7892
|
createdAt: any;
|
|
6172
7893
|
deletedAt?: any | null;
|
|
6173
7894
|
patchedAt?: any | null;
|
|
7895
|
+
callingEnabled?: boolean | null;
|
|
6174
7896
|
};
|
|
6175
7897
|
};
|
|
6176
7898
|
export type CreateTagMutationVariables = Exact<{
|
|
@@ -6234,6 +7956,7 @@ export type DeleteIntegrationMutation = {
|
|
|
6234
7956
|
createdAt: any;
|
|
6235
7957
|
deletedAt?: any | null;
|
|
6236
7958
|
patchedAt?: any | null;
|
|
7959
|
+
callingEnabled?: boolean | null;
|
|
6237
7960
|
};
|
|
6238
7961
|
};
|
|
6239
7962
|
export type DeleteTagMutationVariables = Exact<{
|
|
@@ -6298,6 +8021,7 @@ export type IntegrationQuery = {
|
|
|
6298
8021
|
createdAt: any;
|
|
6299
8022
|
deletedAt?: any | null;
|
|
6300
8023
|
patchedAt?: any | null;
|
|
8024
|
+
callingEnabled?: boolean | null;
|
|
6301
8025
|
};
|
|
6302
8026
|
};
|
|
6303
8027
|
export type IntegrationsQueryVariables = Exact<{
|
|
@@ -6319,6 +8043,7 @@ export type IntegrationsQuery = {
|
|
|
6319
8043
|
createdAt: any;
|
|
6320
8044
|
deletedAt?: any | null;
|
|
6321
8045
|
patchedAt?: any | null;
|
|
8046
|
+
callingEnabled?: boolean | null;
|
|
6322
8047
|
}> | null;
|
|
6323
8048
|
};
|
|
6324
8049
|
};
|
|
@@ -6339,6 +8064,7 @@ export type PatchIntegrationMutation = {
|
|
|
6339
8064
|
createdAt: any;
|
|
6340
8065
|
deletedAt?: any | null;
|
|
6341
8066
|
patchedAt?: any | null;
|
|
8067
|
+
callingEnabled?: boolean | null;
|
|
6342
8068
|
};
|
|
6343
8069
|
};
|
|
6344
8070
|
export type WebhooksQueryVariables = Exact<{
|
|
@@ -6378,6 +8104,13 @@ export type WorkspaceFragment = {
|
|
|
6378
8104
|
contactPersonPhoneNumber?: string | null;
|
|
6379
8105
|
accountId?: string | null;
|
|
6380
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
|
+
};
|
|
6381
8114
|
};
|
|
6382
8115
|
export type WorkspaceSettingsFragment = {
|
|
6383
8116
|
__typename?: 'WorkspaceSettings';
|
|
@@ -6386,12 +8119,60 @@ export type WorkspaceSettingsFragment = {
|
|
|
6386
8119
|
convTTL?: number | null;
|
|
6387
8120
|
optOutKeyword?: string | null;
|
|
6388
8121
|
autoUnarchiveOnMessage?: boolean | null;
|
|
8122
|
+
holidayWeekdays?: Array<string> | null;
|
|
8123
|
+
holidayMessage?: string | null;
|
|
8124
|
+
holidayTimezone?: string | null;
|
|
8125
|
+
writingReadingLevel?: WritingReadingLevel | null;
|
|
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;
|
|
6389
8139
|
testNums?: Array<{
|
|
6390
8140
|
__typename?: 'WorkspaceTestNumber';
|
|
6391
8141
|
phone: string;
|
|
6392
8142
|
active?: boolean | null;
|
|
6393
8143
|
}> | null;
|
|
6394
8144
|
};
|
|
8145
|
+
export type CreateWorkspaceMutationVariables = Exact<{
|
|
8146
|
+
input: CreateWorkspaceInput;
|
|
8147
|
+
}>;
|
|
8148
|
+
export type CreateWorkspaceMutation = {
|
|
8149
|
+
__typename?: 'Mutation';
|
|
8150
|
+
createWorkspace: {
|
|
8151
|
+
__typename?: 'Workspace';
|
|
8152
|
+
id: number;
|
|
8153
|
+
name: string;
|
|
8154
|
+
address?: string | null;
|
|
8155
|
+
city?: string | null;
|
|
8156
|
+
country?: string | null;
|
|
8157
|
+
website?: string | null;
|
|
8158
|
+
companyUserId?: number | null;
|
|
8159
|
+
phoneNumber?: string | null;
|
|
8160
|
+
taxOffice?: string | null;
|
|
8161
|
+
taxNumber?: string | null;
|
|
8162
|
+
contactPersonName?: string | null;
|
|
8163
|
+
contactPersonEmail?: string | null;
|
|
8164
|
+
contactPersonPhoneNumber?: string | null;
|
|
8165
|
+
accountId?: string | null;
|
|
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
|
+
};
|
|
8174
|
+
};
|
|
8175
|
+
};
|
|
6395
8176
|
export type IsWorkspaceNameAvailableQueryVariables = Exact<{
|
|
6396
8177
|
name: Scalars['String']['input'];
|
|
6397
8178
|
}>;
|
|
@@ -6411,6 +8192,23 @@ export type PatchWorkspaceSettingsMutation = {
|
|
|
6411
8192
|
convTTL?: number | null;
|
|
6412
8193
|
optOutKeyword?: string | null;
|
|
6413
8194
|
autoUnarchiveOnMessage?: boolean | null;
|
|
8195
|
+
holidayWeekdays?: Array<string> | null;
|
|
8196
|
+
holidayMessage?: string | null;
|
|
8197
|
+
holidayTimezone?: string | null;
|
|
8198
|
+
writingReadingLevel?: WritingReadingLevel | null;
|
|
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;
|
|
6414
8212
|
testNums?: Array<{
|
|
6415
8213
|
__typename?: 'WorkspaceTestNumber';
|
|
6416
8214
|
phone: string;
|
|
@@ -6418,6 +8216,80 @@ export type PatchWorkspaceSettingsMutation = {
|
|
|
6418
8216
|
}> | null;
|
|
6419
8217
|
};
|
|
6420
8218
|
};
|
|
8219
|
+
export type RemoveWorkspaceMemberMutationVariables = Exact<{
|
|
8220
|
+
workspaceId: Scalars['Int']['input'];
|
|
8221
|
+
userId: Scalars['ID']['input'];
|
|
8222
|
+
}>;
|
|
8223
|
+
export type RemoveWorkspaceMemberMutation = {
|
|
8224
|
+
__typename?: 'Mutation';
|
|
8225
|
+
removeWorkspaceMember: boolean;
|
|
8226
|
+
};
|
|
8227
|
+
export type RevokeWorkspaceInvitationMutationVariables = Exact<{
|
|
8228
|
+
id: Scalars['ID']['input'];
|
|
8229
|
+
}>;
|
|
8230
|
+
export type RevokeWorkspaceInvitationMutation = {
|
|
8231
|
+
__typename?: 'Mutation';
|
|
8232
|
+
revokeWorkspaceInvitation: boolean;
|
|
8233
|
+
};
|
|
8234
|
+
export type UpdateWorkspaceMutationVariables = Exact<{
|
|
8235
|
+
input: UpdateWorkspaceInput;
|
|
8236
|
+
}>;
|
|
8237
|
+
export type UpdateWorkspaceMutation = {
|
|
8238
|
+
__typename?: 'Mutation';
|
|
8239
|
+
updateWorkspace: {
|
|
8240
|
+
__typename?: 'Workspace';
|
|
8241
|
+
id: number;
|
|
8242
|
+
name: string;
|
|
8243
|
+
address?: string | null;
|
|
8244
|
+
city?: string | null;
|
|
8245
|
+
country?: string | null;
|
|
8246
|
+
website?: string | null;
|
|
8247
|
+
companyUserId?: number | null;
|
|
8248
|
+
phoneNumber?: string | null;
|
|
8249
|
+
taxOffice?: string | null;
|
|
8250
|
+
taxNumber?: string | null;
|
|
8251
|
+
contactPersonName?: string | null;
|
|
8252
|
+
contactPersonEmail?: string | null;
|
|
8253
|
+
contactPersonPhoneNumber?: string | null;
|
|
8254
|
+
accountId?: string | null;
|
|
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
|
+
};
|
|
8263
|
+
};
|
|
8264
|
+
};
|
|
8265
|
+
export type WorkspaceInvitationsQueryVariables = Exact<{
|
|
8266
|
+
workspaceId: Scalars['Int']['input'];
|
|
8267
|
+
}>;
|
|
8268
|
+
export type WorkspaceInvitationsQuery = {
|
|
8269
|
+
__typename?: 'Query';
|
|
8270
|
+
workspaceInvitations: Array<{
|
|
8271
|
+
__typename?: 'WorkspaceInvitation';
|
|
8272
|
+
id: string;
|
|
8273
|
+
email: string;
|
|
8274
|
+
status: string;
|
|
8275
|
+
expiresAt: any;
|
|
8276
|
+
createdAt: any;
|
|
8277
|
+
approvedAt?: any | null;
|
|
8278
|
+
}>;
|
|
8279
|
+
};
|
|
8280
|
+
export type WorkspaceMembersQueryVariables = Exact<{
|
|
8281
|
+
workspaceId: Scalars['Int']['input'];
|
|
8282
|
+
}>;
|
|
8283
|
+
export type WorkspaceMembersQuery = {
|
|
8284
|
+
__typename?: 'Query';
|
|
8285
|
+
workspaceMembers: Array<{
|
|
8286
|
+
__typename?: 'WorkspaceMember';
|
|
8287
|
+
id: string;
|
|
8288
|
+
email?: string | null;
|
|
8289
|
+
userName?: string | null;
|
|
8290
|
+
isEnabled: boolean;
|
|
8291
|
+
}>;
|
|
8292
|
+
};
|
|
6421
8293
|
export type WorkspaceSettingsQueryVariables = Exact<{
|
|
6422
8294
|
input: WorkspaceSettingsInput;
|
|
6423
8295
|
}>;
|
|
@@ -6430,6 +8302,23 @@ export type WorkspaceSettingsQuery = {
|
|
|
6430
8302
|
convTTL?: number | null;
|
|
6431
8303
|
optOutKeyword?: string | null;
|
|
6432
8304
|
autoUnarchiveOnMessage?: boolean | null;
|
|
8305
|
+
holidayWeekdays?: Array<string> | null;
|
|
8306
|
+
holidayMessage?: string | null;
|
|
8307
|
+
holidayTimezone?: string | null;
|
|
8308
|
+
writingReadingLevel?: WritingReadingLevel | null;
|
|
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;
|
|
6433
8322
|
testNums?: Array<{
|
|
6434
8323
|
__typename?: 'WorkspaceTestNumber';
|
|
6435
8324
|
phone: string;
|
|
@@ -6462,6 +8351,13 @@ export type WorkspacesQuery = {
|
|
|
6462
8351
|
contactPersonPhoneNumber?: string | null;
|
|
6463
8352
|
accountId?: string | null;
|
|
6464
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
|
+
};
|
|
6465
8361
|
}>;
|
|
6466
8362
|
pageInfo: {
|
|
6467
8363
|
__typename?: 'PageInfo';
|
|
@@ -6477,6 +8373,7 @@ export declare const UserRoleFragmentDoc: Apollo.DocumentNode;
|
|
|
6477
8373
|
export declare const BroadcastFragmentDoc: Apollo.DocumentNode;
|
|
6478
8374
|
export declare const BroadcastReportFragmentDoc: Apollo.DocumentNode;
|
|
6479
8375
|
export declare const AgentReportFragmentDoc: Apollo.DocumentNode;
|
|
8376
|
+
export declare const ConvStageReportFragmentDoc: Apollo.DocumentNode;
|
|
6480
8377
|
export declare const ConvTagReportFragmentDoc: Apollo.DocumentNode;
|
|
6481
8378
|
export declare const ConversationReportFragmentDoc: Apollo.DocumentNode;
|
|
6482
8379
|
export declare const PageInfoFragmentDoc: Apollo.DocumentNode;
|
|
@@ -6488,9 +8385,11 @@ export declare const MessageTemplateDetailsFragmentDoc: Apollo.DocumentNode;
|
|
|
6488
8385
|
export declare const MessageTemplateFragmentDoc: Apollo.DocumentNode;
|
|
6489
8386
|
export declare const ClientFragmentDoc: Apollo.DocumentNode;
|
|
6490
8387
|
export declare const QuickReplyFragmentDoc: Apollo.DocumentNode;
|
|
8388
|
+
export declare const WorkspaceOnboardingFragmentDoc: Apollo.DocumentNode;
|
|
6491
8389
|
export declare const ApiKeyFragmentDoc: Apollo.DocumentNode;
|
|
6492
8390
|
export declare const IntegrationFragmentDoc: Apollo.DocumentNode;
|
|
6493
8391
|
export declare const WebhookFragmentDoc: Apollo.DocumentNode;
|
|
8392
|
+
export declare const WorkspaceProfileFragmentDoc: Apollo.DocumentNode;
|
|
6494
8393
|
export declare const WorkspaceFragmentDoc: Apollo.DocumentNode;
|
|
6495
8394
|
export declare const WorkspaceSettingsFragmentDoc: Apollo.DocumentNode;
|
|
6496
8395
|
export declare const AiDocument: Apollo.DocumentNode;
|
|
@@ -6534,6 +8433,47 @@ export declare function refetchAiQuery(variables: AiQueryVariables): {
|
|
|
6534
8433
|
input: AiInput;
|
|
6535
8434
|
}>;
|
|
6536
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
|
+
};
|
|
6537
8477
|
export declare const AisDocument: Apollo.DocumentNode;
|
|
6538
8478
|
/**
|
|
6539
8479
|
* __useAisQuery__
|
|
@@ -7563,6 +9503,47 @@ export declare function refetchAgentsReportQuery(variables: AgentsReportQueryVar
|
|
|
7563
9503
|
input: AgentsReportInput;
|
|
7564
9504
|
}>;
|
|
7565
9505
|
};
|
|
9506
|
+
export declare const ConvStagesReportDocument: Apollo.DocumentNode;
|
|
9507
|
+
/**
|
|
9508
|
+
* __useConvStagesReportQuery__
|
|
9509
|
+
*
|
|
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
|
|
9512
|
+
* you can use to render your UI.
|
|
9513
|
+
*
|
|
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;
|
|
9515
|
+
*
|
|
9516
|
+
* @example
|
|
9517
|
+
* const { data, loading, error } = useConvStagesReportQuery({
|
|
9518
|
+
* variables: {
|
|
9519
|
+
* input: // value for 'input'
|
|
9520
|
+
* },
|
|
9521
|
+
* });
|
|
9522
|
+
*/
|
|
9523
|
+
export declare function useConvStagesReportQuery(baseOptions: Apollo.QueryHookOptions<ConvStagesReportQuery, ConvStagesReportQueryVariables> & ({
|
|
9524
|
+
variables: ConvStagesReportQueryVariables;
|
|
9525
|
+
skip?: boolean;
|
|
9526
|
+
} | {
|
|
9527
|
+
skip: boolean;
|
|
9528
|
+
})): Apollo.QueryResult<ConvStagesReportQuery, Exact<{
|
|
9529
|
+
input: ConvStagesReportInput;
|
|
9530
|
+
}>>;
|
|
9531
|
+
export declare function useConvStagesReportLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ConvStagesReportQuery, ConvStagesReportQueryVariables>): Apollo.LazyQueryResultTuple<ConvStagesReportQuery, Exact<{
|
|
9532
|
+
input: ConvStagesReportInput;
|
|
9533
|
+
}>>;
|
|
9534
|
+
export declare function useConvStagesReportSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<ConvStagesReportQuery, ConvStagesReportQueryVariables>): Apollo.UseSuspenseQueryResult<ConvStagesReportQuery | undefined, Exact<{
|
|
9535
|
+
input: ConvStagesReportInput;
|
|
9536
|
+
}>>;
|
|
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): {
|
|
9542
|
+
query: Apollo.DocumentNode;
|
|
9543
|
+
variables: Exact<{
|
|
9544
|
+
input: ConvStagesReportInput;
|
|
9545
|
+
}>;
|
|
9546
|
+
};
|
|
7566
9547
|
export declare const ConvTagsReportDocument: Apollo.DocumentNode;
|
|
7567
9548
|
/**
|
|
7568
9549
|
* __useConvTagsReportQuery__
|
|
@@ -7645,6 +9626,88 @@ export declare function refetchConvsReportQuery(variables: ConvsReportQueryVaria
|
|
|
7645
9626
|
input: ConvsReportInput;
|
|
7646
9627
|
}>;
|
|
7647
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
|
+
};
|
|
7648
9711
|
export declare const UploadSignatureDocument: Apollo.DocumentNode;
|
|
7649
9712
|
/**
|
|
7650
9713
|
* __useUploadSignatureQuery__
|
|
@@ -7823,15 +9886,131 @@ export declare function useAssignConvMutation(baseOptions?: Apollo.MutationHookO
|
|
|
7823
9886
|
export type AssignConvMutationHookResult = ReturnType<typeof useAssignConvMutation>;
|
|
7824
9887
|
export type AssignConvMutationResult = Apollo.MutationResult<AssignConvMutation>;
|
|
7825
9888
|
export type AssignConvMutationOptions = Apollo.BaseMutationOptions<AssignConvMutation, AssignConvMutationVariables>;
|
|
7826
|
-
export declare const
|
|
9889
|
+
export declare const AnswerCallDocument: Apollo.DocumentNode;
|
|
9890
|
+
export type AnswerCallMutationFn = Apollo.MutationFunction<AnswerCallMutation, AnswerCallMutationVariables>;
|
|
7827
9891
|
/**
|
|
7828
|
-
*
|
|
9892
|
+
* __useAnswerCallMutation__
|
|
7829
9893
|
*
|
|
7830
|
-
* To run a
|
|
7831
|
-
* When your component renders, `
|
|
7832
|
-
* you can
|
|
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
|
|
7833
9898
|
*
|
|
7834
|
-
* @param baseOptions options that will be passed into the
|
|
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
|
+
};
|
|
10005
|
+
export declare const ConvDocument: Apollo.DocumentNode;
|
|
10006
|
+
/**
|
|
10007
|
+
* __useConvQuery__
|
|
10008
|
+
*
|
|
10009
|
+
* To run a query within a React component, call `useConvQuery` and pass it any options that fit your needs.
|
|
10010
|
+
* When your component renders, `useConvQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
10011
|
+
* you can use to render your UI.
|
|
10012
|
+
*
|
|
10013
|
+
* @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;
|
|
7835
10014
|
*
|
|
7836
10015
|
* @example
|
|
7837
10016
|
* const { data, loading, error } = useConvQuery({
|
|
@@ -7946,6 +10125,47 @@ export declare function refetchConvEnhanceMessageQuery(variables: ConvEnhanceMes
|
|
|
7946
10125
|
input: ConvEnhanceMessageInput;
|
|
7947
10126
|
}>;
|
|
7948
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
|
+
};
|
|
7949
10169
|
export declare const ConvSummaryDocument: Apollo.DocumentNode;
|
|
7950
10170
|
/**
|
|
7951
10171
|
* __useConvSummaryQuery__
|
|
@@ -8270,6 +10490,31 @@ export declare function usePatchConvMutation(baseOptions?: Apollo.MutationHookOp
|
|
|
8270
10490
|
export type PatchConvMutationHookResult = ReturnType<typeof usePatchConvMutation>;
|
|
8271
10491
|
export type PatchConvMutationResult = Apollo.MutationResult<PatchConvMutation>;
|
|
8272
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>;
|
|
8273
10518
|
export declare const StartConvDocument: Apollo.DocumentNode;
|
|
8274
10519
|
export type StartConvMutationFn = Apollo.MutationFunction<StartConvMutation, StartConvMutationVariables>;
|
|
8275
10520
|
/**
|
|
@@ -8386,6 +10631,31 @@ export declare function refetchTagsQuery(variables: TagsQueryVariables): {
|
|
|
8386
10631
|
input: TagsInput;
|
|
8387
10632
|
}>;
|
|
8388
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>;
|
|
8389
10659
|
export declare const UntagClientDocument: Apollo.DocumentNode;
|
|
8390
10660
|
export type UntagClientMutationFn = Apollo.MutationFunction<UntagClientMutation, UntagClientMutationVariables>;
|
|
8391
10661
|
/**
|
|
@@ -8784,6 +11054,47 @@ export declare function useBulkUndeleteClientsMutation(baseOptions?: Apollo.Muta
|
|
|
8784
11054
|
export type BulkUndeleteClientsMutationHookResult = ReturnType<typeof useBulkUndeleteClientsMutation>;
|
|
8785
11055
|
export type BulkUndeleteClientsMutationResult = Apollo.MutationResult<BulkUndeleteClientsMutation>;
|
|
8786
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
|
+
};
|
|
8787
11098
|
export declare const ClientDocument: Apollo.DocumentNode;
|
|
8788
11099
|
/**
|
|
8789
11100
|
* __useClientQuery__
|
|
@@ -8912,6 +11223,31 @@ export declare function refetchClientsQuery(variables: ClientsQueryVariables): {
|
|
|
8912
11223
|
pageInfo?: InputMaybe<PageInfoInput> | undefined;
|
|
8913
11224
|
}>;
|
|
8914
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>;
|
|
8915
11251
|
export declare const CreateClientDocument: Apollo.DocumentNode;
|
|
8916
11252
|
export type CreateClientMutationFn = Apollo.MutationFunction<CreateClientMutation, CreateClientMutationVariables>;
|
|
8917
11253
|
/**
|
|
@@ -8937,6 +11273,31 @@ export declare function useCreateClientMutation(baseOptions?: Apollo.MutationHoo
|
|
|
8937
11273
|
export type CreateClientMutationHookResult = ReturnType<typeof useCreateClientMutation>;
|
|
8938
11274
|
export type CreateClientMutationResult = Apollo.MutationResult<CreateClientMutation>;
|
|
8939
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>;
|
|
8940
11301
|
export declare const DeleteClientDocument: Apollo.DocumentNode;
|
|
8941
11302
|
export type DeleteClientMutationFn = Apollo.MutationFunction<DeleteClientMutation, DeleteClientMutationVariables>;
|
|
8942
11303
|
/**
|
|
@@ -9219,6 +11580,157 @@ export declare function refetchValidateBulkImportContactsQuery(variables: Valida
|
|
|
9219
11580
|
input: ValidateBulkImportContactsInput;
|
|
9220
11581
|
}>;
|
|
9221
11582
|
};
|
|
11583
|
+
export declare const CompleteOnboardingStepDocument: Apollo.DocumentNode;
|
|
11584
|
+
export type CompleteOnboardingStepMutationFn = Apollo.MutationFunction<CompleteOnboardingStepMutation, CompleteOnboardingStepMutationVariables>;
|
|
11585
|
+
/**
|
|
11586
|
+
* __useCompleteOnboardingStepMutation__
|
|
11587
|
+
*
|
|
11588
|
+
* To run a mutation, you first call `useCompleteOnboardingStepMutation` within a React component and pass it any options that fit your needs.
|
|
11589
|
+
* When your component renders, `useCompleteOnboardingStepMutation` returns a tuple that includes:
|
|
11590
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
11591
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
11592
|
+
*
|
|
11593
|
+
* @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;
|
|
11594
|
+
*
|
|
11595
|
+
* @example
|
|
11596
|
+
* const [completeOnboardingStepMutation, { data, loading, error }] = useCompleteOnboardingStepMutation({
|
|
11597
|
+
* variables: {
|
|
11598
|
+
* input: // value for 'input'
|
|
11599
|
+
* },
|
|
11600
|
+
* });
|
|
11601
|
+
*/
|
|
11602
|
+
export declare function useCompleteOnboardingStepMutation(baseOptions?: Apollo.MutationHookOptions<CompleteOnboardingStepMutation, CompleteOnboardingStepMutationVariables>): Apollo.MutationTuple<CompleteOnboardingStepMutation, Exact<{
|
|
11603
|
+
input: CompleteOnboardingStepInput;
|
|
11604
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
11605
|
+
export type CompleteOnboardingStepMutationHookResult = ReturnType<typeof useCompleteOnboardingStepMutation>;
|
|
11606
|
+
export type CompleteOnboardingStepMutationResult = Apollo.MutationResult<CompleteOnboardingStepMutation>;
|
|
11607
|
+
export type CompleteOnboardingStepMutationOptions = Apollo.BaseMutationOptions<CompleteOnboardingStepMutation, CompleteOnboardingStepMutationVariables>;
|
|
11608
|
+
export declare const DismissWorkspaceOnboardingDocument: Apollo.DocumentNode;
|
|
11609
|
+
export type DismissWorkspaceOnboardingMutationFn = Apollo.MutationFunction<DismissWorkspaceOnboardingMutation, DismissWorkspaceOnboardingMutationVariables>;
|
|
11610
|
+
/**
|
|
11611
|
+
* __useDismissWorkspaceOnboardingMutation__
|
|
11612
|
+
*
|
|
11613
|
+
* To run a mutation, you first call `useDismissWorkspaceOnboardingMutation` within a React component and pass it any options that fit your needs.
|
|
11614
|
+
* When your component renders, `useDismissWorkspaceOnboardingMutation` returns a tuple that includes:
|
|
11615
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
11616
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
11617
|
+
*
|
|
11618
|
+
* @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;
|
|
11619
|
+
*
|
|
11620
|
+
* @example
|
|
11621
|
+
* const [dismissWorkspaceOnboardingMutation, { data, loading, error }] = useDismissWorkspaceOnboardingMutation({
|
|
11622
|
+
* variables: {
|
|
11623
|
+
* input: // value for 'input'
|
|
11624
|
+
* },
|
|
11625
|
+
* });
|
|
11626
|
+
*/
|
|
11627
|
+
export declare function useDismissWorkspaceOnboardingMutation(baseOptions?: Apollo.MutationHookOptions<DismissWorkspaceOnboardingMutation, DismissWorkspaceOnboardingMutationVariables>): Apollo.MutationTuple<DismissWorkspaceOnboardingMutation, Exact<{
|
|
11628
|
+
input: WorkspaceOnboardingInput;
|
|
11629
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
11630
|
+
export type DismissWorkspaceOnboardingMutationHookResult = ReturnType<typeof useDismissWorkspaceOnboardingMutation>;
|
|
11631
|
+
export type DismissWorkspaceOnboardingMutationResult = Apollo.MutationResult<DismissWorkspaceOnboardingMutation>;
|
|
11632
|
+
export type DismissWorkspaceOnboardingMutationOptions = Apollo.BaseMutationOptions<DismissWorkspaceOnboardingMutation, DismissWorkspaceOnboardingMutationVariables>;
|
|
11633
|
+
export declare const OnboardingOptionsDocument: Apollo.DocumentNode;
|
|
11634
|
+
/**
|
|
11635
|
+
* __useOnboardingOptionsQuery__
|
|
11636
|
+
*
|
|
11637
|
+
* To run a query within a React component, call `useOnboardingOptionsQuery` and pass it any options that fit your needs.
|
|
11638
|
+
* When your component renders, `useOnboardingOptionsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
11639
|
+
* you can use to render your UI.
|
|
11640
|
+
*
|
|
11641
|
+
* @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;
|
|
11642
|
+
*
|
|
11643
|
+
* @example
|
|
11644
|
+
* const { data, loading, error } = useOnboardingOptionsQuery({
|
|
11645
|
+
* variables: {
|
|
11646
|
+
* },
|
|
11647
|
+
* });
|
|
11648
|
+
*/
|
|
11649
|
+
export declare function useOnboardingOptionsQuery(baseOptions?: Apollo.QueryHookOptions<OnboardingOptionsQuery, OnboardingOptionsQueryVariables>): Apollo.QueryResult<OnboardingOptionsQuery, Exact<{
|
|
11650
|
+
[key: string]: never;
|
|
11651
|
+
}>>;
|
|
11652
|
+
export declare function useOnboardingOptionsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<OnboardingOptionsQuery, OnboardingOptionsQueryVariables>): Apollo.LazyQueryResultTuple<OnboardingOptionsQuery, Exact<{
|
|
11653
|
+
[key: string]: never;
|
|
11654
|
+
}>>;
|
|
11655
|
+
export declare function useOnboardingOptionsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<OnboardingOptionsQuery, OnboardingOptionsQueryVariables>): Apollo.UseSuspenseQueryResult<OnboardingOptionsQuery | undefined, Exact<{
|
|
11656
|
+
[key: string]: never;
|
|
11657
|
+
}>>;
|
|
11658
|
+
export type OnboardingOptionsQueryHookResult = ReturnType<typeof useOnboardingOptionsQuery>;
|
|
11659
|
+
export type OnboardingOptionsLazyQueryHookResult = ReturnType<typeof useOnboardingOptionsLazyQuery>;
|
|
11660
|
+
export type OnboardingOptionsSuspenseQueryHookResult = ReturnType<typeof useOnboardingOptionsSuspenseQuery>;
|
|
11661
|
+
export type OnboardingOptionsQueryResult = Apollo.QueryResult<OnboardingOptionsQuery, OnboardingOptionsQueryVariables>;
|
|
11662
|
+
export declare function refetchOnboardingOptionsQuery(variables?: OnboardingOptionsQueryVariables): {
|
|
11663
|
+
query: Apollo.DocumentNode;
|
|
11664
|
+
variables: Exact<{
|
|
11665
|
+
[key: string]: never;
|
|
11666
|
+
}> | undefined;
|
|
11667
|
+
};
|
|
11668
|
+
export declare const UpdateWorkspaceProfileDocument: Apollo.DocumentNode;
|
|
11669
|
+
export type UpdateWorkspaceProfileMutationFn = Apollo.MutationFunction<UpdateWorkspaceProfileMutation, UpdateWorkspaceProfileMutationVariables>;
|
|
11670
|
+
/**
|
|
11671
|
+
* __useUpdateWorkspaceProfileMutation__
|
|
11672
|
+
*
|
|
11673
|
+
* To run a mutation, you first call `useUpdateWorkspaceProfileMutation` within a React component and pass it any options that fit your needs.
|
|
11674
|
+
* When your component renders, `useUpdateWorkspaceProfileMutation` returns a tuple that includes:
|
|
11675
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
11676
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
11677
|
+
*
|
|
11678
|
+
* @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;
|
|
11679
|
+
*
|
|
11680
|
+
* @example
|
|
11681
|
+
* const [updateWorkspaceProfileMutation, { data, loading, error }] = useUpdateWorkspaceProfileMutation({
|
|
11682
|
+
* variables: {
|
|
11683
|
+
* input: // value for 'input'
|
|
11684
|
+
* },
|
|
11685
|
+
* });
|
|
11686
|
+
*/
|
|
11687
|
+
export declare function useUpdateWorkspaceProfileMutation(baseOptions?: Apollo.MutationHookOptions<UpdateWorkspaceProfileMutation, UpdateWorkspaceProfileMutationVariables>): Apollo.MutationTuple<UpdateWorkspaceProfileMutation, Exact<{
|
|
11688
|
+
input: UpdateWorkspaceProfileInput;
|
|
11689
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
11690
|
+
export type UpdateWorkspaceProfileMutationHookResult = ReturnType<typeof useUpdateWorkspaceProfileMutation>;
|
|
11691
|
+
export type UpdateWorkspaceProfileMutationResult = Apollo.MutationResult<UpdateWorkspaceProfileMutation>;
|
|
11692
|
+
export type UpdateWorkspaceProfileMutationOptions = Apollo.BaseMutationOptions<UpdateWorkspaceProfileMutation, UpdateWorkspaceProfileMutationVariables>;
|
|
11693
|
+
export declare const WorkspaceOnboardingDocument: Apollo.DocumentNode;
|
|
11694
|
+
/**
|
|
11695
|
+
* __useWorkspaceOnboardingQuery__
|
|
11696
|
+
*
|
|
11697
|
+
* To run a query within a React component, call `useWorkspaceOnboardingQuery` and pass it any options that fit your needs.
|
|
11698
|
+
* When your component renders, `useWorkspaceOnboardingQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
11699
|
+
* you can use to render your UI.
|
|
11700
|
+
*
|
|
11701
|
+
* @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;
|
|
11702
|
+
*
|
|
11703
|
+
* @example
|
|
11704
|
+
* const { data, loading, error } = useWorkspaceOnboardingQuery({
|
|
11705
|
+
* variables: {
|
|
11706
|
+
* input: // value for 'input'
|
|
11707
|
+
* },
|
|
11708
|
+
* });
|
|
11709
|
+
*/
|
|
11710
|
+
export declare function useWorkspaceOnboardingQuery(baseOptions: Apollo.QueryHookOptions<WorkspaceOnboardingQuery, WorkspaceOnboardingQueryVariables> & ({
|
|
11711
|
+
variables: WorkspaceOnboardingQueryVariables;
|
|
11712
|
+
skip?: boolean;
|
|
11713
|
+
} | {
|
|
11714
|
+
skip: boolean;
|
|
11715
|
+
})): Apollo.QueryResult<WorkspaceOnboardingQuery, Exact<{
|
|
11716
|
+
input: WorkspaceOnboardingInput;
|
|
11717
|
+
}>>;
|
|
11718
|
+
export declare function useWorkspaceOnboardingLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<WorkspaceOnboardingQuery, WorkspaceOnboardingQueryVariables>): Apollo.LazyQueryResultTuple<WorkspaceOnboardingQuery, Exact<{
|
|
11719
|
+
input: WorkspaceOnboardingInput;
|
|
11720
|
+
}>>;
|
|
11721
|
+
export declare function useWorkspaceOnboardingSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<WorkspaceOnboardingQuery, WorkspaceOnboardingQueryVariables>): Apollo.UseSuspenseQueryResult<WorkspaceOnboardingQuery | undefined, Exact<{
|
|
11722
|
+
input: WorkspaceOnboardingInput;
|
|
11723
|
+
}>>;
|
|
11724
|
+
export type WorkspaceOnboardingQueryHookResult = ReturnType<typeof useWorkspaceOnboardingQuery>;
|
|
11725
|
+
export type WorkspaceOnboardingLazyQueryHookResult = ReturnType<typeof useWorkspaceOnboardingLazyQuery>;
|
|
11726
|
+
export type WorkspaceOnboardingSuspenseQueryHookResult = ReturnType<typeof useWorkspaceOnboardingSuspenseQuery>;
|
|
11727
|
+
export type WorkspaceOnboardingQueryResult = Apollo.QueryResult<WorkspaceOnboardingQuery, WorkspaceOnboardingQueryVariables>;
|
|
11728
|
+
export declare function refetchWorkspaceOnboardingQuery(variables: WorkspaceOnboardingQueryVariables): {
|
|
11729
|
+
query: Apollo.DocumentNode;
|
|
11730
|
+
variables: Exact<{
|
|
11731
|
+
input: WorkspaceOnboardingInput;
|
|
11732
|
+
}>;
|
|
11733
|
+
};
|
|
9222
11734
|
export declare const ApiKeysDocument: Apollo.DocumentNode;
|
|
9223
11735
|
/**
|
|
9224
11736
|
* __useApiKeysQuery__
|
|
@@ -9658,6 +12170,31 @@ export declare function refetchWebhooksQuery(variables: WebhooksQueryVariables):
|
|
|
9658
12170
|
input: WebhooksInput;
|
|
9659
12171
|
}>;
|
|
9660
12172
|
};
|
|
12173
|
+
export declare const CreateWorkspaceDocument: Apollo.DocumentNode;
|
|
12174
|
+
export type CreateWorkspaceMutationFn = Apollo.MutationFunction<CreateWorkspaceMutation, CreateWorkspaceMutationVariables>;
|
|
12175
|
+
/**
|
|
12176
|
+
* __useCreateWorkspaceMutation__
|
|
12177
|
+
*
|
|
12178
|
+
* To run a mutation, you first call `useCreateWorkspaceMutation` within a React component and pass it any options that fit your needs.
|
|
12179
|
+
* When your component renders, `useCreateWorkspaceMutation` returns a tuple that includes:
|
|
12180
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
12181
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
12182
|
+
*
|
|
12183
|
+
* @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;
|
|
12184
|
+
*
|
|
12185
|
+
* @example
|
|
12186
|
+
* const [createWorkspaceMutation, { data, loading, error }] = useCreateWorkspaceMutation({
|
|
12187
|
+
* variables: {
|
|
12188
|
+
* input: // value for 'input'
|
|
12189
|
+
* },
|
|
12190
|
+
* });
|
|
12191
|
+
*/
|
|
12192
|
+
export declare function useCreateWorkspaceMutation(baseOptions?: Apollo.MutationHookOptions<CreateWorkspaceMutation, CreateWorkspaceMutationVariables>): Apollo.MutationTuple<CreateWorkspaceMutation, Exact<{
|
|
12193
|
+
input: CreateWorkspaceInput;
|
|
12194
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
12195
|
+
export type CreateWorkspaceMutationHookResult = ReturnType<typeof useCreateWorkspaceMutation>;
|
|
12196
|
+
export type CreateWorkspaceMutationResult = Apollo.MutationResult<CreateWorkspaceMutation>;
|
|
12197
|
+
export type CreateWorkspaceMutationOptions = Apollo.BaseMutationOptions<CreateWorkspaceMutation, CreateWorkspaceMutationVariables>;
|
|
9661
12198
|
export declare const IsWorkspaceNameAvailableDocument: Apollo.DocumentNode;
|
|
9662
12199
|
/**
|
|
9663
12200
|
* __useIsWorkspaceNameAvailableQuery__
|
|
@@ -9724,6 +12261,165 @@ export declare function usePatchWorkspaceSettingsMutation(baseOptions?: Apollo.M
|
|
|
9724
12261
|
export type PatchWorkspaceSettingsMutationHookResult = ReturnType<typeof usePatchWorkspaceSettingsMutation>;
|
|
9725
12262
|
export type PatchWorkspaceSettingsMutationResult = Apollo.MutationResult<PatchWorkspaceSettingsMutation>;
|
|
9726
12263
|
export type PatchWorkspaceSettingsMutationOptions = Apollo.BaseMutationOptions<PatchWorkspaceSettingsMutation, PatchWorkspaceSettingsMutationVariables>;
|
|
12264
|
+
export declare const RemoveWorkspaceMemberDocument: Apollo.DocumentNode;
|
|
12265
|
+
export type RemoveWorkspaceMemberMutationFn = Apollo.MutationFunction<RemoveWorkspaceMemberMutation, RemoveWorkspaceMemberMutationVariables>;
|
|
12266
|
+
/**
|
|
12267
|
+
* __useRemoveWorkspaceMemberMutation__
|
|
12268
|
+
*
|
|
12269
|
+
* To run a mutation, you first call `useRemoveWorkspaceMemberMutation` within a React component and pass it any options that fit your needs.
|
|
12270
|
+
* When your component renders, `useRemoveWorkspaceMemberMutation` returns a tuple that includes:
|
|
12271
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
12272
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
12273
|
+
*
|
|
12274
|
+
* @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;
|
|
12275
|
+
*
|
|
12276
|
+
* @example
|
|
12277
|
+
* const [removeWorkspaceMemberMutation, { data, loading, error }] = useRemoveWorkspaceMemberMutation({
|
|
12278
|
+
* variables: {
|
|
12279
|
+
* workspaceId: // value for 'workspaceId'
|
|
12280
|
+
* userId: // value for 'userId'
|
|
12281
|
+
* },
|
|
12282
|
+
* });
|
|
12283
|
+
*/
|
|
12284
|
+
export declare function useRemoveWorkspaceMemberMutation(baseOptions?: Apollo.MutationHookOptions<RemoveWorkspaceMemberMutation, RemoveWorkspaceMemberMutationVariables>): Apollo.MutationTuple<RemoveWorkspaceMemberMutation, Exact<{
|
|
12285
|
+
workspaceId: number;
|
|
12286
|
+
userId: string;
|
|
12287
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
12288
|
+
export type RemoveWorkspaceMemberMutationHookResult = ReturnType<typeof useRemoveWorkspaceMemberMutation>;
|
|
12289
|
+
export type RemoveWorkspaceMemberMutationResult = Apollo.MutationResult<RemoveWorkspaceMemberMutation>;
|
|
12290
|
+
export type RemoveWorkspaceMemberMutationOptions = Apollo.BaseMutationOptions<RemoveWorkspaceMemberMutation, RemoveWorkspaceMemberMutationVariables>;
|
|
12291
|
+
export declare const RevokeWorkspaceInvitationDocument: Apollo.DocumentNode;
|
|
12292
|
+
export type RevokeWorkspaceInvitationMutationFn = Apollo.MutationFunction<RevokeWorkspaceInvitationMutation, RevokeWorkspaceInvitationMutationVariables>;
|
|
12293
|
+
/**
|
|
12294
|
+
* __useRevokeWorkspaceInvitationMutation__
|
|
12295
|
+
*
|
|
12296
|
+
* To run a mutation, you first call `useRevokeWorkspaceInvitationMutation` within a React component and pass it any options that fit your needs.
|
|
12297
|
+
* When your component renders, `useRevokeWorkspaceInvitationMutation` returns a tuple that includes:
|
|
12298
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
12299
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
12300
|
+
*
|
|
12301
|
+
* @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;
|
|
12302
|
+
*
|
|
12303
|
+
* @example
|
|
12304
|
+
* const [revokeWorkspaceInvitationMutation, { data, loading, error }] = useRevokeWorkspaceInvitationMutation({
|
|
12305
|
+
* variables: {
|
|
12306
|
+
* id: // value for 'id'
|
|
12307
|
+
* },
|
|
12308
|
+
* });
|
|
12309
|
+
*/
|
|
12310
|
+
export declare function useRevokeWorkspaceInvitationMutation(baseOptions?: Apollo.MutationHookOptions<RevokeWorkspaceInvitationMutation, RevokeWorkspaceInvitationMutationVariables>): Apollo.MutationTuple<RevokeWorkspaceInvitationMutation, Exact<{
|
|
12311
|
+
id: string;
|
|
12312
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
12313
|
+
export type RevokeWorkspaceInvitationMutationHookResult = ReturnType<typeof useRevokeWorkspaceInvitationMutation>;
|
|
12314
|
+
export type RevokeWorkspaceInvitationMutationResult = Apollo.MutationResult<RevokeWorkspaceInvitationMutation>;
|
|
12315
|
+
export type RevokeWorkspaceInvitationMutationOptions = Apollo.BaseMutationOptions<RevokeWorkspaceInvitationMutation, RevokeWorkspaceInvitationMutationVariables>;
|
|
12316
|
+
export declare const UpdateWorkspaceDocument: Apollo.DocumentNode;
|
|
12317
|
+
export type UpdateWorkspaceMutationFn = Apollo.MutationFunction<UpdateWorkspaceMutation, UpdateWorkspaceMutationVariables>;
|
|
12318
|
+
/**
|
|
12319
|
+
* __useUpdateWorkspaceMutation__
|
|
12320
|
+
*
|
|
12321
|
+
* To run a mutation, you first call `useUpdateWorkspaceMutation` within a React component and pass it any options that fit your needs.
|
|
12322
|
+
* When your component renders, `useUpdateWorkspaceMutation` returns a tuple that includes:
|
|
12323
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
12324
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
12325
|
+
*
|
|
12326
|
+
* @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;
|
|
12327
|
+
*
|
|
12328
|
+
* @example
|
|
12329
|
+
* const [updateWorkspaceMutation, { data, loading, error }] = useUpdateWorkspaceMutation({
|
|
12330
|
+
* variables: {
|
|
12331
|
+
* input: // value for 'input'
|
|
12332
|
+
* },
|
|
12333
|
+
* });
|
|
12334
|
+
*/
|
|
12335
|
+
export declare function useUpdateWorkspaceMutation(baseOptions?: Apollo.MutationHookOptions<UpdateWorkspaceMutation, UpdateWorkspaceMutationVariables>): Apollo.MutationTuple<UpdateWorkspaceMutation, Exact<{
|
|
12336
|
+
input: UpdateWorkspaceInput;
|
|
12337
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
12338
|
+
export type UpdateWorkspaceMutationHookResult = ReturnType<typeof useUpdateWorkspaceMutation>;
|
|
12339
|
+
export type UpdateWorkspaceMutationResult = Apollo.MutationResult<UpdateWorkspaceMutation>;
|
|
12340
|
+
export type UpdateWorkspaceMutationOptions = Apollo.BaseMutationOptions<UpdateWorkspaceMutation, UpdateWorkspaceMutationVariables>;
|
|
12341
|
+
export declare const WorkspaceInvitationsDocument: Apollo.DocumentNode;
|
|
12342
|
+
/**
|
|
12343
|
+
* __useWorkspaceInvitationsQuery__
|
|
12344
|
+
*
|
|
12345
|
+
* To run a query within a React component, call `useWorkspaceInvitationsQuery` and pass it any options that fit your needs.
|
|
12346
|
+
* When your component renders, `useWorkspaceInvitationsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
12347
|
+
* you can use to render your UI.
|
|
12348
|
+
*
|
|
12349
|
+
* @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;
|
|
12350
|
+
*
|
|
12351
|
+
* @example
|
|
12352
|
+
* const { data, loading, error } = useWorkspaceInvitationsQuery({
|
|
12353
|
+
* variables: {
|
|
12354
|
+
* workspaceId: // value for 'workspaceId'
|
|
12355
|
+
* },
|
|
12356
|
+
* });
|
|
12357
|
+
*/
|
|
12358
|
+
export declare function useWorkspaceInvitationsQuery(baseOptions: Apollo.QueryHookOptions<WorkspaceInvitationsQuery, WorkspaceInvitationsQueryVariables> & ({
|
|
12359
|
+
variables: WorkspaceInvitationsQueryVariables;
|
|
12360
|
+
skip?: boolean;
|
|
12361
|
+
} | {
|
|
12362
|
+
skip: boolean;
|
|
12363
|
+
})): Apollo.QueryResult<WorkspaceInvitationsQuery, Exact<{
|
|
12364
|
+
workspaceId: number;
|
|
12365
|
+
}>>;
|
|
12366
|
+
export declare function useWorkspaceInvitationsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<WorkspaceInvitationsQuery, WorkspaceInvitationsQueryVariables>): Apollo.LazyQueryResultTuple<WorkspaceInvitationsQuery, Exact<{
|
|
12367
|
+
workspaceId: number;
|
|
12368
|
+
}>>;
|
|
12369
|
+
export declare function useWorkspaceInvitationsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<WorkspaceInvitationsQuery, WorkspaceInvitationsQueryVariables>): Apollo.UseSuspenseQueryResult<WorkspaceInvitationsQuery | undefined, Exact<{
|
|
12370
|
+
workspaceId: number;
|
|
12371
|
+
}>>;
|
|
12372
|
+
export type WorkspaceInvitationsQueryHookResult = ReturnType<typeof useWorkspaceInvitationsQuery>;
|
|
12373
|
+
export type WorkspaceInvitationsLazyQueryHookResult = ReturnType<typeof useWorkspaceInvitationsLazyQuery>;
|
|
12374
|
+
export type WorkspaceInvitationsSuspenseQueryHookResult = ReturnType<typeof useWorkspaceInvitationsSuspenseQuery>;
|
|
12375
|
+
export type WorkspaceInvitationsQueryResult = Apollo.QueryResult<WorkspaceInvitationsQuery, WorkspaceInvitationsQueryVariables>;
|
|
12376
|
+
export declare function refetchWorkspaceInvitationsQuery(variables: WorkspaceInvitationsQueryVariables): {
|
|
12377
|
+
query: Apollo.DocumentNode;
|
|
12378
|
+
variables: Exact<{
|
|
12379
|
+
workspaceId: number;
|
|
12380
|
+
}>;
|
|
12381
|
+
};
|
|
12382
|
+
export declare const WorkspaceMembersDocument: Apollo.DocumentNode;
|
|
12383
|
+
/**
|
|
12384
|
+
* __useWorkspaceMembersQuery__
|
|
12385
|
+
*
|
|
12386
|
+
* To run a query within a React component, call `useWorkspaceMembersQuery` and pass it any options that fit your needs.
|
|
12387
|
+
* When your component renders, `useWorkspaceMembersQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
12388
|
+
* you can use to render your UI.
|
|
12389
|
+
*
|
|
12390
|
+
* @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;
|
|
12391
|
+
*
|
|
12392
|
+
* @example
|
|
12393
|
+
* const { data, loading, error } = useWorkspaceMembersQuery({
|
|
12394
|
+
* variables: {
|
|
12395
|
+
* workspaceId: // value for 'workspaceId'
|
|
12396
|
+
* },
|
|
12397
|
+
* });
|
|
12398
|
+
*/
|
|
12399
|
+
export declare function useWorkspaceMembersQuery(baseOptions: Apollo.QueryHookOptions<WorkspaceMembersQuery, WorkspaceMembersQueryVariables> & ({
|
|
12400
|
+
variables: WorkspaceMembersQueryVariables;
|
|
12401
|
+
skip?: boolean;
|
|
12402
|
+
} | {
|
|
12403
|
+
skip: boolean;
|
|
12404
|
+
})): Apollo.QueryResult<WorkspaceMembersQuery, Exact<{
|
|
12405
|
+
workspaceId: number;
|
|
12406
|
+
}>>;
|
|
12407
|
+
export declare function useWorkspaceMembersLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<WorkspaceMembersQuery, WorkspaceMembersQueryVariables>): Apollo.LazyQueryResultTuple<WorkspaceMembersQuery, Exact<{
|
|
12408
|
+
workspaceId: number;
|
|
12409
|
+
}>>;
|
|
12410
|
+
export declare function useWorkspaceMembersSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<WorkspaceMembersQuery, WorkspaceMembersQueryVariables>): Apollo.UseSuspenseQueryResult<WorkspaceMembersQuery | undefined, Exact<{
|
|
12411
|
+
workspaceId: number;
|
|
12412
|
+
}>>;
|
|
12413
|
+
export type WorkspaceMembersQueryHookResult = ReturnType<typeof useWorkspaceMembersQuery>;
|
|
12414
|
+
export type WorkspaceMembersLazyQueryHookResult = ReturnType<typeof useWorkspaceMembersLazyQuery>;
|
|
12415
|
+
export type WorkspaceMembersSuspenseQueryHookResult = ReturnType<typeof useWorkspaceMembersSuspenseQuery>;
|
|
12416
|
+
export type WorkspaceMembersQueryResult = Apollo.QueryResult<WorkspaceMembersQuery, WorkspaceMembersQueryVariables>;
|
|
12417
|
+
export declare function refetchWorkspaceMembersQuery(variables: WorkspaceMembersQueryVariables): {
|
|
12418
|
+
query: Apollo.DocumentNode;
|
|
12419
|
+
variables: Exact<{
|
|
12420
|
+
workspaceId: number;
|
|
12421
|
+
}>;
|
|
12422
|
+
};
|
|
9727
12423
|
export declare const WorkspaceSettingsDocument: Apollo.DocumentNode;
|
|
9728
12424
|
/**
|
|
9729
12425
|
* __useWorkspaceSettingsQuery__
|