Built motion from commit d1eab355.|2.6.28
[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 _0x1fc7=['util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','./voiceQueuesLog.attributes','exports','define','VoiceQueuesLog','voice_queues_log','event_dtm','event','dtm','lodash'];(function(_0x20b99b,_0x1b8ef5){var _0x4637ee=function(_0x32cb1a){while(--_0x32cb1a){_0x20b99b['push'](_0x20b99b['shift']());}};_0x4637ee(++_0x1b8ef5);}(_0x1fc7,0x1ca));var _0x71fc=function(_0x1b4b23,_0x5dd6d6){_0x1b4b23=_0x1b4b23-0x0;var _0x2a325b=_0x1fc7[_0x1b4b23];return _0x2a325b;};'use strict';var _=require(_0x71fc('0x0'));var util=require(_0x71fc('0x1'));var logger=require(_0x71fc('0x2'))(_0x71fc('0x3'));var moment=require(_0x71fc('0x4'));var BPromise=require(_0x71fc('0x5'));var rp=require(_0x71fc('0x6'));var fs=require('fs');var path=require(_0x71fc('0x7'));var rimraf=require(_0x71fc('0x8'));var config=require('../../config/environment');var attributes=require(_0x71fc('0x9'));module[_0x71fc('0xa')]=function(_0x2faff7,_0x52f748){return _0x2faff7[_0x71fc('0xb')](_0x71fc('0xc'),attributes,{'tableName':_0x71fc('0xd'),'paranoid':![],'indexes':[{'name':_0x71fc('0xe'),'fields':[_0x71fc('0xf'),_0x71fc('0x10')]}],'timestamps':![]});};