Built motion from commit (unavailable).|2.5.23
[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 _0xf0a7=['bluebird','request-promise','path','rimraf','../../config/environment','exports','define','VoiceQueuesLog','voice_queues_log','event_dtm','event','dtm','lodash','util','../../config/logger','api','moment'];(function(_0xc87d08,_0x59c9be){var _0x30a714=function(_0x437c0d){while(--_0x437c0d){_0xc87d08['push'](_0xc87d08['shift']());}};_0x30a714(++_0x59c9be);}(_0xf0a7,0x14f));var _0x7f0a=function(_0x36c55d,_0x1c8efa){_0x36c55d=_0x36c55d-0x0;var _0xa16625=_0xf0a7[_0x36c55d];return _0xa16625;};'use strict';var _=require(_0x7f0a('0x0'));var util=require(_0x7f0a('0x1'));var logger=require(_0x7f0a('0x2'))(_0x7f0a('0x3'));var moment=require(_0x7f0a('0x4'));var BPromise=require(_0x7f0a('0x5'));var rp=require(_0x7f0a('0x6'));var fs=require('fs');var path=require(_0x7f0a('0x7'));var rimraf=require(_0x7f0a('0x8'));var config=require(_0x7f0a('0x9'));var attributes=require('./voiceQueuesLog.attributes');module[_0x7f0a('0xa')]=function(_0x2999a7,_0x4fb56f){return _0x2999a7[_0x7f0a('0xb')](_0x7f0a('0xc'),attributes,{'tableName':_0x7f0a('0xd'),'paranoid':![],'indexes':[{'name':_0x7f0a('0xe'),'fields':[_0x7f0a('0xf'),_0x7f0a('0x10')]}],'timestamps':![]});};