Built motion from commit fe909640.|2.6.8
[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 _0x2ed9=['exports','OpenchannelQueue','openchannel_queues','lodash','../../config/logger','api','bluebird','request-promise','path','rimraf','../../config/environment','./openchannelQueue.attributes'];(function(_0x52b914,_0x52bcd3){var _0x21e041=function(_0x379e3a){while(--_0x379e3a){_0x52b914['push'](_0x52b914['shift']());}};_0x21e041(++_0x52bcd3);}(_0x2ed9,0x93));var _0x92ed=function(_0x3889c3,_0x16cb7f){_0x3889c3=_0x3889c3-0x0;var _0x2d72e9=_0x2ed9[_0x3889c3];return _0x2d72e9;};'use strict';var _=require(_0x92ed('0x0'));var util=require('util');var logger=require(_0x92ed('0x1'))(_0x92ed('0x2'));var moment=require('moment');var BPromise=require(_0x92ed('0x3'));var rp=require(_0x92ed('0x4'));var fs=require('fs');var path=require(_0x92ed('0x5'));var rimraf=require(_0x92ed('0x6'));var config=require(_0x92ed('0x7'));var attributes=require(_0x92ed('0x8'));module[_0x92ed('0x9')]=function(_0x35b532,_0x236a91){return _0x35b532['define'](_0x92ed('0xa'),attributes,{'tableName':_0x92ed('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};