Built motion from commit (unavailable).|2.5.2
[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 _0xc9cf=['rimraf','./chatQueue.attributes','exports','ChatQueue','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x1e0288,_0xf26008){var _0x2510d9=function(_0x331d6a){while(--_0x331d6a){_0x1e0288['push'](_0x1e0288['shift']());}};_0x2510d9(++_0xf26008);}(_0xc9cf,0x94));var _0xfc9c=function(_0x18ea99,_0x5d0dc6){_0x18ea99=_0x18ea99-0x0;var _0x4e1a63=_0xc9cf[_0x18ea99];return _0x4e1a63;};'use strict';var _=require(_0xfc9c('0x0'));var util=require(_0xfc9c('0x1'));var logger=require(_0xfc9c('0x2'))(_0xfc9c('0x3'));var moment=require(_0xfc9c('0x4'));var BPromise=require(_0xfc9c('0x5'));var rp=require(_0xfc9c('0x6'));var fs=require('fs');var path=require(_0xfc9c('0x7'));var rimraf=require(_0xfc9c('0x8'));var config=require('../../config/environment');var attributes=require(_0xfc9c('0x9'));module[_0xfc9c('0xa')]=function(_0x69e3eb,_0x3f34b9){return _0x69e3eb['define'](_0xfc9c('0xb'),attributes,{'tableName':'chat_queues','paranoid':![],'indexes':[],'timestamps':!![]});};