Built motion from commit (unavailable).|2.5.7
[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 _0x95a2=['dtm','util','../../config/logger','api','bluebird','request-promise','rimraf','../../config/environment','define','VoiceQueuesLog','voice_queues_log','event_dtm','event'];(function(_0x2555d0,_0x4150a6){var _0x3bb486=function(_0x1eb89f){while(--_0x1eb89f){_0x2555d0['push'](_0x2555d0['shift']());}};_0x3bb486(++_0x4150a6);}(_0x95a2,0x9d));var _0x295a=function(_0x27650e,_0x278f7a){_0x27650e=_0x27650e-0x0;var _0x28fe08=_0x95a2[_0x27650e];return _0x28fe08;};'use strict';var _=require('lodash');var util=require(_0x295a('0x0'));var logger=require(_0x295a('0x1'))(_0x295a('0x2'));var moment=require('moment');var BPromise=require(_0x295a('0x3'));var rp=require(_0x295a('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x295a('0x5'));var config=require(_0x295a('0x6'));var attributes=require('./voiceQueuesLog.attributes');module['exports']=function(_0x4dafef,_0x33cc35){return _0x4dafef[_0x295a('0x7')](_0x295a('0x8'),attributes,{'tableName':_0x295a('0x9'),'paranoid':![],'indexes':[{'name':_0x295a('0xa'),'fields':[_0x295a('0xb'),_0x295a('0xc')]}],'timestamps':![]});};