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 _0xa18f=['data3','data4','data6','data7','../client','getTriggers','GetTrigger','channel','status','Condition','AllConditions','operator','value','AnyConditions','field','Action','Actions','action','data1','data2'];(function(_0x2229f6,_0x2c5734){var _0x52ee74=function(_0x4252f6){while(--_0x4252f6){_0x2229f6['push'](_0x2229f6['shift']());}};_0x52ee74(++_0x2c5734);}(_0xa18f,0xe0));var _0xfa18=function(_0x15bbee,_0x129cd3){_0x15bbee=_0x15bbee-0x0;var _0x20dd1d=_0xa18f[_0x15bbee];return _0x20dd1d;};'use strict';var client=require(_0xfa18('0x0'));exports[_0xfa18('0x1')]=function(_0x410281){return function(_0x5d3b7c){return client['Request'](_0xfa18('0x2'),{'options':{'raw':![],'attributes':['id','name',_0xfa18('0x3'),_0xfa18('0x4')],'include':[{'model':_0xfa18('0x5'),'as':_0xfa18('0x6'),'attributes':['id','field',_0xfa18('0x7'),_0xfa18('0x8')]},{'model':_0xfa18('0x5'),'as':_0xfa18('0x9'),'attributes':['id',_0xfa18('0xa'),_0xfa18('0x7'),_0xfa18('0x8')]},{'model':_0xfa18('0xb'),'as':_0xfa18('0xc'),'attributes':['id',_0xfa18('0xd'),_0xfa18('0xe'),_0xfa18('0xf'),_0xfa18('0x10'),_0xfa18('0x11'),'data5',_0xfa18('0x12'),_0xfa18('0x13')]}]},'log':'GetTrigger'});};};