@bcrumbs.net/inbox 0.0.63 → 0.0.65

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 (189) hide show
  1. package/assets/ar/inbox.json +40 -6
  2. package/assets/en/inbox.json +40 -6
  3. package/e2e/auth.setup.d.ts +1 -0
  4. package/e2e/checkout/checkout.flows.d.ts +24 -0
  5. package/e2e/global.teardown.d.ts +1 -0
  6. package/e2e/support/auth.d.ts +22 -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 +39202 -1083
  13. package/index.esm.js +39206 -1088
  14. package/package.json +2 -2
  15. package/playwright.config.d.ts +0 -4
  16. package/src/app/ai/components/Crumby/CrumbyChatError.d.ts +9 -0
  17. package/src/app/ai/components/Crumby/CrumbyChatErrorBoundary.d.ts +13 -0
  18. package/src/app/ai/components/Crumby/CrumbyHeader.d.ts +9 -0
  19. package/src/app/ai/components/Crumby/CrumbyPageContext.d.ts +22 -0
  20. package/src/app/ai/components/Crumby/CrumbyRuntimeProvider.d.ts +9 -0
  21. package/src/app/ai/components/CrumbySettings/CrumbyEditsBanner.d.ts +14 -0
  22. package/src/app/ai/components/CrumbySettings/VoiceSettingsSection.d.ts +9 -0
  23. package/src/app/ai/components/playground/Button.d.ts +1 -1
  24. package/src/app/ai/components/playground/ThreadMessages.d.ts +3 -1
  25. package/src/app/ai/components/playground/TooltipIconButton.d.ts +1 -1
  26. package/src/app/ai/components/sources/mediaTypeForFile.d.ts +8 -0
  27. package/src/app/ai/config/promptSettings.d.ts +31 -0
  28. package/src/app/ai/hooks/usePromptCopilot.d.ts +22 -0
  29. package/src/app/ai/tools/PromptEditorTool.d.ts +2 -0
  30. package/src/app/ai/types/index.d.ts +1 -1
  31. package/src/app/ai/utils/clientToolResubmit.d.ts +8 -0
  32. package/src/app/ai/utils/crumbyChatFetch.d.ts +15 -0
  33. package/src/app/auth/components/AcceptInvitation.d.ts +2 -0
  34. package/src/app/auth/components/AuthLanguagePicker.d.ts +3 -0
  35. package/src/app/auth/components/AuthVisualCarousel.d.ts +1 -0
  36. package/src/app/auth/components/ClerkSessionBridge.d.ts +4 -0
  37. package/src/app/auth/components/password-page/AuthPasswordPageLayout.d.ts +3 -1
  38. package/src/app/auth/components/password-page/PasswordSuccessView.d.ts +2 -1
  39. package/src/app/auth/config/authProvider.d.ts +20 -2
  40. package/src/app/auth/config/clerkAppearance.d.ts +152 -49
  41. package/src/app/auth/config/clerkLocalization.d.ts +6 -0
  42. package/src/app/auth/pages/Auth.style.d.ts +14 -0
  43. package/src/app/auth/pages/Login.d.ts +2 -1
  44. package/src/app/auth/pages/Register.d.ts +1 -0
  45. package/src/app/billing/pages/GatewayWelcomePage.d.ts +5 -0
  46. package/src/app/billing/utils/isGatewayPlan.d.ts +2 -0
  47. package/src/app/broadcast/components/BroadcastAnalysisReciepientsHeader.d.ts +2 -1
  48. package/src/app/broadcast/components/BroadcastDetailsSection.d.ts +3 -1
  49. package/src/app/broadcast/constants.d.ts +2 -0
  50. package/src/app/dashboard/components/AgentCard.d.ts +2 -1
  51. package/src/app/dashboard/components/AgentsCard.d.ts +4 -2
  52. package/src/app/dashboard/components/BroadcastDashboard.d.ts +3 -1
  53. package/src/app/dashboard/components/ChatsByLifeCycleCard.d.ts +13 -0
  54. package/src/app/dashboard/components/DashboardFilters.d.ts +27 -0
  55. package/src/app/dashboard/components/DashboardPdfCaptureArea.d.ts +11 -0
  56. package/src/app/dashboard/components/DashboardPdfExportButton.d.ts +7 -0
  57. package/src/app/dashboard/components/DashboardPdfHeader.d.ts +11 -0
  58. package/src/app/dashboard/components/DashboardSections.d.ts +7 -2
  59. package/src/app/dashboard/components/InboxDashboard.d.ts +3 -1
  60. package/src/app/dashboard/hooks/useDashboardPdfMeta.d.ts +31 -0
  61. package/src/app/dashboard/hooks/useDashboardTabsPdfExport.d.ts +26 -0
  62. package/src/app/dashboard/utils/dashboardReportExports.d.ts +16 -1
  63. package/src/app/dashboard/utils/exportDashboardPdf.d.ts +19 -0
  64. package/src/app/dashboard/utils/lifecycleStages.d.ts +53 -0
  65. package/src/app/dashboard/utils/reportHelpers.d.ts +9 -0
  66. package/src/app/gatewayHome/components/ChecklistStep.d.ts +15 -0
  67. package/src/app/gatewayHome/components/CreditBalanceCard.d.ts +6 -0
  68. package/src/app/gatewayHome/components/MessageStats.d.ts +5 -0
  69. package/src/app/gatewayHome/components/SetupChecklist.d.ts +11 -0
  70. package/src/app/gatewayHome/components/console/QuickstartConsole.d.ts +11 -0
  71. package/src/app/gatewayHome/components/console/RunRequestBar.d.ts +15 -0
  72. package/src/app/gatewayHome/components/console/consoleStyles.d.ts +77 -0
  73. package/src/app/gatewayHome/components/steps/ApiKeyStepBody.d.ts +8 -0
  74. package/src/app/gatewayHome/components/steps/ChannelStepBody.d.ts +3 -0
  75. package/src/app/gatewayHome/components/steps/MetaStepBody.d.ts +6 -0
  76. package/src/app/gatewayHome/components/steps/WebhookStepBody.d.ts +7 -0
  77. package/src/app/gatewayHome/components/styles.d.ts +29 -0
  78. package/src/app/gatewayHome/config/constants.d.ts +22 -0
  79. package/src/app/gatewayHome/hooks/useGatewaySetup.d.ts +59 -0
  80. package/src/app/gatewayHome/hooks/useMessageStats.d.ts +17 -0
  81. package/src/app/gatewayHome/hooks/useQuickstartRequest.d.ts +31 -0
  82. package/src/app/gatewayHome/hooks/useSendableTemplates.d.ts +9 -0
  83. package/src/app/gatewayHome/pages/GatewayHomePage.d.ts +1 -0
  84. package/src/app/gatewayHome/types/index.d.ts +21 -0
  85. package/src/app/gatewayHome/utils/buildRequestBody.d.ts +7 -0
  86. package/src/app/gatewayHome/utils/buildSnippet.d.ts +9 -0
  87. package/src/app/gatewayHome/utils/sendTestMessage.d.ts +3 -0
  88. package/src/app/gatewayHome/utils/setupStorage.d.ts +8 -0
  89. package/src/app/gatewayHome/utils/templateHasParameters.d.ts +6 -0
  90. package/src/app/generic/components/HeaderImageInput.d.ts +3 -1
  91. package/src/app/generic/components/MessagePreview.d.ts +1 -1
  92. package/src/app/generic/components/PreviewHeaderDocument.d.ts +5 -0
  93. package/src/app/generic/hooks/usePaginatedQuery.d.ts +1 -0
  94. package/src/app/generic/utils/chunkErrorRecovery.d.ts +7 -0
  95. package/src/app/generic/utils/onesignal.d.ts +13 -0
  96. package/src/app/inbox/calls/useIncomingCallAlerts.d.ts +2 -0
  97. package/src/app/inbox/components/Calls/ActiveCallControls.d.ts +6 -0
  98. package/src/app/inbox/components/Calls/IncomingCallBanner.d.ts +6 -0
  99. package/src/app/inbox/components/Chat/ChatContent.d.ts +3 -1
  100. package/src/app/inbox/components/Chat/QuickReplyEmpty.d.ts +5 -0
  101. package/src/app/inbox/components/Chat/QuickReplyPickerMenu.d.ts +2 -2
  102. package/src/app/inbox/components/NewDetails/ClientSection.d.ts +3 -1
  103. package/src/app/inbox/components/NewDetails/ContactActionsMenu.d.ts +9 -0
  104. package/src/app/inbox/components/NewDetails/SuggestedAssignee.d.ts +7 -0
  105. package/src/app/inbox/components/NewDetails/SuggestedStage.d.ts +13 -0
  106. package/src/app/inbox/components/NewDetails/SuggestedTags.d.ts +18 -0
  107. package/src/app/inbox/components/NewDetails/SuggestionItems.d.ts +16 -0
  108. package/src/app/inbox/components/NewDetails/UserHeader.d.ts +2 -1
  109. package/src/app/inbox/components/Shared/SharedStyle.d.ts +8 -0
  110. package/src/app/inbox/constants/index.d.ts +1 -0
  111. package/src/app/inbox/context/CallSession.d.ts +16 -0
  112. package/src/app/inbox/context/SuggestionsContext.d.ts +25 -0
  113. package/src/app/inbox/hooks/useAgentSuggestions.d.ts +20 -0
  114. package/src/app/inbox/hooks/useApplySuggestion.d.ts +18 -0
  115. package/src/app/inbox/hooks/useConvEnhance.d.ts +3 -1
  116. package/src/app/inbox/hooks/useConversationsPerodicFetch.d.ts +37 -0
  117. package/src/app/inbox/hooks/useIncomingCallAlerts.d.ts +2 -0
  118. package/src/app/inbox/hooks/useNewSortedEvents.d.ts +1 -1
  119. package/src/app/inbox/hooks/useQuickReplyPicker.d.ts +5 -3
  120. package/src/app/inbox/pages/InboxPage.d.ts +1 -1
  121. package/src/app/inbox/utils/callUi.d.ts +25 -0
  122. package/src/app/inbox/utils/convAssistStorage.d.ts +9 -4
  123. package/src/app/inbox/utils/convSuggestions.d.ts +59 -0
  124. package/src/app/inbox/utils/convSuggestionsStorage.d.ts +20 -0
  125. package/src/app/inbox/utils/convs.d.ts +4 -0
  126. package/src/app/inbox/utils/sounds.d.ts +4 -0
  127. package/src/app/layout/components/LogoutPopin.d.ts +6 -3
  128. package/src/app/layout/components/language/index.d.ts +5 -1
  129. package/src/app/layout/constants/index.d.ts +35 -0
  130. package/src/app/layout/hooks/useCallsEnabled.d.ts +1 -0
  131. package/src/app/layout/hooks/useGatewayPlanEnabled.d.ts +5 -0
  132. package/src/app/layout/hooks/useWebchatEnabled.d.ts +5 -0
  133. package/src/app/managemnet/components/channels/ChannelItem.d.ts +2 -1
  134. package/src/app/managemnet/components/channels/ChannelSettingsDrawer.d.ts +15 -0
  135. package/src/app/managemnet/components/channels/ShareChannelLinkDialog.d.ts +11 -0
  136. package/src/app/managemnet/components/channels/WebChatSnippetBlock.d.ts +7 -0
  137. package/src/app/managemnet/config/webchat.d.ts +5 -0
  138. package/src/app/managemnet/config/webhookDefinition.d.ts +4 -0
  139. package/src/app/managemnet/pages/connectChannel/ConnectChannel.d.ts +2 -0
  140. package/src/app/managemnet/pages/generalSettings/NoiseFilterSettings.d.ts +8 -0
  141. package/src/app/managemnet/pages/generalSettings/WritingAssistanceSettings.d.ts +9 -0
  142. package/src/app/managemnet/pages/generalSettings/holidayConstants.d.ts +5 -0
  143. package/src/app/managemnet/pages/generalSettings/noiseFilterConstants.d.ts +24 -0
  144. package/src/app/managemnet/pages/generalSettings/writingConstants.d.ts +6 -0
  145. package/src/app/managemnet/utils/webChatSnippet.d.ts +2 -0
  146. package/src/app/onboarding/components/OnboardingView.d.ts +3 -1
  147. package/src/app/onboarding/components/useOnboardingChecklist.d.ts +12 -9
  148. package/src/app/onboarding/constants/workspaceProfileOptions.d.ts +30 -0
  149. package/src/app/onboarding/utils/onboardingApi.d.ts +23 -0
  150. package/src/app/onboarding/utils/onboardingChecklistStorage.d.ts +42 -49
  151. package/src/app/resources/components/Agents/CreateAgent.d.ts +7 -3
  152. package/src/app/resources/components/Integrations/ChannelDialogLayout.d.ts +6 -1
  153. package/src/app/resources/components/Integrations/RenderCorrectIntegrationFlow.d.ts +3 -1
  154. package/src/app/resources/components/Integrations/WebChat/index.d.ts +8 -0
  155. package/src/app/resources/components/Integrations/WhatsApp/index.d.ts +1 -0
  156. package/src/app/resources/components/ListResources/Utils.d.ts +1 -0
  157. package/src/app/resources/hooks/useFBPagesHook.d.ts +4 -2
  158. package/src/app/resources/hooks/useWabaHook.d.ts +5 -4
  159. package/src/app/resources/utils/channelSetupTracking.d.ts +21 -0
  160. package/src/app/resources/utils/facebookSdk.d.ts +11 -0
  161. package/src/app/subscriptions/components/NewSubscription/OnboardingStepper.d.ts +2 -2
  162. package/src/app/subscriptions/components/NewSubscription/SubscriptionName.d.ts +2 -0
  163. package/src/app/subscriptions/components/NewSubscription/SubscriptionSuccess.d.ts +3 -1
  164. package/src/app/subscriptions/components/NewSubscription/WorkspaceProfile.d.ts +18 -0
  165. package/src/app/subscriptions/components/NewSubscription/WorkspaceStepLayout.d.ts +5 -2
  166. package/src/app/subscriptions/components/Plans/PlanCard.d.ts +3 -1
  167. package/src/app/subscriptions/components/Plans/ShowcasePlans.d.ts +3 -1
  168. package/src/app/subscriptions/components/SubscriptionSettings/SubscriptionCreditsCard.d.ts +5 -0
  169. package/src/app/subscriptions/components/SubscriptionSettings/SubscriptionProfile.d.ts +0 -1
  170. package/src/app/subscriptions/components/SubscriptionSettings/SubscriptionUsers.d.ts +0 -1
  171. package/src/app/subscriptions/components/SubscriptionSettings/index.d.ts +17 -2
  172. package/src/app/subscriptions/constants/Plans.d.ts +2 -1
  173. package/src/app/subscriptions/hooks/useWorkspaceProfileSubmit.d.ts +12 -0
  174. package/src/app/subscriptions/utils/estimateUpgradeProration.d.ts +7 -0
  175. package/src/app/subscriptions/utils/newWorkspaceContext.d.ts +8 -0
  176. package/src/assets/locales/translations.d.ts +444 -0
  177. package/src/config/constants.d.ts +1 -2
  178. package/src/environments/environment.dev.d.ts +2 -0
  179. package/src/environments/types.d.ts +2 -0
  180. package/src/graphql.autogenerated.d.ts +2718 -22
  181. package/src/graphql.billing.autogenerated.d.ts +193 -0
  182. package/src/lib/index.d.ts +1 -0
  183. package/src/testUtils/bcUiMock.d.ts +16 -0
  184. package/src/utils/colorPool.d.ts +1 -2
  185. package/src/utils/getActiveChannelList.d.ts +6 -1
  186. package/src/utils/globalHelper.d.ts +22 -0
  187. package/src/app/contact/components/ImportProgressDialog.d.ts +0 -13
  188. package/src/app/managemnet/components/channels/EditChannelDialog.d.ts +0 -11
  189. package/src/app/onboarding/utils/onboardingChecklistPersistence.d.ts +0 -18
