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 _0x47ef=['operator','AnyConditions','value','Action','data1','data2','data3','data4','data5','data7','../client','getTriggers','Request','GetTrigger','name','status','Condition','AllConditions'];(function(_0x385467,_0x298239){var _0x5ed67e=function(_0x4b252c){while(--_0x4b252c){_0x385467['push'](_0x385467['shift']());}};_0x5ed67e(++_0x298239);}(_0x47ef,0x88));var _0xf47e=function(_0xc1c567,_0x4447ca){_0xc1c567=_0xc1c567-0x0;var _0xffea38=_0x47ef[_0xc1c567];return _0xffea38;};'use strict';var client=require(_0xf47e('0x0'));exports[_0xf47e('0x1')]=function(_0xbdd09a){return function(_0x132ddc){return client[_0xf47e('0x2')](_0xf47e('0x3'),{'options':{'raw':![],'attributes':['id',_0xf47e('0x4'),'channel',_0xf47e('0x5')],'include':[{'model':_0xf47e('0x6'),'as':_0xf47e('0x7'),'attributes':['id','field',_0xf47e('0x8'),'value']},{'model':_0xf47e('0x6'),'as':_0xf47e('0x9'),'attributes':['id','field',_0xf47e('0x8'),_0xf47e('0xa')]},{'model':_0xf47e('0xb'),'as':'Actions','attributes':['id','action',_0xf47e('0xc'),_0xf47e('0xd'),_0xf47e('0xe'),_0xf47e('0xf'),_0xf47e('0x10'),'data6',_0xf47e('0x11')]}]},'log':_0xf47e('0x3')});};};