b78b3866d94b1de7bcf982681a2574b11bdb7f52
[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 _0x177e=['../../config/environment','./chatQueue.attributes','define','chat_queues','lodash','util','../../config/logger','api','path','rimraf'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x177e,0x9a));var _0xe177=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0x177e[_0x321bb2];return _0x9c12ed;};'use strict';var _=require(_0xe177('0x0'));var util=require(_0xe177('0x1'));var logger=require(_0xe177('0x2'))(_0xe177('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xe177('0x4'));var rimraf=require(_0xe177('0x5'));var config=require(_0xe177('0x6'));var attributes=require(_0xe177('0x7'));module['exports']=function(_0x417ac7,_0x220f1f){return _0x417ac7[_0xe177('0x8')]('ChatQueue',attributes,{'tableName':_0xe177('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};