@bcrumbs.net/inbox 0.0.52 → 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 (84) hide show
  1. package/{396ba1d86a9997b1.svg → 594c01a9720e0657.svg} +42 -42
  2. package/assets/ar/inbox.json +263 -256
  3. package/assets/en/inbox.json +265 -258
  4. package/{2998ffe42c3436c0.svg → cb9c022b3cf80e0f.svg} +43 -43
  5. package/index.cjs.d.ts +1 -1
  6. package/index.cjs.js +5068 -13392
  7. package/index.esm.d.ts +1 -1
  8. package/index.esm.js +5071 -13397
  9. package/package.json +1 -1
  10. package/src/app/ai/components/CrumbySettings/AutoTagRulesSection.d.ts +14 -0
  11. package/src/app/ai/components/CrumbySettings/tagRuleUtils.d.ts +28 -0
  12. package/src/app/auth/components/UserAvatar/AccountSettingsDropdown.d.ts +2 -1
  13. package/src/app/auth/components/UserAvatar/index.d.ts +2 -1
  14. package/src/app/auth/pages/CheckAuth.d.ts +10 -0
  15. package/src/app/auth/pages/Forget.d.ts +1 -3
  16. package/src/app/auth/pages/Password.d.ts +0 -1
  17. package/src/app/auth/pages/Profile.d.ts +0 -1
  18. package/src/app/auth/redux/actions/forgetPasswordAction.d.ts +1 -1
  19. package/src/app/auth/redux/actions/logoutAction.d.ts +2 -2
  20. package/src/app/auth/redux/actions/resetPasswordAction.d.ts +2 -2
  21. package/src/app/auth/redux/auth.types.d.ts +5 -1
  22. package/src/app/billing/context/SubscriptionContext.d.ts +3 -1
  23. package/src/app/billing/utils/pendingPlanPurchaseStorage.d.ts +10 -0
  24. package/src/app/contact/components/ContactFormFields.d.ts +2 -1
  25. package/src/app/contact/config/contactForm.d.ts +4 -0
  26. package/src/app/dashboard/components/BroadcastAnalyticsCard.d.ts +2 -1
  27. package/src/app/dashboard/utils/buildBroadcastReportOverviewAnalytics.d.ts +2 -0
  28. package/src/app/dashboard/utils/dateHelpers.d.ts +17 -0
  29. package/src/app/generic/components/HeaderImageInput.d.ts +2 -1
  30. package/src/app/generic/components/MessagePreview.d.ts +3 -1
  31. package/src/app/generic/components/PreviewHeaderImage.d.ts +2 -1
  32. package/src/app/generic/utils/logout.d.ts +1 -1
  33. package/src/app/inbox/components/Chat/ChatContent.d.ts +1 -3
  34. package/src/app/inbox/components/Chat/ChatHeader.d.ts +5 -1
  35. package/src/app/inbox/components/Chat/NoResultsFound.d.ts +3 -0
  36. package/src/app/inbox/components/Chat/index.d.ts +4 -1
  37. package/src/app/inbox/components/NewConvList/FilterDrawer.d.ts +2 -3
  38. package/src/app/inbox/components/NewConvList/HeaderSection.d.ts +3 -2
  39. package/src/app/inbox/components/NewDetails/ChatDetails.d.ts +3 -2
  40. package/src/app/inbox/components/NewDetails/ChatDetailsAndTimeline.d.ts +3 -2
  41. package/src/app/inbox/components/NewDetails/ClientInfo.d.ts +3 -2
  42. package/src/app/inbox/components/NewDetails/ConversationOverview.d.ts +3 -2
  43. package/src/app/inbox/components/NewDetails/EditClientInfo.d.ts +3 -2
  44. package/src/app/inbox/components/NewDetails/index.d.ts +3 -2
  45. package/src/app/inbox/components/Shared/Inbox.d.ts +9 -7
  46. package/src/app/inbox/components/Shared/MobileActionSheet.d.ts +9 -0
  47. package/src/app/inbox/components/Shared/MobileMenu.d.ts +8 -0
  48. package/src/app/inbox/components/Shared/SharedStyle.d.ts +7 -0
  49. package/src/app/inbox/components/Shared/mobileMenuStyles.d.ts +20 -0
  50. package/src/app/inbox/constants/index.d.ts +1 -1
  51. package/src/app/inbox/hooks/useConversationById.d.ts +8 -0
  52. package/src/app/inbox/hooks/useInboxAssignableAis.d.ts +3 -0
  53. package/src/app/inbox/hooks/useMyAgent.d.ts +8 -0
  54. package/src/app/inbox/utils/convs.d.ts +4 -4
  55. package/src/app/inbox/utils/inboxAssignableAis.d.ts +10 -0
  56. package/src/app/inbox/utils/mobileInboxStyles.d.ts +6 -0
  57. package/src/app/layout/components/Header.d.ts +0 -4
  58. package/src/app/layout/constants/subMenu.d.ts +12 -2
  59. package/src/app/layout/context/EmbeddedInboxContext.d.ts +3 -0
  60. package/src/app/layout/context/MobileInboxNavContext.d.ts +9 -0
  61. package/src/app/layout/hooks/useMobileInboxVersion.d.ts +1 -3
  62. package/src/app/managemnet/components/CreateQuickReply.d.ts +8 -0
  63. package/src/app/managemnet/config/quickReplyDefinition.d.ts +4 -0
  64. package/src/app/managemnet/pages/quickReplies/index.d.ts +2 -0
  65. package/src/app/onboarding/utils/onboardingChecklistStorage.d.ts +4 -0
  66. package/src/app/resources/components/Integrations/Facebook/NoPagesFoundPopup.d.ts +2 -1
  67. package/src/app/resources/components/Integrations/Facebook/PagePickerPopup.d.ts +2 -1
  68. package/src/app/subscriptions/components/Plans/PlanCard.d.ts +10 -23
  69. package/src/app/subscriptions/components/Plans/ShowcasePlans.d.ts +5 -4
  70. package/src/app/subscriptions/components/SubscriptionSettings/SubscriptionHeader.d.ts +1 -10
  71. package/src/app/subscriptions/components/SubscriptionSettings/SubscriptionPlanLabel.d.ts +8 -0
  72. package/src/app/subscriptions/components/SubscriptionSettings/SubscriptionProfileCard.d.ts +14 -0
  73. package/src/app/subscriptions/components/SubscriptionSettings/SubscriptionUsageCard.d.ts +7 -0
  74. package/src/app/subscriptions/components/SubscriptionSettings/SubscriptionUsers.d.ts +3 -2
  75. package/src/app/subscriptions/components/SubscriptionSwitcher/Switcher.d.ts +4 -1
  76. package/src/app/subscriptions/components/SubscriptionSwitcher/index.d.ts +3 -1
  77. package/src/app/subscriptions/components/SubscriptionsList.d.ts +1 -0
  78. package/src/assets/locales/translations.d.ts +62 -0
  79. package/src/graphql.autogenerated.d.ts +539 -0
  80. package/src/graphql.billing.autogenerated.d.ts +3 -0
  81. package/src/lib/EmbeddedMobileMenu.d.ts +9 -0
  82. package/src/lib/conversation-chat.d.ts +11 -0
  83. package/src/lib/index.d.ts +4 -0
  84. package/src/utils/integration.d.ts +6 -0
