Built motion from commit 58b0471d.|2.6.29
[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 _0xd42c=['path','rimraf','./voiceCallReport.attributes','exports','VoiceCallReport','uniqueid','util','../../config/logger','api','moment','request-promise'];(function(_0x983dc2,_0x5cca11){var _0x4b0315=function(_0x1042f9){while(--_0x1042f9){_0x983dc2['push'](_0x983dc2['shift']());}};_0x4b0315(++_0x5cca11);}(_0xd42c,0xb6));var _0xcd42=function(_0xf486e7,_0xeeb7c3){_0xf486e7=_0xf486e7-0x0;var _0x30ca63=_0xd42c[_0xf486e7];return _0x30ca63;};'use strict';var _=require('lodash');var util=require(_0xcd42('0x0'));var logger=require(_0xcd42('0x1'))(_0xcd42('0x2'));var moment=require(_0xcd42('0x3'));var BPromise=require('bluebird');var rp=require(_0xcd42('0x4'));var fs=require('fs');var path=require(_0xcd42('0x5'));var rimraf=require(_0xcd42('0x6'));var config=require('../../config/environment');var attributes=require(_0xcd42('0x7'));module[_0xcd42('0x8')]=function(_0x383a65,_0x6bb221){return _0x383a65['define'](_0xcd42('0x9'),attributes,{'tableName':'report_call','paranoid':![],'indexes':[{'fields':[_0xcd42('0xa')]}],'timestamps':!![]});};