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 _0x0464=['data2','data4','data5','data7','GetTrigger','../client','getTriggers','name','channel','status','Condition','AllConditions','field','AnyConditions','Action','Actions','action','data1'];(function(_0x185e5c,_0x4bd125){var _0x1651ee=function(_0x26a42a){while(--_0x26a42a){_0x185e5c['push'](_0x185e5c['shift']());}};_0x1651ee(++_0x4bd125);}(_0x0464,0x16d));var _0x4046=function(_0x1709e0,_0x525027){_0x1709e0=_0x1709e0-0x0;var _0x5f27e3=_0x0464[_0x1709e0];return _0x5f27e3;};'use strict';var client=require(_0x4046('0x0'));exports[_0x4046('0x1')]=function(_0x33e956){return function(_0x486ad9){return client['Request']('GetTrigger',{'options':{'raw':![],'attributes':['id',_0x4046('0x2'),_0x4046('0x3'),_0x4046('0x4')],'include':[{'model':_0x4046('0x5'),'as':_0x4046('0x6'),'attributes':['id',_0x4046('0x7'),'operator','value']},{'model':_0x4046('0x5'),'as':_0x4046('0x8'),'attributes':['id','field','operator','value']},{'model':_0x4046('0x9'),'as':_0x4046('0xa'),'attributes':['id',_0x4046('0xb'),_0x4046('0xc'),_0x4046('0xd'),'data3',_0x4046('0xe'),_0x4046('0xf'),'data6',_0x4046('0x10')]}]},'log':_0x4046('0x11')});};};