@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
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface WorkspaceBroadcastAnalysisRecipientsProps {
|
|
3
|
+
startDate: string;
|
|
4
|
+
endDate: string;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: React.MemoExoticComponent<({ startDate, endDate }: WorkspaceBroadcastAnalysisRecipientsProps) => import("@emotion/react/jsx-runtime").JSX.Element>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { BroadcastMessageStatus, Tag } from '../../../graphql.autogenerated';
|
|
2
|
+
export interface UseExportWorkspaceBroadcastDeliveryResult {
|
|
3
|
+
exportDeliveryReportCsv: () => void;
|
|
4
|
+
}
|
|
5
|
+
/** Builds a CSV from the rows currently loaded in the delivery report table (no extra network fetch). */
|
|
6
|
+
export declare function useExportWorkspaceBroadcastDelivery(items: BroadcastMessageStatus[], clientStages: Tag[]): UseExportWorkspaceBroadcastDeliveryResult;
|
|
@@ -1,2 +1,6 @@
|
|
|
1
1
|
export declare const fullDateTimeFormat: (date: string | null | undefined) => string;
|
|
2
|
+
/**
|
|
3
|
+
* Template sends store `content` as JSON: `{ name, language: { code }, components }`.
|
|
4
|
+
*/
|
|
5
|
+
export declare const getTemplateNameFromStoredMessageContent: (content: string | null | undefined) => string | null;
|
|
2
6
|
export declare const calculateTotalCost: (category?: string, numberOfClients?: number) => number;
|
|
@@ -11,6 +11,12 @@ export declare enum FormFields {
|
|
|
11
11
|
defaultAgentId = "defaultAgentId"
|
|
12
12
|
}
|
|
13
13
|
export declare const FORM_INIT: {
|
|
14
|
+
name: {
|
|
15
|
+
value: string;
|
|
16
|
+
};
|
|
17
|
+
surname: {
|
|
18
|
+
value: string;
|
|
19
|
+
};
|
|
14
20
|
email: {
|
|
15
21
|
value: string;
|
|
16
22
|
validations: {
|
|
@@ -23,4 +29,19 @@ export declare const FORM_INIT: {
|
|
|
23
29
|
validationType: BCValidationTypes;
|
|
24
30
|
}[];
|
|
25
31
|
};
|
|
32
|
+
address: {
|
|
33
|
+
value: string;
|
|
34
|
+
};
|
|
35
|
+
country: {
|
|
36
|
+
value: string;
|
|
37
|
+
};
|
|
38
|
+
city: {
|
|
39
|
+
value: string;
|
|
40
|
+
};
|
|
41
|
+
stage: {
|
|
42
|
+
value: string;
|
|
43
|
+
};
|
|
44
|
+
defaultAgentId: {
|
|
45
|
+
value: string;
|
|
46
|
+
};
|
|
26
47
|
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface AgentCardProps {
|
|
2
|
+
name: string;
|
|
3
|
+
surname: string;
|
|
4
|
+
email?: string | null;
|
|
5
|
+
avatar?: string | null;
|
|
6
|
+
conversationCount: number;
|
|
7
|
+
reportDate?: string;
|
|
8
|
+
isSelected?: boolean;
|
|
9
|
+
}
|
|
10
|
+
declare const AgentCard: ({ name, surname, email, avatar, conversationCount, reportDate, isSelected }: AgentCardProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
11
|
+
export default AgentCard;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Agent, AgentsReportQuery } from '../../../graphql.autogenerated';
|
|
2
|
+
type AgentReportNode = NonNullable<AgentsReportQuery['agentsReport']['nodes']>[number];
|
|
3
|
+
interface AgentPerformanceCardProps {
|
|
4
|
+
data?: AgentReportNode[];
|
|
5
|
+
agentsData?: Agent[];
|
|
6
|
+
loading?: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare const AgentPerformanceCard: ({ data, agentsData, loading }: AgentPerformanceCardProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default AgentPerformanceCard;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Agent, Conversation } from '../../../graphql.autogenerated';
|
|
2
|
+
interface AgentsCardProps {
|
|
3
|
+
agents?: Agent[];
|
|
4
|
+
openedConvs?: Conversation[] | null;
|
|
5
|
+
loading?: boolean;
|
|
6
|
+
selectedAgentIds?: string[];
|
|
7
|
+
}
|
|
8
|
+
declare const AgentsCard: ({ agents, openedConvs, loading, selectedAgentIds }: AgentsCardProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default AgentsCard;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BroadcastReportFragment } from '../../../graphql.autogenerated';
|
|
2
|
+
interface BroadcastAnalyticsCardProps {
|
|
3
|
+
startDate: string;
|
|
4
|
+
endDate: string;
|
|
5
|
+
reportNodes: BroadcastReportFragment[];
|
|
6
|
+
integrationId?: string;
|
|
7
|
+
loading?: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare const BroadcastAnalyticsCard: ({ startDate, endDate, reportNodes, integrationId, loading, }: BroadcastAnalyticsCardProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
10
|
+
export default BroadcastAnalyticsCard;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { NewBarChartDataItem } from '@bcrumbs.net/bc-ui';
|
|
2
|
+
interface BroadcastCampaignProgressCardProps {
|
|
3
|
+
completed: number;
|
|
4
|
+
failed: number;
|
|
5
|
+
completedChange: number;
|
|
6
|
+
failedChange: number;
|
|
7
|
+
barData: NewBarChartDataItem[];
|
|
8
|
+
}
|
|
9
|
+
declare const BroadcastCampaignProgressCard: ({ completed, failed, completedChange, failedChange, barData, }: BroadcastCampaignProgressCardProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
10
|
+
export default BroadcastCampaignProgressCard;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export interface BroadcastDashboardProps {
|
|
2
|
+
integrationId?: string;
|
|
3
|
+
selectedPeriod: string;
|
|
4
|
+
}
|
|
5
|
+
declare const BroadcastDashboard: ({ integrationId, selectedPeriod }: BroadcastDashboardProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
6
|
+
export default BroadcastDashboard;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface BroadcastDashboardStatsCardsProps {
|
|
3
|
+
loading?: boolean;
|
|
4
|
+
/** Denominator-style total from the report (success + failed). */
|
|
5
|
+
totalMessages?: number;
|
|
6
|
+
deliveredSuccessfully?: string | number;
|
|
7
|
+
totalOpened?: string | number;
|
|
8
|
+
/** Share of messages sent (percentage string/number). */
|
|
9
|
+
sentPercentage?: string | number;
|
|
10
|
+
/** Raw sent count for the “Sent messages” subtitle. */
|
|
11
|
+
sentCount?: number;
|
|
12
|
+
}
|
|
13
|
+
declare const _default: React.MemoExoticComponent<({ loading, totalMessages, deliveredSuccessfully, totalOpened, sentPercentage, sentCount, }: BroadcastDashboardStatsCardsProps) => import("@emotion/react/jsx-runtime").JSX.Element>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BroadcastReportFragment } from '../../../graphql.autogenerated';
|
|
2
|
+
interface BroadcastRecipientsCardProps {
|
|
3
|
+
startDate: string;
|
|
4
|
+
endDate: string;
|
|
5
|
+
reportNodes?: BroadcastReportFragment[];
|
|
6
|
+
}
|
|
7
|
+
declare const BroadcastRecipientsCard: ({ startDate, endDate, reportNodes }: BroadcastRecipientsCardProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default BroadcastRecipientsCard;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
interface BroadcastStatusDistributionCardProps {
|
|
2
|
+
startDate: string;
|
|
3
|
+
endDate: string;
|
|
4
|
+
}
|
|
5
|
+
declare const BroadcastStatusDistributionCard: ({ startDate, endDate }: BroadcastStatusDistributionCardProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
6
|
+
export default BroadcastStatusDistributionCard;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
interface ReportNode {
|
|
2
|
+
createdAt: string;
|
|
3
|
+
conversationCount?: number | null;
|
|
4
|
+
}
|
|
5
|
+
interface ConversationAnalyticsCardProps {
|
|
6
|
+
reportNodes: ReportNode[];
|
|
7
|
+
startDate: string;
|
|
8
|
+
endDate: string;
|
|
9
|
+
}
|
|
10
|
+
declare const ConversationAnalyticsCard: ({ reportNodes, startDate, endDate }: ConversationAnalyticsCardProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
11
|
+
export default ConversationAnalyticsCard;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Agent, AgentsReportQuery, ConvsReportQuery, Conversation } from '../../../graphql.autogenerated';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
type AgentReportNode = NonNullable<AgentsReportQuery['agentsReport']['nodes']>[number];
|
|
4
|
+
type ConvReportNode = NonNullable<ConvsReportQuery['convsReport']['nodes']>[number];
|
|
5
|
+
type ReportNode = AgentReportNode | ConvReportNode;
|
|
6
|
+
interface DashboardSectionsProps {
|
|
7
|
+
agentsData?: Agent[];
|
|
8
|
+
allAgentsData?: Agent[];
|
|
9
|
+
agentsReportData?: AgentReportNode[];
|
|
10
|
+
agentsLoading?: boolean;
|
|
11
|
+
agentsReportLoading?: boolean;
|
|
12
|
+
totalMessages?: number;
|
|
13
|
+
convsLoading?: boolean;
|
|
14
|
+
integrationId?: string;
|
|
15
|
+
agentIds?: string[];
|
|
16
|
+
assignedConversations?: number;
|
|
17
|
+
unassignedConversations?: number;
|
|
18
|
+
liveConvs?: Conversation[] | null;
|
|
19
|
+
startDate: string;
|
|
20
|
+
endDate: string;
|
|
21
|
+
reportNodes: ReportNode[];
|
|
22
|
+
}
|
|
23
|
+
declare const _default: React.MemoExoticComponent<({ agentsData, allAgentsData, agentsReportData, agentsLoading, agentsReportLoading, totalMessages, convsLoading, integrationId, agentIds, assignedConversations, unassignedConversations, liveConvs, startDate, endDate, reportNodes, }: DashboardSectionsProps) => import("@emotion/react/jsx-runtime").JSX.Element>;
|
|
24
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface DashboardStatsCardsProps {
|
|
3
|
+
totalConversations?: number | string;
|
|
4
|
+
avgResponseTime?: number | string;
|
|
5
|
+
newConversations?: number | string;
|
|
6
|
+
avgChatTime?: number | string;
|
|
7
|
+
loading?: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare const _default: React.MemoExoticComponent<({ totalConversations, avgResponseTime, newConversations, avgChatTime, loading, }: DashboardStatsCardsProps) => import("@emotion/react/jsx-runtime").JSX.Element>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Agent } from '../../../graphql.autogenerated';
|
|
2
|
+
export interface InboxDashboardProps {
|
|
3
|
+
selectedChannel: string | undefined;
|
|
4
|
+
selectedPeriod: string;
|
|
5
|
+
selectedAgents: string[];
|
|
6
|
+
agentsData?: Agent[];
|
|
7
|
+
agentsLoading?: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare const InboxDashboard: ({ selectedChannel, selectedPeriod, selectedAgents, agentsData, agentsLoading, }: InboxDashboardProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
10
|
+
export default InboxDashboard;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface AllChatsCardProps {
|
|
2
|
+
totalMessages?: number;
|
|
3
|
+
assignedConversations?: number;
|
|
4
|
+
unassignedConversations?: number;
|
|
5
|
+
loading?: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare const OpenedChatsCard: ({ totalMessages, assignedConversations, unassignedConversations, loading, }: AllChatsCardProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default OpenedChatsCard;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { NewBarChartDataItem } from '@bcrumbs.net/bc-ui';
|
|
2
|
+
import { BroadcastReportFragment } from '../../../graphql.autogenerated';
|
|
3
|
+
export interface BroadcastReportOverviewAnalytics {
|
|
4
|
+
completed: number;
|
|
5
|
+
failed: number;
|
|
6
|
+
draft: number;
|
|
7
|
+
inProgress: number;
|
|
8
|
+
scheduled: number;
|
|
9
|
+
total: number;
|
|
10
|
+
completedChange: number;
|
|
11
|
+
failedChange: number;
|
|
12
|
+
dailyBars: NewBarChartDataItem[];
|
|
13
|
+
}
|
|
14
|
+
export interface BuildBroadcastReportOverviewOptions {
|
|
15
|
+
integrationId?: string;
|
|
16
|
+
}
|
|
17
|
+
export declare function buildBroadcastReportOverviewAnalytics(reportNodes: BroadcastReportFragment[], startDate: string, endDate: string, options?: BuildBroadcastReportOverviewOptions): BroadcastReportOverviewAnalytics;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { NewBarChartDataItem } from '@bcrumbs.net/bc-ui';
|
|
2
|
+
import { BroadcastReportFragment } from '../../../graphql.autogenerated';
|
|
3
|
+
export interface BroadcastRecipientsAnalytics {
|
|
4
|
+
totalRecipients: number;
|
|
5
|
+
totalSuccessfulRecipients: number;
|
|
6
|
+
totalFailedRecipients: number;
|
|
7
|
+
successRate: number;
|
|
8
|
+
successRateChange: number;
|
|
9
|
+
barData: NewBarChartDataItem[];
|
|
10
|
+
}
|
|
11
|
+
export declare function buildRecipientsAnalytics(reportNodes: BroadcastReportFragment[], startDate: string, endDate: string): BroadcastRecipientsAnalytics;
|
|
12
|
+
export declare function successRateDeltaTone(delta: number): 'positive' | 'negative' | 'neutral';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/** Label for a full calendar month N months before the current month (e.g. Feb, Jan). Adds year when not the current year. */
|
|
2
|
+
export declare const getCalendarMonthMonthsAgoLabel: (monthsBack: number, locale?: string) => string;
|
|
3
|
+
export declare const getDateRange: (period?: string) => {
|
|
4
|
+
startDate?: string;
|
|
5
|
+
endDate?: string;
|
|
6
|
+
};
|
|
7
|
+
export declare const formatTime: (seconds: number) => string;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type HeaderImageInputProps = {
|
|
3
|
+
value: string;
|
|
4
|
+
onChange: (value: string) => void;
|
|
5
|
+
hint?: string;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: React.MemoExoticComponent<({ value, onChange, hint }: HeaderImageInputProps) => import("@emotion/react/jsx-runtime").JSX.Element>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { Country } from 'react-phone-number-input';
|
|
2
|
+
export interface PhoneNumberInputProps {
|
|
3
|
+
value?: string;
|
|
4
|
+
onChange: (value?: string) => void;
|
|
5
|
+
defaultCountry?: Country;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
rtl?: boolean;
|
|
9
|
+
className?: string;
|
|
10
|
+
callingCodeOnly?: boolean;
|
|
11
|
+
}
|
|
12
|
+
declare const PhoneNumberInput: ({ value, onChange, defaultCountry, placeholder, disabled, rtl, className, callingCodeOnly, }: PhoneNumberInputProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
13
|
+
export default PhoneNumberInput;
|
|
@@ -4,6 +4,7 @@ interface TemplateParameterInputsProps {
|
|
|
4
4
|
parameterValues: Record<string, string>;
|
|
5
5
|
onParameterChange: (key: string, value: string) => void;
|
|
6
6
|
loading?: boolean;
|
|
7
|
+
context?: 'broadcast' | 'inbox';
|
|
7
8
|
}
|
|
8
|
-
declare const _default: React.MemoExoticComponent<({ parameters, parameterValues, onParameterChange, loading, }: TemplateParameterInputsProps) => import("@emotion/react/jsx-runtime").JSX.Element>;
|
|
9
|
+
declare const _default: React.MemoExoticComponent<({ parameters, parameterValues, onParameterChange, loading, context, }: TemplateParameterInputsProps) => import("@emotion/react/jsx-runtime").JSX.Element>;
|
|
9
10
|
export default _default;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
interface ToggleSettingProps {
|
|
2
|
-
label
|
|
2
|
+
label?: string;
|
|
3
3
|
checked: boolean;
|
|
4
4
|
onCheckedChange: (checked: boolean) => void;
|
|
5
5
|
description?: string;
|
|
6
|
+
descriptionSide?: boolean;
|
|
6
7
|
disabled?: boolean;
|
|
7
8
|
}
|
|
8
|
-
declare const ToggleSetting: ({ label, checked, onCheckedChange, description, disabled }: ToggleSettingProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare const ToggleSetting: ({ label, checked, onCheckedChange, description, descriptionSide, disabled, }: ToggleSettingProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
9
10
|
export default ToggleSetting;
|
|
@@ -23,6 +23,7 @@ interface ChatContentProps {
|
|
|
23
23
|
} | null;
|
|
24
24
|
onCancelReplyMessage: () => void;
|
|
25
25
|
errorMessage: string;
|
|
26
|
+
statusFailureMessage: string;
|
|
26
27
|
logo?: string;
|
|
27
28
|
conversationId?: string;
|
|
28
29
|
/** Called when user clicks "Message" on a contact message card */
|
|
@@ -30,5 +31,5 @@ interface ChatContentProps {
|
|
|
30
31
|
/** Called when user clicks "Add Contact" on a contact message card */
|
|
31
32
|
onContactAddContact?: (contact: ContactMessagePayload) => void;
|
|
32
33
|
}
|
|
33
|
-
declare const ChatContent: ({ messages, olderMessages, msgsLoading, canContribute, onConvEnd, sendMessage, loadOlderMessages, agentsIdsAvatarsMap, noteMode, onNoteSend, onCloseNoteMode, onAddNoteClick, searchPattern, searchMatchNo, onSearchMatchCount, onMessageReply, replyMessage, onCancelReplyMessage, errorMessage, logo, conversationId, onContactMessage, onContactAddContact, }: ChatContentProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
34
|
+
declare const ChatContent: ({ messages, olderMessages, msgsLoading, canContribute, onConvEnd, sendMessage, loadOlderMessages, agentsIdsAvatarsMap, noteMode, onNoteSend, onCloseNoteMode, onAddNoteClick, searchPattern, searchMatchNo, onSearchMatchCount, onMessageReply, replyMessage, onCancelReplyMessage, errorMessage, statusFailureMessage, logo, conversationId, onContactMessage, onContactAddContact, }: ChatContentProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
34
35
|
export default ChatContent;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Agent, Ai, Conversation, Integration, Tag } from '../../../../graphql.autogenerated';
|
|
2
|
+
import { ConvsFilters } from '../../utils/convs';
|
|
3
|
+
interface FilterDrawerProps {
|
|
4
|
+
isOpen: boolean;
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
filters: ConvsFilters;
|
|
7
|
+
onFiltersChange: (filters: ConvsFilters) => void;
|
|
8
|
+
agents: Agent[];
|
|
9
|
+
convStages: Tag[];
|
|
10
|
+
integrations: Integration[];
|
|
11
|
+
myAgent: Agent | undefined;
|
|
12
|
+
crumbyAi: Ai | undefined;
|
|
13
|
+
isCrumbyEnabled: boolean;
|
|
14
|
+
rtl: boolean;
|
|
15
|
+
conversations: Conversation[];
|
|
16
|
+
}
|
|
17
|
+
declare const FilterDrawer: ({ isOpen, onClose, filters, onFiltersChange, agents, convStages, integrations, myAgent, crumbyAi, isCrumbyEnabled, rtl, conversations, }: FilterDrawerProps) => import("@emotion/react/jsx-runtime").JSX.Element | null;
|
|
18
|
+
export default FilterDrawer;
|
|
@@ -11,6 +11,9 @@ interface HeaderSectionProps {
|
|
|
11
11
|
onFiltersChange: (filters: ConvsFilters) => void;
|
|
12
12
|
setShowStartConv: (show: boolean) => void;
|
|
13
13
|
crumbyAi?: Ai;
|
|
14
|
+
isTestVariant?: boolean;
|
|
15
|
+
isDrawerOpen?: boolean;
|
|
16
|
+
onFilterDrawerOpen?: () => void;
|
|
14
17
|
}
|
|
15
|
-
declare const HeaderSection: ({ agentsMenu, lifeCycleMenu, filters, agents, convStages, myAgent, onFiltersChange, setShowStartConv, crumbyAi, }: HeaderSectionProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
18
|
+
declare const HeaderSection: ({ agentsMenu, lifeCycleMenu, filters, agents, convStages, myAgent, onFiltersChange, setShowStartConv, crumbyAi, isTestVariant, isDrawerOpen, onFilterDrawerOpen, }: HeaderSectionProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
16
19
|
export default HeaderSection;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RefObject } from 'react';
|
|
2
2
|
import { ConvsFilters } from '../../utils/convs';
|
|
3
|
-
import { Agent, Ai, Conversation, Tag } from '../../../../graphql.autogenerated';
|
|
3
|
+
import { Agent, Ai, Conversation, Integration, Tag } from '../../../../graphql.autogenerated';
|
|
4
4
|
interface NewConvListProps {
|
|
5
5
|
agents: Agent[];
|
|
6
6
|
convStages: Tag[];
|
|
@@ -13,7 +13,11 @@ interface NewConvListProps {
|
|
|
13
13
|
onFiltersChange: (filters: ConvsFilters) => void;
|
|
14
14
|
setShowStartConv: (show: boolean) => void;
|
|
15
15
|
aiAgents: Ai[];
|
|
16
|
+
integrations: Integration[];
|
|
16
17
|
scrollContainerRef?: RefObject<HTMLDivElement>;
|
|
18
|
+
isTestVariant?: boolean;
|
|
19
|
+
isDrawerOpen?: boolean;
|
|
20
|
+
onFilterDrawerOpen?: () => void;
|
|
17
21
|
}
|
|
18
|
-
declare const NewConvList: ({ agents, convStages, convs, loading, selectedConvId, convClicked, onConvEnd, filters, onFiltersChange, setShowStartConv, aiAgents, scrollContainerRef, }: NewConvListProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
22
|
+
declare const NewConvList: ({ agents, convStages, convs, loading, selectedConvId, convClicked, onConvEnd, filters, onFiltersChange, setShowStartConv, aiAgents, integrations, scrollContainerRef, isTestVariant, isDrawerOpen, onFilterDrawerOpen, }: NewConvListProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
19
23
|
export default NewConvList;
|
|
@@ -19,8 +19,18 @@ declare function useConversationsPeriodicFetch(selectedConvId?: string, onSelect
|
|
|
19
19
|
assigneeId?: string | null | undefined;
|
|
20
20
|
aiId?: string | null | undefined;
|
|
21
21
|
aiAssigneed?: boolean | null | undefined;
|
|
22
|
+
ratingFlowInProgress?: boolean | null | undefined;
|
|
22
23
|
broadcastId?: string | null | undefined;
|
|
23
24
|
broadcastName?: string | null | undefined;
|
|
25
|
+
integrationSwitches?: {
|
|
26
|
+
__typename?: "ConvIntegrationSwitch" | undefined;
|
|
27
|
+
fromIntegrationId: string;
|
|
28
|
+
fromIntegrationType: import("../../../graphql.autogenerated").IntegrationType;
|
|
29
|
+
toIntegrationId: string;
|
|
30
|
+
toIntegrationType: import("../../../graphql.autogenerated").IntegrationType;
|
|
31
|
+
switchedAt: any;
|
|
32
|
+
switchedBy?: string | null | undefined;
|
|
33
|
+
}[] | null | undefined;
|
|
24
34
|
messages?: {
|
|
25
35
|
__typename?: "Message" | undefined;
|
|
26
36
|
messageId: string;
|
|
@@ -7,7 +7,7 @@ export type EventType = {
|
|
|
7
7
|
timestamp: number;
|
|
8
8
|
formattedDate: string;
|
|
9
9
|
formattedTime: string;
|
|
10
|
-
type: 'assignee' | 'note' | 'start' | 'end';
|
|
10
|
+
type: 'assignee' | 'note' | 'start' | 'end' | 'switch';
|
|
11
11
|
noteType?: NoteType;
|
|
12
12
|
content: string;
|
|
13
13
|
Icon: React.ReactNode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Maybe } from 'graphql/jsutils/Maybe';
|
|
2
|
-
import { Agent, Ai, ClientQuery, Message, Tag } from '../../../graphql.autogenerated';
|
|
2
|
+
import { Agent, Ai, ClientQuery, Integration, Message, Tag } from '../../../graphql.autogenerated';
|
|
3
3
|
import { ActionItem } from '@bcrumbs.net/bc-ui';
|
|
4
4
|
export type ConvsFilters = {
|
|
5
5
|
ended?: boolean;
|
|
@@ -8,6 +8,7 @@ export type ConvsFilters = {
|
|
|
8
8
|
aiId?: string | null;
|
|
9
9
|
stageId?: string | null;
|
|
10
10
|
nameOrPhone?: string;
|
|
11
|
+
integrationId?: string | null;
|
|
11
12
|
};
|
|
12
13
|
export interface AgentConversationCounts {
|
|
13
14
|
total: number;
|
|
@@ -48,4 +49,12 @@ export declare const getDisplayName: (clientData: ClientQuery['client'] | undefi
|
|
|
48
49
|
export declare const buildAgentsMenu: ({ agents, myAgent, selectedAgentId, selectedAiId, onAgentSelect, onCrumbySelect, onUnassigneeSelect, t, includeAllOption, onAllSelect, addSeparatorAtLast, counts, crumbyAi, showAllAgents, isCrumbyEnabled, }: BuildAgentsMenuOptions) => ActionItem[];
|
|
49
50
|
export declare const buildLifeCycleMenu: ({ convStages, selectedStageId, onStageSelect, t, addSeparatorAtLast, }: BuildLifeCycleMenuOptions) => ActionItem[];
|
|
50
51
|
export declare const formatPhoneForWhatsApp: (phone: string | null | undefined) => string;
|
|
52
|
+
interface BuildChannelsMenuOptions {
|
|
53
|
+
integrations: Integration[];
|
|
54
|
+
selectedIntegrationId: string | null | undefined;
|
|
55
|
+
onIntegrationSelect: (id: string) => void;
|
|
56
|
+
onAllSelect: () => void;
|
|
57
|
+
t: any;
|
|
58
|
+
}
|
|
59
|
+
export declare const buildChannelsMenu: ({ integrations, selectedIntegrationId, onIntegrationSelect, onAllSelect, t, }: BuildChannelsMenuOptions) => ActionItem[];
|
|
51
60
|
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export type CommandPaletteItem = {
|
|
2
|
+
id: string;
|
|
3
|
+
label: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
link?: string;
|
|
6
|
+
action?: string;
|
|
7
|
+
tags: string[];
|
|
8
|
+
commandType: 'page' | 'action';
|
|
9
|
+
section: string;
|
|
10
|
+
};
|
|
11
|
+
type CommandPaletteProps = {
|
|
12
|
+
items: CommandPaletteItem[];
|
|
13
|
+
onActionSelect?: (item: CommandPaletteItem) => void;
|
|
14
|
+
};
|
|
15
|
+
declare function CommandPalette({ items, onActionSelect }: CommandPaletteProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
16
|
+
export default CommandPalette;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { CommandPaletteItem } from './CommandPalette';
|
|
2
3
|
export declare const HeaderContainer: import("@emotion/styled").StyledComponent<{
|
|
3
4
|
theme?: import("@emotion/react").Theme | undefined;
|
|
4
5
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
@@ -11,8 +12,9 @@ export declare const Separator: import("@emotion/styled").StyledComponent<{
|
|
|
11
12
|
theme?: import("@emotion/react").Theme | undefined;
|
|
12
13
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
13
14
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
14
|
-
declare function Header({ onLogout, hasSubMenu }: {
|
|
15
|
+
declare function Header({ onLogout, hasSubMenu, commandItems, }: {
|
|
15
16
|
onLogout: () => void;
|
|
16
17
|
hasSubMenu: boolean;
|
|
18
|
+
commandItems: CommandPaletteItem[];
|
|
17
19
|
}): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
18
20
|
export default Header;
|
|
@@ -2,38 +2,60 @@ import { Permission } from '@bcrumbs.net/bc-shared';
|
|
|
2
2
|
export declare const BCMainNavigation: {
|
|
3
3
|
leftLinks: ({
|
|
4
4
|
label: string;
|
|
5
|
+
title: string;
|
|
5
6
|
icon: import("@emotion/react/jsx-runtime").JSX.Element;
|
|
6
7
|
link: string;
|
|
7
8
|
action: string;
|
|
9
|
+
description: string;
|
|
10
|
+
tags: string[];
|
|
8
11
|
subMenu?: undefined;
|
|
9
12
|
requiredPermissions?: undefined;
|
|
10
13
|
} | {
|
|
11
14
|
label: string;
|
|
15
|
+
title: string;
|
|
12
16
|
icon: import("@emotion/react/jsx-runtime").JSX.Element;
|
|
13
17
|
link: string;
|
|
14
18
|
action: string;
|
|
19
|
+
description: string;
|
|
15
20
|
subMenu: {
|
|
16
|
-
items: {
|
|
21
|
+
items: ({
|
|
17
22
|
label: string;
|
|
23
|
+
title: string;
|
|
18
24
|
icon: import("@emotion/react/jsx-runtime").JSX.Element;
|
|
19
25
|
link: string;
|
|
20
26
|
action: string;
|
|
21
|
-
|
|
27
|
+
tags: string[];
|
|
28
|
+
description?: undefined;
|
|
29
|
+
} | {
|
|
30
|
+
label: string;
|
|
31
|
+
title: string;
|
|
32
|
+
icon: import("@emotion/react/jsx-runtime").JSX.Element;
|
|
33
|
+
link: string;
|
|
34
|
+
action: string;
|
|
35
|
+
description: string;
|
|
36
|
+
tags: string[];
|
|
37
|
+
})[];
|
|
22
38
|
}[];
|
|
39
|
+
tags: string[];
|
|
23
40
|
requiredPermissions?: undefined;
|
|
24
41
|
} | {
|
|
25
42
|
label: string;
|
|
43
|
+
title: string;
|
|
26
44
|
icon: import("@emotion/react/jsx-runtime").JSX.Element;
|
|
27
45
|
link: string;
|
|
28
46
|
action: string;
|
|
47
|
+
description: string;
|
|
48
|
+
tags: string[];
|
|
29
49
|
requiredPermissions: Permission[];
|
|
30
50
|
subMenu?: undefined;
|
|
31
51
|
})[];
|
|
32
52
|
leftBottomLinks: {
|
|
33
53
|
label: string;
|
|
54
|
+
title: string;
|
|
34
55
|
icon: import("@emotion/react/jsx-runtime").JSX.Element;
|
|
35
56
|
link: string;
|
|
36
57
|
action: string;
|
|
58
|
+
tags: string[];
|
|
37
59
|
}[];
|
|
38
60
|
};
|
|
39
61
|
export declare const MOBILE_DIMENSION = 767;
|
|
@@ -3,34 +3,54 @@ export declare const ManagementSubmenu: ({
|
|
|
3
3
|
hide: boolean;
|
|
4
4
|
items: {
|
|
5
5
|
label: string;
|
|
6
|
+
title: string;
|
|
6
7
|
icon: import("@emotion/react/jsx-runtime").JSX.Element;
|
|
7
8
|
link: string;
|
|
8
9
|
action: string;
|
|
10
|
+
description: string;
|
|
11
|
+
tags: string[];
|
|
9
12
|
}[];
|
|
10
13
|
} | {
|
|
11
14
|
title: string;
|
|
12
15
|
items: {
|
|
13
16
|
label: string;
|
|
17
|
+
title: string;
|
|
14
18
|
link: string;
|
|
15
19
|
icon: import("@emotion/react/jsx-runtime").JSX.Element;
|
|
16
20
|
action: string;
|
|
21
|
+
description: string;
|
|
22
|
+
tags: string[];
|
|
17
23
|
}[];
|
|
18
24
|
hide?: undefined;
|
|
19
25
|
})[];
|
|
20
26
|
export declare const ContactSubmenu: {
|
|
21
|
-
items: {
|
|
27
|
+
items: ({
|
|
22
28
|
label: string;
|
|
29
|
+
title: string;
|
|
23
30
|
icon: import("@emotion/react/jsx-runtime").JSX.Element;
|
|
24
31
|
link: string;
|
|
25
32
|
action: string;
|
|
26
|
-
|
|
33
|
+
tags: string[];
|
|
34
|
+
description?: undefined;
|
|
35
|
+
} | {
|
|
36
|
+
label: string;
|
|
37
|
+
title: string;
|
|
38
|
+
icon: import("@emotion/react/jsx-runtime").JSX.Element;
|
|
39
|
+
link: string;
|
|
40
|
+
action: string;
|
|
41
|
+
description: string;
|
|
42
|
+
tags: string[];
|
|
43
|
+
})[];
|
|
27
44
|
}[];
|
|
28
45
|
export declare const CrumpySubmenu: {
|
|
29
46
|
title: string;
|
|
30
47
|
items: {
|
|
31
48
|
label: string;
|
|
49
|
+
title: string;
|
|
32
50
|
icon: import("@emotion/react/jsx-runtime").JSX.Element;
|
|
33
51
|
link: string;
|
|
34
52
|
action: string;
|
|
53
|
+
description: string;
|
|
54
|
+
tags: string[];
|
|
35
55
|
}[];
|
|
36
56
|
}[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useImportContactsEnabled: () => boolean;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
interface CreateApiKeyProps {
|
|
2
|
-
onSuccess?: (
|
|
2
|
+
onSuccess?: (payload: {
|
|
3
|
+
apiKeyToken: string;
|
|
4
|
+
workspaceId?: number | null;
|
|
5
|
+
}) => void;
|
|
3
6
|
onCancel?: () => void;
|
|
4
7
|
}
|
|
5
8
|
declare const CreateApiKey: ({ onSuccess, onCancel }: CreateApiKeyProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|