@bcrumbs.net/inbox 0.0.59 → 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.
- package/assets/ar/inbox.json +16 -3
- package/assets/en/inbox.json +16 -3
- package/index.cjs.js +49121 -49385
- package/index.esm.js +49125 -49389
- package/package.json +4 -4
- package/playwright.config.d.ts +9 -0
- package/src/app/ai/components/Crumby/ChatView.d.ts +12 -0
- package/src/app/ai/components/Crumby/CrumbyComposer.d.ts +3 -0
- package/src/app/ai/components/Crumby/CrumbySendAction.d.ts +4 -0
- package/src/app/ai/components/Crumby/CrumbyWidget.d.ts +2 -0
- package/src/app/ai/components/Crumby/index.d.ts +1 -2
- 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/UserAvatar/AccountSettingsDropdown.d.ts +3 -5
- package/src/app/auth/components/password-page/AuthPasswordPageLayout.d.ts +7 -0
- package/src/app/auth/components/password-page/ForgetPasswordFormView.d.ts +20 -0
- package/src/app/auth/components/password-page/PasswordFormView.d.ts +22 -0
- package/src/app/auth/components/password-page/PasswordSuccessView.d.ts +8 -0
- package/src/app/auth/hooks/useRoles.d.ts +1 -0
- package/src/app/auth/pages/Auth.style.d.ts +68 -0
- package/src/app/auth/pages/Forget.d.ts +0 -3
- package/src/app/auth/pages/Login.style.d.ts +1 -0
- 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/resetWorkspaceRoleState.d.ts +4 -0
- 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/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 +14 -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 +11 -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/components/OnboardingStepDetail.d.ts +10 -0
- package/src/app/onboarding/components/OnboardingView.d.ts +19 -0
- package/src/app/onboarding/components/onboardingStepGuide.d.ts +11 -0
- package/src/app/onboarding/components/useOnboardingChecklist.d.ts +30 -0
- package/src/app/onboarding/utils/onboardingChecklistPersistence.d.ts +18 -0
- package/src/app/onboarding/utils/onboardingChecklistStorage.d.ts +24 -2
- package/src/app/resources/components/Integrations/Facebook/PagePickerPopup.d.ts +3 -1
- package/src/app/resources/components/ListResources/Utils.d.ts +1 -0
- 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/newWorkspaceCheckout.d.ts +16 -0
- package/src/assets/locales/translations.d.ts +122 -1
- package/src/graphql.autogenerated.d.ts +557 -4
- package/src/graphql.billing.autogenerated.d.ts +2 -0
- package/src/lib/EmbeddedMobileMenu.d.ts +2 -1
- package/src/routes/PrivateRoutes.d.ts +1 -5
- package/src/utils/exportCsv.d.ts +8 -0
- package/src/utils/localStorage.d.ts +1 -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
- package/src/app/onboarding/components/OnboardingChecklistWidget.d.ts +0 -3
|
@@ -87,6 +87,7 @@ export type Ai = {
|
|
|
87
87
|
id: Scalars['ID']['output'];
|
|
88
88
|
integrationProperties?: Maybe<IntegrationProperties>;
|
|
89
89
|
name: Scalars['String']['output'];
|
|
90
|
+
subType?: Maybe<AiSubType>;
|
|
90
91
|
type: AiType;
|
|
91
92
|
workspaceId: Scalars['Int']['output'];
|
|
92
93
|
};
|
|
@@ -94,6 +95,7 @@ export type AiCreateInput = {
|
|
|
94
95
|
configuration?: InputMaybe<ConfigurationsInput>;
|
|
95
96
|
integrationProperties: Scalars['JSON']['input'];
|
|
96
97
|
name: Scalars['String']['input'];
|
|
98
|
+
subType?: InputMaybe<AiSubType>;
|
|
97
99
|
type: AiType;
|
|
98
100
|
workspaceId: Scalars['Int']['input'];
|
|
99
101
|
};
|
|
@@ -110,8 +112,15 @@ export type AiPatchInput = {
|
|
|
110
112
|
id: Scalars['ID']['input'];
|
|
111
113
|
integrationProperties?: InputMaybe<Scalars['JSON']['input']>;
|
|
112
114
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
115
|
+
subType?: InputMaybe<AiSubType>;
|
|
113
116
|
workspaceId: Scalars['Int']['input'];
|
|
114
117
|
};
|
|
118
|
+
export declare const AiSubType: {
|
|
119
|
+
readonly PROFILE: "profile";
|
|
120
|
+
readonly QA: "qa";
|
|
121
|
+
readonly RATING: "rating";
|
|
122
|
+
};
|
|
123
|
+
export type AiSubType = typeof AiSubType[keyof typeof AiSubType];
|
|
115
124
|
export declare const AiType: {
|
|
116
125
|
readonly BC_AI: "bc_ai";
|
|
117
126
|
readonly BC_FLOW: "bc_flow";
|
|
@@ -122,6 +131,7 @@ export declare const AiType: {
|
|
|
122
131
|
export type AiType = typeof AiType[keyof typeof AiType];
|
|
123
132
|
export type AIsInput = {
|
|
124
133
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
134
|
+
subType?: InputMaybe<AiSubType>;
|
|
125
135
|
type?: InputMaybe<AiType>;
|
|
126
136
|
workspaceId: Scalars['Int']['input'];
|
|
127
137
|
};
|
|
@@ -139,6 +149,8 @@ export type Agent = {
|
|
|
139
149
|
createdAt: Scalars['DateTime']['output'];
|
|
140
150
|
/** The email of the agent. It is the same as the email of the invited user to the workspace. */
|
|
141
151
|
email: Scalars['String']['output'];
|
|
152
|
+
/** An optional message automatically sent to the customer at the start of every new conversation assigned to this agent. */
|
|
153
|
+
greetingMessage?: Maybe<Scalars['String']['output']>;
|
|
142
154
|
id: Scalars['ID']['output'];
|
|
143
155
|
/** The name of the agent. */
|
|
144
156
|
name: Scalars['String']['output'];
|
|
@@ -195,6 +207,8 @@ export type AgentInput = {
|
|
|
195
207
|
export type AgentPatchInput = {
|
|
196
208
|
/** When false, this agent is excluded from automatic assignment. */
|
|
197
209
|
assignable: Scalars['Boolean']['input'];
|
|
210
|
+
/** An optional message automatically sent to the customer at the start of every new conversation assigned to this agent. Pass null to clear. */
|
|
211
|
+
greetingMessage?: InputMaybe<Scalars['String']['input']>;
|
|
198
212
|
id: Scalars['ID']['input'];
|
|
199
213
|
/** The name of the agent. */
|
|
200
214
|
name: Scalars['String']['input'];
|
|
@@ -373,6 +387,21 @@ export type Broadcast = {
|
|
|
373
387
|
* ]
|
|
374
388
|
* }
|
|
375
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
|
+
* ]
|
|
376
405
|
*/
|
|
377
406
|
templateComponents?: Maybe<Scalars['JSON']['output']>;
|
|
378
407
|
/** The language of the template that will be used to send the broadcast. */
|
|
@@ -434,6 +463,21 @@ export type BroadcastCreateInput = {
|
|
|
434
463
|
* ]
|
|
435
464
|
* }
|
|
436
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
|
+
* ]
|
|
437
481
|
*/
|
|
438
482
|
templateComponents?: InputMaybe<Scalars['JSON']['input']>;
|
|
439
483
|
/** The language of the template that will be used to send the broadcast. */
|
|
@@ -462,6 +506,8 @@ export type BroadcastDeliveryReport = {
|
|
|
462
506
|
pending: Scalars['Int']['output'];
|
|
463
507
|
/** Number of messages that have been read by the recipients. */
|
|
464
508
|
read: Scalars['Int']['output'];
|
|
509
|
+
/** Number of failed messages whose failure reason is transient and eligible for retry. */
|
|
510
|
+
retryableFailed: Scalars['Int']['output'];
|
|
465
511
|
/** Number of messages currently in sent status. */
|
|
466
512
|
sent: Scalars['Int']['output'];
|
|
467
513
|
/** Total number of messages created for the broadcast. */
|
|
@@ -578,6 +624,21 @@ export type BroadcastPatchInput = {
|
|
|
578
624
|
* ]
|
|
579
625
|
* }
|
|
580
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
|
+
* ]
|
|
581
642
|
*/
|
|
582
643
|
templateComponents?: InputMaybe<Scalars['JSON']['input']>;
|
|
583
644
|
/** The language of the template that will be used to send the broadcast. */
|
|
@@ -752,6 +813,12 @@ export type Client = {
|
|
|
752
813
|
address?: Maybe<Scalars['String']['output']>;
|
|
753
814
|
/** The identifier of the user or agent who archived this client. Null if archived by system. */
|
|
754
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']>;
|
|
755
822
|
/** The city of the client. It can be modified by the user. */
|
|
756
823
|
city?: Maybe<Scalars['String']['output']>;
|
|
757
824
|
/** The code of the client. It can be modified by the user. */
|
|
@@ -900,6 +967,8 @@ export type ClientsInput = {
|
|
|
900
967
|
email?: InputMaybe<Scalars['String']['input']>;
|
|
901
968
|
/** The external client id of the client. Used to filter the clients by the external client id. */
|
|
902
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']>;
|
|
903
972
|
/** If true, only return deleted clients. If false or not provided, only return non-deleted clients. */
|
|
904
973
|
isDeleted?: InputMaybe<Scalars['Boolean']['input']>;
|
|
905
974
|
/** The name of the client. Used to filter the clients by the name. */
|
|
@@ -935,6 +1004,7 @@ export type Configurations = {
|
|
|
935
1004
|
emptyResponseFallbackMessage?: Maybe<Scalars['String']['output']>;
|
|
936
1005
|
endEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
937
1006
|
handoverEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
1007
|
+
instructionsVersion?: Maybe<Scalars['String']['output']>;
|
|
938
1008
|
personaPrompt?: Maybe<Scalars['String']['output']>;
|
|
939
1009
|
rolePrompt?: Maybe<Scalars['String']['output']>;
|
|
940
1010
|
};
|
|
@@ -952,6 +1022,7 @@ export type ConfigurationsInput = {
|
|
|
952
1022
|
emptyResponseFallbackMessage?: InputMaybe<Scalars['String']['input']>;
|
|
953
1023
|
endEnabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
954
1024
|
handoverEnabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1025
|
+
instructionsVersion?: InputMaybe<Scalars['String']['input']>;
|
|
955
1026
|
personaPrompt?: InputMaybe<Scalars['String']['input']>;
|
|
956
1027
|
rolePrompt?: InputMaybe<Scalars['String']['input']>;
|
|
957
1028
|
};
|
|
@@ -1171,6 +1242,21 @@ export type ConvStartInput = {
|
|
|
1171
1242
|
* }
|
|
1172
1243
|
* ]
|
|
1173
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
|
+
*
|
|
1174
1260
|
* In string values anywhere inside components you may use placeholders: {{fieldName}}
|
|
1175
1261
|
* where fieldName is one of name, surname, fullName, email, phone, address, code, city, country.
|
|
1176
1262
|
* They are replaced with that client's data when the message is sent (empty string if the property is missing).
|
|
@@ -1290,6 +1376,10 @@ export type Conversation = {
|
|
|
1290
1376
|
orderNo?: Maybe<Scalars['String']['output']>;
|
|
1291
1377
|
/** True when the channel's rating/feedback flow is active: assigned to the rating AI and feedback not yet sent. */
|
|
1292
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']>;
|
|
1293
1383
|
/** The stage id of the conversation. */
|
|
1294
1384
|
stageId?: Maybe<Scalars['String']['output']>;
|
|
1295
1385
|
/** The tags of the conversation. */
|
|
@@ -1300,6 +1390,8 @@ export type Conversation = {
|
|
|
1300
1390
|
/** ConversationClient is a type of the conversation client, the needed client data coming with the conversation. */
|
|
1301
1391
|
export type ConversationClient = {
|
|
1302
1392
|
__typename?: 'ConversationClient';
|
|
1393
|
+
/** The avatar URL of the client from the external channel. */
|
|
1394
|
+
avatarUrl?: Maybe<Scalars['String']['output']>;
|
|
1303
1395
|
/** The code of the client. */
|
|
1304
1396
|
code?: Maybe<Scalars['String']['output']>;
|
|
1305
1397
|
/** Whether the client is deleted (soft-deleted). True when deletedAt has a value. */
|
|
@@ -1408,6 +1500,67 @@ export type CreateWorkspaceInput = {
|
|
|
1408
1500
|
taxOffice?: InputMaybe<Scalars['String']['input']>;
|
|
1409
1501
|
website?: InputMaybe<Scalars['String']['input']>;
|
|
1410
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
|
+
};
|
|
1411
1564
|
/**
|
|
1412
1565
|
* ErrorCode is an enum for the error codes.
|
|
1413
1566
|
* - UNAUTHENTICATED: The user is not authenticated.
|
|
@@ -1676,6 +1829,10 @@ export type Message = {
|
|
|
1676
1829
|
noteType?: Maybe<NoteType>;
|
|
1677
1830
|
/** The sender identifier. It is used to identify the sender of the message in the provider's system. */
|
|
1678
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']>;
|
|
1679
1836
|
/** The status of the message. */
|
|
1680
1837
|
status?: Maybe<MessageStatus>;
|
|
1681
1838
|
/** The tags of the message. */
|
|
@@ -1712,7 +1869,7 @@ export type MessageDto = {
|
|
|
1712
1869
|
debug?: Maybe<Scalars['Boolean']['output']>;
|
|
1713
1870
|
/** The external id of the client. */
|
|
1714
1871
|
externalClientId: Scalars['String']['output'];
|
|
1715
|
-
/** The external info of the client. */
|
|
1872
|
+
/** The external info of the client (name, surname, avatarUrl, etc.). */
|
|
1716
1873
|
externalClientInfo?: Maybe<Scalars['JSON']['output']>;
|
|
1717
1874
|
/** The external context of the message. */
|
|
1718
1875
|
externalContext?: Maybe<Scalars['JSON']['output']>;
|
|
@@ -1728,6 +1885,10 @@ export type MessageDto = {
|
|
|
1728
1885
|
isAgent?: Maybe<Scalars['Boolean']['output']>;
|
|
1729
1886
|
/** The internal id of the message. */
|
|
1730
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']>;
|
|
1731
1892
|
spanId?: Maybe<Scalars['String']['output']>;
|
|
1732
1893
|
/** The tags of the message. */
|
|
1733
1894
|
tags?: Maybe<Array<Scalars['String']['output']>>;
|
|
@@ -1890,6 +2051,10 @@ export type Mutation = {
|
|
|
1890
2051
|
assignConv: Conversation;
|
|
1891
2052
|
assignOwner: UserRole;
|
|
1892
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;
|
|
1893
2058
|
/**
|
|
1894
2059
|
* Bulk soft delete clients by IDs. This archives clients by setting deletedAt.
|
|
1895
2060
|
* You should have the MANAGE_CLIENTS permission to bulk delete clients.
|
|
@@ -1909,6 +2074,8 @@ export type Mutation = {
|
|
|
1909
2074
|
* You should have the MANAGE_WORKSPACE permission to permanently delete clients.
|
|
1910
2075
|
*/
|
|
1911
2076
|
bulkPermanentDeleteClientsByFilter: BulkPermanentDeleteClientsResult;
|
|
2077
|
+
/** Bulk remove clients from the blacklist by IDs. */
|
|
2078
|
+
bulkUnblacklistClients: BulkPermanentDeleteClientsResult;
|
|
1912
2079
|
/**
|
|
1913
2080
|
* Bulk undelete clients by IDs. This restores archived clients by clearing deletedAt.
|
|
1914
2081
|
* You should have the MANAGE_CLIENTS permission to bulk undelete clients.
|
|
@@ -1958,6 +2125,11 @@ export type Mutation = {
|
|
|
1958
2125
|
/** Delete a tag. You should have the MANAGE_WORKSPACE permission to delete a tag. */
|
|
1959
2126
|
deleteTag: Tag;
|
|
1960
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;
|
|
1961
2133
|
/** End a conversation. If you don't have the MANAGE_CONVS permission, you can only end the conversation you are assigned to. */
|
|
1962
2134
|
endConv: Conversation;
|
|
1963
2135
|
/** Generate an API key. You should have the MANAGE_WORKSPACE permission to generate an API key. */
|
|
@@ -1990,6 +2162,11 @@ export type Mutation = {
|
|
|
1990
2162
|
putClient: Client;
|
|
1991
2163
|
/** Remove a quick reply. You should have the MANAGE_WORKSPACE permission to remove a quick reply. */
|
|
1992
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;
|
|
1993
2170
|
say?: Maybe<HelloMessage>;
|
|
1994
2171
|
/** Send a notification to a client. (It can be used also for OTP messages) */
|
|
1995
2172
|
sendNotification: Message;
|
|
@@ -1999,7 +2176,10 @@ export type Mutation = {
|
|
|
1999
2176
|
* (It can be used also for OTP messages)
|
|
2000
2177
|
*/
|
|
2001
2178
|
sendNotificationAndWait: Message;
|
|
2002
|
-
/**
|
|
2179
|
+
/**
|
|
2180
|
+
* Start a conversation. Agents without MANAGE_CONVS may start conversations;
|
|
2181
|
+
* the new conversation is assigned to the starting agent when applicable.
|
|
2182
|
+
*/
|
|
2003
2183
|
startConv: Conversation;
|
|
2004
2184
|
/** Tag a client. You should have the MANAGE_CLIENTS permission to tag a client. */
|
|
2005
2185
|
tagClient: Client;
|
|
@@ -2008,6 +2188,8 @@ export type Mutation = {
|
|
|
2008
2188
|
/** Tag a message. */
|
|
2009
2189
|
tagMessage: Message;
|
|
2010
2190
|
unassignUserRole: Scalars['Boolean']['output'];
|
|
2191
|
+
/** Remove a client from the blacklist by id. */
|
|
2192
|
+
unblacklistClient: Client;
|
|
2011
2193
|
/** Undelete a client by id. You should have the MANAGE_CLIENTS permission to undelete a client. */
|
|
2012
2194
|
undeleteClient: Client;
|
|
2013
2195
|
/** Undelete a client by externalClientId. You should have the MANAGE_CLIENTS permission to undelete a client. */
|
|
@@ -2034,6 +2216,12 @@ export type MutationAssignOwnerArgs = {
|
|
|
2034
2216
|
export type MutationAssignUserRoleArgs = {
|
|
2035
2217
|
input: InputAssignUserRole;
|
|
2036
2218
|
};
|
|
2219
|
+
export type MutationBlacklistClientArgs = {
|
|
2220
|
+
input: ClientInput;
|
|
2221
|
+
};
|
|
2222
|
+
export type MutationBulkBlacklistClientsArgs = {
|
|
2223
|
+
input: BulkPermanentDeleteClientsInput;
|
|
2224
|
+
};
|
|
2037
2225
|
export type MutationBulkDeleteClientsArgs = {
|
|
2038
2226
|
input: BulkPermanentDeleteClientsInput;
|
|
2039
2227
|
};
|
|
@@ -2049,6 +2237,9 @@ export type MutationBulkPermanentDeleteClientsArgs = {
|
|
|
2049
2237
|
export type MutationBulkPermanentDeleteClientsByFilterArgs = {
|
|
2050
2238
|
input: BulkPermanentDeleteClientsByFilterInput;
|
|
2051
2239
|
};
|
|
2240
|
+
export type MutationBulkUnblacklistClientsArgs = {
|
|
2241
|
+
input: BulkPermanentDeleteClientsInput;
|
|
2242
|
+
};
|
|
2052
2243
|
export type MutationBulkUndeleteClientsArgs = {
|
|
2053
2244
|
input: BulkPermanentDeleteClientsInput;
|
|
2054
2245
|
};
|
|
@@ -2118,6 +2309,9 @@ export type MutationDeleteTagArgs = {
|
|
|
2118
2309
|
export type MutationDeleteWebhookArgs = {
|
|
2119
2310
|
input: WebhookDeleteInput;
|
|
2120
2311
|
};
|
|
2312
|
+
export type MutationDeleteWorkspaceArgs = {
|
|
2313
|
+
input: DeleteWorkspaceInput;
|
|
2314
|
+
};
|
|
2121
2315
|
export type MutationEndConvArgs = {
|
|
2122
2316
|
input: ConvEndInput;
|
|
2123
2317
|
};
|
|
@@ -2169,6 +2363,9 @@ export type MutationPutClientArgs = {
|
|
|
2169
2363
|
export type MutationRemoveQuickReplyArgs = {
|
|
2170
2364
|
input: QuickReplyRemoveInput;
|
|
2171
2365
|
};
|
|
2366
|
+
export type MutationRetryFailedBroadcastTargetsArgs = {
|
|
2367
|
+
input: RetryFailedBroadcastTargetsInput;
|
|
2368
|
+
};
|
|
2172
2369
|
export type MutationSayArgs = {
|
|
2173
2370
|
input: UserInput;
|
|
2174
2371
|
};
|
|
@@ -2193,6 +2390,9 @@ export type MutationTagMessageArgs = {
|
|
|
2193
2390
|
export type MutationUnassignUserRoleArgs = {
|
|
2194
2391
|
input: InputUnassignUserRole;
|
|
2195
2392
|
};
|
|
2393
|
+
export type MutationUnblacklistClientArgs = {
|
|
2394
|
+
input: ClientInput;
|
|
2395
|
+
};
|
|
2196
2396
|
export type MutationUndeleteClientArgs = {
|
|
2197
2397
|
input: ClientInput;
|
|
2198
2398
|
};
|
|
@@ -2329,7 +2529,7 @@ export type Query = {
|
|
|
2329
2529
|
*/
|
|
2330
2530
|
isWorkspaceNameAvailable: Scalars['Boolean']['output'];
|
|
2331
2531
|
me: UserRole;
|
|
2332
|
-
/** Get messages with optional filters. */
|
|
2532
|
+
/** Get messages with optional filters. If you don't have the MANAGE_CONVS permission, it will return only messages for conversations assigned to you. */
|
|
2333
2533
|
messages: MessagesPayload;
|
|
2334
2534
|
/** Get the count of open conversations that have recent client messages (conversations that need a response). */
|
|
2335
2535
|
openConversationsNeedResponseCount: Scalars['Int']['output'];
|
|
@@ -2342,7 +2542,10 @@ export type Query = {
|
|
|
2342
2542
|
tokenUsageLogs: TokenUsageLogsPayload;
|
|
2343
2543
|
/** Get total token usage between two dates. */
|
|
2344
2544
|
tokenUsageTotal: TokenUsageTotal;
|
|
2345
|
-
/**
|
|
2545
|
+
/**
|
|
2546
|
+
* Get the upload signature which can be used to upload a file to the cloud storage.
|
|
2547
|
+
* Requires MANAGE_WORKSPACE permission. Blob path must be scoped to the workspace.
|
|
2548
|
+
*/
|
|
2346
2549
|
uploadSignature: UploadSignatureResult;
|
|
2347
2550
|
usersRoles: UsersRolesPayload;
|
|
2348
2551
|
/** Validate a bulk import contacts CSV file before importing. Returns validation errors for each row. You should have the MANAGE_CLIENTS permission to validate files. */
|
|
@@ -2534,6 +2737,17 @@ export type QuickReplyRemoveInput = {
|
|
|
2534
2737
|
id: Scalars['ID']['input'];
|
|
2535
2738
|
workspaceId: Scalars['Int']['input'];
|
|
2536
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
|
+
};
|
|
2537
2751
|
export declare const Role: {
|
|
2538
2752
|
readonly ADMIN: "ADMIN";
|
|
2539
2753
|
readonly AGENT: "AGENT";
|
|
@@ -2582,6 +2796,21 @@ export type SendNotificationInput = {
|
|
|
2582
2796
|
* }
|
|
2583
2797
|
* ]
|
|
2584
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
|
+
*
|
|
2585
2814
|
* In string values anywhere inside components you may use placeholders: {{fieldName}}
|
|
2586
2815
|
* where fieldName is one of name, surname, fullName, email, phone, address, code, city, country.
|
|
2587
2816
|
* They are replaced with that client's data when the message is sent (empty string if the property is missing).
|
|
@@ -2640,6 +2869,8 @@ export type StartByCountryCodeConfig = {
|
|
|
2640
2869
|
__typename?: 'StartByCountryCodeConfig';
|
|
2641
2870
|
/** The assignee id. */
|
|
2642
2871
|
assigneeId: Scalars['ID']['output'];
|
|
2872
|
+
/** Multiple assignee ids for agent pool distribution. */
|
|
2873
|
+
assigneeIds?: Maybe<Array<Scalars['ID']['output']>>;
|
|
2643
2874
|
/** The country code. */
|
|
2644
2875
|
code: Scalars['String']['output'];
|
|
2645
2876
|
};
|
|
@@ -2888,6 +3119,8 @@ export declare const WebhookEvent: {
|
|
|
2888
3119
|
readonly ANY_EVENT: "ANY_EVENT";
|
|
2889
3120
|
/** CLIENT_UPDATED is a special event that will trigger the webhook for client updates. */
|
|
2890
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";
|
|
2891
3124
|
/** ENDING_CONV is a special event that will trigger the webhook for ending conversations. */
|
|
2892
3125
|
readonly ENDING_CONV: "ENDING_CONV";
|
|
2893
3126
|
/** INCOMING_MESSAGE is a special event that will trigger the webhook for incoming messages. */
|
|
@@ -3050,6 +3283,7 @@ export type AiFragment = {
|
|
|
3050
3283
|
id: string;
|
|
3051
3284
|
name: string;
|
|
3052
3285
|
type: AiType;
|
|
3286
|
+
subType?: AiSubType | null;
|
|
3053
3287
|
createdAt: any;
|
|
3054
3288
|
deletedAt?: any | null;
|
|
3055
3289
|
integrationProperties?: {
|
|
@@ -3060,6 +3294,7 @@ export type AiFragment = {
|
|
|
3060
3294
|
} | null;
|
|
3061
3295
|
configuration?: {
|
|
3062
3296
|
__typename?: 'Configurations';
|
|
3297
|
+
instructionsVersion?: string | null;
|
|
3063
3298
|
askForName?: boolean | null;
|
|
3064
3299
|
askForSurname?: boolean | null;
|
|
3065
3300
|
askForEmail?: boolean | null;
|
|
@@ -3096,6 +3331,7 @@ export type AiQuery = {
|
|
|
3096
3331
|
id: string;
|
|
3097
3332
|
name: string;
|
|
3098
3333
|
type: AiType;
|
|
3334
|
+
subType?: AiSubType | null;
|
|
3099
3335
|
createdAt: any;
|
|
3100
3336
|
deletedAt?: any | null;
|
|
3101
3337
|
integrationProperties?: {
|
|
@@ -3106,6 +3342,7 @@ export type AiQuery = {
|
|
|
3106
3342
|
} | null;
|
|
3107
3343
|
configuration?: {
|
|
3108
3344
|
__typename?: 'Configurations';
|
|
3345
|
+
instructionsVersion?: string | null;
|
|
3109
3346
|
askForName?: boolean | null;
|
|
3110
3347
|
askForSurname?: boolean | null;
|
|
3111
3348
|
askForEmail?: boolean | null;
|
|
@@ -3145,6 +3382,7 @@ export type AisQuery = {
|
|
|
3145
3382
|
id: string;
|
|
3146
3383
|
name: string;
|
|
3147
3384
|
type: AiType;
|
|
3385
|
+
subType?: AiSubType | null;
|
|
3148
3386
|
createdAt: any;
|
|
3149
3387
|
deletedAt?: any | null;
|
|
3150
3388
|
integrationProperties?: {
|
|
@@ -3155,6 +3393,7 @@ export type AisQuery = {
|
|
|
3155
3393
|
} | null;
|
|
3156
3394
|
configuration?: {
|
|
3157
3395
|
__typename?: 'Configurations';
|
|
3396
|
+
instructionsVersion?: string | null;
|
|
3158
3397
|
askForName?: boolean | null;
|
|
3159
3398
|
askForSurname?: boolean | null;
|
|
3160
3399
|
askForEmail?: boolean | null;
|
|
@@ -3193,6 +3432,7 @@ export type CreateAiMutation = {
|
|
|
3193
3432
|
id: string;
|
|
3194
3433
|
name: string;
|
|
3195
3434
|
type: AiType;
|
|
3435
|
+
subType?: AiSubType | null;
|
|
3196
3436
|
createdAt: any;
|
|
3197
3437
|
deletedAt?: any | null;
|
|
3198
3438
|
integrationProperties?: {
|
|
@@ -3203,6 +3443,7 @@ export type CreateAiMutation = {
|
|
|
3203
3443
|
} | null;
|
|
3204
3444
|
configuration?: {
|
|
3205
3445
|
__typename?: 'Configurations';
|
|
3446
|
+
instructionsVersion?: string | null;
|
|
3206
3447
|
askForName?: boolean | null;
|
|
3207
3448
|
askForSurname?: boolean | null;
|
|
3208
3449
|
askForEmail?: boolean | null;
|
|
@@ -3255,6 +3496,7 @@ export type DeleteAiMutation = {
|
|
|
3255
3496
|
id: string;
|
|
3256
3497
|
name: string;
|
|
3257
3498
|
type: AiType;
|
|
3499
|
+
subType?: AiSubType | null;
|
|
3258
3500
|
createdAt: any;
|
|
3259
3501
|
deletedAt?: any | null;
|
|
3260
3502
|
integrationProperties?: {
|
|
@@ -3265,6 +3507,7 @@ export type DeleteAiMutation = {
|
|
|
3265
3507
|
} | null;
|
|
3266
3508
|
configuration?: {
|
|
3267
3509
|
__typename?: 'Configurations';
|
|
3510
|
+
instructionsVersion?: string | null;
|
|
3268
3511
|
askForName?: boolean | null;
|
|
3269
3512
|
askForSurname?: boolean | null;
|
|
3270
3513
|
askForEmail?: boolean | null;
|
|
@@ -3317,6 +3560,7 @@ export type PatchAiMutation = {
|
|
|
3317
3560
|
id: string;
|
|
3318
3561
|
name: string;
|
|
3319
3562
|
type: AiType;
|
|
3563
|
+
subType?: AiSubType | null;
|
|
3320
3564
|
createdAt: any;
|
|
3321
3565
|
deletedAt?: any | null;
|
|
3322
3566
|
integrationProperties?: {
|
|
@@ -3327,6 +3571,7 @@ export type PatchAiMutation = {
|
|
|
3327
3571
|
} | null;
|
|
3328
3572
|
configuration?: {
|
|
3329
3573
|
__typename?: 'Configurations';
|
|
3574
|
+
instructionsVersion?: string | null;
|
|
3330
3575
|
askForName?: boolean | null;
|
|
3331
3576
|
askForSurname?: boolean | null;
|
|
3332
3577
|
askForEmail?: boolean | null;
|
|
@@ -3627,6 +3872,7 @@ export type BroadcastDeliveryReportQuery = {
|
|
|
3627
3872
|
delivered: number;
|
|
3628
3873
|
read: number;
|
|
3629
3874
|
failed: number;
|
|
3875
|
+
retryableFailed: number;
|
|
3630
3876
|
pending: number;
|
|
3631
3877
|
failedMessages?: Array<{
|
|
3632
3878
|
__typename?: 'Message';
|
|
@@ -3887,6 +4133,37 @@ export type PatchBroadcastMutation = {
|
|
|
3887
4133
|
error?: string | null;
|
|
3888
4134
|
};
|
|
3889
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
|
+
};
|
|
3890
4167
|
export type WorkspaceBroadcastMessageStatusesQueryVariables = Exact<{
|
|
3891
4168
|
input: WorkspaceBroadcastMessageStatusesInput;
|
|
3892
4169
|
pageInfo?: InputMaybe<PageInfoInput>;
|
|
@@ -4077,6 +4354,7 @@ export type AgentFragment = {
|
|
|
4077
4354
|
email: string;
|
|
4078
4355
|
avatar?: string | null;
|
|
4079
4356
|
assignable: boolean;
|
|
4357
|
+
greetingMessage?: string | null;
|
|
4080
4358
|
createdAt: any;
|
|
4081
4359
|
};
|
|
4082
4360
|
export type ConversationFragment = {
|
|
@@ -4100,6 +4378,8 @@ export type ConversationFragment = {
|
|
|
4100
4378
|
ratingFlowInProgress?: boolean | null;
|
|
4101
4379
|
broadcastId?: string | null;
|
|
4102
4380
|
broadcastName?: string | null;
|
|
4381
|
+
sourceType?: string | null;
|
|
4382
|
+
sourceUrl?: string | null;
|
|
4103
4383
|
integrationSwitches?: Array<{
|
|
4104
4384
|
__typename?: 'ConvIntegrationSwitch';
|
|
4105
4385
|
fromIntegrationId: string;
|
|
@@ -4135,6 +4415,7 @@ export type ConversationFragment = {
|
|
|
4135
4415
|
surname?: string | null;
|
|
4136
4416
|
code?: string | null;
|
|
4137
4417
|
phone?: string | null;
|
|
4418
|
+
avatarUrl?: string | null;
|
|
4138
4419
|
isDeleted: boolean;
|
|
4139
4420
|
} | null;
|
|
4140
4421
|
assignees?: Array<{
|
|
@@ -4233,6 +4514,7 @@ export type AgentQuery = {
|
|
|
4233
4514
|
email: string;
|
|
4234
4515
|
avatar?: string | null;
|
|
4235
4516
|
assignable: boolean;
|
|
4517
|
+
greetingMessage?: string | null;
|
|
4236
4518
|
createdAt: any;
|
|
4237
4519
|
};
|
|
4238
4520
|
};
|
|
@@ -4254,6 +4536,7 @@ export type AgentsQuery = {
|
|
|
4254
4536
|
email: string;
|
|
4255
4537
|
avatar?: string | null;
|
|
4256
4538
|
assignable: boolean;
|
|
4539
|
+
greetingMessage?: string | null;
|
|
4257
4540
|
createdAt: any;
|
|
4258
4541
|
}> | null;
|
|
4259
4542
|
pageInfo?: {
|
|
@@ -4290,6 +4573,8 @@ export type AssignConvMutation = {
|
|
|
4290
4573
|
ratingFlowInProgress?: boolean | null;
|
|
4291
4574
|
broadcastId?: string | null;
|
|
4292
4575
|
broadcastName?: string | null;
|
|
4576
|
+
sourceType?: string | null;
|
|
4577
|
+
sourceUrl?: string | null;
|
|
4293
4578
|
integrationSwitches?: Array<{
|
|
4294
4579
|
__typename?: 'ConvIntegrationSwitch';
|
|
4295
4580
|
fromIntegrationId: string;
|
|
@@ -4325,6 +4610,7 @@ export type AssignConvMutation = {
|
|
|
4325
4610
|
surname?: string | null;
|
|
4326
4611
|
code?: string | null;
|
|
4327
4612
|
phone?: string | null;
|
|
4613
|
+
avatarUrl?: string | null;
|
|
4328
4614
|
isDeleted: boolean;
|
|
4329
4615
|
} | null;
|
|
4330
4616
|
assignees?: Array<{
|
|
@@ -4361,6 +4647,8 @@ export type ConvQuery = {
|
|
|
4361
4647
|
ratingFlowInProgress?: boolean | null;
|
|
4362
4648
|
broadcastId?: string | null;
|
|
4363
4649
|
broadcastName?: string | null;
|
|
4650
|
+
sourceType?: string | null;
|
|
4651
|
+
sourceUrl?: string | null;
|
|
4364
4652
|
integrationSwitches?: Array<{
|
|
4365
4653
|
__typename?: 'ConvIntegrationSwitch';
|
|
4366
4654
|
fromIntegrationId: string;
|
|
@@ -4396,6 +4684,7 @@ export type ConvQuery = {
|
|
|
4396
4684
|
surname?: string | null;
|
|
4397
4685
|
code?: string | null;
|
|
4398
4686
|
phone?: string | null;
|
|
4687
|
+
avatarUrl?: string | null;
|
|
4399
4688
|
isDeleted: boolean;
|
|
4400
4689
|
} | null;
|
|
4401
4690
|
assignees?: Array<{
|
|
@@ -4468,6 +4757,8 @@ export type ConvsQuery = {
|
|
|
4468
4757
|
ratingFlowInProgress?: boolean | null;
|
|
4469
4758
|
broadcastId?: string | null;
|
|
4470
4759
|
broadcastName?: string | null;
|
|
4760
|
+
sourceType?: string | null;
|
|
4761
|
+
sourceUrl?: string | null;
|
|
4471
4762
|
integrationSwitches?: Array<{
|
|
4472
4763
|
__typename?: 'ConvIntegrationSwitch';
|
|
4473
4764
|
fromIntegrationId: string;
|
|
@@ -4503,6 +4794,7 @@ export type ConvsQuery = {
|
|
|
4503
4794
|
surname?: string | null;
|
|
4504
4795
|
code?: string | null;
|
|
4505
4796
|
phone?: string | null;
|
|
4797
|
+
avatarUrl?: string | null;
|
|
4506
4798
|
isDeleted: boolean;
|
|
4507
4799
|
} | null;
|
|
4508
4800
|
assignees?: Array<{
|
|
@@ -4535,6 +4827,7 @@ export type CreateAgentMutation = {
|
|
|
4535
4827
|
email: string;
|
|
4536
4828
|
avatar?: string | null;
|
|
4537
4829
|
assignable: boolean;
|
|
4830
|
+
greetingMessage?: string | null;
|
|
4538
4831
|
createdAt: any;
|
|
4539
4832
|
};
|
|
4540
4833
|
};
|
|
@@ -4553,6 +4846,7 @@ export type DeleteAgentMutation = {
|
|
|
4553
4846
|
email: string;
|
|
4554
4847
|
avatar?: string | null;
|
|
4555
4848
|
assignable: boolean;
|
|
4849
|
+
greetingMessage?: string | null;
|
|
4556
4850
|
createdAt: any;
|
|
4557
4851
|
};
|
|
4558
4852
|
};
|
|
@@ -4582,6 +4876,8 @@ export type EndConvMutation = {
|
|
|
4582
4876
|
ratingFlowInProgress?: boolean | null;
|
|
4583
4877
|
broadcastId?: string | null;
|
|
4584
4878
|
broadcastName?: string | null;
|
|
4879
|
+
sourceType?: string | null;
|
|
4880
|
+
sourceUrl?: string | null;
|
|
4585
4881
|
integrationSwitches?: Array<{
|
|
4586
4882
|
__typename?: 'ConvIntegrationSwitch';
|
|
4587
4883
|
fromIntegrationId: string;
|
|
@@ -4617,6 +4913,7 @@ export type EndConvMutation = {
|
|
|
4617
4913
|
surname?: string | null;
|
|
4618
4914
|
code?: string | null;
|
|
4619
4915
|
phone?: string | null;
|
|
4916
|
+
avatarUrl?: string | null;
|
|
4620
4917
|
isDeleted: boolean;
|
|
4621
4918
|
} | null;
|
|
4622
4919
|
assignees?: Array<{
|
|
@@ -4653,6 +4950,8 @@ export type HandoverConvMutation = {
|
|
|
4653
4950
|
ratingFlowInProgress?: boolean | null;
|
|
4654
4951
|
broadcastId?: string | null;
|
|
4655
4952
|
broadcastName?: string | null;
|
|
4953
|
+
sourceType?: string | null;
|
|
4954
|
+
sourceUrl?: string | null;
|
|
4656
4955
|
integrationSwitches?: Array<{
|
|
4657
4956
|
__typename?: 'ConvIntegrationSwitch';
|
|
4658
4957
|
fromIntegrationId: string;
|
|
@@ -4688,6 +4987,7 @@ export type HandoverConvMutation = {
|
|
|
4688
4987
|
surname?: string | null;
|
|
4689
4988
|
code?: string | null;
|
|
4690
4989
|
phone?: string | null;
|
|
4990
|
+
avatarUrl?: string | null;
|
|
4691
4991
|
isDeleted: boolean;
|
|
4692
4992
|
} | null;
|
|
4693
4993
|
assignees?: Array<{
|
|
@@ -4756,6 +5056,7 @@ export type PatchAgentMutation = {
|
|
|
4756
5056
|
email: string;
|
|
4757
5057
|
avatar?: string | null;
|
|
4758
5058
|
assignable: boolean;
|
|
5059
|
+
greetingMessage?: string | null;
|
|
4759
5060
|
createdAt: any;
|
|
4760
5061
|
};
|
|
4761
5062
|
};
|
|
@@ -4785,6 +5086,8 @@ export type PatchConvMutation = {
|
|
|
4785
5086
|
ratingFlowInProgress?: boolean | null;
|
|
4786
5087
|
broadcastId?: string | null;
|
|
4787
5088
|
broadcastName?: string | null;
|
|
5089
|
+
sourceType?: string | null;
|
|
5090
|
+
sourceUrl?: string | null;
|
|
4788
5091
|
integrationSwitches?: Array<{
|
|
4789
5092
|
__typename?: 'ConvIntegrationSwitch';
|
|
4790
5093
|
fromIntegrationId: string;
|
|
@@ -4820,6 +5123,7 @@ export type PatchConvMutation = {
|
|
|
4820
5123
|
surname?: string | null;
|
|
4821
5124
|
code?: string | null;
|
|
4822
5125
|
phone?: string | null;
|
|
5126
|
+
avatarUrl?: string | null;
|
|
4823
5127
|
isDeleted: boolean;
|
|
4824
5128
|
} | null;
|
|
4825
5129
|
assignees?: Array<{
|
|
@@ -4856,6 +5160,8 @@ export type StartConvMutation = {
|
|
|
4856
5160
|
ratingFlowInProgress?: boolean | null;
|
|
4857
5161
|
broadcastId?: string | null;
|
|
4858
5162
|
broadcastName?: string | null;
|
|
5163
|
+
sourceType?: string | null;
|
|
5164
|
+
sourceUrl?: string | null;
|
|
4859
5165
|
integrationSwitches?: Array<{
|
|
4860
5166
|
__typename?: 'ConvIntegrationSwitch';
|
|
4861
5167
|
fromIntegrationId: string;
|
|
@@ -4891,6 +5197,7 @@ export type StartConvMutation = {
|
|
|
4891
5197
|
surname?: string | null;
|
|
4892
5198
|
code?: string | null;
|
|
4893
5199
|
phone?: string | null;
|
|
5200
|
+
avatarUrl?: string | null;
|
|
4894
5201
|
isDeleted: boolean;
|
|
4895
5202
|
} | null;
|
|
4896
5203
|
assignees?: Array<{
|
|
@@ -4918,6 +5225,7 @@ export type TagClientMutation = {
|
|
|
4918
5225
|
code?: string | null;
|
|
4919
5226
|
city?: string | null;
|
|
4920
5227
|
country?: string | null;
|
|
5228
|
+
avatarUrl?: string | null;
|
|
4921
5229
|
externalClientId?: string | null;
|
|
4922
5230
|
tags?: Array<string> | null;
|
|
4923
5231
|
createdAt: any;
|
|
@@ -4925,6 +5233,8 @@ export type TagClientMutation = {
|
|
|
4925
5233
|
defaultAgentId?: string | null;
|
|
4926
5234
|
deletedAt?: any | null;
|
|
4927
5235
|
archivedBy?: string | null;
|
|
5236
|
+
blacklistedAt?: any | null;
|
|
5237
|
+
blacklistedBy?: string | null;
|
|
4928
5238
|
};
|
|
4929
5239
|
};
|
|
4930
5240
|
export type TagConvMutationVariables = Exact<{
|
|
@@ -4953,6 +5263,8 @@ export type TagConvMutation = {
|
|
|
4953
5263
|
ratingFlowInProgress?: boolean | null;
|
|
4954
5264
|
broadcastId?: string | null;
|
|
4955
5265
|
broadcastName?: string | null;
|
|
5266
|
+
sourceType?: string | null;
|
|
5267
|
+
sourceUrl?: string | null;
|
|
4956
5268
|
integrationSwitches?: Array<{
|
|
4957
5269
|
__typename?: 'ConvIntegrationSwitch';
|
|
4958
5270
|
fromIntegrationId: string;
|
|
@@ -4988,6 +5300,7 @@ export type TagConvMutation = {
|
|
|
4988
5300
|
surname?: string | null;
|
|
4989
5301
|
code?: string | null;
|
|
4990
5302
|
phone?: string | null;
|
|
5303
|
+
avatarUrl?: string | null;
|
|
4991
5304
|
isDeleted: boolean;
|
|
4992
5305
|
} | null;
|
|
4993
5306
|
assignees?: Array<{
|
|
@@ -5031,6 +5344,7 @@ export type UntagClientMutation = {
|
|
|
5031
5344
|
code?: string | null;
|
|
5032
5345
|
city?: string | null;
|
|
5033
5346
|
country?: string | null;
|
|
5347
|
+
avatarUrl?: string | null;
|
|
5034
5348
|
externalClientId?: string | null;
|
|
5035
5349
|
tags?: Array<string> | null;
|
|
5036
5350
|
createdAt: any;
|
|
@@ -5038,6 +5352,8 @@ export type UntagClientMutation = {
|
|
|
5038
5352
|
defaultAgentId?: string | null;
|
|
5039
5353
|
deletedAt?: any | null;
|
|
5040
5354
|
archivedBy?: string | null;
|
|
5355
|
+
blacklistedAt?: any | null;
|
|
5356
|
+
blacklistedBy?: string | null;
|
|
5041
5357
|
};
|
|
5042
5358
|
};
|
|
5043
5359
|
export type UntagConvMutationVariables = Exact<{
|
|
@@ -5066,6 +5382,8 @@ export type UntagConvMutation = {
|
|
|
5066
5382
|
ratingFlowInProgress?: boolean | null;
|
|
5067
5383
|
broadcastId?: string | null;
|
|
5068
5384
|
broadcastName?: string | null;
|
|
5385
|
+
sourceType?: string | null;
|
|
5386
|
+
sourceUrl?: string | null;
|
|
5069
5387
|
integrationSwitches?: Array<{
|
|
5070
5388
|
__typename?: 'ConvIntegrationSwitch';
|
|
5071
5389
|
fromIntegrationId: string;
|
|
@@ -5101,6 +5419,7 @@ export type UntagConvMutation = {
|
|
|
5101
5419
|
surname?: string | null;
|
|
5102
5420
|
code?: string | null;
|
|
5103
5421
|
phone?: string | null;
|
|
5422
|
+
avatarUrl?: string | null;
|
|
5104
5423
|
isDeleted: boolean;
|
|
5105
5424
|
} | null;
|
|
5106
5425
|
assignees?: Array<{
|
|
@@ -5159,6 +5478,7 @@ export type ClientFragment = {
|
|
|
5159
5478
|
code?: string | null;
|
|
5160
5479
|
city?: string | null;
|
|
5161
5480
|
country?: string | null;
|
|
5481
|
+
avatarUrl?: string | null;
|
|
5162
5482
|
externalClientId?: string | null;
|
|
5163
5483
|
tags?: Array<string> | null;
|
|
5164
5484
|
createdAt: any;
|
|
@@ -5166,6 +5486,8 @@ export type ClientFragment = {
|
|
|
5166
5486
|
defaultAgentId?: string | null;
|
|
5167
5487
|
deletedAt?: any | null;
|
|
5168
5488
|
archivedBy?: string | null;
|
|
5489
|
+
blacklistedAt?: any | null;
|
|
5490
|
+
blacklistedBy?: string | null;
|
|
5169
5491
|
};
|
|
5170
5492
|
export type QuickReplyFragment = {
|
|
5171
5493
|
__typename?: 'QuickReply';
|
|
@@ -5191,6 +5513,45 @@ export type AddQuickReplyMutation = {
|
|
|
5191
5513
|
updatedAt: any;
|
|
5192
5514
|
};
|
|
5193
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
|
+
};
|
|
5194
5555
|
export type BulkDeleteClientsMutationVariables = Exact<{
|
|
5195
5556
|
input: BulkPermanentDeleteClientsInput;
|
|
5196
5557
|
}>;
|
|
@@ -5250,6 +5611,16 @@ export type BulkPermanentDeleteClientsByFilterMutation = {
|
|
|
5250
5611
|
deletedCount: number;
|
|
5251
5612
|
};
|
|
5252
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
|
+
};
|
|
5253
5624
|
export type BulkUndeleteClientsMutationVariables = Exact<{
|
|
5254
5625
|
input: BulkPermanentDeleteClientsInput;
|
|
5255
5626
|
}>;
|
|
@@ -5277,6 +5648,7 @@ export type ClientQuery = {
|
|
|
5277
5648
|
code?: string | null;
|
|
5278
5649
|
city?: string | null;
|
|
5279
5650
|
country?: string | null;
|
|
5651
|
+
avatarUrl?: string | null;
|
|
5280
5652
|
externalClientId?: string | null;
|
|
5281
5653
|
tags?: Array<string> | null;
|
|
5282
5654
|
createdAt: any;
|
|
@@ -5284,6 +5656,8 @@ export type ClientQuery = {
|
|
|
5284
5656
|
defaultAgentId?: string | null;
|
|
5285
5657
|
deletedAt?: any | null;
|
|
5286
5658
|
archivedBy?: string | null;
|
|
5659
|
+
blacklistedAt?: any | null;
|
|
5660
|
+
blacklistedBy?: string | null;
|
|
5287
5661
|
};
|
|
5288
5662
|
};
|
|
5289
5663
|
export type ClientByPhoneQueryVariables = Exact<{
|
|
@@ -5303,6 +5677,7 @@ export type ClientByPhoneQuery = {
|
|
|
5303
5677
|
code?: string | null;
|
|
5304
5678
|
city?: string | null;
|
|
5305
5679
|
country?: string | null;
|
|
5680
|
+
avatarUrl?: string | null;
|
|
5306
5681
|
externalClientId?: string | null;
|
|
5307
5682
|
tags?: Array<string> | null;
|
|
5308
5683
|
createdAt: any;
|
|
@@ -5310,6 +5685,8 @@ export type ClientByPhoneQuery = {
|
|
|
5310
5685
|
defaultAgentId?: string | null;
|
|
5311
5686
|
deletedAt?: any | null;
|
|
5312
5687
|
archivedBy?: string | null;
|
|
5688
|
+
blacklistedAt?: any | null;
|
|
5689
|
+
blacklistedBy?: string | null;
|
|
5313
5690
|
};
|
|
5314
5691
|
};
|
|
5315
5692
|
export type ClientsQueryVariables = Exact<{
|
|
@@ -5332,6 +5709,7 @@ export type ClientsQuery = {
|
|
|
5332
5709
|
code?: string | null;
|
|
5333
5710
|
city?: string | null;
|
|
5334
5711
|
country?: string | null;
|
|
5712
|
+
avatarUrl?: string | null;
|
|
5335
5713
|
externalClientId?: string | null;
|
|
5336
5714
|
tags?: Array<string> | null;
|
|
5337
5715
|
createdAt: any;
|
|
@@ -5339,6 +5717,8 @@ export type ClientsQuery = {
|
|
|
5339
5717
|
defaultAgentId?: string | null;
|
|
5340
5718
|
deletedAt?: any | null;
|
|
5341
5719
|
archivedBy?: string | null;
|
|
5720
|
+
blacklistedAt?: any | null;
|
|
5721
|
+
blacklistedBy?: string | null;
|
|
5342
5722
|
}> | null;
|
|
5343
5723
|
pageInfo?: {
|
|
5344
5724
|
__typename?: 'PageInfo';
|
|
@@ -5365,6 +5745,7 @@ export type CreateClientMutation = {
|
|
|
5365
5745
|
code?: string | null;
|
|
5366
5746
|
city?: string | null;
|
|
5367
5747
|
country?: string | null;
|
|
5748
|
+
avatarUrl?: string | null;
|
|
5368
5749
|
externalClientId?: string | null;
|
|
5369
5750
|
tags?: Array<string> | null;
|
|
5370
5751
|
createdAt: any;
|
|
@@ -5372,6 +5753,8 @@ export type CreateClientMutation = {
|
|
|
5372
5753
|
defaultAgentId?: string | null;
|
|
5373
5754
|
deletedAt?: any | null;
|
|
5374
5755
|
archivedBy?: string | null;
|
|
5756
|
+
blacklistedAt?: any | null;
|
|
5757
|
+
blacklistedBy?: string | null;
|
|
5375
5758
|
};
|
|
5376
5759
|
};
|
|
5377
5760
|
export type DeleteClientMutationVariables = Exact<{
|
|
@@ -5391,6 +5774,7 @@ export type DeleteClientMutation = {
|
|
|
5391
5774
|
code?: string | null;
|
|
5392
5775
|
city?: string | null;
|
|
5393
5776
|
country?: string | null;
|
|
5777
|
+
avatarUrl?: string | null;
|
|
5394
5778
|
externalClientId?: string | null;
|
|
5395
5779
|
tags?: Array<string> | null;
|
|
5396
5780
|
createdAt: any;
|
|
@@ -5398,6 +5782,8 @@ export type DeleteClientMutation = {
|
|
|
5398
5782
|
defaultAgentId?: string | null;
|
|
5399
5783
|
deletedAt?: any | null;
|
|
5400
5784
|
archivedBy?: string | null;
|
|
5785
|
+
blacklistedAt?: any | null;
|
|
5786
|
+
blacklistedBy?: string | null;
|
|
5401
5787
|
};
|
|
5402
5788
|
};
|
|
5403
5789
|
export type DeleteClientByExternalIdMutationVariables = Exact<{
|
|
@@ -5417,6 +5803,7 @@ export type DeleteClientByExternalIdMutation = {
|
|
|
5417
5803
|
code?: string | null;
|
|
5418
5804
|
city?: string | null;
|
|
5419
5805
|
country?: string | null;
|
|
5806
|
+
avatarUrl?: string | null;
|
|
5420
5807
|
externalClientId?: string | null;
|
|
5421
5808
|
tags?: Array<string> | null;
|
|
5422
5809
|
createdAt: any;
|
|
@@ -5424,6 +5811,8 @@ export type DeleteClientByExternalIdMutation = {
|
|
|
5424
5811
|
defaultAgentId?: string | null;
|
|
5425
5812
|
deletedAt?: any | null;
|
|
5426
5813
|
archivedBy?: string | null;
|
|
5814
|
+
blacklistedAt?: any | null;
|
|
5815
|
+
blacklistedBy?: string | null;
|
|
5427
5816
|
};
|
|
5428
5817
|
};
|
|
5429
5818
|
export type PatchClientMutationVariables = Exact<{
|
|
@@ -5443,6 +5832,7 @@ export type PatchClientMutation = {
|
|
|
5443
5832
|
code?: string | null;
|
|
5444
5833
|
city?: string | null;
|
|
5445
5834
|
country?: string | null;
|
|
5835
|
+
avatarUrl?: string | null;
|
|
5446
5836
|
externalClientId?: string | null;
|
|
5447
5837
|
tags?: Array<string> | null;
|
|
5448
5838
|
createdAt: any;
|
|
@@ -5450,6 +5840,8 @@ export type PatchClientMutation = {
|
|
|
5450
5840
|
defaultAgentId?: string | null;
|
|
5451
5841
|
deletedAt?: any | null;
|
|
5452
5842
|
archivedBy?: string | null;
|
|
5843
|
+
blacklistedAt?: any | null;
|
|
5844
|
+
blacklistedBy?: string | null;
|
|
5453
5845
|
};
|
|
5454
5846
|
};
|
|
5455
5847
|
export type PatchQuickReplyMutationVariables = Exact<{
|
|
@@ -5500,6 +5892,35 @@ export type RemoveQuickReplyMutation = {
|
|
|
5500
5892
|
updatedAt: any;
|
|
5501
5893
|
};
|
|
5502
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
|
+
};
|
|
5503
5924
|
export type UndeleteClientMutationVariables = Exact<{
|
|
5504
5925
|
input: ClientInput;
|
|
5505
5926
|
}>;
|
|
@@ -5517,6 +5938,7 @@ export type UndeleteClientMutation = {
|
|
|
5517
5938
|
code?: string | null;
|
|
5518
5939
|
city?: string | null;
|
|
5519
5940
|
country?: string | null;
|
|
5941
|
+
avatarUrl?: string | null;
|
|
5520
5942
|
externalClientId?: string | null;
|
|
5521
5943
|
tags?: Array<string> | null;
|
|
5522
5944
|
createdAt: any;
|
|
@@ -5524,6 +5946,8 @@ export type UndeleteClientMutation = {
|
|
|
5524
5946
|
defaultAgentId?: string | null;
|
|
5525
5947
|
deletedAt?: any | null;
|
|
5526
5948
|
archivedBy?: string | null;
|
|
5949
|
+
blacklistedAt?: any | null;
|
|
5950
|
+
blacklistedBy?: string | null;
|
|
5527
5951
|
};
|
|
5528
5952
|
};
|
|
5529
5953
|
export type UndeleteClientByExternalIdMutationVariables = Exact<{
|
|
@@ -5543,6 +5967,7 @@ export type UndeleteClientByExternalIdMutation = {
|
|
|
5543
5967
|
code?: string | null;
|
|
5544
5968
|
city?: string | null;
|
|
5545
5969
|
country?: string | null;
|
|
5970
|
+
avatarUrl?: string | null;
|
|
5546
5971
|
externalClientId?: string | null;
|
|
5547
5972
|
tags?: Array<string> | null;
|
|
5548
5973
|
createdAt: any;
|
|
@@ -5550,6 +5975,8 @@ export type UndeleteClientByExternalIdMutation = {
|
|
|
5550
5975
|
defaultAgentId?: string | null;
|
|
5551
5976
|
deletedAt?: any | null;
|
|
5552
5977
|
archivedBy?: string | null;
|
|
5978
|
+
blacklistedAt?: any | null;
|
|
5979
|
+
blacklistedBy?: string | null;
|
|
5553
5980
|
};
|
|
5554
5981
|
};
|
|
5555
5982
|
export type ValidateBulkImportContactsQueryVariables = Exact<{
|
|
@@ -5642,6 +6069,7 @@ export type CreateAgentWithApiKeyMutation = {
|
|
|
5642
6069
|
email: string;
|
|
5643
6070
|
avatar?: string | null;
|
|
5644
6071
|
assignable: boolean;
|
|
6072
|
+
greetingMessage?: string | null;
|
|
5645
6073
|
createdAt: any;
|
|
5646
6074
|
};
|
|
5647
6075
|
apiKey: {
|
|
@@ -6952,6 +7380,31 @@ export declare function usePatchBroadcastMutation(baseOptions?: Apollo.MutationH
|
|
|
6952
7380
|
export type PatchBroadcastMutationHookResult = ReturnType<typeof usePatchBroadcastMutation>;
|
|
6953
7381
|
export type PatchBroadcastMutationResult = Apollo.MutationResult<PatchBroadcastMutation>;
|
|
6954
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>;
|
|
6955
7408
|
export declare const WorkspaceBroadcastMessageStatusesDocument: Apollo.DocumentNode;
|
|
6956
7409
|
/**
|
|
6957
7410
|
* __useWorkspaceBroadcastMessageStatusesQuery__
|
|
@@ -8019,6 +8472,56 @@ export declare function useAddQuickReplyMutation(baseOptions?: Apollo.MutationHo
|
|
|
8019
8472
|
export type AddQuickReplyMutationHookResult = ReturnType<typeof useAddQuickReplyMutation>;
|
|
8020
8473
|
export type AddQuickReplyMutationResult = Apollo.MutationResult<AddQuickReplyMutation>;
|
|
8021
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>;
|
|
8022
8525
|
export declare const BulkDeleteClientsDocument: Apollo.DocumentNode;
|
|
8023
8526
|
export type BulkDeleteClientsMutationFn = Apollo.MutationFunction<BulkDeleteClientsMutation, BulkDeleteClientsMutationVariables>;
|
|
8024
8527
|
/**
|
|
@@ -8160,6 +8663,31 @@ export declare function useBulkPermanentDeleteClientsByFilterMutation(baseOption
|
|
|
8160
8663
|
export type BulkPermanentDeleteClientsByFilterMutationHookResult = ReturnType<typeof useBulkPermanentDeleteClientsByFilterMutation>;
|
|
8161
8664
|
export type BulkPermanentDeleteClientsByFilterMutationResult = Apollo.MutationResult<BulkPermanentDeleteClientsByFilterMutation>;
|
|
8162
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>;
|
|
8163
8691
|
export declare const BulkUndeleteClientsDocument: Apollo.DocumentNode;
|
|
8164
8692
|
export type BulkUndeleteClientsMutationFn = Apollo.MutationFunction<BulkUndeleteClientsMutation, BulkUndeleteClientsMutationVariables>;
|
|
8165
8693
|
/**
|
|
@@ -8504,6 +9032,31 @@ export declare function useRemoveQuickReplyMutation(baseOptions?: Apollo.Mutatio
|
|
|
8504
9032
|
export type RemoveQuickReplyMutationHookResult = ReturnType<typeof useRemoveQuickReplyMutation>;
|
|
8505
9033
|
export type RemoveQuickReplyMutationResult = Apollo.MutationResult<RemoveQuickReplyMutation>;
|
|
8506
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>;
|
|
8507
9060
|
export declare const UndeleteClientDocument: Apollo.DocumentNode;
|
|
8508
9061
|
export type UndeleteClientMutationFn = Apollo.MutationFunction<UndeleteClientMutation, UndeleteClientMutationVariables>;
|
|
8509
9062
|
/**
|