Built motion from commit 3e059bc2.|2.5.32
[motion2.git] / server / api / chatQueue / chatQueue.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 _0xc34d=['../../config/environment','./chatQueue.attributes','exports','define','ChatQueue','chat_queues','lodash','util','../../config/logger','moment','bluebird','path','rimraf'];(function(_0x8635e3,_0x49a083){var _0x19ae95=function(_0x5b8ca7){while(--_0x5b8ca7){_0x8635e3['push'](_0x8635e3['shift']());}};_0x19ae95(++_0x49a083);}(_0xc34d,0x7b));var _0xdc34=function(_0x34a23c,_0x28e1c5){_0x34a23c=_0x34a23c-0x0;var _0x10955f=_0xc34d[_0x34a23c];return _0x10955f;};'use strict';var _=require(_0xdc34('0x0'));var util=require(_0xdc34('0x1'));var logger=require(_0xdc34('0x2'))('api');var moment=require(_0xdc34('0x3'));var BPromise=require(_0xdc34('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xdc34('0x5'));var rimraf=require(_0xdc34('0x6'));var config=require(_0xdc34('0x7'));var attributes=require(_0xdc34('0x8'));module[_0xdc34('0x9')]=function(_0x7b8037,_0x3e865f){return _0x7b8037[_0xdc34('0xa')](_0xdc34('0xb'),attributes,{'tableName':_0xdc34('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};