Built motion from commit (unavailable).|2.5.23
[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 _0xa62e=['bluebird','request-promise','../../config/environment','./voiceAgentReport.attributes','exports','define','report_agent','uniqueid','lodash','util','../../config/logger','moment'];(function(_0x4edac5,_0x41d853){var _0x572b3b=function(_0x1cc65f){while(--_0x1cc65f){_0x4edac5['push'](_0x4edac5['shift']());}};_0x572b3b(++_0x41d853);}(_0xa62e,0x128));var _0xea62=function(_0x12ca60,_0x2a6469){_0x12ca60=_0x12ca60-0x0;var _0x2d5ffd=_0xa62e[_0x12ca60];return _0x2d5ffd;};'use strict';var _=require(_0xea62('0x0'));var util=require(_0xea62('0x1'));var logger=require(_0xea62('0x2'))('api');var moment=require(_0xea62('0x3'));var BPromise=require(_0xea62('0x4'));var rp=require(_0xea62('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xea62('0x6'));var attributes=require(_0xea62('0x7'));module[_0xea62('0x8')]=function(_0x16a1cc,_0x2a0c4d){return _0x16a1cc[_0xea62('0x9')]('VoiceAgentReport',attributes,{'tableName':_0xea62('0xa'),'paranoid':![],'indexes':[{'fields':[_0xea62('0xb'),'destuniqueid']}],'timestamps':!![]});};