Built motion from commit f7863d46.|2.5.41
[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 _0x51d6=['name','interval','getIntervals','GetInterval'];(function(_0x350796,_0x1bf21f){var _0x126f19=function(_0x4d7591){while(--_0x4d7591){_0x350796['push'](_0x350796['shift']());}};_0x126f19(++_0x1bf21f);}(_0x51d6,0x16a));var _0x651d=function(_0x4e789d,_0x285c8c){_0x4e789d=_0x4e789d-0x0;var _0xd70e4f=_0x51d6[_0x4e789d];return _0xd70e4f;};'use strict';var client=require('../client');exports[_0x651d('0x0')]=function(){return function(){return client['Request'](_0x651d('0x1'),{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id',_0x651d('0x2')],'include':[{'model':'Interval','as':'Intervals','attributes':['id',_0x651d('0x2'),_0x651d('0x3')]}]},'log':_0x651d('0x0')});};};