930c471ffb101dfdc72a15895681104b5d8e5819
[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 _0x705f=['Intervals','interval','getIntervals','Request','name','Interval'];(function(_0x501bfd,_0x36d196){var _0x3cb897=function(_0x140a93){while(--_0x140a93){_0x501bfd['push'](_0x501bfd['shift']());}};_0x3cb897(++_0x36d196);}(_0x705f,0x75));var _0xf705=function(_0x15ebfd,_0xbc1af8){_0x15ebfd=_0x15ebfd-0x0;var _0x268375=_0x705f[_0x15ebfd];return _0x268375;};'use strict';var client=require('../client');exports['getIntervals']=function(){return function(){return client[_0xf705('0x0')]('GetInterval',{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id',_0xf705('0x1')],'include':[{'model':_0xf705('0x2'),'as':_0xf705('0x3'),'attributes':['id',_0xf705('0x1'),_0xf705('0x4')]}]},'log':_0xf705('0x5')});};};