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 _0x0f9d=['../client','getTriggers','Request','GetTrigger','name','channel','status','Condition','field','operator','AnyConditions','value','Action','Actions','action','data2','data4','data5','data7'];(function(_0x47dce8,_0x2f7c94){var _0x3910f0=function(_0x4629ed){while(--_0x4629ed){_0x47dce8['push'](_0x47dce8['shift']());}};_0x3910f0(++_0x2f7c94);}(_0x0f9d,0x10a));var _0xd0f9=function(_0xdbe2de,_0x3bdc5a){_0xdbe2de=_0xdbe2de-0x0;var _0x2facd7=_0x0f9d[_0xdbe2de];return _0x2facd7;};'use strict';var client=require(_0xd0f9('0x0'));exports[_0xd0f9('0x1')]=function(_0x418959){return function(_0x455b02){return client[_0xd0f9('0x2')](_0xd0f9('0x3'),{'options':{'raw':![],'attributes':['id',_0xd0f9('0x4'),_0xd0f9('0x5'),_0xd0f9('0x6')],'include':[{'model':_0xd0f9('0x7'),'as':'AllConditions','attributes':['id',_0xd0f9('0x8'),_0xd0f9('0x9'),'value']},{'model':_0xd0f9('0x7'),'as':_0xd0f9('0xa'),'attributes':['id',_0xd0f9('0x8'),_0xd0f9('0x9'),_0xd0f9('0xb')]},{'model':_0xd0f9('0xc'),'as':_0xd0f9('0xd'),'attributes':['id',_0xd0f9('0xe'),'data1',_0xd0f9('0xf'),'data3',_0xd0f9('0x10'),_0xd0f9('0x11'),'data6',_0xd0f9('0x12')]}]},'log':_0xd0f9('0x3')});};};