a0123931f78c8a29dc3da46255829488474f0ef2
[motion2.git] / server / services / routing / rpc / interval.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xf45e=['Interval','Intervals','interval','getIntervals','../client','Request','name'];(function(_0x531287,_0xf5fb11){var _0x43e86c=function(_0x363e1a){while(--_0x363e1a){_0x531287['push'](_0x531287['shift']());}};_0x43e86c(++_0xf5fb11);}(_0xf45e,0x115));var _0xef45=function(_0xe4c521,_0x20a061){_0xe4c521=_0xe4c521-0x0;var _0x3cafa0=_0xf45e[_0xe4c521];return _0x3cafa0;};'use strict';var client=require(_0xef45('0x0'));exports['getIntervals']=function(){return function(){return client[_0xef45('0x1')]('GetInterval',{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id',_0xef45('0x2')],'include':[{'model':_0xef45('0x3'),'as':_0xef45('0x4'),'attributes':['id',_0xef45('0x2'),_0xef45('0x5')]}]},'log':_0xef45('0x6')});};};