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 _0x1498=['AllConditions','field','operator','value','AnyConditions','Action','action','data1','data3','data4','data5','data6','data7','../client','getTriggers','GetTrigger','channel','Condition'];(function(_0x231e16,_0x67347b){var _0x570a7c=function(_0x2c35b4){while(--_0x2c35b4){_0x231e16['push'](_0x231e16['shift']());}};_0x570a7c(++_0x67347b);}(_0x1498,0x163));var _0x8149=function(_0x4e8919,_0x32a87d){_0x4e8919=_0x4e8919-0x0;var _0x538d63=_0x1498[_0x4e8919];return _0x538d63;};'use strict';var client=require(_0x8149('0x0'));exports[_0x8149('0x1')]=function(_0x2f2a22){return function(_0x1b2f54){return client['Request'](_0x8149('0x2'),{'options':{'raw':![],'attributes':['id','name',_0x8149('0x3'),'status'],'include':[{'model':_0x8149('0x4'),'as':_0x8149('0x5'),'attributes':['id',_0x8149('0x6'),_0x8149('0x7'),_0x8149('0x8')]},{'model':'Condition','as':_0x8149('0x9'),'attributes':['id',_0x8149('0x6'),_0x8149('0x7'),_0x8149('0x8')]},{'model':_0x8149('0xa'),'as':'Actions','attributes':['id',_0x8149('0xb'),_0x8149('0xc'),'data2',_0x8149('0xd'),_0x8149('0xe'),_0x8149('0xf'),_0x8149('0x10'),_0x8149('0x11')]}]},'log':'GetTrigger'});};};