@@ -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'];
@@ -1053,6 +1059,16 @@ export type ConvEndInput = {
1053
1059
  integrationId: Scalars['ID']['input'];
1054
1060
  workspaceId: Scalars['Int']['input'];
1055
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
+ };
1056
1072
  /** ConvFeedbackPatchInput is an input of the conversation feedback patch mutation. */
1057
1073
  export type ConvFeedbackPatchInput = {
1058
1074
  /** Optional feedback comment. */
@@ -1073,6 +1089,12 @@ export type ConvHandoverInput = {
1073
1089
  convId: Scalars['ID']['input'];
1074
1090
  workspaceId: Scalars['Int']['input'];
1075
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
+ };
1076
1098
  /** ConvIntegrationSwitch tracks each integration switch for a conversation. */
1077
1099
  export type ConvIntegrationSwitch = {
1078
1100
  __typename?: 'ConvIntegrationSwitch';
@@ -1399,6 +1421,10 @@ export type InputAssignUserRole = {
1399
1421
  export type InputInitWorkspace = {
1400
1422
  workspaceId: Scalars['Int']['input'];
1401
1423
  };
1424
+ export type InputUnassignUserRole = {
1425
+ userId: Scalars['String']['input'];
1426
+ workspaceId: Scalars['Int']['input'];
1427
+ };
1402
1428
  export type InputUploadSignature = {
1403
1429
  blobName: Scalars['String']['input'];
1404
1430
  containerName: Scalars['String']['input'];
@@ -1449,6 +1475,7 @@ export type IntegrationInput = {
1449
1475
  /** IntegrationPatchInput is an input for the integration patching. */
1450
1476
  export type IntegrationPatchInput = {
1451
1477
  id: Scalars['ID']['input'];
1478
+ integrationProperties?: InputMaybe<Scalars['JSON']['input']>;
1452
1479
  name?: InputMaybe<Scalars['String']['input']>;
1453
1480
  properties?: InputMaybe<Scalars['JSON']['input']>;
1454
1481
  workspaceId: Scalars['Int']['input'];
@@ -1796,6 +1823,8 @@ export type Mutation = {
1796
1823
  __typename?: 'Mutation';
1797
1824
  /** Add a message to the conversation. */
1798
1825
  addMessage: Message;
1826
+ /** Add a quick reply. You should have the MANAGE_WORKSPACE permission to add a quick reply. */
1827
+ addQuickReply: QuickReply;
1799
1828
  /** Assign a conversation to an agent. If you don't have the MANAGE_CONVS permission, you can only assign the conversation to yourself. */
1800
1829
  assignConv: Conversation;
1801
1830
  assignOwner: UserRole;
@@ -1891,11 +1920,15 @@ export type Mutation = {
1891
1920
  patchConvFeedback: Conversation;
1892
1921
  /** Patch an integration. You should have the MANAGE_WORKSPACE permission to patch an integration. */
1893
1922
  patchIntegration: Integration;
1923
+ /** Patch a quick reply. You should have the MANAGE_WORKSPACE permission to patch a quick reply. */
1924
+ patchQuickReply: QuickReply;
1894
1925
  patchSource: Source;
1895
1926
  /** Update workspace settings. You should have the MANAGE_WORKSPACE permission to update workspace settings. */
1896
1927
  patchWorkspaceSettings: WorkspaceSettings;
1897
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. */
1898
1929
  putClient: Client;
1930
+ /** Remove a quick reply. You should have the MANAGE_WORKSPACE permission to remove a quick reply. */
1931
+ removeQuickReply: QuickReply;
1899
1932
  say?: Maybe<HelloMessage>;
1900
1933
  /** Send a notification to a client. (It can be used also for OTP messages) */
1901
1934
  sendNotification: Message;
@@ -1913,6 +1946,7 @@ export type Mutation = {
1913
1946
  tagConv: Conversation;
1914
1947
  /** Tag a message. */
1915
1948
  tagMessage: Message;
1949
+ unassignUserRole: Scalars['Boolean']['output'];
1916
1950
  /** Undelete a client by id. You should have the MANAGE_CLIENTS permission to undelete a client. */
1917
1951
  undeleteClient: Client;
1918
1952
  /** Undelete a client by externalClientId. You should have the MANAGE_CLIENTS permission to undelete a client. */
@@ -1927,6 +1961,9 @@ export type Mutation = {
1927
1961
  export type MutationAddMessageArgs = {
1928
1962
  input: MessageInput;
1929
1963
  };
1964
+ export type MutationAddQuickReplyArgs = {
1965
+ input: QuickReplyAddInput;
1966
+ };
1930
1967
  export type MutationAssignConvArgs = {
1931
1968
  input: ConvAssignInput;
1932
1969
  };
@@ -2056,6 +2093,9 @@ export type MutationPatchConvFeedbackArgs = {
2056
2093
  export type MutationPatchIntegrationArgs = {
2057
2094
  input: IntegrationPatchInput;
2058
2095
  };
2096
+ export type MutationPatchQuickReplyArgs = {
2097
+ input: QuickReplyPatchInput;
2098
+ };
2059
2099
  export type MutationPatchSourceArgs = {
2060
2100
  input: SourcePatchInput;
2061
2101
  };
@@ -2065,6 +2105,9 @@ export type MutationPatchWorkspaceSettingsArgs = {
2065
2105
  export type MutationPutClientArgs = {
2066
2106
  input: ClientPutInput;
2067
2107
  };
2108
+ export type MutationRemoveQuickReplyArgs = {
2109
+ input: QuickReplyRemoveInput;
2110
+ };
2068
2111
  export type MutationSayArgs = {
2069
2112
  input: UserInput;
2070
2113
  };
@@ -2086,6 +2129,9 @@ export type MutationTagConvArgs = {
2086
2129
  export type MutationTagMessageArgs = {
2087
2130
  input: MessageTagInput;
2088
2131
  };
2132
+ export type MutationUnassignUserRoleArgs = {
2133
+ input: InputUnassignUserRole;
2134
+ };
2089
2135
  export type MutationUndeleteClientArgs = {
2090
2136
  input: ClientInput;
2091
2137
  };
@@ -2193,8 +2239,12 @@ export type Query = {
2193
2239
  clientByPhone: Client;
2194
2240
  /** Get the clients. You should have the MANAGE_CLIENTS permission to get the clients. */
2195
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;
2196
2244
  /** Get an AI suggestion to auto-complete the current draft. */
2197
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;
2198
2248
  /** Get the last message of a conversation if it is currently open. Returns null if the conversation is ended or not found. */
2199
2249
  convLastMessage?: Maybe<Message>;
2200
2250
  /** Get an AI summary for conversation messages. */
@@ -2220,6 +2270,8 @@ export type Query = {
2220
2270
  messages: MessagesPayload;
2221
2271
  /** Get the count of open conversations that have recent client messages (conversations that need a response). */
2222
2272
  openConversationsNeedResponseCount: Scalars['Int']['output'];
2273
+ /** Get quick replies. */
2274
+ quickReplies: QuickRepliesPayload;
2223
2275
  sources: SourcesPayload;
2224
2276
  /** Get tags. */
2225
2277
  tags: TagsPayload;
@@ -2297,9 +2349,15 @@ export type QueryClientsArgs = {
2297
2349
  input: ClientsInput;
2298
2350
  pageInfo?: InputMaybe<PageInfoInput>;
2299
2351
  };
2352
+ export type QueryConvArgs = {
2353
+ input: ConvInput;
2354
+ };
2300
2355
  export type QueryConvAutoCompleteArgs = {
2301
2356
  input: ConvAutoCompleteInput;
2302
2357
  };
2358
+ export type QueryConvEnhanceMessageArgs = {
2359
+ input: ConvEnhanceMessageInput;
2360
+ };
2303
2361
  export type QueryConvLastMessageArgs = {
2304
2362
  input: ConvLastMessageInput;
2305
2363
  };
@@ -2332,6 +2390,9 @@ export type QueryMessagesArgs = {
2332
2390
  export type QueryOpenConversationsNeedResponseCountArgs = {
2333
2391
  input: OpenConversationsNeedResponseInput;
2334
2392
  };
2393
+ export type QueryQuickRepliesArgs = {
2394
+ input: QuickRepliesInput;
2395
+ };
2335
2396
  export type QuerySourcesArgs = {
2336
2397
  input: SourcesInput;
2337
2398
  };
@@ -2375,6 +2436,38 @@ export type QueryWorkspacesArgs = {
2375
2436
  input: WorkspacesInput;
2376
2437
  pageInfo?: InputMaybe<PageInfoInput>;
2377
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
+ };
2378
2471
  export declare const Role: {
2379
2472
  readonly ADMIN: "ADMIN";
2380
2473
  readonly AGENT: "AGENT";
@@ -3356,6 +3449,13 @@ export type MeQuery = {
3356
3449
  createdAt: any;
3357
3450
  };
3358
3451
  };
3452
+ export type UnassignUserRoleMutationVariables = Exact<{
3453
+ input: InputUnassignUserRole;
3454
+ }>;
3455
+ export type UnassignUserRoleMutation = {
3456
+ __typename?: 'Mutation';
3457
+ unassignUserRole: boolean;
3458
+ };
3359
3459
  export type UsersRolesQueryVariables = Exact<{
3360
3460
  input: InputUsersRoles;
3361
3461
  }>;
@@ -3849,6 +3949,7 @@ export type AgentFragment = {
3849
3949
  surname: string;
3850
3950
  email: string;
3851
3951
  avatar?: string | null;
3952
+ assignable: boolean;
3852
3953
  createdAt: any;
3853
3954
  };
3854
3955
  export type ConversationFragment = {
@@ -4004,6 +4105,7 @@ export type AgentQuery = {
4004
4105
  surname: string;
4005
4106
  email: string;
4006
4107
  avatar?: string | null;
4108
+ assignable: boolean;
4007
4109
  createdAt: any;
4008
4110
  };
4009
4111
  };
@@ -4024,6 +4126,7 @@ export type AgentsQuery = {
4024
4126
  surname: string;
4025
4127
  email: string;
4026
4128
  avatar?: string | null;
4129
+ assignable: boolean;
4027
4130
  createdAt: any;
4028
4131
  }> | null;
4029
4132
  pageInfo?: {
@@ -4105,6 +4208,77 @@ export type AssignConvMutation = {
4105
4208
  } | null> | null;
4106
4209
  };
4107
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
+ };
4108
4282
  export type ConvAutoCompleteQueryVariables = Exact<{
4109
4283
  input: ConvAutoCompleteInput;
4110
4284
  }>;
@@ -4116,6 +4290,17 @@ export type ConvAutoCompleteQuery = {
4116
4290
  usage?: any | null;
4117
4291
  };
4118
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
+ };
4119
4304
  export type ConvSummaryQueryVariables = Exact<{
4120
4305
  input: ConvAssistInput;
4121
4306
  }>;
@@ -4222,6 +4407,7 @@ export type CreateAgentMutation = {
4222
4407
  surname: string;
4223
4408
  email: string;
4224
4409
  avatar?: string | null;
4410
+ assignable: boolean;
4225
4411
  createdAt: any;
4226
4412
  };
4227
4413
  };
@@ -4239,6 +4425,7 @@ export type DeleteAgentMutation = {
4239
4425
  surname: string;
4240
4426
  email: string;
4241
4427
  avatar?: string | null;
4428
+ assignable: boolean;
4242
4429
  createdAt: any;
4243
4430
  };
4244
4431
  };
@@ -4441,6 +4628,7 @@ export type PatchAgentMutation = {
4441
4628
  surname: string;
4442
4629
  email: string;
4443
4630
  avatar?: string | null;
4631
+ assignable: boolean;
4444
4632
  createdAt: any;
4445
4633
  };
4446
4634
  };
@@ -4852,6 +5040,30 @@ export type ClientFragment = {
4852
5040
  deletedAt?: any | null;
4853
5041
  archivedBy?: string | null;
4854
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
+ };
4855
5067
  export type BulkDeleteClientsMutationVariables = Exact<{
4856
5068
  input: BulkPermanentDeleteClientsInput;
4857
5069
  }>;
@@ -5113,6 +5325,54 @@ export type PatchClientMutation = {
5113
5325
  archivedBy?: string | null;
5114
5326
  };
5115
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
+ };
5116
5376
  export type UndeleteClientMutationVariables = Exact<{
5117
5377
  input: ClientInput;
5118
5378
  }>;
@@ -5238,6 +5498,36 @@ export type BulkPatchTagsMutation = {
5238
5498
  __typename?: 'Mutation';
5239
5499
  bulkPatchTags: never;
5240
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
+ };
5241
5531
  export type CreateIntegrationMutationVariables = Exact<{
5242
5532
  input: IntegrationCreateInput;
5243
5533
  }>;
@@ -5572,6 +5862,7 @@ export declare const TagFragmentDoc: Apollo.DocumentNode;
5572
5862
  export declare const MessageTemplateDetailsFragmentDoc: Apollo.DocumentNode;
5573
5863
  export declare const MessageTemplateFragmentDoc: Apollo.DocumentNode;
5574
5864
  export declare const ClientFragmentDoc: Apollo.DocumentNode;
5865
+ export declare const QuickReplyFragmentDoc: Apollo.DocumentNode;
5575
5866
  export declare const ApiKeyFragmentDoc: Apollo.DocumentNode;
5576
5867
  export declare const IntegrationFragmentDoc: Apollo.DocumentNode;
5577
5868
  export declare const WebhookFragmentDoc: Apollo.DocumentNode;
@@ -6088,6 +6379,31 @@ export declare function refetchMeQuery(variables: MeQueryVariables): {
6088
6379
  input: InputInitWorkspace;
6089
6380
  }>;
6090
6381
  };
6382
+ export declare const UnassignUserRoleDocument: Apollo.DocumentNode;
6383
+ export type UnassignUserRoleMutationFn = Apollo.MutationFunction<UnassignUserRoleMutation, UnassignUserRoleMutationVariables>;
6384
+ /**
6385
+ * __useUnassignUserRoleMutation__
6386
+ *
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:
6389
+ * - A mutate function that you can call at any time to execute the mutation
6390
+ * - An object with fields that represent the current status of the mutation's execution
6391
+ *
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;
6393
+ *
6394
+ * @example
6395
+ * const [unassignUserRoleMutation, { data, loading, error }] = useUnassignUserRoleMutation({
6396
+ * variables: {
6397
+ * input: // value for 'input'
6398
+ * },
6399
+ * });
6400
+ */
6401
+ export declare function useUnassignUserRoleMutation(baseOptions?: Apollo.MutationHookOptions<UnassignUserRoleMutation, UnassignUserRoleMutationVariables>): Apollo.MutationTuple<UnassignUserRoleMutation, Exact<{
6402
+ input: InputUnassignUserRole;
6403
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
6404
+ export type UnassignUserRoleMutationHookResult = ReturnType<typeof useUnassignUserRoleMutation>;
6405
+ export type UnassignUserRoleMutationResult = Apollo.MutationResult<UnassignUserRoleMutation>;
6406
+ export type UnassignUserRoleMutationOptions = Apollo.BaseMutationOptions<UnassignUserRoleMutation, UnassignUserRoleMutationVariables>;
6091
6407
  export declare const UsersRolesDocument: Apollo.DocumentNode;
6092
6408
  /**
6093
6409
  * __useUsersRolesQuery__
@@ -6816,6 +7132,47 @@ export declare function useAssignConvMutation(baseOptions?: Apollo.MutationHookO
6816
7132
  export type AssignConvMutationHookResult = ReturnType<typeof useAssignConvMutation>;
6817
7133
  export type AssignConvMutationResult = Apollo.MutationResult<AssignConvMutation>;
6818
7134
  export type AssignConvMutationOptions = Apollo.BaseMutationOptions<AssignConvMutation, AssignConvMutationVariables>;
7135
+ export declare const ConvDocument: Apollo.DocumentNode;
7136
+ /**
7137
+ * __useConvQuery__
7138
+ *
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
7141
+ * you can use to render your UI.
7142
+ *
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;
7144
+ *
7145
+ * @example
7146
+ * const { data, loading, error } = useConvQuery({
7147
+ * variables: {
7148
+ * input: // value for 'input'
7149
+ * },
7150
+ * });
7151
+ */
7152
+ export declare function useConvQuery(baseOptions: Apollo.QueryHookOptions<ConvQuery, ConvQueryVariables> & ({
7153
+ variables: ConvQueryVariables;
7154
+ skip?: boolean;
7155
+ } | {
7156
+ skip: boolean;
7157
+ })): Apollo.QueryResult<ConvQuery, Exact<{
7158
+ input: ConvInput;
7159
+ }>>;
7160
+ export declare function useConvLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ConvQuery, ConvQueryVariables>): Apollo.LazyQueryResultTuple<ConvQuery, Exact<{
7161
+ input: ConvInput;
7162
+ }>>;
7163
+ export declare function useConvSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<ConvQuery, ConvQueryVariables>): Apollo.UseSuspenseQueryResult<ConvQuery | undefined, Exact<{
7164
+ input: ConvInput;
7165
+ }>>;
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): {
7171
+ query: Apollo.DocumentNode;
7172
+ variables: Exact<{
7173
+ input: ConvInput;
7174
+ }>;
7175
+ };
6819
7176
  export declare const ConvAutoCompleteDocument: Apollo.DocumentNode;
6820
7177
  /**
6821
7178
  * __useConvAutoCompleteQuery__
@@ -6857,6 +7214,47 @@ export declare function refetchConvAutoCompleteQuery(variables: ConvAutoComplete
6857
7214
  input: ConvAutoCompleteInput;
6858
7215
  }>;
6859
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;
7256
+ }>;
7257
+ };
6860
7258
  export declare const ConvSummaryDocument: Apollo.DocumentNode;
6861
7259
  /**
6862
7260
  * __useConvSummaryQuery__
@@ -7429,6 +7827,31 @@ export declare function refetchWabaMessageTemplatesQuery(variables: WabaMessageT
7429
7827
  input: WabaMessageTemplatesInput;
7430
7828
  }>;
7431
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>;
7432
7855
  export declare const BulkDeleteClientsDocument: Apollo.DocumentNode;
7433
7856
  export type BulkDeleteClientsMutationFn = Apollo.MutationFunction<BulkDeleteClientsMutation, BulkDeleteClientsMutationVariables>;
7434
7857
  /**
@@ -7823,6 +8246,97 @@ export declare function usePatchClientMutation(baseOptions?: Apollo.MutationHook
7823
8246
  export type PatchClientMutationHookResult = ReturnType<typeof usePatchClientMutation>;
7824
8247
  export type PatchClientMutationResult = Apollo.MutationResult<PatchClientMutation>;
7825
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>;
7826
8340
  export declare const UndeleteClientDocument: Apollo.DocumentNode;
7827
8341
  export type UndeleteClientMutationFn = Apollo.MutationFunction<UndeleteClientMutation, UndeleteClientMutationVariables>;
7828
8342
  /**
@@ -7980,6 +8494,31 @@ export declare function useBulkPatchTagsMutation(baseOptions?: Apollo.MutationHo
7980
8494
  export type BulkPatchTagsMutationHookResult = ReturnType<typeof useBulkPatchTagsMutation>;
7981
8495
  export type BulkPatchTagsMutationResult = Apollo.MutationResult<BulkPatchTagsMutation>;
7982
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>;
7983
8522
  export declare const CreateIntegrationDocument: Apollo.DocumentNode;
7984
8523
  export type CreateIntegrationMutationFn = Apollo.MutationFunction<CreateIntegrationMutation, CreateIntegrationMutationVariables>;
7985
8524
  /**