bbf5ba14d92f2bde94b7eca12d698a040f9c3c19
[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 _0xe29d=['bluebird','request-promise','path','rimraf','../../config/environment','define','event_dtm','util','../../config/logger'];(function(_0x571610,_0x594568){var _0xdec4c3=function(_0x48ee7d){while(--_0x48ee7d){_0x571610['push'](_0x571610['shift']());}};_0xdec4c3(++_0x594568);}(_0xe29d,0x15d));var _0xde29=function(_0x3bfd35,_0x2a4c16){_0x3bfd35=_0x3bfd35-0x0;var _0x2f3caa=_0xe29d[_0x3bfd35];return _0x2f3caa;};'use strict';var _=require('lodash');var util=require(_0xde29('0x0'));var logger=require(_0xde29('0x1'))('api');var moment=require('moment');var BPromise=require(_0xde29('0x2'));var rp=require(_0xde29('0x3'));var fs=require('fs');var path=require(_0xde29('0x4'));var rimraf=require(_0xde29('0x5'));var config=require(_0xde29('0x6'));var attributes=require('./voiceQueuesLog.attributes');module['exports']=function(_0x1775b9,_0xa1e379){return _0x1775b9[_0xde29('0x7')]('VoiceQueuesLog',attributes,{'tableName':'voice_queues_log','paranoid':![],'indexes':[{'name':_0xde29('0x8'),'fields':['event','dtm']}],'timestamps':![]});};