@bcrumbs.net/inbox 0.0.59 → 0.0.62
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 +16 -3
- package/assets/en/inbox.json +16 -3
- package/index.cjs.js +49121 -49385
- package/index.esm.js +49125 -49389
- package/package.json +4 -4
- package/playwright.config.d.ts +9 -0
- package/src/app/ai/components/Crumby/ChatView.d.ts +12 -0
- package/src/app/ai/components/Crumby/CrumbyComposer.d.ts +3 -0
- package/src/app/ai/components/Crumby/CrumbySendAction.d.ts +4 -0
- package/src/app/ai/components/Crumby/CrumbyWidget.d.ts +2 -0
- package/src/app/ai/components/Crumby/index.d.ts +1 -2
- package/src/app/ai/components/playground/Button.d.ts +1 -1
- package/src/app/ai/components/playground/ThreadMessages.d.ts +5 -1
- package/src/app/ai/components/playground/TooltipIconButton.d.ts +2 -2
- package/src/app/auth/components/UserAvatar/AccountSettingsDropdown.d.ts +3 -5
- package/src/app/auth/components/password-page/AuthPasswordPageLayout.d.ts +7 -0
- package/src/app/auth/components/password-page/ForgetPasswordFormView.d.ts +20 -0
- package/src/app/auth/components/password-page/PasswordFormView.d.ts +22 -0
- package/src/app/auth/components/password-page/PasswordSuccessView.d.ts +8 -0
- package/src/app/auth/hooks/useRoles.d.ts +1 -0
- package/src/app/auth/pages/Auth.style.d.ts +68 -0
- package/src/app/auth/pages/Forget.d.ts +0 -3
- package/src/app/auth/pages/Login.style.d.ts +1 -0
- package/src/app/auth/pages/Register.style.d.ts +5 -0
- package/src/app/auth/utils/avatar.d.ts +1 -0
- package/src/app/auth/utils/resetWorkspaceRoleState.d.ts +4 -0
- package/src/app/broadcast/components/BroadcastAnalysisContent.d.ts +3 -1
- package/src/app/broadcast/components/BroadcastAnalysisReciepients.d.ts +6 -1
- package/src/app/broadcast/components/BroadcastAnalysisReciepientsHeader.d.ts +7 -1
- package/src/app/contact/components/ContactFilterOptions.d.ts +4 -1
- package/src/app/contact/components/ContactFormFields.d.ts +4 -1
- package/src/app/dashboard/components/AgentPerformanceCard.d.ts +2 -1
- package/src/app/dashboard/components/BroadcastCampaignProgressCard.d.ts +3 -1
- package/src/app/dashboard/components/DashboardExportButton.d.ts +8 -0
- package/src/app/dashboard/components/DashboardSections.d.ts +2 -1
- package/src/app/dashboard/components/OpenedChatsCard.d.ts +5 -1
- package/src/app/dashboard/components/TagPerformanceCard.d.ts +2 -1
- package/src/app/dashboard/utils/dashboardReportExports.d.ts +100 -0
- package/src/app/generic/components/PhoneDigitsInput.d.ts +7 -0
- package/src/app/generic/hooks/useResourceColumns.d.ts +3 -1
- package/src/app/inbox/components/Chat/ChatHeader.d.ts +2 -0
- package/src/app/inbox/components/Chat/NoConvSelected.d.ts +5 -0
- package/src/app/inbox/components/Chat/index.d.ts +4 -1
- package/src/app/inbox/components/NewDetails/ClientSection.d.ts +2 -1
- package/src/app/inbox/components/NewDetails/UserHeader.d.ts +2 -1
- package/src/app/inbox/components/NewDetails/index.d.ts +2 -1
- package/src/app/inbox/components/Shared/Inbox.d.ts +4 -1
- package/src/app/inbox/components/Shared/MobileChatDetailsSlider.d.ts +14 -0
- package/src/app/inbox/components/Shared/MobileDetailsSwipeHint.d.ts +9 -0
- package/src/app/inbox/components/Shared/MobileMenu.d.ts +2 -1
- package/src/app/inbox/hooks/useConvActions.d.ts +1 -0
- package/src/app/inbox/hooks/useConversationsPerodicFetch.d.ts +3 -0
- package/src/app/inbox/hooks/useStartedTimeAgo.d.ts +5 -0
- package/src/app/inbox/utils/convs.d.ts +8 -1
- package/src/app/inbox/utils/inboxAssignableAis.d.ts +11 -1
- package/src/app/layout/constants/index.d.ts +11 -10
- package/src/app/layout/hooks/useCrumbyEnabled.d.ts +18 -0
- package/src/app/layout/hooks/useCrumbyUpgradeAction.d.ts +10 -0
- package/src/app/managemnet/config/types.d.ts +2 -0
- package/src/app/onboarding/components/OnboardingStepDetail.d.ts +10 -0
- package/src/app/onboarding/components/OnboardingView.d.ts +19 -0
- package/src/app/onboarding/components/onboardingStepGuide.d.ts +11 -0
- package/src/app/onboarding/components/useOnboardingChecklist.d.ts +30 -0
- package/src/app/onboarding/utils/onboardingChecklistPersistence.d.ts +18 -0
- package/src/app/onboarding/utils/onboardingChecklistStorage.d.ts +24 -2
- package/src/app/resources/components/Integrations/Facebook/PagePickerPopup.d.ts +3 -1
- package/src/app/resources/components/ListResources/Utils.d.ts +1 -0
- package/src/app/subscriptions/components/NewSubscription/OnboardingStepper.d.ts +8 -0
- package/src/app/subscriptions/components/NewSubscription/SubscriptionFailed.d.ts +6 -0
- package/src/app/subscriptions/components/NewSubscription/SubscriptionName.d.ts +1 -1
- package/src/app/subscriptions/components/NewSubscription/SubscriptionSuccess.d.ts +5 -2
- package/src/app/subscriptions/components/NewSubscription/WorkspaceStepLayout.d.ts +11 -0
- package/src/app/subscriptions/components/Plans/ShowcasePlans.d.ts +3 -1
- package/src/app/subscriptions/components/SubscriptionSwitcher/Switcher.d.ts +1 -1
- package/src/app/subscriptions/pages/NewSubscription.d.ts +1 -1
- package/src/app/subscriptions/utils/newWorkspaceCheckout.d.ts +16 -0
- package/src/assets/locales/translations.d.ts +122 -1
- package/src/graphql.autogenerated.d.ts +557 -4
- package/src/graphql.billing.autogenerated.d.ts +2 -0
- package/src/lib/EmbeddedMobileMenu.d.ts +2 -1
- package/src/routes/PrivateRoutes.d.ts +1 -5
- package/src/utils/exportCsv.d.ts +8 -0
- package/src/utils/localStorage.d.ts +1 -0
- package/src/utils/textUtils.d.ts +2 -0
- package/src/app/broadcast/components/BroadcastTargetingComplianceNotice.d.ts +0 -2
- package/src/app/generic/hooks/WithMenuConfig.d.ts +0 -1
- package/src/app/layout/components/language/LanguageDropdown.d.ts +0 -9
- package/src/app/onboarding/components/OnboardingChecklistWidget.d.ts +0 -3
|
@@ -639,6 +639,7 @@ export type SubscriptionPlan = {
|
|
|
639
639
|
paymentMethodId?: Maybe<Scalars['Int']['output']>;
|
|
640
640
|
plan?: Maybe<Plan>;
|
|
641
641
|
planId: Scalars['Int']['output'];
|
|
642
|
+
polarSubscriptionId?: Maybe<Scalars['String']['output']>;
|
|
642
643
|
promoType?: Maybe<Scalars['String']['output']>;
|
|
643
644
|
promoValue?: Maybe<Scalars['Float']['output']>;
|
|
644
645
|
reactivationDate?: Maybe<Scalars['DateTime']['output']>;
|
|
@@ -1027,6 +1028,7 @@ export type SubscriptionQuery = {
|
|
|
1027
1028
|
workspaceId: number;
|
|
1028
1029
|
status?: SubscriptionStatus | null;
|
|
1029
1030
|
stripeCustomerId?: string | null;
|
|
1031
|
+
polarSubscriptionId?: string | null;
|
|
1030
1032
|
freeCredits: number;
|
|
1031
1033
|
planId: number;
|
|
1032
1034
|
term: Term;
|
|
@@ -3,7 +3,8 @@ export type { MobileViews };
|
|
|
3
3
|
export type EmbeddedMobileMenuProps = {
|
|
4
4
|
activePage: MobileViews;
|
|
5
5
|
setActivePage: (page: MobileViews) => void;
|
|
6
|
+
/** @deprecated Details is opened via swipe; kept for call-site compatibility. */
|
|
6
7
|
hideDetails?: boolean;
|
|
7
8
|
};
|
|
8
9
|
/** Bottom nav for embedded inbox — no dashboard tab, no react-router. */
|
|
9
|
-
export declare const EmbeddedMobileMenu: ({ activePage, setActivePage
|
|
10
|
+
export declare const EmbeddedMobileMenu: ({ activePage, setActivePage }: EmbeddedMobileMenuProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** Escape a CSV cell for RFC 4180 (commas, quotes, newlines). */
|
|
2
|
+
export declare function escapeCSVValue(value: string): string;
|
|
3
|
+
export type CsvCell = string | number | null | undefined;
|
|
4
|
+
/**
|
|
5
|
+
* Build a UTF-8 CSV string (with BOM) and trigger a browser download.
|
|
6
|
+
* Headers are written as the first row; each data row must match header length.
|
|
7
|
+
*/
|
|
8
|
+
export declare function downloadCsv(filename: string, headers: string[], rows: CsvCell[][]): void;
|
|
@@ -4,6 +4,7 @@ export declare const LOCAL_STORAGE_ITEMS: {
|
|
|
4
4
|
SELECTED_CLIENT_ID: string;
|
|
5
5
|
SELECTED_CONV_FILTER: string;
|
|
6
6
|
};
|
|
7
|
+
export declare const SHOWCASE_LOCAL_STORAGE_CHANGED_EVENT = "showcase-local-storage-changed";
|
|
7
8
|
declare const _default: {
|
|
8
9
|
get(key: string): any;
|
|
9
10
|
set(key: string, value: unknown): void;
|
package/src/utils/textUtils.d.ts
CHANGED
|
@@ -13,3 +13,5 @@ export declare function truncateParagraph(pargraph: string, count?: number): str
|
|
|
13
13
|
* @returns Sanitized phone number or undefined if input is null/undefined
|
|
14
14
|
*/
|
|
15
15
|
export declare function sanitizePhone(phone: string | null | undefined): string | undefined;
|
|
16
|
+
/** Keep only numeric digits from a phone input value. */
|
|
17
|
+
export declare function digitsOnly(value: string): string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const withMenuConfig: (Component: any) => (props: any) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { DropdownListItemType, DropdownListItemValue } from '@bcrumbs.net/bc-ui';
|
|
2
|
-
import React, { PropsWithChildren } from 'react';
|
|
3
|
-
export type AccountSettingsProps = {
|
|
4
|
-
itemClicked: (e: DropdownListItemValue) => void;
|
|
5
|
-
itemsList: DropdownListItemType[];
|
|
6
|
-
dropdownIsVisible: boolean;
|
|
7
|
-
setDropdownIsVisible: React.Dispatch<React.SetStateAction<boolean>>;
|
|
8
|
-
};
|
|
9
|
-
export declare function LanguageDropdown({ itemsList, itemClicked, dropdownIsVisible, setDropdownIsVisible }: PropsWithChildren<AccountSettingsProps>): import("@emotion/react/jsx-runtime").JSX.Element;
|