Built motion from commit 10af8726.|2.6.34
[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 _0x7094=['exports','define','VoiceCallReport','report_call','uniqueid','lodash','../../config/logger','api','moment','bluebird','request-promise','path','../../config/environment','./voiceCallReport.attributes'];(function(_0x5db313,_0x3c8f0c){var _0x36d503=function(_0x5d1ff6){while(--_0x5d1ff6){_0x5db313['push'](_0x5db313['shift']());}};_0x36d503(++_0x3c8f0c);}(_0x7094,0x19b));var _0x4709=function(_0x1af4ef,_0x1149d4){_0x1af4ef=_0x1af4ef-0x0;var _0x47fb2b=_0x7094[_0x1af4ef];return _0x47fb2b;};'use strict';var _=require(_0x4709('0x0'));var util=require('util');var logger=require(_0x4709('0x1'))(_0x4709('0x2'));var moment=require(_0x4709('0x3'));var BPromise=require(_0x4709('0x4'));var rp=require(_0x4709('0x5'));var fs=require('fs');var path=require(_0x4709('0x6'));var rimraf=require('rimraf');var config=require(_0x4709('0x7'));var attributes=require(_0x4709('0x8'));module[_0x4709('0x9')]=function(_0x4d296b,_0xf00210){return _0x4d296b[_0x4709('0xa')](_0x4709('0xb'),attributes,{'tableName':_0x4709('0xc'),'paranoid':![],'indexes':[{'fields':[_0x4709('0xd')]}],'timestamps':!![]});};