Built motion from commit 44b1f254.|2.6.26
[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 _0x7ee3=['chat_queues','../../config/logger','moment','bluebird','request-promise','rimraf','./chatQueue.attributes','ChatQueue'];(function(_0x3092b4,_0x2827ae){var _0x15f01e=function(_0x31a989){while(--_0x31a989){_0x3092b4['push'](_0x3092b4['shift']());}};_0x15f01e(++_0x2827ae);}(_0x7ee3,0x121));var _0x37ee=function(_0x29f98b,_0xb86421){_0x29f98b=_0x29f98b-0x0;var _0x2245ca=_0x7ee3[_0x29f98b];return _0x2245ca;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x37ee('0x0'))('api');var moment=require(_0x37ee('0x1'));var BPromise=require(_0x37ee('0x2'));var rp=require(_0x37ee('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0x37ee('0x4'));var config=require('../../config/environment');var attributes=require(_0x37ee('0x5'));module['exports']=function(_0x2401df,_0x3c4791){return _0x2401df['define'](_0x37ee('0x6'),attributes,{'tableName':_0x37ee('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};