e44fcb608557813255843fc94fbdbfc0236b586e
[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 _0x7894=['GetInterval','name','Interval','interval','../client','getIntervals','Request'];(function(_0x19500a,_0x317e84){var _0x21f791=function(_0x437e7d){while(--_0x437e7d){_0x19500a['push'](_0x19500a['shift']());}};_0x21f791(++_0x317e84);}(_0x7894,0x170));var _0x4789=function(_0x5a711c,_0x3a7d36){_0x5a711c=_0x5a711c-0x0;var _0x439e59=_0x7894[_0x5a711c];return _0x439e59;};'use strict';var client=require(_0x4789('0x0'));exports[_0x4789('0x1')]=function(){return function(){return client[_0x4789('0x2')](_0x4789('0x3'),{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id',_0x4789('0x4')],'include':[{'model':_0x4789('0x5'),'as':'Intervals','attributes':['id',_0x4789('0x4'),_0x4789('0x6')]}]},'log':'getIntervals'});};};