50bccad2a9d24151f136ed4f38cc4a23e957e878
[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 _0x5b9d=['bluebird','request-promise','path','../../config/environment','./chatQueue.attributes','chat_queues','lodash','util','../../config/logger','api'];(function(_0x20df69,_0x3c71dd){var _0x4d6cd2=function(_0x546eaf){while(--_0x546eaf){_0x20df69['push'](_0x20df69['shift']());}};_0x4d6cd2(++_0x3c71dd);}(_0x5b9d,0x1dc));var _0xd5b9=function(_0x84ce83,_0x98461d){_0x84ce83=_0x84ce83-0x0;var _0x4490be=_0x5b9d[_0x84ce83];return _0x4490be;};'use strict';var _=require(_0xd5b9('0x0'));var util=require(_0xd5b9('0x1'));var logger=require(_0xd5b9('0x2'))(_0xd5b9('0x3'));var moment=require('moment');var BPromise=require(_0xd5b9('0x4'));var rp=require(_0xd5b9('0x5'));var fs=require('fs');var path=require(_0xd5b9('0x6'));var rimraf=require('rimraf');var config=require(_0xd5b9('0x7'));var attributes=require(_0xd5b9('0x8'));module['exports']=function(_0x5c8702,_0x5d9c22){return _0x5c8702['define']('ChatQueue',attributes,{'tableName':_0xd5b9('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};