Built motion from commit 56b8093a.|2.6.29
[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 _0x4ee0=['../../config/environment','./chatQueue.attributes','exports','lodash','util','../../config/logger','moment','bluebird','request-promise','path','rimraf'];(function(_0x1b1c55,_0x23903f){var _0x508da1=function(_0x52747d){while(--_0x52747d){_0x1b1c55['push'](_0x1b1c55['shift']());}};_0x508da1(++_0x23903f);}(_0x4ee0,0x1f2));var _0x04ee=function(_0x1573ea,_0x434f02){_0x1573ea=_0x1573ea-0x0;var _0x51c0e2=_0x4ee0[_0x1573ea];return _0x51c0e2;};'use strict';var _=require(_0x04ee('0x0'));var util=require(_0x04ee('0x1'));var logger=require(_0x04ee('0x2'))('api');var moment=require(_0x04ee('0x3'));var BPromise=require(_0x04ee('0x4'));var rp=require(_0x04ee('0x5'));var fs=require('fs');var path=require(_0x04ee('0x6'));var rimraf=require(_0x04ee('0x7'));var config=require(_0x04ee('0x8'));var attributes=require(_0x04ee('0x9'));module[_0x04ee('0xa')]=function(_0x45021d,_0x565051){return _0x45021d['define']('ChatQueue',attributes,{'tableName':'chat_queues','paranoid':![],'indexes':[],'timestamps':!![]});};