f4faa25e6f39d366761e9c738466543bd1a07c97
[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 _0xa8ae=['exports','ChatQueue','chat_queues','lodash','../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment','./chatQueue.attributes'];(function(_0x1d7853,_0x1f20c3){var _0xbdebec=function(_0x103253){while(--_0x103253){_0x1d7853['push'](_0x1d7853['shift']());}};_0xbdebec(++_0x1f20c3);}(_0xa8ae,0x7b));var _0xea8a=function(_0x7c8691,_0x582a41){_0x7c8691=_0x7c8691-0x0;var _0x2fbf11=_0xa8ae[_0x7c8691];return _0x2fbf11;};'use strict';var _=require(_0xea8a('0x0'));var util=require('util');var logger=require(_0xea8a('0x1'))(_0xea8a('0x2'));var moment=require(_0xea8a('0x3'));var BPromise=require('bluebird');var rp=require(_0xea8a('0x4'));var fs=require('fs');var path=require(_0xea8a('0x5'));var rimraf=require(_0xea8a('0x6'));var config=require(_0xea8a('0x7'));var attributes=require(_0xea8a('0x8'));module[_0xea8a('0x9')]=function(_0x400802,_0x3058d1){return _0x400802['define'](_0xea8a('0xa'),attributes,{'tableName':_0xea8a('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};