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 _0xae5f=['AnyConditions','Actions','action','data1','data3','data4','data5','data6','data7','../client','getTriggers','Request','GetTrigger','channel','status','field','operator','value','Condition'];(function(_0x36ceef,_0x5d166e){var _0x1cf645=function(_0x4d9dcf){while(--_0x4d9dcf){_0x36ceef['push'](_0x36ceef['shift']());}};_0x1cf645(++_0x5d166e);}(_0xae5f,0x126));var _0xfae5=function(_0x47f554,_0x449cba){_0x47f554=_0x47f554-0x0;var _0x4fbb73=_0xae5f[_0x47f554];return _0x4fbb73;};'use strict';var client=require(_0xfae5('0x0'));exports[_0xfae5('0x1')]=function(_0x27fb7f){return function(_0x51e99a){return client[_0xfae5('0x2')](_0xfae5('0x3'),{'options':{'raw':![],'attributes':['id','name',_0xfae5('0x4'),_0xfae5('0x5')],'include':[{'model':'Condition','as':'AllConditions','attributes':['id',_0xfae5('0x6'),_0xfae5('0x7'),_0xfae5('0x8')]},{'model':_0xfae5('0x9'),'as':_0xfae5('0xa'),'attributes':['id',_0xfae5('0x6'),_0xfae5('0x7'),_0xfae5('0x8')]},{'model':'Action','as':_0xfae5('0xb'),'attributes':['id',_0xfae5('0xc'),_0xfae5('0xd'),'data2',_0xfae5('0xe'),_0xfae5('0xf'),_0xfae5('0x10'),_0xfae5('0x11'),_0xfae5('0x12')]}]},'log':'GetTrigger'});};};