Built motion from commit e2351160.|2.5.50
[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 _0xecda=['bluebird','request-promise','path','rimraf','./voiceCallReport.attributes','exports','define','report_call','uniqueid','lodash','util','../../config/logger','api'];(function(_0x5d0329,_0x1be244){var _0x26a458=function(_0x583f1d){while(--_0x583f1d){_0x5d0329['push'](_0x5d0329['shift']());}};_0x26a458(++_0x1be244);}(_0xecda,0x175));var _0xaecd=function(_0x3eba62,_0x5efd0){_0x3eba62=_0x3eba62-0x0;var _0x240714=_0xecda[_0x3eba62];return _0x240714;};'use strict';var _=require(_0xaecd('0x0'));var util=require(_0xaecd('0x1'));var logger=require(_0xaecd('0x2'))(_0xaecd('0x3'));var moment=require('moment');var BPromise=require(_0xaecd('0x4'));var rp=require(_0xaecd('0x5'));var fs=require('fs');var path=require(_0xaecd('0x6'));var rimraf=require(_0xaecd('0x7'));var config=require('../../config/environment');var attributes=require(_0xaecd('0x8'));module[_0xaecd('0x9')]=function(_0x284d8c,_0xe61c53){return _0x284d8c[_0xaecd('0xa')]('VoiceCallReport',attributes,{'tableName':_0xaecd('0xb'),'paranoid':![],'indexes':[{'fields':[_0xaecd('0xc')]}],'timestamps':!![]});};