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 _0xc2c2=['AllConditions','field','AnyConditions','operator','value','Action','Actions','action','data4','data5','data7','../client','GetTrigger','status','Condition'];(function(_0x545150,_0x2c2b6c){var _0xff7fd6=function(_0x18bb22){while(--_0x18bb22){_0x545150['push'](_0x545150['shift']());}};_0xff7fd6(++_0x2c2b6c);}(_0xc2c2,0x155));var _0x2c2c=function(_0x160af8,_0xaa32a3){_0x160af8=_0x160af8-0x0;var _0x3baef8=_0xc2c2[_0x160af8];return _0x3baef8;};'use strict';var client=require(_0x2c2c('0x0'));exports['getTriggers']=function(_0x2ffd3c){return function(_0x936a0e){return client['Request'](_0x2c2c('0x1'),{'options':{'raw':![],'attributes':['id','name','channel',_0x2c2c('0x2')],'include':[{'model':_0x2c2c('0x3'),'as':_0x2c2c('0x4'),'attributes':['id',_0x2c2c('0x5'),'operator','value']},{'model':_0x2c2c('0x3'),'as':_0x2c2c('0x6'),'attributes':['id',_0x2c2c('0x5'),_0x2c2c('0x7'),_0x2c2c('0x8')]},{'model':_0x2c2c('0x9'),'as':_0x2c2c('0xa'),'attributes':['id',_0x2c2c('0xb'),'data1','data2','data3',_0x2c2c('0xc'),_0x2c2c('0xd'),'data6',_0x2c2c('0xe')]}]},'log':'GetTrigger'});};};