Built motion from commit (unavailable).|2.5.4
[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 _0x34e0=['../../config/environment','./chatQueue.attributes','exports','define','ChatQueue','util','../../config/logger','api','rimraf'];(function(_0x12c202,_0x38e760){var _0x228c71=function(_0x2ec054){while(--_0x2ec054){_0x12c202['push'](_0x12c202['shift']());}};_0x228c71(++_0x38e760);}(_0x34e0,0x191));var _0x034e=function(_0x4cf98e,_0xba4b79){_0x4cf98e=_0x4cf98e-0x0;var _0x1623ac=_0x34e0[_0x4cf98e];return _0x1623ac;};'use strict';var _=require('lodash');var util=require(_0x034e('0x0'));var logger=require(_0x034e('0x1'))(_0x034e('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x034e('0x3'));var config=require(_0x034e('0x4'));var attributes=require(_0x034e('0x5'));module[_0x034e('0x6')]=function(_0x362f67,_0x140587){return _0x362f67[_0x034e('0x7')](_0x034e('0x8'),attributes,{'tableName':'chat_queues','paranoid':![],'indexes':[],'timestamps':!![]});};