ec418f2d963cb9c6a7f32fc2cf5abd2d0c24af67
[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 _0x9bb2=['Interval','Intervals','interval','../client','getIntervals','name'];(function(_0x5028c3,_0xf4a28d){var _0x2318f3=function(_0x31f20f){while(--_0x31f20f){_0x5028c3['push'](_0x5028c3['shift']());}};_0x2318f3(++_0xf4a28d);}(_0x9bb2,0x15f));var _0x29bb=function(_0x40f3c4,_0x29555f){_0x40f3c4=_0x40f3c4-0x0;var _0x3a830d=_0x9bb2[_0x40f3c4];return _0x3a830d;};'use strict';var client=require(_0x29bb('0x0'));exports[_0x29bb('0x1')]=function(){return function(){return client['Request']('GetInterval',{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id',_0x29bb('0x2')],'include':[{'model':_0x29bb('0x3'),'as':_0x29bb('0x4'),'attributes':['id',_0x29bb('0x2'),_0x29bb('0x5')]}]},'log':'getIntervals'});};};