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 _0x2263=['Request','status','Condition','field','operator','value','AnyConditions','Action','Actions','action','data3','data4','data5','data6','data7','../client','getTriggers'];(function(_0x13d07a,_0x41efc3){var _0x5ee0ee=function(_0x4ca94a){while(--_0x4ca94a){_0x13d07a['push'](_0x13d07a['shift']());}};_0x5ee0ee(++_0x41efc3);}(_0x2263,0xec));var _0x3226=function(_0x593752,_0xfc3827){_0x593752=_0x593752-0x0;var _0x4612be=_0x2263[_0x593752];return _0x4612be;};'use strict';var client=require(_0x3226('0x0'));exports[_0x3226('0x1')]=function(_0x351cc8){return function(_0x167779){return client[_0x3226('0x2')]('GetTrigger',{'options':{'raw':![],'attributes':['id','name','channel',_0x3226('0x3')],'include':[{'model':_0x3226('0x4'),'as':'AllConditions','attributes':['id',_0x3226('0x5'),_0x3226('0x6'),_0x3226('0x7')]},{'model':_0x3226('0x4'),'as':_0x3226('0x8'),'attributes':['id',_0x3226('0x5'),_0x3226('0x6'),_0x3226('0x7')]},{'model':_0x3226('0x9'),'as':_0x3226('0xa'),'attributes':['id',_0x3226('0xb'),'data1','data2',_0x3226('0xc'),_0x3226('0xd'),_0x3226('0xe'),_0x3226('0xf'),_0x3226('0x10')]}]},'log':'GetTrigger'});};};