aba33682b886a00733fe2a9191b9392ad36dbfd6
[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 _0x9379=['../client','getIntervals','name','Interval','Intervals','interval'];(function(_0x19950b,_0x53d0d7){var _0x3c6b41=function(_0x3924ad){while(--_0x3924ad){_0x19950b['push'](_0x19950b['shift']());}};_0x3c6b41(++_0x53d0d7);}(_0x9379,0xea));var _0x9937=function(_0x55bda2,_0x4315d0){_0x55bda2=_0x55bda2-0x0;var _0x2e0c4c=_0x9379[_0x55bda2];return _0x2e0c4c;};'use strict';var client=require(_0x9937('0x0'));exports[_0x9937('0x1')]=function(){return function(){return client['Request']('GetInterval',{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id',_0x9937('0x2')],'include':[{'model':_0x9937('0x3'),'as':_0x9937('0x4'),'attributes':['id','name',_0x9937('0x5')]}]},'log':_0x9937('0x1')});};};