@bcrumbs.net/inbox 0.0.51 → 0.0.55

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.
Files changed (182) hide show
  1. package/assets/ar/inbox.json +20 -3
  2. package/assets/en/inbox.json +22 -5
  3. package/index.cjs.js +3955 -1472
  4. package/index.esm.js +3958 -1477
  5. package/package.json +4 -4
  6. package/src/app/ai/components/Crumby/index.d.ts +2 -0
  7. package/src/app/ai/components/CrumbySettings/AutoTagRulesSection.d.ts +14 -0
  8. package/src/app/ai/components/CrumbySettings/tagRuleUtils.d.ts +28 -0
  9. package/src/app/ai/components/playground/Thread.d.ts +5 -1
  10. package/src/app/ai/components/playground/ThreadWelcome.d.ts +4 -1
  11. package/src/app/ai/components/playground/TooltipIconButton.d.ts +1 -1
  12. package/src/app/ai/pages/AiPreferencesPrompts.d.ts +2 -0
  13. package/src/app/auth/components/UserAvatar/AccountSettingsDropdown.d.ts +2 -1
  14. package/src/app/auth/components/UserAvatar/index.d.ts +2 -1
  15. package/src/app/auth/pages/CheckAuth.d.ts +10 -0
  16. package/src/app/auth/pages/Forget.d.ts +1 -3
  17. package/src/app/auth/pages/Login.d.ts +2 -12
  18. package/src/app/auth/pages/Password.d.ts +0 -1
  19. package/src/app/auth/pages/Profile.d.ts +0 -1
  20. package/src/app/auth/pages/Register.d.ts +2 -13
  21. package/src/app/auth/redux/actions/forgetPasswordAction.d.ts +1 -1
  22. package/src/app/auth/redux/actions/logoutAction.d.ts +2 -2
  23. package/src/app/auth/redux/actions/registerAction.d.ts +1 -1
  24. package/src/app/auth/redux/actions/resetPasswordAction.d.ts +2 -2
  25. package/src/app/auth/redux/auth.types.d.ts +6 -2
  26. package/src/app/billing/components/NotAccessible.d.ts +10 -0
  27. package/src/app/billing/components/Timeline.d.ts +20 -0
  28. package/src/app/billing/components/checkout/AddNewPaymentCard.d.ts +6 -0
  29. package/src/app/billing/components/checkout/CheckoutSummary.d.ts +20 -0
  30. package/src/app/billing/components/checkout/ExceedPaymentUpdateTriesModal.d.ts +8 -0
  31. package/src/app/billing/components/checkout/ExistingCardPayment.d.ts +10 -0
  32. package/src/app/billing/components/checkout/PaymentForm.d.ts +11 -0
  33. package/src/app/billing/components/checkout/PaymentFormExp.d.ts +9 -0
  34. package/src/app/billing/components/checkout/PaymentMethod.d.ts +8 -0
  35. package/src/app/billing/components/checkout/PaymentMethodCard.d.ts +9 -0
  36. package/src/app/billing/components/checkout/PaywithCredits.d.ts +9 -0
  37. package/src/app/billing/components/invoices/BCLogo.d.ts +5 -0
  38. package/src/app/billing/components/invoices/Invoice.d.ts +5 -0
  39. package/src/app/billing/components/planStyles.d.ts +9 -0
  40. package/src/app/billing/components/styles.d.ts +21 -0
  41. package/src/app/billing/components/subscription/PlanDetail.d.ts +11 -0
  42. package/src/app/billing/components/subscription/SubscriptionPausedWarning.d.ts +3 -0
  43. package/src/app/billing/components/transactions/TransactionHistoryTable.d.ts +15 -0
  44. package/src/app/billing/context/SubscriptionContext.d.ts +8 -1
  45. package/src/app/billing/hooks/useGetPaidToday.d.ts +9 -0
  46. package/src/app/billing/hooks/usePendingPayments.d.ts +51 -0
  47. package/src/app/billing/hooks/useSetupPayment.d.ts +15 -0
  48. package/src/app/billing/hooks/useSetupPaymentMethod.d.ts +12 -0
  49. package/src/app/billing/pages/checkout.d.ts +2 -0
  50. package/src/app/billing/pages/done.d.ts +1 -0
  51. package/src/app/billing/pages/invoice.d.ts +1 -0
  52. package/src/app/billing/pages/invoices.d.ts +2 -0
  53. package/src/app/billing/pages/payment.d.ts +1 -0
  54. package/src/app/billing/utils/getStripe.d.ts +3 -0
  55. package/src/app/billing/utils/openArticleModal.d.ts +1 -0
  56. package/src/app/billing/utils/paymentProvider.d.ts +3 -0
  57. package/src/app/billing/utils/pendingPlanPurchaseStorage.d.ts +10 -0
  58. package/src/app/billing/utils/stripeUtils.d.ts +2 -0
  59. package/src/app/broadcast/components/BroadcastAnalysisReciepientsHeader.d.ts +6 -1
  60. package/src/app/broadcast/components/BroadcastAnalysisReciepientsTable.d.ts +5 -1
  61. package/src/app/broadcast/components/BroadcastInfoHeader.d.ts +2 -1
  62. package/src/app/broadcast/components/BroadcastTargetingComplianceNotice.d.ts +2 -0
  63. package/src/app/broadcast/components/WorkspaceBroadcastAnalysisRecipients.d.ts +7 -0
  64. package/src/app/broadcast/hooks/useExportWorkspaceBroadcastDelivery.d.ts +6 -0
  65. package/src/app/broadcast/pages/WorkspaceBroadcastDeliveryReportPage.d.ts +2 -0
  66. package/src/app/broadcast/utils/helper.d.ts +4 -0
  67. package/src/app/contact/components/ContactFormFields.d.ts +2 -1
  68. package/src/app/contact/config/contactForm.d.ts +4 -0
  69. package/src/app/dashboard/components/AgentCard.d.ts +11 -0
  70. package/src/app/dashboard/components/AgentPerformanceCard.d.ts +9 -0
  71. package/src/app/dashboard/components/AgentsCard.d.ts +9 -0
  72. package/src/app/dashboard/components/AgentsCardSkeleton.d.ts +2 -0
  73. package/src/app/dashboard/components/BroadcastAnalyticsCard.d.ts +11 -0
  74. package/src/app/dashboard/components/BroadcastCampaignProgressCard.d.ts +10 -0
  75. package/src/app/dashboard/components/BroadcastDashboard.d.ts +6 -0
  76. package/src/app/dashboard/components/BroadcastDashboardStatsCards.d.ts +14 -0
  77. package/src/app/dashboard/components/BroadcastRecipientsCard.d.ts +8 -0
  78. package/src/app/dashboard/components/BroadcastStatusDistributionCard.d.ts +6 -0
  79. package/src/app/dashboard/components/ConversationAnalyticsCard.d.ts +11 -0
  80. package/src/app/dashboard/components/DashboardSections.d.ts +24 -0
  81. package/src/app/dashboard/components/DashboardStatsCards.d.ts +10 -0
  82. package/src/app/dashboard/components/InboxDashboard.d.ts +10 -0
  83. package/src/app/dashboard/components/OpenedChatsCard.d.ts +8 -0
  84. package/src/app/dashboard/pages/DashboardNewPage.d.ts +2 -0
  85. package/src/app/dashboard/utils/buildBroadcastReportOverviewAnalytics.d.ts +19 -0
  86. package/src/app/dashboard/utils/buildRecipientsAnalytics.d.ts +12 -0
  87. package/src/app/dashboard/utils/dateHelpers.d.ts +24 -0
  88. package/src/app/generic/components/HeaderImageInput.d.ts +9 -0
  89. package/src/app/generic/components/MessagePreview.d.ts +3 -1
  90. package/src/app/generic/components/PhoneNumberInput.d.ts +13 -0
  91. package/src/app/generic/components/PreviewHeaderImage.d.ts +2 -1
  92. package/src/app/generic/components/TemplateParameterInputs.d.ts +2 -1
  93. package/src/app/generic/components/ToggleSetting.d.ts +3 -2
  94. package/src/app/generic/hooks/useGetProviderIcon.d.ts +2 -1
  95. package/src/app/generic/utils/logout.d.ts +1 -1
  96. package/src/app/inbox/components/Chat/ChatContent.d.ts +2 -3
  97. package/src/app/inbox/components/Chat/ChatHeader.d.ts +5 -1
  98. package/src/app/inbox/components/Chat/NoResultsFound.d.ts +3 -0
  99. package/src/app/inbox/components/Chat/index.d.ts +4 -1
  100. package/src/app/inbox/components/NewConvList/FilterDrawer.d.ts +17 -0
  101. package/src/app/inbox/components/NewConvList/HeaderSection.d.ts +6 -2
  102. package/src/app/inbox/components/NewConvList/index.d.ts +6 -2
  103. package/src/app/inbox/components/NewDetails/ChatDetails.d.ts +3 -2
  104. package/src/app/inbox/components/NewDetails/ChatDetailsAndTimeline.d.ts +3 -2
  105. package/src/app/inbox/components/NewDetails/ClientInfo.d.ts +3 -2
  106. package/src/app/inbox/components/NewDetails/ConversationOverview.d.ts +3 -2
  107. package/src/app/inbox/components/NewDetails/EditClientInfo.d.ts +3 -2
  108. package/src/app/inbox/components/NewDetails/index.d.ts +3 -2
  109. package/src/app/inbox/components/Shared/Inbox.d.ts +9 -7
  110. package/src/app/inbox/components/Shared/MobileActionSheet.d.ts +9 -0
  111. package/src/app/inbox/components/Shared/MobileMenu.d.ts +8 -0
  112. package/src/app/inbox/components/Shared/SharedStyle.d.ts +7 -0
  113. package/src/app/inbox/components/Shared/mobileMenuStyles.d.ts +20 -0
  114. package/src/app/inbox/constants/index.d.ts +1 -1
  115. package/src/app/inbox/hooks/useConversationById.d.ts +8 -0
  116. package/src/app/inbox/hooks/useConversationsPerodicFetch.d.ts +10 -0
  117. package/src/app/inbox/hooks/useInboxAssignableAis.d.ts +3 -0
  118. package/src/app/inbox/hooks/useMyAgent.d.ts +8 -0
  119. package/src/app/inbox/hooks/useNewSortedEvents.d.ts +1 -1
  120. package/src/app/inbox/utils/convs.d.ts +14 -5
  121. package/src/app/inbox/utils/inboxAssignableAis.d.ts +10 -0
  122. package/src/app/inbox/utils/mobileInboxStyles.d.ts +6 -0
  123. package/src/app/layout/components/CommandPalette.d.ts +16 -0
  124. package/src/app/layout/components/Header.d.ts +3 -5
  125. package/src/app/layout/constants/index.d.ts +24 -2
  126. package/src/app/layout/constants/subMenu.d.ts +34 -4
  127. package/src/app/layout/context/EmbeddedInboxContext.d.ts +3 -0
  128. package/src/app/layout/context/MobileInboxNavContext.d.ts +9 -0
  129. package/src/app/layout/hooks/useImportContactsEnabled.d.ts +1 -0
  130. package/src/app/layout/hooks/useMobileInboxVersion.d.ts +1 -3
  131. package/src/app/managemnet/components/CreateCrmWebhook.d.ts +6 -0
  132. package/src/app/managemnet/components/CreateQuickReply.d.ts +8 -0
  133. package/src/app/managemnet/components/channels/AddChannelDialog.d.ts +10 -0
  134. package/src/app/managemnet/components/channels/ChannelItem.d.ts +11 -0
  135. package/src/app/managemnet/components/channels/ChannelTypeCard.d.ts +15 -0
  136. package/src/app/managemnet/components/channels/EditChannelDialog.d.ts +11 -0
  137. package/src/app/managemnet/config/quickReplyDefinition.d.ts +4 -0
  138. package/src/app/managemnet/pages/crmIntegrations/index.d.ts +2 -0
  139. package/src/app/managemnet/pages/quickReplies/index.d.ts +2 -0
  140. package/src/app/onboarding/components/OnboardingChecklistGuideContent.d.ts +8 -0
  141. package/src/app/onboarding/components/OnboardingChecklistWidget.d.ts +2 -0
  142. package/src/app/onboarding/utils/onboardingChecklistStorage.d.ts +43 -0
  143. package/src/app/resources/components/Integrations/ChannelDialogLayout.d.ts +24 -0
  144. package/src/app/resources/components/Integrations/Custom/index.d.ts +7 -0
  145. package/src/app/resources/components/Integrations/Facebook/NoPagesFoundPopup.d.ts +2 -1
  146. package/src/app/resources/components/Integrations/Facebook/PagePickerPopup.d.ts +2 -1
  147. package/src/app/resources/components/Integrations/Facebook/index.d.ts +4 -1
  148. package/src/app/resources/components/Integrations/Instagram/index.d.ts +4 -1
  149. package/src/app/resources/components/Integrations/RenderCorrectIntegrationFlow.d.ts +11 -2
  150. package/src/app/resources/components/Integrations/Telegram/index.d.ts +4 -1
  151. package/src/app/resources/components/Integrations/WaGupshup/index.d.ts +7 -0
  152. package/src/app/resources/components/Integrations/WhatsApp/index.d.ts +4 -1
  153. package/src/app/subscriptions/components/Plans/PlanCard.d.ts +10 -23
  154. package/src/app/subscriptions/components/Plans/ShowcasePlans.d.ts +8 -4
  155. package/src/app/subscriptions/components/SubscriptionSettings/SubscriptionHeader.d.ts +1 -9
  156. package/src/app/subscriptions/components/SubscriptionSettings/SubscriptionPlanLabel.d.ts +8 -0
  157. package/src/app/subscriptions/components/SubscriptionSettings/SubscriptionProfile.d.ts +1 -0
  158. package/src/app/subscriptions/components/SubscriptionSettings/SubscriptionProfileCard.d.ts +14 -0
  159. package/src/app/subscriptions/components/SubscriptionSettings/SubscriptionUsageCard.d.ts +7 -0
  160. package/src/app/subscriptions/components/SubscriptionSettings/SubscriptionUsers.d.ts +3 -3
  161. package/src/app/subscriptions/components/SubscriptionSwitcher/Switcher.d.ts +4 -1
  162. package/src/app/subscriptions/components/SubscriptionSwitcher/index.d.ts +3 -1
  163. package/src/app/subscriptions/components/SubscriptionsList.d.ts +1 -0
  164. package/src/app/subscriptions/constants/Plans.d.ts +9 -6
  165. package/src/app/subscriptions/pages/Upgrade.d.ts +6 -9
  166. package/src/assets/locales/translations.d.ts +354 -5
  167. package/src/config/azure.d.ts +2 -0
  168. package/src/environments/types.d.ts +3 -0
  169. package/src/graphql.autogenerated.d.ts +2179 -1225
  170. package/src/graphql.billing.autogenerated.d.ts +683 -7
  171. package/src/lib/EmbeddedMobileMenu.d.ts +9 -0
  172. package/src/lib/conversation-chat.d.ts +11 -0
  173. package/src/lib/index.d.ts +4 -0
  174. package/src/main.d.ts +2 -0
  175. package/src/utils/formatFailureReason.d.ts +5 -0
  176. package/src/utils/globalHelper.d.ts +3 -0
  177. package/src/utils/integration.d.ts +6 -0
  178. package/src/utils/localStorage.d.ts +2 -0
  179. package/src/utils/textUtils.d.ts +3 -1
  180. package/src/app/resources/components/Integrations/Facebook/LoginPopup.d.ts +0 -4
  181. package/src/app/resources/components/Integrations/Instagram/LoginPopup.d.ts +0 -4
  182. package/src/app/resources/components/Integrations/WhatsApp/LoginPopup.d.ts +0 -4
