352a9c46b34f81ee4fdeed1d62d0bcf55a34db34
[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 _0x0fcc=['./chatQueue.attributes','exports','define','chat_queues','lodash','util','../../config/logger','api','moment','bluebird','path','rimraf'];(function(_0x1b5200,_0x46e08c){var _0x409a08=function(_0x41ef65){while(--_0x41ef65){_0x1b5200['push'](_0x1b5200['shift']());}};_0x409a08(++_0x46e08c);}(_0x0fcc,0x1a8));var _0xc0fc=function(_0x454018,_0x46e33a){_0x454018=_0x454018-0x0;var _0x24697d=_0x0fcc[_0x454018];return _0x24697d;};'use strict';var _=require(_0xc0fc('0x0'));var util=require(_0xc0fc('0x1'));var logger=require(_0xc0fc('0x2'))(_0xc0fc('0x3'));var moment=require(_0xc0fc('0x4'));var BPromise=require(_0xc0fc('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xc0fc('0x6'));var rimraf=require(_0xc0fc('0x7'));var config=require('../../config/environment');var attributes=require(_0xc0fc('0x8'));module[_0xc0fc('0x9')]=function(_0xbc2fd4,_0x2cd274){return _0xbc2fd4[_0xc0fc('0xa')]('ChatQueue',attributes,{'tableName':_0xc0fc('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};