@bcrumbs.net/inbox 0.0.52 → 0.0.55

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.
Files changed (84) hide show
  1. package/{396ba1d86a9997b1.svg → 594c01a9720e0657.svg} +42 -42
  2. package/assets/ar/inbox.json +263 -256
  3. package/assets/en/inbox.json +265 -258
  4. package/{2998ffe42c3436c0.svg → cb9c022b3cf80e0f.svg} +43 -43
  5. package/index.cjs.d.ts +1 -1
  6. package/index.cjs.js +5068 -13392
  7. package/index.esm.d.ts +1 -1
  8. package/index.esm.js +5071 -13397
  9. package/package.json +1 -1
  10. package/src/app/ai/components/CrumbySettings/AutoTagRulesSection.d.ts +14 -0
  11. package/src/app/ai/components/CrumbySettings/tagRuleUtils.d.ts +28 -0
  12. package/src/app/auth/components/UserAvatar/AccountSettingsDropdown.d.ts +2 -1
  13. package/src/app/auth/components/UserAvatar/index.d.ts +2 -1
  14. package/src/app/auth/pages/CheckAuth.d.ts +10 -0
  15. package/src/app/auth/pages/Forget.d.ts +1 -3
  16. package/src/app/auth/pages/Password.d.ts +0 -1
  17. package/src/app/auth/pages/Profile.d.ts +0 -1
  18. package/src/app/auth/redux/actions/forgetPasswordAction.d.ts +1 -1
  19. package/src/app/auth/redux/actions/logoutAction.d.ts +2 -2
  20. package/src/app/auth/redux/actions/resetPasswordAction.d.ts +2 -2
  21. package/src/app/auth/redux/auth.types.d.ts +5 -1
  22. package/src/app/billing/context/SubscriptionContext.d.ts +3 -1
  23. package/src/app/billing/utils/pendingPlanPurchaseStorage.d.ts +10 -0
  24. package/src/app/contact/components/ContactFormFields.d.ts +2 -1
  25. package/src/app/contact/config/contactForm.d.ts +4 -0
  26. package/src/app/dashboard/components/BroadcastAnalyticsCard.d.ts +2 -1
  27. package/src/app/dashboard/utils/buildBroadcastReportOverviewAnalytics.d.ts +2 -0
  28. package/src/app/dashboard/utils/dateHelpers.d.ts +17 -0
  29. package/src/app/generic/components/HeaderImageInput.d.ts +2 -1
  30. package/src/app/generic/components/MessagePreview.d.ts +3 -1
  31. package/src/app/generic/components/PreviewHeaderImage.d.ts +2 -1
  32. package/src/app/generic/utils/logout.d.ts +1 -1
  33. package/src/app/inbox/components/Chat/ChatContent.d.ts +1 -3
  34. package/src/app/inbox/components/Chat/ChatHeader.d.ts +5 -1
  35. package/src/app/inbox/components/Chat/NoResultsFound.d.ts +3 -0
  36. package/src/app/inbox/components/Chat/index.d.ts +4 -1
  37. package/src/app/inbox/components/NewConvList/FilterDrawer.d.ts +2 -3
  38. package/src/app/inbox/components/NewConvList/HeaderSection.d.ts +3 -2
  39. package/src/app/inbox/components/NewDetails/ChatDetails.d.ts +3 -2
  40. package/src/app/inbox/components/NewDetails/ChatDetailsAndTimeline.d.ts +3 -2
  41. package/src/app/inbox/components/NewDetails/ClientInfo.d.ts +3 -2
  42. package/src/app/inbox/components/NewDetails/ConversationOverview.d.ts +3 -2
  43. package/src/app/inbox/components/NewDetails/EditClientInfo.d.ts +3 -2
  44. package/src/app/inbox/components/NewDetails/index.d.ts +3 -2
  45. package/src/app/inbox/components/Shared/Inbox.d.ts +9 -7
  46. package/src/app/inbox/components/Shared/MobileActionSheet.d.ts +9 -0
  47. package/src/app/inbox/components/Shared/MobileMenu.d.ts +8 -0
  48. package/src/app/inbox/components/Shared/SharedStyle.d.ts +7 -0
  49. package/src/app/inbox/components/Shared/mobileMenuStyles.d.ts +20 -0
  50. package/src/app/inbox/constants/index.d.ts +1 -1
  51. package/src/app/inbox/hooks/useConversationById.d.ts +8 -0
  52. package/src/app/inbox/hooks/useInboxAssignableAis.d.ts +3 -0
  53. package/src/app/inbox/hooks/useMyAgent.d.ts +8 -0
  54. package/src/app/inbox/utils/convs.d.ts +4 -4
  55. package/src/app/inbox/utils/inboxAssignableAis.d.ts +10 -0
  56. package/src/app/inbox/utils/mobileInboxStyles.d.ts +6 -0
  57. package/src/app/layout/components/Header.d.ts +0 -4
  58. package/src/app/layout/constants/subMenu.d.ts +12 -2
  59. package/src/app/layout/context/EmbeddedInboxContext.d.ts +3 -0
  60. package/src/app/layout/context/MobileInboxNavContext.d.ts +9 -0
  61. package/src/app/layout/hooks/useMobileInboxVersion.d.ts +1 -3
  62. package/src/app/managemnet/components/CreateQuickReply.d.ts +8 -0
  63. package/src/app/managemnet/config/quickReplyDefinition.d.ts +4 -0
  64. package/src/app/managemnet/pages/quickReplies/index.d.ts +2 -0
  65. package/src/app/onboarding/utils/onboardingChecklistStorage.d.ts +4 -0
  66. package/src/app/resources/components/Integrations/Facebook/NoPagesFoundPopup.d.ts +2 -1
  67. package/src/app/resources/components/Integrations/Facebook/PagePickerPopup.d.ts +2 -1
  68. package/src/app/subscriptions/components/Plans/PlanCard.d.ts +10 -23
  69. package/src/app/subscriptions/components/Plans/ShowcasePlans.d.ts +5 -4
  70. package/src/app/subscriptions/components/SubscriptionSettings/SubscriptionHeader.d.ts +1 -10
  71. package/src/app/subscriptions/components/SubscriptionSettings/SubscriptionPlanLabel.d.ts +8 -0
  72. package/src/app/subscriptions/components/SubscriptionSettings/SubscriptionProfileCard.d.ts +14 -0
  73. package/src/app/subscriptions/components/SubscriptionSettings/SubscriptionUsageCard.d.ts +7 -0
  74. package/src/app/subscriptions/components/SubscriptionSettings/SubscriptionUsers.d.ts +3 -2
  75. package/src/app/subscriptions/components/SubscriptionSwitcher/Switcher.d.ts +4 -1
  76. package/src/app/subscriptions/components/SubscriptionSwitcher/index.d.ts +3 -1
  77. package/src/app/subscriptions/components/SubscriptionsList.d.ts +1 -0
  78. package/src/assets/locales/translations.d.ts +62 -0
  79. package/src/graphql.autogenerated.d.ts +539 -0
  80. package/src/graphql.billing.autogenerated.d.ts +3 -0
  81. package/src/lib/EmbeddedMobileMenu.d.ts +9 -0
  82. package/src/lib/conversation-chat.d.ts +11 -0
  83. package/src/lib/index.d.ts +4 -0
  84. package/src/utils/integration.d.ts +6 -0
