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 _0x15c5=['AnyConditions','operator','Action','Actions','action','data1','data2','data5','data6','getTriggers','Request','GetTrigger','name','status','Condition','AllConditions','field','value'];(function(_0x4c539e,_0x70eda3){var _0x1a922d=function(_0x411f12){while(--_0x411f12){_0x4c539e['push'](_0x4c539e['shift']());}};_0x1a922d(++_0x70eda3);}(_0x15c5,0x1cb));var _0x515c=function(_0x3cc05d,_0x4b8f88){_0x3cc05d=_0x3cc05d-0x0;var _0x28b736=_0x15c5[_0x3cc05d];return _0x28b736;};'use strict';var client=require('../client');exports[_0x515c('0x0')]=function(_0x2f3e2f){return function(_0xae5089){return client[_0x515c('0x1')](_0x515c('0x2'),{'options':{'raw':![],'attributes':['id',_0x515c('0x3'),'channel',_0x515c('0x4')],'include':[{'model':_0x515c('0x5'),'as':_0x515c('0x6'),'attributes':['id',_0x515c('0x7'),'operator',_0x515c('0x8')]},{'model':'Condition','as':_0x515c('0x9'),'attributes':['id',_0x515c('0x7'),_0x515c('0xa'),_0x515c('0x8')]},{'model':_0x515c('0xb'),'as':_0x515c('0xc'),'attributes':['id',_0x515c('0xd'),_0x515c('0xe'),_0x515c('0xf'),'data3','data4',_0x515c('0x10'),_0x515c('0x11'),'data7']}]},'log':_0x515c('0x2')});};};