Built motion from commit 3c2ce842.|2.6.31
[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 _0xfcf0=['VoiceQueuesLog','voice_queues_log','event_dtm','event','dtm','lodash','util','../../config/logger','api','moment','rimraf','../../config/environment','./voiceQueuesLog.attributes','exports','define'];(function(_0x4d59d7,_0x41ba47){var _0x454a5e=function(_0x52f8dc){while(--_0x52f8dc){_0x4d59d7['push'](_0x4d59d7['shift']());}};_0x454a5e(++_0x41ba47);}(_0xfcf0,0xc8));var _0x0fcf=function(_0x386c3e,_0x44a375){_0x386c3e=_0x386c3e-0x0;var _0x4b8e13=_0xfcf0[_0x386c3e];return _0x4b8e13;};'use strict';var _=require(_0x0fcf('0x0'));var util=require(_0x0fcf('0x1'));var logger=require(_0x0fcf('0x2'))(_0x0fcf('0x3'));var moment=require(_0x0fcf('0x4'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x0fcf('0x5'));var config=require(_0x0fcf('0x6'));var attributes=require(_0x0fcf('0x7'));module[_0x0fcf('0x8')]=function(_0x3e2d86,_0x1477f9){return _0x3e2d86[_0x0fcf('0x9')](_0x0fcf('0xa'),attributes,{'tableName':_0x0fcf('0xb'),'paranoid':![],'indexes':[{'name':_0x0fcf('0xc'),'fields':[_0x0fcf('0xd'),_0x0fcf('0xe')]}],'timestamps':![]});};