Skip to content

Commit

Permalink
### 1.18.0 in PROD
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriele Panico committed Jul 24, 2024
1 parent 024d69f commit e5db201
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 16 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
*Giovanni Troisi*
### **Copyrigth**: *Tiledesk SRL*

### 1.18.0 in PROD

### 1.18.0-rc.2
👉 **added**: implement time slots on cds-action-operating-hours
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@tiledesk/cds",
"author": "Tiledesk SRL",
"version": "1.18.0-rc.2",
"version": "1.18.0",
"license": "MIT",
"homepage": "https://www.tiledesk.com",
"repository": {
Expand Down
28 changes: 14 additions & 14 deletions src/app/chatbot-design-studio/utils-actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ export function getKeyByValue(value, keys) {
}

export const ACTIONS_LIST: {[key: string]: {name: string, category: TYPE_ACTION_CATEGORY, type: TYPE_ACTION | TYPE_ACTION_VXML, src: string, status: 'active' | 'inactive' | 'beta', plan?: PLAN_NAME, badge?: string, description?: string, doc?: string, disabled?: boolean}}= {
REPLY : { name: 'CDSActionList.NAME.Reply', category: TYPE_ACTION_CATEGORY.MOST_USED, type: TYPE_ACTION.REPLY, src:"assets/images/actions/reply.svg", status: "active" , description: "CDSActionList.DESCRIPTION.Reply", doc: "CDSActionList.DOCS.Reply" },
REPLYV2 : { name: 'CDSActionList.NAME.ReplyV2', category: TYPE_ACTION_CATEGORY.MOST_USED, type: TYPE_ACTION.REPLYV2, src:"assets/images/actions/reply_v2.svg", status: "active" , badge: 'NEW', description: "CDSActionList.DESCRIPTION.ReplyV2", doc: "CDSActionList.DOCS.ReplyV2" },
REPLY : { name: 'CDSActionList.NAME.Reply', category: TYPE_ACTION_CATEGORY.MOST_USED, type: TYPE_ACTION.REPLY, src:"assets/images/actions/reply.svg", status: "active" , description: "CDSActionList.DESCRIPTION.Reply", doc: "CDSActionList.DOCS.Reply" },
REPLYV2 : { name: 'CDSActionList.NAME.ReplyV2', category: TYPE_ACTION_CATEGORY.MOST_USED, type: TYPE_ACTION.REPLYV2, src:"assets/images/actions/reply_v2.svg", status: "active" , badge: 'NEW', description: "CDSActionList.DESCRIPTION.ReplyV2", doc: "CDSActionList.DOCS.ReplyV2" },
RANDOM_REPLY : { name: 'CDSActionList.NAME.RandomReply', category: TYPE_ACTION_CATEGORY.MOST_USED, type: TYPE_ACTION.RANDOM_REPLY, src:"assets/images/actions/random_reply.svg", status: "active", description: "CDSActionList.DESCRIPTION.RandomReply" },
AGENT : { name: 'CDSActionList.NAME.AgentHandoff', category: TYPE_ACTION_CATEGORY.MOST_USED, type: TYPE_ACTION.AGENT, src:"assets/images/actions/agent_handoff.svg", status: "active", description: "CDSActionList.DESCRIPTION.AgentHandoff" },
CLOSE : { name: 'CDSActionList.NAME.Close', category: TYPE_ACTION_CATEGORY.MOST_USED, type: TYPE_ACTION.CLOSE, src:"assets/images/actions/close.svg", status: "active", description: "CDSActionList.DESCRIPTION.Close" },
Expand All @@ -95,28 +95,28 @@ export const ACTIONS_LIST: {[key: string]: {name: string, category: TYPE_ACTION_
REPLACE_BOT: { name: 'CDSActionList.NAME.ReplaceBot', category: TYPE_ACTION_CATEGORY.FLOW, type: TYPE_ACTION.REPLACE_BOT, src: "assets/images/actions/replace_bot.svg", status: "inactive", description: "CDSActionList.DESCRIPTION.ReplaceBot" },
REPLACE_BOTV2: { name: 'CDSActionList.NAME.ReplaceBot', category: TYPE_ACTION_CATEGORY.FLOW, type: TYPE_ACTION.REPLACE_BOTV2, src: "assets/images/actions/replace_bot.svg", status: "active", description: "CDSActionList.DESCRIPTION.ReplaceBot" },
WAIT : { name: 'CDSActionList.NAME.Wait', category: TYPE_ACTION_CATEGORY.FLOW, type: TYPE_ACTION.WAIT, src:"assets/images/actions/wait.svg", status: "active", description: "CDSActionList.DESCRIPTION.Wait" },
LEAD_UPDATE : { name: 'CDSActionList.NAME.LeadUpdate', category: TYPE_ACTION_CATEGORY.FLOW, type: TYPE_ACTION.LEAD_UPDATE, src:"assets/images/actions/lead_update.svg", status: "active", description: "CDSActionList.DESCRIPTION.LeadUpdate" },
CAPTURE_USER_REPLY: { name: 'CDSActionList.NAME.CaptureUserReply', category: TYPE_ACTION_CATEGORY.FLOW, type: TYPE_ACTION.CAPTURE_USER_REPLY, src: "assets/images/actions/capture_user_reply.svg", status: "active", description: "CDSActionList.DESCRIPTION.CaptureUserReply" },
LEAD_UPDATE : { name: 'CDSActionList.NAME.LeadUpdate', category: TYPE_ACTION_CATEGORY.FLOW, type: TYPE_ACTION.LEAD_UPDATE, src:"assets/images/actions/lead_update.svg", status: "inactive", description: "CDSActionList.DESCRIPTION.LeadUpdate" },
// WEB_REQUEST : { name: 'CDSActionList.NAME.WebRequest',category: TYPE_ACTION_CATEGORY.INTEGRATIONS, type: TYPE_ACTION.WEB_REQUEST, src:"assets/images/actions/web_request.svg", status: "active", description: ''},
WEB_REQUESTV2 : { name: 'CDSActionList.NAME.WebRequest', category: TYPE_ACTION_CATEGORY.INTEGRATIONS, type: TYPE_ACTION.WEB_REQUESTV2, src:"assets/images/actions/web_request.svg", status: "active", description: '' },
EMAIL : { name: 'CDSActionList.NAME.SendEmail', category: TYPE_ACTION_CATEGORY.INTEGRATIONS, type: TYPE_ACTION.EMAIL, src:"assets/images/actions/send_email.svg", status: "active", description: "CDSActionList.DESCRIPTION.SendEmail" },
WHATSAPP_STATIC: { name: 'CDSActionList.NAME.WhatsAppStatic', category: TYPE_ACTION_CATEGORY.INTEGRATIONS, type: TYPE_ACTION.WHATSAPP_STATIC, src: "assets/images/actions/whatsapp.svg", status: "active", description: "CDSActionList.DESCRIPTION.WhatsAppStatic" },
WHATSAPP_ATTRIBUTE: { name: 'CDSActionList.NAME.WhatsAppByAttribute', category: TYPE_ACTION_CATEGORY.INTEGRATIONS, type: TYPE_ACTION.WHATSAPP_ATTRIBUTE, src: "assets/images/actions/whatsapp.svg", status: "active", description: "CDSActionList.DESCRIPTION.WhatsAppByAttribute" },
// WHATSAPP_SEGMENT: { name: 'CDSActionList.NAME.WhatsAppBySegment', category: TYPE_ACTION_CATEGORY.INTEGRATIONS, type: TYPE_ACTION.WHATSAPP_SEGMENT, src: "assets/images/actions/whatsapp.svg", status: "active", description: "CDSActionList.DESCRIPTION.WhatsAppBySegment" },
ASKGPT: { name: 'CDSActionList.NAME.AskTheKnowledgeBase', category: TYPE_ACTION_CATEGORY.AI, type: TYPE_ACTION.ASKGPT, src: "assets/images/actions/ask_to_kb.svg", status: "inactive", description: "CDSActionList.DESCRIPTION.AskTheKnowledgeBase" },
ASKGPTV2: { name: 'CDSActionList.NAME.AskTheKnowledgeBase', category: TYPE_ACTION_CATEGORY.AI, type: TYPE_ACTION.ASKGPTV2, src: "assets/images/actions/ask_to_kb.svg", status: "active", description: "CDSActionList.DESCRIPTION.AskTheKnowledgeBase" },
GPT_TASK: { name: 'CDSActionList.NAME.GPTTask', category: TYPE_ACTION_CATEGORY.AI, type: TYPE_ACTION.GPT_TASK, src: "assets/images/actions/openai-icon.svg", status: "active", description: "CDSActionList.DESCRIPTION.GPTTask" },
GPT_ASSISTANT: { name: 'CDSActionList.NAME.GPTAssistant', category: TYPE_ACTION_CATEGORY.AI, type: TYPE_ACTION.GPT_ASSISTANT, src: "assets/images/actions/openai-assistent.svg", status: "beta", plan: PLAN_NAME.F, description: "CDSActionList.DESCRIPTION.GPTAssistant", doc: "CDSActionList.DOCS.GPTAssistant" },
HIDE_MESSAGE: { name: 'CDSActionList.NAME.HiddenMessage', category: TYPE_ACTION_CATEGORY.SPECIAL, type: TYPE_ACTION.HIDE_MESSAGE, src: "assets/images/actions/hidden_message.svg", status: "active" },
CHANGE_DEPARTMENT: { name: 'CDSActionList.NAME.ChangeDept', category: TYPE_ACTION_CATEGORY.SPECIAL, type: TYPE_ACTION.CHANGE_DEPARTMENT, src: "assets/images/actions/change_department.svg", status: "active" },
CODE : { name: 'CDSActionList.NAME.Code', category: TYPE_ACTION_CATEGORY.SPECIAL, type: TYPE_ACTION.CODE, src:"assets/images/actions/code.svg", status: "active", plan: PLAN_NAME.F, description: '', disabled: false },
// ASSIGN_FUNCTION: { name: 'CDSActionList.NAME.SetFunction', category: TYPE_ACTION_CATEGORY.NEW, type: TYPE_ACTION.ASSIGN_FUNCTION, src: "assets/images/actions/assign_var.svg" },
CAPTURE_USER_REPLY: { name: 'CDSActionList.NAME.CaptureUserReply', category: TYPE_ACTION_CATEGORY.FLOW, type: TYPE_ACTION.CAPTURE_USER_REPLY, src: "assets/images/actions/capture_user_reply.svg", status: "active", description: "CDSActionList.DESCRIPTION.CaptureUserReply" },
GPT_ASSISTANT: { name: 'CDSActionList.NAME.GPTAssistant', category: TYPE_ACTION_CATEGORY.AI, type: TYPE_ACTION.GPT_ASSISTANT, src: "assets/images/actions/openai-assistent.svg", status: "beta", plan: PLAN_NAME.F, description: "CDSActionList.DESCRIPTION.GPTAssistant", doc: "CDSActionList.DOCS.GPTAssistant" },
WEB_REQUESTV2 : { name: 'CDSActionList.NAME.WebRequest', category: TYPE_ACTION_CATEGORY.INTEGRATIONS, type: TYPE_ACTION.WEB_REQUESTV2, src:"assets/images/actions/web_request.svg", status: "active", description: '' },
EMAIL : { name: 'CDSActionList.NAME.SendEmail', category: TYPE_ACTION_CATEGORY.INTEGRATIONS, type: TYPE_ACTION.EMAIL, src:"assets/images/actions/send_email.svg", status: "active", description: "CDSActionList.DESCRIPTION.SendEmail" },
WHATSAPP_STATIC: { name: 'CDSActionList.NAME.WhatsAppStatic', category: TYPE_ACTION_CATEGORY.INTEGRATIONS, type: TYPE_ACTION.WHATSAPP_STATIC, src: "assets/images/actions/whatsapp.svg", status: "active", description: "CDSActionList.DESCRIPTION.WhatsAppStatic" },
WHATSAPP_ATTRIBUTE: { name: 'CDSActionList.NAME.WhatsAppByAttribute', category: TYPE_ACTION_CATEGORY.INTEGRATIONS, type: TYPE_ACTION.WHATSAPP_ATTRIBUTE, src: "assets/images/actions/whatsapp.svg", status: "active", description: "CDSActionList.DESCRIPTION.WhatsAppByAttribute" },
QAPLA: { name: 'CDSActionList.NAME.Qapla', category: TYPE_ACTION_CATEGORY.INTEGRATIONS, type: TYPE_ACTION.QAPLA, src: "assets/images/actions/qapla.svg", status: "active", plan: PLAN_NAME.E, description: "CDSActionList.DESCRIPTION.Qapla", disabled: false },
MAKE : { name: 'CDSActionList.NAME.Make', category: TYPE_ACTION_CATEGORY.INTEGRATIONS, type: TYPE_ACTION.MAKE, src:"assets/images/actions/make.svg", status: "active", plan: PLAN_NAME.D, description: '', disabled: false },
HUPSPOT : { name: 'CDSActionList.NAME.Hubspot', category: TYPE_ACTION_CATEGORY.INTEGRATIONS, type: TYPE_ACTION.HUBSPOT, src:"assets/images/actions/hubspot.svg", status: "active", plan: PLAN_NAME.E, description: '' },
CUSTOMERIO : { name: 'CDSActionList.NAME.Customerio', category: TYPE_ACTION_CATEGORY.INTEGRATIONS, type: TYPE_ACTION.CUSTOMERIO, src:"assets/images/actions/customerio.svg", status: "active", plan: PLAN_NAME.E, description: '' },
BREVO : { name: 'CDSActionList.NAME.Brevo', category: TYPE_ACTION_CATEGORY.INTEGRATIONS, type: TYPE_ACTION.BREVO, src:"assets/images/actions/brevo.svg", status: "active", plan: PLAN_NAME.E, description: '' },
N8N : { name: 'CDSActionList.NAME.N8n', category: TYPE_ACTION_CATEGORY.INTEGRATIONS, type: TYPE_ACTION.N8N, src:"assets/images/actions/n8n.svg", status: "active", plan: PLAN_NAME.E, description: '' },
// WHATSAPP_SEGMENT: { name: 'CDSActionList.NAME.WhatsAppBySegment', category: TYPE_ACTION_CATEGORY.INTEGRATIONS, type: TYPE_ACTION.WHATSAPP_SEGMENT, src: "assets/images/actions/whatsapp.svg", status: "active", description: "CDSActionList.DESCRIPTION.WhatsAppBySegment" },
HIDE_MESSAGE: { name: 'CDSActionList.NAME.HiddenMessage', category: TYPE_ACTION_CATEGORY.SPECIAL, type: TYPE_ACTION.HIDE_MESSAGE, src: "assets/images/actions/hidden_message.svg", status: "active" },
CHANGE_DEPARTMENT: { name: 'CDSActionList.NAME.ChangeDept', category: TYPE_ACTION_CATEGORY.SPECIAL, type: TYPE_ACTION.CHANGE_DEPARTMENT, src: "assets/images/actions/change_department.svg", status: "active" },
CODE : { name: 'CDSActionList.NAME.Code', category: TYPE_ACTION_CATEGORY.SPECIAL, type: TYPE_ACTION.CODE, src:"assets/images/actions/code.svg", status: "active", plan: PLAN_NAME.F, description: '', disabled: false },
// ASSIGN_FUNCTION: { name: 'CDSActionList.NAME.SetFunction', category: TYPE_ACTION_CATEGORY.NEW, type: TYPE_ACTION.ASSIGN_FUNCTION, src: "assets/images/actions/assign_var.svg" },


DFTM_FORM: { name: 'CDSActionList.NAME.DTMFForm', category: TYPE_ACTION_CATEGORY.VOICE, type: TYPE_ACTION_VXML.DTMF_FORM, src:"assets/images/actions-voice/dtmf_form.svg", status: "active", plan: PLAN_NAME.F, description: '' },
Expand Down

0 comments on commit e5db201

Please sign in to comment.