Built motion from commit (unavailable).|2.5.20
[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 _0x9b1e=['report_call','uniqueid','util','../../config/logger','api','moment','bluebird','request-promise','path','../../config/environment','define','VoiceCallReport'];(function(_0x521929,_0x479be5){var _0x632436=function(_0x288290){while(--_0x288290){_0x521929['push'](_0x521929['shift']());}};_0x632436(++_0x479be5);}(_0x9b1e,0xda));var _0xe9b1=function(_0xde1344,_0x2f1fa3){_0xde1344=_0xde1344-0x0;var _0x2c7b63=_0x9b1e[_0xde1344];return _0x2c7b63;};'use strict';var _=require('lodash');var util=require(_0xe9b1('0x0'));var logger=require(_0xe9b1('0x1'))(_0xe9b1('0x2'));var moment=require(_0xe9b1('0x3'));var BPromise=require(_0xe9b1('0x4'));var rp=require(_0xe9b1('0x5'));var fs=require('fs');var path=require(_0xe9b1('0x6'));var rimraf=require('rimraf');var config=require(_0xe9b1('0x7'));var attributes=require('./voiceCallReport.attributes');module['exports']=function(_0x50166f,_0x24602c){return _0x50166f[_0xe9b1('0x8')](_0xe9b1('0x9'),attributes,{'tableName':_0xe9b1('0xa'),'paranoid':![],'indexes':[{'fields':[_0xe9b1('0xb')]}],'timestamps':!![]});};