16bdac013cdf0bc09f774cf055c6b99aa8d287a6
[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 _0x444b=['request-promise','path','rimraf','../../config/environment','./voiceQueuesLog.attributes','define','VoiceQueuesLog','voice_queues_log','event_dtm','event','dtm','util','../../config/logger','moment','bluebird'];(function(_0x7a242a,_0x423353){var _0x3b20c3=function(_0x467c4e){while(--_0x467c4e){_0x7a242a['push'](_0x7a242a['shift']());}};_0x3b20c3(++_0x423353);}(_0x444b,0x1dc));var _0xb444=function(_0x25fd85,_0xbe7d88){_0x25fd85=_0x25fd85-0x0;var _0x26f5ff=_0x444b[_0x25fd85];return _0x26f5ff;};'use strict';var _=require('lodash');var util=require(_0xb444('0x0'));var logger=require(_0xb444('0x1'))('api');var moment=require(_0xb444('0x2'));var BPromise=require(_0xb444('0x3'));var rp=require(_0xb444('0x4'));var fs=require('fs');var path=require(_0xb444('0x5'));var rimraf=require(_0xb444('0x6'));var config=require(_0xb444('0x7'));var attributes=require(_0xb444('0x8'));module['exports']=function(_0x4bbe69,_0x51c6f4){return _0x4bbe69[_0xb444('0x9')](_0xb444('0xa'),attributes,{'tableName':_0xb444('0xb'),'paranoid':![],'indexes':[{'name':_0xb444('0xc'),'fields':[_0xb444('0xd'),_0xb444('0xe')]}],'timestamps':![]});};