Built motion from commit e02f907f.|2.6.14
[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 _0xf870=['../client','getIntervals','Request','name','Intervals'];(function(_0x32292b,_0x4e9525){var _0x1845b4=function(_0x348377){while(--_0x348377){_0x32292b['push'](_0x32292b['shift']());}};_0x1845b4(++_0x4e9525);}(_0xf870,0xf0));var _0x0f87=function(_0x597cb9,_0x38d6a5){_0x597cb9=_0x597cb9-0x0;var _0x22d76e=_0xf870[_0x597cb9];return _0x22d76e;};'use strict';var client=require(_0x0f87('0x0'));exports[_0x0f87('0x1')]=function(){return function(){return client[_0x0f87('0x2')]('GetInterval',{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id',_0x0f87('0x3')],'include':[{'model':'Interval','as':_0x0f87('0x4'),'attributes':['id','name','interval']}]},'log':_0x0f87('0x1')});};};