@bcrumbs.net/inbox 0.0.60 → 0.0.62

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 (72) hide show
  1. package/assets/ar/inbox.json +16 -3
  2. package/assets/en/inbox.json +15 -2
  3. package/index.cjs.js +49055 -49383
  4. package/index.esm.js +49059 -49387
  5. package/package.json +4 -4
  6. package/playwright.config.d.ts +9 -0
  7. package/src/app/ai/components/Crumby/CrumbyComposer.d.ts +1 -1
  8. package/src/app/ai/components/playground/Button.d.ts +1 -1
  9. package/src/app/ai/components/playground/ThreadMessages.d.ts +5 -1
  10. package/src/app/ai/components/playground/TooltipIconButton.d.ts +2 -2
  11. package/src/app/auth/components/UserAvatar/AccountSettingsDropdown.d.ts +3 -5
  12. package/src/app/auth/hooks/useRoles.d.ts +1 -0
  13. package/src/app/auth/pages/Auth.style.d.ts +68 -0
  14. package/src/app/auth/pages/Login.style.d.ts +1 -0
  15. package/src/app/auth/pages/Register.style.d.ts +5 -0
  16. package/src/app/auth/utils/avatar.d.ts +1 -0
  17. package/src/app/auth/utils/resetWorkspaceRoleState.d.ts +4 -0
  18. package/src/app/broadcast/components/BroadcastAnalysisContent.d.ts +3 -1
  19. package/src/app/broadcast/components/BroadcastAnalysisReciepients.d.ts +6 -1
  20. package/src/app/broadcast/components/BroadcastAnalysisReciepientsHeader.d.ts +7 -1
  21. package/src/app/contact/components/ContactFilterOptions.d.ts +4 -1
  22. package/src/app/contact/components/ContactFormFields.d.ts +4 -1
  23. package/src/app/dashboard/components/AgentPerformanceCard.d.ts +2 -1
  24. package/src/app/dashboard/components/BroadcastCampaignProgressCard.d.ts +3 -1
  25. package/src/app/dashboard/components/DashboardExportButton.d.ts +8 -0
  26. package/src/app/dashboard/components/DashboardSections.d.ts +2 -1
  27. package/src/app/dashboard/components/OpenedChatsCard.d.ts +5 -1
  28. package/src/app/dashboard/components/TagPerformanceCard.d.ts +2 -1
  29. package/src/app/dashboard/utils/dashboardReportExports.d.ts +100 -0
  30. package/src/app/generic/components/PhoneDigitsInput.d.ts +7 -0
  31. package/src/app/generic/hooks/useResourceColumns.d.ts +3 -1
  32. package/src/app/inbox/components/Chat/ChatHeader.d.ts +2 -0
  33. package/src/app/inbox/components/Chat/NoConvSelected.d.ts +5 -0
  34. package/src/app/inbox/components/Chat/index.d.ts +4 -1
  35. package/src/app/inbox/components/NewDetails/ClientSection.d.ts +2 -1
  36. package/src/app/inbox/components/NewDetails/UserHeader.d.ts +2 -1
  37. package/src/app/inbox/components/NewDetails/index.d.ts +2 -1
  38. package/src/app/inbox/components/Shared/Inbox.d.ts +4 -1
  39. package/src/app/inbox/components/Shared/MobileChatDetailsSlider.d.ts +14 -0
  40. package/src/app/inbox/components/Shared/MobileDetailsSwipeHint.d.ts +9 -0
  41. package/src/app/inbox/components/Shared/MobileMenu.d.ts +2 -1
  42. package/src/app/inbox/hooks/useConvActions.d.ts +1 -0
  43. package/src/app/inbox/hooks/useConversationsPerodicFetch.d.ts +3 -0
  44. package/src/app/inbox/hooks/useStartedTimeAgo.d.ts +5 -0
  45. package/src/app/inbox/utils/convs.d.ts +8 -1
  46. package/src/app/inbox/utils/inboxAssignableAis.d.ts +11 -1
  47. package/src/app/layout/constants/index.d.ts +10 -10
  48. package/src/app/layout/hooks/useCrumbyEnabled.d.ts +18 -0
  49. package/src/app/layout/hooks/useCrumbyUpgradeAction.d.ts +10 -0
  50. package/src/app/managemnet/config/types.d.ts +2 -0
  51. package/src/app/onboarding/utils/onboardingChecklistPersistence.d.ts +18 -0
  52. package/src/app/onboarding/utils/onboardingChecklistStorage.d.ts +10 -1
  53. package/src/app/resources/components/Integrations/Facebook/PagePickerPopup.d.ts +3 -1
  54. package/src/app/resources/components/ListResources/Utils.d.ts +1 -0
  55. package/src/app/subscriptions/components/NewSubscription/OnboardingStepper.d.ts +8 -0
  56. package/src/app/subscriptions/components/NewSubscription/SubscriptionFailed.d.ts +6 -0
  57. package/src/app/subscriptions/components/NewSubscription/SubscriptionName.d.ts +1 -1
  58. package/src/app/subscriptions/components/NewSubscription/SubscriptionSuccess.d.ts +5 -2
  59. package/src/app/subscriptions/components/NewSubscription/WorkspaceStepLayout.d.ts +11 -0
  60. package/src/app/subscriptions/components/Plans/ShowcasePlans.d.ts +3 -1
  61. package/src/app/subscriptions/components/SubscriptionSwitcher/Switcher.d.ts +1 -1
  62. package/src/app/subscriptions/pages/NewSubscription.d.ts +1 -1
  63. package/src/app/subscriptions/utils/newWorkspaceCheckout.d.ts +16 -0
  64. package/src/assets/locales/translations.d.ts +78 -0
  65. package/src/graphql.autogenerated.d.ts +511 -1
  66. package/src/lib/EmbeddedMobileMenu.d.ts +2 -1
  67. package/src/routes/PrivateRoutes.d.ts +1 -5
  68. package/src/utils/exportCsv.d.ts +8 -0
  69. package/src/utils/textUtils.d.ts +2 -0
  70. package/src/app/broadcast/components/BroadcastTargetingComplianceNotice.d.ts +0 -2
  71. package/src/app/generic/hooks/WithMenuConfig.d.ts +0 -1
  72. package/src/app/layout/components/language/LanguageDropdown.d.ts +0 -9
@@ -387,6 +387,21 @@ export type Broadcast = {
387
387
  * ]
388
388
  * }
389
389
  * ]
390
+ *
391
+ * For templates with named parameters (parameter_format: NAMED), include parameter_name on each parameter:
392
+ *
393
+ * [
394
+ * {
395
+ * "type": "body",
396
+ * "parameters": [
397
+ * {
398
+ * "type": "text",
399
+ * "parameter_name": "customer_name",
400
+ * "text": "Jessica"
401
+ * }
402
+ * ]
403
+ * }
404
+ * ]
390
405
  */
391
406
  templateComponents?: Maybe<Scalars['JSON']['output']>;
392
407
  /** The language of the template that will be used to send the broadcast. */
@@ -448,6 +463,21 @@ export type BroadcastCreateInput = {
448
463
  * ]
449
464
  * }
450
465
  * ]
466
+ *
467
+ * For templates with named parameters (parameter_format: NAMED), include parameter_name on each parameter:
468
+ *
469
+ * [
470
+ * {
471
+ * "type": "body",
472
+ * "parameters": [
473
+ * {
474
+ * "type": "text",
475
+ * "parameter_name": "customer_name",
476
+ * "text": "Jessica"
477
+ * }
478
+ * ]
479
+ * }
480
+ * ]
451
481
  */
452
482
  templateComponents?: InputMaybe<Scalars['JSON']['input']>;
453
483
  /** The language of the template that will be used to send the broadcast. */
@@ -476,6 +506,8 @@ export type BroadcastDeliveryReport = {
476
506
  pending: Scalars['Int']['output'];
477
507
  /** Number of messages that have been read by the recipients. */
478
508
  read: Scalars['Int']['output'];
509
+ /** Number of failed messages whose failure reason is transient and eligible for retry. */
510
+ retryableFailed: Scalars['Int']['output'];
479
511
  /** Number of messages currently in sent status. */
480
512
  sent: Scalars['Int']['output'];
481
513
  /** Total number of messages created for the broadcast. */
@@ -592,6 +624,21 @@ export type BroadcastPatchInput = {
592
624
  * ]
593
625
  * }
