@consilioweb/payload-support 0.10.0 → 0.11.0
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/components/TicketConversation/locales/en.json +25 -1
- package/dist/components/TicketConversation/locales/fr.json +25 -1
- package/dist/index.cjs +799 -4
- package/dist/index.d.cts +15 -1
- package/dist/index.d.ts +15 -1
- package/dist/index.js +800 -6
- package/dist/styles/TicketDetail.module.scss +294 -0
- package/dist/views/TicketDetailView/client.cjs +455 -249
- package/dist/views/TicketDetailView/client.js +456 -250
- package/dist/views/TicketInboxView/client.cjs +10 -9
- package/dist/views/TicketInboxView/client.js +2 -1
- package/package.json +1 -1
- package/src/collections/ClientSummaries.ts +16 -0
- package/src/collections/TicketCollaborators.ts +93 -0
- package/src/collections/TicketFeedback.ts +116 -0
- package/src/collections/TicketMessages.ts +9 -0
- package/src/collections/Tickets.ts +31 -1
- package/src/collections/index.ts +2 -0
- package/src/components/TicketConversation/locales/en.json +25 -1
- package/src/components/TicketConversation/locales/fr.json +25 -1
- package/src/endpoints/escalate.ts +44 -0
- package/src/endpoints/index.ts +15 -0
- package/src/endpoints/invite-collaborator.ts +215 -0
- package/src/endpoints/kb-search.ts +156 -0
- package/src/endpoints/ticket-feedback.ts +104 -0
- package/src/endpoints/transfer-ticket.ts +248 -0
- package/src/index.ts +1 -0
- package/src/plugin.ts +4 -0
- package/src/portal/auth/ChatWidget.tsx +11 -0
- package/src/portal/auth/dashboard/DashboardClient.tsx +85 -99
- package/src/portal/auth/dashboard/page.tsx +11 -2
- package/src/portal/auth/tickets/detail/TransferAndInviteActions.tsx +402 -0
- package/src/portal/auth/tickets/detail/page.tsx +122 -23
- package/src/portal/auth/tickets/new/KbDeflection.tsx +128 -0
- package/src/portal/auth/tickets/new/page.tsx +203 -100
- package/src/portal/locales/en.json +5 -0
- package/src/portal/locales/fr.json +5 -0
- package/src/styles/TicketDetail.module.scss +294 -0
- package/src/types.ts +19 -0
- package/src/utils/slugs.ts +2 -0
- package/src/views/TicketDetailView/client.tsx +346 -89
- package/src/views/TicketInboxView/client.tsx +2 -1
|
@@ -176,6 +176,12 @@
|
|
|
176
176
|
}
|
|
177
177
|
},
|
|
178
178
|
"composer": {
|
|
179
|
+
"aiSuggestion": {
|
|
180
|
+
"label": "Contextual suggestion",
|
|
181
|
+
"ignore": "Dismiss",
|
|
182
|
+
"insert": "Insert",
|
|
183
|
+
"loading": "Generating…"
|
|
184
|
+
},
|
|
179
185
|
"placeholder": "Write a reply to the client...",
|
|
180
186
|
"placeholderInternal": "Internal note...",
|
|
181
187
|
"placeholderReplyTo": "Reply to {{name}}...",
|
|
@@ -209,6 +215,11 @@
|
|
|
209
215
|
"shortcuts": {
|
|
210
216
|
"sendHint": "\u2318Enter to send",
|
|
211
217
|
"noteHint": "\u2318\u21e7N internal note"
|
|
218
|
+
},
|
|
219
|
+
"aliases": {
|
|
220
|
+
"label": "Send as",
|
|
221
|
+
"tooltip": "Choose a sender alias for this message",
|
|
222
|
+
"self": "(default)"
|
|
212
223
|
}
|
|
213
224
|
},
|
|
214
225
|
"settings": {
|
|
@@ -788,7 +799,20 @@
|
|
|
788
799
|
"statusWaiting": "Waiting",
|
|
789
800
|
"statusResolved": "Resolved",
|
|
790
801
|
"selectTicket": "Select a ticket from the list",
|
|
791
|
-
"notFound": "Ticket not found"
|
|
802
|
+
"notFound": "Ticket not found",
|
|
803
|
+
"sidebar": {
|
|
804
|
+
"tabs": {
|
|
805
|
+
"overview": "Overview",
|
|
806
|
+
"client": "Client",
|
|
807
|
+
"activity": "Activity"
|
|
808
|
+
},
|
|
809
|
+
"previousTickets": "Previous tickets"
|
|
810
|
+
},
|
|
811
|
+
"aiCard": {
|
|
812
|
+
"nextActions": {
|
|
813
|
+
"title": "Suggested next actions"
|
|
814
|
+
}
|
|
815
|
+
}
|
|
792
816
|
},
|
|
793
817
|
"settingsView": {
|
|
794
818
|
"configTitle": "Support Module Configuration",
|
|
@@ -176,6 +176,12 @@
|
|
|
176
176
|
}
|
|
177
177
|
},
|
|
178
178
|
"composer": {
|
|
179
|
+
"aiSuggestion": {
|
|
180
|
+
"label": "Suggestion contextuelle",
|
|
181
|
+
"ignore": "Ignorer",
|
|
182
|
+
"insert": "Insérer",
|
|
183
|
+
"loading": "Génération…"
|
|
184
|
+
},
|
|
179
185
|
"placeholder": "Écrire une réponse au client...",
|
|
180
186
|
"placeholderInternal": "Note interne...",
|
|
181
187
|
"placeholderReplyTo": "Répondre à {{name}}...",
|
|
@@ -209,6 +215,11 @@
|
|
|
209
215
|
"shortcuts": {
|
|
210
216
|
"sendHint": "\u2318Enter pour envoyer",
|
|
211
217
|
"noteHint": "\u2318\u21e7N note interne"
|
|
218
|
+
},
|
|
219
|
+
"aliases": {
|
|
220
|
+
"label": "Envoyer en tant que",
|
|
221
|
+
"tooltip": "Choisir un alias d'exp\u00e9diteur pour ce message",
|
|
222
|
+
"self": "(par d\u00e9faut)"
|
|
212
223
|
}
|
|
213
224
|
},
|
|
214
225
|
"settings": {
|
|
@@ -788,7 +799,20 @@
|
|
|
788
799
|
"statusWaiting": "En attente",
|
|
789
800
|
"statusResolved": "Resolu",
|
|
790
801
|
"selectTicket": "Selectionnez un ticket depuis la liste",
|
|
791
|
-
"notFound": "Ticket introuvable"
|
|
802
|
+
"notFound": "Ticket introuvable",
|
|
803
|
+
"sidebar": {
|
|
804
|
+
"tabs": {
|
|
805
|
+
"overview": "Vue d'ensemble",
|
|
806
|
+
"client": "Client",
|
|
807
|
+
"activity": "Activite"
|
|
808
|
+
},
|
|
809
|
+
"previousTickets": "Tickets precedents"
|
|
810
|
+
},
|
|
811
|
+
"aiCard": {
|
|
812
|
+
"nextActions": {
|
|
813
|
+
"title": "Prochaines actions suggérées"
|
|
814
|
+
}
|
|
815
|
+
}
|
|
792
816
|
},
|
|
793
817
|
"settingsView": {
|
|
794
818
|
"configTitle": "Configuration du module Support",
|