Built motion from commit (unavailable).|2.5.15
[motion2.git] / server / api / voiceAgentReport / voiceAgentReport.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 _0x02cf=['request-promise','path','rimraf','../../config/environment','./voiceAgentReport.attributes','define','VoiceAgentReport','report_agent','uniqueid','destuniqueid','lodash','util','../../config/logger','api','moment','bluebird'];(function(_0x71cc3c,_0xce7b70){var _0xe21f57=function(_0x2f75b6){while(--_0x2f75b6){_0x71cc3c['push'](_0x71cc3c['shift']());}};_0xe21f57(++_0xce7b70);}(_0x02cf,0x1ea));var _0xf02c=function(_0x4a3763,_0x54657d){_0x4a3763=_0x4a3763-0x0;var _0x4b88fe=_0x02cf[_0x4a3763];return _0x4b88fe;};'use strict';var _=require(_0xf02c('0x0'));var util=require(_0xf02c('0x1'));var logger=require(_0xf02c('0x2'))(_0xf02c('0x3'));var moment=require(_0xf02c('0x4'));var BPromise=require(_0xf02c('0x5'));var rp=require(_0xf02c('0x6'));var fs=require('fs');var path=require(_0xf02c('0x7'));var rimraf=require(_0xf02c('0x8'));var config=require(_0xf02c('0x9'));var attributes=require(_0xf02c('0xa'));module['exports']=function(_0x2d6ecd,_0x353192){return _0x2d6ecd[_0xf02c('0xb')](_0xf02c('0xc'),attributes,{'tableName':_0xf02c('0xd'),'paranoid':![],'indexes':[{'fields':[_0xf02c('0xe'),_0xf02c('0xf')]}],'timestamps':!![]});};