Built motion from commit e1760111.|2.6.18
[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 _0xab8f=['bluebird','request-promise','path','rimraf','../../config/environment','./voiceQueuesLog.attributes','define','VoiceQueuesLog','voice_queues_log','event_dtm','event','lodash','util','../../config/logger','api','moment'];(function(_0x3d0393,_0x145fd4){var _0x1a7d0c=function(_0xb6850d){while(--_0xb6850d){_0x3d0393['push'](_0x3d0393['shift']());}};_0x1a7d0c(++_0x145fd4);}(_0xab8f,0x12b));var _0xfab8=function(_0x5ee689,_0x45701b){_0x5ee689=_0x5ee689-0x0;var _0x287875=_0xab8f[_0x5ee689];return _0x287875;};'use strict';var _=require(_0xfab8('0x0'));var util=require(_0xfab8('0x1'));var logger=require(_0xfab8('0x2'))(_0xfab8('0x3'));var moment=require(_0xfab8('0x4'));var BPromise=require(_0xfab8('0x5'));var rp=require(_0xfab8('0x6'));var fs=require('fs');var path=require(_0xfab8('0x7'));var rimraf=require(_0xfab8('0x8'));var config=require(_0xfab8('0x9'));var attributes=require(_0xfab8('0xa'));module['exports']=function(_0x86bd5e,_0x3279bb){return _0x86bd5e[_0xfab8('0xb')](_0xfab8('0xc'),attributes,{'tableName':_0xfab8('0xd'),'paranoid':![],'indexes':[{'name':_0xfab8('0xe'),'fields':[_0xfab8('0xf'),'dtm']}],'timestamps':![]});};