9455ec7bf931a3acbe2e8d6e94ef809d00e09ef1
[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 _0xf202=['./chatQueue.attributes','define','ChatQueue','chat_queues','util','../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment'];(function(_0x50a423,_0x5193d3){var _0x36eb9c=function(_0x138125){while(--_0x138125){_0x50a423['push'](_0x50a423['shift']());}};_0x36eb9c(++_0x5193d3);}(_0xf202,0xf4));var _0x2f20=function(_0x14fcc6,_0x5aa0fb){_0x14fcc6=_0x14fcc6-0x0;var _0x4ca97b=_0xf202[_0x14fcc6];return _0x4ca97b;};'use strict';var _=require('lodash');var util=require(_0x2f20('0x0'));var logger=require(_0x2f20('0x1'))(_0x2f20('0x2'));var moment=require(_0x2f20('0x3'));var BPromise=require(_0x2f20('0x4'));var rp=require(_0x2f20('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x2f20('0x6'));var config=require(_0x2f20('0x7'));var attributes=require(_0x2f20('0x8'));module['exports']=function(_0x46cba0,_0x4ac7f8){return _0x46cba0[_0x2f20('0x9')](_0x2f20('0xa'),attributes,{'tableName':_0x2f20('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};