Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Alexander
/
alex-hunter-sales-dev
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit b74e8aa8
authored
Sep 29, 2022
by
softwhiskey8
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
правки под отправку отчетов на почту
1 parent
0abc7160
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
10 deletions
app/app.dashaapp
app/main.dsl
app/phrasemap.json
app/view.json
app/app.dashaapp
View file @
b74e8aa
...
@@ -19,5 +19,5 @@
...
@@ -19,5 +19,5 @@
"file": "phrasemap.json",
"file": "phrasemap.json",
"signatureFile": "phrasemap.json"
"signatureFile": "phrasemap.json"
},
},
"name": "
megafon-phone-book
"
"name": "
hunter-salles-webinar-caller
"
}
}
app/main.dsl
View file @
b74e8aa
...
@@ -7,7 +7,7 @@ context {
...
@@ -7,7 +7,7 @@ context {
output cjm: string[] = [];
output cjm: string[] = [];
output need_ask_name: boolean = true;
output need_ask_name: boolean = true;
output template_id: number = 1;
output template_id: number = 1
05
;
output conversation_start: number = 0;
output conversation_start: number = 0;
output conversation_begin: number = 0;
output conversation_begin: number = 0;
output conversation_stop: number = 0;
output conversation_stop: number = 0;
...
@@ -15,6 +15,7 @@ context {
...
@@ -15,6 +15,7 @@ context {
output abonent_request: string[] = [];
output abonent_request: string[] = [];
output another_messager: string ="";
output another_messager: string ="";
output another_phone_number: string = "";
output another_phone_number: string = "";
output accepted_code: boolean = false;
output phone_suffix: string = "";
output phone_suffix: string = "";
output conversation_end: number = 0;
output conversation_end: number = 0;
}
}
...
@@ -212,6 +213,7 @@ node yes_whatsapp
...
@@ -212,6 +213,7 @@ node yes_whatsapp
{
{
//Отлично. Сейчас отправлю Вам промокод. Всего доброго до свидания.
//Отлично. Сейчас отправлю Вам промокод. Всего доброго до свидания.
set $cjm = external performed_stage($cjm, "yes_whatsapp");
set $cjm = external performed_stage($cjm, "yes_whatsapp");
set $accepted_code = true;
#say("gonna_send_code");
#say("gonna_send_code");
var result = blockcall SkipMessagesBlock();
var result = blockcall SkipMessagesBlock();
goto end_conversation;
goto end_conversation;
...
@@ -237,17 +239,18 @@ node no_whatsapp
...
@@ -237,17 +239,18 @@ node no_whatsapp
thanks_bye: goto thanks_bye on true;
thanks_bye: goto thanks_bye on true;
another_messangers: goto thanks_bye on #messageHasIntent("another_messangers");
another_messangers: goto thanks_bye on #messageHasIntent("another_messangers");
}
}
onexit
onexit
{
{
thanks_bye: do
thanks_bye: do
{
{
var contact = #getMessageText();
var contact = #getMessageText();
set $another_phone_number = external numbers_from_text(contact);
set $another_phone_number = external numbers_from_text(contact);
set $accepted_code = true;
}
}
another_messangers: do
another_messangers: do
{
{
set $another_messager = #getMessageText();
set $another_messager = #getMessageText();
set $accepted_code = true;
}
}
}
}
}
}
...
@@ -295,7 +298,7 @@ node not_present // Давайте проведем бесплатный Зум,
...
@@ -295,7 +298,7 @@ node not_present // Давайте проведем бесплатный Зум,
#say("free_zoom");
#say("free_zoom");
var result = blockcall SkipMessagesBlock();
var result = blockcall SkipMessagesBlock();
wait*;
wait*;
}
}
transitions
transitions
{
{
...
...
app/phrasemap.json
View file @
b74e8aa
This diff is collapsed.
Click to expand it.
app/view.json
View file @
b74e8aa
...
@@ -259,8 +259,8 @@
...
@@ -259,8 +259,8 @@
},
},
"node::no_whatsapp"
:
{
"node::no_whatsapp"
:
{
"common.position"
:
{
"common.position"
:
{
"x"
:
-1
201.493710691824
,
"x"
:
-1
104.239811012472
,
"y"
:
-8
20.6185914652003
"y"
:
-8
46.1123321578459
}
}
},
},
"node::yes_whatsapp"
:
{
"node::yes_whatsapp"
:
{
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment