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 _0xfd7e=['Action','Actions','action','data1','data4','data6','data7','GetTrigger','../client','getTriggers','Request','status','Condition','AllConditions','field','operator','value','AnyConditions'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0xfd7e,0xf2));var _0xefd7=function(_0x6f542f,_0xfcc8c){_0x6f542f=_0x6f542f-0x0;var _0x2a3c8f=_0xfd7e[_0x6f542f];return _0x2a3c8f;};'use strict';var client=require(_0xefd7('0x0'));exports[_0xefd7('0x1')]=function(_0x2b72ca){return function(_0x2afb52){return client[_0xefd7('0x2')]('GetTrigger',{'options':{'raw':![],'attributes':['id','name','channel',_0xefd7('0x3')],'include':[{'model':_0xefd7('0x4'),'as':_0xefd7('0x5'),'attributes':['id',_0xefd7('0x6'),_0xefd7('0x7'),_0xefd7('0x8')]},{'model':'Condition','as':_0xefd7('0x9'),'attributes':['id','field',_0xefd7('0x7'),_0xefd7('0x8')]},{'model':_0xefd7('0xa'),'as':_0xefd7('0xb'),'attributes':['id',_0xefd7('0xc'),_0xefd7('0xd'),'data2','data3',_0xefd7('0xe'),'data5',_0xefd7('0xf'),_0xefd7('0x10')]}]},'log':_0xefd7('0x11')});};};