594
626
  * ]
627
+ *
628
+ * For templates with named parameters (parameter_format: NAMED), include parameter_name on each parameter:
629
+ *
630
+ * [
631
+ * {
632
+ * "type": "body",
633
+ * "parameters": [
634
+ * {
635
+ * "type": "text",
636
+ * "parameter_name": "customer_name",
637
+ * "text": "Jessica"
638
+ * }
639
+ * ]
640
+ * }
641
+ * ]
595
642
  */
596
643
  templateComponents?: InputMaybe<Scalars['JSON']['input']>;
597
644
  /** The language of the template that will be used to send the broadcast. */
@@ -766,6 +813,12 @@ export type Client = {
766
813
  address?: Maybe<Scalars['String']['output']>;
767
814
  /** The identifier of the user or agent who archived this client. Null if archived by system. */
768
815
  archivedBy?: Maybe<Scalars['String']['output']>;
816
+ /** The avatar URL of the client from the external channel (e.g. Meta, Telegram profile picture). */
817
+ avatarUrl?: Maybe<Scalars['String']['output']>;
818
+ /** The date and time when the client was blacklisted (blocked). */
819
+ blacklistedAt?: Maybe<Scalars['DateTime']['output']>;
820
+ /** The identifier of the user or agent who blacklisted this client. */
821
+ blacklistedBy?: Maybe<Scalars['String']['output']>;
769
822
  /** The city of the client. It can be modified by the user. */
770
823
  city?: Maybe<Scalars['String']['output']>;
771
824
  /** The code of the client. It can be modified by the user. */
@@ -914,6 +967,8 @@ export type ClientsInput = {
914
967
  email?: InputMaybe<Scalars['String']['input']>;
915
968
  /** The external client id of the client. Used to filter the clients by the external client id. */
916
969
  externalClientId?: InputMaybe<Scalars['String']['input']>;
970
+ /** If true, only return blacklisted clients. If false or not provided, blacklisted clients are excluded. */
971
+ isBlacklisted?: InputMaybe<Scalars['Boolean']['input']>;
917
972
  /** If true, only return deleted clients. If false or not provided, only return non-deleted clients. */
918
973
  isDeleted?: InputMaybe<Scalars['Boolean']['input']>;
919
974
  /** The name of the client. Used to filter the clients by the name. */
@@ -1187,6 +1242,21 @@ export type ConvStartInput = {
1187
1242
  * }
1188
1243
  * ]
1189
1244
  *
1245
+ * For templates with named parameters (parameter_format: NAMED), include parameter_name on each parameter:
1246
+ *
1247
+ * [
1248
+ * {
1249
+ * "type": "body",
1250
+ * "parameters": [
1251
+ * {
1252
+ * "type": "text",
1253
+ * "parameter_name": "customer_name",
1254
+ * "text": "Jessica"
1255
+ * }
1256
+ * ]
1257
+ * }
1258
+ * ]
1259
+ *
1190
1260
  * In string values anywhere inside components you may use placeholders: {{fieldName}}
1191
1261
  * where fieldName is one of name, surname, fullName, email, phone, address, code, city, country.
1192
1262
  * They are replaced with that client's data when the message is sent (empty string if the property is missing).
@@ -1306,6 +1376,10 @@ export type Conversation = {
1306
1376
  orderNo?: Maybe<Scalars['String']['output']>;
1307
1377
  /** True when the channel's rating/feedback flow is active: assigned to the rating AI and feedback not yet sent. */
1308
1378
  ratingFlowInProgress?: Maybe<Scalars['Boolean']['output']>;
1379
+ /** The referral source type captured when the conversation was started from an ad or referral link. */
1380
+ sourceType?: Maybe<Scalars['String']['output']>;
1381
+ /** The referral source URL captured when the conversation was started from an ad or referral link. */
1382
+ sourceUrl?: Maybe<Scalars['String']['output']>;
1309
1383
  /** The stage id of the conversation. */
1310
1384
  stageId?: Maybe<Scalars['String']['output']>;
1311
1385
  /** The tags of the conversation. */
@@ -1316,6 +1390,8 @@ export type Conversation = {
1316
1390
  /** ConversationClient is a type of the conversation client, the needed client data coming with the conversation. */
1317
1391
  export type ConversationClient = {
1318
1392
  __typename?: 'ConversationClient';
1393
+ /** The avatar URL of the client from the external channel. */
1394
+ avatarUrl?: Maybe<Scalars['String']['output']>;
1319
1395
  /** The code of the client. */
1320
1396
  code?: Maybe<Scalars['String']['output']>;
1321
1397
  /** Whether the client is deleted (soft-deleted). True when deletedAt has a value. */
@@ -1424,6 +1500,67 @@ export type CreateWorkspaceInput = {
1424
1500
  taxOffice?: InputMaybe<Scalars['String']['input']>;
1425
1501
  website?: InputMaybe<Scalars['String']['input']>;
1426
1502
  };
1503
+ /** Counts of auth records removed when deleting a workspace. */
1504
+ export type DeleteWorkspaceAuthCounts = {
1505
+ __typename?: 'DeleteWorkspaceAuthCounts';
1506
+ memberships: Scalars['Int']['output'];
1507
+ users: Scalars['Int']['output'];
1508
+ workspace: Scalars['Int']['output'];
1509
+ };
1510
+ /** Counts of billing records removed when deleting a workspace. */
1511
+ export type DeleteWorkspaceBillingCounts = {
1512
+ __typename?: 'DeleteWorkspaceBillingCounts';
1513
+ billingInfos: Scalars['Int']['output'];
1514
+ paymentMethods: Scalars['Int']['output'];
1515
+ pendingPayments: Scalars['Int']['output'];
1516
+ plans: Scalars['Int']['output'];
1517
+ stripeCards: Scalars['Int']['output'];
1518
+ stripePaymentElements: Scalars['Int']['output'];
1519
+ subscriptions: Scalars['Int']['output'];
1520
+ };
1521
+ /** Counts of bot records removed when deleting a workspace. */
1522
+ export type DeleteWorkspaceBotCounts = {
1523
+ __typename?: 'DeleteWorkspaceBotCounts';
1524
+ ais: Scalars['Int']['output'];
1525
+ blobs: Scalars['Int']['output'];
1526
+ embeddings: Scalars['Int']['output'];
1527
+ sources: Scalars['Int']['output'];
1528
+ tokenUsageLogs: Scalars['Int']['output'];
1529
+ };
1530
+ /** Counts of core records removed when deleting a workspace. */
1531
+ export type DeleteWorkspaceCoreCounts = {
1532
+ __typename?: 'DeleteWorkspaceCoreCounts';
1533
+ agentReports: Scalars['Int']['output'];
1534
+ agents: Scalars['Int']['output'];
1535
+ apiKeys: Scalars['Int']['output'];
1536
+ broadcastReports: Scalars['Int']['output'];
1537
+ broadcasts: Scalars['Int']['output'];
1538
+ clients: Scalars['Int']['output'];
1539
+ convTagReports: Scalars['Int']['output'];
1540
+ conversationReports: Scalars['Int']['output'];
1541
+ conversations: Scalars['Int']['output'];
1542
+ integrations: Scalars['Int']['output'];
1543
+ messages: Scalars['Int']['output'];
1544
+ quickReplies: Scalars['Int']['output'];
1545
+ tags: Scalars['Int']['output'];
1546
+ userRoles: Scalars['Int']['output'];
1547
+ webhooks: Scalars['Int']['output'];
1548
+ workspaceSettings: Scalars['Int']['output'];
1549
+ };
1550
+ /** Input for permanently deleting a workspace and all related data across services. */
1551
+ export type DeleteWorkspaceInput = {
1552
+ /** The unique identifier of the workspace to delete. */
1553
+ workspaceId: Scalars['Int']['input'];
1554
+ };
1555
+ /** Result of permanently deleting a workspace across core, bot, billing, and auth. */
1556
+ export type DeleteWorkspaceResult = {
1557
+ __typename?: 'DeleteWorkspaceResult';
1558
+ auth?: Maybe<DeleteWorkspaceAuthCounts>;
1559
+ billing?: Maybe<DeleteWorkspaceBillingCounts>;
1560
+ bot?: Maybe<DeleteWorkspaceBotCounts>;
1561
+ core: DeleteWorkspaceCoreCounts;
1562
+ workspaceId: Scalars['Int']['output'];
1563
+ };
1427
1564
  /**
1428
1565
  * ErrorCode is an enum for the error codes.
1429
1566
  * - UNAUTHENTICATED: The user is not authenticated.
@@ -1692,6 +1829,10 @@ export type Message = {
1692
1829
  noteType?: Maybe<NoteType>;
1693
1830
  /** The sender identifier. It is used to identify the sender of the message in the provider's system. */
1694
1831
  senderId?: Maybe<Scalars['String']['output']>;
1832
+ /** The referral source type when the message originated from an ad or referral link. */
1833
+ sourceType?: Maybe<Scalars['String']['output']>;
1834
+ /** The referral source URL when the message originated from an ad or referral link. */
1835
+ sourceUrl?: Maybe<Scalars['String']['output']>;
1695
1836
  /** The status of the message. */
1696
1837
  status?: Maybe<MessageStatus>;
1697
1838
  /** The tags of the message. */
@@ -1728,7 +1869,7 @@ export type MessageDto = {
1728
1869
  debug?: Maybe<Scalars['Boolean']['output']>;
1729
1870
  /** The external id of the client. */
1730
1871
  externalClientId: Scalars['String']['output'];
1731
- /** The external info of the client. */
1872
+ /** The external info of the client (name, surname, avatarUrl, etc.). */
1732
1873
  externalClientInfo?: Maybe<Scalars['JSON']['output']>;
1733
1874
  /** The external context of the message. */
1734
1875
  externalContext?: Maybe<Scalars['JSON']['output']>;
@@ -1744,6 +1885,10 @@ export type MessageDto = {
1744
1885
  isAgent?: Maybe<Scalars['Boolean']['output']>;
1745
1886
  /** The internal id of the message. */
1746
1887
  messageId?: Maybe<Scalars['ID']['output']>;
1888
+ /** The referral source type when the message originated from an ad or referral link. */
1889
+ sourceType?: Maybe<Scalars['String']['output']>;
1890
+ /** The referral source URL when the message originated from an ad or referral link. */
1891
+ sourceUrl?: Maybe<Scalars['String']['output']>;
1747
1892
  spanId?: Maybe<Scalars['String']['output']>;
1748
1893
  /** The tags of the message. */
1749
1894
  tags?: Maybe<Array<Scalars['String']['output']>>;
@@ -1906,6 +2051,10 @@ export type Mutation = {
1906
2051
  assignConv: Conversation;
1907
2052
  assignOwner: UserRole;
1908
2053
  assignUserRole: UserRole;
2054
+ /** Blacklist a client by id. Blacklisted clients are ignored for inbound messages, broadcasts, and start conversation. */
2055
+ blacklistClient: Client;
2056
+ /** Bulk blacklist clients by IDs. */
2057
+ bulkBlacklistClients: BulkPermanentDeleteClientsResult;
1909
2058
  /**
1910
2059
  * Bulk soft delete clients by IDs. This archives clients by setting deletedAt.
1911
2060
  * You should have the MANAGE_CLIENTS permission to bulk delete clients.
@@ -1925,6 +2074,8 @@ export type Mutation = {
1925
2074
  * You should have the MANAGE_WORKSPACE permission to permanently delete clients.
1926
2075
  */
1927
2076
  bulkPermanentDeleteClientsByFilter: BulkPermanentDeleteClientsResult;
2077
+ /** Bulk remove clients from the blacklist by IDs. */
2078
+ bulkUnblacklistClients: BulkPermanentDeleteClientsResult;
1928
2079
  /**
1929
2080
  * Bulk undelete clients by IDs. This restores archived clients by clearing deletedAt.
1930
2081
  * You should have the MANAGE_CLIENTS permission to bulk undelete clients.
@@ -1974,6 +2125,11 @@ export type Mutation = {
1974
2125
  /** Delete a tag. You should have the MANAGE_WORKSPACE permission to delete a tag. */
1975
2126
  deleteTag: Tag;
1976
2127
  deleteWebhook: Webhook;
2128
+ /**
2129
+ * Permanently delete a workspace. Only the OWNER can call this.
2130
+ * Removes core data, then calls internal endpoints on bot, billing, and auth to remove related data.
2131
+ */
2132
+ deleteWorkspace: DeleteWorkspaceResult;
1977
2133
  /** End a conversation. If you don't have the MANAGE_CONVS permission, you can only end the conversation you are assigned to. */
1978
2134
  endConv: Conversation;
1979
2135
  /** Generate an API key. You should have the MANAGE_WORKSPACE permission to generate an API key. */
@@ -2006,6 +2162,11 @@ export type Mutation = {
2006
2162
  putClient: Client;
2007
2163
  /** Remove a quick reply. You should have the MANAGE_WORKSPACE permission to remove a quick reply. */
2008
2164
  removeQuickReply: QuickReply;
2165
+ /**
2166
+ * Retry failed broadcast targets whose failure reason is transient.
2167
+ * You should have the MANAGE_CONVS permission to retry failed broadcast targets.
2168
+ */
2169
+ retryFailedBroadcastTargets: RetryFailedBroadcastTargetsPayload;
2009
2170
  say?: Maybe<HelloMessage>;
2010
2171
  /** Send a notification to a client. (It can be used also for OTP messages) */
2011
2172
  sendNotification: Message;
@@ -2027,6 +2188,8 @@ export type Mutation = {
2027
2188
  /** Tag a message. */
2028
2189
  tagMessage: Message;
2029
2190
  unassignUserRole: Scalars['Boolean']['output'];
2191
+ /** Remove a client from the blacklist by id. */
2192
+ unblacklistClient: Client;
2030
2193
  /** Undelete a client by id. You should have the MANAGE_CLIENTS permission to undelete a client. */
2031
2194
  undeleteClient: Client;
2032
2195
  /** Undelete a client by externalClientId. You should have the MANAGE_CLIENTS permission to undelete a client. */
@@ -2053,6 +2216,12 @@ export type MutationAssignOwnerArgs = {
2053
2216
  export type MutationAssignUserRoleArgs = {
2054
2217
  input: InputAssignUserRole;
2055
2218
  };
2219
+ export type MutationBlacklistClientArgs = {
2220
+ input: ClientInput;
2221
+ };
2222
+ export type MutationBulkBlacklistClientsArgs = {
2223
+ input: BulkPermanentDeleteClientsInput;
2224
+ };
2056
2225
  export type MutationBulkDeleteClientsArgs = {
2057
2226
  input: BulkPermanentDeleteClientsInput;
2058
2227
  };
@@ -2068,6 +2237,9 @@ export type MutationBulkPermanentDeleteClientsArgs = {
2068
2237
  export type MutationBulkPermanentDeleteClientsByFilterArgs = {
2069
2238
  input: BulkPermanentDeleteClientsByFilterInput;
2070
2239
  };
2240
+ export type MutationBulkUnblacklistClientsArgs = {
2241
+ input: BulkPermanentDeleteClientsInput;
2242
+ };
2071
2243
  export type MutationBulkUndeleteClientsArgs = {
2072
2244
  input: BulkPermanentDeleteClientsInput;
2073
2245
  };
@@ -2137,6 +2309,9 @@ export type MutationDeleteTagArgs = {
2137
2309
  export type MutationDeleteWebhookArgs = {
2138
2310
  input: WebhookDeleteInput;
2139
2311
  };
2312
+ export type MutationDeleteWorkspaceArgs = {
2313
+ input: DeleteWorkspaceInput;
2314
+ };
2140
2315
  export type MutationEndConvArgs = {
2141
2316
  input: ConvEndInput;
2142
2317
  };
@@ -2188,6 +2363,9 @@ export type MutationPutClientArgs = {
2188
2363
  export type MutationRemoveQuickReplyArgs = {
2189
2364
  input: QuickReplyRemoveInput;
2190
2365
  };
2366
+ export type MutationRetryFailedBroadcastTargetsArgs = {
2367
+ input: RetryFailedBroadcastTargetsInput;
2368
+ };
2191
2369
  export type MutationSayArgs = {
2192
2370
  input: UserInput;
2193
2371
  };
@@ -2212,6 +2390,9 @@ export type MutationTagMessageArgs = {
2212
2390
  export type MutationUnassignUserRoleArgs = {
2213
2391
  input: InputUnassignUserRole;
2214
2392
  };
2393
+ export type MutationUnblacklistClientArgs = {
2394
+ input: ClientInput;
2395
+ };
2215
2396
  export type MutationUndeleteClientArgs = {
2216
2397
  input: ClientInput;
2217
2398
  };
@@ -2556,6 +2737,17 @@ export type QuickReplyRemoveInput = {
2556
2737
  id: Scalars['ID']['input'];
2557
2738
  workspaceId: Scalars['Int']['input'];
2558
2739
  };
2740
+ /** RetryFailedBroadcastTargetsInput is an input of the retry failed broadcast targets mutation. */
2741
+ export type RetryFailedBroadcastTargetsInput = {
2742
+ id: Scalars['ID']['input'];
2743
+ workspaceId: Scalars['Int']['input'];
2744
+ };
2745
+ /** RetryFailedBroadcastTargetsPayload is the result of retrying failed broadcast targets. */
2746
+ export type RetryFailedBroadcastTargetsPayload = {
2747
+ __typename?: 'RetryFailedBroadcastTargetsPayload';
2748
+ broadcast: Broadcast;
2749
+ retriedCount: Scalars['Int']['output'];
2750
+ };
2559
2751
  export declare const Role: {
2560
2752
  readonly ADMIN: "ADMIN";
2561
2753
  readonly AGENT: "AGENT";
@@ -2604,6 +2796,21 @@ export type SendNotificationInput = {
2604
2796
  * }
2605
2797
  * ]
2606
2798
  *
2799
+ * For templates with named parameters (parameter_format: NAMED), include parameter_name on each parameter:
2800
+ *
2801
+ * [
2802
+ * {
2803
+ * "type": "body",
2804
+ * "parameters": [
2805
+ * {
2806
+ * "type": "text",
2807
+ * "parameter_name": "customer_name",
2808
+ * "text": "Jessica"
2809
+ * }
2810
+ * ]
2811
+ * }
2812
+ * ]
2813
+ *
2607
2814
  * In string values anywhere inside components you may use placeholders: {{fieldName}}
2608
2815
  * where fieldName is one of name, surname, fullName, email, phone, address, code, city, country.
2609
2816
  * They are replaced with that client's data when the message is sent (empty string if the property is missing).
@@ -2912,6 +3119,8 @@ export declare const WebhookEvent: {
2912
3119
  readonly ANY_EVENT: "ANY_EVENT";
2913
3120
  /** CLIENT_UPDATED is a special event that will trigger the webhook for client updates. */
2914
3121
  readonly CLIENT_UPDATED: "CLIENT_UPDATED";
3122
+ /** CONVERSATION_ASSIGNED is triggered when a conversation assignee changes (agent, AI, or unassigned). */
3123
+ readonly CONVERSATION_ASSIGNED: "CONVERSATION_ASSIGNED";
2915
3124
  /** ENDING_CONV is a special event that will trigger the webhook for ending conversations. */
2916
3125
  readonly ENDING_CONV: "ENDING_CONV";
2917
3126
  /** INCOMING_MESSAGE is a special event that will trigger the webhook for incoming messages. */
@@ -3663,6 +3872,7 @@ export type BroadcastDeliveryReportQuery = {
3663
3872
  delivered: number;
3664
3873
  read: number;
3665
3874
  failed: number;
3875
+ retryableFailed: number;
3666
3876
  pending: number;
3667
3877
  failedMessages?: Array<{
3668
3878
  __typename?: 'Message';
@@ -3923,6 +4133,37 @@ export type PatchBroadcastMutation = {
3923
4133
  error?: string | null;
3924
4134
  };
3925
4135
  };
4136
+ export type RetryFailedBroadcastTargetsMutationVariables = Exact<{
4137
+ input: RetryFailedBroadcastTargetsInput;
4138
+ }>;
4139
+ export type RetryFailedBroadcastTargetsMutation = {
4140
+ __typename?: 'Mutation';
4141
+ retryFailedBroadcastTargets: {
4142
+ __typename?: 'RetryFailedBroadcastTargetsPayload';
4143
+ retriedCount: number;
4144
+ broadcast: {
4145
+ __typename?: 'Broadcast';
4146
+ workspaceId: number;
4147
+ id: string;
4148
+ name: string;
4149
+ integrationId: string;
4150
+ state: BroadcastState;
4151
+ clientTags?: Array<string> | null;
4152
+ clientStageId?: string | null;
4153
+ templateName: string;
4154
+ templateLang?: string | null;
4155
+ country?: string | null;
4156
+ templateComponents?: any | null;
4157
+ createdAt: any;
4158
+ scheduledAt?: any | null;
4159
+ startedAt?: any | null;
4160
+ completedAt?: any | null;
4161
+ totalCount?: number | null;
4162
+ failedCount?: number | null;
4163
+ error?: string | null;
4164
+ };
4165
+ };
4166
+ };
3926
4167
  export type WorkspaceBroadcastMessageStatusesQueryVariables = Exact<{
3927
4168
  input: WorkspaceBroadcastMessageStatusesInput;
3928
4169
  pageInfo?: InputMaybe<PageInfoInput>;
@@ -4137,6 +4378,8 @@ export type ConversationFragment = {
4137
4378
  ratingFlowInProgress?: boolean | null;
4138
4379
  broadcastId?: string | null;
4139
4380
  broadcastName?: string | null;
4381
+ sourceType?: string | null;
4382
+ sourceUrl?: string | null;
4140
4383
  integrationSwitches?: Array<{
4141
4384
  __typename?: 'ConvIntegrationSwitch';
4142
4385
  fromIntegrationId: string;
@@ -4172,6 +4415,7 @@ export type ConversationFragment = {
4172
4415
  surname?: string | null;
4173
4416
  code?: string | null;
4174
4417
  phone?: string | null;
4418
+ avatarUrl?: string | null;
4175
4419
  isDeleted: boolean;
4176
4420
  } | null;
4177
4421
  assignees?: Array<{
@@ -4329,6 +4573,8 @@ export type AssignConvMutation = {
4329
4573
  ratingFlowInProgress?: boolean | null;
4330
4574
  broadcastId?: string | null;
4331
4575
  broadcastName?: string | null;
4576
+ sourceType?: string | null;
4577
+ sourceUrl?: string | null;
4332
4578
  integrationSwitches?: Array<{
4333
4579
  __typename?: 'ConvIntegrationSwitch';
4334
4580
  fromIntegrationId: string;
@@ -4364,6 +4610,7 @@ export type AssignConvMutation = {
4364
4610
  surname?: string | null;
4365
4611
  code?: string | null;
4366
4612
  phone?: string | null;
4613
+ avatarUrl?: string | null;
4367
4614
  isDeleted: boolean;
4368
4615
  } | null;
4369
4616
  assignees?: Array<{
@@ -4400,6 +4647,8 @@ export type ConvQuery = {
4400
4647
  ratingFlowInProgress?: boolean | null;
4401
4648
  broadcastId?: string | null;
4402
4649
  broadcastName?: string | null;
4650
+ sourceType?: string | null;
4651
+ sourceUrl?: string | null;
4403
4652
  integrationSwitches?: Array<{
4404
4653
  __typename?: 'ConvIntegrationSwitch';
4405
4654
  fromIntegrationId: string;
@@ -4435,6 +4684,7 @@ export type ConvQuery = {
4435
4684
  surname?: string | null;
4436
4685
  code?: string | null;
4437
4686
  phone?: string | null;
4687
+ avatarUrl?: string | null;
4438
4688
  isDeleted: boolean;
4439
4689
  } | null;
4440
4690
  assignees?: Array<{
@@ -4507,6 +4757,8 @@ export type ConvsQuery = {
4507
4757
  ratingFlowInProgress?: boolean | null;
4508
4758
  broadcastId?: string | null;
4509
4759
  broadcastName?: string | null;
4760
+ sourceType?: string | null;
4761
+ sourceUrl?: string | null;
4510
4762
  integrationSwitches?: Array<{
4511
4763
  __typename?: 'ConvIntegrationSwitch';
4512
4764
  fromIntegrationId: string;
@@ -4542,6 +4794,7 @@ export type ConvsQuery = {
4542
4794
  surname?: string | null;
4543
4795
  code?: string | null;
4544
4796
  phone?: string | null;
4797
+ avatarUrl?: string | null;
4545
4798
  isDeleted: boolean;
4546
4799
  } | null;
4547
4800
  assignees?: Array<{
@@ -4623,6 +4876,8 @@ export type EndConvMutation = {
4623
4876
  ratingFlowInProgress?: boolean | null;
4624
4877
  broadcastId?: string | null;
4625
4878
  broadcastName?: string | null;
4879
+ sourceType?: string | null;
4880
+ sourceUrl?: string | null;
4626
4881
  integrationSwitches?: Array<{
4627
4882
  __typename?: 'ConvIntegrationSwitch';
4628
4883
  fromIntegrationId: string;
@@ -4658,6 +4913,7 @@ export type EndConvMutation = {
4658
4913
  surname?: string | null;
4659
4914
  code?: string | null;
4660
4915
  phone?: string | null;
4916
+ avatarUrl?: string | null;
4661
4917
  isDeleted: boolean;
4662
4918
  } | null;
4663
4919
  assignees?: Array<{
@@ -4694,6 +4950,8 @@ export type HandoverConvMutation = {
4694
4950
  ratingFlowInProgress?: boolean | null;
4695
4951
  broadcastId?: string | null;
4696
4952
  broadcastName?: string | null;
4953
+ sourceType?: string | null;
4954
+ sourceUrl?: string | null;
4697
4955
  integrationSwitches?: Array<{
4698
4956
  __typename?: 'ConvIntegrationSwitch';
4699
4957
  fromIntegrationId: string;
@@ -4729,6 +4987,7 @@ export type HandoverConvMutation = {
4729
4987
  surname?: string | null;
4730
4988
  code?: string | null;
4731
4989
  phone?: string | null;
4990
+ avatarUrl?: string | null;
4732
4991
  isDeleted: boolean;
4733
4992
  } | null;
4734
4993
  assignees?: Array<{
@@ -4827,6 +5086,8 @@ export type PatchConvMutation = {
4827
5086
  ratingFlowInProgress?: boolean | null;
4828
5087
  broadcastId?: string | null;
4829
5088
  broadcastName?: string | null;
5089
+ sourceType?: string | null;
5090
+ sourceUrl?: string | null;
4830
5091
  integrationSwitches?: Array<{
4831
5092
  __typename?: 'ConvIntegrationSwitch';
4832
5093
  fromIntegrationId: string;
@@ -4862,6 +5123,7 @@ export type PatchConvMutation = {
4862
5123
  surname?: string | null;
4863
5124
  code?: string | null;
4864
5125
  phone?: string | null;
5126
+ avatarUrl?: string | null;
4865
5127
  isDeleted: boolean;
4866
5128
  } | null;
4867
5129
  assignees?: Array<{
@@ -4898,6 +5160,8 @@ export type StartConvMutation = {
4898
5160
  ratingFlowInProgress?: boolean | null;
4899
5161
  broadcastId?: string | null;
4900
5162
  broadcastName?: string | null;
5163
+ sourceType?: string | null;
5164
+ sourceUrl?: string | null;
4901
5165
  integrationSwitches?: Array<{
4902
5166
  __typename?: 'ConvIntegrationSwitch';
4903
5167
  fromIntegrationId: string;
@@ -4933,6 +5197,7 @@ export type StartConvMutation = {
4933
5197
  surname?: string | null;
4934
5198
  code?: string | null;
4935
5199
  phone?: string | null;
5200
+ avatarUrl?: string | null;
4936
5201
  isDeleted: boolean;
4937
5202
  } | null;
4938
5203
  assignees?: Array<{
@@ -4960,6 +5225,7 @@ export type TagClientMutation = {
4960
5225
  code?: string | null;
4961
5226
  city?: string | null;
4962
5227
  country?: string | null;
5228
+ avatarUrl?: string | null;
4963
5229
  externalClientId?: string | null;
4964
5230
  tags?: Array<string> | null;
4965
5231
  createdAt: any;
@@ -4967,6 +5233,8 @@ export type TagClientMutation = {
4967
5233
  defaultAgentId?: string | null;
4968
5234
  deletedAt?: any | null;
4969
5235
  archivedBy?: string | null;
5236
+ blacklistedAt?: any | null;
5237
+ blacklistedBy?: string | null;
4970
5238
  };
4971
5239
  };
4972
5240
  export type TagConvMutationVariables = Exact<{
@@ -4995,6 +5263,8 @@ export type TagConvMutation = {
4995
5263
  ratingFlowInProgress?: boolean | null;
4996
5264
  broadcastId?: string | null;
4997
5265
  broadcastName?: string | null;
5266
+ sourceType?: string | null;
5267
+ sourceUrl?: string | null;
4998
5268
  integrationSwitches?: Array<{
4999
5269
  __typename?: 'ConvIntegrationSwitch';
5000
5270
  fromIntegrationId: string;
@@ -5030,6 +5300,7 @@ export type TagConvMutation = {
5030
5300
  surname?: string | null;
5031
5301
  code?: string | null;
5032
5302
  phone?: string | null;
5303
+ avatarUrl?: string | null;
5033
5304
  isDeleted: boolean;
5034
5305
  } | null;
5035
5306
  assignees?: Array<{
@@ -5073,6 +5344,7 @@ export type UntagClientMutation = {
5073
5344
  code?: string | null;
5074
5345
  city?: string | null;
5075
5346
  country?: string | null;
5347
+ avatarUrl?: string | null;
5076
5348
  externalClientId?: string | null;
5077
5349
  tags?: Array<string> | null;
5078
5350
  createdAt: any;
@@ -5080,6 +5352,8 @@ export type UntagClientMutation = {
5080
5352
  defaultAgentId?: string | null;
5081
5353
  deletedAt?: any | null;
5082
5354
  archivedBy?: string | null;
5355
+ blacklistedAt?: any | null;
5356
+ blacklistedBy?: string | null;
5083
5357
  };
5084
5358
  };
5085
5359
  export type UntagConvMutationVariables = Exact<{
@@ -5108,6 +5382,8 @@ export type UntagConvMutation = {
5108
5382
  ratingFlowInProgress?: boolean | null;
5109
5383
  broadcastId?: string | null;
5110
5384
  broadcastName?: string | null;
5385
+ sourceType?: string | null;
5386
+ sourceUrl?: string | null;
5111
5387
  integrationSwitches?: Array<{
5112
5388
  __typename?: 'ConvIntegrationSwitch';
5113
5389
  fromIntegrationId: string;
@@ -5143,6 +5419,7 @@ export type UntagConvMutation = {
5143
5419
  surname?: string | null;
5144
5420
  code?: string | null;
5145
5421
  phone?: string | null;
5422
+ avatarUrl?: string | null;
5146
5423
  isDeleted: boolean;
5147
5424
  } | null;
5148
5425
  assignees?: Array<{
@@ -5201,6 +5478,7 @@ export type ClientFragment = {
5201
5478
  code?: string | null;
5202
5479
  city?: string | null;
5203
5480
  country?: string | null;
5481
+ avatarUrl?: string | null;
5204
5482
  externalClientId?: string | null;
5205
5483
  tags?: Array<string> | null;
5206
5484
  createdAt: any;
@@ -5208,6 +5486,8 @@ export type ClientFragment = {
5208
5486
  defaultAgentId?: string | null;
5209
5487
  deletedAt?: any | null;
5210
5488
  archivedBy?: string | null;
5489
+ blacklistedAt?: any | null;
5490
+ blacklistedBy?: string | null;
5211
5491
  };
5212
5492
  export type QuickReplyFragment = {
5213
5493
  __typename?: 'QuickReply';
@@ -5233,6 +5513,45 @@ export type AddQuickReplyMutation = {
5233
5513
  updatedAt: any;
5234
5514
  };
5235
5515
  };
5516
+ export type BlacklistClientMutationVariables = Exact<{
5517
+ input: ClientInput;
5518
+ }>;
5519
+ export type BlacklistClientMutation = {
5520
+ __typename?: 'Mutation';
5521
+ blacklistClient: {
5522
+ __typename?: 'Client';
5523
+ workspaceId: number;
5524
+ id: string;
5525
+ email?: string | null;
5526
+ name?: string | null;
5527
+ surname?: string | null;
5528
+ phone?: string | null;
5529
+ address?: string | null;
5530
+ code?: string | null;
5531
+ city?: string | null;
5532
+ country?: string | null;
5533
+ avatarUrl?: string | null;
5534
+ externalClientId?: string | null;
5535
+ tags?: Array<string> | null;
5536
+ createdAt: any;
5537
+ stageId?: string | null;
5538
+ defaultAgentId?: string | null;
5539
+ deletedAt?: any | null;
5540
+ archivedBy?: string | null;
5541
+ blacklistedAt?: any | null;
5542
+ blacklistedBy?: string | null;
5543
+ };
5544
+ };
5545
+ export type BulkBlacklistClientsMutationVariables = Exact<{
5546
+ input: BulkPermanentDeleteClientsInput;
5547
+ }>;
5548
+ export type BulkBlacklistClientsMutation = {
5549
+ __typename?: 'Mutation';
5550
+ bulkBlacklistClients: {
5551
+ __typename?: 'BulkPermanentDeleteClientsResult';
5552
+ deletedCount: number;
5553
+ };
5554
+ };
5236
5555
  export type BulkDeleteClientsMutationVariables = Exact<{
5237
5556
  input: BulkPermanentDeleteClientsInput;
5238
5557
  }>;
@@ -5292,6 +5611,16 @@ export type BulkPermanentDeleteClientsByFilterMutation = {
5292
5611
  deletedCount: number;
5293
5612
  };
5294
5613
  };
5614
+ export type BulkUnblacklistClientsMutationVariables = Exact<{
5615
+ input: BulkPermanentDeleteClientsInput;
5616
+ }>;
5617
+ export type BulkUnblacklistClientsMutation = {
5618
+ __typename?: 'Mutation';
5619
+ bulkUnblacklistClients: {
5620
+ __typename?: 'BulkPermanentDeleteClientsResult';
5621
+ deletedCount: number;
5622
+ };
5623
+ };
5295
5624
  export type BulkUndeleteClientsMutationVariables = Exact<{
5296
5625
  input: BulkPermanentDeleteClientsInput;
5297
5626
  }>;
@@ -5319,6 +5648,7 @@ export type ClientQuery = {
5319
5648
  code?: string | null;
5320
5649
  city?: string | null;
5321
5650
  country?: string | null;
5651
+ avatarUrl?: string | null;
5322
5652
  externalClientId?: string | null;
5323
5653
  tags?: Array<string> | null;
5324
5654
  createdAt: any;
@@ -5326,6 +5656,8 @@ export type ClientQuery = {
5326
5656
  defaultAgentId?: string | null;
5327
5657
  deletedAt?: any | null;
5328
5658
  archivedBy?: string | null;
5659
+ blacklistedAt?: any | null;
5660
+ blacklistedBy?: string | null;
5329
5661
  };
5330
5662
  };
5331
5663
  export type ClientByPhoneQueryVariables = Exact<{
@@ -5345,6 +5677,7 @@ export type ClientByPhoneQuery = {
5345
5677
  code?: string | null;
5346
5678
  city?: string | null;
5347
5679
  country?: string | null;
5680
+ avatarUrl?: string | null;
5348
5681
  externalClientId?: string | null;
5349
5682
  tags?: Array<string> | null;
5350
5683
  createdAt: any;
@@ -5352,6 +5685,8 @@ export type ClientByPhoneQuery = {
5352
5685
  defaultAgentId?: string | null;
5353
5686
  deletedAt?: any | null;
5354
5687
  archivedBy?: string | null;
5688
+ blacklistedAt?: any | null;
5689
+ blacklistedBy?: string | null;
5355
5690
  };
5356
5691
  };
5357
5692
  export type ClientsQueryVariables = Exact<{
@@ -5374,6 +5709,7 @@ export type ClientsQuery = {
5374
5709
  code?: string | null;
5375
5710
  city?: string | null;
5376
5711
  country?: string | null;
5712
+ avatarUrl?: string | null;
5377
5713
  externalClientId?: string | null;
5378
5714
  tags?: Array<string> | null;
5379
5715
  createdAt: any;
@@ -5381,6 +5717,8 @@ export type ClientsQuery = {
5381
5717
  defaultAgentId?: string | null;
5382
5718
  deletedAt?: any | null;
5383
5719
  archivedBy?: string | null;
5720
+ blacklistedAt?: any | null;
5721
+ blacklistedBy?: string | null;
5384
5722
  }> | null;
5385
5723
  pageInfo?: {
5386
5724
  __typename?: 'PageInfo';
@@ -5407,6 +5745,7 @@ export type CreateClientMutation = {
5407
5745
  code?: string | null;
5408
5746
  city?: string | null;
5409
5747
  country?: string | null;
5748
+ avatarUrl?: string | null;
5410
5749
  externalClientId?: string | null;
5411
5750
  tags?: Array<string> | null;
5412
5751
  createdAt: any;
@@ -5414,6 +5753,8 @@ export type CreateClientMutation = {
5414
5753
  defaultAgentId?: string | null;
5415
5754
  deletedAt?: any | null;
5416
5755
  archivedBy?: string | null;
5756
+ blacklistedAt?: any | null;
5757
+ blacklistedBy?: string | null;
5417
5758
  };
5418
5759
  };
5419
5760
  export type DeleteClientMutationVariables = Exact<{
@@ -5433,6 +5774,7 @@ export type DeleteClientMutation = {
5433
5774
  code?: string | null;
5434
5775
  city?: string | null;
5435
5776
  country?: string | null;
5777
+ avatarUrl?: string | null;
5436
5778
  externalClientId?: string | null;
5437
5779
  tags?: Array<string> | null;
5438
5780
  createdAt: any;
@@ -5440,6 +5782,8 @@ export type DeleteClientMutation = {
5440
5782
  defaultAgentId?: string | null;
5441
5783
  deletedAt?: any | null;
5442
5784
  archivedBy?: string | null;
5785
+ blacklistedAt?: any | null;
5786
+ blacklistedBy?: string | null;
5443
5787
  };
5444
5788
  };
5445
5789
  export type DeleteClientByExternalIdMutationVariables = Exact<{
@@ -5459,6 +5803,7 @@ export type DeleteClientByExternalIdMutation = {
5459
5803
  code?: string | null;
5460
5804
  city?: string | null;
5461
5805
  country?: string | null;
5806
+ avatarUrl?: string | null;
5462
5807
  externalClientId?: string | null;
5463
5808
  tags?: Array<string> | null;
5464
5809
  createdAt: any;
@@ -5466,6 +5811,8 @@ export type DeleteClientByExternalIdMutation = {
5466
5811
  defaultAgentId?: string | null;
5467
5812
  deletedAt?: any | null;
5468
5813
  archivedBy?: string | null;
5814
+ blacklistedAt?: any | null;
5815
+ blacklistedBy?: string | null;
5469
5816
  };
5470
5817
  };
5471
5818
  export type PatchClientMutationVariables = Exact<{
@@ -5485,6 +5832,7 @@ export type PatchClientMutation = {
5485
5832
  code?: string | null;
5486
5833
  city?: string | null;
5487
5834
  country?: string | null;
5835
+ avatarUrl?: string | null;
5488
5836
  externalClientId?: string | null;
5489
5837
  tags?: Array<string> | null;
5490
5838
  createdAt: any;
@@ -5492,6 +5840,8 @@ export type PatchClientMutation = {
5492
5840
  defaultAgentId?: string | null;
5493
5841
  deletedAt?: any | null;
5494
5842
  archivedBy?: string | null;
5843
+ blacklistedAt?: any | null;
5844
+ blacklistedBy?: string | null;
5495
5845
  };
5496
5846
  };
5497
5847
  export type PatchQuickReplyMutationVariables = Exact<{
@@ -5542,6 +5892,35 @@ export type RemoveQuickReplyMutation = {
5542
5892
  updatedAt: any;
5543
5893
  };
5544
5894
  };
5895
+ export type UnblacklistClientMutationVariables = Exact<{
5896
+ input: ClientInput;
5897
+ }>;
5898
+ export type UnblacklistClientMutation = {
5899
+ __typename?: 'Mutation';
5900
+ unblacklistClient: {
5901
+ __typename?: 'Client';
5902
+ workspaceId: number;
5903
+ id: string;
5904
+ email?: string | null;
5905
+ name?: string | null;
5906
+ surname?: string | null;
5907
+ phone?: string | null;
5908
+ address?: string | null;
5909
+ code?: string | null;
5910
+ city?: string | null;
5911
+ country?: string | null;
5912
+ avatarUrl?: string | null;
5913
+ externalClientId?: string | null;
5914
+ tags?: Array<string> | null;
5915
+ createdAt: any;
5916
+ stageId?: string | null;
5917
+ defaultAgentId?: string | null;
5918
+ deletedAt?: any | null;
5919
+ archivedBy?: string | null;
5920
+ blacklistedAt?: any | null;
5921
+ blacklistedBy?: string | null;
5922
+ };
5923
+ };
5545
5924
  export type UndeleteClientMutationVariables = Exact<{
5546
5925
  input: ClientInput;
5547
5926
  }>;
@@ -5559,6 +5938,7 @@ export type UndeleteClientMutation = {
5559
5938
  code?: string | null;
5560
5939
  city?: string | null;
5561
5940
  country?: string | null;
5941
+ avatarUrl?: string | null;
5562
5942
  externalClientId?: string | null;
5563
5943
  tags?: Array<string> | null;
5564
5944
  createdAt: any;
@@ -5566,6 +5946,8 @@ export type UndeleteClientMutation = {
5566
5946
  defaultAgentId?: string | null;
5567
5947
  deletedAt?: any | null;
5568
5948
  archivedBy?: string | null;
5949
+ blacklistedAt?: any | null;
5950
+ blacklistedBy?: string | null;
5569
5951
  };
5570
5952
  };
5571
5953
  export type UndeleteClientByExternalIdMutationVariables = Exact<{
@@ -5585,6 +5967,7 @@ export type UndeleteClientByExternalIdMutation = {
5585
5967
  code?: string | null;
5586
5968
  city?: string | null;
5587
5969
  country?: string | null;
5970
+ avatarUrl?: string | null;
5588
5971
  externalClientId?: string | null;
5589
5972
  tags?: Array<string> | null;
5590
5973
  createdAt: any;
@@ -5592,6 +5975,8 @@ export type UndeleteClientByExternalIdMutation = {
5592
5975
  defaultAgentId?: string | null;
5593
5976
  deletedAt?: any | null;
5594
5977
  archivedBy?: string | null;
5978
+ blacklistedAt?: any | null;
5979
+ blacklistedBy?: string | null;
5595
5980
  };
5596
5981
  };
5597
5982
  export type ValidateBulkImportContactsQueryVariables = Exact<{
@@ -6995,6 +7380,31 @@ export declare function usePatchBroadcastMutation(baseOptions?: Apollo.MutationH
6995
7380
  export type PatchBroadcastMutationHookResult = ReturnType<typeof usePatchBroadcastMutation>;
6996
7381
  export type PatchBroadcastMutationResult = Apollo.MutationResult<PatchBroadcastMutation>;
6997
7382
  export type PatchBroadcastMutationOptions = Apollo.BaseMutationOptions<PatchBroadcastMutation, PatchBroadcastMutationVariables>;
7383
+ export declare const RetryFailedBroadcastTargetsDocument: Apollo.DocumentNode;
7384
+ export type RetryFailedBroadcastTargetsMutationFn = Apollo.MutationFunction<RetryFailedBroadcastTargetsMutation, RetryFailedBroadcastTargetsMutationVariables>;
7385
+ /**
7386
+ * __useRetryFailedBroadcastTargetsMutation__
7387
+ *
7388
+ * To run a mutation, you first call `useRetryFailedBroadcastTargetsMutation` within a React component and pass it any options that fit your needs.
7389
+ * When your component renders, `useRetryFailedBroadcastTargetsMutation` returns a tuple that includes:
7390
+ * - A mutate function that you can call at any time to execute the mutation
7391
+ * - An object with fields that represent the current status of the mutation's execution
7392
+ *
7393
+ * @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;
7394
+ *
7395
+ * @example
7396
+ * const [retryFailedBroadcastTargetsMutation, { data, loading, error }] = useRetryFailedBroadcastTargetsMutation({
7397
+ * variables: {
7398
+ * input: // value for 'input'
7399
+ * },
7400
+ * });
7401
+ */
7402
+ export declare function useRetryFailedBroadcastTargetsMutation(baseOptions?: Apollo.MutationHookOptions<RetryFailedBroadcastTargetsMutation, RetryFailedBroadcastTargetsMutationVariables>): Apollo.MutationTuple<RetryFailedBroadcastTargetsMutation, Exact<{
7403
+ input: RetryFailedBroadcastTargetsInput;
7404
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
7405
+ export type RetryFailedBroadcastTargetsMutationHookResult = ReturnType<typeof useRetryFailedBroadcastTargetsMutation>;
7406
+ export type RetryFailedBroadcastTargetsMutationResult = Apollo.MutationResult<RetryFailedBroadcastTargetsMutation>;
7407
+ export type RetryFailedBroadcastTargetsMutationOptions = Apollo.BaseMutationOptions<RetryFailedBroadcastTargetsMutation, RetryFailedBroadcastTargetsMutationVariables>;
6998
7408
  export declare const WorkspaceBroadcastMessageStatusesDocument: Apollo.DocumentNode;
6999
7409
  /**
7000
7410
  * __useWorkspaceBroadcastMessageStatusesQuery__
@@ -8062,6 +8472,56 @@ export declare function useAddQuickReplyMutation(baseOptions?: Apollo.MutationHo
8062
8472
  export type AddQuickReplyMutationHookResult = ReturnType<typeof useAddQuickReplyMutation>;
8063
8473
  export type AddQuickReplyMutationResult = Apollo.MutationResult<AddQuickReplyMutation>;
8064
8474
  export type AddQuickReplyMutationOptions = Apollo.BaseMutationOptions<AddQuickReplyMutation, AddQuickReplyMutationVariables>;
8475
+ export declare const BlacklistClientDocument: Apollo.DocumentNode;
8476
+ export type BlacklistClientMutationFn = Apollo.MutationFunction<BlacklistClientMutation, BlacklistClientMutationVariables>;
8477
+ /**
8478
+ * __useBlacklistClientMutation__
8479
+ *
8480
+ * To run a mutation, you first call `useBlacklistClientMutation` within a React component and pass it any options that fit your needs.
8481
+ * When your component renders, `useBlacklistClientMutation` returns a tuple that includes:
8482
+ * - A mutate function that you can call at any time to execute the mutation
8483
+ * - An object with fields that represent the current status of the mutation's execution
8484
+ *
8485
+ * @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;
8486
+ *
8487
+ * @example
8488
+ * const [blacklistClientMutation, { data, loading, error }] = useBlacklistClientMutation({
8489
+ * variables: {
8490
+ * input: // value for 'input'
8491
+ * },
8492
+ * });
8493
+ */
8494
+ export declare function useBlacklistClientMutation(baseOptions?: Apollo.MutationHookOptions<BlacklistClientMutation, BlacklistClientMutationVariables>): Apollo.MutationTuple<BlacklistClientMutation, Exact<{
8495
+ input: ClientInput;
8496
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
8497
+ export type BlacklistClientMutationHookResult = ReturnType<typeof useBlacklistClientMutation>;
8498
+ export type BlacklistClientMutationResult = Apollo.MutationResult<BlacklistClientMutation>;
8499
+ export type BlacklistClientMutationOptions = Apollo.BaseMutationOptions<BlacklistClientMutation, BlacklistClientMutationVariables>;
8500
+ export declare const BulkBlacklistClientsDocument: Apollo.DocumentNode;
8501
+ export type BulkBlacklistClientsMutationFn = Apollo.MutationFunction<BulkBlacklistClientsMutation, BulkBlacklistClientsMutationVariables>;
8502
+ /**
8503
+ * __useBulkBlacklistClientsMutation__
8504
+ *
8505
+ * To run a mutation, you first call `useBulkBlacklistClientsMutation` within a React component and pass it any options that fit your needs.
8506
+ * When your component renders, `useBulkBlacklistClientsMutation` returns a tuple that includes:
8507
+ * - A mutate function that you can call at any time to execute the mutation
8508
+ * - An object with fields that represent the current status of the mutation's execution
8509
+ *
8510
+ * @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;
8511
+ *
8512
+ * @example
8513
+ * const [bulkBlacklistClientsMutation, { data, loading, error }] = useBulkBlacklistClientsMutation({
8514
+ * variables: {
8515
+ * input: // value for 'input'
8516
+ * },
8517
+ * });
8518
+ */
8519
+ export declare function useBulkBlacklistClientsMutation(baseOptions?: Apollo.MutationHookOptions<BulkBlacklistClientsMutation, BulkBlacklistClientsMutationVariables>): Apollo.MutationTuple<BulkBlacklistClientsMutation, Exact<{
8520
+ input: BulkPermanentDeleteClientsInput;
8521
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
8522
+ export type BulkBlacklistClientsMutationHookResult = ReturnType<typeof useBulkBlacklistClientsMutation>;
8523
+ export type BulkBlacklistClientsMutationResult = Apollo.MutationResult<BulkBlacklistClientsMutation>;
8524
+ export type BulkBlacklistClientsMutationOptions = Apollo.BaseMutationOptions<BulkBlacklistClientsMutation, BulkBlacklistClientsMutationVariables>;
8065
8525
  export declare const BulkDeleteClientsDocument: Apollo.DocumentNode;
8066
8526
  export type BulkDeleteClientsMutationFn = Apollo.MutationFunction<BulkDeleteClientsMutation, BulkDeleteClientsMutationVariables>;
8067
8527
  /**
@@ -8203,6 +8663,31 @@ export declare function useBulkPermanentDeleteClientsByFilterMutation(baseOption
8203
8663
  export type BulkPermanentDeleteClientsByFilterMutationHookResult = ReturnType<typeof useBulkPermanentDeleteClientsByFilterMutation>;
8204
8664
  export type BulkPermanentDeleteClientsByFilterMutationResult = Apollo.MutationResult<BulkPermanentDeleteClientsByFilterMutation>;
8205
8665
  export type BulkPermanentDeleteClientsByFilterMutationOptions = Apollo.BaseMutationOptions<BulkPermanentDeleteClientsByFilterMutation, BulkPermanentDeleteClientsByFilterMutationVariables>;
8666
+ export declare const BulkUnblacklistClientsDocument: Apollo.DocumentNode;
8667
+ export type BulkUnblacklistClientsMutationFn = Apollo.MutationFunction<BulkUnblacklistClientsMutation, BulkUnblacklistClientsMutationVariables>;
8668
+ /**
8669
+ * __useBulkUnblacklistClientsMutation__
8670
+ *
8671
+ * To run a mutation, you first call `useBulkUnblacklistClientsMutation` within a React component and pass it any options that fit your needs.
8672
+ * When your component renders, `useBulkUnblacklistClientsMutation` returns a tuple that includes:
8673
+ * - A mutate function that you can call at any time to execute the mutation
8674
+ * - An object with fields that represent the current status of the mutation's execution
8675
+ *
8676
+ * @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;
8677
+ *
8678
+ * @example
8679
+ * const [bulkUnblacklistClientsMutation, { data, loading, error }] = useBulkUnblacklistClientsMutation({
8680
+ * variables: {
8681
+ * input: // value for 'input'
8682
+ * },
8683
+ * });
8684
+ */
8685
+ export declare function useBulkUnblacklistClientsMutation(baseOptions?: Apollo.MutationHookOptions<BulkUnblacklistClientsMutation, BulkUnblacklistClientsMutationVariables>): Apollo.MutationTuple<BulkUnblacklistClientsMutation, Exact<{
8686
+ input: BulkPermanentDeleteClientsInput;
8687
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
8688
+ export type BulkUnblacklistClientsMutationHookResult = ReturnType<typeof useBulkUnblacklistClientsMutation>;
8689
+ export type BulkUnblacklistClientsMutationResult = Apollo.MutationResult<BulkUnblacklistClientsMutation>;
8690
+ export type BulkUnblacklistClientsMutationOptions = Apollo.BaseMutationOptions<BulkUnblacklistClientsMutation, BulkUnblacklistClientsMutationVariables>;
8206
8691
  export declare const BulkUndeleteClientsDocument: Apollo.DocumentNode;
8207
8692
  export type BulkUndeleteClientsMutationFn = Apollo.MutationFunction<BulkUndeleteClientsMutation, BulkUndeleteClientsMutationVariables>;
8208
8693
  /**
@@ -8547,6 +9032,31 @@ export declare function useRemoveQuickReplyMutation(baseOptions?: Apollo.Mutatio
8547
9032
  export type RemoveQuickReplyMutationHookResult = ReturnType<typeof useRemoveQuickReplyMutation>;
8548
9033
  export type RemoveQuickReplyMutationResult = Apollo.MutationResult<RemoveQuickReplyMutation>;
8549
9034
  export type RemoveQuickReplyMutationOptions = Apollo.BaseMutationOptions<RemoveQuickReplyMutation, RemoveQuickReplyMutationVariables>;
9035
+ export declare const UnblacklistClientDocument: Apollo.DocumentNode;
9036
+ export type UnblacklistClientMutationFn = Apollo.MutationFunction<UnblacklistClientMutation, UnblacklistClientMutationVariables>;
9037
+ /**
9038
+ * __useUnblacklistClientMutation__
9039
+ *
9040
+ * To run a mutation, you first call `useUnblacklistClientMutation` within a React component and pass it any options that fit your needs.
9041
+ * When your component renders, `useUnblacklistClientMutation` returns a tuple that includes:
9042
+ * - A mutate function that you can call at any time to execute the mutation
9043
+ * - An object with fields that represent the current status of the mutation's execution
9044
+ *
9045
+ * @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;
9046
+ *
9047
+ * @example
9048
+ * const [unblacklistClientMutation, { data, loading, error }] = useUnblacklistClientMutation({
9049
+ * variables: {
9050
+ * input: // value for 'input'
9051
+ * },
9052
+ * });
9053
+ */
9054
+ export declare function useUnblacklistClientMutation(baseOptions?: Apollo.MutationHookOptions<UnblacklistClientMutation, UnblacklistClientMutationVariables>): Apollo.MutationTuple<UnblacklistClientMutation, Exact<{
9055
+ input: ClientInput;
9056
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
9057
+ export type UnblacklistClientMutationHookResult = ReturnType<typeof useUnblacklistClientMutation>;
9058
+ export type UnblacklistClientMutationResult = Apollo.MutationResult<UnblacklistClientMutation>;
9059
+ export type UnblacklistClientMutationOptions = Apollo.BaseMutationOptions<UnblacklistClientMutation, UnblacklistClientMutationVariables>;
8550
9060
  export declare const UndeleteClientDocument: Apollo.DocumentNode;
8551
9061
  export type UndeleteClientMutationFn = Apollo.MutationFunction<UndeleteClientMutation, UndeleteClientMutationVariables>;
8552
9062
  /**