@@ -0,0 +1,8 @@
1
+ import { Agent } from '../../../graphql.autogenerated';
2
+ /**
3
+ * Resolves the workspace agent for the current session.
4
+ * Portal users match on agent.userId; agent-linked API keys authenticate with agent.id.
5
+ */
6
+ export declare function findMyAgent(agents: Agent[] | null | undefined, userId: string | undefined, userType: string | undefined): Agent | undefined;
7
+ declare const useMyAgent: (agents?: Agent[] | null) => Agent | undefined;
8
+ export default useMyAgent;
@@ -21,16 +21,16 @@ interface BuildAgentsMenuOptions {
21
21
  selectedAgentId: string | null | undefined;
22
22
  selectedAiId: string | null | undefined;
23
23
  onAgentSelect: (agentId: string, agentName?: string) => void;
24
- onCrumbySelect: (crumbyId: string, crumbyName?: string) => void;
24
+ /** Workspace assistants shown after “Unassigned”; excludes internal-only AIs */
25
+ assignableAis?: Ai[];
26
+ onAssignableAiSelect?: (aiId: string) => void;
25
27
  onUnassigneeSelect?: () => void;
26
28
  t: any;
27
- crumbyAi?: Ai;
28
29
  includeAllOption?: boolean;
29
30
  onAllSelect?: () => void;
30
31
  addSeparatorAtLast?: boolean;
31
32
  counts?: AgentConversationCounts;
32
33
  showAllAgents?: boolean;
33
- isCrumbyEnabled?: boolean;
34
34
  }
