Built motion from commit 9d0783e6.|2.6.13
[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 _0xcfa7=['name','Interval','Intervals','interval','Request'];(function(_0x35e92e,_0x21581b){var _0x1205a8=function(_0x4325d8){while(--_0x4325d8){_0x35e92e['push'](_0x35e92e['shift']());}};_0x1205a8(++_0x21581b);}(_0xcfa7,0x117));var _0x7cfa=function(_0x23106c,_0x165317){_0x23106c=_0x23106c-0x0;var _0x2442b3=_0xcfa7[_0x23106c];return _0x2442b3;};'use strict';var client=require('../client');exports['getIntervals']=function(){return function(){return client[_0x7cfa('0x0')]('GetInterval',{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id',_0x7cfa('0x1')],'include':[{'model':_0x7cfa('0x2'),'as':_0x7cfa('0x3'),'attributes':['id',_0x7cfa('0x1'),_0x7cfa('0x4')]}]},'log':'getIntervals'});};};