2228cad17c1fce7e1e7758952d617de5348f4f80
[motion2.git] / server / api / openchannelQueue / openchannelQueue.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 _0x7b94=['openchannel_queues','lodash','util','api','request-promise','rimraf','../../config/environment','./openchannelQueue.attributes','exports','OpenchannelQueue'];(function(_0x6d394d,_0x185b80){var _0x1f0621=function(_0x2e5c81){while(--_0x2e5c81){_0x6d394d['push'](_0x6d394d['shift']());}};_0x1f0621(++_0x185b80);}(_0x7b94,0x1e1));var _0x47b9=function(_0x228b2e,_0x5dc225){_0x228b2e=_0x228b2e-0x0;var _0x4346ab=_0x7b94[_0x228b2e];return _0x4346ab;};'use strict';var _=require(_0x47b9('0x0'));var util=require(_0x47b9('0x1'));var logger=require('../../config/logger')(_0x47b9('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x47b9('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0x47b9('0x4'));var config=require(_0x47b9('0x5'));var attributes=require(_0x47b9('0x6'));module[_0x47b9('0x7')]=function(_0x1be407,_0x56b0fc){return _0x1be407['define'](_0x47b9('0x8'),attributes,{'tableName':_0x47b9('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};