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 _0x8a02=['data2','data4','data6','data7','../client','getTriggers','GetTrigger','name','channel','status','Condition','operator','AnyConditions','field','value','Actions','action'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x8a02,0x18b));var _0x28a0=function(_0x32663d,_0x2eaefe){_0x32663d=_0x32663d-0x0;var _0x3c6253=_0x8a02[_0x32663d];return _0x3c6253;};'use strict';var client=require(_0x28a0('0x0'));exports[_0x28a0('0x1')]=function(_0x4509b7){return function(_0x1cf590){return client['Request'](_0x28a0('0x2'),{'options':{'raw':![],'attributes':['id',_0x28a0('0x3'),_0x28a0('0x4'),_0x28a0('0x5')],'include':[{'model':_0x28a0('0x6'),'as':'AllConditions','attributes':['id','field',_0x28a0('0x7'),'value']},{'model':_0x28a0('0x6'),'as':_0x28a0('0x8'),'attributes':['id',_0x28a0('0x9'),_0x28a0('0x7'),_0x28a0('0xa')]},{'model':'Action','as':_0x28a0('0xb'),'attributes':['id',_0x28a0('0xc'),'data1',_0x28a0('0xd'),'data3',_0x28a0('0xe'),'data5',_0x28a0('0xf'),_0x28a0('0x10')]}]},'log':_0x28a0('0x2')});};};