@bcrumbs.net/inbox 0.0.51 → 0.0.52

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 (131) hide show
  1. package/{cb9c022b3cf80e0f.svg → 2998ffe42c3436c0.svg} +43 -43
  2. package/{594c01a9720e0657.svg → 396ba1d86a9997b1.svg} +42 -42
  3. package/assets/ar/inbox.json +256 -246
  4. package/assets/en/inbox.json +258 -248
  5. package/index.cjs.d.ts +1 -1
  6. package/index.cjs.js +11726 -919
  7. package/index.esm.d.ts +1 -1
  8. package/index.esm.js +11727 -920
  9. package/package.json +4 -4
  10. package/src/app/ai/components/Crumby/index.d.ts +2 -0
  11. package/src/app/ai/components/playground/Thread.d.ts +5 -1
  12. package/src/app/ai/components/playground/ThreadWelcome.d.ts +4 -1
  13. package/src/app/ai/components/playground/TooltipIconButton.d.ts +1 -1
  14. package/src/app/ai/pages/AiPreferencesPrompts.d.ts +2 -0
  15. package/src/app/auth/pages/Login.d.ts +2 -12
  16. package/src/app/auth/pages/Register.d.ts +2 -13
  17. package/src/app/auth/redux/actions/registerAction.d.ts +1 -1
  18. package/src/app/auth/redux/auth.types.d.ts +1 -1
  19. package/src/app/billing/components/NotAccessible.d.ts +10 -0
  20. package/src/app/billing/components/Timeline.d.ts +20 -0
  21. package/src/app/billing/components/checkout/AddNewPaymentCard.d.ts +6 -0
  22. package/src/app/billing/components/checkout/CheckoutSummary.d.ts +20 -0
  23. package/src/app/billing/components/checkout/ExceedPaymentUpdateTriesModal.d.ts +8 -0
  24. package/src/app/billing/components/checkout/ExistingCardPayment.d.ts +10 -0
  25. package/src/app/billing/components/checkout/PaymentForm.d.ts +11 -0
  26. package/src/app/billing/components/checkout/PaymentFormExp.d.ts +9 -0
  27. package/src/app/billing/components/checkout/PaymentMethod.d.ts +8 -0
  28. package/src/app/billing/components/checkout/PaymentMethodCard.d.ts +9 -0
  29. package/src/app/billing/components/checkout/PaywithCredits.d.ts +9 -0
  30. package/src/app/billing/components/invoices/BCLogo.d.ts +5 -0
  31. package/src/app/billing/components/invoices/Invoice.d.ts +5 -0
  32. package/src/app/billing/components/planStyles.d.ts +9 -0
  33. package/src/app/billing/components/styles.d.ts +21 -0
  34. package/src/app/billing/components/subscription/PlanDetail.d.ts +11 -0
  35. package/src/app/billing/components/subscription/SubscriptionPausedWarning.d.ts +3 -0
  36. package/src/app/billing/components/transactions/TransactionHistoryTable.d.ts +15 -0
  37. package/src/app/billing/context/SubscriptionContext.d.ts +5 -0
  38. package/src/app/billing/hooks/useGetPaidToday.d.ts +9 -0
  39. package/src/app/billing/hooks/usePendingPayments.d.ts +51 -0
  40. package/src/app/billing/hooks/useSetupPayment.d.ts +15 -0
  41. package/src/app/billing/hooks/useSetupPaymentMethod.d.ts +12 -0
  42. package/src/app/billing/pages/checkout.d.ts +2 -0
  43. package/src/app/billing/pages/done.d.ts +1 -0
  44. package/src/app/billing/pages/invoice.d.ts +1 -0
  45. package/src/app/billing/pages/invoices.d.ts +2 -0
  46. package/src/app/billing/pages/payment.d.ts +1 -0
  47. package/src/app/billing/utils/getStripe.d.ts +3 -0
  48. package/src/app/billing/utils/openArticleModal.d.ts +1 -0
  49. package/src/app/billing/utils/paymentProvider.d.ts +3 -0
  50. package/src/app/billing/utils/stripeUtils.d.ts +2 -0
  51. package/src/app/broadcast/components/BroadcastAnalysisReciepientsHeader.d.ts +6 -1
  52. package/src/app/broadcast/components/BroadcastAnalysisReciepientsTable.d.ts +5 -1
  53. package/src/app/broadcast/components/BroadcastInfoHeader.d.ts +2 -1
  54. package/src/app/broadcast/components/BroadcastTargetingComplianceNotice.d.ts +2 -0
  55. package/src/app/broadcast/components/WorkspaceBroadcastAnalysisRecipients.d.ts +7 -0
  56. package/src/app/broadcast/hooks/useExportWorkspaceBroadcastDelivery.d.ts +6 -0
  57. package/src/app/broadcast/pages/WorkspaceBroadcastDeliveryReportPage.d.ts +2 -0
  58. package/src/app/broadcast/utils/helper.d.ts +4 -0
  59. package/src/app/dashboard/components/AgentCard.d.ts +11 -0
  60. package/src/app/dashboard/components/AgentPerformanceCard.d.ts +9 -0
  61. package/src/app/dashboard/components/AgentsCard.d.ts +9 -0
  62. package/src/app/dashboard/components/AgentsCardSkeleton.d.ts +2 -0
  63. package/src/app/dashboard/components/BroadcastAnalyticsCard.d.ts +10 -0
  64. package/src/app/dashboard/components/BroadcastCampaignProgressCard.d.ts +10 -0
  65. package/src/app/dashboard/components/BroadcastDashboard.d.ts +6 -0
  66. package/src/app/dashboard/components/BroadcastDashboardStatsCards.d.ts +14 -0
  67. package/src/app/dashboard/components/BroadcastRecipientsCard.d.ts +8 -0
  68. package/src/app/dashboard/components/BroadcastStatusDistributionCard.d.ts +6 -0
  69. package/src/app/dashboard/components/ConversationAnalyticsCard.d.ts +11 -0
  70. package/src/app/dashboard/components/DashboardSections.d.ts +24 -0
  71. package/src/app/dashboard/components/DashboardStatsCards.d.ts +10 -0
  72. package/src/app/dashboard/components/InboxDashboard.d.ts +10 -0
  73. package/src/app/dashboard/components/OpenedChatsCard.d.ts +8 -0
  74. package/src/app/dashboard/pages/DashboardNewPage.d.ts +2 -0
  75. package/src/app/dashboard/utils/buildBroadcastReportOverviewAnalytics.d.ts +17 -0
  76. package/src/app/dashboard/utils/buildRecipientsAnalytics.d.ts +12 -0
  77. package/src/app/dashboard/utils/dateHelpers.d.ts +7 -0
  78. package/src/app/generic/components/HeaderImageInput.d.ts +8 -0
  79. package/src/app/generic/components/PhoneNumberInput.d.ts +13 -0
  80. package/src/app/generic/components/TemplateParameterInputs.d.ts +2 -1
  81. package/src/app/generic/components/ToggleSetting.d.ts +3 -2
  82. package/src/app/generic/hooks/useGetProviderIcon.d.ts +2 -1
  83. package/src/app/inbox/components/Chat/ChatContent.d.ts +2 -1
  84. package/src/app/inbox/components/NewConvList/FilterDrawer.d.ts +18 -0
  85. package/src/app/inbox/components/NewConvList/HeaderSection.d.ts +4 -1
  86. package/src/app/inbox/components/NewConvList/index.d.ts +6 -2
  87. package/src/app/inbox/hooks/useConversationsPerodicFetch.d.ts +10 -0
  88. package/src/app/inbox/hooks/useNewSortedEvents.d.ts +1 -1
  89. package/src/app/inbox/utils/convs.d.ts +10 -1
  90. package/src/app/layout/components/CommandPalette.d.ts +16 -0
  91. package/src/app/layout/components/Header.d.ts +3 -1
  92. package/src/app/layout/constants/index.d.ts +24 -2
  93. package/src/app/layout/constants/subMenu.d.ts +22 -2
  94. package/src/app/layout/hooks/useImportContactsEnabled.d.ts +1 -0
  95. package/src/app/managemnet/components/CreateCrmWebhook.d.ts +6 -0
  96. package/src/app/managemnet/components/channels/AddChannelDialog.d.ts +10 -0
  97. package/src/app/managemnet/components/channels/ChannelItem.d.ts +11 -0
  98. package/src/app/managemnet/components/channels/ChannelTypeCard.d.ts +15 -0
  99. package/src/app/managemnet/components/channels/EditChannelDialog.d.ts +11 -0
  100. package/src/app/managemnet/pages/crmIntegrations/index.d.ts +2 -0
  101. package/src/app/onboarding/components/OnboardingChecklistGuideContent.d.ts +8 -0
  102. package/src/app/onboarding/components/OnboardingChecklistWidget.d.ts +2 -0
  103. package/src/app/onboarding/utils/onboardingChecklistStorage.d.ts +39 -0
  104. package/src/app/resources/components/Integrations/ChannelDialogLayout.d.ts +24 -0
  105. package/src/app/resources/components/Integrations/Custom/index.d.ts +7 -0
  106. package/src/app/resources/components/Integrations/Facebook/index.d.ts +4 -1
  107. package/src/app/resources/components/Integrations/Instagram/index.d.ts +4 -1
  108. package/src/app/resources/components/Integrations/RenderCorrectIntegrationFlow.d.ts +11 -2
  109. package/src/app/resources/components/Integrations/Telegram/index.d.ts +4 -1
  110. package/src/app/resources/components/Integrations/WaGupshup/index.d.ts +7 -0
  111. package/src/app/resources/components/Integrations/WhatsApp/index.d.ts +4 -1
  112. package/src/app/subscriptions/components/Plans/PlanCard.d.ts +3 -3
  113. package/src/app/subscriptions/components/Plans/ShowcasePlans.d.ts +5 -2
  114. package/src/app/subscriptions/components/SubscriptionSettings/SubscriptionHeader.d.ts +2 -1
  115. package/src/app/subscriptions/components/SubscriptionSettings/SubscriptionProfile.d.ts +1 -0
  116. package/src/app/subscriptions/components/SubscriptionSettings/SubscriptionUsers.d.ts +0 -1
  117. package/src/app/subscriptions/constants/Plans.d.ts +9 -6
  118. package/src/app/subscriptions/pages/Upgrade.d.ts +6 -9
  119. package/src/assets/locales/translations.d.ts +292 -5
  120. package/src/config/azure.d.ts +2 -0
  121. package/src/environments/types.d.ts +3 -0
  122. package/src/graphql.autogenerated.d.ts +1649 -1234
  123. package/src/graphql.billing.autogenerated.d.ts +680 -7
  124. package/src/main.d.ts +2 -0
  125. package/src/utils/formatFailureReason.d.ts +5 -0
  126. package/src/utils/globalHelper.d.ts +3 -0
  127. package/src/utils/localStorage.d.ts +2 -0
  128. package/src/utils/textUtils.d.ts +3 -1
  129. package/src/app/resources/components/Integrations/Facebook/LoginPopup.d.ts +0 -4
  130. package/src/app/resources/components/Integrations/Instagram/LoginPopup.d.ts +0 -4
  131. package/src/app/resources/components/Integrations/WhatsApp/LoginPopup.d.ts +0 -4
