1adb172e4bec8ee4f1f333629fdf49e590ed2c2d
[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 _0xedb5=['define','chat_queues','lodash','../../config/logger','request-promise','path','../../config/environment'];(function(_0x492903,_0x3845b5){var _0x1f030b=function(_0x3a609a){while(--_0x3a609a){_0x492903['push'](_0x492903['shift']());}};_0x1f030b(++_0x3845b5);}(_0xedb5,0xaa));var _0x5edb=function(_0x492b75,_0x34a258){_0x492b75=_0x492b75-0x0;var _0xc10ab1=_0xedb5[_0x492b75];return _0xc10ab1;};'use strict';var _=require(_0x5edb('0x0'));var util=require('util');var logger=require(_0x5edb('0x1'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x5edb('0x2'));var fs=require('fs');var path=require(_0x5edb('0x3'));var rimraf=require('rimraf');var config=require(_0x5edb('0x4'));var attributes=require('./chatQueue.attributes');module['exports']=function(_0xa49659,_0x2170b1){return _0xa49659[_0x5edb('0x5')]('ChatQueue',attributes,{'tableName':_0x5edb('0x6'),'paranoid':![],'indexes':[],'timestamps':!![]});};