f78b566669a213cd4153092cb61019e51eef9255
[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 _0x643e=['../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment','define','lodash'];(function(_0x247aab,_0x6d308){var _0x198cd0=function(_0x2bf3a4){while(--_0x2bf3a4){_0x247aab['push'](_0x247aab['shift']());}};_0x198cd0(++_0x6d308);}(_0x643e,0x13a));var _0xe643=function(_0x4ea27,_0x54c12b){_0x4ea27=_0x4ea27-0x0;var _0x532384=_0x643e[_0x4ea27];return _0x532384;};'use strict';var _=require(_0xe643('0x0'));var util=require('util');var logger=require(_0xe643('0x1'))(_0xe643('0x2'));var moment=require(_0xe643('0x3'));var BPromise=require('bluebird');var rp=require(_0xe643('0x4'));var fs=require('fs');var path=require(_0xe643('0x5'));var rimraf=require(_0xe643('0x6'));var config=require(_0xe643('0x7'));var attributes=require('./chatQueue.attributes');module['exports']=function(_0x13f6ad,_0x1eb33a){return _0x13f6ad[_0xe643('0x8')]('ChatQueue',attributes,{'tableName':'chat_queues','paranoid':![],'indexes':[],'timestamps':!![]});};