@@ -0,0 +1,24 @@
1
+ import React from 'react';
2
+ export declare const FieldGroup: import("@emotion/styled").StyledComponent<{
3
+ theme?: import("@emotion/react").Theme | undefined;
4
+ as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
5
+ }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
6
+ export declare const HelperText: import("@emotion/styled").StyledComponent<{
7
+ theme?: import("@emotion/react").Theme | undefined;
8
+ as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
9
+ }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
10
+ export interface ChannelDialogLayoutProps {
11
+ isOpen: boolean;
12
+ onClose: () => void;
13
+ channelName: string;
14
+ setChannelName: (name: string) => void;
15
+ channelTypeName: string;
16
+ icon?: React.ReactNode;
17
+ extraFields?: React.ReactNode;
18
+ videoUrl?: string;
19
+ supportUrl?: string;
20
+ onNext: () => void;
21
+ isNextDisabled: boolean;
22
+ rtl?: boolean;
23
+ }
24
+ export declare const ChannelDialogLayout: ({ isOpen, onClose, channelName, setChannelName, channelTypeName, icon, extraFields, videoUrl, supportUrl, onNext, isNextDisabled, rtl, }: ChannelDialogLayoutProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { IntegrationWithSecrets } from '../../../../../graphql.autogenerated';
3
+ import { IntegrationFlowComponentProps } from '../types';
4
+ import { ChannelFlowExtendedProps } from '../RenderCorrectIntegrationFlow';
5
+ type Props = IntegrationFlowComponentProps<IntegrationWithSecrets> & ChannelFlowExtendedProps;
6
+ export declare const CustomChannel: React.FC<Props>;
7
+ export {};
@@ -1,7 +1,10 @@
1
1
  import React from 'react';
2
2
  import { IntegrationWithSecrets } from '../../../../../graphql.autogenerated';
3
3
  import { IntegrationFlowComponentProps } from '../types';
4
- export declare const FacebookMessanger: React.FC<IntegrationFlowComponentProps<IntegrationWithSecrets>>;
4
+ import { ChannelFlowExtendedProps } from '../RenderCorrectIntegrationFlow';
5
+ type Props = IntegrationFlowComponentProps<IntegrationWithSecrets> & ChannelFlowExtendedProps;
6
+ export declare const FacebookMessanger: React.FC<Props>;
5
7
  export declare const FacebookMessangerReconnect: React.FC<IntegrationFlowComponentProps<IntegrationWithSecrets>>;
6
8
  export declare const InstaMessanger: React.FC<IntegrationFlowComponentProps<IntegrationWithSecrets>>;
7
9
  export declare const InstaMessangerReconnect: React.FC<IntegrationFlowComponentProps<IntegrationWithSecrets>>;
10
+ export {};
@@ -1,4 +1,7 @@
1
1
  import React from 'react';
2
2
  import { IntegrationWithSecrets } from '../../../../../graphql.autogenerated';
3
3
  import { IntegrationFlowComponentProps } from '../types';
4
- export declare const Instagram: React.FC<IntegrationFlowComponentProps<IntegrationWithSecrets>>;
4
+ import { ChannelFlowExtendedProps } from '../RenderCorrectIntegrationFlow';
5
+ type Props = IntegrationFlowComponentProps<IntegrationWithSecrets> & ChannelFlowExtendedProps;
6
+ export declare const Instagram: React.FC<Props>;
7
+ export {};
@@ -1,9 +1,18 @@
1
+ import React from 'react';
1
2
  import { IntegrationWithSecrets, IntegrationType } from '../../../../graphql.autogenerated';
2
3
  import { IntegrationFlowComponentProps } from './types';
3
- interface RenderCorrectIntegrationFlowProps extends IntegrationFlowComponentProps<IntegrationWithSecrets> {
4
+ export interface ChannelFlowExtendedProps {
5
+ isOpen?: boolean;
6
+ channelName: string;
7
+ setChannelName: (name: string) => void;
8
+ channelTypeName: string;
9
+ icon?: React.ReactNode;
10
+ rtl?: boolean;
11
+ }
12
+ interface RenderCorrectIntegrationFlowProps extends IntegrationFlowComponentProps<IntegrationWithSecrets>, ChannelFlowExtendedProps {
4
13
  type: IntegrationType;
5
14
  }
6
- export declare const RenderCorrectIntegrationFlow: ({ type, setInitialValues, cancel, }: RenderCorrectIntegrationFlowProps) => import("@emotion/react/jsx-runtime").JSX.Element | null;
15
+ export declare const RenderCorrectIntegrationFlow: ({ type, setInitialValues, cancel, isOpen, channelName, setChannelName, channelTypeName, icon, rtl, }: RenderCorrectIntegrationFlowProps) => import("@emotion/react/jsx-runtime").JSX.Element | null;
7
16
  export declare const RenderCorrectIntegrationFlowCancelledMessage: ({ type, tryAgain, }: {
8
17
  type: IntegrationType;
9
18
  tryAgain: () => void;
@@ -1,4 +1,7 @@
1
1
  import React from 'react';
2
2
  import { IntegrationWithSecrets } from '../../../../../graphql.autogenerated';
3
3
  import { IntegrationFlowComponentProps } from '../types';
4
- export declare const Telegram: React.FC<IntegrationFlowComponentProps<IntegrationWithSecrets>>;
4
+ import { ChannelFlowExtendedProps } from '../RenderCorrectIntegrationFlow';
5
+ type Props = IntegrationFlowComponentProps<IntegrationWithSecrets> & ChannelFlowExtendedProps;
6
+ export declare const Telegram: React.FC<Props>;
7
+ export {};
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { IntegrationWithSecrets } from '../../../../../graphql.autogenerated';
3
+ import { IntegrationFlowComponentProps } from '../types';
4
+ import { ChannelFlowExtendedProps } from '../RenderCorrectIntegrationFlow';
5
+ type Props = IntegrationFlowComponentProps<IntegrationWithSecrets> & ChannelFlowExtendedProps;
6
+ export declare const WaGupshup: React.FC<Props>;
7
+ export {};
@@ -1,4 +1,7 @@
1
1
  import React from 'react';
2
2
  import { IntegrationWithSecrets } from '../../../../../graphql.autogenerated';
3
3
  import { IntegrationFlowComponentProps } from '../types';
4
- export declare const WhatsApp: React.FC<IntegrationFlowComponentProps<IntegrationWithSecrets>>;
4
+ import { ChannelFlowExtendedProps } from '../RenderCorrectIntegrationFlow';
5
+ type Props = IntegrationFlowComponentProps<IntegrationWithSecrets> & ChannelFlowExtendedProps;
6
+ export declare const WhatsApp: React.FC<Props>;
7
+ export {};
@@ -2,14 +2,14 @@ import { ReactNode } from 'react';
2
2
  import { Color } from '@bcrumbs.net/bc-ui';
3
3
  import { PlanFrequency } from '../../constants/Plans';
4
4
  export type PlanCardProps = {
5
- accountId: string;
6
5
  upgrading?: boolean;
7
6
  onActionClick?: () => void;
8
7
  available?: boolean;
9
8
  current?: boolean;
9
+ processing?: boolean;
10
+ loading?: boolean;
10
11
  children?: ReactNode;
11
12
  frequency: PlanFrequency;
12
- planCode: string;
13
13
  name: string;
14
14
  amount?: number;
15
15
  billingLabel?: string | null;
@@ -23,4 +23,4 @@ export type PlanCardProps = {
23
23
  borderColor?: Color;
24
24
  boxBorderColor?: Color;
25
25
  };
26
- export declare function PlanCard({ planCode, available, name, amount, frequency, billingLabel, subTitle, actionLabel, description, onActionClick, titleColor, bgColor, color, descriptionColor, borderColor, boxBorderColor, children, current, accountId, upgrading, }: PlanCardProps): import("@emotion/react/jsx-runtime").JSX.Element;
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;
@@ -1,9 +1,12 @@
1
1
  import { PlanTypes } from '../../constants/Plans';
2
+ import { PlanType } from '../../../../graphql.billing.autogenerated';
2
3
  type ShowcasePlansProps = {
3
4
  onPlanPicked: (plan: PlanTypes) => void;
4
5
  disableFreePlan?: boolean;
5
- currentSubscription: any;
6
+ currentPlanType?: PlanType | null;
6
7
  upgrading?: boolean;
8
+ processing?: boolean;
9
+ loadingPlanType?: PlanType | null;
7
10
  };
8
- export declare const ShowcasePlans: ({ onPlanPicked, disableFreePlan, currentSubscription, upgrading, }: ShowcasePlansProps) => import("@emotion/react/jsx-runtime").JSX.Element;
11
+ export declare const ShowcasePlans: ({ onPlanPicked, disableFreePlan, currentPlanType, upgrading, processing, loadingPlanType, }: ShowcasePlansProps) => import("@emotion/react/jsx-runtime").JSX.Element;
9
12
  export default ShowcasePlans;
@@ -5,6 +5,7 @@ interface SubscriptionHeaderProps {
5
5
  loading: boolean;
6
6
  onCancel: () => void;
7
7
  disabledSave: boolean;
8
+ workspaceId?: number;
8
9
  }
9
- declare const SubscriptionHeader: ({ isEditing, onEdit, onSave, onCancel, loading, disabledSave, }: SubscriptionHeaderProps) => import("@emotion/react/jsx-runtime").JSX.Element;
10
+ declare const SubscriptionHeader: ({ isEditing, onEdit, onSave, onCancel, loading, disabledSave, workspaceId, }: SubscriptionHeaderProps) => import("@emotion/react/jsx-runtime").JSX.Element;
10
11
  export default SubscriptionHeader;
@@ -13,6 +13,7 @@ type SubscriptionProfileRouteProps = {
13
13
  onNameChange?: (name: string) => void;
14
14
  handleUpdateCompany?: (name: string) => Promise<void>;
15
15
  disabledSave: boolean;
16
+ usersCount: number;
16
17
  };
17
18
  export declare const SubscriptionProfile: ({ isEditing, disabledSave, ...props }: SubscriptionProfileRouteProps) => import("@emotion/react/jsx-runtime").JSX.Element;
18
19
  declare const _default: any;
@@ -1,4 +1,3 @@
1
- export declare const companyUsersQueryOptions: any;
2
1
  type SubscriptionProfileRouteProps = {
3
2
  subscriptionId: number;
4
3
  users: any[];
@@ -11,18 +11,21 @@ export declare enum PlanTypes {
11
11
  FREE = "free",
12
12
  BASIC = "basic",
13
13
  PREMIUM = "premium",
14
- ENTERPRISE = "enterprise",
14
+ BUSINESS = "business",
15
+ AUTOMATE = "automate",
16
+ AUTOMATE_PLUS = "automate_plus",
17
+ AUTOMATE_MAX = "automate_max",
15
18
  CUSTOM = "custom"
16
19
  }
17
- export declare const PlanCodes: {
18
- [key in PlanTypes]: string;
19
- };
20
20
  export declare const PlanPrices: {
21
21
  [key in PlanTypes]: number;
22
22
  };
23
- export declare const PlanVisitsLimits: {
23
+ export declare const PlanConversationsLimits: {
24
24
  [key in PlanTypes]: number;
25
25
  };
26
- export declare const PlanConversationsLimits: {
26
+ export declare const PlanCampaignsLimits: {
27
+ [key in PlanTypes]: number;
28
+ };
29
+ export declare const PlanUsersLimits: {
27
30
  [key in PlanTypes]: number;
28
31
  };
@@ -1,11 +1,8 @@
1
- export type Props = {
2
- companies: any[];
3
- refetchCompanies: any;
4
- loadingCompanies: boolean;
5
- match: any;
6
- history: any;
1
+ /// <reference types="react" />
2
+ declare const _default: import("react-redux").ConnectedComponent<({ router }: {
7
3
  router: any;
8
- };
9
- export declare const Upgrade: ({ router, companies, loadingCompanies }: Props) => import("@emotion/react/jsx-runtime").JSX.Element;
10
- declare const _default: any;
4
+ }) => import("@emotion/react/jsx-runtime").JSX.Element, {
5
+ context?: import("react").Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
6
+ store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
7
+ }>;
11
8
  export default _default;
@@ -73,20 +73,44 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
73
73
  freePkgTitle: string;
74
74
  basicPkgTitle: string;
75
75
  premiumPkgTitle: string;
76
- enterprisePkgTitle: string;
76
+ businessPkgTitle: string;
77
+ automatePkgTitle: string;
78
+ automatePlusPkgTitle: string;
79
+ automateMaxPkgTitle: string;
77
80
  freePkgSubtitle: string;
78
81
  basicPkgSubtitle: string;
79
82
  premiumPkgSubtitle: string;
80
- enterprisePkgSubtitle: string;
83
+ businessPkgSubtitle: string;
84
+ automatePkgSubtitle: string;
85
+ automatePlusPkgSubtitle: string;
86
+ automateMaxPkgSubtitle: string;
81
87
  freePkgActionLabel: string;
82
88
  basicPkgActionLabel: string;
83
89
  premiumPkgActionLabel: string;
84
- enterprisePkgActionLabel: string;
85
- visits: string;
90
+ businessPkgActionLabel: string;
91
+ automatePkgActionLabel: string;
92
+ automatePlusPkgActionLabel: string;
93
+ automateMaxPkgActionLabel: string;
94
+ campaigns: string;
95
+ users: string;
86
96
  conversations: string;
97
+ aiIncluded: string;
87
98
  subscribeSucceeded: string;
88
99
  manageBilling: string;
89
- nextYearPlans: string;
100
+ betaVersion: string;
101
+ customPkgTitle: string;
102
+ };
103
+ billingDone: {
104
+ title: string;
105
+ missingSessionId: string;
106
+ missingWorkspaceContext: string;
107
+ sessionNotFound: string;
108
+ subscriptionUpdated: string;
109
+ subscriptionVerified: string;
110
+ subscriptionCancelled: string;
111
+ subscriptionCancelledDescription: string;
112
+ backToInbox: string;
113
+ backToBilling: string;
90
114
  };
91
115
  profile: {
92
116
  passwordUpdated: string;
@@ -150,9 +174,22 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
150
174
  Workspace: string;
151
175
  WorkspaceDescription: string;
152
176
  upgradePlan: string;
177
+ cancelSubscription: string;
153
178
  activePlan: string;
179
+ currentCycleEnd: string;
154
180
  usage2: string;
181
+ conversations: string;
182
+ broadcastUsage: string;
155
183
  userSearchPlaceholder: string;
184
+ usageScopeConversations: string;
185
+ usageScopeBroadcasts: string;
186
+ usageScopeBoth: string;
187
+ usageLimit80: string;
188
+ usageLimit100: string;
189
+ usageLimit120: string;
190
+ usageLimit100Prefix: string;
191
+ upgradePlanCta: string;
192
+ inviteUserDisabledAtLimit: string;
156
193
  };
157
194
  pages: {
158
195
  yourPages: string;
@@ -278,7 +315,9 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
278
315
  scheduled: string;
279
316
  };
280
317
  messageState: {
318
+ empty: string;
281
319
  read: string;
320
+ played: string;
282
321
  delivered: string;
283
322
  pending: string;
284
323
  failed: string;
@@ -291,6 +330,7 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
291
330
  filterByState: string;
292
331
  broadcastOverview: string;
293
332
  broadcastList: string;
333
+ openRecipientsReport: string;
294
334
  newBroadcast: string;
295
335
  searchPlaceholder: string;
296
336
  broadcastName: string;
@@ -309,8 +349,10 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
309
349
  loadingMore: string;
310
350
  broadcastInfoDescription: string;
311
351
  broadcastComplianceGuide: string;
352
+ targetingComplianceNotice: string;
312
353
  editBroadcast: string;
313
354
  save: string;
355
+ createDisabledAtUsageLimit: string;
314
356
  selectClientStage: string;
315
357
  clientStage: string;
316
358
  sampleContacts: string;
@@ -350,6 +392,17 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
350
392
  lifecycleFilter: string;
351
393
  stateFilter: string;
352
394
  loadingMore: string;
395
+ broadcastColumn: string;
396
+ openBroadcastReport: string;
397
+ messageSentAt: string;
398
+ template: string;
399
+ };
400
+ recipientsReport: {
401
+ pageTitle: string;
402
+ pageSubtitle: string;
403
+ exportCsv: string;
404
+ templateNameFilter: string;
405
+ noRowsToExport: string;
353
406
  };
354
407
  };
355
408
  resources: {
@@ -382,6 +435,8 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
382
435
  countryCode: string;
383
436
  defaultAI: string;
384
437
  defaultAgent: string;
438
+ handoverStartWith: string;
439
+ handoverAssignee: string;
385
440
  startWith_countrySettings: string;
386
441
  enableRating: string;
387
442
  enableRating_description: string;
@@ -470,6 +525,7 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
470
525
  defaultAgentId: string;
471
526
  };
472
527
  dashboard: {
528
+ title: string;
473
529
  dashboardOverview: string;
474
530
  refresh: string;
475
531
  opened: string;
@@ -497,6 +553,123 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
497
553
  lastResponse: string;
498
554
  liveAssigneeConversations: string;
499
555
  noAgentsFound: string;
556
+ last7Days: string;
557
+ allTime: string;
558
+ allAgents: string;
559
+ allChannels: string;
560
+ totalConversationsCard: string;
561
+ currentlyOngoing: string;
562
+ todaysAverage: string;
563
+ deliverySuccess: string;
564
+ successfullySent: string;
565
+ avgChatTime: string;
566
+ newConversations: string;
567
+ newClientsInPeriod: string;
568
+ closed: string;
569
+ uniqueClosed: string;
570
+ agentPerformance: string;
571
+ agents: string;
572
+ openedChats: string;
573
+ agent: string;
574
+ messagesSent: string;
575
+ messagesReceived: string;
576
+ avgResponseShort: string;
577
+ handleTime: string;
578
+ total: string;
579
+ conversations: string;
580
+ chats: string;
581
+ day: string;
582
+ week: string;
583
+ month: string;
584
+ totalMessages_one: string;
585
+ totalMessages_other: string;
586
+ totalAgents_one: string;
587
+ totalAgents_other: string;
588
+ agentChats_one: string;
589
+ agentChats_other: string;
590
+ yesterday: string;
591
+ last14Days: string;
592
+ last30Days: string;
593
+ agentPerformanceTooltip: string;
594
+ selectAll: string;
595
+ clearAll: string;
596
+ reports: string;
597
+ broadcast: {
598
+ title: string;
599
+ period: {
600
+ today: string;
601
+ yesterday: string;
602
+ last7Days: string;
603
+ last30Days: string;
604
+ currentMonth: string;
605
+ lastMonth: string;
606
+ clearAll: string;
607
+ };
608
+ overviewTitle: string;
609
+ stats: {
610
+ deliveryRate: string;
611
+ successfullyDelivered: string;
612
+ readRate: string;
613
+ messageOpenedByUsers: string;
614
+ sentMessages: string;
615
+ sentMessagesValue: string;
616
+ totalMessages: string;
617
+ messagesSentInBroadcast: string;
618
+ percentFormatted: string;
619
+ };
620
+ recipients: {
621
+ title: string;
622
+ reachEngagementOverview: string;
623
+ successfulRecipients: string;
624
+ failed: string;
625
+ successRate: string;
626
+ deliveredAndReadRecipients: string;
627
+ };
628
+ campaignProgress: {
629
+ title: string;
630
+ completedCampaigns: string;
631
+ failedAttempts: string;
632
+ messages: string;
633
+ };
634
+ chartLegend: {
635
+ successful: string;
636
+ failed: string;
637
+ };
638
+ statusDistribution: {
639
+ title: string;
640
+ total: string;
641
+ broadcastsLowercase: string;
642
+ };
643
+ status: {
644
+ completed: string;
645
+ failed: string;
646
+ draft: string;
647
+ inProgress: string;
648
+ scheduled: string;
649
+ };
650
+ };
651
+ };
652
+ onboardingChecklist: {
653
+ title: string;
654
+ getStarted: string;
655
+ steps: {
656
+ workspace: string;
657
+ invite: string;
658
+ channel: string;
659
+ firstMessage: string;
660
+ uploadFile: string;
661
+ testAi: string;
662
+ };
663
+ guide: {
664
+ steps: {
665
+ workspace: string;
666
+ invite: string;
667
+ channel: string;
668
+ firstMessage: string;
669
+ uploadFile: string;
670
+ testAi: string;
671
+ };
672
+ };
500
673
  };
501
674
  id: string;
502
675
  save: string;
@@ -539,6 +712,10 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
539
712
  menu_management: string;
540
713
  menu_crumby: string;
541
714
  customerSupport: string;
715
+ commandPalette: {
716
+ placeholder: string;
717
+ noResults: string;
718
+ };
542
719
  searchPattern: string;
543
720
  home: string;
544
721
  backToHome: string;
@@ -571,6 +748,15 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
571
748
  messageParameterPlaceholder: string;
572
749
  unarchive: string;
573
750
  headerImageURL: string;
751
+ or: string;
752
+ uploadImage: string;
753
+ uploadImageHint: string;
754
+ uploadImageHintInbox: string;
755
+ pastImageLink: string;
756
+ uploadingImage: string;
757
+ invalidImageURL: string;
758
+ imageUploadFailed: string;
759
+ orUploadImage: string;
574
760
  pwa: {
575
761
  installApp: string;
576
762
  addAppToHomeScreen: string;
@@ -662,6 +848,7 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
662
848
  ai_assistant: string;
663
849
  api_key: string;
664
850
  webhooks: string;
851
+ crm_integrations: string;
665
852
  conversation_lifecycle: string;
666
853
  channels: string;
667
854
  rating_settings: string;
@@ -743,6 +930,23 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
743
930
  searchPlaceholder: string;
744
931
  noWebhooks: string;
745
932
  loadingMoreText: string;
933
+ crm: {
934
+ title: string;
935
+ addIntegration: string;
936
+ searchPlaceholder: string;
937
+ noIntegrations: string;
938
+ crmName: string;
939
+ integrationName: string;
940
+ integrationNamePlaceholder: string;
941
+ token: string;
942
+ tokenPlaceholder: string;
943
+ urlHeader: string;
944
+ urlHeaderPlaceholder: string;
945
+ clientId: string;
946
+ clientIdPlaceholder: string;
947
+ clientSecret: string;
948
+ clientSecretPlaceholder: string;
949
+ };
746
950
  };
747
951
  conversationLifeCycle: {
748
952
  title: string;
@@ -755,10 +959,65 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
755
959
  };
756
960
  channel: {
757
961
  title: string;
962
+ subTitle: string;
758
963
  addNewChannel: string;
759
964
  searchPlaceholder: string;
760
965
  noChannels: string;
761
966
  loadingMoreText: string;
967
+ newChannelOn: string;
968
+ nameOfChannel: string;
969
+ channelCreatedTitle: string;
970
+ channelCreatedDescription: string;
971
+ startConversation: string;
972
+ channelCreateError: string;
973
+ editChannelTitle: string;
974
+ editing: string;
975
+ connectedPhoneNumber: string;
976
+ wabaId: string;
977
+ countrySettings: string;
978
+ startConversationWith: string;
979
+ agentName: string;
980
+ aiAgentName: string;
981
+ channelUpdateError: string;
982
+ selectStartWith: string;
983
+ selectAiAgent: string;
984
+ selectAgent: string;
985
+ deleteConfirmTitle: string;
986
+ deleteConfirmMessage: string;
987
+ botToken: string;
988
+ watchHowToCreate: string;
989
+ stuck: string;
990
+ ourTeam: string;
991
+ isHereForYou: string;
992
+ customChannelSetup: string;
993
+ customChannelDescription: string;
994
+ customEndpoint: string;
995
+ customEndpointPlaceholder: string;
996
+ customValidateToken: string;
997
+ customValidateTokenPlaceholder: string;
998
+ customAccessToken: string;
999
+ customAccessTokenPlaceholder: string;
1000
+ customExternalId: string;
1001
+ customExternalIdPlaceholder: string;
1002
+ gupshupChannelDescription: string;
1003
+ gupshupDisplayPhoneNumber: string;
1004
+ gupshupDisplayPhoneNumberPlaceholder: string;
1005
+ gupshupAccessToken: string;
1006
+ gupshupAccessTokenPlaceholder: string;
1007
+ gupshupAppId: string;
1008
+ gupshupAppIdPlaceholder: string;
1009
+ gupshupWabaId: string;
1010
+ gupshupWabaIdPlaceholder: string;
1011
+ gupshupPhoneId: string;
1012
+ gupshupPhoneIdPlaceholder: string;
1013
+ gupshupChannelSuccessIncomingHint: string;
1014
+ customChannelSuccessIncomingHint: string;
1015
+ customChannelDocsLinkText: string;
1016
+ customChannelCopyIncomingUrl: string;
1017
+ customChannelIncomingUrlCopied: string;
1018
+ customChannelIncomingUrlCopyFailed: string;
1019
+ rating: string;
1020
+ ratingDescription: string;
762
1021
  };
763
1022
  crumby: {
764
1023
  title: string;
@@ -786,6 +1045,9 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
786
1045
  pleaseAddTestNumberFirst: string;
787
1046
  goToTestNumbers: string;
788
1047
  };
1048
+ assistant: {
1049
+ welcomeMessage: string;
1050
+ };
789
1051
  file: {
790
1052
  filesSubTitle: string;
791
1053
  addFiles: string;
@@ -874,7 +1136,32 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
874
1136
  askForCityDescription: string;
875
1137
  handoverEnabled: string;
876
1138
  handoverEnabledDescription: string;
1139
+ endEnabled: string;
1140
+ endEnabledDescription: string;
1141
+ saved: string;
1142
+ };
1143
+ promptSettings: {
1144
+ title: string;
1145
+ description: string;
1146
+ cardTitle: string;
877
1147
  saved: string;
1148
+ maxCharacters: string;
1149
+ contextPrompt: {
1150
+ label: string;
1151
+ description: string;
1152
+ };
1153
+ rolePrompt: {
1154
+ label: string;
1155
+ description: string;
1156
+ };
1157
+ personaPrompt: {
1158
+ label: string;
1159
+ description: string;
1160
+ };
1161
+ constraints: {
1162
+ label: string;
1163
+ description: string;
1164
+ };
878
1165
  };
879
1166
  };
880
1167
  files: {
@@ -2,3 +2,5 @@ export declare const AZURE_STORAGE_ACCOUNT = "bcuserres";
2
2
  export declare const AZURE_RAG_CONTAINER = "rag";
3
3
  export declare const AZURE_RAG_BASE_URL = "https://bcuserres.blob.core.windows.net/rag";
4
4
  export declare const AZURE_CONTACTS_CONTAINER = "contacts";
5
+ export declare const AZURE_GENERAL_CONTAINER = "general";
6
+ export declare const AZURE_GENERAL_BASE_URL = "https://bcuserres.blob.core.windows.net/general";
@@ -1,6 +1,8 @@
1
+ export type PaymentProvider = 'stripe' | 'polar' | 'none';
1
2
  export type Environment = {
2
3
  production: boolean;
3
4
  enablePaidPlans: boolean;
5
+ paymentProvider: PaymentProvider;
4
6
  enableRegister: boolean;
5
7
  enableForgotPassword: boolean;
6
8
  enableProfile: boolean;
@@ -14,4 +16,5 @@ export type Environment = {
14
16
  externalAuth?: 'wakeed';
15
17
  partner?: string;
16
18
  turnstileSiteKey?: string;
19
+ stripeKey?: string;
17
20
  };