Built motion from commit e02f907f.|2.6.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 _0x6483=['./voiceQueuesLog.attributes','VoiceQueuesLog','voice_queues_log','event_dtm','event','dtm','lodash','util','../../config/logger','moment','request-promise','path','rimraf','../../config/environment'];(function(_0x55b3b5,_0x254983){var _0x5297a9=function(_0x5f302f){while(--_0x5f302f){_0x55b3b5['push'](_0x55b3b5['shift']());}};_0x5297a9(++_0x254983);}(_0x6483,0x1e2));var _0x3648=function(_0x191acd,_0xf381a2){_0x191acd=_0x191acd-0x0;var _0x34df87=_0x6483[_0x191acd];return _0x34df87;};'use strict';var _=require(_0x3648('0x0'));var util=require(_0x3648('0x1'));var logger=require(_0x3648('0x2'))('api');var moment=require(_0x3648('0x3'));var BPromise=require('bluebird');var rp=require(_0x3648('0x4'));var fs=require('fs');var path=require(_0x3648('0x5'));var rimraf=require(_0x3648('0x6'));var config=require(_0x3648('0x7'));var attributes=require(_0x3648('0x8'));module['exports']=function(_0x513772,_0x1f453c){return _0x513772['define'](_0x3648('0x9'),attributes,{'tableName':_0x3648('0xa'),'paranoid':![],'indexes':[{'name':_0x3648('0xb'),'fields':[_0x3648('0xc'),_0x3648('0xd')]}],'timestamps':![]});};