@bcrumbs.net/inbox 0.0.51 → 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/assets/ar/inbox.json +20 -3
- package/assets/en/inbox.json +22 -5
- package/index.cjs.js +3955 -1472
- package/index.esm.js +3958 -1477
- package/package.json +4 -4
- package/src/app/ai/components/Crumby/index.d.ts +2 -0
- 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/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/pages/AiPreferencesPrompts.d.ts +2 -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/Login.d.ts +2 -12
- package/src/app/auth/pages/Password.d.ts +0 -1
- package/src/app/auth/pages/Profile.d.ts +0 -1
- package/src/app/auth/pages/Register.d.ts +2 -13
- 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/registerAction.d.ts +1 -1
- package/src/app/auth/redux/actions/resetPasswordAction.d.ts +2 -2
- package/src/app/auth/redux/auth.types.d.ts +6 -2
- 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 +8 -1
- 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/pendingPlanPurchaseStorage.d.ts +10 -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/components/ContactFormFields.d.ts +2 -1
- package/src/app/contact/config/contactForm.d.ts +4 -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 +11 -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 +19 -0
- package/src/app/dashboard/utils/buildRecipientsAnalytics.d.ts +12 -0
- package/src/app/dashboard/utils/dateHelpers.d.ts +24 -0
- package/src/app/generic/components/HeaderImageInput.d.ts +9 -0
- package/src/app/generic/components/MessagePreview.d.ts +3 -1
- package/src/app/generic/components/PhoneNumberInput.d.ts +13 -0
- package/src/app/generic/components/PreviewHeaderImage.d.ts +2 -1
- 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/generic/utils/logout.d.ts +1 -1
- package/src/app/inbox/components/Chat/ChatContent.d.ts +2 -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 +17 -0
- package/src/app/inbox/components/NewConvList/HeaderSection.d.ts +6 -2
- package/src/app/inbox/components/NewConvList/index.d.ts +6 -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/useConversationsPerodicFetch.d.ts +10 -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/hooks/useNewSortedEvents.d.ts +1 -1
- package/src/app/inbox/utils/convs.d.ts +14 -5
- 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/CommandPalette.d.ts +16 -0
- package/src/app/layout/components/Header.d.ts +3 -5
- package/src/app/layout/constants/index.d.ts +24 -2
- package/src/app/layout/constants/subMenu.d.ts +34 -4
- 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/useImportContactsEnabled.d.ts +1 -0
- package/src/app/layout/hooks/useMobileInboxVersion.d.ts +1 -3
- package/src/app/managemnet/components/CreateCrmWebhook.d.ts +6 -0
- package/src/app/managemnet/components/CreateQuickReply.d.ts +8 -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/config/quickReplyDefinition.d.ts +4 -0
- package/src/app/managemnet/pages/crmIntegrations/index.d.ts +2 -0
- package/src/app/managemnet/pages/quickReplies/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 +43 -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/NoPagesFoundPopup.d.ts +2 -1
- package/src/app/resources/components/Integrations/Facebook/PagePickerPopup.d.ts +2 -1
- 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/subscriptions/components/Plans/PlanCard.d.ts +10 -23
- package/src/app/subscriptions/components/Plans/ShowcasePlans.d.ts +8 -4
- package/src/app/subscriptions/components/SubscriptionSettings/SubscriptionHeader.d.ts +1 -9
- package/src/app/subscriptions/components/SubscriptionSettings/SubscriptionPlanLabel.d.ts +8 -0
- package/src/app/subscriptions/components/SubscriptionSettings/SubscriptionProfile.d.ts +1 -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 -3
- 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/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 +354 -5
- package/src/config/azure.d.ts +2 -0
- package/src/environments/types.d.ts +3 -0
- package/src/graphql.autogenerated.d.ts +2179 -1225
- package/src/graphql.billing.autogenerated.d.ts +683 -7
- 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/main.d.ts +2 -0
- package/src/utils/formatFailureReason.d.ts +5 -0
- package/src/utils/globalHelper.d.ts +3 -0
- package/src/utils/integration.d.ts +6 -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/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bcrumbs.net/inbox",
|
|
3
3
|
"description": "Inbox widget for Bread Crumbs portals",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.55",
|
|
5
5
|
"keyword": [
|
|
6
6
|
"bcrumbs",
|
|
7
7
|
"bc-ui",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
"graphql": "15.4.0"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@bcrumbs.net/bc-shared": "^0.0.
|
|
28
|
-
"@bcrumbs.net/bc-ui": "^0.0.
|
|
29
|
-
"@bcrumbs.net/bc-api": "^0.0.
|
|
27
|
+
"@bcrumbs.net/bc-shared": "^0.0.9",
|
|
28
|
+
"@bcrumbs.net/bc-ui": "^0.0.13",
|
|
29
|
+
"@bcrumbs.net/bc-api": "^0.0.47",
|
|
30
30
|
"@azure/storage-blob": "^12.25.0"
|
|
31
31
|
},
|
|
32
32
|
"module": "./index.esm.js",
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { BCDropListOptionsType } from '@bcrumbs.net/bc-ui';
|
|
2
|
+
import { TagType } from '../../../../graphql.autogenerated';
|
|
3
|
+
import { TagRuleDraft } from './tagRuleUtils';
|
|
4
|
+
export interface AutoTagRulesSectionProps {
|
|
5
|
+
title: string;
|
|
6
|
+
type: TagType;
|
|
7
|
+
rules: TagRuleDraft[];
|
|
8
|
+
onChange: (rules: TagRuleDraft[]) => void;
|
|
9
|
+
availableTags: BCDropListOptionsType[];
|
|
10
|
+
refetchTags: () => void;
|
|
11
|
+
defaultExpanded?: boolean;
|
|
12
|
+
}
|
|
13
|
+
declare const AutoTagRulesSection: ({ title, type, rules, onChange, availableTags, refetchTags, defaultExpanded, }: AutoTagRulesSectionProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
14
|
+
export default AutoTagRulesSection;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export interface TagRuleDraft {
|
|
2
|
+
id: string;
|
|
3
|
+
tag: string;
|
|
4
|
+
rule: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const createTagRuleDraftId: () => `${string}-${string}-${string}-${string}-${string}`;
|
|
7
|
+
export declare const toTagRuleDrafts: (rules?: {
|
|
8
|
+
tag: string;
|
|
9
|
+
rule: string;
|
|
10
|
+
}[] | null) => TagRuleDraft[];
|
|
11
|
+
export declare const normalizeTagRulesForSave: (rules: TagRuleDraft[]) => {
|
|
12
|
+
tag: string;
|
|
13
|
+
rule: string;
|
|
14
|
+
}[];
|
|
15
|
+
export declare const normalizeTagRulesFromConfig: (rules?: {
|
|
16
|
+
tag: string;
|
|
17
|
+
rule: string;
|
|
18
|
+
}[] | null) => {
|
|
19
|
+
tag: string;
|
|
20
|
+
rule: string;
|
|
21
|
+
}[];
|
|
22
|
+
export declare const areTagRulesEqual: (a: {
|
|
23
|
+
tag: string;
|
|
24
|
+
rule: string;
|
|
25
|
+
}[], b: {
|
|
26
|
+
tag: string;
|
|
27
|
+
rule: string;
|
|
28
|
+
}[]) => boolean;
|
|
@@ -1,2 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
type ThreadWelcomeProps = {
|
|
2
|
+
message?: string;
|
|
3
|
+
};
|
|
4
|
+
declare const ThreadWelcome: ({ message }: ThreadWelcomeProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
2
5
|
export default ThreadWelcome;
|
|
@@ -11,5 +11,5 @@ export declare const TooltipIconButton: import("react").ForwardRefExoticComponen
|
|
|
11
11
|
asChild?: boolean | undefined;
|
|
12
12
|
}, "ref"> & {
|
|
13
13
|
tooltip: string;
|
|
14
|
-
side?: "
|
|
14
|
+
side?: "left" | "right" | "bottom" | "top" | undefined;
|
|
15
15
|
} & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -8,5 +8,6 @@ export type AccountSettingsProps = {
|
|
|
8
8
|
itemsList: DropdownListItemType[];
|
|
9
9
|
dataTestid?: string;
|
|
10
10
|
userInfo?: any;
|
|
11
|
+
isMobile?: boolean;
|
|
11
12
|
};
|
|
12
|
-
export declare function AccountSettingsDropdown({ url, itemsList, itemClicked, text, color, dataTestid, userInfo }: PropsWithChildren<AccountSettingsProps>): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
13
|
+
export declare function AccountSettingsDropdown({ url, itemsList, itemClicked, text, color, dataTestid, userInfo, isMobile, }: PropsWithChildren<AccountSettingsProps>): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -5,6 +5,7 @@ export type AccountWrapperProps = {
|
|
|
5
5
|
};
|
|
6
6
|
export type UserAvatarProps = {
|
|
7
7
|
onLogout: () => void;
|
|
8
|
+
isMobile?: boolean;
|
|
8
9
|
};
|
|
9
|
-
declare function UserAvatar({ onLogout }: UserAvatarProps): import("@emotion/react/jsx-runtime").JSX.Element | null;
|
|
10
|
+
declare function UserAvatar({ onLogout, isMobile }: UserAvatarProps): import("@emotion/react/jsx-runtime").JSX.Element | null;
|
|
10
11
|
export default UserAvatar;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Public entry from marketing pricing CTAs (?planType=...).
|
|
3
|
+
* Verifies the session via currentUser, then:
|
|
4
|
+
* - authenticated + planType in query → upgrade flow (auto Polar/Stripe checkout)
|
|
5
|
+
* - authenticated + no planType → inbox
|
|
6
|
+
* - guest + planType → register with planType preserved
|
|
7
|
+
* - guest + no planType → login
|
|
8
|
+
*/
|
|
9
|
+
declare const CheckAuth: () => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
10
|
+
export default CheckAuth;
|
|
@@ -2,9 +2,7 @@ export type Props = {
|
|
|
2
2
|
location: any;
|
|
3
3
|
history: any;
|
|
4
4
|
router: any;
|
|
5
|
-
forgetPasswordAction: (
|
|
6
|
-
login: any;
|
|
7
|
-
forgetPassword: any;
|
|
5
|
+
forgetPasswordAction: (email: string, customUrl: string) => any;
|
|
8
6
|
error: any;
|
|
9
7
|
status: any;
|
|
10
8
|
};
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
history: any;
|
|
4
|
-
router: any;
|
|
5
|
-
userIsAuthenticated: boolean;
|
|
6
|
-
loginAction: UserAuthTypes.LoginAction;
|
|
7
|
-
oauthLoginAction: UserAuthTypes.OAuthLoginAction;
|
|
8
|
-
login: any;
|
|
9
|
-
error: any;
|
|
10
|
-
status: any;
|
|
11
|
-
};
|
|
12
|
-
declare const _default: any;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: import("react").ComponentClass<{}, any>;
|
|
13
3
|
export default _default;
|
|
@@ -1,14 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
location: any;
|
|
4
|
-
history: any;
|
|
5
|
-
router: any;
|
|
6
|
-
userRegistered: boolean;
|
|
7
|
-
registerAction: RegisterAction;
|
|
8
|
-
registerAfterInvitationAction: RegisterAfterInvitationAction;
|
|
9
|
-
register: any;
|
|
10
|
-
error: any;
|
|
11
|
-
status: any;
|
|
12
|
-
};
|
|
13
|
-
declare const _default: any;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: import("react").ComponentClass<{}, any>;
|
|
14
3
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare function forgetPasswordAction(
|
|
1
|
+
export declare function forgetPasswordAction(email: string, customResetPasswordUrl: string, time?: string): (dispatch: any) => void;
|
|
2
2
|
export declare function successForgetpassword(status: number, success?: any, time?: string): {
|
|
3
3
|
type: string;
|
|
4
4
|
time: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare function setUserLogout(time?: string): {
|
|
1
|
+
export declare function setUserLogout(time?: string): Promise<{
|
|
2
2
|
type: string;
|
|
3
3
|
time: string;
|
|
4
4
|
isAuthenticated: boolean;
|
|
@@ -10,4 +10,4 @@ export declare function setUserLogout(time?: string): {
|
|
|
10
10
|
createdAt: string;
|
|
11
11
|
modifiedAt: string;
|
|
12
12
|
};
|
|
13
|
-
}
|
|
13
|
+
}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare function registerAction(action: any, firstName: string, lastName: string, userName: string, email: string, password: string, confirmPassword: string, time?: string): (dispatch: any) => void;
|
|
1
|
+
export declare function registerAction(action: any, firstName: string, lastName: string, userName: string, email: string, password: string, confirmPassword: string, clientDistinctId?: string, time?: string): (dispatch: any) => void;
|
|
2
2
|
export declare function registerAfterInvitationAction(user: any, token: any, time?: string): (dispatch: any) => void;
|
|
3
3
|
export declare function receivedUserRegister(status: number, user?: any, time?: string): {
|
|
4
4
|
type: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare function resetPasswordAction(
|
|
1
|
+
import type { Dispatch } from 'redux';
|
|
2
|
+
export declare function resetPasswordAction(userId: string, token: string, password: string, confirpassword: string, time?: string): (dispatch: Dispatch) => void;
|
|
3
3
|
export declare function successResetpassword(status: number, success?: any, time?: string): {
|
|
4
4
|
type: string;
|
|
5
5
|
time: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { Dispatch } from 'redux';
|
|
1
2
|
export declare const dateFormat = "dd/MM/yyyy HH:mm";
|
|
2
3
|
export declare const CHECK_IS_USER_IS_AUTHENTICATED = "CHECK_IS_USER_IS_AUTHENTICATED";
|
|
3
4
|
export declare const CHECK_IS_USER_IS_REGISTERED = "CHECK_IS_USER_IS_REGISTERED";
|
|
@@ -50,7 +51,7 @@ export type ErrorUserLoggedIn = (error?: any, time?: string, source?: string) =>
|
|
|
50
51
|
export type SetLoadingStateForUserLogin = (time: string) => any;
|
|
51
52
|
export type UnsetLoadingStateForUserLogin = (time: string) => any;
|
|
52
53
|
export type ResendConfirmation = (email: string) => any;
|
|
53
|
-
export type RegisterAction = (action: any, name: string, lastname: string, username: string, email: string, password: string, confirmPassord: string) => any;
|
|
54
|
+
export type RegisterAction = (action: any, name: string, lastname: string, username: string, email: string, password: string, confirmPassord: string, clientDistinctId?: string) => any;
|
|
54
55
|
export type RegisterAfterInvitationAction = (user: any, toekn: string) => any;
|
|
55
56
|
export type ReceivedUserRegister = (user?: User, time?: string) => any;
|
|
56
57
|
export type ErrorUserRegister = (error?: any, time?: string) => any;
|
|
@@ -59,7 +60,10 @@ export type UnsetLoadingStateForUserRegister = (time: string) => any;
|
|
|
59
60
|
export type SetUserLogout = (time: string) => any;
|
|
60
61
|
export type CheckIfUserIsAuthenticated = (time: string) => any;
|
|
61
62
|
export type ResetLogError = () => any;
|
|
62
|
-
|
|
63
|
+
/** Action creator: returns a thunk (receives Redux `dispatch`). */
|
|
64
|
+
export interface ResetPasswordAction {
|
|
65
|
+
(userId: string, token: string, password: string, confirmPassword: string): (dispatch: Dispatch) => void;
|
|
66
|
+
}
|
|
63
67
|
export type UpdateProfileAction = (action: any, email: string) => any;
|
|
64
68
|
export type SetCurrentUserAction = (userInfo: {
|
|
65
69
|
Email: string;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
interface IProps {
|
|
3
|
+
cta: () => void;
|
|
4
|
+
isLoading?: boolean;
|
|
5
|
+
title: ReactNode;
|
|
6
|
+
description: ReactNode;
|
|
7
|
+
buttonText: string;
|
|
8
|
+
}
|
|
9
|
+
export default function NotAccessible({ cta, isLoading, title, description, buttonText, }: IProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
type TimelineDotColor = 'primary' | 'grey' | 'error' | 'success' | 'warning';
|
|
3
|
+
interface TimelineDotProps {
|
|
4
|
+
color?: TimelineDotColor;
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export declare function TimelineDot({ color, children }: TimelineDotProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
8
|
+
export declare function TimelineConnector(): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
9
|
+
interface TimelineItemProps {
|
|
10
|
+
timestamp?: ReactNode;
|
|
11
|
+
dot?: ReactNode;
|
|
12
|
+
showConnector?: boolean;
|
|
13
|
+
children: ReactNode;
|
|
14
|
+
}
|
|
15
|
+
export declare function TimelineItem({ timestamp, dot, showConnector, children }: TimelineItemProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
16
|
+
interface TimelineProps {
|
|
17
|
+
children: ReactNode;
|
|
18
|
+
}
|
|
19
|
+
export declare function Timeline({ children }: TimelineProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { PostHog } from "posthog-js/react";
|
|
2
|
+
import { PlanType, Plan, PlanPricingQuery } from "../../../../graphql.billing.autogenerated";
|
|
3
|
+
import { CurrentSubscription } from "../../context/SubscriptionContext";
|
|
4
|
+
type PricingData = PlanPricingQuery["planPricing"];
|
|
5
|
+
export interface CheckoutSummaryProps {
|
|
6
|
+
plan: Partial<Plan> | undefined;
|
|
7
|
+
currentPlan: Partial<Plan> | undefined;
|
|
8
|
+
selectedPlanType: PlanType | undefined;
|
|
9
|
+
isRenewal: boolean;
|
|
10
|
+
isYearly: boolean;
|
|
11
|
+
setIsYearly: (val: boolean) => void;
|
|
12
|
+
originalIsYearly: boolean;
|
|
13
|
+
subscription: CurrentSubscription;
|
|
14
|
+
pricingData: PricingData | undefined;
|
|
15
|
+
paidToday: number | undefined;
|
|
16
|
+
creditsUsed: number | undefined;
|
|
17
|
+
posthog: PostHog | undefined;
|
|
18
|
+
}
|
|
19
|
+
export default function CheckoutSummary({ plan, currentPlan, selectedPlanType, isRenewal, isYearly, setIsYearly, originalIsYearly, subscription, pricingData, paidToday, creditsUsed, posthog, }: CheckoutSummaryProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Dispatch, SetStateAction } from "react";
|
|
2
|
+
type SetStateActionType = Dispatch<SetStateAction<boolean>>;
|
|
3
|
+
interface ExceedPaymentUpdateTriesModalProps {
|
|
4
|
+
open: boolean;
|
|
5
|
+
setOpen: SetStateActionType;
|
|
6
|
+
}
|
|
7
|
+
export default function ExceedPaymentUpdateTriesModal({ open, setOpen, }: ExceedPaymentUpdateTriesModalProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PaymentMethod as PaymentMethodType, Term, PlanType } from "../../../../graphql.billing.autogenerated";
|
|
2
|
+
interface IProps {
|
|
3
|
+
paymentMethod: PaymentMethodType;
|
|
4
|
+
planType: PlanType;
|
|
5
|
+
term: Term;
|
|
6
|
+
isRenewal: boolean;
|
|
7
|
+
turnstile: string;
|
|
8
|
+
}
|
|
9
|
+
declare function ExistingCardPaymentWithStripeElements(props: IProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
10
|
+
export default ExistingCardPaymentWithStripeElements;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SetupPaymentMethodResult, CheckoutResult } from "../../../../graphql.billing.autogenerated";
|
|
2
|
+
type PaymentFormProps = {
|
|
3
|
+
intentResponse: SetupPaymentMethodResult | CheckoutResult;
|
|
4
|
+
setupIntent?: boolean;
|
|
5
|
+
};
|
|
6
|
+
type PaymentFormContainerDialogProps = PaymentFormProps & {
|
|
7
|
+
open: boolean;
|
|
8
|
+
onClose: () => void;
|
|
9
|
+
};
|
|
10
|
+
export default function PaymentFormWithDialog({ open, onClose, intentResponse, setupIntent, }: PaymentFormContainerDialogProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CheckoutResult, SetupPaymentMethodResult } from "../../../../graphql.billing.autogenerated";
|
|
2
|
+
interface IProps {
|
|
3
|
+
setupPayment: () => Promise<void>;
|
|
4
|
+
loading?: boolean;
|
|
5
|
+
intentResponse: CheckoutResult | SetupPaymentMethodResult | undefined;
|
|
6
|
+
hasError: boolean;
|
|
7
|
+
}
|
|
8
|
+
export default function PaymentFormExp({ setupPayment, loading, intentResponse, hasError, }: IProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
import { PaymentMethod as PaymentMethodType } from "../../../../graphql.billing.autogenerated";
|
|
3
|
+
interface IProps {
|
|
4
|
+
action?: ReactNode;
|
|
5
|
+
paymentMethod: PaymentMethodType;
|
|
6
|
+
}
|
|
7
|
+
export default function PaymentMethod({ action, paymentMethod }: IProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PaymentMethod as PaymentMethodType } from "../../../../graphql.billing.autogenerated";
|
|
2
|
+
interface PaymentMethodProps {
|
|
3
|
+
paymentMethod: PaymentMethodType;
|
|
4
|
+
onAction?: () => Promise<void>;
|
|
5
|
+
actionLoading?: boolean;
|
|
6
|
+
actionText: string;
|
|
7
|
+
}
|
|
8
|
+
export default function PaymentMethod(props: PaymentMethodProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PlanType, Term } from '../../../../graphql.billing.autogenerated';
|
|
2
|
+
interface IProps {
|
|
3
|
+
planType: PlanType;
|
|
4
|
+
term: Term;
|
|
5
|
+
isRenewal: boolean;
|
|
6
|
+
turnstile: string;
|
|
7
|
+
}
|
|
8
|
+
export declare function PaywithCredits({ planType, term, isRenewal, turnstile }: IProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface CardHeaderBaseProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"> {
|
|
3
|
+
title?: React.ReactNode;
|
|
4
|
+
action?: React.ReactNode;
|
|
5
|
+
}
|
|
6
|
+
export declare const StyledCardHeader: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<CardHeaderBaseProps & React.RefAttributes<HTMLDivElement>>, any, {}, never>;
|
|
7
|
+
export declare const StyledCard: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<import("@radix-ui/themes").CardProps & React.RefAttributes<HTMLDivElement>>, any, {}, never>;
|
|
8
|
+
export declare const StyledCardv2: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<import("@radix-ui/themes").CardProps & React.RefAttributes<HTMLDivElement>>, any, {}, never>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const FlexBox: import("@emotion/styled").StyledComponent<{
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
5
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
|
+
export declare const FlexCentered: import("@emotion/styled").StyledComponent<{
|
|
7
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
8
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
9
|
+
} & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
10
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
11
|
+
}, {}, {}>;
|
|
12
|
+
export declare const FlexBetween: import("@emotion/styled").StyledComponent<{
|
|
13
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
14
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
15
|
+
} & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
16
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
17
|
+
}, {}, {}>;
|
|
18
|
+
export declare const DisabledOverlay: import("@emotion/styled").StyledComponent<{
|
|
19
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
20
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
21
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface IPlanDetail {
|
|
3
|
+
hasDetail: boolean;
|
|
4
|
+
primaryText: React.ReactNode;
|
|
5
|
+
secondaryText?: React.ReactNode;
|
|
6
|
+
link?: string;
|
|
7
|
+
toolTip?: React.ReactNode;
|
|
8
|
+
alert?: React.ReactNode;
|
|
9
|
+
}
|
|
10
|
+
declare const PlanDetail: ({ hasDetail, primaryText, secondaryText, link, toolTip, alert }: IPlanDetail) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
11
|
+
export default PlanDetail;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { SetStateAction, Dispatch } from "react";
|
|
2
|
+
import { Transaction } from "../../../../graphql.billing.autogenerated";
|
|
3
|
+
interface TransactionHistoryTableProps {
|
|
4
|
+
paymentTransactions: Transaction[];
|
|
5
|
+
rowsPerPage: number;
|
|
6
|
+
setRowsPerPage: Dispatch<SetStateAction<number>>;
|
|
7
|
+
page: number;
|
|
8
|
+
setPage: Dispatch<SetStateAction<number>>;
|
|
9
|
+
order: "asc" | "desc";
|
|
10
|
+
setOrder: Dispatch<SetStateAction<"asc" | "desc">>;
|
|
11
|
+
orderBy: string | null;
|
|
12
|
+
setOrderBy: Dispatch<SetStateAction<string | null>>;
|
|
13
|
+
}
|
|
14
|
+
export default function TransactionHistoryTable(props: TransactionHistoryTableProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
15
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { SubscriptionQuery, PlanType } from '../../../graphql.billing.autogenerated';
|
|
2
|
+
import { SubscriptionQuery, PlanType, Term } from '../../../graphql.billing.autogenerated';
|
|
3
3
|
export type CurrentSubscription = SubscriptionQuery['subscription'] | null;
|
|
4
4
|
export interface SubscriptionContextValue {
|
|
5
5
|
/** The current subscription data */
|
|
@@ -10,6 +10,8 @@ export interface SubscriptionContextValue {
|
|
|
10
10
|
error: Error | null;
|
|
11
11
|
/** The current plan type (e.g., 'free', 'basic', 'premium') */
|
|
12
12
|
planType: PlanType | null;
|
|
13
|
+
/** The current billing term (monthly or yearly) */
|
|
14
|
+
currentTerm: Term | null;
|
|
13
15
|
/** Refetch the subscription data */
|
|
14
16
|
refetch: () => void;
|
|
15
17
|
}
|
|
@@ -59,4 +61,9 @@ export declare function SubscriptionProvider({ children, workspaceId: propWorksp
|
|
|
59
61
|
* ```
|
|
60
62
|
*/
|
|
61
63
|
export declare function useCurrentSubscription(): SubscriptionContextValue;
|
|
64
|
+
/**
|
|
65
|
+
* useCurrentSubscriptionOptional - Safe hook for screens that may render
|
|
66
|
+
* outside SubscriptionProvider (e.g. embedded surfaces).
|
|
67
|
+
*/
|
|
68
|
+
export declare function useCurrentSubscriptionOptional(): SubscriptionContextValue | undefined;
|
|
62
69
|
export default SubscriptionContext;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PlanPricing } from "../../../graphql.billing.autogenerated";
|
|
2
|
+
export default function useGetPaidToday({ pricingData, isRenewal, isYearly, }: {
|
|
3
|
+
pricingData?: PlanPricing;
|
|
4
|
+
isRenewal: boolean;
|
|
5
|
+
isYearly: boolean;
|
|
6
|
+
}): {
|
|
7
|
+
creditsUsed: number | undefined;
|
|
8
|
+
paidToday: number | undefined;
|
|
9
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { PendingPaymentStatus } from "../../../graphql.billing.autogenerated";
|
|
2
|
+
export default function usePendingPayments(): {
|
|
3
|
+
getPendingPayment: (list: {
|
|
4
|
+
__typename?: "PendingPayment" | undefined;
|
|
5
|
+
id: number;
|
|
6
|
+
status: PendingPaymentStatus;
|
|
7
|
+
failureReason?: string | null | undefined;
|
|
8
|
+
paymentMethodId?: number | null | undefined;
|
|
9
|
+
planId?: number | null | undefined;
|
|
10
|
+
transactionId?: number | null | undefined;
|
|
11
|
+
isSetupIntent: boolean;
|
|
12
|
+
isRenewal: boolean;
|
|
13
|
+
term: string;
|
|
14
|
+
createdAt: any;
|
|
15
|
+
updatedAt: any;
|
|
16
|
+
completedAt?: any;
|
|
17
|
+
}[]) => {
|
|
18
|
+
__typename?: "PendingPayment" | undefined;
|
|
19
|
+
id: number;
|
|
20
|
+
status: PendingPaymentStatus;
|
|
21
|
+
failureReason?: string | null | undefined;
|
|
22
|
+
paymentMethodId?: number | null | undefined;
|
|
23
|
+
planId?: number | null | undefined;
|
|
24
|
+
transactionId?: number | null | undefined;
|
|
25
|
+
isSetupIntent: boolean;
|
|
26
|
+
isRenewal: boolean;
|
|
27
|
+
term: string;
|
|
28
|
+
createdAt: any;
|
|
29
|
+
updatedAt: any;
|
|
30
|
+
completedAt?: any;
|
|
31
|
+
} | undefined;
|
|
32
|
+
pendingPayment: {
|
|
33
|
+
__typename?: "PendingPayment" | undefined;
|
|
34
|
+
id: number;
|
|
35
|
+
status: PendingPaymentStatus;
|
|
36
|
+
failureReason?: string | null | undefined;
|
|
37
|
+
paymentMethodId?: number | null | undefined;
|
|
38
|
+
planId?: number | null | undefined;
|
|
39
|
+
transactionId?: number | null | undefined;
|
|
40
|
+
isSetupIntent: boolean;
|
|
41
|
+
isRenewal: boolean;
|
|
42
|
+
term: string;
|
|
43
|
+
createdAt: any;
|
|
44
|
+
updatedAt: any;
|
|
45
|
+
completedAt?: any;
|
|
46
|
+
} | undefined;
|
|
47
|
+
mutatePendingPayments: (variables?: Partial<import("../../../graphql.billing.autogenerated").Exact<{
|
|
48
|
+
input: import("../../../graphql.billing.autogenerated").PendingPaymentsInput;
|
|
49
|
+
}>> | undefined) => Promise<import("@apollo/client").ApolloQueryResult<import("../../../graphql.billing.autogenerated").PendingPaymentsQuery>>;
|
|
50
|
+
handleCancelPayment: (id: number) => Promise<void>;
|
|
51
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CheckoutResult, PlanType, Term } from "../../../graphql.billing.autogenerated";
|
|
2
|
+
interface UseSetupPaymentProps {
|
|
3
|
+
workspaceId: number | undefined;
|
|
4
|
+
planType: PlanType;
|
|
5
|
+
term: Term;
|
|
6
|
+
turnstile: string;
|
|
7
|
+
isRenewal?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export default function useSetupPayment({ workspaceId, planType, term, turnstile, isRenewal, }: UseSetupPaymentProps): {
|
|
10
|
+
loading: boolean;
|
|
11
|
+
process: (paymentMethod?: string) => Promise<void>;
|
|
12
|
+
response: CheckoutResult | undefined;
|
|
13
|
+
hasError: boolean;
|
|
14
|
+
};
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { SetupPaymentMethodResult } from "../../../graphql.billing.autogenerated";
|
|
2
|
+
interface UseSetupPaymentMethodProps {
|
|
3
|
+
workspaceId: number | undefined;
|
|
4
|
+
turnstile: string;
|
|
5
|
+
}
|
|
6
|
+
export default function useSetupPaymentMethod({ workspaceId, turnstile, }: UseSetupPaymentMethodProps): {
|
|
7
|
+
loading: boolean;
|
|
8
|
+
process: () => Promise<void>;
|
|
9
|
+
response: SetupPaymentMethodResult | undefined;
|
|
10
|
+
errorCode: "exceeding_updating_payment_method_limit" | undefined;
|
|
11
|
+
};
|
|
12
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function CustomizeDone(): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function NotFoundPage(): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function PendingPayment(): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const openArticleModal: (id: string) => never;
|