Built motion from commit b5413ace.|2.6.9
[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 _0x7c8e=['voice_queues_log','event_dtm','event','dtm','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./voiceQueuesLog.attributes','exports','define','VoiceQueuesLog'];(function(_0x2b2226,_0x44b8ea){var _0x3e1557=function(_0x3b5f9f){while(--_0x3b5f9f){_0x2b2226['push'](_0x2b2226['shift']());}};_0x3e1557(++_0x44b8ea);}(_0x7c8e,0x94));var _0xe7c8=function(_0x23600c,_0x31d165){_0x23600c=_0x23600c-0x0;var _0x57f2a2=_0x7c8e[_0x23600c];return _0x57f2a2;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xe7c8('0x0'))(_0xe7c8('0x1'));var moment=require(_0xe7c8('0x2'));var BPromise=require(_0xe7c8('0x3'));var rp=require(_0xe7c8('0x4'));var fs=require('fs');var path=require(_0xe7c8('0x5'));var rimraf=require(_0xe7c8('0x6'));var config=require(_0xe7c8('0x7'));var attributes=require(_0xe7c8('0x8'));module[_0xe7c8('0x9')]=function(_0x1cd3e5,_0x52ac01){return _0x1cd3e5[_0xe7c8('0xa')](_0xe7c8('0xb'),attributes,{'tableName':_0xe7c8('0xc'),'paranoid':![],'indexes':[{'name':_0xe7c8('0xd'),'fields':[_0xe7c8('0xe'),_0xe7c8('0xf')]}],'timestamps':![]});};