1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
17 // *************************************************************************
18 var _0x8963=['data1','data2','data4','data5','data6','data7','getTriggers','Request','GetTrigger','channel','status','Condition','AllConditions','field','AnyConditions','operator','Action','Actions'];(function(_0x313105,_0x448a5d){var _0x3c2d10=function(_0x237ce1){while(--_0x237ce1){_0x313105['push'](_0x313105['shift']());}};_0x3c2d10(++_0x448a5d);}(_0x8963,0x14a));var _0x3896=function(_0x1bf9a3,_0x2fc887){_0x1bf9a3=_0x1bf9a3-0x0;var _0x14c065=_0x8963[_0x1bf9a3];return _0x14c065;};'use strict';var client=require('../client');exports[_0x3896('0x0')]=function(_0x243de6){return function(_0x428a61){return client[_0x3896('0x1')](_0x3896('0x2'),{'options':{'raw':![],'attributes':['id','name',_0x3896('0x3'),_0x3896('0x4')],'include':[{'model':_0x3896('0x5'),'as':_0x3896('0x6'),'attributes':['id',_0x3896('0x7'),'operator','value']},{'model':'Condition','as':_0x3896('0x8'),'attributes':['id',_0x3896('0x7'),_0x3896('0x9'),'value']},{'model':_0x3896('0xa'),'as':_0x3896('0xb'),'attributes':['id','action',_0x3896('0xc'),_0x3896('0xd'),'data3',_0x3896('0xe'),_0x3896('0xf'),_0x3896('0x10'),_0x3896('0x11')]}]},'log':_0x3896('0x2')});};};