@@ -1,10 +1,11 @@
1
1
  /**
2
- * Clerk UI theme aligned with legacy auth pages (Poppins + legacy type scale).
2
+ * Clerk UI theme aligned with legacy auth pages.
3
+ * Uses --bc-font-stack-poppins so Arabic (lang=ar) swaps to AvenirArabic.
3
4
  */
4
5
  export declare const clerkAppearance: {
5
6
  variables: {
6
- fontFamily: string;
7
- fontFamilyButtons: string;
7
+ fontFamily: "var(--fontFamily-poppins)";
8
+ fontFamilyButtons: "var(--fontFamily-poppins)";
8
9
  fontSize: string;
9
10
  colorPrimary: string;
10
11
  colorTextOnPrimaryBackground: string;
@@ -23,7 +24,7 @@ export declare const clerkAppearance: {
23
24
  card: {
24
25
  boxShadow: string;
25
26
  width: string;
26
- fontFamily: string;
27
+ fontFamily: "var(--fontFamily-poppins)";
27
28
  paddingTop: string;
28
29
  paddingBottom: string;
29
30
  };
@@ -32,32 +33,51 @@ export declare const clerkAppearance: {
32
33
  paddingTop: string;
33
34
  };
34
35
  headerTitle: {
35
- fontFamily: string;
36
+ fontFamily: "var(--fontFamily-poppins)";
36
37
  fontSize: string;
37
38
  fontWeight: string;
38
39
  lineHeight: string;
39
40
  color: string;
40
41
  };
41
42
  headerSubtitle: {
42
- fontFamily: string;
43
+ fontFamily: "var(--fontFamily-poppins)";
43
44
  fontSize: string;
44
45
  fontWeight: string;
45
46
  lineHeight: string;
46
47
  color: string;
47
48
  };
48
49
  formFieldLabel: {
49
- fontFamily: string;
50
+ fontFamily: "var(--fontFamily-poppins)";
50
51
  fontSize: string;
51
52
  fontWeight: string;
52
53
  color: string;
53
54
  };
54
55
  formFieldInput: {
55
- fontFamily: string;
56
+ fontFamily: "var(--fontFamily-poppins)";
56
57
  fontSize: string;
57
58
  fontWeight: string;
59
+ height: string;
60
+ minHeight: string;
61
+ padding: string;
62
+ borderRadius: string;
63
+ border: string;
64
+ backgroundColor: string;
65
+ color: string;
66
+ boxShadow: string;
67
+ '&:focus': {
68
+ borderColor: string;
69
+ boxShadow: string;
70
+ outline: string;
71
+ };
72
+ '&:hover': {
73
+ borderColor: string;
74
+ };
75
+ };
76
+ formFieldInputShowPasswordButton: {
77
+ color: string;
58
78
  };
59
79
  formButtonPrimary: {
60
- fontFamily: string;
80
+ fontFamily: "var(--fontFamily-poppins)";
61
81
  fontSize: string;
62
82
  fontWeight: string;
63
83
  lineHeight: string;
@@ -81,11 +101,14 @@ export declare const clerkAppearance: {
81
101
  backgroundColor: string;
82
102
  };
83
103
  };
104
+ buttonArrowIcon: {
105
+ display: string;
106
+ };
84
107
  socialButtons: {
85
108
  gap: string;
86
109
  };
87
110
  socialButtonsBlockButton: {
88
- fontFamily: string;
111
+ fontFamily: "var(--fontFamily-poppins)";
89
112
  fontSize: string;
90
113
  fontWeight: string;
91
114
  lineHeight: string;
@@ -104,7 +127,7 @@ export declare const clerkAppearance: {
104
127
  };
105
128
  };
106
129
  socialButtonsBlockButtonText: {
107
- fontFamily: string;
130
+ fontFamily: "var(--fontFamily-poppins)";
108
131
  fontSize: string;
109
132
  fontWeight: string;
110
133
  };
@@ -112,28 +135,40 @@ export declare const clerkAppearance: {
112
135
  width: string;
113
136
  height: string;
114
137
  };
138
+ lastAuthenticationStrategyBadge: {
139
+ fontFamily: "var(--fontFamily-poppins)";
140
+ fontSize: string;
141
+ fontWeight: string;
142
+ lineHeight: string;
143
+ minHeight: string;
144
+ height: string;
145
+ padding: string;
146
+ display: string;
147
+ alignItems: string;
148
+ boxSizing: string;
149
+ };
115
150
  footerActionText: {
116
- fontFamily: string;
151
+ fontFamily: "var(--fontFamily-poppins)";
117
152
  fontSize: string;
118
153
  };
119
154
  footerActionLink: {
120
- fontFamily: string;
155
+ fontFamily: "var(--fontFamily-poppins)";
121
156
  fontSize: string;
122
157
  };
123
158
  identityPreviewText: {
124
- fontFamily: string;
159
+ fontFamily: "var(--fontFamily-poppins)";
125
160
  fontSize: string;
126
161
  };
127
162
  formFieldSuccessText: {
128
- fontFamily: string;
163
+ fontFamily: "var(--fontFamily-poppins)";
129
164
  fontSize: string;
130
165
  };
131
166
  formFieldErrorText: {
132
- fontFamily: string;
167
+ fontFamily: "var(--fontFamily-poppins)";
133
168
  fontSize: string;
134
169
  };
135
170
  dividerText: {
136
- fontFamily: string;
171
+ fontFamily: "var(--fontFamily-poppins)";
137
172
  fontSize: string;
138
173
  };
139
174
  };
@@ -162,7 +197,7 @@ export declare const clerkSignInAppearance: {
162
197
  card: {
163
198
  boxShadow: string;
164
199
  width: string;
165
- fontFamily: string;
200
+ fontFamily: "var(--fontFamily-poppins)";
166
201
  paddingTop: string;
167
202
  paddingBottom: string;
168
203
  };
@@ -171,32 +206,51 @@ export declare const clerkSignInAppearance: {
171
206
  paddingTop: string;
172
207
  };
173
208
  headerTitle: {
174
- fontFamily: string;
209
+ fontFamily: "var(--fontFamily-poppins)";
175
210
  fontSize: string;
176
211
  fontWeight: string;
177
212
  lineHeight: string;
178
213
  color: string;
179
214
  };
180
215
  headerSubtitle: {
181
- fontFamily: string;
216
+ fontFamily: "var(--fontFamily-poppins)";
182
217
  fontSize: string;
183
218
  fontWeight: string;
184
219
  lineHeight: string;
185
220
  color: string;
186
221
  };
187
222
  formFieldLabel: {
188
- fontFamily: string;
223
+ fontFamily: "var(--fontFamily-poppins)";
189
224
  fontSize: string;
190
225
  fontWeight: string;
191
226
  color: string;
192
227
  };
193
228
  formFieldInput: {
194
- fontFamily: string;
229
+ fontFamily: "var(--fontFamily-poppins)";
195
230
  fontSize: string;
196
231
  fontWeight: string;
232
+ height: string;
233
+ minHeight: string;
234
+ padding: string;
235
+ borderRadius: string;
236
+ border: string;
237
+ backgroundColor: string;
238
+ color: string;
239
+ boxShadow: string;
240
+ '&:focus': {
241
+ borderColor: string;
242
+ boxShadow: string;
243
+ outline: string;
244
+ };
245
+ '&:hover': {
246
+ borderColor: string;
247
+ };
248
+ };
249
+ formFieldInputShowPasswordButton: {
250
+ color: string;
197
251
  };
198
252
  formButtonPrimary: {
199
- fontFamily: string;
253
+ fontFamily: "var(--fontFamily-poppins)";
200
254
  fontSize: string;
201
255
  fontWeight: string;
202
256
  lineHeight: string;
@@ -220,11 +274,14 @@ export declare const clerkSignInAppearance: {
220
274
  backgroundColor: string;
221
275
  };
222
276
  };
277
+ buttonArrowIcon: {
278
+ display: string;
279
+ };
223
280
  socialButtons: {
224
281
  gap: string;
225
282
  };
226
283
  socialButtonsBlockButton: {
227
- fontFamily: string;
284
+ fontFamily: "var(--fontFamily-poppins)";
228
285
  fontSize: string;
229
286
  fontWeight: string;
230
287
  lineHeight: string;
@@ -243,7 +300,7 @@ export declare const clerkSignInAppearance: {
243
300
  };
244
301
  };
245
302
  socialButtonsBlockButtonText: {
246
- fontFamily: string;
303
+ fontFamily: "var(--fontFamily-poppins)";
247
304
  fontSize: string;
248
305
  fontWeight: string;
249
306
  };
@@ -251,34 +308,46 @@ export declare const clerkSignInAppearance: {
251
308
  width: string;
252
309
  height: string;
253
310
  };
311
+ lastAuthenticationStrategyBadge: {
312
+ fontFamily: "var(--fontFamily-poppins)";
313
+ fontSize: string;
314
+ fontWeight: string;
315
+ lineHeight: string;
316
+ minHeight: string;
317
+ height: string;
318
+ padding: string;
319
+ display: string;
320
+ alignItems: string;
321
+ boxSizing: string;
322
+ };
254
323
  footerActionText: {
255
- fontFamily: string;
324
+ fontFamily: "var(--fontFamily-poppins)";
256
325
  fontSize: string;
257
326
  };
258
327
  footerActionLink: {
259
- fontFamily: string;
328
+ fontFamily: "var(--fontFamily-poppins)";
260
329
  fontSize: string;
261
330
  };
262
331
  identityPreviewText: {
263
- fontFamily: string;
332
+ fontFamily: "var(--fontFamily-poppins)";
264
333
  fontSize: string;
265
334
  };
266
335
  formFieldSuccessText: {
267
- fontFamily: string;
336
+ fontFamily: "var(--fontFamily-poppins)";
268
337
  fontSize: string;
269
338
  };
270
339
  formFieldErrorText: {
271
- fontFamily: string;
340
+ fontFamily: "var(--fontFamily-poppins)";
272
341
  fontSize: string;
273
342
  };
274
343
  dividerText: {
275
- fontFamily: string;
344
+ fontFamily: "var(--fontFamily-poppins)";
276
345
  fontSize: string;
277
346
  };
278
347
  };
279
348
  variables: {
280
- fontFamily: string;
281
- fontFamilyButtons: string;
349
+ fontFamily: "var(--fontFamily-poppins)";
350
+ fontFamilyButtons: "var(--fontFamily-poppins)";
282
351
  fontSize: string;
283
352
  colorPrimary: string;
284
353
  colorTextOnPrimaryBackground: string;
@@ -305,7 +374,7 @@ export declare const clerkSignUpAppearance: {
305
374
  card: {
306
375
  boxShadow: string;
307
376
  width: string;
308
- fontFamily: string;
377
+ fontFamily: "var(--fontFamily-poppins)";
309
378
  paddingTop: string;
310
379
  paddingBottom: string;
311
380
  };
@@ -314,32 +383,51 @@ export declare const clerkSignUpAppearance: {
314
383
  paddingTop: string;
315
384
  };
316
385
  headerTitle: {
317
- fontFamily: string;
386
+ fontFamily: "var(--fontFamily-poppins)";
318
387
  fontSize: string;
319
388
  fontWeight: string;
320
389
  lineHeight: string;
321
390
  color: string;
322
391
  };
323
392
  headerSubtitle: {
324
- fontFamily: string;
393
+ fontFamily: "var(--fontFamily-poppins)";
325
394
  fontSize: string;
326
395
  fontWeight: string;
327
396
  lineHeight: string;
328
397
  color: string;
329
398
  };
330
399
  formFieldLabel: {
331
- fontFamily: string;
400
+ fontFamily: "var(--fontFamily-poppins)";
332
401
  fontSize: string;
333
402
  fontWeight: string;
334
403
  color: string;
335
404
  };
336
405
  formFieldInput: {
337
- fontFamily: string;
406
+ fontFamily: "var(--fontFamily-poppins)";
338
407
  fontSize: string;
339
408
  fontWeight: string;
409
+ height: string;
410
+ minHeight: string;
411
+ padding: string;
412
+ borderRadius: string;
413
+ border: string;
414
+ backgroundColor: string;
415
+ color: string;
416
+ boxShadow: string;
417
+ '&:focus': {
418
+ borderColor: string;
419
+ boxShadow: string;
420
+ outline: string;
421
+ };
422
+ '&:hover': {
423
+ borderColor: string;
424
+ };
425
+ };
426
+ formFieldInputShowPasswordButton: {
427
+ color: string;
340
428
  };
341
429
  formButtonPrimary: {
342
- fontFamily: string;
430
+ fontFamily: "var(--fontFamily-poppins)";
343
431
  fontSize: string;
344
432
  fontWeight: string;
345
433
  lineHeight: string;
@@ -363,11 +451,14 @@ export declare const clerkSignUpAppearance: {
363
451
  backgroundColor: string;
364
452
  };
365
453
  };
454
+ buttonArrowIcon: {
455
+ display: string;
456
+ };
366
457
  socialButtons: {
367
458
  gap: string;
368
459
  };
369
460
  socialButtonsBlockButton: {
370
- fontFamily: string;
461
+ fontFamily: "var(--fontFamily-poppins)";
371
462
  fontSize: string;
372
463
  fontWeight: string;
373
464
  lineHeight: string;
@@ -386,7 +477,7 @@ export declare const clerkSignUpAppearance: {
386
477
  };
387
478
  };
388
479
  socialButtonsBlockButtonText: {
389
- fontFamily: string;
480
+ fontFamily: "var(--fontFamily-poppins)";
390
481
  fontSize: string;
391
482
  fontWeight: string;
392
483
  };
@@ -394,34 +485,46 @@ export declare const clerkSignUpAppearance: {
394
485
  width: string;
395
486
  height: string;
396
487
  };
488
+ lastAuthenticationStrategyBadge: {
489
+ fontFamily: "var(--fontFamily-poppins)";
490
+ fontSize: string;
491
+ fontWeight: string;
492
+ lineHeight: string;
493
+ minHeight: string;
494
+ height: string;
495
+ padding: string;
496
+ display: string;
497
+ alignItems: string;
498
+ boxSizing: string;
499
+ };
397
500
  footerActionText: {
398
- fontFamily: string;
501
+ fontFamily: "var(--fontFamily-poppins)";
399
502
  fontSize: string;
400
503
  };
401
504
  footerActionLink: {
402
- fontFamily: string;
505
+ fontFamily: "var(--fontFamily-poppins)";
403
506
  fontSize: string;
404
507
  };
405
508
  identityPreviewText: {
406
- fontFamily: string;
509
+ fontFamily: "var(--fontFamily-poppins)";
407
510
  fontSize: string;
408
511
  };
409
512
  formFieldSuccessText: {
410
- fontFamily: string;
513
+ fontFamily: "var(--fontFamily-poppins)";
411
514
  fontSize: string;
412
515
  };
413
516
  formFieldErrorText: {
414
- fontFamily: string;
517
+ fontFamily: "var(--fontFamily-poppins)";
415
518
  fontSize: string;
416
519
  };
417
520
  dividerText: {
418
- fontFamily: string;
521
+ fontFamily: "var(--fontFamily-poppins)";
419
522
  fontSize: string;
420
523
  };
421
524
  };
422
525
  variables: {
423
- fontFamily: string;
424
- fontFamilyButtons: string;
526
+ fontFamily: "var(--fontFamily-poppins)";
527
+ fontFamilyButtons: "var(--fontFamily-poppins)";
425
528
  fontSize: string;
426
529
  colorPrimary: string;
427
530
  colorTextOnPrimaryBackground: string;
@@ -0,0 +1,6 @@
1
+ import type { LocalizationResource } from '@clerk/types';
2
+ /**
3
+ * Maps portal i18n languages (en / ar / tr) onto Clerk component localizations,
4
+ * including input placeholders for sign-in / sign-up.
5
+ */
6
+ export declare function getClerkLocalization(language?: string): LocalizationResource;
@@ -1,12 +1,23 @@
1
1
  /// <reference types="react" />
2
2
  export declare const TEAL = "#16616C";
3
+ /** AuthVisualCarousel is `display: none` below this width. */
4
+ export declare const AUTH_VISUAL_MIN_WIDTH_PX = 1200;
3
5
  export declare const AuthContainer: import("@emotion/styled").StyledComponent<{
4
6
  theme?: import("@emotion/react").Theme | undefined;
5
7
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
8
+ } & {
9
+ rtl?: boolean | undefined;
10
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
11
+ /** Floating language control — top end of the auth shell (RTL-aware). */
12
+ export declare const AuthLanguagePickerWrap: import("@emotion/styled").StyledComponent<{
13
+ theme?: import("@emotion/react").Theme | undefined;
14
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
6
15
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
7
16
  export declare const AuthFormColumn: import("@emotion/styled").StyledComponent<{
8
17
  theme?: import("@emotion/react").Theme | undefined;
9
18
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
19
+ } & {
20
+ rtl?: boolean | undefined;
10
21
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
11
22
  export declare const AuthFormContent: import("@emotion/styled").StyledComponent<{
12
23
  theme?: import("@emotion/react").Theme | undefined;
@@ -16,6 +27,8 @@ export declare const AuthFormContent: import("@emotion/styled").StyledComponent<
16
27
  export declare const ClerkAuthFormColumn: import("@emotion/styled").StyledComponent<{
17
28
  theme?: import("@emotion/react").Theme | undefined;
18
29
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
30
+ } & {
31
+ rtl?: boolean | undefined;
19
32
  } & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
20
33
  theme?: import("@emotion/react").Theme | undefined;
21
34
  }, {}, {}>;
@@ -76,6 +89,7 @@ export declare const SignUpFooter: import("@emotion/styled").StyledComponent<{
76
89
  export declare const SignUpLink: import("@emotion/styled").StyledComponent<import("react-router-dom").LinkProps<unknown> & import("react").RefAttributes<HTMLAnchorElement> & {
77
90
  theme?: import("@emotion/react").Theme | undefined;
78
91
  }, {}, {}>;
92
+ /** @deprecated Prefer AuthVisualCarousel — kept for any residual imports */
79
93
  export declare const HelloCon: import("@emotion/styled").StyledComponent<{
80
94
  theme?: import("@emotion/react").Theme | undefined;
81
95
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
@@ -1,2 +1,3 @@
1
- declare const Login: (props: any) => import("@emotion/react/jsx-runtime").JSX.Element;
1
+ export declare const LegacyLoginPage: (props: any) => import("@emotion/react/jsx-runtime").JSX.Element;
2
+ declare const Login: (props: any) => import("@emotion/react/jsx-runtime").JSX.Element | null;
2
3
  export default Login;
@@ -1,2 +1,3 @@
1
+ export declare const LegacyRegisterPage: (props: any) => import("@emotion/react/jsx-runtime").JSX.Element;
1
2
  declare const Register: (props: any) => import("@emotion/react/jsx-runtime").JSX.Element;
2
3
  export default Register;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Post-login landing: Gateway workspaces go to the Gateway home (guide), everyone else to Inbox.
3
+ * Waits for the subscription so Gateway users are not sent to Inbox before the plan is known.
4
+ */
5
+ export default function GatewayWelcomePage(): import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export declare function isGatewayPlan(planType: string | null | undefined): boolean;
2
+ export declare const GATEWAY_WEBHOOK_EVENTS: readonly ["INCOMING_MESSAGE", "MESSAGE_UPDATED", "OUTGOING_MESSAGE"];
@@ -18,9 +18,10 @@ interface BroadcastAnalysisReciepientsHeaderProps {
18
18
  canRetryFailed?: boolean;
19
19
  retryableFailed?: number;
20
20
  retryDialogOpen?: boolean;
21
+ retryDialogVariant?: 'prompt' | 'confirm';
21
22
  onRetryDialogOpenChange?: (open: boolean) => void;
22
23
  onRetryFailed?: () => void;
23
24
  retryLoading?: boolean;
24
25
  }
25
- declare const _default: React.MemoExoticComponent<({ setSearchQuery, searchQuery, selectedCountry, setSelectedCountry, selectedStage, setSelectedStage, selectedState, setSelectedState, clientStages, onDownloadCsv, templateNameQuery, setTemplateNameQuery, canRetryFailed, retryableFailed, retryDialogOpen, onRetryDialogOpenChange, onRetryFailed, retryLoading, }: BroadcastAnalysisReciepientsHeaderProps) => import("@emotion/react/jsx-runtime").JSX.Element>;
26
+ declare const _default: React.MemoExoticComponent<({ setSearchQuery, searchQuery, selectedCountry, setSelectedCountry, selectedStage, setSelectedStage, selectedState, setSelectedState, clientStages, onDownloadCsv, templateNameQuery, setTemplateNameQuery, canRetryFailed, retryableFailed, retryDialogOpen, retryDialogVariant, onRetryDialogOpenChange, onRetryFailed, retryLoading, }: BroadcastAnalysisReciepientsHeaderProps) => import("@emotion/react/jsx-runtime").JSX.Element>;
26
27
  export default _default;
@@ -10,6 +10,8 @@ interface BroadcastDetailsSectionProps {
10
10
  onParameterChange: (key: string, value: string) => void;
11
11
  loadingTemplateDetails?: boolean;
12
12
  requiredParameters?: string[];
13
+ selectedIntegrationId?: string;
14
+ onRefreshTemplates?: () => void;
13
15
  }
14
- declare const _default: React.MemoExoticComponent<({ renderField, renderDroplistField, templatesData, loadingTemplates, integrationsData, loadingIntegrations, parameterValues, onParameterChange, loadingTemplateDetails, requiredParameters, }: BroadcastDetailsSectionProps) => import("@emotion/react/jsx-runtime").JSX.Element>;
16
+ declare const _default: React.MemoExoticComponent<({ renderField, renderDroplistField, templatesData, loadingTemplates, integrationsData, loadingIntegrations, parameterValues, onParameterChange, loadingTemplateDetails, requiredParameters, selectedIntegrationId, onRefreshTemplates, }: BroadcastDetailsSectionProps) => import("@emotion/react/jsx-runtime").JSX.Element>;
15
17
  export default _default;
@@ -0,0 +1,2 @@
1
+ /** Matches core BROADCAST_RECENT_INBOUND_MESSAGE_DAYS — contacts must have inbound activity in this window. */
2
+ export declare const BROADCAST_RECENT_INBOUND_MESSAGE_DAYS = 90;
@@ -5,7 +5,8 @@ export interface AgentCardProps {
5
5
  avatar?: string | null;
6
6
  conversationCount: number;
7
7
  reportDate?: string;
8
+ rating?: number | null;
8
9
  isSelected?: boolean;
9
10
  }
10
- declare const AgentCard: ({ name, surname, email, avatar, conversationCount, reportDate, isSelected }: AgentCardProps) => import("@emotion/react/jsx-runtime").JSX.Element;
11
+ declare const AgentCard: ({ name, surname, email, avatar, conversationCount, reportDate, rating, isSelected, }: AgentCardProps) => import("@emotion/react/jsx-runtime").JSX.Element;
11
12
  export default AgentCard;
@@ -1,9 +1,11 @@
1
- import { Agent, Conversation } from '../../../graphql.autogenerated';
1
+ import { Agent, AgentsReportQuery, Conversation } from '../../../graphql.autogenerated';
2
+ type AgentReportNode = NonNullable<AgentsReportQuery['agentsReport']['nodes']>[number];
2
3
  interface AgentsCardProps {
3
4
  agents?: Agent[];
5
+ agentsReportData?: AgentReportNode[];
4
6
  openedConvs?: Conversation[] | null;
5
7
  loading?: boolean;
6
8
  selectedAgentIds?: string[];
7
9
  }
8
- declare const AgentsCard: ({ agents, openedConvs, loading, selectedAgentIds }: AgentsCardProps) => import("@emotion/react/jsx-runtime").JSX.Element;
10
+ declare const AgentsCard: ({ agents, agentsReportData, openedConvs, loading, selectedAgentIds }: AgentsCardProps) => import("@emotion/react/jsx-runtime").JSX.Element;
9
11
  export default AgentsCard;
@@ -1,6 +1,8 @@
1
1
  export interface BroadcastDashboardProps {
2
2
  integrationId?: string;
3
3
  selectedPeriod: string;
4
+ /** Reports whether this section still waits for data — used by the PDF export. */
5
+ onLoadingChange?: (loading: boolean) => void;
4
6
  }
5
- declare const BroadcastDashboard: ({ integrationId, selectedPeriod }: BroadcastDashboardProps) => import("@emotion/react/jsx-runtime").JSX.Element;
7
+ declare const BroadcastDashboard: ({ integrationId, selectedPeriod, onLoadingChange }: BroadcastDashboardProps) => import("@emotion/react/jsx-runtime").JSX.Element;
6
8
  export default BroadcastDashboard;
@@ -0,0 +1,13 @@
1
+ import { ConvStagesReportQuery } from '../../../graphql.autogenerated';
2
+ type ConvLifecycleReportNode = NonNullable<ConvStagesReportQuery['convStagesReport']['nodes']>[number];
3
+ export type ChatsByLifeCycleCardProps = {
4
+ convLifecycleReportData: ConvLifecycleReportNode[];
5
+ /** Workspace lifecycle stage names in configured order; drives slice order and colors. */
6
+ configuredStages?: string[];
7
+ selectedPeriod?: string;
8
+ loading?: boolean;
9
+ startDate?: string;
10
+ endDate?: string;
11
+ };
12
+ declare const ChatsByLifeCycleCard: ({ convLifecycleReportData, configuredStages, selectedPeriod, loading, startDate, endDate, }: ChatsByLifeCycleCardProps) => import("@emotion/react/jsx-runtime").JSX.Element;
13
+ export default ChatsByLifeCycleCard;
@@ -0,0 +1,27 @@
1
+ import { ReactNode } from 'react';
2
+ type Option = {
3
+ value: string;
4
+ text: string;
5
+ };
6
+ type SingleSelectFilter = {
7
+ options: Option[];
8
+ selected?: string;
9
+ onChange: (value?: string) => void;
10
+ };
11
+ type DashboardFiltersProps = {
12
+ activeTab: 'reports' | 'broadcast';
13
+ rtl: boolean;
14
+ reportPeriod: SingleSelectFilter;
15
+ broadcastPeriod: SingleSelectFilter;
16
+ channels: SingleSelectFilter;
17
+ agents: {
18
+ options: Option[];
19
+ selected: string[];
20
+ onChange: (values: string[]) => void;
21
+ };
22
+ /** Rendered after the filters — used for the PDF export action. */
23
+ children?: ReactNode;
24
+ };
25
+ /** Period / agent / channel filters shown next to the dashboard title. */
26
+ export declare function DashboardFilters({ activeTab, rtl, reportPeriod, broadcastPeriod, channels, agents, children, }: DashboardFiltersProps): import("@emotion/react/jsx-runtime").JSX.Element;
27
+ export default DashboardFilters;
@@ -0,0 +1,11 @@
1
+ import { ReactNode, RefObject } from 'react';
2
+ type DashboardPdfCaptureAreaProps = {
3
+ /** Receives the off-screen container so the export hook can capture it. */
4
+ targetRef: RefObject<HTMLDivElement>;
5
+ /** Visible element whose computed background is copied onto the capture, so the PDF matches the theme. */
6
+ backgroundSourceRef: RefObject<HTMLElement>;
7
+ children: ReactNode;
8
+ };
9
+ /** Renders the PDF export layout off-screen (portaled to body) so exporting never disturbs the visible page. */
10
+ export declare function DashboardPdfCaptureArea({ targetRef, backgroundSourceRef, children }: DashboardPdfCaptureAreaProps): import("react").ReactPortal;
11
+ export default DashboardPdfCaptureArea;
@@ -0,0 +1,7 @@
1
+ type DashboardPdfExportButtonProps = {
2
+ onClick: () => void;
3
+ disabled?: boolean;
4
+ };
5
+ /** Triggers the full-dashboard PDF export (all tabs); progress is shown in a dialog. */
6
+ export declare function DashboardPdfExportButton({ onClick, disabled }: DashboardPdfExportButtonProps): import("@emotion/react/jsx-runtime").JSX.Element;
7
+ export default DashboardPdfExportButton;
@@ -0,0 +1,11 @@
1
+ type DashboardPdfHeaderProps = {
2
+ title: string;
3
+ /** Already localized filter labels rendered as `label: value` lines. */
4
+ meta: {
5
+ label: string;
6
+ value: string;
7
+ }[];
8
+ };
9
+ /** Hidden on screen — only rendered inside the PDF capture clone. */
10
+ export declare function DashboardPdfHeader({ title, meta }: DashboardPdfHeaderProps): import("@emotion/react/jsx-runtime").JSX.Element;
11
+ export default DashboardPdfHeader;