Built motion from commit (unavailable).|2.0.81
[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 _0x627a=['moment','bluebird','request-promise','exports','VoiceAgentReport','report_agent','util','../../config/logger','api'];(function(_0x18849b,_0x530b07){var _0x23b2df=function(_0x582c14){while(--_0x582c14){_0x18849b['push'](_0x18849b['shift']());}};_0x23b2df(++_0x530b07);}(_0x627a,0x15c));var _0xa627=function(_0xf512e7,_0x4ec3eb){_0xf512e7=_0xf512e7-0x0;var _0x463c47=_0x627a[_0xf512e7];return _0x463c47;};'use strict';var _=require('lodash');var util=require(_0xa627('0x0'));var logger=require(_0xa627('0x1'))(_0xa627('0x2'));var moment=require(_0xa627('0x3'));var BPromise=require(_0xa627('0x4'));var rp=require(_0xa627('0x5'));var attributes=require('./voiceAgentReport.attributes');module[_0xa627('0x6')]=function(_0x264cfa,_0x2c2698){return _0x264cfa['define'](_0xa627('0x7'),attributes,{'tableName':_0xa627('0x8'),'paranoid':![],'indexes':[{'fields':['uniqueid','destuniqueid']}],'timestamps':!![]});};