Built motion from commit (unavailable).|2.4.4
[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 _0x2db9=['lodash','util','../../config/logger','api','moment','bluebird','../../config/environment','./voiceQueuesLog.attributes','exports','define','voice_queues_log','event_dtm','event'];(function(_0x251a87,_0x10acd9){var _0x1ee8b8=function(_0x148396){while(--_0x148396){_0x251a87['push'](_0x251a87['shift']());}};_0x1ee8b8(++_0x10acd9);}(_0x2db9,0x138));var _0x92db=function(_0x33e7c2,_0x2b41a9){_0x33e7c2=_0x33e7c2-0x0;var _0x1fa450=_0x2db9[_0x33e7c2];return _0x1fa450;};'use strict';var _=require(_0x92db('0x0'));var util=require(_0x92db('0x1'));var logger=require(_0x92db('0x2'))(_0x92db('0x3'));var moment=require(_0x92db('0x4'));var BPromise=require(_0x92db('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x92db('0x6'));var attributes=require(_0x92db('0x7'));module[_0x92db('0x8')]=function(_0x52709d,_0x264769){return _0x52709d[_0x92db('0x9')]('VoiceQueuesLog',attributes,{'tableName':_0x92db('0xa'),'paranoid':![],'indexes':[{'name':_0x92db('0xb'),'fields':[_0x92db('0xc'),'dtm']}],'timestamps':![]});};