@bcrumbs.net/inbox 0.0.1 → 0.0.3
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 +137 -0
- package/assets/en/inbox.json +137 -0
- package/index.cjs.d.ts +1 -0
- package/index.cjs.js +107988 -0
- package/index.esm.js +16 -16
- package/package.json +7 -6
- package/src/app/auth/components/UserAvatar/AccountSettingsDropdown.d.ts +11 -0
- package/src/app/auth/components/UserAvatar/index.d.ts +16 -0
- package/src/app/auth/hooks/WithCheckAuth.d.ts +1 -0
- package/src/app/auth/hooks/WithMe.d.ts +1 -0
- package/src/app/auth/pages/Forget.d.ts +15 -0
- package/src/app/auth/pages/Login.d.ts +13 -0
- package/src/app/auth/pages/Password.d.ts +13 -0
- package/src/app/auth/pages/Profile.d.ts +18 -0
- package/src/app/auth/pages/Register.d.ts +14 -0
- package/src/app/auth/pages/Welcome.d.ts +14 -0
- package/src/app/auth/redux/actions/forgetPasswordAction.d.ts +19 -0
- package/src/app/auth/redux/actions/index.d.ts +9 -0
- package/src/app/auth/redux/actions/loginAction.d.ts +28 -0
- package/src/app/auth/redux/actions/logoutAction.d.ts +13 -0
- package/src/app/auth/redux/actions/registerAction.d.ts +20 -0
- package/src/app/auth/redux/actions/resendConfirmationAction.d.ts +19 -0
- package/src/app/auth/redux/actions/resetPasswordAction.d.ts +20 -0
- package/src/app/auth/redux/actions/setCurrentUserAction.d.ts +12 -0
- package/src/app/auth/redux/actions/shared.d.ts +19 -0
- package/src/app/auth/redux/actions/updateProfileAction.d.ts +17 -0
- package/src/app/auth/redux/auth.slice.d.ts +93 -0
- package/src/app/auth/redux/auth.types.d.ts +70 -0
- package/src/app/charts/components/ChartsList.d.ts +14 -0
- package/src/app/charts/constants/index.d.ts +2 -0
- package/src/app/charts/pages/Charts.d.ts +8 -0
- package/src/app/charts/pages/Settings.d.ts +2 -0
- package/src/app/dashboard/components/AgentAnalytics/DailyAgentAnalytics.d.ts +5 -0
- package/src/app/dashboard/components/AgentAnalytics/MultipleDaysAgentAnalytics/AgentChart.d.ts +9 -0
- package/src/app/dashboard/components/AgentAnalytics/MultipleDaysAgentAnalytics/index.d.ts +6 -0
- package/src/app/dashboard/components/AgentAnalytics/index.d.ts +5 -0
- package/src/app/dashboard/components/ConvsAnalytics/ConvsAnalytics.d.ts +2 -0
- package/src/app/dashboard/components/ConvsAnalytics/LiveConvsAnalytics.d.ts +5 -0
- package/src/app/dashboard/components/Shared/AnalyticsDateRangePicker.d.ts +10 -0
- package/src/app/dashboard/components/Shared/AnalyticsSelect.d.ts +5 -0
- package/src/app/dashboard/components/Shared/index.d.ts +2 -0
- package/src/app/dashboard/components/index.d.ts +8 -0
- package/src/app/dashboard/hooks/useAutoRefetchData.d.ts +15 -0
- package/src/app/dashboard/pages/DashboardPage.d.ts +2 -0
- package/src/app/dashboard/utils/formatDurationShort.d.ts +7 -0
- package/src/app/domains/components/DomainsList.d.ts +12 -0
- package/src/app/domains/components/LinkDomain.d.ts +7 -0
- package/src/app/domains/constants/index.d.ts +3 -0
- package/src/app/editor/components/ContentEditor.d.ts +9 -0
- package/src/app/editor/components/GalleryBrowser/FileComponent.d.ts +7 -0
- package/src/app/editor/components/GalleryBrowser/FolderComponent.d.ts +7 -0
- package/src/app/editor/components/GalleryBrowser/index.d.ts +6 -0
- package/src/app/editor/constants/index.d.ts +5 -0
- package/src/app/generic/components/AnalyticBlok.d.ts +18 -0
- package/src/app/generic/components/DeletePopin.d.ts +9 -0
- package/src/app/generic/components/LiveSupportLink.d.ts +2 -0
- package/src/app/generic/components/Loading.d.ts +3 -0
- package/src/app/generic/components/NoSelectionContainer.d.ts +7 -0
- package/src/app/generic/components/RenamePopin.d.ts +9 -0
- package/src/app/generic/components/Show.d.ts +7 -0
- package/src/app/generic/components/ShowInDev.d.ts +8 -0
- package/src/app/generic/components/TableSkeleton.d.ts +2 -0
- package/src/app/generic/hooks/WithMenuConfig.d.ts +1 -0
- package/src/app/generic/hooks/WithPortalThemeConfig.d.ts +1 -0
- package/src/app/generic/hooks/WithShowcaseConfig.d.ts +1 -0
- package/src/app/generic/pages/Error.d.ts +2 -0
- package/src/app/generic/pages/NoPermissions.d.ts +2 -0
- package/src/app/generic/pages/NotFound.d.ts +2 -0
- package/src/app/inbox/components/Broadcast/BroadcastHeader.d.ts +3 -0
- package/src/app/inbox/components/Broadcast/StateItem.d.ts +10 -0
- package/src/app/inbox/components/Chat/ChatHeader.d.ts +11 -0
- package/src/app/inbox/components/Chat/NoChatIcon.d.ts +3 -0
- package/src/app/inbox/components/Chat/NoConvSelected.d.ts +3 -0
- package/src/app/inbox/components/Chat/index.d.ts +8 -0
- package/src/app/inbox/components/ClientDetails/ClientPastConvs.d.ts +9 -0
- package/src/app/inbox/components/ClientDetails/ClientProfile.d.ts +10 -0
- package/src/app/inbox/components/ClientDetails/ClientStageEditor.d.ts +9 -0
- package/src/app/inbox/components/ConvDetails/AssignmentsHistory.d.ts +10 -0
- package/src/app/inbox/components/ConvDetails/ConvStageEditor.d.ts +9 -0
- package/src/app/inbox/components/ConvDetails/index.d.ts +11 -0
- package/src/app/inbox/components/ConvsList/ConvItem/ActionsMenu.d.ts +9 -0
- package/src/app/inbox/components/ConvsList/ConvItem/ConvDetails.d.ts +9 -0
- package/src/app/inbox/components/ConvsList/ConvItem/CountBadge.d.ts +3 -0
- package/src/app/inbox/components/ConvsList/ConvItem/index.d.ts +12 -0
- package/src/app/inbox/components/ConvsList/StartConvPopin.d.ts +5 -0
- package/src/app/inbox/components/ConvsList/index.d.ts +14 -0
- package/src/app/inbox/components/DetailsSection.d.ts +14 -0
- package/src/app/inbox/components/Messages/index.d.ts +6 -0
- package/src/app/inbox/components/Popups/ClosePopup.d.ts +5 -0
- package/src/app/inbox/components/Popups/NoAgentPopup.d.ts +3 -0
- package/src/app/inbox/components/SearchFilters.d.ts +22 -0
- package/src/app/inbox/components/Shared/StageEditor.d.ts +10 -0
- package/src/app/inbox/constants/index.d.ts +23 -0
- package/src/app/inbox/hooks/useCanContribute.d.ts +6 -0
- package/src/app/inbox/hooks/useConversationsPerodicFetch.d.ts +46 -0
- package/src/app/inbox/hooks/useSendMessage.d.ts +6 -0
- package/src/app/inbox/hooks/useSortedEvents.d.ts +10 -0
- package/src/app/inbox/hooks/useTags.d.ts +12 -0
- package/src/app/inbox/pages/BroadcastMutatePage.d.ts +2 -0
- package/src/app/inbox/pages/BroadcastPage.d.ts +2 -0
- package/src/app/inbox/pages/InboxPage.d.ts +2 -0
- package/src/app/inbox/pages/SearchPage.d.ts +2 -0
- package/src/app/inbox/utils/sounds.d.ts +2 -0
- package/src/app/layout/components/Header.d.ts +17 -0
- package/src/app/layout/components/Layout.d.ts +2 -0
- package/src/app/layout/components/LogoutPopin.d.ts +3 -0
- package/src/app/layout/components/language/LanguageDropdown.d.ts +9 -0
- package/src/app/layout/components/language/LanguageIcon.d.ts +2 -0
- package/src/app/layout/components/language/index.d.ts +2 -0
- package/src/app/layout/constants/index.d.ts +14 -0
- package/src/app/pages/components/PagesList.d.ts +18 -0
- package/src/app/pages/components/SectionList.d.ts +20 -0
- package/src/app/pages/components/SectionTemplateBlock.d.ts +14 -0
- package/src/app/pages/components/SectionTemplatesList.d.ts +12 -0
- package/src/app/pages/components/TemplateBlock.d.ts +13 -0
- package/src/app/pages/components/TemplateTypes.d.ts +5 -0
- package/src/app/pages/components/TemplatesList.d.ts +12 -0
- package/src/app/pages/components/UseSectionTemplate.d.ts +12 -0
- package/src/app/pages/components/UseTemplate.d.ts +11 -0
- package/src/app/pages/constants/index.d.ts +51 -0
- package/src/app/pages/pages/PageSections.d.ts +2 -0
- package/src/app/pages/pages/Pages.d.ts +8 -0
- package/src/app/pages/pages/SectionTemplates.d.ts +2 -0
- package/src/app/pages/pages/Settings.d.ts +2 -0
- package/src/app/pages/pages/Templates.d.ts +2 -0
- package/src/app/pages/utils/resolveTemplateId.d.ts +2 -0
- package/src/app/resources/components/Agents/CreateAgent.d.ts +3 -0
- package/src/app/resources/components/Ais/CreateAi.d.ts +7 -0
- package/src/app/resources/components/Ais/PatchAi.d.ts +8 -0
- package/src/app/resources/components/Broadcasts/BroadcastClients.d.ts +6 -0
- package/src/app/resources/components/Broadcasts/CreateBroadcast.d.ts +8 -0
- package/src/app/resources/components/Broadcasts/ListBroadcasts.d.ts +6 -0
- package/src/app/resources/components/Broadcasts/NoBroadcastIcon.d.ts +3 -0
- package/src/app/resources/components/CreateResource.d.ts +4 -0
- package/src/app/resources/components/Integrations/CreateIntegration.d.ts +6 -0
- package/src/app/resources/components/Integrations/CreationSuccessfulPopup.d.ts +3 -0
- package/src/app/resources/components/Integrations/Facebook/LoginPopup.d.ts +4 -0
- package/src/app/resources/components/Integrations/Facebook/NoPagesFoundPopup.d.ts +3 -0
- package/src/app/resources/components/Integrations/Facebook/PagePickerPopup.d.ts +8 -0
- package/src/app/resources/components/Integrations/Facebook/index.d.ts +7 -0
- package/src/app/resources/components/Integrations/PatchIntegration.d.ts +7 -0
- package/src/app/resources/components/Integrations/RenderCorrectIntegrationFlow.d.ts +11 -0
- package/src/app/resources/components/Integrations/WhatsApp/LoginPopup.d.ts +4 -0
- package/src/app/resources/components/Integrations/WhatsApp/index.d.ts +4 -0
- package/src/app/resources/components/Integrations/types.d.ts +4 -0
- package/src/app/resources/components/ListResources.d.ts +4 -0
- package/src/app/resources/components/PatchResource.d.ts +5 -0
- package/src/app/resources/components/ResourceTypeDropList.d.ts +7 -0
- package/src/app/resources/config/agent.d.ts +4 -0
- package/src/app/resources/config/ai.d.ts +4 -0
- package/src/app/resources/config/apiKey.d.ts +4 -0
- package/src/app/resources/config/broadcast.d.ts +5 -0
- package/src/app/resources/config/client.d.ts +4 -0
- package/src/app/resources/config/clientStage.d.ts +4 -0
- package/src/app/resources/config/convStage.d.ts +4 -0
- package/src/app/resources/config/index.d.ts +3 -0
- package/src/app/resources/config/integration.d.ts +4 -0
- package/src/app/resources/config/types.d.ts +45 -0
- package/src/app/resources/config/webhook.d.ts +4 -0
- package/src/app/resources/hooks/useFBPagesHook.d.ts +13 -0
- package/src/app/resources/hooks/useResourceType.d.ts +6 -0
- package/src/app/resources/hooks/useWabaHook.d.ts +12 -0
- package/src/app/resources/pages/CreatePage.d.ts +2 -0
- package/src/app/resources/pages/ListPage.d.ts +2 -0
- package/src/app/resources/pages/PatchPage.d.ts +2 -0
- package/src/app/subscriptions/components/NewSubscription/SubscriptionName.d.ts +5 -0
- package/src/app/subscriptions/components/NewSubscription/SubscriptionSuccess.d.ts +5 -0
- package/src/app/subscriptions/components/Plans/PlanCard.d.ts +26 -0
- package/src/app/subscriptions/components/Plans/ShowcasePlans.d.ts +9 -0
- package/src/app/subscriptions/components/SubscriptionSettings/SubscriptionBilling.d.ts +2 -0
- package/src/app/subscriptions/components/SubscriptionSettings/SubscriptionProfile.d.ts +13 -0
- package/src/app/subscriptions/components/SubscriptionSettings/SubscriptionUsers.d.ts +12 -0
- package/src/app/subscriptions/components/SubscriptionSettings/index.d.ts +8 -0
- package/src/app/subscriptions/components/SubscriptionSwitcher/CLogo.d.ts +23 -0
- package/src/app/subscriptions/components/SubscriptionSwitcher/Switcher.d.ts +21 -0
- package/src/app/subscriptions/components/SubscriptionSwitcher/index.d.ts +2 -0
- package/src/app/subscriptions/components/SubscriptionsList.d.ts +8 -0
- package/src/app/subscriptions/constants/Plans.d.ts +27 -0
- package/src/app/subscriptions/hooks/WithDefaultContext.d.ts +1 -0
- package/src/app/subscriptions/pages/NewSubscription.d.ts +8 -0
- package/src/app/subscriptions/pages/Subscriptions.d.ts +8 -0
- package/src/app/subscriptions/pages/Upgrade.d.ts +11 -0
- package/src/app.d.ts +6 -0
- package/src/appWrapper.d.ts +2 -0
- package/src/assets/locales/translations.d.ts +517 -0
- package/src/config/constants.d.ts +11 -0
- package/src/config/modelsThumbs.d.ts +4 -0
- package/src/context/themeContext.d.ts +23 -0
- package/src/environments/environment.d.ts +4 -0
- package/src/environments/environment.prod.d.ts +4 -0
- package/src/main.d.ts +2 -0
- package/src/polyfills.d.ts +7 -0
- package/src/routes/PrivateRoutes.d.ts +1 -0
- package/src/routes/PublicRoutes.d.ts +1 -0
- package/src/routes/index.d.ts +2 -0
- package/src/store/history.d.ts +2 -0
- package/src/store/index.d.ts +852 -0
- package/src/store/lastState.d.ts +2 -0
- package/src/store/reducers.d.ts +96 -0
- package/src/utils/adjustStringEnumForDroplist.d.ts +5 -0
- package/src/utils/colorPool.d.ts +2 -0
- package/src/utils/getActiveAiTypes.d.ts +2 -0
- package/src/utils/getActiveChannelList.d.ts +2 -0
- package/src/utils/localStorage.d.ts +9 -0
- package/src/utils/textUtils.d.ts +5 -0
- package/src/utils/timeUtils.d.ts +30 -0
- package/src/utils/typesUtils.d.ts +11 -0
- package/assets/ar/translation.json +0 -495
- package/assets/en/translation.json +0 -497
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
interface SubscriptionsProps {
|
|
2
|
+
companies: any[];
|
|
3
|
+
refetchCompanies: any;
|
|
4
|
+
loadingCompanies: boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare const Subscriptions: ({ companies, refetchCompanies, loadingCompanies, }: SubscriptionsProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
7
|
+
declare const _default: any;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export type Props = {
|
|
2
|
+
companies: any[];
|
|
3
|
+
refetchCompanies: any;
|
|
4
|
+
loadingCompanies: boolean;
|
|
5
|
+
match: any;
|
|
6
|
+
history: any;
|
|
7
|
+
router: any;
|
|
8
|
+
};
|
|
9
|
+
export declare const Upgrade: ({ router, companies, loadingCompanies }: Props) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
10
|
+
declare const _default: any;
|
|
11
|
+
export default _default;
|
package/src/app.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare function App({ themeConfig, loadingThemeConfig, }: {
|
|
2
|
+
loadingThemeConfig?: boolean;
|
|
3
|
+
themeConfig?: Record<string, string>;
|
|
4
|
+
}): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare const _default: (props: any) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,517 @@
|
|
|
1
|
+
export type ConvertedToObjectType<T> = {
|
|
2
|
+
[P in keyof T]: T[P] extends string ? string : ConvertedToObjectType<T[P]>;
|
|
3
|
+
};
|
|
4
|
+
/**
|
|
5
|
+
|
|
6
|
+
If you don't want non-existing keys to throw ts error you can simply do(also keeping the intellisense)
|
|
7
|
+
|
|
8
|
+
export type ConvertedToObjectType<T> = {
|
|
9
|
+
[P in keyof T]: T[P] extends string ? string : ConvertedToObjectType<T[P]>;
|
|
10
|
+
} & {
|
|
11
|
+
[P: string]: any;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
*/
|
|
15
|
+
export type TranslationJsonType = typeof import('./en/common.json');
|
|
16
|
+
/**
|
|
17
|
+
* This file is seperate from the './i18n.ts' simply to make the Hot Module Replacement work seamlessly.
|
|
18
|
+
* Your components can import this file in 'messages.ts' files which would ruin the HMR if this isn't a separate module
|
|
19
|
+
*/
|
|
20
|
+
export declare const translations: ConvertedToObjectType<TranslationJsonType>;
|
|
21
|
+
export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: ConvertedToObjectType<{
|
|
22
|
+
auth: {
|
|
23
|
+
e_mail: string;
|
|
24
|
+
password: string;
|
|
25
|
+
welcomeToBC: string;
|
|
26
|
+
getStarted: string;
|
|
27
|
+
keepMeSignedIn: string;
|
|
28
|
+
forgetPassword: string;
|
|
29
|
+
login: string;
|
|
30
|
+
register: string;
|
|
31
|
+
loginFailed: string;
|
|
32
|
+
registerFailed: string;
|
|
33
|
+
invitationLinkNotExists: string;
|
|
34
|
+
emailUsed: string;
|
|
35
|
+
createFreeAccount: string;
|
|
36
|
+
name: string;
|
|
37
|
+
surname: string;
|
|
38
|
+
loginNow: string;
|
|
39
|
+
alreadyHaveAnAccount: string;
|
|
40
|
+
forgetSuccessDesc: string;
|
|
41
|
+
forgetToSendEmail: string;
|
|
42
|
+
forgetTitle: string;
|
|
43
|
+
forgetPrompt: string;
|
|
44
|
+
getStartedBtn: string;
|
|
45
|
+
continue: string;
|
|
46
|
+
dontHaveAnAccount: string;
|
|
47
|
+
signupNow: string;
|
|
48
|
+
returnToLogin: string;
|
|
49
|
+
passwordResetSuccess: string;
|
|
50
|
+
passwordResetFaildDesc: string;
|
|
51
|
+
passwordLinkExpired: string;
|
|
52
|
+
invalidResetPasswordLink: string;
|
|
53
|
+
passwordRestTitle: string;
|
|
54
|
+
passwordResetPrompt: string;
|
|
55
|
+
confirmEmailSentSuccessfully: string;
|
|
56
|
+
failedToSendConfirmationEmail: string;
|
|
57
|
+
welcome: string;
|
|
58
|
+
verifyEmail: string;
|
|
59
|
+
needToVerify: string;
|
|
60
|
+
noEmailReceived: string;
|
|
61
|
+
resendVerificationEmail: string;
|
|
62
|
+
confirmYourEmail: string;
|
|
63
|
+
registrationSuccess: string;
|
|
64
|
+
currentPassword: string;
|
|
65
|
+
newPassword: string;
|
|
66
|
+
confirmPassword: string;
|
|
67
|
+
facebook: string;
|
|
68
|
+
google: string;
|
|
69
|
+
};
|
|
70
|
+
showcasePlans: {
|
|
71
|
+
pickPlan: string;
|
|
72
|
+
pickPlanDesc: string;
|
|
73
|
+
freePkgTitle: string;
|
|
74
|
+
basicPkgTitle: string;
|
|
75
|
+
premiumPkgTitle: string;
|
|
76
|
+
enterprisePkgTitle: string;
|
|
77
|
+
freePkgSubtitle: string;
|
|
78
|
+
basicPkgSubtitle: string;
|
|
79
|
+
premiumPkgSubtitle: string;
|
|
80
|
+
enterprisePkgSubtitle: string;
|
|
81
|
+
freePkgActionLabel: string;
|
|
82
|
+
basicPkgActionLabel: string;
|
|
83
|
+
premiumPkgActionLabel: string;
|
|
84
|
+
enterprisePkgActionLabel: string;
|
|
85
|
+
visits: string;
|
|
86
|
+
conversations: string;
|
|
87
|
+
subscribeSucceeded: string;
|
|
88
|
+
manageBilling: string;
|
|
89
|
+
nextYearPlans: string;
|
|
90
|
+
};
|
|
91
|
+
profile: {
|
|
92
|
+
passwordUpdated: string;
|
|
93
|
+
passwordInvalid: string;
|
|
94
|
+
profileMgmt: string;
|
|
95
|
+
profile: string;
|
|
96
|
+
password: string;
|
|
97
|
+
updatingEmailNote: string;
|
|
98
|
+
help: string;
|
|
99
|
+
feedback: string;
|
|
100
|
+
roadmap: string;
|
|
101
|
+
changelog: string;
|
|
102
|
+
privacyPolicy: string;
|
|
103
|
+
terms: string;
|
|
104
|
+
};
|
|
105
|
+
subscriptions: {
|
|
106
|
+
subscriptions: string;
|
|
107
|
+
settings: string;
|
|
108
|
+
sortByName: string;
|
|
109
|
+
sortByDate: string;
|
|
110
|
+
none: string;
|
|
111
|
+
noSelection: string;
|
|
112
|
+
name: string;
|
|
113
|
+
createDate: string;
|
|
114
|
+
openPortal: string;
|
|
115
|
+
integrations: string;
|
|
116
|
+
profile: string;
|
|
117
|
+
users: string;
|
|
118
|
+
loadingUsers: string;
|
|
119
|
+
createNewSubscription: string;
|
|
120
|
+
createSubscriptionDescription: string;
|
|
121
|
+
subscriptionName: string;
|
|
122
|
+
create: string;
|
|
123
|
+
createSubscription: string;
|
|
124
|
+
monthLabel: string;
|
|
125
|
+
loadingSubscriptions: string;
|
|
126
|
+
loadingUsage: string;
|
|
127
|
+
inviteUserSuccess: string;
|
|
128
|
+
userAddedSuccess: string;
|
|
129
|
+
removeUserConfirmation: string;
|
|
130
|
+
removeUserTitle: string;
|
|
131
|
+
removeUserSuccess: string;
|
|
132
|
+
billing: string;
|
|
133
|
+
beginCreatingPages: string;
|
|
134
|
+
usage: string;
|
|
135
|
+
upgrade: string;
|
|
136
|
+
current: string;
|
|
137
|
+
sameSubscriptionExists: string;
|
|
138
|
+
inviteUser: string;
|
|
139
|
+
showcaseWorkspace: string;
|
|
140
|
+
hychartWorkspace: string;
|
|
141
|
+
inboxWorkspace: string;
|
|
142
|
+
userRole: string;
|
|
143
|
+
ownerRole: string;
|
|
144
|
+
adminRole: string;
|
|
145
|
+
managerRole: string;
|
|
146
|
+
agentRole: string;
|
|
147
|
+
agentPlusRole: string;
|
|
148
|
+
};
|
|
149
|
+
pages: {
|
|
150
|
+
yourPages: string;
|
|
151
|
+
loadingConfig: string;
|
|
152
|
+
loadingPages: string;
|
|
153
|
+
Search: string;
|
|
154
|
+
Name: string;
|
|
155
|
+
Date: string;
|
|
156
|
+
Status: string;
|
|
157
|
+
Actions: string;
|
|
158
|
+
noPages: string;
|
|
159
|
+
homePage: string;
|
|
160
|
+
returnBack: string;
|
|
161
|
+
pagesTemplates: string;
|
|
162
|
+
filterTemplates: string;
|
|
163
|
+
loadingTemplates: string;
|
|
164
|
+
demo: string;
|
|
165
|
+
useTemplate: string;
|
|
166
|
+
useType: string;
|
|
167
|
+
pagesSections: string;
|
|
168
|
+
addNewSection: string;
|
|
169
|
+
loadingSection: string;
|
|
170
|
+
pageSettings: string;
|
|
171
|
+
addNewPage: string;
|
|
172
|
+
sectionData: string;
|
|
173
|
+
newPageWizard: string;
|
|
174
|
+
newSectionWizard: string;
|
|
175
|
+
selectingParentPage: string;
|
|
176
|
+
choosingPagePath: string;
|
|
177
|
+
choosingSectionName: string;
|
|
178
|
+
onRoot: string;
|
|
179
|
+
useTemplateProgress: string;
|
|
180
|
+
useTemplateProgressDesc: string;
|
|
181
|
+
useTemplateProgressError: string;
|
|
182
|
+
useTemplateProgressErrorDesc: string;
|
|
183
|
+
goToPages: string;
|
|
184
|
+
confirmUseTemplate: string;
|
|
185
|
+
confirmUseTemplateDesc1: string;
|
|
186
|
+
confirmUseTemplateDesc2: string;
|
|
187
|
+
createPage: string;
|
|
188
|
+
createSection: string;
|
|
189
|
+
path: string;
|
|
190
|
+
sectionName: string;
|
|
191
|
+
sectionTemplates: string;
|
|
192
|
+
removingPage: string;
|
|
193
|
+
removingPageConfirmation: string;
|
|
194
|
+
removingSection: string;
|
|
195
|
+
sectionCopyCode: string;
|
|
196
|
+
removingSectionConfirmation: string;
|
|
197
|
+
copingSectionCode: string;
|
|
198
|
+
overwritingRootError: string;
|
|
199
|
+
domainSettings: string;
|
|
200
|
+
removeItem: string;
|
|
201
|
+
subSections: string;
|
|
202
|
+
getCode: string;
|
|
203
|
+
orderUp: string;
|
|
204
|
+
orderDown: string;
|
|
205
|
+
saveOrder: string;
|
|
206
|
+
newOrderSavedSuccessfully: string;
|
|
207
|
+
pageType: string;
|
|
208
|
+
chartType: string;
|
|
209
|
+
faqType: string;
|
|
210
|
+
pricingType: string;
|
|
211
|
+
successCopy: string;
|
|
212
|
+
fieldCopy: string;
|
|
213
|
+
};
|
|
214
|
+
charts: {
|
|
215
|
+
loadingCharts: string;
|
|
216
|
+
loadingConfig: string;
|
|
217
|
+
noCharts: string;
|
|
218
|
+
yourCharts: string;
|
|
219
|
+
root: string;
|
|
220
|
+
domainSettings: string;
|
|
221
|
+
chartSettings: string;
|
|
222
|
+
removeItem: string;
|
|
223
|
+
addNewChart: string;
|
|
224
|
+
removingChart: string;
|
|
225
|
+
removingChartConfirmation: string;
|
|
226
|
+
};
|
|
227
|
+
editor: {
|
|
228
|
+
update: string;
|
|
229
|
+
loadingEditorContent: string;
|
|
230
|
+
savingEditorContent: string;
|
|
231
|
+
noDataFound: string;
|
|
232
|
+
browser: string;
|
|
233
|
+
newFolder: string;
|
|
234
|
+
newFolderName: string;
|
|
235
|
+
deleteFolder: string;
|
|
236
|
+
deleteFolderMessage: string;
|
|
237
|
+
deleteFile: string;
|
|
238
|
+
deleteFileMessage: string;
|
|
239
|
+
};
|
|
240
|
+
settings: {
|
|
241
|
+
loadingConfig: string;
|
|
242
|
+
loadingDomains: string;
|
|
243
|
+
settings: string;
|
|
244
|
+
addDomainDetails: string;
|
|
245
|
+
addDomainDetails2: string;
|
|
246
|
+
addDomainDetails3: string;
|
|
247
|
+
domain: string;
|
|
248
|
+
addDomain: string;
|
|
249
|
+
linkedDomains: string;
|
|
250
|
+
noDomainsLinked: string;
|
|
251
|
+
update: string;
|
|
252
|
+
domainExample: string;
|
|
253
|
+
notAllowed: string;
|
|
254
|
+
demoDomain: string;
|
|
255
|
+
};
|
|
256
|
+
inbox: {
|
|
257
|
+
client: string;
|
|
258
|
+
clientDefaultName: string;
|
|
259
|
+
conversation: string;
|
|
260
|
+
details: string;
|
|
261
|
+
pastConversations: string;
|
|
262
|
+
activity: string;
|
|
263
|
+
phone: string;
|
|
264
|
+
email: string;
|
|
265
|
+
noConversations: string;
|
|
266
|
+
tags: string;
|
|
267
|
+
startedAt: string;
|
|
268
|
+
StartOfConversation: string;
|
|
269
|
+
endedAt: string;
|
|
270
|
+
conversationEndedBy: string;
|
|
271
|
+
clientEmail: string;
|
|
272
|
+
clientPhone: string;
|
|
273
|
+
clientCode: string;
|
|
274
|
+
addNewTag: string;
|
|
275
|
+
addingNewTag: string;
|
|
276
|
+
failedToSendMessage: string;
|
|
277
|
+
integrationId: string;
|
|
278
|
+
integrationType: string;
|
|
279
|
+
conversationId: string;
|
|
280
|
+
clientId: string;
|
|
281
|
+
endConversation: string;
|
|
282
|
+
confirmEndConversation: string;
|
|
283
|
+
stage: string;
|
|
284
|
+
noteMessage: string;
|
|
285
|
+
NewLead: string;
|
|
286
|
+
HotLead: string;
|
|
287
|
+
Payment: string;
|
|
288
|
+
Customer: string;
|
|
289
|
+
ColdLead: string;
|
|
290
|
+
conversationAssignedTo: string;
|
|
291
|
+
conversationReassignedTo: string;
|
|
292
|
+
addedNotes: string;
|
|
293
|
+
conversationTagged: string;
|
|
294
|
+
conversationUnTagged: string;
|
|
295
|
+
conversationsStaged: string;
|
|
296
|
+
conversationsUnStaged: string;
|
|
297
|
+
conversationTaggedFailed: string;
|
|
298
|
+
clientTaggedFailed: string;
|
|
299
|
+
clientUnTaggedFailed: string;
|
|
300
|
+
clientUpdateFailed: string;
|
|
301
|
+
saveChanges: string;
|
|
302
|
+
noMessagesForEndedConv: string;
|
|
303
|
+
noChannelsBtn: string;
|
|
304
|
+
noChannels: string;
|
|
305
|
+
notSet: string;
|
|
306
|
+
assign: string;
|
|
307
|
+
Received: string;
|
|
308
|
+
Processing: string;
|
|
309
|
+
Shipping: string;
|
|
310
|
+
unassigned: string;
|
|
311
|
+
assignedtoMe: string;
|
|
312
|
+
assignedto: string;
|
|
313
|
+
assignMe: string;
|
|
314
|
+
unassignMe: string;
|
|
315
|
+
orderNo: string;
|
|
316
|
+
MessagedVia: string;
|
|
317
|
+
assignee: string;
|
|
318
|
+
assignedMessage: string;
|
|
319
|
+
noBroadcasts: string;
|
|
320
|
+
createBroadcast: string;
|
|
321
|
+
filterByState: string;
|
|
322
|
+
broadcastState: {
|
|
323
|
+
all: string;
|
|
324
|
+
completed: string;
|
|
325
|
+
draft: string;
|
|
326
|
+
failed: string;
|
|
327
|
+
inProgress: string;
|
|
328
|
+
scheduled: string;
|
|
329
|
+
};
|
|
330
|
+
startConversation: string;
|
|
331
|
+
startCovBtn: string;
|
|
332
|
+
messageTemplate: string;
|
|
333
|
+
pickIntegration: string;
|
|
334
|
+
pickClient: string;
|
|
335
|
+
pickMessageTemplate: string;
|
|
336
|
+
pickAssignee: string;
|
|
337
|
+
searchClients: string;
|
|
338
|
+
languageCode: string;
|
|
339
|
+
clientsForBroadcast: string;
|
|
340
|
+
costForBroadcast: string;
|
|
341
|
+
broadcastDetails: string;
|
|
342
|
+
clientsDetails: string;
|
|
343
|
+
searchConvs: string;
|
|
344
|
+
createNewAgent: string;
|
|
345
|
+
createNewLifeCycle: string;
|
|
346
|
+
noAgentNote: string;
|
|
347
|
+
newMessageFrom: string;
|
|
348
|
+
searchMode: string;
|
|
349
|
+
mode_conv: string;
|
|
350
|
+
mode_msg: string;
|
|
351
|
+
messageType: string;
|
|
352
|
+
messageType_text: string;
|
|
353
|
+
messageType_audio: string;
|
|
354
|
+
messageType_document: string;
|
|
355
|
+
messageType_image: string;
|
|
356
|
+
messageType_location: string;
|
|
357
|
+
messageType_note: string;
|
|
358
|
+
messageType_video: string;
|
|
359
|
+
showOlderMessages: string;
|
|
360
|
+
};
|
|
361
|
+
resources: {
|
|
362
|
+
loginToFB: string;
|
|
363
|
+
loginToFBDetails: string;
|
|
364
|
+
noFBPagesFound: string;
|
|
365
|
+
pickingFBPage: string;
|
|
366
|
+
resourceTypeTitleForCreate: string;
|
|
367
|
+
resourceTypeTitleForList: string;
|
|
368
|
+
pickType: string;
|
|
369
|
+
newResoruce: string;
|
|
370
|
+
editResource: string;
|
|
371
|
+
newResoruceDefault: string;
|
|
372
|
+
listResources: string;
|
|
373
|
+
integration: string;
|
|
374
|
+
client: string;
|
|
375
|
+
aiType: string;
|
|
376
|
+
integrationName: string;
|
|
377
|
+
integrationStartWith: string;
|
|
378
|
+
startWith_AI: string;
|
|
379
|
+
startWith_AGENT: string;
|
|
380
|
+
startWith_AI_BY_COUNTRY_CODE: string;
|
|
381
|
+
startWith_AGENT_BY_COUNTRY_CODE: string;
|
|
382
|
+
countryCode: string;
|
|
383
|
+
defaultAI: string;
|
|
384
|
+
defaultAgent: string;
|
|
385
|
+
startWith_countrySettings: string;
|
|
386
|
+
integrationType: string;
|
|
387
|
+
whatsAppChannel: string;
|
|
388
|
+
broadcastName: string;
|
|
389
|
+
page: string;
|
|
390
|
+
date: string;
|
|
391
|
+
time: string;
|
|
392
|
+
cost: string;
|
|
393
|
+
total: string;
|
|
394
|
+
clients: string;
|
|
395
|
+
launchDate: string;
|
|
396
|
+
calender: string;
|
|
397
|
+
tag: string;
|
|
398
|
+
convstage: string;
|
|
399
|
+
clientstage: string;
|
|
400
|
+
description: string;
|
|
401
|
+
languageCode: string;
|
|
402
|
+
selectIntegrationName: string;
|
|
403
|
+
selectIntegrationType: string;
|
|
404
|
+
FB_integration_cancelled: string;
|
|
405
|
+
INSTA_integration_cancelled: string;
|
|
406
|
+
WABA_integration_cancelled: string;
|
|
407
|
+
creationSuccessfulMessage: string;
|
|
408
|
+
loading: string;
|
|
409
|
+
modify: string;
|
|
410
|
+
removeItem: string;
|
|
411
|
+
removingConfirmation: string;
|
|
412
|
+
launchingConfirmation: string;
|
|
413
|
+
name: string;
|
|
414
|
+
surname: string;
|
|
415
|
+
address: string;
|
|
416
|
+
city: string;
|
|
417
|
+
country: string;
|
|
418
|
+
user: string;
|
|
419
|
+
type: string;
|
|
420
|
+
state: string;
|
|
421
|
+
createdAt: string;
|
|
422
|
+
email: string;
|
|
423
|
+
phone: string;
|
|
424
|
+
phoneId: string;
|
|
425
|
+
tags: string;
|
|
426
|
+
apiKey: string;
|
|
427
|
+
model: string;
|
|
428
|
+
agent: string;
|
|
429
|
+
ai: string;
|
|
430
|
+
stage: string;
|
|
431
|
+
startedAt: string;
|
|
432
|
+
completedAt: string;
|
|
433
|
+
scheduledAt: string;
|
|
434
|
+
totalCount: string;
|
|
435
|
+
failedCount: string;
|
|
436
|
+
templateName: string;
|
|
437
|
+
selectTemplateName: string;
|
|
438
|
+
templateLang: string;
|
|
439
|
+
noUsersFound: string;
|
|
440
|
+
removingResource: string;
|
|
441
|
+
launchingBroadcast: string;
|
|
442
|
+
userId: string;
|
|
443
|
+
webhook: string;
|
|
444
|
+
url: string;
|
|
445
|
+
event: string;
|
|
446
|
+
incomingMessage: string;
|
|
447
|
+
outgoingMessage: string;
|
|
448
|
+
endingConv: string;
|
|
449
|
+
newConv: string;
|
|
450
|
+
newClient: string;
|
|
451
|
+
clientUpdated: string;
|
|
452
|
+
broadcast: string;
|
|
453
|
+
launch: string;
|
|
454
|
+
messageTemplate: string;
|
|
455
|
+
};
|
|
456
|
+
dashboard: {
|
|
457
|
+
dashboardOverview: string;
|
|
458
|
+
refresh: string;
|
|
459
|
+
opened: string;
|
|
460
|
+
assigned: string;
|
|
461
|
+
unassigned: string;
|
|
462
|
+
newMessages: string;
|
|
463
|
+
totalConversations: string;
|
|
464
|
+
convCount: string;
|
|
465
|
+
messageCounts: string;
|
|
466
|
+
totalAgentMessages: string;
|
|
467
|
+
totalClientMessages: string;
|
|
468
|
+
timings: string;
|
|
469
|
+
responseTime: string;
|
|
470
|
+
convTime: string;
|
|
471
|
+
conversationAnalytics: string;
|
|
472
|
+
agentAnalytics: string;
|
|
473
|
+
selectAgent: string;
|
|
474
|
+
thisMonth: string;
|
|
475
|
+
today: string;
|
|
476
|
+
lastMonth: string;
|
|
477
|
+
minutes: string;
|
|
478
|
+
hours: string;
|
|
479
|
+
seconds: string;
|
|
480
|
+
};
|
|
481
|
+
id: string;
|
|
482
|
+
save: string;
|
|
483
|
+
genericError: string;
|
|
484
|
+
errorPageHeader: string;
|
|
485
|
+
noPermissionsPageHeader: string;
|
|
486
|
+
requestFailed: string;
|
|
487
|
+
requestSuccess: string;
|
|
488
|
+
notFound: string;
|
|
489
|
+
logoutConfirmation: string;
|
|
490
|
+
logoutTitle: string;
|
|
491
|
+
logout: string;
|
|
492
|
+
cancel: string;
|
|
493
|
+
next: string;
|
|
494
|
+
previous: string;
|
|
495
|
+
back: string;
|
|
496
|
+
remove: string;
|
|
497
|
+
copy: string;
|
|
498
|
+
ok: string;
|
|
499
|
+
add: string;
|
|
500
|
+
all: string;
|
|
501
|
+
tr: string;
|
|
502
|
+
ar: string;
|
|
503
|
+
en: string;
|
|
504
|
+
yes: string;
|
|
505
|
+
no: string;
|
|
506
|
+
tryAgain: string;
|
|
507
|
+
menu_dashboard: string;
|
|
508
|
+
menu_showcase: string;
|
|
509
|
+
menu_hychart: string;
|
|
510
|
+
menu_inbox: string;
|
|
511
|
+
menu_search: string;
|
|
512
|
+
menu_broadcasts: string;
|
|
513
|
+
menu_list: string;
|
|
514
|
+
menu_create: string;
|
|
515
|
+
customerSupport: string;
|
|
516
|
+
searchPattern: string;
|
|
517
|
+
}>, current?: string) => void;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Color } from '@bcrumbs.net/bc-ui';
|
|
2
|
+
export declare const PARAMETERS: never[];
|
|
3
|
+
export declare const BLUR_CONTAINER = "root";
|
|
4
|
+
export declare const LOADING_COLOR = Color.PRIMARY;
|
|
5
|
+
export declare const FavIcon16 = "https://cdn.bcrumbs.net/bc-assets/icons/favicons/favicon-16x16.png";
|
|
6
|
+
export declare const FavIcon32 = "https://cdn.bcrumbs.net/bc-assets/icons/favicons/favicon-32x32.png";
|
|
7
|
+
export declare const HELPDESK_URL = "https://bcrumbs.featurebase.app/help";
|
|
8
|
+
export declare const CHANGELOG_URL = "https://bcrumbs.featurebase.app/changelog";
|
|
9
|
+
export declare const FEEDBACK_URL = "https://bcrumbs.featurebase.app/";
|
|
10
|
+
export declare const ROADMAP_URL = "https://bcrumbs.featurebase.app/roadmap";
|
|
11
|
+
export declare const SUPPORT_PHONE = "19306009087";
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
type LangValues = {
|
|
3
|
+
rtl: boolean;
|
|
4
|
+
toggleLang: () => void;
|
|
5
|
+
};
|
|
6
|
+
export type PortalThemeConfig = {
|
|
7
|
+
wlogo?: string;
|
|
8
|
+
logo?: string;
|
|
9
|
+
loginPic?: string;
|
|
10
|
+
disableSocial?: boolean;
|
|
11
|
+
disableRegister?: boolean;
|
|
12
|
+
welcomeMessage?: string;
|
|
13
|
+
disableForgetPassword?: boolean;
|
|
14
|
+
disableSupportLinks?: boolean;
|
|
15
|
+
favIcon16?: string;
|
|
16
|
+
favIcon32?: string;
|
|
17
|
+
};
|
|
18
|
+
export declare function useThemeContext(): LangValues & PortalThemeConfig;
|
|
19
|
+
export declare function ThemeProvider({ children, config, }: {
|
|
20
|
+
children: React.ReactNode;
|
|
21
|
+
config?: PortalThemeConfig;
|
|
22
|
+
}): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
23
|
+
export {};
|
package/src/main.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const PrivateRoutes: () => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const PublicRoutes: () => import("@emotion/react/jsx-runtime").JSX.Element;
|