Built motion from commit (unavailable).|2.5.4
[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 _0xb43d=['bluebird','path','rimraf','../../config/environment','./openchannelQueue.attributes','exports','define','openchannel_queues','util','../../config/logger','moment'];(function(_0x2f133c,_0x2d0ee7){var _0x17fe82=function(_0x42cd77){while(--_0x42cd77){_0x2f133c['push'](_0x2f133c['shift']());}};_0x17fe82(++_0x2d0ee7);}(_0xb43d,0xb8));var _0xdb43=function(_0x351e15,_0x14e005){_0x351e15=_0x351e15-0x0;var _0x443f93=_0xb43d[_0x351e15];return _0x443f93;};'use strict';var _=require('lodash');var util=require(_0xdb43('0x0'));var logger=require(_0xdb43('0x1'))('api');var moment=require(_0xdb43('0x2'));var BPromise=require(_0xdb43('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xdb43('0x4'));var rimraf=require(_0xdb43('0x5'));var config=require(_0xdb43('0x6'));var attributes=require(_0xdb43('0x7'));module[_0xdb43('0x8')]=function(_0x31225b,_0x11f8fe){return _0x31225b[_0xdb43('0x9')]('OpenchannelQueue',attributes,{'tableName':_0xdb43('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};