02ea683418c6f16ab5f1a816197169856b278638
[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 _0xceab=['path','rimraf','../../config/environment','./chatQueue.attributes','ChatQueue','chat_queues','lodash','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x48abf5,_0x52531e){var _0x5501a3=function(_0x3e9ff4){while(--_0x3e9ff4){_0x48abf5['push'](_0x48abf5['shift']());}};_0x5501a3(++_0x52531e);}(_0xceab,0x96));var _0xbcea=function(_0x1e79b3,_0x1d7862){_0x1e79b3=_0x1e79b3-0x0;var _0x276fc7=_0xceab[_0x1e79b3];return _0x276fc7;};'use strict';var _=require(_0xbcea('0x0'));var util=require('util');var logger=require(_0xbcea('0x1'))(_0xbcea('0x2'));var moment=require(_0xbcea('0x3'));var BPromise=require(_0xbcea('0x4'));var rp=require(_0xbcea('0x5'));var fs=require('fs');var path=require(_0xbcea('0x6'));var rimraf=require(_0xbcea('0x7'));var config=require(_0xbcea('0x8'));var attributes=require(_0xbcea('0x9'));module['exports']=function(_0x1945a5,_0x9dade6){return _0x1945a5['define'](_0xbcea('0xa'),attributes,{'tableName':_0xbcea('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};