1b1a91da0ed04e5db75b37b2074db3988b13fa75
[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 _0x5b2c=['Intervals','interval','../client','getIntervals','GetInterval','name'];(function(_0x148819,_0x179901){var _0x5605fc=function(_0x340d17){while(--_0x340d17){_0x148819['push'](_0x148819['shift']());}};_0x5605fc(++_0x179901);}(_0x5b2c,0xc2));var _0xc5b2=function(_0x5ace6d,_0x5f0c46){_0x5ace6d=_0x5ace6d-0x0;var _0xf20972=_0x5b2c[_0x5ace6d];return _0xf20972;};'use strict';var client=require(_0xc5b2('0x0'));exports[_0xc5b2('0x1')]=function(){return function(){return client['Request'](_0xc5b2('0x2'),{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id',_0xc5b2('0x3')],'include':[{'model':'Interval','as':_0xc5b2('0x4'),'attributes':['id','name',_0xc5b2('0x5')]}]},'log':_0xc5b2('0x1')});};};