@bcrumbs.net/inbox 0.0.60 → 0.0.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/ar/inbox.json +16 -3
- package/assets/en/inbox.json +15 -2
- package/index.cjs.js +49115 -49417
- package/index.esm.js +49119 -49421
- package/package.json +4 -4
- package/playwright.config.d.ts +9 -0
- package/src/app/ai/components/Crumby/CrumbyComposer.d.ts +1 -1
- package/src/app/ai/components/playground/Button.d.ts +1 -1
- package/src/app/ai/components/playground/ThreadMessages.d.ts +5 -1
- package/src/app/ai/components/playground/TooltipIconButton.d.ts +2 -2
- package/src/app/auth/components/ClerkForgetPanel.d.ts +6 -0
- package/src/app/auth/components/ClerkResetPasswordPanel.d.ts +6 -0
- package/src/app/auth/components/ClerkSessionBridge.d.ts +12 -0
- package/src/app/auth/components/ClerkSignInPanel.d.ts +2 -0
- package/src/app/auth/components/ClerkSignUpPanel.d.ts +2 -0
- package/src/app/auth/components/UserAvatar/AccountSettingsDropdown.d.ts +3 -5
- package/src/app/auth/components/password-page/PasswordFormView.d.ts +10 -1
- package/src/app/auth/config/authProvider.d.ts +12 -0
- package/src/app/auth/config/clerkAppearance.d.ts +430 -0
- package/src/app/auth/hooks/useRoles.d.ts +1 -0
- package/src/app/auth/pages/Auth.style.d.ts +82 -0
- package/src/app/auth/pages/CheckAuth.d.ts +7 -4
- package/src/app/auth/pages/Forget.d.ts +2 -2
- package/src/app/auth/pages/Login.d.ts +2 -3
- package/src/app/auth/pages/Login.style.d.ts +1 -0
- package/src/app/auth/pages/Password.d.ts +2 -2
- package/src/app/auth/pages/Register.d.ts +2 -3
- package/src/app/auth/pages/Register.style.d.ts +5 -0
- package/src/app/auth/utils/avatar.d.ts +1 -0
- package/src/app/auth/utils/clerkTracking.d.ts +9 -0
- package/src/app/auth/utils/resetWorkspaceRoleState.d.ts +4 -0
- package/src/app/billing/utils/pendingPlanPurchaseStorage.d.ts +6 -6
- package/src/app/broadcast/components/BroadcastAnalysisContent.d.ts +3 -1
- package/src/app/broadcast/components/BroadcastAnalysisReciepients.d.ts +6 -1
- package/src/app/broadcast/components/BroadcastAnalysisReciepientsHeader.d.ts +7 -1
- package/src/app/contact/components/ContactFilterOptions.d.ts +4 -1
- package/src/app/contact/components/ContactFormFields.d.ts +4 -1
- package/src/app/dashboard/components/AgentPerformanceCard.d.ts +2 -1
- package/src/app/dashboard/components/BroadcastCampaignProgressCard.d.ts +3 -1
- package/src/app/dashboard/components/DashboardExportButton.d.ts +8 -0
- package/src/app/dashboard/components/DashboardSections.d.ts +2 -1
- package/src/app/dashboard/components/OpenedChatsCard.d.ts +5 -1
- package/src/app/dashboard/components/TagPerformanceCard.d.ts +2 -1
- package/src/app/dashboard/utils/dashboardReportExports.d.ts +100 -0
- package/src/app/generic/components/PhoneDigitsInput.d.ts +7 -0
- package/src/app/generic/hooks/useOnlineStatus.d.ts +1 -1
- package/src/app/generic/hooks/useResourceColumns.d.ts +3 -1
- package/src/app/inbox/components/Chat/ChatHeader.d.ts +2 -0
- package/src/app/inbox/components/Chat/NoConvSelected.d.ts +5 -0
- package/src/app/inbox/components/Chat/index.d.ts +4 -1
- package/src/app/inbox/components/NewDetails/ClientSection.d.ts +2 -1
- package/src/app/inbox/components/NewDetails/UserHeader.d.ts +2 -1
- package/src/app/inbox/components/NewDetails/index.d.ts +2 -1
- package/src/app/inbox/components/Shared/Inbox.d.ts +4 -1
- package/src/app/inbox/components/Shared/MobileChatDetailsSlider.d.ts +15 -0
- package/src/app/inbox/components/Shared/MobileDetailsSwipeHint.d.ts +9 -0
- package/src/app/inbox/components/Shared/MobileMenu.d.ts +2 -1
- package/src/app/inbox/hooks/useConvActions.d.ts +1 -0
- package/src/app/inbox/hooks/useConversationsPerodicFetch.d.ts +3 -0
- package/src/app/inbox/hooks/useStartedTimeAgo.d.ts +5 -0
- package/src/app/inbox/utils/convs.d.ts +8 -1
- package/src/app/inbox/utils/inboxAssignableAis.d.ts +11 -1
- package/src/app/layout/constants/index.d.ts +10 -10
- package/src/app/layout/hooks/useCrumbyEnabled.d.ts +18 -0
- package/src/app/layout/hooks/useCrumbyUpgradeAction.d.ts +10 -0
- package/src/app/managemnet/config/types.d.ts +2 -0
- package/src/app/onboarding/utils/onboardingChecklistPersistence.d.ts +18 -0
- package/src/app/onboarding/utils/onboardingChecklistStorage.d.ts +10 -1
- package/src/app/resources/components/Integrations/Facebook/PagePickerPopup.d.ts +3 -1
- package/src/app/subscriptions/components/NewSubscription/OnboardingStepper.d.ts +8 -0
- package/src/app/subscriptions/components/NewSubscription/SubscriptionFailed.d.ts +6 -0
- package/src/app/subscriptions/components/NewSubscription/SubscriptionName.d.ts +1 -1
- package/src/app/subscriptions/components/NewSubscription/SubscriptionSuccess.d.ts +5 -2
- package/src/app/subscriptions/components/NewSubscription/WorkspaceStepLayout.d.ts +11 -0
- package/src/app/subscriptions/components/Plans/ShowcasePlans.d.ts +3 -1
- package/src/app/subscriptions/components/SubscriptionSwitcher/Switcher.d.ts +1 -1
- package/src/app/subscriptions/pages/NewSubscription.d.ts +1 -1
- package/src/app/subscriptions/utils/estimateUpgradeProration.d.ts +19 -0
- package/src/app/subscriptions/utils/newWorkspaceCheckout.d.ts +16 -0
- package/src/assets/locales/translations.d.ts +84 -0
- package/src/environments/types.d.ts +5 -0
- package/src/graphql.autogenerated.d.ts +582 -1
- package/src/routes/PrivateRoutes.d.ts +1 -5
- package/src/utils/exportCsv.d.ts +8 -0
- package/src/utils/textUtils.d.ts +2 -0
- package/src/app/broadcast/components/BroadcastTargetingComplianceNotice.d.ts +0 -2
- package/src/app/generic/hooks/WithMenuConfig.d.ts +0 -1
- 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,70 @@ export type CreateWorkspaceInput = {
|
|
|
1424
1500
|
taxOffice?: InputMaybe<Scalars['String']['input']>;
|
|
1425
1501
|
website?: InputMaybe<Scalars['String']['input']>;
|
|
1426
1502
|
};
|
|
1503
|
+
/**
|
|
1504
|
+
* Counts of auth records removed when deleting a workspace.
|
|
1505
|
+
* User accounts are preserved; users is always 0.
|
|
1506
|
+
*/
|
|
1507
|
+
export type DeleteWorkspaceAuthCounts = {
|
|
1508
|
+
__typename?: 'DeleteWorkspaceAuthCounts';
|
|
1509
|
+
memberships: Scalars['Int']['output'];
|
|
1510
|
+
users: Scalars['Int']['output'];
|
|
1511
|
+
workspace: Scalars['Int']['output'];
|
|
1512
|
+
};
|
|
1513
|
+
/** Counts of billing records removed when deleting a workspace. */
|
|
1514
|
+
export type DeleteWorkspaceBillingCounts = {
|
|
1515
|
+
__typename?: 'DeleteWorkspaceBillingCounts';
|
|
1516
|
+
billingInfos: Scalars['Int']['output'];
|
|
1517
|
+
paymentMethods: Scalars['Int']['output'];
|
|
1518
|
+
pendingPayments: Scalars['Int']['output'];
|
|
1519
|
+
plans: Scalars['Int']['output'];
|
|
1520
|
+
stripeCards: Scalars['Int']['output'];
|
|
1521
|
+
stripePaymentElements: Scalars['Int']['output'];
|
|
1522
|
+
subscriptions: Scalars['Int']['output'];
|
|
1523
|
+
};
|
|
1524
|
+
/** Counts of bot records removed when deleting a workspace. */
|
|
1525
|
+
export type DeleteWorkspaceBotCounts = {
|
|
1526
|
+
__typename?: 'DeleteWorkspaceBotCounts';
|
|
1527
|
+
ais: Scalars['Int']['output'];
|
|
1528
|
+
blobs: Scalars['Int']['output'];
|
|
1529
|
+
embeddings: Scalars['Int']['output'];
|
|
1530
|
+
sources: Scalars['Int']['output'];
|
|
1531
|
+
tokenUsageLogs: Scalars['Int']['output'];
|
|
1532
|
+
};
|
|
1533
|
+
/** Counts of core records removed when deleting a workspace. */
|
|
1534
|
+
export type DeleteWorkspaceCoreCounts = {
|
|
1535
|
+
__typename?: 'DeleteWorkspaceCoreCounts';
|
|
1536
|
+
agentReports: Scalars['Int']['output'];
|
|
1537
|
+
agents: Scalars['Int']['output'];
|
|
1538
|
+
apiKeys: Scalars['Int']['output'];
|
|
1539
|
+
broadcastReports: Scalars['Int']['output'];
|
|
1540
|
+
broadcasts: Scalars['Int']['output'];
|
|
1541
|
+
clients: Scalars['Int']['output'];
|
|
1542
|
+
convTagReports: Scalars['Int']['output'];
|
|
1543
|
+
conversationReports: Scalars['Int']['output'];
|
|
1544
|
+
conversations: Scalars['Int']['output'];
|
|
1545
|
+
integrations: Scalars['Int']['output'];
|
|
1546
|
+
messages: Scalars['Int']['output'];
|
|
1547
|
+
quickReplies: Scalars['Int']['output'];
|
|
1548
|
+
tags: Scalars['Int']['output'];
|
|
1549
|
+
userRoles: Scalars['Int']['output'];
|
|
1550
|
+
webhooks: Scalars['Int']['output'];
|
|
1551
|
+
workspaceSettings: Scalars['Int']['output'];
|
|
1552
|
+
};
|
|
1553
|
+
/** Input for permanently deleting a workspace and all related data across services. */
|
|
1554
|
+
export type DeleteWorkspaceInput = {
|
|
1555
|
+
/** The unique identifier of the workspace to delete. */
|
|
1556
|
+
workspaceId: Scalars['Int']['input'];
|
|
1557
|
+
};
|
|
1558
|
+
/** Result of permanently deleting a workspace across core, bot, billing, and auth. */
|
|
1559
|
+
export type DeleteWorkspaceResult = {
|
|
1560
|
+
__typename?: 'DeleteWorkspaceResult';
|
|
1561
|
+
auth?: Maybe<DeleteWorkspaceAuthCounts>;
|
|
1562
|
+
billing?: Maybe<DeleteWorkspaceBillingCounts>;
|
|
1563
|
+
bot?: Maybe<DeleteWorkspaceBotCounts>;
|
|
1564
|
+
core: DeleteWorkspaceCoreCounts;
|
|
1565
|
+
workspaceId: Scalars['Int']['output'];
|
|
1566
|
+
};
|
|
1427
1567
|
/**
|
|
1428
1568
|
* ErrorCode is an enum for the error codes.
|
|
1429
1569
|
* - UNAUTHENTICATED: The user is not authenticated.
|
|
@@ -1690,8 +1830,14 @@ export type Message = {
|
|
|
1690
1830
|
messageId: Scalars['ID']['output'];
|
|
1691
1831
|
/** The note type of the message. */
|
|
1692
1832
|
noteType?: Maybe<NoteType>;
|
|
1833
|
+
/** Emoji reactions on this message. */
|
|
1834
|
+
reactions?: Maybe<Array<MessageReaction>>;
|
|
1693
1835
|
/** The sender identifier. It is used to identify the sender of the message in the provider's system. */
|
|
1694
1836
|
senderId?: Maybe<Scalars['String']['output']>;
|
|
1837
|
+
/** The referral source type when the message originated from an ad or referral link. */
|
|
1838
|
+
sourceType?: Maybe<Scalars['String']['output']>;
|
|
1839
|
+
/** The referral source URL when the message originated from an ad or referral link. */
|
|
1840
|
+
sourceUrl?: Maybe<Scalars['String']['output']>;
|
|
1695
1841
|
/** The status of the message. */
|
|
1696
1842
|
status?: Maybe<MessageStatus>;
|
|
1697
1843
|
/** The tags of the message. */
|
|
@@ -1728,7 +1874,7 @@ export type MessageDto = {
|
|
|
1728
1874
|
debug?: Maybe<Scalars['Boolean']['output']>;
|
|
1729
1875
|
/** The external id of the client. */
|
|
1730
1876
|
externalClientId: Scalars['String']['output'];
|
|
1731
|
-
/** The external info of the client. */
|
|
1877
|
+
/** The external info of the client (name, surname, avatarUrl, etc.). */
|
|
1732
1878
|
externalClientInfo?: Maybe<Scalars['JSON']['output']>;
|
|
1733
1879
|
/** The external context of the message. */
|
|
1734
1880
|
externalContext?: Maybe<Scalars['JSON']['output']>;
|
|
@@ -1744,6 +1890,10 @@ export type MessageDto = {
|
|
|
1744
1890
|
isAgent?: Maybe<Scalars['Boolean']['output']>;
|
|
1745
1891
|
/** The internal id of the message. */
|
|
1746
1892
|
messageId?: Maybe<Scalars['ID']['output']>;
|
|
1893
|
+
/** The referral source type when the message originated from an ad or referral link. */
|
|
1894
|
+
sourceType?: Maybe<Scalars['String']['output']>;
|
|
1895
|
+
/** The referral source URL when the message originated from an ad or referral link. */
|
|
1896
|
+
sourceUrl?: Maybe<Scalars['String']['output']>;
|
|
1747
1897
|
spanId?: Maybe<Scalars['String']['output']>;
|
|
1748
1898
|
/** The tags of the message. */
|
|
1749
1899
|
tags?: Maybe<Array<Scalars['String']['output']>>;
|
|
@@ -1773,6 +1923,36 @@ export type MessageInput = {
|
|
|
1773
1923
|
type: MessageType;
|
|
1774
1924
|
workspaceId: Scalars['Int']['input'];
|
|
1775
1925
|
};
|
|
1926
|
+
/** MessageReaction is an emoji reaction on a message. */
|
|
1927
|
+
export type MessageReaction = {
|
|
1928
|
+
__typename?: 'MessageReaction';
|
|
1929
|
+
/**
|
|
1930
|
+
* The agent id when the reaction was added by a known agent. Null when the
|
|
1931
|
+
* business reacted from the channel app itself.
|
|
1932
|
+
*/
|
|
1933
|
+
agentId?: Maybe<Scalars['ID']['output']>;
|
|
1934
|
+
/** When the reaction was added. */
|
|
1935
|
+
createdAt: Scalars['DateTime']['output'];
|
|
1936
|
+
/** The emoji character of the reaction. */
|
|
1937
|
+
emoji: Scalars['String']['output'];
|
|
1938
|
+
/**
|
|
1939
|
+
* Whether the reaction was added by the business side rather than the client.
|
|
1940
|
+
* A message holds at most one reaction per side.
|
|
1941
|
+
*/
|
|
1942
|
+
isAgent: Scalars['Boolean']['output'];
|
|
1943
|
+
};
|
|
1944
|
+
/** MessageReactionInput is an input of the message reaction mutations. */
|
|
1945
|
+
export type MessageReactionInput = {
|
|
1946
|
+
/** The id of the conversation. */
|
|
1947
|
+
convId: Scalars['ID']['input'];
|
|
1948
|
+
/** The emoji character of the reaction. */
|
|
1949
|
+
emoji: Scalars['String']['input'];
|
|
1950
|
+
/** The integration/channel id of the conversation. */
|
|
1951
|
+
integrationId: Scalars['ID']['input'];
|
|
1952
|
+
/** The id of the message to react to. */
|
|
1953
|
+
messageId: Scalars['ID']['input'];
|
|
1954
|
+
workspaceId: Scalars['Int']['input'];
|
|
1955
|
+
};
|
|
1776
1956
|
/**
|
|
1777
1957
|
* MessageStatus is an enum of the message statuses.
|
|
1778
1958
|
* It can be:
|
|
@@ -1906,6 +2086,10 @@ export type Mutation = {
|
|
|
1906
2086
|
assignConv: Conversation;
|
|
1907
2087
|
assignOwner: UserRole;
|
|
1908
2088
|
assignUserRole: UserRole;
|
|
2089
|
+
/** Blacklist a client by id. Blacklisted clients are ignored for inbound messages, broadcasts, and start conversation. */
|
|
2090
|
+
blacklistClient: Client;
|
|
2091
|
+
/** Bulk blacklist clients by IDs. */
|
|
2092
|
+
bulkBlacklistClients: BulkPermanentDeleteClientsResult;
|
|
1909
2093
|
/**
|
|
1910
2094
|
* Bulk soft delete clients by IDs. This archives clients by setting deletedAt.
|
|
1911
2095
|
* You should have the MANAGE_CLIENTS permission to bulk delete clients.
|
|
@@ -1925,6 +2109,8 @@ export type Mutation = {
|
|
|
1925
2109
|
* You should have the MANAGE_WORKSPACE permission to permanently delete clients.
|
|
1926
2110
|
*/
|
|
1927
2111
|
bulkPermanentDeleteClientsByFilter: BulkPermanentDeleteClientsResult;
|
|
2112
|
+
/** Bulk remove clients from the blacklist by IDs. */
|
|
2113
|
+
bulkUnblacklistClients: BulkPermanentDeleteClientsResult;
|
|
1928
2114
|
/**
|
|
1929
2115
|
* Bulk undelete clients by IDs. This restores archived clients by clearing deletedAt.
|
|
1930
2116
|
* You should have the MANAGE_CLIENTS permission to bulk undelete clients.
|
|
@@ -1974,6 +2160,13 @@ export type Mutation = {
|
|
|
1974
2160
|
/** Delete a tag. You should have the MANAGE_WORKSPACE permission to delete a tag. */
|
|
1975
2161
|
deleteTag: Tag;
|
|
1976
2162
|
deleteWebhook: Webhook;
|
|
2163
|
+
/**
|
|
2164
|
+
* Permanently delete a workspace. Allowed for user, partner, or internalService callers only
|
|
2165
|
+
* (not apiKey / agentApiKey). Users must be OWNER; partners may delete their own workspace.
|
|
2166
|
+
* If a previous delete removed roles then failed, retry is allowed when no roles remain.
|
|
2167
|
+
* Removes core data, then calls internal endpoints on bot, billing, and auth to remove related data.
|
|
2168
|
+
*/
|
|
2169
|
+
deleteWorkspace: DeleteWorkspaceResult;
|
|
1977
2170
|
/** End a conversation. If you don't have the MANAGE_CONVS permission, you can only end the conversation you are assigned to. */
|
|
1978
2171
|
endConv: Conversation;
|
|
1979
2172
|
/** Generate an API key. You should have the MANAGE_WORKSPACE permission to generate an API key. */
|
|
@@ -2004,8 +2197,15 @@ export type Mutation = {
|
|
|
2004
2197
|
patchWorkspaceSettings: WorkspaceSettings;
|
|
2005
2198
|
/** 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. */
|
|
2006
2199
|
putClient: Client;
|
|
2200
|
+
/** React to a message with an emoji. */
|
|
2201
|
+
reactToMessage: Message;
|
|
2007
2202
|
/** Remove a quick reply. You should have the MANAGE_WORKSPACE permission to remove a quick reply. */
|
|
2008
2203
|
removeQuickReply: QuickReply;
|
|
2204
|
+
/**
|
|
2205
|
+
* Retry failed broadcast targets whose failure reason is transient.
|
|
2206
|
+
* You should have the MANAGE_CONVS permission to retry failed broadcast targets.
|
|
2207
|
+
*/
|
|
2208
|
+
retryFailedBroadcastTargets: RetryFailedBroadcastTargetsPayload;
|
|
2009
2209
|
say?: Maybe<HelloMessage>;
|
|
2010
2210
|
/** Send a notification to a client. (It can be used also for OTP messages) */
|
|
2011
2211
|
sendNotification: Message;
|
|
@@ -2027,10 +2227,14 @@ export type Mutation = {
|
|
|
2027
2227
|
/** Tag a message. */
|
|
2028
2228
|
tagMessage: Message;
|
|
2029
2229
|
unassignUserRole: Scalars['Boolean']['output'];
|
|
2230
|
+
/** Remove a client from the blacklist by id. */
|
|
2231
|
+
unblacklistClient: Client;
|
|
2030
2232
|
/** Undelete a client by id. You should have the MANAGE_CLIENTS permission to undelete a client. */
|
|
2031
2233
|
undeleteClient: Client;
|
|
2032
2234
|
/** Undelete a client by externalClientId. You should have the MANAGE_CLIENTS permission to undelete a client. */
|
|
2033
2235
|
undeleteClientByExternalId: Client;
|
|
2236
|
+
/** Remove an emoji reaction from a message. */
|
|
2237
|
+
unreactToMessage: Message;
|
|
2034
2238
|
/** Untag a client. You should have the MANAGE_CLIENTS permission to untag a client. */
|
|
2035
2239
|
untagClient: Client;
|
|
2036
2240
|
/** Untag a conversation. */
|
|
@@ -2053,6 +2257,12 @@ export type MutationAssignOwnerArgs = {
|
|
|
2053
2257
|
export type MutationAssignUserRoleArgs = {
|
|
2054
2258
|
input: InputAssignUserRole;
|
|
2055
2259
|
};
|
|
2260
|
+
export type MutationBlacklistClientArgs = {
|
|
2261
|
+
input: ClientInput;
|
|
2262
|
+
};
|
|
2263
|
+
export type MutationBulkBlacklistClientsArgs = {
|
|
2264
|
+
input: BulkPermanentDeleteClientsInput;
|
|
2265
|
+
};
|
|
2056
2266
|
export type MutationBulkDeleteClientsArgs = {
|
|
2057
2267
|
input: BulkPermanentDeleteClientsInput;
|
|
2058
2268
|
};
|
|
@@ -2068,6 +2278,9 @@ export type MutationBulkPermanentDeleteClientsArgs = {
|
|
|
2068
2278
|
export type MutationBulkPermanentDeleteClientsByFilterArgs = {
|
|
2069
2279
|
input: BulkPermanentDeleteClientsByFilterInput;
|
|
2070
2280
|
};
|
|
2281
|
+
export type MutationBulkUnblacklistClientsArgs = {
|
|
2282
|
+
input: BulkPermanentDeleteClientsInput;
|
|
2283
|
+
};
|
|
2071
2284
|
export type MutationBulkUndeleteClientsArgs = {
|
|
2072
2285
|
input: BulkPermanentDeleteClientsInput;
|
|
2073
2286
|
};
|
|
@@ -2137,6 +2350,9 @@ export type MutationDeleteTagArgs = {
|
|
|
2137
2350
|
export type MutationDeleteWebhookArgs = {
|
|
2138
2351
|
input: WebhookDeleteInput;
|
|
2139
2352
|
};
|
|
2353
|
+
export type MutationDeleteWorkspaceArgs = {
|
|
2354
|
+
input: DeleteWorkspaceInput;
|
|
2355
|
+
};
|
|
2140
2356
|
export type MutationEndConvArgs = {
|
|
2141
2357
|
input: ConvEndInput;
|
|
2142
2358
|
};
|
|
@@ -2185,9 +2401,15 @@ export type MutationPatchWorkspaceSettingsArgs = {
|
|
|
2185
2401
|
export type MutationPutClientArgs = {
|
|
2186
2402
|
input: ClientPutInput;
|
|
2187
2403
|
};
|
|
2404
|
+
export type MutationReactToMessageArgs = {
|
|
2405
|
+
input: MessageReactionInput;
|
|
2406
|
+
};
|
|
2188
2407
|
export type MutationRemoveQuickReplyArgs = {
|
|
2189
2408
|
input: QuickReplyRemoveInput;
|
|
2190
2409
|
};
|
|
2410
|
+
export type MutationRetryFailedBroadcastTargetsArgs = {
|
|
2411
|
+
input: RetryFailedBroadcastTargetsInput;
|
|
2412
|
+
};
|
|
2191
2413
|
export type MutationSayArgs = {
|
|
2192
2414
|
input: UserInput;
|
|
2193
2415
|
};
|
|
@@ -2212,12 +2434,18 @@ export type MutationTagMessageArgs = {
|
|
|
2212
2434
|
export type MutationUnassignUserRoleArgs = {
|
|
2213
2435
|
input: InputUnassignUserRole;
|
|
2214
2436
|
};
|
|
2437
|
+
export type MutationUnblacklistClientArgs = {
|
|
2438
|
+
input: ClientInput;
|
|
2439
|
+
};
|
|
2215
2440
|
export type MutationUndeleteClientArgs = {
|
|
2216
2441
|
input: ClientInput;
|
|
2217
2442
|
};
|
|
2218
2443
|
export type MutationUndeleteClientByExternalIdArgs = {
|
|
2219
2444
|
input: ClientDeleteByExternalIdInput;
|
|
2220
2445
|
};
|
|
2446
|
+
export type MutationUnreactToMessageArgs = {
|
|
2447
|
+
input: MessageReactionInput;
|
|
2448
|
+
};
|
|
2221
2449
|
export type MutationUntagClientArgs = {
|
|
2222
2450
|
input: ClientTagInput;
|
|
2223
2451
|
};
|
|
@@ -2556,6 +2784,41 @@ export type QuickReplyRemoveInput = {
|
|
|
2556
2784
|
id: Scalars['ID']['input'];
|
|
2557
2785
|
workspaceId: Scalars['Int']['input'];
|
|
2558
2786
|
};
|
|
2787
|
+
/** ReactionUpdateDTO is data transfer object for an inbound emoji reaction. */
|
|
2788
|
+
export type ReactionUpdateDto = {
|
|
2789
|
+
__typename?: 'ReactionUpdateDTO';
|
|
2790
|
+
/** Whether to add (react) or remove (unreact) the reaction. */
|
|
2791
|
+
action: Scalars['String']['output'];
|
|
2792
|
+
createdAt: Scalars['String']['output'];
|
|
2793
|
+
debug?: Maybe<Scalars['Boolean']['output']>;
|
|
2794
|
+
/** The emoji character of the reaction. Empty string when action is unreact. */
|
|
2795
|
+
emoji: Scalars['String']['output'];
|
|
2796
|
+
/** The external id of the client whose conversation the reaction belongs to. */
|
|
2797
|
+
externalClientId: Scalars['String']['output'];
|
|
2798
|
+
/** The external id of the message being reacted to. */
|
|
2799
|
+
externalMessageId: Scalars['String']['output'];
|
|
2800
|
+
integrationId: Scalars['ID']['output'];
|
|
2801
|
+
integrationType: IntegrationType;
|
|
2802
|
+
/**
|
|
2803
|
+
* Whether the reaction was applied by the business side, either an agent or
|
|
2804
|
+
* the business's own channel app.
|
|
2805
|
+
*/
|
|
2806
|
+
isAgent?: Maybe<Scalars['Boolean']['output']>;
|
|
2807
|
+
spanId?: Maybe<Scalars['String']['output']>;
|
|
2808
|
+
traceId?: Maybe<Scalars['String']['output']>;
|
|
2809
|
+
workspaceId: Scalars['Int']['output'];
|
|
2810
|
+
};
|
|
2811
|
+
/** RetryFailedBroadcastTargetsInput is an input of the retry failed broadcast targets mutation. */
|
|
2812
|
+
export type RetryFailedBroadcastTargetsInput = {
|
|
2813
|
+
id: Scalars['ID']['input'];
|
|
2814
|
+
workspaceId: Scalars['Int']['input'];
|
|
2815
|
+
};
|
|
2816
|
+
/** RetryFailedBroadcastTargetsPayload is the result of retrying failed broadcast targets. */
|
|
2817
|
+
export type RetryFailedBroadcastTargetsPayload = {
|
|
2818
|
+
__typename?: 'RetryFailedBroadcastTargetsPayload';
|
|
2819
|
+
broadcast: Broadcast;
|
|
2820
|
+
retriedCount: Scalars['Int']['output'];
|
|
2821
|
+
};
|
|
2559
2822
|
export declare const Role: {
|
|
2560
2823
|
readonly ADMIN: "ADMIN";
|
|
2561
2824
|
readonly AGENT: "AGENT";
|
|
@@ -2604,6 +2867,21 @@ export type SendNotificationInput = {
|
|
|
2604
2867
|
* }
|
|
2605
2868
|
* ]
|
|
2606
2869
|
*
|
|
2870
|
+
* For templates with named parameters (parameter_format: NAMED), include parameter_name on each parameter:
|
|
2871
|
+
*
|
|
2872
|
+
* [
|
|
2873
|
+
* {
|
|
2874
|
+
* "type": "body",
|
|
2875
|
+
* "parameters": [
|
|
2876
|
+
* {
|
|
2877
|
+
* "type": "text",
|
|
2878
|
+
* "parameter_name": "customer_name",
|
|
2879
|
+
* "text": "Jessica"
|
|
2880
|
+
* }
|
|
2881
|
+
* ]
|
|
2882
|
+
* }
|
|
2883
|
+
* ]
|
|
2884
|
+
*
|
|
2607
2885
|
* In string values anywhere inside components you may use placeholders: {{fieldName}}
|
|
2608
2886
|
* where fieldName is one of name, surname, fullName, email, phone, address, code, city, country.
|
|
2609
2887
|
* They are replaced with that client's data when the message is sent (empty string if the property is missing).
|
|
@@ -2912,6 +3190,8 @@ export declare const WebhookEvent: {
|
|
|
2912
3190
|
readonly ANY_EVENT: "ANY_EVENT";
|
|
2913
3191
|
/** CLIENT_UPDATED is a special event that will trigger the webhook for client updates. */
|
|
2914
3192
|
readonly CLIENT_UPDATED: "CLIENT_UPDATED";
|
|
3193
|
+
/** CONVERSATION_ASSIGNED is triggered when a conversation assignee changes (agent, AI, or unassigned). */
|
|
3194
|
+
readonly CONVERSATION_ASSIGNED: "CONVERSATION_ASSIGNED";
|
|
2915
3195
|
/** ENDING_CONV is a special event that will trigger the webhook for ending conversations. */
|
|
2916
3196
|
readonly ENDING_CONV: "ENDING_CONV";
|
|
2917
3197
|
/** INCOMING_MESSAGE is a special event that will trigger the webhook for incoming messages. */
|
|
@@ -3663,6 +3943,7 @@ export type BroadcastDeliveryReportQuery = {
|
|
|
3663
3943
|
delivered: number;
|
|
3664
3944
|
read: number;
|
|
3665
3945
|
failed: number;
|
|
3946
|
+
retryableFailed: number;
|
|
3666
3947
|
pending: number;
|
|
3667
3948
|
failedMessages?: Array<{
|
|
3668
3949
|
__typename?: 'Message';
|
|
@@ -3923,6 +4204,37 @@ export type PatchBroadcastMutation = {
|
|
|
3923
4204
|
error?: string | null;
|
|
3924
4205
|
};
|
|
3925
4206
|
};
|
|
4207
|
+
export type RetryFailedBroadcastTargetsMutationVariables = Exact<{
|
|
4208
|
+
input: RetryFailedBroadcastTargetsInput;
|
|
4209
|
+
}>;
|
|
4210
|
+
export type RetryFailedBroadcastTargetsMutation = {
|
|
4211
|
+
__typename?: 'Mutation';
|
|
4212
|
+
retryFailedBroadcastTargets: {
|
|
4213
|
+
__typename?: 'RetryFailedBroadcastTargetsPayload';
|
|
4214
|
+
retriedCount: number;
|
|
4215
|
+
broadcast: {
|
|
4216
|
+
__typename?: 'Broadcast';
|
|
4217
|
+
workspaceId: number;
|
|
4218
|
+
id: string;
|
|
4219
|
+
name: string;
|
|
4220
|
+
integrationId: string;
|
|
4221
|
+
state: BroadcastState;
|
|
4222
|
+
clientTags?: Array<string> | null;
|
|
4223
|
+
clientStageId?: string | null;
|
|
4224
|
+
templateName: string;
|
|
4225
|
+
templateLang?: string | null;
|
|
4226
|
+
country?: string | null;
|
|
4227
|
+
templateComponents?: any | null;
|
|
4228
|
+
createdAt: any;
|
|
4229
|
+
scheduledAt?: any | null;
|
|
4230
|
+
startedAt?: any | null;
|
|
4231
|
+
completedAt?: any | null;
|
|
4232
|
+
totalCount?: number | null;
|
|
4233
|
+
failedCount?: number | null;
|
|
4234
|
+
error?: string | null;
|
|
4235
|
+
};
|
|
4236
|
+
};
|
|
4237
|
+
};
|
|
3926
4238
|
export type WorkspaceBroadcastMessageStatusesQueryVariables = Exact<{
|
|
3927
4239
|
input: WorkspaceBroadcastMessageStatusesInput;
|
|
3928
4240
|
pageInfo?: InputMaybe<PageInfoInput>;
|
|
@@ -4137,6 +4449,8 @@ export type ConversationFragment = {
|
|
|
4137
4449
|
ratingFlowInProgress?: boolean | null;
|
|
4138
4450
|
broadcastId?: string | null;
|
|
4139
4451
|
broadcastName?: string | null;
|
|
4452
|
+
sourceType?: string | null;
|
|
4453
|
+
sourceUrl?: string | null;
|
|
4140
4454
|
integrationSwitches?: Array<{
|
|
4141
4455
|
__typename?: 'ConvIntegrationSwitch';
|
|
4142
4456
|
fromIntegrationId: string;
|
|
@@ -4172,6 +4486,7 @@ export type ConversationFragment = {
|
|
|
4172
4486
|
surname?: string | null;
|
|
4173
4487
|
code?: string | null;
|
|
4174
4488
|
phone?: string | null;
|
|
4489
|
+
avatarUrl?: string | null;
|
|
4175
4490
|
isDeleted: boolean;
|
|
4176
4491
|
} | null;
|
|
4177
4492
|
assignees?: Array<{
|
|
@@ -4329,6 +4644,8 @@ export type AssignConvMutation = {
|
|
|
4329
4644
|
ratingFlowInProgress?: boolean | null;
|
|
4330
4645
|
broadcastId?: string | null;
|
|
4331
4646
|
broadcastName?: string | null;
|
|
4647
|
+
sourceType?: string | null;
|
|
4648
|
+
sourceUrl?: string | null;
|
|
4332
4649
|
integrationSwitches?: Array<{
|
|
4333
4650
|
__typename?: 'ConvIntegrationSwitch';
|
|
4334
4651
|
fromIntegrationId: string;
|
|
@@ -4364,6 +4681,7 @@ export type AssignConvMutation = {
|
|
|
4364
4681
|
surname?: string | null;
|
|
4365
4682
|
code?: string | null;
|
|
4366
4683
|
phone?: string | null;
|
|
4684
|
+
avatarUrl?: string | null;
|
|
4367
4685
|
isDeleted: boolean;
|
|
4368
4686
|
} | null;
|
|
4369
4687
|
assignees?: Array<{
|
|
@@ -4400,6 +4718,8 @@ export type ConvQuery = {
|
|
|
4400
4718
|
ratingFlowInProgress?: boolean | null;
|
|
4401
4719
|
broadcastId?: string | null;
|
|
4402
4720
|
broadcastName?: string | null;
|
|
4721
|
+
sourceType?: string | null;
|
|
4722
|
+
sourceUrl?: string | null;
|
|
4403
4723
|
integrationSwitches?: Array<{
|
|
4404
4724
|
__typename?: 'ConvIntegrationSwitch';
|
|
4405
4725
|
fromIntegrationId: string;
|
|
@@ -4435,6 +4755,7 @@ export type ConvQuery = {
|
|
|
4435
4755
|
surname?: string | null;
|
|
4436
4756
|
code?: string | null;
|
|
4437
4757
|
phone?: string | null;
|
|
4758
|
+
avatarUrl?: string | null;
|
|
4438
4759
|
isDeleted: boolean;
|
|
4439
4760
|
} | null;
|
|
4440
4761
|
assignees?: Array<{
|
|
@@ -4507,6 +4828,8 @@ export type ConvsQuery = {
|
|
|
4507
4828
|
ratingFlowInProgress?: boolean | null;
|
|
4508
4829
|
broadcastId?: string | null;
|
|
4509
4830
|
broadcastName?: string | null;
|
|
4831
|
+
sourceType?: string | null;
|
|
4832
|
+
sourceUrl?: string | null;
|
|
4510
4833
|
integrationSwitches?: Array<{
|
|
4511
4834
|
__typename?: 'ConvIntegrationSwitch';
|
|
4512
4835
|
fromIntegrationId: string;
|
|
@@ -4542,6 +4865,7 @@ export type ConvsQuery = {
|
|
|
4542
4865
|
surname?: string | null;
|
|
4543
4866
|
code?: string | null;
|
|
4544
4867
|
phone?: string | null;
|
|
4868
|
+
avatarUrl?: string | null;
|
|
4545
4869
|
isDeleted: boolean;
|
|
4546
4870
|
} | null;
|
|
4547
4871
|
assignees?: Array<{
|
|
@@ -4623,6 +4947,8 @@ export type EndConvMutation = {
|
|
|
4623
4947
|
ratingFlowInProgress?: boolean | null;
|
|
4624
4948
|
broadcastId?: string | null;
|
|
4625
4949
|
broadcastName?: string | null;
|
|
4950
|
+
sourceType?: string | null;
|
|
4951
|
+
sourceUrl?: string | null;
|
|
4626
4952
|
integrationSwitches?: Array<{
|
|
4627
4953
|
__typename?: 'ConvIntegrationSwitch';
|
|
4628
4954
|
fromIntegrationId: string;
|
|
@@ -4658,6 +4984,7 @@ export type EndConvMutation = {
|
|
|
4658
4984
|
surname?: string | null;
|
|
4659
4985
|
code?: string | null;
|
|
4660
4986
|
phone?: string | null;
|
|
4987
|
+
avatarUrl?: string | null;
|
|
4661
4988
|
isDeleted: boolean;
|
|
4662
4989
|
} | null;
|
|
4663
4990
|
assignees?: Array<{
|
|
@@ -4694,6 +5021,8 @@ export type HandoverConvMutation = {
|
|
|
4694
5021
|
ratingFlowInProgress?: boolean | null;
|
|
4695
5022
|
broadcastId?: string | null;
|
|
4696
5023
|
broadcastName?: string | null;
|
|
5024
|
+
sourceType?: string | null;
|
|
5025
|
+
sourceUrl?: string | null;
|
|
4697
5026
|
integrationSwitches?: Array<{
|
|
4698
5027
|
__typename?: 'ConvIntegrationSwitch';
|
|
4699
5028
|
fromIntegrationId: string;
|
|
@@ -4729,6 +5058,7 @@ export type HandoverConvMutation = {
|
|
|
4729
5058
|
surname?: string | null;
|
|
4730
5059
|
code?: string | null;
|
|
4731
5060
|
phone?: string | null;
|
|
5061
|
+
avatarUrl?: string | null;
|
|
4732
5062
|
isDeleted: boolean;
|
|
4733
5063
|
} | null;
|
|
4734
5064
|
assignees?: Array<{
|
|
@@ -4827,6 +5157,8 @@ export type PatchConvMutation = {
|
|
|
4827
5157
|
ratingFlowInProgress?: boolean | null;
|
|
4828
5158
|
broadcastId?: string | null;
|
|
4829
5159
|
broadcastName?: string | null;
|
|
5160
|
+
sourceType?: string | null;
|
|
5161
|
+
sourceUrl?: string | null;
|
|
4830
5162
|
integrationSwitches?: Array<{
|
|
4831
5163
|
__typename?: 'ConvIntegrationSwitch';
|
|
4832
5164
|
fromIntegrationId: string;
|
|
@@ -4862,6 +5194,7 @@ export type PatchConvMutation = {
|
|
|
4862
5194
|
surname?: string | null;
|
|
4863
5195
|
code?: string | null;
|
|
4864
5196
|
phone?: string | null;
|
|
5197
|
+
avatarUrl?: string | null;
|
|
4865
5198
|
isDeleted: boolean;
|
|
4866
5199
|
} | null;
|
|
4867
5200
|
assignees?: Array<{
|
|
@@ -4898,6 +5231,8 @@ export type StartConvMutation = {
|
|
|
4898
5231
|
ratingFlowInProgress?: boolean | null;
|
|
4899
5232
|
broadcastId?: string | null;
|
|
4900
5233
|
broadcastName?: string | null;
|
|
5234
|
+
sourceType?: string | null;
|
|
5235
|
+
sourceUrl?: string | null;
|
|
4901
5236
|
integrationSwitches?: Array<{
|
|
4902
5237
|
__typename?: 'ConvIntegrationSwitch';
|
|
4903
5238
|
fromIntegrationId: string;
|
|
@@ -4933,6 +5268,7 @@ export type StartConvMutation = {
|
|
|
4933
5268
|
surname?: string | null;
|
|
4934
5269
|
code?: string | null;
|
|
4935
5270
|
phone?: string | null;
|
|
5271
|
+
avatarUrl?: string | null;
|
|
4936
5272
|
isDeleted: boolean;
|
|
4937
5273
|
} | null;
|
|
4938
5274
|
assignees?: Array<{
|
|
@@ -4960,6 +5296,7 @@ export type TagClientMutation = {
|
|
|
4960
5296
|
code?: string | null;
|
|
4961
5297
|
city?: string | null;
|
|
4962
5298
|
country?: string | null;
|
|
5299
|
+
avatarUrl?: string | null;
|
|
4963
5300
|
externalClientId?: string | null;
|
|
4964
5301
|
tags?: Array<string> | null;
|
|
4965
5302
|
createdAt: any;
|
|
@@ -4967,6 +5304,8 @@ export type TagClientMutation = {
|
|
|
4967
5304
|
defaultAgentId?: string | null;
|
|
4968
5305
|
deletedAt?: any | null;
|
|
4969
5306
|
archivedBy?: string | null;
|
|
5307
|
+
blacklistedAt?: any | null;
|
|
5308
|
+
blacklistedBy?: string | null;
|
|
4970
5309
|
};
|
|
4971
5310
|
};
|
|
4972
5311
|
export type TagConvMutationVariables = Exact<{
|
|
@@ -4995,6 +5334,8 @@ export type TagConvMutation = {
|
|
|
4995
5334
|
ratingFlowInProgress?: boolean | null;
|
|
4996
5335
|
broadcastId?: string | null;
|
|
4997
5336
|
broadcastName?: string | null;
|
|
5337
|
+
sourceType?: string | null;
|
|
5338
|
+
sourceUrl?: string | null;
|
|
4998
5339
|
integrationSwitches?: Array<{
|
|
4999
5340
|
__typename?: 'ConvIntegrationSwitch';
|
|
5000
5341
|
fromIntegrationId: string;
|
|
@@ -5030,6 +5371,7 @@ export type TagConvMutation = {
|
|
|
5030
5371
|
surname?: string | null;
|
|
5031
5372
|
code?: string | null;
|
|
5032
5373
|
phone?: string | null;
|
|
5374
|
+
avatarUrl?: string | null;
|
|
5033
5375
|
isDeleted: boolean;
|
|
5034
5376
|
} | null;
|
|
5035
5377
|
assignees?: Array<{
|
|
@@ -5073,6 +5415,7 @@ export type UntagClientMutation = {
|
|
|
5073
5415
|
code?: string | null;
|
|
5074
5416
|
city?: string | null;
|
|
5075
5417
|
country?: string | null;
|
|
5418
|
+
avatarUrl?: string | null;
|
|
5076
5419
|
externalClientId?: string | null;
|
|
5077
5420
|
tags?: Array<string> | null;
|
|
5078
5421
|
createdAt: any;
|
|
@@ -5080,6 +5423,8 @@ export type UntagClientMutation = {
|
|
|
5080
5423
|
defaultAgentId?: string | null;
|
|
5081
5424
|
deletedAt?: any | null;
|
|
5082
5425
|
archivedBy?: string | null;
|
|
5426
|
+
blacklistedAt?: any | null;
|
|
5427
|
+
blacklistedBy?: string | null;
|
|
5083
5428
|
};
|
|
5084
5429
|
};
|
|
5085
5430
|
export type UntagConvMutationVariables = Exact<{
|
|
@@ -5108,6 +5453,8 @@ export type UntagConvMutation = {
|
|
|
5108
5453
|
ratingFlowInProgress?: boolean | null;
|
|
5109
5454
|
broadcastId?: string | null;
|
|
5110
5455
|
broadcastName?: string | null;
|
|
5456
|
+
sourceType?: string | null;
|
|
5457
|
+
sourceUrl?: string | null;
|
|
5111
5458
|
integrationSwitches?: Array<{
|
|
5112
5459
|
__typename?: 'ConvIntegrationSwitch';
|
|
5113
5460
|
fromIntegrationId: string;
|
|
@@ -5143,6 +5490,7 @@ export type UntagConvMutation = {
|
|
|
5143
5490
|
surname?: string | null;
|
|
5144
5491
|
code?: string | null;
|
|
5145
5492
|
phone?: string | null;
|
|
5493
|
+
avatarUrl?: string | null;
|
|
5146
5494
|
isDeleted: boolean;
|
|
5147
5495
|
} | null;
|
|
5148
5496
|
assignees?: Array<{
|
|
@@ -5201,6 +5549,7 @@ export type ClientFragment = {
|
|
|
5201
5549
|
code?: string | null;
|
|
5202
5550
|
city?: string | null;
|
|
5203
5551
|
country?: string | null;
|
|
5552
|
+
avatarUrl?: string | null;
|
|
5204
5553
|
externalClientId?: string | null;
|
|
5205
5554
|
tags?: Array<string> | null;
|
|
5206
5555
|
createdAt: any;
|
|
@@ -5208,6 +5557,8 @@ export type ClientFragment = {
|
|
|
5208
5557
|
defaultAgentId?: string | null;
|
|
5209
5558
|
deletedAt?: any | null;
|
|
5210
5559
|
archivedBy?: string | null;
|
|
5560
|
+
blacklistedAt?: any | null;
|
|
5561
|
+
blacklistedBy?: string | null;
|
|
5211
5562
|
};
|
|
5212
5563
|
export type QuickReplyFragment = {
|
|
5213
5564
|
__typename?: 'QuickReply';
|
|
@@ -5233,6 +5584,45 @@ export type AddQuickReplyMutation = {
|
|
|
5233
5584
|
updatedAt: any;
|
|
5234
5585
|
};
|
|
5235
5586
|
};
|
|
5587
|
+
export type BlacklistClientMutationVariables = Exact<{
|
|
5588
|
+
input: ClientInput;
|
|
5589
|
+
}>;
|
|
5590
|
+
export type BlacklistClientMutation = {
|
|
5591
|
+
__typename?: 'Mutation';
|
|
5592
|
+
blacklistClient: {
|
|
5593
|
+
__typename?: 'Client';
|
|
5594
|
+
workspaceId: number;
|
|
5595
|
+
id: string;
|
|
5596
|
+
email?: string | null;
|
|
5597
|
+
name?: string | null;
|
|
5598
|
+
surname?: string | null;
|
|
5599
|
+
phone?: string | null;
|
|
5600
|
+
address?: string | null;
|
|
5601
|
+
code?: string | null;
|
|
5602
|
+
city?: string | null;
|
|
5603
|
+
country?: string | null;
|
|
5604
|
+
avatarUrl?: string | null;
|
|
5605
|
+
externalClientId?: string | null;
|
|
5606
|
+
tags?: Array<string> | null;
|
|
5607
|
+
createdAt: any;
|
|
5608
|
+
stageId?: string | null;
|
|
5609
|
+
defaultAgentId?: string | null;
|
|
5610
|
+
deletedAt?: any | null;
|
|
5611
|
+
archivedBy?: string | null;
|
|
5612
|
+
blacklistedAt?: any | null;
|
|
5613
|
+
blacklistedBy?: string | null;
|
|
5614
|
+
};
|
|
5615
|
+
};
|
|
5616
|
+
export type BulkBlacklistClientsMutationVariables = Exact<{
|
|
5617
|
+
input: BulkPermanentDeleteClientsInput;
|
|
5618
|
+
}>;
|
|
5619
|
+
export type BulkBlacklistClientsMutation = {
|
|
5620
|
+
__typename?: 'Mutation';
|
|
5621
|
+
bulkBlacklistClients: {
|
|
5622
|
+
__typename?: 'BulkPermanentDeleteClientsResult';
|
|
5623
|
+
deletedCount: number;
|
|
5624
|
+
};
|
|
5625
|
+
};
|
|
5236
5626
|
export type BulkDeleteClientsMutationVariables = Exact<{
|
|
5237
5627
|
input: BulkPermanentDeleteClientsInput;
|
|
5238
5628
|
}>;
|
|
@@ -5292,6 +5682,16 @@ export type BulkPermanentDeleteClientsByFilterMutation = {
|
|
|
5292
5682
|
deletedCount: number;
|
|
5293
5683
|
};
|
|
5294
5684
|
};
|
|
5685
|
+
export type BulkUnblacklistClientsMutationVariables = Exact<{
|
|
5686
|
+
input: BulkPermanentDeleteClientsInput;
|
|
5687
|
+
}>;
|
|
5688
|
+
export type BulkUnblacklistClientsMutation = {
|
|
5689
|
+
__typename?: 'Mutation';
|
|
5690
|
+
bulkUnblacklistClients: {
|
|
5691
|
+
__typename?: 'BulkPermanentDeleteClientsResult';
|
|
5692
|
+
deletedCount: number;
|
|
5693
|
+
};
|
|
5694
|
+
};
|
|
5295
5695
|
export type BulkUndeleteClientsMutationVariables = Exact<{
|
|
5296
5696
|
input: BulkPermanentDeleteClientsInput;
|
|
5297
5697
|
}>;
|
|
@@ -5319,6 +5719,7 @@ export type ClientQuery = {
|
|
|
5319
5719
|
code?: string | null;
|
|
5320
5720
|
city?: string | null;
|
|
5321
5721
|
country?: string | null;
|
|
5722
|
+
avatarUrl?: string | null;
|
|
5322
5723
|
externalClientId?: string | null;
|
|
5323
5724
|
tags?: Array<string> | null;
|
|
5324
5725
|
createdAt: any;
|
|
@@ -5326,6 +5727,8 @@ export type ClientQuery = {
|
|
|
5326
5727
|
defaultAgentId?: string | null;
|
|
5327
5728
|
deletedAt?: any | null;
|
|
5328
5729
|
archivedBy?: string | null;
|
|
5730
|
+
blacklistedAt?: any | null;
|
|
5731
|
+
blacklistedBy?: string | null;
|
|
5329
5732
|
};
|
|
5330
5733
|
};
|
|
5331
5734
|
export type ClientByPhoneQueryVariables = Exact<{
|
|
@@ -5345,6 +5748,7 @@ export type ClientByPhoneQuery = {
|
|
|
5345
5748
|
code?: string | null;
|
|
5346
5749
|
city?: string | null;
|
|
5347
5750
|
country?: string | null;
|
|
5751
|
+
avatarUrl?: string | null;
|
|
5348
5752
|
externalClientId?: string | null;
|
|
5349
5753
|
tags?: Array<string> | null;
|
|
5350
5754
|
createdAt: any;
|
|
@@ -5352,6 +5756,8 @@ export type ClientByPhoneQuery = {
|
|
|
5352
5756
|
defaultAgentId?: string | null;
|
|
5353
5757
|
deletedAt?: any | null;
|
|
5354
5758
|
archivedBy?: string | null;
|
|
5759
|
+
blacklistedAt?: any | null;
|
|
5760
|
+
blacklistedBy?: string | null;
|
|
5355
5761
|
};
|
|
5356
5762
|
};
|
|
5357
5763
|
export type ClientsQueryVariables = Exact<{
|
|
@@ -5374,6 +5780,7 @@ export type ClientsQuery = {
|
|
|
5374
5780
|
code?: string | null;
|
|
5375
5781
|
city?: string | null;
|
|
5376
5782
|
country?: string | null;
|
|
5783
|
+
avatarUrl?: string | null;
|
|
5377
5784
|
externalClientId?: string | null;
|
|
5378
5785
|
tags?: Array<string> | null;
|
|
5379
5786
|
createdAt: any;
|
|
@@ -5381,6 +5788,8 @@ export type ClientsQuery = {
|
|
|
5381
5788
|
defaultAgentId?: string | null;
|
|
5382
5789
|
deletedAt?: any | null;
|
|
5383
5790
|
archivedBy?: string | null;
|
|
5791
|
+
blacklistedAt?: any | null;
|
|
5792
|
+
blacklistedBy?: string | null;
|
|
5384
5793
|
}> | null;
|
|
5385
5794
|
pageInfo?: {
|
|
5386
5795
|
__typename?: 'PageInfo';
|
|
@@ -5407,6 +5816,7 @@ export type CreateClientMutation = {
|
|
|
5407
5816
|
code?: string | null;
|
|
5408
5817
|
city?: string | null;
|
|
5409
5818
|
country?: string | null;
|
|
5819
|
+
avatarUrl?: string | null;
|
|
5410
5820
|
externalClientId?: string | null;
|
|
5411
5821
|
tags?: Array<string> | null;
|
|
5412
5822
|
createdAt: any;
|
|
@@ -5414,6 +5824,8 @@ export type CreateClientMutation = {
|
|
|
5414
5824
|
defaultAgentId?: string | null;
|
|
5415
5825
|
deletedAt?: any | null;
|
|
5416
5826
|
archivedBy?: string | null;
|
|
5827
|
+
blacklistedAt?: any | null;
|
|
5828
|
+
blacklistedBy?: string | null;
|
|
5417
5829
|
};
|
|
5418
5830
|
};
|
|
5419
5831
|
export type DeleteClientMutationVariables = Exact<{
|
|
@@ -5433,6 +5845,7 @@ export type DeleteClientMutation = {
|
|
|
5433
5845
|
code?: string | null;
|
|
5434
5846
|
city?: string | null;
|
|
5435
5847
|
country?: string | null;
|
|
5848
|
+
avatarUrl?: string | null;
|
|
5436
5849
|
externalClientId?: string | null;
|
|
5437
5850
|
tags?: Array<string> | null;
|
|
5438
5851
|
createdAt: any;
|
|
@@ -5440,6 +5853,8 @@ export type DeleteClientMutation = {
|
|
|
5440
5853
|
defaultAgentId?: string | null;
|
|
5441
5854
|
deletedAt?: any | null;
|
|
5442
5855
|
archivedBy?: string | null;
|
|
5856
|
+
blacklistedAt?: any | null;
|
|
5857
|
+
blacklistedBy?: string | null;
|
|
5443
5858
|
};
|
|
5444
5859
|
};
|
|
5445
5860
|
export type DeleteClientByExternalIdMutationVariables = Exact<{
|
|
@@ -5459,6 +5874,7 @@ export type DeleteClientByExternalIdMutation = {
|
|
|
5459
5874
|
code?: string | null;
|
|
5460
5875
|
city?: string | null;
|
|
5461
5876
|
country?: string | null;
|
|
5877
|
+
avatarUrl?: string | null;
|
|
5462
5878
|
externalClientId?: string | null;
|
|
5463
5879
|
tags?: Array<string> | null;
|
|
5464
5880
|
createdAt: any;
|
|
@@ -5466,6 +5882,8 @@ export type DeleteClientByExternalIdMutation = {
|
|
|
5466
5882
|
defaultAgentId?: string | null;
|
|
5467
5883
|
deletedAt?: any | null;
|
|
5468
5884
|
archivedBy?: string | null;
|
|
5885
|
+
blacklistedAt?: any | null;
|
|
5886
|
+
blacklistedBy?: string | null;
|
|
5469
5887
|
};
|
|
5470
5888
|
};
|
|
5471
5889
|
export type PatchClientMutationVariables = Exact<{
|
|
@@ -5485,6 +5903,7 @@ export type PatchClientMutation = {
|
|
|
5485
5903
|
code?: string | null;
|
|
5486
5904
|
city?: string | null;
|
|
5487
5905
|
country?: string | null;
|
|
5906
|
+
avatarUrl?: string | null;
|
|
5488
5907
|
externalClientId?: string | null;
|
|
5489
5908
|
tags?: Array<string> | null;
|
|
5490
5909
|
createdAt: any;
|
|
@@ -5492,6 +5911,8 @@ export type PatchClientMutation = {
|
|
|
5492
5911
|
defaultAgentId?: string | null;
|
|
5493
5912
|
deletedAt?: any | null;
|
|
5494
5913
|
archivedBy?: string | null;
|
|
5914
|
+
blacklistedAt?: any | null;
|
|
5915
|
+
blacklistedBy?: string | null;
|
|
5495
5916
|
};
|
|
5496
5917
|
};
|
|
5497
5918
|
export type PatchQuickReplyMutationVariables = Exact<{
|
|
@@ -5542,6 +5963,35 @@ export type RemoveQuickReplyMutation = {
|
|
|
5542
5963
|
updatedAt: any;
|
|
5543
5964
|
};
|
|
5544
5965
|
};
|
|
5966
|
+
export type UnblacklistClientMutationVariables = Exact<{
|
|
5967
|
+
input: ClientInput;
|
|
5968
|
+
}>;
|
|
5969
|
+
export type UnblacklistClientMutation = {
|
|
5970
|
+
__typename?: 'Mutation';
|
|
5971
|
+
unblacklistClient: {
|
|
5972
|
+
__typename?: 'Client';
|
|
5973
|
+
workspaceId: number;
|
|
5974
|
+
id: string;
|
|
5975
|
+
email?: string | null;
|
|
5976
|
+
name?: string | null;
|
|
5977
|
+
surname?: string | null;
|
|
5978
|
+
phone?: string | null;
|
|
5979
|
+
address?: string | null;
|
|
5980
|
+
code?: string | null;
|
|
5981
|
+
city?: string | null;
|
|
5982
|
+
country?: string | null;
|
|
5983
|
+
avatarUrl?: string | null;
|
|
5984
|
+
externalClientId?: string | null;
|
|
5985
|
+
tags?: Array<string> | null;
|
|
5986
|
+
createdAt: any;
|
|
5987
|
+
stageId?: string | null;
|
|
5988
|
+
defaultAgentId?: string | null;
|
|
5989
|
+
deletedAt?: any | null;
|
|
5990
|
+
archivedBy?: string | null;
|
|
5991
|
+
blacklistedAt?: any | null;
|
|
5992
|
+
blacklistedBy?: string | null;
|
|
5993
|
+
};
|
|
5994
|
+
};
|
|
5545
5995
|
export type UndeleteClientMutationVariables = Exact<{
|
|
5546
5996
|
input: ClientInput;
|
|
5547
5997
|
}>;
|
|
@@ -5559,6 +6009,7 @@ export type UndeleteClientMutation = {
|
|
|
5559
6009
|
code?: string | null;
|
|
5560
6010
|
city?: string | null;
|
|
5561
6011
|
country?: string | null;
|
|
6012
|
+
avatarUrl?: string | null;
|
|
5562
6013
|
externalClientId?: string | null;
|
|
5563
6014
|
tags?: Array<string> | null;
|
|
5564
6015
|
createdAt: any;
|
|
@@ -5566,6 +6017,8 @@ export type UndeleteClientMutation = {
|
|
|
5566
6017
|
defaultAgentId?: string | null;
|
|
5567
6018
|
deletedAt?: any | null;
|
|
5568
6019
|
archivedBy?: string | null;
|
|
6020
|
+
blacklistedAt?: any | null;
|
|
6021
|
+
blacklistedBy?: string | null;
|
|
5569
6022
|
};
|
|
5570
6023
|
};
|
|
5571
6024
|
export type UndeleteClientByExternalIdMutationVariables = Exact<{
|
|
@@ -5585,6 +6038,7 @@ export type UndeleteClientByExternalIdMutation = {
|
|
|
5585
6038
|
code?: string | null;
|
|
5586
6039
|
city?: string | null;
|
|
5587
6040
|
country?: string | null;
|
|
6041
|
+
avatarUrl?: string | null;
|
|
5588
6042
|
externalClientId?: string | null;
|
|
5589
6043
|
tags?: Array<string> | null;
|
|
5590
6044
|
createdAt: any;
|
|
@@ -5592,6 +6046,8 @@ export type UndeleteClientByExternalIdMutation = {
|
|
|
5592
6046
|
defaultAgentId?: string | null;
|
|
5593
6047
|
deletedAt?: any | null;
|
|
5594
6048
|
archivedBy?: string | null;
|
|
6049
|
+
blacklistedAt?: any | null;
|
|
6050
|
+
blacklistedBy?: string | null;
|
|
5595
6051
|
};
|
|
5596
6052
|
};
|
|
5597
6053
|
export type ValidateBulkImportContactsQueryVariables = Exact<{
|
|
@@ -6995,6 +7451,31 @@ export declare function usePatchBroadcastMutation(baseOptions?: Apollo.MutationH
|
|
|
6995
7451
|
export type PatchBroadcastMutationHookResult = ReturnType<typeof usePatchBroadcastMutation>;
|
|
6996
7452
|
export type PatchBroadcastMutationResult = Apollo.MutationResult<PatchBroadcastMutation>;
|
|
6997
7453
|
export type PatchBroadcastMutationOptions = Apollo.BaseMutationOptions<PatchBroadcastMutation, PatchBroadcastMutationVariables>;
|
|
7454
|
+
export declare const RetryFailedBroadcastTargetsDocument: Apollo.DocumentNode;
|
|
7455
|
+
export type RetryFailedBroadcastTargetsMutationFn = Apollo.MutationFunction<RetryFailedBroadcastTargetsMutation, RetryFailedBroadcastTargetsMutationVariables>;
|
|
7456
|
+
/**
|
|
7457
|
+
* __useRetryFailedBroadcastTargetsMutation__
|
|
7458
|
+
*
|
|
7459
|
+
* To run a mutation, you first call `useRetryFailedBroadcastTargetsMutation` within a React component and pass it any options that fit your needs.
|
|
7460
|
+
* When your component renders, `useRetryFailedBroadcastTargetsMutation` returns a tuple that includes:
|
|
7461
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
7462
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
7463
|
+
*
|
|
7464
|
+
* @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;
|
|
7465
|
+
*
|
|
7466
|
+
* @example
|
|
7467
|
+
* const [retryFailedBroadcastTargetsMutation, { data, loading, error }] = useRetryFailedBroadcastTargetsMutation({
|
|
7468
|
+
* variables: {
|
|
7469
|
+
* input: // value for 'input'
|
|
7470
|
+
* },
|
|
7471
|
+
* });
|
|
7472
|
+
*/
|
|
7473
|
+
export declare function useRetryFailedBroadcastTargetsMutation(baseOptions?: Apollo.MutationHookOptions<RetryFailedBroadcastTargetsMutation, RetryFailedBroadcastTargetsMutationVariables>): Apollo.MutationTuple<RetryFailedBroadcastTargetsMutation, Exact<{
|
|
7474
|
+
input: RetryFailedBroadcastTargetsInput;
|
|
7475
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
7476
|
+
export type RetryFailedBroadcastTargetsMutationHookResult = ReturnType<typeof useRetryFailedBroadcastTargetsMutation>;
|
|
7477
|
+
export type RetryFailedBroadcastTargetsMutationResult = Apollo.MutationResult<RetryFailedBroadcastTargetsMutation>;
|
|
7478
|
+
export type RetryFailedBroadcastTargetsMutationOptions = Apollo.BaseMutationOptions<RetryFailedBroadcastTargetsMutation, RetryFailedBroadcastTargetsMutationVariables>;
|
|
6998
7479
|
export declare const WorkspaceBroadcastMessageStatusesDocument: Apollo.DocumentNode;
|
|
6999
7480
|
/**
|
|
7000
7481
|
* __useWorkspaceBroadcastMessageStatusesQuery__
|
|
@@ -8062,6 +8543,56 @@ export declare function useAddQuickReplyMutation(baseOptions?: Apollo.MutationHo
|
|
|
8062
8543
|
export type AddQuickReplyMutationHookResult = ReturnType<typeof useAddQuickReplyMutation>;
|
|
8063
8544
|
export type AddQuickReplyMutationResult = Apollo.MutationResult<AddQuickReplyMutation>;
|
|
8064
8545
|
export type AddQuickReplyMutationOptions = Apollo.BaseMutationOptions<AddQuickReplyMutation, AddQuickReplyMutationVariables>;
|
|
8546
|
+
export declare const BlacklistClientDocument: Apollo.DocumentNode;
|
|
8547
|
+
export type BlacklistClientMutationFn = Apollo.MutationFunction<BlacklistClientMutation, BlacklistClientMutationVariables>;
|
|
8548
|
+
/**
|
|
8549
|
+
* __useBlacklistClientMutation__
|
|
8550
|
+
*
|
|
8551
|
+
* To run a mutation, you first call `useBlacklistClientMutation` within a React component and pass it any options that fit your needs.
|
|
8552
|
+
* When your component renders, `useBlacklistClientMutation` returns a tuple that includes:
|
|
8553
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
8554
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
8555
|
+
*
|
|
8556
|
+
* @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;
|
|
8557
|
+
*
|
|
8558
|
+
* @example
|
|
8559
|
+
* const [blacklistClientMutation, { data, loading, error }] = useBlacklistClientMutation({
|
|
8560
|
+
* variables: {
|
|
8561
|
+
* input: // value for 'input'
|
|
8562
|
+
* },
|
|
8563
|
+
* });
|
|
8564
|
+
*/
|
|
8565
|
+
export declare function useBlacklistClientMutation(baseOptions?: Apollo.MutationHookOptions<BlacklistClientMutation, BlacklistClientMutationVariables>): Apollo.MutationTuple<BlacklistClientMutation, Exact<{
|
|
8566
|
+
input: ClientInput;
|
|
8567
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
8568
|
+
export type BlacklistClientMutationHookResult = ReturnType<typeof useBlacklistClientMutation>;
|
|
8569
|
+
export type BlacklistClientMutationResult = Apollo.MutationResult<BlacklistClientMutation>;
|
|
8570
|
+
export type BlacklistClientMutationOptions = Apollo.BaseMutationOptions<BlacklistClientMutation, BlacklistClientMutationVariables>;
|
|
8571
|
+
export declare const BulkBlacklistClientsDocument: Apollo.DocumentNode;
|
|
8572
|
+
export type BulkBlacklistClientsMutationFn = Apollo.MutationFunction<BulkBlacklistClientsMutation, BulkBlacklistClientsMutationVariables>;
|
|
8573
|
+
/**
|
|
8574
|
+
* __useBulkBlacklistClientsMutation__
|
|
8575
|
+
*
|
|
8576
|
+
* To run a mutation, you first call `useBulkBlacklistClientsMutation` within a React component and pass it any options that fit your needs.
|
|
8577
|
+
* When your component renders, `useBulkBlacklistClientsMutation` returns a tuple that includes:
|
|
8578
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
8579
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
8580
|
+
*
|
|
8581
|
+
* @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;
|
|
8582
|
+
*
|
|
8583
|
+
* @example
|
|
8584
|
+
* const [bulkBlacklistClientsMutation, { data, loading, error }] = useBulkBlacklistClientsMutation({
|
|
8585
|
+
* variables: {
|
|
8586
|
+
* input: // value for 'input'
|
|
8587
|
+
* },
|
|
8588
|
+
* });
|
|
8589
|
+
*/
|
|
8590
|
+
export declare function useBulkBlacklistClientsMutation(baseOptions?: Apollo.MutationHookOptions<BulkBlacklistClientsMutation, BulkBlacklistClientsMutationVariables>): Apollo.MutationTuple<BulkBlacklistClientsMutation, Exact<{
|
|
8591
|
+
input: BulkPermanentDeleteClientsInput;
|
|
8592
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
8593
|
+
export type BulkBlacklistClientsMutationHookResult = ReturnType<typeof useBulkBlacklistClientsMutation>;
|
|
8594
|
+
export type BulkBlacklistClientsMutationResult = Apollo.MutationResult<BulkBlacklistClientsMutation>;
|
|
8595
|
+
export type BulkBlacklistClientsMutationOptions = Apollo.BaseMutationOptions<BulkBlacklistClientsMutation, BulkBlacklistClientsMutationVariables>;
|
|
8065
8596
|
export declare const BulkDeleteClientsDocument: Apollo.DocumentNode;
|
|
8066
8597
|
export type BulkDeleteClientsMutationFn = Apollo.MutationFunction<BulkDeleteClientsMutation, BulkDeleteClientsMutationVariables>;
|
|
8067
8598
|
/**
|
|
@@ -8203,6 +8734,31 @@ export declare function useBulkPermanentDeleteClientsByFilterMutation(baseOption
|
|
|
8203
8734
|
export type BulkPermanentDeleteClientsByFilterMutationHookResult = ReturnType<typeof useBulkPermanentDeleteClientsByFilterMutation>;
|
|
8204
8735
|
export type BulkPermanentDeleteClientsByFilterMutationResult = Apollo.MutationResult<BulkPermanentDeleteClientsByFilterMutation>;
|
|
8205
8736
|
export type BulkPermanentDeleteClientsByFilterMutationOptions = Apollo.BaseMutationOptions<BulkPermanentDeleteClientsByFilterMutation, BulkPermanentDeleteClientsByFilterMutationVariables>;
|
|
8737
|
+
export declare const BulkUnblacklistClientsDocument: Apollo.DocumentNode;
|
|
8738
|
+
export type BulkUnblacklistClientsMutationFn = Apollo.MutationFunction<BulkUnblacklistClientsMutation, BulkUnblacklistClientsMutationVariables>;
|
|
8739
|
+
/**
|
|
8740
|
+
* __useBulkUnblacklistClientsMutation__
|
|
8741
|
+
*
|
|
8742
|
+
* To run a mutation, you first call `useBulkUnblacklistClientsMutation` within a React component and pass it any options that fit your needs.
|
|
8743
|
+
* When your component renders, `useBulkUnblacklistClientsMutation` returns a tuple that includes:
|
|
8744
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
8745
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
8746
|
+
*
|
|
8747
|
+
* @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;
|
|
8748
|
+
*
|
|
8749
|
+
* @example
|
|
8750
|
+
* const [bulkUnblacklistClientsMutation, { data, loading, error }] = useBulkUnblacklistClientsMutation({
|
|
8751
|
+
* variables: {
|
|
8752
|
+
* input: // value for 'input'
|
|
8753
|
+
* },
|
|
8754
|
+
* });
|
|
8755
|
+
*/
|
|
8756
|
+
export declare function useBulkUnblacklistClientsMutation(baseOptions?: Apollo.MutationHookOptions<BulkUnblacklistClientsMutation, BulkUnblacklistClientsMutationVariables>): Apollo.MutationTuple<BulkUnblacklistClientsMutation, Exact<{
|
|
8757
|
+
input: BulkPermanentDeleteClientsInput;
|
|
8758
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
8759
|
+
export type BulkUnblacklistClientsMutationHookResult = ReturnType<typeof useBulkUnblacklistClientsMutation>;
|
|
8760
|
+
export type BulkUnblacklistClientsMutationResult = Apollo.MutationResult<BulkUnblacklistClientsMutation>;
|
|
8761
|
+
export type BulkUnblacklistClientsMutationOptions = Apollo.BaseMutationOptions<BulkUnblacklistClientsMutation, BulkUnblacklistClientsMutationVariables>;
|
|
8206
8762
|
export declare const BulkUndeleteClientsDocument: Apollo.DocumentNode;
|
|
8207
8763
|
export type BulkUndeleteClientsMutationFn = Apollo.MutationFunction<BulkUndeleteClientsMutation, BulkUndeleteClientsMutationVariables>;
|
|
8208
8764
|
/**
|
|
@@ -8547,6 +9103,31 @@ export declare function useRemoveQuickReplyMutation(baseOptions?: Apollo.Mutatio
|
|
|
8547
9103
|
export type RemoveQuickReplyMutationHookResult = ReturnType<typeof useRemoveQuickReplyMutation>;
|
|
8548
9104
|
export type RemoveQuickReplyMutationResult = Apollo.MutationResult<RemoveQuickReplyMutation>;
|
|
8549
9105
|
export type RemoveQuickReplyMutationOptions = Apollo.BaseMutationOptions<RemoveQuickReplyMutation, RemoveQuickReplyMutationVariables>;
|
|
9106
|
+
export declare const UnblacklistClientDocument: Apollo.DocumentNode;
|
|
9107
|
+
export type UnblacklistClientMutationFn = Apollo.MutationFunction<UnblacklistClientMutation, UnblacklistClientMutationVariables>;
|
|
9108
|
+
/**
|
|
9109
|
+
* __useUnblacklistClientMutation__
|
|
9110
|
+
*
|
|
9111
|
+
* To run a mutation, you first call `useUnblacklistClientMutation` within a React component and pass it any options that fit your needs.
|
|
9112
|
+
* When your component renders, `useUnblacklistClientMutation` returns a tuple that includes:
|
|
9113
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
9114
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
9115
|
+
*
|
|
9116
|
+
* @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;
|
|
9117
|
+
*
|
|
9118
|
+
* @example
|
|
9119
|
+
* const [unblacklistClientMutation, { data, loading, error }] = useUnblacklistClientMutation({
|
|
9120
|
+
* variables: {
|
|
9121
|
+
* input: // value for 'input'
|
|
9122
|
+
* },
|
|
9123
|
+
* });
|
|
9124
|
+
*/
|
|
9125
|
+
export declare function useUnblacklistClientMutation(baseOptions?: Apollo.MutationHookOptions<UnblacklistClientMutation, UnblacklistClientMutationVariables>): Apollo.MutationTuple<UnblacklistClientMutation, Exact<{
|
|
9126
|
+
input: ClientInput;
|
|
9127
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
9128
|
+
export type UnblacklistClientMutationHookResult = ReturnType<typeof useUnblacklistClientMutation>;
|
|
9129
|
+
export type UnblacklistClientMutationResult = Apollo.MutationResult<UnblacklistClientMutation>;
|
|
9130
|
+
export type UnblacklistClientMutationOptions = Apollo.BaseMutationOptions<UnblacklistClientMutation, UnblacklistClientMutationVariables>;
|
|
8550
9131
|
export declare const UndeleteClientDocument: Apollo.DocumentNode;
|
|
8551
9132
|
export type UndeleteClientMutationFn = Apollo.MutationFunction<UndeleteClientMutation, UndeleteClientMutationVariables>;
|
|
8552
9133
|
/**
|