a4f147edb45d24e72ae6cae1dbff0b61055e439d
[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 _0x4fba=['exports','define','voice_queues_log','event','lodash','util','moment','bluebird','request-promise','rimraf','../../config/environment','./voiceQueuesLog.attributes'];(function(_0x571039,_0x1ba9ac){var _0x5d3aee=function(_0x496314){while(--_0x496314){_0x571039['push'](_0x571039['shift']());}};_0x5d3aee(++_0x1ba9ac);}(_0x4fba,0x1cc));var _0xa4fb=function(_0x3511d8,_0x342d98){_0x3511d8=_0x3511d8-0x0;var _0x1a8325=_0x4fba[_0x3511d8];return _0x1a8325;};'use strict';var _=require(_0xa4fb('0x0'));var util=require(_0xa4fb('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0xa4fb('0x2'));var BPromise=require(_0xa4fb('0x3'));var rp=require(_0xa4fb('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xa4fb('0x5'));var config=require(_0xa4fb('0x6'));var attributes=require(_0xa4fb('0x7'));module[_0xa4fb('0x8')]=function(_0x400a1c,_0x59e667){return _0x400a1c[_0xa4fb('0x9')]('VoiceQueuesLog',attributes,{'tableName':_0xa4fb('0xa'),'paranoid':![],'indexes':[{'name':'event_dtm','fields':[_0xa4fb('0xb'),'dtm']}],'timestamps':![]});};