Built motion from commit 0415ced0.|2.6.28
[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 _0xa058=['../client','Request','name','Interval','Intervals','interval','getIntervals'];(function(_0x2659d4,_0xde39f1){var _0x494867=function(_0x64671c){while(--_0x64671c){_0x2659d4['push'](_0x2659d4['shift']());}};_0x494867(++_0xde39f1);}(_0xa058,0xd2));var _0x8a05=function(_0x50c492,_0x5c1e67){_0x50c492=_0x50c492-0x0;var _0x3505a8=_0xa058[_0x50c492];return _0x3505a8;};'use strict';var client=require(_0x8a05('0x0'));exports['getIntervals']=function(){return function(){return client[_0x8a05('0x1')]('GetInterval',{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id',_0x8a05('0x2')],'include':[{'model':_0x8a05('0x3'),'as':_0x8a05('0x4'),'attributes':['id',_0x8a05('0x2'),_0x8a05('0x5')]}]},'log':_0x8a05('0x6')});};};