Built motion from commit da617fac.|2.6.6
[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 _0x6ab8=['define','report_call','uniqueid','lodash','util','../../config/logger','request-promise','path','rimraf','./voiceCallReport.attributes','exports'];(function(_0x268fe3,_0x58c69a){var _0xdb049c=function(_0x3d249d){while(--_0x3d249d){_0x268fe3['push'](_0x268fe3['shift']());}};_0xdb049c(++_0x58c69a);}(_0x6ab8,0x66));var _0x86ab=function(_0x1a52fd,_0x5a6548){_0x1a52fd=_0x1a52fd-0x0;var _0x5cea5c=_0x6ab8[_0x1a52fd];return _0x5cea5c;};'use strict';var _=require(_0x86ab('0x0'));var util=require(_0x86ab('0x1'));var logger=require(_0x86ab('0x2'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x86ab('0x3'));var fs=require('fs');var path=require(_0x86ab('0x4'));var rimraf=require(_0x86ab('0x5'));var config=require('../../config/environment');var attributes=require(_0x86ab('0x6'));module[_0x86ab('0x7')]=function(_0x17eaad,_0x198d60){return _0x17eaad[_0x86ab('0x8')]('VoiceCallReport',attributes,{'tableName':_0x86ab('0x9'),'paranoid':![],'indexes':[{'fields':[_0x86ab('0xa')]}],'timestamps':!![]});};