@fayz-ai/plugin-conversations 0.22.6 → 0.22.9
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/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React10 from 'react';
|
|
2
2
|
import React10__default, { useState, useRef, useEffect, useCallback, useMemo } from 'react';
|
|
3
3
|
import { Loader2, Check, ShieldCheck, ShieldAlert, RefreshCw, QrCode, Zap, ExternalLink, MessageCircle, SquarePen, MessageSquare, Globe, Mail, Instagram, Phone, Search, User, Inbox, CheckCheck, ChevronLeft, Archive, PanelRight, Send, X, MapPin, Tag, StickyNote, Link2, MoreVertical, AlertTriangle, Clock, Snowflake, Sun, Flame, Building2, UserRound, Copy, FileText, Download } from 'lucide-react';
|
|
4
|
-
import { createConnectionStore, connectionRuns, connectionStatus, getActiveTenantId, getSupabaseClientOptional, useActiveTenantId, registerTranslations, useTranslation, countByTenant, CONNECTOR_RUNTIME_TOKEN_HEADER, connectorRuntimeToken, errorMessage } from '@fayz-ai/core';
|
|
4
|
+
import { createConnectionStore, connectionRuns, connectionStatus, getActiveTenantId, getSupabaseClientOptional, useActiveTenantId, registerTranslations, describeError, useTranslation, countByTenant, CONNECTOR_RUNTIME_TOKEN_HEADER, connectorRuntimeToken, errorMessage } from '@fayz-ai/core';
|
|
5
5
|
import { SettingsGroup, PluginSettingsPanel, useAdminPath, adminNavigateTo, useRightRailStore, PageActions, useLimitGuard, ContactPicker, invalidateLimit } from '@fayz-ai/admin';
|
|
6
6
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
7
7
|
import { useStore } from 'zustand';
|
|
@@ -2998,7 +2998,7 @@ function TyxterPaymentsPanel() {
|
|
|
2998
2998
|
void readPaymentReadiness().then((value) => {
|
|
2999
2999
|
if (!cancelled) setReadiness(value);
|
|
3000
3000
|
}).catch((caught) => {
|
|
3001
|
-
if (!cancelled) setError(caught
|
|
3001
|
+
if (!cancelled) setError(describeError(caught, "N\xE3o deu para verificar agora."));
|
|
3002
3002
|
}).finally(() => {
|
|
3003
3003
|
if (!cancelled) setLoading(false);
|
|
3004
3004
|
});
|
|
@@ -3013,7 +3013,7 @@ function TyxterPaymentsPanel() {
|
|
|
3013
3013
|
const session = await openPaymentSetupSession();
|
|
3014
3014
|
setHandoff(session.setupUrl);
|
|
3015
3015
|
} catch (caught) {
|
|
3016
|
-
setError(caught
|
|
3016
|
+
setError(describeError(caught, "N\xE3o deu para abrir a configura\xE7\xE3o."));
|
|
3017
3017
|
} finally {
|
|
3018
3018
|
setOpening(false);
|
|
3019
3019
|
}
|
|
@@ -3117,7 +3117,7 @@ function TyxterExtraPanel() {
|
|
|
3117
3117
|
await load();
|
|
3118
3118
|
toast.success("N\xFAmero solicitado. Acompanhe aqui o andamento.");
|
|
3119
3119
|
} catch (caught) {
|
|
3120
|
-
toast.error(caught
|
|
3120
|
+
toast.error(describeError(caught, "N\xE3o foi poss\xEDvel pedir o n\xFAmero."));
|
|
3121
3121
|
} finally {
|
|
3122
3122
|
if (mounted.current) setClaiming(false);
|
|
3123
3123
|
}
|