@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.
- package/{396ba1d86a9997b1.svg → 594c01a9720e0657.svg} +42 -42
- package/assets/ar/inbox.json +263 -256
- package/assets/en/inbox.json +265 -258
- package/{2998ffe42c3436c0.svg → cb9c022b3cf80e0f.svg} +43 -43
- package/index.cjs.d.ts +1 -1
- package/index.cjs.js +5068 -13392
- package/index.esm.d.ts +1 -1
- package/index.esm.js +5071 -13397
- package/package.json +1 -1
- package/src/app/ai/components/CrumbySettings/AutoTagRulesSection.d.ts +14 -0
- package/src/app/ai/components/CrumbySettings/tagRuleUtils.d.ts +28 -0
- package/src/app/auth/components/UserAvatar/AccountSettingsDropdown.d.ts +2 -1
- package/src/app/auth/components/UserAvatar/index.d.ts +2 -1
- package/src/app/auth/pages/CheckAuth.d.ts +10 -0
- package/src/app/auth/pages/Forget.d.ts +1 -3
- package/src/app/auth/pages/Password.d.ts +0 -1
- package/src/app/auth/pages/Profile.d.ts +0 -1
- package/src/app/auth/redux/actions/forgetPasswordAction.d.ts +1 -1
- package/src/app/auth/redux/actions/logoutAction.d.ts +2 -2
- package/src/app/auth/redux/actions/resetPasswordAction.d.ts +2 -2
- package/src/app/auth/redux/auth.types.d.ts +5 -1
- package/src/app/billing/context/SubscriptionContext.d.ts +3 -1
- package/src/app/billing/utils/pendingPlanPurchaseStorage.d.ts +10 -0
- package/src/app/contact/components/ContactFormFields.d.ts +2 -1
- package/src/app/contact/config/contactForm.d.ts +4 -0
- package/src/app/dashboard/components/BroadcastAnalyticsCard.d.ts +2 -1
- package/src/app/dashboard/utils/buildBroadcastReportOverviewAnalytics.d.ts +2 -0
- package/src/app/dashboard/utils/dateHelpers.d.ts +17 -0
- package/src/app/generic/components/HeaderImageInput.d.ts +2 -1
- package/src/app/generic/components/MessagePreview.d.ts +3 -1
- package/src/app/generic/components/PreviewHeaderImage.d.ts +2 -1
- package/src/app/generic/utils/logout.d.ts +1 -1
- package/src/app/inbox/components/Chat/ChatContent.d.ts +1 -3
- package/src/app/inbox/components/Chat/ChatHeader.d.ts +5 -1
- package/src/app/inbox/components/Chat/NoResultsFound.d.ts +3 -0
- package/src/app/inbox/components/Chat/index.d.ts +4 -1
- package/src/app/inbox/components/NewConvList/FilterDrawer.d.ts +2 -3
- package/src/app/inbox/components/NewConvList/HeaderSection.d.ts +3 -2
- package/src/app/inbox/components/NewDetails/ChatDetails.d.ts +3 -2
- package/src/app/inbox/components/NewDetails/ChatDetailsAndTimeline.d.ts +3 -2
- package/src/app/inbox/components/NewDetails/ClientInfo.d.ts +3 -2
- package/src/app/inbox/components/NewDetails/ConversationOverview.d.ts +3 -2
- package/src/app/inbox/components/NewDetails/EditClientInfo.d.ts +3 -2
- package/src/app/inbox/components/NewDetails/index.d.ts +3 -2
- package/src/app/inbox/components/Shared/Inbox.d.ts +9 -7
- package/src/app/inbox/components/Shared/MobileActionSheet.d.ts +9 -0
- package/src/app/inbox/components/Shared/MobileMenu.d.ts +8 -0
- package/src/app/inbox/components/Shared/SharedStyle.d.ts +7 -0
- package/src/app/inbox/components/Shared/mobileMenuStyles.d.ts +20 -0
- package/src/app/inbox/constants/index.d.ts +1 -1
- package/src/app/inbox/hooks/useConversationById.d.ts +8 -0
- package/src/app/inbox/hooks/useInboxAssignableAis.d.ts +3 -0
- package/src/app/inbox/hooks/useMyAgent.d.ts +8 -0
- package/src/app/inbox/utils/convs.d.ts +4 -4
- package/src/app/inbox/utils/inboxAssignableAis.d.ts +10 -0
- package/src/app/inbox/utils/mobileInboxStyles.d.ts +6 -0
- package/src/app/layout/components/Header.d.ts +0 -4
- package/src/app/layout/constants/subMenu.d.ts +12 -2
- package/src/app/layout/context/EmbeddedInboxContext.d.ts +3 -0
- package/src/app/layout/context/MobileInboxNavContext.d.ts +9 -0
- package/src/app/layout/hooks/useMobileInboxVersion.d.ts +1 -3
- package/src/app/managemnet/components/CreateQuickReply.d.ts +8 -0
- package/src/app/managemnet/config/quickReplyDefinition.d.ts +4 -0
- package/src/app/managemnet/pages/quickReplies/index.d.ts +2 -0
- package/src/app/onboarding/utils/onboardingChecklistStorage.d.ts +4 -0
- package/src/app/resources/components/Integrations/Facebook/NoPagesFoundPopup.d.ts +2 -1
- package/src/app/resources/components/Integrations/Facebook/PagePickerPopup.d.ts +2 -1
- package/src/app/subscriptions/components/Plans/PlanCard.d.ts +10 -23
- package/src/app/subscriptions/components/Plans/ShowcasePlans.d.ts +5 -4
- package/src/app/subscriptions/components/SubscriptionSettings/SubscriptionHeader.d.ts +1 -10
- package/src/app/subscriptions/components/SubscriptionSettings/SubscriptionPlanLabel.d.ts +8 -0
- package/src/app/subscriptions/components/SubscriptionSettings/SubscriptionProfileCard.d.ts +14 -0
- package/src/app/subscriptions/components/SubscriptionSettings/SubscriptionUsageCard.d.ts +7 -0
- package/src/app/subscriptions/components/SubscriptionSettings/SubscriptionUsers.d.ts +3 -2
- package/src/app/subscriptions/components/SubscriptionSwitcher/Switcher.d.ts +4 -1
- package/src/app/subscriptions/components/SubscriptionSwitcher/index.d.ts +3 -1
- package/src/app/subscriptions/components/SubscriptionsList.d.ts +1 -0
- package/src/assets/locales/translations.d.ts +62 -0
- package/src/graphql.autogenerated.d.ts +539 -0
- package/src/graphql.billing.autogenerated.d.ts +3 -0
- package/src/lib/EmbeddedMobileMenu.d.ts +9 -0
- package/src/lib/conversation-chat.d.ts +11 -0
- package/src/lib/index.d.ts +4 -0
- package/src/utils/integration.d.ts +6 -0
|
@@ -591,6 +591,7 @@ export type SubscriptionPlan = {
|
|
|
591
591
|
reactivationPeriodLeft?: Maybe<Scalars['BigInt']['output']>;
|
|
592
592
|
renewalInProgress: Scalars['Boolean']['output'];
|
|
593
593
|
renewalsPaid: Scalars['Int']['output'];
|
|
594
|
+
skipUsageLimitEnforcement: Scalars['Boolean']['output'];
|
|
594
595
|
startDate: Scalars['DateTime']['output'];
|
|
595
596
|
status?: Maybe<SubscriptionStatus>;
|
|
596
597
|
stripeCustomerId?: Maybe<Scalars['String']['output']>;
|
|
@@ -930,6 +931,7 @@ export type SubscriptionQuery = {
|
|
|
930
931
|
__typename?: 'SubscriptionPlan';
|
|
931
932
|
id: number;
|
|
932
933
|
workspaceId: number;
|
|
934
|
+
status?: SubscriptionStatus | null;
|
|
933
935
|
stripeCustomerId?: string | null;
|
|
934
936
|
freeCredits: number;
|
|
935
937
|
planId: number;
|
|
@@ -951,6 +953,7 @@ export type SubscriptionQuery = {
|
|
|
951
953
|
promoType?: string | null;
|
|
952
954
|
promoValue?: number | null;
|
|
953
955
|
isUsed?: boolean | null;
|
|
956
|
+
skipUsageLimitEnforcement: boolean;
|
|
954
957
|
createdAt: any;
|
|
955
958
|
updatedAt: any;
|
|
956
959
|
plan?: {
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { MobileViews } from '../app/inbox/components/Shared/mobileMenuStyles';
|
|
2
|
+
export type { MobileViews };
|
|
3
|
+
export type EmbeddedMobileMenuProps = {
|
|
4
|
+
activePage: MobileViews;
|
|
5
|
+
setActivePage: (page: MobileViews) => void;
|
|
6
|
+
hideDetails?: boolean;
|
|
7
|
+
};
|
|
8
|
+
/** Bottom nav for embedded inbox — no dashboard tab, no react-router. */
|
|
9
|
+
export declare const EmbeddedMobileMenu: ({ activePage, setActivePage, hideDetails }: EmbeddedMobileMenuProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Conversation } from '../graphql.autogenerated';
|
|
3
|
+
export type ConversationChatProps = {
|
|
4
|
+
convId: string;
|
|
5
|
+
logo?: string;
|
|
6
|
+
rtl?: boolean;
|
|
7
|
+
showHeader?: boolean;
|
|
8
|
+
onConversationChange?: (conversation: Conversation) => void;
|
|
9
|
+
onConvEnd?: () => void;
|
|
10
|
+
};
|
|
11
|
+
export declare const ConversationChat: React.FC<ConversationChatProps>;
|
package/src/lib/index.d.ts
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
export { Inbox } from './inbox';
|
|
2
|
+
export { ConversationChat } from './conversation-chat';
|
|
3
|
+
export type { ConversationChatProps } from './conversation-chat';
|
|
4
|
+
export { EmbeddedMobileMenu } from './EmbeddedMobileMenu';
|
|
5
|
+
export type { EmbeddedMobileMenuProps, MobileViews } from './EmbeddedMobileMenu';
|
|
2
6
|
export { auth } from '@bcrumbs.net/bc-shared';
|
|
3
7
|
export { ThemeProvider, useThemeContext } from '../context/themeContext';
|
|
4
8
|
export { dconfigClient, coreClient, botClient, dqueryClient, setErrorHandler, getErrorHandler, } from '@bcrumbs.net/bc-api';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { IntegrationType } from '../graphql.autogenerated';
|
|
2
|
+
export declare const WHATSAPP_FAMILY_INTEGRATION_TYPES: IntegrationType[];
|
|
3
|
+
export declare function isWhatsAppFamilyIntegration(integrationType?: string | null): boolean;
|
|
4
|
+
export declare function canEditClientPhone(options: {
|
|
5
|
+
integrationType?: string | null;
|
|
6
|
+
}): boolean;
|