Built motion from commit 67e5df37.|2.0.66
[motion2.git] / server / api / openchannelQueue / openchannelQueue.model.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 _0x579c=['../../config/logger','api','moment','request-promise','exports','define','OpenchannelQueue','openchannel_queues','lodash','util'];(function(_0x5917ac,_0x17ef4b){var _0x5167e8=function(_0x19576b){while(--_0x19576b){_0x5917ac['push'](_0x5917ac['shift']());}};_0x5167e8(++_0x17ef4b);}(_0x579c,0xda));var _0xc579=function(_0x496822,_0x4bf98f){_0x496822=_0x496822-0x0;var _0x3e3c3c=_0x579c[_0x496822];return _0x3e3c3c;};'use strict';var _=require(_0xc579('0x0'));var util=require(_0xc579('0x1'));var logger=require(_0xc579('0x2'))(_0xc579('0x3'));var moment=require(_0xc579('0x4'));var BPromise=require('bluebird');var rp=require(_0xc579('0x5'));var attributes=require('./openchannelQueue.attributes');module[_0xc579('0x6')]=function(_0x3b913c,_0x1ce62b){return _0x3b913c[_0xc579('0x7')](_0xc579('0x8'),attributes,{'tableName':_0xc579('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};