0914d10d5afc7ce8271619e6e91bc0a87d22cdf2
[motion2.git] / server / api / voiceQueuesLog / voiceQueuesLog.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 _0x3830=['event_dtm','event','dtm','lodash','util','../../config/logger','bluebird','path','rimraf','../../config/environment','./voiceQueuesLog.attributes','exports','voice_queues_log'];(function(_0x5c7229,_0x19defc){var _0x3cbd66=function(_0x153914){while(--_0x153914){_0x5c7229['push'](_0x5c7229['shift']());}};_0x3cbd66(++_0x19defc);}(_0x3830,0x162));var _0x0383=function(_0x356127,_0x4873ac){_0x356127=_0x356127-0x0;var _0x5d4c75=_0x3830[_0x356127];return _0x5d4c75;};'use strict';var _=require(_0x0383('0x0'));var util=require(_0x0383('0x1'));var logger=require(_0x0383('0x2'))('api');var moment=require('moment');var BPromise=require(_0x0383('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x0383('0x4'));var rimraf=require(_0x0383('0x5'));var config=require(_0x0383('0x6'));var attributes=require(_0x0383('0x7'));module[_0x0383('0x8')]=function(_0x4ee47c,_0x2020dc){return _0x4ee47c['define']('VoiceQueuesLog',attributes,{'tableName':_0x0383('0x9'),'paranoid':![],'indexes':[{'name':_0x0383('0xa'),'fields':[_0x0383('0xb'),_0x0383('0xc')]}],'timestamps':![]});};