9f88025c2bac356b5f9a470c14bfca0528de256e
[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 _0x705f=['Intervals','interval','getIntervals','Request','name','Interval'];(function(_0x1eda65,_0x13d2d7){var _0x57d5ad=function(_0xc731b2){while(--_0xc731b2){_0x1eda65['push'](_0x1eda65['shift']());}};_0x57d5ad(++_0x13d2d7);}(_0x705f,0x75));var _0xf705=function(_0x246227,_0x12bfcb){_0x246227=_0x246227-0x0;var _0x37bd4a=_0x705f[_0x246227];return _0x37bd4a;};'use strict';var client=require('../client');exports['getIntervals']=function(){return function(){return client[_0xf705('0x0')]('GetInterval',{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id',_0xf705('0x1')],'include':[{'model':_0xf705('0x2'),'as':_0xf705('0x3'),'attributes':['id',_0xf705('0x1'),_0xf705('0x4')]}]},'log':_0xf705('0x5')});};};