Built motion from commit e6806ed6.|2.6.0
[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 _0x8abe=['moment','bluebird','request-promise','path','rimraf','../../config/environment','./voiceCallReport.attributes','exports','define','VoiceCallReport','report_call','uniqueid','lodash','util','../../config/logger','api'];(function(_0xd9ab80,_0x1f1968){var _0x559fc7=function(_0x46504f){while(--_0x46504f){_0xd9ab80['push'](_0xd9ab80['shift']());}};_0x559fc7(++_0x1f1968);}(_0x8abe,0x8c));var _0xe8ab=function(_0x5e4ffc,_0x751a36){_0x5e4ffc=_0x5e4ffc-0x0;var _0x46c9ed=_0x8abe[_0x5e4ffc];return _0x46c9ed;};'use strict';var _=require(_0xe8ab('0x0'));var util=require(_0xe8ab('0x1'));var logger=require(_0xe8ab('0x2'))(_0xe8ab('0x3'));var moment=require(_0xe8ab('0x4'));var BPromise=require(_0xe8ab('0x5'));var rp=require(_0xe8ab('0x6'));var fs=require('fs');var path=require(_0xe8ab('0x7'));var rimraf=require(_0xe8ab('0x8'));var config=require(_0xe8ab('0x9'));var attributes=require(_0xe8ab('0xa'));module[_0xe8ab('0xb')]=function(_0x129f08,_0x403ce4){return _0x129f08[_0xe8ab('0xc')](_0xe8ab('0xd'),attributes,{'tableName':_0xe8ab('0xe'),'paranoid':![],'indexes':[{'fields':[_0xe8ab('0xf')]}],'timestamps':!![]});};