Built motion from commit (unavailable).|2.5.19
[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 _0x7ee0=['api','moment','bluebird','path','rimraf','../../config/environment','./voiceQueuesLog.attributes','VoiceQueuesLog','event_dtm','event','lodash','util'];(function(_0x48e0d0,_0x1227ee){var _0x307087=function(_0x1f778f){while(--_0x1f778f){_0x48e0d0['push'](_0x48e0d0['shift']());}};_0x307087(++_0x1227ee);}(_0x7ee0,0x12a));var _0x07ee=function(_0x3e2142,_0xbd4982){_0x3e2142=_0x3e2142-0x0;var _0x382f2c=_0x7ee0[_0x3e2142];return _0x382f2c;};'use strict';var _=require(_0x07ee('0x0'));var util=require(_0x07ee('0x1'));var logger=require('../../config/logger')(_0x07ee('0x2'));var moment=require(_0x07ee('0x3'));var BPromise=require(_0x07ee('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x07ee('0x5'));var rimraf=require(_0x07ee('0x6'));var config=require(_0x07ee('0x7'));var attributes=require(_0x07ee('0x8'));module['exports']=function(_0x34c6d5,_0x213a75){return _0x34c6d5['define'](_0x07ee('0x9'),attributes,{'tableName':'voice_queues_log','paranoid':![],'indexes':[{'name':_0x07ee('0xa'),'fields':[_0x07ee('0xb'),'dtm']}],'timestamps':![]});};