@bcrumbs.net/inbox 0.0.63 → 0.0.64

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.
Files changed (63) hide show
  1. package/assets/ar/inbox.json +3 -0
  2. package/assets/en/inbox.json +3 -0
  3. package/e2e/auth.setup.d.ts +1 -0
  4. package/e2e/checkout/checkout.flows.d.ts +18 -0
  5. package/e2e/global.teardown.d.ts +1 -0
  6. package/e2e/support/auth.d.ts +18 -0
  7. package/e2e/support/cleanup.d.ts +20 -0
  8. package/e2e/support/config.d.ts +23 -0
  9. package/e2e/support/fixtures.d.ts +16 -0
  10. package/e2e/support/identifiers.d.ts +13 -0
  11. package/e2e/support/index.d.ts +6 -0
  12. package/index.cjs.js +1286 -376
  13. package/index.esm.js +1288 -379
  14. package/package.json +2 -2
  15. package/playwright.config.d.ts +0 -4
  16. package/src/app/ai/components/playground/ThreadMessages.d.ts +3 -1
  17. package/src/app/auth/components/AcceptInvitation.d.ts +2 -0
  18. package/src/app/auth/components/AuthLanguagePicker.d.ts +3 -0
  19. package/src/app/auth/components/AuthVisualCarousel.d.ts +1 -0
  20. package/src/app/auth/components/ClerkSessionBridge.d.ts +4 -0
  21. package/src/app/auth/config/clerkAppearance.d.ts +153 -49
  22. package/src/app/auth/config/clerkLocalization.d.ts +6 -0
  23. package/src/app/auth/pages/Auth.style.d.ts +14 -0
  24. package/src/app/auth/pages/Login.d.ts +1 -0
  25. package/src/app/billing/pages/GatewayWelcomePage.d.ts +2 -0
  26. package/src/app/billing/pages/GuidePage.d.ts +1 -0
  27. package/src/app/billing/utils/isGatewayPlan.d.ts +2 -0
  28. package/src/app/broadcast/constants.d.ts +2 -0
  29. package/src/app/contact/components/ImportProgressDialog.d.ts +2 -1
  30. package/src/app/generic/hooks/usePaginatedQuery.d.ts +1 -0
  31. package/src/app/inbox/components/Chat/ChatContent.d.ts +3 -1
  32. package/src/app/inbox/components/NewDetails/ContactActionsMenu.d.ts +9 -0
  33. package/src/app/inbox/components/NewDetails/UserHeader.d.ts +2 -1
  34. package/src/app/inbox/components/Shared/SharedStyle.d.ts +8 -0
  35. package/src/app/inbox/hooks/useConvEnhance.d.ts +3 -1
  36. package/src/app/inbox/hooks/useConversationsPerodicFetch.d.ts +7 -0
  37. package/src/app/inbox/utils/convAssistStorage.d.ts +9 -4
  38. package/src/app/inbox/utils/convs.d.ts +4 -0
  39. package/src/app/inbox/utils/sounds.d.ts +2 -0
  40. package/src/app/layout/components/LogoutPopin.d.ts +6 -3
  41. package/src/app/layout/components/language/index.d.ts +5 -1
  42. package/src/app/layout/constants/index.d.ts +35 -0
  43. package/src/app/managemnet/config/webhookDefinition.d.ts +4 -0
  44. package/src/app/managemnet/pages/generalSettings/WritingAssistanceSettings.d.ts +9 -0
  45. package/src/app/managemnet/pages/generalSettings/holidayConstants.d.ts +5 -0
  46. package/src/app/managemnet/pages/generalSettings/writingConstants.d.ts +6 -0
  47. package/src/app/resources/components/Agents/CreateAgent.d.ts +7 -3
  48. package/src/app/resources/components/ListResources/Utils.d.ts +1 -0
  49. package/src/app/subscriptions/components/NewSubscription/SubscriptionSuccess.d.ts +3 -1
  50. package/src/app/subscriptions/components/Plans/PlanCard.d.ts +3 -1
  51. package/src/app/subscriptions/components/Plans/ShowcasePlans.d.ts +3 -1
  52. package/src/app/subscriptions/components/SubscriptionSettings/SubscriptionCreditsCard.d.ts +5 -0
  53. package/src/app/subscriptions/components/SubscriptionSettings/SubscriptionProfile.d.ts +0 -1
  54. package/src/app/subscriptions/components/SubscriptionSettings/SubscriptionUsers.d.ts +0 -1
  55. package/src/app/subscriptions/components/SubscriptionSettings/index.d.ts +17 -2
  56. package/src/app/subscriptions/constants/Plans.d.ts +2 -1
  57. package/src/app/subscriptions/utils/estimateUpgradeProration.d.ts +7 -0
  58. package/src/assets/locales/translations.d.ts +145 -0
  59. package/src/environments/environment.dev.d.ts +2 -0
  60. package/src/environments/types.d.ts +2 -0
  61. package/src/graphql.autogenerated.d.ts +908 -2
  62. package/src/graphql.billing.autogenerated.d.ts +193 -0
  63. package/src/lib/index.d.ts +1 -0
