60219440961b1527567c5ad3afe9ed274f95420d
[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 _0x0f47=['rimraf','../../config/environment','./chatQueue.attributes','define','ChatQueue','chat_queues','lodash','util','api','moment','request-promise','path'];(function(_0x50cee2,_0x56709e){var _0x3875c3=function(_0x2812af){while(--_0x2812af){_0x50cee2['push'](_0x50cee2['shift']());}};_0x3875c3(++_0x56709e);}(_0x0f47,0x1b6));var _0x70f4=function(_0x55311a,_0x9a3306){_0x55311a=_0x55311a-0x0;var _0x4b9e1c=_0x0f47[_0x55311a];return _0x4b9e1c;};'use strict';var _=require(_0x70f4('0x0'));var util=require(_0x70f4('0x1'));var logger=require('../../config/logger')(_0x70f4('0x2'));var moment=require(_0x70f4('0x3'));var BPromise=require('bluebird');var rp=require(_0x70f4('0x4'));var fs=require('fs');var path=require(_0x70f4('0x5'));var rimraf=require(_0x70f4('0x6'));var config=require(_0x70f4('0x7'));var attributes=require(_0x70f4('0x8'));module['exports']=function(_0x5d9335,_0x433e56){return _0x5d9335[_0x70f4('0x9')](_0x70f4('0xa'),attributes,{'tableName':_0x70f4('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};