Built motion from commit (unavailable).|2.5.14
[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 _0xc203=['../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','define','VoiceQueuesLog','voice_queues_log','event_dtm','event','lodash','util'];(function(_0x5416db,_0x55683a){var _0x243e35=function(_0x1eb623){while(--_0x1eb623){_0x5416db['push'](_0x5416db['shift']());}};_0x243e35(++_0x55683a);}(_0xc203,0x12a));var _0x3c20=function(_0x208469,_0x47c157){_0x208469=_0x208469-0x0;var _0x3113c2=_0xc203[_0x208469];return _0x3113c2;};'use strict';var _=require(_0x3c20('0x0'));var util=require(_0x3c20('0x1'));var logger=require(_0x3c20('0x2'))(_0x3c20('0x3'));var moment=require(_0x3c20('0x4'));var BPromise=require(_0x3c20('0x5'));var rp=require(_0x3c20('0x6'));var fs=require('fs');var path=require(_0x3c20('0x7'));var rimraf=require(_0x3c20('0x8'));var config=require(_0x3c20('0x9'));var attributes=require('./voiceQueuesLog.attributes');module['exports']=function(_0x344762,_0x33f883){return _0x344762[_0x3c20('0xa')](_0x3c20('0xb'),attributes,{'tableName':_0x3c20('0xc'),'paranoid':![],'indexes':[{'name':_0x3c20('0xd'),'fields':[_0x3c20('0xe'),'dtm']}],'timestamps':![]});};