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 _0x6c45=['data4','data7','../client','getTriggers','Request','GetTrigger','channel','status','Condition','AllConditions','field','operator','value','AnyConditions','Action','Actions','action','data1','data2'];(function(_0x185e54,_0x512708){var _0x1a830a=function(_0x4da2df){while(--_0x4da2df){_0x185e54['push'](_0x185e54['shift']());}};_0x1a830a(++_0x512708);}(_0x6c45,0x10c));var _0x56c4=function(_0x3d3cad,_0x5ce903){_0x3d3cad=_0x3d3cad-0x0;var _0x205c22=_0x6c45[_0x3d3cad];return _0x205c22;};'use strict';var client=require(_0x56c4('0x0'));exports[_0x56c4('0x1')]=function(_0x2d8a4a){return function(_0x310133){return client[_0x56c4('0x2')](_0x56c4('0x3'),{'options':{'raw':![],'attributes':['id','name',_0x56c4('0x4'),_0x56c4('0x5')],'include':[{'model':_0x56c4('0x6'),'as':_0x56c4('0x7'),'attributes':['id',_0x56c4('0x8'),_0x56c4('0x9'),_0x56c4('0xa')]},{'model':_0x56c4('0x6'),'as':_0x56c4('0xb'),'attributes':['id',_0x56c4('0x8'),_0x56c4('0x9'),'value']},{'model':_0x56c4('0xc'),'as':_0x56c4('0xd'),'attributes':['id',_0x56c4('0xe'),_0x56c4('0xf'),_0x56c4('0x10'),'data3',_0x56c4('0x11'),'data5','data6',_0x56c4('0x12')]}]},'log':_0x56c4('0x3')});};};