@bcrumbs.net/inbox 0.0.50 → 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.
- package/{cb9c022b3cf80e0f.svg → 2998ffe42c3436c0.svg} +43 -43
- package/{594c01a9720e0657.svg → 396ba1d86a9997b1.svg} +42 -42
- package/assets/ar/inbox.json +256 -246
- package/assets/en/inbox.json +258 -248
- package/index.cjs.d.ts +1 -1
- package/index.cjs.js +12108 -1175
- package/index.esm.d.ts +1 -1
- package/index.esm.js +12110 -1177
- package/package.json +6 -6
- package/src/app/ai/components/Crumby/index.d.ts +2 -0
- package/src/app/ai/components/playground/Thread.d.ts +5 -1
- package/src/app/ai/components/playground/ThreadWelcome.d.ts +4 -1
- package/src/app/ai/components/playground/TooltipIconButton.d.ts +1 -1
- package/src/app/ai/components/sources/TextEditorSkeleton.d.ts +3 -0
- package/src/app/ai/components/sources/TextSnippetEditor.d.ts +9 -0
- package/src/app/ai/components/sources/TextTable.d.ts +15 -0
- package/src/app/ai/components/sources/index.d.ts +2 -0
- package/src/app/ai/hooks/useCrumbyRatingAi.d.ts +17 -0
- package/src/app/ai/hooks/useTextColumns.d.ts +17 -0
- package/src/app/ai/pages/AiPreferencesPrompts.d.ts +2 -0
- package/src/app/ai/pages/TextPage.d.ts +3 -0
- package/src/app/ai/types/index.d.ts +10 -0
- package/src/app/auth/pages/Login.d.ts +2 -12
- package/src/app/auth/pages/Register.d.ts +2 -13
- package/src/app/auth/redux/actions/registerAction.d.ts +1 -1
- package/src/app/auth/redux/auth.types.d.ts +1 -1
- package/src/app/billing/components/NotAccessible.d.ts +10 -0
- package/src/app/billing/components/Timeline.d.ts +20 -0
- package/src/app/billing/components/checkout/AddNewPaymentCard.d.ts +6 -0
- package/src/app/billing/components/checkout/CheckoutSummary.d.ts +20 -0
- package/src/app/billing/components/checkout/ExceedPaymentUpdateTriesModal.d.ts +8 -0
- package/src/app/billing/components/checkout/ExistingCardPayment.d.ts +10 -0
- package/src/app/billing/components/checkout/PaymentForm.d.ts +11 -0
- package/src/app/billing/components/checkout/PaymentFormExp.d.ts +9 -0
- package/src/app/billing/components/checkout/PaymentMethod.d.ts +8 -0
- package/src/app/billing/components/checkout/PaymentMethodCard.d.ts +9 -0
- package/src/app/billing/components/checkout/PaywithCredits.d.ts +9 -0
- package/src/app/billing/components/invoices/BCLogo.d.ts +5 -0
- package/src/app/billing/components/invoices/Invoice.d.ts +5 -0
- package/src/app/billing/components/planStyles.d.ts +9 -0
- package/src/app/billing/components/styles.d.ts +21 -0
- package/src/app/billing/components/subscription/PlanDetail.d.ts +11 -0
- package/src/app/billing/components/subscription/SubscriptionPausedWarning.d.ts +3 -0
- package/src/app/billing/components/transactions/TransactionHistoryTable.d.ts +15 -0
- package/src/app/billing/context/SubscriptionContext.d.ts +5 -0
- package/src/app/billing/hooks/useGetPaidToday.d.ts +9 -0
- package/src/app/billing/hooks/usePendingPayments.d.ts +51 -0
- package/src/app/billing/hooks/useSetupPayment.d.ts +15 -0
- package/src/app/billing/hooks/useSetupPaymentMethod.d.ts +12 -0
- package/src/app/billing/pages/checkout.d.ts +2 -0
- package/src/app/billing/pages/done.d.ts +1 -0
- package/src/app/billing/pages/invoice.d.ts +1 -0
- package/src/app/billing/pages/invoices.d.ts +2 -0
- package/src/app/billing/pages/payment.d.ts +1 -0
- package/src/app/billing/utils/getStripe.d.ts +3 -0
- package/src/app/billing/utils/openArticleModal.d.ts +1 -0
- package/src/app/billing/utils/paymentProvider.d.ts +3 -0
- package/src/app/billing/utils/stripeUtils.d.ts +2 -0
- package/src/app/broadcast/components/BroadcastAnalysisReciepientsHeader.d.ts +6 -1
- package/src/app/broadcast/components/BroadcastAnalysisReciepientsTable.d.ts +5 -1
- package/src/app/broadcast/components/BroadcastInfoHeader.d.ts +2 -1
- package/src/app/broadcast/components/BroadcastTargetingComplianceNotice.d.ts +2 -0
- package/src/app/broadcast/components/WorkspaceBroadcastAnalysisRecipients.d.ts +7 -0
- package/src/app/broadcast/hooks/useExportWorkspaceBroadcastDelivery.d.ts +6 -0
- package/src/app/broadcast/pages/WorkspaceBroadcastDeliveryReportPage.d.ts +2 -0
- package/src/app/broadcast/utils/helper.d.ts +4 -0
- package/src/app/contact/config/contactForm.d.ts +21 -0
- package/src/app/dashboard/components/AgentCard.d.ts +11 -0
- package/src/app/dashboard/components/AgentPerformanceCard.d.ts +9 -0
- package/src/app/dashboard/components/AgentsCard.d.ts +9 -0
- package/src/app/dashboard/components/AgentsCardSkeleton.d.ts +2 -0
- package/src/app/dashboard/components/BroadcastAnalyticsCard.d.ts +10 -0
- package/src/app/dashboard/components/BroadcastCampaignProgressCard.d.ts +10 -0
- package/src/app/dashboard/components/BroadcastDashboard.d.ts +6 -0
- package/src/app/dashboard/components/BroadcastDashboardStatsCards.d.ts +14 -0
- package/src/app/dashboard/components/BroadcastRecipientsCard.d.ts +8 -0
- package/src/app/dashboard/components/BroadcastStatusDistributionCard.d.ts +6 -0
- package/src/app/dashboard/components/ConversationAnalyticsCard.d.ts +11 -0
- package/src/app/dashboard/components/DashboardSections.d.ts +24 -0
- package/src/app/dashboard/components/DashboardStatsCards.d.ts +10 -0
- package/src/app/dashboard/components/InboxDashboard.d.ts +10 -0
- package/src/app/dashboard/components/OpenedChatsCard.d.ts +8 -0
- package/src/app/dashboard/pages/DashboardNewPage.d.ts +2 -0
- package/src/app/dashboard/utils/buildBroadcastReportOverviewAnalytics.d.ts +17 -0
- package/src/app/dashboard/utils/buildRecipientsAnalytics.d.ts +12 -0
- package/src/app/dashboard/utils/dateHelpers.d.ts +7 -0
- package/src/app/generic/components/HeaderImageInput.d.ts +8 -0
- package/src/app/generic/components/PhoneNumberInput.d.ts +13 -0
- package/src/app/generic/components/TemplateParameterInputs.d.ts +2 -1
- package/src/app/generic/components/ToggleSetting.d.ts +3 -2
- package/src/app/generic/hooks/useGetProviderIcon.d.ts +2 -1
- package/src/app/inbox/components/Chat/ChatContent.d.ts +2 -1
- package/src/app/inbox/components/NewConvList/FilterDrawer.d.ts +18 -0
- package/src/app/inbox/components/NewConvList/HeaderSection.d.ts +4 -1
- package/src/app/inbox/components/NewConvList/index.d.ts +6 -2
- package/src/app/inbox/hooks/useConversationsPerodicFetch.d.ts +10 -0
- package/src/app/inbox/hooks/useNewSortedEvents.d.ts +1 -1
- package/src/app/inbox/utils/convs.d.ts +10 -1
- package/src/app/layout/components/CommandPalette.d.ts +16 -0
- package/src/app/layout/components/Header.d.ts +3 -1
- package/src/app/layout/constants/index.d.ts +24 -2
- package/src/app/layout/constants/subMenu.d.ts +22 -2
- package/src/app/layout/hooks/useImportContactsEnabled.d.ts +1 -0
- package/src/app/managemnet/components/CreateApiKey.d.ts +4 -1
- package/src/app/managemnet/components/CreateCrmWebhook.d.ts +6 -0
- package/src/app/managemnet/components/channels/AddChannelDialog.d.ts +10 -0
- package/src/app/managemnet/components/channels/ChannelItem.d.ts +11 -0
- package/src/app/managemnet/components/channels/ChannelTypeCard.d.ts +15 -0
- package/src/app/managemnet/components/channels/EditChannelDialog.d.ts +11 -0
- package/src/app/managemnet/pages/crmIntegrations/index.d.ts +2 -0
- package/src/app/onboarding/components/OnboardingChecklistGuideContent.d.ts +8 -0
- package/src/app/onboarding/components/OnboardingChecklistWidget.d.ts +2 -0
- package/src/app/onboarding/utils/onboardingChecklistStorage.d.ts +39 -0
- package/src/app/resources/components/Integrations/ChannelDialogLayout.d.ts +24 -0
- package/src/app/resources/components/Integrations/Custom/index.d.ts +7 -0
- package/src/app/resources/components/Integrations/Facebook/index.d.ts +4 -1
- package/src/app/resources/components/Integrations/Instagram/index.d.ts +4 -1
- package/src/app/resources/components/Integrations/RenderCorrectIntegrationFlow.d.ts +11 -2
- package/src/app/resources/components/Integrations/Telegram/index.d.ts +4 -1
- package/src/app/resources/components/Integrations/WaGupshup/index.d.ts +7 -0
- package/src/app/resources/components/Integrations/WhatsApp/index.d.ts +4 -1
- package/src/app/resources/components/ListResources/Utils.d.ts +0 -1
- package/src/app/subscriptions/components/Plans/PlanCard.d.ts +3 -3
- package/src/app/subscriptions/components/Plans/ShowcasePlans.d.ts +5 -2
- package/src/app/subscriptions/components/SubscriptionSettings/SubscriptionHeader.d.ts +2 -1
- package/src/app/subscriptions/components/SubscriptionSettings/SubscriptionProfile.d.ts +1 -0
- package/src/app/subscriptions/components/SubscriptionSettings/SubscriptionUsers.d.ts +0 -1
- package/src/app/subscriptions/constants/Plans.d.ts +9 -6
- package/src/app/subscriptions/pages/Upgrade.d.ts +6 -9
- package/src/assets/locales/translations.d.ts +333 -5
- package/src/config/azure.d.ts +6 -0
- package/src/config/constants.d.ts +1 -1
- package/src/environments/types.d.ts +3 -0
- package/src/graphql.autogenerated.d.ts +3074 -2349
- package/src/graphql.billing.autogenerated.d.ts +680 -7
- package/src/main.d.ts +2 -0
- package/src/utils/formatFailureReason.d.ts +5 -0
- package/src/utils/globalHelper.d.ts +3 -0
- package/src/utils/localStorage.d.ts +2 -0
- package/src/utils/textUtils.d.ts +3 -1
- package/src/app/resources/components/Integrations/Facebook/LoginPopup.d.ts +0 -4
- package/src/app/resources/components/Integrations/Instagram/LoginPopup.d.ts +0 -4
- package/src/app/resources/components/Integrations/WhatsApp/LoginPopup.d.ts +0 -4
package/src/main.d.ts
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import i18nCountries from 'i18n-iso-countries';
|
|
2
2
|
import { Tag } from '../graphql.autogenerated';
|
|
3
|
+
/** Maps app i18n codes to i18n-iso-countries locale codes. */
|
|
4
|
+
export declare const resolveI18nCountriesLocale: (lang: string) => 'ar' | 'en' | 'tr';
|
|
3
5
|
export declare const getCountryNames: (lang: string) => i18nCountries.LocalizedCountryNames<{
|
|
4
6
|
select: "official";
|
|
5
7
|
}>;
|
|
8
|
+
export declare const getLocalizedCountryName: (countryCode: string, lang: string) => string | undefined;
|
|
6
9
|
export declare const createTagsMap: (tags: Tag[]) => Record<string, string>;
|
|
7
10
|
export declare const getTemplateParameters: (component: any) => string[];
|
|
8
11
|
export declare const mapSavedComponentsToParameters: (savedComponents: any[], definitions: any[]) => Record<string, string>;
|
package/src/utils/textUtils.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
export declare function commaAndFormatStringList(texts: string[]): string;
|
|
2
2
|
export declare function userFormatCurrency(amount: number): string;
|
|
3
3
|
export declare function userReadableBytes(bytes: number, decimals?: number): string;
|
|
4
|
+
export declare function lowerCaseSpecial(username: string): string;
|
|
4
5
|
export declare function capitalizeFirstLetter(string: string): string;
|
|
6
|
+
export declare function humanize(str: string): string;
|
|
5
7
|
export declare function userReadableNumber(num: number, decimals?: number): string;
|
|
6
|
-
export declare function userReadablePlanName(planName?: string | null): "Free" | "Basic" | "Premium" | "Enterprise" | "Custom";
|
|
8
|
+
export declare function userReadablePlanName(planName?: string | null): "Free" | "Basic" | "Premium" | "Business" | "Automate" | "Automate Plus" | "Automate Max" | "Enterprise" | "Custom";
|
|
7
9
|
export declare function truncateParagraph(pargraph: string, count?: number): string;
|
|
8
10
|
/**
|
|
9
11
|
* Sanitize phone number by removing leading '+' and all spaces
|