35
35
  interface BuildLifeCycleMenuOptions {
36
36
  convStages: Tag[];
@@ -46,7 +46,7 @@ export declare function isOutside24HourWindow(message: Message | null | undefine
46
46
  export declare function formatSeconds(value: number): string;
47
47
  export declare const getMessageStatusIcon: (message: Message | null | undefined) => import("@emotion/react/jsx-runtime").JSX.Element | null;
48
48
  export declare const getDisplayName: (clientData: ClientQuery['client'] | undefined) => string;
49
- export declare const buildAgentsMenu: ({ agents, myAgent, selectedAgentId, selectedAiId, onAgentSelect, onCrumbySelect, onUnassigneeSelect, t, includeAllOption, onAllSelect, addSeparatorAtLast, counts, crumbyAi, showAllAgents, isCrumbyEnabled, }: BuildAgentsMenuOptions) => ActionItem[];
49
+ export declare const buildAgentsMenu: ({ agents, myAgent, selectedAgentId, selectedAiId, onAgentSelect, assignableAis, onAssignableAiSelect, onUnassigneeSelect, t, includeAllOption, onAllSelect, addSeparatorAtLast, counts, showAllAgents, }: BuildAgentsMenuOptions) => ActionItem[];
50
50
  export declare const buildLifeCycleMenu: ({ convStages, selectedStageId, onStageSelect, t, addSeparatorAtLast, }: BuildLifeCycleMenuOptions) => ActionItem[];
51
51
  export declare const formatPhoneForWhatsApp: (phone: string | null | undefined) => string;
52
52
  interface BuildChannelsMenuOptions {
@@ -0,0 +1,10 @@
1
+ import { Ai } from '../../../graphql.autogenerated';
2
+ /** Stored name for the primary Crumby assistant record */
3
+ export declare const CRUMBY_AI_RECORD_NAME = "Crumby AI";
4
+ /** Primary Crumby assistant rows first, then remaining AIs by name */
5
+ export declare function sortInboxAssignableAis(ais: Ai[]): Ai[];
6
+ /**
7
+ * Workspace AIs users may assign or filter by in the inbox.
8
+ * Excludes internal assistants and hides Crumby when the feature flag is off.
9
+ */
10
+ export declare function getInboxAssignableAis(aiAgents: Ai[] | undefined, isCrumbyEnabled: boolean): Ai[];
@@ -0,0 +1,6 @@
1
+ import { LineHeightRem, TextSizeRem } from '@bcrumbs.net/bc-ui';
2
+ /** Desktop → mobile font step-up for inbox UI */
3
+ export declare const mobileText: (desktop: TextSizeRem, mobile: TextSizeRem, isMobile: boolean) => TextSizeRem;
4
+ export declare const mobileLineHeight: (desktop: LineHeightRem, mobile: LineHeightRem, isMobile: boolean) => LineHeightRem;
5
+ export declare const mobileFullWidthButtonCss: import("@emotion/react").SerializedStyles;
6
+ export declare const bcChatMobileFontVars: import("@emotion/react").SerializedStyles;
@@ -3,10 +3,6 @@ import { CommandPaletteItem } from './CommandPalette';
3
3
  export declare const HeaderContainer: import("@emotion/styled").StyledComponent<{
4
4
  theme?: import("@emotion/react").Theme | undefined;
5
5
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
6
- } & {
7
- rtl: boolean;
8
- mobileInboxVersion: boolean;
9
- hasSubMenu?: boolean | undefined;
10
6
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
11
7
  export declare const Separator: import("@emotion/styled").StyledComponent<{
12
8
  theme?: import("@emotion/react").Theme | undefined;
@@ -12,7 +12,7 @@ export declare const ManagementSubmenu: ({
12
12
  }[];
13
13
  } | {
14
14
  title: string;
15
- items: {
15
+ items: ({
16
16
  label: string;
17
17
  title: string;
18
18
  link: string;
@@ -20,7 +20,17 @@ export declare const ManagementSubmenu: ({
20
20
  action: string;
21
21
  description: string;
22
22
  tags: string[];
23
- }[];
23
+ hide?: undefined;
24
+ } | {
25
+ label: string;
26
+ hide: boolean;
27
+ title: string;
28
+ link: string;
29
+ icon: import("@emotion/react/jsx-runtime").JSX.Element;
30
+ action: string;
31
+ description: string;
32
+ tags: string[];
33
+ })[];
24
34
  hide?: undefined;
25
35
  })[];
26
36
  export declare const ContactSubmenu: {
@@ -0,0 +1,3 @@
1
+ import { type PropsWithChildren } from 'react';
2
+ export declare const EmbeddedInboxProvider: ({ children }: PropsWithChildren) => import("@emotion/react/jsx-runtime").JSX.Element;
3
+ export declare const useIsEmbeddedInbox: () => boolean;
@@ -0,0 +1,9 @@
1
+ import { PropsWithChildren } from 'react';
2
+ import { MobileViews } from '../../inbox/components/Shared/Inbox';
3
+ type MobileInboxNavContextValue = {
4
+ activePage: MobileViews;
5
+ setActivePage: (page: MobileViews) => void;
6
+ };
7
+ export declare const MobileInboxNavProvider: ({ children }: PropsWithChildren) => import("@emotion/react/jsx-runtime").JSX.Element;
8
+ export declare const useMobileInboxNav: () => MobileInboxNavContextValue;
9
+ export {};
@@ -1,6 +1,4 @@
1
1
  export declare const useMobileInboxVersion: () => {
2
- mobileInboxVersion: boolean;
3
- isInboxPath: boolean;
2
+ isMobile: boolean;
4
3
  pageWidth: number;
5
- location: import("history").Location<unknown>;
6
4
  };
@@ -0,0 +1,8 @@
1
+ import { QuickReply } from '../../../graphql.autogenerated';
2
+ interface CreateQuickReplyProps {
3
+ quickReply?: QuickReply;
4
+ onSuccess?: () => void;
5
+ onCancel?: () => void;
6
+ }
7
+ declare const CreateQuickReply: ({ quickReply, onSuccess, onCancel }: CreateQuickReplyProps) => import("@emotion/react/jsx-runtime").JSX.Element;
8
+ export default CreateQuickReply;
@@ -0,0 +1,4 @@
1
+ import { QuickReply } from '../../../graphql.autogenerated';
2
+ import { ResourceDefinition } from './types';
3
+ declare const quickReplyDefinition: ResourceDefinition<QuickReply>;
4
+ export default quickReplyDefinition;
@@ -0,0 +1,2 @@
1
+ declare const QuickReplies: () => import("@emotion/react/jsx-runtime").JSX.Element;
2
+ export default QuickReplies;
@@ -7,6 +7,10 @@ export type OnboardingChecklistState = {
7
7
  completed: Record<OnboardingChecklistStepId, boolean>;
8
8
  };
9
9
  export declare const ONBOARDING_CHECKLIST_STEP_IDS: OnboardingChecklistStepId[];
10
+ /** Last checklist steps; only shown when Crumby / workspace AI is enabled */
11
+ export declare const ONBOARDING_CHECKLIST_CRUMBY_STEP_IDS: OnboardingChecklistStepId[];
12
+ export declare function getApplicableOnboardingChecklistStepIds(isCrumbyEnabled: boolean): OnboardingChecklistStepId[];
13
+ export declare function isOnboardingChecklistCompleteForCrumbySetting(state: OnboardingChecklistState, isCrumbyEnabled: boolean): boolean;
10
14
  export declare function getOnboardingChecklistStorageKey(userId: string | number): string;
11
15
  export declare function getOnboardingChecklistPendingKey(userId: string | number): string;
12
16
  /** One-shot: open checklist popover after sign-in (session tab only). */
@@ -1,3 +1,4 @@
1
- export declare function NoPagesFoundPopup({ onClose }: {
1
+ export declare function NoPagesFoundPopup({ onClose, rtl, }: {
2
2
  onClose: () => void;
3
+ rtl?: boolean;
3
4
  }): import("@emotion/react/jsx-runtime").JSX.Element;
@@ -1,8 +1,9 @@
1
1
  import { IntegrationWithSecrets } from '../../../../../graphql.autogenerated';
2
2
  import { FBPage } from '../../../hooks/useFBPagesHook';
3
- export declare function PagePickerPopup({ onClose, setInitialValues, token, pages, }: {
3
+ export declare function PagePickerPopup({ onClose, setInitialValues, token, pages, rtl, }: {
4
4
  onClose: () => void;
5
5
  setInitialValues: (initialResource: Partial<IntegrationWithSecrets>) => void;
6
6
  token?: string;
7
7
  pages: FBPage[];
8
+ rtl?: boolean;
8
9
  }): import("@emotion/react/jsx-runtime").JSX.Element;
@@ -1,26 +1,13 @@
1
- import { ReactNode } from 'react';
2
- import { Color } from '@bcrumbs.net/bc-ui';
3
- import { PlanFrequency } from '../../constants/Plans';
4
1
  export type PlanCardProps = {
5
- upgrading?: boolean;
6
- onActionClick?: () => void;
7
- available?: boolean;
8
- current?: boolean;
9
- processing?: boolean;
10
- loading?: boolean;
11
- children?: ReactNode;
12
- frequency: PlanFrequency;
13
2
  name: string;
14
- amount?: number;
15
- billingLabel?: string | null;
16
- subTitle: string;
17
- actionLabel: string;
18
- description: ReactNode;
19
- titleColor?: Color;
20
- bgColor: Color;
21
- color: Color;
22
- descriptionColor: Color;
23
- borderColor?: Color;
24
- boxBorderColor?: Color;
3
+ price: number;
4
+ subtitle: string;
5
+ features: string[];
6
+ isCurrent: boolean;
7
+ isPopular?: boolean;
8
+ onChoose: () => void;
9
+ loading?: boolean;
10
+ processing?: boolean;
11
+ available?: boolean;
25
12
  };
26
- export declare function PlanCard({ available, name, amount, frequency, billingLabel, subTitle, actionLabel, description, onActionClick, titleColor, bgColor, color, descriptionColor, borderColor, boxBorderColor, children, current, upgrading, processing, loading, }: PlanCardProps): import("@emotion/react/jsx-runtime").JSX.Element;
13
+ export declare function PlanCard({ name, price, subtitle, features, isCurrent, isPopular, onChoose, loading, processing, available, }: PlanCardProps): import("@emotion/react/jsx-runtime").JSX.Element;
@@ -1,12 +1,13 @@
1
1
  import { PlanTypes } from '../../constants/Plans';
2
- import { PlanType } from '../../../../graphql.billing.autogenerated';
2
+ import { PlanType, Term } from '../../../../graphql.billing.autogenerated';
3
3
  type ShowcasePlansProps = {
4
- onPlanPicked: (plan: PlanTypes) => void;
4
+ onPlanPicked: (plan: PlanTypes, term: Term, includeAi: boolean) => void;
5
5
  disableFreePlan?: boolean;
6
6
  currentPlanType?: PlanType | null;
7
- upgrading?: boolean;
7
+ /** The billing term the user is currently subscribed to */
8
+ currentTerm?: Term | null;
8
9
  processing?: boolean;
9
10
  loadingPlanType?: PlanType | null;
10
11
  };
11
- export declare const ShowcasePlans: ({ onPlanPicked, disableFreePlan, currentPlanType, upgrading, processing, loadingPlanType, }: ShowcasePlansProps) => import("@emotion/react/jsx-runtime").JSX.Element;
12
+ export declare const ShowcasePlans: ({ onPlanPicked, disableFreePlan, currentPlanType, currentTerm, processing, loadingPlanType, }: ShowcasePlansProps) => import("@emotion/react/jsx-runtime").JSX.Element;
12
13
  export default ShowcasePlans;
@@ -1,11 +1,2 @@
1
- interface SubscriptionHeaderProps {
2
- isEditing: boolean;
3
- onEdit: () => void;
4
- onSave: () => void;
5
- loading: boolean;
6
- onCancel: () => void;
7
- disabledSave: boolean;
8
- workspaceId?: number;
9
- }
10
- declare const SubscriptionHeader: ({ isEditing, onEdit, onSave, onCancel, loading, disabledSave, workspaceId, }: SubscriptionHeaderProps) => import("@emotion/react/jsx-runtime").JSX.Element;
1
+ declare const SubscriptionHeader: () => import("@emotion/react/jsx-runtime").JSX.Element;
11
2
  export default SubscriptionHeader;
@@ -0,0 +1,8 @@
1
+ import { SubscriptionStatus } from '../../../../graphql.billing.autogenerated';
2
+ type SubscriptionPlanLabelProps = {
3
+ planLabel: string;
4
+ status?: SubscriptionStatus | null;
5
+ };
6
+ export declare function SubscriptionPlanLabel({ planLabel, status }: SubscriptionPlanLabelProps): import("@emotion/react/jsx-runtime").JSX.Element;
7
+ export declare function isSubscriptionCancelled(status?: SubscriptionStatus | null): boolean;
8
+ export {};
@@ -0,0 +1,14 @@
1
+ type SubscriptionProfileCardProps = {
2
+ workspaceId?: string | number;
3
+ subscriptionCreateDate: string;
4
+ isEditing: boolean;
5
+ onEdit: () => void;
6
+ onCancel: () => void;
7
+ loading: boolean;
8
+ name?: string;
9
+ onNameChange?: (name: string) => void;
10
+ handleUpdateCompany?: (name: string) => Promise<void>;
11
+ disabledSave: boolean;
12
+ };
13
+ declare const SubscriptionProfileCard: ({ subscriptionCreateDate, isEditing, onEdit, onCancel, loading, name, onNameChange, handleUpdateCompany, disabledSave, workspaceId: workspaceIdProp, }: SubscriptionProfileCardProps) => import("@emotion/react/jsx-runtime").JSX.Element;
14
+ export default SubscriptionProfileCard;
@@ -0,0 +1,7 @@
1
+ type SubscriptionUsageCardProps = {
2
+ subscriptionType: string;
3
+ usersCount: number;
4
+ workspaceId?: number;
5
+ };
6
+ declare const SubscriptionUsageCard: ({ subscriptionType, usersCount, workspaceId }: SubscriptionUsageCardProps) => import("@emotion/react/jsx-runtime").JSX.Element;
7
+ export default SubscriptionUsageCard;
@@ -1,9 +1,10 @@
1
1
  type SubscriptionProfileRouteProps = {
2
- subscriptionId: number;
2
+ /** Company / workspace id from membership (REST); used for invite/remove context switching, not for core GraphQL Int `workspaceId`. */
3
+ subscriptionId?: number | string;
3
4
  users: any[];
4
5
  refetchUsers: any;
5
6
  loadingUsers: boolean;
6
- inviteUser: (email: string) => Promise<unknown>;
7
+ inviteUser: (companyId: number, email: string) => Promise<unknown>;
7
8
  removeUserFromCompany: (companyId: number, userId: string) => Promise<unknown>;
8
9
  };
9
10
  export declare const SubscriptionUsers: (props: SubscriptionProfileRouteProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { FooterItemsProps, HeaderItemsProps, DropdownListItemType } from '@bcrumbs.net/bc-ui';
2
3
  export type SwitcherProps = {
3
4
  items: DropdownListItemType[];
@@ -13,5 +14,7 @@ export type SwitcherProps = {
13
14
  hidden: boolean;
14
15
  }) => void;
15
16
  isLoading: boolean;
17
+ compact?: boolean;
18
+ workspaceLogo?: React.ReactNode;
16
19
  };
17
- export declare function Switcher({ items, title, headerItems, footerItems, width, name, maxVisibleItems, addPlanWord, isLoading, plan, onDropdownStateChange, }: SwitcherProps): import("@emotion/react/jsx-runtime").JSX.Element;
20
+ export declare function Switcher({ items, title, headerItems, footerItems, width, name, maxVisibleItems, addPlanWord, isLoading, plan, onDropdownStateChange, compact, workspaceLogo, }: SwitcherProps): import("@emotion/react/jsx-runtime").JSX.Element;
@@ -1,2 +1,4 @@
1
- declare function SubscriptionSwitcher(): import("@emotion/react/jsx-runtime").JSX.Element;
1
+ declare function SubscriptionSwitcher({ compact }: {
2
+ compact?: boolean;
3
+ }): import("@emotion/react/jsx-runtime").JSX.Element;
2
4
  export default SubscriptionSwitcher;
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  interface SubscriptionsListProps {
3
3
  selected?: string | number;
4
+ activeWorkspaceId?: string | number;
4
5
  companies: any[];
5
6
  title?: string;
6
7
  setSelected?: any;
@@ -99,6 +99,19 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
99
99
  manageBilling: string;
100
100
  betaVersion: string;
101
101
  customPkgTitle: string;
102
+ pricing: string;
103
+ pricingSubtitle: string;
104
+ monthly: string;
105
+ yearly: string;
106
+ yearlyDiscount: string;
107
+ crumbyAi: string;
108
+ mostPopular: string;
109
+ choosePlan: string;
110
+ currentPlan: string;
111
+ betaAlert: string;
112
+ conversationFeature: string;
113
+ campaignFeature: string;
114
+ userFeature: string;
102
115
  };
103
116
  billingDone: {
104
117
  title: string;
@@ -173,9 +186,16 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
173
186
  agentPlusRole: string;
174
187
  Workspace: string;
175
188
  WorkspaceDescription: string;
189
+ editProfile: string;
190
+ usageAndSubscription: string;
191
+ nameOfWorkspace: string;
192
+ workspaceIdCopied: string;
193
+ workspaceIdCopyFailed: string;
194
+ copyWorkspaceId: string;
176
195
  upgradePlan: string;
177
196
  cancelSubscription: string;
178
197
  activePlan: string;
198
+ cancelledBadge: string;
179
199
  currentCycleEnd: string;
180
200
  usage2: string;
181
201
  conversations: string;
@@ -190,6 +210,7 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
190
210
  usageLimit100Prefix: string;
191
211
  upgradePlanCta: string;
192
212
  inviteUserDisabledAtLimit: string;
213
+ workspaceContextMissing: string;
193
214
  };
194
215
  pages: {
195
216
  yourPages: string;
@@ -454,6 +475,7 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
454
475
  tag: string;
455
476
  convstage: string;
456
477
  clientstage: string;
478
+ quickReply: string;
457
479
  description: string;
458
480
  languageCode: string;
459
481
  selectIntegrationName: string;
@@ -850,6 +872,7 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
850
872
  webhooks: string;
851
873
  crm_integrations: string;
852
874
  conversation_lifecycle: string;
875
+ quick_replies: string;
853
876
  channels: string;
854
877
  rating_settings: string;
855
878
  agents_management: string;
@@ -893,6 +916,16 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
893
916
  noAgents: string;
894
917
  loadingMoreText: string;
895
918
  allUsersAlreadyHaveAgents: string;
919
+ assignableForAutoAssignment: string;
920
+ assignableForAutoAssignmentDescription: string;
921
+ createModeUserLinked: string;
922
+ createModeApiKey: string;
923
+ createModeUserLinkedDescription: string;
924
+ createModeApiKeyDescription: string;
925
+ apiKeyLabel: string;
926
+ apiKeyLabelPlaceholder: string;
927
+ noUsersForLinkedAgentTitle: string;
928
+ noUsersForLinkedAgentDescription: string;
896
929
  };
897
930
  ai: {
898
931
  title: string;
@@ -957,6 +990,19 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
957
990
  noConversationLifecycle: string;
958
991
  loadingMoreText: string;
959
992
  };
993
+ quickReply: {
994
+ title: string;
995
+ addNewQuickReply: string;
996
+ editQuickReply: string;
997
+ command: string;
998
+ commandPlaceholder: string;
999
+ content: string;
1000
+ contentPlaceholder: string;
1001
+ updatedAt: string;
1002
+ searchPlaceholder: string;
1003
+ noQuickReplies: string;
1004
+ loadingMoreText: string;
1005
+ };
960
1006
  channel: {
961
1007
  title: string;
962
1008
  subTitle: string;
@@ -979,6 +1025,9 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
979
1025
  agentName: string;
980
1026
  aiAgentName: string;
981
1027
  channelUpdateError: string;
1028
+ reconnectFacebook: string;
1029
+ reconnectFacebookSuccess: string;
1030
+ reconnectFacebookError: string;
982
1031
  selectStartWith: string;
983
1032
  selectAiAgent: string;
984
1033
  selectAgent: string;
@@ -1016,6 +1065,9 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
1016
1065
  customChannelCopyIncomingUrl: string;
1017
1066
  customChannelIncomingUrlCopied: string;
1018
1067
  customChannelIncomingUrlCopyFailed: string;
1068
+ copyIntegrationId: string;
1069
+ integrationIdCopied: string;
1070
+ integrationIdCopyFailed: string;
1019
1071
  rating: string;
1020
1072
  ratingDescription: string;
1021
1073
  };
@@ -1139,6 +1191,16 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
1139
1191
  endEnabled: string;
1140
1192
  endEnabledDescription: string;
1141
1193
  saved: string;
1194
+ autoTaggingTitle: string;
1195
+ autoTaggingDescription: string;
1196
+ clientAutoTags: string;
1197
+ chatAutoTags: string;
1198
+ tagColumn: string;
1199
+ conditionColumn: string;
1200
+ tagPlaceholder: string;
1201
+ conditionPlaceholder: string;
1202
+ addNewRule: string;
1203
+ deleteRule: string;
1142
1204
  };
1143
1205
  promptSettings: {
1144
1206
  title: string;