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 _0xf542=['data5','data6','data7','GetTrigger','getTriggers','Request','name','channel','status','Condition','AllConditions','value','AnyConditions','operator','Action','Actions','action','data2','data3'];(function(_0x56608c,_0x29eb74){var _0x3c7fb0=function(_0x154b1c){while(--_0x154b1c){_0x56608c['push'](_0x56608c['shift']());}};_0x3c7fb0(++_0x29eb74);}(_0xf542,0x10e));var _0x2f54=function(_0x39f5d2,_0x28339f){_0x39f5d2=_0x39f5d2-0x0;var _0x10a218=_0xf542[_0x39f5d2];return _0x10a218;};'use strict';var client=require('../client');exports[_0x2f54('0x0')]=function(_0x2ce98f){return function(_0xfc43c2){return client[_0x2f54('0x1')]('GetTrigger',{'options':{'raw':![],'attributes':['id',_0x2f54('0x2'),_0x2f54('0x3'),_0x2f54('0x4')],'include':[{'model':_0x2f54('0x5'),'as':_0x2f54('0x6'),'attributes':['id','field','operator',_0x2f54('0x7')]},{'model':'Condition','as':_0x2f54('0x8'),'attributes':['id','field',_0x2f54('0x9'),_0x2f54('0x7')]},{'model':_0x2f54('0xa'),'as':_0x2f54('0xb'),'attributes':['id',_0x2f54('0xc'),'data1',_0x2f54('0xd'),_0x2f54('0xe'),'data4',_0x2f54('0xf'),_0x2f54('0x10'),_0x2f54('0x11')]}]},'log':_0x2f54('0x12')});};};