Built motion from commit d5e4af8c.|2.6.23
[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 _0x4ccc=['bluebird','request-promise','path','../../config/environment','./voiceCallReport.attributes','exports','report_call','../../config/logger'];(function(_0x15b3fa,_0x5d12fe){var _0x406232=function(_0x20676a){while(--_0x20676a){_0x15b3fa['push'](_0x15b3fa['shift']());}};_0x406232(++_0x5d12fe);}(_0x4ccc,0x137));var _0xc4cc=function(_0x37ffc6,_0x251b7f){_0x37ffc6=_0x37ffc6-0x0;var _0x47faac=_0x4ccc[_0x37ffc6];return _0x47faac;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xc4cc('0x0'))('api');var moment=require('moment');var BPromise=require(_0xc4cc('0x1'));var rp=require(_0xc4cc('0x2'));var fs=require('fs');var path=require(_0xc4cc('0x3'));var rimraf=require('rimraf');var config=require(_0xc4cc('0x4'));var attributes=require(_0xc4cc('0x5'));module[_0xc4cc('0x6')]=function(_0x492e3c,_0x3cd283){return _0x492e3c['define']('VoiceCallReport',attributes,{'tableName':_0xc4cc('0x7'),'paranoid':![],'indexes':[{'fields':['uniqueid']}],'timestamps':!![]});};