@@ -52,6 +52,13 @@ declare function useConversationsPeriodicFetch(selectedConvId?: string, onSelect
52
52
  replyToContent: string;
53
53
  replyToType: import("../../../graphql.autogenerated").MessageType;
54
54
  } | null | undefined;
55
+ reactions?: {
56
+ __typename?: "MessageReaction" | undefined;
57
+ emoji: string;
58
+ isAgent: boolean;
59
+ agentId?: string | null | undefined;
60
+ createdAt: any;
61
+ }[] | null | undefined;
55
62
  }[] | null | undefined;
56
63
  client?: {
57
64
  __typename?: "ConversationClient" | undefined;
@@ -1,11 +1,16 @@
1
- /** Enhance cache key: workspace + draft only (no conversation). */
2
- export declare function buildEnhanceCacheKey(workspaceId: number, draft: string): string;
1
+ /** Writing settings that affect enhance output (included in cache key). */
2
+ export type EnhanceWritingCacheSettings = {
3
+ readingLevel: string;
4
+ brandVoice: string;
5
+ };
6
+ /** Enhance cache key: workspace + writing settings + draft (no conversation). */
7
+ export declare function buildEnhanceCacheKey(workspaceId: number, draft: string, writingSettings: EnhanceWritingCacheSettings): string;
3
8
  export declare function getPersistedAutoComplete(workspaceId: number, cacheKey: string): string | undefined;
4
9
  export declare function setPersistedAutoComplete(workspaceId: number, cacheKey: string, suffix: string): void;
5
10
  /** Removes all auto-complete entries for a conversation (e.g. when it is closed). */
6
11
  export declare function clearPersistedAutoCompleteForConversation(workspaceId: number, convId: string): void;
7
- export declare function getPersistedEnhance(workspaceId: number, draft: string): string | undefined;
8
- export declare function setPersistedEnhance(workspaceId: number, draft: string, enhancedText: string): void;
12
+ export declare function getPersistedEnhance(workspaceId: number, draft: string, writingSettings: EnhanceWritingCacheSettings): string | undefined;
13
+ export declare function setPersistedEnhance(workspaceId: number, draft: string, writingSettings: EnhanceWritingCacheSettings, enhancedText: string): void;
9
14
  /** Warm in-memory LRU from localStorage (bounded). */
10
15
  export declare function hydrateAutoCompleteMemoryCache(workspaceId: number, memoryCache: {
11
16
  set: (key: string, suffix: string) => void;
@@ -46,6 +46,10 @@ interface BuildLifeCycleMenuOptions {
46
46
  export declare function getNumOfNewClientMessages(messages: Maybe<Message[]> | undefined): number;
47
47
  export declare function getLastMessage(messages: Maybe<Message[]> | undefined, filterFn?: (m: Message) => boolean): Message | undefined;
48
48
  export declare function hashStatuses(messages?: Maybe<Message[]> | null): string;
49
+ /** Include reaction fingerprint so reaction updates remount into chat without a status change. */
50
+ export declare function hashReactions(messages?: Maybe<Message[]> | null): string;
51
+ /** Replace or remove the business-side reaction while keeping the client's. */
52
+ export declare function replaceAgentReaction(reactions: Message['reactions'] | undefined, emoji: string | null, agentId?: string | null): NonNullable<Message['reactions']>;
49
53
  export declare function isOutside24HourWindow(message: Message | null | undefined): boolean;
50
54
  export declare function formatSeconds(value: number): string;
51
55
  type StartedTimeAgoTranslation = (key: string, options?: {
@@ -1,2 +1,4 @@
1
+ export declare function setInboxAudioBaseUrl(baseUrl?: string | null): void;
2
+ export declare function getInboxAudioBaseUrl(): string;
1
3
  export declare function playRecMessageSound(): void;
2
4
  export declare function playSendMessageSound(): void;
@@ -1,3 +1,6 @@
1
- export declare function LogoutPopin({ onClose }: {
2
- onClose: () => void;
3
- }): import("@emotion/react/jsx-runtime").JSX.Element;
1
+ type LogoutPopinProps = {
2
+ open: boolean;
3
+ onOpenChange: (open: boolean) => void;
4
+ };
5
+ export declare function LogoutPopin({ open, onOpenChange }: LogoutPopinProps): import("@emotion/react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -1,2 +1,6 @@
1
- declare function SwitchLanguage(): import("@emotion/react/jsx-runtime").JSX.Element;
1
+ type SwitchLanguageProps = {
2
+ /** White icon + hover when the auth carousel is on screen (1200px+). */
3
+ variant?: 'default' | 'onDark';
4
+ };
5
+ declare function SwitchLanguage({ variant }: SwitchLanguageProps): import("@emotion/react/jsx-runtime").JSX.Element;
2
6
  export default SwitchLanguage;
@@ -1,4 +1,39 @@
1
1
  import { Permission } from '@bcrumbs.net/bc-shared';
2
+ /** Left-nav for Gateway (API template) workspaces — flat, no Management parent. */
3
+ export declare const BCGatewayNavigation: {
4
+ leftLinks: ({
5
+ label: string;
6
+ title: string;
7
+ icon: import("@emotion/react/jsx-runtime").JSX.Element;
8
+ link: string;
9
+ action: string;
10
+ description: string;
11
+ tags: string[];
12
+ requiredPermissions: Permission[];
13
+ matchActive?: undefined;
14
+ } | {
15
+ label: string;
16
+ title: string;
17
+ icon: import("@emotion/react/jsx-runtime").JSX.Element;
18
+ link: string;
19
+ action: string;
20
+ matchActive: boolean;
21
+ description: string;
22
+ tags: string[];
23
+ requiredPermissions: Permission[];
24
+ })[];
25
+ leftBottomLinks: {
26
+ label: string;
27
+ title: string;
28
+ icon: import("@emotion/react/jsx-runtime").JSX.Element;
29
+ link: string;
30
+ action: string;
31
+ tags: string[];
32
+ requiredPermissions: Permission[];
33
+ }[];
34
+ };
35
+ /** Paths that are top-level Gateway nav items (no Management sub-sidebar). */
36
+ export declare function isGatewayFlatNavPath(pathname: string): boolean;
2
37
  export declare const BCMainNavigation: {
3
38
  leftLinks: ({
4
39
  label: string;
@@ -1,4 +1,8 @@
1
1
  import { Webhook } from '../../../graphql.autogenerated';
2
2
  import { ResourceDefinition } from './types';
3
+ export declare function getWebhookEventOptions(isGateway?: boolean): {
4
+ value: string;
5
+ label: string;
6
+ }[];
3
7
  declare const webhookDefinition: ResourceDefinition<Webhook>;
4
8
  export default webhookDefinition;
@@ -0,0 +1,9 @@
1
+ export type WritingAssistanceSettingsProps = {
2
+ loading: boolean;
3
+ writingReadingLevel: string;
4
+ writingBrandVoice: string;
5
+ onReadingLevelChange: (value: string) => void;
6
+ onBrandVoiceChange: (value: string) => void;
7
+ };
8
+ declare const WritingAssistanceSettings: ({ loading, writingReadingLevel, writingBrandVoice, onReadingLevelChange, onBrandVoiceChange, }: WritingAssistanceSettingsProps) => import("@emotion/react/jsx-runtime").JSX.Element;
9
+ export default WritingAssistanceSettings;
@@ -0,0 +1,5 @@
1
+ export declare const HOLIDAY_WEEKDAYS: readonly ["SUN", "MON", "TUE", "WED", "THU", "FRI", "SAT"];
2
+ export type HolidayWeekday = (typeof HOLIDAY_WEEKDAYS)[number];
3
+ export declare const HOLIDAY_TIMEZONES: readonly ["UTC", "America/New_York", "America/Chicago", "America/Denver", "America/Los_Angeles", "America/Phoenix", "America/Sao_Paulo", "America/Manaus", "America/Fortaleza", "Europe/London", "Europe/Paris", "Europe/Berlin", "Europe/Madrid", "Europe/Rome", "Europe/Amsterdam", "Europe/Istanbul", "Asia/Amman", "Asia/Riyadh", "Asia/Dubai", "Asia/Beirut", "Asia/Kuwait", "Asia/Qatar", "Asia/Bahrain", "Asia/Baghdad", "Asia/Jerusalem", "Africa/Cairo", "Africa/Casablanca", "Africa/Algiers", "Africa/Tunis", "Africa/Tripoli"];
4
+ export type HolidayTimezone = (typeof HOLIDAY_TIMEZONES)[number];
5
+ export declare const DEFAULT_HOLIDAY_TIMEZONE: HolidayTimezone;
@@ -0,0 +1,6 @@
1
+ export declare const WRITING_READING_LEVELS: readonly ["SIMPLE", "STANDARD", "TECHNICAL"];
2
+ export type WritingReadingLevelOption = (typeof WRITING_READING_LEVELS)[number];
3
+ export declare const DEFAULT_WRITING_READING_LEVEL: WritingReadingLevelOption;
4
+ export declare const WRITING_BRAND_VOICES: readonly ["FRIENDLY", "FORMAL", "EMPATHETIC", "CONCISE", "ENTHUSIASTIC", "PLAYFUL"];
5
+ export type WritingBrandVoiceOption = (typeof WRITING_BRAND_VOICES)[number];
6
+ export declare const DEFAULT_WRITING_BRAND_VOICE: WritingBrandVoiceOption;
@@ -1,3 +1,7 @@
1
- export declare const companyUsersQueryOptions: any;
2
- declare const _default: any;
3
- export default _default;
1
+ import { Agent } from '../../../../graphql.autogenerated';
2
+ import { ResourceDefinition } from '../../config';
3
+ type CreateAgentProps = {
4
+ resourceDef: ResourceDefinition<Agent>;
5
+ };
6
+ declare const CreateAgent: ({ resourceDef }: CreateAgentProps) => import("@emotion/react/jsx-runtime").JSX.Element;
7
+ export default CreateAgent;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { TFunction } from "i18next";
2
3
  import { Row, Action } from "@bcrumbs.net/bc-ui";
3
4
  import { ResourceDefinition } from "../../config";
@@ -3,6 +3,8 @@ type SubscriptionSuccessProps = {
3
3
  workspaceId?: number;
4
4
  /** When false, copy reflects activation without a payment (free plan). */
5
5
  paid?: boolean;
6
+ /** Gateway workspaces continue to Guide instead of Inbox. */
7
+ gateway?: boolean;
6
8
  };
7
- export declare const SubscriptionSuccess: ({ workspaceId, paid }: SubscriptionSuccessProps) => import("@emotion/react/jsx-runtime").JSX.Element;
9
+ export declare const SubscriptionSuccess: ({ workspaceId, paid, gateway }: SubscriptionSuccessProps) => import("@emotion/react/jsx-runtime").JSX.Element;
8
10
  export default SubscriptionSuccess;
@@ -9,5 +9,7 @@ export type PlanCardProps = {
9
9
  loading?: boolean;
10
10
  processing?: boolean;
11
11
  available?: boolean;
12
+ /** Stable hook for tests (e.g. `plan-choose-free`). */
13
+ testId?: string;
12
14
  };
13
- export declare function PlanCard({ name, price, subtitle, features, isCurrent, isPopular, onChoose, loading, processing, available, }: PlanCardProps): import("@emotion/react/jsx-runtime").JSX.Element;
15
+ export declare function PlanCard({ name, price, subtitle, features, isCurrent, isPopular, onChoose, loading, processing, available, testId, }: PlanCardProps): import("@emotion/react/jsx-runtime").JSX.Element;
@@ -3,6 +3,8 @@ import { PlanType, Term } from '../../../../graphql.billing.autogenerated';
3
3
  type ShowcasePlansProps = {
4
4
  onPlanPicked: (plan: PlanTypes, term: Term, includeAi: boolean) => void;
5
5
  disableFreePlan?: boolean;
6
+ /** Show prepaid WhatsApp API Gateway plan (free → gateway only). */
7
+ showGatewayPlan?: boolean;
6
8
  currentPlanType?: PlanType | null;
7
9
  /** The billing term the user is currently subscribed to */
8
10
  currentTerm?: Term | null;
@@ -13,5 +15,5 @@ type ShowcasePlansProps = {
13
15
  /** Force the Crumby AI plan toggle on (e.g. deep-link from upgrade CTA). */
14
16
  defaultIncludeAi?: boolean;
15
17
  };
16
- export declare const ShowcasePlans: ({ onPlanPicked, disableFreePlan, currentPlanType, currentTerm, selectingPlan, processing, loadingPlanType, defaultIncludeAi, }: ShowcasePlansProps) => import("@emotion/react/jsx-runtime").JSX.Element;
18
+ export declare const ShowcasePlans: ({ onPlanPicked, disableFreePlan, showGatewayPlan, currentPlanType, currentTerm, selectingPlan, processing, loadingPlanType, defaultIncludeAi, }: ShowcasePlansProps) => import("@emotion/react/jsx-runtime").JSX.Element;
17
19
  export default ShowcasePlans;
@@ -0,0 +1,5 @@
1
+ type SubscriptionCreditsCardProps = {
2
+ workspaceId: number;
3
+ };
4
+ declare const SubscriptionCreditsCard: ({ workspaceId }: SubscriptionCreditsCardProps) => import("@emotion/react/jsx-runtime").JSX.Element | null;
5
+ export default SubscriptionCreditsCard;
@@ -4,7 +4,6 @@ type SubscriptionProfileRouteProps = {
4
4
  subscriptionAccountId: string;
5
5
  subscriptionCreateDate: string;
6
6
  onUpdate: () => any;
7
- updateCompany: (id: string, name: string) => any;
8
7
  config: any;
9
8
  isEditing: boolean;
10
9
  onSave?: (name: string) => Promise<void>;
@@ -5,7 +5,6 @@ type SubscriptionProfileRouteProps = {
5
5
  refetchUsers: any;
6
6
  loadingUsers: boolean;
7
7
  inviteUser: (companyId: number, Email: string, actorEmail: string) => Promise<unknown>;
8
- removeUserFromCompany: (companyId: number, userId: string) => Promise<unknown>;
9
8
  };
10
9
  export declare const SubscriptionUsers: (props: SubscriptionProfileRouteProps) => import("@emotion/react/jsx-runtime").JSX.Element;
11
10
  declare const _default: any;
@@ -4,11 +4,26 @@ export type WorkspaceCompany = {
4
4
  AccountId?: string | null;
5
5
  CreateDate?: string | null;
6
6
  };
7
+ export type InviteStatus = 'PENDING' | 'APPROVED';
8
+ /** Legacy Membership user shape still expected by SubscriptionUsers / agent pickers. */
9
+ export type CompanyUserRow = {
10
+ Id: string;
11
+ Email?: string | null;
12
+ UserName?: string | null;
13
+ IsEnabled?: boolean;
14
+ inviteStatus?: InviteStatus;
15
+ };
16
+ interface Props {
17
+ companies: WorkspaceCompany[];
18
+ subscriptionId?: string | number;
19
+ refetchCompanies: () => Promise<unknown>;
20
+ loadingCompanies?: boolean;
21
+ }
7
22
  export declare enum TABS {
8
23
  PROFILE = "PROFILE",
9
24
  USERS = "USERS",
10
25
  INTEGRATIONS = "INTEGRATIONS",
11
26
  BILLING = "BILLING"
12
27
  }
13
- declare const _default: any;
14
- export default _default;
28
+ declare const SubscriptionSettings: ({ subscriptionId, refetchCompanies, companies, loadingCompanies, }: Props) => import("@emotion/react/jsx-runtime").JSX.Element;
29
+ export default SubscriptionSettings;
@@ -15,7 +15,8 @@ export declare enum PlanTypes {
15
15
  AUTOMATE = "automate",
16
16
  AUTOMATE_PLUS = "automate_plus",
17
17
  AUTOMATE_MAX = "automate_max",
18
- CUSTOM = "custom"
18
+ CUSTOM = "custom",
19
+ GATEWAY = "gateway"
19
20
  }
20
21
  export declare const PlanPrices: {
21
22
  [key in PlanTypes]: number;
@@ -5,6 +5,13 @@ export type UpgradeProrationEstimate = {
5
5
  chargeAmount: number;
6
6
  remainingDays: number;
7
7
  };
8
+ /** True when the target plan/term costs more than the current one for the billing period. */
9
+ export declare function isHigherPricedPlan(params: {
10
+ currentPlanType: PlanType;
11
+ currentTerm: Term;
12
+ targetPlanType: PlanType;
13
+ targetTerm: Term;
14
+ }): boolean;
8
15
  /**
9
16
  * Estimates Polar-style mid-cycle upgrade charge:
10
17
  * (newPeriodPrice − currentPeriodPrice) × remainingFraction, floored at 0.
@@ -27,6 +27,8 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
27
27
  signUpSubtitle: string;
28
28
  signUpGoogle: string;
29
29
  signUpFacebook: string;
30
+ continueWithGoogle: string;
31
+ continueWithFacebook: string;
30
32
  registerPanelTitle: string;
31
33
  registerPanelDescription: string;
32
34
  welcomeToBC: string;
@@ -38,8 +40,12 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
38
40
  login: string;
39
41
  register: string;
40
42
  loginFailed: string;
43
+ incorrectPassword: string;
41
44
  registerFailed: string;
42
45
  invitationLinkNotExists: string;
46
+ invitationInvalid: string;
47
+ invitationApproving: string;
48
+ invitationApproved: string;
43
49
  emailUsed: string;
44
50
  createFreeAccount: string;
45
51
  name: string;
@@ -132,6 +138,35 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
132
138
  conversationFeature: string;
133
139
  campaignFeature: string;
134
140
  userFeature: string;
141
+ gatewayPkgTitle: string;
142
+ gatewayPkgSubtitle: string;
143
+ gatewayFeatureApi: string;
144
+ gatewayFeatureCredits: string;
145
+ gatewayFeatureWebhooks: string;
146
+ };
147
+ gatewayWelcome: {
148
+ title: string;
149
+ description: string;
150
+ continueToGuide: string;
151
+ };
152
+ gatewayGuide: {
153
+ title: string;
154
+ subtitle: string;
155
+ requiredSetup: string;
156
+ stepConnectChannel: string;
157
+ openChannels: string;
158
+ stepApiKey: string;
159
+ openApiKeys: string;
160
+ stepBuyCredits: string;
161
+ stepTemplates: string;
162
+ openTemplates: string;
163
+ integrateTitle: string;
164
+ integrateAuthBefore: string;
165
+ integrateAuthAfter: string;
166
+ copyCode: string;
167
+ copied: string;
168
+ codeCopied: string;
169
+ codeCopyFailed: string;
135
170
  };
136
171
  billingDone: {
137
172
  title: string;
@@ -156,6 +191,10 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
156
191
  subscriptionCancelledDescription: string;
157
192
  backToInbox: string;
158
193
  backToBilling: string;
194
+ creditsPurchased: string;
195
+ creditsPurchasedDescription: string;
196
+ viewCredits: string;
197
+ openGuide: string;
159
198
  };
160
199
  profile: {
161
200
  passwordUpdated: string;
@@ -187,6 +226,7 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
187
226
  successSubtitle: string;
188
227
  successSubtitleFree: string;
189
228
  goToInbox: string;
229
+ continue: string;
190
230
  failedTitle: string;
191
231
  failedSubtitle: string;
192
232
  tryAgain: string;
@@ -216,6 +256,9 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
216
256
  loadingUsage: string;
217
257
  inviteUserSuccess: string;
218
258
  userAddedSuccess: string;
259
+ revokeInviteSuccess: string;
260
+ revokeInviteTitle: string;
261
+ revokeInviteConfirmation: string;
219
262
  removeUserConfirmation: string;
220
263
  removeUserTitle: string;
221
264
  removeUserSuccess: string;
@@ -233,6 +276,10 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
233
276
  usersTableName: string;
234
277
  usersTableEmail: string;
235
278
  usersTableRole: string;
279
+ usersTableStatus: string;
280
+ inviteStatusPending: string;
281
+ inviteStatusApproved: string;
282
+ inviteStatusActive: string;
236
283
  ownerRole: string;
237
284
  adminRole: string;
238
285
  managerRole: string;
@@ -248,6 +295,20 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
248
295
  copyWorkspaceId: string;
249
296
  upgradePlan: string;
250
297
  planUpdatedSuccessfully: string;
298
+ checkoutStartFailed: string;
299
+ creditsSection: string;
300
+ gatewayCreditsRemaining: string;
301
+ gatewayMessages: string;
302
+ gatewayCredits: string;
303
+ gatewayCreditsHint: string;
304
+ buyCredits: string;
305
+ buyingCredits: string;
306
+ buyCreditPack: string;
307
+ upgradeChargeConfirmTitle: string;
308
+ upgradeChargeConfirmDescription: string;
309
+ upgradeChargeConfirmDescriptionWithAmount: string;
310
+ upgradeChargeConfirm: string;
311
+ downgradeConfirmDescription: string;
251
312
  cancelSubscription: string;
252
313
  cancelSubscriptionConfirmTitle: string;
253
314
  cancelSubscriptionConfirmDescription: string;
@@ -828,6 +889,12 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
828
889
  menu_search: string;
829
890
  menu_broadcasts: string;
830
891
  menu_settings: string;
892
+ menu_credits: string;
893
+ menu_guide: string;
894
+ menu_delivery_report: string;
895
+ menu_channels: string;
896
+ menu_api_keys: string;
897
+ menu_webhooks: string;
831
898
  menu_contact: string;
832
899
  menu_list: string;
833
900
  menu_create: string;
@@ -960,6 +1027,8 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
960
1027
  exportingClients: string;
961
1028
  exportCompleted: string;
962
1029
  exportFailed: string;
1030
+ exportCancelled: string;
1031
+ exportCancelledDescription: string;
963
1032
  noContactsToExport: string;
964
1033
  selectedLifecycle: string;
965
1034
  active: string;
@@ -988,6 +1057,8 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
988
1057
  general_settings: {
989
1058
  title: string;
990
1059
  description: string;
1060
+ conversationSettingsTitle: string;
1061
+ holidaySettingsTitle: string;
991
1062
  endConvTime: string;
992
1063
  select_time: string;
993
1064
  endConvTimeNote: string;
@@ -1000,8 +1071,82 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
1000
1071
  "8_hours": string;
1001
1072
  "24_hours": string;
1002
1073
  "2_days": string;
1074
+ "3_days": string;
1075
+ "4_days": string;
1076
+ "5_days": string;
1077
+ "6_days": string;
1003
1078
  "1_week": string;
1004
1079
  };
1080
+ holidayWeekdays: string;
1081
+ selectHolidayWeekdays: string;
1082
+ holidayWeekdaysNote: string;
1083
+ holidayTimezone: string;
1084
+ selectHolidayTimezone: string;
1085
+ holidayTimezoneNote: string;
1086
+ holidayMessage: string;
1087
+ holidayMessagePlaceholder: string;
1088
+ holidayMessageNote: string;
1089
+ writingAssistanceTitle: string;
1090
+ writingReadingLevel: string;
1091
+ selectWritingReadingLevel: string;
1092
+ writingReadingLevelNote: string;
1093
+ writingBrandVoice: string;
1094
+ selectWritingBrandVoice: string;
1095
+ writingBrandVoiceNote: string;
1096
+ writingReadingLevels: {
1097
+ SIMPLE: string;
1098
+ STANDARD: string;
1099
+ TECHNICAL: string;
1100
+ };
1101
+ writingBrandVoices: {
1102
+ FRIENDLY: string;
1103
+ FORMAL: string;
1104
+ EMPATHETIC: string;
1105
+ CONCISE: string;
1106
+ ENTHUSIASTIC: string;
1107
+ PLAYFUL: string;
1108
+ };
1109
+ weekdays: {
1110
+ SUN: string;
1111
+ MON: string;
1112
+ TUE: string;
1113
+ WED: string;
1114
+ THU: string;
1115
+ FRI: string;
1116
+ SAT: string;
1117
+ };
1118
+ timezones: {
1119
+ UTC: string;
1120
+ America_New_York: string;
1121
+ America_Chicago: string;
1122
+ America_Denver: string;
1123
+ America_Los_Angeles: string;
1124
+ America_Phoenix: string;
1125
+ America_Sao_Paulo: string;
1126
+ America_Manaus: string;
1127
+ America_Fortaleza: string;
1128
+ Europe_London: string;
1129
+ Europe_Paris: string;
1130
+ Europe_Berlin: string;
1131
+ Europe_Madrid: string;
1132
+ Europe_Rome: string;
1133
+ Europe_Amsterdam: string;
1134
+ Europe_Istanbul: string;
1135
+ Asia_Amman: string;
1136
+ Asia_Riyadh: string;
1137
+ Asia_Dubai: string;
1138
+ Asia_Beirut: string;
1139
+ Asia_Kuwait: string;
1140
+ Asia_Qatar: string;
1141
+ Asia_Bahrain: string;
1142
+ Asia_Baghdad: string;
1143
+ Asia_Jerusalem: string;
1144
+ Africa_Cairo: string;
1145
+ Africa_Casablanca: string;
1146
+ Africa_Algiers: string;
1147
+ Africa_Tunis: string;
1148
+ Africa_Tripoli: string;
1149
+ };
1005
1150
  };
1006
1151
  };
1007
1152
  contactLifeCycle: {
@@ -0,0 +1,2 @@
1
+ import { Environment } from "./types";
2
+ export declare const environment: Environment;
@@ -22,4 +22,6 @@ export type Environment = {
22
22
  authProvider?: AuthProvider;
23
23
  /** Required when authProvider is 'clerk'. Publishable key only — never the secret. */
24
24
  clerkPublishableKey?: string;
25
+ /** When false, PostHog does not capture events or session recordings. */
26
+ enablePosthog?: boolean;
25
27
  };