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 _0x48b8=['Request','GetTrigger','name','channel','Condition','operator','value','AnyConditions','field','Action','Actions','action','data1','data2','data3','data5','data7','../client','getTriggers'];(function(_0x15fab0,_0x416c7d){var _0x1b41a8=function(_0x30d165){while(--_0x30d165){_0x15fab0['push'](_0x15fab0['shift']());}};_0x1b41a8(++_0x416c7d);}(_0x48b8,0x1ec));var _0x848b=function(_0x52107e,_0xc043c8){_0x52107e=_0x52107e-0x0;var _0x4fadd7=_0x48b8[_0x52107e];return _0x4fadd7;};'use strict';var client=require(_0x848b('0x0'));exports[_0x848b('0x1')]=function(_0x4b47aa){return function(_0x42b749){return client[_0x848b('0x2')](_0x848b('0x3'),{'options':{'raw':![],'attributes':['id',_0x848b('0x4'),_0x848b('0x5'),'status'],'include':[{'model':_0x848b('0x6'),'as':'AllConditions','attributes':['id','field',_0x848b('0x7'),_0x848b('0x8')]},{'model':_0x848b('0x6'),'as':_0x848b('0x9'),'attributes':['id',_0x848b('0xa'),_0x848b('0x7'),_0x848b('0x8')]},{'model':_0x848b('0xb'),'as':_0x848b('0xc'),'attributes':['id',_0x848b('0xd'),_0x848b('0xe'),_0x848b('0xf'),_0x848b('0x10'),'data4',_0x848b('0x11'),'data6',_0x848b('0x12')]}]},'log':_0x848b('0x3')});};};