Built motion from commit eddce310.|2.6.12
[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 _0x6816=['VoiceQueuesLog','voice_queues_log','dtm','lodash','util','../../config/logger','moment','request-promise','path','rimraf','../../config/environment','./voiceQueuesLog.attributes','exports','define'];(function(_0x14fc85,_0x347e30){var _0x2aa05a=function(_0x3a4891){while(--_0x3a4891){_0x14fc85['push'](_0x14fc85['shift']());}};_0x2aa05a(++_0x347e30);}(_0x6816,0x16f));var _0x6681=function(_0xba15b9,_0x46f5fa){_0xba15b9=_0xba15b9-0x0;var _0x291702=_0x6816[_0xba15b9];return _0x291702;};'use strict';var _=require(_0x6681('0x0'));var util=require(_0x6681('0x1'));var logger=require(_0x6681('0x2'))('api');var moment=require(_0x6681('0x3'));var BPromise=require('bluebird');var rp=require(_0x6681('0x4'));var fs=require('fs');var path=require(_0x6681('0x5'));var rimraf=require(_0x6681('0x6'));var config=require(_0x6681('0x7'));var attributes=require(_0x6681('0x8'));module[_0x6681('0x9')]=function(_0x2c5e2f,_0x26181e){return _0x2c5e2f[_0x6681('0xa')](_0x6681('0xb'),attributes,{'tableName':_0x6681('0xc'),'paranoid':![],'indexes':[{'name':'event_dtm','fields':['event',_0x6681('0xd')]}],'timestamps':![]});};