@bcrumbs.net/inbox 0.0.58 → 0.0.60
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/{cb9c022b3cf80e0f.svg → 2998ffe42c3436c0.svg} +43 -43
- package/{594c01a9720e0657.svg → 396ba1d86a9997b1.svg} +42 -42
- package/assets/ar/inbox.json +268 -268
- package/assets/en/inbox.json +270 -270
- package/index.cjs.d.ts +1 -1
- package/index.cjs.js +9225 -9316
- package/index.esm.d.ts +1 -1
- package/index.esm.js +9228 -9319
- package/package.json +3 -3
- 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/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/pages/Forget.d.ts +0 -3
- package/src/app/broadcast/utils/helper.d.ts +2 -1
- package/src/app/dashboard/components/DashboardSections.d.ts +6 -2
- package/src/app/dashboard/components/OpenedChatsCard.d.ts +2 -1
- package/src/app/dashboard/components/TagPerformanceCard.d.ts +8 -0
- package/src/app/dashboard/utils/dateHelpers.d.ts +3 -0
- package/src/app/inbox/components/Chat/ChatContent.d.ts +1 -0
- package/src/app/inbox/components/Shared/SharedStyle.d.ts +0 -6
- package/src/app/inbox/hooks/useCanContribute.d.ts +3 -2
- package/src/app/layout/constants/index.d.ts +2 -1
- 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/onboardingChecklistStorage.d.ts +15 -2
- package/src/app/resources/components/Integrations/Facebook/PagePickerPopup.d.ts +1 -2
- package/src/app/resources/components/Integrations/Facebook/index.d.ts +3 -1
- package/src/app/resources/components/ListResources/Utils.d.ts +0 -1
- package/src/app/resources/hooks/useFBPagesHook.d.ts +1 -0
- package/src/app/subscriptions/components/SubscriptionSettings/SubscriptionUsers.d.ts +1 -1
- package/src/assets/locales/translations.d.ts +69 -1
- package/src/graphql.autogenerated.d.ts +192 -4
- package/src/graphql.billing.autogenerated.d.ts +171 -0
- package/src/utils/localStorage.d.ts +1 -0
- package/src/utils/zohoOAuth.d.ts +16 -0
- 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'];
|
|
@@ -935,6 +949,7 @@ export type Configurations = {
|
|
|
935
949
|
emptyResponseFallbackMessage?: Maybe<Scalars['String']['output']>;
|
|
936
950
|
endEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
937
951
|
handoverEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
952
|
+
instructionsVersion?: Maybe<Scalars['String']['output']>;
|
|
938
953
|
personaPrompt?: Maybe<Scalars['String']['output']>;
|
|
939
954
|
rolePrompt?: Maybe<Scalars['String']['output']>;
|
|
940
955
|
};
|
|
@@ -952,6 +967,7 @@ export type ConfigurationsInput = {
|
|
|
952
967
|
emptyResponseFallbackMessage?: InputMaybe<Scalars['String']['input']>;
|
|
953
968
|
endEnabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
954
969
|
handoverEnabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
970
|
+
instructionsVersion?: InputMaybe<Scalars['String']['input']>;
|
|
955
971
|
personaPrompt?: InputMaybe<Scalars['String']['input']>;
|
|
956
972
|
rolePrompt?: InputMaybe<Scalars['String']['input']>;
|
|
957
973
|
};
|
|
@@ -1192,6 +1208,57 @@ export type ConvTagInput = {
|
|
|
1192
1208
|
tag: Scalars['String']['input'];
|
|
1193
1209
|
workspaceId: Scalars['Int']['input'];
|
|
1194
1210
|
};
|
|
1211
|
+
/** ConvTagReport is a report of conversations breaked down by tag per day. It is used to understand tag performance. */
|
|
1212
|
+
export type ConvTagReport = {
|
|
1213
|
+
__typename?: 'ConvTagReport';
|
|
1214
|
+
/** The number of messages sent by the agents. */
|
|
1215
|
+
agentMessagesCount: Scalars['Int']['output'];
|
|
1216
|
+
/** The average rating for rated conversations. */
|
|
1217
|
+
averageRating: Scalars['Float']['output'];
|
|
1218
|
+
/** The average time of the conversation. */
|
|
1219
|
+
avgConversationTime: Scalars['Int']['output'];
|
|
1220
|
+
/** The average time to first response. */
|
|
1221
|
+
avgFirstResponseTime: Scalars['Int']['output'];
|
|
1222
|
+
/** The number of messages sent by the clients. */
|
|
1223
|
+
clientMessageCount: Scalars['Int']['output'];
|
|
1224
|
+
/** The number of conversations with this tag. */
|
|
1225
|
+
conversationCount: Scalars['Int']['output'];
|
|
1226
|
+
/** The date and time when the tag report was created. */
|
|
1227
|
+
createdAt: Scalars['DateTime']['output'];
|
|
1228
|
+
/** The CSAT percentage (4 and 5 ratings over rated conversations). */
|
|
1229
|
+
csat: Scalars['Float']['output'];
|
|
1230
|
+
/** Conversations included in avgFirstResponseTime (client messaged before the agent replied). */
|
|
1231
|
+
firstResponseConversationCount: Scalars['Int']['output'];
|
|
1232
|
+
id: Scalars['ID']['output'];
|
|
1233
|
+
/** The integration (channel) id. */
|
|
1234
|
+
integrationId: Scalars['ID']['output'];
|
|
1235
|
+
/** The number of new client conversations. */
|
|
1236
|
+
newClientConvCount?: Maybe<Scalars['Int']['output']>;
|
|
1237
|
+
/** The percentage of conversations that received a rating. */
|
|
1238
|
+
responseRate: Scalars['Float']['output'];
|
|
1239
|
+
/** The tag name. */
|
|
1240
|
+
tag: Scalars['String']['output'];
|
|
1241
|
+
workspaceId: Scalars['Int']['output'];
|
|
1242
|
+
};
|
|
1243
|
+
/** ConvTagsReportInput is an input of the conversation tags report query. */
|
|
1244
|
+
export type ConvTagsReportInput = {
|
|
1245
|
+
/** The end date of the report. */
|
|
1246
|
+
endDate: Scalars['DateTime']['input'];
|
|
1247
|
+
/** The integration/channel id of the conversation. */
|
|
1248
|
+
integrationId?: InputMaybe<Scalars['ID']['input']>;
|
|
1249
|
+
/** The start date of the report. */
|
|
1250
|
+
startDate: Scalars['DateTime']['input'];
|
|
1251
|
+
/** Filter by a single tag name. */
|
|
1252
|
+
tag?: InputMaybe<Scalars['String']['input']>;
|
|
1253
|
+
/** Filter by multiple tag names (OR). When non-empty, takes precedence over tag. */
|
|
1254
|
+
tags?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1255
|
+
workspaceId: Scalars['Int']['input'];
|
|
1256
|
+
};
|
|
1257
|
+
/** ConvTagsReportPayload is a payload of the conversation tags report query. */
|
|
1258
|
+
export type ConvTagsReportPayload = {
|
|
1259
|
+
__typename?: 'ConvTagsReportPayload';
|
|
1260
|
+
nodes?: Maybe<Array<ConvTagReport>>;
|
|
1261
|
+
};
|
|
1195
1262
|
/** Conversation is a type of the conversation. */
|
|
1196
1263
|
export type Conversation = {
|
|
1197
1264
|
__typename?: 'Conversation';
|
|
@@ -1600,6 +1667,8 @@ export type MediaType = typeof MediaType[keyof typeof MediaType];
|
|
|
1600
1667
|
/** Message is a type of the message. */
|
|
1601
1668
|
export type Message = {
|
|
1602
1669
|
__typename?: 'Message';
|
|
1670
|
+
/** When the message record was persisted in the database. Null for legacy rows. */
|
|
1671
|
+
addedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
1603
1672
|
/** The id of the agent that sent the message. */
|
|
1604
1673
|
agentId?: Maybe<Scalars['ID']['output']>;
|
|
1605
1674
|
/**
|
|
@@ -1609,7 +1678,7 @@ export type Message = {
|
|
|
1609
1678
|
content: Scalars['String']['output'];
|
|
1610
1679
|
/** The context of the message. */
|
|
1611
1680
|
context?: Maybe<MessageContext>;
|
|
1612
|
-
/**
|
|
1681
|
+
/** When the message was sent or received on the channel (e.g. WhatsApp timestamp). */
|
|
1613
1682
|
createdAt: Scalars['DateTime']['output'];
|
|
1614
1683
|
/** The external message id of the message. */
|
|
1615
1684
|
externalMessageId?: Maybe<Scalars['String']['output']>;
|
|
@@ -1946,7 +2015,10 @@ export type Mutation = {
|
|
|
1946
2015
|
* (It can be used also for OTP messages)
|
|
1947
2016
|
*/
|
|
1948
2017
|
sendNotificationAndWait: Message;
|
|
1949
|
-
/**
|
|
2018
|
+
/**
|
|
2019
|
+
* Start a conversation. Agents without MANAGE_CONVS may start conversations;
|
|
2020
|
+
* the new conversation is assigned to the starting agent when applicable.
|
|
2021
|
+
*/
|
|
1950
2022
|
startConv: Conversation;
|
|
1951
2023
|
/** Tag a client. You should have the MANAGE_CLIENTS permission to tag a client. */
|
|
1952
2024
|
tagClient: Client;
|
|
@@ -2257,6 +2329,8 @@ export type Query = {
|
|
|
2257
2329
|
convLastMessage?: Maybe<Message>;
|
|
2258
2330
|
/** Get an AI summary for conversation messages. */
|
|
2259
2331
|
convSummary: ConvAssistPayload;
|
|
2332
|
+
/** Get the conversation tags report. You should have the MANAGE_CONVS permission to get the tags report. */
|
|
2333
|
+
convTagsReport: ConvTagsReportPayload;
|
|
2260
2334
|
/** Get the conversations. If you don't have the MANAGE_CONVS permission, it will return only the conversations assigned to you. */
|
|
2261
2335
|
convs: ConvsPayload;
|
|
2262
2336
|
/** Get the conversations report. You should have the MANAGE_CONVS permission to get the conversations report. */
|
|
@@ -2274,7 +2348,7 @@ export type Query = {
|
|
|
2274
2348
|
*/
|
|
2275
2349
|
isWorkspaceNameAvailable: Scalars['Boolean']['output'];
|
|
2276
2350
|
me: UserRole;
|
|
2277
|
-
/** Get messages with optional filters. */
|
|
2351
|
+
/** Get messages with optional filters. If you don't have the MANAGE_CONVS permission, it will return only messages for conversations assigned to you. */
|
|
2278
2352
|
messages: MessagesPayload;
|
|
2279
2353
|
/** Get the count of open conversations that have recent client messages (conversations that need a response). */
|
|
2280
2354
|
openConversationsNeedResponseCount: Scalars['Int']['output'];
|
|
@@ -2287,7 +2361,10 @@ export type Query = {
|
|
|
2287
2361
|
tokenUsageLogs: TokenUsageLogsPayload;
|
|
2288
2362
|
/** Get total token usage between two dates. */
|
|
2289
2363
|
tokenUsageTotal: TokenUsageTotal;
|
|
2290
|
-
/**
|
|
2364
|
+
/**
|
|
2365
|
+
* Get the upload signature which can be used to upload a file to the cloud storage.
|
|
2366
|
+
* Requires MANAGE_WORKSPACE permission. Blob path must be scoped to the workspace.
|
|
2367
|
+
*/
|
|
2291
2368
|
uploadSignature: UploadSignatureResult;
|
|
2292
2369
|
usersRoles: UsersRolesPayload;
|
|
2293
2370
|
/** 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. */
|
|
@@ -2372,6 +2449,9 @@ export type QueryConvLastMessageArgs = {
|
|
|
2372
2449
|
export type QueryConvSummaryArgs = {
|
|
2373
2450
|
input: ConvAssistInput;
|
|
2374
2451
|
};
|
|
2452
|
+
export type QueryConvTagsReportArgs = {
|
|
2453
|
+
input: ConvTagsReportInput;
|
|
2454
|
+
};
|
|
2375
2455
|
export type QueryConvsArgs = {
|
|
2376
2456
|
input: ConvsInput;
|
|
2377
2457
|
pageInfo?: InputMaybe<PageInfoInput>;
|
|
@@ -2582,6 +2662,8 @@ export type StartByCountryCodeConfig = {
|
|
|
2582
2662
|
__typename?: 'StartByCountryCodeConfig';
|
|
2583
2663
|
/** The assignee id. */
|
|
2584
2664
|
assigneeId: Scalars['ID']['output'];
|
|
2665
|
+
/** Multiple assignee ids for agent pool distribution. */
|
|
2666
|
+
assigneeIds?: Maybe<Array<Scalars['ID']['output']>>;
|
|
2585
2667
|
/** The country code. */
|
|
2586
2668
|
code: Scalars['String']['output'];
|
|
2587
2669
|
};
|
|
@@ -2992,6 +3074,7 @@ export type AiFragment = {
|
|
|
2992
3074
|
id: string;
|
|
2993
3075
|
name: string;
|
|
2994
3076
|
type: AiType;
|
|
3077
|
+
subType?: AiSubType | null;
|
|
2995
3078
|
createdAt: any;
|
|
2996
3079
|
deletedAt?: any | null;
|
|
2997
3080
|
integrationProperties?: {
|
|
@@ -3002,6 +3085,7 @@ export type AiFragment = {
|
|
|
3002
3085
|
} | null;
|
|
3003
3086
|
configuration?: {
|
|
3004
3087
|
__typename?: 'Configurations';
|
|
3088
|
+
instructionsVersion?: string | null;
|
|
3005
3089
|
askForName?: boolean | null;
|
|
3006
3090
|
askForSurname?: boolean | null;
|
|
3007
3091
|
askForEmail?: boolean | null;
|
|
@@ -3038,6 +3122,7 @@ export type AiQuery = {
|
|
|
3038
3122
|
id: string;
|
|
3039
3123
|
name: string;
|
|
3040
3124
|
type: AiType;
|
|
3125
|
+
subType?: AiSubType | null;
|
|
3041
3126
|
createdAt: any;
|
|
3042
3127
|
deletedAt?: any | null;
|
|
3043
3128
|
integrationProperties?: {
|
|
@@ -3048,6 +3133,7 @@ export type AiQuery = {
|
|
|
3048
3133
|
} | null;
|
|
3049
3134
|
configuration?: {
|
|
3050
3135
|
__typename?: 'Configurations';
|
|
3136
|
+
instructionsVersion?: string | null;
|
|
3051
3137
|
askForName?: boolean | null;
|
|
3052
3138
|
askForSurname?: boolean | null;
|
|
3053
3139
|
askForEmail?: boolean | null;
|
|
@@ -3087,6 +3173,7 @@ export type AisQuery = {
|
|
|
3087
3173
|
id: string;
|
|
3088
3174
|
name: string;
|
|
3089
3175
|
type: AiType;
|
|
3176
|
+
subType?: AiSubType | null;
|
|
3090
3177
|
createdAt: any;
|
|
3091
3178
|
deletedAt?: any | null;
|
|
3092
3179
|
integrationProperties?: {
|
|
@@ -3097,6 +3184,7 @@ export type AisQuery = {
|
|
|
3097
3184
|
} | null;
|
|
3098
3185
|
configuration?: {
|
|
3099
3186
|
__typename?: 'Configurations';
|
|
3187
|
+
instructionsVersion?: string | null;
|
|
3100
3188
|
askForName?: boolean | null;
|
|
3101
3189
|
askForSurname?: boolean | null;
|
|
3102
3190
|
askForEmail?: boolean | null;
|
|
@@ -3135,6 +3223,7 @@ export type CreateAiMutation = {
|
|
|
3135
3223
|
id: string;
|
|
3136
3224
|
name: string;
|
|
3137
3225
|
type: AiType;
|
|
3226
|
+
subType?: AiSubType | null;
|
|
3138
3227
|
createdAt: any;
|
|
3139
3228
|
deletedAt?: any | null;
|
|
3140
3229
|
integrationProperties?: {
|
|
@@ -3145,6 +3234,7 @@ export type CreateAiMutation = {
|
|
|
3145
3234
|
} | null;
|
|
3146
3235
|
configuration?: {
|
|
3147
3236
|
__typename?: 'Configurations';
|
|
3237
|
+
instructionsVersion?: string | null;
|
|
3148
3238
|
askForName?: boolean | null;
|
|
3149
3239
|
askForSurname?: boolean | null;
|
|
3150
3240
|
askForEmail?: boolean | null;
|
|
@@ -3197,6 +3287,7 @@ export type DeleteAiMutation = {
|
|
|
3197
3287
|
id: string;
|
|
3198
3288
|
name: string;
|
|
3199
3289
|
type: AiType;
|
|
3290
|
+
subType?: AiSubType | null;
|
|
3200
3291
|
createdAt: any;
|
|
3201
3292
|
deletedAt?: any | null;
|
|
3202
3293
|
integrationProperties?: {
|
|
@@ -3207,6 +3298,7 @@ export type DeleteAiMutation = {
|
|
|
3207
3298
|
} | null;
|
|
3208
3299
|
configuration?: {
|
|
3209
3300
|
__typename?: 'Configurations';
|
|
3301
|
+
instructionsVersion?: string | null;
|
|
3210
3302
|
askForName?: boolean | null;
|
|
3211
3303
|
askForSurname?: boolean | null;
|
|
3212
3304
|
askForEmail?: boolean | null;
|
|
@@ -3259,6 +3351,7 @@ export type PatchAiMutation = {
|
|
|
3259
3351
|
id: string;
|
|
3260
3352
|
name: string;
|
|
3261
3353
|
type: AiType;
|
|
3354
|
+
subType?: AiSubType | null;
|
|
3262
3355
|
createdAt: any;
|
|
3263
3356
|
deletedAt?: any | null;
|
|
3264
3357
|
integrationProperties?: {
|
|
@@ -3269,6 +3362,7 @@ export type PatchAiMutation = {
|
|
|
3269
3362
|
} | null;
|
|
3270
3363
|
configuration?: {
|
|
3271
3364
|
__typename?: 'Configurations';
|
|
3365
|
+
instructionsVersion?: string | null;
|
|
3272
3366
|
askForName?: boolean | null;
|
|
3273
3367
|
askForSurname?: boolean | null;
|
|
3274
3368
|
askForEmail?: boolean | null;
|
|
@@ -3877,6 +3971,24 @@ export type AgentReportFragment = {
|
|
|
3877
3971
|
csat: number;
|
|
3878
3972
|
createdAt: any;
|
|
3879
3973
|
};
|
|
3974
|
+
export type ConvTagReportFragment = {
|
|
3975
|
+
__typename?: 'ConvTagReport';
|
|
3976
|
+
workspaceId: number;
|
|
3977
|
+
id: string;
|
|
3978
|
+
tag: string;
|
|
3979
|
+
integrationId: string;
|
|
3980
|
+
conversationCount: number;
|
|
3981
|
+
agentMessagesCount: number;
|
|
3982
|
+
clientMessageCount: number;
|
|
3983
|
+
avgFirstResponseTime: number;
|
|
3984
|
+
firstResponseConversationCount: number;
|
|
3985
|
+
avgConversationTime: number;
|
|
3986
|
+
newClientConvCount?: number | null;
|
|
3987
|
+
responseRate: number;
|
|
3988
|
+
averageRating: number;
|
|
3989
|
+
csat: number;
|
|
3990
|
+
createdAt: any;
|
|
3991
|
+
};
|
|
3880
3992
|
export type ConversationReportFragment = {
|
|
3881
3993
|
__typename?: 'ConversationReport';
|
|
3882
3994
|
workspaceId: number;
|
|
@@ -3921,6 +4033,33 @@ export type AgentsReportQuery = {
|
|
|
3921
4033
|
}> | null;
|
|
3922
4034
|
};
|
|
3923
4035
|
};
|
|
4036
|
+
export type ConvTagsReportQueryVariables = Exact<{
|
|
4037
|
+
input: ConvTagsReportInput;
|
|
4038
|
+
}>;
|
|
4039
|
+
export type ConvTagsReportQuery = {
|
|
4040
|
+
__typename?: 'Query';
|
|
4041
|
+
convTagsReport: {
|
|
4042
|
+
__typename?: 'ConvTagsReportPayload';
|
|
4043
|
+
nodes?: Array<{
|
|
4044
|
+
__typename?: 'ConvTagReport';
|
|
4045
|
+
workspaceId: number;
|
|
4046
|
+
id: string;
|
|
4047
|
+
tag: string;
|
|
4048
|
+
integrationId: string;
|
|
4049
|
+
conversationCount: number;
|
|
4050
|
+
agentMessagesCount: number;
|
|
4051
|
+
clientMessageCount: number;
|
|
4052
|
+
avgFirstResponseTime: number;
|
|
4053
|
+
firstResponseConversationCount: number;
|
|
4054
|
+
avgConversationTime: number;
|
|
4055
|
+
newClientConvCount?: number | null;
|
|
4056
|
+
responseRate: number;
|
|
4057
|
+
averageRating: number;
|
|
4058
|
+
csat: number;
|
|
4059
|
+
createdAt: any;
|
|
4060
|
+
}> | null;
|
|
4061
|
+
};
|
|
4062
|
+
};
|
|
3924
4063
|
export type ConvsReportQueryVariables = Exact<{
|
|
3925
4064
|
input: ConvsReportInput;
|
|
3926
4065
|
}>;
|
|
@@ -3974,6 +4113,7 @@ export type AgentFragment = {
|
|
|
3974
4113
|
email: string;
|
|
3975
4114
|
avatar?: string | null;
|
|
3976
4115
|
assignable: boolean;
|
|
4116
|
+
greetingMessage?: string | null;
|
|
3977
4117
|
createdAt: any;
|
|
3978
4118
|
};
|
|
3979
4119
|
export type ConversationFragment = {
|
|
@@ -4130,6 +4270,7 @@ export type AgentQuery = {
|
|
|
4130
4270
|
email: string;
|
|
4131
4271
|
avatar?: string | null;
|
|
4132
4272
|
assignable: boolean;
|
|
4273
|
+
greetingMessage?: string | null;
|
|
4133
4274
|
createdAt: any;
|
|
4134
4275
|
};
|
|
4135
4276
|
};
|
|
@@ -4151,6 +4292,7 @@ export type AgentsQuery = {
|
|
|
4151
4292
|
email: string;
|
|
4152
4293
|
avatar?: string | null;
|
|
4153
4294
|
assignable: boolean;
|
|
4295
|
+
greetingMessage?: string | null;
|
|
4154
4296
|
createdAt: any;
|
|
4155
4297
|
}> | null;
|
|
4156
4298
|
pageInfo?: {
|
|
@@ -4432,6 +4574,7 @@ export type CreateAgentMutation = {
|
|
|
4432
4574
|
email: string;
|
|
4433
4575
|
avatar?: string | null;
|
|
4434
4576
|
assignable: boolean;
|
|
4577
|
+
greetingMessage?: string | null;
|
|
4435
4578
|
createdAt: any;
|
|
4436
4579
|
};
|
|
4437
4580
|
};
|
|
@@ -4450,6 +4593,7 @@ export type DeleteAgentMutation = {
|
|
|
4450
4593
|
email: string;
|
|
4451
4594
|
avatar?: string | null;
|
|
4452
4595
|
assignable: boolean;
|
|
4596
|
+
greetingMessage?: string | null;
|
|
4453
4597
|
createdAt: any;
|
|
4454
4598
|
};
|
|
4455
4599
|
};
|
|
@@ -4653,6 +4797,7 @@ export type PatchAgentMutation = {
|
|
|
4653
4797
|
email: string;
|
|
4654
4798
|
avatar?: string | null;
|
|
4655
4799
|
assignable: boolean;
|
|
4800
|
+
greetingMessage?: string | null;
|
|
4656
4801
|
createdAt: any;
|
|
4657
4802
|
};
|
|
4658
4803
|
};
|
|
@@ -5539,6 +5684,7 @@ export type CreateAgentWithApiKeyMutation = {
|
|
|
5539
5684
|
email: string;
|
|
5540
5685
|
avatar?: string | null;
|
|
5541
5686
|
assignable: boolean;
|
|
5687
|
+
greetingMessage?: string | null;
|
|
5542
5688
|
createdAt: any;
|
|
5543
5689
|
};
|
|
5544
5690
|
apiKey: {
|
|
@@ -5875,6 +6021,7 @@ export declare const UserRoleFragmentDoc: Apollo.DocumentNode;
|
|
|
5875
6021
|
export declare const BroadcastFragmentDoc: Apollo.DocumentNode;
|
|
5876
6022
|
export declare const BroadcastReportFragmentDoc: Apollo.DocumentNode;
|
|
5877
6023
|
export declare const AgentReportFragmentDoc: Apollo.DocumentNode;
|
|
6024
|
+
export declare const ConvTagReportFragmentDoc: Apollo.DocumentNode;
|
|
5878
6025
|
export declare const ConversationReportFragmentDoc: Apollo.DocumentNode;
|
|
5879
6026
|
export declare const PageInfoFragmentDoc: Apollo.DocumentNode;
|
|
5880
6027
|
export declare const AgentFragmentDoc: Apollo.DocumentNode;
|
|
@@ -6935,6 +7082,47 @@ export declare function refetchAgentsReportQuery(variables: AgentsReportQueryVar
|
|
|
6935
7082
|
input: AgentsReportInput;
|
|
6936
7083
|
}>;
|
|
6937
7084
|
};
|
|
7085
|
+
export declare const ConvTagsReportDocument: Apollo.DocumentNode;
|
|
7086
|
+
/**
|
|
7087
|
+
* __useConvTagsReportQuery__
|
|
7088
|
+
*
|
|
7089
|
+
* To run a query within a React component, call `useConvTagsReportQuery` and pass it any options that fit your needs.
|
|
7090
|
+
* When your component renders, `useConvTagsReportQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
7091
|
+
* you can use to render your UI.
|
|
7092
|
+
*
|
|
7093
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
7094
|
+
*
|
|
7095
|
+
* @example
|
|
7096
|
+
* const { data, loading, error } = useConvTagsReportQuery({
|
|
7097
|
+
* variables: {
|
|
7098
|
+
* input: // value for 'input'
|
|
7099
|
+
* },
|
|
7100
|
+
* });
|
|
7101
|
+
*/
|
|
7102
|
+
export declare function useConvTagsReportQuery(baseOptions: Apollo.QueryHookOptions<ConvTagsReportQuery, ConvTagsReportQueryVariables> & ({
|
|
7103
|
+
variables: ConvTagsReportQueryVariables;
|
|
7104
|
+
skip?: boolean;
|
|
7105
|
+
} | {
|
|
7106
|
+
skip: boolean;
|
|
7107
|
+
})): Apollo.QueryResult<ConvTagsReportQuery, Exact<{
|
|
7108
|
+
input: ConvTagsReportInput;
|
|
7109
|
+
}>>;
|
|
7110
|
+
export declare function useConvTagsReportLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ConvTagsReportQuery, ConvTagsReportQueryVariables>): Apollo.LazyQueryResultTuple<ConvTagsReportQuery, Exact<{
|
|
7111
|
+
input: ConvTagsReportInput;
|
|
7112
|
+
}>>;
|
|
7113
|
+
export declare function useConvTagsReportSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<ConvTagsReportQuery, ConvTagsReportQueryVariables>): Apollo.UseSuspenseQueryResult<ConvTagsReportQuery | undefined, Exact<{
|
|
7114
|
+
input: ConvTagsReportInput;
|
|
7115
|
+
}>>;
|
|
7116
|
+
export type ConvTagsReportQueryHookResult = ReturnType<typeof useConvTagsReportQuery>;
|
|
7117
|
+
export type ConvTagsReportLazyQueryHookResult = ReturnType<typeof useConvTagsReportLazyQuery>;
|
|
7118
|
+
export type ConvTagsReportSuspenseQueryHookResult = ReturnType<typeof useConvTagsReportSuspenseQuery>;
|
|
7119
|
+
export type ConvTagsReportQueryResult = Apollo.QueryResult<ConvTagsReportQuery, ConvTagsReportQueryVariables>;
|
|
7120
|
+
export declare function refetchConvTagsReportQuery(variables: ConvTagsReportQueryVariables): {
|
|
7121
|
+
query: Apollo.DocumentNode;
|
|
7122
|
+
variables: Exact<{
|
|
7123
|
+
input: ConvTagsReportInput;
|
|
7124
|
+
}>;
|
|
7125
|
+
};
|
|
6938
7126
|
export declare const ConvsReportDocument: Apollo.DocumentNode;
|
|
6939
7127
|
/**
|
|
6940
7128
|
* __useConvsReportQuery__
|