Built motion from commit f7863d46.|2.5.41
[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 _0x2e2b=['define','VoiceQueuesLog','event_dtm','event','dtm','lodash','util','api','moment','bluebird','rimraf','../../config/environment','./voiceQueuesLog.attributes','exports'];(function(_0x2401fc,_0xbc7845){var _0x23bb42=function(_0x45a8e9){while(--_0x45a8e9){_0x2401fc['push'](_0x2401fc['shift']());}};_0x23bb42(++_0xbc7845);}(_0x2e2b,0xc9));var _0xb2e2=function(_0x4c445a,_0x4ee80f){_0x4c445a=_0x4c445a-0x0;var _0x2f611c=_0x2e2b[_0x4c445a];return _0x2f611c;};'use strict';var _=require(_0xb2e2('0x0'));var util=require(_0xb2e2('0x1'));var logger=require('../../config/logger')(_0xb2e2('0x2'));var moment=require(_0xb2e2('0x3'));var BPromise=require(_0xb2e2('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xb2e2('0x5'));var config=require(_0xb2e2('0x6'));var attributes=require(_0xb2e2('0x7'));module[_0xb2e2('0x8')]=function(_0x1b24b3,_0x10cdf7){return _0x1b24b3[_0xb2e2('0x9')](_0xb2e2('0xa'),attributes,{'tableName':'voice_queues_log','paranoid':![],'indexes':[{'name':_0xb2e2('0xb'),'fields':[_0xb2e2('0xc'),_0xb2e2('0xd')]}],'timestamps':![]});};