@bcrumbs.net/inbox 0.0.55 → 0.0.59
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 -263
- package/assets/en/inbox.json +270 -265
- package/d9e9a351fe00b4f8.png +0 -0
- package/index.cjs.d.ts +1 -1
- package/index.cjs.js +24277 -15000
- package/index.esm.d.ts +1 -1
- package/index.esm.js +24282 -15005
- package/package.json +3 -3
- package/src/app/auth/utils/getValidWorkspaceId.d.ts +4 -0
- package/src/app/broadcast/utils/helper.d.ts +2 -1
- package/src/app/contact/components/ContactFormFields.d.ts +1 -2
- package/src/app/contact/config/contactForm.d.ts +0 -3
- 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/dashboard/utils/reportHelpers.d.ts +16 -0
- package/src/app/inbox/components/Chat/ChatContent.d.ts +1 -0
- package/src/app/inbox/components/Chat/ChatHeader.d.ts +7 -3
- package/src/app/inbox/components/Chat/QuickReplyPickerMenu.d.ts +14 -0
- package/src/app/inbox/components/Chat/index.d.ts +4 -2
- package/src/app/inbox/components/ConvsList/ConvItem/ActionsMenu.d.ts +1 -1
- package/src/app/inbox/components/NewConvList/ConversationItem.d.ts +1 -1
- package/src/app/inbox/components/NewConvList/FilterDrawer.d.ts +2 -1
- package/src/app/inbox/components/NewConvList/HeaderSection.d.ts +3 -7
- package/src/app/inbox/components/NewConvList/index.d.ts +2 -1
- package/src/app/inbox/components/Shared/SharedStyle.d.ts +0 -6
- package/src/app/inbox/hooks/useCanContribute.d.ts +4 -2
- package/src/app/inbox/hooks/useConvAutoComplete.d.ts +15 -0
- package/src/app/inbox/hooks/useConvEnhance.d.ts +17 -0
- package/src/app/inbox/hooks/useConvFilters.d.ts +6 -2
- package/src/app/inbox/hooks/useMyAgent.d.ts +2 -0
- package/src/app/inbox/hooks/useQuickReplyPicker.d.ts +18 -0
- package/src/app/inbox/hooks/useQuickReplyPickerAnchor.d.ts +7 -0
- package/src/app/inbox/utils/convAssistIntent.d.ts +16 -0
- package/src/app/inbox/utils/convAssistStorage.d.ts +12 -0
- package/src/app/inbox/utils/convs.d.ts +9 -0
- package/src/app/inbox/utils/quickReplyPicker.d.ts +13 -0
- package/src/app/managemnet/components/WebhookHeadersEditor.d.ts +12 -0
- package/src/app/managemnet/components/channels/ChannelTypeCard.d.ts +2 -1
- package/src/app/onboarding/components/OnboardingChecklistWidget.d.ts +2 -1
- 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/hooks/useFBPagesHook.d.ts +1 -0
- package/src/app/subscriptions/components/Plans/ShowcasePlans.d.ts +3 -1
- package/src/app/subscriptions/components/SubscriptionSettings/SubscriptionProfile.d.ts +0 -1
- package/src/app/subscriptions/components/SubscriptionSettings/SubscriptionUsageCard.d.ts +1 -2
- package/src/app/subscriptions/components/SubscriptionSettings/SubscriptionUsers.d.ts +1 -1
- package/src/app/subscriptions/components/SubscriptionSettings/index.d.ts +6 -0
- package/src/app/subscriptions/utils/newWorkspaceContext.d.ts +5 -0
- package/src/assets/locales/translations.d.ts +43 -0
- package/src/graphql.autogenerated.d.ts +170 -3
- package/src/graphql.billing.autogenerated.d.ts +169 -0
- package/src/lib/conversation-chat.d.ts +1 -1
- package/src/utils/zohoOAuth.d.ts +16 -0
|
@@ -120,6 +120,18 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
|
|
|
120
120
|
sessionNotFound: string;
|
|
121
121
|
subscriptionUpdated: string;
|
|
122
122
|
subscriptionVerified: string;
|
|
123
|
+
purchaseConfirmed: string;
|
|
124
|
+
purchaseConfirmedDescription: string;
|
|
125
|
+
purchaseConfirmedWithPlan: string;
|
|
126
|
+
planName: string;
|
|
127
|
+
billingInterval: string;
|
|
128
|
+
nextRenewalDate: string;
|
|
129
|
+
createFirstChannel: string;
|
|
130
|
+
goToInbox: string;
|
|
131
|
+
manageSubscription: string;
|
|
132
|
+
helpAlert: string;
|
|
133
|
+
helpAlertWhatsApp: string;
|
|
134
|
+
channelGuideTitle: string;
|
|
123
135
|
subscriptionCancelled: string;
|
|
124
136
|
subscriptionCancelledDescription: string;
|
|
125
137
|
backToInbox: string;
|
|
@@ -193,7 +205,13 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
|
|
|
193
205
|
workspaceIdCopyFailed: string;
|
|
194
206
|
copyWorkspaceId: string;
|
|
195
207
|
upgradePlan: string;
|
|
208
|
+
planUpdatedSuccessfully: string;
|
|
196
209
|
cancelSubscription: string;
|
|
210
|
+
cancelSubscriptionConfirmTitle: string;
|
|
211
|
+
cancelSubscriptionConfirmDescription: string;
|
|
212
|
+
subscriptionCanceledSuccessfully: string;
|
|
213
|
+
subscriptionReactivatedSuccessfully: string;
|
|
214
|
+
reactivateSubscription: string;
|
|
197
215
|
activePlan: string;
|
|
198
216
|
cancelledBadge: string;
|
|
199
217
|
currentCycleEnd: string;
|
|
@@ -592,6 +610,7 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
|
|
|
592
610
|
agentPerformance: string;
|
|
593
611
|
agents: string;
|
|
594
612
|
openedChats: string;
|
|
613
|
+
openedChatsForPeriod: string;
|
|
595
614
|
agent: string;
|
|
596
615
|
messagesSent: string;
|
|
597
616
|
messagesReceived: string;
|
|
@@ -613,6 +632,9 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
|
|
|
613
632
|
last14Days: string;
|
|
614
633
|
last30Days: string;
|
|
615
634
|
agentPerformanceTooltip: string;
|
|
635
|
+
tagPerformance: string;
|
|
636
|
+
tag: string;
|
|
637
|
+
tagPerformanceTooltip: string;
|
|
616
638
|
selectAll: string;
|
|
617
639
|
clearAll: string;
|
|
618
640
|
reports: string;
|
|
@@ -963,6 +985,13 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
|
|
|
963
985
|
searchPlaceholder: string;
|
|
964
986
|
noWebhooks: string;
|
|
965
987
|
loadingMoreText: string;
|
|
988
|
+
headers: {
|
|
989
|
+
title: string;
|
|
990
|
+
keyPlaceholder: string;
|
|
991
|
+
valuePlaceholder: string;
|
|
992
|
+
addHeader: string;
|
|
993
|
+
incompleteRow: string;
|
|
994
|
+
};
|
|
966
995
|
crm: {
|
|
967
996
|
title: string;
|
|
968
997
|
addIntegration: string;
|
|
@@ -973,6 +1002,9 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
|
|
|
973
1002
|
integrationNamePlaceholder: string;
|
|
974
1003
|
token: string;
|
|
975
1004
|
tokenPlaceholder: string;
|
|
1005
|
+
authorizationCode: string;
|
|
1006
|
+
authorizationCodePlaceholder: string;
|
|
1007
|
+
zohoInvalidCode: string;
|
|
976
1008
|
urlHeader: string;
|
|
977
1009
|
urlHeaderPlaceholder: string;
|
|
978
1010
|
clientId: string;
|
|
@@ -1224,6 +1256,17 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
|
|
|
1224
1256
|
label: string;
|
|
1225
1257
|
description: string;
|
|
1226
1258
|
};
|
|
1259
|
+
responseMessages: {
|
|
1260
|
+
cardTitle: string;
|
|
1261
|
+
emptyResponseFallbackMessage: {
|
|
1262
|
+
label: string;
|
|
1263
|
+
description: string;
|
|
1264
|
+
};
|
|
1265
|
+
closingMessage: {
|
|
1266
|
+
label: string;
|
|
1267
|
+
description: string;
|
|
1268
|
+
};
|
|
1269
|
+
};
|
|
1227
1270
|
};
|
|
1228
1271
|
};
|
|
1229
1272
|
files: {
|
|
@@ -222,6 +222,8 @@ export type AgentReport = {
|
|
|
222
222
|
createdAt: Scalars['DateTime']['output'];
|
|
223
223
|
/** The CSAT percentage (4 and 5 ratings over rated conversations). */
|
|
224
224
|
csat: Scalars['Float']['output'];
|
|
225
|
+
/** Conversations included in avgFirstResponseTime (client messaged before the agent replied). */
|
|
226
|
+
firstResponseConversationCount: Scalars['Int']['output'];
|
|
225
227
|
id: Scalars['ID']['output'];
|
|
226
228
|
/** The integration (channel) this daily aggregate was computed for, when present. */
|
|
227
229
|
integrationId?: Maybe<Scalars['ID']['output']>;
|
|
@@ -926,9 +928,11 @@ export type Configurations = {
|
|
|
926
928
|
askForName?: Maybe<Scalars['Boolean']['output']>;
|
|
927
929
|
askForSurname?: Maybe<Scalars['Boolean']['output']>;
|
|
928
930
|
clientTagRules?: Maybe<Array<TagRule>>;
|
|
931
|
+
closingMessage?: Maybe<Scalars['String']['output']>;
|
|
929
932
|
constraints?: Maybe<Scalars['String']['output']>;
|
|
930
933
|
contextPrompt?: Maybe<Scalars['String']['output']>;
|
|
931
934
|
convTagRules?: Maybe<Array<TagRule>>;
|
|
935
|
+
emptyResponseFallbackMessage?: Maybe<Scalars['String']['output']>;
|
|
932
936
|
endEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
933
937
|
handoverEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
934
938
|
personaPrompt?: Maybe<Scalars['String']['output']>;
|
|
@@ -941,9 +945,11 @@ export type ConfigurationsInput = {
|
|
|
941
945
|
askForName?: InputMaybe<Scalars['Boolean']['input']>;
|
|
942
946
|
askForSurname?: InputMaybe<Scalars['Boolean']['input']>;
|
|
943
947
|
clientTagRules?: InputMaybe<Array<TagRuleInput>>;
|
|
948
|
+
closingMessage?: InputMaybe<Scalars['String']['input']>;
|
|
944
949
|
constraints?: InputMaybe<Scalars['String']['input']>;
|
|
945
950
|
contextPrompt?: InputMaybe<Scalars['String']['input']>;
|
|
946
951
|
convTagRules?: InputMaybe<Array<TagRuleInput>>;
|
|
952
|
+
emptyResponseFallbackMessage?: InputMaybe<Scalars['String']['input']>;
|
|
947
953
|
endEnabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
948
954
|
handoverEnabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
949
955
|
personaPrompt?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -1186,6 +1192,57 @@ export type ConvTagInput = {
|
|
|
1186
1192
|
tag: Scalars['String']['input'];
|
|
1187
1193
|
workspaceId: Scalars['Int']['input'];
|
|
1188
1194
|
};
|
|
1195
|
+
/** ConvTagReport is a report of conversations breaked down by tag per day. It is used to understand tag performance. */
|
|
1196
|
+
export type ConvTagReport = {
|
|
1197
|
+
__typename?: 'ConvTagReport';
|
|
1198
|
+
/** The number of messages sent by the agents. */
|
|
1199
|
+
agentMessagesCount: Scalars['Int']['output'];
|
|
1200
|
+
/** The average rating for rated conversations. */
|
|
1201
|
+
averageRating: Scalars['Float']['output'];
|
|
1202
|
+
/** The average time of the conversation. */
|
|
1203
|
+
avgConversationTime: Scalars['Int']['output'];
|
|
1204
|
+
/** The average time to first response. */
|
|
1205
|
+
avgFirstResponseTime: Scalars['Int']['output'];
|
|
1206
|
+
/** The number of messages sent by the clients. */
|
|
1207
|
+
clientMessageCount: Scalars['Int']['output'];
|
|
1208
|
+
/** The number of conversations with this tag. */
|
|
1209
|
+
conversationCount: Scalars['Int']['output'];
|
|
1210
|
+
/** The date and time when the tag report was created. */
|
|
1211
|
+
createdAt: Scalars['DateTime']['output'];
|
|
1212
|
+
/** The CSAT percentage (4 and 5 ratings over rated conversations). */
|
|
1213
|
+
csat: Scalars['Float']['output'];
|
|
1214
|
+
/** Conversations included in avgFirstResponseTime (client messaged before the agent replied). */
|
|
1215
|
+
firstResponseConversationCount: Scalars['Int']['output'];
|
|
1216
|
+
id: Scalars['ID']['output'];
|
|
1217
|
+
/** The integration (channel) id. */
|
|
1218
|
+
integrationId: Scalars['ID']['output'];
|
|
1219
|
+
/** The number of new client conversations. */
|
|
1220
|
+
newClientConvCount?: Maybe<Scalars['Int']['output']>;
|
|
1221
|
+
/** The percentage of conversations that received a rating. */
|
|
1222
|
+
responseRate: Scalars['Float']['output'];
|
|
1223
|
+
/** The tag name. */
|
|
1224
|
+
tag: Scalars['String']['output'];
|
|
1225
|
+
workspaceId: Scalars['Int']['output'];
|
|
1226
|
+
};
|
|
1227
|
+
/** ConvTagsReportInput is an input of the conversation tags report query. */
|
|
1228
|
+
export type ConvTagsReportInput = {
|
|
1229
|
+
/** The end date of the report. */
|
|
1230
|
+
endDate: Scalars['DateTime']['input'];
|
|
1231
|
+
/** The integration/channel id of the conversation. */
|
|
1232
|
+
integrationId?: InputMaybe<Scalars['ID']['input']>;
|
|
1233
|
+
/** The start date of the report. */
|
|
1234
|
+
startDate: Scalars['DateTime']['input'];
|
|
1235
|
+
/** Filter by a single tag name. */
|
|
1236
|
+
tag?: InputMaybe<Scalars['String']['input']>;
|
|
1237
|
+
/** Filter by multiple tag names (OR). When non-empty, takes precedence over tag. */
|
|
1238
|
+
tags?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1239
|
+
workspaceId: Scalars['Int']['input'];
|
|
1240
|
+
};
|
|
1241
|
+
/** ConvTagsReportPayload is a payload of the conversation tags report query. */
|
|
1242
|
+
export type ConvTagsReportPayload = {
|
|
1243
|
+
__typename?: 'ConvTagsReportPayload';
|
|
1244
|
+
nodes?: Maybe<Array<ConvTagReport>>;
|
|
1245
|
+
};
|
|
1189
1246
|
/** Conversation is a type of the conversation. */
|
|
1190
1247
|
export type Conversation = {
|
|
1191
1248
|
__typename?: 'Conversation';
|
|
@@ -1273,6 +1330,8 @@ export type ConversationReport = {
|
|
|
1273
1330
|
createdAt: Scalars['DateTime']['output'];
|
|
1274
1331
|
/** The CSAT percentage (4 and 5 ratings over rated conversations). */
|
|
1275
1332
|
csat: Scalars['Float']['output'];
|
|
1333
|
+
/** Conversations included in avgFirstResponseTime (client messaged before the agent replied). */
|
|
1334
|
+
firstResponseConversationCount: Scalars['Int']['output'];
|
|
1276
1335
|
/** The hour of the conversation report. */
|
|
1277
1336
|
hour: Scalars['Int']['output'];
|
|
1278
1337
|
/** The id of the conversation report. */
|
|
@@ -1592,6 +1651,8 @@ export type MediaType = typeof MediaType[keyof typeof MediaType];
|
|
|
1592
1651
|
/** Message is a type of the message. */
|
|
1593
1652
|
export type Message = {
|
|
1594
1653
|
__typename?: 'Message';
|
|
1654
|
+
/** When the message record was persisted in the database. Null for legacy rows. */
|
|
1655
|
+
addedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
1595
1656
|
/** The id of the agent that sent the message. */
|
|
1596
1657
|
agentId?: Maybe<Scalars['ID']['output']>;
|
|
1597
1658
|
/**
|
|
@@ -1601,7 +1662,7 @@ export type Message = {
|
|
|
1601
1662
|
content: Scalars['String']['output'];
|
|
1602
1663
|
/** The context of the message. */
|
|
1603
1664
|
context?: Maybe<MessageContext>;
|
|
1604
|
-
/**
|
|
1665
|
+
/** When the message was sent or received on the channel (e.g. WhatsApp timestamp). */
|
|
1605
1666
|
createdAt: Scalars['DateTime']['output'];
|
|
1606
1667
|
/** The external message id of the message. */
|
|
1607
1668
|
externalMessageId?: Maybe<Scalars['String']['output']>;
|
|
@@ -2249,6 +2310,8 @@ export type Query = {
|
|
|
2249
2310
|
convLastMessage?: Maybe<Message>;
|
|
2250
2311
|
/** Get an AI summary for conversation messages. */
|
|
2251
2312
|
convSummary: ConvAssistPayload;
|
|
2313
|
+
/** Get the conversation tags report. You should have the MANAGE_CONVS permission to get the tags report. */
|
|
2314
|
+
convTagsReport: ConvTagsReportPayload;
|
|
2252
2315
|
/** Get the conversations. If you don't have the MANAGE_CONVS permission, it will return only the conversations assigned to you. */
|
|
2253
2316
|
convs: ConvsPayload;
|
|
2254
2317
|
/** Get the conversations report. You should have the MANAGE_CONVS permission to get the conversations report. */
|
|
@@ -2364,6 +2427,9 @@ export type QueryConvLastMessageArgs = {
|
|
|
2364
2427
|
export type QueryConvSummaryArgs = {
|
|
2365
2428
|
input: ConvAssistInput;
|
|
2366
2429
|
};
|
|
2430
|
+
export type QueryConvTagsReportArgs = {
|
|
2431
|
+
input: ConvTagsReportInput;
|
|
2432
|
+
};
|
|
2367
2433
|
export type QueryConvsArgs = {
|
|
2368
2434
|
input: ConvsInput;
|
|
2369
2435
|
pageInfo?: InputMaybe<PageInfoInput>;
|
|
@@ -3005,6 +3071,8 @@ export type AiFragment = {
|
|
|
3005
3071
|
rolePrompt?: string | null;
|
|
3006
3072
|
personaPrompt?: string | null;
|
|
3007
3073
|
constraints?: string | null;
|
|
3074
|
+
emptyResponseFallbackMessage?: string | null;
|
|
3075
|
+
closingMessage?: string | null;
|
|
3008
3076
|
clientTagRules?: Array<{
|
|
3009
3077
|
__typename?: 'TagRule';
|
|
3010
3078
|
tag: string;
|
|
@@ -3049,6 +3117,8 @@ export type AiQuery = {
|
|
|
3049
3117
|
rolePrompt?: string | null;
|
|
3050
3118
|
personaPrompt?: string | null;
|
|
3051
3119
|
constraints?: string | null;
|
|
3120
|
+
emptyResponseFallbackMessage?: string | null;
|
|
3121
|
+
closingMessage?: string | null;
|
|
3052
3122
|
clientTagRules?: Array<{
|
|
3053
3123
|
__typename?: 'TagRule';
|
|
3054
3124
|
tag: string;
|
|
@@ -3096,6 +3166,8 @@ export type AisQuery = {
|
|
|
3096
3166
|
rolePrompt?: string | null;
|
|
3097
3167
|
personaPrompt?: string | null;
|
|
3098
3168
|
constraints?: string | null;
|
|
3169
|
+
emptyResponseFallbackMessage?: string | null;
|
|
3170
|
+
closingMessage?: string | null;
|
|
3099
3171
|
clientTagRules?: Array<{
|
|
3100
3172
|
__typename?: 'TagRule';
|
|
3101
3173
|
tag: string;
|
|
@@ -3142,6 +3214,8 @@ export type CreateAiMutation = {
|
|
|
3142
3214
|
rolePrompt?: string | null;
|
|
3143
3215
|
personaPrompt?: string | null;
|
|
3144
3216
|
constraints?: string | null;
|
|
3217
|
+
emptyResponseFallbackMessage?: string | null;
|
|
3218
|
+
closingMessage?: string | null;
|
|
3145
3219
|
clientTagRules?: Array<{
|
|
3146
3220
|
__typename?: 'TagRule';
|
|
3147
3221
|
tag: string;
|
|
@@ -3202,6 +3276,8 @@ export type DeleteAiMutation = {
|
|
|
3202
3276
|
rolePrompt?: string | null;
|
|
3203
3277
|
personaPrompt?: string | null;
|
|
3204
3278
|
constraints?: string | null;
|
|
3279
|
+
emptyResponseFallbackMessage?: string | null;
|
|
3280
|
+
closingMessage?: string | null;
|
|
3205
3281
|
clientTagRules?: Array<{
|
|
3206
3282
|
__typename?: 'TagRule';
|
|
3207
3283
|
tag: string;
|
|
@@ -3262,6 +3338,8 @@ export type PatchAiMutation = {
|
|
|
3262
3338
|
rolePrompt?: string | null;
|
|
3263
3339
|
personaPrompt?: string | null;
|
|
3264
3340
|
constraints?: string | null;
|
|
3341
|
+
emptyResponseFallbackMessage?: string | null;
|
|
3342
|
+
closingMessage?: string | null;
|
|
3265
3343
|
clientTagRules?: Array<{
|
|
3266
3344
|
__typename?: 'TagRule';
|
|
3267
3345
|
tag: string;
|
|
@@ -3849,6 +3927,25 @@ export type AgentReportFragment = {
|
|
|
3849
3927
|
agentMessagesCount: number;
|
|
3850
3928
|
clientMessageCount: number;
|
|
3851
3929
|
avgFirstResponseTime: number;
|
|
3930
|
+
firstResponseConversationCount: number;
|
|
3931
|
+
avgConversationTime: number;
|
|
3932
|
+
newClientConvCount?: number | null;
|
|
3933
|
+
responseRate: number;
|
|
3934
|
+
averageRating: number;
|
|
3935
|
+
csat: number;
|
|
3936
|
+
createdAt: any;
|
|
3937
|
+
};
|
|
3938
|
+
export type ConvTagReportFragment = {
|
|
3939
|
+
__typename?: 'ConvTagReport';
|
|
3940
|
+
workspaceId: number;
|
|
3941
|
+
id: string;
|
|
3942
|
+
tag: string;
|
|
3943
|
+
integrationId: string;
|
|
3944
|
+
conversationCount: number;
|
|
3945
|
+
agentMessagesCount: number;
|
|
3946
|
+
clientMessageCount: number;
|
|
3947
|
+
avgFirstResponseTime: number;
|
|
3948
|
+
firstResponseConversationCount: number;
|
|
3852
3949
|
avgConversationTime: number;
|
|
3853
3950
|
newClientConvCount?: number | null;
|
|
3854
3951
|
responseRate: number;
|
|
@@ -3866,6 +3963,7 @@ export type ConversationReportFragment = {
|
|
|
3866
3963
|
agentMessagesCount: number;
|
|
3867
3964
|
clientMessageCount: number;
|
|
3868
3965
|
avgFirstResponseTime: number;
|
|
3966
|
+
firstResponseConversationCount: number;
|
|
3869
3967
|
avgConversationTime: number;
|
|
3870
3968
|
newClientConvCount?: number | null;
|
|
3871
3969
|
responseRate: number;
|
|
@@ -3889,6 +3987,34 @@ export type AgentsReportQuery = {
|
|
|
3889
3987
|
agentMessagesCount: number;
|
|
3890
3988
|
clientMessageCount: number;
|
|
3891
3989
|
avgFirstResponseTime: number;
|
|
3990
|
+
firstResponseConversationCount: number;
|
|
3991
|
+
avgConversationTime: number;
|
|
3992
|
+
newClientConvCount?: number | null;
|
|
3993
|
+
responseRate: number;
|
|
3994
|
+
averageRating: number;
|
|
3995
|
+
csat: number;
|
|
3996
|
+
createdAt: any;
|
|
3997
|
+
}> | null;
|
|
3998
|
+
};
|
|
3999
|
+
};
|
|
4000
|
+
export type ConvTagsReportQueryVariables = Exact<{
|
|
4001
|
+
input: ConvTagsReportInput;
|
|
4002
|
+
}>;
|
|
4003
|
+
export type ConvTagsReportQuery = {
|
|
4004
|
+
__typename?: 'Query';
|
|
4005
|
+
convTagsReport: {
|
|
4006
|
+
__typename?: 'ConvTagsReportPayload';
|
|
4007
|
+
nodes?: Array<{
|
|
4008
|
+
__typename?: 'ConvTagReport';
|
|
4009
|
+
workspaceId: number;
|
|
4010
|
+
id: string;
|
|
4011
|
+
tag: string;
|
|
4012
|
+
integrationId: string;
|
|
4013
|
+
conversationCount: number;
|
|
4014
|
+
agentMessagesCount: number;
|
|
4015
|
+
clientMessageCount: number;
|
|
4016
|
+
avgFirstResponseTime: number;
|
|
4017
|
+
firstResponseConversationCount: number;
|
|
3892
4018
|
avgConversationTime: number;
|
|
3893
4019
|
newClientConvCount?: number | null;
|
|
3894
4020
|
responseRate: number;
|
|
@@ -3915,6 +4041,7 @@ export type ConvsReportQuery = {
|
|
|
3915
4041
|
agentMessagesCount: number;
|
|
3916
4042
|
clientMessageCount: number;
|
|
3917
4043
|
avgFirstResponseTime: number;
|
|
4044
|
+
firstResponseConversationCount: number;
|
|
3918
4045
|
avgConversationTime: number;
|
|
3919
4046
|
newClientConvCount?: number | null;
|
|
3920
4047
|
responseRate: number;
|
|
@@ -5751,7 +5878,6 @@ export type WorkspaceFragment = {
|
|
|
5751
5878
|
contactPersonEmail?: string | null;
|
|
5752
5879
|
contactPersonPhoneNumber?: string | null;
|
|
5753
5880
|
accountId?: string | null;
|
|
5754
|
-
subscriptionType?: string | null;
|
|
5755
5881
|
createDate: any;
|
|
5756
5882
|
};
|
|
5757
5883
|
export type WorkspaceSettingsFragment = {
|
|
@@ -5836,7 +5962,6 @@ export type WorkspacesQuery = {
|
|
|
5836
5962
|
contactPersonEmail?: string | null;
|
|
5837
5963
|
contactPersonPhoneNumber?: string | null;
|
|
5838
5964
|
accountId?: string | null;
|
|
5839
|
-
subscriptionType?: string | null;
|
|
5840
5965
|
createDate: any;
|
|
5841
5966
|
}>;
|
|
5842
5967
|
pageInfo: {
|
|
@@ -5853,6 +5978,7 @@ export declare const UserRoleFragmentDoc: Apollo.DocumentNode;
|
|
|
5853
5978
|
export declare const BroadcastFragmentDoc: Apollo.DocumentNode;
|
|
5854
5979
|
export declare const BroadcastReportFragmentDoc: Apollo.DocumentNode;
|
|
5855
5980
|
export declare const AgentReportFragmentDoc: Apollo.DocumentNode;
|
|
5981
|
+
export declare const ConvTagReportFragmentDoc: Apollo.DocumentNode;
|
|
5856
5982
|
export declare const ConversationReportFragmentDoc: Apollo.DocumentNode;
|
|
5857
5983
|
export declare const PageInfoFragmentDoc: Apollo.DocumentNode;
|
|
5858
5984
|
export declare const AgentFragmentDoc: Apollo.DocumentNode;
|
|
@@ -6913,6 +7039,47 @@ export declare function refetchAgentsReportQuery(variables: AgentsReportQueryVar
|
|
|
6913
7039
|
input: AgentsReportInput;
|
|
6914
7040
|
}>;
|
|
6915
7041
|
};
|
|
7042
|
+
export declare const ConvTagsReportDocument: Apollo.DocumentNode;
|
|
7043
|
+
/**
|
|
7044
|
+
* __useConvTagsReportQuery__
|
|
7045
|
+
*
|
|
7046
|
+
* To run a query within a React component, call `useConvTagsReportQuery` and pass it any options that fit your needs.
|
|
7047
|
+
* When your component renders, `useConvTagsReportQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
7048
|
+
* you can use to render your UI.
|
|
7049
|
+
*
|
|
7050
|
+
* @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;
|
|
7051
|
+
*
|
|
7052
|
+
* @example
|
|
7053
|
+
* const { data, loading, error } = useConvTagsReportQuery({
|
|
7054
|
+
* variables: {
|
|
7055
|
+
* input: // value for 'input'
|
|
7056
|
+
* },
|
|
7057
|
+
* });
|
|
7058
|
+
*/
|
|
7059
|
+
export declare function useConvTagsReportQuery(baseOptions: Apollo.QueryHookOptions<ConvTagsReportQuery, ConvTagsReportQueryVariables> & ({
|
|
7060
|
+
variables: ConvTagsReportQueryVariables;
|
|
7061
|
+
skip?: boolean;
|
|
7062
|
+
} | {
|
|
7063
|
+
skip: boolean;
|
|
7064
|
+
})): Apollo.QueryResult<ConvTagsReportQuery, Exact<{
|
|
7065
|
+
input: ConvTagsReportInput;
|
|
7066
|
+
}>>;
|
|
7067
|
+
export declare function useConvTagsReportLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ConvTagsReportQuery, ConvTagsReportQueryVariables>): Apollo.LazyQueryResultTuple<ConvTagsReportQuery, Exact<{
|
|
7068
|
+
input: ConvTagsReportInput;
|
|
7069
|
+
}>>;
|
|
7070
|
+
export declare function useConvTagsReportSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<ConvTagsReportQuery, ConvTagsReportQueryVariables>): Apollo.UseSuspenseQueryResult<ConvTagsReportQuery | undefined, Exact<{
|
|
7071
|
+
input: ConvTagsReportInput;
|
|
7072
|
+
}>>;
|
|
7073
|
+
export type ConvTagsReportQueryHookResult = ReturnType<typeof useConvTagsReportQuery>;
|
|
7074
|
+
export type ConvTagsReportLazyQueryHookResult = ReturnType<typeof useConvTagsReportLazyQuery>;
|
|
7075
|
+
export type ConvTagsReportSuspenseQueryHookResult = ReturnType<typeof useConvTagsReportSuspenseQuery>;
|
|
7076
|
+
export type ConvTagsReportQueryResult = Apollo.QueryResult<ConvTagsReportQuery, ConvTagsReportQueryVariables>;
|
|
7077
|
+
export declare function refetchConvTagsReportQuery(variables: ConvTagsReportQueryVariables): {
|
|
7078
|
+
query: Apollo.DocumentNode;
|
|
7079
|
+
variables: Exact<{
|
|
7080
|
+
input: ConvTagsReportInput;
|
|
7081
|
+
}>;
|
|
7082
|
+
};
|
|
6916
7083
|
export declare const ConvsReportDocument: Apollo.DocumentNode;
|
|
6917
7084
|
/**
|
|
6918
7085
|
* __useConvsReportQuery__
|
|
@@ -150,10 +150,16 @@ export type Mutation = {
|
|
|
150
150
|
checkout: CheckoutResult;
|
|
151
151
|
/** Pause the subscription. */
|
|
152
152
|
pauseSubscription: SubscriptionPlan;
|
|
153
|
+
/** Cancel an existing Polar subscription at period end without opening the customer portal. */
|
|
154
|
+
polarCancelSubscription: PolarCancelSubscriptionResult;
|
|
153
155
|
/** Create a Polar-hosted checkout session for purchasing a plan. */
|
|
154
156
|
polarCheckout: PolarCheckoutResult;
|
|
155
157
|
/** Create a Polar customer portal session for subscription management. */
|
|
156
158
|
polarPortalSession: PolarPortalSessionResult;
|
|
159
|
+
/** Reactivate a Polar subscription scheduled for cancellation without opening the customer portal. */
|
|
160
|
+
polarReactivateSubscription: PolarReactivateSubscriptionResult;
|
|
161
|
+
/** Update an existing Polar subscription plan without opening the customer portal. */
|
|
162
|
+
polarUpdateSubscription: PolarUpdateSubscriptionResult;
|
|
157
163
|
/** Renew the current subscription plan. */
|
|
158
164
|
renew: CheckoutResult;
|
|
159
165
|
/** Set up a new payment method (creates a setup intent). */
|
|
@@ -176,12 +182,21 @@ export type MutationCheckoutArgs = {
|
|
|
176
182
|
export type MutationPauseSubscriptionArgs = {
|
|
177
183
|
input: PauseSubscriptionInput;
|
|
178
184
|
};
|
|
185
|
+
export type MutationPolarCancelSubscriptionArgs = {
|
|
186
|
+
input: PolarCancelSubscriptionInput;
|
|
187
|
+
};
|
|
179
188
|
export type MutationPolarCheckoutArgs = {
|
|
180
189
|
input: PolarCheckoutInput;
|
|
181
190
|
};
|
|
182
191
|
export type MutationPolarPortalSessionArgs = {
|
|
183
192
|
input: PolarPortalSessionInput;
|
|
184
193
|
};
|
|
194
|
+
export type MutationPolarReactivateSubscriptionArgs = {
|
|
195
|
+
input: PolarReactivateSubscriptionInput;
|
|
196
|
+
};
|
|
197
|
+
export type MutationPolarUpdateSubscriptionArgs = {
|
|
198
|
+
input: PolarUpdateSubscriptionInput;
|
|
199
|
+
};
|
|
185
200
|
export type MutationRenewArgs = {
|
|
186
201
|
input: RenewInput;
|
|
187
202
|
};
|
|
@@ -348,6 +363,18 @@ export declare const PlanType: {
|
|
|
348
363
|
readonly PREMIUM: "premium";
|
|
349
364
|
};
|
|
350
365
|
export type PlanType = typeof PlanType[keyof typeof PlanType];
|
|
366
|
+
/** PolarCancelSubscriptionInput is an input for canceling an existing Polar subscription in-app. */
|
|
367
|
+
export type PolarCancelSubscriptionInput = {
|
|
368
|
+
workspaceId: Scalars['Int']['input'];
|
|
369
|
+
};
|
|
370
|
+
/** PolarCancelSubscriptionResult represents the result of canceling a Polar subscription. */
|
|
371
|
+
export type PolarCancelSubscriptionResult = {
|
|
372
|
+
__typename?: 'PolarCancelSubscriptionResult';
|
|
373
|
+
polarSubscriptionId: Scalars['String']['output'];
|
|
374
|
+
portalSessionUrl?: Maybe<Scalars['String']['output']>;
|
|
375
|
+
status?: Maybe<Scalars['String']['output']>;
|
|
376
|
+
success: Scalars['Boolean']['output'];
|
|
377
|
+
};
|
|
351
378
|
/** PolarCheckoutInput is an input for creating a Polar-hosted checkout session. */
|
|
352
379
|
export type PolarCheckoutInput = {
|
|
353
380
|
planType: PlanType;
|
|
@@ -370,6 +397,18 @@ export type PolarPortalSessionResult = {
|
|
|
370
397
|
sessionId: Scalars['String']['output'];
|
|
371
398
|
sessionUrl: Scalars['String']['output'];
|
|
372
399
|
};
|
|
400
|
+
/** PolarReactivateSubscriptionInput is an input for reactivating a Polar subscription scheduled for cancellation. */
|
|
401
|
+
export type PolarReactivateSubscriptionInput = {
|
|
402
|
+
workspaceId: Scalars['Int']['input'];
|
|
403
|
+
};
|
|
404
|
+
/** PolarReactivateSubscriptionResult represents the result of reactivating a Polar subscription. */
|
|
405
|
+
export type PolarReactivateSubscriptionResult = {
|
|
406
|
+
__typename?: 'PolarReactivateSubscriptionResult';
|
|
407
|
+
polarSubscriptionId: Scalars['String']['output'];
|
|
408
|
+
portalSessionUrl?: Maybe<Scalars['String']['output']>;
|
|
409
|
+
status?: Maybe<Scalars['String']['output']>;
|
|
410
|
+
success: Scalars['Boolean']['output'];
|
|
411
|
+
};
|
|
373
412
|
/** PolarSessionLineItem represents a line item in a Polar checkout session. */
|
|
374
413
|
export type PolarSessionLineItem = {
|
|
375
414
|
__typename?: 'PolarSessionLineItem';
|
|
@@ -408,6 +447,21 @@ export type PolarSessionResult = {
|
|
|
408
447
|
plan?: Maybe<PolarSessionPlanInfo>;
|
|
409
448
|
subscriptionId?: Maybe<Scalars['String']['output']>;
|
|
410
449
|
};
|
|
450
|
+
/** PolarUpdateSubscriptionInput is an input for updating an existing Polar subscription plan in-app. */
|
|
451
|
+
export type PolarUpdateSubscriptionInput = {
|
|
452
|
+
planType: PlanType;
|
|
453
|
+
term: Term;
|
|
454
|
+
workspaceId: Scalars['Int']['input'];
|
|
455
|
+
};
|
|
456
|
+
/** PolarUpdateSubscriptionResult represents the result of updating a Polar subscription plan. */
|
|
457
|
+
export type PolarUpdateSubscriptionResult = {
|
|
458
|
+
__typename?: 'PolarUpdateSubscriptionResult';
|
|
459
|
+
paymentRequired: Scalars['Boolean']['output'];
|
|
460
|
+
polarSubscriptionId: Scalars['String']['output'];
|
|
461
|
+
portalSessionUrl?: Maybe<Scalars['String']['output']>;
|
|
462
|
+
status?: Maybe<Scalars['String']['output']>;
|
|
463
|
+
success: Scalars['Boolean']['output'];
|
|
464
|
+
};
|
|
411
465
|
export type Query = {
|
|
412
466
|
__typename?: 'Query';
|
|
413
467
|
/** Get billing info for a workspace. */
|
|
@@ -849,6 +903,19 @@ export type PlanPricingQuery = {
|
|
|
849
903
|
promoDiscount: number;
|
|
850
904
|
};
|
|
851
905
|
};
|
|
906
|
+
export type PolarCancelSubscriptionMutationVariables = Exact<{
|
|
907
|
+
input: PolarCancelSubscriptionInput;
|
|
908
|
+
}>;
|
|
909
|
+
export type PolarCancelSubscriptionMutation = {
|
|
910
|
+
__typename?: 'Mutation';
|
|
911
|
+
polarCancelSubscription: {
|
|
912
|
+
__typename?: 'PolarCancelSubscriptionResult';
|
|
913
|
+
success: boolean;
|
|
914
|
+
polarSubscriptionId: string;
|
|
915
|
+
status?: string | null;
|
|
916
|
+
portalSessionUrl?: string | null;
|
|
917
|
+
};
|
|
918
|
+
};
|
|
852
919
|
export type PolarCheckoutMutationVariables = Exact<{
|
|
853
920
|
input: PolarCheckoutInput;
|
|
854
921
|
}>;
|
|
@@ -871,6 +938,33 @@ export type PolarPortalSessionMutation = {
|
|
|
871
938
|
sessionUrl: string;
|
|
872
939
|
};
|
|
873
940
|
};
|
|
941
|
+
export type PolarReactivateSubscriptionMutationVariables = Exact<{
|
|
942
|
+
input: PolarReactivateSubscriptionInput;
|
|
943
|
+
}>;
|
|
944
|
+
export type PolarReactivateSubscriptionMutation = {
|
|
945
|
+
__typename?: 'Mutation';
|
|
946
|
+
polarReactivateSubscription: {
|
|
947
|
+
__typename?: 'PolarReactivateSubscriptionResult';
|
|
948
|
+
success: boolean;
|
|
949
|
+
polarSubscriptionId: string;
|
|
950
|
+
status?: string | null;
|
|
951
|
+
portalSessionUrl?: string | null;
|
|
952
|
+
};
|
|
953
|
+
};
|
|
954
|
+
export type PolarUpdateSubscriptionMutationVariables = Exact<{
|
|
955
|
+
input: PolarUpdateSubscriptionInput;
|
|
956
|
+
}>;
|
|
957
|
+
export type PolarUpdateSubscriptionMutation = {
|
|
958
|
+
__typename?: 'Mutation';
|
|
959
|
+
polarUpdateSubscription: {
|
|
960
|
+
__typename?: 'PolarUpdateSubscriptionResult';
|
|
961
|
+
success: boolean;
|
|
962
|
+
polarSubscriptionId: string;
|
|
963
|
+
status?: string | null;
|
|
964
|
+
paymentRequired: boolean;
|
|
965
|
+
portalSessionUrl?: string | null;
|
|
966
|
+
};
|
|
967
|
+
};
|
|
874
968
|
export type RenewMutationVariables = Exact<{
|
|
875
969
|
input: RenewInput;
|
|
876
970
|
}>;
|
|
@@ -1457,6 +1551,31 @@ export declare function refetchPlanPricingQuery(variables: PlanPricingQueryVaria
|
|
|
1457
1551
|
input: PlanPricingInput;
|
|
1458
1552
|
}>;
|
|
1459
1553
|
};
|
|
1554
|
+
export declare const PolarCancelSubscriptionDocument: Apollo.DocumentNode;
|
|
1555
|
+
export type PolarCancelSubscriptionMutationFn = Apollo.MutationFunction<PolarCancelSubscriptionMutation, PolarCancelSubscriptionMutationVariables>;
|
|
1556
|
+
/**
|
|
1557
|
+
* __usePolarCancelSubscriptionMutation__
|
|
1558
|
+
*
|
|
1559
|
+
* To run a mutation, you first call `usePolarCancelSubscriptionMutation` within a React component and pass it any options that fit your needs.
|
|
1560
|
+
* When your component renders, `usePolarCancelSubscriptionMutation` returns a tuple that includes:
|
|
1561
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1562
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1563
|
+
*
|
|
1564
|
+
* @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;
|
|
1565
|
+
*
|
|
1566
|
+
* @example
|
|
1567
|
+
* const [polarCancelSubscriptionMutation, { data, loading, error }] = usePolarCancelSubscriptionMutation({
|
|
1568
|
+
* variables: {
|
|
1569
|
+
* input: // value for 'input'
|
|
1570
|
+
* },
|
|
1571
|
+
* });
|
|
1572
|
+
*/
|
|
1573
|
+
export declare function usePolarCancelSubscriptionMutation(baseOptions?: Apollo.MutationHookOptions<PolarCancelSubscriptionMutation, PolarCancelSubscriptionMutationVariables>): Apollo.MutationTuple<PolarCancelSubscriptionMutation, Exact<{
|
|
1574
|
+
input: PolarCancelSubscriptionInput;
|
|
1575
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1576
|
+
export type PolarCancelSubscriptionMutationHookResult = ReturnType<typeof usePolarCancelSubscriptionMutation>;
|
|
1577
|
+
export type PolarCancelSubscriptionMutationResult = Apollo.MutationResult<PolarCancelSubscriptionMutation>;
|
|
1578
|
+
export type PolarCancelSubscriptionMutationOptions = Apollo.BaseMutationOptions<PolarCancelSubscriptionMutation, PolarCancelSubscriptionMutationVariables>;
|
|
1460
1579
|
export declare const PolarCheckoutDocument: Apollo.DocumentNode;
|
|
1461
1580
|
export type PolarCheckoutMutationFn = Apollo.MutationFunction<PolarCheckoutMutation, PolarCheckoutMutationVariables>;
|
|
1462
1581
|
/**
|
|
@@ -1507,6 +1626,56 @@ export declare function usePolarPortalSessionMutation(baseOptions?: Apollo.Mutat
|
|
|
1507
1626
|
export type PolarPortalSessionMutationHookResult = ReturnType<typeof usePolarPortalSessionMutation>;
|
|
1508
1627
|
export type PolarPortalSessionMutationResult = Apollo.MutationResult<PolarPortalSessionMutation>;
|
|
1509
1628
|
export type PolarPortalSessionMutationOptions = Apollo.BaseMutationOptions<PolarPortalSessionMutation, PolarPortalSessionMutationVariables>;
|
|
1629
|
+
export declare const PolarReactivateSubscriptionDocument: Apollo.DocumentNode;
|
|
1630
|
+
export type PolarReactivateSubscriptionMutationFn = Apollo.MutationFunction<PolarReactivateSubscriptionMutation, PolarReactivateSubscriptionMutationVariables>;
|
|
1631
|
+
/**
|
|
1632
|
+
* __usePolarReactivateSubscriptionMutation__
|
|
1633
|
+
*
|
|
1634
|
+
* To run a mutation, you first call `usePolarReactivateSubscriptionMutation` within a React component and pass it any options that fit your needs.
|
|
1635
|
+
* When your component renders, `usePolarReactivateSubscriptionMutation` returns a tuple that includes:
|
|
1636
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1637
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1638
|
+
*
|
|
1639
|
+
* @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;
|
|
1640
|
+
*
|
|
1641
|
+
* @example
|
|
1642
|
+
* const [polarReactivateSubscriptionMutation, { data, loading, error }] = usePolarReactivateSubscriptionMutation({
|
|
1643
|
+
* variables: {
|
|
1644
|
+
* input: // value for 'input'
|
|
1645
|
+
* },
|
|
1646
|
+
* });
|
|
1647
|
+
*/
|
|
1648
|
+
export declare function usePolarReactivateSubscriptionMutation(baseOptions?: Apollo.MutationHookOptions<PolarReactivateSubscriptionMutation, PolarReactivateSubscriptionMutationVariables>): Apollo.MutationTuple<PolarReactivateSubscriptionMutation, Exact<{
|
|
1649
|
+
input: PolarReactivateSubscriptionInput;
|
|
1650
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1651
|
+
export type PolarReactivateSubscriptionMutationHookResult = ReturnType<typeof usePolarReactivateSubscriptionMutation>;
|
|
1652
|
+
export type PolarReactivateSubscriptionMutationResult = Apollo.MutationResult<PolarReactivateSubscriptionMutation>;
|
|
1653
|
+
export type PolarReactivateSubscriptionMutationOptions = Apollo.BaseMutationOptions<PolarReactivateSubscriptionMutation, PolarReactivateSubscriptionMutationVariables>;
|
|
1654
|
+
export declare const PolarUpdateSubscriptionDocument: Apollo.DocumentNode;
|
|
1655
|
+
export type PolarUpdateSubscriptionMutationFn = Apollo.MutationFunction<PolarUpdateSubscriptionMutation, PolarUpdateSubscriptionMutationVariables>;
|
|
1656
|
+
/**
|
|
1657
|
+
* __usePolarUpdateSubscriptionMutation__
|
|
1658
|
+
*
|
|
1659
|
+
* To run a mutation, you first call `usePolarUpdateSubscriptionMutation` within a React component and pass it any options that fit your needs.
|
|
1660
|
+
* When your component renders, `usePolarUpdateSubscriptionMutation` returns a tuple that includes:
|
|
1661
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1662
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1663
|
+
*
|
|
1664
|
+
* @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;
|
|
1665
|
+
*
|
|
1666
|
+
* @example
|
|
1667
|
+
* const [polarUpdateSubscriptionMutation, { data, loading, error }] = usePolarUpdateSubscriptionMutation({
|
|
1668
|
+
* variables: {
|
|
1669
|
+
* input: // value for 'input'
|
|
1670
|
+
* },
|
|
1671
|
+
* });
|
|
1672
|
+
*/
|
|
1673
|
+
export declare function usePolarUpdateSubscriptionMutation(baseOptions?: Apollo.MutationHookOptions<PolarUpdateSubscriptionMutation, PolarUpdateSubscriptionMutationVariables>): Apollo.MutationTuple<PolarUpdateSubscriptionMutation, Exact<{
|
|
1674
|
+
input: PolarUpdateSubscriptionInput;
|
|
1675
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1676
|
+
export type PolarUpdateSubscriptionMutationHookResult = ReturnType<typeof usePolarUpdateSubscriptionMutation>;
|
|
1677
|
+
export type PolarUpdateSubscriptionMutationResult = Apollo.MutationResult<PolarUpdateSubscriptionMutation>;
|
|
1678
|
+
export type PolarUpdateSubscriptionMutationOptions = Apollo.BaseMutationOptions<PolarUpdateSubscriptionMutation, PolarUpdateSubscriptionMutationVariables>;
|
|
1510
1679
|
export declare const RenewDocument: Apollo.DocumentNode;
|
|
1511
1680
|
export type RenewMutationFn = Apollo.MutationFunction<RenewMutation, RenewMutationVariables>;
|
|
1512
1681
|
/**
|
|
@@ -6,6 +6,6 @@ export type ConversationChatProps = {
|
|
|
6
6
|
rtl?: boolean;
|
|
7
7
|
showHeader?: boolean;
|
|
8
8
|
onConversationChange?: (conversation: Conversation) => void;
|
|
9
|
-
onConvEnd?: () => void;
|
|
9
|
+
onConvEnd?: (endedConvId: string) => void;
|
|
10
10
|
};
|
|
11
11
|
export declare const ConversationChat: React.FC<ConversationChatProps>;
|