@bcrumbs.net/inbox 0.0.28 → 0.0.33
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 +71 -8
- package/assets/en/inbox.json +85 -21
- package/index.cjs.js +26016 -5463
- package/index.esm.js +26023 -5470
- package/package.json +5 -4
- package/src/app/ai/components/TestNumbers/AddTestNumber.d.ts +8 -0
- package/src/app/ai/components/TestNumbers/TestNumberCard.d.ts +19 -0
- package/src/app/ai/components/TestNumbers/TestNumbersLoader.d.ts +2 -0
- package/src/app/ai/components/TestNumbers/TestNumbersNoResultPage.d.ts +11 -0
- package/src/app/ai/components/playground/AssistantActionBar.d.ts +2 -0
- package/src/app/ai/components/playground/AssistantMessage.d.ts +2 -0
- package/src/app/ai/components/playground/BranchPicker.d.ts +4 -0
- package/src/app/ai/components/playground/Button.d.ts +10 -0
- package/src/app/ai/components/playground/Composer.d.ts +2 -0
- package/src/app/ai/components/playground/ComposerAction.d.ts +4 -0
- package/src/app/ai/components/playground/EditComposer.d.ts +2 -0
- package/src/app/ai/components/playground/MarkdownText.d.ts +3 -0
- package/src/app/ai/components/playground/PlaygroundChat.d.ts +5 -0
- package/src/app/ai/components/playground/PlaygroundLoader.d.ts +2 -0
- package/src/app/ai/components/playground/Thread.d.ts +2 -0
- package/src/app/ai/components/playground/ThreadList.d.ts +2 -0
- package/src/app/ai/components/playground/ThreadMessages.d.ts +2 -0
- package/src/app/ai/components/playground/ThreadWelcome.d.ts +2 -0
- package/src/app/ai/components/playground/Tooltip.d.ts +7 -0
- package/src/app/ai/components/playground/TooltipIconButton.d.ts +15 -0
- package/src/app/ai/components/playground/UserActionBar.d.ts +2 -0
- package/src/app/ai/components/playground/UserMessage.d.ts +2 -0
- package/src/app/ai/components/playground/index.d.ts +5 -0
- package/src/app/ai/components/playground/shared.d.ts +6 -0
- package/src/app/ai/components/sources/FileTable.d.ts +14 -0
- package/src/app/ai/components/sources/FileUpload.d.ts +14 -0
- package/src/app/ai/components/sources/FileUploadsContainer.d.ts +12 -0
- package/src/app/ai/components/sources/StorageQuota.d.ts +9 -0
- package/src/app/ai/components/sources/UploadProgress.d.ts +9 -0
- package/src/app/ai/components/sources/index.d.ts +5 -0
- package/src/app/ai/config/index.d.ts +3 -0
- package/src/app/ai/config/source.d.ts +4 -0
- package/src/app/ai/config/types.d.ts +61 -0
- package/src/app/ai/hooks/useCrumbyAi.d.ts +17 -0
- package/src/app/ai/hooks/useFileColumns.d.ts +17 -0
- package/src/app/ai/pages/FilesPage.d.ts +3 -0
- package/src/app/ai/pages/Playground.d.ts +2 -0
- package/src/app/ai/pages/TestNumbers.d.ts +2 -0
- package/src/app/ai/types/index.d.ts +64 -0
- package/src/app/ai/utils/index.d.ts +2 -0
- package/src/app/broadcast/components/BroadcastList.d.ts +3 -0
- package/src/app/broadcast/components/BroadcastListTable.d.ts +14 -0
- package/src/app/broadcast/components/BroadcastOverview.d.ts +3 -0
- package/src/app/broadcast/components/EmptyBroadcastList.d.ts +6 -0
- package/src/app/broadcast/components/StatisticsCard.d.ts +9 -0
- package/src/app/broadcast/pages/BroadcastHistory.d.ts +8 -0
- package/src/app/broadcast/utils/helper.d.ts +1 -0
- package/src/app/contact/components/AddContactLifeCycle.d.ts +6 -0
- package/src/app/contact/components/ContactFormFields.d.ts +7 -0
- package/src/app/contact/components/ContactInfo.d.ts +9 -0
- package/src/app/contact/config/contactForm.d.ts +54 -0
- package/src/app/dashboard/components/ConvsAnalytics/LiveConvsAnalytics.d.ts +2 -2
- package/src/app/generic/components/ComingSoon.d.ts +5 -0
- package/src/app/generic/components/Containers.d.ts +3 -0
- package/src/app/generic/hooks/usePaginatedQuery.d.ts +25 -7
- package/src/app/inbox/components/Chat/ChatHeader.d.ts +5 -0
- package/src/app/inbox/components/Chat/NoConvSelected.d.ts +6 -1
- package/src/app/inbox/components/Chat/index.d.ts +4 -1
- package/src/app/inbox/components/ClientDetails/ClientProfile.d.ts +0 -2
- package/src/app/inbox/components/NewConvList/BottomSection.d.ts +8 -0
- package/src/app/inbox/components/NewConvList/ConvList.d.ts +8 -11
- package/src/app/inbox/components/NewConvList/ConversationItem.d.ts +7 -11
- package/src/app/inbox/components/NewConvList/HeaderSection.d.ts +9 -3
- package/src/app/inbox/components/NewConvList/index.d.ts +10 -5
- package/src/app/inbox/components/NewDetails/ChatDetails.d.ts +15 -0
- package/src/app/inbox/components/NewDetails/ChatDetailsAndTimeline.d.ts +13 -0
- package/src/app/inbox/components/NewDetails/ChatTimeline.d.ts +7 -0
- package/src/app/inbox/components/NewDetails/ClientInfo.d.ts +14 -0
- package/src/app/inbox/components/NewDetails/ComponentLoaders/ClientInfoLoader.d.ts +2 -0
- package/src/app/inbox/components/NewDetails/ConversationOverview.d.ts +10 -0
- package/src/app/inbox/components/NewDetails/EditClientInfo.d.ts +8 -0
- package/src/app/inbox/components/NewDetails/TabSwitcher.d.ts +5 -0
- package/src/app/inbox/components/NewDetails/TagsSelector.d.ts +15 -0
- package/src/app/inbox/components/NewDetails/UserHeader.d.ts +7 -0
- package/src/app/inbox/components/NewDetails/ViewInfo.d.ts +6 -0
- package/src/app/inbox/components/NewDetails/index.d.ts +13 -0
- package/src/app/inbox/components/Popups/NewStartConv.d.ts +6 -0
- package/src/app/inbox/components/Shared/Inbox.d.ts +2 -1
- package/src/app/inbox/components/Shared/SharedStyle.d.ts +30 -0
- package/src/app/inbox/hooks/useConvActions.d.ts +16 -0
- package/src/app/inbox/hooks/useConvFilters.d.ts +14 -0
- package/src/app/inbox/hooks/useConversationsPerodicFetch.d.ts +2 -0
- package/src/app/inbox/hooks/useNewSortedEvents.d.ts +24 -0
- package/src/app/inbox/utils/convs.d.ts +27 -3
- package/src/app/inbox/utils/getFlagByCountry.d.ts +1 -0
- package/src/app/layout/components/Header.d.ts +3 -1
- package/src/app/layout/constants/index.d.ts +16 -0
- package/src/app/layout/constants/subMenu.d.ts +26 -0
- package/src/app/layout/hooks/useCrumbyEnabled.d.ts +1 -0
- package/src/app/managemnet/config/agentDefinition.d.ts +4 -0
- package/src/app/managemnet/types.d.ts +61 -0
- package/src/app/resources/components/Broadcasts/BroadcastClients.d.ts +2 -1
- package/src/app/resources/components/Broadcasts/CreateBroadcast.d.ts +2 -1
- package/src/app/resources/components/ListResources/Utils.d.ts +0 -1
- package/src/app/resources/config/broadcast.d.ts +1 -0
- package/src/app/subscriptions/components/SubscriptionSettings/SubscriptionHeader.d.ts +10 -0
- package/src/app/subscriptions/components/SubscriptionSettings/SubscriptionProfile.d.ts +7 -1
- package/src/app/subscriptions/components/SubscriptionSettings/SubscriptionUsers.d.ts +1 -1
- package/src/app/subscriptions/components/SubscriptionsList.d.ts +6 -5
- package/src/app/subscriptions/pages/Subscriptions.d.ts +1 -1
- package/src/assets/locales/translations.d.ts +142 -0
- package/src/context/SidebarContext.d.ts +12 -0
- package/src/graphql.autogenerated.d.ts +851 -1
- package/src/lib/inbox.d.ts +1 -0
- package/src/routes/PrivateRoutes.d.ts +6 -1
- package/src/utils/sessionStorage.d.ts +10 -0
- package/src/utils/textUtils.d.ts +1 -0
- package/src/utils/uploadFileToAzureBlob.d.ts +2 -0
- package/src/app/contact/components/AddContact.d.ts +0 -7
- package/src/app/inbox/hooks/useConvFilter.d.ts +0 -15
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import * as Apollo from '@apollo/client';
|
|
3
|
+
import { ModelFieldsTypes } from '@bcrumbs.net/bc-api';
|
|
4
|
+
export interface BackendField<T> {
|
|
5
|
+
field: keyof T;
|
|
6
|
+
i18Key?: string;
|
|
7
|
+
type: ModelFieldsTypes;
|
|
8
|
+
options?: {
|
|
9
|
+
value: string;
|
|
10
|
+
label: string;
|
|
11
|
+
}[];
|
|
12
|
+
subFields?: BackendField<T>[];
|
|
13
|
+
cssClass?: string;
|
|
14
|
+
CustomHeaderComponent?: React.FC<any>;
|
|
15
|
+
CustomRowComponent?: React.FC<any>;
|
|
16
|
+
sortable?: boolean;
|
|
17
|
+
}
|
|
18
|
+
export interface BackendCallDefinition<T> {
|
|
19
|
+
fields?: BackendField<T>[];
|
|
20
|
+
type: 'query' | 'lazyQuery' | 'mutation';
|
|
21
|
+
}
|
|
22
|
+
export interface BackendQueryDefinition<T> extends BackendCallDefinition<T> {
|
|
23
|
+
reactHook: (options: Apollo.QueryHookOptions<any, any> & ({
|
|
24
|
+
variables: any;
|
|
25
|
+
skip?: boolean;
|
|
26
|
+
} | {
|
|
27
|
+
skip: boolean;
|
|
28
|
+
})) => Apollo.QueryResult<any, any>;
|
|
29
|
+
queryName: string;
|
|
30
|
+
type: 'query';
|
|
31
|
+
}
|
|
32
|
+
export interface BackendLazyQueryDefinition<T> extends BackendCallDefinition<T> {
|
|
33
|
+
reactHook: (options: Apollo.LazyQueryHookOptions<any, any> & ({
|
|
34
|
+
variables: any;
|
|
35
|
+
skip?: boolean;
|
|
36
|
+
} | {
|
|
37
|
+
skip: boolean;
|
|
38
|
+
})) => Apollo.LazyQueryResultTuple<any, any>;
|
|
39
|
+
queryName: string;
|
|
40
|
+
type: 'lazyQuery';
|
|
41
|
+
}
|
|
42
|
+
export interface CustomComponentProps<T> {
|
|
43
|
+
resourceDef: ResourceDefinition<T>;
|
|
44
|
+
itemId?: string;
|
|
45
|
+
}
|
|
46
|
+
export interface BackendMutationDefinition<T> extends BackendCallDefinition<T> {
|
|
47
|
+
component?: React.FC<CustomComponentProps<T>>;
|
|
48
|
+
reactHook: (options: Apollo.MutationHookOptions<any, any>) => Apollo.MutationTuple<any, any, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
49
|
+
type: 'mutation';
|
|
50
|
+
}
|
|
51
|
+
export interface ResourceDefinition<T> {
|
|
52
|
+
name: string;
|
|
53
|
+
i18Key: string;
|
|
54
|
+
orderField?: keyof T;
|
|
55
|
+
listQuery: BackendLazyQueryDefinition<T> | BackendQueryDefinition<T>;
|
|
56
|
+
getQuery?: BackendQueryDefinition<T>;
|
|
57
|
+
createMutation?: BackendMutationDefinition<T>;
|
|
58
|
+
patchMutation?: BackendMutationDefinition<T>;
|
|
59
|
+
deleteMutation?: Omit<BackendMutationDefinition<T>, 'fields'>;
|
|
60
|
+
client?: Apollo.ApolloClient<Apollo.NormalizedCacheObject>;
|
|
61
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
declare const BroadcastClients: ({ wabaTemplateCategory, clientStageId, clientTags, }: {
|
|
1
|
+
declare const BroadcastClients: ({ wabaTemplateCategory, clientStageId, clientTags, country }: {
|
|
2
2
|
wabaTemplateCategory?: string;
|
|
3
3
|
clientStageId?: string;
|
|
4
4
|
clientTags?: string[];
|
|
5
|
+
country?: string;
|
|
5
6
|
}) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
6
7
|
export default BroadcastClients;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { Broadcast } from '../../../../graphql.autogenerated';
|
|
2
|
-
declare const CreateBroadcast: ({ broadcast, onPickingStageId, onPickingClientTags, onPickingWabaTemplate, }: {
|
|
2
|
+
declare const CreateBroadcast: ({ broadcast, onPickingStageId, onPickingClientTags, onPickingWabaTemplate, onPickingCountry, }: {
|
|
3
3
|
broadcast?: Broadcast;
|
|
4
4
|
onPickingStageId: (stageId?: string) => void;
|
|
5
5
|
onPickingClientTags: (tags?: string[]) => void;
|
|
6
6
|
onPickingWabaTemplate: (category?: string) => void;
|
|
7
|
+
onPickingCountry: (country: string) => void;
|
|
7
8
|
}) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
8
9
|
export default CreateBroadcast;
|
|
@@ -2,4 +2,5 @@ import { Broadcast, BroadcastState } from '../../../graphql.autogenerated';
|
|
|
2
2
|
import { ResourceDefinition } from './types';
|
|
3
3
|
declare const broadcastDefinition: ResourceDefinition<Broadcast>;
|
|
4
4
|
export declare const StateToColorMap: Record<BroadcastState | 'all', string>;
|
|
5
|
+
export declare const StateToBackgroundColorMap: Record<BroadcastState | 'all', string>;
|
|
5
6
|
export default broadcastDefinition;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
interface SubscriptionHeaderProps {
|
|
2
|
+
isEditing: boolean;
|
|
3
|
+
onEdit: () => void;
|
|
4
|
+
onSave: () => void;
|
|
5
|
+
loading: boolean;
|
|
6
|
+
onCancel: () => void;
|
|
7
|
+
disabledSave: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare const SubscriptionHeader: ({ isEditing, onEdit, onSave, onCancel, loading, disabledSave, }: SubscriptionHeaderProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
10
|
+
export default SubscriptionHeader;
|
|
@@ -7,7 +7,13 @@ type SubscriptionProfileRouteProps = {
|
|
|
7
7
|
onUpdate: () => any;
|
|
8
8
|
updateCompany: (id: string, name: string) => any;
|
|
9
9
|
config: any;
|
|
10
|
+
isEditing: boolean;
|
|
11
|
+
onSave?: (name: string) => Promise<void>;
|
|
12
|
+
name?: string;
|
|
13
|
+
onNameChange?: (name: string) => void;
|
|
14
|
+
handleUpdateCompany?: (name: string) => Promise<void>;
|
|
15
|
+
disabledSave: boolean;
|
|
10
16
|
};
|
|
11
|
-
export declare const SubscriptionProfile: (props: SubscriptionProfileRouteProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
17
|
+
export declare const SubscriptionProfile: ({ isEditing, disabledSave, ...props }: SubscriptionProfileRouteProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
12
18
|
declare const _default: any;
|
|
13
19
|
export default _default;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface SubscriptionsListProps {
|
|
3
3
|
selected?: string | number;
|
|
4
4
|
companies: any[];
|
|
5
|
-
|
|
5
|
+
title?: string;
|
|
6
|
+
setSelected?: any;
|
|
6
7
|
}
|
|
7
|
-
export declare const SubscriptionsList:
|
|
8
|
-
export
|
|
8
|
+
export declare const SubscriptionsList: React.FC<SubscriptionsListProps>;
|
|
9
|
+
export {};
|
|
@@ -3,6 +3,6 @@ interface SubscriptionsProps {
|
|
|
3
3
|
refetchCompanies: any;
|
|
4
4
|
loadingCompanies: boolean;
|
|
5
5
|
}
|
|
6
|
-
export declare const Subscriptions: ({ companies, refetchCompanies, loadingCompanies
|
|
6
|
+
export declare const Subscriptions: ({ companies, refetchCompanies, loadingCompanies }: SubscriptionsProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
7
7
|
declare const _default: any;
|
|
8
8
|
export default _default;
|
|
@@ -147,6 +147,11 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
|
|
|
147
147
|
managerRole: string;
|
|
148
148
|
agentRole: string;
|
|
149
149
|
agentPlusRole: string;
|
|
150
|
+
Workspace: string;
|
|
151
|
+
WorkspaceDescription: string;
|
|
152
|
+
upgradePlan: string;
|
|
153
|
+
activePlan: string;
|
|
154
|
+
usage2: string;
|
|
150
155
|
};
|
|
151
156
|
pages: {
|
|
152
157
|
yourPages: string;
|
|
@@ -259,6 +264,9 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
|
|
|
259
264
|
addNewTag: string;
|
|
260
265
|
addingNewTag: string;
|
|
261
266
|
noBroadcasts: string;
|
|
267
|
+
noBroadcastsDescription: string;
|
|
268
|
+
noSearchResults: string;
|
|
269
|
+
noSearchResultsDescription: string;
|
|
262
270
|
createBroadcast: string;
|
|
263
271
|
broadcastState: {
|
|
264
272
|
all: string;
|
|
@@ -273,6 +281,24 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
|
|
|
273
281
|
broadcastDetails: string;
|
|
274
282
|
clientsDetails: string;
|
|
275
283
|
filterByState: string;
|
|
284
|
+
broadcastOverview: string;
|
|
285
|
+
broadcastList: string;
|
|
286
|
+
newBroadcast: string;
|
|
287
|
+
searchPlaceholder: string;
|
|
288
|
+
broadcastName: string;
|
|
289
|
+
templateName: string;
|
|
290
|
+
state: string;
|
|
291
|
+
scheduledAt: string;
|
|
292
|
+
recipients: string;
|
|
293
|
+
successful: string;
|
|
294
|
+
failed: string;
|
|
295
|
+
createdAt: string;
|
|
296
|
+
deleteBroadcastDescription: string;
|
|
297
|
+
deleteBroadcast: string;
|
|
298
|
+
edit: string;
|
|
299
|
+
schedule: string;
|
|
300
|
+
cancel: string;
|
|
301
|
+
loadingMore: string;
|
|
276
302
|
};
|
|
277
303
|
resources: {
|
|
278
304
|
loginToFB: string;
|
|
@@ -296,6 +322,7 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
|
|
|
296
322
|
startWith_AI_BY_COUNTRY_CODE: string;
|
|
297
323
|
startWith_AGENT_BY_COUNTRY_CODE: string;
|
|
298
324
|
startWith_AUTO: string;
|
|
325
|
+
startWith_CRUMBY: string;
|
|
299
326
|
countryCode: string;
|
|
300
327
|
defaultAI: string;
|
|
301
328
|
defaultAgent: string;
|
|
@@ -404,12 +431,14 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
|
|
|
404
431
|
};
|
|
405
432
|
id: string;
|
|
406
433
|
save: string;
|
|
434
|
+
confirm: string;
|
|
407
435
|
genericError: string;
|
|
408
436
|
errorPageHeader: string;
|
|
409
437
|
noPermissionsPageHeader: string;
|
|
410
438
|
requestFailed: string;
|
|
411
439
|
requestSuccess: string;
|
|
412
440
|
notFound: string;
|
|
441
|
+
notFoundSubTitle: string;
|
|
413
442
|
logoutConfirmation: string;
|
|
414
443
|
logoutTitle: string;
|
|
415
444
|
logout: string;
|
|
@@ -434,11 +463,20 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
|
|
|
434
463
|
menu_inbox: string;
|
|
435
464
|
menu_search: string;
|
|
436
465
|
menu_broadcasts: string;
|
|
466
|
+
menu_settings: string;
|
|
467
|
+
menu_contact: string;
|
|
437
468
|
menu_list: string;
|
|
438
469
|
menu_create: string;
|
|
470
|
+
menu_management: string;
|
|
471
|
+
menu_crumby: string;
|
|
439
472
|
customerSupport: string;
|
|
440
473
|
searchPattern: string;
|
|
441
474
|
home: string;
|
|
475
|
+
backToHome: string;
|
|
476
|
+
infoUnavailable: string;
|
|
477
|
+
edit: string;
|
|
478
|
+
name: string;
|
|
479
|
+
delete: string;
|
|
442
480
|
pwa: {
|
|
443
481
|
installApp: string;
|
|
444
482
|
addAppToHomeScreen: string;
|
|
@@ -451,6 +489,7 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
|
|
|
451
489
|
};
|
|
452
490
|
contact: {
|
|
453
491
|
addNewContact: string;
|
|
492
|
+
editContact: string;
|
|
454
493
|
searchPlaceholder: string;
|
|
455
494
|
export: string;
|
|
456
495
|
name: string;
|
|
@@ -458,6 +497,8 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
|
|
|
458
497
|
email: string;
|
|
459
498
|
phone: string;
|
|
460
499
|
address: string;
|
|
500
|
+
country: string;
|
|
501
|
+
city: string;
|
|
461
502
|
createDate: string;
|
|
462
503
|
tags: string;
|
|
463
504
|
loadingMoreText: string;
|
|
@@ -470,10 +511,13 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
|
|
|
470
511
|
namePlaceholder: string;
|
|
471
512
|
surnamePlaceholder: string;
|
|
472
513
|
emailPlaceholder: string;
|
|
514
|
+
countryPlaceholder: string;
|
|
515
|
+
cityPlaceholder: string;
|
|
473
516
|
group: string;
|
|
474
517
|
groupPlaceholder: string;
|
|
475
518
|
cancel: string;
|
|
476
519
|
save: string;
|
|
520
|
+
create: string;
|
|
477
521
|
externalClientId: string;
|
|
478
522
|
externalClientIdPlaceholder: string;
|
|
479
523
|
stage: string;
|
|
@@ -481,6 +525,24 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
|
|
|
481
525
|
noStagesAvailable: string;
|
|
482
526
|
title: string;
|
|
483
527
|
noContacts: string;
|
|
528
|
+
addressPlaceholder: string;
|
|
529
|
+
};
|
|
530
|
+
management: {
|
|
531
|
+
title: string;
|
|
532
|
+
addNewAgent: string;
|
|
533
|
+
noAgent: string;
|
|
534
|
+
team_management: string;
|
|
535
|
+
"ai&automation": string;
|
|
536
|
+
conversation_management: string;
|
|
537
|
+
ai: string;
|
|
538
|
+
ai_assistant: string;
|
|
539
|
+
api_key: string;
|
|
540
|
+
webhooks: string;
|
|
541
|
+
conversation_lifecycle: string;
|
|
542
|
+
channels: string;
|
|
543
|
+
rating_settings: string;
|
|
544
|
+
general_settings: string;
|
|
545
|
+
agents_management: string;
|
|
484
546
|
};
|
|
485
547
|
contactLifeCycle: {
|
|
486
548
|
searchPlaceholder: string;
|
|
@@ -491,5 +553,85 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
|
|
|
491
553
|
apply: string;
|
|
492
554
|
title: string;
|
|
493
555
|
noContactLifecycle: string;
|
|
556
|
+
addNewContactLifeCycle: string;
|
|
557
|
+
name: string;
|
|
558
|
+
namePlaceholder: string;
|
|
559
|
+
};
|
|
560
|
+
crumby: {
|
|
561
|
+
title: string;
|
|
562
|
+
chat: string;
|
|
563
|
+
sources: string;
|
|
564
|
+
files: string;
|
|
565
|
+
text: string;
|
|
566
|
+
websites: string;
|
|
567
|
+
integrations: string;
|
|
568
|
+
preferences: string;
|
|
569
|
+
ai_models: string;
|
|
570
|
+
fine_tuning: string;
|
|
571
|
+
prompts: string;
|
|
572
|
+
test_numbers: string;
|
|
573
|
+
suggested_qs: string;
|
|
574
|
+
playground: {
|
|
575
|
+
welcomeMessage: string;
|
|
576
|
+
askTheAIToAnalyzeYourData: string;
|
|
577
|
+
askAnotherQuestion: string;
|
|
578
|
+
files: string;
|
|
579
|
+
text: string;
|
|
580
|
+
cancel: string;
|
|
581
|
+
send: string;
|
|
582
|
+
pleaseAddTestNumberFirst: string;
|
|
583
|
+
goToTestNumbers: string;
|
|
584
|
+
};
|
|
585
|
+
file: {
|
|
586
|
+
filesSubTitle: string;
|
|
587
|
+
addFiles: string;
|
|
588
|
+
informationFilesLabel: string;
|
|
589
|
+
selectFiles: string;
|
|
590
|
+
uploatText: string;
|
|
591
|
+
uploadSubText: string;
|
|
592
|
+
fileSources: string;
|
|
593
|
+
fileName: string;
|
|
594
|
+
size: string;
|
|
595
|
+
fileType: string;
|
|
596
|
+
createdAt: string;
|
|
597
|
+
completed: string;
|
|
598
|
+
failed: string;
|
|
599
|
+
uploading: string;
|
|
600
|
+
totalSize: string;
|
|
601
|
+
sources: string;
|
|
602
|
+
};
|
|
603
|
+
testNumbers: {
|
|
604
|
+
title: string;
|
|
605
|
+
subtitle: string;
|
|
606
|
+
addTestNumber: string;
|
|
607
|
+
name: string;
|
|
608
|
+
phone: string;
|
|
609
|
+
email: string;
|
|
610
|
+
active: string;
|
|
611
|
+
namePlaceholder: string;
|
|
612
|
+
phonePlaceholder: string;
|
|
613
|
+
emailPlaceholder: string;
|
|
614
|
+
save: string;
|
|
615
|
+
cancel: string;
|
|
616
|
+
noTestNumbersFoundTitle: string;
|
|
617
|
+
noTestNumbersFoundSubtitle: string;
|
|
618
|
+
clientTestNumber: string;
|
|
619
|
+
newTestNumber: string;
|
|
620
|
+
pickClientPlaceholder: string;
|
|
621
|
+
noPhoneNumberTitle: string;
|
|
622
|
+
noPhoneNumberDescription: string;
|
|
623
|
+
address: string;
|
|
624
|
+
deleteConfirmTitle: string;
|
|
625
|
+
deleteConfirmMessage: string;
|
|
626
|
+
};
|
|
627
|
+
};
|
|
628
|
+
setting: {
|
|
629
|
+
title: string;
|
|
630
|
+
workspace: string;
|
|
631
|
+
active: string;
|
|
632
|
+
};
|
|
633
|
+
comingSoon: {
|
|
634
|
+
title: string;
|
|
635
|
+
description: string;
|
|
494
636
|
};
|
|
495
637
|
}>, current?: string) => void;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
interface SidebarContextType {
|
|
3
|
+
sidebarContent: ReactNode | null;
|
|
4
|
+
setSidebarContent: (content: ReactNode | null) => void;
|
|
5
|
+
sidebarTitle: string | undefined;
|
|
6
|
+
setSidebarTitle: (title: string | undefined) => void;
|
|
7
|
+
}
|
|
8
|
+
export declare const SidebarProvider: React.FC<{
|
|
9
|
+
children: ReactNode;
|
|
10
|
+
}>;
|
|
11
|
+
export declare const useSidebarContext: () => SidebarContextType;
|
|
12
|
+
export {};
|