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 _0x349e=['data5','data6','data7','../client','getTriggers','Request','GetTrigger','channel','status','AllConditions','field','operator','value','Condition','AnyConditions','Actions','data1','data3','data4'];(function(_0x95e378,_0xd13948){var _0x3092f0=function(_0x5a2130){while(--_0x5a2130){_0x95e378['push'](_0x95e378['shift']());}};_0x3092f0(++_0xd13948);}(_0x349e,0xe7));var _0xe349=function(_0x482cd2,_0x35129f){_0x482cd2=_0x482cd2-0x0;var _0x579441=_0x349e[_0x482cd2];return _0x579441;};'use strict';var client=require(_0xe349('0x0'));exports[_0xe349('0x1')]=function(_0x4b05bf){return function(_0x18ab6b){return client[_0xe349('0x2')](_0xe349('0x3'),{'options':{'raw':![],'attributes':['id','name',_0xe349('0x4'),_0xe349('0x5')],'include':[{'model':'Condition','as':_0xe349('0x6'),'attributes':['id',_0xe349('0x7'),_0xe349('0x8'),_0xe349('0x9')]},{'model':_0xe349('0xa'),'as':_0xe349('0xb'),'attributes':['id','field','operator',_0xe349('0x9')]},{'model':'Action','as':_0xe349('0xc'),'attributes':['id','action',_0xe349('0xd'),'data2',_0xe349('0xe'),_0xe349('0xf'),_0xe349('0x10'),_0xe349('0x11'),_0xe349('0x12')]}]},'log':_0xe349('0x3')});};};