Built motion from commit 10af8726.|2.6.34
[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 _0xb3c3=['define','lodash','util','../../config/logger','request-promise','path','../../config/environment','exports'];(function(_0x1bf229,_0x4457b5){var _0x482558=function(_0x53bbed){while(--_0x53bbed){_0x1bf229['push'](_0x1bf229['shift']());}};_0x482558(++_0x4457b5);}(_0xb3c3,0xc9));var _0x3b3c=function(_0x3b02f9,_0x14b139){_0x3b02f9=_0x3b02f9-0x0;var _0xb89ac9=_0xb3c3[_0x3b02f9];return _0xb89ac9;};'use strict';var _=require(_0x3b3c('0x0'));var util=require(_0x3b3c('0x1'));var logger=require(_0x3b3c('0x2'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x3b3c('0x3'));var fs=require('fs');var path=require(_0x3b3c('0x4'));var rimraf=require('rimraf');var config=require(_0x3b3c('0x5'));var attributes=require('./chatQueue.attributes');module[_0x3b3c('0x6')]=function(_0x2b9019,_0x532785){return _0x2b9019[_0x3b3c('0x7')]('ChatQueue',attributes,{'tableName':'chat_queues','paranoid':![],'indexes':[],'timestamps':!![]});};