Built motion from commit (unavailable).|2.5.18
[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 _0xc42f=['uniqueid','destuniqueid','util','../../config/logger','api','moment','bluebird','path','rimraf','../../config/environment','exports','define','VoiceAgentReport'];(function(_0xff991d,_0x43a340){var _0x2ac8f8=function(_0x3f3406){while(--_0x3f3406){_0xff991d['push'](_0xff991d['shift']());}};_0x2ac8f8(++_0x43a340);}(_0xc42f,0xab));var _0xfc42=function(_0x5cd820,_0x3dfdd3){_0x5cd820=_0x5cd820-0x0;var _0x447358=_0xc42f[_0x5cd820];return _0x447358;};'use strict';var _=require('lodash');var util=require(_0xfc42('0x0'));var logger=require(_0xfc42('0x1'))(_0xfc42('0x2'));var moment=require(_0xfc42('0x3'));var BPromise=require(_0xfc42('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xfc42('0x5'));var rimraf=require(_0xfc42('0x6'));var config=require(_0xfc42('0x7'));var attributes=require('./voiceAgentReport.attributes');module[_0xfc42('0x8')]=function(_0x4df648,_0x25c691){return _0x4df648[_0xfc42('0x9')](_0xfc42('0xa'),attributes,{'tableName':'report_agent','paranoid':![],'indexes':[{'fields':[_0xfc42('0xb'),_0xfc42('0xc')]}],'timestamps':!![]});};