018bc8e11db26c1ebb21a99a959b4212e786c6e9
[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 _0x330f=['define','OpenchannelQueue','lodash','util','api','moment','rimraf','./openchannelQueue.attributes','exports'];(function(_0x3ca879,_0x2e88ee){var _0x1f0bae=function(_0x114b52){while(--_0x114b52){_0x3ca879['push'](_0x3ca879['shift']());}};_0x1f0bae(++_0x2e88ee);}(_0x330f,0xe3));var _0xf330=function(_0x2cdd4d,_0x394c2f){_0x2cdd4d=_0x2cdd4d-0x0;var _0x55cbc8=_0x330f[_0x2cdd4d];return _0x55cbc8;};'use strict';var _=require(_0xf330('0x0'));var util=require(_0xf330('0x1'));var logger=require('../../config/logger')(_0xf330('0x2'));var moment=require(_0xf330('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xf330('0x4'));var config=require('../../config/environment');var attributes=require(_0xf330('0x5'));module[_0xf330('0x6')]=function(_0x2e60ef,_0x2c3329){return _0x2e60ef[_0xf330('0x7')](_0xf330('0x8'),attributes,{'tableName':'openchannel_queues','paranoid':![],'indexes':[],'timestamps':!![]});};