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 _0x0c4b=['name','channel','status','Condition','operator','AnyConditions','field','value','Action','action','data1','data2','data3','data4','data5','data7','../client','getTriggers','GetTrigger'];(function(_0x2a3b8d,_0xa16d0a){var _0x3e12c5=function(_0x5e5d63){while(--_0x5e5d63){_0x2a3b8d['push'](_0x2a3b8d['shift']());}};_0x3e12c5(++_0xa16d0a);}(_0x0c4b,0xce));var _0xb0c4=function(_0xfc0021,_0x336a32){_0xfc0021=_0xfc0021-0x0;var _0x5f392c=_0x0c4b[_0xfc0021];return _0x5f392c;};'use strict';var client=require(_0xb0c4('0x0'));exports[_0xb0c4('0x1')]=function(_0x2bb4a2){return function(_0x4ff259){return client['Request'](_0xb0c4('0x2'),{'options':{'raw':![],'attributes':['id',_0xb0c4('0x3'),_0xb0c4('0x4'),_0xb0c4('0x5')],'include':[{'model':_0xb0c4('0x6'),'as':'AllConditions','attributes':['id','field',_0xb0c4('0x7'),'value']},{'model':'Condition','as':_0xb0c4('0x8'),'attributes':['id',_0xb0c4('0x9'),_0xb0c4('0x7'),_0xb0c4('0xa')]},{'model':_0xb0c4('0xb'),'as':'Actions','attributes':['id',_0xb0c4('0xc'),_0xb0c4('0xd'),_0xb0c4('0xe'),_0xb0c4('0xf'),_0xb0c4('0x10'),_0xb0c4('0x11'),'data6',_0xb0c4('0x12')]}]},'log':'GetTrigger'});};};