eb1a6d730993bb4eec87b75e4b485d5ed4a90c45
[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 _0xa44c=['VoiceQueuesLog','voice_queues_log','event_dtm','event','dtm','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./voiceQueuesLog.attributes','exports','define'];(function(_0x1d2406,_0x5d8abc){var _0x4a203a=function(_0x4c3f38){while(--_0x4c3f38){_0x1d2406['push'](_0x1d2406['shift']());}};_0x4a203a(++_0x5d8abc);}(_0xa44c,0x1a9));var _0xca44=function(_0x3af5e2,_0x44e9a){_0x3af5e2=_0x3af5e2-0x0;var _0x31c297=_0xa44c[_0x3af5e2];return _0x31c297;};'use strict';var _=require('lodash');var util=require('util');var logger=require('../../config/logger')(_0xca44('0x0'));var moment=require(_0xca44('0x1'));var BPromise=require(_0xca44('0x2'));var rp=require(_0xca44('0x3'));var fs=require('fs');var path=require(_0xca44('0x4'));var rimraf=require(_0xca44('0x5'));var config=require(_0xca44('0x6'));var attributes=require(_0xca44('0x7'));module[_0xca44('0x8')]=function(_0x46737f,_0x32d987){return _0x46737f[_0xca44('0x9')](_0xca44('0xa'),attributes,{'tableName':_0xca44('0xb'),'paranoid':![],'indexes':[{'name':_0xca44('0xc'),'fields':[_0xca44('0xd'),_0xca44('0xe')]}],'timestamps':![]});};