9cd6cd32bda07413c8e5d8d2ab58a5c30eb9d63a
[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 _0xc541=['dtm','lodash','../../config/logger','moment','bluebird','path','rimraf','../../config/environment','./voiceQueuesLog.attributes','define','VoiceQueuesLog','event_dtm','event'];(function(_0x3dd893,_0x485c75){var _0xeef91=function(_0x536fe3){while(--_0x536fe3){_0x3dd893['push'](_0x3dd893['shift']());}};_0xeef91(++_0x485c75);}(_0xc541,0x194));var _0x1c54=function(_0x3438cf,_0x73b174){_0x3438cf=_0x3438cf-0x0;var _0x278698=_0xc541[_0x3438cf];return _0x278698;};'use strict';var _=require(_0x1c54('0x0'));var util=require('util');var logger=require(_0x1c54('0x1'))('api');var moment=require(_0x1c54('0x2'));var BPromise=require(_0x1c54('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x1c54('0x4'));var rimraf=require(_0x1c54('0x5'));var config=require(_0x1c54('0x6'));var attributes=require(_0x1c54('0x7'));module['exports']=function(_0xfd56ed,_0x513e45){return _0xfd56ed[_0x1c54('0x8')](_0x1c54('0x9'),attributes,{'tableName':'voice_queues_log','paranoid':![],'indexes':[{'name':_0x1c54('0xa'),'fields':[_0x1c54('0xb'),_0x1c54('0xc')]}],'timestamps':![]});};