Built motion from commit 9d7072cc.|2.5.39
[motion2.git] / server / api / voiceCallReport / voiceCallReport.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 _0x372b=['./voiceCallReport.attributes','exports','define','report_call','uniqueid','lodash','util','../../config/logger','api','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x1f1c99,_0x452916){var _0x27fb9e=function(_0x1f9fc3){while(--_0x1f9fc3){_0x1f1c99['push'](_0x1f1c99['shift']());}};_0x27fb9e(++_0x452916);}(_0x372b,0xc9));var _0xb372=function(_0x22a88e,_0x5f2dbe){_0x22a88e=_0x22a88e-0x0;var _0x2ba9d8=_0x372b[_0x22a88e];return _0x2ba9d8;};'use strict';var _=require(_0xb372('0x0'));var util=require(_0xb372('0x1'));var logger=require(_0xb372('0x2'))(_0xb372('0x3'));var moment=require('moment');var BPromise=require(_0xb372('0x4'));var rp=require(_0xb372('0x5'));var fs=require('fs');var path=require(_0xb372('0x6'));var rimraf=require(_0xb372('0x7'));var config=require(_0xb372('0x8'));var attributes=require(_0xb372('0x9'));module[_0xb372('0xa')]=function(_0x295c9d,_0x1f9cab){return _0x295c9d[_0xb372('0xb')]('VoiceCallReport',attributes,{'tableName':_0xb372('0xc'),'paranoid':![],'indexes':[{'fields':[_0xb372('0xd')]}],'timestamps':!![]});};