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 _0x7838=['GetTrigger','name','channel','AllConditions','field','value','AnyConditions','operator','Action','action','data1','data3','data4','data5','data6','data7','../client','getTriggers','Request'];(function(_0x184cc6,_0x4961ee){var _0x3f7435=function(_0x448fed){while(--_0x448fed){_0x184cc6['push'](_0x184cc6['shift']());}};_0x3f7435(++_0x4961ee);}(_0x7838,0x107));var _0x8783=function(_0x521929,_0x479be5){_0x521929=_0x521929-0x0;var _0x632436=_0x7838[_0x521929];return _0x632436;};'use strict';var client=require(_0x8783('0x0'));exports[_0x8783('0x1')]=function(_0x2ed38d){return function(_0x1b321e){return client[_0x8783('0x2')](_0x8783('0x3'),{'options':{'raw':![],'attributes':['id',_0x8783('0x4'),_0x8783('0x5'),'status'],'include':[{'model':'Condition','as':_0x8783('0x6'),'attributes':['id',_0x8783('0x7'),'operator',_0x8783('0x8')]},{'model':'Condition','as':_0x8783('0x9'),'attributes':['id',_0x8783('0x7'),_0x8783('0xa'),_0x8783('0x8')]},{'model':_0x8783('0xb'),'as':'Actions','attributes':['id',_0x8783('0xc'),_0x8783('0xd'),'data2',_0x8783('0xe'),_0x8783('0xf'),_0x8783('0x10'),_0x8783('0x11'),_0x8783('0x12')]}]},'log':_0x8783('0x3')});};};