Built motion from commit fade34fd.|2.5.41
[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 _0xaa16=['openchannel_queues','../../config/logger','api','moment','rimraf','../../config/environment','define','OpenchannelQueue'];(function(_0x4b0092,_0x1f85ca){var _0x2f1d77=function(_0x33a1f3){while(--_0x33a1f3){_0x4b0092['push'](_0x4b0092['shift']());}};_0x2f1d77(++_0x1f85ca);}(_0xaa16,0xf9));var _0x6aa1=function(_0x2dec70,_0x24aeab){_0x2dec70=_0x2dec70-0x0;var _0x3ea6af=_0xaa16[_0x2dec70];return _0x3ea6af;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x6aa1('0x0'))(_0x6aa1('0x1'));var moment=require(_0x6aa1('0x2'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x6aa1('0x3'));var config=require(_0x6aa1('0x4'));var attributes=require('./openchannelQueue.attributes');module['exports']=function(_0x4ab18c,_0x494add){return _0x4ab18c[_0x6aa1('0x5')](_0x6aa1('0x6'),attributes,{'tableName':_0x6aa1('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};