Built motion from commit 97153652.|2.6.26
[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 _0x6afc=['report_call','uniqueid','lodash','util','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x5e22be,_0x57e29a){var _0x1302da=function(_0x14fe66){while(--_0x14fe66){_0x5e22be['push'](_0x5e22be['shift']());}};_0x1302da(++_0x57e29a);}(_0x6afc,0xca));var _0xc6af=function(_0x48af9d,_0x789fe){_0x48af9d=_0x48af9d-0x0;var _0x3b98cc=_0x6afc[_0x48af9d];return _0x3b98cc;};'use strict';var _=require(_0xc6af('0x0'));var util=require(_0xc6af('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0xc6af('0x2'));var BPromise=require(_0xc6af('0x3'));var rp=require(_0xc6af('0x4'));var fs=require('fs');var path=require(_0xc6af('0x5'));var rimraf=require(_0xc6af('0x6'));var config=require(_0xc6af('0x7'));var attributes=require('./voiceCallReport.attributes');module['exports']=function(_0x152c2a,_0xaeaeb1){return _0x152c2a['define']('VoiceCallReport',attributes,{'tableName':_0xc6af('0x8'),'paranoid':![],'indexes':[{'fields':[_0xc6af('0x9')]}],'timestamps':!![]});};