Built motion from commit (unavailable).|2.2.0
[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 _0x36fe=['voice_queues_log','event_dtm','event','dtm','lodash','util','../../config/logger','api','moment','bluebird','request-promise','./voiceQueuesLog.attributes','exports','define','VoiceQueuesLog'];(function(_0xd751e9,_0x1b3720){var _0x4d7bb2=function(_0x42220c){while(--_0x42220c){_0xd751e9['push'](_0xd751e9['shift']());}};_0x4d7bb2(++_0x1b3720);}(_0x36fe,0x17b));var _0xe36f=function(_0x54ea7a,_0x19df9b){_0x54ea7a=_0x54ea7a-0x0;var _0x65a10d=_0x36fe[_0x54ea7a];return _0x65a10d;};'use strict';var _=require(_0xe36f('0x0'));var util=require(_0xe36f('0x1'));var logger=require(_0xe36f('0x2'))(_0xe36f('0x3'));var moment=require(_0xe36f('0x4'));var BPromise=require(_0xe36f('0x5'));var rp=require(_0xe36f('0x6'));var attributes=require(_0xe36f('0x7'));module[_0xe36f('0x8')]=function(_0x2630d2,_0x140bba){return _0x2630d2[_0xe36f('0x9')](_0xe36f('0xa'),attributes,{'tableName':_0xe36f('0xb'),'paranoid':![],'indexes':[{'name':_0xe36f('0xc'),'fields':[_0xe36f('0xd'),_0xe36f('0xe')]}],'timestamps':![]});};