Built motion from commit (unavailable).|2.5.14
[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 _0xdb3e=['moment','bluebird','path','rimraf','../../config/environment','./openchannelQueue.attributes','exports','define','OpenchannelQueue','util','api'];(function(_0x397e2a,_0x221955){var _0x30d38b=function(_0x291873){while(--_0x291873){_0x397e2a['push'](_0x397e2a['shift']());}};_0x30d38b(++_0x221955);}(_0xdb3e,0x1e2));var _0xedb3=function(_0x12baf3,_0xc240ae){_0x12baf3=_0x12baf3-0x0;var _0x3206dd=_0xdb3e[_0x12baf3];return _0x3206dd;};'use strict';var _=require('lodash');var util=require(_0xedb3('0x0'));var logger=require('../../config/logger')(_0xedb3('0x1'));var moment=require(_0xedb3('0x2'));var BPromise=require(_0xedb3('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xedb3('0x4'));var rimraf=require(_0xedb3('0x5'));var config=require(_0xedb3('0x6'));var attributes=require(_0xedb3('0x7'));module[_0xedb3('0x8')]=function(_0x38cc0f,_0x39a058){return _0x38cc0f[_0xedb3('0x9')](_0xedb3('0xa'),attributes,{'tableName':'openchannel_queues','paranoid':![],'indexes':[],'timestamps':!![]});};