c5137a30be51e49f0be1a88791f7ee6ef755eb84
[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 _0xdf3d=['bluebird','request-promise','rimraf','../../config/environment','./voiceQueuesLog.attributes','exports','define','VoiceQueuesLog','voice_queues_log','event_dtm','event','dtm','util','../../config/logger','api','moment'];(function(_0x1c294c,_0x221102){var _0x418a95=function(_0x186fba){while(--_0x186fba){_0x1c294c['push'](_0x1c294c['shift']());}};_0x418a95(++_0x221102);}(_0xdf3d,0xfc));var _0xddf3=function(_0x52085a,_0x3717ca){_0x52085a=_0x52085a-0x0;var _0x5afc1a=_0xdf3d[_0x52085a];return _0x5afc1a;};'use strict';var _=require('lodash');var util=require(_0xddf3('0x0'));var logger=require(_0xddf3('0x1'))(_0xddf3('0x2'));var moment=require(_0xddf3('0x3'));var BPromise=require(_0xddf3('0x4'));var rp=require(_0xddf3('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xddf3('0x6'));var config=require(_0xddf3('0x7'));var attributes=require(_0xddf3('0x8'));module[_0xddf3('0x9')]=function(_0x5b601a,_0x4a7449){return _0x5b601a[_0xddf3('0xa')](_0xddf3('0xb'),attributes,{'tableName':_0xddf3('0xc'),'paranoid':![],'indexes':[{'name':_0xddf3('0xd'),'fields':[_0xddf3('0xe'),_0xddf3('0xf')]}],'timestamps':![]});};