2228b584ffc29f8c1b5450da060e52e0c6faa1f2
[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 _0xe901=['../client','getIntervals','GetInterval','name','Interval'];(function(_0x1a2381,_0x2de9b7){var _0x3f30d0=function(_0x17e7ab){while(--_0x17e7ab){_0x1a2381['push'](_0x1a2381['shift']());}};_0x3f30d0(++_0x2de9b7);}(_0xe901,0x1ea));var _0x1e90=function(_0x552352,_0x51e3b0){_0x552352=_0x552352-0x0;var _0x1e0d71=_0xe901[_0x552352];return _0x1e0d71;};'use strict';var client=require(_0x1e90('0x0'));exports[_0x1e90('0x1')]=function(){return function(){return client['Request'](_0x1e90('0x2'),{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id',_0x1e90('0x3')],'include':[{'model':_0x1e90('0x4'),'as':'Intervals','attributes':['id',_0x1e90('0x3'),'interval']}]},'log':_0x1e90('0x1')});};};