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 _0xcf8e=['Actions','action','data1','data2','data4','data5','data6','../client','getTriggers','Request','GetTrigger','name','channel','status','Condition','AllConditions','value','AnyConditions','field','operator','Action'];(function(_0x59d89e,_0x55edf5){var _0x554e93=function(_0x3d40bc){while(--_0x3d40bc){_0x59d89e['push'](_0x59d89e['shift']());}};_0x554e93(++_0x55edf5);}(_0xcf8e,0x16c));var _0xecf8=function(_0x503312,_0x1ea598){_0x503312=_0x503312-0x0;var _0x5379e5=_0xcf8e[_0x503312];return _0x5379e5;};'use strict';var client=require(_0xecf8('0x0'));exports[_0xecf8('0x1')]=function(_0x16bbae){return function(_0x4b0d66){return client[_0xecf8('0x2')](_0xecf8('0x3'),{'options':{'raw':![],'attributes':['id',_0xecf8('0x4'),_0xecf8('0x5'),_0xecf8('0x6')],'include':[{'model':_0xecf8('0x7'),'as':_0xecf8('0x8'),'attributes':['id','field','operator',_0xecf8('0x9')]},{'model':'Condition','as':_0xecf8('0xa'),'attributes':['id',_0xecf8('0xb'),_0xecf8('0xc'),_0xecf8('0x9')]},{'model':_0xecf8('0xd'),'as':_0xecf8('0xe'),'attributes':['id',_0xecf8('0xf'),_0xecf8('0x10'),_0xecf8('0x11'),'data3',_0xecf8('0x12'),_0xecf8('0x13'),_0xecf8('0x14'),'data7']}]},'log':'GetTrigger'});};};