Built motion from commit (unavailable).|2.5.30
[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 _0xba49=['lodash','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','exports','VoiceQueuesLog','voice_queues_log','event_dtm','event'];(function(_0x1e3a1a,_0x4abfe6){var _0x5901f7=function(_0x27ed14){while(--_0x27ed14){_0x1e3a1a['push'](_0x1e3a1a['shift']());}};_0x5901f7(++_0x4abfe6);}(_0xba49,0x196));var _0x9ba4=function(_0x1928c9,_0x13a6d1){_0x1928c9=_0x1928c9-0x0;var _0x51b5fb=_0xba49[_0x1928c9];return _0x51b5fb;};'use strict';var _=require(_0x9ba4('0x0'));var util=require('util');var logger=require(_0x9ba4('0x1'))(_0x9ba4('0x2'));var moment=require(_0x9ba4('0x3'));var BPromise=require(_0x9ba4('0x4'));var rp=require(_0x9ba4('0x5'));var fs=require('fs');var path=require(_0x9ba4('0x6'));var rimraf=require(_0x9ba4('0x7'));var config=require(_0x9ba4('0x8'));var attributes=require('./voiceQueuesLog.attributes');module[_0x9ba4('0x9')]=function(_0x59416e,_0x2c33e9){return _0x59416e['define'](_0x9ba4('0xa'),attributes,{'tableName':_0x9ba4('0xb'),'paranoid':![],'indexes':[{'name':_0x9ba4('0xc'),'fields':[_0x9ba4('0xd'),'dtm']}],'timestamps':![]});};