Built motion from commit b0a9a629.|2.6.33
[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 _0xf98a=['report_call','uniqueid','../../config/logger','api','moment','path','../../config/environment','./voiceCallReport.attributes','exports','define','VoiceCallReport'];(function(_0x2c4c95,_0x5621bd){var _0x1409e4=function(_0x35f5b0){while(--_0x35f5b0){_0x2c4c95['push'](_0x2c4c95['shift']());}};_0x1409e4(++_0x5621bd);}(_0xf98a,0x162));var _0xaf98=function(_0x238671,_0x34aea0){_0x238671=_0x238671-0x0;var _0x474844=_0xf98a[_0x238671];return _0x474844;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xaf98('0x0'))(_0xaf98('0x1'));var moment=require(_0xaf98('0x2'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xaf98('0x3'));var rimraf=require('rimraf');var config=require(_0xaf98('0x4'));var attributes=require(_0xaf98('0x5'));module[_0xaf98('0x6')]=function(_0x20d54a,_0x1b846c){return _0x20d54a[_0xaf98('0x7')](_0xaf98('0x8'),attributes,{'tableName':_0xaf98('0x9'),'paranoid':![],'indexes':[{'fields':[_0xaf98('0xa')]}],'timestamps':!![]});};