07e3972820dc61f723b5cc257eceb48dd7c05e99
[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 _0xefcf=['rimraf','./chatQueue.attributes','exports','define','ChatQueue','chat_queues','lodash','util','../../config/logger','api','moment','bluebird','path'];(function(_0x3a4931,_0x1b4341){var _0x31873b=function(_0x1ff778){while(--_0x1ff778){_0x3a4931['push'](_0x3a4931['shift']());}};_0x31873b(++_0x1b4341);}(_0xefcf,0x17f));var _0xfefc=function(_0x37cc4c,_0x288c26){_0x37cc4c=_0x37cc4c-0x0;var _0x425695=_0xefcf[_0x37cc4c];return _0x425695;};'use strict';var _=require(_0xfefc('0x0'));var util=require(_0xfefc('0x1'));var logger=require(_0xfefc('0x2'))(_0xfefc('0x3'));var moment=require(_0xfefc('0x4'));var BPromise=require(_0xfefc('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xfefc('0x6'));var rimraf=require(_0xfefc('0x7'));var config=require('../../config/environment');var attributes=require(_0xfefc('0x8'));module[_0xfefc('0x9')]=function(_0x466a06,_0x1f8e2a){return _0x466a06[_0xfefc('0xa')](_0xfefc('0xb'),attributes,{'tableName':_0xfefc('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};