@@ -132,6 +132,8 @@ export type AIsPayload = {
132
132
  /** Agent is a user that can be assigned to a conversation. A system user can have only one agent. */
133
133
  export type Agent = {
134
134
  __typename?: 'Agent';
135
+ /** When false, this agent is not eligible for automatic assignment. Defaults to true when unset. */
136
+ assignable: Scalars['Boolean']['output'];
135
137
  /** The avatar of the agent. We are using Gravatar for the avatar. However it's possible to add here the url of the avatar. */
136
138
  avatar?: Maybe<Scalars['String']['output']>;
137
139
  createdAt: Scalars['DateTime']['output'];
@@ -148,6 +150,8 @@ export type Agent = {
148
150
  };
149
151
  /** AgentCreateInput is an input of the agent create mutation. */
150
152
  export type AgentCreateInput = {
153
+ /** When false, this agent is excluded from automatic assignment. Defaults to true if omitted. */
154
+ assignable?: InputMaybe<Scalars['Boolean']['input']>;
151
155
  /** The email of the agent. It is the same as the email of the invited user to the workspace. */
152
156
  email: Scalars['String']['input'];
153
157
  /** The name of the agent. */
@@ -189,6 +193,8 @@ export type AgentInput = {
189
193
  };
190
194
  /** AgentPatchInput is an input of the agent patch mutation. */
191
195
  export type AgentPatchInput = {
196
+ /** When false, this agent is excluded from automatic assignment. */
197
+ assignable: Scalars['Boolean']['input'];
192
198
  id: Scalars['ID']['input'];
193
199
  /** The name of the agent. */
194
200
  name: Scalars['String']['input'];
@@ -217,6 +223,8 @@ export type AgentReport = {
217
223
  /** The CSAT percentage (4 and 5 ratings over rated conversations). */
218
224
  csat: Scalars['Float']['output'];
219
225
  id: Scalars['ID']['output'];
226
+ /** The integration (channel) this daily aggregate was computed for, when present. */
227
+ integrationId?: Maybe<Scalars['ID']['output']>;
220
228
  /** The number of new client conversations in the hour. */
221
229
  newClientConvCount?: Maybe<Scalars['Int']['output']>;
222
230
  /** The percentage of conversations that received a rating. */
@@ -251,8 +259,12 @@ export type AgentsPayload = {
251
259
  export type AgentsReportInput = {
252
260
  /** The agent id. */
253
261
  agentId?: InputMaybe<Scalars['ID']['input']>;
262
+ /** Filter by multiple agent ids (OR). When non-empty, takes precedence over agentId. */
263
+ agentIds?: InputMaybe<Array<Scalars['ID']['input']>>;
254
264
  /** The end date of the report. */
255
265
  endDate: Scalars['DateTime']['input'];
266
+ /** Filter by integration (channel) id. */
267
+ integrationId?: InputMaybe<Scalars['ID']['input']>;
256
268
  /** The start date of the report. */
257
269
  startDate: Scalars['DateTime']['input'];
258
270
  workspaceId: Scalars['Int']['input'];
@@ -474,6 +486,8 @@ export type BroadcastLaunchInput = {
474
486
  /** BroadcastMessageStatus represents a broadcast message with its status and client information. */
475
487
  export type BroadcastMessageStatus = {
476
488
  __typename?: 'BroadcastMessageStatus';
489
+ /** Parent broadcast id when the message belongs to a broadcast. */
490
+ broadcastId?: Maybe<Scalars['ID']['output']>;
477
491
  /** The client country. */
478
492
  clientCountry?: Maybe<Scalars['String']['output']>;
479
493
  /** The client email. */
@@ -486,6 +500,8 @@ export type BroadcastMessageStatus = {
486
500
  clientPhone?: Maybe<Scalars['String']['output']>;
487
501
  /** The client tags. */
488
502
  clientTags?: Maybe<Array<Scalars['String']['output']>>;
503
+ /** Outbound message body text. */
504
+ content?: Maybe<Scalars['String']['output']>;
489
505
  /** The date and time when the message was created. */
490
506
  createdAt: Scalars['DateTime']['output'];
491
507
  /** The failure reason if the message failed. */
@@ -495,7 +511,10 @@ export type BroadcastMessageStatus = {
495
511
  /** The message status. */
496
512
  status?: Maybe<MessageStatus>;
497
513
  };
498
- /** BroadcastMessageStatusesInput is an input of the broadcast message statuses query. */
514
+ /**
515
+ * BroadcastMessageStatusesInput is an input of the broadcast message statuses query.
516
+ * Results are limited to template messages (WhatsApp / WABA template sends) for that broadcast.
517
+ */
499
518
  export type BroadcastMessageStatusesInput = {
500
519
  /** The broadcast id to fetch message statuses for. */
501
520
  broadcastId: Scalars['ID']['input'];
@@ -565,30 +584,42 @@ export type BroadcastPatchInput = {
565
584
  templateName: Scalars['String']['input'];
566
585
  workspaceId: Scalars['Int']['input'];
567
586
  };
568
- /** BroadcastReport tracks daily broadcast notification usage broken down by hour, differentiating between successful and failed sends. */
587
+ /**
588
+ * BroadcastReport is one row per workspace, integration, and UTC calendar day.
589
+ * Counts aggregate all broadcast messages for broadcasts that executed on that day.
590
+ * successCount equals sentCount + deliveredCount + readCount (read includes played).
591
+ */
569
592
  export type BroadcastReport = {
570
593
  __typename?: 'BroadcastReport';
571
- /** The date and time when the report was created. */
594
+ /** The date and time when the report row was created. */
572
595
  createdAt: Scalars['DateTime']['output'];
573
- /** The number of notifications that failed in this hour. */
596
+ /** Messages in delivered status for that day’s broadcasts. */
597
+ deliveredCount: Scalars['Int']['output'];
598
+ /** Messages in failed status for that day’s broadcasts. */
574
599
  failedCount: Scalars['Int']['output'];
575
- /** The hour of the day (0-23) the report covers. */
576
- hour: Scalars['Int']['output'];
577
600
  /** The id of the broadcast report. */
578
601
  id: Scalars['ID']['output'];
579
602
  /** The integration/channel id associated with the report. */
580
603
  integrationId: Scalars['ID']['output'];
581
- /** The number of notifications successfully sent in this hour. */
604
+ /** Messages still pending for that day’s broadcasts. */
605
+ pendingCount: Scalars['Int']['output'];
606
+ /** Messages in read status for that day’s broadcasts, including played. */
607
+ readCount: Scalars['Int']['output'];
608
+ /** UTC start of the calendar day this report summarizes. */
609
+ reportDate: Scalars['DateTime']['output'];
610
+ /** Messages in sent status for that day’s broadcasts. */
611
+ sentCount: Scalars['Int']['output'];
612
+ /** Same as sentCount + deliveredCount + readCount. */
582
613
  successCount: Scalars['Int']['output'];
583
614
  workspaceId: Scalars['Int']['output'];
584
615
  };
585
616
  /** BroadcastReportInput is an input of the broadcast report query. */
586
617
  export type BroadcastReportInput = {
587
- /** The end date of the report range. */
618
+ /** End of the report range (inclusive), interpreted as UTC calendar days via start-of-day. */
588
619
  endDate: Scalars['DateTime']['input'];
589
620
  /** The integration/channel id to filter reports by. */
590
621
  integrationId?: InputMaybe<Scalars['ID']['input']>;
591
- /** The start date of the report range. */
622
+ /** Start of the report range (inclusive), interpreted as UTC calendar days via start-of-day. */
592
623
  startDate: Scalars['DateTime']['input'];
593
624
  workspaceId: Scalars['Int']['input'];
594
625
  };
@@ -621,6 +652,10 @@ export type BroadcastStateCount = {
621
652
  };
622
653
  /** BroadcastsInput is an input of the broadcasts query. */
623
654
  export type BroadcastsInput = {
655
+ /** Lower bound (inclusive) on broadcast createdAt. Omit to leave the start of the range open. */
656
+ createdFrom?: InputMaybe<Scalars['DateTime']['input']>;
657
+ /** Upper bound (inclusive) on broadcast createdAt. Omit to leave the end of the range open. */
658
+ createdTo?: InputMaybe<Scalars['DateTime']['input']>;
624
659
  /** The integration/channel id of the broadcast. Used to filter the broadcasts by the integration/channel id. */
625
660
  integrationId?: InputMaybe<Scalars['ID']['input']>;
626
661
  /** The name of the broadcast. Used to filter the broadcasts by the name. */
@@ -849,6 +884,8 @@ export type ClientTagInput = {
849
884
  };
850
885
  /** ClientsInput is an input of the clients query. */
851
886
  export type ClientsInput = {
887
+ /** Filter clients who sent at least one inbound message in the last X days. */
888
+ activeInLastDays?: InputMaybe<Scalars['Int']['input']>;
852
889
  /** The city of the client. Used to filter the clients by the city. */
853
890
  city?: InputMaybe<Scalars['String']['input']>;
854
891
  /** The code of the client. Used to filter the clients by the code. */
@@ -889,8 +926,13 @@ export type Configurations = {
889
926
  askForName?: Maybe<Scalars['Boolean']['output']>;
890
927
  askForSurname?: Maybe<Scalars['Boolean']['output']>;
891
928
  clientTagRules?: Maybe<Array<TagRule>>;
929
+ constraints?: Maybe<Scalars['String']['output']>;
930
+ contextPrompt?: Maybe<Scalars['String']['output']>;
892
931
  convTagRules?: Maybe<Array<TagRule>>;
932
+ endEnabled?: Maybe<Scalars['Boolean']['output']>;
893
933
  handoverEnabled?: Maybe<Scalars['Boolean']['output']>;
934
+ personaPrompt?: Maybe<Scalars['String']['output']>;
935
+ rolePrompt?: Maybe<Scalars['String']['output']>;
894
936
  };
895
937
  export type ConfigurationsInput = {
896
938
  askForAddress?: InputMaybe<Scalars['Boolean']['input']>;
@@ -899,8 +941,13 @@ export type ConfigurationsInput = {
899
941
  askForName?: InputMaybe<Scalars['Boolean']['input']>;
900
942
  askForSurname?: InputMaybe<Scalars['Boolean']['input']>;
901
943
  clientTagRules?: InputMaybe<Array<TagRuleInput>>;
944
+ constraints?: InputMaybe<Scalars['String']['input']>;
945
+ contextPrompt?: InputMaybe<Scalars['String']['input']>;
902
946
  convTagRules?: InputMaybe<Array<TagRuleInput>>;
947
+ endEnabled?: InputMaybe<Scalars['Boolean']['input']>;
903
948
  handoverEnabled?: InputMaybe<Scalars['Boolean']['input']>;
949
+ personaPrompt?: InputMaybe<Scalars['String']['input']>;
950
+ rolePrompt?: InputMaybe<Scalars['String']['input']>;
904
951
  };
905
952
  /** Contact Message payload type represent the schema of content in case of contact message. */
906
953
  export type ContactMessagePayload = {
@@ -972,7 +1019,7 @@ export type ConvAssignment = {
972
1019
  /** Whether the conversation is assigned to an AI. */
973
1020
  isAi?: Maybe<Scalars['Boolean']['output']>;
974
1021
  };
975
- /** ConvAssistInput is the input for AI auto-complete and summary. */
1022
+ /** ConvAssistInput is the input for AI conversation summary. */
976
1023
  export type ConvAssistInput = {
977
1024
  convId: Scalars['ID']['input'];
978
1025
  workspaceId: Scalars['Int']['input'];
@@ -983,14 +1030,45 @@ export type ConvAssistPayload = {
983
1030
  text: Scalars['String']['output'];
984
1031
  usage?: Maybe<Scalars['JSON']['output']>;
985
1032
  };
1033
+ /** ConvAutoCompleteInput is the input for AI auto-complete on the agent reply draft. */
1034
+ export type ConvAutoCompleteInput = {
1035
+ convId: Scalars['ID']['input'];
1036
+ /** The reply text currently being composed in the composer. Appended as the final assistant message for context. */
1037
+ currentMessage: Scalars['String']['input'];
1038
+ workspaceId: Scalars['Int']['input'];
1039
+ };
1040
+ /** ConvContinueOnInput switches a live conversation to another integration. */
1041
+ export type ConvContinueOnInput = {
1042
+ /** The id of the conversation. */
1043
+ convId: Scalars['ID']['input'];
1044
+ /** The target integration/channel id to continue this conversation on. */
1045
+ integrationId: Scalars['ID']['input'];
1046
+ workspaceId: Scalars['Int']['input'];
1047
+ };
986
1048
  /** ConvEndInput is an input of the conversation end mutation. */
987
1049
  export type ConvEndInput = {
988
1050
  /** The id of the conversation. */
989
1051
  convId: Scalars['ID']['input'];
1052
+ /**
1053
+ * When true, ends the conversation immediately instead of continuing the post-conversation rating flow.
1054
+ * Only takes effect when the conversation is already assigned to the integration's rating AI
1055
+ * (rating in progress). Use when an admin ends the chat while feedback collection is still open.
1056
+ */
1057
+ forceEndDespiteRating?: InputMaybe<Scalars['Boolean']['input']>;
990
1058
  /** The integration/channel id of the conversation. */
991
1059
  integrationId: Scalars['ID']['input'];
992
1060
  workspaceId: Scalars['Int']['input'];
993
1061
  };
1062
+ /**
1063
+ * ConvEnhanceMessageInput is the input for AI enhancement of the agent reply draft.
1064
+ * Same shape as ConvAutoCompleteInput, but the agent rewrites the draft instead of continuing it.
1065
+ */
1066
+ export type ConvEnhanceMessageInput = {
1067
+ convId: Scalars['ID']['input'];
1068
+ /** The reply text currently being composed in the composer. This is the message the AI will rewrite (clarity, grammar, tone), while keeping the original intent and language. */
1069
+ currentMessage: Scalars['String']['input'];
1070
+ workspaceId: Scalars['Int']['input'];
1071
+ };
994
1072
  /** ConvFeedbackPatchInput is an input of the conversation feedback patch mutation. */
995
1073
  export type ConvFeedbackPatchInput = {
996
1074
  /** Optional feedback comment. */
@@ -1011,6 +1089,22 @@ export type ConvHandoverInput = {
1011
1089
  convId: Scalars['ID']['input'];
1012
1090
  workspaceId: Scalars['Int']['input'];
1013
1091
  };
1092
+ /** ConvInput is an input for fetching a single conversation by id. */
1093
+ export type ConvInput = {
1094
+ /** The id of the conversation. */
1095
+ convId: Scalars['ID']['input'];
1096
+ workspaceId: Scalars['Int']['input'];
1097
+ };
1098
+ /** ConvIntegrationSwitch tracks each integration switch for a conversation. */
1099
+ export type ConvIntegrationSwitch = {
1100
+ __typename?: 'ConvIntegrationSwitch';
1101
+ fromIntegrationId: Scalars['ID']['output'];
1102
+ fromIntegrationType: IntegrationType;
1103
+ switchedAt: Scalars['DateTime']['output'];
1104
+ switchedBy?: Maybe<Scalars['String']['output']>;
1105
+ toIntegrationId: Scalars['ID']['output'];
1106
+ toIntegrationType: IntegrationType;
1107
+ };
1014
1108
  /** ConvLastMessageInput is an input for getting the last message of an open conversation. */
1015
1109
  export type ConvLastMessageInput = {
1016
1110
  /** The id of the conversation. */
@@ -1129,12 +1223,16 @@ export type Conversation = {
1129
1223
  id: Scalars['ID']['output'];
1130
1224
  /** The integration/channel id of the conversation. */
1131
1225
  integrationId: Scalars['ID']['output'];
1226
+ /** Integration switch history for this conversation. */
1227
+ integrationSwitches?: Maybe<Array<ConvIntegrationSwitch>>;
1132
1228
  /** The integration type of the conversation. */
1133
1229
  integrationType: IntegrationType;
1134
1230
  /** The messages of the conversation. */
1135
1231
  messages?: Maybe<Array<Message>>;
1136
1232
  /** The order number of the conversation. */
1137
1233
  orderNo?: Maybe<Scalars['String']['output']>;
1234
+ /** True when the channel's rating/feedback flow is active: assigned to the rating AI and feedback not yet sent. */
1235
+ ratingFlowInProgress?: Maybe<Scalars['Boolean']['output']>;
1138
1236
  /** The stage id of the conversation. */
1139
1237
  stageId?: Maybe<Scalars['String']['output']>;
1140
1238
  /** The tags of the conversation. */
@@ -1323,6 +1421,10 @@ export type InputAssignUserRole = {
1323
1421
  export type InputInitWorkspace = {
1324
1422
  workspaceId: Scalars['Int']['input'];
1325
1423
  };
1424
+ export type InputUnassignUserRole = {
1425
+ userId: Scalars['String']['input'];
1426
+ workspaceId: Scalars['Int']['input'];
1427
+ };
1326
1428
  export type InputUploadSignature = {
1327
1429
  blobName: Scalars['String']['input'];
1328
1430
  containerName: Scalars['String']['input'];
@@ -1373,6 +1475,7 @@ export type IntegrationInput = {
1373
1475
  /** IntegrationPatchInput is an input for the integration patching. */
1374
1476
  export type IntegrationPatchInput = {
1375
1477
  id: Scalars['ID']['input'];
1478
+ integrationProperties?: InputMaybe<Scalars['JSON']['input']>;
1376
1479
  name?: InputMaybe<Scalars['String']['input']>;
1377
1480
  properties?: InputMaybe<Scalars['JSON']['input']>;
1378
1481
  workspaceId: Scalars['Int']['input'];
@@ -1399,6 +1502,7 @@ export type IntegrationState = typeof IntegrationState[keyof typeof IntegrationS
1399
1502
  * IntegrationType is an enum of the integration types.
1400
1503
  * It can be:
1401
1504
  * - WHATSAPP: WhatsApp integration.
1505
+ * - WA_GUPSHUP: WhatsApp through Gupshup integration.
1402
1506
  * - BCWEBCHAT: BC Webchat integration.
1403
1507
  * - FACEBOOK: Facebook integration.
1404
1508
  * - INSTAGRAM: Instagram integration.
@@ -1411,6 +1515,7 @@ export declare const IntegrationType: {
1411
1515
  readonly FACEBOOK: "FACEBOOK";
1412
1516
  readonly INSTAGRAM: "INSTAGRAM";
1413
1517
  readonly TELEGRAM: "TELEGRAM";
1518
+ readonly WA_GUPSHUP: "WA_GUPSHUP";
1414
1519
  readonly WHATSAPP: "WHATSAPP";
1415
1520
  };
1416
1521
  export type IntegrationType = typeof IntegrationType[keyof typeof IntegrationType];
@@ -1718,6 +1823,8 @@ export type Mutation = {
1718
1823
  __typename?: 'Mutation';
1719
1824
  /** Add a message to the conversation. */
1720
1825
  addMessage: Message;
1826
+ /** Add a quick reply. You should have the MANAGE_WORKSPACE permission to add a quick reply. */
1827
+ addQuickReply: QuickReply;
1721
1828
  /** Assign a conversation to an agent. If you don't have the MANAGE_CONVS permission, you can only assign the conversation to yourself. */
1722
1829
  assignConv: Conversation;
1723
1830
  assignOwner: UserRole;
@@ -1751,6 +1858,8 @@ export type Mutation = {
1751
1858
  * You should have the MANAGE_CONVS permission to cancel a broadcast.
1752
1859
  */
1753
1860
  cancelBroadcast: Broadcast;
1861
+ /** Continue a live conversation on another integration and append switch history. */
1862
+ continueConvOn: Conversation;
1754
1863
  /** Create an agent. You should have the MANAGE_WORKSPACE permission to create an agent. */
1755
1864
  createAgent: Agent;
1756
1865
  /**
@@ -1811,11 +1920,15 @@ export type Mutation = {
1811
1920
  patchConvFeedback: Conversation;
1812
1921
  /** Patch an integration. You should have the MANAGE_WORKSPACE permission to patch an integration. */
1813
1922
  patchIntegration: Integration;
1923
+ /** Patch a quick reply. You should have the MANAGE_WORKSPACE permission to patch a quick reply. */
1924
+ patchQuickReply: QuickReply;
1814
1925
  patchSource: Source;
1815
1926
  /** Update workspace settings. You should have the MANAGE_WORKSPACE permission to update workspace settings. */
1816
1927
  patchWorkspaceSettings: WorkspaceSettings;
1817
1928
  /** 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. */
1818
1929
  putClient: Client;
1930
+ /** Remove a quick reply. You should have the MANAGE_WORKSPACE permission to remove a quick reply. */
1931
+ removeQuickReply: QuickReply;
1819
1932
  say?: Maybe<HelloMessage>;
1820
1933
  /** Send a notification to a client. (It can be used also for OTP messages) */
1821
1934
  sendNotification: Message;
@@ -1833,6 +1946,7 @@ export type Mutation = {
1833
1946
  tagConv: Conversation;
1834
1947
  /** Tag a message. */
1835
1948
  tagMessage: Message;
1949
+ unassignUserRole: Scalars['Boolean']['output'];
1836
1950
  /** Undelete a client by id. You should have the MANAGE_CLIENTS permission to undelete a client. */
1837
1951
  undeleteClient: Client;
1838
1952
  /** Undelete a client by externalClientId. You should have the MANAGE_CLIENTS permission to undelete a client. */
@@ -1847,6 +1961,9 @@ export type Mutation = {
1847
1961
  export type MutationAddMessageArgs = {
1848
1962
  input: MessageInput;
1849
1963
  };
1964
+ export type MutationAddQuickReplyArgs = {
1965
+ input: QuickReplyAddInput;
1966
+ };
1850
1967
  export type MutationAssignConvArgs = {
1851
1968
  input: ConvAssignInput;
1852
1969
  };
@@ -1877,6 +1994,9 @@ export type MutationBulkUndeleteClientsArgs = {
1877
1994
  export type MutationCancelBroadcastArgs = {
1878
1995
  input: BroadcastCancelInput;
1879
1996
  };
1997
+ export type MutationContinueConvOnArgs = {
1998
+ input: ConvContinueOnInput;
1999
+ };
1880
2000
  export type MutationCreateAgentArgs = {
1881
2001
  input: AgentCreateInput;
1882
2002
  };
@@ -1973,6 +2093,9 @@ export type MutationPatchConvFeedbackArgs = {
1973
2093
  export type MutationPatchIntegrationArgs = {
1974
2094
  input: IntegrationPatchInput;
1975
2095
  };
2096
+ export type MutationPatchQuickReplyArgs = {
2097
+ input: QuickReplyPatchInput;
2098
+ };
1976
2099
  export type MutationPatchSourceArgs = {
1977
2100
  input: SourcePatchInput;
1978
2101
  };
@@ -1982,6 +2105,9 @@ export type MutationPatchWorkspaceSettingsArgs = {
1982
2105
  export type MutationPutClientArgs = {
1983
2106
  input: ClientPutInput;
1984
2107
  };
2108
+ export type MutationRemoveQuickReplyArgs = {
2109
+ input: QuickReplyRemoveInput;
2110
+ };
1985
2111
  export type MutationSayArgs = {
1986
2112
  input: UserInput;
1987
2113
  };
@@ -2003,6 +2129,9 @@ export type MutationTagConvArgs = {
2003
2129
  export type MutationTagMessageArgs = {
2004
2130
  input: MessageTagInput;
2005
2131
  };
2132
+ export type MutationUnassignUserRoleArgs = {
2133
+ input: InputUnassignUserRole;
2134
+ };
2006
2135
  export type MutationUndeleteClientArgs = {
2007
2136
  input: ClientInput;
2008
2137
  };
@@ -2096,7 +2225,7 @@ export type Query = {
2096
2225
  broadcastDeliveryReport: BroadcastDeliveryReport;
2097
2226
  /** Get broadcast message statuses with client information. You should have the MANAGE_CONVS permission to get broadcast message statuses. */
2098
2227
  broadcastMessageStatuses: BroadcastMessageStatusesPayload;
2099
- /** Get broadcast usage reports broken down by hour. You should have the MANAGE_CONVS permission to get broadcast reports. */
2228
+ /** Get daily broadcast usage reports per integration (UTC calendar days). You should have the MANAGE_CONVS permission to get broadcast reports. */
2100
2229
  broadcastReport: BroadcastReportPayload;
2101
2230
  /** Get the count of broadcasts grouped by state. You should have the MANAGE_CONVS permission to get the counts. */
2102
2231
  broadcastStateCounts: Array<BroadcastStateCount>;
@@ -2110,8 +2239,12 @@ export type Query = {
2110
2239
  clientByPhone: Client;
2111
2240
  /** Get the clients. You should have the MANAGE_CLIENTS permission to get the clients. */
2112
2241
  clients: ClientsPayload;
2242
+ /** 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). */
2243
+ conv: Conversation;
2113
2244
  /** Get an AI suggestion to auto-complete the current draft. */
2114
2245
  convAutoComplete: ConvAssistPayload;
2246
+ /** Get an AI-enhanced rewrite of the current draft (clarity, grammar, tone), preserving the original intent and language. */
2247
+ convEnhanceMessage: ConvAssistPayload;
2115
2248
  /** Get the last message of a conversation if it is currently open. Returns null if the conversation is ended or not found. */
2116
2249
  convLastMessage?: Maybe<Message>;
2117
2250
  /** Get an AI summary for conversation messages. */
@@ -2137,6 +2270,8 @@ export type Query = {
2137
2270
  messages: MessagesPayload;
2138
2271
  /** Get the count of open conversations that have recent client messages (conversations that need a response). */
2139
2272
  openConversationsNeedResponseCount: Scalars['Int']['output'];
2273
+ /** Get quick replies. */
2274
+ quickReplies: QuickRepliesPayload;
2140
2275
  sources: SourcesPayload;
2141
2276
  /** Get tags. */
2142
2277
  tags: TagsPayload;
@@ -2154,6 +2289,8 @@ export type Query = {
2154
2289
  /** Get the WhatsApp message templates. */
2155
2290
  wabaMessageTemplates: MessageTemplatesPayload;
2156
2291
  webhooks: WebhooksPayload;
2292
+ /** 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. */
2293
+ workspaceBroadcastMessageStatuses: BroadcastMessageStatusesPayload;
2157
2294
  /** Get workspace settings. */
2158
2295
  workspaceSettings?: Maybe<WorkspaceSettings>;
2159
2296
  /** Get workspaces with pagination and filters. */
@@ -2212,8 +2349,14 @@ export type QueryClientsArgs = {
2212
2349
  input: ClientsInput;
2213
2350
  pageInfo?: InputMaybe<PageInfoInput>;
2214
2351
  };
2352
+ export type QueryConvArgs = {
2353
+ input: ConvInput;
2354
+ };
2215
2355
  export type QueryConvAutoCompleteArgs = {
2216
- input: ConvAssistInput;
2356
+ input: ConvAutoCompleteInput;
2357
+ };
2358
+ export type QueryConvEnhanceMessageArgs = {
2359
+ input: ConvEnhanceMessageInput;
2217
2360
  };
2218
2361
  export type QueryConvLastMessageArgs = {
2219
2362
  input: ConvLastMessageInput;
@@ -2247,6 +2390,9 @@ export type QueryMessagesArgs = {
2247
2390
  export type QueryOpenConversationsNeedResponseCountArgs = {
2248
2391
  input: OpenConversationsNeedResponseInput;
2249
2392
  };
2393
+ export type QueryQuickRepliesArgs = {
2394
+ input: QuickRepliesInput;
2395
+ };
2250
2396
  export type QuerySourcesArgs = {
2251
2397
  input: SourcesInput;
2252
2398
  };
@@ -2279,6 +2425,10 @@ export type QueryWebhooksArgs = {
2279
2425
  input: WebhooksInput;
2280
2426
  pageInfo?: InputMaybe<PageInfoInput>;
2281
2427
  };
2428
+ export type QueryWorkspaceBroadcastMessageStatusesArgs = {
2429
+ input: WorkspaceBroadcastMessageStatusesInput;
2430
+ pageInfo?: InputMaybe<PageInfoInput>;
2431
+ };
2282
2432
  export type QueryWorkspaceSettingsArgs = {
2283
2433
  input: WorkspaceSettingsInput;
2284
2434
  };
@@ -2286,6 +2436,38 @@ export type QueryWorkspacesArgs = {
2286
2436
  input: WorkspacesInput;
2287
2437
  pageInfo?: InputMaybe<PageInfoInput>;
2288
2438
  };
2439
+ export type QuickRepliesInput = {
2440
+ workspaceId: Scalars['Int']['input'];
2441
+ };
2442
+ export type QuickRepliesPayload = {
2443
+ __typename?: 'QuickRepliesPayload';
2444
+ nodes: Array<QuickReply>;
2445
+ };
2446
+ /** QuickReply represents a reusable response command for a workspace. */
2447
+ export type QuickReply = {
2448
+ __typename?: 'QuickReply';
2449
+ command: Scalars['String']['output'];
2450
+ content: Scalars['String']['output'];
2451
+ createdAt: Scalars['DateTime']['output'];
2452
+ id: Scalars['ID']['output'];
2453
+ updatedAt: Scalars['DateTime']['output'];
2454
+ workspaceId: Scalars['Int']['output'];
2455
+ };
2456
+ export type QuickReplyAddInput = {
2457
+ command: Scalars['String']['input'];
2458
+ content: Scalars['String']['input'];
2459
+ workspaceId: Scalars['Int']['input'];
2460
+ };
2461
+ export type QuickReplyPatchInput = {
2462
+ command?: InputMaybe<Scalars['String']['input']>;
2463
+ content?: InputMaybe<Scalars['String']['input']>;
2464
+ id: Scalars['ID']['input'];
2465
+ workspaceId: Scalars['Int']['input'];
2466
+ };
2467
+ export type QuickReplyRemoveInput = {
2468
+ id: Scalars['ID']['input'];
2469
+ workspaceId: Scalars['Int']['input'];
2470
+ };
2289
2471
  export declare const Role: {
2290
2472
  readonly ADMIN: "ADMIN";
2291
2473
  readonly AGENT: "AGENT";
@@ -2418,6 +2600,7 @@ export type StatusUpdateDto = {
2418
2600
  debug?: Maybe<Scalars['Boolean']['output']>;
2419
2601
  externalConversationId?: Maybe<Scalars['String']['output']>;
2420
2602
  externalMessageId: Scalars['String']['output'];
2603
+ failedReason?: Maybe<Scalars['String']['output']>;
2421
2604
  integrationId: Scalars['ID']['output'];
2422
2605
  integrationType: IntegrationType;
2423
2606
  spanId?: Maybe<Scalars['String']['output']>;
@@ -2615,6 +2798,8 @@ export type Webhook = {
2615
2798
  id: Scalars['ID']['output'];
2616
2799
  /** The label of the webhook, a special field that is used to identify the webhook. */
2617
2800
  label: Scalars['String']['output'];
2801
+ /** Whether this webhook targets the generic HTTP webhook system or CRM adapter contacts. */
2802
+ type?: Maybe<WebhookType>;
2618
2803
  /** The URL of the webhook, the webhook will be called when the event is triggered. */
2619
2804
  url: Scalars['String']['output'];
2620
2805
  workspaceId: Scalars['Int']['output'];
@@ -2623,6 +2808,8 @@ export type WebhookCreateInput = {
2623
2808
  event: WebhookEvent;
2624
2809
  headers?: InputMaybe<Scalars['JSON']['input']>;
2625
2810
  label: Scalars['String']['input'];
2811
+ /** Defaults to CUSTOM when omitted */
2812
+ type?: InputMaybe<WebhookType>;
2626
2813
  url: Scalars['String']['input'];
2627
2814
  workspaceId: Scalars['Int']['input'];
2628
2815
  };
@@ -2658,9 +2845,25 @@ export declare const WebhookEvent: {
2658
2845
  readonly OUTGOING_MESSAGE: "OUTGOING_MESSAGE";
2659
2846
  };
2660
2847
  export type WebhookEvent = typeof WebhookEvent[keyof typeof WebhookEvent];
2848
+ /** Filters webhook lists: non-CRM (legacy rows without type + CUSTOM) vs CRM-only. */
2849
+ export declare const WebhookListScope: {
2850
+ readonly CRM_ONLY: "CRM_ONLY";
2851
+ readonly CUSTOM_AND_LEGACY: "CUSTOM_AND_LEGACY";
2852
+ };
2853
+ export type WebhookListScope = typeof WebhookListScope[keyof typeof WebhookListScope];
2854
+ export declare const WebhookType: {
2855
+ readonly CRM: "CRM";
2856
+ readonly CUSTOM: "CUSTOM";
2857
+ };
2858
+ export type WebhookType = typeof WebhookType[keyof typeof WebhookType];
2661
2859
  export type WebhooksInput = {
2662
2860
  event?: InputMaybe<WebhookEvent>;
2663
2861
  label?: InputMaybe<Scalars['String']['input']>;
2862
+ /**
2863
+ * When set, restricts results to non-CRM webhooks (CUSTOM + rows without type) or CRM-only rows.
2864
+ * When omitted, no filter by type (backward compatible).
2865
+ */
2866
+ listScope?: InputMaybe<WebhookListScope>;
2664
2867
  workspaceId: Scalars['Int']['input'];
2665
2868
  };
2666
2869
  export type WebhooksPayload = {
@@ -2688,6 +2891,25 @@ export type Workspace = {
2688
2891
  taxOffice?: Maybe<Scalars['String']['output']>;
2689
2892
  website?: Maybe<Scalars['String']['output']>;
2690
2893
  };
2894
+ /**
2895
+ * Paginated message statuses for outbound template messages in the workspace whose message createdAt falls
2896
+ * in the date range, including broadcast-linked messages and messages not tied to a broadcast.
2897
+ */
2898
+ export type WorkspaceBroadcastMessageStatusesInput = {
2899
+ /** Filter by client country. */
2900
+ country?: InputMaybe<Scalars['String']['input']>;
2901
+ /** Upper bound (inclusive) on message createdAt (UTC end of calendar day). */
2902
+ endDate: Scalars['DateTime']['input'];
2903
+ /** Filter by client lifecycle/stage id. */
2904
+ lifecycle?: InputMaybe<Scalars['String']['input']>;
2905
+ /** Lower bound (inclusive) on message createdAt (UTC start of calendar day). */
2906
+ startDate: Scalars['DateTime']['input'];
2907
+ /** Filter by message status. */
2908
+ status?: InputMaybe<MessageStatus>;
2909
+ /** Case-insensitive substring match on the outbound template name stored in message content (JSON name field). */
2910
+ templateName?: InputMaybe<Scalars['String']['input']>;
2911
+ workspaceId: Scalars['Int']['input'];
2912
+ };
2691
2913
  /** WorkspaceSettings represents configuration options for a workspace. */
2692
2914
  export type WorkspaceSettings = {
2693
2915
  __typename?: 'WorkspaceSettings';
@@ -2778,6 +3000,11 @@ export type AiFragment = {
2778
3000
  askForCity?: boolean | null;
2779
3001
  askForAddress?: boolean | null;
2780
3002
  handoverEnabled?: boolean | null;
3003
+ endEnabled?: boolean | null;
3004
+ contextPrompt?: string | null;
3005
+ rolePrompt?: string | null;
3006
+ personaPrompt?: string | null;
3007
+ constraints?: string | null;
2781
3008
  clientTagRules?: Array<{
2782
3009
  __typename?: 'TagRule';
2783
3010
  tag: string;
@@ -2817,6 +3044,11 @@ export type AiQuery = {
2817
3044
  askForCity?: boolean | null;
2818
3045
  askForAddress?: boolean | null;
2819
3046
  handoverEnabled?: boolean | null;
3047
+ endEnabled?: boolean | null;
3048
+ contextPrompt?: string | null;
3049
+ rolePrompt?: string | null;
3050
+ personaPrompt?: string | null;
3051
+ constraints?: string | null;
2820
3052
  clientTagRules?: Array<{
2821
3053
  __typename?: 'TagRule';
2822
3054
  tag: string;
@@ -2859,6 +3091,11 @@ export type AisQuery = {
2859
3091
  askForCity?: boolean | null;
2860
3092
  askForAddress?: boolean | null;
2861
3093
  handoverEnabled?: boolean | null;
3094
+ endEnabled?: boolean | null;
3095
+ contextPrompt?: string | null;
3096
+ rolePrompt?: string | null;
3097
+ personaPrompt?: string | null;
3098
+ constraints?: string | null;
2862
3099
  clientTagRules?: Array<{
2863
3100
  __typename?: 'TagRule';
2864
3101
  tag: string;
@@ -2900,6 +3137,11 @@ export type CreateAiMutation = {
2900
3137
  askForCity?: boolean | null;
2901
3138
  askForAddress?: boolean | null;
2902
3139
  handoverEnabled?: boolean | null;
3140
+ endEnabled?: boolean | null;
3141
+ contextPrompt?: string | null;
3142
+ rolePrompt?: string | null;
3143
+ personaPrompt?: string | null;
3144
+ constraints?: string | null;
2903
3145
  clientTagRules?: Array<{
2904
3146
  __typename?: 'TagRule';
2905
3147
  tag: string;
@@ -2955,6 +3197,11 @@ export type DeleteAiMutation = {
2955
3197
  askForCity?: boolean | null;
2956
3198
  askForAddress?: boolean | null;
2957
3199
  handoverEnabled?: boolean | null;
3200
+ endEnabled?: boolean | null;
3201
+ contextPrompt?: string | null;
3202
+ rolePrompt?: string | null;
3203
+ personaPrompt?: string | null;
3204
+ constraints?: string | null;
2958
3205
  clientTagRules?: Array<{
2959
3206
  __typename?: 'TagRule';
2960
3207
  tag: string;
@@ -3010,6 +3257,11 @@ export type PatchAiMutation = {
3010
3257
  askForCity?: boolean | null;
3011
3258
  askForAddress?: boolean | null;
3012
3259
  handoverEnabled?: boolean | null;
3260
+ endEnabled?: boolean | null;
3261
+ contextPrompt?: string | null;
3262
+ rolePrompt?: string | null;
3263
+ personaPrompt?: string | null;
3264
+ constraints?: string | null;
3013
3265
  clientTagRules?: Array<{
3014
3266
  __typename?: 'TagRule';
3015
3267
  tag: string;
@@ -3197,6 +3449,13 @@ export type MeQuery = {
3197
3449
  createdAt: any;
3198
3450
  };
3199
3451
  };
3452
+ export type UnassignUserRoleMutationVariables = Exact<{
3453
+ input: InputUnassignUserRole;
3454
+ }>;
3455
+ export type UnassignUserRoleMutation = {
3456
+ __typename?: 'Mutation';
3457
+ unassignUserRole: boolean;
3458
+ };
3200
3459
  export type UsersRolesQueryVariables = Exact<{
3201
3460
  input: InputUsersRoles;
3202
3461
  }>;
@@ -3215,302 +3474,197 @@ export type UsersRolesQuery = {
3215
3474
  }> | null;
3216
3475
  };
3217
3476
  };
3218
- export type AgentReportFragment = {
3219
- __typename?: 'AgentReport';
3477
+ export type BroadcastFragment = {
3478
+ __typename?: 'Broadcast';
3220
3479
  workspaceId: number;
3221
3480
  id: string;
3222
- agentId: string;
3223
- conversationCount: number;
3224
- agentMessagesCount: number;
3225
- clientMessageCount: number;
3226
- avgFirstResponseTime: number;
3227
- avgConversationTime: number;
3228
- newClientConvCount?: number | null;
3229
- responseRate: number;
3230
- averageRating: number;
3231
- csat: number;
3481
+ name: string;
3482
+ integrationId: string;
3483
+ state: BroadcastState;
3484
+ clientTags?: Array<string> | null;
3485
+ clientStageId?: string | null;
3486
+ templateName: string;
3487
+ templateLang?: string | null;
3488
+ country?: string | null;
3489
+ templateComponents?: any | null;
3232
3490
  createdAt: any;
3491
+ scheduledAt?: any | null;
3492
+ startedAt?: any | null;
3493
+ completedAt?: any | null;
3494
+ totalCount?: number | null;
3495
+ failedCount?: number | null;
3496
+ error?: string | null;
3233
3497
  };
3234
- export type ConversationReportFragment = {
3235
- __typename?: 'ConversationReport';
3498
+ export type BroadcastReportFragment = {
3499
+ __typename?: 'BroadcastReport';
3236
3500
  workspaceId: number;
3237
3501
  id: string;
3238
3502
  integrationId: string;
3239
- hour: number;
3240
- conversationCount: number;
3241
- agentMessagesCount: number;
3242
- clientMessageCount: number;
3243
- avgFirstResponseTime: number;
3244
- avgConversationTime: number;
3245
- newClientConvCount?: number | null;
3246
- responseRate: number;
3247
- averageRating: number;
3248
- csat: number;
3503
+ reportDate: any;
3504
+ sentCount: number;
3505
+ deliveredCount: number;
3506
+ readCount: number;
3507
+ pendingCount: number;
3508
+ successCount: number;
3509
+ failedCount: number;
3249
3510
  createdAt: any;
3250
3511
  };
3251
- export type AgentsReportQueryVariables = Exact<{
3252
- input: AgentsReportInput;
3512
+ export type BroadcastQueryVariables = Exact<{
3513
+ input: BroadcastInput;
3253
3514
  }>;
3254
- export type AgentsReportQuery = {
3515
+ export type BroadcastQuery = {
3255
3516
  __typename?: 'Query';
3256
- agentsReport: {
3257
- __typename?: 'AgentsReportPayload';
3517
+ broadcast: {
3518
+ __typename?: 'Broadcast';
3519
+ workspaceId: number;
3520
+ id: string;
3521
+ name: string;
3522
+ integrationId: string;
3523
+ state: BroadcastState;
3524
+ clientTags?: Array<string> | null;
3525
+ clientStageId?: string | null;
3526
+ templateName: string;
3527
+ templateLang?: string | null;
3528
+ country?: string | null;
3529
+ templateComponents?: any | null;
3530
+ createdAt: any;
3531
+ scheduledAt?: any | null;
3532
+ startedAt?: any | null;
3533
+ completedAt?: any | null;
3534
+ totalCount?: number | null;
3535
+ failedCount?: number | null;
3536
+ error?: string | null;
3537
+ };
3538
+ };
3539
+ export type BroadcastDeliveryReportQueryVariables = Exact<{
3540
+ input: BroadcastDeliveryReportInput;
3541
+ }>;
3542
+ export type BroadcastDeliveryReportQuery = {
3543
+ __typename?: 'Query';
3544
+ broadcastDeliveryReport: {
3545
+ __typename?: 'BroadcastDeliveryReport';
3546
+ broadcastId: string;
3547
+ total: number;
3548
+ sent: number;
3549
+ delivered: number;
3550
+ read: number;
3551
+ failed: number;
3552
+ pending: number;
3553
+ failedMessages?: Array<{
3554
+ __typename?: 'Message';
3555
+ messageId: string;
3556
+ content: string;
3557
+ type: MessageType;
3558
+ noteType?: NoteType | null;
3559
+ isAgent: boolean;
3560
+ agentId?: string | null;
3561
+ status?: MessageStatus | null;
3562
+ failedReason?: string | null;
3563
+ externalMessageId?: string | null;
3564
+ tags?: Array<string> | null;
3565
+ createdAt: any;
3566
+ context?: {
3567
+ __typename?: 'MessageContext';
3568
+ replyToId?: string | null;
3569
+ replyToContent: string;
3570
+ replyToType: MessageType;
3571
+ } | null;
3572
+ }> | null;
3573
+ };
3574
+ };
3575
+ export type BroadcastMessageStatusesQueryVariables = Exact<{
3576
+ input: BroadcastMessageStatusesInput;
3577
+ pageInfo?: InputMaybe<PageInfoInput>;
3578
+ }>;
3579
+ export type BroadcastMessageStatusesQuery = {
3580
+ __typename?: 'Query';
3581
+ broadcastMessageStatuses: {
3582
+ __typename?: 'BroadcastMessageStatusesPayload';
3258
3583
  nodes?: Array<{
3259
- __typename?: 'AgentReport';
3260
- workspaceId: number;
3261
- id: string;
3262
- agentId: string;
3263
- conversationCount: number;
3264
- agentMessagesCount: number;
3265
- clientMessageCount: number;
3266
- avgFirstResponseTime: number;
3267
- avgConversationTime: number;
3268
- newClientConvCount?: number | null;
3269
- responseRate: number;
3270
- averageRating: number;
3271
- csat: number;
3584
+ __typename?: 'BroadcastMessageStatus';
3585
+ messageId: string;
3586
+ clientName?: string | null;
3587
+ clientPhone?: string | null;
3588
+ clientEmail?: string | null;
3589
+ clientCountry?: string | null;
3590
+ clientTags?: Array<string> | null;
3591
+ clientLifecycle?: string | null;
3592
+ status?: MessageStatus | null;
3593
+ failureReason?: string | null;
3594
+ content?: string | null;
3595
+ broadcastId?: string | null;
3272
3596
  createdAt: any;
3273
3597
  }> | null;
3598
+ pageInfo?: {
3599
+ __typename?: 'PageInfo';
3600
+ hasNextPage: boolean;
3601
+ endCursor?: any | null;
3602
+ count?: number | null;
3603
+ } | null;
3274
3604
  };
3275
3605
  };
3276
- export type ConvsReportQueryVariables = Exact<{
3277
- input: ConvsReportInput;
3606
+ export type BroadcastReportQueryVariables = Exact<{
3607
+ input: BroadcastReportInput;
3278
3608
  }>;
3279
- export type ConvsReportQuery = {
3609
+ export type BroadcastReportQuery = {
3280
3610
  __typename?: 'Query';
3281
- convsReport: {
3282
- __typename?: 'ConvsReportPayload';
3611
+ broadcastReport: {
3612
+ __typename?: 'BroadcastReportPayload';
3283
3613
  nodes?: Array<{
3284
- __typename?: 'ConversationReport';
3614
+ __typename?: 'BroadcastReport';
3285
3615
  workspaceId: number;
3286
3616
  id: string;
3287
3617
  integrationId: string;
3288
- hour: number;
3289
- conversationCount: number;
3290
- agentMessagesCount: number;
3291
- clientMessageCount: number;
3292
- avgFirstResponseTime: number;
3293
- avgConversationTime: number;
3294
- newClientConvCount?: number | null;
3295
- responseRate: number;
3296
- averageRating: number;
3297
- csat: number;
3618
+ reportDate: any;
3619
+ sentCount: number;
3620
+ deliveredCount: number;
3621
+ readCount: number;
3622
+ pendingCount: number;
3623
+ successCount: number;
3624
+ failedCount: number;
3298
3625
  createdAt: any;
3299
3626
  }> | null;
3300
3627
  };
3301
3628
  };
3302
- export type PageInfoFragment = {
3303
- __typename?: 'PageInfo';
3304
- hasNextPage: boolean;
3305
- endCursor?: any | null;
3306
- count?: number | null;
3307
- };
3308
- export type UploadSignatureQueryVariables = Exact<{
3309
- input: InputUploadSignature;
3629
+ export type BroadcastStateCountsQueryVariables = Exact<{
3630
+ input: BroadcastsInput;
3310
3631
  }>;
3311
- export type UploadSignatureQuery = {
3632
+ export type BroadcastStateCountsQuery = {
3312
3633
  __typename?: 'Query';
3313
- uploadSignature: {
3314
- __typename?: 'UploadSignatureResult';
3315
- sas: string;
3316
- };
3317
- };
3318
- export type AgentFragment = {
3319
- __typename?: 'Agent';
3320
- workspaceId: number;
3321
- id: string;
3322
- userId: string;
3323
- name: string;
3324
- surname: string;
3325
- email: string;
3326
- avatar?: string | null;
3327
- createdAt: any;
3328
- };
3329
- export type BroadcastFragment = {
3330
- __typename?: 'Broadcast';
3331
- workspaceId: number;
3332
- id: string;
3333
- name: string;
3334
- integrationId: string;
3335
- state: BroadcastState;
3336
- clientTags?: Array<string> | null;
3337
- clientStageId?: string | null;
3338
- templateName: string;
3339
- templateLang?: string | null;
3340
- country?: string | null;
3341
- templateComponents?: any | null;
3342
- createdAt: any;
3343
- scheduledAt?: any | null;
3344
- startedAt?: any | null;
3345
- completedAt?: any | null;
3346
- totalCount?: number | null;
3347
- failedCount?: number | null;
3348
- error?: string | null;
3349
- };
3350
- export type ConversationFragment = {
3351
- __typename?: 'Conversation';
3352
- workspaceId: number;
3353
- id: string;
3354
- integrationId: string;
3355
- integrationType: IntegrationType;
3356
- clientId: string;
3357
- ended: boolean;
3358
- endedBy?: string | null;
3359
- externalConversationId?: string | null;
3360
- tags?: Array<string> | null;
3361
- createdAt: any;
3362
- endedAt?: any | null;
3363
- stageId?: string | null;
3364
- orderNo?: string | null;
3365
- assigneeId?: string | null;
3366
- aiId?: string | null;
3367
- aiAssigneed?: boolean | null;
3368
- broadcastId?: string | null;
3369
- broadcastName?: string | null;
3370
- messages?: Array<{
3371
- __typename?: 'Message';
3372
- messageId: string;
3373
- content: string;
3374
- type: MessageType;
3375
- noteType?: NoteType | null;
3376
- isAgent: boolean;
3377
- agentId?: string | null;
3378
- status?: MessageStatus | null;
3379
- failedReason?: string | null;
3380
- externalMessageId?: string | null;
3381
- tags?: Array<string> | null;
3382
- createdAt: any;
3383
- context?: {
3384
- __typename?: 'MessageContext';
3385
- replyToId?: string | null;
3386
- replyToContent: string;
3387
- replyToType: MessageType;
3388
- } | null;
3389
- }> | null;
3390
- client?: {
3391
- __typename?: 'ConversationClient';
3392
- name?: string | null;
3393
- surname?: string | null;
3394
- code?: string | null;
3395
- phone?: string | null;
3396
- isDeleted: boolean;
3397
- } | null;
3398
- assignees?: Array<{
3399
- __typename?: 'ConvAssignment';
3400
- assigneeId: string;
3401
- assignDate?: any | null;
3402
- isAi?: boolean | null;
3403
- } | null> | null;
3404
- };
3405
- export type MessageFragment = {
3406
- __typename?: 'Message';
3407
- messageId: string;
3408
- content: string;
3409
- type: MessageType;
3410
- noteType?: NoteType | null;
3411
- isAgent: boolean;
3412
- agentId?: string | null;
3413
- status?: MessageStatus | null;
3414
- failedReason?: string | null;
3415
- externalMessageId?: string | null;
3416
- tags?: Array<string> | null;
3417
- createdAt: any;
3418
- context?: {
3419
- __typename?: 'MessageContext';
3420
- replyToId?: string | null;
3421
- replyToContent: string;
3422
- replyToType: MessageType;
3423
- } | null;
3424
- };
3425
- export type TagFragment = {
3426
- __typename?: 'Tag';
3427
- id: string;
3428
- tag: string;
3429
- type: TagType;
3430
- createdAt: any;
3431
- };
3432
- export type MessageTemplateDetailsFragment = {
3433
- __typename?: 'MessageTemplateDetails';
3434
- id: string;
3435
- name: string;
3436
- language: string;
3437
- status: TemplateState;
3438
- category: string;
3439
- library_template_name?: string | null;
3440
- parameter_format?: string | null;
3441
- components?: any | null;
3442
- };
3443
- export type MessageTemplateFragment = {
3444
- __typename?: 'MessageTemplate';
3445
- id: string;
3446
- name: string;
3447
- language: string;
3448
- status: TemplateState;
3449
- category: string;
3450
- library_template_name?: string | null;
3451
- parameter_format?: string | null;
3452
- };
3453
- export type AddMessageMutationVariables = Exact<{
3454
- input: MessageInput;
3455
- }>;
3456
- export type AddMessageMutation = {
3457
- __typename?: 'Mutation';
3458
- addMessage: {
3459
- __typename?: 'Message';
3460
- messageId: string;
3461
- content: string;
3462
- type: MessageType;
3463
- noteType?: NoteType | null;
3464
- isAgent: boolean;
3465
- agentId?: string | null;
3466
- status?: MessageStatus | null;
3467
- failedReason?: string | null;
3468
- externalMessageId?: string | null;
3469
- tags?: Array<string> | null;
3470
- createdAt: any;
3471
- context?: {
3472
- __typename?: 'MessageContext';
3473
- replyToId?: string | null;
3474
- replyToContent: string;
3475
- replyToType: MessageType;
3476
- } | null;
3477
- };
3478
- };
3479
- export type AgentQueryVariables = Exact<{
3480
- input: AgentInput;
3481
- }>;
3482
- export type AgentQuery = {
3483
- __typename?: 'Query';
3484
- agent: {
3485
- __typename?: 'Agent';
3486
- workspaceId: number;
3487
- id: string;
3488
- userId: string;
3489
- name: string;
3490
- surname: string;
3491
- email: string;
3492
- avatar?: string | null;
3493
- createdAt: any;
3494
- };
3634
+ broadcastStateCounts: Array<{
3635
+ __typename?: 'BroadcastStateCount';
3636
+ state: BroadcastState;
3637
+ count: number;
3638
+ }>;
3495
3639
  };
3496
- export type AgentsQueryVariables = Exact<{
3497
- input: AgentsInput;
3640
+ export type BroadcastsQueryVariables = Exact<{
3641
+ input: BroadcastsInput;
3498
3642
  pageInfo?: InputMaybe<PageInfoInput>;
3499
3643
  }>;
3500
- export type AgentsQuery = {
3644
+ export type BroadcastsQuery = {
3501
3645
  __typename?: 'Query';
3502
- agents: {
3503
- __typename?: 'AgentsPayload';
3646
+ broadcasts: {
3647
+ __typename?: 'BroadcastsPayload';
3504
3648
  nodes?: Array<{
3505
- __typename?: 'Agent';
3649
+ __typename?: 'Broadcast';
3506
3650
  workspaceId: number;
3507
3651
  id: string;
3508
- userId: string;
3509
3652
  name: string;
3510
- surname: string;
3511
- email: string;
3512
- avatar?: string | null;
3653
+ integrationId: string;
3654
+ state: BroadcastState;
3655
+ clientTags?: Array<string> | null;
3656
+ clientStageId?: string | null;
3657
+ templateName: string;
3658
+ templateLang?: string | null;
3659
+ country?: string | null;
3660
+ templateComponents?: any | null;
3513
3661
  createdAt: any;
3662
+ scheduledAt?: any | null;
3663
+ startedAt?: any | null;
3664
+ completedAt?: any | null;
3665
+ totalCount?: number | null;
3666
+ failedCount?: number | null;
3667
+ error?: string | null;
3514
3668
  }> | null;
3515
3669
  pageInfo?: {
3516
3670
  __typename?: 'PageInfo';
@@ -3520,73 +3674,39 @@ export type AgentsQuery = {
3520
3674
  } | null;
3521
3675
  };
3522
3676
  };
3523
- export type AssignConvMutationVariables = Exact<{
3524
- input: ConvAssignInput;
3677
+ export type CancelBroadcastMutationVariables = Exact<{
3678
+ input: BroadcastCancelInput;
3525
3679
  }>;
3526
- export type AssignConvMutation = {
3680
+ export type CancelBroadcastMutation = {
3527
3681
  __typename?: 'Mutation';
3528
- assignConv: {
3529
- __typename?: 'Conversation';
3682
+ cancelBroadcast: {
3683
+ __typename?: 'Broadcast';
3530
3684
  workspaceId: number;
3531
3685
  id: string;
3686
+ name: string;
3532
3687
  integrationId: string;
3533
- integrationType: IntegrationType;
3534
- clientId: string;
3535
- ended: boolean;
3536
- endedBy?: string | null;
3537
- externalConversationId?: string | null;
3538
- tags?: Array<string> | null;
3688
+ state: BroadcastState;
3689
+ clientTags?: Array<string> | null;
3690
+ clientStageId?: string | null;
3691
+ templateName: string;
3692
+ templateLang?: string | null;
3693
+ country?: string | null;
3694
+ templateComponents?: any | null;
3539
3695
  createdAt: any;
3540
- endedAt?: any | null;
3541
- stageId?: string | null;
3542
- orderNo?: string | null;
3543
- assigneeId?: string | null;
3544
- aiId?: string | null;
3545
- aiAssigneed?: boolean | null;
3546
- broadcastId?: string | null;
3547
- broadcastName?: string | null;
3548
- messages?: Array<{
3549
- __typename?: 'Message';
3550
- messageId: string;
3551
- content: string;
3552
- type: MessageType;
3553
- noteType?: NoteType | null;
3554
- isAgent: boolean;
3555
- agentId?: string | null;
3556
- status?: MessageStatus | null;
3557
- failedReason?: string | null;
3558
- externalMessageId?: string | null;
3559
- tags?: Array<string> | null;
3560
- createdAt: any;
3561
- context?: {
3562
- __typename?: 'MessageContext';
3563
- replyToId?: string | null;
3564
- replyToContent: string;
3565
- replyToType: MessageType;
3566
- } | null;
3567
- }> | null;
3568
- client?: {
3569
- __typename?: 'ConversationClient';
3570
- name?: string | null;
3571
- surname?: string | null;
3572
- code?: string | null;
3573
- phone?: string | null;
3574
- isDeleted: boolean;
3575
- } | null;
3576
- assignees?: Array<{
3577
- __typename?: 'ConvAssignment';
3578
- assigneeId: string;
3579
- assignDate?: any | null;
3580
- isAi?: boolean | null;
3581
- } | null> | null;
3696
+ scheduledAt?: any | null;
3697
+ startedAt?: any | null;
3698
+ completedAt?: any | null;
3699
+ totalCount?: number | null;
3700
+ failedCount?: number | null;
3701
+ error?: string | null;
3582
3702
  };
3583
3703
  };
3584
- export type BroadcastQueryVariables = Exact<{
3585
- input: BroadcastInput;
3704
+ export type CreateBroadcastMutationVariables = Exact<{
3705
+ input: BroadcastCreateInput;
3586
3706
  }>;
3587
- export type BroadcastQuery = {
3588
- __typename?: 'Query';
3589
- broadcast: {
3707
+ export type CreateBroadcastMutation = {
3708
+ __typename?: 'Mutation';
3709
+ createBroadcast: {
3590
3710
  __typename?: 'Broadcast';
3591
3711
  workspaceId: number;
3592
3712
  id: string;
@@ -3608,49 +3728,94 @@ export type BroadcastQuery = {
3608
3728
  error?: string | null;
3609
3729
  };
3610
3730
  };
3611
- export type BroadcastDeliveryReportQueryVariables = Exact<{
3612
- input: BroadcastDeliveryReportInput;
3731
+ export type DeleteBroadcastMutationVariables = Exact<{
3732
+ input: BroadcastDeleteInput;
3613
3733
  }>;
3614
- export type BroadcastDeliveryReportQuery = {
3615
- __typename?: 'Query';
3616
- broadcastDeliveryReport: {
3617
- __typename?: 'BroadcastDeliveryReport';
3618
- broadcastId: string;
3619
- total: number;
3620
- sent: number;
3621
- delivered: number;
3622
- read: number;
3623
- failed: number;
3624
- pending: number;
3625
- failedMessages?: Array<{
3626
- __typename?: 'Message';
3627
- messageId: string;
3628
- content: string;
3629
- type: MessageType;
3630
- noteType?: NoteType | null;
3631
- isAgent: boolean;
3632
- agentId?: string | null;
3633
- status?: MessageStatus | null;
3634
- failedReason?: string | null;
3635
- externalMessageId?: string | null;
3636
- tags?: Array<string> | null;
3637
- createdAt: any;
3638
- context?: {
3639
- __typename?: 'MessageContext';
3640
- replyToId?: string | null;
3641
- replyToContent: string;
3642
- replyToType: MessageType;
3643
- } | null;
3644
- }> | null;
3734
+ export type DeleteBroadcastMutation = {
3735
+ __typename?: 'Mutation';
3736
+ deleteBroadcast: {
3737
+ __typename?: 'Broadcast';
3738
+ workspaceId: number;
3739
+ id: string;
3740
+ name: string;
3741
+ integrationId: string;
3742
+ state: BroadcastState;
3743
+ clientTags?: Array<string> | null;
3744
+ clientStageId?: string | null;
3745
+ templateName: string;
3746
+ templateLang?: string | null;
3747
+ country?: string | null;
3748
+ templateComponents?: any | null;
3749
+ createdAt: any;
3750
+ scheduledAt?: any | null;
3751
+ startedAt?: any | null;
3752
+ completedAt?: any | null;
3753
+ totalCount?: number | null;
3754
+ failedCount?: number | null;
3755
+ error?: string | null;
3645
3756
  };
3646
3757
  };
3647
- export type BroadcastMessageStatusesQueryVariables = Exact<{
3648
- input: BroadcastMessageStatusesInput;
3758
+ export type LaunchBroadcastMutationVariables = Exact<{
3759
+ input: BroadcastLaunchInput;
3760
+ }>;
3761
+ export type LaunchBroadcastMutation = {
3762
+ __typename?: 'Mutation';
3763
+ launchBroadcast: {
3764
+ __typename?: 'Broadcast';
3765
+ workspaceId: number;
3766
+ id: string;
3767
+ name: string;
3768
+ integrationId: string;
3769
+ state: BroadcastState;
3770
+ clientTags?: Array<string> | null;
3771
+ clientStageId?: string | null;
3772
+ templateName: string;
3773
+ templateLang?: string | null;
3774
+ country?: string | null;
3775
+ templateComponents?: any | null;
3776
+ createdAt: any;
3777
+ scheduledAt?: any | null;
3778
+ startedAt?: any | null;
3779
+ completedAt?: any | null;
3780
+ totalCount?: number | null;
3781
+ failedCount?: number | null;
3782
+ error?: string | null;
3783
+ };
3784
+ };
3785
+ export type PatchBroadcastMutationVariables = Exact<{
3786
+ input: BroadcastPatchInput;
3787
+ }>;
3788
+ export type PatchBroadcastMutation = {
3789
+ __typename?: 'Mutation';
3790
+ patchBroadcast: {
3791
+ __typename?: 'Broadcast';
3792
+ workspaceId: number;
3793
+ id: string;
3794
+ name: string;
3795
+ integrationId: string;
3796
+ state: BroadcastState;
3797
+ clientTags?: Array<string> | null;
3798
+ clientStageId?: string | null;
3799
+ templateName: string;
3800
+ templateLang?: string | null;
3801
+ country?: string | null;
3802
+ templateComponents?: any | null;
3803
+ createdAt: any;
3804
+ scheduledAt?: any | null;
3805
+ startedAt?: any | null;
3806
+ completedAt?: any | null;
3807
+ totalCount?: number | null;
3808
+ failedCount?: number | null;
3809
+ error?: string | null;
3810
+ };
3811
+ };
3812
+ export type WorkspaceBroadcastMessageStatusesQueryVariables = Exact<{
3813
+ input: WorkspaceBroadcastMessageStatusesInput;
3649
3814
  pageInfo?: InputMaybe<PageInfoInput>;
3650
3815
  }>;
3651
- export type BroadcastMessageStatusesQuery = {
3816
+ export type WorkspaceBroadcastMessageStatusesQuery = {
3652
3817
  __typename?: 'Query';
3653
- broadcastMessageStatuses: {
3818
+ workspaceBroadcastMessageStatuses: {
3654
3819
  __typename?: 'BroadcastMessageStatusesPayload';
3655
3820
  nodes?: Array<{
3656
3821
  __typename?: 'BroadcastMessageStatus';
@@ -3663,6 +3828,8 @@ export type BroadcastMessageStatusesQuery = {
3663
3828
  clientLifecycle?: string | null;
3664
3829
  status?: MessageStatus | null;
3665
3830
  failureReason?: string | null;
3831
+ content?: string | null;
3832
+ broadcastId?: string | null;
3666
3833
  createdAt: any;
3667
3834
  }> | null;
3668
3835
  pageInfo?: {
@@ -3673,140 +3840,525 @@ export type BroadcastMessageStatusesQuery = {
3673
3840
  } | null;
3674
3841
  };
3675
3842
  };
3676
- export type BroadcastStateCountsQueryVariables = Exact<{
3677
- input: BroadcastsInput;
3678
- }>;
3679
- export type BroadcastStateCountsQuery = {
3680
- __typename?: 'Query';
3681
- broadcastStateCounts: Array<{
3682
- __typename?: 'BroadcastStateCount';
3683
- state: BroadcastState;
3684
- count: number;
3685
- }>;
3843
+ export type AgentReportFragment = {
3844
+ __typename?: 'AgentReport';
3845
+ workspaceId: number;
3846
+ id: string;
3847
+ agentId: string;
3848
+ conversationCount: number;
3849
+ agentMessagesCount: number;
3850
+ clientMessageCount: number;
3851
+ avgFirstResponseTime: number;
3852
+ avgConversationTime: number;
3853
+ newClientConvCount?: number | null;
3854
+ responseRate: number;
3855
+ averageRating: number;
3856
+ csat: number;
3857
+ createdAt: any;
3686
3858
  };
3687
- export type BroadcastsQueryVariables = Exact<{
3688
- input: BroadcastsInput;
3689
- pageInfo?: InputMaybe<PageInfoInput>;
3859
+ export type ConversationReportFragment = {
3860
+ __typename?: 'ConversationReport';
3861
+ workspaceId: number;
3862
+ id: string;
3863
+ integrationId: string;
3864
+ hour: number;
3865
+ conversationCount: number;
3866
+ agentMessagesCount: number;
3867
+ clientMessageCount: number;
3868
+ avgFirstResponseTime: number;
3869
+ avgConversationTime: number;
3870
+ newClientConvCount?: number | null;
3871
+ responseRate: number;
3872
+ averageRating: number;
3873
+ csat: number;
3874
+ createdAt: any;
3875
+ };
3876
+ export type AgentsReportQueryVariables = Exact<{
3877
+ input: AgentsReportInput;
3690
3878
  }>;
3691
- export type BroadcastsQuery = {
3879
+ export type AgentsReportQuery = {
3692
3880
  __typename?: 'Query';
3693
- broadcasts: {
3694
- __typename?: 'BroadcastsPayload';
3881
+ agentsReport: {
3882
+ __typename?: 'AgentsReportPayload';
3695
3883
  nodes?: Array<{
3696
- __typename?: 'Broadcast';
3884
+ __typename?: 'AgentReport';
3697
3885
  workspaceId: number;
3698
3886
  id: string;
3699
- name: string;
3700
- integrationId: string;
3701
- state: BroadcastState;
3702
- clientTags?: Array<string> | null;
3703
- clientStageId?: string | null;
3704
- templateName: string;
3705
- templateLang?: string | null;
3706
- country?: string | null;
3707
- templateComponents?: any | null;
3887
+ agentId: string;
3888
+ conversationCount: number;
3889
+ agentMessagesCount: number;
3890
+ clientMessageCount: number;
3891
+ avgFirstResponseTime: number;
3892
+ avgConversationTime: number;
3893
+ newClientConvCount?: number | null;
3894
+ responseRate: number;
3895
+ averageRating: number;
3896
+ csat: number;
3708
3897
  createdAt: any;
3709
- scheduledAt?: any | null;
3710
- startedAt?: any | null;
3711
- completedAt?: any | null;
3712
- totalCount?: number | null;
3713
- failedCount?: number | null;
3714
- error?: string | null;
3715
3898
  }> | null;
3716
- pageInfo?: {
3717
- __typename?: 'PageInfo';
3718
- hasNextPage: boolean;
3719
- endCursor?: any | null;
3720
- count?: number | null;
3721
- } | null;
3722
3899
  };
3723
3900
  };
3724
- export type CancelBroadcastMutationVariables = Exact<{
3725
- input: BroadcastCancelInput;
3901
+ export type ConvsReportQueryVariables = Exact<{
3902
+ input: ConvsReportInput;
3726
3903
  }>;
3727
- export type CancelBroadcastMutation = {
3728
- __typename?: 'Mutation';
3729
- cancelBroadcast: {
3730
- __typename?: 'Broadcast';
3731
- workspaceId: number;
3732
- id: string;
3733
- name: string;
3734
- integrationId: string;
3735
- state: BroadcastState;
3736
- clientTags?: Array<string> | null;
3737
- clientStageId?: string | null;
3738
- templateName: string;
3739
- templateLang?: string | null;
3740
- country?: string | null;
3741
- templateComponents?: any | null;
3742
- createdAt: any;
3743
- scheduledAt?: any | null;
3744
- startedAt?: any | null;
3745
- completedAt?: any | null;
3746
- totalCount?: number | null;
3747
- failedCount?: number | null;
3748
- error?: string | null;
3904
+ export type ConvsReportQuery = {
3905
+ __typename?: 'Query';
3906
+ convsReport: {
3907
+ __typename?: 'ConvsReportPayload';
3908
+ nodes?: Array<{
3909
+ __typename?: 'ConversationReport';
3910
+ workspaceId: number;
3911
+ id: string;
3912
+ integrationId: string;
3913
+ hour: number;
3914
+ conversationCount: number;
3915
+ agentMessagesCount: number;
3916
+ clientMessageCount: number;
3917
+ avgFirstResponseTime: number;
3918
+ avgConversationTime: number;
3919
+ newClientConvCount?: number | null;
3920
+ responseRate: number;
3921
+ averageRating: number;
3922
+ csat: number;
3923
+ createdAt: any;
3924
+ }> | null;
3749
3925
  };
3750
3926
  };
3751
- export type ConvAutoCompleteQueryVariables = Exact<{
3752
- input: ConvAssistInput;
3927
+ export type PageInfoFragment = {
3928
+ __typename?: 'PageInfo';
3929
+ hasNextPage: boolean;
3930
+ endCursor?: any | null;
3931
+ count?: number | null;
3932
+ };
3933
+ export type UploadSignatureQueryVariables = Exact<{
3934
+ input: InputUploadSignature;
3753
3935
  }>;
3754
- export type ConvAutoCompleteQuery = {
3936
+ export type UploadSignatureQuery = {
3755
3937
  __typename?: 'Query';
3756
- convAutoComplete: {
3757
- __typename?: 'ConvAssistPayload';
3758
- text: string;
3759
- usage?: any | null;
3938
+ uploadSignature: {
3939
+ __typename?: 'UploadSignatureResult';
3940
+ sas: string;
3760
3941
  };
3761
3942
  };
3762
- export type ConvSummaryQueryVariables = Exact<{
3763
- input: ConvAssistInput;
3943
+ export type AgentFragment = {
3944
+ __typename?: 'Agent';
3945
+ workspaceId: number;
3946
+ id: string;
3947
+ userId: string;
3948
+ name: string;
3949
+ surname: string;
3950
+ email: string;
3951
+ avatar?: string | null;
3952
+ assignable: boolean;
3953
+ createdAt: any;
3954
+ };
3955
+ export type ConversationFragment = {
3956
+ __typename?: 'Conversation';
3957
+ workspaceId: number;
3958
+ id: string;
3959
+ integrationId: string;
3960
+ integrationType: IntegrationType;
3961
+ clientId: string;
3962
+ ended: boolean;
3963
+ endedBy?: string | null;
3964
+ externalConversationId?: string | null;
3965
+ tags?: Array<string> | null;
3966
+ createdAt: any;
3967
+ endedAt?: any | null;
3968
+ stageId?: string | null;
3969
+ orderNo?: string | null;
3970
+ assigneeId?: string | null;
3971
+ aiId?: string | null;
3972
+ aiAssigneed?: boolean | null;
3973
+ ratingFlowInProgress?: boolean | null;
3974
+ broadcastId?: string | null;
3975
+ broadcastName?: string | null;
3976
+ integrationSwitches?: Array<{
3977
+ __typename?: 'ConvIntegrationSwitch';
3978
+ fromIntegrationId: string;
3979
+ fromIntegrationType: IntegrationType;
3980
+ toIntegrationId: string;
3981
+ toIntegrationType: IntegrationType;
3982
+ switchedAt: any;
3983
+ switchedBy?: string | null;
3984
+ }> | null;
3985
+ messages?: Array<{
3986
+ __typename?: 'Message';
3987
+ messageId: string;
3988
+ content: string;
3989
+ type: MessageType;
3990
+ noteType?: NoteType | null;
3991
+ isAgent: boolean;
3992
+ agentId?: string | null;
3993
+ status?: MessageStatus | null;
3994
+ failedReason?: string | null;
3995
+ externalMessageId?: string | null;
3996
+ tags?: Array<string> | null;
3997
+ createdAt: any;
3998
+ context?: {
3999
+ __typename?: 'MessageContext';
4000
+ replyToId?: string | null;
4001
+ replyToContent: string;
4002
+ replyToType: MessageType;
4003
+ } | null;
4004
+ }> | null;
4005
+ client?: {
4006
+ __typename?: 'ConversationClient';
4007
+ name?: string | null;
4008
+ surname?: string | null;
4009
+ code?: string | null;
4010
+ phone?: string | null;
4011
+ isDeleted: boolean;
4012
+ } | null;
4013
+ assignees?: Array<{
4014
+ __typename?: 'ConvAssignment';
4015
+ assigneeId: string;
4016
+ assignDate?: any | null;
4017
+ isAi?: boolean | null;
4018
+ } | null> | null;
4019
+ };
4020
+ export type MessageFragment = {
4021
+ __typename?: 'Message';
4022
+ messageId: string;
4023
+ content: string;
4024
+ type: MessageType;
4025
+ noteType?: NoteType | null;
4026
+ isAgent: boolean;
4027
+ agentId?: string | null;
4028
+ status?: MessageStatus | null;
4029
+ failedReason?: string | null;
4030
+ externalMessageId?: string | null;
4031
+ tags?: Array<string> | null;
4032
+ createdAt: any;
4033
+ context?: {
4034
+ __typename?: 'MessageContext';
4035
+ replyToId?: string | null;
4036
+ replyToContent: string;
4037
+ replyToType: MessageType;
4038
+ } | null;
4039
+ };
4040
+ export type TagFragment = {
4041
+ __typename?: 'Tag';
4042
+ id: string;
4043
+ tag: string;
4044
+ type: TagType;
4045
+ createdAt: any;
4046
+ };
4047
+ export type MessageTemplateDetailsFragment = {
4048
+ __typename?: 'MessageTemplateDetails';
4049
+ id: string;
4050
+ name: string;
4051
+ language: string;
4052
+ status: TemplateState;
4053
+ category: string;
4054
+ library_template_name?: string | null;
4055
+ parameter_format?: string | null;
4056
+ components?: any | null;
4057
+ };
4058
+ export type MessageTemplateFragment = {
4059
+ __typename?: 'MessageTemplate';
4060
+ id: string;
4061
+ name: string;
4062
+ language: string;
4063
+ status: TemplateState;
4064
+ category: string;
4065
+ library_template_name?: string | null;
4066
+ parameter_format?: string | null;
4067
+ };
4068
+ export type AddMessageMutationVariables = Exact<{
4069
+ input: MessageInput;
3764
4070
  }>;
3765
- export type ConvSummaryQuery = {
4071
+ export type AddMessageMutation = {
4072
+ __typename?: 'Mutation';
4073
+ addMessage: {
4074
+ __typename?: 'Message';
4075
+ messageId: string;
4076
+ content: string;
4077
+ type: MessageType;
4078
+ noteType?: NoteType | null;
4079
+ isAgent: boolean;
4080
+ agentId?: string | null;
4081
+ status?: MessageStatus | null;
4082
+ failedReason?: string | null;
4083
+ externalMessageId?: string | null;
4084
+ tags?: Array<string> | null;
4085
+ createdAt: any;
4086
+ context?: {
4087
+ __typename?: 'MessageContext';
4088
+ replyToId?: string | null;
4089
+ replyToContent: string;
4090
+ replyToType: MessageType;
4091
+ } | null;
4092
+ };
4093
+ };
4094
+ export type AgentQueryVariables = Exact<{
4095
+ input: AgentInput;
4096
+ }>;
4097
+ export type AgentQuery = {
3766
4098
  __typename?: 'Query';
3767
- convSummary: {
3768
- __typename?: 'ConvAssistPayload';
3769
- text: string;
3770
- usage?: any | null;
4099
+ agent: {
4100
+ __typename?: 'Agent';
4101
+ workspaceId: number;
4102
+ id: string;
4103
+ userId: string;
4104
+ name: string;
4105
+ surname: string;
4106
+ email: string;
4107
+ avatar?: string | null;
4108
+ assignable: boolean;
4109
+ createdAt: any;
3771
4110
  };
3772
4111
  };
3773
- export type ConvsQueryVariables = Exact<{
3774
- input: ConvsInput;
4112
+ export type AgentsQueryVariables = Exact<{
4113
+ input: AgentsInput;
3775
4114
  pageInfo?: InputMaybe<PageInfoInput>;
3776
4115
  }>;
3777
- export type ConvsQuery = {
4116
+ export type AgentsQuery = {
3778
4117
  __typename?: 'Query';
3779
- convs: {
3780
- __typename?: 'ConvsPayload';
4118
+ agents: {
4119
+ __typename?: 'AgentsPayload';
3781
4120
  nodes?: Array<{
3782
- __typename?: 'Conversation';
4121
+ __typename?: 'Agent';
3783
4122
  workspaceId: number;
3784
4123
  id: string;
3785
- integrationId: string;
3786
- integrationType: IntegrationType;
3787
- clientId: string;
3788
- ended: boolean;
3789
- endedBy?: string | null;
3790
- externalConversationId?: string | null;
3791
- tags?: Array<string> | null;
4124
+ userId: string;
4125
+ name: string;
4126
+ surname: string;
4127
+ email: string;
4128
+ avatar?: string | null;
4129
+ assignable: boolean;
3792
4130
  createdAt: any;
3793
- endedAt?: any | null;
3794
- stageId?: string | null;
3795
- orderNo?: string | null;
3796
- assigneeId?: string | null;
3797
- aiId?: string | null;
3798
- aiAssigneed?: boolean | null;
3799
- broadcastId?: string | null;
3800
- broadcastName?: string | null;
3801
- messages?: Array<{
3802
- __typename?: 'Message';
3803
- messageId: string;
3804
- content: string;
3805
- type: MessageType;
3806
- noteType?: NoteType | null;
3807
- isAgent: boolean;
3808
- agentId?: string | null;
3809
- status?: MessageStatus | null;
4131
+ }> | null;
4132
+ pageInfo?: {
4133
+ __typename?: 'PageInfo';
4134
+ hasNextPage: boolean;
4135
+ endCursor?: any | null;
4136
+ count?: number | null;
4137
+ } | null;
4138
+ };
4139
+ };
4140
+ export type AssignConvMutationVariables = Exact<{
4141
+ input: ConvAssignInput;
4142
+ }>;
4143
+ export type AssignConvMutation = {
4144
+ __typename?: 'Mutation';
4145
+ assignConv: {
4146
+ __typename?: 'Conversation';
4147
+ workspaceId: number;
4148
+ id: string;
4149
+ integrationId: string;
4150
+ integrationType: IntegrationType;
4151
+ clientId: string;
4152
+ ended: boolean;
4153
+ endedBy?: string | null;
4154
+ externalConversationId?: string | null;
4155
+ tags?: Array<string> | null;
4156
+ createdAt: any;
4157
+ endedAt?: any | null;
4158
+ stageId?: string | null;
4159
+ orderNo?: string | null;
4160
+ assigneeId?: string | null;
4161
+ aiId?: string | null;
4162
+ aiAssigneed?: boolean | null;
4163
+ ratingFlowInProgress?: boolean | null;
4164
+ broadcastId?: string | null;
4165
+ broadcastName?: string | null;
4166
+ integrationSwitches?: Array<{
4167
+ __typename?: 'ConvIntegrationSwitch';
4168
+ fromIntegrationId: string;
4169
+ fromIntegrationType: IntegrationType;
4170
+ toIntegrationId: string;
4171
+ toIntegrationType: IntegrationType;
4172
+ switchedAt: any;
4173
+ switchedBy?: string | null;
4174
+ }> | null;
4175
+ messages?: Array<{
4176
+ __typename?: 'Message';
4177
+ messageId: string;
4178
+ content: string;
4179
+ type: MessageType;
4180
+ noteType?: NoteType | null;
4181
+ isAgent: boolean;
4182
+ agentId?: string | null;
4183
+ status?: MessageStatus | null;
4184
+ failedReason?: string | null;
4185
+ externalMessageId?: string | null;
4186
+ tags?: Array<string> | null;
4187
+ createdAt: any;
4188
+ context?: {
4189
+ __typename?: 'MessageContext';
4190
+ replyToId?: string | null;
4191
+ replyToContent: string;
4192
+ replyToType: MessageType;
4193
+ } | null;
4194
+ }> | null;
4195
+ client?: {
4196
+ __typename?: 'ConversationClient';
4197
+ name?: string | null;
4198
+ surname?: string | null;
4199
+ code?: string | null;
4200
+ phone?: string | null;
4201
+ isDeleted: boolean;
4202
+ } | null;
4203
+ assignees?: Array<{
4204
+ __typename?: 'ConvAssignment';
4205
+ assigneeId: string;
4206
+ assignDate?: any | null;
4207
+ isAi?: boolean | null;
4208
+ } | null> | null;
4209
+ };
4210
+ };
4211
+ export type ConvQueryVariables = Exact<{
4212
+ input: ConvInput;
4213
+ }>;
4214
+ export type ConvQuery = {
4215
+ __typename?: 'Query';
4216
+ conv: {
4217
+ __typename?: 'Conversation';
4218
+ workspaceId: number;
4219
+ id: string;
4220
+ integrationId: string;
4221
+ integrationType: IntegrationType;
4222
+ clientId: string;
4223
+ ended: boolean;
4224
+ endedBy?: string | null;
4225
+ externalConversationId?: string | null;
4226
+ tags?: Array<string> | null;
4227
+ createdAt: any;
4228
+ endedAt?: any | null;
4229
+ stageId?: string | null;
4230
+ orderNo?: string | null;
4231
+ assigneeId?: string | null;
4232
+ aiId?: string | null;
4233
+ aiAssigneed?: boolean | null;
4234
+ ratingFlowInProgress?: boolean | null;
4235
+ broadcastId?: string | null;
4236
+ broadcastName?: string | null;
4237
+ integrationSwitches?: Array<{
4238
+ __typename?: 'ConvIntegrationSwitch';
4239
+ fromIntegrationId: string;
4240
+ fromIntegrationType: IntegrationType;
4241
+ toIntegrationId: string;
4242
+ toIntegrationType: IntegrationType;
4243
+ switchedAt: any;
4244
+ switchedBy?: string | null;
4245
+ }> | null;
4246
+ messages?: Array<{
4247
+ __typename?: 'Message';
4248
+ messageId: string;
4249
+ content: string;
4250
+ type: MessageType;
4251
+ noteType?: NoteType | null;
4252
+ isAgent: boolean;
4253
+ agentId?: string | null;
4254
+ status?: MessageStatus | null;
4255
+ failedReason?: string | null;
4256
+ externalMessageId?: string | null;
4257
+ tags?: Array<string> | null;
4258
+ createdAt: any;
4259
+ context?: {
4260
+ __typename?: 'MessageContext';
4261
+ replyToId?: string | null;
4262
+ replyToContent: string;
4263
+ replyToType: MessageType;
4264
+ } | null;
4265
+ }> | null;
4266
+ client?: {
4267
+ __typename?: 'ConversationClient';
4268
+ name?: string | null;
4269
+ surname?: string | null;
4270
+ code?: string | null;
4271
+ phone?: string | null;
4272
+ isDeleted: boolean;
4273
+ } | null;
4274
+ assignees?: Array<{
4275
+ __typename?: 'ConvAssignment';
4276
+ assigneeId: string;
4277
+ assignDate?: any | null;
4278
+ isAi?: boolean | null;
4279
+ } | null> | null;
4280
+ };
4281
+ };
4282
+ export type ConvAutoCompleteQueryVariables = Exact<{
4283
+ input: ConvAutoCompleteInput;
4284
+ }>;
4285
+ export type ConvAutoCompleteQuery = {
4286
+ __typename?: 'Query';
4287
+ convAutoComplete: {
4288
+ __typename?: 'ConvAssistPayload';
4289
+ text: string;
4290
+ usage?: any | null;
4291
+ };
4292
+ };
4293
+ export type ConvEnhanceMessageQueryVariables = Exact<{
4294
+ input: ConvEnhanceMessageInput;
4295
+ }>;
4296
+ export type ConvEnhanceMessageQuery = {
4297
+ __typename?: 'Query';
4298
+ convEnhanceMessage: {
4299
+ __typename?: 'ConvAssistPayload';
4300
+ text: string;
4301
+ usage?: any | null;
4302
+ };
4303
+ };
4304
+ export type ConvSummaryQueryVariables = Exact<{
4305
+ input: ConvAssistInput;
4306
+ }>;
4307
+ export type ConvSummaryQuery = {
4308
+ __typename?: 'Query';
4309
+ convSummary: {
4310
+ __typename?: 'ConvAssistPayload';
4311
+ text: string;
4312
+ usage?: any | null;
4313
+ };
4314
+ };
4315
+ export type ConvsQueryVariables = Exact<{
4316
+ input: ConvsInput;
4317
+ pageInfo?: InputMaybe<PageInfoInput>;
4318
+ }>;
4319
+ export type ConvsQuery = {
4320
+ __typename?: 'Query';
4321
+ convs: {
4322
+ __typename?: 'ConvsPayload';
4323
+ nodes?: Array<{
4324
+ __typename?: 'Conversation';
4325
+ workspaceId: number;
4326
+ id: string;
4327
+ integrationId: string;
4328
+ integrationType: IntegrationType;
4329
+ clientId: string;
4330
+ ended: boolean;
4331
+ endedBy?: string | null;
4332
+ externalConversationId?: string | null;
4333
+ tags?: Array<string> | null;
4334
+ createdAt: any;
4335
+ endedAt?: any | null;
4336
+ stageId?: string | null;
4337
+ orderNo?: string | null;
4338
+ assigneeId?: string | null;
4339
+ aiId?: string | null;
4340
+ aiAssigneed?: boolean | null;
4341
+ ratingFlowInProgress?: boolean | null;
4342
+ broadcastId?: string | null;
4343
+ broadcastName?: string | null;
4344
+ integrationSwitches?: Array<{
4345
+ __typename?: 'ConvIntegrationSwitch';
4346
+ fromIntegrationId: string;
4347
+ fromIntegrationType: IntegrationType;
4348
+ toIntegrationId: string;
4349
+ toIntegrationType: IntegrationType;
4350
+ switchedAt: any;
4351
+ switchedBy?: string | null;
4352
+ }> | null;
4353
+ messages?: Array<{
4354
+ __typename?: 'Message';
4355
+ messageId: string;
4356
+ content: string;
4357
+ type: MessageType;
4358
+ noteType?: NoteType | null;
4359
+ isAgent: boolean;
4360
+ agentId?: string | null;
4361
+ status?: MessageStatus | null;
3810
4362
  failedReason?: string | null;
3811
4363
  externalMessageId?: string | null;
3812
4364
  tags?: Array<string> | null;
@@ -3855,36 +4407,10 @@ export type CreateAgentMutation = {
3855
4407
  surname: string;
3856
4408
  email: string;
3857
4409
  avatar?: string | null;
4410
+ assignable: boolean;
3858
4411
  createdAt: any;
3859
4412
  };
3860
4413
  };
3861
- export type CreateBroadcastMutationVariables = Exact<{
3862
- input: BroadcastCreateInput;
3863
- }>;
3864
- export type CreateBroadcastMutation = {
3865
- __typename?: 'Mutation';
3866
- createBroadcast: {
3867
- __typename?: 'Broadcast';
3868
- workspaceId: number;
3869
- id: string;
3870
- name: string;
3871
- integrationId: string;
3872
- state: BroadcastState;
3873
- clientTags?: Array<string> | null;
3874
- clientStageId?: string | null;
3875
- templateName: string;
3876
- templateLang?: string | null;
3877
- country?: string | null;
3878
- templateComponents?: any | null;
3879
- createdAt: any;
3880
- scheduledAt?: any | null;
3881
- startedAt?: any | null;
3882
- completedAt?: any | null;
3883
- totalCount?: number | null;
3884
- failedCount?: number | null;
3885
- error?: string | null;
3886
- };
3887
- };
3888
4414
  export type DeleteAgentMutationVariables = Exact<{
3889
4415
  input: AgentInput;
3890
4416
  }>;
@@ -3899,36 +4425,10 @@ export type DeleteAgentMutation = {
3899
4425
  surname: string;
3900
4426
  email: string;
3901
4427
  avatar?: string | null;
4428
+ assignable: boolean;
3902
4429
  createdAt: any;
3903
4430
  };
3904
4431
  };
3905
- export type DeleteBroadcastMutationVariables = Exact<{
3906
- input: BroadcastDeleteInput;
3907
- }>;
3908
- export type DeleteBroadcastMutation = {
3909
- __typename?: 'Mutation';
3910
- deleteBroadcast: {
3911
- __typename?: 'Broadcast';
3912
- workspaceId: number;
3913
- id: string;
3914
- name: string;
3915
- integrationId: string;
3916
- state: BroadcastState;
3917
- clientTags?: Array<string> | null;
3918
- clientStageId?: string | null;
3919
- templateName: string;
3920
- templateLang?: string | null;
3921
- country?: string | null;
3922
- templateComponents?: any | null;
3923
- createdAt: any;
3924
- scheduledAt?: any | null;
3925
- startedAt?: any | null;
3926
- completedAt?: any | null;
3927
- totalCount?: number | null;
3928
- failedCount?: number | null;
3929
- error?: string | null;
3930
- };
3931
- };
3932
4432
  export type EndConvMutationVariables = Exact<{
3933
4433
  input: ConvEndInput;
3934
4434
  }>;
@@ -3952,8 +4452,18 @@ export type EndConvMutation = {
3952
4452
  assigneeId?: string | null;
3953
4453
  aiId?: string | null;
3954
4454
  aiAssigneed?: boolean | null;
4455
+ ratingFlowInProgress?: boolean | null;
3955
4456
  broadcastId?: string | null;
3956
4457
  broadcastName?: string | null;
4458
+ integrationSwitches?: Array<{
4459
+ __typename?: 'ConvIntegrationSwitch';
4460
+ fromIntegrationId: string;
4461
+ fromIntegrationType: IntegrationType;
4462
+ toIntegrationId: string;
4463
+ toIntegrationType: IntegrationType;
4464
+ switchedAt: any;
4465
+ switchedBy?: string | null;
4466
+ }> | null;
3957
4467
  messages?: Array<{
3958
4468
  __typename?: 'Message';
3959
4469
  messageId: string;
@@ -4013,8 +4523,18 @@ export type HandoverConvMutation = {
4013
4523
  assigneeId?: string | null;
4014
4524
  aiId?: string | null;
4015
4525
  aiAssigneed?: boolean | null;
4526
+ ratingFlowInProgress?: boolean | null;
4016
4527
  broadcastId?: string | null;
4017
4528
  broadcastName?: string | null;
4529
+ integrationSwitches?: Array<{
4530
+ __typename?: 'ConvIntegrationSwitch';
4531
+ fromIntegrationId: string;
4532
+ fromIntegrationType: IntegrationType;
4533
+ toIntegrationId: string;
4534
+ toIntegrationType: IntegrationType;
4535
+ switchedAt: any;
4536
+ switchedBy?: string | null;
4537
+ }> | null;
4018
4538
  messages?: Array<{
4019
4539
  __typename?: 'Message';
4020
4540
  messageId: string;
@@ -4051,36 +4571,9 @@ export type HandoverConvMutation = {
4051
4571
  } | null> | null;
4052
4572
  };
4053
4573
  };
4054
- export type LaunchBroadcastMutationVariables = Exact<{
4055
- input: BroadcastLaunchInput;
4056
- }>;
4057
- export type LaunchBroadcastMutation = {
4058
- __typename?: 'Mutation';
4059
- launchBroadcast: {
4060
- __typename?: 'Broadcast';
4061
- workspaceId: number;
4062
- id: string;
4063
- name: string;
4064
- integrationId: string;
4065
- state: BroadcastState;
4066
- clientTags?: Array<string> | null;
4067
- clientStageId?: string | null;
4068
- templateName: string;
4069
- templateLang?: string | null;
4070
- country?: string | null;
4071
- templateComponents?: any | null;
4072
- createdAt: any;
4073
- scheduledAt?: any | null;
4074
- startedAt?: any | null;
4075
- completedAt?: any | null;
4076
- totalCount?: number | null;
4077
- failedCount?: number | null;
4078
- error?: string | null;
4079
- };
4080
- };
4081
- export type MessagesQueryVariables = Exact<{
4082
- input: MessagesInput;
4083
- pageInfo?: InputMaybe<PageInfoInput>;
4574
+ export type MessagesQueryVariables = Exact<{
4575
+ input: MessagesInput;
4576
+ pageInfo?: InputMaybe<PageInfoInput>;
4084
4577
  }>;
4085
4578
  export type MessagesQuery = {
4086
4579
  __typename?: 'Query';
@@ -4135,36 +4628,10 @@ export type PatchAgentMutation = {
4135
4628
  surname: string;
4136
4629
  email: string;
4137
4630
  avatar?: string | null;
4631
+ assignable: boolean;
4138
4632
  createdAt: any;
4139
4633
  };
4140
4634
  };
4141
- export type PatchBroadcastMutationVariables = Exact<{
4142
- input: BroadcastPatchInput;
4143
- }>;
4144
- export type PatchBroadcastMutation = {
4145
- __typename?: 'Mutation';
4146
- patchBroadcast: {
4147
- __typename?: 'Broadcast';
4148
- workspaceId: number;
4149
- id: string;
4150
- name: string;
4151
- integrationId: string;
4152
- state: BroadcastState;
4153
- clientTags?: Array<string> | null;
4154
- clientStageId?: string | null;
4155
- templateName: string;
4156
- templateLang?: string | null;
4157
- country?: string | null;
4158
- templateComponents?: any | null;
4159
- createdAt: any;
4160
- scheduledAt?: any | null;
4161
- startedAt?: any | null;
4162
- completedAt?: any | null;
4163
- totalCount?: number | null;
4164
- failedCount?: number | null;
4165
- error?: string | null;
4166
- };
4167
- };
4168
4635
  export type PatchConvMutationVariables = Exact<{
4169
4636
  input: ConvPatchInput;
4170
4637
  }>;
@@ -4188,8 +4655,18 @@ export type PatchConvMutation = {
4188
4655
  assigneeId?: string | null;
4189
4656
  aiId?: string | null;
4190
4657
  aiAssigneed?: boolean | null;
4658
+ ratingFlowInProgress?: boolean | null;
4191
4659
  broadcastId?: string | null;
4192
4660
  broadcastName?: string | null;
4661
+ integrationSwitches?: Array<{
4662
+ __typename?: 'ConvIntegrationSwitch';
4663
+ fromIntegrationId: string;
4664
+ fromIntegrationType: IntegrationType;
4665
+ toIntegrationId: string;
4666
+ toIntegrationType: IntegrationType;
4667
+ switchedAt: any;
4668
+ switchedBy?: string | null;
4669
+ }> | null;
4193
4670
  messages?: Array<{
4194
4671
  __typename?: 'Message';
4195
4672
  messageId: string;
@@ -4249,8 +4726,18 @@ export type StartConvMutation = {
4249
4726
  assigneeId?: string | null;
4250
4727
  aiId?: string | null;
4251
4728
  aiAssigneed?: boolean | null;
4729
+ ratingFlowInProgress?: boolean | null;
4252
4730
  broadcastId?: string | null;
4253
4731
  broadcastName?: string | null;
4732
+ integrationSwitches?: Array<{
4733
+ __typename?: 'ConvIntegrationSwitch';
4734
+ fromIntegrationId: string;
4735
+ fromIntegrationType: IntegrationType;
4736
+ toIntegrationId: string;
4737
+ toIntegrationType: IntegrationType;
4738
+ switchedAt: any;
4739
+ switchedBy?: string | null;
4740
+ }> | null;
4254
4741
  messages?: Array<{
4255
4742
  __typename?: 'Message';
4256
4743
  messageId: string;
@@ -4336,8 +4823,18 @@ export type TagConvMutation = {
4336
4823
  assigneeId?: string | null;
4337
4824
  aiId?: string | null;
4338
4825
  aiAssigneed?: boolean | null;
4826
+ ratingFlowInProgress?: boolean | null;
4339
4827
  broadcastId?: string | null;
4340
4828
  broadcastName?: string | null;
4829
+ integrationSwitches?: Array<{
4830
+ __typename?: 'ConvIntegrationSwitch';
4831
+ fromIntegrationId: string;
4832
+ fromIntegrationType: IntegrationType;
4833
+ toIntegrationId: string;
4834
+ toIntegrationType: IntegrationType;
4835
+ switchedAt: any;
4836
+ switchedBy?: string | null;
4837
+ }> | null;
4341
4838
  messages?: Array<{
4342
4839
  __typename?: 'Message';
4343
4840
  messageId: string;
@@ -4439,8 +4936,18 @@ export type UntagConvMutation = {
4439
4936
  assigneeId?: string | null;
4440
4937
  aiId?: string | null;
4441
4938
  aiAssigneed?: boolean | null;
4939
+ ratingFlowInProgress?: boolean | null;
4442
4940
  broadcastId?: string | null;
4443
4941
  broadcastName?: string | null;
4942
+ integrationSwitches?: Array<{
4943
+ __typename?: 'ConvIntegrationSwitch';
4944
+ fromIntegrationId: string;
4945
+ fromIntegrationType: IntegrationType;
4946
+ toIntegrationId: string;
4947
+ toIntegrationType: IntegrationType;
4948
+ switchedAt: any;
4949
+ switchedBy?: string | null;
4950
+ }> | null;
4444
4951
  messages?: Array<{
4445
4952
  __typename?: 'Message';
4446
4953
  messageId: string;
@@ -4533,6 +5040,30 @@ export type ClientFragment = {
4533
5040
  deletedAt?: any | null;
4534
5041
  archivedBy?: string | null;
4535
5042
  };
5043
+ export type QuickReplyFragment = {
5044
+ __typename?: 'QuickReply';
5045
+ id: string;
5046
+ workspaceId: number;
5047
+ command: string;
5048
+ content: string;
5049
+ createdAt: any;
5050
+ updatedAt: any;
5051
+ };
5052
+ export type AddQuickReplyMutationVariables = Exact<{
5053
+ input: QuickReplyAddInput;
5054
+ }>;
5055
+ export type AddQuickReplyMutation = {
5056
+ __typename?: 'Mutation';
5057
+ addQuickReply: {
5058
+ __typename?: 'QuickReply';
5059
+ id: string;
5060
+ workspaceId: number;
5061
+ command: string;
5062
+ content: string;
5063
+ createdAt: any;
5064
+ updatedAt: any;
5065
+ };
5066
+ };
4536
5067
  export type BulkDeleteClientsMutationVariables = Exact<{
4537
5068
  input: BulkPermanentDeleteClientsInput;
4538
5069
  }>;
@@ -4794,6 +5325,54 @@ export type PatchClientMutation = {
4794
5325
  archivedBy?: string | null;
4795
5326
  };
4796
5327
  };
5328
+ export type PatchQuickReplyMutationVariables = Exact<{
5329
+ input: QuickReplyPatchInput;
5330
+ }>;
5331
+ export type PatchQuickReplyMutation = {
5332
+ __typename?: 'Mutation';
5333
+ patchQuickReply: {
5334
+ __typename?: 'QuickReply';
5335
+ id: string;
5336
+ workspaceId: number;
5337
+ command: string;
5338
+ content: string;
5339
+ createdAt: any;
5340
+ updatedAt: any;
5341
+ };
5342
+ };
5343
+ export type QuickRepliesQueryVariables = Exact<{
5344
+ input: QuickRepliesInput;
5345
+ }>;
5346
+ export type QuickRepliesQuery = {
5347
+ __typename?: 'Query';
5348
+ quickReplies: {
5349
+ __typename?: 'QuickRepliesPayload';
5350
+ nodes: Array<{
5351
+ __typename?: 'QuickReply';
5352
+ id: string;
5353
+ workspaceId: number;
5354
+ command: string;
5355
+ content: string;
5356
+ createdAt: any;
5357
+ updatedAt: any;
5358
+ }>;
5359
+ };
5360
+ };
5361
+ export type RemoveQuickReplyMutationVariables = Exact<{
5362
+ input: QuickReplyRemoveInput;
5363
+ }>;
5364
+ export type RemoveQuickReplyMutation = {
5365
+ __typename?: 'Mutation';
5366
+ removeQuickReply: {
5367
+ __typename?: 'QuickReply';
5368
+ id: string;
5369
+ workspaceId: number;
5370
+ command: string;
5371
+ content: string;
5372
+ createdAt: any;
5373
+ updatedAt: any;
5374
+ };
5375
+ };
4797
5376
  export type UndeleteClientMutationVariables = Exact<{
4798
5377
  input: ClientInput;
4799
5378
  }>;
@@ -4891,6 +5470,8 @@ export type WebhookFragment = {
4891
5470
  label: string;
4892
5471
  url: string;
4893
5472
  event: WebhookEvent;
5473
+ type?: WebhookType | null;
5474
+ headers?: any | null;
4894
5475
  createdAt: any;
4895
5476
  };
4896
5477
  export type ApiKeysQueryVariables = Exact<{
@@ -4917,6 +5498,36 @@ export type BulkPatchTagsMutation = {
4917
5498
  __typename?: 'Mutation';
4918
5499
  bulkPatchTags: never;
4919
5500
  };
5501
+ export type CreateAgentWithApiKeyMutationVariables = Exact<{
5502
+ input: AgentCreateWithApiKeyInput;
5503
+ }>;
5504
+ export type CreateAgentWithApiKeyMutation = {
5505
+ __typename?: 'Mutation';
5506
+ createAgentWithApiKey: {
5507
+ __typename?: 'AgentWithApiKeyPayload';
5508
+ agent: {
5509
+ __typename?: 'Agent';
5510
+ workspaceId: number;
5511
+ id: string;
5512
+ userId: string;
5513
+ name: string;
5514
+ surname: string;
5515
+ email: string;
5516
+ avatar?: string | null;
5517
+ assignable: boolean;
5518
+ createdAt: any;
5519
+ };
5520
+ apiKey: {
5521
+ __typename?: 'ApiKey';
5522
+ workspaceId: number;
5523
+ id: string;
5524
+ key?: string | null;
5525
+ label: string;
5526
+ agentId?: string | null;
5527
+ createdAt: any;
5528
+ };
5529
+ };
5530
+ };
4920
5531
  export type CreateIntegrationMutationVariables = Exact<{
4921
5532
  input: IntegrationCreateInput;
4922
5533
  }>;
@@ -4961,6 +5572,8 @@ export type CreateWebhookMutation = {
4961
5572
  label: string;
4962
5573
  url: string;
4963
5574
  event: WebhookEvent;
5575
+ type?: WebhookType | null;
5576
+ headers?: any | null;
4964
5577
  createdAt: any;
4965
5578
  };
4966
5579
  };
@@ -5022,6 +5635,8 @@ export type DeleteWebhookMutation = {
5022
5635
  label: string;
5023
5636
  url: string;
5024
5637
  event: WebhookEvent;
5638
+ type?: WebhookType | null;
5639
+ headers?: any | null;
5025
5640
  createdAt: any;
5026
5641
  };
5027
5642
  };
@@ -5114,6 +5729,8 @@ export type WebhooksQuery = {
5114
5729
  label: string;
5115
5730
  url: string;
5116
5731
  event: WebhookEvent;
5732
+ type?: WebhookType | null;
5733
+ headers?: any | null;
5117
5734
  createdAt: any;
5118
5735
  }> | null;
5119
5736
  };
@@ -5233,17 +5850,19 @@ export type WorkspacesQuery = {
5233
5850
  export declare const AiFragmentDoc: Apollo.DocumentNode;
5234
5851
  export declare const UserFragmentDoc: Apollo.DocumentNode;
5235
5852
  export declare const UserRoleFragmentDoc: Apollo.DocumentNode;
5853
+ export declare const BroadcastFragmentDoc: Apollo.DocumentNode;
5854
+ export declare const BroadcastReportFragmentDoc: Apollo.DocumentNode;
5236
5855
  export declare const AgentReportFragmentDoc: Apollo.DocumentNode;
5237
5856
  export declare const ConversationReportFragmentDoc: Apollo.DocumentNode;
5238
5857
  export declare const PageInfoFragmentDoc: Apollo.DocumentNode;
5239
5858
  export declare const AgentFragmentDoc: Apollo.DocumentNode;
5240
- export declare const BroadcastFragmentDoc: Apollo.DocumentNode;
5241
5859
  export declare const MessageFragmentDoc: Apollo.DocumentNode;
5242
5860
  export declare const ConversationFragmentDoc: Apollo.DocumentNode;
5243
5861
  export declare const TagFragmentDoc: Apollo.DocumentNode;
5244
5862
  export declare const MessageTemplateDetailsFragmentDoc: Apollo.DocumentNode;
5245
5863
  export declare const MessageTemplateFragmentDoc: Apollo.DocumentNode;
5246
5864
  export declare const ClientFragmentDoc: Apollo.DocumentNode;
5865
+ export declare const QuickReplyFragmentDoc: Apollo.DocumentNode;
5247
5866
  export declare const ApiKeyFragmentDoc: Apollo.DocumentNode;
5248
5867
  export declare const IntegrationFragmentDoc: Apollo.DocumentNode;
5249
5868
  export declare const WebhookFragmentDoc: Apollo.DocumentNode;
@@ -5251,554 +5870,1006 @@ export declare const WorkspaceFragmentDoc: Apollo.DocumentNode;
5251
5870
  export declare const WorkspaceSettingsFragmentDoc: Apollo.DocumentNode;
5252
5871
  export declare const AiDocument: Apollo.DocumentNode;
5253
5872
  /**
5254
- * __useAiQuery__
5873
+ * __useAiQuery__
5874
+ *
5875
+ * To run a query within a React component, call `useAiQuery` and pass it any options that fit your needs.
5876
+ * When your component renders, `useAiQuery` returns an object from Apollo Client that contains loading, error, and data properties
5877
+ * you can use to render your UI.
5878
+ *
5879
+ * @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;
5880
+ *
5881
+ * @example
5882
+ * const { data, loading, error } = useAiQuery({
5883
+ * variables: {
5884
+ * input: // value for 'input'
5885
+ * },
5886
+ * });
5887
+ */
5888
+ export declare function useAiQuery(baseOptions: Apollo.QueryHookOptions<AiQuery, AiQueryVariables> & ({
5889
+ variables: AiQueryVariables;
5890
+ skip?: boolean;
5891
+ } | {
5892
+ skip: boolean;
5893
+ })): Apollo.QueryResult<AiQuery, Exact<{
5894
+ input: AiInput;
5895
+ }>>;
5896
+ export declare function useAiLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<AiQuery, AiQueryVariables>): Apollo.LazyQueryResultTuple<AiQuery, Exact<{
5897
+ input: AiInput;
5898
+ }>>;
5899
+ export declare function useAiSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<AiQuery, AiQueryVariables>): Apollo.UseSuspenseQueryResult<AiQuery | undefined, Exact<{
5900
+ input: AiInput;
5901
+ }>>;
5902
+ export type AiQueryHookResult = ReturnType<typeof useAiQuery>;
5903
+ export type AiLazyQueryHookResult = ReturnType<typeof useAiLazyQuery>;
5904
+ export type AiSuspenseQueryHookResult = ReturnType<typeof useAiSuspenseQuery>;
5905
+ export type AiQueryResult = Apollo.QueryResult<AiQuery, AiQueryVariables>;
5906
+ export declare function refetchAiQuery(variables: AiQueryVariables): {
5907
+ query: Apollo.DocumentNode;
5908
+ variables: Exact<{
5909
+ input: AiInput;
5910
+ }>;
5911
+ };
5912
+ export declare const AisDocument: Apollo.DocumentNode;
5913
+ /**
5914
+ * __useAisQuery__
5915
+ *
5916
+ * To run a query within a React component, call `useAisQuery` and pass it any options that fit your needs.
5917
+ * When your component renders, `useAisQuery` returns an object from Apollo Client that contains loading, error, and data properties
5918
+ * you can use to render your UI.
5919
+ *
5920
+ * @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;
5921
+ *
5922
+ * @example
5923
+ * const { data, loading, error } = useAisQuery({
5924
+ * variables: {
5925
+ * input: // value for 'input'
5926
+ * },
5927
+ * });
5928
+ */
5929
+ export declare function useAisQuery(baseOptions: Apollo.QueryHookOptions<AisQuery, AisQueryVariables> & ({
5930
+ variables: AisQueryVariables;
5931
+ skip?: boolean;
5932
+ } | {
5933
+ skip: boolean;
5934
+ })): Apollo.QueryResult<AisQuery, Exact<{
5935
+ input: AIsInput;
5936
+ }>>;
5937
+ export declare function useAisLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<AisQuery, AisQueryVariables>): Apollo.LazyQueryResultTuple<AisQuery, Exact<{
5938
+ input: AIsInput;
5939
+ }>>;
5940
+ export declare function useAisSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<AisQuery, AisQueryVariables>): Apollo.UseSuspenseQueryResult<AisQuery | undefined, Exact<{
5941
+ input: AIsInput;
5942
+ }>>;
5943
+ export type AisQueryHookResult = ReturnType<typeof useAisQuery>;
5944
+ export type AisLazyQueryHookResult = ReturnType<typeof useAisLazyQuery>;
5945
+ export type AisSuspenseQueryHookResult = ReturnType<typeof useAisSuspenseQuery>;
5946
+ export type AisQueryResult = Apollo.QueryResult<AisQuery, AisQueryVariables>;
5947
+ export declare function refetchAisQuery(variables: AisQueryVariables): {
5948
+ query: Apollo.DocumentNode;
5949
+ variables: Exact<{
5950
+ input: AIsInput;
5951
+ }>;
5952
+ };
5953
+ export declare const CreateAiDocument: Apollo.DocumentNode;
5954
+ export type CreateAiMutationFn = Apollo.MutationFunction<CreateAiMutation, CreateAiMutationVariables>;
5955
+ /**
5956
+ * __useCreateAiMutation__
5957
+ *
5958
+ * To run a mutation, you first call `useCreateAiMutation` within a React component and pass it any options that fit your needs.
5959
+ * When your component renders, `useCreateAiMutation` returns a tuple that includes:
5960
+ * - A mutate function that you can call at any time to execute the mutation
5961
+ * - An object with fields that represent the current status of the mutation's execution
5962
+ *
5963
+ * @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;
5964
+ *
5965
+ * @example
5966
+ * const [createAiMutation, { data, loading, error }] = useCreateAiMutation({
5967
+ * variables: {
5968
+ * input: // value for 'input'
5969
+ * },
5970
+ * });
5971
+ */
5972
+ export declare function useCreateAiMutation(baseOptions?: Apollo.MutationHookOptions<CreateAiMutation, CreateAiMutationVariables>): Apollo.MutationTuple<CreateAiMutation, Exact<{
5973
+ input: AiCreateInput;
5974
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
5975
+ export type CreateAiMutationHookResult = ReturnType<typeof useCreateAiMutation>;
5976
+ export type CreateAiMutationResult = Apollo.MutationResult<CreateAiMutation>;
5977
+ export type CreateAiMutationOptions = Apollo.BaseMutationOptions<CreateAiMutation, CreateAiMutationVariables>;
5978
+ export declare const CreateSourceDocument: Apollo.DocumentNode;
5979
+ export type CreateSourceMutationFn = Apollo.MutationFunction<CreateSourceMutation, CreateSourceMutationVariables>;
5980
+ /**
5981
+ * __useCreateSourceMutation__
5982
+ *
5983
+ * To run a mutation, you first call `useCreateSourceMutation` within a React component and pass it any options that fit your needs.
5984
+ * When your component renders, `useCreateSourceMutation` returns a tuple that includes:
5985
+ * - A mutate function that you can call at any time to execute the mutation
5986
+ * - An object with fields that represent the current status of the mutation's execution
5987
+ *
5988
+ * @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;
5989
+ *
5990
+ * @example
5991
+ * const [createSourceMutation, { data, loading, error }] = useCreateSourceMutation({
5992
+ * variables: {
5993
+ * input: // value for 'input'
5994
+ * },
5995
+ * });
5996
+ */
5997
+ export declare function useCreateSourceMutation(baseOptions?: Apollo.MutationHookOptions<CreateSourceMutation, CreateSourceMutationVariables>): Apollo.MutationTuple<CreateSourceMutation, Exact<{
5998
+ input: SourceCreateInput;
5999
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
6000
+ export type CreateSourceMutationHookResult = ReturnType<typeof useCreateSourceMutation>;
6001
+ export type CreateSourceMutationResult = Apollo.MutationResult<CreateSourceMutation>;
6002
+ export type CreateSourceMutationOptions = Apollo.BaseMutationOptions<CreateSourceMutation, CreateSourceMutationVariables>;
6003
+ export declare const DeleteAiDocument: Apollo.DocumentNode;
6004
+ export type DeleteAiMutationFn = Apollo.MutationFunction<DeleteAiMutation, DeleteAiMutationVariables>;
6005
+ /**
6006
+ * __useDeleteAiMutation__
6007
+ *
6008
+ * To run a mutation, you first call `useDeleteAiMutation` within a React component and pass it any options that fit your needs.
6009
+ * When your component renders, `useDeleteAiMutation` returns a tuple that includes:
6010
+ * - A mutate function that you can call at any time to execute the mutation
6011
+ * - An object with fields that represent the current status of the mutation's execution
6012
+ *
6013
+ * @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;
6014
+ *
6015
+ * @example
6016
+ * const [deleteAiMutation, { data, loading, error }] = useDeleteAiMutation({
6017
+ * variables: {
6018
+ * input: // value for 'input'
6019
+ * },
6020
+ * });
6021
+ */
6022
+ export declare function useDeleteAiMutation(baseOptions?: Apollo.MutationHookOptions<DeleteAiMutation, DeleteAiMutationVariables>): Apollo.MutationTuple<DeleteAiMutation, Exact<{
6023
+ input: AiDeleteInput;
6024
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
6025
+ export type DeleteAiMutationHookResult = ReturnType<typeof useDeleteAiMutation>;
6026
+ export type DeleteAiMutationResult = Apollo.MutationResult<DeleteAiMutation>;
6027
+ export type DeleteAiMutationOptions = Apollo.BaseMutationOptions<DeleteAiMutation, DeleteAiMutationVariables>;
6028
+ export declare const DeleteSourceDocument: Apollo.DocumentNode;
6029
+ export type DeleteSourceMutationFn = Apollo.MutationFunction<DeleteSourceMutation, DeleteSourceMutationVariables>;
6030
+ /**
6031
+ * __useDeleteSourceMutation__
6032
+ *
6033
+ * To run a mutation, you first call `useDeleteSourceMutation` within a React component and pass it any options that fit your needs.
6034
+ * When your component renders, `useDeleteSourceMutation` returns a tuple that includes:
6035
+ * - A mutate function that you can call at any time to execute the mutation
6036
+ * - An object with fields that represent the current status of the mutation's execution
6037
+ *
6038
+ * @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;
6039
+ *
6040
+ * @example
6041
+ * const [deleteSourceMutation, { data, loading, error }] = useDeleteSourceMutation({
6042
+ * variables: {
6043
+ * input: // value for 'input'
6044
+ * },
6045
+ * });
6046
+ */
6047
+ export declare function useDeleteSourceMutation(baseOptions?: Apollo.MutationHookOptions<DeleteSourceMutation, DeleteSourceMutationVariables>): Apollo.MutationTuple<DeleteSourceMutation, Exact<{
6048
+ input: SourceDeleteInput;
6049
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
6050
+ export type DeleteSourceMutationHookResult = ReturnType<typeof useDeleteSourceMutation>;
6051
+ export type DeleteSourceMutationResult = Apollo.MutationResult<DeleteSourceMutation>;
6052
+ export type DeleteSourceMutationOptions = Apollo.BaseMutationOptions<DeleteSourceMutation, DeleteSourceMutationVariables>;
6053
+ export declare const PatchAiDocument: Apollo.DocumentNode;
6054
+ export type PatchAiMutationFn = Apollo.MutationFunction<PatchAiMutation, PatchAiMutationVariables>;
6055
+ /**
6056
+ * __usePatchAiMutation__
6057
+ *
6058
+ * To run a mutation, you first call `usePatchAiMutation` within a React component and pass it any options that fit your needs.
6059
+ * When your component renders, `usePatchAiMutation` returns a tuple that includes:
6060
+ * - A mutate function that you can call at any time to execute the mutation
6061
+ * - An object with fields that represent the current status of the mutation's execution
6062
+ *
6063
+ * @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;
6064
+ *
6065
+ * @example
6066
+ * const [patchAiMutation, { data, loading, error }] = usePatchAiMutation({
6067
+ * variables: {
6068
+ * input: // value for 'input'
6069
+ * },
6070
+ * });
6071
+ */
6072
+ export declare function usePatchAiMutation(baseOptions?: Apollo.MutationHookOptions<PatchAiMutation, PatchAiMutationVariables>): Apollo.MutationTuple<PatchAiMutation, Exact<{
6073
+ input: AiPatchInput;
6074
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
6075
+ export type PatchAiMutationHookResult = ReturnType<typeof usePatchAiMutation>;
6076
+ export type PatchAiMutationResult = Apollo.MutationResult<PatchAiMutation>;
6077
+ export type PatchAiMutationOptions = Apollo.BaseMutationOptions<PatchAiMutation, PatchAiMutationVariables>;
6078
+ export declare const PatchSourceDocument: Apollo.DocumentNode;
6079
+ export type PatchSourceMutationFn = Apollo.MutationFunction<PatchSourceMutation, PatchSourceMutationVariables>;
6080
+ /**
6081
+ * __usePatchSourceMutation__
6082
+ *
6083
+ * To run a mutation, you first call `usePatchSourceMutation` within a React component and pass it any options that fit your needs.
6084
+ * When your component renders, `usePatchSourceMutation` returns a tuple that includes:
6085
+ * - A mutate function that you can call at any time to execute the mutation
6086
+ * - An object with fields that represent the current status of the mutation's execution
6087
+ *
6088
+ * @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;
6089
+ *
6090
+ * @example
6091
+ * const [patchSourceMutation, { data, loading, error }] = usePatchSourceMutation({
6092
+ * variables: {
6093
+ * input: // value for 'input'
6094
+ * },
6095
+ * });
6096
+ */
6097
+ export declare function usePatchSourceMutation(baseOptions?: Apollo.MutationHookOptions<PatchSourceMutation, PatchSourceMutationVariables>): Apollo.MutationTuple<PatchSourceMutation, Exact<{
6098
+ input: SourcePatchInput;
6099
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
6100
+ export type PatchSourceMutationHookResult = ReturnType<typeof usePatchSourceMutation>;
6101
+ export type PatchSourceMutationResult = Apollo.MutationResult<PatchSourceMutation>;
6102
+ export type PatchSourceMutationOptions = Apollo.BaseMutationOptions<PatchSourceMutation, PatchSourceMutationVariables>;
6103
+ export declare const SourcesDocument: Apollo.DocumentNode;
6104
+ /**
6105
+ * __useSourcesQuery__
6106
+ *
6107
+ * To run a query within a React component, call `useSourcesQuery` and pass it any options that fit your needs.
6108
+ * When your component renders, `useSourcesQuery` returns an object from Apollo Client that contains loading, error, and data properties
6109
+ * you can use to render your UI.
6110
+ *
6111
+ * @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;
6112
+ *
6113
+ * @example
6114
+ * const { data, loading, error } = useSourcesQuery({
6115
+ * variables: {
6116
+ * input: // value for 'input'
6117
+ * },
6118
+ * });
6119
+ */
6120
+ export declare function useSourcesQuery(baseOptions: Apollo.QueryHookOptions<SourcesQuery, SourcesQueryVariables> & ({
6121
+ variables: SourcesQueryVariables;
6122
+ skip?: boolean;
6123
+ } | {
6124
+ skip: boolean;
6125
+ })): Apollo.QueryResult<SourcesQuery, Exact<{
6126
+ input: SourcesInput;
6127
+ }>>;
6128
+ export declare function useSourcesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<SourcesQuery, SourcesQueryVariables>): Apollo.LazyQueryResultTuple<SourcesQuery, Exact<{
6129
+ input: SourcesInput;
6130
+ }>>;
6131
+ export declare function useSourcesSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<SourcesQuery, SourcesQueryVariables>): Apollo.UseSuspenseQueryResult<SourcesQuery | undefined, Exact<{
6132
+ input: SourcesInput;
6133
+ }>>;
6134
+ export type SourcesQueryHookResult = ReturnType<typeof useSourcesQuery>;
6135
+ export type SourcesLazyQueryHookResult = ReturnType<typeof useSourcesLazyQuery>;
6136
+ export type SourcesSuspenseQueryHookResult = ReturnType<typeof useSourcesSuspenseQuery>;
6137
+ export type SourcesQueryResult = Apollo.QueryResult<SourcesQuery, SourcesQueryVariables>;
6138
+ export declare function refetchSourcesQuery(variables: SourcesQueryVariables): {
6139
+ query: Apollo.DocumentNode;
6140
+ variables: Exact<{
6141
+ input: SourcesInput;
6142
+ }>;
6143
+ };
6144
+ export declare const TokenUsageLogsDocument: Apollo.DocumentNode;
6145
+ /**
6146
+ * __useTokenUsageLogsQuery__
6147
+ *
6148
+ * To run a query within a React component, call `useTokenUsageLogsQuery` and pass it any options that fit your needs.
6149
+ * When your component renders, `useTokenUsageLogsQuery` returns an object from Apollo Client that contains loading, error, and data properties
6150
+ * you can use to render your UI.
6151
+ *
6152
+ * @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;
6153
+ *
6154
+ * @example
6155
+ * const { data, loading, error } = useTokenUsageLogsQuery({
6156
+ * variables: {
6157
+ * input: // value for 'input'
6158
+ * pageInfo: // value for 'pageInfo'
6159
+ * },
6160
+ * });
6161
+ */
6162
+ export declare function useTokenUsageLogsQuery(baseOptions: Apollo.QueryHookOptions<TokenUsageLogsQuery, TokenUsageLogsQueryVariables> & ({
6163
+ variables: TokenUsageLogsQueryVariables;
6164
+ skip?: boolean;
6165
+ } | {
6166
+ skip: boolean;
6167
+ })): Apollo.QueryResult<TokenUsageLogsQuery, Exact<{
6168
+ input: TokenUsageLogsInput;
6169
+ pageInfo?: InputMaybe<PageInfoInput> | undefined;
6170
+ }>>;
6171
+ export declare function useTokenUsageLogsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<TokenUsageLogsQuery, TokenUsageLogsQueryVariables>): Apollo.LazyQueryResultTuple<TokenUsageLogsQuery, Exact<{
6172
+ input: TokenUsageLogsInput;
6173
+ pageInfo?: InputMaybe<PageInfoInput> | undefined;
6174
+ }>>;
6175
+ export declare function useTokenUsageLogsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<TokenUsageLogsQuery, TokenUsageLogsQueryVariables>): Apollo.UseSuspenseQueryResult<TokenUsageLogsQuery | undefined, Exact<{
6176
+ input: TokenUsageLogsInput;
6177
+ pageInfo?: InputMaybe<PageInfoInput> | undefined;
6178
+ }>>;
6179
+ export type TokenUsageLogsQueryHookResult = ReturnType<typeof useTokenUsageLogsQuery>;
6180
+ export type TokenUsageLogsLazyQueryHookResult = ReturnType<typeof useTokenUsageLogsLazyQuery>;
6181
+ export type TokenUsageLogsSuspenseQueryHookResult = ReturnType<typeof useTokenUsageLogsSuspenseQuery>;
6182
+ export type TokenUsageLogsQueryResult = Apollo.QueryResult<TokenUsageLogsQuery, TokenUsageLogsQueryVariables>;
6183
+ export declare function refetchTokenUsageLogsQuery(variables: TokenUsageLogsQueryVariables): {
6184
+ query: Apollo.DocumentNode;
6185
+ variables: Exact<{
6186
+ input: TokenUsageLogsInput;
6187
+ pageInfo?: InputMaybe<PageInfoInput> | undefined;
6188
+ }>;
6189
+ };
6190
+ export declare const TokenUsageTotalDocument: Apollo.DocumentNode;
6191
+ /**
6192
+ * __useTokenUsageTotalQuery__
6193
+ *
6194
+ * To run a query within a React component, call `useTokenUsageTotalQuery` and pass it any options that fit your needs.
6195
+ * When your component renders, `useTokenUsageTotalQuery` returns an object from Apollo Client that contains loading, error, and data properties
6196
+ * you can use to render your UI.
6197
+ *
6198
+ * @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;
6199
+ *
6200
+ * @example
6201
+ * const { data, loading, error } = useTokenUsageTotalQuery({
6202
+ * variables: {
6203
+ * input: // value for 'input'
6204
+ * },
6205
+ * });
6206
+ */
6207
+ export declare function useTokenUsageTotalQuery(baseOptions: Apollo.QueryHookOptions<TokenUsageTotalQuery, TokenUsageTotalQueryVariables> & ({
6208
+ variables: TokenUsageTotalQueryVariables;
6209
+ skip?: boolean;
6210
+ } | {
6211
+ skip: boolean;
6212
+ })): Apollo.QueryResult<TokenUsageTotalQuery, Exact<{
6213
+ input: TokenUsageTotalInput;
6214
+ }>>;
6215
+ export declare function useTokenUsageTotalLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<TokenUsageTotalQuery, TokenUsageTotalQueryVariables>): Apollo.LazyQueryResultTuple<TokenUsageTotalQuery, Exact<{
6216
+ input: TokenUsageTotalInput;
6217
+ }>>;
6218
+ export declare function useTokenUsageTotalSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<TokenUsageTotalQuery, TokenUsageTotalQueryVariables>): Apollo.UseSuspenseQueryResult<TokenUsageTotalQuery | undefined, Exact<{
6219
+ input: TokenUsageTotalInput;
6220
+ }>>;
6221
+ export type TokenUsageTotalQueryHookResult = ReturnType<typeof useTokenUsageTotalQuery>;
6222
+ export type TokenUsageTotalLazyQueryHookResult = ReturnType<typeof useTokenUsageTotalLazyQuery>;
6223
+ export type TokenUsageTotalSuspenseQueryHookResult = ReturnType<typeof useTokenUsageTotalSuspenseQuery>;
6224
+ export type TokenUsageTotalQueryResult = Apollo.QueryResult<TokenUsageTotalQuery, TokenUsageTotalQueryVariables>;
6225
+ export declare function refetchTokenUsageTotalQuery(variables: TokenUsageTotalQueryVariables): {
6226
+ query: Apollo.DocumentNode;
6227
+ variables: Exact<{
6228
+ input: TokenUsageTotalInput;
6229
+ }>;
6230
+ };
6231
+ export declare const AssignOwnerDocument: Apollo.DocumentNode;
6232
+ export type AssignOwnerMutationFn = Apollo.MutationFunction<AssignOwnerMutation, AssignOwnerMutationVariables>;
6233
+ /**
6234
+ * __useAssignOwnerMutation__
6235
+ *
6236
+ * To run a mutation, you first call `useAssignOwnerMutation` within a React component and pass it any options that fit your needs.
6237
+ * When your component renders, `useAssignOwnerMutation` returns a tuple that includes:
6238
+ * - A mutate function that you can call at any time to execute the mutation
6239
+ * - An object with fields that represent the current status of the mutation's execution
6240
+ *
6241
+ * @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;
6242
+ *
6243
+ * @example
6244
+ * const [assignOwnerMutation, { data, loading, error }] = useAssignOwnerMutation({
6245
+ * variables: {
6246
+ * input: // value for 'input'
6247
+ * },
6248
+ * });
6249
+ */
6250
+ export declare function useAssignOwnerMutation(baseOptions?: Apollo.MutationHookOptions<AssignOwnerMutation, AssignOwnerMutationVariables>): Apollo.MutationTuple<AssignOwnerMutation, Exact<{
6251
+ input: InputAssignUserOwner;
6252
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
6253
+ export type AssignOwnerMutationHookResult = ReturnType<typeof useAssignOwnerMutation>;
6254
+ export type AssignOwnerMutationResult = Apollo.MutationResult<AssignOwnerMutation>;
6255
+ export type AssignOwnerMutationOptions = Apollo.BaseMutationOptions<AssignOwnerMutation, AssignOwnerMutationVariables>;
6256
+ export declare const AssignUserRoleDocument: Apollo.DocumentNode;
6257
+ export type AssignUserRoleMutationFn = Apollo.MutationFunction<AssignUserRoleMutation, AssignUserRoleMutationVariables>;
6258
+ /**
6259
+ * __useAssignUserRoleMutation__
6260
+ *
6261
+ * To run a mutation, you first call `useAssignUserRoleMutation` within a React component and pass it any options that fit your needs.
6262
+ * When your component renders, `useAssignUserRoleMutation` returns a tuple that includes:
6263
+ * - A mutate function that you can call at any time to execute the mutation
6264
+ * - An object with fields that represent the current status of the mutation's execution
6265
+ *
6266
+ * @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;
6267
+ *
6268
+ * @example
6269
+ * const [assignUserRoleMutation, { data, loading, error }] = useAssignUserRoleMutation({
6270
+ * variables: {
6271
+ * input: // value for 'input'
6272
+ * },
6273
+ * });
6274
+ */
6275
+ export declare function useAssignUserRoleMutation(baseOptions?: Apollo.MutationHookOptions<AssignUserRoleMutation, AssignUserRoleMutationVariables>): Apollo.MutationTuple<AssignUserRoleMutation, Exact<{
6276
+ input: InputAssignUserRole;
6277
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
6278
+ export type AssignUserRoleMutationHookResult = ReturnType<typeof useAssignUserRoleMutation>;
6279
+ export type AssignUserRoleMutationResult = Apollo.MutationResult<AssignUserRoleMutation>;
6280
+ export type AssignUserRoleMutationOptions = Apollo.BaseMutationOptions<AssignUserRoleMutation, AssignUserRoleMutationVariables>;
6281
+ export declare const CurrentUserDocument: Apollo.DocumentNode;
6282
+ /**
6283
+ * __useCurrentUserQuery__
6284
+ *
6285
+ * To run a query within a React component, call `useCurrentUserQuery` and pass it any options that fit your needs.
6286
+ * When your component renders, `useCurrentUserQuery` returns an object from Apollo Client that contains loading, error, and data properties
6287
+ * you can use to render your UI.
6288
+ *
6289
+ * @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;
6290
+ *
6291
+ * @example
6292
+ * const { data, loading, error } = useCurrentUserQuery({
6293
+ * variables: {
6294
+ * },
6295
+ * });
6296
+ */
6297
+ export declare function useCurrentUserQuery(baseOptions?: Apollo.QueryHookOptions<CurrentUserQuery, CurrentUserQueryVariables>): Apollo.QueryResult<CurrentUserQuery, Exact<{
6298
+ [key: string]: never;
6299
+ }>>;
6300
+ export declare function useCurrentUserLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<CurrentUserQuery, CurrentUserQueryVariables>): Apollo.LazyQueryResultTuple<CurrentUserQuery, Exact<{
6301
+ [key: string]: never;
6302
+ }>>;
6303
+ export declare function useCurrentUserSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<CurrentUserQuery, CurrentUserQueryVariables>): Apollo.UseSuspenseQueryResult<CurrentUserQuery | undefined, Exact<{
6304
+ [key: string]: never;
6305
+ }>>;
6306
+ export type CurrentUserQueryHookResult = ReturnType<typeof useCurrentUserQuery>;
6307
+ export type CurrentUserLazyQueryHookResult = ReturnType<typeof useCurrentUserLazyQuery>;
6308
+ export type CurrentUserSuspenseQueryHookResult = ReturnType<typeof useCurrentUserSuspenseQuery>;
6309
+ export type CurrentUserQueryResult = Apollo.QueryResult<CurrentUserQuery, CurrentUserQueryVariables>;
6310
+ export declare function refetchCurrentUserQuery(variables?: CurrentUserQueryVariables): {
6311
+ query: Apollo.DocumentNode;
6312
+ variables: Exact<{
6313
+ [key: string]: never;
6314
+ }> | undefined;
6315
+ };
6316
+ export declare const InitWorkspaceDocument: Apollo.DocumentNode;
6317
+ export type InitWorkspaceMutationFn = Apollo.MutationFunction<InitWorkspaceMutation, InitWorkspaceMutationVariables>;
6318
+ /**
6319
+ * __useInitWorkspaceMutation__
5255
6320
  *
5256
- * To run a query within a React component, call `useAiQuery` and pass it any options that fit your needs.
5257
- * When your component renders, `useAiQuery` returns an object from Apollo Client that contains loading, error, and data properties
5258
- * you can use to render your UI.
6321
+ * To run a mutation, you first call `useInitWorkspaceMutation` within a React component and pass it any options that fit your needs.
6322
+ * When your component renders, `useInitWorkspaceMutation` returns a tuple that includes:
6323
+ * - A mutate function that you can call at any time to execute the mutation
6324
+ * - An object with fields that represent the current status of the mutation's execution
5259
6325
  *
5260
- * @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;
6326
+ * @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;
5261
6327
  *
5262
6328
  * @example
5263
- * const { data, loading, error } = useAiQuery({
6329
+ * const [initWorkspaceMutation, { data, loading, error }] = useInitWorkspaceMutation({
5264
6330
  * variables: {
5265
6331
  * input: // value for 'input'
5266
6332
  * },
5267
6333
  * });
5268
6334
  */
5269
- export declare function useAiQuery(baseOptions: Apollo.QueryHookOptions<AiQuery, AiQueryVariables> & ({
5270
- variables: AiQueryVariables;
5271
- skip?: boolean;
5272
- } | {
5273
- skip: boolean;
5274
- })): Apollo.QueryResult<AiQuery, Exact<{
5275
- input: AiInput;
5276
- }>>;
5277
- export declare function useAiLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<AiQuery, AiQueryVariables>): Apollo.LazyQueryResultTuple<AiQuery, Exact<{
5278
- input: AiInput;
5279
- }>>;
5280
- export declare function useAiSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<AiQuery, AiQueryVariables>): Apollo.UseSuspenseQueryResult<AiQuery | undefined, Exact<{
5281
- input: AiInput;
5282
- }>>;
5283
- export type AiQueryHookResult = ReturnType<typeof useAiQuery>;
5284
- export type AiLazyQueryHookResult = ReturnType<typeof useAiLazyQuery>;
5285
- export type AiSuspenseQueryHookResult = ReturnType<typeof useAiSuspenseQuery>;
5286
- export type AiQueryResult = Apollo.QueryResult<AiQuery, AiQueryVariables>;
5287
- export declare function refetchAiQuery(variables: AiQueryVariables): {
5288
- query: Apollo.DocumentNode;
5289
- variables: Exact<{
5290
- input: AiInput;
5291
- }>;
5292
- };
5293
- export declare const AisDocument: Apollo.DocumentNode;
6335
+ export declare function useInitWorkspaceMutation(baseOptions?: Apollo.MutationHookOptions<InitWorkspaceMutation, InitWorkspaceMutationVariables>): Apollo.MutationTuple<InitWorkspaceMutation, Exact<{
6336
+ input: InputInitWorkspace;
6337
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
6338
+ export type InitWorkspaceMutationHookResult = ReturnType<typeof useInitWorkspaceMutation>;
6339
+ export type InitWorkspaceMutationResult = Apollo.MutationResult<InitWorkspaceMutation>;
6340
+ export type InitWorkspaceMutationOptions = Apollo.BaseMutationOptions<InitWorkspaceMutation, InitWorkspaceMutationVariables>;
6341
+ export declare const MeDocument: Apollo.DocumentNode;
5294
6342
  /**
5295
- * __useAisQuery__
6343
+ * __useMeQuery__
5296
6344
  *
5297
- * To run a query within a React component, call `useAisQuery` and pass it any options that fit your needs.
5298
- * When your component renders, `useAisQuery` returns an object from Apollo Client that contains loading, error, and data properties
6345
+ * To run a query within a React component, call `useMeQuery` and pass it any options that fit your needs.
6346
+ * When your component renders, `useMeQuery` returns an object from Apollo Client that contains loading, error, and data properties
5299
6347
  * you can use to render your UI.
5300
6348
  *
5301
6349
  * @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;
5302
6350
  *
5303
6351
  * @example
5304
- * const { data, loading, error } = useAisQuery({
6352
+ * const { data, loading, error } = useMeQuery({
5305
6353
  * variables: {
5306
6354
  * input: // value for 'input'
5307
6355
  * },
5308
6356
  * });
5309
6357
  */
5310
- export declare function useAisQuery(baseOptions: Apollo.QueryHookOptions<AisQuery, AisQueryVariables> & ({
5311
- variables: AisQueryVariables;
6358
+ export declare function useMeQuery(baseOptions: Apollo.QueryHookOptions<MeQuery, MeQueryVariables> & ({
6359
+ variables: MeQueryVariables;
5312
6360
  skip?: boolean;
5313
6361
  } | {
5314
6362
  skip: boolean;
5315
- })): Apollo.QueryResult<AisQuery, Exact<{
5316
- input: AIsInput;
6363
+ })): Apollo.QueryResult<MeQuery, Exact<{
6364
+ input: InputInitWorkspace;
5317
6365
  }>>;
5318
- export declare function useAisLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<AisQuery, AisQueryVariables>): Apollo.LazyQueryResultTuple<AisQuery, Exact<{
5319
- input: AIsInput;
6366
+ export declare function useMeLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<MeQuery, MeQueryVariables>): Apollo.LazyQueryResultTuple<MeQuery, Exact<{
6367
+ input: InputInitWorkspace;
5320
6368
  }>>;
5321
- export declare function useAisSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<AisQuery, AisQueryVariables>): Apollo.UseSuspenseQueryResult<AisQuery | undefined, Exact<{
5322
- input: AIsInput;
6369
+ export declare function useMeSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<MeQuery, MeQueryVariables>): Apollo.UseSuspenseQueryResult<MeQuery | undefined, Exact<{
6370
+ input: InputInitWorkspace;
5323
6371
  }>>;
5324
- export type AisQueryHookResult = ReturnType<typeof useAisQuery>;
5325
- export type AisLazyQueryHookResult = ReturnType<typeof useAisLazyQuery>;
5326
- export type AisSuspenseQueryHookResult = ReturnType<typeof useAisSuspenseQuery>;
5327
- export type AisQueryResult = Apollo.QueryResult<AisQuery, AisQueryVariables>;
5328
- export declare function refetchAisQuery(variables: AisQueryVariables): {
6372
+ export type MeQueryHookResult = ReturnType<typeof useMeQuery>;
6373
+ export type MeLazyQueryHookResult = ReturnType<typeof useMeLazyQuery>;
6374
+ export type MeSuspenseQueryHookResult = ReturnType<typeof useMeSuspenseQuery>;
6375
+ export type MeQueryResult = Apollo.QueryResult<MeQuery, MeQueryVariables>;
6376
+ export declare function refetchMeQuery(variables: MeQueryVariables): {
5329
6377
  query: Apollo.DocumentNode;
5330
6378
  variables: Exact<{
5331
- input: AIsInput;
6379
+ input: InputInitWorkspace;
5332
6380
  }>;
5333
6381
  };
5334
- export declare const CreateAiDocument: Apollo.DocumentNode;
5335
- export type CreateAiMutationFn = Apollo.MutationFunction<CreateAiMutation, CreateAiMutationVariables>;
5336
- /**
5337
- * __useCreateAiMutation__
5338
- *
5339
- * To run a mutation, you first call `useCreateAiMutation` within a React component and pass it any options that fit your needs.
5340
- * When your component renders, `useCreateAiMutation` returns a tuple that includes:
5341
- * - A mutate function that you can call at any time to execute the mutation
5342
- * - An object with fields that represent the current status of the mutation's execution
5343
- *
5344
- * @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;
5345
- *
5346
- * @example
5347
- * const [createAiMutation, { data, loading, error }] = useCreateAiMutation({
5348
- * variables: {
5349
- * input: // value for 'input'
5350
- * },
5351
- * });
5352
- */
5353
- export declare function useCreateAiMutation(baseOptions?: Apollo.MutationHookOptions<CreateAiMutation, CreateAiMutationVariables>): Apollo.MutationTuple<CreateAiMutation, Exact<{
5354
- input: AiCreateInput;
5355
- }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
5356
- export type CreateAiMutationHookResult = ReturnType<typeof useCreateAiMutation>;
5357
- export type CreateAiMutationResult = Apollo.MutationResult<CreateAiMutation>;
5358
- export type CreateAiMutationOptions = Apollo.BaseMutationOptions<CreateAiMutation, CreateAiMutationVariables>;
5359
- export declare const CreateSourceDocument: Apollo.DocumentNode;
5360
- export type CreateSourceMutationFn = Apollo.MutationFunction<CreateSourceMutation, CreateSourceMutationVariables>;
6382
+ export declare const UnassignUserRoleDocument: Apollo.DocumentNode;
6383
+ export type UnassignUserRoleMutationFn = Apollo.MutationFunction<UnassignUserRoleMutation, UnassignUserRoleMutationVariables>;
5361
6384
  /**
5362
- * __useCreateSourceMutation__
6385
+ * __useUnassignUserRoleMutation__
5363
6386
  *
5364
- * To run a mutation, you first call `useCreateSourceMutation` within a React component and pass it any options that fit your needs.
5365
- * When your component renders, `useCreateSourceMutation` returns a tuple that includes:
6387
+ * To run a mutation, you first call `useUnassignUserRoleMutation` within a React component and pass it any options that fit your needs.
6388
+ * When your component renders, `useUnassignUserRoleMutation` returns a tuple that includes:
5366
6389
  * - A mutate function that you can call at any time to execute the mutation
5367
6390
  * - An object with fields that represent the current status of the mutation's execution
5368
6391
  *
5369
6392
  * @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;
5370
6393
  *
5371
6394
  * @example
5372
- * const [createSourceMutation, { data, loading, error }] = useCreateSourceMutation({
6395
+ * const [unassignUserRoleMutation, { data, loading, error }] = useUnassignUserRoleMutation({
5373
6396
  * variables: {
5374
6397
  * input: // value for 'input'
5375
6398
  * },
5376
6399
  * });
5377
6400
  */
5378
- export declare function useCreateSourceMutation(baseOptions?: Apollo.MutationHookOptions<CreateSourceMutation, CreateSourceMutationVariables>): Apollo.MutationTuple<CreateSourceMutation, Exact<{
5379
- input: SourceCreateInput;
6401
+ export declare function useUnassignUserRoleMutation(baseOptions?: Apollo.MutationHookOptions<UnassignUserRoleMutation, UnassignUserRoleMutationVariables>): Apollo.MutationTuple<UnassignUserRoleMutation, Exact<{
6402
+ input: InputUnassignUserRole;
5380
6403
  }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
5381
- export type CreateSourceMutationHookResult = ReturnType<typeof useCreateSourceMutation>;
5382
- export type CreateSourceMutationResult = Apollo.MutationResult<CreateSourceMutation>;
5383
- export type CreateSourceMutationOptions = Apollo.BaseMutationOptions<CreateSourceMutation, CreateSourceMutationVariables>;
5384
- export declare const DeleteAiDocument: Apollo.DocumentNode;
5385
- export type DeleteAiMutationFn = Apollo.MutationFunction<DeleteAiMutation, DeleteAiMutationVariables>;
6404
+ export type UnassignUserRoleMutationHookResult = ReturnType<typeof useUnassignUserRoleMutation>;
6405
+ export type UnassignUserRoleMutationResult = Apollo.MutationResult<UnassignUserRoleMutation>;
6406
+ export type UnassignUserRoleMutationOptions = Apollo.BaseMutationOptions<UnassignUserRoleMutation, UnassignUserRoleMutationVariables>;
6407
+ export declare const UsersRolesDocument: Apollo.DocumentNode;
5386
6408
  /**
5387
- * __useDeleteAiMutation__
6409
+ * __useUsersRolesQuery__
5388
6410
  *
5389
- * To run a mutation, you first call `useDeleteAiMutation` within a React component and pass it any options that fit your needs.
5390
- * When your component renders, `useDeleteAiMutation` returns a tuple that includes:
5391
- * - A mutate function that you can call at any time to execute the mutation
5392
- * - An object with fields that represent the current status of the mutation's execution
6411
+ * To run a query within a React component, call `useUsersRolesQuery` and pass it any options that fit your needs.
6412
+ * When your component renders, `useUsersRolesQuery` returns an object from Apollo Client that contains loading, error, and data properties
6413
+ * you can use to render your UI.
5393
6414
  *
5394
- * @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;
6415
+ * @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;
5395
6416
  *
5396
6417
  * @example
5397
- * const [deleteAiMutation, { data, loading, error }] = useDeleteAiMutation({
6418
+ * const { data, loading, error } = useUsersRolesQuery({
5398
6419
  * variables: {
5399
6420
  * input: // value for 'input'
5400
6421
  * },
5401
6422
  * });
5402
6423
  */
5403
- export declare function useDeleteAiMutation(baseOptions?: Apollo.MutationHookOptions<DeleteAiMutation, DeleteAiMutationVariables>): Apollo.MutationTuple<DeleteAiMutation, Exact<{
5404
- input: AiDeleteInput;
5405
- }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
5406
- export type DeleteAiMutationHookResult = ReturnType<typeof useDeleteAiMutation>;
5407
- export type DeleteAiMutationResult = Apollo.MutationResult<DeleteAiMutation>;
5408
- export type DeleteAiMutationOptions = Apollo.BaseMutationOptions<DeleteAiMutation, DeleteAiMutationVariables>;
5409
- export declare const DeleteSourceDocument: Apollo.DocumentNode;
5410
- export type DeleteSourceMutationFn = Apollo.MutationFunction<DeleteSourceMutation, DeleteSourceMutationVariables>;
6424
+ export declare function useUsersRolesQuery(baseOptions: Apollo.QueryHookOptions<UsersRolesQuery, UsersRolesQueryVariables> & ({
6425
+ variables: UsersRolesQueryVariables;
6426
+ skip?: boolean;
6427
+ } | {
6428
+ skip: boolean;
6429
+ })): Apollo.QueryResult<UsersRolesQuery, Exact<{
6430
+ input: InputUsersRoles;
6431
+ }>>;
6432
+ export declare function useUsersRolesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<UsersRolesQuery, UsersRolesQueryVariables>): Apollo.LazyQueryResultTuple<UsersRolesQuery, Exact<{
6433
+ input: InputUsersRoles;
6434
+ }>>;
6435
+ export declare function useUsersRolesSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<UsersRolesQuery, UsersRolesQueryVariables>): Apollo.UseSuspenseQueryResult<UsersRolesQuery | undefined, Exact<{
6436
+ input: InputUsersRoles;
6437
+ }>>;
6438
+ export type UsersRolesQueryHookResult = ReturnType<typeof useUsersRolesQuery>;
6439
+ export type UsersRolesLazyQueryHookResult = ReturnType<typeof useUsersRolesLazyQuery>;
6440
+ export type UsersRolesSuspenseQueryHookResult = ReturnType<typeof useUsersRolesSuspenseQuery>;
6441
+ export type UsersRolesQueryResult = Apollo.QueryResult<UsersRolesQuery, UsersRolesQueryVariables>;
6442
+ export declare function refetchUsersRolesQuery(variables: UsersRolesQueryVariables): {
6443
+ query: Apollo.DocumentNode;
6444
+ variables: Exact<{
6445
+ input: InputUsersRoles;
6446
+ }>;
6447
+ };
6448
+ export declare const BroadcastDocument: Apollo.DocumentNode;
5411
6449
  /**
5412
- * __useDeleteSourceMutation__
6450
+ * __useBroadcastQuery__
5413
6451
  *
5414
- * To run a mutation, you first call `useDeleteSourceMutation` within a React component and pass it any options that fit your needs.
5415
- * When your component renders, `useDeleteSourceMutation` returns a tuple that includes:
5416
- * - A mutate function that you can call at any time to execute the mutation
5417
- * - An object with fields that represent the current status of the mutation's execution
6452
+ * To run a query within a React component, call `useBroadcastQuery` and pass it any options that fit your needs.
6453
+ * When your component renders, `useBroadcastQuery` returns an object from Apollo Client that contains loading, error, and data properties
6454
+ * you can use to render your UI.
5418
6455
  *
5419
- * @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;
6456
+ * @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;
5420
6457
  *
5421
6458
  * @example
5422
- * const [deleteSourceMutation, { data, loading, error }] = useDeleteSourceMutation({
6459
+ * const { data, loading, error } = useBroadcastQuery({
5423
6460
  * variables: {
5424
6461
  * input: // value for 'input'
5425
6462
  * },
5426
6463
  * });
5427
6464
  */
5428
- export declare function useDeleteSourceMutation(baseOptions?: Apollo.MutationHookOptions<DeleteSourceMutation, DeleteSourceMutationVariables>): Apollo.MutationTuple<DeleteSourceMutation, Exact<{
5429
- input: SourceDeleteInput;
5430
- }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
5431
- export type DeleteSourceMutationHookResult = ReturnType<typeof useDeleteSourceMutation>;
5432
- export type DeleteSourceMutationResult = Apollo.MutationResult<DeleteSourceMutation>;
5433
- export type DeleteSourceMutationOptions = Apollo.BaseMutationOptions<DeleteSourceMutation, DeleteSourceMutationVariables>;
5434
- export declare const PatchAiDocument: Apollo.DocumentNode;
5435
- export type PatchAiMutationFn = Apollo.MutationFunction<PatchAiMutation, PatchAiMutationVariables>;
6465
+ export declare function useBroadcastQuery(baseOptions: Apollo.QueryHookOptions<BroadcastQuery, BroadcastQueryVariables> & ({
6466
+ variables: BroadcastQueryVariables;
6467
+ skip?: boolean;
6468
+ } | {
6469
+ skip: boolean;
6470
+ })): Apollo.QueryResult<BroadcastQuery, Exact<{
6471
+ input: BroadcastInput;
6472
+ }>>;
6473
+ export declare function useBroadcastLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<BroadcastQuery, BroadcastQueryVariables>): Apollo.LazyQueryResultTuple<BroadcastQuery, Exact<{
6474
+ input: BroadcastInput;
6475
+ }>>;
6476
+ export declare function useBroadcastSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<BroadcastQuery, BroadcastQueryVariables>): Apollo.UseSuspenseQueryResult<BroadcastQuery | undefined, Exact<{
6477
+ input: BroadcastInput;
6478
+ }>>;
6479
+ export type BroadcastQueryHookResult = ReturnType<typeof useBroadcastQuery>;
6480
+ export type BroadcastLazyQueryHookResult = ReturnType<typeof useBroadcastLazyQuery>;
6481
+ export type BroadcastSuspenseQueryHookResult = ReturnType<typeof useBroadcastSuspenseQuery>;
6482
+ export type BroadcastQueryResult = Apollo.QueryResult<BroadcastQuery, BroadcastQueryVariables>;
6483
+ export declare function refetchBroadcastQuery(variables: BroadcastQueryVariables): {
6484
+ query: Apollo.DocumentNode;
6485
+ variables: Exact<{
6486
+ input: BroadcastInput;
6487
+ }>;
6488
+ };
6489
+ export declare const BroadcastDeliveryReportDocument: Apollo.DocumentNode;
5436
6490
  /**
5437
- * __usePatchAiMutation__
6491
+ * __useBroadcastDeliveryReportQuery__
5438
6492
  *
5439
- * To run a mutation, you first call `usePatchAiMutation` within a React component and pass it any options that fit your needs.
5440
- * When your component renders, `usePatchAiMutation` returns a tuple that includes:
5441
- * - A mutate function that you can call at any time to execute the mutation
5442
- * - An object with fields that represent the current status of the mutation's execution
6493
+ * To run a query within a React component, call `useBroadcastDeliveryReportQuery` and pass it any options that fit your needs.
6494
+ * When your component renders, `useBroadcastDeliveryReportQuery` returns an object from Apollo Client that contains loading, error, and data properties
6495
+ * you can use to render your UI.
5443
6496
  *
5444
- * @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;
6497
+ * @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;
5445
6498
  *
5446
6499
  * @example
5447
- * const [patchAiMutation, { data, loading, error }] = usePatchAiMutation({
6500
+ * const { data, loading, error } = useBroadcastDeliveryReportQuery({
5448
6501
  * variables: {
5449
6502
  * input: // value for 'input'
5450
6503
  * },
5451
6504
  * });
5452
6505
  */
5453
- export declare function usePatchAiMutation(baseOptions?: Apollo.MutationHookOptions<PatchAiMutation, PatchAiMutationVariables>): Apollo.MutationTuple<PatchAiMutation, Exact<{
5454
- input: AiPatchInput;
5455
- }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
5456
- export type PatchAiMutationHookResult = ReturnType<typeof usePatchAiMutation>;
5457
- export type PatchAiMutationResult = Apollo.MutationResult<PatchAiMutation>;
5458
- export type PatchAiMutationOptions = Apollo.BaseMutationOptions<PatchAiMutation, PatchAiMutationVariables>;
5459
- export declare const PatchSourceDocument: Apollo.DocumentNode;
5460
- export type PatchSourceMutationFn = Apollo.MutationFunction<PatchSourceMutation, PatchSourceMutationVariables>;
6506
+ export declare function useBroadcastDeliveryReportQuery(baseOptions: Apollo.QueryHookOptions<BroadcastDeliveryReportQuery, BroadcastDeliveryReportQueryVariables> & ({
6507
+ variables: BroadcastDeliveryReportQueryVariables;
6508
+ skip?: boolean;
6509
+ } | {
6510
+ skip: boolean;
6511
+ })): Apollo.QueryResult<BroadcastDeliveryReportQuery, Exact<{
6512
+ input: BroadcastDeliveryReportInput;
6513
+ }>>;
6514
+ export declare function useBroadcastDeliveryReportLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<BroadcastDeliveryReportQuery, BroadcastDeliveryReportQueryVariables>): Apollo.LazyQueryResultTuple<BroadcastDeliveryReportQuery, Exact<{
6515
+ input: BroadcastDeliveryReportInput;
6516
+ }>>;
6517
+ export declare function useBroadcastDeliveryReportSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<BroadcastDeliveryReportQuery, BroadcastDeliveryReportQueryVariables>): Apollo.UseSuspenseQueryResult<BroadcastDeliveryReportQuery | undefined, Exact<{
6518
+ input: BroadcastDeliveryReportInput;
6519
+ }>>;
6520
+ export type BroadcastDeliveryReportQueryHookResult = ReturnType<typeof useBroadcastDeliveryReportQuery>;
6521
+ export type BroadcastDeliveryReportLazyQueryHookResult = ReturnType<typeof useBroadcastDeliveryReportLazyQuery>;
6522
+ export type BroadcastDeliveryReportSuspenseQueryHookResult = ReturnType<typeof useBroadcastDeliveryReportSuspenseQuery>;
6523
+ export type BroadcastDeliveryReportQueryResult = Apollo.QueryResult<BroadcastDeliveryReportQuery, BroadcastDeliveryReportQueryVariables>;
6524
+ export declare function refetchBroadcastDeliveryReportQuery(variables: BroadcastDeliveryReportQueryVariables): {
6525
+ query: Apollo.DocumentNode;
6526
+ variables: Exact<{
6527
+ input: BroadcastDeliveryReportInput;
6528
+ }>;
6529
+ };
6530
+ export declare const BroadcastMessageStatusesDocument: Apollo.DocumentNode;
5461
6531
  /**
5462
- * __usePatchSourceMutation__
6532
+ * __useBroadcastMessageStatusesQuery__
5463
6533
  *
5464
- * To run a mutation, you first call `usePatchSourceMutation` within a React component and pass it any options that fit your needs.
5465
- * When your component renders, `usePatchSourceMutation` returns a tuple that includes:
5466
- * - A mutate function that you can call at any time to execute the mutation
5467
- * - An object with fields that represent the current status of the mutation's execution
6534
+ * To run a query within a React component, call `useBroadcastMessageStatusesQuery` and pass it any options that fit your needs.
6535
+ * When your component renders, `useBroadcastMessageStatusesQuery` returns an object from Apollo Client that contains loading, error, and data properties
6536
+ * you can use to render your UI.
5468
6537
  *
5469
- * @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;
6538
+ * @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;
5470
6539
  *
5471
6540
  * @example
5472
- * const [patchSourceMutation, { data, loading, error }] = usePatchSourceMutation({
6541
+ * const { data, loading, error } = useBroadcastMessageStatusesQuery({
5473
6542
  * variables: {
5474
6543
  * input: // value for 'input'
6544
+ * pageInfo: // value for 'pageInfo'
5475
6545
  * },
5476
6546
  * });
5477
6547
  */
5478
- export declare function usePatchSourceMutation(baseOptions?: Apollo.MutationHookOptions<PatchSourceMutation, PatchSourceMutationVariables>): Apollo.MutationTuple<PatchSourceMutation, Exact<{
5479
- input: SourcePatchInput;
5480
- }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
5481
- export type PatchSourceMutationHookResult = ReturnType<typeof usePatchSourceMutation>;
5482
- export type PatchSourceMutationResult = Apollo.MutationResult<PatchSourceMutation>;
5483
- export type PatchSourceMutationOptions = Apollo.BaseMutationOptions<PatchSourceMutation, PatchSourceMutationVariables>;
5484
- export declare const SourcesDocument: Apollo.DocumentNode;
6548
+ export declare function useBroadcastMessageStatusesQuery(baseOptions: Apollo.QueryHookOptions<BroadcastMessageStatusesQuery, BroadcastMessageStatusesQueryVariables> & ({
6549
+ variables: BroadcastMessageStatusesQueryVariables;
6550
+ skip?: boolean;
6551
+ } | {
6552
+ skip: boolean;
6553
+ })): Apollo.QueryResult<BroadcastMessageStatusesQuery, Exact<{
6554
+ input: BroadcastMessageStatusesInput;
6555
+ pageInfo?: InputMaybe<PageInfoInput> | undefined;
6556
+ }>>;
6557
+ export declare function useBroadcastMessageStatusesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<BroadcastMessageStatusesQuery, BroadcastMessageStatusesQueryVariables>): Apollo.LazyQueryResultTuple<BroadcastMessageStatusesQuery, Exact<{
6558
+ input: BroadcastMessageStatusesInput;
6559
+ pageInfo?: InputMaybe<PageInfoInput> | undefined;
6560
+ }>>;
6561
+ export declare function useBroadcastMessageStatusesSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<BroadcastMessageStatusesQuery, BroadcastMessageStatusesQueryVariables>): Apollo.UseSuspenseQueryResult<BroadcastMessageStatusesQuery | undefined, Exact<{
6562
+ input: BroadcastMessageStatusesInput;
6563
+ pageInfo?: InputMaybe<PageInfoInput> | undefined;
6564
+ }>>;
6565
+ export type BroadcastMessageStatusesQueryHookResult = ReturnType<typeof useBroadcastMessageStatusesQuery>;
6566
+ export type BroadcastMessageStatusesLazyQueryHookResult = ReturnType<typeof useBroadcastMessageStatusesLazyQuery>;
6567
+ export type BroadcastMessageStatusesSuspenseQueryHookResult = ReturnType<typeof useBroadcastMessageStatusesSuspenseQuery>;
6568
+ export type BroadcastMessageStatusesQueryResult = Apollo.QueryResult<BroadcastMessageStatusesQuery, BroadcastMessageStatusesQueryVariables>;
6569
+ export declare function refetchBroadcastMessageStatusesQuery(variables: BroadcastMessageStatusesQueryVariables): {
6570
+ query: Apollo.DocumentNode;
6571
+ variables: Exact<{
6572
+ input: BroadcastMessageStatusesInput;
6573
+ pageInfo?: InputMaybe<PageInfoInput> | undefined;
6574
+ }>;
6575
+ };
6576
+ export declare const BroadcastReportDocument: Apollo.DocumentNode;
5485
6577
  /**
5486
- * __useSourcesQuery__
6578
+ * __useBroadcastReportQuery__
5487
6579
  *
5488
- * To run a query within a React component, call `useSourcesQuery` and pass it any options that fit your needs.
5489
- * When your component renders, `useSourcesQuery` returns an object from Apollo Client that contains loading, error, and data properties
6580
+ * To run a query within a React component, call `useBroadcastReportQuery` and pass it any options that fit your needs.
6581
+ * When your component renders, `useBroadcastReportQuery` returns an object from Apollo Client that contains loading, error, and data properties
5490
6582
  * you can use to render your UI.
5491
6583
  *
5492
6584
  * @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;
5493
6585
  *
5494
6586
  * @example
5495
- * const { data, loading, error } = useSourcesQuery({
6587
+ * const { data, loading, error } = useBroadcastReportQuery({
5496
6588
  * variables: {
5497
6589
  * input: // value for 'input'
5498
6590
  * },
5499
6591
  * });
5500
6592
  */
5501
- export declare function useSourcesQuery(baseOptions: Apollo.QueryHookOptions<SourcesQuery, SourcesQueryVariables> & ({
5502
- variables: SourcesQueryVariables;
6593
+ export declare function useBroadcastReportQuery(baseOptions: Apollo.QueryHookOptions<BroadcastReportQuery, BroadcastReportQueryVariables> & ({
6594
+ variables: BroadcastReportQueryVariables;
5503
6595
  skip?: boolean;
5504
6596
  } | {
5505
6597
  skip: boolean;
5506
- })): Apollo.QueryResult<SourcesQuery, Exact<{
5507
- input: SourcesInput;
6598
+ })): Apollo.QueryResult<BroadcastReportQuery, Exact<{
6599
+ input: BroadcastReportInput;
5508
6600
  }>>;
5509
- export declare function useSourcesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<SourcesQuery, SourcesQueryVariables>): Apollo.LazyQueryResultTuple<SourcesQuery, Exact<{
5510
- input: SourcesInput;
6601
+ export declare function useBroadcastReportLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<BroadcastReportQuery, BroadcastReportQueryVariables>): Apollo.LazyQueryResultTuple<BroadcastReportQuery, Exact<{
6602
+ input: BroadcastReportInput;
5511
6603
  }>>;
5512
- export declare function useSourcesSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<SourcesQuery, SourcesQueryVariables>): Apollo.UseSuspenseQueryResult<SourcesQuery | undefined, Exact<{
5513
- input: SourcesInput;
6604
+ export declare function useBroadcastReportSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<BroadcastReportQuery, BroadcastReportQueryVariables>): Apollo.UseSuspenseQueryResult<BroadcastReportQuery | undefined, Exact<{
6605
+ input: BroadcastReportInput;
5514
6606
  }>>;
5515
- export type SourcesQueryHookResult = ReturnType<typeof useSourcesQuery>;
5516
- export type SourcesLazyQueryHookResult = ReturnType<typeof useSourcesLazyQuery>;
5517
- export type SourcesSuspenseQueryHookResult = ReturnType<typeof useSourcesSuspenseQuery>;
5518
- export type SourcesQueryResult = Apollo.QueryResult<SourcesQuery, SourcesQueryVariables>;
5519
- export declare function refetchSourcesQuery(variables: SourcesQueryVariables): {
6607
+ export type BroadcastReportQueryHookResult = ReturnType<typeof useBroadcastReportQuery>;
6608
+ export type BroadcastReportLazyQueryHookResult = ReturnType<typeof useBroadcastReportLazyQuery>;
6609
+ export type BroadcastReportSuspenseQueryHookResult = ReturnType<typeof useBroadcastReportSuspenseQuery>;
6610
+ export type BroadcastReportQueryResult = Apollo.QueryResult<BroadcastReportQuery, BroadcastReportQueryVariables>;
6611
+ export declare function refetchBroadcastReportQuery(variables: BroadcastReportQueryVariables): {
5520
6612
  query: Apollo.DocumentNode;
5521
6613
  variables: Exact<{
5522
- input: SourcesInput;
6614
+ input: BroadcastReportInput;
5523
6615
  }>;
5524
6616
  };
5525
- export declare const TokenUsageLogsDocument: Apollo.DocumentNode;
6617
+ export declare const BroadcastStateCountsDocument: Apollo.DocumentNode;
5526
6618
  /**
5527
- * __useTokenUsageLogsQuery__
6619
+ * __useBroadcastStateCountsQuery__
5528
6620
  *
5529
- * To run a query within a React component, call `useTokenUsageLogsQuery` and pass it any options that fit your needs.
5530
- * When your component renders, `useTokenUsageLogsQuery` returns an object from Apollo Client that contains loading, error, and data properties
6621
+ * To run a query within a React component, call `useBroadcastStateCountsQuery` and pass it any options that fit your needs.
6622
+ * When your component renders, `useBroadcastStateCountsQuery` returns an object from Apollo Client that contains loading, error, and data properties
5531
6623
  * you can use to render your UI.
5532
6624
  *
5533
6625
  * @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;
5534
6626
  *
5535
6627
  * @example
5536
- * const { data, loading, error } = useTokenUsageLogsQuery({
6628
+ * const { data, loading, error } = useBroadcastStateCountsQuery({
5537
6629
  * variables: {
5538
6630
  * input: // value for 'input'
5539
- * pageInfo: // value for 'pageInfo'
5540
6631
  * },
5541
6632
  * });
5542
6633
  */
5543
- export declare function useTokenUsageLogsQuery(baseOptions: Apollo.QueryHookOptions<TokenUsageLogsQuery, TokenUsageLogsQueryVariables> & ({
5544
- variables: TokenUsageLogsQueryVariables;
6634
+ export declare function useBroadcastStateCountsQuery(baseOptions: Apollo.QueryHookOptions<BroadcastStateCountsQuery, BroadcastStateCountsQueryVariables> & ({
6635
+ variables: BroadcastStateCountsQueryVariables;
5545
6636
  skip?: boolean;
5546
6637
  } | {
5547
6638
  skip: boolean;
5548
- })): Apollo.QueryResult<TokenUsageLogsQuery, Exact<{
5549
- input: TokenUsageLogsInput;
5550
- pageInfo?: InputMaybe<PageInfoInput> | undefined;
6639
+ })): Apollo.QueryResult<BroadcastStateCountsQuery, Exact<{
6640
+ input: BroadcastsInput;
5551
6641
  }>>;
5552
- export declare function useTokenUsageLogsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<TokenUsageLogsQuery, TokenUsageLogsQueryVariables>): Apollo.LazyQueryResultTuple<TokenUsageLogsQuery, Exact<{
5553
- input: TokenUsageLogsInput;
5554
- pageInfo?: InputMaybe<PageInfoInput> | undefined;
6642
+ export declare function useBroadcastStateCountsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<BroadcastStateCountsQuery, BroadcastStateCountsQueryVariables>): Apollo.LazyQueryResultTuple<BroadcastStateCountsQuery, Exact<{
6643
+ input: BroadcastsInput;
5555
6644
  }>>;
5556
- export declare function useTokenUsageLogsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<TokenUsageLogsQuery, TokenUsageLogsQueryVariables>): Apollo.UseSuspenseQueryResult<TokenUsageLogsQuery | undefined, Exact<{
5557
- input: TokenUsageLogsInput;
5558
- pageInfo?: InputMaybe<PageInfoInput> | undefined;
6645
+ export declare function useBroadcastStateCountsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<BroadcastStateCountsQuery, BroadcastStateCountsQueryVariables>): Apollo.UseSuspenseQueryResult<BroadcastStateCountsQuery | undefined, Exact<{
6646
+ input: BroadcastsInput;
5559
6647
  }>>;
5560
- export type TokenUsageLogsQueryHookResult = ReturnType<typeof useTokenUsageLogsQuery>;
5561
- export type TokenUsageLogsLazyQueryHookResult = ReturnType<typeof useTokenUsageLogsLazyQuery>;
5562
- export type TokenUsageLogsSuspenseQueryHookResult = ReturnType<typeof useTokenUsageLogsSuspenseQuery>;
5563
- export type TokenUsageLogsQueryResult = Apollo.QueryResult<TokenUsageLogsQuery, TokenUsageLogsQueryVariables>;
5564
- export declare function refetchTokenUsageLogsQuery(variables: TokenUsageLogsQueryVariables): {
6648
+ export type BroadcastStateCountsQueryHookResult = ReturnType<typeof useBroadcastStateCountsQuery>;
6649
+ export type BroadcastStateCountsLazyQueryHookResult = ReturnType<typeof useBroadcastStateCountsLazyQuery>;
6650
+ export type BroadcastStateCountsSuspenseQueryHookResult = ReturnType<typeof useBroadcastStateCountsSuspenseQuery>;
6651
+ export type BroadcastStateCountsQueryResult = Apollo.QueryResult<BroadcastStateCountsQuery, BroadcastStateCountsQueryVariables>;
6652
+ export declare function refetchBroadcastStateCountsQuery(variables: BroadcastStateCountsQueryVariables): {
5565
6653
  query: Apollo.DocumentNode;
5566
6654
  variables: Exact<{
5567
- input: TokenUsageLogsInput;
5568
- pageInfo?: InputMaybe<PageInfoInput> | undefined;
6655
+ input: BroadcastsInput;
5569
6656
  }>;
5570
6657
  };
5571
- export declare const TokenUsageTotalDocument: Apollo.DocumentNode;
6658
+ export declare const BroadcastsDocument: Apollo.DocumentNode;
5572
6659
  /**
5573
- * __useTokenUsageTotalQuery__
6660
+ * __useBroadcastsQuery__
5574
6661
  *
5575
- * To run a query within a React component, call `useTokenUsageTotalQuery` and pass it any options that fit your needs.
5576
- * When your component renders, `useTokenUsageTotalQuery` returns an object from Apollo Client that contains loading, error, and data properties
6662
+ * To run a query within a React component, call `useBroadcastsQuery` and pass it any options that fit your needs.
6663
+ * When your component renders, `useBroadcastsQuery` returns an object from Apollo Client that contains loading, error, and data properties
5577
6664
  * you can use to render your UI.
5578
6665
  *
5579
6666
  * @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;
5580
6667
  *
5581
6668
  * @example
5582
- * const { data, loading, error } = useTokenUsageTotalQuery({
6669
+ * const { data, loading, error } = useBroadcastsQuery({
5583
6670
  * variables: {
5584
6671
  * input: // value for 'input'
6672
+ * pageInfo: // value for 'pageInfo'
5585
6673
  * },
5586
6674
  * });
5587
6675
  */
5588
- export declare function useTokenUsageTotalQuery(baseOptions: Apollo.QueryHookOptions<TokenUsageTotalQuery, TokenUsageTotalQueryVariables> & ({
5589
- variables: TokenUsageTotalQueryVariables;
6676
+ export declare function useBroadcastsQuery(baseOptions: Apollo.QueryHookOptions<BroadcastsQuery, BroadcastsQueryVariables> & ({
6677
+ variables: BroadcastsQueryVariables;
5590
6678
  skip?: boolean;
5591
6679
  } | {
5592
6680
  skip: boolean;
5593
- })): Apollo.QueryResult<TokenUsageTotalQuery, Exact<{
5594
- input: TokenUsageTotalInput;
6681
+ })): Apollo.QueryResult<BroadcastsQuery, Exact<{
6682
+ input: BroadcastsInput;
6683
+ pageInfo?: InputMaybe<PageInfoInput> | undefined;
5595
6684
  }>>;
5596
- export declare function useTokenUsageTotalLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<TokenUsageTotalQuery, TokenUsageTotalQueryVariables>): Apollo.LazyQueryResultTuple<TokenUsageTotalQuery, Exact<{
5597
- input: TokenUsageTotalInput;
6685
+ export declare function useBroadcastsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<BroadcastsQuery, BroadcastsQueryVariables>): Apollo.LazyQueryResultTuple<BroadcastsQuery, Exact<{
6686
+ input: BroadcastsInput;
6687
+ pageInfo?: InputMaybe<PageInfoInput> | undefined;
5598
6688
  }>>;
5599
- export declare function useTokenUsageTotalSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<TokenUsageTotalQuery, TokenUsageTotalQueryVariables>): Apollo.UseSuspenseQueryResult<TokenUsageTotalQuery | undefined, Exact<{
5600
- input: TokenUsageTotalInput;
6689
+ export declare function useBroadcastsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<BroadcastsQuery, BroadcastsQueryVariables>): Apollo.UseSuspenseQueryResult<BroadcastsQuery | undefined, Exact<{
6690
+ input: BroadcastsInput;
6691
+ pageInfo?: InputMaybe<PageInfoInput> | undefined;
5601
6692
  }>>;
5602
- export type TokenUsageTotalQueryHookResult = ReturnType<typeof useTokenUsageTotalQuery>;
5603
- export type TokenUsageTotalLazyQueryHookResult = ReturnType<typeof useTokenUsageTotalLazyQuery>;
5604
- export type TokenUsageTotalSuspenseQueryHookResult = ReturnType<typeof useTokenUsageTotalSuspenseQuery>;
5605
- export type TokenUsageTotalQueryResult = Apollo.QueryResult<TokenUsageTotalQuery, TokenUsageTotalQueryVariables>;
5606
- export declare function refetchTokenUsageTotalQuery(variables: TokenUsageTotalQueryVariables): {
6693
+ export type BroadcastsQueryHookResult = ReturnType<typeof useBroadcastsQuery>;
6694
+ export type BroadcastsLazyQueryHookResult = ReturnType<typeof useBroadcastsLazyQuery>;
6695
+ export type BroadcastsSuspenseQueryHookResult = ReturnType<typeof useBroadcastsSuspenseQuery>;
6696
+ export type BroadcastsQueryResult = Apollo.QueryResult<BroadcastsQuery, BroadcastsQueryVariables>;
6697
+ export declare function refetchBroadcastsQuery(variables: BroadcastsQueryVariables): {
5607
6698
  query: Apollo.DocumentNode;
5608
6699
  variables: Exact<{
5609
- input: TokenUsageTotalInput;
6700
+ input: BroadcastsInput;
6701
+ pageInfo?: InputMaybe<PageInfoInput> | undefined;
5610
6702
  }>;
5611
6703
  };
5612
- export declare const AssignOwnerDocument: Apollo.DocumentNode;
5613
- export type AssignOwnerMutationFn = Apollo.MutationFunction<AssignOwnerMutation, AssignOwnerMutationVariables>;
6704
+ export declare const CancelBroadcastDocument: Apollo.DocumentNode;
6705
+ export type CancelBroadcastMutationFn = Apollo.MutationFunction<CancelBroadcastMutation, CancelBroadcastMutationVariables>;
5614
6706
  /**
5615
- * __useAssignOwnerMutation__
6707
+ * __useCancelBroadcastMutation__
5616
6708
  *
5617
- * To run a mutation, you first call `useAssignOwnerMutation` within a React component and pass it any options that fit your needs.
5618
- * When your component renders, `useAssignOwnerMutation` returns a tuple that includes:
6709
+ * To run a mutation, you first call `useCancelBroadcastMutation` within a React component and pass it any options that fit your needs.
6710
+ * When your component renders, `useCancelBroadcastMutation` returns a tuple that includes:
5619
6711
  * - A mutate function that you can call at any time to execute the mutation
5620
6712
  * - An object with fields that represent the current status of the mutation's execution
5621
6713
  *
5622
6714
  * @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;
5623
6715
  *
5624
6716
  * @example
5625
- * const [assignOwnerMutation, { data, loading, error }] = useAssignOwnerMutation({
6717
+ * const [cancelBroadcastMutation, { data, loading, error }] = useCancelBroadcastMutation({
5626
6718
  * variables: {
5627
6719
  * input: // value for 'input'
5628
6720
  * },
5629
6721
  * });
5630
6722
  */
5631
- export declare function useAssignOwnerMutation(baseOptions?: Apollo.MutationHookOptions<AssignOwnerMutation, AssignOwnerMutationVariables>): Apollo.MutationTuple<AssignOwnerMutation, Exact<{
5632
- input: InputAssignUserOwner;
6723
+ export declare function useCancelBroadcastMutation(baseOptions?: Apollo.MutationHookOptions<CancelBroadcastMutation, CancelBroadcastMutationVariables>): Apollo.MutationTuple<CancelBroadcastMutation, Exact<{
6724
+ input: BroadcastCancelInput;
5633
6725
  }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
5634
- export type AssignOwnerMutationHookResult = ReturnType<typeof useAssignOwnerMutation>;
5635
- export type AssignOwnerMutationResult = Apollo.MutationResult<AssignOwnerMutation>;
5636
- export type AssignOwnerMutationOptions = Apollo.BaseMutationOptions<AssignOwnerMutation, AssignOwnerMutationVariables>;
5637
- export declare const AssignUserRoleDocument: Apollo.DocumentNode;
5638
- export type AssignUserRoleMutationFn = Apollo.MutationFunction<AssignUserRoleMutation, AssignUserRoleMutationVariables>;
6726
+ export type CancelBroadcastMutationHookResult = ReturnType<typeof useCancelBroadcastMutation>;
6727
+ export type CancelBroadcastMutationResult = Apollo.MutationResult<CancelBroadcastMutation>;
6728
+ export type CancelBroadcastMutationOptions = Apollo.BaseMutationOptions<CancelBroadcastMutation, CancelBroadcastMutationVariables>;
6729
+ export declare const CreateBroadcastDocument: Apollo.DocumentNode;
6730
+ export type CreateBroadcastMutationFn = Apollo.MutationFunction<CreateBroadcastMutation, CreateBroadcastMutationVariables>;
5639
6731
  /**
5640
- * __useAssignUserRoleMutation__
6732
+ * __useCreateBroadcastMutation__
5641
6733
  *
5642
- * To run a mutation, you first call `useAssignUserRoleMutation` within a React component and pass it any options that fit your needs.
5643
- * When your component renders, `useAssignUserRoleMutation` returns a tuple that includes:
6734
+ * To run a mutation, you first call `useCreateBroadcastMutation` within a React component and pass it any options that fit your needs.
6735
+ * When your component renders, `useCreateBroadcastMutation` returns a tuple that includes:
5644
6736
  * - A mutate function that you can call at any time to execute the mutation
5645
6737
  * - An object with fields that represent the current status of the mutation's execution
5646
6738
  *
5647
6739
  * @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;
5648
6740
  *
5649
6741
  * @example
5650
- * const [assignUserRoleMutation, { data, loading, error }] = useAssignUserRoleMutation({
6742
+ * const [createBroadcastMutation, { data, loading, error }] = useCreateBroadcastMutation({
5651
6743
  * variables: {
5652
6744
  * input: // value for 'input'
5653
6745
  * },
5654
6746
  * });
5655
6747
  */
5656
- export declare function useAssignUserRoleMutation(baseOptions?: Apollo.MutationHookOptions<AssignUserRoleMutation, AssignUserRoleMutationVariables>): Apollo.MutationTuple<AssignUserRoleMutation, Exact<{
5657
- input: InputAssignUserRole;
6748
+ export declare function useCreateBroadcastMutation(baseOptions?: Apollo.MutationHookOptions<CreateBroadcastMutation, CreateBroadcastMutationVariables>): Apollo.MutationTuple<CreateBroadcastMutation, Exact<{
6749
+ input: BroadcastCreateInput;
5658
6750
  }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
5659
- export type AssignUserRoleMutationHookResult = ReturnType<typeof useAssignUserRoleMutation>;
5660
- export type AssignUserRoleMutationResult = Apollo.MutationResult<AssignUserRoleMutation>;
5661
- export type AssignUserRoleMutationOptions = Apollo.BaseMutationOptions<AssignUserRoleMutation, AssignUserRoleMutationVariables>;
5662
- export declare const CurrentUserDocument: Apollo.DocumentNode;
6751
+ export type CreateBroadcastMutationHookResult = ReturnType<typeof useCreateBroadcastMutation>;
6752
+ export type CreateBroadcastMutationResult = Apollo.MutationResult<CreateBroadcastMutation>;
6753
+ export type CreateBroadcastMutationOptions = Apollo.BaseMutationOptions<CreateBroadcastMutation, CreateBroadcastMutationVariables>;
6754
+ export declare const DeleteBroadcastDocument: Apollo.DocumentNode;
6755
+ export type DeleteBroadcastMutationFn = Apollo.MutationFunction<DeleteBroadcastMutation, DeleteBroadcastMutationVariables>;
5663
6756
  /**
5664
- * __useCurrentUserQuery__
6757
+ * __useDeleteBroadcastMutation__
5665
6758
  *
5666
- * To run a query within a React component, call `useCurrentUserQuery` and pass it any options that fit your needs.
5667
- * When your component renders, `useCurrentUserQuery` returns an object from Apollo Client that contains loading, error, and data properties
5668
- * you can use to render your UI.
6759
+ * To run a mutation, you first call `useDeleteBroadcastMutation` within a React component and pass it any options that fit your needs.
6760
+ * When your component renders, `useDeleteBroadcastMutation` returns a tuple that includes:
6761
+ * - A mutate function that you can call at any time to execute the mutation
6762
+ * - An object with fields that represent the current status of the mutation's execution
5669
6763
  *
5670
- * @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;
6764
+ * @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;
5671
6765
  *
5672
6766
  * @example
5673
- * const { data, loading, error } = useCurrentUserQuery({
6767
+ * const [deleteBroadcastMutation, { data, loading, error }] = useDeleteBroadcastMutation({
5674
6768
  * variables: {
6769
+ * input: // value for 'input'
5675
6770
  * },
5676
6771
  * });
5677
6772
  */
5678
- export declare function useCurrentUserQuery(baseOptions?: Apollo.QueryHookOptions<CurrentUserQuery, CurrentUserQueryVariables>): Apollo.QueryResult<CurrentUserQuery, Exact<{
5679
- [key: string]: never;
5680
- }>>;
5681
- export declare function useCurrentUserLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<CurrentUserQuery, CurrentUserQueryVariables>): Apollo.LazyQueryResultTuple<CurrentUserQuery, Exact<{
5682
- [key: string]: never;
5683
- }>>;
5684
- export declare function useCurrentUserSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<CurrentUserQuery, CurrentUserQueryVariables>): Apollo.UseSuspenseQueryResult<CurrentUserQuery | undefined, Exact<{
5685
- [key: string]: never;
5686
- }>>;
5687
- export type CurrentUserQueryHookResult = ReturnType<typeof useCurrentUserQuery>;
5688
- export type CurrentUserLazyQueryHookResult = ReturnType<typeof useCurrentUserLazyQuery>;
5689
- export type CurrentUserSuspenseQueryHookResult = ReturnType<typeof useCurrentUserSuspenseQuery>;
5690
- export type CurrentUserQueryResult = Apollo.QueryResult<CurrentUserQuery, CurrentUserQueryVariables>;
5691
- export declare function refetchCurrentUserQuery(variables?: CurrentUserQueryVariables): {
5692
- query: Apollo.DocumentNode;
5693
- variables: Exact<{
5694
- [key: string]: never;
5695
- }> | undefined;
5696
- };
5697
- export declare const InitWorkspaceDocument: Apollo.DocumentNode;
5698
- export type InitWorkspaceMutationFn = Apollo.MutationFunction<InitWorkspaceMutation, InitWorkspaceMutationVariables>;
6773
+ export declare function useDeleteBroadcastMutation(baseOptions?: Apollo.MutationHookOptions<DeleteBroadcastMutation, DeleteBroadcastMutationVariables>): Apollo.MutationTuple<DeleteBroadcastMutation, Exact<{
6774
+ input: BroadcastDeleteInput;
6775
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
6776
+ export type DeleteBroadcastMutationHookResult = ReturnType<typeof useDeleteBroadcastMutation>;
6777
+ export type DeleteBroadcastMutationResult = Apollo.MutationResult<DeleteBroadcastMutation>;
6778
+ export type DeleteBroadcastMutationOptions = Apollo.BaseMutationOptions<DeleteBroadcastMutation, DeleteBroadcastMutationVariables>;
6779
+ export declare const LaunchBroadcastDocument: Apollo.DocumentNode;
6780
+ export type LaunchBroadcastMutationFn = Apollo.MutationFunction<LaunchBroadcastMutation, LaunchBroadcastMutationVariables>;
5699
6781
  /**
5700
- * __useInitWorkspaceMutation__
6782
+ * __useLaunchBroadcastMutation__
5701
6783
  *
5702
- * To run a mutation, you first call `useInitWorkspaceMutation` within a React component and pass it any options that fit your needs.
5703
- * When your component renders, `useInitWorkspaceMutation` returns a tuple that includes:
6784
+ * To run a mutation, you first call `useLaunchBroadcastMutation` within a React component and pass it any options that fit your needs.
6785
+ * When your component renders, `useLaunchBroadcastMutation` returns a tuple that includes:
5704
6786
  * - A mutate function that you can call at any time to execute the mutation
5705
6787
  * - An object with fields that represent the current status of the mutation's execution
5706
6788
  *
5707
6789
  * @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;
5708
6790
  *
5709
6791
  * @example
5710
- * const [initWorkspaceMutation, { data, loading, error }] = useInitWorkspaceMutation({
6792
+ * const [launchBroadcastMutation, { data, loading, error }] = useLaunchBroadcastMutation({
5711
6793
  * variables: {
5712
6794
  * input: // value for 'input'
5713
6795
  * },
5714
6796
  * });
5715
6797
  */
5716
- export declare function useInitWorkspaceMutation(baseOptions?: Apollo.MutationHookOptions<InitWorkspaceMutation, InitWorkspaceMutationVariables>): Apollo.MutationTuple<InitWorkspaceMutation, Exact<{
5717
- input: InputInitWorkspace;
6798
+ export declare function useLaunchBroadcastMutation(baseOptions?: Apollo.MutationHookOptions<LaunchBroadcastMutation, LaunchBroadcastMutationVariables>): Apollo.MutationTuple<LaunchBroadcastMutation, Exact<{
6799
+ input: BroadcastLaunchInput;
5718
6800
  }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
5719
- export type InitWorkspaceMutationHookResult = ReturnType<typeof useInitWorkspaceMutation>;
5720
- export type InitWorkspaceMutationResult = Apollo.MutationResult<InitWorkspaceMutation>;
5721
- export type InitWorkspaceMutationOptions = Apollo.BaseMutationOptions<InitWorkspaceMutation, InitWorkspaceMutationVariables>;
5722
- export declare const MeDocument: Apollo.DocumentNode;
6801
+ export type LaunchBroadcastMutationHookResult = ReturnType<typeof useLaunchBroadcastMutation>;
6802
+ export type LaunchBroadcastMutationResult = Apollo.MutationResult<LaunchBroadcastMutation>;
6803
+ export type LaunchBroadcastMutationOptions = Apollo.BaseMutationOptions<LaunchBroadcastMutation, LaunchBroadcastMutationVariables>;
6804
+ export declare const PatchBroadcastDocument: Apollo.DocumentNode;
6805
+ export type PatchBroadcastMutationFn = Apollo.MutationFunction<PatchBroadcastMutation, PatchBroadcastMutationVariables>;
5723
6806
  /**
5724
- * __useMeQuery__
6807
+ * __usePatchBroadcastMutation__
5725
6808
  *
5726
- * To run a query within a React component, call `useMeQuery` and pass it any options that fit your needs.
5727
- * When your component renders, `useMeQuery` returns an object from Apollo Client that contains loading, error, and data properties
5728
- * you can use to render your UI.
6809
+ * To run a mutation, you first call `usePatchBroadcastMutation` within a React component and pass it any options that fit your needs.
6810
+ * When your component renders, `usePatchBroadcastMutation` returns a tuple that includes:
6811
+ * - A mutate function that you can call at any time to execute the mutation
6812
+ * - An object with fields that represent the current status of the mutation's execution
5729
6813
  *
5730
- * @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;
6814
+ * @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;
5731
6815
  *
5732
6816
  * @example
5733
- * const { data, loading, error } = useMeQuery({
6817
+ * const [patchBroadcastMutation, { data, loading, error }] = usePatchBroadcastMutation({
5734
6818
  * variables: {
5735
6819
  * input: // value for 'input'
5736
6820
  * },
5737
6821
  * });
5738
6822
  */
5739
- export declare function useMeQuery(baseOptions: Apollo.QueryHookOptions<MeQuery, MeQueryVariables> & ({
5740
- variables: MeQueryVariables;
5741
- skip?: boolean;
5742
- } | {
5743
- skip: boolean;
5744
- })): Apollo.QueryResult<MeQuery, Exact<{
5745
- input: InputInitWorkspace;
5746
- }>>;
5747
- export declare function useMeLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<MeQuery, MeQueryVariables>): Apollo.LazyQueryResultTuple<MeQuery, Exact<{
5748
- input: InputInitWorkspace;
5749
- }>>;
5750
- export declare function useMeSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<MeQuery, MeQueryVariables>): Apollo.UseSuspenseQueryResult<MeQuery | undefined, Exact<{
5751
- input: InputInitWorkspace;
5752
- }>>;
5753
- export type MeQueryHookResult = ReturnType<typeof useMeQuery>;
5754
- export type MeLazyQueryHookResult = ReturnType<typeof useMeLazyQuery>;
5755
- export type MeSuspenseQueryHookResult = ReturnType<typeof useMeSuspenseQuery>;
5756
- export type MeQueryResult = Apollo.QueryResult<MeQuery, MeQueryVariables>;
5757
- export declare function refetchMeQuery(variables: MeQueryVariables): {
5758
- query: Apollo.DocumentNode;
5759
- variables: Exact<{
5760
- input: InputInitWorkspace;
5761
- }>;
5762
- };
5763
- export declare const UsersRolesDocument: Apollo.DocumentNode;
6823
+ export declare function usePatchBroadcastMutation(baseOptions?: Apollo.MutationHookOptions<PatchBroadcastMutation, PatchBroadcastMutationVariables>): Apollo.MutationTuple<PatchBroadcastMutation, Exact<{
6824
+ input: BroadcastPatchInput;
6825
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
6826
+ export type PatchBroadcastMutationHookResult = ReturnType<typeof usePatchBroadcastMutation>;
6827
+ export type PatchBroadcastMutationResult = Apollo.MutationResult<PatchBroadcastMutation>;
6828
+ export type PatchBroadcastMutationOptions = Apollo.BaseMutationOptions<PatchBroadcastMutation, PatchBroadcastMutationVariables>;
6829
+ export declare const WorkspaceBroadcastMessageStatusesDocument: Apollo.DocumentNode;
5764
6830
  /**
5765
- * __useUsersRolesQuery__
6831
+ * __useWorkspaceBroadcastMessageStatusesQuery__
5766
6832
  *
5767
- * To run a query within a React component, call `useUsersRolesQuery` and pass it any options that fit your needs.
5768
- * When your component renders, `useUsersRolesQuery` returns an object from Apollo Client that contains loading, error, and data properties
6833
+ * To run a query within a React component, call `useWorkspaceBroadcastMessageStatusesQuery` and pass it any options that fit your needs.
6834
+ * When your component renders, `useWorkspaceBroadcastMessageStatusesQuery` returns an object from Apollo Client that contains loading, error, and data properties
5769
6835
  * you can use to render your UI.
5770
6836
  *
5771
6837
  * @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;
5772
6838
  *
5773
6839
  * @example
5774
- * const { data, loading, error } = useUsersRolesQuery({
6840
+ * const { data, loading, error } = useWorkspaceBroadcastMessageStatusesQuery({
5775
6841
  * variables: {
5776
6842
  * input: // value for 'input'
6843
+ * pageInfo: // value for 'pageInfo'
5777
6844
  * },
5778
6845
  * });
5779
6846
  */
5780
- export declare function useUsersRolesQuery(baseOptions: Apollo.QueryHookOptions<UsersRolesQuery, UsersRolesQueryVariables> & ({
5781
- variables: UsersRolesQueryVariables;
6847
+ export declare function useWorkspaceBroadcastMessageStatusesQuery(baseOptions: Apollo.QueryHookOptions<WorkspaceBroadcastMessageStatusesQuery, WorkspaceBroadcastMessageStatusesQueryVariables> & ({
6848
+ variables: WorkspaceBroadcastMessageStatusesQueryVariables;
5782
6849
  skip?: boolean;
5783
6850
  } | {
5784
6851
  skip: boolean;
5785
- })): Apollo.QueryResult<UsersRolesQuery, Exact<{
5786
- input: InputUsersRoles;
6852
+ })): Apollo.QueryResult<WorkspaceBroadcastMessageStatusesQuery, Exact<{
6853
+ input: WorkspaceBroadcastMessageStatusesInput;
6854
+ pageInfo?: InputMaybe<PageInfoInput> | undefined;
5787
6855
  }>>;
5788
- export declare function useUsersRolesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<UsersRolesQuery, UsersRolesQueryVariables>): Apollo.LazyQueryResultTuple<UsersRolesQuery, Exact<{
5789
- input: InputUsersRoles;
6856
+ export declare function useWorkspaceBroadcastMessageStatusesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<WorkspaceBroadcastMessageStatusesQuery, WorkspaceBroadcastMessageStatusesQueryVariables>): Apollo.LazyQueryResultTuple<WorkspaceBroadcastMessageStatusesQuery, Exact<{
6857
+ input: WorkspaceBroadcastMessageStatusesInput;
6858
+ pageInfo?: InputMaybe<PageInfoInput> | undefined;
5790
6859
  }>>;
5791
- export declare function useUsersRolesSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<UsersRolesQuery, UsersRolesQueryVariables>): Apollo.UseSuspenseQueryResult<UsersRolesQuery | undefined, Exact<{
5792
- input: InputUsersRoles;
6860
+ export declare function useWorkspaceBroadcastMessageStatusesSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<WorkspaceBroadcastMessageStatusesQuery, WorkspaceBroadcastMessageStatusesQueryVariables>): Apollo.UseSuspenseQueryResult<WorkspaceBroadcastMessageStatusesQuery | undefined, Exact<{
6861
+ input: WorkspaceBroadcastMessageStatusesInput;
6862
+ pageInfo?: InputMaybe<PageInfoInput> | undefined;
5793
6863
  }>>;
5794
- export type UsersRolesQueryHookResult = ReturnType<typeof useUsersRolesQuery>;
5795
- export type UsersRolesLazyQueryHookResult = ReturnType<typeof useUsersRolesLazyQuery>;
5796
- export type UsersRolesSuspenseQueryHookResult = ReturnType<typeof useUsersRolesSuspenseQuery>;
5797
- export type UsersRolesQueryResult = Apollo.QueryResult<UsersRolesQuery, UsersRolesQueryVariables>;
5798
- export declare function refetchUsersRolesQuery(variables: UsersRolesQueryVariables): {
6864
+ export type WorkspaceBroadcastMessageStatusesQueryHookResult = ReturnType<typeof useWorkspaceBroadcastMessageStatusesQuery>;
6865
+ export type WorkspaceBroadcastMessageStatusesLazyQueryHookResult = ReturnType<typeof useWorkspaceBroadcastMessageStatusesLazyQuery>;
6866
+ export type WorkspaceBroadcastMessageStatusesSuspenseQueryHookResult = ReturnType<typeof useWorkspaceBroadcastMessageStatusesSuspenseQuery>;
6867
+ export type WorkspaceBroadcastMessageStatusesQueryResult = Apollo.QueryResult<WorkspaceBroadcastMessageStatusesQuery, WorkspaceBroadcastMessageStatusesQueryVariables>;
6868
+ export declare function refetchWorkspaceBroadcastMessageStatusesQuery(variables: WorkspaceBroadcastMessageStatusesQueryVariables): {
5799
6869
  query: Apollo.DocumentNode;
5800
6870
  variables: Exact<{
5801
- input: InputUsersRoles;
6871
+ input: WorkspaceBroadcastMessageStatusesInput;
6872
+ pageInfo?: InputMaybe<PageInfoInput> | undefined;
5802
6873
  }>;
5803
6874
  };
5804
6875
  export declare const AgentsReportDocument: Apollo.DocumentNode;
@@ -6058,249 +7129,50 @@ export type AssignConvMutationFn = Apollo.MutationFunction<AssignConvMutation, A
6058
7129
  export declare function useAssignConvMutation(baseOptions?: Apollo.MutationHookOptions<AssignConvMutation, AssignConvMutationVariables>): Apollo.MutationTuple<AssignConvMutation, Exact<{
6059
7130
  input: ConvAssignInput;
6060
7131
  }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
6061
- export type AssignConvMutationHookResult = ReturnType<typeof useAssignConvMutation>;
6062
- export type AssignConvMutationResult = Apollo.MutationResult<AssignConvMutation>;
6063
- export type AssignConvMutationOptions = Apollo.BaseMutationOptions<AssignConvMutation, AssignConvMutationVariables>;
6064
- export declare const BroadcastDocument: Apollo.DocumentNode;
6065
- /**
6066
- * __useBroadcastQuery__
6067
- *
6068
- * To run a query within a React component, call `useBroadcastQuery` and pass it any options that fit your needs.
6069
- * When your component renders, `useBroadcastQuery` returns an object from Apollo Client that contains loading, error, and data properties
6070
- * you can use to render your UI.
6071
- *
6072
- * @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;
6073
- *
6074
- * @example
6075
- * const { data, loading, error } = useBroadcastQuery({
6076
- * variables: {
6077
- * input: // value for 'input'
6078
- * },
6079
- * });
6080
- */
6081
- export declare function useBroadcastQuery(baseOptions: Apollo.QueryHookOptions<BroadcastQuery, BroadcastQueryVariables> & ({
6082
- variables: BroadcastQueryVariables;
6083
- skip?: boolean;
6084
- } | {
6085
- skip: boolean;
6086
- })): Apollo.QueryResult<BroadcastQuery, Exact<{
6087
- input: BroadcastInput;
6088
- }>>;
6089
- export declare function useBroadcastLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<BroadcastQuery, BroadcastQueryVariables>): Apollo.LazyQueryResultTuple<BroadcastQuery, Exact<{
6090
- input: BroadcastInput;
6091
- }>>;
6092
- export declare function useBroadcastSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<BroadcastQuery, BroadcastQueryVariables>): Apollo.UseSuspenseQueryResult<BroadcastQuery | undefined, Exact<{
6093
- input: BroadcastInput;
6094
- }>>;
6095
- export type BroadcastQueryHookResult = ReturnType<typeof useBroadcastQuery>;
6096
- export type BroadcastLazyQueryHookResult = ReturnType<typeof useBroadcastLazyQuery>;
6097
- export type BroadcastSuspenseQueryHookResult = ReturnType<typeof useBroadcastSuspenseQuery>;
6098
- export type BroadcastQueryResult = Apollo.QueryResult<BroadcastQuery, BroadcastQueryVariables>;
6099
- export declare function refetchBroadcastQuery(variables: BroadcastQueryVariables): {
6100
- query: Apollo.DocumentNode;
6101
- variables: Exact<{
6102
- input: BroadcastInput;
6103
- }>;
6104
- };
6105
- export declare const BroadcastDeliveryReportDocument: Apollo.DocumentNode;
6106
- /**
6107
- * __useBroadcastDeliveryReportQuery__
6108
- *
6109
- * To run a query within a React component, call `useBroadcastDeliveryReportQuery` and pass it any options that fit your needs.
6110
- * When your component renders, `useBroadcastDeliveryReportQuery` returns an object from Apollo Client that contains loading, error, and data properties
6111
- * you can use to render your UI.
6112
- *
6113
- * @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;
6114
- *
6115
- * @example
6116
- * const { data, loading, error } = useBroadcastDeliveryReportQuery({
6117
- * variables: {
6118
- * input: // value for 'input'
6119
- * },
6120
- * });
6121
- */
6122
- export declare function useBroadcastDeliveryReportQuery(baseOptions: Apollo.QueryHookOptions<BroadcastDeliveryReportQuery, BroadcastDeliveryReportQueryVariables> & ({
6123
- variables: BroadcastDeliveryReportQueryVariables;
6124
- skip?: boolean;
6125
- } | {
6126
- skip: boolean;
6127
- })): Apollo.QueryResult<BroadcastDeliveryReportQuery, Exact<{
6128
- input: BroadcastDeliveryReportInput;
6129
- }>>;
6130
- export declare function useBroadcastDeliveryReportLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<BroadcastDeliveryReportQuery, BroadcastDeliveryReportQueryVariables>): Apollo.LazyQueryResultTuple<BroadcastDeliveryReportQuery, Exact<{
6131
- input: BroadcastDeliveryReportInput;
6132
- }>>;
6133
- export declare function useBroadcastDeliveryReportSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<BroadcastDeliveryReportQuery, BroadcastDeliveryReportQueryVariables>): Apollo.UseSuspenseQueryResult<BroadcastDeliveryReportQuery | undefined, Exact<{
6134
- input: BroadcastDeliveryReportInput;
6135
- }>>;
6136
- export type BroadcastDeliveryReportQueryHookResult = ReturnType<typeof useBroadcastDeliveryReportQuery>;
6137
- export type BroadcastDeliveryReportLazyQueryHookResult = ReturnType<typeof useBroadcastDeliveryReportLazyQuery>;
6138
- export type BroadcastDeliveryReportSuspenseQueryHookResult = ReturnType<typeof useBroadcastDeliveryReportSuspenseQuery>;
6139
- export type BroadcastDeliveryReportQueryResult = Apollo.QueryResult<BroadcastDeliveryReportQuery, BroadcastDeliveryReportQueryVariables>;
6140
- export declare function refetchBroadcastDeliveryReportQuery(variables: BroadcastDeliveryReportQueryVariables): {
6141
- query: Apollo.DocumentNode;
6142
- variables: Exact<{
6143
- input: BroadcastDeliveryReportInput;
6144
- }>;
6145
- };
6146
- export declare const BroadcastMessageStatusesDocument: Apollo.DocumentNode;
6147
- /**
6148
- * __useBroadcastMessageStatusesQuery__
6149
- *
6150
- * To run a query within a React component, call `useBroadcastMessageStatusesQuery` and pass it any options that fit your needs.
6151
- * When your component renders, `useBroadcastMessageStatusesQuery` returns an object from Apollo Client that contains loading, error, and data properties
6152
- * you can use to render your UI.
6153
- *
6154
- * @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;
6155
- *
6156
- * @example
6157
- * const { data, loading, error } = useBroadcastMessageStatusesQuery({
6158
- * variables: {
6159
- * input: // value for 'input'
6160
- * pageInfo: // value for 'pageInfo'
6161
- * },
6162
- * });
6163
- */
6164
- export declare function useBroadcastMessageStatusesQuery(baseOptions: Apollo.QueryHookOptions<BroadcastMessageStatusesQuery, BroadcastMessageStatusesQueryVariables> & ({
6165
- variables: BroadcastMessageStatusesQueryVariables;
6166
- skip?: boolean;
6167
- } | {
6168
- skip: boolean;
6169
- })): Apollo.QueryResult<BroadcastMessageStatusesQuery, Exact<{
6170
- input: BroadcastMessageStatusesInput;
6171
- pageInfo?: InputMaybe<PageInfoInput> | undefined;
6172
- }>>;
6173
- export declare function useBroadcastMessageStatusesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<BroadcastMessageStatusesQuery, BroadcastMessageStatusesQueryVariables>): Apollo.LazyQueryResultTuple<BroadcastMessageStatusesQuery, Exact<{
6174
- input: BroadcastMessageStatusesInput;
6175
- pageInfo?: InputMaybe<PageInfoInput> | undefined;
6176
- }>>;
6177
- export declare function useBroadcastMessageStatusesSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<BroadcastMessageStatusesQuery, BroadcastMessageStatusesQueryVariables>): Apollo.UseSuspenseQueryResult<BroadcastMessageStatusesQuery | undefined, Exact<{
6178
- input: BroadcastMessageStatusesInput;
6179
- pageInfo?: InputMaybe<PageInfoInput> | undefined;
6180
- }>>;
6181
- export type BroadcastMessageStatusesQueryHookResult = ReturnType<typeof useBroadcastMessageStatusesQuery>;
6182
- export type BroadcastMessageStatusesLazyQueryHookResult = ReturnType<typeof useBroadcastMessageStatusesLazyQuery>;
6183
- export type BroadcastMessageStatusesSuspenseQueryHookResult = ReturnType<typeof useBroadcastMessageStatusesSuspenseQuery>;
6184
- export type BroadcastMessageStatusesQueryResult = Apollo.QueryResult<BroadcastMessageStatusesQuery, BroadcastMessageStatusesQueryVariables>;
6185
- export declare function refetchBroadcastMessageStatusesQuery(variables: BroadcastMessageStatusesQueryVariables): {
6186
- query: Apollo.DocumentNode;
6187
- variables: Exact<{
6188
- input: BroadcastMessageStatusesInput;
6189
- pageInfo?: InputMaybe<PageInfoInput> | undefined;
6190
- }>;
6191
- };
6192
- export declare const BroadcastStateCountsDocument: Apollo.DocumentNode;
6193
- /**
6194
- * __useBroadcastStateCountsQuery__
6195
- *
6196
- * To run a query within a React component, call `useBroadcastStateCountsQuery` and pass it any options that fit your needs.
6197
- * When your component renders, `useBroadcastStateCountsQuery` returns an object from Apollo Client that contains loading, error, and data properties
6198
- * you can use to render your UI.
6199
- *
6200
- * @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;
6201
- *
6202
- * @example
6203
- * const { data, loading, error } = useBroadcastStateCountsQuery({
6204
- * variables: {
6205
- * input: // value for 'input'
6206
- * },
6207
- * });
6208
- */
6209
- export declare function useBroadcastStateCountsQuery(baseOptions: Apollo.QueryHookOptions<BroadcastStateCountsQuery, BroadcastStateCountsQueryVariables> & ({
6210
- variables: BroadcastStateCountsQueryVariables;
6211
- skip?: boolean;
6212
- } | {
6213
- skip: boolean;
6214
- })): Apollo.QueryResult<BroadcastStateCountsQuery, Exact<{
6215
- input: BroadcastsInput;
6216
- }>>;
6217
- export declare function useBroadcastStateCountsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<BroadcastStateCountsQuery, BroadcastStateCountsQueryVariables>): Apollo.LazyQueryResultTuple<BroadcastStateCountsQuery, Exact<{
6218
- input: BroadcastsInput;
6219
- }>>;
6220
- export declare function useBroadcastStateCountsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<BroadcastStateCountsQuery, BroadcastStateCountsQueryVariables>): Apollo.UseSuspenseQueryResult<BroadcastStateCountsQuery | undefined, Exact<{
6221
- input: BroadcastsInput;
6222
- }>>;
6223
- export type BroadcastStateCountsQueryHookResult = ReturnType<typeof useBroadcastStateCountsQuery>;
6224
- export type BroadcastStateCountsLazyQueryHookResult = ReturnType<typeof useBroadcastStateCountsLazyQuery>;
6225
- export type BroadcastStateCountsSuspenseQueryHookResult = ReturnType<typeof useBroadcastStateCountsSuspenseQuery>;
6226
- export type BroadcastStateCountsQueryResult = Apollo.QueryResult<BroadcastStateCountsQuery, BroadcastStateCountsQueryVariables>;
6227
- export declare function refetchBroadcastStateCountsQuery(variables: BroadcastStateCountsQueryVariables): {
6228
- query: Apollo.DocumentNode;
6229
- variables: Exact<{
6230
- input: BroadcastsInput;
6231
- }>;
6232
- };
6233
- export declare const BroadcastsDocument: Apollo.DocumentNode;
7132
+ export type AssignConvMutationHookResult = ReturnType<typeof useAssignConvMutation>;
7133
+ export type AssignConvMutationResult = Apollo.MutationResult<AssignConvMutation>;
7134
+ export type AssignConvMutationOptions = Apollo.BaseMutationOptions<AssignConvMutation, AssignConvMutationVariables>;
7135
+ export declare const ConvDocument: Apollo.DocumentNode;
6234
7136
  /**
6235
- * __useBroadcastsQuery__
7137
+ * __useConvQuery__
6236
7138
  *
6237
- * To run a query within a React component, call `useBroadcastsQuery` and pass it any options that fit your needs.
6238
- * When your component renders, `useBroadcastsQuery` returns an object from Apollo Client that contains loading, error, and data properties
7139
+ * To run a query within a React component, call `useConvQuery` and pass it any options that fit your needs.
7140
+ * When your component renders, `useConvQuery` returns an object from Apollo Client that contains loading, error, and data properties
6239
7141
  * you can use to render your UI.
6240
7142
  *
6241
7143
  * @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;
6242
7144
  *
6243
7145
  * @example
6244
- * const { data, loading, error } = useBroadcastsQuery({
7146
+ * const { data, loading, error } = useConvQuery({
6245
7147
  * variables: {
6246
7148
  * input: // value for 'input'
6247
- * pageInfo: // value for 'pageInfo'
6248
7149
  * },
6249
7150
  * });
6250
7151
  */
6251
- export declare function useBroadcastsQuery(baseOptions: Apollo.QueryHookOptions<BroadcastsQuery, BroadcastsQueryVariables> & ({
6252
- variables: BroadcastsQueryVariables;
7152
+ export declare function useConvQuery(baseOptions: Apollo.QueryHookOptions<ConvQuery, ConvQueryVariables> & ({
7153
+ variables: ConvQueryVariables;
6253
7154
  skip?: boolean;
6254
7155
  } | {
6255
7156
  skip: boolean;
6256
- })): Apollo.QueryResult<BroadcastsQuery, Exact<{
6257
- input: BroadcastsInput;
6258
- pageInfo?: InputMaybe<PageInfoInput> | undefined;
7157
+ })): Apollo.QueryResult<ConvQuery, Exact<{
7158
+ input: ConvInput;
6259
7159
  }>>;
6260
- export declare function useBroadcastsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<BroadcastsQuery, BroadcastsQueryVariables>): Apollo.LazyQueryResultTuple<BroadcastsQuery, Exact<{
6261
- input: BroadcastsInput;
6262
- pageInfo?: InputMaybe<PageInfoInput> | undefined;
7160
+ export declare function useConvLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ConvQuery, ConvQueryVariables>): Apollo.LazyQueryResultTuple<ConvQuery, Exact<{
7161
+ input: ConvInput;
6263
7162
  }>>;
6264
- export declare function useBroadcastsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<BroadcastsQuery, BroadcastsQueryVariables>): Apollo.UseSuspenseQueryResult<BroadcastsQuery | undefined, Exact<{
6265
- input: BroadcastsInput;
6266
- pageInfo?: InputMaybe<PageInfoInput> | undefined;
7163
+ export declare function useConvSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<ConvQuery, ConvQueryVariables>): Apollo.UseSuspenseQueryResult<ConvQuery | undefined, Exact<{
7164
+ input: ConvInput;
6267
7165
  }>>;
6268
- export type BroadcastsQueryHookResult = ReturnType<typeof useBroadcastsQuery>;
6269
- export type BroadcastsLazyQueryHookResult = ReturnType<typeof useBroadcastsLazyQuery>;
6270
- export type BroadcastsSuspenseQueryHookResult = ReturnType<typeof useBroadcastsSuspenseQuery>;
6271
- export type BroadcastsQueryResult = Apollo.QueryResult<BroadcastsQuery, BroadcastsQueryVariables>;
6272
- export declare function refetchBroadcastsQuery(variables: BroadcastsQueryVariables): {
7166
+ export type ConvQueryHookResult = ReturnType<typeof useConvQuery>;
7167
+ export type ConvLazyQueryHookResult = ReturnType<typeof useConvLazyQuery>;
7168
+ export type ConvSuspenseQueryHookResult = ReturnType<typeof useConvSuspenseQuery>;
7169
+ export type ConvQueryResult = Apollo.QueryResult<ConvQuery, ConvQueryVariables>;
7170
+ export declare function refetchConvQuery(variables: ConvQueryVariables): {
6273
7171
  query: Apollo.DocumentNode;
6274
7172
  variables: Exact<{
6275
- input: BroadcastsInput;
6276
- pageInfo?: InputMaybe<PageInfoInput> | undefined;
7173
+ input: ConvInput;
6277
7174
  }>;
6278
7175
  };
6279
- export declare const CancelBroadcastDocument: Apollo.DocumentNode;
6280
- export type CancelBroadcastMutationFn = Apollo.MutationFunction<CancelBroadcastMutation, CancelBroadcastMutationVariables>;
6281
- /**
6282
- * __useCancelBroadcastMutation__
6283
- *
6284
- * To run a mutation, you first call `useCancelBroadcastMutation` within a React component and pass it any options that fit your needs.
6285
- * When your component renders, `useCancelBroadcastMutation` returns a tuple that includes:
6286
- * - A mutate function that you can call at any time to execute the mutation
6287
- * - An object with fields that represent the current status of the mutation's execution
6288
- *
6289
- * @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;
6290
- *
6291
- * @example
6292
- * const [cancelBroadcastMutation, { data, loading, error }] = useCancelBroadcastMutation({
6293
- * variables: {
6294
- * input: // value for 'input'
6295
- * },
6296
- * });
6297
- */
6298
- export declare function useCancelBroadcastMutation(baseOptions?: Apollo.MutationHookOptions<CancelBroadcastMutation, CancelBroadcastMutationVariables>): Apollo.MutationTuple<CancelBroadcastMutation, Exact<{
6299
- input: BroadcastCancelInput;
6300
- }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
6301
- export type CancelBroadcastMutationHookResult = ReturnType<typeof useCancelBroadcastMutation>;
6302
- export type CancelBroadcastMutationResult = Apollo.MutationResult<CancelBroadcastMutation>;
6303
- export type CancelBroadcastMutationOptions = Apollo.BaseMutationOptions<CancelBroadcastMutation, CancelBroadcastMutationVariables>;
6304
7176
  export declare const ConvAutoCompleteDocument: Apollo.DocumentNode;
6305
7177
  /**
6306
7178
  * __useConvAutoCompleteQuery__
@@ -6324,13 +7196,13 @@ export declare function useConvAutoCompleteQuery(baseOptions: Apollo.QueryHookOp
6324
7196
  } | {
6325
7197
  skip: boolean;
6326
7198
  })): Apollo.QueryResult<ConvAutoCompleteQuery, Exact<{
6327
- input: ConvAssistInput;
7199
+ input: ConvAutoCompleteInput;
6328
7200
  }>>;
6329
7201
  export declare function useConvAutoCompleteLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ConvAutoCompleteQuery, ConvAutoCompleteQueryVariables>): Apollo.LazyQueryResultTuple<ConvAutoCompleteQuery, Exact<{
6330
- input: ConvAssistInput;
7202
+ input: ConvAutoCompleteInput;
6331
7203
  }>>;
6332
7204
  export declare function useConvAutoCompleteSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<ConvAutoCompleteQuery, ConvAutoCompleteQueryVariables>): Apollo.UseSuspenseQueryResult<ConvAutoCompleteQuery | undefined, Exact<{
6333
- input: ConvAssistInput;
7205
+ input: ConvAutoCompleteInput;
6334
7206
  }>>;
6335
7207
  export type ConvAutoCompleteQueryHookResult = ReturnType<typeof useConvAutoCompleteQuery>;
6336
7208
  export type ConvAutoCompleteLazyQueryHookResult = ReturnType<typeof useConvAutoCompleteLazyQuery>;
@@ -6339,7 +7211,48 @@ export type ConvAutoCompleteQueryResult = Apollo.QueryResult<ConvAutoCompleteQue
6339
7211
  export declare function refetchConvAutoCompleteQuery(variables: ConvAutoCompleteQueryVariables): {
6340
7212
  query: Apollo.DocumentNode;
6341
7213
  variables: Exact<{
6342
- input: ConvAssistInput;
7214
+ input: ConvAutoCompleteInput;
7215
+ }>;
7216
+ };
7217
+ export declare const ConvEnhanceMessageDocument: Apollo.DocumentNode;
7218
+ /**
7219
+ * __useConvEnhanceMessageQuery__
7220
+ *
7221
+ * To run a query within a React component, call `useConvEnhanceMessageQuery` and pass it any options that fit your needs.
7222
+ * When your component renders, `useConvEnhanceMessageQuery` returns an object from Apollo Client that contains loading, error, and data properties
7223
+ * you can use to render your UI.
7224
+ *
7225
+ * @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;
7226
+ *
7227
+ * @example
7228
+ * const { data, loading, error } = useConvEnhanceMessageQuery({
7229
+ * variables: {
7230
+ * input: // value for 'input'
7231
+ * },
7232
+ * });
7233
+ */
7234
+ export declare function useConvEnhanceMessageQuery(baseOptions: Apollo.QueryHookOptions<ConvEnhanceMessageQuery, ConvEnhanceMessageQueryVariables> & ({
7235
+ variables: ConvEnhanceMessageQueryVariables;
7236
+ skip?: boolean;
7237
+ } | {
7238
+ skip: boolean;
7239
+ })): Apollo.QueryResult<ConvEnhanceMessageQuery, Exact<{
7240
+ input: ConvEnhanceMessageInput;
7241
+ }>>;
7242
+ export declare function useConvEnhanceMessageLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ConvEnhanceMessageQuery, ConvEnhanceMessageQueryVariables>): Apollo.LazyQueryResultTuple<ConvEnhanceMessageQuery, Exact<{
7243
+ input: ConvEnhanceMessageInput;
7244
+ }>>;
7245
+ export declare function useConvEnhanceMessageSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<ConvEnhanceMessageQuery, ConvEnhanceMessageQueryVariables>): Apollo.UseSuspenseQueryResult<ConvEnhanceMessageQuery | undefined, Exact<{
7246
+ input: ConvEnhanceMessageInput;
7247
+ }>>;
7248
+ export type ConvEnhanceMessageQueryHookResult = ReturnType<typeof useConvEnhanceMessageQuery>;
7249
+ export type ConvEnhanceMessageLazyQueryHookResult = ReturnType<typeof useConvEnhanceMessageLazyQuery>;
7250
+ export type ConvEnhanceMessageSuspenseQueryHookResult = ReturnType<typeof useConvEnhanceMessageSuspenseQuery>;
7251
+ export type ConvEnhanceMessageQueryResult = Apollo.QueryResult<ConvEnhanceMessageQuery, ConvEnhanceMessageQueryVariables>;
7252
+ export declare function refetchConvEnhanceMessageQuery(variables: ConvEnhanceMessageQueryVariables): {
7253
+ query: Apollo.DocumentNode;
7254
+ variables: Exact<{
7255
+ input: ConvEnhanceMessageInput;
6343
7256
  }>;
6344
7257
  };
6345
7258
  export declare const ConvSummaryDocument: Apollo.DocumentNode;
@@ -6454,31 +7367,6 @@ export declare function useCreateAgentMutation(baseOptions?: Apollo.MutationHook
6454
7367
  export type CreateAgentMutationHookResult = ReturnType<typeof useCreateAgentMutation>;
6455
7368
  export type CreateAgentMutationResult = Apollo.MutationResult<CreateAgentMutation>;
6456
7369
  export type CreateAgentMutationOptions = Apollo.BaseMutationOptions<CreateAgentMutation, CreateAgentMutationVariables>;
6457
- export declare const CreateBroadcastDocument: Apollo.DocumentNode;
6458
- export type CreateBroadcastMutationFn = Apollo.MutationFunction<CreateBroadcastMutation, CreateBroadcastMutationVariables>;
6459
- /**
6460
- * __useCreateBroadcastMutation__
6461
- *
6462
- * To run a mutation, you first call `useCreateBroadcastMutation` within a React component and pass it any options that fit your needs.
6463
- * When your component renders, `useCreateBroadcastMutation` returns a tuple that includes:
6464
- * - A mutate function that you can call at any time to execute the mutation
6465
- * - An object with fields that represent the current status of the mutation's execution
6466
- *
6467
- * @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;
6468
- *
6469
- * @example
6470
- * const [createBroadcastMutation, { data, loading, error }] = useCreateBroadcastMutation({
6471
- * variables: {
6472
- * input: // value for 'input'
6473
- * },
6474
- * });
6475
- */
6476
- export declare function useCreateBroadcastMutation(baseOptions?: Apollo.MutationHookOptions<CreateBroadcastMutation, CreateBroadcastMutationVariables>): Apollo.MutationTuple<CreateBroadcastMutation, Exact<{
6477
- input: BroadcastCreateInput;
6478
- }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
6479
- export type CreateBroadcastMutationHookResult = ReturnType<typeof useCreateBroadcastMutation>;
6480
- export type CreateBroadcastMutationResult = Apollo.MutationResult<CreateBroadcastMutation>;
6481
- export type CreateBroadcastMutationOptions = Apollo.BaseMutationOptions<CreateBroadcastMutation, CreateBroadcastMutationVariables>;
6482
7370
  export declare const DeleteAgentDocument: Apollo.DocumentNode;
6483
7371
  export type DeleteAgentMutationFn = Apollo.MutationFunction<DeleteAgentMutation, DeleteAgentMutationVariables>;
6484
7372
  /**
@@ -6504,31 +7392,6 @@ export declare function useDeleteAgentMutation(baseOptions?: Apollo.MutationHook
6504
7392
  export type DeleteAgentMutationHookResult = ReturnType<typeof useDeleteAgentMutation>;
6505
7393
  export type DeleteAgentMutationResult = Apollo.MutationResult<DeleteAgentMutation>;
6506
7394
  export type DeleteAgentMutationOptions = Apollo.BaseMutationOptions<DeleteAgentMutation, DeleteAgentMutationVariables>;
6507
- export declare const DeleteBroadcastDocument: Apollo.DocumentNode;
6508
- export type DeleteBroadcastMutationFn = Apollo.MutationFunction<DeleteBroadcastMutation, DeleteBroadcastMutationVariables>;
6509
- /**
6510
- * __useDeleteBroadcastMutation__
6511
- *
6512
- * To run a mutation, you first call `useDeleteBroadcastMutation` within a React component and pass it any options that fit your needs.
6513
- * When your component renders, `useDeleteBroadcastMutation` returns a tuple that includes:
6514
- * - A mutate function that you can call at any time to execute the mutation
6515
- * - An object with fields that represent the current status of the mutation's execution
6516
- *
6517
- * @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;
6518
- *
6519
- * @example
6520
- * const [deleteBroadcastMutation, { data, loading, error }] = useDeleteBroadcastMutation({
6521
- * variables: {
6522
- * input: // value for 'input'
6523
- * },
6524
- * });
6525
- */
6526
- export declare function useDeleteBroadcastMutation(baseOptions?: Apollo.MutationHookOptions<DeleteBroadcastMutation, DeleteBroadcastMutationVariables>): Apollo.MutationTuple<DeleteBroadcastMutation, Exact<{
6527
- input: BroadcastDeleteInput;
6528
- }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
6529
- export type DeleteBroadcastMutationHookResult = ReturnType<typeof useDeleteBroadcastMutation>;
6530
- export type DeleteBroadcastMutationResult = Apollo.MutationResult<DeleteBroadcastMutation>;
6531
- export type DeleteBroadcastMutationOptions = Apollo.BaseMutationOptions<DeleteBroadcastMutation, DeleteBroadcastMutationVariables>;
6532
7395
  export declare const EndConvDocument: Apollo.DocumentNode;
6533
7396
  export type EndConvMutationFn = Apollo.MutationFunction<EndConvMutation, EndConvMutationVariables>;
6534
7397
  /**
@@ -6579,31 +7442,6 @@ export declare function useHandoverConvMutation(baseOptions?: Apollo.MutationHoo
6579
7442
  export type HandoverConvMutationHookResult = ReturnType<typeof useHandoverConvMutation>;
6580
7443
  export type HandoverConvMutationResult = Apollo.MutationResult<HandoverConvMutation>;
6581
7444
  export type HandoverConvMutationOptions = Apollo.BaseMutationOptions<HandoverConvMutation, HandoverConvMutationVariables>;
6582
- export declare const LaunchBroadcastDocument: Apollo.DocumentNode;
6583
- export type LaunchBroadcastMutationFn = Apollo.MutationFunction<LaunchBroadcastMutation, LaunchBroadcastMutationVariables>;
6584
- /**
6585
- * __useLaunchBroadcastMutation__
6586
- *
6587
- * To run a mutation, you first call `useLaunchBroadcastMutation` within a React component and pass it any options that fit your needs.
6588
- * When your component renders, `useLaunchBroadcastMutation` returns a tuple that includes:
6589
- * - A mutate function that you can call at any time to execute the mutation
6590
- * - An object with fields that represent the current status of the mutation's execution
6591
- *
6592
- * @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;
6593
- *
6594
- * @example
6595
- * const [launchBroadcastMutation, { data, loading, error }] = useLaunchBroadcastMutation({
6596
- * variables: {
6597
- * input: // value for 'input'
6598
- * },
6599
- * });
6600
- */
6601
- export declare function useLaunchBroadcastMutation(baseOptions?: Apollo.MutationHookOptions<LaunchBroadcastMutation, LaunchBroadcastMutationVariables>): Apollo.MutationTuple<LaunchBroadcastMutation, Exact<{
6602
- input: BroadcastLaunchInput;
6603
- }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
6604
- export type LaunchBroadcastMutationHookResult = ReturnType<typeof useLaunchBroadcastMutation>;
6605
- export type LaunchBroadcastMutationResult = Apollo.MutationResult<LaunchBroadcastMutation>;
6606
- export type LaunchBroadcastMutationOptions = Apollo.BaseMutationOptions<LaunchBroadcastMutation, LaunchBroadcastMutationVariables>;
6607
7445
  export declare const MessagesDocument: Apollo.DocumentNode;
6608
7446
  /**
6609
7447
  * __useMessagesQuery__
@@ -6716,31 +7554,6 @@ export declare function usePatchAgentMutation(baseOptions?: Apollo.MutationHookO
6716
7554
  export type PatchAgentMutationHookResult = ReturnType<typeof usePatchAgentMutation>;
6717
7555
  export type PatchAgentMutationResult = Apollo.MutationResult<PatchAgentMutation>;
6718
7556
  export type PatchAgentMutationOptions = Apollo.BaseMutationOptions<PatchAgentMutation, PatchAgentMutationVariables>;
6719
- export declare const PatchBroadcastDocument: Apollo.DocumentNode;
6720
- export type PatchBroadcastMutationFn = Apollo.MutationFunction<PatchBroadcastMutation, PatchBroadcastMutationVariables>;
6721
- /**
6722
- * __usePatchBroadcastMutation__
6723
- *
6724
- * To run a mutation, you first call `usePatchBroadcastMutation` within a React component and pass it any options that fit your needs.
6725
- * When your component renders, `usePatchBroadcastMutation` returns a tuple that includes:
6726
- * - A mutate function that you can call at any time to execute the mutation
6727
- * - An object with fields that represent the current status of the mutation's execution
6728
- *
6729
- * @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;
6730
- *
6731
- * @example
6732
- * const [patchBroadcastMutation, { data, loading, error }] = usePatchBroadcastMutation({
6733
- * variables: {
6734
- * input: // value for 'input'
6735
- * },
6736
- * });
6737
- */
6738
- export declare function usePatchBroadcastMutation(baseOptions?: Apollo.MutationHookOptions<PatchBroadcastMutation, PatchBroadcastMutationVariables>): Apollo.MutationTuple<PatchBroadcastMutation, Exact<{
6739
- input: BroadcastPatchInput;
6740
- }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
6741
- export type PatchBroadcastMutationHookResult = ReturnType<typeof usePatchBroadcastMutation>;
6742
- export type PatchBroadcastMutationResult = Apollo.MutationResult<PatchBroadcastMutation>;
6743
- export type PatchBroadcastMutationOptions = Apollo.BaseMutationOptions<PatchBroadcastMutation, PatchBroadcastMutationVariables>;
6744
7557
  export declare const PatchConvDocument: Apollo.DocumentNode;
6745
7558
  export type PatchConvMutationFn = Apollo.MutationFunction<PatchConvMutation, PatchConvMutationVariables>;
6746
7559
  /**
@@ -7014,6 +7827,31 @@ export declare function refetchWabaMessageTemplatesQuery(variables: WabaMessageT
7014
7827
  input: WabaMessageTemplatesInput;
7015
7828
  }>;
7016
7829
  };
7830
+ export declare const AddQuickReplyDocument: Apollo.DocumentNode;
7831
+ export type AddQuickReplyMutationFn = Apollo.MutationFunction<AddQuickReplyMutation, AddQuickReplyMutationVariables>;
7832
+ /**
7833
+ * __useAddQuickReplyMutation__
7834
+ *
7835
+ * To run a mutation, you first call `useAddQuickReplyMutation` within a React component and pass it any options that fit your needs.
7836
+ * When your component renders, `useAddQuickReplyMutation` returns a tuple that includes:
7837
+ * - A mutate function that you can call at any time to execute the mutation
7838
+ * - An object with fields that represent the current status of the mutation's execution
7839
+ *
7840
+ * @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;
7841
+ *
7842
+ * @example
7843
+ * const [addQuickReplyMutation, { data, loading, error }] = useAddQuickReplyMutation({
7844
+ * variables: {
7845
+ * input: // value for 'input'
7846
+ * },
7847
+ * });
7848
+ */
7849
+ export declare function useAddQuickReplyMutation(baseOptions?: Apollo.MutationHookOptions<AddQuickReplyMutation, AddQuickReplyMutationVariables>): Apollo.MutationTuple<AddQuickReplyMutation, Exact<{
7850
+ input: QuickReplyAddInput;
7851
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
7852
+ export type AddQuickReplyMutationHookResult = ReturnType<typeof useAddQuickReplyMutation>;
7853
+ export type AddQuickReplyMutationResult = Apollo.MutationResult<AddQuickReplyMutation>;
7854
+ export type AddQuickReplyMutationOptions = Apollo.BaseMutationOptions<AddQuickReplyMutation, AddQuickReplyMutationVariables>;
7017
7855
  export declare const BulkDeleteClientsDocument: Apollo.DocumentNode;
7018
7856
  export type BulkDeleteClientsMutationFn = Apollo.MutationFunction<BulkDeleteClientsMutation, BulkDeleteClientsMutationVariables>;
7019
7857
  /**
@@ -7408,6 +8246,97 @@ export declare function usePatchClientMutation(baseOptions?: Apollo.MutationHook
7408
8246
  export type PatchClientMutationHookResult = ReturnType<typeof usePatchClientMutation>;
7409
8247
  export type PatchClientMutationResult = Apollo.MutationResult<PatchClientMutation>;
7410
8248
  export type PatchClientMutationOptions = Apollo.BaseMutationOptions<PatchClientMutation, PatchClientMutationVariables>;
8249
+ export declare const PatchQuickReplyDocument: Apollo.DocumentNode;
8250
+ export type PatchQuickReplyMutationFn = Apollo.MutationFunction<PatchQuickReplyMutation, PatchQuickReplyMutationVariables>;
8251
+ /**
8252
+ * __usePatchQuickReplyMutation__
8253
+ *
8254
+ * To run a mutation, you first call `usePatchQuickReplyMutation` within a React component and pass it any options that fit your needs.
8255
+ * When your component renders, `usePatchQuickReplyMutation` returns a tuple that includes:
8256
+ * - A mutate function that you can call at any time to execute the mutation
8257
+ * - An object with fields that represent the current status of the mutation's execution
8258
+ *
8259
+ * @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;
8260
+ *
8261
+ * @example
8262
+ * const [patchQuickReplyMutation, { data, loading, error }] = usePatchQuickReplyMutation({
8263
+ * variables: {
8264
+ * input: // value for 'input'
8265
+ * },
8266
+ * });
8267
+ */
8268
+ export declare function usePatchQuickReplyMutation(baseOptions?: Apollo.MutationHookOptions<PatchQuickReplyMutation, PatchQuickReplyMutationVariables>): Apollo.MutationTuple<PatchQuickReplyMutation, Exact<{
8269
+ input: QuickReplyPatchInput;
8270
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
8271
+ export type PatchQuickReplyMutationHookResult = ReturnType<typeof usePatchQuickReplyMutation>;
8272
+ export type PatchQuickReplyMutationResult = Apollo.MutationResult<PatchQuickReplyMutation>;
8273
+ export type PatchQuickReplyMutationOptions = Apollo.BaseMutationOptions<PatchQuickReplyMutation, PatchQuickReplyMutationVariables>;
8274
+ export declare const QuickRepliesDocument: Apollo.DocumentNode;
8275
+ /**
8276
+ * __useQuickRepliesQuery__
8277
+ *
8278
+ * To run a query within a React component, call `useQuickRepliesQuery` and pass it any options that fit your needs.
8279
+ * When your component renders, `useQuickRepliesQuery` returns an object from Apollo Client that contains loading, error, and data properties
8280
+ * you can use to render your UI.
8281
+ *
8282
+ * @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;
8283
+ *
8284
+ * @example
8285
+ * const { data, loading, error } = useQuickRepliesQuery({
8286
+ * variables: {
8287
+ * input: // value for 'input'
8288
+ * },
8289
+ * });
8290
+ */
8291
+ export declare function useQuickRepliesQuery(baseOptions: Apollo.QueryHookOptions<QuickRepliesQuery, QuickRepliesQueryVariables> & ({
8292
+ variables: QuickRepliesQueryVariables;
8293
+ skip?: boolean;
8294
+ } | {
8295
+ skip: boolean;
8296
+ })): Apollo.QueryResult<QuickRepliesQuery, Exact<{
8297
+ input: QuickRepliesInput;
8298
+ }>>;
8299
+ export declare function useQuickRepliesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<QuickRepliesQuery, QuickRepliesQueryVariables>): Apollo.LazyQueryResultTuple<QuickRepliesQuery, Exact<{
8300
+ input: QuickRepliesInput;
8301
+ }>>;
8302
+ export declare function useQuickRepliesSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<QuickRepliesQuery, QuickRepliesQueryVariables>): Apollo.UseSuspenseQueryResult<QuickRepliesQuery | undefined, Exact<{
8303
+ input: QuickRepliesInput;
8304
+ }>>;
8305
+ export type QuickRepliesQueryHookResult = ReturnType<typeof useQuickRepliesQuery>;
8306
+ export type QuickRepliesLazyQueryHookResult = ReturnType<typeof useQuickRepliesLazyQuery>;
8307
+ export type QuickRepliesSuspenseQueryHookResult = ReturnType<typeof useQuickRepliesSuspenseQuery>;
8308
+ export type QuickRepliesQueryResult = Apollo.QueryResult<QuickRepliesQuery, QuickRepliesQueryVariables>;
8309
+ export declare function refetchQuickRepliesQuery(variables: QuickRepliesQueryVariables): {
8310
+ query: Apollo.DocumentNode;
8311
+ variables: Exact<{
8312
+ input: QuickRepliesInput;
8313
+ }>;
8314
+ };
8315
+ export declare const RemoveQuickReplyDocument: Apollo.DocumentNode;
8316
+ export type RemoveQuickReplyMutationFn = Apollo.MutationFunction<RemoveQuickReplyMutation, RemoveQuickReplyMutationVariables>;
8317
+ /**
8318
+ * __useRemoveQuickReplyMutation__
8319
+ *
8320
+ * To run a mutation, you first call `useRemoveQuickReplyMutation` within a React component and pass it any options that fit your needs.
8321
+ * When your component renders, `useRemoveQuickReplyMutation` returns a tuple that includes:
8322
+ * - A mutate function that you can call at any time to execute the mutation
8323
+ * - An object with fields that represent the current status of the mutation's execution
8324
+ *
8325
+ * @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;
8326
+ *
8327
+ * @example
8328
+ * const [removeQuickReplyMutation, { data, loading, error }] = useRemoveQuickReplyMutation({
8329
+ * variables: {
8330
+ * input: // value for 'input'
8331
+ * },
8332
+ * });
8333
+ */
8334
+ export declare function useRemoveQuickReplyMutation(baseOptions?: Apollo.MutationHookOptions<RemoveQuickReplyMutation, RemoveQuickReplyMutationVariables>): Apollo.MutationTuple<RemoveQuickReplyMutation, Exact<{
8335
+ input: QuickReplyRemoveInput;
8336
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
8337
+ export type RemoveQuickReplyMutationHookResult = ReturnType<typeof useRemoveQuickReplyMutation>;
8338
+ export type RemoveQuickReplyMutationResult = Apollo.MutationResult<RemoveQuickReplyMutation>;
8339
+ export type RemoveQuickReplyMutationOptions = Apollo.BaseMutationOptions<RemoveQuickReplyMutation, RemoveQuickReplyMutationVariables>;
7411
8340
  export declare const UndeleteClientDocument: Apollo.DocumentNode;
7412
8341
  export type UndeleteClientMutationFn = Apollo.MutationFunction<UndeleteClientMutation, UndeleteClientMutationVariables>;
7413
8342
  /**
@@ -7565,6 +8494,31 @@ export declare function useBulkPatchTagsMutation(baseOptions?: Apollo.MutationHo
7565
8494
  export type BulkPatchTagsMutationHookResult = ReturnType<typeof useBulkPatchTagsMutation>;
7566
8495
  export type BulkPatchTagsMutationResult = Apollo.MutationResult<BulkPatchTagsMutation>;
7567
8496
  export type BulkPatchTagsMutationOptions = Apollo.BaseMutationOptions<BulkPatchTagsMutation, BulkPatchTagsMutationVariables>;
8497
+ export declare const CreateAgentWithApiKeyDocument: Apollo.DocumentNode;
8498
+ export type CreateAgentWithApiKeyMutationFn = Apollo.MutationFunction<CreateAgentWithApiKeyMutation, CreateAgentWithApiKeyMutationVariables>;
8499
+ /**
8500
+ * __useCreateAgentWithApiKeyMutation__
8501
+ *
8502
+ * To run a mutation, you first call `useCreateAgentWithApiKeyMutation` within a React component and pass it any options that fit your needs.
8503
+ * When your component renders, `useCreateAgentWithApiKeyMutation` returns a tuple that includes:
8504
+ * - A mutate function that you can call at any time to execute the mutation
8505
+ * - An object with fields that represent the current status of the mutation's execution
8506
+ *
8507
+ * @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;
8508
+ *
8509
+ * @example
8510
+ * const [createAgentWithApiKeyMutation, { data, loading, error }] = useCreateAgentWithApiKeyMutation({
8511
+ * variables: {
8512
+ * input: // value for 'input'
8513
+ * },
8514
+ * });
8515
+ */
8516
+ export declare function useCreateAgentWithApiKeyMutation(baseOptions?: Apollo.MutationHookOptions<CreateAgentWithApiKeyMutation, CreateAgentWithApiKeyMutationVariables>): Apollo.MutationTuple<CreateAgentWithApiKeyMutation, Exact<{
8517
+ input: AgentCreateWithApiKeyInput;
8518
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
8519
+ export type CreateAgentWithApiKeyMutationHookResult = ReturnType<typeof useCreateAgentWithApiKeyMutation>;
8520
+ export type CreateAgentWithApiKeyMutationResult = Apollo.MutationResult<CreateAgentWithApiKeyMutation>;
8521
+ export type CreateAgentWithApiKeyMutationOptions = Apollo.BaseMutationOptions<CreateAgentWithApiKeyMutation, CreateAgentWithApiKeyMutationVariables>;
7568
8522
  export declare const CreateIntegrationDocument: Apollo.DocumentNode;
7569
8523
  export type CreateIntegrationMutationFn = Apollo.MutationFunction<CreateIntegrationMutation, CreateIntegrationMutationVariables>;
7570
8524
  /**